But, I don't know if the frequency modulation would help or hurt the filtering. Though, it is certainly much more computationally intensive.
Also, how was the 9.6 kHz frequency obtained? Was it because the analog circuit is less ideal at higher frequencies, or due to computational concerns?
Hello Nathan,
I guess with frequency modulation (which is usually in the 1-2% range similar to the 1% frequency jitter what I had when trying the internal R/C oscillator) we get the same result as with the internal R/C-Oscillator where I had > 70uVpp noise and instable voltage readings.
So I would say it hurts.
But of cause it depends.
I personally would never use a CPU with PLL or spread spectrum in this application. (except if you can do the frequency change exactly at the full PWM period times).
The ~10 kHz PWM is a design decision from adver, see also
https://www.eevblog.com/forum/metrology/lm399-based-10-v-reference/msg1955149/#msg1955149I personally would go lower in PWM-frequency exactly for that reason.
On the other side: with my cirquit I had the lowest T.C. with the 20 MHz XTAL (so with 9.7 kHz PWM frequency) -> strange.
As the ripple measurements / simulations have shown: with a lower PWM frequency you will have also to improve the filter cirquit.
But there are limits: the 3*100k resistors are already at a value which is above that what you would want to have at the input of a LTC2057. (max around 70K). And good quality foil capacitors are rare to get above 10uF.
So I will make next some T.C. measurements at different frequencies to see if there is a "sweet spot" together with the ADG419.
The resulting errors are the lower the lower the initial T.C. is. (Because the temperature sensor is never at the place where it should be and thus measures not the exact temperature what you would need for the compensation).
By the way: with the 2.45 MHz X-TAL I am now at 4.7 mA without sleep mode and at 4.1 mA with sleep mode.
So the analog part of the cirquit draws obviously the most current.
with best regards
Andreas