It's been quite awhile since I posted anything regarding my efforts toward coming up with an inexpensive XRF system. I have built a lot of hardware and written a lot of software toward that goal, and....so far, have come up empty. At this point I think it's due to the PIN xray detector -- it's just too noisy, and doesn't appear to have much, if any, energy resolution. I worked on it pretty hard but....have come to the conclusion that it's not the way to go. This decision was further cemented by my discovery that the detector is no longer being offered for sale as a standalone device. It, or a similar-area device, can still be purchased but only in combination with a CsI(Tl) scintillator crystal. Naturally, it also is more expensive. And, since it has a very high dark current I still would expect it to be pretty noisy.
For these reasons I bought a used PMT/Scintillator off ebay. It is a unit much like this, and can be a very good value if the PMT and scintillator are in good shape. As-is it's not all that great for XRF usage but there is some good online information on how to modify one so it's compatible with the Theremino hardware and software. But being a retired electrical engineer and dyed in the wool DIYer I decided to build my own high voltage power supply for the PMT, using a CCFL inverter board to convert 12 volts to 800-900 volts. Due to lots of EMI coming out of the inverter and the necessity of achieving microvolt-level noise on the HV line that turned out to be quite a challenge. I ended up using two separate 12V supplies -- one for the CCFL inverter, and a second one for the HV controller board. The CCFL inverter was modified so its output could be better-controlled, and isolated from the controller board with an optoisolator. I also made two aluminum enclosures for the inverter and controller, to further reduce EMI coupling from the inverter.
The whole thing was screwed down to a piece of wood, so this is a true "breadboard" style of construction:
I used LTspice to design the optoisolator. Here's the circuit diagram and simulation for one of my earlier versions:
The final design also includes a diode-connected PNP transistor in the emitter leg of the power transistor, to improve the low-current linearity of the circuit. This is important because it turns out that my CCFL inverter doesn't need much input voltage to generate 900 volts.
Here's a photo showing my test setup, minus the HV power supply:
The Am-241 sources, detector and signal conditioning stuff is inside the aluminum box on the right. The lead shielding is on the inside. I'm using a Teensy 4.1 with a home-built 1MSPS 16-bit ADC to acquire the pulses. The Teensy and ADC are behind the computer. I'm using the Arduino IDE to develop the S/W. I also am using a little Adafruit TFT to plot the spectums (when I get any that make any sense!).
Regarding the ADC, I figured out that the Teensy 4.1 has 16 contiguous I/O bits in one of its GPIO registers so that made it relatively easy to interface a fast 16 bit ADC to it. Here's a photo of the ADC board, although in this case it's connected to a T4.0, which only has 8 contiguous bits available -- so the S/W has to grab 16 bits in two 8-bit "gulps" and combine them:
That's all for now. I'm currently in the process of modifying my PMT's voltage divider. Once that's done I will be pretty close to trying out the whole system with a detector system that is known to work well for XRF. From there I get to see if my software is working right....
No comments:
Post a Comment