Author Topic: LM7805 Backfeed Protection  (Read 1746 times)

0 Members and 1 Guest are viewing this topic.

Offline NateT94Topic starter

  • Newbie
  • Posts: 3
  • Country: ca
LM7805 Backfeed Protection
« on: February 19, 2021, 11:16:06 am »
Hi,
I am a beginner in circuit design and had a question about back-feed protection for an LM7805 voltage regulator.
The circuit I am designing contains multiple IC's and an Arduino that are all powered from a 5-volt rail that comes from an LM7805.
I would also like to add a USB connection so that I can program the Arduino. The 7805 will not be supplying power while the USB cable is attached, the 5-volt rail will be powered through the USB cable.

My question is, what is the best method for protecting the LM7805 from back feed voltage when the 5v rail is being powered over the USB cable.

My first thought was to simply put a diode on the 7805's output, but that would drop the regulated voltage so it's not optimal.

Thanks.
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19561
  • Country: gb
  • 0999
Re: LM7805 Backfeed Protection
« Reply #1 on: February 19, 2021, 11:18:03 am »
Put a diode between the LM7805's output and input.
 

Offline NateT94Topic starter

  • Newbie
  • Posts: 3
  • Country: ca
Re: LM7805 Backfeed Protection
« Reply #2 on: February 19, 2021, 11:23:52 am »
The 7805 would normally be powered by a 12v wall wart, however, if the 12V supply is disconnected while the USB is connected, then where exactly would the diode be directing the voltage?

I don't really understand how that would protect it.
 

Offline bobbydazzler

  • Regular Contributor
  • *
  • Posts: 137
  • Country: au
Re: LM7805 Backfeed Protection
« Reply #3 on: February 19, 2021, 12:59:06 pm »
I'm not sure the diode's needed unless you're running high output voltage(which 5v isn't) and a 10uf+ output capacitor.  Not sure if that recommendation extends to external 5v power while the 7805 is still connected but off though.
 

Offline ledtester

  • Super Contributor
  • ***
  • Posts: 3039
  • Country: us
Re: LM7805 Backfeed Protection
« Reply #4 on: February 19, 2021, 01:04:45 pm »
The 7805 would normally be powered by a 12v wall wart, however, if the 12V supply is disconnected while the USB is connected, then where exactly would the diode be directing the voltage?

I don't really understand how that would protect it.


The diode is used as described in sections 8.1.1 and 8.1.2 on page 13 of the TI's datasheet:

https://www.ti.com/lit/ds/symlink/lm7800.pdf

Quote
8.1.1 Shorting the Regulator Input

When using large capacitors at the output of these regulators, a protection diode connected input to output (Figure 15) may be required if the input is shorted to ground. Without the protection diode, an input short causes the input to rapidly approach ground potential, while the output remains near the initial VOUT because of the stored charge in the large output capacitor. The capacitor will then discharge through a large internal input to output diode and parasitic transistors. If the energy released by the capacitor is large enough, this diode, low current metal, and the regulator are destroyed. The fast diode in Figure 15 shunts most of the capacitors discharge current around the regulator. Generally no protection diode is required for values of output capacitance ≤ 10 μF.

8.1.2 Raising the Output Voltage Above the Input Voltage

Because the output of the device does not sink current, forcing the output high can cause damage to internal low current paths in a manner similar to that just described in Shorting the Regulator Input.
« Last Edit: February 19, 2021, 01:08:11 pm by ledtester »
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19561
  • Country: gb
  • 0999
Re: LM7805 Backfeed Protection
« Reply #5 on: February 19, 2021, 01:22:54 pm »
The 7805 would normally be powered by a 12v wall wart, however, if the 12V supply is disconnected while the USB is connected, then where exactly would the diode be directing the voltage?

I don't really understand how that would protect it.
The current would be directed to the LM7805's input. It won't do anything, except for draw a small current.
 

Online Terry Bites

  • Super Contributor
  • ***
  • Posts: 2413
  • Country: gb
  • Recovering Electrical Engineer
Re: LM7805 Backfeed Protection
« Reply #6 on: February 19, 2021, 01:26:29 pm »
The data sheet tells all!
 

Offline NateT94Topic starter

  • Newbie
  • Posts: 3
  • Country: ca
Re: LM7805 Backfeed Protection
« Reply #7 on: February 19, 2021, 01:48:54 pm »
That makes sense. Thanks everyone.
It seems so obvious now haha.
 

Offline Noise0

  • Contributor
  • Posts: 20
  • Country: it
Re: LM7805 Backfeed Protection
« Reply #8 on: February 19, 2021, 02:19:27 pm »
Hi,
I am a beginner in circuit design and had a question about back-feed protection for an LM7805 voltage regulator.
The circuit I am designing contains multiple IC's and an Arduino that are all powered from a 5-volt rail that comes from an LM7805.
I would also like to add a USB connection so that I can program the Arduino. The 7805 will not be supplying power while the USB cable is attached, the 5-volt rail will be powered through the USB cable.

My question is, what is the best method for protecting the LM7805 from back feed voltage when the 5v rail is being powered over the USB cable.

My first thought was to simply put a diode on the 7805's output, but that would drop the regulated voltage so it's not optimal.

Thanks.

Usually i dont disconnect external power when usb is connected.
Usb connection is usefull not only to program it but even to get some serial print for debug or logging.
This way you don't even have to worry about back feed issues.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf