logo elektroda
logo elektroda
X
logo elektroda
Dostępna jest polska wersja

Czy wolisz polską wersję strony elektroda?

Nie, dziękuję Przekieruj mnie tam

[Solved] Connecting two 12 V power supplies to one 12 V actuator - how do I do it?

szczudlo 771 15
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 21697189
    szczudlo
    Level 10  
    Hi, Good afternoon.
    Could you please direct me how to connect a 12 volt actuator to two 12 volt power supplies so that the control is based on the principle of actuating alternating power supplies with opposite polarity, via a 230 volt NO/NC relay. Someone told me that I should use rectifier diodes, unfortunately either this is the wrong hint or I am wiring these diodes wrong. Or should I use a completely different solution? In this connection as in the pictures the power supplies at the output make a short circuit, because the voltage from one powered supply seems to bridge on the other unpowered supply.... I'm not an electronics engineer, I don't know, I just want the actuator to close or open when it gets a signal from a temperature sensor that works with a 230V relay.


    Power supplies 12 V, 1.25 A.
    Rectifier diodes - 5 A sb5200 ssg25043.
    Actuator 12 V, current consumption unknown, but these power supplies will quietly power this actuator as I connect "makeshift".
    I don't necessarily have to use these power supplies, I can give them away, there may be another solution, as long as not some expensive one.

    Close-up of a Sonoff 4CHPRO R3 relay panel showing R1–R4 terminals with NO, COM, and NC labels
    Two 12V power supplies, linear actuator, and rectifier diodes on wooden surface. .
  • ADVERTISEMENT
  • Helpful post
    #2 21697214
    78db78
    Level 43  
    One power supply can be used why two?
  • ADVERTISEMENT
  • #3 21697217
    szczudlo
    Level 10  
    78db78 wrote:
    You can use one power supply why two?

    That's why I'm asking how to wire it up - the less unnecessary hardware, the better. I'd like it to work properly, but I don't know how to figure out what to use.
  • Helpful post
    #4 21697226
    78db78
    Level 43  
    Electrical diagram with relay K reversing rotation of 12VDC motor
    Applying voltage to relay K changes the direction of rotation.
  • #5 21697246
    szczudlo
    Level 10  
    Will you give some specific relay for this diagram, I don't really understand this diagram of yours.... Maybe if I saw the relay schematic it would make something clearer.

    But maybe I'll try to ask again, because to me it has to be straightforward to write.
    I have a 230 volt NO and NC relay supply, so under one terminal of the relay e.g. NO I connect the 12 volt supply which powers the actuator (e.g. closes it) and under the other terminal NC I connect the relay? Do I understand this correctly? Because what I mean is that when there is power on the 230 V NO relay, the 12 V actuator is supposed to close, and when there is 230 V NC power, the 12 V actuator is supposed to open. Sorry for such questions, but I'm new to this subject and I'd rather ask than do blind.
  • ADVERTISEMENT
  • Helpful post
    #6 21697269
    Staszek_Staszek
    Level 34  
    szczudlo wrote:
    Someone told me that I should use rectifier diodes,

    If I don't know everything inside the power supply and the load is inductive, I use a diode on the output.
    Some kind of protection should be inside the power supply, but if I can't see what kind then maybe I'm duplicating it, a diode is not a fortune.

    Five circuit diagrams with diodes and transistors for 1A load at 10V
  • ADVERTISEMENT
  • #7 21697283
    stachu_l
    Level 38  
    This Sonoff module has 4 relays with NO-COM-NC switched contacts.
    Using two channels (e.g. 1 and 2), you can control the motor in two directions.
    Connect +12 V from the power supply to NO (1) and NO (2).
    Connect -12 V from the power supply to NC (1) and NC (2).
    Connect the motor to COM (1) and COM (2).

    Connecting two 12 V power supplies to one 12 V actuator - how do I do it?Przekaz...jpg (126.41 kB)You must be logged in to download this attachment.

    If the motor draws less than 10 A, it should work, because that is the strength of the Sonoff contacts according to its technical data. The power supply draws less, so the motor will not draw more.
  • #8 21697294
    szczudlo
    Level 10  
    stachu_l wrote:
    This Sonoff module has 4 relays with NO-COM-NC switched contacts.
    Using two channels (e.g. 1 and 2), you can control the motor in two directions.
    Connect +12 V from the power supply to NO (1) and NO (2).
    Connect -12 V from the power supply to NC (1) and NC (2).
    Connect the motor to COM (1) and COM (2).



    As the motor draws less than 10 A it should work, as this is the strength of the Sonoff contacts according to its technical data. The power supply gives less, so the motor will not draw more.


    I only have one free relay on this Sonoff model. The others are occupied.
  • Helpful post
    #9 21697305
    stachu_l
    Level 38  
    szczudlo wrote:
    I only have one free relay on this sonoff model, the others are occupied.

    I'm sorry then, but how is the control of this motor supposed to work as you have one button/relay/channel control available?
    Is it supposed to work like e.g. a garage door - press - it moves one way and either gets to the end and stops, or a second press stops it somewhere along the way. Pressing again after stopping (regardless of which one) will start the door in the other direction.
    If this is how it is supposed to work, then you need to build or buy such a gate controller.
  • #10 21697318
    szczudlo
    Level 10  
    stachu_l wrote:
    szczudlo wrote:
    I only have one free relay on this sonoff model, the others are occupied.

    I'm sorry then, but how is the control of this motor supposed to work as you have one button/relay/channel control available?
    Is it supposed to work like e.g. a garage door - press - it moves one way and either gets to the end and stops, or a second press stops it somewhere along the way. Pressing again after stopping (regardless of which one) will start the door in the other direction.
    If this is how it is supposed to work, then you need to build or buy such a gate controller.


    There is a NO terminal and an NC terminal on the output of the relay. On the NC terminal is the phase to which I wanted to connect one 12 volt power supply and the actuator would then open until switched off by the limit switch. When a signal is received from the temperature sensor, the relay switches to the NO terminal, then there is a phase on the NO terminal and no phase on the NC, the second power supply fed from the NO terminal switches on with the opposite polarity. I've seen it that way, but the problem is behind the 12 volt power supplies where I bridge one cable from the actuator with the cables coming out of the power supplies, there it bites.
  • Helpful post
    #11 21697727
    78db78
    Level 43  
    Wiring diagram with 12VDC motor, relay PK1, and limit switches K1 and K2
    K1, K2 extremities.
  • Helpful post
    #12 21698444
    stachu_l
    Level 38  
    Let's perhaps establish this further:
    - an actuator powered by a single power supply operates normally, and the problem lies only in controlling the direction of rotation by changing the polarity of the power supply to the actuator,
    - the actuator has built-in limit switches and when it reaches the end it stops, without drawing power from the power supply (and without overheating the motor).

    If 2x YES, you can use one NO-COM-NC contact from the Sonoff to change direction, but leave two power supplies.
    This will be a circuit similar in principle of operation to the output of an acoustic amplifier supplied with a symmetrical voltage.

    szczudlo wrote:
    There is a phase on the NC terminal

    There will only be a phase on either the NC or NO terminal if you connect it to COM, and you don't have to do that. The Sonoff itself doesn't give phase there.

    In the proposed arrangement, we connect the power supplies permanently to 230 V AC, and connect their outputs in series - the V+ of one connects to the V- of the other. We connect one actuator wire to this point.
    We connect the V- of the first to the NO terminal of the Sonoff and the V+ of the second to the NC terminal. We connect the COM terminal to the second motor lead - end.

    Connecting two 12 V power supplies to one 12 V actuator - how do I do it?Przekazn..2.jpg (140.02 kB)You must be logged in to download this attachment.
  • #13 21698576
    szczudlo
    Level 10  
    stachu_l wrote:
    This may yet be established:
    - an actuator powered by a single power supply operates normally, and the problem lies only in controlling the direction of rotation by changing the polarity of the power supply to the actuator,
    - the actuator has built-in limit switches and when it reaches the end it stops, without drawing power from the power supply (and without overheating the motor).

    If 2x YES, you can use one NO-COM-NC contact from the Sonoff to change direction, but leave two power supplies.
    This will be a circuit similar in principle of operation to the output of an acoustic amplifier supplied with a symmetrical voltage.

    szczudlo wrote:
    On the NC terminal there is a phase

    There will only be a phase on either the NC or NO terminal if you connect it to COM, and you don't have to do that. The Sonoff itself doesn't specify the phase there.

    In the proposed arrangement, we connect the power supplies permanently to 230 V AC, and connect their outputs in series - the V+ of one connects to the V- of the other. We connect one actuator wire to this point.
    We connect the V- of the first to the NO terminal of the Sonoff and the V+ of the second to the NC terminal. We connect the COM terminal to the second motor lead - end.



    This is quite an interesting solution, I will test it tomorrow and let you know how it works. Just won't there be a problem at the point where V- meets V+ from the different power supplies? Won't there be some kind of short circuit there?
  • Helpful post
    #14 21699125
    stachu_l
    Level 38  
    szczudlo wrote:
    Only, won't there be a problem at the point where V- meets V+ from different power supplies? Won't there be some kind of short circuit there?

    The power supplies do not have a PE connector and rather for user safety reasons have galvanic isolation of the I/O so their outputs are not internally connected and can be treated as separate voltage sources. If you can connect batteries in series (voltage two 12 V batteries to make 24 V) then these power supplies can also be connected in series. Until you short these second V+ and V- terminals there will be no short circuit. I assume that the Sonoff has a switched contact which never connects NC and NO together. If such a moment occurs when switching then there will be a momentary short circuit.
  • #15 21699240
    szczudlo
    Level 10  
    stachu_l wrote:
    szczudlo wrote:
    Only, won't there be a problem at the point where V- meets V from different power supplies? Won't there be some kind of short circuit there?

    The power supplies do not have a PE connector and rather for user safety reasons have galvanic isolation of I/O so their outputs are not internally connected and can be treated as separate voltage sources. If you can connect batteries in series (voltage two 12 V batteries to make 24 V) then these power supplies can also be connected in series. Until you short these second V and V- terminals there will be no short circuit. I assume that the Sonoff has a switched contact which never connects NC and NO together. If such a moment occurs when switching then there will be a momentary short circuit.


    Thanks a lot, you have helped to solve the problem. With the help of your schematic the actuator works as I expected. Thank you again.

    Added after 4 [hours] 53 [minutes]:

    Actuator already mounted in the target location, everything works perfectly controlled by two 12v power supplies connected according to the schematic sent by stachu_I big thanks Stach.
    Big thanks also to user Dioda52 who took his time in private messages, solved the problem in different ways.
    Thanks also to everyone else for their willingness to help.
    Topic to be closed, problem solved.
    Greetings
  • #16 21699836
    szczudlo
    Level 10  
    Problem solved. I connected everything according to this diagram:Circuit diagram connecting a motor to Sonoff 4CHPRO with two power modules

