Other Parts Discussed in Thread: TL074
Hello,
We´re trying to determine the optimum sample and hold time for the ADC of the TMS320F28377s microcontroller.
We´re using the ADC in 12-bit single ended mode. According to the documentation the sample and hold can be determined using a RC model where the following parameters depend on the microcontroller:
- n = 12
- RON = 425 Ω
- Ch = 14.5 pF
- Cp = depends on the channel
and the following parameters depend on the application:
- Error = ¼ LSB
- Rs = ADC driving circuitsource impedance(in Ohms)
- Cs = capacitance on ADC input pin (in pF)
For my application I´ve made the following calculations and considered the following values:
- n = 12
- RON = 425 Ω
- Ch = 14.5 pF
- Cp = 12.9 pF
- Error = 0.25
- Rs = 450 Ohm (this comes from the output impedance of the Op. Amp we´re using (TL074ID) plus a series resistor of 240R)
- Cs = This depends on the filter we use with the 240R resistor in the input pin of the ADC.
If Cs = 0 (no filtering at all) and considering the Cp specified for ADCINA0 I get a minimum 181,61 ns Sample and Hold time
If Cs = 2.2 nF so the cutt of freq of my filter is 300 kHz I get a minimum S+H time of 4,715 us (which is too much for our application).
The thing is that we´ve been running some tests and if we don´t place any capacitor at the input pin of the ADC (in order to have the minimum S+H times possible) readings of the ADC are not good. We´ve seen over and undershoots and it takes long time for the signal to settle (way more than 180 ns). Precision of the ADC in this conditions is not good.
When installing a filter prior to the ADC input (for example a 240R / 2.2nF filter) signal and captures of the ADC seem to be much more precise and stable, even with 75 ns sample and hold times. Also precision of the ADC is good and we dont see any over or undershoots in the input.
Am I doing the calculations ok or am I missing someting?
How can we avoid this under and overshooting in the ADC input without increasing the S+H time?
Why do I have better results with a 300 kHZ filter even with 75 ns S+H times?
Thanks in advance.