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 Flybacks from the Ground Up - Part 4: Trying to Fly(back) & PLC Bode Plots
  • 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: Gough Lui
  • Date Created: 19 Jan 2024 10:42 AM Date Created
  • Views 1149 views
  • Likes 7 likes
  • Comments 5 comments
  • smps
  • EXPERIMENTING WITH FLYBACK TRANSFORMERS
  • transformer
  • PFBR45-ST13150S
  • off-line flyback switcher
  • flyback transformer
  • bourns
  • PFBR45-SP13150S
Related
Recommended

Flybacks from the Ground Up - Part 4: Trying to Fly(back) & PLC Bode Plots

Gough Lui
Gough Lui
19 Jan 2024
Flybacks from the Ground Up - Part 4: Trying to Fly(back) & PLC Bode Plots

After some rather anti-climactic abuse and safety tests which put me at ease, I decided it was time to fly even before I could walk so to speak … in the name of flybacks. After all, I got a late start to this challenge and time is running out, meaning that I’m on a roughly one-blog-a-day timeline to the end. Let’s see what this attempt at a quick win yields … will it be success or failure?

Looking for a Quick Win

It’s a fact that designing even a conceptually “simple” flyback transformer-based converter is complicated if you want to actually get it to work in the way it was intended. The transformers provided are mostly designed for “offline” converters which run off rectified mains. Such voltages can be lethal and I’m not as experienced with it as I would like to carry out a design from the ground up. A mistake could lead to rather loud and explosive results! Another key consideration is that I don’t have the parts at my fingertips to design and build one given the limited time remaining.

As a result, I thought it was a better approach to look for a quick win by modifying an existing design to use a Bourns SP-E flyback transformer instead.

image

Enter this [insert collective noun] of rather unloved USB chargers. They’re not particularly fast, nor are they trustworthy, coming from random Chinese manufacturers included as “bundle-ins” with bargain-basement priced surveillance cameras, tablets and other novelty items. I wouldn’t trust them with anything precious, so I’ve never actually made use of them, not least because they come with Europlugs which are not used in Australia and are horrible to adapt (as adapters frequently slip on their circular pins). As they’re not going to be used anyway, I’ll just take them apart and see if I have any luck.

image

Of the three, there are two different designs. This points to the deceptive nature of some Chinese products – they may share the same external moulding, but internally, they are completely different. I would say the left design looks a little better than the right, but both are very similar, using single-sided paper-type PCBs and a fusible resistor as their protective element.

image

From the underside, we can see both use a mystery chip (likely the same one) as their flyback controller, and both use primary side sensing with no feedback from the secondary. This latter point is a bit of a downside as it might make it difficult to substitute as matching transformer specifications will probably be more critical.

Nothing ventured, nothing gained, so let’s try …

Measuring the Existing Transformer, Looking for a Match

My first instinct was to try and work out what chip is being used so we can get some hints from a datasheet about how to configure the chip.

image

On the first board, we can see the chip markings are impossible to read under the microscope even with the thermal paste trick (some of it has stayed stuck to the pins). Nevertheless, it’s an SO-7 package (one leg missing of the SO-8 for high-voltage clearance) which is one hint.

image

Looking at the other, I think I can barely make out CSC7181D, but it could just be my imagination. I can’t find anything based on the numbers – comparing it to common chips like the SC1161/1162, NCP1247-D and UCC28911 were no match. Maybe it is an AL1692K clone, but I’m not sure as in both, it seems Pin 2 is N/C. No matter what it is, it’s pretty ubiquitous in Chinese products it would seem.

If I can’t find out more about the chip, perhaps the answer is just to remove the transformer and test it.

image

Out came the desoldering braid and being single-sided, the transformer popped out with no fuss. Doing the same with the B&K Precision BA6010 Battery Analyser and Rohde & Schwarz MXO4 Oscilloscope, I was able to deduce the pin-out, measure the inductances, winding order and winding ratios.

image

Given that this was for a 5V/2A power supply, or 10W roughly, this already rules out the use of the 063929 and 063932 in the kit (not to mention that they were destroyed in the previous part). Looking at the remainder, I would say the 093830 rated at 8W is probably the closest match – it has a secondary ratio of 18.5 compared to 12.7 which would probably mean slightly lower voltage than expected. The auxiliary winding would be substituted with the shield winding which has a ratio of 4 compared to 4.88. Numerically this may seem close but percentage-wise, it is significant.

But compared to my other options, it is much closer. For example, the 094931 has an auxiliary ratio of 2.75 which is too low, 094932 and 094929 doesn’t have anything resembling the right auxiliary ratio at 1 and 1.1 respectively and 063934 has a ratio of 9.6 for secondary which is perhaps too small (but would have perhaps been my next candidate). I can begin to understand why custom-wound transformers are necessary!

The Result

The transformer itself isn’t a drop-in replacement due to the shape and pin-spacing, so some creativity is required.

image

For this rather temporary test, I have used hot glue to secure the transformer “dead-bug” style, upside down. Do not try this at home – it is likely that the transformer may get hot enough during operation to melt the hot glue leaving the transformer unrestrained. Only trained professionals (or trained professional hacks) should attempt this!

image

From there, using insulated wire, I would wrap around each terminal and solder it, linking using the wire to the PCB to match the required winding order.

image

The secondary side has both secondary output coils paralleled together in the correct winding order to produce one output of twice the current rating. This is still perhaps slightly less than the original adapter is rated for – but I’d be happy if it just works.

Finally, because it will not fit in its original casing and hence not be able to use its original “pin” contact connections, I found some scrap mains lead from my parts bin and soldered it to the lugs …

image

Oh, look. It’s also a Europlug. I have no love for these, but for a temporary test with a plug adapter, that will do. The moment of truth has arrived … so I place the unit into a glass jar with the wires led through the lid just in case it pops, powered through a DC-AC inverter with a very limited power rating …

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

All that work and … another anticlimax! This time, the unit tries to come up but obviously trips some protection or fault on the way on, shuts down and tries again. It doesn’t matter what the connected load is doing, it won’t fire up. Is it the higher primary inductance? Or the fact the ratios are all different now? Or something else entirely? Unfortunately, I don’t know … but what I do know is that it doesn’t work and perhaps if this had been an optoisolator feedback type circuit, I might have had a better chance.

Testing the PLC Transformers

Well, that was a little underwhelming. To console myself and to make sure the PLC transformers get a test, I decided to whip out the soldering iron to get them mounted onto Veroboard so that I could more easily make connections to them.

image

The standard PLC transformer had 2.54mm spacing between legs, making things easy, while the reinforced insulation version has slightly different spacing on the other side. The tiny automotive BA60951CS flyback also has different spacing, but one can kludge them onto 2.54mm Veroboard given some careful alignment.

image

In spite of the better access to the transformer pins for testing, I still had to use clip ground leads which are nasty when it comes to high frequency stuff.

image

Testing of the ordinary PLC transformer (PFBR45-ST13150S) showed an excellent flat bandwidth response across a range of frequencies starting at around 45Hz (-3dB) and extending past 10MHz. Above there, the mess that is visible is likely due to the clip grounds.

image

Testing of the reinforced insulation PLC transformer (PFBR45-SP13150S) showed a nearly identically flat frequency response. This indicates good signal integrity for the wide bandwidth of HF carriers commonly used in Ethernet over Power and other PLC technologies.

Conclusion

It would seem that this challenge has been anti-climax after anti-climax. Being under a time-crunch, I thought I’d go for a quick win and try to “fly” (pun intended) when I can’t even “walk” (so to speak) by modifying a cheap, Chinese USB power supply with a Bourns transformer of the closest specification. Unfortunately, all I got was a power supply that kept cycling and trying to come up, likely tripping some protection, but as I don’t know the identity of the controller and how it is configured, there isn’t much I could do. Perhaps this was a bad idea from the start, as this design is a primary-side sensing circuit with no feedback, thus is perhaps more critical of transformer parameters in terms of ratio and inductances. In trying to avoid potential delays and disasters from designing my own mains flyback converter, I’ve learned that close-enough may not be good-enough and perhaps this is why custom transformer designs are necessary for some applications.

In the meantime, I have managed to creatively solder the PLC transformers and the BA60951CS to a piece of Veroboard to make it easier to test – those PLC transformers have pretty flat transfer functions across a wide range of frequencies, but the use of spring grounds in the test does distort their high-frequency results.

In the end, it seems I will have to go back to basics and once I have learned to walk, then I can finally do the walk of shame … in the next post, perhaps. Until then, I shall lick my wounds ...

  • Sign in to reply

Top Comments

  • javagoza
    javagoza over 1 year ago +2
    You are a reckless man. I have had this test in my head for two months, with several units of mobile chargers disassembled and the schematics developed waiting to make that decision. Thanks for sharing…
  • javagoza
    javagoza over 1 year ago in reply to Gough Lui +1
    I very much doubt the electrical protections of the building I live in. It is an old building that is more than 100 years old and the last electrical installation is from 60 years ago with safety regulations…
  • Anthocyanina
    Anthocyanina over 1 year ago in reply to javagoza +1
    Same here! especially since my parts never arrived. Gough Lui is doing a great job as usual!
  • Anthocyanina
    Anthocyanina over 1 year ago in reply to javagoza

    Same here! especially since my parts never arrived. Gough Lui is doing a great job as usual!

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 1 year ago in reply to javagoza

    Well, I did stuff it into a glass jar just in case it blew up ... and the 300W pure-sine-wave inverter I have can barely dish out a little more than 1A at 230V, which makes it much less likely to be catastrophic. Being hands off, remotely Wi-Fi switching the set on and off kept me safe ... but I agree, low voltage is definitely much safer to tinker with.

    That being said, I too have wished to do more, but similarly have a host of real-life issues to deal with. This will be my main contribution before I head off into a hiatus from element14 between March to May this year ...

    - Gough

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

    I very much doubt the electrical protections of the building I live in. It is an old building that is more than 100 years old and the last electrical installation is from 60 years ago with safety regulations that would now shock anyone.

    In any case, I am really enjoying experimenting with low voltages, I am not publishing as much as I would have liked due to life problems, but like you I want to fulfill the commitment we have made.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Gough Lui
    Gough Lui over 1 year ago in reply to javagoza

    I wish you all the luck javagoza - perhaps you'll have something in your collection that's a better match or more amenable to modification than my batch of (seemingly) all-similar chargers.

    As they say, got to break some eggs to make an omelette :).

    - Gough

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

    You are a reckless man. I have had this test in my head for two months, with several units of mobile chargers disassembled and the schematics developed waiting to make that decision. Thanks for sharing! And indeed, as you say very well, Do not try this at home!

    • Cancel
    • Vote Up +2 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