Linear power supply undershooting !!!!!! - Page 1
Forum section: electronics / beginners

author: pablo
author_rank: Contributor
timestamp: April 23, 2011, 05:45:15 am
content: Hello guys !!!!The story is this:The last tuesday i received my brand new instek gds-1062a oscilloscope (my first oscilloscope ever),so i started to play around with it. Then i decided to hook up the oscilloscope probe to my little homemadepower supply.The power supply has 3 voltage regulators so that i'm able to use a 5 volts output, positive variable output anda negative variable output. Here is the schematic diagram:The thing is that i set my oscilloscope in single shot mode and tried to capture any overshoot it had.(quiet frankly i expected a smooth transition from gnd to 5 volts due to the linear nature of the power supply)but i was surprised to find out that my trusty linear power supply was overshooting 2.5 volts above the 5 voltspositive rail and undershooting 2.5 volts below ground.I really don't know why is doing such a thing. Maybe i'm probing the circuit incorrectly. I 've heard thatthe probe's ground terminal can affect or load the circuit due to inductance. Anyway here are some images fromthe oscilloscope so you can see how the power supply is performing when is turned on.As you can see there is no overshooting, that's because i performed several tests but i couldn't getthe overshoot again but i swear it was there the first time. It was about 2.5 volts above the positive 5 voltsrail. (7.5v)In these pictures you can see how the 7805 voltage regulator ramps up the voltage in several steps butbefore that it oscillates for a while and goes below ground reference. It means that i was applying-2.5 volts directly to my circuitry. The weird thing it's that i never had any issues with it.Maybe i was only degrading the life expectancy of components to a certain extent.Is this a common thing to happen?here is another shot:And here is how i probed the circuit:Any suggestions, ideas, etc.Thanks

author: pablo
author_rank: Contributor
timestamp: April 23, 2011, 07:09:54 am
content: i also found this:It's almost what i did in my power supply but they placed diodes across regulator's outputs.Maybe there is instability issues with this design, otherwise why they used diodes???thanks

author: Mechatrommer
author_rank: Super Contributor
timestamp: April 23, 2011, 09:48:34 am
content: i suspect it coming from your transformer, before and after the bridge diodes. try probing that area might give some clue. i can see your regulator lack of protection circuit (diodes), that also may explain why spike can sneek in. here the schema from 317 datasheet. and try to probe at peakdetect mode to catch that very quick spike. nice circuit though, thanx for showing us.

author: pablo
author_rank: Contributor
timestamp: April 23, 2011, 10:46:05 am
content: Thanks for your suggestions MechatrommerAlthough i haven't done what you said, it's a pretty good idea, but i will have to soldersome wires directly from the solder joints because there is not where to probe properly.In the picture i show how close the ground layer is to the AC tracks.What a bad product design.Any further suggestions will be appreciated.thanks

author: bilko
author_rank: Frequent Contributor
timestamp: April 23, 2011, 11:03:29 am
content: I would use a dremel tool or scalpel and remove some of the copper ground adjacent to the AC input. There should be at least 5mm 1/4" gap to provide isolation.Edit: Also noticed that you don't have ground wire. This means that at the moment any moisture between AC line and DC ground will conduct mains voltage to your DC ground.I would use a 3 core mains lead with ground wire.

author: Mechatrommer
author_rank: Super Contributor
timestamp: April 23, 2011, 02:07:40 pm
content: agree with yacht. imo, there should be clear visual separation between them. its hard to trace your circuit, esp where the main connected to your transformer primary. but i guess the blue dot is not it. you can probe on those 3 big circles in the middle (trasnf. 2ndary right?). or that 4 pins below (bridge IC?)

author: bilko
author_rank: Frequent Contributor
timestamp: April 23, 2011, 02:17:34 pm
content: Mecha, the AC input is bottom left of the PCB, the 2 core flex supplies the transformer via a fuse (top- left PCB). Hardly any clearance even between phase and neutral.

author: tecman
author_rank: Frequent Contributor
timestamp: April 23, 2011, 02:18:13 pm
content: Just a quick comment on your PCB. For standards and good practice, you should open up the clearances on your AC pads/runs, from AC to AC and from both sides to the ground plane. 3mm/0.1" minimum for safety and leakage concerns.paul

author: pablo
author_rank: Contributor
timestamp: April 23, 2011, 07:06:14 pm
content: Thanks guys for your answers.QuoteQuoteQuoteI think woud be easier to discard that PCB and make a new one. But this time i'm gonnareduce the ground layer to only cover the secondary circuit. Clearly i did something wrong with, and it seems to be majorconcern. I just hope that 12 vac from the secondary does not couple into the DC ground causing some noise.QuoteI haven't tested that but the problem is that most of the time i only use the power supply to feed only a microcontrollerso it should be stable with very little load, otherwise it would be suitable for that purposes.QuoteWell, i didn't typed multiple exclamations marks just because i believed that would look more attracting to people.I did it because i was surprised to see how my power supply was undershooting.Well anyway, maybe next time i will avoid using them, although IMO those characters harm nobody. Sometimes peopleoverreact.Thanks to all of you for replying, including you BoredAtWork !!!!!!! .

author: Bored@Work
author_rank: Super Contributor
timestamp: April 23, 2011, 09:05:14 pm
content: Quote from: pablo on April 23, 2011, 07:06:14 pmOh sure, pull the other one. Do you attention seekers really think we are so stupid to believe this?

author: Mechatrommer
author_rank: Super Contributor
timestamp: April 23, 2011, 09:19:16 pm
content: dont mind BoredAtWork pablo, he always there on interrupt pin 0x08. no need to trash that pcb, just do as yacth's advice (cut the track a bit) will do, thats is one fine pcb, unless worst thing happen as mentioned. mains dont just can kill pcb, but human too. report your next probing when you found out something. cheers.

author: bilko
author_rank: Frequent Contributor
timestamp: April 23, 2011, 10:24:56 pm
content: I'd get to work with the hobby grinder, dremel ? and do something like this

author: qno
author_rank: Frequent Contributor
timestamp: April 24, 2011, 09:04:48 am
content: I am missing the small 330n capacitors on the input of the regulators in the schematics.Read the datasheet carefully.

author: pablo
author_rank: Contributor
timestamp: April 25, 2011, 06:35:15 pm
content: just a quick update:I've been performing some test and here is what i've found...I probed the three outputs and they where doing the same thing. undershooting or oscillating before thevoltage started to rise.I also probed regulators inputs with same results. So i opted to remove the transformer from the PCBand soldered some wires directly between PCB and transformer's secondary. Unfortunately that didn't help.Finally I replaced every component and built it again but this time on a breadboad with no luck.My last test consisted of a bridge rectifier and a capacitor with same results.WTF is going on !!!!Maybe there is nothing wrong with my circuit so I'm afraid that the oscilloscope's probecould be causing this due to some weird tank circuit behavior while being connected,like some inductive circuit loading.What do you think?

author: jahonen
author_rank: Super Contributor
timestamp: April 25, 2011, 07:40:40 pm
content: It is very probably common mode noise transient coupled into measurement. So what you see is a measurement artifact. You can verify this by connecting the scope probe ground and tip to the same point (for example by probing ground), and checking if you still see the noise (I guess that you do).Regards,Janne

author: pablo
author_rank: Contributor
timestamp: April 25, 2011, 10:21:27 pm
content: Janne...I tested what you suggested and it turned out to be that.I simply connected the probe to the ground terminal (where it was connected before) andi got the same results.But then, what causes this...?It happens when i plug the AC cord to the wall outlet to feed the transformer.Does this mean that:-that my oscilloscope is ok?-has nothing to do with probing (loading) the circuit?-this could affect my circuitry?Well anyway i really appreciate your help.

author: pablo
author_rank: Contributor
timestamp: April 25, 2011, 10:43:31 pm
content: here is another image of the common mode noise.The probe's ground and tip are tied together in the same node (circuit's dc ground).I got the same results in the positive rail.thanks.

author: am2pgs
author_rank: Contributor
timestamp: April 26, 2011, 01:11:16 am
content: The common mode noise measurement artifact is a very common. It is to do with noise coupling through the mains earth connection. There is nothing wrong with your scope as such but some scopes deal with it better due to better earth isolation.often people recognise it and then simply igonre it.If you want to rule it out for sure you can do a few things:- Do what you just did- use a battery operated scope- use differential probes with decent CMMR- play around with you mains connections (the scope and the DUT)

author: pablo
author_rank: Contributor
timestamp: May 20, 2011, 03:12:30 am
content: I bought one of these AC outlet wiring testers so i know that ground is open or floating.Do you think this could be causing the common mode measure artifact?

author: LEECH666
author_rank: Frequent Contributor
timestamp: May 20, 2011, 11:09:33 am
content: http://sound.westhost.com/project44.htmIf you take a look at Rods Page he states:D5 and D6 are recent additions, suggested by a reader (and as used in P05). These help protect against external reverse polarities.The other diodes (AFAIK) protect against the various capacitors discharging through the output pins of the regulators. The regulators might get damaged if the output voltage is higher than the input voltage. The diodes form an alternative current return path to protect the regulators.Cheers from Germany,Florian//EDIT: Whoops, sorry for the late post. I see the topic has moved onto other topics already.