Love them or hate them, Nixies are here to stay. Their enduring appeal is due in no small part to the fact that they’re hardly plug-and-play; generating the high-voltage needed to drive the retro displays is part of their charm. But most Nixie power supplies seem to want 9 volts or more on the input side, which can make integrating them into the typical USB-powered microcontroller project difficult.
Fixing that problem is the idea behind [Mark Smith]’s 5-volt Nixie power supply. The overall goal is simple: 5 volts in, 170 volts out at 20 mA. But [Mark] paid special care to minimize the EMI output of the boost converter through careful design, and he managed to pack everything into a compact 14-cm² PCB. He subjected his initial design to a lot of careful experimentation to verify that he had met his design goals, and then embarked on a little tweaking mission in KiCad to trim the PCB’s footprint down by 27%. The three separate blog posts are well worth a read by anyone interested in learning about electronics design.
Now that [Mark] has his Nixie power supply, what will become of it? We can’t say for sure, but it’ll be a clock. It’s always a clock. Unless it’s a power meter or a speedometer.
[Great Scott] should win an award for quickest explanation of a buck converter. Clocking in at five and a half minutes, the video clearly shows the operating principles behind the device.
It starts off with the question, what should you do if you want to drop a voltage? Many of us know that we can dim and brighten an LED using the PWM on an Arduino, but a closer inspection with an oscilloscope still shows 5V peaks that would be dangerous to a 3.3V circuit. He then adds an inductor and diode, this keeps the current from dropping too fast, but the PWM just isn’t switching fast enough to keep the coil energized.
A small modification to the Arduino’s code, and the PWM frequency is now in the kHz range. The voltage looks pretty good on the oscilloscope, but a filter cap gets it to look nice and smooth. Lastly, he shows how when the load changes the voltage out looks different. To fix this a voltage divider feeds back the information to the Arduino, letting it change the PWM duty to match the load.
In the last minute of the video he shows how to hook up off-the-shelf switching regulators, whose support components are now completely demystified as the basic principles are understood. Video after the break.
Continue reading “How Does a Buck Converter Work Anyway?”
We all know that the reason the electrical system uses alternating current is because it’s easy to step the voltage up and down using a transformer, a feature which just isn’t possible with a DC system… or is it? Perhaps you’ve heard of mysterious DC-DC transformers before but never really wanted to look at the wizardry that makes them possible. Now, SparkFun Director of Engineering [Pete Dokter] has a tutorial which explains how these mysterious devices work.
Known as buck converters if they step the input voltage down and boost converters if they step the voltage up, [Pete] explains how these circuits exploit the properties of an inductor to resist changes in current flow. He goes into exquisite detail to explain how components like transistors or MOSFETs are used to switch the current flow to the inductor very rapidly, and just exactly what happens to the magnetic field which makes these devices possible.
The video gives a good amount of background knowledge if you’ve always wanted to understand these devices a little bit better. There are also a few projects floating around that exploit these devices, such as one that uses an AVR microcontroller to perform the switching for a small circuit, or another that uses the interesting properties of these circuits to follow the I-V curve of a solar panel to help charge a bank of batteries. The possibilities are endless!
Continue reading “A Primer on Buck (and Boost) Converters”
[Ken] needed to supply 3.3 volts of regulated power. He started by using a linear voltage regulator but after a few calculations he discovered that 72% of what he put in was lost to heat. The solution to this is a switched-mode power supply. Rather than burn off energy through a voltage divider, an SMPS turns the power on and off very quickly to achieve the desired voltage.
A car charger-type USB regulator was chosen as [Ken’s] donor device. He figured that making adjustments to the resistors inside would affect the output voltage and he was right. He adjusted the potential divider and ended up with a steady 3.295V.
We asked him to share the schematic that he put together from studying the board and he came through. See that and get the link to the DC-DC converter datasheet after the break. Continue reading “Make switched-mode power supplies do your bidding”