This circuit utilizes a triangle wave generator and comparator to generate a 500 kHz pulse-width modulated (PWM) waveform with a duty cycle that is inversely proportional to the input voltage. An op amp and comparator generate a triangle waveform which is applied to the inverting input of a second comparator. The input voltage is applied to the non-inverting input of this second comparator. By comparing the input waveform to the triangle wave, a PWM waveform is produced. The second comparator is placed in the feedback loop of an error amplifier to improve the accuracy and linearity of the output waveform.
Features
- 5V Single supply with half-supply reference
- Input: -2V to 2V
- Output: 0V to 5V