Patent ID: 8638048

Claim:
A circuit for determining an average value of a quasiperiodic signal, the circuit comprising: an integrator; an integrator gating element configured to controllably hold the state of the integrator; an integrator gating element controller configured to provide a gating control signal to the integrator gating element such that the gating control signal has a signal period which is dependent on the signal period of the quasiperiodic signal; a sample and hold circuit coupled to an output of the integrator, wherein the sample and hold circuit comprises a sample and hold circuit output; a feedback path coupled to the sample and hold circuit output and configured to feedback the signal provided at the sample and hold circuit output as a feedback signal; a subtractor configured to form a difference signal representing the difference between the quasiperiodic signal and the feedback signal; wherein an output of the subtractor is coupled to an input of the integrator to thereby provide the difference signal to the input of the integrator.