<?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>Blog 1: Transforming my understanding of flyback transformers, one hack at a time</title><link>/challenges-projects/design-challenges/experimenting-with-flyback-transformers/b/blog/posts/blog-1-transforming-my-understanding-of-flackback-transformers-one-hack-at-a-time</link><description>Introduction
We all start with an idea and a plan. I started with an inkling of what flyback transformers were about, having seen common chokes being used for isolated signal coupling, and I had an itch I wanted to scratch.
I wanted to see if I could</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Blog 1: Transforming my understanding of flyback transformers, one hack at a time</title><link>https://community.element14.com/challenges-projects/design-challenges/experimenting-with-flyback-transformers/b/blog/posts/blog-1-transforming-my-understanding-of-flackback-transformers-one-hack-at-a-time</link><pubDate>Mon, 18 Dec 2023 20:21:17 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:affdc4bd-0ddf-46a6-9b2f-a85ffe356b11</guid><dc:creator>BigG</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;&amp;nbsp;[mention:b0bc65b9ecdc4307bd967592f00e340a:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;[mention:4f57fc9d538949ad9eb336ddb9469bb8:e9ed411860ed4f2ba0265705b8793d05]&amp;nbsp;you&amp;#39;ve both provided me with some great explanation that has helped me better understand the mechanics behind switch mode power supply design. While searching online, I came across this reference design by Texas Instruments. It&amp;#39;s interesting because it does away with a snubber. It also introduces an inductor in series (L2) on the primary side with a resistor in parallel (R3) - it&amp;#39;s shown in their schematic (PDF). This was something I had assumed most would circuit designs would have included as it limits (inrush) current etc, but that has not been the case. So I&amp;#39;m pondering as to the why...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.ti.com/tool/TIDA-00628" rel="noopener noreferrer nofollow" target="_blank" data-e14adj="t"&gt;www.ti.com/.../TIDA-00628&lt;/a&gt;&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27302&amp;AppID=432&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Blog 1: Transforming my understanding of flyback transformers, one hack at a time</title><link>https://community.element14.com/challenges-projects/design-challenges/experimenting-with-flyback-transformers/b/blog/posts/blog-1-transforming-my-understanding-of-flackback-transformers-one-hack-at-a-time</link><pubDate>Mon, 18 Dec 2023 12:01:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:affdc4bd-0ddf-46a6-9b2f-a85ffe356b11</guid><dc:creator>jc2048</dc:creator><slash:comments>1</slash:comments><description>&lt;p&gt;With a capacitor, the energy storage is potential energy. It persists until there is a path so that the charge (that you did work to separate) can recombine (where you get the energy back). With an pure inductor, it&amp;#39;s more like kinetic energy. It builds whilst the current is increasing. Is held whilst the current is constant, and then released when you remove the voltage that&amp;#39;s driving the current (the coil generates an emf to keep the current flowing as the field winds down). The energy absolutely has to come out of the magnetic field - if you don&amp;#39;t provide a path at all, the inductor will create one, generating a voltage so high that it will breakdown a semiconductor or the air.&lt;/p&gt;
&lt;p&gt;So the energy storage is small scale and temporary. In a SMPS, it all adds up because you take the small dollops of energy that come out on each switching cycle and store them on a capacitor to power a circuit for a short period of time. Do it 120,000 times a second and there&amp;#39;s a reasonable effect to it.&lt;/p&gt;
&lt;p&gt;If we ignore the secondary just for a moment, the primary circuit you&amp;#39;ve got there is a simple boost circuit - at this point people will tell me it&amp;#39;s &amp;#39;flyback&amp;#39; or &amp;#39;buck-boost&amp;#39;, but it&amp;#39;s easier to understand as a boost. The secondary winding is another coil that shares the same magnetic flux as the primary [the core sees to that, as it channels most of the flux in a magnetic circuit within the confines of the material]. That means the secondary will respond to the changes in flux, just as the primary does, except there is a scaling factor if there is a different number of turns. When the switch turns off, the energy comes out of either the primary [as with a simple single-inductor boost circuit] or the secondary [which is probably what we want], depending on where a suitable path lies.&lt;/p&gt;
&lt;p&gt;There are two consequences of all that you need to consider.&lt;/p&gt;
&lt;p&gt;Firstly, if you have fixed switching without any control and don&amp;#39;t have a load on the secondary, it will keep pumping up the output capacitor voltage as more and more dollops of charge end up there. It will limit at some point. Either something will break down, or the primary path will suddenly become available limiting further movement. But if you want an accurate voltage at the ouput you either need active regulation of the whole converter or have a device on the output that can absorb the excess energy whilst limiting the voltage (i.e. zener - hugely wasteful because the zener will have to take the energy if your circuit doesn&amp;#39;t want it and everything is running at full tilt all the time).&lt;/p&gt;
&lt;p&gt;There are various schemes for control and regulation. PWM is one. A fixed on-time and variable off-time [so not constant frequency] is another. Monitoring the primary current [leading to variable on-time] is another.&lt;/p&gt;
&lt;p&gt;Secondly, if you have that arrangement with the 1n4001 ordinary diode and snubber on the primary, I think you&amp;#39;ll find that it takes all the energy and you won&amp;#39;t achieve what you want at the secondary. You&amp;#39;ll probably need a zener there so that the secondary gets first go and the diode/snubber is only cutting off any transients there.&lt;/p&gt;
&lt;p&gt;Hopefully I&amp;#39;ve mostly got that right. I&amp;#39;m sure someone will correct me if it&amp;#39;s wrong in any detail.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27302&amp;AppID=432&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Blog 1: Transforming my understanding of flyback transformers, one hack at a time</title><link>https://community.element14.com/challenges-projects/design-challenges/experimenting-with-flyback-transformers/b/blog/posts/blog-1-transforming-my-understanding-of-flackback-transformers-one-hack-at-a-time</link><pubDate>Sat, 16 Dec 2023 22:45:41 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:affdc4bd-0ddf-46a6-9b2f-a85ffe356b11</guid><dc:creator>shabaz</dc:creator><slash:comments>2</slash:comments><description>&lt;p&gt;At least a smoking transformer is (sometimes) better than a exploding capacitor : )&lt;/p&gt;
&lt;p&gt;Most datasheets will vary when it comes to transformers, but in the case of that particular one, the things that would help explain that behavior that you experienced, would be the Isat value (1.4A) and also the Primary Inductance value they mention (25uH) and the DCR (DC resistance) value of 0.55 ohms.&lt;/p&gt;
&lt;p&gt;The Isat isn&amp;#39;t a maximum current that the transformer will consume, but is the maximum current that should be provided (ideally less). Once the Isat value is allowed to exceed, current shoots up, and can cause the smoke. That occurs because beyond Isat, the inductance decreases, due to properties of ferrite material.&lt;/p&gt;
&lt;p&gt;The question is, how can the Isat value be not exceeded, and the answer is by only allowing current to flow in the primary until it approaches that value (it ramps up), and then disconnect.It&amp;#39;s visible by monitoring current (e.g. with a sense resistor), it is possible to see the linear ramp for a while, and then there is a knee where the current shoots up. Since you had a manual switch, it was not possible to limit to below Isat by limiting time. The datasheet mentions the transformer is (probably optimal) for 120 kHz, but the other way to see a ballpark value is to see the primary inductance.&lt;/p&gt;
&lt;p&gt;Using the formula impedance = 2 * pi * f * L, you&amp;#39;ll see that the impedance is super-low (a fraction of an ohm) if f is low. By pressing the switch manually, the f was under 1 Hz. To increase the impedance (and hence reduce the current), f needs to be far higher, since L is fixed (well, fixed is a first approximation) at 25 uH. Since the impedance using that formula was so low, actually the DC resistance of the primary winding was the dominant resistance, at 0.55 ohms, that means that with the 6V supply, 6/0.55 = 10A was going through the coil, which would make it smoke. Unless you&amp;#39;re planning to use some IC, you probably will need a MOSFET or other transistor for general flyback stuff,&amp;nbsp;although purely mechanical methods are possible with relays etc.&lt;/p&gt;
&lt;p&gt;I think I get what you were aiming for in that particular experiment (I&amp;#39;m guessing, but I think your intent was that when the DC power disappeared, the magnetic field would collapse, causing current to briefly flow in the secondary winding). That for sure is possible but with high power solenoids, which are designed to have higher DC resistance for a (sometimes) sustained current to flow through them (some may not like that either), whereas a flyback transformer isn&amp;#39;t, the flyback transformer doesn&amp;#39;t expect to hold that magnetic field near-indefinitely, although it can but only if Isat wasn&amp;#39;t exceeded in some way (e.g. current limiting in a circuit, but that&amp;#39;s not normally how the transformer will be used). Interesting experiements. What software is that, is it the Analog Discovery &amp;#39;scope you&amp;#39;re using?&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27302&amp;AppID=432&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Blog 1: Transforming my understanding of flyback transformers, one hack at a time</title><link>https://community.element14.com/challenges-projects/design-challenges/experimenting-with-flyback-transformers/b/blog/posts/blog-1-transforming-my-understanding-of-flackback-transformers-one-hack-at-a-time</link><pubDate>Sat, 16 Dec 2023 19:07:34 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:affdc4bd-0ddf-46a6-9b2f-a85ffe356b11</guid><dc:creator>DAB</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Nice update.&lt;/p&gt;
&lt;p&gt;Yes, there are a lot of little details you need to understand about flyback transformers.&lt;/p&gt;&lt;img src="https://community.element14.com/aggbug?PostID=27302&amp;AppID=432&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>