# 555 timer boost converter doesn't meet spec

I've been messing around with nixie tubes lately which requires a high voltage source (~150V-200V) to turn on.

I searched around for a simple high voltage generator and found this circuit which uses a 555 timer to get an adjustable, regulated high voltage output between 170V and 200V.

I got all the parts and I prototyped it on a breadboard. After plugging in a 9V battery and being absolutely sure that it wouldn't explode in my face (e.g. by accidentally install a cap backwards), I measured the output voltage and got a nice 210V output without a load and with the trimpot adjusted to give maximum voltage.

Unfortunately, the voltage dipped down to about 170V as soon as I connected up the nixie tube. I measured exactly how much current was flowing and found that the configuration was barely 15% efficient. The circuit draws about 100mA on the input without a load! The Nixie tube itself drew about 0.8mA at 170V and the input draws about 120mA.

$$\frac{170V \times 0.0008A}{9V \times 0.1200A} = \frac{0.136W}{1.080W} \approx 12.59\% \text{ efficient}$$

I put it down to losses due to inefficiencies in the switching (I did lay this out on a breadboard) so I spent the afternoon making a PCB version while carefully following whatever SMPS PCB layout guidelines I could find. I ended up replacing the output capacitor C4 with one rated for 400V since 250V was still cutting it too close. I also used ceramic caps instead of the film caps suggested in the instructable.

However, there was still no significant difference in efficiency.

I also noticed that the output voltage seemed to vary proportional to the input voltage. At 9V, it would give voltages closer to 170V with a load and about 140V at 8V with a load.

So right now, I'm starting to think that I've either missed something obvious or this boost converter circuit just kind of sucks. Needless to say, I'll probably be looking into other, more efficient designs but I'm still rather keen on discovering why this circuit behaves this way.

I suppose the voltage drop when a load is connected can be explained by the fact that the 555 isn't producing a long enough duty cycle for the switching so there isn't enough power being delivered to the output.

The varying output voltage proportional to the input voltage can probably be explained by the absence of a stable reference voltage. The feedback loop uses the input voltage as a reference so it's more like a regulated voltage 'multiplier'.

But I still can't figure out where the 100mA drawn from the input is going when there isn't a load. According to the datasheets, the 555 timers draw very little current. The feedback voltage dividers certainly don't draw anywhere near that much. Where is all that input power going?

tl;dr can anybody explain or help me understand why this circuit sucks?

• Often people simulate such circuits to get an idea of what is happening, especially the power dissipation of certain components. – PlasmaHH Feb 4 '15 at 13:00
• In addition to Dave's answer below, I don't think that a 1N4004 is a good choice of diode for a switching converter - I'd only use it for rectifying 50/60Hz. Its reverse recovery time is around 3uSec if I remember correctly and that's a significant amount if time when you're switching in the 30kHz range. – brhans Feb 4 '15 at 13:53
• There's close to 1mA in R4, that's 200mw or about 25% of your no-load power right there. – Brian Drummond Feb 4 '15 at 15:17
• There's also an average of about 5 mA being wasted in R1. (9 mA whenever pin 7 is low.) – Dave Tweed Feb 4 '15 at 15:24
• I wonder if one of Roman Black's switching regulators, which doesn't use any ICs -- only transistors -- could be adapted to this application? – davidcary Feb 13 '15 at 21:03

It takes almost 2 mA just to charge and discharge the gate of your MOSFET. You're also wasting about 5 mA in R1, since it is grounded through pin 7 about half the time. Your voltage feedback divider is drawing about 1 mA from the high-voltage rail, which translates to more than 20 mA at the input.

There's a problem with using a 555 to drive a large MOSFET: The limited output current of the 555 means that the MOSFET can't switch quickly from full-off to full-on and back again. It spends a lot of time (relatively speaking) in a transition region, in which it dissipates a significant amount of your input power instead of delivering that power to the output. The MOSFET has a total gate charge of 63 nC, and the 555 has a maximum output current of about 200 mA, which means it takes a minimum of 63 nC / 200 mA = 315 ns to charge or discharge the gate. If you're using a CMOS 555, the output current is much less and the switching time is correspondingly longer.

