element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • 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 Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • 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
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • 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 1592 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 1 year 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 1 year 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…
  • jc2048
    jc2048 over 1 year ago in reply to BigG

    Like Shabaz, I don't have a background in this, so take my comments as a general view, rather than hard-earned practical comments.

    The transistor has a peak rating of 1050V. In the case of their circuit, it's enough to clear the transient that occurs when the switch turns off. That depends very much on the capacitance at the switching node (which slows the rise time) and how quickly the output gets going taking the stored energy, which in turn depends on the components and circuit arrangement, so be cautious with it if you want to experiment with something similar.

    It's intended for cheapness in metering applications, where without needing isolation they can save a small amount of money by not having an auxiliary winding and so on. It's probably not the place to start if you're just getting into switching circuits.

    BTW I think the in-rush is limited by a thermistor - it's not drawn very well on the schematic.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • javagoza
    javagoza over 1 year ago in reply to BigG

    I still have to investigate it but from the graphs I have obtained from the Q quality factor it seems that this transformer is designed for a switching frequency of 250 kHz and not at 120 kHz

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • shabaz
    shabaz over 1 year ago in reply to BigG

    I don't know much about AC-DC supplies, I've never worked on them, so I could be totally wrong! but according to that doc the inductor is just there to act as part of a filter.

    It's a slightly different to normal supply, that is intended for up to 440V, that switches off the high voltage peaks using that MOSFET in the circuit (the circuit is intended for connection to inputs at higher voltages than seen in normal 240V mains) so the filtering would be needed (but most AC-DC converters will have a filter too, often a more complex one, normally implemented at the mains entry point). R3 is possibly not a critical part of the circuit, I think it may be there to provide some damping for the inductor.

    The snubberless part of the circuit I believe comes from the control algorithm that chip is using, plus avoiding high voltage damage through things like careful winding ratio selection and deliberately using a transistor with very high breakdown voltage.

    Overall the circuit is slightly different to a normal external AC-DC converter brick in that it doesn't have isolation either, so they were free to wire the secondary side directly in a resistor divider for pin 6 of the chip to use as input to control the output.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • BigG
    BigG over 1 year ago

     shabaz jc2048 you'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'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'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'm pondering as to the why...

    www.ti.com/.../TIDA-00628

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • javagoza
    javagoza over 1 year ago in reply to BigG

    I think you can try with the Impedance Analyzer implemented in the Alice Desktop Software with the Analog Devices ADALM2000. I've used the previous version with the ADALM1000, not the same as the ADALM1000 is a Source Measurement Unit (SMU) but implements the same Impedance Analyzer user interface.

    Active Learning Interface (for) Circuits (and) Electronics for M2K: [Analog Devices Wiki]

    • 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 © 2025 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.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube