Flyback, Done Right

A common part used to create a high voltage is a CRT flyback transformer, having been a ubiquitous junk pile component. So many attempts to use them rely on brute force, with power transistors in simple feedback oscillators dropping high currents into hand-wound primaries, so it’s refreshing to see a much more nuanced approach from [Alex Lungu]. His flyback driver board drives the transformer as it’s meant to be used, in flyback mode relying on the sudden collapse of a magnetic field to generate an output voltage pulse rather than simply trying to create as much field as possible. It’s thus far more efficient than all those free running oscillators.

On the PCB is a UC3844 switch mode power supply controller driving the transformer at about 25 kHz through an IGBT. We’d be curious to know how closely the spec of the transformer is tied to the around 15 kHz it would have been run at in a typical TV, and thus what frequency would be the most efficient for it. The result as far as we can see it a stable and adjustable high voltage source with out all the high-current and over heating, something of which we approve.

Need to understand more about free running versus flyback? Read on.

2024 Business Card Challenge: Adding Some Refinement To Breadboard Power Supplies

For small electronics projects, prototyping a design on a breadboard is a must to iron out kinks in the design and ensure everything works properly before a final version is created. The power supply for the breadboard is often overlooked, with newcomers to electronics sometimes using a 9V battery and regulator or a cheap USB supply to get a quick 5V source. We might eventually move on to hacking together an ATX power supply, or the more affluent among us might spring for a variable, regulated bench supply, but this power supply built specifically for breadboards might thread the needle for this use case much better than other options.

The unique supply is hosted on a small PCB with two breakout rails that connect directly to the positive and negative pins on a standard-sized breadboard. The power supply has two outputs, each of which can output up to 24V DC and both are adjustable by potentiometers. To maintain high efficiency and lower component sizes, a switch-mode design is used to provide variable DC voltage. A three-digit, seven-segment display at the top of the board keeps track of whichever output the user selects, and the supply itself can be powered by a number of inputs, including USB-C or lithium batteries.

Continue reading “2024 Business Card Challenge: Adding Some Refinement To Breadboard Power Supplies”

It’s Switch Mode, But Not As You Know It

The switch-mode power supply has displaced traditional supplies almost completely over the last few decades, being smaller, lighter, and more efficient. But that’s not to say that it’s a new idea, and on the way to today’s high-frequency devices there have been quite a few steps. An earlier one is the subject of a teardown video from [Thomas Scherrer OZ2CPU], as he takes a look at a 1960s HP power supply with a slightly different approach to regulation for the day. Instead of a linear regulator on its conventional transformer and rectifier circuit, it has a pair of SCRs in the mains supply that chop at mains frequency. It’s a switch mode supply, but not quite as you’re used to.

In fact, these circuits using an SCR or a triac weren’t quite as uncommon as you might expect, and could at one point be found in almost every domestic TV set or light dimmer. Sometimes referred to as “chopper” supplies, they represented a relatively cheap way to derive a regulated DC voltage from an AC mains source in the days before anyone cared too much about RF emissions, and though few were as high quality as the HP shown in the video below, they were pretty reliable.

If older switchers interest you, this is not the first one we’ve shown you from that era.

Continue reading “It’s Switch Mode, But Not As You Know It”

Minimizing Stress On A Coin Cell Battery

When it comes to powering tiny devices for a long time, coin cell batteries are the battery of choice for things like keyfobs, watches, and even some IoT devices. They’re inexpensive and compact and a great choice for very small electricity needs. Their major downside is that they have a relatively high internal resistance, meaning they can’t supply a lot of current for very long without decreasing the lifespan of the battery. This new integrated circuit uses a special DC-DC converter to get over that hurdle and extend the life of a coin cell significantly.

A typical DC-DC converter uses a rapidly switching transistor to regulate the energy flow through an inductor and capacitor, effectively stepping up or stepping down the voltage. Rather than relying on a single converter, this circuit uses a two-stage system. The first is a boost converter to step the voltage from the coin cell up to as much as 11 volts to charge a storage capacitor. The second is a buck converter which steps that voltage down when there is a high current demand. This causes less overall voltage drop on the battery meaning less stress for it and a longer operating life in the device.

There are a few other features of this circuit as well, including an optimizer which watches the behavior of the circuit and learns about the power demands being placed on it. That way, the storage capacitor is only charged up to its maximum capacity if the optimizer determines that much charge is needed. With all of these features a coin cell could last around seven times as long as one using more traditional circuitry. If you really need to get every last bit of energy from a battery, though, you can always use a joule thief.

Tracking Down Radio Frequency Noise Source, With Help From Mother Nature

Amateur radio operators and shortwave listeners have a common enemy: QRM, which is ham-speak for radio frequency interference caused by man-made sources. Indiscriminate, often broadband in nature, and annoying as hell, QRM spews forth from all kinds of sources, and can be difficult to locate and fix.

But [Emilio Ruiz], an operator from Mexico, got a little help from Mother Nature recently in his quest to lower his noise floor. Having suffered from a really annoying blast of RFI across wide swaths of the radio spectrum for months, a summer thunderstorm delivered a blessing in disguise: a power outage. Hooking his rig up to a battery — all good operators are ready to switch to battery power at a moment’s notice — he was greeted by blessed relief from all that noise. Whatever had caused the problem was obviously now offline.

Rather than waste the quiet time on searching down the culprit, [Emilio] worked the bands until the power returned, and with it the noise. He killed the main breaker in the house and found that the noise abated, leading him on a search of the premises with a portable shortwave receiver. The culprit? Unsurprisingly, it was a cheap laptop power supply. [Emilio] found that the switch-mode brick was spewing RFI over a 200-meter radius; a dissection revealed that the “ferrite beads” intended to suppress RFI emissions were in fact just molded plastic fakes, and that the cord they supposedly protected was completely unshielded.

We applaud [Emilio]’s sleuthing for the inspiration it gives to hunt down our own noise-floor raising sources. It kind of reminds us of a similar effort by [Josh (KI6NAZ)] a while back.

In-Depth Design Of A Flyback Converter

It is tempting to think of analogue and digital domains as entirely distinct, never to touch each other except like a cold war Checkpoint Charlie, through the medium of an ADC or DAC. In reality there are plenty of analogue effects upon digital circuitry which designers must be aware of, but there is one field in which the analogue and the digital are intricately  meshed. Switch mode power supplies use digital techniques to exploit the analogue properties of components such as inductors and capacitors, and can be astoundingly clever in the way they do this to extract the last fraction of a percent efficiency from their conversion. Thus their design can be something of a Dark Art, so it’s always interesting to have a good read explaining some of the intricacies. [James Wilson] has built a flyback step-up converter to power Nixie tubes, and his write-up follows the whole process in great depth.

This type of converter seems at first glance to be a simple step-up design with a transformer that has a primary and secondary, where in fact it relies on the collapse in magnetic field during the off period of its duty cycle to provide a spike in voltage and thus a step-up beyond that you’d expect from the transformer alone. The write-up takes us through all this starting from a theoretical perspective, and then goes further into the realm of component selection and the effects of component properties on the waveforms involved. If you have ever battled ringing in a switch mode power supply you may recognise some of this.

If this field interests you, then there is probably no better place to send you for a start than Jim Williams’ 1987 app note 25 for Linear Technology: “Switching Regulators for Poets“.

Switching Over To SMPS For Efficiency

[Hesam Moshiri] has built a variable switch-mode power supply over on hackaday.io. When prototyping a new circuit, often the goal is to get a proof-of-concept working as soon as possible to iron out all of the bugs it might have. The power supply can easily be an afterthought, and for smaller projects we might just reach for an adjustable LM317 voltage regulator to dial in the correct voltage and then move on with the meat of the project. These linear regulators are incredibly inefficient though, so if you find yourself prototyping with one of these often enough, it might be worthwhile to switch to something better.

While it’s easy to simply buy a switch-mode power supply (SMPS) that has everything you need, and rated for 90% or higher efficiency at the same time, getting one with an adjustable output isn’t as easy. This one is based on the relatively popular LM2576-Adj chip which handles the switching frequency part of the circuit automatically. You will also need some large capacitors, an inductor (one of the disadvantages of an SMPS circuit) and a small potentiometer to use as the feedback control for the LM2576. This special pin allows the output voltage of the SMPS to be precisely controlled.

Granted, this project might not be breaking any new grounds, but if you’ve never given serious thought to your small breadboard circuit power supplies, it’s definitely worth looking into. An improvement from a linear regulator’s 30% efficiency to 90% efficiency from an SMPS will not only save you a ton of energy but also solve a lot of heat dissipation problems. If you don’t want to build a switch-mode supply 100% from scratch, though, it might also be possible to modify an existing one to suit your needs as well.