element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Experimenting with Flyback Transformers
  • Challenges & Projects
  • Design Challenges
  • Experimenting with Flyback Transformers
  • More
  • Cancel
Experimenting with Flyback Transformers
Blog Blog 1: Transforming my understanding of flyback transformers, one hack at a time
  • Blog
  • Forum
  • Documents
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Experimenting with Flyback Transformers to participate - click to join for free!
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: BigG
  • Date Created: 16 Dec 2023 1:47 PM Date Created
  • Views 2371 views
  • Likes 11 likes
  • Comments 12 comments
  • Transforming diagnostics and comms
  • BA60951CS
  • EXPERIMENTING WITH FLYBACK TRANSFORMERS
  • SMPS Flyback Transformers
  • bourns
Related
Recommended

Blog 1: Transforming my understanding of flyback transformers, one hack at a time

BigG
BigG
16 Dec 2023

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 use flyback transformers as a type of energy harvesting power source to safely power a secondary system, when it’s needed for diagnostics and communication (using something like powerline narrowband communication) after a power failure. The intended target for this type of secondary monitoring device would be high voltage AC and DC powered systems where you would need isolation. In my ignorance, I thought the flyback transformer would be suitable for this purpose. So I’m using the design challenge to prove it, either way.

image

Now having started with a plan, I took my first steps to get things started (see next sections) and that’s quickly when I realised that assumption had gotten in the way and that plan of mine would need refinement by way of some fundamental design changes.

Little did I realise that my initial interpretation of flyback transformer documentation was slightly amiss, and this was mostly down to assumption.

But then again, that’s why I like these design challenges as it takes you along a learning-by-doing (-failures) journey. I mean, where else do you get these opportunities to create SpaceX styled magic smoke?

And here’s the result… but more on that “failure-on-purpose” stunt later…

image

And, I’m sorry to say folks… yet again, I never had reporters and TV crew on hand to capture the event. So, you’ll just have to take my word for it. It was pretty spectacular.

So, here’s how I’ve started this design challenge journey.

First step - check my assumption for AC power operation

In my application I had requested the AC power supply to allow me to test out my AC options and I received a 24VAC power supply from IDEAL Power, which looks “ideal” for my purposes.

image

Now with AC voltage, I knew I would have to check for zero crossing and measure the timing in order to determine if there was a power failure. So as my first step I decided to check that I could reliably measure the zero crossing of an AC power supply.

I knew optocouplers were commonly used for this purpose and when watching a video on YouTube I spotted a H11AA1 opto-coupler being used. This has a bi-directional input, making it suitable for applications requiring detection or monitoring of AC signals.

The circuit looked nice and simple to build:

image

And here’s my first video demo. As you might guess from the voice-over, this video was taken well before I had even tested a single flyback transformer…

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Anyway, as far as I was concerned, this was the start I was looking for. It’s given me confidence to move forward on the AC side, and I now plan to test a number of the flyback transformers available in my kit to see how much power I will be able to get for my application.

Looking at the kit, I think I have quite a few to choose from.

image

Second step - check my assumption for DC power operation

Buoyed by the success of my zero crossing detection circuit, I then moved onto testing my assumptions of how I could use a SMPS flyback transformer with DC power.

For this experiment I used the BA60951CS flyback transformer provided in the kit.

image

Reading through the general specifications provided in the datasheet, I could see that this flyback transformer accepts a primary input voltage between 7 to 24V, and based on the different turns ratios for auxiliary (1.27) and secondary (0.77) coils delivers an auxiliary voltage of approx. 9V and a secondary voltage of approx. 15V. What is not clear to me in the datasheet is this so-called “working voltage” of 800V, but as I have no plans to use really high voltages I will leave that as an open question.

There were also two other specifications where I was struggling to understand the context. Namely rated primary current (1.4A) and the frequency (120kHz).

So I decided to just try out a minimal circuit design that were shown in the beginners guides to flyback converters. Namely:

Figure 1 in the Coilcraft beginners guide...

image

And figure 1 in the Kynix explanation on flyback transformers...

image

But, instead of using a MOSFET, I chose to use a momentary push button to manually/randomly control switching. Whilst I discovered that this option did not really work at all, it did reveal some interesting behaviour when you had debounce. It was slowly dawning on me as to why switching frequency matters, but this took a good deal of convincing.

I was still trying to understand the behaviour as described in the Coilcraft article:

The basic flyback cycle includes the following portions:

  1. When the FET (Field Effect Transistor) SW is closed (ON), current is conducted through the transformer primary. This sets up a magnetic field in which energy is stored in the core. The combination of winding polarity (identified by the polarity dots) reverse biases the output diode to ensure that no energy is transferred to the secondary (load) when the switch is closed. During this portion of the cycle, current in the primary is ramping up over time to store energy (= ½LI2).
  2. When the FET is opened (OFF) the magnetic field collapses, transferring the stored energy to the secondary winding and, ultimately the load. At the close of the switch, current in the secondary is at its peak and ramps downward as the stored energy is transferred to the load.

I somehow had thought that you could get the switch closed (ON) indefinitely. When testing, all I could see on my oscilloscope was that the primary voltage drops… as shown here when I momentarily keep the pushbutton on.

image

In fact, I was convinced it was circuit related. So, I then added a RCD snubber on the primary side, thinking this would solve matters. It did to some degree but not that much.

image

Here in my circuit I used an LED instead of a standard diode on the secondary side to help visualise matters (I relied on the fact that voltage and current flow was momentary).

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

I could now observe interesting behaviour during button debounce on the secondary side, as shown, but it still not help my understanding of the fundamental concepts when using DC power. This is the secondary voltage through the diode:

image

And this is the voltage across the capacitor (when there is no load - open circuit).

image

It still just did not make sense to me.

So, I took matters to the extreme, where I hooked up a 6A 15V power supply to the primary coil and held the switch on... and as mentioned in my introduction, this did not end well.

Anyway, I have finally grasped the meaning of “During this portion of the cycle, current in the primary is ramping up over time to store energy (= ½LI2)”.

And... I've also ordered another BA60951CS to continue.

Next steps

As to my next steps for this design challenge. Well, I am happy with AC but for DC I am now preparing a radical rethink of my design concept.

You’ll just have to wait till my next blog to find out…

  • Sign in to reply

Top Comments

  • shabaz
    shabaz over 2 years ago +1
    At least a smoking transformer is (sometimes) better than a exploding capacitor : ) Most datasheets will vary when it comes to transformers, but in the case of that particular one, the things that would…
  • jc2048
    jc2048 over 2 years ago +1
    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…
  • shabaz
    shabaz over 2 years ago

    At least a smoking transformer is (sometimes) better than a exploding capacitor : )

    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.

    The Isat isn'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.

    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'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.

    Using the formula impedance = 2 * pi * f * L, you'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're planning to use some IC, you probably will need a MOSFET or other transistor for general flyback stuff, although purely mechanical methods are possible with relays etc.

    I think I get what you were aiming for in that particular experiment (I'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't, the flyback transformer doesn't expect to hold that magnetic field near-indefinitely, although it can but only if Isat wasn't exceeded in some way (e.g. current limiting in a circuit, but that's not normally how the transformer will be used). Interesting experiements. What software is that, is it the Analog Discovery 'scope you're using?

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • DAB
    DAB over 2 years ago

    Nice update.

    Yes, there are a lot of little details you need to understand about flyback transformers.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
<
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube