Author Topic: Regulator output voltage without input voltage?  (Read 6345 times)

0 Members and 1 Guest are viewing this topic.

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Regulator output voltage without input voltage?
« on: October 28, 2013, 07:02:35 am »
Hi all,



Consider the circuit above with the 5V regulator being MC78M05BDTRKG.  The circuit is powered by other 5V in *or* 12V in but never both  (the other one is left open).

When the circuit is powered by 5V in, the regulator has 5V on its output without input voltage. Is it safe for the regulator? Will it consume power from the 5V input? I could not find in the datasheet any reference to this scenario.

Thanks

Z.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #1 on: October 28, 2013, 07:04:18 am »
best thing is to test it as it could vary from reg to reg. You could switch it or put a blocking diode after the reg if you can afford the voltage loss
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #2 on: October 28, 2013, 07:04:55 am »
or use an LM317 and take the feedback from after a blocking diode
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19514
  • Country: gb
  • 0999
Re: Regulator output voltage without input voltage?
« Reply #3 on: October 28, 2013, 01:48:58 pm »
It's not a good idea because the output transistor would be subject to reverse voltage, although most transistors can normally handle 5V with no problems.

To make sure nothing bad happens, connect a diode between the input to output with the cathode on the input.
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #4 on: October 28, 2013, 04:03:50 pm »
I am using only the 5V input but the board (Digispark) came with the regulator pre-installed. My dilemma is whether to leave it as is or remove it. The board's  developer says that it is ok but I could not see any reference to it in the chip's  datasheet.

 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #5 on: October 28, 2013, 04:19:53 pm »
so was the board designed to do what you are proposing ?

If you want to supply 5V in can you put a switch in to disconnect the reg ? or maybe just short the input to output (with no voltage in)
 

Offline zaptaTopic starter

  • Super Contributor
  • ***
  • Posts: 6190
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #6 on: October 28, 2013, 11:31:31 pm »
so was the board designed to do what you are proposing ?

The developer says yes but I am not sure based on what (it's not that he is getting a special version of those regulators).
 

Online IanB

  • Super Contributor
  • ***
  • Posts: 11876
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #7 on: October 29, 2013, 12:58:51 am »
You could presumably circumvent any problems by connecting a diode between the 5 V input and the 12 V input to the board? When using the 5 V supply that would feed ~5 V to the input side of the regulator and prevent it seeing any significant reverse voltage.
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #8 on: October 29, 2013, 01:38:29 am »
What's the maximum current consumption we expect on the 5V line?
The larger the government, the smaller the citizen.
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #9 on: October 29, 2013, 01:54:13 am »
Ok how about this? Use a transistor to break the regulator ground connection when there is no +12V coming in. Then at least there shouldn't be a complete circuit.



EDIT: Just thought, maybe there should be a diode between the transistor base and the regulator input on the off chance any electricity that somehow gets through the regulator doesn't activate the transistor.
« Last Edit: October 29, 2013, 02:18:31 am by Stonent »
The larger the government, the smaller the citizen.
 

Offline edavid

  • Super Contributor
  • ***
  • Posts: 3383
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #10 on: October 29, 2013, 04:14:03 am »
I am using only the 5V input but the board (Digispark) came with the regulator pre-installed. My dilemma is whether to leave it as is or remove it. The board's  developer says that it is ok but I could not see any reference to it in the chip's  datasheet.

I have blown up regulators by connecting them backward, but that was with the output (mis-)connected to the load.   The board's developer says it won't happen in this case, so why are you worrying?  Test it yourself, and if there is any problem, just ask for a refund.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #11 on: October 29, 2013, 06:37:02 am »
Use the above circuit but use a mosfet instead as most BJT's have a 0.2+V drop on them which will lift the output by 0.2V
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #12 on: October 29, 2013, 09:04:15 am »
Use the above circuit but use a mosfet instead as most BJT's have a 0.2+V drop on them which will lift the output by 0.2V

Ok I think I see what you mean. The .2 drop will be lost to the ground which could affect the final output.

I had considered a mosfet but was concerned about leaving the gate floating. I thought about maybe a resistor back to ground from the gate but wasn't sure what affect it might have on the regulator.

Oh well at least my logic was sound. I thought about several ideas before the transistor. But they all seemed to be parasitic to the 5V output. The one that I liked the most before this one was a diode with a resistor across it. When the voltage was coming out of the regulator it would go through the diode but when reversed it would go through the resistor which would cut the current down hopefully significantly enough that the regulator wouldn't care, but again it was parasitic to the 5V output.
The larger the government, the smaller the citizen.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #13 on: October 29, 2013, 09:57:51 am »
Yes just put a 100K resistor from gate to ground, it will have no effect on the regulator it will just be a smal;l load on the input supply. DO NOT out a reverse diode across the reg if you do this as it will feed power back to the input and switch the mosfet on.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19514
  • Country: gb
  • 0999
Re: Regulator output voltage without input voltage?
« Reply #14 on: October 29, 2013, 01:27:55 pm »
The transistor has no base resistor so will blow up.

A MOSFET won't be much good either since the output transistor of the regulator will still be subject to reverse voltage.

The best option is a diode connected between the input and output of the regulator.
 

Offline Simon

  • Global Moderator
  • *****
  • Posts: 17814
  • Country: gb
  • Did that just blow up? No? might work after all !!
    • Simon's Electronics
Re: Regulator output voltage without input voltage?
« Reply #15 on: October 29, 2013, 01:40:31 pm »


A MOSFET won't be much good either since the output transistor of the regulator will still be subject to reverse voltage.



Would removing the GND ref shut the regulator down ? with no GND ref the whole thing should go open circuit, I'm sure it could cope with 5V
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19514
  • Country: gb
  • 0999
Re: Regulator output voltage without input voltage?
« Reply #16 on: October 29, 2013, 05:39:11 pm »
It wouldn't work using a MOSFET or BJT.

There would still be a feed turning the MOSFET or BJT on through the regulator's output transistors.
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #17 on: October 29, 2013, 06:44:28 pm »


Please excuse the crudity of this drawing, someone decided to draw an animation of a man jumping off a cliff with my copy of DaveCAD and I ran out of concurrent licenses.
The larger the government, the smaller the citizen.
 

Online Zero999

  • Super Contributor
  • ***
  • Posts: 19514
  • Country: gb
  • 0999
Re: Regulator output voltage without input voltage?
« Reply #18 on: October 29, 2013, 10:46:14 pm »
That's better, although, it's easier and more effective to just replace the transistor and resistor with a diode between the output and input of the regulator as has been mentioned numerous times.
 

Offline Stonent

  • Super Contributor
  • ***
  • Posts: 3824
  • Country: us
Re: Regulator output voltage without input voltage?
« Reply #19 on: October 29, 2013, 11:34:15 pm »
That's better, although, it's easier and more effective to just replace the transistor and resistor with a diode between the output and input of the regulator as has been mentioned numerous times.

Perhaps but I enjoy the challenge of coming up with a different solution.
The larger the government, the smaller the citizen.
 

Offline tszaboo

  • Super Contributor
  • ***
  • Posts: 7374
  • Country: nl
  • Current job: ATEX product design
Re: Regulator output voltage without input voltage?
« Reply #20 on: October 31, 2013, 01:49:05 pm »
Or you might even consider to use a proper solution.
http://www.ti.com/lit/ds/symlink/lm5050-1.pdf
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf