Whining noise from circuit board - Page 1
Forum section: electronics / projects

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 17, 2015, 02:21:54 pm
content: I designed a circuit board that primarily consists of digital logic ICs, with a few analog ICs and a 7805. All parts are SOIC (except the 7805 which is still SMD), and automotive rated (from Digikey). Other than the ICs, the board has ceramic caps, resistors, diodes, and one 2n3904, all surface mount. The board is designed to be operated off a car battery (on a running car). I am not using any electrolytics as I expect the currents involved to be very low, and the 7805 datasheet did not recommend any large capacitors and would generally prefer to avoid electrolytics for cost, reliability, and size reasons. The board functions fine, and I did not see any significant ripple on the output of the 7805, but I can hear a high pitch faint whining noise when the board is powered.I think of whining as something that occurs as a result of inductance, and I doubt there is any significant amount on the board (although there may be significant inductance in the wires going to the board). The chip has digital outputs that are coming from 74HC chips. The inputs are going into a 74HC chip but have significant amounts of protection on them (series resistor and shunt capacitor and TVS diode). Can anyone give me any suggestions here as to the origin of the whining, if its something I should worry about, or how to correct it?

author: Fungus
author_rank: Super Contributor
timestamp: May 17, 2015, 02:44:21 pm
content: Ceramic capacitors can make audible noise, maybe that's the source:https://www.google.com/search?q=ceramic+capacitor+noise

author: madires
author_rank: Super Contributor
timestamp: May 17, 2015, 02:53:43 pm
content: Please seehttp://media.digikey.com/pdf/Data%20Sheets/Panasonic%20Capacitors%20PDFs/ECJ,ECY,ECD_Handling1.pdfsection 1.8 Piezoelectricity.

author: wraper
author_rank: Unknown
timestamp: May 17, 2015, 02:57:24 pm
content: Could be that 7805 or something else is oscillating and therefore ceramic capacitor on it's output is emitting noise.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 17, 2015, 03:11:52 pm
content: wraper, I dropped a scope probe on the output of the 7805 and did not notice a significant output ripple (I have 10uF 1206 on both input and output as well as .1uF on the output and decoupling each IC). There is almost certainly significant ripple on the input.Sounds like the noise is completely normal, not harmful and there are ways to mitigate the problem (turning the thing vertical, mounting a pair of caps above and below the board to cancel out the vibration, or using more expensive noise reducing caps) -- but all of which would cost money and are not worth it. If the noise doesn't pose a long term reliability issue, I'm not concerned with it. I suspect that once packaged the noise would be barely noticeable.

author: wraper
author_rank: Unknown
timestamp: May 17, 2015, 06:59:19 pm
content: Quote from: hpmaxim on May 17, 2015, 03:11:52 pmWhat do you mean bysignificant, what is the amplitude? There shouldn't be almost anything at all, especially if powered from stable power supply. What is the frequency of the ripple?Capacitors should not whine unless there is some DC/DC converter. Did you probe on AC setting to see in millivolts scale? 7805 might not like at all 10uF of very low ESR capacitance on it's output.

author: wraper
author_rank: Unknown
timestamp: May 17, 2015, 07:02:29 pm
content: Quote from: hpmaxim on May 17, 2015, 03:11:52 pm...the words you will remember when 7805s will start to fail short, destroying everything what is powered from them.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 18, 2015, 02:08:12 am
content: Quote from: wraper on May 17, 2015, 06:59:19 pmI don't remember, it was a few weeks ago. I don't think I probed on AC. I was not explicitly trying to make a measurement of the ripple. I was having some sort of problem with the board (which I think had more to do with my inputs than the board itself) -- I eventually got everything working without any board modifications), so I started probing around, and I remember I checked the output of the 7805 and it seemed completely stable at ~5V, however I was most likely probing it in DC mode on 1 or 2V/div.This is the datasheet for the 7805:http://www.st.com/web/en/resource/technical/document/datasheet/CD00000546.pdfIt specifies a minimum output cap of 2.2uF, typical of 10uF, no max. However, it says the ESR should be between .1 and 10 ohms.The capacitor is:http://datasheet.octopart.com/GMK316AB7106KL-TR-Taiyo-Yuden-datasheet-27088958.pdfSo ESR is < .1 ohm from about 6 or 7kHz to over 100MHz. That might be a problem. But it might not... The output should be nearly DC, in which case the I don't know how serious that is. Minimum ESR seems to be around .007 ohms, but that's at around 1MHz.There is no reason for snide remarks however, my response that it sounds normal was based on the fact that I was unaware of the fact that ceramic capacitors can make a whining sound when attached to a PCB and that there are mitigation techniques available. You are right that the output of the linear regulator shouldn't have ripple on it, and therefore it shouldn't be making noise. But I have the same cap on the *INPUT* and the input is definitely subject to ripple (much more so than on the output), so its quite possible that the singing capacitor is the input cap, not the output cap, and its not an issue with the 7805.

