Patent ID: 8922287

Claim:
An electronic circuit, comprising: oscillator circuitry configured to produce a periodic signal; and control circuitry operably coupled to the oscillator circuitry, the control circuitry including switched capacitor circuitry configured to determine a difference between maximum and minimum peak voltage values of the periodic signal, the control circuit configured to control a voltage amplitude of the periodic signal based upon the difference, the switched capacitor circuitry including a first capacitor configured to store a first electrical charge proportional to a maximum voltage value of the periodic signal during a first time interval, a second capacitor configured to store a second electrical charge proportional to a minimum voltage value of the periodic signal, a third capacitor having a first plate and a second plate, the first plate configured to store the first electrical charge and the second plate configured to store the second electrical charge during a second time interval following the first time interval, and a fourth capacitor configured to store a difference between the first electrical charge and the second electrical charge relative to a supply voltage during a third time interval following the second time interval.