Electric curtain project: single Push button design

Discussion in 'Circuit Help' started by Ritesh Narayan, Jan 9, 2017.

  1. Ritesh Narayan

    Ritesh Narayan

    Joined:
    Jan 8, 2017
    Messages:
    7
    Likes Received:
    0
    Hi All,

    I am working on a electric curtain or electric blind project at home and I am a bit stuck.

    I would like the curtain to operate a 12V motor drive with a single Push Button switch (not a toggle switch)

    I would like it to behave as follows:

    1st press: forward
    2nd press: stop
    3rd press: reverse
    4th press: stop
    THEN START CYCLE AGAIN

    Of course if it is at one limit then their will be only one direction to go.

    I have done a partial design in the below diagram (shown in driving forward state), but it doesn't work exactly as I want it to:
    I have a limit switch [L] mechanically built in to the motor drive, that is toggled every time the curtain reaches either extreme.

    This is where the design has a problem:
    At the moment, I have a normally open push button switch [C] to control the curtain drive.
    This allows the drive to move forward.
    I have another normally closed push button switch [O] which will stop the drive at any point.
    In this design, the curtain can only be reversed once it reaches the closed limit, where the limit switch [L] is toggled.
    At this point push button switch [O] needs to be pushed (sort of a reset) and then push button [C] will again allow the drive to commence in the reverse direction.
    Again, once reversed to the limit, push button switch [O] needs to be pressed before [C] will allow for forward drive again.

    I would like switch [O] and [C] to be replaced with a single push button to allow it to behave as described initially.
    Also I as below I would like to keep the circuit as simplistic as possible, hence the use of the relays in my first design.

    Your guidance is much appreciated.
     

    Attached Files:

    Last edited: Jan 9, 2017
    Ritesh Narayan, Jan 9, 2017
    #1
    1. Advertisements

  2. Ritesh Narayan

    Ritesh Narayan

    Joined:
    Jan 8, 2017
    Messages:
    7
    Likes Received:
    0
    Sorry above post attachment was my first design with single pole relays.
    This has now been updated to Double Pole relays, so below is the correct design I am referencing:

    upload_2017-1-10_0-40-17.png
     
    Ritesh Narayan, Jan 9, 2017
    #2
    1. Advertisements

  3. Ritesh Narayan

    AnalogKid

    Joined:
    Jun 10, 2015
    Messages:
    1,770
    Likes Received:
    504
    Location:
    Ohio - GMT-5
    Is your project limited to all relays and wires, or can you work with IC's, transistors, etc?

    ak
     
    AnalogKid, Jan 9, 2017
    #3
  4. Ritesh Narayan

    Ritesh Narayan

    Joined:
    Jan 8, 2017
    Messages:
    7
    Likes Received:
    0
    I don't mind using IC's or transistors. I was just trying to keep the design as simple as I could :)
     
    Ritesh Narayan, Jan 9, 2017
    #4
  5. Ritesh Narayan

    AnalogKid

    Joined:
    Jun 10, 2015
    Messages:
    1,770
    Likes Received:
    504
    Location:
    Ohio - GMT-5
    Is this the complete logic tree:

    1st press: forward
    2nd press or end of travel switch: stop
    3rd press: reverse
    4th press or end of travel switch: stop
    repeat

    If so, this can be done with two latching relays. Relay 1 is DPDT, forward/reverse. DC comes in, goes directly to the coil, and then to the contacts for standard forward/reverse crossover connections. In this way, every time power comes on the direction changes. It gets its power from the relay 2, start/stop. The pushbutton and both limit switches are all in parallel. Closing any of them toggles the power relay.

    This also can be done with a flip flop circuit, either discrete or a chip, followed by a full bridge driver (again, discrete or chip) rated to handle the motor.

    ak
     

    Attached Files:

    AnalogKid, Jan 9, 2017
    #5
  6. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    Hi

    Here's a design that uses a couple of chips...a CD4017B and CD4001B.
     

    Attached Files:

    eetech00, Jan 15, 2017
    #6
  7. Ritesh Narayan

    davenn Moderator

    Joined:
    Sep 5, 2009
    Messages:
    12,114
    Likes Received:
    1,407
    Location:
    Sydney, Australia
    where's the design ?
     
    davenn, Jan 15, 2017
    #7
  8. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    oops...just posted it....
     
    eetech00, Jan 15, 2017
    #8
  9. Ritesh Narayan

    AnalogKid

    Joined:
    Jun 10, 2015
    Messages:
    1,770
    Likes Received:
    504
    Location:
    Ohio - GMT-5
    I don't see the limit switches in there.

    ak
     
    AnalogKid, Jan 15, 2017
    #9
    davenn likes this.
  10. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    Hello
    Here is a version updated with the limit switch.
     

    Attached Files:

    eetech00, Jan 16, 2017
    #10
  11. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    Ok...here is final corrected version that includes limit switch simulation control.
    The simulation assumes an arbitrary value of 4 seconds for motor to compete movement from start position to end positino. The simulation shows effect of pressing the button before movement reaches end position, in which case movement will only be reverse.

    eT
     

    Attached Files:

    eetech00, Jan 16, 2017
    #11
  12. Ritesh Narayan

    AnalogKid

    Joined:
    Jun 10, 2015
    Messages:
    1,770
    Likes Received:
    504
    Location:
    Ohio - GMT-5
    My fantastic 2-relay solution ran into a glitch, in that the limit switches are not momentary. When the traveler hits one, it changes state and sits there. So it needs to be differentiated before it is combined with the pushbutton, and that is a biiiig cap for 533 mA, greater than 10,000 uF at 25 V. But there are ways around this.

    Are the limit switches SPST or SPDT?

    ak
     
    AnalogKid, Jan 16, 2017
    #12
  13. Ritesh Narayan

    Ritesh Narayan

    Joined:
    Jan 8, 2017
    Messages:
    7
    Likes Received:
    0
    ak, my initial design above was using only a single SPDT located at the motor which would mechanically toggle once each extremity was reached.

    eT, could your design be modified to accommodate 2 limit switches instead, thus a limit switch for each extremity? ie. fully open limit switch, and fully closed limit switch.
     
    Ritesh Narayan, Feb 8, 2017
    #13
  14. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    Hi

    I've modified the circuit to include limit switches for each limit. FWD limit switch will activate when the limit of forward travel is reached. REV limit switch activates when the limit of reverse travel has been reached.

    I'm also attaching two graphs along with the revised circuit.
    Graph A shows the circuit behavior if the motor never reaches the limit of travel in either direction.
    Graph B shows the circuit behavior if the motor reaches the limit of travel in either direction. In this scenario, the limit switches generate an "stop" pulse when the limit is reached. A subsequent PB press will cause the motor to travel in the opposite direction.
     

    Attached Files:

    eetech00, Feb 10, 2017
    #14
  15. Ritesh Narayan

    Ritesh Narayan

    Joined:
    Jan 8, 2017
    Messages:
    7
    Likes Received:
    0
    Seems like this circuit design is going to work as intended.
    I am grateful for your ideas.
    I will be building this over the next week or so and will keep you posted.

    I have had another thought to take this design to the next level.
    Would it be too complex if we were to build in to the design the option to include current sensing, that could cut out drive and auto reset, after a predetermined amount of time.

    The current sensing/limiter would allow for the motor drive to cut out when a limit is exceeded. This would be on top of the already existing limit switches so therefore would act as a secondary cut out in the end positions. Furthermore, when the drive is disturbed whilst in mid motion, the motor drive will again cut out. This is for situations where there is something in the way, for example, causing difficulty with the closure.

    In fact, this would then operate very similar to a garage roller door, gate circuit.

    Please let me know your thoughts.
     
    Ritesh Narayan, Feb 18, 2017
    #15
  16. Ritesh Narayan

    eetech00

    Joined:
    Nov 17, 2014
    Messages:
    93
    Likes Received:
    8
    Ok...

    To design a current sensing circuit, I'll need specs for the motor being driven. Do you have a part number and/or data sheet for the motor?
     
    eetech00, Feb 18, 2017
    #16
  17. Ritesh Narayan

    AnalogKid

    Joined:
    Jun 10, 2015
    Messages:
    1,770
    Likes Received:
    504
    Location:
    Ohio - GMT-5
    Very possible. For a DC motor, current sensing is a small-value resistor called a shunt, a comparator to determine if the current has exceeded the trip level, a latch to hold things off until reset somehow, and a relay or power transistor to control the motor. Perf board, a couple of garden-variety chips (maybe a simple dual opamp), and around 10 Rs, Cs, etc. Or, Linear Tech, Maxim, and TI (Unitrode) make chips for this.

    ak
     
    AnalogKid, Feb 18, 2017
    #17
    1. Advertisements

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Similar Threads
  1. Arne Harisson

    "Fuzzy" push button component

    Arne Harisson, Jan 31, 2004, in forum: General Electronics
    Replies:
    12
    Views:
    1,402
    Jerry Greenberg
    Feb 1, 2004
  2. CDC

    Source for rubber sealed push button switch

    CDC, Aug 12, 2003, in forum: Electronic Basics
    Replies:
    0
    Views:
    756
  3. Bgranier

    Converting a push button switch to at motion Sensor

    Bgranier, Jul 2, 2004, in forum: Electronic Basics
    Replies:
    3
    Views:
    932
    Mark Fergerson
    Jul 2, 2004
  4. John Larkin

    push-push on/off switch

    John Larkin, Oct 21, 2007, in forum: Electronic Design
    Replies:
    126
    Views:
    3,618
    Tom Del Rosso
    Nov 5, 2007
  5. BONGIE

    automatic light and curtain control circuit

    BONGIE, Nov 22, 2014, in forum: Electronic Projects
    Replies:
    12
    Views:
    974
    KrisBlueNZ
    Nov 24, 2014
  6. Alyaa
    Replies:
    2
    Views:
    600
    Alyaa
    Apr 4, 2015
  7. Ben Parker
    Replies:
    5
    Views:
    2,122
  8. April
    Replies:
    9
    Views:
    418
    Externet
    Aug 11, 2017
Loading...