<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><description>Two things became very clear to me once I got into the detailed testing of the project:I have completely stuffed up the grounding and layout of the components. In particular the Switching Regulator has a convoluted route back to Vin -ve and the...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><pubDate>Thu, 05 Sep 2019 13:07:19 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:893e6571-d02f-48c5-bcd1-0dbf09a9e430</guid><dc:creator>Andrew J</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;A quick update on this.&amp;nbsp; I received the boards and populated but I don&amp;#39;t think I did a great job of soldering - which is a shame as I&amp;#39;d done alright up to now.&amp;nbsp; Anyway, turning on, I could only get 19V out (rather than the max 15V) and no amount of twiddling with the Voltage/Current Pots did anything; one of the Linear Regulators got to 80C quite quickly whilst the other didn&amp;#39;t rise in temperature at all.&amp;nbsp; Current pot had zero impact; the voltage pot turned output voltage down to 10V when it was fully wound to 0Ohms.&amp;nbsp; The load switch also dropped the voltage to 10V (which was in line with the 0Ohm Voltage pot) so somewhere along the line something was wrong and slinging out a minimum 10V.&amp;nbsp; I found a dodgy connection on the output of the second Linear Regulator and also found that the Mosfet was completely open - connectivity between drain and source and gate.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I resoldered the Linear Regulator and that seems ok now - at least, I can see continuity from the output leg and the tab which was erratic before.&amp;nbsp; I also removed and replaced the Mosfet.&amp;nbsp; I did check for overshoot on Vin first: set the trigger to 29V on a rising edge and turned on, but there was no triggering.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;At the moment I am getting around 20mV on the Switching Node.&amp;nbsp; Gate is swinging up to around 5V but the Switching pin seems to be doing nothing.&amp;nbsp; I suspect that the DC-DC converter has blown: might not be surprising if the Mosfet was open and 26V was flowing through the gate, switch and feedback pins. It could be the Schottky Diode.&amp;nbsp; Of course, there could now be issues with the Linear Regulators, the Current Source and other components.&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So the upshot is, I&amp;#39;m deciding whether its worth restocking the parts yet again.&amp;nbsp; Some of these I only seem to be able to source from the US and all told, it would be another £40 or so.&amp;nbsp; I may be as likely to damage them soldering as not which is a concern (I&amp;#39;m assuming the Mosfet wasn&amp;#39;t faulty until I soldered it to the board but I suppose it may have been)&amp;nbsp; I could assume the parts on the first version board are ok and remove them - I&amp;#39;d need to invest in a hot air rework station for that.&amp;nbsp; If I could work out what was actually wrong so I had a little more confidence on what to change I&amp;#39;d be happier.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7578&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><pubDate>Sat, 17 Aug 2019 17:10:10 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:893e6571-d02f-48c5-bcd1-0dbf09a9e430</guid><dc:creator>Andrew J</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;This is it, I&amp;#39;m committing to this layout of the Switching circuit, otherwise I&amp;#39;ll tweak it forever.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x622/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-893e6571-d02f-48c5-bcd1-0dbf09a9e430/5700.contentimage_5F00_204966.png:620:622]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;I&amp;#39;ve pulled components in but kept some distance between the Cin1 an Cout1 - although the only reference to this distance came from Micro Rohm and I could find no other mentions.&amp;nbsp; Feedback traces are away from the noisy nodes.&amp;nbsp; The parts have an orientation and a distance that will allow for hand-soldering.&amp;nbsp; Hence the thermal reliefs (I&amp;#39;m still looking at the pros/cons of hand-soldering without these.) Board real estate also looks optimal.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Here&amp;#39;s a version with loops and SW node highlighted:&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x703/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-893e6571-d02f-48c5-bcd1-0dbf09a9e430/2656.contentimage_5F00_204967.png:620:703]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;In all the permutations of layout, this looks like the best trade off.&amp;nbsp; SW node is small.&amp;nbsp; The right hand loop is 37mm long; left one a few mm shorter.&amp;nbsp; My first attempt probably had a shorter right hand loop equivalent but a longer left hand loop: looking at the grid in that image at 5mm steps there&amp;#39;s little in it.&amp;nbsp; The only thing I can do to tighten it further is to remove R2, R3, R5 and C5 which are there as placeholders if needed to help deal with ringing and noise.&amp;nbsp; R2 and R3 will be populated with a 0 ohm resistor (&amp;lt;5mOhm).&amp;nbsp; R5 and C5 will be left unpopulated until, and if, needed.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I can&amp;#39;t get any more thermal relief for the MOSFET but all my calculations, and re-calculations, show this won&amp;#39;t be an issue - my last set showed it getting to 37C from a 25C ambient and empirical evidence from soak testing is showing 46-47C after an hour.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Not shown is the GNDPWR plane on layer 2 which extends across the board - the vias that seem to go nowhere, go there.&amp;nbsp; Switcher GND, ITH/Run, FB pins connect to GNDPWR at NT1 which is where SIGNAL GND will connect (layer 3.)&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks again for all the input.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7578&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><pubDate>Wed, 14 Aug 2019 10:40:55 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:893e6571-d02f-48c5-bcd1-0dbf09a9e430</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;So &amp;#39;Z&amp;#39; grounds are good after all?&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I don&amp;#39;t know if this will help the discussion, but I&amp;#39;ve drawn the switching currents for the regulator circuit on your layout in orange.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;[View:/resized-image/__size/620x588/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-893e6571-d02f-48c5-bcd1-0dbf09a9e430/8422.contentimage_5F00_204960.png:620:588]&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is my understanding of what&amp;#39;s going on, but I&amp;#39;ll just say I wasn&amp;#39;t taught this stuff formally so don&amp;#39;t rely on what I&amp;#39;m saying and feel free to question it. Like many engineers, I ended up having to deal with switching circuits but haven&amp;#39;t gone much beyond using them as POL on digital boards and as LED drivers [in both situations you tend to follow recommended layouts and do a bit of extra filtering to get past EMC, and neither is as challenging as the more analogue-like thing you&amp;#39;re trying for&lt;/p&gt;&lt;p&gt;here]. This will sound like a lecture but believe me it isn&amp;#39;t.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The small &amp;#39;dashed&amp;#39; arrows indicate where the switching currents switch on and off. The continuous stretches are where the current ramps up and down giving current ripple (assuming it&amp;#39;s working in continuous mode). There are two loops corresponding to whether the MOSFET is on or off - remembering that the Schottky is also a switch (albeit not controlled directly by the controller) - a large loop and a small one. To keep the noise down, you need to minimise the inductance which you can do by minimising the area of the loop. You particularly need to try and minimize the inductance in the large loop you have here. You need to minimize the inductance because it&amp;#39;s going to generate a voltage spike when the current abruptly stops [the parasitic inductance will get rid of its stored energy by generating an emf and coupling the energy elsewhere].&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The other major noise generator is the switching node which I&amp;#39;ve outlined in yellow. The voltage waveform there has an amplitude of the full supply voltage and is driven with a high current so the edges will readily capacitatively couple to anything it can develop a voltage field with. In your case that&amp;#39;s mostly the &amp;#39;shield&amp;#39; layer. I&amp;#39;m very unsure of the next bit, but I think that might result in charge mainly moving across the shield from/to the tie point [yellow line], so potentially there might be coupling back up in the area you&amp;#39;ve marked as feedback. I&amp;#39;m unsure because I can&amp;#39;t really quantify it. The plane is metal and a low impedance but it takes time for the change to propagate across. The edge rate will be crucial to all this and given the reverse capacitance of the Schottky it probably can&amp;#39;t move fast enough to give the kind of problem I&amp;#39;m envisioning. And now we have a current on the go - remember currents flow in loops - we need to think what is driving it and where does the return go on the top surface.&lt;/p&gt;&lt;p&gt;The return presumably either flows through the power ground, &amp;#39;through&amp;#39; the output capacitors, to the other end of the coil when it&amp;#39;s that that&amp;#39;s driving the change or to the input capacitors when the MOSFET is driving the change. You can see how convoluted this stuff gets and how you tie yourself in knots with it. Anyway, what you&amp;#39;ve done with the shield may be brilliant or it may be awful (but I&amp;#39;m not sure the input is the place to tie it).&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;To be more practical, rather than analyse this to death, I&amp;#39;d suggest you might try alternative layouts on a piece of paper. You could probably manage something where the grounds of the input and output capacitors were much closer together and not at the extremes of a &amp;#39;Z&amp;#39;.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7578&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><pubDate>Sun, 11 Aug 2019 23:11:02 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:893e6571-d02f-48c5-bcd1-0dbf09a9e430</guid><dc:creator>genebren</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Andrew,&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;First off, I appreciate that you gave my comments/suggestions consideration, even if you decided to go a different way.&amp;nbsp; I do understand the reasons behind your choices.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Look over the gerbers, I do see a great improvement both in placement and routing.&amp;nbsp;&amp;nbsp; Here are a couple of comment/suggestions:&lt;/p&gt;&lt;ol&gt;&lt;li&gt;It seems to me that the GND (-Ve) get a little thin under U1.&amp;nbsp; This might be another place to use vias to another layer to improve current flow.&lt;/li&gt;&lt;li&gt;Polygons around R4 (+Ve) could be a little more generous (3 of 4 thermal connects).&amp;nbsp; Also a little more space between R4 and Q1 might improve current carrying ability (the polygon gets pretty thin between the two components).&lt;/li&gt;&lt;li&gt;Polygon containing L1 pin 1 and Q2 is a little like the above note.&amp;nbsp; A little space between Q1 and L1 might help.&lt;/li&gt;&lt;li&gt;The polygon connecting pin2 of L1 could be enlarged around pin2 to all 4 thermal connects (currently only 2 exist).&lt;/li&gt;&lt;li&gt;The polygon bridging R13 (pin1) and U3 and U4 could use some enlarging around the high current connection of R13, U3 and U4).&amp;nbsp; I would also look to see if there might be a routing of U3 to R18 and U4 to R19 where you might be able to get a slightly thick trace (like moving C20 to the left and running the trace initially to the right and then up to R19). You might be able to do the same with U3/C30.&lt;/li&gt;&lt;li&gt;I am not really sure what is happening with U6 (possible hall effect current sensor?), put the resolution of the image makes all the pins of U6 to look shorted.&amp;nbsp; I did not check the gerbers directly as I don&amp;#39;t have a good view option.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I really like the annotations that you place on the top layer.&amp;nbsp; In general the high power currents seem to be well routed and high and low current paths seem to be separated, keeping current out of the shielding. Well done!&amp;nbsp; I do like how you connected the shields at a single point.&amp;nbsp; It is a little troubling that the -Ve flow is long and broken between layers, with several via bridges, but sometimes you just have to do what you can.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Good luck as you continue to move forward.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thank you for bringing an interesting series of blogs to the forum and allowing everyone to follow along on an interesting and challenging design!&lt;/p&gt;&lt;p&gt;Gene&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7578&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: YAPS Part Twelve - Design revisited: reworking the layout and PCB</title><link>https://community.element14.com/members-area/personalblogs/b/blog/posts/yaps-part-twelve---design-revisited-reworking-the-layout-and-pcb</link><pubDate>Sun, 11 Aug 2019 20:38:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:893e6571-d02f-48c5-bcd1-0dbf09a9e430</guid><dc:creator>three-phase</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;Good to see the progress you are making and the solutions to the problems you are trying to tackle. They are all beyond my technical knowledge, but good luck with the next build.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Kind regards.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=7578&amp;AppID=293&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>