If you add a gate driver chip between the 555 and the MOSFET (one that's capable of peak currents of 1-2A), you'll see a marked increase in overall efficiency. A real boost controller chip will often have such drivers built in.

If you're serious about developing switchmode power converters, you definitely need to get an oscilloscope so that you can see these effects for yourself.

That regulator design is also rather crappy for another reason. The power through a boost mode converter is regulated by varying the duty cycle of the switching element. In this circuit, the feedback is created by using a transistor to pull down on the control voltage node of the 555, which reduces the upper switching threshold. However, because of the way the 555 is constructed, this also reduces the lower switching threshold by a proportional amount. This means that the change in duty cycle as the ouptut voltage rises is much less than you might otherwise think. It has a bigger effect on the frequency of the output pulses, but this isn't relevant. Again, switching to a proper boost controller chip would solve this problem.

By the way, the "regulator" part of the circuit is NOT using the input voltage as its reference, it's using the forward voltage of Q1's B-E junction as its reference.

As Spehro points out, a 100 µH inductor at a switching frequency of 30 kHz — nominal on time = 16 µs — with a 9V source is going to reach a peak current of 1.44 A. This is really abusing the hell out of a 9V battery, not to mention the I2R losses in both the inductor and the MOSFET. This is also uncomfortably close to the saturation current of the inductor, which only exacerbates the losses.

• I think using a lower frequency and a bigger inductor would maybe make this circuit suck a tiny bit less. – PlasmaHH Feb 4 '15 at 13:41
• The 100mA is not coming from the charging/discharging of the power MOSFET. The IRF740 isn't that big, and with a switching frequency on the order of 30kHz I'd be surprised if the gate current broke 1mA. Switching times of about 1-2µs would be my guess. This design "leaks" a lot of power without even getting to the actual boost converter - agree with everything else. – W5VO Feb 4 '15 at 14:59
• @W5VO: True, with a total gate charge of 63nC (I hadn't bothered to look his up before), it should be a little under 2 mA @ 30 kHz. However, the switching frequency goes up as the "voltage regulation" circuit kicks in. – Dave Tweed Feb 4 '15 at 15:22

That inductor is rather small value for the relatively low switching frequency and input voltage- make sure the one you're using won't saturate at a few amperes.

If the on time is of the order of 20 microseconds and the inductor starts from zero it will get to a couple of amperes (back-of-envelope guesstimation).

I suspect if you try it with a CMOS 555 at (say) double the frequency (reduce the cap to 1nF) and a better inductor you may see a dramatic improvement in efficiency.

Dave makes excellent points (+1 from me) about how sucky the circuit is and it seems to be derived from this circuit by omitting resistors, capacitors, changing the diode etc. The page gives an explanation of the circuit as a project to power up nixies. http://www.dos4ever.com/flyback/flyback.html

I've been experimenting with a similar circuit, and I think the main problem here is that 0.8mA on a single Nixie is just not enough load for this circuit to be particularly efficient:

• As others have pointed out, the "fixed cost" of this 555 control circuit is relatively high and unavoidable.
• But boost the current or drive multiple Nixies and things quickly get better.
• e.g. driving an IN-14 at 0.39mA I see 11% efficiency, but boost that to 2mA and efficiency rises to 22.2%

One other factor to keep in mind is the R3/C3 snubber on the FET:

• while it does reduce ringing on the inductor, I don't see any meaningful impact on the output so arguably it is not useful in this application
• but it does come with a cost in efficiency (proportional to the capacitance)
• the selected values of 100pF/2.2kΩ are probably about optimum - this should be significantly dampening the ringing and perhaps cost only 1-2% in efficiency. But you may be interested to compare results if you knock this back to say 30pF or even exclude the snubber completely.