5 ms·
My new PSU burns out – I fix it, and torture it by cracking water
- cjk2 2y ago2oz copper plus fat track, multiple via stitches, huge ground planes as well as isolation between the sampling and power delivery parts of the boards. There’s a lot of design that goes into a simple power supply PCB. Check out an Agilent supply for detail :)
- Yossarrian22 2y agoI think you mean Keysight these days
- cjk2 2y agoNo I mean Agilent. The stuff since keysight rebrand is mostly garbage.
- Yossarrian22 2y agoToo true
- ramenbytes 2y agoCare to expand? I have some gripes with them myself, but I haven't demanded enough of their stuff to find technical issues yet. My problems are of the "oscilloscope is pestering me about windows updates" and "service manuals suck" variety.
- cjk2 2y agoLack of service information, poor treatment of customers compared to HP/Agilent (try getting anything fixed without a service contract now), design shortcuts (U8002A is a buggy piece of shit), absolutely nightmare trying to order parts which at least in the UK means someone random calls you from Spain and asks for your credit card details and you may or may not get the parts. Oh and the whole fact that half the gear seems to turn into a brick fairly quickly compared to older models. I will always look elsewhere now. If you have to throw something away every 2 years, might as well buy some Chinese junk instead (Siglent / Rigol etc). Aim-TTi are still good though - the last bastion of stuff that isn't shite.
- formerly_proven 2y agoLab power supplies have always been a staple project but most just aren't very good (which is fine). This one certainly has many of the staple ingredients: TL072 op amps, slow current limit, large output capacitance (look at C3||R22 x hFe(Q4) x hFe(Q5), there's probably additional capacitance directly on the outputs that I'm overlooking in the schematic), CC/CV cross-over saturates the other regulator and thermal design. Besides poor response, these are usually unstable with various loads, there's often a loss of regulation when switching on or off, they don't survive a dead short or a sustained load (especially the "not quite dead short" case is problematic for designs like this without current fold-back [1]). Most blow up when you do the file test. Those are all good things though. You're going to find these issues when using the PSU and try to fix them. A really good lab PSU is, like you say, a surprisingly tricky thing to engineer. Some major compromises as well. There's a reason why a great many of them have used the circuit invented at HP some time in the late 60s (which in itself makes a number of compromises). [1] f.e. the suggested TIP35C: Ptot = 125 W, which is already less than the >150 W you need to dissipate when the supply is shorted. But also heed the conditions: Ptot is at Tcase = 25°C. Does a small heatsink keep Tcase at 25 °C while dissipating 125 W?
- cjk2 2y agoYup. The killer on these things is usually actually feedback phase shift. Sometimes the output load can have a complex reactance which turns the supply into a convenient power amplified oscillator. Fat output capacitor solves most of these problems but sometimes that has its own problems (old HP supplies had nice barrier strips so you can deal with them yourself :). Obvious trade off is step response there etc but your load should be properly decoupled anyway. Lots of problems on power dissipation there as well as you state. The HP/Agilent designs tend to use an SCR pre-regulator which reduces Pd on the pass transistor considerably. But of course the principal cost in these things now is shipping and profit margin so it works out cheaper to cost cut even more and shift a small heatsink with a loud ass fan on it that does your ears in. Grr. (this is one of my many reasons for disliking Keysight) The old HP designs are very robust. I've owned a few. Almost impossible to blow up, even the big ones. I actually had a Harrison one built in 1967 that was still working unrepaired and unmodified until I sold it recently. Bob Pease did an interesting "zero output capacitance" supply article a couple of decades back. That was surprisingly stable.
- tariksbl 2y agohaven't made a pcb in a long time but when i did, used Altium & there were design rule checks for everything; but, none for creepage. Interesting, thanks for sharing.
- MrBuddyCasino 2y agoInteresting. A quick search says there is now a creepage rule, but its not enabled by default: https://www.altium.com/documentation/altium-designer/pcb-electrical-rules#creepage-distance https://www.altium.com/documentation/altium-designer/pcb-ele... I wonder why that is.
- exmadscientist 2y agoBecause it doesn't work quite right. It's also extremely slow. Extremely. Even by Altium DRC standards. Source: tried to do HV design with it around two years back.
- tyingq 2y agoDiagram of the bare circuit board. So you can see the overhead view of the run from VIN to Q5 that blew. https://tomscii.sig7.se/images/linear-dual-lab-psu/pcb-front.png https://tomscii.sig7.se/images/linear-dual-lab-psu/pcb-front... Edit: I'm not the writer of the article...
- tinco 2y agoCool article! Where did you learn PSU design? Are you "classically" trained or self taught? edit: The article on the design of the PSU is also great: https://tomscii.sig7.se/2024/04/300W-Linear-DualTracking-Lab-PSU https://tomscii.sig7.se/2024/04/300W-Linear-DualTracking-Lab...
- pjc50 2y agoAuthor is fairly early on in the self-taught stage from this sentence: "(I really need to start digging into chapter 5 of The Art of Electronics, which is about achieving precision in electronic circuits)." The author is aware of their learning-by-doing process, which is pedagogically great, but does mean they have to slog through finding things out the hard way. "I really need to ditch the TL074" - yes, it's from 1979. You'd also benefit from moving away from complicated analogue arithmetic and just buying a better ADC; remember that "losing half the range" is only one bit! You can buy some more bits at the bit store! (well, up to about 24, but then things have already got hairy in the analogue front end at that point) The word "bandwidth" does not appear in this article, which means the author has not yet encountered control theory and is therefore not aware of a whole range of possible ways for a PSU to suck. They would benefit from reading App Note 47. In fact, anyone working with op-amps would benefit from reading App Note 47, from the late great Jim Williams. https://www.analog.com/media/en/technical-documentation/application-notes/an47fa.pdf https://www.analog.com/media/en/technical-documentation/appl...
- camtarn 2y agoThis is excellent. "Like all engineering endeavors, high speed circuits can only work if negotiated compromises with nature are arranged. Ignorance of, or contempt for, physical law is a direct route to frustration. Mother Nature laughs at dilettantism and crushes arrogance without even knowing she did it."
- ThrowawayTestr 2y agoPCB design is a science unto itself. Nice write-up.
- naikrovek 2y agoEnameled wire completely submerged in water makes for a fantastic electrical load. I’ve sunk 40 amps at 30VDC into a plastic tub filled with water for hours. When the water gets hot, put fresh water in. For long term testing, trickle cold water in and let the hot water rise to the top and spill out. DO NOT let the enamel on the wire burn off, or you will put some very nasty stuff into the air. Keep it completely submerged. It is amazing how much energy it takes to heat up a volume of water. (This is also why it scares the shit out of me when I read about ocean temperatures rising and I think about how much water is in the oceans.)
- mtsr 2y agoSunlight puts in a serious amount of energy. Roughly 1000 W/m2 at sea level as a global average according to https://en.m.wikipedia.org/wiki/Solar_irradiance https://en.m.wikipedia.org/wiki/Solar_irradiance
- Filligree 2y agoLess at high latitudes, due to the angle. But if you build a solar power plant there (I have), you might be surprised to learn the electrical output is nearly as large as at the equator. Of course that assumes angled panels, so the space taken is larger.
- naikrovek 2y agoYes and CO2 keeps that energy here, and the ocean absorbs a lot of that heat. If you’re trying to say that the sun is responsible for rising ocean temperatures, I’d like you to consider how long the sun and the oceans have been around, and I ask you why they haven’t boiled away, yet. The sun is not responsible for the recent dramatic increase in ocean temperatures. That’s on us (humanity).
- fragmede 2y agowhen they say the ocean temperature rises 1 degree, they should really put it in terms of joules it would take to do that, which is a really big number, rather than 1 degree, because people read more into bigger numbers.
- aredox 2y ago... Did he really crack water in that box, letting gaseous oxygen and hydrogen mix exactly in the ratio of 1:2 in a closed container? I mean, it's good he choose a less caustic electrolyte, but the potential explosion in itself is not fun.
- Filligree 2y agoHe seems to have an unhealthy tolerance for disasters. I’m sure he could convince himself that was perfectly fine given zero sparks, but wow.
- adrianN 2y agoIt looks like the gas collects in the pet bottle and the reaction stops when the bottle is full.
- Filligree 2y agoAnd then you have a bottle of what is colloquially termed “bang-gas”, which is happy to release all the gathered energy in a joyous millisecond detonation.
- 2y ago
- alright2565 2y ago> 2.5A primary side fuse (integrated into the AC inlet) did not melt This is a current-limited power-supply right? Test your fuse! Would not be the first time a fuse-shaped wire is sold[1] [1]: https://youtu.be/B90_SNNbcoU?si=HwDCRvz7E-aCR1rQ&t=431 https://youtu.be/B90_SNNbcoU?si=HwDCRvz7E-aCR1rQ&t=431
- stouset 2y agoThere’s a special place in hell for people who sell fuse-shaped wires.
- mozman 2y agoit’s likely the track was weaker than the fuse - and you have long blow/slow blow fuses electricity is lazy it takes the easiest path
- whiw 2y agoThe transformer secondary was maxing out at 4A, 36V. The primary current will be much lower, probably about (40V/240V)*4A, ie about 0.67A.
- stavros 2y agoHow do you test a fuse?
- deleted 2y ago[deleted]
- charlieo88 2y agoTerminally.
- stavros 2y agoI admire your optimism that all the fuses will behave similarly.
- 2y ago
- pjc50 2y ago> Apparently, the 8-mil (0.2 mm) clearance between VIN+ and ground was simply not enough to keep the 40-or-so volts apart. I don't exactly have the creepage tables memorized but that immediately jumped out at me! It's just too optimistic. Especially since it seemed not to have been covered in soldermask (although that may also have blown off?). There are all sorts of possibilities for bits of loose metal (solder whiskers, cut TH lead fragments etc) to turn up there and ruin your day. Mains PSUs often have slots in critical locations to deal with creepage. Can't creep across an empty space.
- ForOldHack 2y ago"Cant creep across empty space " No, but it can arc, which now explains perfectly why my motherboard failed, and threw an arc across the battery and sent out a jet of flame. I kept it around to show people what could never happen - does. Now long lost.
- amelius 2y agoWait, how small are the distances inside a supercapacitor?
- dmoy 2y agoSmall Air is like 50V per mil. Cheap plastic is like double that? If the voltage of a given supercapacitor isn't high, then air could work fine I suppose. At least on those two dimensions, I haven't considered anything else. Air will have less creep than most (all?) materials, but worse voltage limits.
- paulgerhardt 2y agoGlass immediately comes to mind as having less creep. If you go back to the Faraday, Hertz, Tesla et al days when they were arcing kilovolts across their labs you’ll often see them using glass insulators. Some ceramics and Teflon too.
- helsinkiandrew 2y agoThe damage to the top of the wire terminal blocks suggest a lot of force was applied with a screwdriver to tighten them - straight onto the PCB near the breakage. I wonder if physical stress was also a factor.
- geocrasher 2y agoI was disappointed that there wasn't a picture of the repair, but an insulated wire would have been plenty indeed. I've let the magic smoke out of several MOSFET devices in a QRP SSB Transceiver kit, and had jumper wires all over the place. The electrons are too dumb to know if it's an insulated wire, or a PCB trace, as long as the layout is good. One thing this does enlighten me about is why physical air gaps are built into so many PSU PCB's between the high and low voltage sides, with often only a transformer crossing the gap.
- deleted 2y ago[deleted]
- exmadscientist 2y agoSome advice to the designer of this PSU: 1. It's not bad! Really, it's not. You're obviously a thoughtful designer who knows at least a little bit. Unfortunately, you're kind of in the uncanny valley... this is better than rank amateur stuff but that gets it judged by professional standards, and it's not there by those measures. 2. Schematic pages are free. Really. They are. Use them. Put the power path on one sheet, the feedback on other, the digital on a third, the setpoint on a fourth, display on a fifth. Whatever. You get the idea. Do not just cram it all in on one. And put comments on each block saying what it's supposed to be, what else you could do (especially substitute parts), why you picked that approach, what happens if it goes wrong, et cetera. Most senior engineers don't do this. I do, and everyone always comments on how great it is when they review my work. You have some of this... (the range notes are nice!)... but go all in on this. You won't regret it. 3. Learn to decouple. 0.1uF 0805s are not the right way to do it, though they probably worked here. Look at https://www.eevblog.com/forum/projects/location-and-value-of-decoupling-capacitors-(not-bga)/msg3126270/#msg3126270 https://www.eevblog.com/forum/projects/location-and-value-of... and similar posts. 4. Mark out mains explicitly on your schematics. It should be super easy to see what is mains and what is not. This schematic is pretty good here, but this is important enough that I have to state it explicitly. 5. You have high voltage MLCCs in this design. How much capacitance are they really good for?
- magicalhippo 2y ago> How much capacitance are they really good for? Just to stress this, voltage derating is important as it can be significant. Your 10uF capacitor might effectively be just 3uF, or worse, just due to DC voltage across it. Some resources: https://www.digikey.com/Site/Global/Layouts/DownloadPdf.ashx?pdfUrl=863968494F2E4E13BBEA65B55A358443 https://www.digikey.com/Site/Global/Layouts/DownloadPdf.ashx... https://fscdn.rohm.com/en/products/databook/applinote/ic/power/switching_regulator/cera_cap_appli-e.pdf https://fscdn.rohm.com/en/products/databook/applinote/ic/pow...
- mometsi 2y agoPlease don't use stainless steel or other chromium-containing alloys as an anode for DIY electrochemistry! It will contaminate your solution with hexavalent chromium as it corrodes.