6
\$\begingroup\$

I am working on a system that can detect which of the AC outputs on a sprinkler box is on and for how long. The sprinkler box has one common wire and then 18 connections that output 24V to open sprinkler valves. My plan is to use several full bridge rectifiers which connect to some transistors. The Base of the transistor connects to the positive end of the bridge rectifier, the collector connects to a 3.3V line, and then the emitter is connected to ground so that when one of the sprinkler leads turns on it grounds the corresponding transistor. I then have a micro controller looking at the voltage of the collector side of the transistor to see which lead is on.

The problem I am having is that when one of leads from the sprinkler box turns on it flip on all of the transistors and grounds all of the logical leads to the micro controller. I did some tests with a multi-meter and when one of the leads of from the sprinkler leads turns on it is at 24Vrms and all of the other outputs are at about 1.4Vrms. The Voltage after being rectified is 35V on the input which is currently on, and then 34V across the all of the other rectifiers.

I don't know much about rectifying AC current to DC current but I am thinking the issue is with the common wire. I think the common wire may be creating essentially a half bridge rectifier and outputting a lower voltage that is still causing the transistor to ground the input. Anyone have any ideas of either how to fix this problem, or of what is actually happening? enter image description here

\$\endgroup\$
5
  • \$\begingroup\$ Perhaps by changing the voltages on the sprinkler controls you've created a situation where a sprinkler might not function as expected when needed and someone could die in the fire? Why are you messing with a fire protection system. STOP! \$\endgroup\$
    – scorpdaddy
    Commented Apr 26, 2019 at 19:46
  • 3
    \$\begingroup\$ @scorpdaddy, this might be a garden irrigation system, not a fire safety system. \$\endgroup\$
    – The Photon
    Commented Apr 26, 2019 at 20:21
  • \$\begingroup\$ I would not be at all surprised if the sprinkler common wire was connected to ground. \$\endgroup\$ Commented Apr 26, 2019 at 20:51
  • \$\begingroup\$ is there anything else connected to the outputs (like solenid valves, or lamps)? \$\endgroup\$ Commented Apr 26, 2019 at 21:02
  • 1
    \$\begingroup\$ Yes so this is a irrigation sprinkler system. Also the outputs from the sprinkler box are not connected to anything else. \$\endgroup\$ Commented Apr 29, 2019 at 20:35

3 Answers 3

5
\$\begingroup\$

the problem with your circuit is that the input can cross-talk via the bridge diodes and the capacitors.

in1-d1-c1-ground-d2-in2 and in1-d1-ground-c2-d2-in2 etc.

try this, it should give better isolation between inputs.

schematic

simulate this circuit – Schematic created using CircuitLab

\$\endgroup\$
2
  • \$\begingroup\$ In this circuit wouldn't I have to worry about the common wire messing with my ground for the DC circuit? \$\endgroup\$ Commented Apr 29, 2019 at 20:38
  • \$\begingroup\$ yes, but no more than in the original circuit, the easiest solution may be not to ground the DC circuit. \$\endgroup\$ Commented Apr 29, 2019 at 21:30
4
\$\begingroup\$

Optoisolators (AC input) would be an easy solution.

Or half-wave rectify the inputs (just a diode rather than a bridge and increase the capacitor values.. but it will be slow, which probably doesn't matter in this case).

\$\endgroup\$
0
\$\begingroup\$

I expect your problem is the Common is high side with low-side switching , and meanwhile you have low-side detection common, which will result in 2 diode drops at low current and thus 1Vdc lower on all the other bridges.

You can easily verify this and if so a better detection design be implemented.

\$\endgroup\$

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.