SlideShare a Scribd company logo
1 of 13
Smart under and over voltage
protection system for home
Represented by : Shuvadip das
id : 021141086
course: energy conversion lab
sec: c
Introduction :
• This project is designed which automatically turn on and turn off main power supply in case of
issue in AC main power supply and on one need to control it manually
• It is designed to insure protection of home devices like fan, light lamps, television, refrigerator
and all other things you need to protect in case of under and over voltage in main supply
• Microcontroller is embedded into this system to make it smart enough to handle all the issues
intelligently and to provide control signals to turn on and off AC main power supply.
Component description :
• Voltage sensor :
Voltage sensor is used to measure voltage of AC main power supply. Voltage sensor is used difference amplifier to to step down
voltage level from 220 volt AC to 2.8 volt AC or 311 volt peak of AC voltage to 3.96 volt of peak voltage of sine wave.
Difference amplifier is used as a signal conditioning circuit to convert high voltage of AC main supply into low voltage which
microcontroller can easily read. Because microcotroller analog to digital converter can not read voltage more than 5 volt and
voltage more than 5 volt damage microcontroller.
• High speed relay :
Relay is used to turn on and turn off main power supply. Relay get control signal from microcontroller through a transistor.
Diode is use in parallel with coil pin of relay to avoid sparking in case of back emf. Because coil is made of inductive material.
Selection of relay depends on load of your home. For example maximum load of your home devices is 10 ampere. So should use
10 ampere relay. Another important thing while selecting relay for this circuit is switching speed of relay. Your relay speed
should be as fast as possible. Because more the switching speed of relay, more protection it will provide to your devices by
turning them on or off in minimum possible time.
Component description : (continued)
• Liquid crystal Display :
LCD is used to display value of voltage and status of your power supply. If AC voltage of main
power supply is greater than 20% of normal operating voltage, LCD display ” fault occur”. Otherwise
LCD display ” No fault”. LCD also displays value of AC main voltage supply.
• Voltage regulators :
7805 and 7812 is used to get regulated 5 and 12 volt which is supply voltage for microcontroller
and relay respectively. 220 to 12 volt step down transformer and rectifier full bridge is used to
produce DC voltage which is input of voltage regulators.
Circuit Diagram :
Circuit Diagram : ( description)
• Circuit diagram of under and over voltage protection system is shown below. I
have used just a lamp for simulation in this circuit. But you should connect this
circuit at main panel of your home from where AC main power supply
connections have taken for your home devices. Circuit diagram below shows
when voltage is 220 volt AC or less than of normal operating voltage lamp is on
and relay is working. Because relay is used as normally closed mode. But when
voltage become greater than or less than normal operating voltage it will turn
off relay in minimum possible time and relay in return turn off main AC power
to ensure safety of devices.
AVR Code :
#include <avr/io.h>
#include "LCD.c"
void InitADC() {
ADMUX=(1<<REFS0)|(0<<REFS1); // For internal vref=2.5V;
ADCSRA=(1<<ADEN)|(1<<ADPS2)|(1<<ADPS1)|(1<<ADPS0);
//Rrescalar div factor =128
}
uint16_t ReadADC(uint8_t ch) { //Select ADC Channel ch must be 0-7
ch=ch&0b00000111;
ADMUX|=ch;
//Start Single conversion
ADCSRA|=(1<<ADSC);
//Wait for conversion to complete
while(!(ADCSRA &
(1<<ADIF)));
//Clear ADIF by writing one to it
//Note you may be wondering why we have write one to
clear it
//This is standard way of clearing bits in io as said in
datasheets.
//The code writes '1' but it result in setting bit to '0' !!!
ADCSRA|=(1<<ADIF);
return(ADC);
}
void Wait() {
uint8_t i;
for(i=0;i<20;i++)
_delay_loop_2(100);
}
float voltage_READ(void)
{
float max,v;
int i;
float t[40];
for(i=0; i<=39; i++)
{
v= ReadADC(0); //Digital value convert
v =v*(5.0/1023.0);
//v=(v-5.0);
t[i]=v;
}
//ADCSRA|=(0<<ADSC);
max=t[0];
for(i=0; i<=39; i++)
{
if(max<t[i])
max=t[i];
}
max=max*300/3.871;
lcd_gotoxy(1,2);
lcd_printf(max);
lcd_print(" V");
_delay_ms(1000);
return(max);
}
void main()
{ PORTA=0xFF;
DDRD=0xFF;
float adc_result,result,v;
int adc_int[40];
int max,i,adc;
//Initialize LCD
lcd_init();
//lcd_clear();
//Initialize ADC
InitADC();
//Put some intro text into LCD
lcd_gotoxy(0,1);
lcd_print(" LOAD PROTECTION");
while(1)
{
//Lcd_out(1,1, "Voltage:");
_delay_us(10);//for avoiding spike problem
result=voltage_READ();
if (result>250)
{PORTD=0xFF;
}
if(result<250)
{PORTD=0x00;}
}
}
Modification
We can also add more functionality
in this project by adding GSM to
send value and status of AC main
power supply to your home cell
number
Thank you

More Related Content

What's hot

final year project report
final year project reportfinal year project report
final year project reportAnuj Kumar
 
Power electronics Introduction
Power electronics   IntroductionPower electronics   Introduction
Power electronics IntroductionBurdwan University
 
automatic street light
automatic street lightautomatic street light
automatic street lightAnish Anand
 
Automatic street light control using LDR.
Automatic street light control using LDR.Automatic street light control using LDR.
Automatic street light control using LDR.Fazlur Rahman
 
220 kv Sub-station Summer Training ppt
220 kv Sub-station Summer Training ppt220 kv Sub-station Summer Training ppt
220 kv Sub-station Summer Training pptShubham Patel
 
3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptxKrishna2017
 
Industrial summer training on 220 kv substation ppt
Industrial summer training on 220 kv substation pptIndustrial summer training on 220 kv substation ppt
Industrial summer training on 220 kv substation pptAshutosh Srivastava
 
220 KV Substation Operation & Maintenance
220 KV Substation Operation & Maintenance220 KV Substation Operation & Maintenance
220 KV Substation Operation & MaintenanceHimansu Pradhan
 
Automatic street light control using ldr PPT
Automatic street light control using ldr PPTAutomatic street light control using ldr PPT
Automatic street light control using ldr PPTSABIR ALI MOLLAH
 
Voltage sag and it’s mitigation
Voltage sag and it’s mitigationVoltage sag and it’s mitigation
Voltage sag and it’s mitigationMayur Dhande
 
Protection of transmission lines(encrypted)
Protection of transmission lines(encrypted)Protection of transmission lines(encrypted)
Protection of transmission lines(encrypted)Rohini Haridas
 
Presentation on 132/33 KVSubstation Training
Presentation on 132/33 KVSubstation Training Presentation on 132/33 KVSubstation Training
Presentation on 132/33 KVSubstation Training Sakshi Rastogi
 
Non contact ac tester project report
Non contact ac tester project reportNon contact ac tester project report
Non contact ac tester project reportprasenjitsamanta2
 
POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION moiz89
 
33/11 kV substation (u.p.p.c.l.)
33/11 kV substation (u.p.p.c.l.)33/11 kV substation (u.p.p.c.l.)
33/11 kV substation (u.p.p.c.l.)Prateek Agarwal
 
220KV Substation Training Report
220KV Substation Training Report220KV Substation Training Report
220KV Substation Training ReportSWAPNILKUMARGUPTA
 
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISM
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISMOVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISM
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISMsaigoud8121
 
Automatic street light control system
Automatic street light control systemAutomatic street light control system
Automatic street light control systemmundaa
 

What's hot (20)

132 kv gss
132 kv gss132 kv gss
132 kv gss
 
final year project report
final year project reportfinal year project report
final year project report
 
Power electronics Introduction
Power electronics   IntroductionPower electronics   Introduction
Power electronics Introduction
 
distance relay
distance relaydistance relay
distance relay
 
automatic street light
automatic street lightautomatic street light
automatic street light
 
Automatic street light control using LDR.
Automatic street light control using LDR.Automatic street light control using LDR.
Automatic street light control using LDR.
 
220 kv Sub-station Summer Training ppt
220 kv Sub-station Summer Training ppt220 kv Sub-station Summer Training ppt
220 kv Sub-station Summer Training ppt
 
3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx3 phase Transmission Line fault detector edit 1-3.pptx
3 phase Transmission Line fault detector edit 1-3.pptx
 
Industrial summer training on 220 kv substation ppt
Industrial summer training on 220 kv substation pptIndustrial summer training on 220 kv substation ppt
Industrial summer training on 220 kv substation ppt
 
220 KV Substation Operation & Maintenance
220 KV Substation Operation & Maintenance220 KV Substation Operation & Maintenance
220 KV Substation Operation & Maintenance
 
Automatic street light control using ldr PPT
Automatic street light control using ldr PPTAutomatic street light control using ldr PPT
Automatic street light control using ldr PPT
 
Voltage sag and it’s mitigation
Voltage sag and it’s mitigationVoltage sag and it’s mitigation
Voltage sag and it’s mitigation
 
Protection of transmission lines(encrypted)
Protection of transmission lines(encrypted)Protection of transmission lines(encrypted)
Protection of transmission lines(encrypted)
 
Presentation on 132/33 KVSubstation Training
Presentation on 132/33 KVSubstation Training Presentation on 132/33 KVSubstation Training
Presentation on 132/33 KVSubstation Training
 
Non contact ac tester project report
Non contact ac tester project reportNon contact ac tester project report
Non contact ac tester project report
 
POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION POWER SYSTEM PROTECTION
POWER SYSTEM PROTECTION
 
33/11 kV substation (u.p.p.c.l.)
33/11 kV substation (u.p.p.c.l.)33/11 kV substation (u.p.p.c.l.)
33/11 kV substation (u.p.p.c.l.)
 
220KV Substation Training Report
220KV Substation Training Report220KV Substation Training Report
220KV Substation Training Report
 
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISM
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISMOVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISM
OVER VOLTAGE UNDER VOLTAGE TRIPPING MECHANISM
 
Automatic street light control system
Automatic street light control systemAutomatic street light control system
Automatic street light control system
 

Viewers also liked

Flywheel Energy Storage
Flywheel Energy StorageFlywheel Energy Storage
Flywheel Energy Storagemichaeljmack
 
03 ptcc under over voltage protection
03 ptcc under over voltage protection03 ptcc under over voltage protection
03 ptcc under over voltage protectionduytn1
 
Microcontroller based multifunction_relay
Microcontroller based multifunction_relayMicrocontroller based multifunction_relay
Microcontroller based multifunction_relayRajeev Kumar
 
Protection against overvoltages
Protection against overvoltagesProtection against overvoltages
Protection against overvoltagesMaryam Nawaz
 
Flywheel in automobile
Flywheel in automobileFlywheel in automobile
Flywheel in automobileK C KARTHIK
 
Flywheel Energy Storage System
Flywheel Energy Storage SystemFlywheel Energy Storage System
Flywheel Energy Storage SystemHarshal Bhatt
 
Hybrid wind-solar Power generation system
Hybrid wind-solar Power generation systemHybrid wind-solar Power generation system
Hybrid wind-solar Power generation systemShivam Joshi
 
Flywheel Energy Storage Systeems
Flywheel Energy Storage SysteemsFlywheel Energy Storage Systeems
Flywheel Energy Storage SysteemsAvinash Sengar
 
Flywheel Energy Storage System
Flywheel Energy Storage SystemFlywheel Energy Storage System
Flywheel Energy Storage SystemSeminar Links
 
Electrical Engineering Presentation
Electrical Engineering PresentationElectrical Engineering Presentation
Electrical Engineering Presentationjoe2002
 
Solar wind hybrid power system ppt
Solar wind hybrid power system pptSolar wind hybrid power system ppt
Solar wind hybrid power system pptVihar Modi
 

Viewers also liked (16)

Flywheel Energy Storage
Flywheel Energy StorageFlywheel Energy Storage
Flywheel Energy Storage
 
03 ptcc under over voltage protection
03 ptcc under over voltage protection03 ptcc under over voltage protection
03 ptcc under over voltage protection
 
Microcontroller based multifunction_relay
Microcontroller based multifunction_relayMicrocontroller based multifunction_relay
Microcontroller based multifunction_relay
 
Protection against overvoltages
Protection against overvoltagesProtection against overvoltages
Protection against overvoltages
 
Flywheels- An Alternative Energy Storage Method
Flywheels- An Alternative Energy Storage MethodFlywheels- An Alternative Energy Storage Method
Flywheels- An Alternative Energy Storage Method
 
Electrical Projects
Electrical ProjectsElectrical Projects
Electrical Projects
 
Flywheel in automobile
Flywheel in automobileFlywheel in automobile
Flywheel in automobile
 
Flywheel Energy Storage System
Flywheel Energy Storage SystemFlywheel Energy Storage System
Flywheel Energy Storage System
 
Password Based Circuit Breaker
Password Based Circuit BreakerPassword Based Circuit Breaker
Password Based Circuit Breaker
 
Hybrid wind-solar Power generation system
Hybrid wind-solar Power generation systemHybrid wind-solar Power generation system
Hybrid wind-solar Power generation system
 
Ppt fly wheel- navin kohli
Ppt  fly wheel- navin kohliPpt  fly wheel- navin kohli
Ppt fly wheel- navin kohli
 
Flywheel Energy Storage Systeems
Flywheel Energy Storage SysteemsFlywheel Energy Storage Systeems
Flywheel Energy Storage Systeems
 
Flywheel Energy Storage System
Flywheel Energy Storage SystemFlywheel Energy Storage System
Flywheel Energy Storage System
 
Electrical Engineering Presentation
Electrical Engineering PresentationElectrical Engineering Presentation
Electrical Engineering Presentation
 
Solar wind hybrid power system ppt
Solar wind hybrid power system pptSolar wind hybrid power system ppt
Solar wind hybrid power system ppt
 
Build Features, Not Apps
Build Features, Not AppsBuild Features, Not Apps
Build Features, Not Apps
 

Similar to Smart under and over voltage protection system for

Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Boxncct
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlleDharmaraj Morle
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLshiv kapil
 
Speed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 ICSpeed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 ICDisha Modi
 
Power sources complete
Power sources completePower sources complete
Power sources completeAnand Kumar
 
Report on minor project
Report on minor projectReport on minor project
Report on minor projectAnil Maurya
 
Power Supply
Power SupplyPower Supply
Power SupplyAshish KC
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuitsivan ion
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter docPrem Kumar
 
IRJET- Technique to Prevent Power Theft Losses using Static Device
IRJET-  	  Technique to Prevent Power Theft Losses using Static DeviceIRJET-  	  Technique to Prevent Power Theft Losses using Static Device
IRJET- Technique to Prevent Power Theft Losses using Static DeviceIRJET Journal
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYGaurav Singh
 
File 1389427052
File 1389427052File 1389427052
File 1389427052Aman_preet
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller richa1910n
 
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...Premier Farnell
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisationmanogna gwen
 

Similar to Smart under and over voltage protection system for (20)

Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
Automatic temperature base fan controlle
Automatic temperature base fan  controlleAutomatic temperature base fan  controlle
Automatic temperature base fan controlle
 
AUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROLAUTOMATIC WIRELESS POWER GRID CONTROL
AUTOMATIC WIRELESS POWER GRID CONTROL
 
Speed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 ICSpeed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 IC
 
Self Switching Power Supply
Self Switching Power SupplySelf Switching Power Supply
Self Switching Power Supply
 
Power sources complete
Power sources completePower sources complete
Power sources complete
 
5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT5 FINAL PROJECT REPORT
5 FINAL PROJECT REPORT
 
Report on minor project
Report on minor projectReport on minor project
Report on minor project
 
Power Supply
Power SupplyPower Supply
Power Supply
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuits
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
IRJET- Technique to Prevent Power Theft Losses using Static Device
IRJET-  	  Technique to Prevent Power Theft Losses using Static DeviceIRJET-  	  Technique to Prevent Power Theft Losses using Static Device
IRJET- Technique to Prevent Power Theft Losses using Static Device
 
Automatic irrigation system
Automatic irrigation systemAutomatic irrigation system
Automatic irrigation system
 
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCYAUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
AUTOMATIC GRID ON SENSING BAD VOLTAGE OR FREQUENCY
 
File 1389427052
File 1389427052File 1389427052
File 1389427052
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
A010420117
A010420117A010420117
A010420117
 
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
ISL6257: Highly Integrated Battery Charger Controller for Li-Ion/Li-Ion Polym...
 
Grid synchronisation
Grid synchronisationGrid synchronisation
Grid synchronisation
 
Ncp1032 d
Ncp1032 dNcp1032 d
Ncp1032 d
 

Recently uploaded

Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxhumanexperienceaaa
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Serviceranjana rawat
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).pptssuser5c9d4b1
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝soniya singh
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...ranjana rawat
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130Suhani Kapoor
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxpranjaldaimarysona
 

Recently uploaded (20)

Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCRCall Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
Call Us -/9953056974- Call Girls In Vikaspuri-/- Delhi NCR
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptxthe ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
the ladakh protest in leh ladakh 2024 sonam wangchuk.pptx
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
(RIA) Call Girls Bhosari ( 7001035870 ) HI-Fi Pune Escorts Service
 
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
247267395-1-Symmetric-and-distributed-shared-memory-architectures-ppt (1).ppt
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
Model Call Girl in Narela Delhi reach out to us at 🔝8264348440🔝
 
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
(TARA) Talegaon Dabhade Call Girls Just Call 7001035870 [ Cash on Delivery ] ...
 
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
VIP Call Girls Service Hitech City Hyderabad Call +91-8250192130
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur EscortsCall Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
Call Girls Service Nagpur Tanvi Call 7001035870 Meet With Nagpur Escorts
 
Processing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptxProcessing & Properties of Floor and Wall Tiles.pptx
Processing & Properties of Floor and Wall Tiles.pptx
 

Smart under and over voltage protection system for

  • 1. Smart under and over voltage protection system for home Represented by : Shuvadip das id : 021141086 course: energy conversion lab sec: c
  • 2. Introduction : • This project is designed which automatically turn on and turn off main power supply in case of issue in AC main power supply and on one need to control it manually • It is designed to insure protection of home devices like fan, light lamps, television, refrigerator and all other things you need to protect in case of under and over voltage in main supply • Microcontroller is embedded into this system to make it smart enough to handle all the issues intelligently and to provide control signals to turn on and off AC main power supply.
  • 3. Component description : • Voltage sensor : Voltage sensor is used to measure voltage of AC main power supply. Voltage sensor is used difference amplifier to to step down voltage level from 220 volt AC to 2.8 volt AC or 311 volt peak of AC voltage to 3.96 volt of peak voltage of sine wave. Difference amplifier is used as a signal conditioning circuit to convert high voltage of AC main supply into low voltage which microcontroller can easily read. Because microcotroller analog to digital converter can not read voltage more than 5 volt and voltage more than 5 volt damage microcontroller. • High speed relay : Relay is used to turn on and turn off main power supply. Relay get control signal from microcontroller through a transistor. Diode is use in parallel with coil pin of relay to avoid sparking in case of back emf. Because coil is made of inductive material. Selection of relay depends on load of your home. For example maximum load of your home devices is 10 ampere. So should use 10 ampere relay. Another important thing while selecting relay for this circuit is switching speed of relay. Your relay speed should be as fast as possible. Because more the switching speed of relay, more protection it will provide to your devices by turning them on or off in minimum possible time.
  • 4. Component description : (continued) • Liquid crystal Display : LCD is used to display value of voltage and status of your power supply. If AC voltage of main power supply is greater than 20% of normal operating voltage, LCD display ” fault occur”. Otherwise LCD display ” No fault”. LCD also displays value of AC main voltage supply. • Voltage regulators : 7805 and 7812 is used to get regulated 5 and 12 volt which is supply voltage for microcontroller and relay respectively. 220 to 12 volt step down transformer and rectifier full bridge is used to produce DC voltage which is input of voltage regulators.
  • 6. Circuit Diagram : ( description) • Circuit diagram of under and over voltage protection system is shown below. I have used just a lamp for simulation in this circuit. But you should connect this circuit at main panel of your home from where AC main power supply connections have taken for your home devices. Circuit diagram below shows when voltage is 220 volt AC or less than of normal operating voltage lamp is on and relay is working. Because relay is used as normally closed mode. But when voltage become greater than or less than normal operating voltage it will turn off relay in minimum possible time and relay in return turn off main AC power to ensure safety of devices.
  • 7. AVR Code : #include <avr/io.h> #include "LCD.c" void InitADC() { ADMUX=(1<<REFS0)|(0<<REFS1); // For internal vref=2.5V; ADCSRA=(1<<ADEN)|(1<<ADPS2)|(1<<ADPS1)|(1<<ADPS0); //Rrescalar div factor =128 } uint16_t ReadADC(uint8_t ch) { //Select ADC Channel ch must be 0-7 ch=ch&0b00000111; ADMUX|=ch;
  • 8. //Start Single conversion ADCSRA|=(1<<ADSC); //Wait for conversion to complete while(!(ADCSRA & (1<<ADIF))); //Clear ADIF by writing one to it //Note you may be wondering why we have write one to clear it //This is standard way of clearing bits in io as said in datasheets. //The code writes '1' but it result in setting bit to '0' !!! ADCSRA|=(1<<ADIF); return(ADC); } void Wait() { uint8_t i; for(i=0;i<20;i++) _delay_loop_2(100); }
  • 9. float voltage_READ(void) { float max,v; int i; float t[40]; for(i=0; i<=39; i++) { v= ReadADC(0); //Digital value convert v =v*(5.0/1023.0); //v=(v-5.0); t[i]=v; } //ADCSRA|=(0<<ADSC); max=t[0]; for(i=0; i<=39; i++) { if(max<t[i]) max=t[i]; } max=max*300/3.871; lcd_gotoxy(1,2); lcd_printf(max); lcd_print(" V"); _delay_ms(1000); return(max); }
  • 10. void main() { PORTA=0xFF; DDRD=0xFF; float adc_result,result,v; int adc_int[40]; int max,i,adc; //Initialize LCD lcd_init(); //lcd_clear(); //Initialize ADC InitADC(); //Put some intro text into LCD lcd_gotoxy(0,1);
  • 11. lcd_print(" LOAD PROTECTION"); while(1) { //Lcd_out(1,1, "Voltage:"); _delay_us(10);//for avoiding spike problem result=voltage_READ(); if (result>250) {PORTD=0xFF; } if(result<250) {PORTD=0x00;} } }
  • 12. Modification We can also add more functionality in this project by adding GSM to send value and status of AC main power supply to your home cell number

Editor's Notes

  1. &amp;lt;number&amp;gt;