Professional Documents
Culture Documents
This modified Wien-Bridge oscillator has three output stateshigh, low, and oscillation
that depend on the input voltage. It drives a bi-color LED to provide a visual indication of the
inputs relationship to upper and lower thresholds.
This Idea for Design provides a visual indication of an input voltages relationship to upper and
lower threshold values and can be used as a quick pass/marginal/fail tester. It uses a modified
Wien-Bridge oscillator structure to create an op-amp circuit with three output modes (Fig. 1).
With the input voltage VIn above a first threshold voltage, the op amp is in a high-voltage output
mode. With input below a second voltage threshold, the op amp is in a low-voltage output mode.
For an input voltage between the two thresholds, the op-amp output oscillates between its high
and low output values.
Oscillation also means the op-amp circuit will be alternately a current source and a current sink.
Connecting a single package bi-color green/red LED to the op-amp output thus provides a visual
indication of the input voltage. The bi-color LED has a green LED with an opposite polarity
from the red LED. So when the op amp is sourcing current (high output mode), the green LED
will be on, and when the op amp is sinking current (low output mode), the red LED will be on.
For input voltages in the window between the thresholds, the oscillating output will alternately
light each LED. The oscillation is fast enough, however, that the bi-color LED will appear to the
eye not as two blinking lights but as a single, steady light of a yellowish color. Because the
oscillators duty cycle varies with input voltage, the ratio of red to green light being emitted
hence the exact shade of yellow seenwill depend upon the input voltage.
With an input voltage at the high end of the op-amp oscillation window, the duty cycle will be
close to 100% and the light from the bi-color LED will appear a yellow-green color. At the low
end, the duty cycle will be close to 0% and the light emitted will appear red-orange. In the
middle of the oscillation window the light will appear pure yellow.
The two stable conditions for the circuit occur when VIn is high enough that the op amp drives to
and stays at its maximum output value or is low enough that the op amp drives to and stays at its
minimum output value. The thresholds for these stable conditions occur when the voltage at VSet
is such that there is zero current through the op amps inverting input. At a threshold point, then:
Current through the green LED as a function of VIn appears in Figure 2b.
The green LED is on when VIn is above 4.34 V and off when VIn is below 3.15 V, and it flashes
on and off between the two voltages, as calculated. Measurements show that the oscillations
duty cycle is 79% at the beginning and 18% at the end of the oscillation window. The current
through the red LED has the opposite polarity of the green LED and so is on when the green
LED is off.
Resistors R6, R7, and R8 serve as current limiters and are based on the specifications of the
Stanley Electric BRPG1204W bi-color LED used here. The op amp was selected for its ability to
operate with input voltage and supply ranging up to 44 V, which makes the circuit useful over a
large voltage range. The current limiting resistors will have to be scaled appropriately, though, so
they dont overdrive the bi-color LED.