author: max666
author_rank: Frequent Contributor
timestamp: May 18, 2015, 02:20:17 am
content: Would the whining stop if you put your finger on it? If so that could be simple method to find the culprit.

author: dom0
author_rank: Super Contributor
timestamp: May 18, 2015, 10:24:10 am
content: You won't see a 7805 oscillate at 1 V/div, even less so at 2 V/div.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 18, 2015, 11:01:09 am
content: What sort of oscillation would be required to get a 1206 10uF cap to start making noise?

author: Fungus
author_rank: Super Contributor
timestamp: May 18, 2015, 11:05:28 am
content: Quote from: hpmaxim on May 18, 2015, 02:08:12 amYou can try different brands/values of capacitor to see if it helps. Maybe even parallel it with a small electrolytic to change the characteristics of the input capacitance.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 18, 2015, 11:48:34 am
content: Quote from: Fungus on May 18, 2015, 11:05:28 amIf the noise is harmless, I'm not going to do anything. If its indicative of a problem, I will try to figure out what is going on. It sounds like it could either be normal because of ripple in the input, or a problem because of low ESR in the output cap. I guess a low ESR cap would tend to make more noise. I guess its conceivable shoving a 10 ohm resistor in series with the input cap could cut down on the noise too.

author: rob77
author_rank: Super Contributor
timestamp: May 18, 2015, 12:17:43 pm
content: i wouldn't bet on that noise being harmless... the capacitors are making noise because of AC content (they act like a piezo-speaker) , if there is some level of AC after a 7805 powered from a battery, then it means it's oscillating... and an oscillating 7805 tends to be harmful sometimes

author: Fraser
author_rank: Super Contributor
timestamp: May 18, 2015, 12:18:16 pm
content: A noisy whining PCB is never 'normal' in production equipment. Such oscillations should always be tracked down. Oscillations can be very harmful especially if they can build in amplitude. Resonance can be quite a destructive force.In your situation I would a) use a straw in my ear to listen to each component and assess exactly which is the source of the sound and b) apply a load to the supply to see if that stops the resonance. Some supplies do oscillate without a decent load. In such cases it is not unusual to see a small 'load' resistor across the output. If the capacitors are making the noise, I would change them out for a different make or type. I personally would also change the regulator to one from another manufacturer as some regulators like to oscillate yet others are fine.For there to be sound, there must be oscillation somewhere. Oscillation in a power supply is bad, no two ways about it.Aurora

author: Fungus
author_rank: Super Contributor
timestamp: May 18, 2015, 12:57:20 pm
content: Quote from: hpmaxim on May 18, 2015, 11:48:34 amA vibration in a device (which is what this is) is never 100% harmless.Think of it as your capacitors screaming if that image helps.

author: Fungus
author_rank: Super Contributor
timestamp: May 18, 2015, 12:59:35 pm
content: Quote from: Aurora on May 18, 2015, 12:18:16 pmOr use a BIC pen.

author: amyk
author_rank: Super Contributor
timestamp: May 18, 2015, 01:25:37 pm
content: Quote from: Aurora on May 18, 2015, 12:18:16 pm...unless it's a SMPS, in which caseexcessiveoscillation is bad.The OP mentioned digital logic - the oscillation could just be the switching transients.

