MPMC PRJ Report
MPMC PRJ Report
TECHNOLOGY
Electronics and
Communications Engineering
ECLR13 MICROPROCESSOR
AND MICROCONTROLLER
LABORATORY
LAB PROJECT:
Power Failure Detection Circuit
SUBMITTED BY:
KUNAL HINDUJA 108121062
ANIKET TIWARI 108121018
PRINCE KUMAR 108121096
SUBMITTED TO:
DR. SRINIVASULU JOGI
Introduction:
Necessity:
A power detection circuit is an important component in many
electrical and electronic systems. Its main purpose is to detect the
presence and level of electrical power in a circuit, and to trigger other
components or circuits based on this information. Here are a few
reasons why a power detection circuit may be necessary:
Safety:
A power detection circuit can be used to ensure that a device or
system is not powered up unless the power supply is at a safe level.
For example, a power detection circuit can prevent a device from
turning on if the power supply voltage is too high, which could damage
the device or cause a safety hazard.
Efficiency: A power detection circuit can be used to optimize the
power consumption of a device or system. For example, a power
detection circuit can trigger a low-power mode when the power supply
voltage drops below a certain level, which can help to extend the
battery life of a device.
Fault detection: A power detection circuit can be used to detect faults
in a circuit or system. For example, a power detection circuit can
detect if a fuse has blown or if a circuit breaker has tripped, and
trigger an alarm or shut down the system to prevent damage.
Power sequencing: A power detection circuit can be used to sequence
the power-up or power-down of multiple components or circuits. For
example, a power detection circuit can delay the start of a high-power
motor until the power supply voltage has stabilized, to prevent
damage to the motor.
Components:
The main components required for the circuit are:
● Transformer: A transformer is an electrical device that is
used to convert high voltage AC power to low voltage AC
power or vice versa. For the power failure detection circuit,
a step-down transformer can be used to convert the high
voltage AC power to low voltage AC power.
● 8051 Microcontroller: The 8051 microcontroller is a popular
microcontroller that is widely used in embedded systems. It
is a low-power, high-performance microcontroller that has a
wide range of applications.
org 00h
go:
setb P0.0
mov scon,#50h
mov tmod,#20h
mov th1,#0fdh
setb tr1
jb P0.0,tlab
jnb P0.0,tlab1
acall delay
acall delay
acall delay
sjmp go
tlab:
mov A,#"P" ;printing pow on virtual terminal
acall trans
mov A,#"O"
acall trans
mov A,#"W"
acall trans
mov A,#"-"
acall trans
sjmp go
tlab1:
mov A,#"N" ;printing npow on virtual terminal
acall trans
mov A,#"O"
acall trans
mov A,#"P"
acall trans
mov A,#"-"
acall trans
sjmp go
Conclusion:
In conclusion, the power failure detection circuit using an 8051
microcontroller and transformer is a reliable and cost-effective
solution to detect power outages and prevent damage to electrical
equipment. The circuit design is simple and can be implemented
easily with the help of basic electronic components. The circuit can
also be further developed to add more features like battery backup,
data logging, and wireless communication to enhance its functionality.