Ups Types And Overview

Print   

02 Nov 2017

Disclaimer:
This essay has been written and submitted by students and is not an example of our work. Please click this link to view samples of our professional work witten by our professional essay writers. Any opinions, findings, conclusions or recommendations expressed in this material are those of the authors and do not necessarily reflect the views of EssayCompany.

An uninterruptible power source, UPS or battery/flywheel backup, is an electrical apparatus that provides emergency power to a load when the input power source, typically mains power, fails. A UPS differs from an auxiliary or emergency power system or standby generator in that it will provide near-instantaneous protection from input power interruptions, by supplying energy stored in batteries or a flywheel. The on-battery runtime of most uninterruptible power sources is relatively short (only a few minutes) but sufficient to start a standby power source or properly shut down the protected equipment.

There are different types of UPS such as

On line UPS.

OFF line UPS.

Line interactive UPS.

Online UPS:-

In an online UPS, the batteries are always connected to the inverter, so that no power transfer switches are necessary. When power loss occurs, the rectifier simply drops out of the circuit and the batteries keep the power steady and unchanged. When power is restored, the rectifier resumes carrying most of the load and begins charging the batteries, though the charging current may be limited to prevent the high-power rectifier from overheating the batteries and boiling off the electrolyte.

The main advantage to the on-line UPS is its ability to provide an electrical firewall between the incoming utility power and sensitive electronic equipment.

Offline UPS:-

In Off line UPS The protected equipment is normally connected directly to incoming utility power. When the incoming voltage falls below a predetermined level then UPS turns on its internal DC-AC inverter circuitry, which is powered from an internal storage battery. The SPS then mechanically switches the connected equipment on to its DC-AC inverter output. The switchover time can be as long as 10 milliseconds depending on the amount of time it takes the standby UPS to detect the lost utility voltage. The UPS will be designed to power certain equipment, such as a personal computer, without any objectionable dip or brownout to that device.

Off Line UPS the load is connected directly to the mains when main supply is available and it is not too high or not to low. When the over voltage or under voltage conditions are detected on the mains The UPS transfer the load to the inverter. When the line is present, the battery charges through the rectifier. Thus in Off-Line UPS There is a load Transfer involved every time the mains is interrupted and restored.

Line interactive UPS:-

Line-interactive UPS. Typical protection time: 5–30 minutes. Capacity expansion: Several hours The line-interactive UPS is similar in operation to a standby UPS, but with the addition of a multi-tap variable-voltage autotransformer. This is a special type of transformer that can add or subtract powered coils of wire, thereby increasing or decreasing the magnetic field and the output voltage of the transformer. This is also known as a Buck–boost transformer.

Hardware and Description:-

Block diagram of OFF line UPS:

Off line UPS

AC mains

It is input to UPS system which is 230v with 50Hz constant frequency. This same supply is applied to load output when an AC main is present.

Step Down

Step Down transformer is used to step down input AC supply to 20V. in ups single transformer is used for step up and step down using multiple tab facility.

Rectifier

Bridge rectifier is used to convert step down AC voltage to pulsating DC.

Battery

It is main part of UPS system which decides the backup time of UPS battery selected using capacity of inverter and backup time require for System.

Sensing Circuit

In ups some feedback signals are nodded. sensing circuit is used to sense input mains supply and battery voltage o turn the inverter. It is build up with simple resistor divider circuit which provide voltage to comparator pin of PIC microcontroller.

Inverter

Normally in Single phase UPS Push-Pull configuration of inverter is used. Inverter converts input DC supply form battery into AC supply. Frequency of this inverter decide using switching pulses given by PIC microcontroller.

Change over switch

It contain DPDT relay which switches main AC supply and Inverter section when AC supply is on this relay is off and AC mains is connected to load and when AC supply is not available then DPDT relay is on and it gives inverter output to load.

Schematic Diagram:-

Circuit Diagram

ups.JPG

Working

off line UPS DPDT relay operate as changeover switch. When AC supply is present this relay is off. When supply is absent or it is in under voltage range then this relay gets on. This switches mains supply and inverter supply to load output. This relay drives with transistor BC547 which is control via PIC microcontroller.

Incoming AC supply is step down and rectified using bridge rectifier to charge the battery of UPS. Output of bridge rectifier is given to LM317 which control charging voltage of battery. Power transistor TIP32 is used to boost input supply current to charge a battery. Current is boosted 5 times off the supply to charge the battery.

Initially PIC senses both input mains voltage and battery voltage if AC mains is available it off DPDT relay .

If AC mains is off then PIC microcontroller on DPDT relay which change output to inverter section.

In mains off condition PIC microcontroller also provide pulses to inverter section which generate 50Hz output at inverter section.

Inverter gets on only when battery voltage is sufficient to give required output otherwise inverter is off.

Role of PIC:-

PIC microcontroller is main part of this system it controls total mechanism of UPS system such as,

PIC microcontroller Monitor input AC supply & battery voltage continuously.

Depending on Mains supply it takes decision when mains goes fails it firstly check battery voltage and if it is sufficient to drive UPS load then it on the UPS.

If battery voltage is below level then it off the inverter to Avoid total discharge of battery.

To switch Mains to inverter and inverter to mains it uses DPDT relay switch which is control via PIC microcontroller.

Microcontroller also gives indication on LED output for inverter on or Mains on at load.

While inverter is on PIC provide pulses to the MOSFET switch to form quisi square wave output at accurate frequency of 50 Hz.

gate pulses.JPG

Gate pulses given to inverter section.

Why PIC Microcontroller:-

PIC Microcontroller provide sourcing current up to 15 ma and it is sufficient to drive Opto-coupler which reduces extra circuitry to drive MOSFET switch which increases efficiency of inverter .

PIC Microcontroller has on-chip ADC and Comparator to compare Ac mains supply and battery supply Which again reduces extra circuitry for voltage sensing.

PIC Microcontroller is available in small DIP package with minimum required IO it reduces size of total circuit.

PIC Microcontroller has fast response time and it able to work in noise environment.

Real time working promptness:-

Switching time of UPS form mains to inverter section is less than 5msec. when mains goes off it check the battery voltage and on the inverter if voltage is sufficient to drive inverter output while when mains comes it off the inverter and switch to mains supply.

Any electrical device work as it is when input supply off for20msec.

Component List:-

Transformer 0-16 V (1 Amp), 2.5 Amp. Step up transformer, DPDT Relay, Diode Bridge 2 Amp., Resistor, Capacitor, MOSFET IRFZ 44, LM 317T, TIP 32, IC MCT6, BC 548, Diode 1N5408, PIC 16F684, battery 12V(7.5Ah)

TEST & Results

Output voltage:

Mains on: 230+/-5% Volts

UPS on: 230+/0.5%Volts

Output Voltage waveform:- Square.

Output frequency:

Mains on : 50Hz +/3%

UPS on: 50Hz+/-1Hz

Output power Wattage 460 watt.

Maximum current 2.5A.

Input voltage (Battery voltage): 12V/7.5AH

Design Calculations:

Battery Charger and Power supply section:

The charger is designed to charge 12 V, 7.5 AH sealed lead acid battery. It consists of step down transformer to step down mains supply to 16 V. And the regulator section LM 317T, current booster TIP 32, LM 7806 to supply the PIC 16F684, and to inverter driver.

The transformer voltage is 0-16 Volt hence, the D.C. Voltage is

V =

but ,

V.

V.

The regulator LM317T which is used is having capacity of 1.5 Amp current, but regarding to the load (battery) current requirement the external current booster (TIP 32) transistor is used to boost the current up to 5 Amp.

Calculation of resistor R1:

R1 =

For TIP 32 V, =20, =1.8 Amp, =1 Amp.

R1 =

R1 = 0.8719Ω 1 Ω.

Calculation for wattage of transformer

P=V*I*POWER FACTORE

P=230 v * 2.5A* 80%

P = 460 Watt

Calculation for voltage sensing circuit

V0= R2/(R1+R2)* Vin

4V== R2/(R1+R2)* 12

R2 = 1K, R1 = 2K