author: mikerj
author_rank: Super Contributor
timestamp: May 18, 2015, 01:56:46 pm
content: Aside from the possibility of the 7805 regulator oscillating, this part is not rated for automotive use and I know from experience that without a well designed input protection scheme they can fail from the high voltage transients that are often present in car electrical systems.There are TO220 5v regulators specifically designed for automotive environments, e.g. the LM2940.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 19, 2015, 06:02:09 pm
content: Noise appears to still be there when I run it off a bench supply. I was unable to isolate the sound (acoustically). There appear to be several hot spots on the chip (primarily on a couple of the analog ICs and the 7805) however the 7805 is hot enough that I can't individually make out the 1206 caps (heat wise) although they are on the perimeter of the hot spot, so I'm guessing they aren't getting very hot.However, I dropped a scope probe across the output cap with AC coupling, and it appears that there is a sawtooth ripple with a magnitude of 400mVpp and a period of about 70uS. Note that the inputs were left open which I would have expected to cause excess current draw. The sawtooth was highly non-symmetric. My guess is that the 70us period is consistent with the noise I'm hearing. I assume this means the ESR of the output cap is too low and its causing the 7805 to become unstable? Is adding a 1 ohm resistor a valid solution as most caps in that size seem to have similar ESRs?mikerj, I said it was a 7805, in fact its not, you can look at the datasheet I provided, it is essentially an automotive rated version of a 7805.amyk, it is conceivable its the digital logic, however, I doubt it. The noise was there whether the inputs were stimulated or not, and the input stimulation was at frequencies much lower than the noise. I suppose its possible its randomly oscillating when the inputs are open and when i'm hearing harmonics when they are connected. However, the caps are decoupling, and I can't imagine the supply moves all that much as a result of the output of HC logic switching.

author: Niklas
author_rank: Frequent Contributor
timestamp: May 19, 2015, 09:48:30 pm
content: Even if the output voltage is close to DC, there can be a small hysteresis window of a few millivolts in the regulator that causes oscillation. Add the 1 ohm resistor you mentioned and observe what happens. That is a solution that TI has for some of their switch mode regulators together with ceramic caps on the output.

author: wraper
author_rank: Unknown
timestamp: May 19, 2015, 10:17:50 pm
content: Quote from: hpmaxim on May 19, 2015, 06:02:09 pmThe only common things it has with 7805 are that it is voltage regulator and has 5V output. It iscompletelydifferent IC. It is low dropout regulator, and such kind of voltage regulators overall don't do well with ceramic capacitors. Basically they cannot be used with ceramic capacitors unless stated otherwise in the datasheet. There is even writtenelectrolyticon the schematic provided in the datasheet. Assuming that you can call every 5V vreg as 7805 you just misinformed the people that want to help you and shot in your own foot. Also, did you check the maximum input voltage? It is only 16V therefore a not a good choice for the use in the place where you put it. It will shut down if the voltage exceeds 18V, therefore some transient on the power rail (whichisdirty) can cause circuit to shut down.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 20, 2015, 04:22:17 am
content: Quote from: wraper on May 19, 2015, 10:17:50 pmI'm not actually seeing where it says it will shut down if voltage exceeds 18V, and the absolute max voltage is 40V. However, I do agree it seems to indicate the max input voltage is 16V. I honestly thought this was a 7805 equivalent. Please understand, I don't normally do PCB design, and I had selected a 7805, and then looked for an Automotive rated equivalent, and for whatever reason I thought that's what I had found.After re-reading the datasheet, I tend to agree that this may not be the best IC. After looking on Digikey, I think the NCV7805 seems like a good alternative (pin/package compatible, no output cap needed, 1A max output, 35V max input, automotive qualified) -- and slightly cheaper. Only downside is the 2V min drop, which is obviously not an issue and higher quiescent current which is a downer but not a showstopper.

author: wraper
author_rank: Unknown
timestamp: May 20, 2015, 08:29:29 am
content: Quote from: hpmaxim on May 20, 2015, 04:22:17 am

author: wraper
author_rank: Unknown
timestamp: May 20, 2015, 08:42:30 am
content: Quote from: hpmaxim on May 20, 2015, 04:22:17 amCap is kinda not required. With mentioning that <0.1uF could cause instability.

author: richard.cs
author_rank: Super Contributor
timestamp: May 20, 2015, 10:07:56 am
content: Ceramic capacitors with a deliberately added series resistor are a perfectly legitimate alternative to electrolytics for regulators that require them. If you have board space it's often a good idea to put a 0R in series with the output capacitor anyway and then the footprint is there if you have problems. Bear in mind that a controlled ESR output capacitor might not be enough if there are ceramic decoupling capacitors sprinkled around elsewhere on that net - the regulator will still see their low ESR unless they are at the ends of long inductive traces (which can cause other problems).

