Design and Development of ON-LINE UPS using PIC Microcontroller

Similar documents
Design and Construction of Variable DC Source for Laboratory Using Solar Energy

Design of Four Input Buck-Boost DC-DC Converter for Renewable Energy Application

DC Voltage Regulation by Buck Converter Applicable for Stand Alone Micro Hydro Power Generation

STUDY OF CELLPHONE CHARGERS

1. Learn about the 555 timer integrated circuit and applications 2. Apply the 555 timer to build an infrared (IR) transmitter and receiver

AC/DC Power Supply Reference Design. Advanced SMPS Applications using the dspic DSC SMPS Family

ETEC Digital Controls PIC Lab 10 Pulse Width Modulation

Microcontroller based speed control of three phase induction motor using v/f method

Solar Energy Conversion using MIAC. by Tharowat Mohamed Ali, May 2011

A Practical Guide to Free Energy Devices

ANADOLU UNIVERSITY DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING

Design a Phase Interleaving PFC Buck Boost Converter to Improve the Power Factor

Transformerless UPS systems and the 9900 By: John Steele, EIT Engineering Manager

HT46R14A Single Phase AC Induction Motor Frequency Converter Application

Hybrid Power System with A Two-Input Power Converter

Diode Applications. As we have already seen the diode can act as a switch Forward biased or reverse biased - On or Off.

A MULTILEVEL INVERTER FOR SYNCHRONIZING THE GRID WITH RENEWABLE ENERGY SOURCES BY IMPLEMENTING BATTERY CUM DC-DC CONERTER

Design and Construction of Microcontroller Based Charge Controller for Photovoltaic Application

High voltage power supply (1 to 20 KV)

Power Quality. Uninterruptible Power Supply

Simple PWM Boost Converter with I/O Disconnect Solves Malfunctions Caused when V OUT <V IN

Design and Simulation of Soft Switched Converter Fed DC Servo Drive

Modified Cascaded Five Level Multilevel Inverter Using Hybrid Pulse Width Modulation

High Intensify Interleaved Converter for Renewable Energy Resources

Microtronics technologies Mobile:

Low Cost Pure Sine Wave Solar Inverter Circuit

Simulation and Analysis of Parameter Identification Techniques for Induction Motor Drive

Power Electronic Circuits

Design and Construction of Microcontroller- Based Telephone Exchange System

Design of an Auxiliary Power Distribution Network for an Electric Vehicle

Rectifier circuits & DC power supplies

Bridgeless PFC Implementation Using One Cycle Control Technique

SOLAR PV-WIND HYBRID POWER GENERATION SYSTEM

AN2389 Application note

0.9V Boost Driver PR4403 for White LEDs in Solar Lamps

Novel Loaded-Resonant Converter & Application of DC-to-DC Energy Conversions systems

Bi-directional Power System for Laptop Computers

Hands On ECG. Sean Hubber and Crystal Lu

LAB 7 MOSFET CHARACTERISTICS AND APPLICATIONS

MULTI-LEVEL INVERTER WITH DC LINK SWITCHES FOR RENEWABLE ENERGY SOURCES

ARRL Morse Code Oscillator, How It Works By: Mark Spencer, WA8SME

= V peak 2 = 0.707V peak

An Efficient AC/DC Converter with Power Factor Correction

Analysis and Experimentation of Interleaved Boost Converter with Ripple Steering for Power Factor Correction

Three-port DC-DC Converters to Interface Renewable Energy Sources with Bi-directional Load and Energy Storage Ports

Properties of electrical signals

Design of Solar Power Optimizer And Eliminating Leakage Current In Multi-Level Inverter For PV Systems

A bidirectional DC-DC converter for renewable energy systems

HIGH VOLTAGE POWER SUPPLY FOR ELECTRO-OPTICS APPLICATIONS

Interfacing To Alphanumeric Displays

3-Phase Synchronous PWM Controller IC Provides an Integrated Solution for Intel VRM 9.0 Design Guidelines

Relationship between large subject matter areas

Harmonics and Noise in Photovoltaic (PV) Inverter and the Mitigation Strategies

DC/DC BUCK Converter for Renewable Energy Applications Mr.C..Rajeshkumar M.E Power Electronic and Drives,

MULTI-INPUT DC-DC CONVERTER FOR RENEWABLE ENERGY SOURCES

Philosophy of Topology and Components Selection for Cost and Performance in Automotive Converters.

Constructing a precision SWR meter and antenna analyzer. Mike Brink HNF, Design Technologist.

Inverter for the Solar Panel using an MC56F8023. Designer Reference Manual

A Zero-Voltage Switching Two-Inductor Boost Converter With an Auxiliary Transformer

High Efficiency Battery Charger using Power Components [1]

REMOTE HOST PROCESS CONTROL AND MONITORING OF INDUSTRY APPLIANCES

IGBT Protection in AC or BLDC Motor Drives by Toshio Takahashi

A Stable DC Power Supply for Photovoltaic Systems

Designing Applications with Lithium-Ion Batteries

Galleon 6-10K Online UPS. Voltronic Power Technology Corporation

AMC1100: Replacement of Input Main Sensing Transformer in Inverters with Isolated Amplifier

Implementation of High Step-Up Solar Power Optimizer for DC Micro Grid Application

Daker DK 1, 2, 3 kva. Manuel d installation Installation manual. Part. LE05334AC-07/13-01 GF

Thyristor-controlled power supplies and battery chargers

EET272 Worksheet Week 9

A simple RF/Microwave frequency counter

Accurate Measurement of the Mains Electricity Frequency

POWER SYSTEM HARMONICS. A Reference Guide to Causes, Effects and Corrective Measures AN ALLEN-BRADLEY SERIES OF ISSUES AND ANSWERS

Study Guide for the Electronics Technician Pre-Employment Examination

A Lesson on Digital Clocks, One Shots and Counters

How To Control A Single Phase Sinusoidal Pulse Width Modulation (S) Controller Based Inverter For Photovoltaic Power Generation

A Prepaid Energy Meter for Efficient Power Management

UPS PIco. to be used with. Raspberry Pi B+, A+, B, and A. HAT Compliant. Raspberry Pi is a trademark of the Raspberry Pi Foundation

MODELING AND SIMULATION OF A THREE-PHASE INVERTER WITH RECTIFIER-TYPE NONLINEAR LOADS

SIMPLE TECHNIQUES TO IMPROVE SOLAR PANEL EFFICIENCY USING A MICROCONTROLLER OR SOC

Line Reactors and AC Drives

A Lesson on Digital Clocks, One Shots and Counters

Designers Series XII. Switching Power Magazine. Copyright 2005

Application Note, V1.0, Mar 2007 AP16098 XC164. Main Control for 5KVA Single-Phase On-Line UPS Reference Design with XC164CM.

The full wave rectifier consists of two diodes and a resister as shown in Figure

EMBEDDED GSM MONITOR AND CONTROL USING ANDROID APPLICATION

UNDERSTANDING POWER FACTOR AND INPUT CURRENT HARMONICS IN SWITCHED MODE POWER SUPPLIES

Real Time Clock USB Evaluation Board V3.0

AUTOMATIC NIGHT LAMP WITH MORNING ALARM USING MICROPROCESSOR

AN ULTRA-CHEAP GRID CONNECTED INVERTER FOR SMALL SCALE GRID CONNECTION

A Solar Power System for Electric Vehicles with Maximum Power Point Tracking for Novel Energy Sharing

Microcontroller based PWM Inverter for Speed Control of a Three Phase Induction Motor

Keywords: input noise, output noise, step down converters, buck converters, MAX1653EVKit

Design and Development of Speed Control of Induction motor drive using Pulse-Width Modulation

Introduction to Power Supplies

Digital Guitar Effects Pedal

FFT Frequency Detection on the dspic

Power Supplies. 1.0 Power Supply Basics. Module

Design A High Performance Buck or Boost Converter With Si9165

GPS & GSM BASED REAL-TIME VEHICLE TRACKING SYSTEM.

Transcription:

Design and Development of ON-LINE UPS using PIC Microcontroller 1 Hemal Patel, 2 Divyesh Vaghela 1 Hemal Patel, M.Tech Student, Institute of technology, Nirma University, Ahmedabad, India. 2 Divyesh Vaghela, Assistant Professor, Institute of Technology, Nirma University Ahmedabad, India. ---------------------------------------------------------------------***--------------------------------------------------------------------- Abstract: The proposed ON-Line uninterruptible power supply (UPS) offers AC voltage regulation on continuity basis which incorporates with the controllable battery charger. The battery used is Lead Acid Type battery. The charge control technique used for battery is constant current charging technique. The Constant Current is achieved by limiting the duty cycle of charger (or step-down chopper). In proposed scheme, protection of battery over charge and battery under discharge is available with relay trip through PIC 16F877A microcontroller by monitoring voltages on continues basis. The backup of battery takes place the load without spikes or delay when the mains power gets fails or interrupted. Based upon the proposed constant current charging technique, a digital charger is designed and is control through PIC 16F877A microcontroller software. The inverter used is simple square wave inverter. Experimental results using PIC 16F877A microcontroller controlled battery charger cum rectifier is presented to shows the effectiveness of the proposed design. Key Words: UPS - Uninterruptible Power Supply, PIC - Peripheral Interface Controller, LCD - Liquid Crystal Display Therefore, the battery management will and precise monitoring will be done. Fig -1: Block Diagram of ON-Line UPS 2. The Proposed Topology: 1. Introduction: An uninterruptible power supply (UPS) is a power conditioner that provides emergency power to a load when the mains power fails. In on-line UPS, the load is always connected to the inverter though the UPS static switch. When the AC main is available, the rectifier circuit will supply the power to the inverter as well as to the battery and battery will be charged. If the supply power fails suddenly, the battery will supply power to the inverter without any interruption and delay. If the UPS fails (inverter fails), then the main static switch is turnedon which automatically transfers the ac line to the load. Figure 1 shows the block diagram of on-line UPS. This paper proposes a new topology for ON-Line UPS. The proposed system, consist of battery charger cum rectifier which is controllable through PIC microcontroller. The AC voltages are applied to Rectifier through the step down transformer and power supply. An uncontrolled rectifier converts AC voltages into DC voltages. The fixed DC is fed to the step-down chopper. The PWM control technique keeps switching frequency constant and also regulates duty cycle to ensure the MOSFET to turn on. In constant current charging method current is set at a fixed rate. Constant current is achieved by switching of the chopper. The step-down chopper produces a lower average output voltage than the input voltage. The battery is connected to the variable DC through the relay. Relay gives the trip on the conditions of overcharging and under discharging. The relays will work as static switches. The switching of inverter is controlled through PIC microcontroller. The battery feeds the inverter. The AC output from inverter will fed to load. Figure 2 shows the block diagram of Proposed Topology. 2015, IRJET.NET- All Rights Reserved Page 429

AC MAINS Power supply + Transformer Rectifier With filter Stepdown Chopper Relay Battery Inverter Load AC MAINS Power Supply PIC Microcontroller Fig 2: Block Diagram of Proposed Topology 3. Circuit Diagram Consideration for Battery Charger: Fig 3: Circuit Diagram of Battery Charger 2015, IRJET.NET- All Rights Reserved Page 430

230 AC voltages are applied to the step down transformer of 0-18 V/ 8 A. The output of 18 V ac is converted into 12 V dc through rectifier. Rectifier with filter capacitor converts AC into 12 V DC. The capacitors of 2200 µf/ 50 V are used to control the heavy current which may damage the MOSFET switch. The switching frequency of MOSFET switch is 8 khz. The turn on time and turn off time of MOSFET controlled through the isolated driver which may also regulates the voltage. The turn on time of MOSFET will be different as for constant current charging. Hence, duty ratio will also be different. The inductor used is toroidal type. The variable DC is fed to the battery through the resistors of 12 kω and 3 kω. The voltage sample Vx is taken between 12 kω and 3 kω resistor. Also, other voltage sample Vy is taken across the battery. The voltage samples Vx and Vy are given to the PIC microcontroller for comparing purpose for constant current charging of battery. When the voltage sample Vy is less than 14 V, the load relay will be turns off, and when the voltage sample Vy is more than 12 V, the load relay will be turns on. Also, when voltage sample Vy is more than 14 V it will increases the duty cycle of step down chopper and when voltage sample Vy is less than 14 V it will decreases the duty cycle of step down chopper. The output from pin 17 of port C is given to pin 3 of the level shifter CD4504. At pin 1 of CD4504 the supply of +5 V is fed. Also, the capacitors of 100 uf / 16 V and 0.1 uf are connected for high and low frequency input noise suppuration. The level shifter shifts voltages from +5 V to +12 V (low to high). The output from level shifter CD4504 is fed to pin 10 of MOSFET driver IR2110. The output from pin 7 through the current limiting resistor of 100 Ω is given to the gate terminal of MOSFET. 2. Mains available and Battery not fully Charged Charger to Battery Relay will be On and Battery to Load Relay will be On. Charging to be regulated so as to keep I b < 1 A 3. Mains fail and Battery not fully charged but not discharged Charger to Battery Relay will be Off and Battery to Load Relay will be On. 4. Mains fail and Battery Discharged Charger to Battery Relay will be Off and Battery to Load Relay will be Off. 4. Circuit Diagram consideration for Inverter: The push-pull configuration of inverter is used for designing of inverter for ON-Line UPS. For switching operation MOSFET Switches IRFP150 are used. For that MOSFET switches MOSFET driver IR2110 is used. The output from pin 33 and 34 as PWM waveforms are fed to pin 5 and pin 7 of the level shifter CD4504. The level shifter shifts voltages from +5 V to +12 V (low to high). The 12 V output from level shifter CD4504 is fed to pin 10 and pin 12 of MOSFET driver IR2110. The power supply for MOSFET driver IR2110 is connected at pin 6 which is as shown in Figure 4. When one switch is ON at that time other switch is OFF, therefore dead band circuit is not required for push-pull arrangement of inverter. For MOSFET diver IR2110, isolated power supply is not required because sources of both the MOSFET switches are grounded. The resistor connected at gate of MOSFET is used for current limiting. The capacitors connected across the MOSFET switches are used for snubbing. There are four different conditions: 1. Mains available and Battery fully charged at that time Charger to Battery Relay will be Off and Battery to Load Relay will be On. Also, V l to be regulated equal to V b so that battery will not discharge. 2015, IRJET.NET- All Rights Reserved Page 431

Start Define Parameters for PIC initialization, Relay, LCD initialization RB0 33 Bin Bout Hin Hout G S D 0.1uF / 1000V Disable all interrupts and Decide directions for all ports PIC 16F877A Level Shifter (CD4504) MOSFET Driver (IR2110) 230 V Initialization of ADC RB1 34 Cin Cout Lin Lout G D S 0.1uF / 1000V Disconnect Battery from Charger Configure Timer 2 Configure Comparator CCP1 PWM moode Initialization of Timer 1 Fig 4: Circuit Diagram of Inverter 5. Flowchart Consideration for PIC Programming: Yes Configure LCD Vy > 13.5 V? Figure 5 shows the Flowchart consideration of PIC Programming. The parameters for PIC initialization, LCD initialization and Relay are decided. All the interrupts are disabled and directions of Ports will be decided. Port B will be configuring as output. Relays, mains input, input button and output buzzer are connected at Port B. LCD data lines and control lines are connected at Port D and Port E respectively. Fig 5: Flowchart Consideration 6. Hardware Results: Connect Battery to Charger End No The hardware set up of Proposed Topology is shown in Figure 6. The switching waveform of MOSFET switch of battery charger with 8 KHz switching frequency is shown in Figure 7. The switching waveform of inverter switches are shown in Figure 8. The output current and voltage waveforms of the Proposed Topology are shown in Fig 9. 2015, IRJET.NET- All Rights Reserved Page 432

Fig 6: Hardware Set-up Fig 9: Output Current and Voltage waveforms: Output Voltage: 200V The output current and voltage are in phase as shown in Figure 10. Fig 7: Switching Waveforms of Battery Charger: Switching Frequency: 8kHz Fig 10: Output Current and Voltage waveforms with phase continuity 7. Conclusion: Fig 8: Switching Waveforms of inverter: Switching Frequency: 50Hz The proposed online UPS schemes will full-fill all the characteristics of modern online UPS. The Voltage regulation of 200 Volts AC is available on continuity basis. The advanced microcontroller used for digital controlling is PIC 16F877A. The battery used is Lead-Acid type battery with 12V DC voltage 20A current and 7Ah capacity. Constant current charging is best suited for use on leadacid batteries. This type of charger is usually small and relatively inexpensive. The basic idea is to keep constant current charging by limiting the duty cycle of charger. 2015, IRJET.NET- All Rights Reserved Page 433

8. REFERENCES: [1] Farrukh Kamran and Thomas G. Habetler, A Novel On- Line UPS with Universal Filtering Capabilities IEEE TRANSACTIONS ON POWER ELECTRONICS, VOL. 13, NO. 3, MAY 1998. [2] L. Bowen, R. Zarr, S. Denton, National Semiconductor Corporation, A Microcontroller Controlled Battery Fuel Gauge and Charger, 1994 IEEE. [3] Stephen P. Sacarisen, Jahangir (J.P.) Parvereshi, Improved Lead-Acid Battery Management Techniques Benchmark Microelectronics. [4] Shri Karve, UPS of three kind", IEE Review March, 2000. [5] Nasser H. Kutkut,Herman L. N. Wiegman, Deepak M. Divan and Donald W.Novotny, Design Considerations for Charge Equalization of an Electric Vehicle Battery System IEEE Transactions On Industry Applications, VOL. 35,NO. 1, January/February 1999. [6] Ankur Bhattacharjee, Design and Comparative Study of Three Photovoltaic Battery Charge Control Algorithms in MATLAB/SIMULINK Environment International Journal of Advanced Computer Research, Volume-2 Number-3 Issue-5 September, 2012. [7] M.Z.U. Khan and C.D. Manning Microprocessor Controlled Inverter for Ups Applications Louthborough University of Technology, U.K. [8] M. Zafarullah Khan and Cnrlton Dudley Manning, A HIGH QUALITY MICRO - PROCESSOR CONTROLLED ULTRASONIC PWM INVERTER FOR UPS APPLICATIONS", Loughborough University of Technology, Lough- Borough, U.K. [9] Bo-Yuan Chen and Yen-Shin Lai, New Digital- Controlled Technique for Battery Charger with Constant Current and Voltage Control without Current Feedback", IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 59,NO. 3, MARCH 2012. 2015, IRJET.NET- All Rights Reserved Page 434