I'm trying to design a Dual slope integrator for a digital power meter,the problem i'm facing is that i dont quite understand how the dual slope integrator works.
I know that it uses a fixed period of time to charge a capacitor with an unknown voltage and then uses a negative reference voltage to discharge it whilst tiiming the run down.
I know that it uses a fixed period of time to charge a capacitor with an unknown voltage and then uses a negative reference voltage to discharge it whilst tiiming the run down.
- What i don't get is whether the fixed period of charging is determined by the RC network or by the controller?
- I know once the run down phase begins,the controller counts the number clock pulses coming in,and then obtains the run down period from that,Its the whole resolution and sampling rate part i do not understand.
- How do you change the whole thing so that you'll measure current?Do you do it in the microcontroller or