Fail Of The Week: Never Trust A Regulator Module

[Ryan Wamsley] has spent a lot of time over the past few months working on a new project, the Ultimate LoRa backplane. This is as its name suggests designed for LoRa wireless gateways, and packs in all the features he’d like to see in a LoRa expansion for the Nano Pi Duo.

His design features a three-terminal regulator, and in the quest for a bit more power efficiency he did what no doubt many of you will have done, and gave one of those little switching regulator modules in a three-terminal footprint a go. As part of his testing he inadvertently touched the regulator, and was instantly rewarded with a puff of smoke from his Nano Pi Duo. As it turned out, the regulator was susceptible to electrical noise, and had a fault condition in which its input voltage was routed directly to its output. As a result, a component in the single board computer received way more than its fair share, and burned out.

If there is a moral to be extracted from this story, it is to never fully trust a cheap drop-in module to behave exactly as its manufacturer claims. [Ryan]’s LoRa board lives to fight another day, but the smoke could so easily have come from more components.

So that’s the Fail of The Week part of this write-up complete, but it would be incomplete without the corresponding massive win that is [Ryan]’s LoRa board itself. Make sure to take a look at it, it’s a design into which a lot of attention to detail has been put.

47 thoughts on “Fail Of The Week: Never Trust A Regulator Module

  1. If the idea of this article is to learn something from the mistakes or mishaps of others… then at least tell us what the name/number of the used regulator is! Otherwise it makes no sense to, or does it?

    1. The model number is in the latest update at the bottom of the page. The fun part for me is that the same regulator I’m using to power some dataloging hardware in my car.

    2. I imagine it applies to nearly any cost-engineered-to-the-bone module. This does make me feel less paranoid for having spent more time than I’d care to admit this morning compulsively heat-shrinking a cheap buck regulator module after hot gluing its trimmer in the desired position.

    1. Common is to add say a SMAJ5.0 to a 5V rail. The problem is however that the zener is designed not to interfere at 5V+10%. So it will happily allow the voltage to become 5.5V. Next it needs some margin and then it needs a little extra voltage to get a significant current flowing. So… For the SMAJ5.0 the “max clamping voltage” is listed as 9.2V. Still quite enough to fry your 5V components.

    1. From the data sheet internal diagram it looks like it already has internal feedback and proper decoupling. If the regulator goes bonkers just by touching it, it is possible he touched the error amplifier input, so that the feedback signal was effectively summed/subtracted to anything his body was exposed to. This should not happen at all.

  2. My guess: the module has the regulator IC exposed. For some reason it uses very high value > 1Mohm feedback impedance. When you touch the feedback pins on the IC, the output voltage rises.

    So it seems the real fail is the unnecessary use of too large feedback resistors. With 5 mA quiescent current, one can hardly claim its for power efficiency.

        1. Well I wouldn’t so much call it a flaw as a trade off as many switching regulators at least those with feedback circuits probably fail in exactly the same way… and honestly it shouldnt be suprising.

  3. Not to sound rude, but for the new board the DC-DC layout doesn’t look the best. It looks they are using an electrolytic capacitor for the DC-DC which makes me think it might be a MC34063 or similar variant as I think almost no DC-DC these days wants you to use those caps. They should look into the more recent DC-DCs available, some of them are around $1.5-2 once you add on the extra parts.

    1. AP1509, Works out very cheap all in all.

      As for electrolytics, well the datasheet says for cost effectiveness paired with ceramics for low ESR its a perfectly fine solution. The total cost for the inductor, chip and caps is under ÂŁ1.50 which is half the price of the pre done module. And I can touch it without magic smoke :) (A perfect 5.2V on the oscilloscope too).

  4. Sometimes a little extra power consumption and heat is worth dealing with in the name of reliability, in my opinion.

    One technique I’ve seen in a lot of radios designed to run on 13.8v nominal (which can be as high as 16 to 18 volts even without a regulator fault) is to daisy-chain 2 or more linear regulators as needed. In the ones I’ve seen on my bench, the 13.8v is fed into a 7808, which then feeds the 8v electronics along with a 7805 that feeds all of the 5v electronics. Both regulators typically are mounted in such a way that they can use the cast aluminum chassis of the radio as a heat sink. On a PCB such as the one in the article this practice would be a bit less convenient (large heat sink required), but not unreasonable if reliability is a high priority.

  5. Not to sound like a douche – but the fail of the week is ignoring ESD-regulations and touching around your bare PCBs.
    I do that aswell and yes I know my ESD-band lies on the desk. But more than once I shocked myself when touching my door or something else. Not worth the risk.

    Yes the article says it’s caused by change in the electric field and not through some discharge. But it’s the same deal. Don’t touch live components.
    They are made within (or sometimes outside) of proper parameters and this component seems a bit susceptible to it.

    1. This is a far reach, IMO – certainly not an ESD problem by any means. Besides, there are countless hobbyists that never really noticed any impact of ESD (especially given most modern diodes have ESD diodes either way), and most of them will never notice any.

      And if we disregard the ESD comparison… Try touching the feedback resistor with a ground strap on, see how it goes.

    2. Of all the many thousands of today’s manufactured components, a relatively small percentage are susceptible to ESD damage. Problem is, they all look the same from the outside so the safe way to manage components is to treat them all as though they are at risk.

  6. “and had a fault condition in which its input voltage was routed directly to its output.” This is totally incorrect!
    I even designed boards with DC/DC converts and have accidentally touched them while moving the board and they went up in smoke too. But that is user error NOT the parts fault. What you are saying is the same as you taking you finger and touching an audio amplifier circuit and hearing hiss and buzzing, then saying your op-amp has a “fault condition”
    You cannot make claims like this when you add another component to the circuit “your body” when you touch it.

    Hackaday, please don’t post stuff that is clearly a user design error.

  7. Had a similar design failure on a very expensive commercial film processor (Read German engineered). For some reason they decided to use a socket for the regulator. The fumes were allowed into the electronics cabinet and over time corroded some connectors. Guess what happens when the ground pin floats on a three terminal regulator? Custom cpu with eprom was the only victim. (The Repair is another story)

    T

  8. That’s not the only kind of failure to look out for. About 12 years ago, a commercial 5V and +/15V power supply’s -15V side failed in one of our equipment cabinets in our training lab. As a result, it took out 3 boards with loads of analog circuits. The boards were eventually scraped (took too long to diagnose & fix) at a total cost of around $20K. Since these were for the FAA, we had to have the failed power supply analyzed. After nearly 3 months (!) the manufacturer reported that it was “a normal failure of a 7815” !!! Whoops. The board designers “assumed” tracking power supplies, so if either side goes, they both go. Trouble is, that purchasing “missed” that salient spec because it was never specified by the hardware/systems engineer. I analyzed some of the failed boards on my own time and found that it was some op amps and some +5/-15V ADCs that failed. The op amps were JFET based. The ADCs were an older board revision and were replaced by +5V only versions.

    Expect the unexpected (especially if you want to keep your customers happy).

  9. Kindly review the ESD tolerance for the component, before blaming the component.

    If you need to protect the part from ESD then coat it. There are likely few ICs that will tolerate you touching them beyond 2kV on every pin.

    If you need to protect output stages down stream then put some kind of limiting impedance along with a clamping element and some capacitance.

    1. The only issue is, as far as I could see in the datasheet there’s no mention of it being ESD Sensitive.

      However as most have stated to me already. Its not actually ESD to blame but the design of how switching modules work and changing the resistance.

  10. I would hazard a guess the same thing could happen if you were to touch the exposed circuitry of a lot of discrete regulators, just like touching an amplifier and injecting hum. The regs I use, and have for quite a number of years with no problems at all, are those that are potted, with no exposed bits other than the 3 pins. So, I don’t see this as a failure of the reg so much as not a real good practice. A burst of hum from an amplifier is ok, but if it is a burst of “hum” from a power supply, that could be real bad! Just don’t poke fingers into the works if you want things to continue to operate correctly.

  11. I know this is some 3 years after this article, but… This past weekend, I had the EXACT same issue as Ryan. And I found this article after figuring out what went wrong and doing a search to see if others reported anything similar. Mine happened to be a custom designed data acquisition board for a Musical Tesla Coil driver and it was an Atmega328PB micro (32 TQFP footprint), instead of the Nano Pi, but it was the exact same OKI-78SR-5/1.5-W36H-C regulator. It’s a really nice regulator, and I’ve used quite a few before. I will tell you that it was NOT an ESD issue.

    I had just finished assembling the board and had just finished flashing some test code into the micro and was planning to let things run for a while. I was probing all of the board testpoint voltages to make sure everything looked right and accidentally touched the regulator board with my finger in the process. A few seconds later and there was a pop and the magic smoke came fizzing out of the micro. While analyzing what happened, I found that with only 1 or 2 seconds of “on” time, the micro would get so hot it would blister your finger.

    I pulled the micro and found that there was a near dead short between the AVCC (analog supply input) and ground pins somewhere inside the micro (probably near the bulge on the top of the case where it had split open and lost its magic smoke). With the micro off the board, I experimented with observing the regulator output voltage while touching the regulator board with my finger, and you could easily make it rise and proportional to the pressure of your finger — in other words, the lower the resistance, the higher the voltage. I stopped at around 6.5 volts or so, as there were other 5V parts with absolute max ratings around 6.5V, but I think it would have gone all the way to the VIN of the regulator (which was 15V in my case).

    It has all of the earmarks of affecting the error amplifier feedback voltage. Whether or not it’s a “design flaw” is debatable, but if you have a part that can’t stand more than about 5.5 volts (like these particular micros) and you’re using this regulator, then don’t touch the regulator! They do make an enclosed version. It cost a little more and was out of stock at the time, so I went with the open frame version, but I have since 3D printed my own enclosure that snaps over the top of the board. And I’m planning to put some copper shielding tape on that to help keep more noise out — I figure if it is that sensitive to my finger, it might be a little sensitive to the live Tesla Coil running close by.

    I thought about adding some of the other protections mentioned in these comments, like the SMAJ5.0 and fuse, etc., but by the time you do all that, the cost starts making it impractical, as the micro doesn’t cost much more than all of those other pieces, and the repair time isn’t much different.

    Anyway, I can 100% independently verify Ryan’s findings with this Murata regulator board.

Leave a Reply

Please be kind and respectful to help make the comments section excellent. (Comment Policy)

This site uses Akismet to reduce spam. Learn how your comment data is processed.