Hi,
I have an application in which I need to sense voltage from 0-1.8 mV from pressure sensor. I am using PGA (32x) and 12bit ADC inside MC9S08MP mcu. So far everything works ok except ADC measurements are not so stable. I am using software averaging to get more stable results. My question here is simple:
How to initialize ADC and PGA to get the best possible accuracy and stable results? Are there any tricks with this peripherals? The mcu bus frequency is 1MHz max.
Best regards,
Florijan
解決済! 解決策の投稿を見る。
Hello Florijan,
The gain available from the PGA would seem to be unsufficient - the output from the PGA will increase the analog level to about 1.7 percent of full scale. This would produce a maximum count of 71, giving an effective ADC resolution of about 6 bits. The inclusion of an external low noise preamplifier, with a gain of 50, would improve the results.
The effectiveness of your averaging process will be influenced by the number and timing of the individual readings. If some of the fluctuation is due to the presence 50 Hz mains hum components, the readings should be taken over a 20 millisecond period, or a multiple, to average out the hum.
Regards,
Mac
Hello Florijan,
The gain available from the PGA would seem to be unsufficient - the output from the PGA will increase the analog level to about 1.7 percent of full scale. This would produce a maximum count of 71, giving an effective ADC resolution of about 6 bits. The inclusion of an external low noise preamplifier, with a gain of 50, would improve the results.
The effectiveness of your averaging process will be influenced by the number and timing of the individual readings. If some of the fluctuation is due to the presence 50 Hz mains hum components, the readings should be taken over a 20 millisecond period, or a multiple, to average out the hum.
Regards,
Mac