Showing posts with label ranges. Show all posts
Showing posts with label ranges. Show all posts
Thursday, April 4, 2013
Simple Circuit Detects Voltage Over Ranges
Sometimes, a visual indication of whether a sensed voltage is above or below its nominal value can be useful. Most approaches to over voltage or under voltage sensing use two voltage comparators and a resistor divider to form a window comparator. The circuit in Figure 1a is an alternative to the traditional window-comparator approach. It provides different-color indications if the sensed voltage is above or below the preset value; in this case, it is centered around 0V.
The circuit uses a FET-input, low-offset-voltage OPA124 op amp and a dual-color LED. The forward voltages for the red and green LED sections are 2 and 2.1V, respectively. The values of the op-amp feedback resistors R1 and R2 are such that the op amps closed-loop gain, 1+R2/R1, equals VLED/VWIN, where VWIN is the desired positive or negative window threshold. Thus, whenever the input voltage, VIN, exceeds ±VWIN in magnitude, the op-amp stage supplies a voltage that turns on the corresponding LED. When VIN>+VWIN, the red LED turns on; when VIN<–VWIN, the green LED turns on. Whenever –VWIN
For input voltages greater than 0V, the op amp produces a negative voltage and Q1 turns off. The ratio of R2 and R1 sets the op-amp gain, and the output clamps at the on-state voltage of the green LED, approximately –2.1V. For input voltages lower than 0V, Q1 turns on once the op amps output exceeds the threshold voltage of Q1. In this case, the ratio of R1 and the parallel combination of R2 and R3 sets the op-amp gain, and the maximum output voltage is the on-state voltage of the red LED, 2V. Resistor R4 again serves as a current limiter for the LEDs. The relationship between the resistor values and the positive and negative window voltages is given by the following equations. For simplicity, we use only the positive magnitude of the voltages, and we neglect the difference between the forward voltages of the red and green LEDs.
Subscribe to:
Posts (Atom)