Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:projects:nixie-clock:power_supply [2011/02/19 14:50]
alex created
en:projects:nixie-clock:power_supply [2011/02/19 15:05] (current)
alex
Line 4: Line 4:
  
 ;#; ;#;
-{{:​nixieclock-psu-2.jpg?​500|}}+{{:​nixieclock-psu-2.jpg?​500|Nixie Tube}}
 ;#; ;#;
  
Line 16: Line 16:
  
 Then I had a stroke of genius. ​ Maybe I could get the power supply to work more efficiently if I used a higher input voltage. ​ After all, why step 12 volts down to 5 then back up to 200?  There'​s really no point in doing that; it's quite inefficient. ​ So I rearranged the circuit a bit so the input of the boost converter was connected to the 12 volt input. ​ Still no luck.  In desperation,​ I started looking at datasheets for the various parts. ​ I started with the MOSFET. ​ BUZ11, N-Channel power MOSFET. ​ Id is 30 amps.  Vds is 50V.  Vgs is--hey, wait a sec--Vds is 50V?  D'​oh! ​ Perhaps I need another MOSFET. ​ One short trip to Fry's later I had a 400V MOSFET, a 400V diode, and a 250 volt capacitor. ​ After swapping out the parts, I ramped up the voltage again. ​ 20 volts, 40 volts, 50 volts, 60 volts (oh yeah, solved that problem), 80 volts, 100 volts, 120 volts (getting a little nervous now...), 140 volts, 170 volts. ​ It worked!!! ​ I turned off the supply and hooked up one tube and added a blue LED underneath. ​ Then I ramped up the voltage again. ​ As it passed around 140 volts or so, I started to see a dull red-orange glow in the tube.  Once it reached 170 volts, the tube was very nicely lit.  Power supply works! Then I had a stroke of genius. ​ Maybe I could get the power supply to work more efficiently if I used a higher input voltage. ​ After all, why step 12 volts down to 5 then back up to 200?  There'​s really no point in doing that; it's quite inefficient. ​ So I rearranged the circuit a bit so the input of the boost converter was connected to the 12 volt input. ​ Still no luck.  In desperation,​ I started looking at datasheets for the various parts. ​ I started with the MOSFET. ​ BUZ11, N-Channel power MOSFET. ​ Id is 30 amps.  Vds is 50V.  Vgs is--hey, wait a sec--Vds is 50V?  D'​oh! ​ Perhaps I need another MOSFET. ​ One short trip to Fry's later I had a 400V MOSFET, a 400V diode, and a 250 volt capacitor. ​ After swapping out the parts, I ramped up the voltage again. ​ 20 volts, 40 volts, 50 volts, 60 volts (oh yeah, solved that problem), 80 volts, 100 volts, 120 volts (getting a little nervous now...), 140 volts, 170 volts. ​ It worked!!! ​ I turned off the supply and hooked up one tube and added a blue LED underneath. ​ Then I ramped up the voltage again. ​ As it passed around 140 volts or so, I started to see a dull red-orange glow in the tube.  Once it reached 170 volts, the tube was very nicely lit.  Power supply works!
- 
-<a href="​http://​www.endeavoursofanengineer.com/​blog/​wp-content/​uploads/​2010/​07/​88AA6439_p.jpg"​ rel="​lightbox[99]"​ title="​Nixie Clock Power Supply"><​img src="​http://​www.endeavoursofanengineer.com/​blog/​wp-content/​uploads/​2010/​07/​88AA6439_p.jpg"​ alt="​Nixie Clock Power Supply"​ title="​Nixie Clock Power Supply"​ width="​500"​ height="​334"​ class="​aligncenter size-full wp-image-115"​ /></​a></​p>​ 
  
 ;#; ;#;
-{{:​nixieclock-psu-1.jpg?​500|}}+{{:​nixieclock-psu-1.jpg?​500|HV Power Supply}}
 ;#; ;#;
  
 The next step in driving the tube is the tube switching. ​ Four tubes means 4 anodes to control and 48 cathodes (each tube has 12 cathodes, 10 numerals plus 2 dots at the bottom left and right). ​ One method is to connect all 4 anodes to power and switch all the cathodes. ​ However, 48 transistors is a bit much.  I'm going for compact here, remember? ​ Also, the microcontroller I'm using has only 28 pins.  And if I do a two-board design for compactness,​ I want to minimize the interconnections between the two boards. ​ More wires = more work.  And more wires take up more space. ​ One method to knock out transistors and control lines at the same time is to use 4 to 10 line decoder chips for the digits. ​ It just so happens that there is a very special chip called a 74141 that was designed specifically to drive the cathodes of nixie tubes. ​ The output pins are high-voltage,​ open-drain transistors. ​ Perfect. ​ Only one problem, they stopped making them in the 80s, so they'​re impossible to find.  Fortunately,​ I managed to get my hands on the Russian pin-equivalent part, the K155ID1. ​ And since I naturally want to use as few of these hard-to-find chips as possible, I also opted to switch the anodes of the tubes as well.  That means 2 transistors per tube to switch the anode plus one decoder and two transistors to switch the cathodes. ​ One decoder and 10 transistors,​ much more efficient than 48 transistors. ​ Also, it only takes 12 control lines to control a 6 tube display and controlling a 4 tube display involves simply ignoring 2 of those. ​ Future expandability! ​ Also, connecting the LED anodes to the control lines and adding one more transistor for the LED cathodes allows control of the LEDs under the tubes with only one more IO pin.  This sets the minimum number of interconnect lines at 16 -- 6 tube select lines, 4 binary digit select lines, 2 decimal point control lines, 1 led control line, ground, 5 volt logic supply, and high voltage tube bias.  Perfect! The next step in driving the tube is the tube switching. ​ Four tubes means 4 anodes to control and 48 cathodes (each tube has 12 cathodes, 10 numerals plus 2 dots at the bottom left and right). ​ One method is to connect all 4 anodes to power and switch all the cathodes. ​ However, 48 transistors is a bit much.  I'm going for compact here, remember? ​ Also, the microcontroller I'm using has only 28 pins.  And if I do a two-board design for compactness,​ I want to minimize the interconnections between the two boards. ​ More wires = more work.  And more wires take up more space. ​ One method to knock out transistors and control lines at the same time is to use 4 to 10 line decoder chips for the digits. ​ It just so happens that there is a very special chip called a 74141 that was designed specifically to drive the cathodes of nixie tubes. ​ The output pins are high-voltage,​ open-drain transistors. ​ Perfect. ​ Only one problem, they stopped making them in the 80s, so they'​re impossible to find.  Fortunately,​ I managed to get my hands on the Russian pin-equivalent part, the K155ID1. ​ And since I naturally want to use as few of these hard-to-find chips as possible, I also opted to switch the anodes of the tubes as well.  That means 2 transistors per tube to switch the anode plus one decoder and two transistors to switch the cathodes. ​ One decoder and 10 transistors,​ much more efficient than 48 transistors. ​ Also, it only takes 12 control lines to control a 6 tube display and controlling a 4 tube display involves simply ignoring 2 of those. ​ Future expandability! ​ Also, connecting the LED anodes to the control lines and adding one more transistor for the LED cathodes allows control of the LEDs under the tubes with only one more IO pin.  This sets the minimum number of interconnect lines at 16 -- 6 tube select lines, 4 binary digit select lines, 2 decimal point control lines, 1 led control line, ground, 5 volt logic supply, and high voltage tube bias.  Perfect!
  
 +Previous: [[History]]\\
 +Back to: [[.:|Nixie clock]]