Dynamic Range Centering: The op
amp outputs must remain centered within the ADC's input range to maximize resolution and
avoid clipping, especially when DC drift is present.
Gain Selection and Stability:
Proper gain settings for each stage are crucial to maintain the input signal is amplified
enough for accurate detection without pushing the signal into saturation.
EMA Filter Responsiveness: The
exponential moving average filter must be tuned to track slow DC drift effectively while
ignoring the AC signal and high-frequency noise.
Sampling Rate Control: The timer
must be configured to regulate how often signal measurements occur. The rate must be fast
enough to track drift in real time, yet slow enough to avoid reacting to high-frequency
content or causing unnecessary DAC updates.