Bumpless Transfer PIC18F


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: Bumpless Transfer PIC18F

    looks like a pretty classic state machine solution would be in order

    enum state [idle, beginning, held , releasing]; button states



    process each incoming val according to present state

    while state idle: full pass val
    transition --> to beginning, redux = 80 ,pass val-redux, transition --> state to held ; [button pressed detected]
    while state held: pass val-redux , redux += 80 until redux=val ; [button held]
    transition --> to releasing ,redux -= 80 ; pass val-redux, [button release detected]
    while state releasing: pass val-redux , redux -= 80 , until redux=0 ,transition --> state to idle
    Warning I'm not a teacher

  2. #2
    Join Date
    Oct 2005
    Location
    Sweden
    Posts
    3,612


    Did you find this post helpful? Yes | No

    Default Re: Bumpless Transfer PIC18F

    What if the incoming value changes as the output is ramping towards one end? Should that change in input signal be ignored or should there be an equal change in the output?

  3. #3
    Join Date
    May 2013
    Location
    australia
    Posts
    2,644


    Did you find this post helpful? Yes | No

    Default Re: Bumpless Transfer PIC18F

    i would expect 'bumpless transfer' to mean that the final condition should gently ramp back up to the initial condition
    so as to to not cause alarming output swings after manual intervention is completed. the incoming input during the
    "tampering process" would be irrelevant in that case
    Warning I'm not a teacher

  4. #4


    Did you find this post helpful? Yes | No

    Default Re: Bumpless Transfer PIC18F

    We can ignore the incoming signal during the period it is being replaced/overridden,
    but as soon as the manual intervention is finished the system needs to gently return to what the incoming signal is saying.

Similar Threads

  1. PIC18F got some weird problem?
    By NatureTech in forum mel PIC BASIC Pro
    Replies: 13
    Last Post: - 19th February 2007, 16:18
  2. Starting with PIC18F
    By Gérard in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 7th May 2006, 16:40
  3. PIC18F and Profibus
    By boboco in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th March 2006, 08:37
  4. RS232 & PIC18F
    By Christos_K in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 15th June 2005, 14:13
  5. Selfprogramming Pic18F over GSM
    By Tomasm in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 19th May 2004, 00:29

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts