Fusion Run Data Graphs

17 11 2009

Here are graphs from the fusion run. The x-axis is time in minutes.

I used google charts to produce these graphs. This code produces the chart from data in mysql. This code transforms the voltage reading to its corresponding instrument value.

I did a quick and dirty downsampling like this:

resamples = samples.in_groups_of(samples.size/number_of_data_points).map{|slice| slice.average rescue 0}

I’m not certain this is all working correctly, but it seems to add up. One oddity: the voltage drops into the negative; perhaps from disabling the high voltage, I’ll have to confirm that.

This is primarily an end to end test of the data acquisition system.

Remote Control

14 11 2009

Now that our Fusor seems to be working, I must operate it from a safe distance. Last night I did the first successful remote run. I connected an iSight to the Fusor mac (G4 running OS X Tiger). Then I used VNC to remote control the Fusor mac from my laptop:


I made headway with the command line program to control the fusor and record data in mysql via ruby. It’s currently setup to record vacuum chamber pressure, voltage and current according to the Glassman, and the effective flow rate of the mass flow controller. Currently I can enter commands to turn the high voltage on/off and set the flowrate of the mass flow controller. Next I want to control the voltage and current on the Glassman.

I also got a geiger counter:


It takes two D batteries. There is a BNC connector for headphones. I have a BNC connector on order with mcmaster. In the meantime I improvised a connection to some computer speakers to test it out. Seems to be working. It picks up the expected background radiation producing that erie clicking sound. You can definitely hear an uptick in the clicks when I run the Fusor.

I’m working towards producing a comprehensive mapping of this device’s performance envelope using computer control to search the parameter space and record the results.

This is all so fun and exciting.

Computer Controlled Sorensen Hack

7 10 2009

Sweet! Just got the high current (120 Amp) Sorensen power supply working with computer control (to power the superconducting magnet).

Here is a video:

Details after the jump.

Read the rest of this entry »

Mass Flow Controller

27 09 2009

So I’m making good progress building out the computer control and data acquisition system for the reactor. Currently we have a manually controlled needle valve to regulate flow on the deuterium handling system. I want to replace this with a computer controlled mass flow controller.

A new mass flow controller costs roughly $1,100. There are plenty available on ebay starting from $70.

A mass flow controller must be calibrated for a specific gas. Some can be calibrated on demand with a digital interface, and some are hard wired to work with a specific gas. I’m wondering if we can get away with using a hydrogen calibration for our deuterium system?

The next parameter is flow rate. Here is some background on flow rate nomenclature: flow rate nomenclature. Although mass flow controllers meter based on mass flow rate, they confusingly are rated using volumetric flow rate metrics like SLPM (standard liters per minute), SCCM (standard cubic centimeters per minute) or SCFH (standard cubic feet per hour). Conversion between the two must be done at standard temperature and pressure, and must take into consideration the density of the gas: details.

So before I can spec a mass flow controller I need to calculate our midpoint flow rate needs.

Some facts:

The chamber holds ~6,500 cm^3

The turbo pump removes gas at the following rates:

N2 -> 56 liters/sec

He -> 48  liters/sec

H2 -> 36  liters/sec

So the mass flow controller meters how much fuel is flowing into the chamber. We also want to control how much fuel the vacuum pump is pulling out of the chamber. This requires a gate valve or butterfly valve. Many of them include an integrated bellows connection (which is great), and are pneumatically actuated (not so great).

Adding a gate valve will require us to redesign the welded sled; and I bet it won’t be the last design change. To keep it flexible I’m going to take another page from Andrew and switch to 80/20.

Now my naive attempt to calculate flow rate needs:

Without a gate valve the pumps will remove 2160 l/min. Now the typical mass flow controller seems to max out at 10 SLM (l/min)…. so the pump will remove fuel far faster than the mass flow controller can supply it. And this will waste expensive fuel.

I think these calculation work for pressures in the laminar flow region (> 1e^3 torr). We are working with pressures between the laminar flow domain and the free molecular flow domain – I don’t know how the calculations change at this point.

ps. Wolfram Alpha seems to be useful for density calculations.

Reactor Controller / Data Acquisition

17 09 2009

Since the pump broke I’ve been working on the reactor controller / data acquisition system. This will allow us to record:

Voltage reading (via voltage dividers and ammeter shunts); low power voltage reading from magnetometer, thermocouple, pressure gauge, etc; on the output side: voltage control of power supplies, servos for needle valves, triggering IGBTs; Our ion gauge has the option of digital over RS485.

I purchased an NI USB-6008 (manual, driver):


Unfortunately the driver for this does not work with Snow Leopard yet. I’ve already upgraded my main laptop to Snow Leopard and I really don’t want to downgrade to Leopard so I dug up and old G4 running Tiger. Had to swap out a broken CD drive:


This G4 will be a challenge to upgrade to Leopard as it lacks a DVD drive, although it may be possible to install without DVD.

I was able to install the driver NI-DAQmx_Base. I opened up NIdatalogger and performed a successful grab of voltage data on the analog input:


I would like to get this ruby adapter working. So far I can’t get it to build on Tiger (it makes it further on Snow Leopard). I’m working with the creator to get it installed and working:

make -f Makefile.swig install
swig -ruby -Fstandard -I/Applications/National\ Instruments/NI-DAQmx\ Base/includes -o daqmxbase_wrap.c daqmxbase.i
make: swig: Command not found
make: *** [daqmxbase_wrap.c] Error 127
make -f Makefile.swig install
swig -ruby -Fstandard -I/Applications/National\ Instruments/NI-DAQmx\ Base/includes -o daqmxbase_wrap.c daqmxbase.i
make: swig: Command not found
make: *** [daqmxbase_wrap.c] Error 127
I just needed to install SWIG. Although this took roughly 6 hours! It installed without a problem.
I AM UP AND RUNNING with data acquisition in my native programming language ruby.

%d bloggers like this: