1k likes | 2.38k Views
Multichannel Analyzer (MCA). Raphael Cherney Dan Elg Sam Sun Chen Wang. Background: X-ray Detection. X-ray photons. V signal. X-ray Detector. Amplifier. NASA’s detectors can “see” individual X-ray photons Photon V pulse Height proportional to energy
E N D
Multichannel Analyzer (MCA) • Raphael Cherney • Dan Elg • Sam Sun • Chen Wang
Background: X-ray Detection X-ray photons Vsignal X-ray Detector Amplifier • NASA’s detectors can “see” individual X-ray photons • Photon Vpulse • Height proportional to energy • Our MCA measures the pulse heights and their times of arrival MCA
Applications • Radiation detection • Nuclear power • Food industry • *X-ray spectroscopy • Non-destructive testing • Environmental analysis and monitoring
Our Task • Build a $25 multichannel analyzer • Handle pulses ranging from 100 ns to 100 us (Require 1-50 us) • 100,000 counts per second (Require 1000 pulses) • Handle pulse height from 0V to 10V • Output ASCII file with time and pulse height • Create histogram of pulse heights V vpulse tpulse t
Building an MCA Baby steps… Circuits can be fun!
Signal In (10 V Analog)
Signal In (10 V Analog) Variable Gain Amplifier
Signal In (10 V Analog) Variable Gain Amplifier
Fast Signal Bypass Signal In (10 V Analog) Variable Gain Amplifier
Fast Signal Bypass Threshold Signal In (10 V Analog) Variable Gain Amplifier Adjustable Threshold Fast Comparator
Fast Signal Bypass Threshold Signal In (10 V Analog) Variable Gain Amplifier Adjustable Threshold Fast Comparator
Fast Signal Bypass Signal In (10 V Analog) Adjustable Threshold Variable Gain Amplifier Fast Comparator Peak and Hold
Fast Signal Bypass Signal In (10 V Analog) Adjustable Threshold Variable Gain Amplifier Fast Comparator Analog to Digital Converter Peak and Hold
Fast Signal Bypass PIC Signal In (10 V Analog) Pulse Counter Adjustable Threshold Peak Value Variable Gain Amplifier Fast Comparator Analog to Digital Converter Peak and Hold
PIC Clock Cycles • Missed pulse??
PIC Clock Cycles • Missed pulse?? • Actually, no. • Hardware counter • Limit processing time by using analog circuitry
Signal In (10 V Analog) PIC Processor D-type Flip-Flop Adjustable Threshold Signal Latch Pulse Counter Peak Value Fast Comparator Analog to Digital Converter Peak and Hold
Coincidence / Anticoincidence Primary Signal Secondary Signal • Always need to reset peak and hold Coincidence Anticoincidence
Threshold Baseline Reset Reset Zoom-in After detecting rising-edge of comparator, count x (in this case 5) clock pulses, then enable ADC Assuming 800 kcps, the ADC takes 1.25 μs to sample Timing Diagram 1 horizontal unit = 5 clock cycles = 250 ns
Onboard Histogram • Stores data on PIC • Detection system ADC Histogram • Allows us to count quickly without having to send data quickly
USB • Wait send data wait • Sends ~1 kB every time • Full-speed bulk transfer Packet Formation Buffer Descriptors USB SIE Histograms Endpoint Buffers Ready?
Host Application Histogram Incoming data Flux Plot File I/O
UV Flux Monitor • Photodiode outputs current according to flux • Converted into voltage, read by PIC • Uses onboard PIC ADC UV Light Isignal Vsignal Current-to- Voltage Converter UV Photodiode PIC
Final Deliverables • An MCA • A UV Flux Monitor • Software to control these two devices, and display data
What Now? • Test firmware • Finish GUI • Rev 2 of PCB • System integration and final testing • Write documentation
Special thanks to: • Steve Holt • Keith Gendreau • Brad Minch • Gill Pratt • Mihir Ravel • 2008 MCA team Questions?