1
\$\begingroup\$

I have a sprinkler controller with no separate output for a pump relay. I need a 16-input logic OR circuit that can trigger the relay when one or more of its 16 channels is live with 24 - 30 V AC. One side is common to all inputs. Due to space limitations, I need a minimum component count.

What is the simplest way to convert the 24 V AC signal to a suitable logic level with sufficiently low ripple so that the relay remains on and does not chatter? Do I need opto-isolators, transistors, diodes, or logic gates to achieve this?

\$\endgroup\$
2
  • \$\begingroup\$ Definitely open-collector optocouplers. \$\endgroup\$ Commented Dec 6, 2022 at 1:12
  • \$\begingroup\$ Thank you, Jonathan. that was my first idea, using a quad open collector optoisolator like the ILQ614-4. Can you suggest a specific input circuit with appropriate resistance and capacitance values? I am afraid I am a little "uninformed" about the appropriate formulas and considerations. The last circult I designed used a 12AU6 (how embarrassing!) :( \$\endgroup\$
    – RDocG
    Commented Dec 6, 2022 at 5:57

3 Answers 3

1
\$\begingroup\$

use a current transformer to sense the solenoid current you can then drive a triac to turn on the contactor for the pump.

schematic

simulate this circuit – Schematic created using CircuitLab

Here "R" is a terminal with a continuous 24VAC supply, and "C" is the common return.

or if you don't like current transformers here's an all semiconductor solution

schematic

simulate this circuit

2N3055 was chosen for Q1 qnd Q2 because it has a 4A max base current a separate DC supply provides power to operate the pump contactor.

\$\endgroup\$
5
  • \$\begingroup\$ Thank you, Jasen! This approach did not occur to me. I have learned a great deal from everyone's answers. \$\endgroup\$
    – RDocG
    Commented Dec 6, 2022 at 21:38
  • \$\begingroup\$ This solution provides an important additional safeguard, in that there is no danger of the pump relay being turned on in the absence of an irrigation valve being open, such as a broken wire or valve failure. Can you help me with how to spec the required current transformer? I am unfamiliar with these specific devices, and I see that there is a huge variety of them available. \$\endgroup\$
    – RDocG
    Commented Dec 7, 2022 at 20:40
  • \$\begingroup\$ pick the transformer ratio so that the triac gets enough current to trigger. if the Triac needs 20mA and the solenoids take 500mA then a 20:1 current transformer would be suitable. \$\endgroup\$ Commented Dec 8, 2022 at 1:10
  • \$\begingroup\$ additonal safeguard? impeller pumps and are not stressed by pumping into a blockage - the mechanical load is actually reduced. \$\endgroup\$ Commented Dec 8, 2022 at 1:20
  • 1
    \$\begingroup\$ Thanks again; I understand about the current transformer now. You are correct about the hydraulics of an impeller pump, but when an irrigation pump operates well below BEP (Best Efficiency Point) there is a danger that the temperature will rise to the point where the plastic couplings fail. I had this happen to a previous pump after a valve failure, which then ran dry and was damaged, so your solution makes me feel better. link \$\endgroup\$
    – RDocG
    Commented Dec 9, 2022 at 15:07
1
\$\begingroup\$

What you describe are sixteen 24..30 Vac voltages that share a common Vac return.

Using power diodes if pump relay has no switching supply

Each of sixteen can go through a power diode to regulator supply. That's smoothed by C1. When power is removed, C1 is mostly discharged by the relay coil, then further by the regulator, then down to 0 V by R1. The linear regulator gives an accurate voltage for driving your pump relay's coil or enable.

If the pump relay is a mechanical coil relay, it can drive the coil with the regulator 24 V output. Use another regulator for a different coil voltage but be mindful of the regulator power dissipation. A 40 mA coil current at 24 V would be reasonable and dissipate approx. 700 mW in the regulator at 30 Vac (42 V across C1), 320 mW at 24 Vac.

If the pump relay is an SSR, its control input will draw considerably less current, around 15 mA. This would dissipate approx. 260 mW in the regulator at 30 Vac, 120 mW at 24 Vac.

schematic

simulate this circuit – Schematic created using CircuitLab

Using opto-isolators if pump relay has a switching supply

The opto-isolator circuit uses more parts and draws more current in total from the inputs.

schematic

simulate this circuit

\$\endgroup\$
3
  • 1
    \$\begingroup\$ Thank you for this, Tony! Like most great ideas, it seems obvious now that you pointed it out to me. I like this solution, and it can be made very small. \$\endgroup\$
    – RDocG
    Commented Dec 6, 2022 at 21:33
  • \$\begingroup\$ Thanks, @RDocG...which of the two solutions was it you liked? :-) \$\endgroup\$
    – TonyM
    Commented Dec 6, 2022 at 22:10
  • \$\begingroup\$ I like the simplicity of this; very easy to understand. I can do the math for circuits like this, and there are very few components required. I like them both. \$\endgroup\$
    – RDocG
    Commented Dec 7, 2022 at 20:48
0
\$\begingroup\$

I have done it with 6 diodes, a small resistor and an optocoupler. I would make two groups of 3 diodes in series (>|-->|-->|) then connect them so one set conducts during the positive cycle and the other conduct through the negative cycle. Then use an AC optocoupler (they have back to back LEDs) with a resistor in series connected to the two strings of diodes that were connected in parallel. This string goes in series with the common for all valves and will turn the optocoupler on whenever any solenoid turns on. Be sure to size the diodes properly. The three diodes in series should give you about 2.1V which should be enough to turn on the optocoupler. If not enough add another one in each direction.

You need to read the data sheet to determine how much current you need to cause it to saturate. You can also read the transfer percentage as that will help size the circuits gain etc. I generally do not do that, I try for about 25-50% of the LEDs rated current. I do the same thing with DC, generally with a transistor but an opto coupler will work just as well it just needs a little more voltage.

\$\endgroup\$
1
  • \$\begingroup\$ This is an interesting approach. I have a related question...when using an optoisolator, how do you determine (other than trial and error) how much current is required to drive an optoisolator output transistor to saturation? \$\endgroup\$
    – RDocG
    Commented Dec 7, 2022 at 21:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.