Maximum Current to the microcontroller must be less than sinking current of microcontroller, here current to microcontroller calculated as

V=IR

I=4 v/ 1K = 4 ma

To limit this excessive current additional 440 ohms register is used and the actual current less than sinking current of microcontroller which as 15 ma

--------------------------------------------------------------------------------------------

C CODE:-

The software code is written in ‘C’ language and compile by using hitech c cross compiler in MPLAB IDE.

/*----------------------------------------------------------------------------------------*/

/*Program for Single Phase OFF-LINE UPS.*/

/*-------------------------------------------------------------------------------------------*/

#include<htc.h>

__CONFIG(0X3Fd5); // Configure PIC

#define _XTAL_FREQ 4000000

unsigned int c;

/*--------------------------------------------------------------------------------------------------*/

init()

{

OSCCON = 0b01100001; // oscillator to generate 4 Mhz.

OSCTUNE = 0X07; // Tune oscillator to 4 Mhz.

T1CON = 0x00;

TMR1H = 0xee; // load timer high count.

TMR1L = 0x68; // load timer low count.

TMR1IE = 0; //Enable timer interrupt.

TMR1IF = 0; //clear timer flag.

CMCON0 = 0X05; //Enable comparator.

TRISA = 0X00; // PORTA as output.

ANSEL = 0X00; //Analog channels are shut off.

TRISC = 0X03; // PORTC pin 0 and 1 are as input.

INTCON = 0XC0; // Global and peripheral interrupt enable.

C2IE = 1; //Comparator interrupt enable.

C2IF = 0; //comparator flag disable.

C2INV = 0; //Comparator non inverted.

return;

}

/*------------------------------------------------------------------------------------------*/

blink(void)

{

RC4 = 0; //function to blink the led

if(c==2)

{

RC4 = 1;

__delay_ms(200);

RC4 = 0;

__delay_ms(200);

}

return;

}

/*--------------------------------------------------------------------------------------------------*/ unsigned short int b;

void main()

{

init();

__delay_ms(50);

while(1)

{

blink();

}

}

/*----------------------------------------------------------------------------------*/

interrupt isr()

{

static unsigned short a=0;

if(C2IF & C2IE)

{

C2IF = 0; //Clear comparator flag.

if(C2OUT==0) //Comparator falling interrupt.

{

TMR1IE = 1; //Timer interrupt enable.

RC5 = 0;

RA0 = 0;

TMR1H = 0xee; //Load timer count.

TMR1L = 0x68;

TMR1ON = 1; //Set timer on

c=2;

}

if(C2OUT==1) //Comparator rising interrupt

{

RC2 = 0;

RC3 = 0;

RC4 = 0;

RC5 = 1;

RA0 = 1;

TMR1IE = 0;

TMR1ON = 0;

c=0;

}

}

if(TMR1IE & TMR1IF) // GENERATION OF THE PWM FOR INVERETR

{

TMR1IF = 0;

TMR1ON = 0;

a++;

RC2 = 0;

RC3 = 0;

__delay_us(100);

if(a%2==0)

{

RC2 = 1;

RC3 = 0;

b = 2;

}

if(a%2!=0)

{

RC2 = 0;

RC3 = 1;

b = 1;

}

TMR1H = 0xee; //Reload timer count.

TMR1L = 0x68;

TMR1ON = 1;

b = a;

}

}



rev

Our Service Portfolio

jb

Want To Place An Order Quickly?

Then shoot us a message on Whatsapp, WeChat or Gmail. We are available 24/7 to assist you.

whatsapp

Do not panic, you are at the right place

jb

Visit Our essay writting help page to get all the details and guidence on availing our assiatance service.

Get 20% Discount, Now
£19 £14/ Per Page
14 days delivery time

Our writting assistance service is undoubtedly one of the most affordable writting assistance services and we have highly qualified professionls to help you with your work. So what are you waiting for, click below to order now.

Get An Instant Quote

ORDER TODAY!

Our experts are ready to assist you, call us to get a free quote or order now to get succeed in your academics writing.

Get a Free Quote Order Now