- Joined
- Dec 18, 2019
- Messages
- 7,700
Ah, the fitting is kind of a correlation, I think. That might help. Certainly lower computation load.For now I'm simply discriminating on the pulse width. Pulse overlap = a longer pulse. I was hoping that my 2nd order polynomial fit, performed around the pulse peak, also might help. Presumably a peak caused by the overlap of two pulses won't be as "nice" in terms of the goodness of fit. But, given the noise levels I'm seeing, I'm starting to think that my polynomial fit may not buy me much in that regard. One problem with the fitting routine is that my ADC sample rate is slow enough to limit the number of samples around the peak. I'm using 10 samples at this point. A 1MSPS ADC would more than double that number of samples, plus the ADC resolution would be much better. The Teensy ADC's ENOB is around 10 bits.
Its a bummer that the newer Teensy 4.x has only 10 bit ENOB. To be honest though, the 3.x chips aren't hugely better. They might have 10.5-11 bits. Based on my Doppler chronograph, it was about 66 dB dynamic range on an M4. I think Teensy 3.5 is an Arm M4 processor.