3
\$\begingroup\$

I'm designing a system that can be powered both at 12V and 5V. The circuit works at 5V, so a voltage regulator is used when the power is at 12V. A jumper (or several jumpers, given your answers) will route the power lines accordingly. My idea is to use a single jumper that:

  • in position A (12V input) connects the power supply to the voltage regulator's input; voltage regulator's output goes to the circuit
  • in position B (5V input) connects the power supply to the voltage regulator's output, so the main power goes to the circuit; voltage regulator's input is floating

Here is a reference schematic:

enter image description here

Is it safe to do so? Will the voltage regulator be harmed if I drive its output when the input is floating? (in that case, I need 2 jumpers, so I can disconnect the output line)

Thanks!

\$\endgroup\$
5
  • 1
    \$\begingroup\$ Much depends on the specific regulator; some can operate into precharged outputs (i.e. reverse current is blocked). \$\endgroup\$ Commented Jul 27, 2016 at 6:44
  • \$\begingroup\$ Check you data sheet. It will tell you if you need to protect it and how this can be done. \$\endgroup\$
    – Botnic
    Commented Jul 27, 2016 at 6:49
  • \$\begingroup\$ The regulator I'm using is a L78S05. I didn't find anything about protection on the datasheet. Is there a way to add such protection? Thought about a series diode, by I have to deal with the voltage drop. \$\endgroup\$
    – il_mix
    Commented Jul 27, 2016 at 8:40
  • \$\begingroup\$ Failing to power the input could cause an issue. However as a general rule LDOs don't mind if the output is driven to a slightly higher voltage by some other source. If you supply 5V to both the input and output pins it will almost certainly be OK. \$\endgroup\$
    – Andrew
    Commented Jul 27, 2016 at 8:48
  • \$\begingroup\$ generally a diode from output to input will ensure a floating input doesn't drop too far below the output. This is the recommended protection for the 780x series when a large output capacitor holds the output up even when the input supply has gone away. \$\endgroup\$
    – Neil_UK
    Commented Jul 27, 2016 at 8:53

1 Answer 1

2
\$\begingroup\$

It is true that the datasheet of the L78S05 does not really give explicit information on this usage. For some other devices, there is a clear limit given in the "Absolute Maximum ratings" table, that indicates the maximum difference between input and output voltage: e.g. for LM317, it says "-0.3V max". When you see this in the datasheet, it clearly means you need a protection diode from the output to the input, so that the input never goes further below the output. But it is not the case here.

But there is a clue given in the datasheet: enter image description here

The protection diode I was talking about is suggested here "when input is short-circuited, and if there is high capacitance load, and for output voltage grater than 6 volts". The datasheet explains this is because of the base-emitter junction rating.

This actually means there is no real risk of destroying the regulator in your case. The base-emitter junction can tolerate 6V, and in your case there won't be more than 5V. Moreover, the risk only exists when input is short-circuited (because in this case there is a large current flowing back from output to input). In your case, input is just floating, so the current will be null (or maybe just some insignificant leakage).

So you could leave it like that. Now, if you really want belt and suspenders and take care of the case where input is short-circuited instead of just floating, you could add the above protection diode, then you'll be more than safe.

\$\endgroup\$
1
  • \$\begingroup\$ This answer have all the info I need. I think I'll attach a diode maily for the 12V input case (7V Vot-Vin difference). For the 5V case it's enough to have the floating input (btw, diode is still there) \$\endgroup\$
    – il_mix
    Commented Jul 27, 2016 at 12:32

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.