Unstable Linear Voltage Regulator - Page 1
Forum section: electronics / projects

author: laingalion
author_rank: Contributor
timestamp: January 03, 2014, 03:43:07 am
content: This is my first attempt at a H-Bridge amplifier... and electronics in general.My application is very specific and I am drawing a lot of power, 25+ amps RMS at 15V from a lithium battery at roughly 20 kHz.Earlier tests went well but I tried to draw more current and the battery voltage became unstable. This translated to a huge ripple on the 5V control side (see attachments)Disregard the value of the regulator in the schematic, I used it because it had the same footprint. What I am actually using is a 7805:http://www.newark.com/stmicroelectronics/l7805c-v/ic-linear-voltage-regulator-5v/dp/89K1378I also have a 4.7mF capacitor at the battery terminals, that helped a lot.I can limit the amount of current draw so that the battery voltage does not go unstable, but I was curious as to how to prevent such a huge distortion on the 5V side of a regulator.I read in the datasheet that a resistor on the input would help but I don't think it would help THAT much.Is there some unstable feedback happening with the regulator when it tries to regulate itself?A very beginner question, bare with me and thanks in advance.

author: Jay_Diddy_B
author_rank: Super Contributor
timestamp: January 03, 2014, 04:55:46 am
content: Hi,You can try this:1) Increase the value of C1 to 100uF or 220uF Low ESR 105C Electrolytic capacitor.2) Add a ceramic capacitor between pins 1 & 2 on the regulator. The capacitor should be physically close to the regulator IC.I would try these first.Regards,Jay_Diddy_B

author: Andreas
author_rank: Super Contributor
timestamp: January 03, 2014, 05:32:21 am
content: Quote from: laingalion on January 03, 2014, 03:43:07 amWhat comes into my mind is that your regulator GND wiring might be wrong; picking up the ripple on the power GND line.The GND pin should be attached to the 5V (logic) load and not anywhere on the high current path.With best regardsAndreas

author: nickm
author_rank: Regular Contributor
timestamp: January 03, 2014, 06:00:33 am
content: The waveforms look so close its probabily power supply ripple is getting right through. R-Cs will help as long as they're placed well below 20kHz. 10ohms and 10uF is around 2kHz. Increasing the output capacitance of the LDO too much can make the PSRR worse because the open loop gain crosses over much earlier, but too small output capacitance can result in stability problems. If you have an assortment of caps try messing around with a range of values and see what you get. If you're worried about stability try adding a 1ohm in series with your 10uF cap on the output.

author: AndyC_772
author_rank: Super Contributor
timestamp: January 03, 2014, 08:06:54 am
content: There's a clue in the 7805 data sheet. Its power supply rejection figure is quoted at 120 Hz, but the noise on your 12V supply is nearly three orders of magnitude higher in frequency than that.It looks to me as though the 7805 just can't respond fast enough, and you need a regulator with much wider bandwidth and/or a passive filter network on the 12V input to the regulator.

author: SeanB
author_rank: Super Contributor
timestamp: January 03, 2014, 08:39:43 am
content: LC filter on the input will help a lot, very few regulators will handle high frequency noise on the input well, often passing it straight through or worse oscillating.

author: peter.mitchell
author_rank: Super Contributor
timestamp: January 03, 2014, 11:12:55 am
content: don't put the cap on the battery terminals, put it as close as you can to the input of the regulator!

author: Jon86
author_rank: Frequent Contributor
timestamp: January 03, 2014, 11:17:42 am
content: You're gonna need a better regulator. The 7805 is very basic, and isn't going to like all that high frequency stuff.

author: laingalion
author_rank: Contributor
timestamp: January 03, 2014, 01:21:28 pm
content: Quote from: Andreas on January 03, 2014, 05:32:21 amI think you are right. I considered this and split the paths of the powerside and the control side, but they still share a few inches of wire which is part of the battery.QuoteWill do, thanks for the adviceQuoteThis regulator is not an LDO (I think?) but I understand that your suggestions also directly apply to the regulator I am using. I will try your suggestion, hopefully i have a resistor small enough sitting around. ThanksQuoteQuoteYes, it appears like the control side waves are responding directly to the supply wave. What is confusing me is that the waveform are mirroring. When the high side voltage goes up, the low side voltage goes down and vise-versa.QuoteI have the 10uF capacitor right next to the regulator. Are you suggesting I put the gigantic 4.7mF capacitor next to the regulator? I will try that. ThanksQuoteIm afraid this may be the case. Do you have any suggestions for a relatively cheap regulator? Something like an isolated switching regulator?Thank you all for your replies. Once I get home from work I will try your suggestions and report back.

author: tszaboo
author_rank: Super Contributor
timestamp: January 03, 2014, 04:59:44 pm
content: Quote from: Jay_Diddy_B on January 03, 2014, 04:55:46 amNO! and again NO!7805 and other old regulators became unstable because low ESR ceramic capacitors. Remove them, use newer type if you need ceramic, or other capacitor.

author: Jon86
author_rank: Frequent Contributor
timestamp: January 03, 2014, 06:14:09 pm
content: The LM338 has a 30dB ripple rejection at 20KHz, you might want to try something like that.You don't need a switching converter though, a linear regulator will do just fine.

author: Jon86
author_rank: Frequent Contributor
timestamp: January 03, 2014, 06:17:23 pm
content: Also, LM2941.

author: laingalion
author_rank: Contributor
timestamp: January 03, 2014, 10:31:11 pm
content: Quote from: Jon86 on January 03, 2014, 06:14:09 pmBut looking at the 7805 datasheet:http://www.farnell.com/datasheets/1696820.pdfOn page 37, at 20 kHz there is a 70 dB rejectionQuoteOn page 28 of the datasheet it says "A 0.33 µF or larger tantalum, mylar or other capacitor having low internalimpedance at high frequencies should be chosen" (referring to the input capacitor)Is internal impedance the same as ESR or am I confusing the two separate terms?I am out of electrolytic and large ceramic capacitors so I will re-test once I grab some tomorrow. I will try stick them right on the legs of the regulator...Thanks for your help thus far everyone. Very informative. I will report back tomorrow.

author: nickm
author_rank: Regular Contributor
timestamp: January 04, 2014, 06:52:32 pm
content: http://www.ti.com/lit/an/slyt202/slyt202.pdfhttp://www.ti.com/lit/an/slyt194/slyt194.pdfCheck out these two documents. The first shows the ripple rejection falls off as loop gain decreases. The 70dB of loop gain they are showing is without any external capacitance so they are really pushing up where the dip in PSRR occurs. With the reasonable amount of output capacitance the PSRR will fall off much sooner so you might be somewhere in the minima where decreasing or increasing output capacitance with improve psrr.The second one illustrates what affects stability if you're concerned/interested in that.