FAQ

TL;DR: To reverse a 12 V actuator using 2 supplies, wire their outputs in series and use one NO/COM/NC relay; “connect V+ of one to V− of the other.” Includes 2 supplies as the key spec. [Elektroda, stachu_l, post #21698444]

Why it matters: This solves “how do I flip polarity safely with what I already own?” for DIYers using 230 V–triggered relays and 12 V actuators.

Quick Facts

How do I wire two 12 V power supplies to run one actuator forward/reverse?

Connect the supplies in series: tie V+ of Supply A to V− of Supply B (this junction goes to one actuator lead). Wire Supply A V− to NO, Supply B V+ to NC, and COM to the other actuator lead. The 230 V relay only drives the Sonoff’s changeover contact; the DC supplies stay on. Quote: “connect the power supplies… V+ of one connects to the V− of the other.” [Elektroda, stachu_l, post #21698444]

Will joining V+ of one supply to V− of the other create a short?

No, if the supplies are galvanically isolated (typical for small SMPS without PE). The series junction is just a floating midpoint. It becomes a problem only if NO and NC short together during relay switching. “If such a moment occurs… there will be a momentary short circuit.” [Elektroda, stachu_l, post #21699125]

Can I do direction control with a single power supply instead?

Yes. Use a DPDT polarity‑reversing relay (H‑bridge function). The classic DPDT wiring flips the motor leads when the coil energizes, reversing rotation. This replaces the second supply. A forum schematic labeled “Applying voltage to relay K changes the direction of rotation” shows the DPDT approach. [Elektroda, 78db78, post #21697226]

What do NO, NC, and COM actually mean on the relay?

NO is Normally Open, NC is Normally Closed, and COM is the common wiper. Your actuator wire goes to COM. Switching moves COM between NO and NC to reverse which supply terminal it sees. The shown solution uses one NO‑COM‑NC contact to flip polarity from the two series‑connected supplies. [Elektroda, stachu_l, post #21698444]

Do I need flyback protection diodes here?

Yes. The actuator is an inductive load. Add a diode across the output or motor to clamp voltage spikes when switching. This protects both DC supplies and relay contacts. As one expert notes, “if the load is inductive, I use a diode on the output.” Observe diode polarity to avoid a short. [Elektroda, Staszek_Staszek, post #21697269]

My relay briefly bridges NO and NC while switching—what’s the risk?

If your changeover contact momentarily connects NO and NC, it can short the two supplies through the relay during transition. That can stress supplies and pit contacts. Choose a relay with true break‑before‑make behavior to avoid this edge case. [Elektroda, stachu_l, post #21699125]

Can I do this with only one free Sonoff relay channel?

Yes. Leave both 12 V supplies permanently powered. Use the single NO‑COM‑NC contact as the polarity selector, wired to the series pair as shown. The Sonoff does not source mains on NO/NC; you route the DC there. This is the accepted, working solution in the thread. [Elektroda, stachu_l, post #21698444]

What current can the relay contacts handle safely?

The thread cites 10 A contacts for the Sonoff module used. Keep the actuator’s current below that if you use those contacts. Quick stat: 10 A contact rating, not motor current. “If the motor draws less than 10 A, it should work.” [Elektroda, stachu_l, post #21697283]

Do I have to feed mains into COM on the Sonoff to make this work?

No. The Sonoff changeover is a dry contact. You do not need to bring phase to COM for this DC switching method. The DC supplies are wired directly to NO/NC/COM as the polarity switch while the supplies stay on AC. [Elektroda, stachu_l, post #21698444]

Will the actuator stop by itself at the ends, or do I need extra limit switches?

Use an actuator that has built‑in end‑limit switches so it stops at full extension or retraction without overheating. The accepted approach assumes those internal limits, which the OP confirmed when testing. This prevents stall current at end‑stops. [Elektroda, stachu_l, post #21698444]

My supplies are 12 V, 1.25 A—are they enough?

If your actuator’s run current is within 1.25 A and it isn’t heavily loaded, they can run it. The OP reported success with 12 V, 1.25 A units after proper wiring. Always verify current draw under load. [Elektroda, szczudlo, post #21697189]

Is there a confirmed working diagram I can copy?

Yes. The OP closed the thread after wiring per the shared series‑supply, single‑relay polarity‑swap diagram. They posted the exact schematic image used. You can mirror that layout for a like‑for‑like build. [Elektroda, szczudlo, post #21699836]

Three‑step: how do I replicate the final solution quickly?

  1. Permanently power both 12 V supplies from 230 V AC.
  2. Tie Supply A V+ to Supply B V−; connect this junction to Actuator Lead 1.
  3. Wire Supply A V− to NO, Supply B V+ to NC, COM to Actuator Lead 2; add a flyback diode. [Elektroda, stachu_l, post #21698444]

Why did my first attempt short the outputs when one supply was on?

Paralleling or cross‑connecting outputs without isolation or proper series topology back‑feeds an unpowered supply, creating a short. The fix is series connection with a changeover relay, not diode OR‑ing. The thread explains why diodes alone didn’t solve polarity reversal. [Elektroda, stachu_l, post #21698444]
ADVERTISEMENT