author: Asmyldof
author_rank: Regular Contributor
timestamp: May 20, 2015, 11:28:09 am
content: I feel like chiming in, because the cause has been pointed out, but I think maybe an explanation might help future design thoughts.What happens with a linear regulator of a certain feedback design and a "too perfect" capacitor is that the regulator has an internal structure like an op-amp, with some inherent hysteresis and offset in its measurement inputs (because no op-amp you can buy at $1, let alone one with a power stage, is designed for near-perfect behaviour).So, let's say the output starts at 0V, the output stage of the regulator starts pumping out power to fill the cap. Because of the offsets and some "significant" delay/phase-shift it needs some time to "get used to" a new voltage measured over the cap.A cap with very low ESR on an output stage that will happily supply 100's of mAmps shoots up at great speed. So the regulator then 'sees' 5V a bit after it achieved this, with the great response of the low ESR cap, this can mean 5.5V is actually reached when it starts pinching off. Now, the cap needs to drain to 4.99V before it starts opening up again.(voltages assume the regulator to be exactly 5.00V - to the concept the variations don't matter)This creates the oscillation.What's worse than there being a sound, is that this means that the internal power transistor is continuously switched on and then pinched off, switched on and pinched off. This transistor is designed for use that's constantly in its linear operation, as a regulator expects to always source a little bit of current at least. That's why some regulators even specify a minimum of 5mA drain or something like that.Now using this transistor as a sort of switching type may cause it to become quite a bit hotter than you intend, since its doing stuff it's not designed for.Some linear regulators have an internal structure that includes a cascode power stage as a complementary buffer resistance, or include a special feed-forward structure, that allow you to go as low as single mOhms ESR, but these can primarily be identified by their >$5 price tag when bought in volume.And of course most switching bucks prefer low ESR as they actually work with a current dump-scheme and switching transistors.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 20, 2015, 01:49:36 pm
content: Quote from: richard.cs on May 20, 2015, 10:07:56 amThere are several .1uF caps spread around as decoupling caps, which was why I had said no output cap was needed in response to Wraper, I could simply rely on those. My general assumption is that ceramic capacitors will last longer than electrolytics, particularly in harsh environments which is why I went with them. However, not needing the 10uF caps, it looks like I can get a better lower capacitance substitute which will also be significantly cheaper.

author: wraper
author_rank: Unknown
timestamp: May 20, 2015, 02:05:44 pm
content: Quote from: hpmaxim on May 20, 2015, 01:49:36 pmYou can rely on those only if they are located very close to the voltage regulator IC. Decoupling capacitors across the board are not a substitute for it.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 20, 2015, 03:21:12 pm
content: Quote from: Asmyldof on May 20, 2015, 11:28:09 amAgain, I had my blinders on because I thought it was just a linear regulator, with a similar architecture to the 7805. However, after looking at the block diagram, I noticed they are using a PNP for their output power transistor. This is almost a dead giveaway that they can't be operating in emitter follower/linear. I'm a little surprised the part is designed like this. They are essentially relying on the load being well matched to the speed of the regulator -- although I guess that's the price you pay to get close to the rail. I actually designed a current current sink/source IC that had to work close to the rail and ran into the same sort of issue. However, I vociferously warned the customer of all the potential issues with oscillation because they were unable to guarantee the load (they were making a box which was being sold to their customer who in turn could attach whatever they wanted to the outputs). The customer accepted this because they knew it was the only architecture that could meet all their specifications. But it would be nice if they gave you a bit more warning in the datasheet.I don't buy the argument that would cause it to heat up excessively. Oscillation at the base could cause you to burn through energy to charge capacitance, but I can't imagine it'd be more than 1mW (I'm figuring 1/2 * 1nF * Vin^2), and considering that they are speccing 6 mW quiescent when nothing is happening, going up to 144mW under load, and you're inherently losing (Vout-Vin) * current anyway, I doubt the extra 1mW is going to do much.In all honesty, I suspect this entire situation is tolerable, unless the physical oscillations would eventually cause the solder joints on the cap to crack. I also worry that given the frequency and amplitude this could adversely affect the operation of the analog ICs, although I suspect its slow enough it wouldn't affect the digital. But given that I can fix it by selecting different parts which are actually cheaper and better able to handle high voltage, that's the obvious solution.BTW, as I recall from the design I had worked on. 18V is the maximum voltage you ever expected to see in a functioning or semi-functioning car, although you needed tolerance to about 36V because of abnormal events (someone jump starting the car by somehow wiring the batteries in series, and then getting a load-dump (the alternator becoming disconnected from the battery or something goofy like that.

author: paulie
author_rank: Frequent Contributor
timestamp: May 20, 2015, 03:56:28 pm
content: Quote from: hpmaxim on May 20, 2015, 03:21:12 pmI have personally measured 160v in a 1998 Dodge Caravan and somewhat more in a 1984 Fiero under normal operating conditions. I suspect significantly higher spikes exist of shorter duration.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 20, 2015, 04:17:02 pm
content: Quote from: paulie on May 20, 2015, 03:56:28 pmYeah, I don't believe it. I guarantee you that most electronics in a car would be destroyed by that, and in a very short period of time. I know this because we were destroying parts during ESD testing with 200V (machine model, not HBM). And the customers (two of the largest automotive electronics manufacturers in the world) had no concerns about this, and neither did their customer (one of the top 5 automakers in the world). And any prolonged exposure above about 44V would destroy it (prolonged being a second or less) -- and they understood this as we blew up a lot of parts while doing testing.I strongly suspect something was wrong with your measurement setup. The automotive environment is very dirty, a bad ground connection could result in picking up major league noise that isn't really there. Now, if you mean something like a inductive pickup, its possible you could get large voltage off that, especially if its disconnected from the interface circuitry -- however the interface circuitry almost certainly has either some shunt resistor which would reduce the loaded voltage, or some sort of series resistor and a shunt cap to reduce peak voltages at the interface IC for high frequency (and hence high amplitude) input signals.

author: Asmyldof
author_rank: Regular Contributor
timestamp: May 20, 2015, 05:32:31 pm
content: Quote from: hpmaxim on May 20, 2015, 03:21:12 pmIn addition to Wraper's graphical proposition to you, which is entirely a second very valid point, you seem to be misunderstanding what I'm explaining.A transistor made for continuous conduction is , 9 out of 10 not good at switching and vice versa, no matter its type or polarity. They are optimized for a task. It's like taking your 1.6liter station wagon to a drag race and then using your Ferrari to do a monthly shopping run, it's just not the best idea.A transistor designed for linear operation is going to detest switching and waste a lot of energy doing so, even though half that energy might have otherwise gone into the cap making the oscillation worse.Also, not just one transistor that wasn't meant to is oscillating between off and on, the entire chip is!Add that to the large AC currents that could be leaking as Wraper rightly points out, and, pfffooah as a locally famous Ozzie might say.So, I very much think this is not a manageable situation, even if the heat stays in limits and the sound can be masked or hidden, you are introducing operation to several parts that they were absolutely never designed for and certainly never tested in. To go back to the story of your Ferrari, even if it works while you try it, at some point something's going to give under the weight and packing conditions. (Or if you think of this as a station wagon, it'll probably cost you your clutch, transmission, head gasket or all three in the long run).

author: wraper
author_rank: Unknown
timestamp: May 20, 2015, 05:44:41 pm
content: I deleted the post Asmyldof says about after a minute since posting (before he made his post) as it wasn't 100% accurate. Just don't wonder what he says about.

author: paulie
author_rank: Frequent Contributor
timestamp: May 20, 2015, 05:52:47 pm
content: Quote from: hpmaxim on May 20, 2015, 04:17:02 pmObviously not if designed with proper protection by a competent engineer.You are free to continue with head in the sand. Sometimes what you don't know CAN hurt you. Other times survival may continue due to dumb luck. The fact you mention "a second" tells me you have no idea what I am referring to. Of course you are entitled to continue with your belief system. It's just as amusing to see those who live in blissful ignorance as it is to see the ones who take ridiculously excessive measures. That automotive protection megathread (largest ever in this forum), with both extremes, was truly a comic opera.BTW with soldering iron in hand it would take me about 10 minutes to isolate the cause of a noisy component. Much less time than spent on this thread anyway. If you pull the legs off an ant he is at some point unable to continue crawling.

author: dom0
author_rank: Super Contributor
timestamp: May 20, 2015, 05:53:29 pm
content: Quote from: hpmaxim on May 20, 2015, 04:17:02 pmThere's some standards for testing automotive stuff around, I think common criteria are something like "must survive <1 ms pulse with five (seven?) times the normal voltage" and "must survive incorrect polarity"./edit:http://www.dse-faq.elektronik-kompendium.de/dse-faq.htm#F.23Quote

author: paulie
author_rank: Frequent Contributor
timestamp: May 20, 2015, 06:10:50 pm
content: Quote from: paulie on May 20, 2015, 05:52:47 pmAnybody get the pun? You know... "CAN" bus... automotive... LOL.... never mind...

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 21, 2015, 03:58:22 am
content: Quote from: paulie on May 20, 2015, 05:52:47 pmFirst off, I've already acknowledged that I selected a suboptimal regulator without realizing it was a totally different architecture, and intend to replace it on the next board that I build up. I'm not convinced the ringing is likely to cause long term damage, but it is mildly annoying, and it could affect the analog ICs, and there are better/cheaper alternatives.Second, I have no interest in getting into a pissing match about this. The "competent engineer" comment is really out of line. I do not believe that most automotive electronics are designed to survive more than 45V, certainly not statically. GM, Ford, Toyota, VW etc, all have specifications which have been agreed upon as to what the electronics are designed to survive, and you are expected to meet that and not more. I was designing an IC that went into a module, its quite possible that there was additional circuit protection in the module to protect the IC against spikes (we were not privy to the customer's requirements from the automaker, only the derived requirements they gave us). We interpreted the 40V specification to be both a worst case static and transient case, however it was probably only intended as a transient case. It's conceivable to me that there were TVS diodes in the module which would protect the IC from transients above 40V and I may be wrong about that, but I have a lot of trouble believing they have transients going up to 160V, because if there is TVS protection, the modules should unless isolated by a resistor or something be protecting each other at least to some degree (admittedly, for very very fast transients, probably not as the inductive impedance might create substantial isolation). When you mentioned the 160V there was no mention of how long the spike was versus a static voltage level, but you implied that for "shorter durations" you believed there were larger spikes.Anyway, I do appreciate the feedback, it appears the problem has been determined, the solution has been determined and I learned stuff in the process (hopefully others did as well).

author: paulie
author_rank: Frequent Contributor
timestamp: May 21, 2015, 12:36:53 pm
content: A few minutes reviewing your posts don't see any hint the problem has actually been determined. Maybe you forgot to mention the details of your find.Anyway it's good to hear about the possibility of addition protection in the module your circuit is used in. All this talk of hundred volt spikes is not as scary as might seem first glance. For personal automotive projects nothing more than a single resistor on inputs has served me fine for decades. Both in the vehicles mentioned above and also some 2 wheelers. Feels strange to be on the other side of these "pissing contests" for a change.BTW you seem somewhat overly sensitive based on replies to other contributors on the first page too. The "competent engineer" remark was not directed to anyone in particular.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 21, 2015, 01:23:23 pm
content: Quote from: paulie on May 21, 2015, 12:36:53 pmWell, I determined that the regulator I was using did not have an emitter follower output (making it more susceptible to output oscillation) and was clearly oscillating at 14-15kHz which was probably the frequency I was hearing. The solution would be either to add series resistance to the ceramic capacitor or (the preferred solution is to) change to an emitter follower based regulator such as a 7805 which would be unconditionally stable.I think you may be confusing two different things... The module I was talking about was a module that I designed an integrated circuit for at work. Again, the specifications that I was given were extremely tough to meet in an IC, but they were almost certainly derived specifications, i.e. their customer had given them specifications for the module and based on PCB circuitry they made a a decision as to what IC could be exposed to, which would be less than the module's exposure.After looking at the schematic of the PCB I'm designing (for fun, not for work), I'm thinking my protection is probably inadequate. The inputs are properly protected, but the outputs are directly connected to automotive-rated IC. That's probably not adequate, throwing in 100 ohm series resistors. My power supply is connected to the LF50ABDT through a rectifier diode. Now, I'm thinking the diode should be replaced by a 10 ohm resistor with a shunting TVS.

author: Asmyldof
author_rank: Regular Contributor
timestamp: May 21, 2015, 02:09:24 pm
content: Quote from: wraper on May 20, 2015, 05:44:41 pmIt wasn't 100% accurate, but still a valid point that an AC wave on a cap will cost you some that's not measurable past the cap.Quote from: hpmaximI have no trouble at all believing in a car with even 100's of tested devices the main lines still contain spikes past the 100V point.I also have no trouble believing a small spike like thosecandestabilise the input stages of a voltage regulator specced to an absolute maximum of anything below 60V (and even with 60V+ ... protection)The module test is very nicely quoted by dom0 and as you can see the tests do go up to 150V.Although the total energy is very low and a simple R-C filter (low R, high C) can usually flatten them off to below 50V, while still allowing sufficient primary current to flow, if you worry about inductances and after-dumps a few more components could be added, such as a TVS and diodes. It will not pass a professional test for production quality modules, but it'll do the job well enough for a one-off.Also don't be fooled by personal measurements, especially when taken with a digital scope or some similar such. A 160V 0.1us spike can very well not show up at all on your display, or show as a simple 30-ish spike of 0.05 ~ 0.5us. The sampling has its limits and even on analogue scopes the trace of the spike can be so thin that at first glance you miss it entirely. I have spent enough hours in nearly completely dark rooms twisting focus and brightness knobs just to be sure in similar tests and measurements.As for single stage emitter-follower outputs never oscillating. Yes they sometimes do. It's slightly harder to get them to, but the op-amp stage of a linear regulator will still introduce phase shifting which leads to rush-in-based overcharge and pinch off followed by depletion, turn-on, over-charge, pinch-off, depletion, turn-on, etc. If the C is dampened by a resistance (internal or external) these peaks get smothered to a degree that'll stay compatible with the phase-shift/delay in the error amplification and the oscillation will reduce to (near) nil.The key in non-oscillation with low ESR capacitances is in the main control circuitry's cleverness with regards to that. (compensation caps on extra pins, feed-forward stabilisations, whatyamaevers)Sometimes this cleverness is a side product of another intended quality, sometimes it is fully intentional.With 7805 types, most of them are of rugged enough design (case of luck or research, I do not know, but it's one reason they have been popular for ages) to be very hard to get to oscillate in any significant way. But careful examination of the specific device's (manufacturer dependent) datasheet is never misplaced with regards to ESR requirements.

author: hpmaxim
author_rank: Regular Contributor
timestamp: May 22, 2015, 04:50:27 pm
content: I might as well ask about the protection circuitry that is employed, since its clear I don't really have experience designing automotive circuits:I'm protecting the 7805 with two 47 ohm series resistors (.75W each), 25V TVS shunt, 1uF 50V shunt cap.I'm protecting digital inputs with a 1k series resistor (.4W), 5V TVS shunt, and 3.3nF shunt cap.I'm protecting the digital outputs with a 100 ohm series resistor (1/4W)I'm protecting the 5V rail by taking a 5.1V Zener and connecting it to the 7805 input through a 470 ohm (1/4W) resistor. The Zener is hooked up to a PNP transistor that will presumably limit Vbe by pulling the 5V rail toward ground until it shuts off when Vbe goes below a couple hundred mV.All resistors are automotive qualified, pulse withstanding variety. I'm a little concerned the 94 ohm series supply resistor may result in too much voltage drop if the power supply drops too low (perhaps when starting). I'm also a little concerned that if the battery is hooked up opposite polarity the resistors may not be able to handle the heat generated if left connected for a long time as a fully charged battery would cause about 1.56W of dissipation and the max static dissipation is 1.5W (and that's under ideal conditions). I could throw a schottky in there which would remove the power consumption problem when reverse biased, but would increase drop slightly -- and I'm still left with the problem of handling the energy dissipation from a load dump, which could burn 50+W in the resistors (even if for a short time). I have no idea how the resistors would take that.

author: dom0
author_rank: Super Contributor
timestamp: May 22, 2015, 08:33:26 pm
content: Quote from: Asmyldof on May 21, 2015, 02:09:24 pmThe prime reason for this is in my opinion the darlington emitter follower with a very low dynamic resistance at the emitter (rbe in my textbooks). As that resistance is responsible for most part of the open-loop output resistance of the amplifier ... eh... regulator ... phase shift with capacitors at the output, be it smaller values with very low ESR or larger ones with .1 ? ESR, is rather limited. Also the phase margin at "unity gain" of those regulators is rather large by principle, I think over 80 °.These two points are mainly responsible for amplifier (in-)stability with capacitive loads.