3 ms·
Oh hell no. I think a lot of people are overly cautious of DC-DC conversion in this topic, but you've gone full-tilt in the opposite direction and are severely
by dragontamer 2y ago
Oh hell no.
I think a lot of people are overly cautious of DC-DC conversion in this topic, but you've gone full-tilt in the opposite direction and are severely underestimating the problems that occur.
1. Its not "power-conversion" that's hard per se, its EMC that's very hard and not taught very well at a bachelor's level.
2. DC-DC Voltage Converters usually handle the entirety of your board's power, meaning they are the highest power component.
3. High power and high-frequency is a difficult EMC problem. This means that a bad design will absolutely send your electrons / energy out and radiate out like an antenna. And if things on the same board pick it up, it will be called crosstalk. And if things off-board pick it up, its called electromagnetic interference which almost certainly leads to a compliance problem.
---------------
1. Hobbyists don't care about compliance. So bam. We are already dealing with the biggest problem by simply not caring about it. (Maybe you can care and go into deeper studies, but... if you're a beginner just don't care. Learn this very difficult stuff later).
2. Prevent crosstalk by following good board design rules: have a 4-layer board. Use Power+Signal / GND / GND / Power+Signal stackup. Use two vias (one for signal-1 to signal-4 traversals), and a 2nd via for GND2 to GND3 traversal of the return current). Thinking of both the forward current and a tightly bound reverse current is basically all you need to do to avoid difficult crosstalk problems on board.
Done.
Point#2 requires deeper studies than is typical in bachelor's level electrical engineering. But it truly isn't very difficult once you learn the theory. Tight ground-planes reduce crosstalk (and EMI problems), and furthermore thinking of the return-current explicitly prevents problems.
Now you could have some truly difficult "ringing" from trace inductance and other such nasty problems... but that tends to occur beyond 100MHz. I'm thinking most beginners are going to be under 20MHz for most of their designs and thus never deal with those advanced "PDN" / Power Delivery Network problems.
Though if you do go into PDNs, its obviously a tough subject with huge amounts of study and reading involved. But most of the problems truly are at very high frequencies and/or at EMI compliance. Beginner Hobbyists avoid the most difficult issues entirely by nature of beginner (aka: low-speed) and hobbyist (and therefore don't have to follow regulators).
----------
I'm not a professional. But my understanding is that top-level EEs who work on PDNs will simulate the circuit-board itself to figure out trace inductances / capacitances in the board itself. (Closer planes of ground/power will create more capacitance. Long traces tend to increase trace inductance, etc. etc.). And tight simulations are the only way to truly understand the PCB and how it interacts at high frequencies with high-power.
But such methodologies are gross overkill for a 1MHz boost converter with a pre-made PCB Layout, and a list of capacitors + inductors already picked out for you. (ex: https://www.microchip.com/en-us/product/mcp1640 https://www.microchip.com/en-us/product/mcp1640)
Seriously: Page 17 (https://ww1.microchip.com/downloads/aemDocuments/documents/APID/ProductDocuments/DataSheets/MCP1640-Family-Data-Sheet-DS20002234E.pdf https://ww1.microchip.com/downloads/aemDocuments/documents/A...) already gives you the PCB-layout you need for this, with recommended components. Don't overthink it, just copy the design from the document.
- Max-q 2y agoWe have a couple of challenges today. Hobbyists often go over 20MHz, because they put WiFi, BT or USB on their boards, giving EMC issues. Also, the speed of the modern ICs tend to be very high. If you have a 9600 Hz UART signal, that is not a 9600 Hz signal if it's a square wave with a modern IC with very short rise time on the pins. So a good old, slow serial line can with modern MCU emit noise up in the hundreds of MHz range. So your PCB layout tips are important, even on slow circuits these days.
- dragontamer 2y agoUnless a beginner plans to sell a design on the public, there is no EMC (compliance) issue. Maybe EMI crosstalk. But WIFI and BT are supposed to eminate out like a radio and jump across boards. That's the point. --------- USB is a matched impedance differential pair. Are beginners really running high speed USB differential pairs down their circuits today? Because that's a really.... Erm.... strange.... definition of a beginner. IMO anyway.
- archi42 2y agoDepends on your definition of beginner. It's trivial to put a nrf52 module (like [1]) in a PCB design and wire a USB socket to it; just make sure to route the data lines as a differential pair in kicad (add protection diodes if feeling fancy). And speak a little prayer that it actually works as intended. No need to understand what any of that means. Of course the notion of using such a module might be a step up from beginner for you, but IMHO it's more about the understanding. But I agree that there is no definite definition. Disclaimer: I'm a beginner by my definition. [1] example module: https://www.waveshare.com/core52840.htm https://www.waveshare.com/core52840.htm
- Youden 2y ago> Use Power+Signal / GND / GND / Power+Signal stackup. I'm just a novice (maybe intermediate) so I'm wondering: the common 4-layer stackups available to hobbyists seem to be 1oz/0.5oz/0.5oz/1oz and I assume the outer layers have better thermal dissipation since they're only kept from the air by solder mask; so wouldn't it be better to put power/ground on the outer layers and keep signals in the middle? Also maybe I'm weird and this is pointless but I typically put a filled copper zone tied to ground on every single layer, unless I have a reason to put some other kind of zone in a particular area. Is it necessary to have a full, dedicated ground plane, rather than ground + signal or ground + power?