uC 5V Power Supply Voltage Monitoring

This circuit is a very simple voltage monitoring device for +5V VCC supply lines. It can be used to monitor the power supply of a microcontroller (uC) by indicating when the supply level raises above a pre-defined value.

The output of the circuit can interface directly to digital logic, reset the microcontroller or turn off the connected microcontroller circuitry before it goes toasted owing to an improper power supply voltage. The ‘proof of concept’ is verified using the eternal single supply dual operational amplifier LM393. However, feel free to try other possible alternatives like LM2903, LM193, etc. The LM393 consist of two independent voltage comparators that are designed to operate from a single supply over a wide range of voltages (2V-36V). The outputs can be connected to other open-collector outputs to achieve wired-AND relationships.

5V Power Supply

The comparator compares two voltages, IN1 at the inverting (–) input and IN2 at the inverting (+) input. When IN2 < IN1, the comparator output is pulled Low, i.e. to GND, almost. When IN2 > IN1, the output is driven High, i.e. to nearly the positive rail voltage. The 2.4 V zener diode (ZD1) and the 470 Ω resistor (R1) form a shunt voltage regulator used to set up a reference voltage (IN1) of 2.4V at the inverting input. The 10K multi-turn preset potentiometer (P1) enables IN2 at the non inverting input to be set below the 2.4V threshold when the supply voltage (VCC) is at 5V.

The output of the comparator LM393 (IC1) will then be driven Low, consequently the PMOS -FDN340P (T1) is turned on also. Now the input supply is extended to the rest of the circuit through the PMOS. However, when VCC exceeds 5V, IN2 goes above the level of IN1. This causes the comparator output to be driven to the positive supply voltage. This causes the PMOS to turned off.

5V Power Supply
Today’s microcontroller-based projects may require both +5V and + 3.3V VCC lines. Fortunately, circuit explained above uses only one comparator from the LM393 package. Hence interested hobbyists can build an identical circuit for +3.3V VCC supply lines using the ‘free’ comparator. Since almost all components used in this circuit is available in ‘chip’ form, it is easy for an experienced hobbyist to make the whole circuit as a little plug ‘n’ play module with the help of inexpensive smd components. Like the comparator IC, part number of the PMOS is not very critical so there is a way to use suitable alternative p-channel mosfets in lieu of the type used here.

Lab Note:
(voltages measured at various points of the prototype in normal state)
  • VCC: +5V (applied from an external lab power supply)
  • GND: 0V
  • Pin 2 of IC1: +2.4V (fixed)
  • Pin 3 of IC1: +2.2V ( variable; based on the actual setting of P1)
  • TP1 (Pin 1 of IC1): Low (L) – Level

Share this article

0 comments:

Post a Comment

 
Copyright © 2019 W3circuits.blogspot.com • All Rights Reserved.
back to top