3 ms·
Switched power supplies are notorious for causing EMI; why didn't he test for it? Frankly, it sounds like he just copied the circuit from a datasheet and called
by amelius 5y ago
Switched power supplies are notorious for causing EMI; why didn't he test for it? Frankly, it sounds like he just copied the circuit from a datasheet and called it a day.
- doug_life 5y agoHow would you suppose he tests for EMI? He says he is using mostly power supply modules which will have some thought already put into EMI suppression. Beyond that, if the system works why should he worry about EMI? To take any quantitative measurements would require a chamber and calibrated instruments. This is akin to asking why a hobby software project doesn't have full coverage unit testing.
- gaze 5y agoAlso if their layout wasn’t a total mess I don’t imagine it’ll be too bad.
- amelius 5y agoIf a software engineer said: this Rust code leaks a bit, but it shouldn't be too bad, you only have to restart it once a day, then what would you think of it?
- gaze 5y agoso glad to hear none of the code you’re working on has ever leaked, even while it’s in development and being worked on. what the hell is wrong with you?
- amelius 5y agoThe point is not whether my code has leaked or not, but whether I was even aware that leakages are a possibility. I'd be happy if someone pointed it out, even if not entirely in the correct tone.
- gaze 5y agoYou’re pointing out an extremely common issue with switch mode power supplies. It’s so common that it comes off like you’re calling the author an idiot. It’s not helpful —- you’re 100% not at all being helpful. The way to be helpful would be to LOOK at the layout, component choices, and design, and suggest changes, but you’ve done nothing of the sort.
- exmadscientist 5y ago>He says he is using mostly power supply modules which will have some thought already put into EMI suppression. He is not. MAX776 are controllers, and older ones at that. These require some skill to apply effectively. I wouldn't do it this way, I'd look at the LMR36xxx series (and friends, you'd want the 60V switches here) sync bucks for this. Hot loop on die = goodbye EMI!
- gaze 5y agoSo what? Seems to work fine. It’s not a commercial product.
- mgsouth 5y agoSome useful notes... Designing switched mode supplies is hard. I've just barely started playing with them, but it's really tough choosing component values that don't ring like a bell, a loud bell, at pretty high frequencies. I've found these two series of web pages [0] [1] to be very useful, even for an electronics neophyte such as myself. Also, for simulations Xyce [2] handles the large current transients much better than Ngspice [3] (the default simulator for KiCad), and the Xyce docs gave me some really good guidance on how to tweak the settings. One trick I stumbled on was to run the input voltage as high as feasable; for the part I'm trying to use the source/drain effective source/drain capacitance drops dramatically as the voltage goes up. It's the MOSFET capacitances that are causing me the most grief. And testing for EMI seems to be a black art. Hack-a-Day has listed some do-it-yourself projects for probes and testing ([4] [5] ...), but haven't gotten that far yet. [edit.. toned down a little] [0] https://www.powerelectronicsnews.com/the-dc-dc-boost-converter-power-supply-design-tutorial-section-5-1/ https://www.powerelectronicsnews.com/the-dc-dc-boost-convert... [1] http://tuks.nl/Mirror/SwitchModePowerSupply_smpstech_com/map.htm http://tuks.nl/Mirror/SwitchModePowerSupply_smpstech_com/map... [2] https://xyce.sandia.gov/ https://xyce.sandia.gov/ [3] http://ngspice.sourceforge.net/ http://ngspice.sourceforge.net/ [4] https://hackaday.com/2014/03/18/listening-to-electromagnetic-interference-with-a-rtlsdr-dongle/#more-117539 https://hackaday.com/2014/03/18/listening-to-electromagnetic... [5] https://hackaday.com/2021/05/21/simple-probe-sniffs-out-emi/ https://hackaday.com/2021/05/21/simple-probe-sniffs-out-emi/
- exmadscientist 5y ago>it's really tough choosing component values that don't ring like a bell, a loud bell, at pretty high frequencies That doesn't sound right to me. It's not really about the component values. It's about the parasitics and the edge rates that can ring those parasitics. The main LC elements are not usually the problem (especially at high frequencies). > for simulations You cannot simulate any SMPS for EMC reasons without including the layout. Full stop, do not pass Go, etc. You can simulate for functionality and you can avoid some well-known traps, but you'll never be able to be confident without the layout included. Never. > run the input voltage as high as feasable Usually you want your duty cycle around 50%. Higher input voltages will push that down, which is usually a bad thing and requires special measures to compensate. And switch capacitances are rarely a major problem below line voltages, so you don't get much return on it either. What, exactly, are you trying to do? (Disclaimer: professional EE but not a power guy. I do little SMPS stuff up to 24V all the time though, especially low-noise analog supplies.)
- mschuster91 5y ago> Switched power supplies are notorious for causing EMI; why didn't he test for it? The necessary equipment - anechoic chamber, proper antenna and scope - goes into the six figures. Way out of reach for hobbyists and most if not all maker associations.
- mgsouth 5y agoIt appears the author agrees with you > This is the initial commit, revision 1, and has a few issues, but it works and the computer boots! It will no doubt be obvious that I am not an engineer, and I certainly don't specialise in SMPS circuit design. I have used modular power options where possible and have tried to follow the recommended design for the -22V SMPS circuit as closely as possible. Please feel free to improve on this design. [emphasis mine] More critical than EMI, methinks, is something he takes pains to point out: > There is NO output protection (I'm not sure if there ever will be), so if you build one of these then make sure to check the voltage rails before using it. Sounds like a nice, humble attitude. Despite the humility, the end result is a project that meets his needs and provides useful details for others to use or build upon.