3
\$\begingroup\$

I'm designing a safety shutoff circuit that monitors several power supplies, both voltage (12V, 24V, 72V) and current (up to 8A). These are entirely independent supplies, so I'd rather not tie the grounds together.

Measuring current of an isolated supply is easy with a hall effect sensor, so this is mostly solved. How would I go about measuring the voltage though?

I'm aiming at a solution that will always provide accurate measurements, even if the voltage is not in spec, so ideally the measurement would not depend on the measured voltage at all. While I expect the majority of cases to be either "no power" or "power good", I think that it is possible for a power supply to be connected in reverse, for the wrong supply to be connected (there are three different voltages in the system), the load to introduce back EMF or similar , so the circuit should tolerate a bit of abuse and ideally still provide valid data.

The simplest approach appears to be another hall effect sensor in line with a medium-sized resistor, but I fear that the large current nearby would disturb the measurement (especially as the measurement current would be fairly small compared). I can place the second sensor at right angles and attempt to get some distance to the other sensor, but I'm somewhat space constrained (20x20mm per channel, and there is also a zener diode and optocoupler here for quick "power good" sensing).

The application here is a CNC mill, which uses different voltages for different stepper motors, so different axes may fail independently. One of the motors has an electromagnetic brake, which should be engaged quickly when the motor's power supply fails, while the motor should not be moved when the brake cannot be released, and coordinated motions should not be attempted when an axis cannot be moved.

\$\endgroup\$
4
  • \$\begingroup\$ Your bounty statement changes the question. (1) How can your power supplies go negative? (2) If the power is too low to drive an opto-isolator then it needs to be shut down. (3) How could the voltage go too high? How high? This is essential information. Please edit your question to give a full specification of what your requirements are and some context. \$\endgroup\$
    – Transistor
    Commented Sep 11, 2016 at 16:53
  • \$\begingroup\$ @Transistor, basically I'd like to idiot-proof it some more -- your solution certainly works, but it does make some requirements on the measured voltage, and I'm wondering if I could somehow avoid these as well and also distinguish between "no power" and "broken circuit". Negative voltages happen when someone connects a PSU in reverse, too high happens if someone connects the wrong supply, in all of these cases I'd just leave the relay open to protect whatever is downstream. \$\endgroup\$ Commented Sep 11, 2016 at 20:03
  • \$\begingroup\$ (the "power good" sensing is there for the quick shutdown mechanism -- when the supply for the Z axis dies, I need to make sure the brake is applied as quickly as possible, because the motor used will just drop the spindle otherwise) \$\endgroup\$ Commented Sep 11, 2016 at 20:06
  • 1
    \$\begingroup\$ OK, but all that information needs to go in the question so it's all in one place and not sprinkled through the comments. Z-axis and spindle is the first mention of CNC application. If you've got people plugging in power supplies then you need keyed connectors to prevent mis-connection. The 12 and 24 V circuits are unlikely to survive a reverse connection or a 72 V connection. \$\endgroup\$
    – Transistor
    Commented Sep 11, 2016 at 20:47

1 Answer 1

9
+50
\$\begingroup\$

Simple voltage OK indication

Use a comparitor on each PSU to drive an opto-isolator if voltage is OK.

Analog voltage reading

Use a voltage to frequency circuit or voltage to pulse width circuit to drive the opto isolator.

Generating the PWM signals is easy using the LTC6992-1.

enter image description here

Figure 1. LTC6992-1 pinout and waveforms.

As can be seen, the configuration is simplicity itself. You need to use a potential divider to bring the expected voltage range down to 1 V max. Your pulse width will now be proportional to the voltage. Your receiver will need to measure the pulse width and the periodic time. The voltage can be calculated by the ratio of width to period.

schematic

simulate this circuit – Schematic created using CircuitLab

Figure 2. Potential divider, PWM generator and opto-coupler.


In either case your controller can monitor the opto-transistor to deduce the status of each power rail.

\$\endgroup\$
3
  • \$\begingroup\$ For a voltage-to-frequency circuit I'd need a clock source, unless I use a self-clocking device -- so I'd need to bring the clock to the other power domain with an optoisolator as well. \$\endgroup\$ Commented Sep 2, 2016 at 17:27
  • \$\begingroup\$ See the update. No clock needed. \$\endgroup\$
    – Transistor
    Commented Sep 2, 2016 at 17:36
  • \$\begingroup\$ Update 2 added. \$\endgroup\$
    – Transistor
    Commented Sep 2, 2016 at 19:08

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.