I am designing a Teensy 3.2 board to measure up to 6 cells of a LiPo battery under DC load. I would like to measure the voltages of the 6 cells within 1 ms or less, as the battery will be under load and I want to capture the cell voltages at the "same" time during the discharge curve. Tentatively, I am looking at a hardware design using 6 difference amplifiers (one for each cell) followed by 6 precision voltage dividers (10k/10k with 0.1 uF). The output of the voltage dividers would be input to 6 of the ADC inputs. I plan to use a LM4040 external 2.5 V reference as I desire to achieve a measurement accuracy of a few mV for a 4.2 V cell (ok maybe it's a bit more given all the tolerances). My end goal is an accurate measurement of internal resistance of each cell. I have looked at the ADC library and tutorial references, which are quite helpful, but have a few questions as this is my first Teensy project:
1. Does the Teensy have a low-noise mode or low-power mode that would halt portions of the processor to reduce noise in ADC conversion?
2. Are all ADC inputs essentially identical or are some noted to be less noisy than others? (I only want to use the pins and not the pads on the backside of the Teensy 3.2.)
3. Should I use only one of the internal ADC modules? Is their accuracy driven by the external reference (so the accuracy of the two would be essentially identical) or would it be advantageous to use both to achieve a faster overall conversion time?
4. I plan to set the averaging number to 32 and ADC resolution to 12 bits (not 16 bits since I am averaging and to achieve a faster conversion time). I am familiar with dithering to improve accuracy in zero-bias random noise. Does this seem like the right tradeoff given the ADC has a ENOB of 12 bits? I may do additional measurements and averaging to further improve accuracy.
5. I am most unsure about sample and conversion times. Since I am looking at essentially a DC signal and desire fast overall conversion time, I believe I should set sample and conversion times to fast? What is the best tradeoff between accuracy and conversion time for measuring multiple DC signals?
6. Any other issues I should be concerned about?
Thanks for any inputs and suggestions ...
1. Does the Teensy have a low-noise mode or low-power mode that would halt portions of the processor to reduce noise in ADC conversion?
2. Are all ADC inputs essentially identical or are some noted to be less noisy than others? (I only want to use the pins and not the pads on the backside of the Teensy 3.2.)
3. Should I use only one of the internal ADC modules? Is their accuracy driven by the external reference (so the accuracy of the two would be essentially identical) or would it be advantageous to use both to achieve a faster overall conversion time?
4. I plan to set the averaging number to 32 and ADC resolution to 12 bits (not 16 bits since I am averaging and to achieve a faster conversion time). I am familiar with dithering to improve accuracy in zero-bias random noise. Does this seem like the right tradeoff given the ADC has a ENOB of 12 bits? I may do additional measurements and averaging to further improve accuracy.
5. I am most unsure about sample and conversion times. Since I am looking at essentially a DC signal and desire fast overall conversion time, I believe I should set sample and conversion times to fast? What is the best tradeoff between accuracy and conversion time for measuring multiple DC signals?
6. Any other issues I should be concerned about?
Thanks for any inputs and suggestions ...