Author Topic: Failing Voltage Regulator?  (Read 3216 times)

0 Members and 1 Guest are viewing this topic.

Offline GytisTopic starter

  • Contributor
  • Posts: 10
Failing Voltage Regulator?
« on: April 29, 2015, 06:26:21 am »
Hello Everyone.

To begin this post, I have drawn a schematic since it is worth more than 100 words. Please find it in the attachments! If something is blaring out as a huge mistake, please let me know!

The regulator steps 5V down to 3.3V:    http://ww1.microchip.com/downloads/en/DeviceDoc/20001826C.pdf
I had nothing loading the output except that ATXmega, and about 5uF total capacitance

I've used this 5V -> 3.3V setup for about a week, several hours every day without fault. Today after I plug in the programmer, it reads that the voltage is around 3.4-3.5V, so I thought no problem... HOWEVER when programming, it sets off a warning about the voltage being too high... so I probed with my fluke 115 MM... and it my programmer was not lying about the supply voltage being funny.
it was no longer that stable 3.314V I saw a week ago...

Obviously in circuits if something goes bad, it gets worse... so after investigating what happens upon reseting the microcontroller, i noticed that the voltage quickly becomes unstable, and jumps to 4.2V with no load... After about 1minute, the voltage becomes no longer stable, fluctuates about +50mV, +200mV after about 2 minutes... there is no periodic action (i checked with scope) it just randomly takes steps up or down...

Now onto the stranger part... in attempts to save the micro (which tolerates max 3.6V I believe ) I shorted the output of the regulator to ground... and that fixed it... for the next 5 minutes until the same thing started happening again.

I attempted to reduce load capacitance down to 2uF with the same phenomenon still occuring... I also added 3.3K resistor to load the output of the regulator even when microcontroller is reset, still with no help.

What did I do wrong/am doing wrong?

Thank you for any help!!

EDIT: Here are some snapshots of the signal from a cheap USB scope. These were all at different times. I wasn't touching the circuit or anything... just breathing.

« Last Edit: April 30, 2015, 12:11:59 am by Gytis »
 

Online mikerj

  • Super Contributor
  • ***
  • Posts: 3238
  • Country: gb
Re: Failing Voltage Regulator?
« Reply #1 on: April 29, 2015, 11:42:26 am »
The symptoms suggest you have a bad connection on the regulators ground pin.  If this pins floats, or has a high resistance to ground then the output voltage of the regulator will increase, and it won't regulate properly.
 

Offline GytisTopic starter

  • Contributor
  • Posts: 10
Re: Failing Voltage Regulator?
« Reply #2 on: April 29, 2015, 03:26:09 pm »
The symptoms suggest you have a bad connection on the regulators ground pin.  If this pins floats, or has a high resistance to ground then the output voltage of the regulator will increase, and it won't regulate properly.

As per your suggestion, I reheated all of the pads for the package. I also tested for resistance.. all traces seem okay... the ground pin uses a very short trace which goes to a via, which goes to the back ground plane.

Things were looking up... again, only for the first 5 minutes... now I get irregular spikes up to ~3.4V, and then settling back down to 3,3V for a few seconds... I can't see any pattern to it.

EDIT: In addition after waiting some more, it started floating around 3.4V with about 20mV tolerance for about 30 seconds, and then went back to a stable 3.313V
« Last Edit: April 29, 2015, 03:29:05 pm by Gytis »
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 727
  • Country: ie
Re: Failing Voltage Regulator?
« Reply #3 on: April 29, 2015, 03:45:07 pm »
Does it get hot before failing? If so it may be oscillating. Id experiment with different load caps.
I once had an a PIC doing PWM driving an LM272 OPAMP to give analog out, it worked fine except when the load was removed from the OPAMP output. The voltage reg would rise to 120 degrees then shut down... and this was a TO-220 LM7805 driving 30mA top.
 

Offline GytisTopic starter

  • Contributor
  • Posts: 10
Re: Failing Voltage Regulator?
« Reply #4 on: April 29, 2015, 04:19:49 pm »
Does it get hot before failing? If so it may be oscillating. Id experiment with different load caps.
I once had an a PIC doing PWM driving an LM272 OPAMP to give analog out, it worked fine except when the load was removed from the OPAMP output. The voltage reg would rise to 120 degrees then shut down... and this was a TO-220 LM7805 driving 30mA top.

I dont feel it get warm at all... Ill try different load caps, and see what happens.
 

Offline jlmoon

  • Supporter
  • ****
  • Posts: 609
  • Country: us
  • If you fail the first time, keep trying!
Re: Failing Voltage Regulator?
« Reply #5 on: April 29, 2015, 04:46:37 pm »
Have you measured the current draw? Is it possible the USB supply voltage is dropping below spec?  Check both input voltage and current  to LDO and output current to load,  this might give you some indicators.
Recharged Volt-Nut
 

Offline GytisTopic starter

  • Contributor
  • Posts: 10
Re: Failing Voltage Regulator?
« Reply #6 on: April 29, 2015, 05:30:38 pm »
Have you measured the current draw? Is it possible the USB supply voltage is dropping below spec?  Check both input voltage and current  to LDO and output current to load,  this might give you some indicators.

At this point I decided to take out the regulator since it goes well above 3.7V, and I am afraid to burn my controller. Using my power supply, the current draw is only about 30mA. I had checked the USB voltage, and it was very stable around 4.97V even when the output of LDO was messing around. I am not sure about the current going into the LDO however.

Why would this have happened?
« Last Edit: April 30, 2015, 12:15:03 am by Gytis »
 

Offline bookaboo

  • Frequent Contributor
  • **
  • Posts: 727
  • Country: ie
Re: Failing Voltage Regulator?
« Reply #7 on: April 30, 2015, 07:49:27 am »
Post your full schematic, there may be something else weird on the 3.3v line. I'd construct a test board with the suspect regulator, give it a pure resistive load and see how it behaves over time.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf