Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronics Forums > Electronic Projects Design/Ideas/Reviews


Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution.

Reply
 
LinkBack Thread Tools Display Modes
Old 10th April 2007, 03:23 AM   (permalink)
Default Problem with voltage regulator circuit (smoked cap)

I am using a 7805 voltage regulator to provide +5 volts to a Basic Stamp processor and a matrix LED driver chip. On the input side of the regulator, I have a .33uF 35-volt tantalum capacitor and on the output, I have a .1uf 35-volt tantalum capacitor and a 10uF 25-volt electrolytic capacitor.

I am using a 5 pin connector on my circuit board that provides unregulated +9 VDC (actually more like 12VDC) from a plug-in AC adapter. Also on the cable to this connector are RS-232 Rx, Tx and DTR lines. The power ground and the RS-232 ground signal share a common ground that is tied together.

My circuit was working fine (for a few hours) when plugged into the serial port of my computer used for development and testing. The circuit had problems when plugged into the serial port of another device--it would not run properly, but when unplugged from the serial port, it would work. However, there was no serial data transmitted and the port was idle when it was plugged in. Strange that when plugged into an idle serial port nothing would happen.

I plugged the serial cable back into my notebook computer and it worked fine again. Finally (after several attempts), when plugged into the other serial device, it would then start properly, but after a few moments, some of the smoke got loose. I unplugged it before all the smoke escaped but the circuit was working while it was having a smoke.

The strange thing--it was the .33uF cap on the input of the voltage regulator that smoked. There is no connection between the serial lines and the input power other than sharing the same cable and connector (and the common ground), but there were no shorts obviously since everything worked fine while connected to the PC. The other serial device only had pins 2, 3, and 5 connected so no other pins could possible be shorted by the device.

My wildest thought is that the route of the cable was different when plugged into my serial device. There was an AC power strip mounted under the counter top and a monster of a UPS on the floor below that. Could voltage have been induced into the cable to cause this problem? If so, how can the circuit be protected? I am not certain that is my problem, but I am baffled what else it could be. I was not able to take any voltage readings before I had to leave.

Does anyone have any ideas? I had to leave the equipment at a remote location, but will build a duplicate of the circuit for debugging. What should I look for?

Thanks,
Dale
DSGarcia is offline  
Old 10th April 2007, 05:05 AM   (permalink)
Default

I have had problems with tantalum capacitors exploding when power is applied. So I don't use them anymore, just electrolytics and ceramic discs for power supplies.
__________________
Uncle $crooge
audioguru is offline  
Old 10th April 2007, 05:21 AM   (permalink)
Default

As AudioGuru mentioned, sometimes tantalums throw a tantrum for no reason.
Quote:
There was an AC power strip mounted under the counter top and a monster of a UPS on the floor below that.
Was the UPS supplying power at the time? Most UPS's supply a square wave or a pseudo sine wave that, when passed through a transformer and rectified, could possibly spike the tantalums enough to blow them. I would look at the stability of the power source at this point.
__________________
--- The days of the digital watch are numbered. ---
kchriste is offline  
Old 10th April 2007, 08:56 AM   (permalink)
Default

hi,
It sounds as though you have an open ground/common line in the system, most likely on your psu/pic pcb.

When its working OK, the ground return is along a 'sneak' path, so the system works.

When connected to another device, this sneak path is missing so the system dosn't work.

Tantalum caps are OK, but they will not tolerate more than 0.5V reverse voltage before they self destruct.
If enough reverse energy is available they will explode producing a globule of molten metal.

The fact that the tant cap has burnt out, is again an indication of a open ground line.
Check the PIC pcb, use a ohm meter on ALL the ground lines to ensure continuity.
__________________
Eric
"Good enough is Perfect"

PIC tutorials:
Gramo's: www.digital-diy.net/
Bill's: www.blueroomelectronics.com/

Last edited by ericgibbs; 10th April 2007 at 08:58 AM.
ericgibbs is offline  
Old 10th April 2007, 05:32 PM   (permalink)
Default

Thanks everyone for the comments.

The circuit was not being powered by the UPS, I just mentioned it being there in case anyone thought a current could be induced into my [unshielded] data cable. The wall plug power supply should have filtered out any effect from a UPS at any rate, should it not? The other serial device might have been plugged into UPS power though.

My parts supplier (Mouser) has only a very limited selection of thru-hole ceramic capacitors but lots of the tantalum which is the reason the tantalum devices were used.

As far as the grounding problem, the blown capacitor was on the input side of the voltage regulator which makes me think the problem was created externally somehow. When the device was plugged into no serial port, it was working (processor functioning and display LEDs on) which shows me that the power ground was working fine. When plugged into the PC serial port, it worked fine. I had two different serial devices with which I had problems, but the serial ports worked fine with other equipment which showed the serial ports were also working fine. This is what is so confusing to me and led me to believe it was induced current from the different physical routing of the data cable (about 15 meters long, but semi-coiled on the bench).

Examining the Basic Stamp, there appeared to be no indication of damage. The only other noticable damage was the 10uF cap on the output of the voltage regulator, but it appeared that it was from the smoke residue from the blown .33uF cap on the input (the 10uF cap was vertically above the smoking part).

I intend to build another unit for testing. Other than changing to a ceramic cap on the input side of the regulator, is there anything else I should consider or check? Should I also put a 10uF electrolytic on the input of the voltage regulator (the data sheet only showed the .33uF)? One other problem is that I can only get a .1, .22, or .47 in the ceramic--which do I use--the data sheet shows a .33uF on the input side?

Do I need a reversed diode in parallel with the capacitor to eliminate any reverse voltage--perhaps caused by frequent plugging in and out from the power?

Thanks,
Dale
DSGarcia is offline  
Old 10th April 2007, 09:19 PM   (permalink)
Default

I agree with Audioguru, don't use tantalums - as far as I'm concerned they are far too unreliable, you don't see them used in domestic electronics anymore for that reason.
__________________
PIC programmer software, and PIC Tutorials at:
http://www.winpicprog.co.uk
Nigel Goodwin is offline  
Old 10th April 2007, 11:37 PM   (permalink)
Default

Quote:
Originally Posted by Nigel Goodwin
I agree with Audioguru, don't use tantalums - as far as I'm concerned they are far too unreliable, you don't see them used in domestic electronics anymore for that reason.
wow, England and Europe must be way different than the US. Electronics around here are filled with little tantalum caps. Some real high end stuff uses the new organic polymer electrolytic caps, but as far as I've, those caps are very expensive even in quantity.

I guess most of the electronics I work with daily are computer related, perhaps that type of cap is unique to the industry?
__________________
If you don't have a planet, what good are gold bars?

want to contact me directly? gmail gordonthree
check out my project website: http://projects.dimension-x.net
Favorite numbers:
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0
justDIY is offline  
Old 10th April 2007, 11:44 PM   (permalink)
Default

Texas Instruments say to use a 0.33uF input capacitor but National Semiconductor say to use a 0.22uF. They say to use a ceramic disc output capacitor so the input capacitor is also probably the same. Use the 0.22uF ceramic disc from Mouser as the input capacitor and it will be fine.
Attached Images
File Type: png LM78xx regulator capacitors.PNG (14.7 KB, 9 views)
__________________
Uncle $crooge
audioguru is offline  
Old 10th April 2007, 11:51 PM   (permalink)
Default

You do know that tantalums have their stripe on the positive end, and electrolytic caps have their stripe on the negative?
mneary is online now  
Old 11th April 2007, 12:02 AM   (permalink)
Default

I've never had a reliability problem with tantalum caps, but in the early 1980's there was a war or cartel or something that made them scarce and expensive.

Even today, they usually aren't the cheapest way to provide capacitance, and IMO this is why you don't see them in consumer goods. The products I'm involved in have to be extremely reliable, and we have no problem using tantalums.
mneary is online now  
Old 11th April 2007, 02:38 AM   (permalink)
Default

Tantalum capacitors are quickly damaged by high surge or ripple currents so you need to be careful using them in power supply circuits. If you use one at the input of a regulator it's a bad idea to connect to a power supply that is already switched on with it's output caps fully charged, the surge can kill the tant. and it will fail shorted hence the smoke. I too have never had any reliability problems with tantalum capacitors, I've been using them in power supply circuits and everywhere else for 30 years with good results. Just watch the ripple currents and don't get too close to the maximum voltage rating.
Brevor is offline  
Old 11th April 2007, 02:49 AM   (permalink)
Default

I did not realize there were problems with the tantalum caps. Mouser has pages and pages of them and only a very small selection for the ceramics (of the radial leaded type). I used what was common because that was what it appeared that everyone else used (judging by the number of different part numbers).

I was not aware that they had a polarity, but looking closely at a good part, there is a single narrow long stripe down one side. This could be the source of my problem though it did run a couple of hours or more with +12VDC input with no problems. Would it have lasted this long if the polarity were the problem?

This still does not answer my problem why it appeared to work plugged into my notebook serial port or unplugged from a serial port altogether but then the display would not work when plugged unto a different serial device.

Thanks,
Dale
DSGarcia is offline  
Old 11th April 2007, 02:54 AM   (permalink)
Default

Quote:
Originally Posted by Brevor
Tantalum capacitors are quickly damaged by high surge or ripple currents so you need to be careful using them in power supply circuits. If you use one at the input of a regulator it's a bad idea to connect to a power supply that is already switched on with it's output caps fully charged, the surge can kill the tant. and it will fail shorted hence the smoke. I too have never had any reliability problems with tantalum capacitors, I've been using them in power supply circuits and everywhere else for 30 years with good results. Just watch the ripple currents and don't get too close to the maximum voltage rating.
When I was writing my post, I did not have yours yet. Perhaps this explains the smoke because I did plug the DC power plug in and out (while the AC adaptor was plugged in) several times while trying to see what was going on. Would a .22uF ceramic cap work as suggested above because due to the nature of the installation I do want the ability to plug DC power in while the AC adaptor is plugged into the wall?
Thanks,
Dale
DSGarcia is offline  
Old 11th April 2007, 03:43 AM   (permalink)
Default

Replace the tantalum capacitors with ceramic discs.

Mouser sells many tantalum capacitors and only a few ceramic ones because of PROFIT! Tantalum capacitors are a ripoff.
__________________
Uncle $crooge
audioguru is offline  
Old 11th April 2007, 03:49 AM   (permalink)
Default

It would probably be Ok but I would just use a plain old electrolytic, See the following application note as to why a high value ceramic cap may not be the best for this application either.


Brevor is offline  
Reply

Bookmarks

Thread Tools
Display Modes



Similar Threads
Title Starter Forum Replies Latest
Voltage ElectroMaster Electronic Theory 44 8th August 2007 06:35 PM
convertion of acvoltage to high dcvoltage panchumarthy Electronic Projects Design/Ideas/Reviews 8 12th December 2003 02:36 PM
Voltage controlled amplifier Jimbo Electronic Projects Design/Ideas/Reviews 2 20th October 2003 01:25 PM
should i use a voltage regulator on a wall transformer. macman828 General Electronics Chat 3 22nd April 2003 08:11 AM
Ballast / Igniter Problem O B 1 KNooB Electronic Projects Design/Ideas/Reviews 1 6th March 2003 10:22 PM



All times are GMT. The time now is 04:48 AM.


Electronic Circuits  |  Learning Electronics
Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.

eXTReMe Tracker