Electronic – Relay not switching immediately from switching power supply to battery backup

batteriesrelayswitch-mode-power-supplyups

WARNING

This project as currently described is badly flawed in a number of ways that are liable to lead to complete failure of the equipment. As it is stated that it is intended to be used in a life support system, equipment failures could result in fatalities.

It must be understood that advice given here is by way of comment and, even if followed, is in no way certain to be adequate to ensure that lives are not endangered.

The poster should seek competent professional assistance before implementing any system for this purpose. – RM

Added: Dude8604 has indicated that this system is for a respirator for his own use. That makes the concerns just as valid BUT the risks are up to him to judge.


I'm building a 12V UPS system to run some critical medical equipment without power interruption. The power noeds to switch over immediately so the equipment won't shut off. I have it finished except for one problem – the relay takes about 5 seconds to switch over. I've traced the problem to the 13.8V switched mode power supply, which is connected to the relay coil and the normally open terminal. The output of the power supply stays at a voltage high enough to keep the relay closed, but too low to keep the equipment running for those 5 seconds.

I have 2 1N914 diodes in series with the relay coil to reduce the voltage to the coil to closer to 12V coil spec. Do I just need to put in a Zener diode with the right voltage to keep the relay barely closed? This doesn't seem like the best way to do it since the power supply's output capacitor won't discharge for a long time.

Or is there a way I can rapidly discharge the power supply's output capacitor low enough to switch the relay without wasting a lot of power through a resistor in parallel?

Here's a link to:
the power supply

the relay

On a related note, I'm considering switching from relays to transistors. To get a "normally closed" position, I think I'd have to use a depletion mode P FET (with Vth=0? does that exist?), but they're nearly impossible to find, especially for a decent price. Or a P JFET, but the ones I've seen can only handle a few mA, unless I use it to drive the gate of an enhancement mode FET, but I'd prefer a single transistor solution.

Thanks!

edit: Here's the circuit diagram. My question is about the relay towards the bottom right. The rest is for charging and might not be the best way, but that's a separate issue for now.Schematic

edit 2: Simplified version: simplified version

Best Answer

Jesus wept. Moderators - please close this question. Poster is asking for help in building equipment which is likely to get people killed. Worse, folks are helping him.

That said, let me expand. I'm assuming that when you say "critical medical equipment" you mean exactly that. If you are exaggerating, then I'm overreacting. If you're not, then you really need to pay attention.

First, you don't know what you're doing. I'm sorry, this is not a form of disrespect, but you need to be aware of your limits. Under other circumstances this would be cause for a certain amount of hand-holding, but other circumstances don't include putting faulty medical equipment into practice. In the event of a failure, you are at best looking at the possibility of a major professional negligence lawsuit, and at worst criminal charges (negligent homicide). Grieving relatives can be remarkably vindictive.

The following list should not be considered a check list of what you need to address to finish your project. Please. I'm trying to indicate to you why you need to back off.

  1. Are you aware of the certification requirements for medical equipment? Are you going to get your system certified? If not, why not?

  2. Your delay is caused by the fact that, according to the data sheet, your relay dropout voltage is about 10% of nominal - that is, 1.2 volts, more or less. Once the relay operates (pulls in) it will remain in contact until the coil voltage drops below the dropout voltage. This is part of the data sheet, and is standard relay behavior.

  3. Putting diodes (zener or otherwise) into the coil circuit will reduce the coil voltage, alright, and cause the relay to drop out earlier. And when the coil voltage is reduced to 80% of nominal the relays won't operate, either. Why don't you realize this?

  4. A dropping diode (zener or otherwise) will dissipate exactly as much power as a resistor which drops the same voltage at the same current. Why don't you realize this?

  5. Your relay coils are rated for a maximum continuous coil voltage of 110% of nominal, that is 13.2 volts. Until you put in a dropping diode you were exceeding the coil rating. Why don't you realize this?

  6. As has been commented, after you charge one of your batteries you run the risk of burning the contacts on the charging relay. Why don't you realize this?

  7. You're using a non-medical-rated power supply. This alone will get you sued if there's a problem. Why don't you realize this?

  8. You're using the decay of your power supply to cause dropout of the relays. The fast way to do this is to directly monitor the power line input. Why don't you realize this?

  9. You don't show it, but you need to monitor the DC power supply and the batteries, and the relay operation in the event of power failure, and provide an annoying alarm that cannot be silenced. Have you done so? If not, why not?

  10. What provisions have you made for the effects of a lightning strike on the power lines?

  11. Your power supply uses banana jacks for output power. What is the long-term reliability of banana jack/plug connections? What will prevent careless contact from disconnecting it? Do you have any idea how hard it is to make things foolproof? Fools can be so very clever.

  12. If the power supply quietly fails, the batteries will take over - until they're discharged. See point 6. You cannot simply assume that someone will notice the failure condition before the equipment shuts down.

  13. If the output is accidentally shorted, the output capacitors in your DC power supply may well burn or weld the contacts in your relay. What provision have you made against this possibility?

I'm sorry, but I'm out of energy here. But I could go on at length. Please, you are out of your depth in a pool where lives depend on your doing thing right.