Inverter
Inverter
Inverter
CHAPTER 1
1.0
INTRODUCTION
WHAT IS AN INVERTER?
An inverter is a device that converts DC power into AC power.
Page 1
INVERTER
GENERATORS
Very light
usually heavy
EASE OF USE
Simply turn it ON
FUEL COST
Nil
Diesel/petrol
MAINTENANCE
Nil
NOICE FACTOR
Silent
Quite noisy
SIZE
EEE/10/0725
Compact
Bulky
Page 2
1.2
The aim or purpose of this project is to design and construct, test and
implement a circuit that will take a 12v DC input from a battery and
provide a 1500VA (AC) output with under voltage and over
voltage protection. Specially the study intends:
To design a circuit that converts dc power to ac power for various
appliances used in laboratories, theatres and rural areas.
Page 3
the environment. I also took up the challenge to carry out this project
because of my quest to know more about power generation. However the
design and construction of a 1.5KVA inverter is justified by the fact that it
converts 12VDC from a battery to 240VAC, 1.5KVA output which can be
used to power essential circuits such as computers, television, etc.
1.4
PROBLEM STATEMENT
In the country power outage have become more frequent owing to the
lack of incentives to invest in aged national grid, transmission and
distribution infrastructures, as well as the fact that energy from
decentralized, volatile renewable sources is not well aligned to work on
electricity grids. Frequent power outages are inconvenient, expensive and
difficult to mitigate without very expensive backup power systems. Some
of solution to this problem is an auxiliary AC power generator and solar
panels but the cost of fossil fuels continues to increase rapidly thus it will
not be cost effective in the future while solar power has some aesthetic,
economic and technical drawbacks. A more effective and reliable
alternative is battery power back-up system.
1.5
various data and information relevant to the execution of the project were
obtained through the following techniques:
1.
EEE/10/0725
Page 4
2.
3.
4.
5.
6.
1.6
SUMMARY
EEE/10/0725
Page 5
CHAPTER TWO
LITERATURE REVIEW
2.0
INTRODUCTION
The quest to convert DC Power to AC Power has been since the late 19th
century and from then to the mid-20th century, DC-to-AC power conversion
was accomplished using rotary converters or motor generator sets (M-G
sets). In the early 20th century, Vacuum tubes and gas filled tubes began
to be used as switches in inverter circuits. The origin of electromagnetic
converters explains the source the term inverters. Early AC-to-DC
converters used an induction or synchronous AC motor directly connected
to a generator (dynamo) so that the generators commutators reversed its
connection at exactly the right moment to produce DC. A later
development is the synchronous converters in which the motor and
generator windings are combined into one armature with slip rings at one
end and a commutator at the other, with only one field frame. The result
EEE/10/0725
Page 6
INVERTER
CLASSFICATION OF INVERTERS.
Page 7
Pure sine wave inverter represents the latest inverter technology. The
waveform produced by these inverters is same as or better than the
power delivered by the utility. Usually sine wave inverters are more
expensive than the modified sine wave inverters due to their added
circuitry.
There are two methods in which the low voltage DC power is inverted to
AC power;
The low voltage DC power is first boosted to high voltage power source
using a DC-DC booster then converted to AC power using pulse width
modulation.
EEE/10/0725
Page 8
will flow through the various components, voltage will be dropped at some
points, and therefore the following principles were applied in designing the
project.
2.2.1
JOULES LAW
This states that the rate of heat generation (P) in a metallic
AMPERES LAW
This law states that the magneto motive force (mmf) around a closed
path is equal to the current enclosed by the path
2.2.3
LENZS LAW
Page 9
10
OHMS LAW;
The ratio of potential difference (v) between any two points in a
circuit to the current (I) flowing between them is constant, provided the
temperature and the Resistance of the conductor remains constant.
i.e.
V= IR
2.2.5
and
loosing,
soldering
and
joining.
Since
electronics
2.3.1
RESISTORS
EEE/10/0725
Page 10
11
EEE/10/0725
Page 11
12
Electrolytic Capacitors
Electrolytic capacitors are polarized and they must be connected the correct way
round, at least one of their leads will be marked + or -. They are not damaged by
EEE/10/0725
Page 12
13
iv.
in pF (Pico Farad).
Ignore any letters - they just indicate tolerance and voltage
rating.
2.3.3
DIODES
Diodes allow electricity to flow in only one direction. The arrow of the
circuit symbol shows the direction in which the current can flow. Diodes
are the electrical version of a valve and early diodes were actually called
valves.
Diodes must be connected the correct way round, the diagram may be
labeled 'a' or + for anode and ' k' or - for cathode (yes, it really is k, not c,
for cathode!). The cathode is marked by a line painted on the body.
EEE/10/0725
Page 13
14
TRANSISTORS
Page 14
15
ii.
iii.
2.3.5
ii.
EEE/10/0725
Page 15
16
Simpler to drive.
Easy paralleling
High input impedance
High switching frequency i.e. high frequency performance.
iii.
circuit.
It has a very high power gain which eliminates the necessity of
iv.
v.
vi.
Page 16
17
Page 17
18
EEE/10/0725
Page 18
19
2.3.7 RELAYS
A relay is an electrically operated switch. The electromagnetic relay
consists of a multi-turn coil, wound on an iron core, to form an
electromagnet. When the coil is energized by passing current through it,
the core becomes temporarily magnetized. The coil can be energized from
a low power source such as a transistor while the contacts can switch high
powers such as the mains supply. Relays can generate a very high voltage
across the coil when switched off and this can damage components in the
circuit. To prevent this, a diode is connected across the coil. The springsets (contacts) can be a mixture of normally open (NO), normally close
(NC) and common (CO). Relays are used where it is necessary to control a
circuit by a low-power signal with complete electrical isolation between
control and controlled circuits, or where several circuits must be controlled
by one signal.
EEE/10/0725
Page 19
20
Relays have the exact working of a switch. A relay is said to switch one or
more poles. Each pole has contacts that can be shown in mainly three
ways. They are:
i.
ii.
iii.
2.3.8
RECTIFIERS
A rectifier is an electrical device that converts alternating
EEE/10/0725
Page 20
21
more ripples than full-wave rectifiers, and much more filtering is needed
to eliminate harmonics of the AC frequency from the output.
EEE/10/0725
Page 21
22
EEE/10/0725
Page 22
23
Supply voltage
Collector output current
Reference output current
MAX
40
100
50
UNIT
V
Ma
Ma
150
260
mA
o
C
o
C
)
Tj
Page 23
24
Figure 2.3.10:
2.4
SUMMARY
Page 24
25
CHAPTER THREE
3.0
EEE/10/0725
METHODOLOGY
Page 25
26
EEE/10/0725
Page 26
27
PROJECT ALGORITHM
The project algorithm is the steps to taken to successfully complete
CIRCUIT
DIAGRAM
3.1 DESIGN AND CONSTRUCTION OF 1.5KVA INVERTER
This chapter is mainly concerned with the design of various units
and determination of the parameters and quantities of the various units
and the considerations made to select the components used in the project
construction.
DESIGN
3.1.1
1.
2.
3.
The relay base (contactor) should isolate the inverter from the
supply when power is restored after 10 seconds delay.
Page 27
28
BLOCK DIARGRAM
Mains
220V
AC
DC to AC
power
inverter
220V AC /
50Hz
Load
12V DC
battery
EEE/10/0725
Page 28
29
3.1.4 BATTERY
The battery recommended for use in an inverter system is a deep cycle
battery. Deep cycle battery is specifically designed to be discharged to low
energy and rapid recharge or cycle charged and discharged day after day
for years. The battery is chosen in such a way that it is large enough to
store sufficient energy to operate the appliances during the day and night.
But to avoid over -drain of this battery, we only make use of it until the
drain is 8V before the control system signals a low battery.
Where: Battery loss is 0.85; Depth of discharge is 0.6 and Nominal
battery voltage is 12V. The battery needed therefore is about
1000Ah. The assumption here is that the inverter is to operate for
just a day before mains (generator or PHCN) is supplied.
3.1.5 HEAT SINK SELECTION PROCEDURE
The use of heat sink was introduced in order to keep the temperature of
the semiconductor below 12500C. This was achieved by finding the
thermal resistance of the heat sink that will be able to overcome the
power dissipation due to the resistance between the drain and the source
and also power loss during switching. The thermal resistance (R th) was
calculated using the equation (Jonathan, 2006):
Where TJ is the junction temperature, TC is the case temperature. These
values are obtained from the IRF250 MOSFET data sheet. Power
dissipation is 15.75W and we obtained the thermal resistance.
The required thermal resistance needed for the heat sink can be
found by subtracting the thermal resistance of the junction to case
and the case to heat sink (International Rectifier document, 2002).
The MOSFETs is to be mounted on the heat sink and separated by an
insulator called mica.
SYSTEM DESIGN
3.2.0 STAGES OF INVERTER OPERATION
EEE/10/0725
Page 29
30
There are different stages in which the inverter operates, the stages are
has stated below;
3.2.1 THE OSCILLATOR STAGE
SG3524 as an oscillator is a square wave generator, and this determines
the frequency of the oscillator in hertz (50Hz). These oscillations are
basically the production alternate battery positive and negative (ground)
voltage peaks with a particular specified frequency (number of positive
peak per second). This stage consists of components such as capacitors,
resistors, variable resistors, TIP 41 transistor and IC SG3524. The circuit
diagram is as shown in the circuit diagram.
3.2.2 INVERTER SOUND INDICATOR (12V BUZZER)
Buzzer is a device that converts the electrical energy to sound energy.
This design is intended to make a sound to the hearing of the user when
an AC main comes ON. This is an important feature for load sharing. By so
doing, users can then connect other devices to mains leaving the inverter
to charge.
3.2.3 BATTERY CHARGING
It is pertinent to note that the output transformer is an auto-verse. This
means that when the inverter is operated on DC (from the battery), the
transformer serves as a step up, 12/220V. But when the main comes ON,
the transformer reverses operation and can be used as a step down
220/12V device for charging the battery. This circuitry is also made
EEE/10/0725
Page 30
31
FAULT DETECTION
When the inverter power supply is switched on and the micro controller
(PIC16F876A) detects the inverter power system is been set to inverting
mode and there is no output then it display INVERTER POWER SYSTEM
VOLTAGE IS TOO LOW.
SUMMARY
The operation and design plus construction of the inverter are based on
the conversion of 12vDC to240vAC. The integration and usage of various
electronic components and electric devices such as diode, transistors,
EEE/10/0725
Page 31
32
resistors, were all made possible due to the method. The chapter is based
on the design and method used in constructing the inverter.
CHAPTER FOUR
TESTING, RESULTS AND DISCUSSION
4.1
INVERTER TESTING
To achieve this, the inverter was tested using a constant increasing load
(using 200W bulb and incrementing it) measuring the voltage at full load,
of full load, full load and of full load. Knowing that the 2000VA is
also equivalent to 1600W which gives the rating of the power inverter.
Also the current drain by various load was also noted and measured. The
EEE/10/0725
Page 32
33
VOLTAGE
MEASURED
CALCULATED
MEASURED (V)
CURRENT
CURRENT (A)
NO LOAD
221.20
200
219.50
400
218.20
600
216.50
800
215.10
1000
214.30
1200
213.60
Note: The result possibility
(A)
Nil
Nil
0.863
0.911
1.854
1.833
2.880
2.771
3.799
3.719
4.656
4.666
5.762
5.618
of the battery. It should be noted that the
higher the battery ampere hours the more the loads will stay/last.
The best battery to be used is the deep cell battery and when compared
to the lead acid battery i.e. the car battery, the following voltages where
gotten;
Table 4.2 (b): Battery test values at various incremental loads
EEE/10/0725
LOADING (W)
BATTERY(INPUT) VOLTAGES
NO LOAD
200
400
600
800
1000
1200
MEASURED (V)
12.22
11.93
11.91
11.62
11.43
11.22
11.10
Page 33
34
From the above table, the place recorded as nil occurred because the
battery could no longer withhold the load from the inverter. At this point,
the current drawn from the battery was too much for the battery to handle
thereby causing the inverter to trips. Hence, the lead acid battery is not
an ideal battery for power inverter use.
4.3
To test for the normal life of a battery been used at full load, the time
elapsed for a full consumption of the battery is given below
Time = energy
Time
Where the Energy is the capacity of the battery rated as 200Ah
Therefore,
Time = (200Ah x 12V)
2000VA
= 1.5h = 1hour and 50 minutes
The time used can be increased by increasing the capacity of the battery.
Table 4.3: Time duration table for various load using a 200Ah battery
LOADING (W)
TIME
MEASURED (V)
OBSERVED
OBSERVED
NO LOAD
221.20
(200Ah)
(60Ah)
Battery on Stand Battery on Stand
200
219.50
by
11hours 50mins
by
3hours
10minutes
EEE/10/0725
Page 34
35
400
218.20
5hours 45mins
600
216.50
3hours 30mins
800
215.10
2hours 50mins
1000
214.30
2hours 20mins
1200
213.60
1hour 55mins
On the condition that the inverter will be operating at
1hour 40minutes
1hour 30minutes
1hour 12minutes
1hour 5minutes
53 minutes
full load with the
200Ah battery on a take up time by the user. And comparing the result
with the operation of the lead acid battery of 60Ah, the result obtained at
full load was assumed that the preferred battery to be used is the 200Ah
battery.
4.4
From the final testing of the inverter, it was realized that the power
inverter is noise free electronics power generator, but the application
depends on the conditions you will be using your power inverter in.
Even though the frequency was not 100% stable it still remained between
50 to 60Herz and the output wave form remained modified square wave.
A standing fan and a drilling machine was tested and a negligible noise
was generated.
EEE/10/0725
Page 35
36
CHAPTER FIVE
5.1
CONCLUSION
EEE/10/0725
Page 36
37
RECOMMENDATION
The power inverter should be run efficiently and safely in a flat. It should
be placed on dry surface that is preferably indoors where it is kept away
from extreme weather elements and exposure, and it should be placed
within fairly close range of the battery supply to get a direct and clear
signal. It is a good idea to add up the wattage used in the home normally
by the amount of wattage used in each appliance and electrical item,
lighting, etc., and then also give extra wattage for startups and occasional
surges that many appliances tend to put out at times. So the amount of
wattage all the electrical items give out plus some additional wattage for
surges and startups should indicate the size of power inverter required in
the house. It is ideal to have excess power than having a brown out
inverter because of overloading which depletes all of the available power.
The batteries that connect to the inverter should be kept in fairly close
proximity to the power DC to AC inverter so that the cables can be short
and run a clean and clear signal. Power inverters are not weatherproof
and should be kept from getting wet.
It should be kept dry like any other electronic device. The inverter should
not be allowed to get struck by lightning. Ensure that the power inverter is
EEE/10/0725
Page 37
38
kept away from any kind of generated heat or flammable source that can
cause overheating and fires.
5.3
REFERENCES
and
Electronics
Engineering,
EEE/10/0725
Page 38
39
Wikipedia (2015).
http://en.wikipedia.org/wiki/power-inverter.
http://en.wikipedia.org/wiki/microcontroller.
www.nellsemi.com
EEE/10/0725
Page 39
40
EEE/10/0725
Page 40
41
delay_ms(1000);
count++;
}
}
void buzzer_sound()
{
if(volts>=10.5 && volts<=11.0)
{
fan_on();
output_high(PIN_D4);
lcd_gotoxy(1,1);
lcd_putc("WARNING--BATTERY");
lcd_gotoxy(14,2);
lcd_putc("v");
lcd_gotoxy(1,2);
printf(lcd_putc,"battery=%f",volts);
output_high(PIN_D0);
output_high(PIN_D1);
delay_ms(1000);
output_low(PIN_D0);
output_low(PIN_D1);
delay_ms(1000);
}
}
void oscillator_faulty()
{
lcd_putc('\f');
EEE/10/0725
Page 41
42
void inverting()
{
set_adc_channel( 0 );
delay_us(200);
value = read_adc();
volts =(float) value*0.0002596529714;
lcd_putc('\f');
buzzer_sound();
fan_off();
if(volts>=10.5 && volts<=14)
{
output_high(PIN_D3);
output_high(PIN_B1);
output_high(PIN_B3);
output_low(PIN_B4);
output_low(PIN_B2);
output_low(PIN_D5);
output_low(PIN_D2);
lcd_gotoxy(1,1);
lcd_putc("inverting.......");
//lcd_gotoxy(14,2);
//lcd_putc("v");
lcd_gotoxy(1,2);
printf(lcd_putc,"battery>%fv",volts);
}
EEE/10/0725
Page 42
43
else if(volts<=10.49)
{
lcd_putc('\f');
output_low(PIN_B2);
output_low(PIN_D5);
output_low(PIN_B1);
output_low(PIN_B3);
output_low(PIN_B4);
output_low(PIN_D2);
output_low(PIN_D3);
lcd_gotoxy(1,1);
lcd_putc("shutting down ");
lcd_gotoxy(1,2);
lcd_putc("battery low ");
delay_ms(1000);
fan_off();
}
else
{
fan_off();
output_low(PIN_D4);
output_low(PIN_B1);
output_low(PIN_B2);
output_low(PIN_D5);
output_low(PIN_B3);
output_low(PIN_B4);
output_high(PIN_D2);
EEE/10/0725
Page 43
44
output_high(PIN_D3);
lcd_gotoxy(1,1);
lcd_putc("shutting down");
lcd_gotoxy(1,2);
lcd_putc("over-voltage ");
}
}
void main()
{
//END OF THE INTERRUPT INITIALIZATION
setup_adc_ports(AN0_AN1_AN2_AN3_AN4);
setup_adc(ADC_CLOCK_DIV_2);
lcd_init();
lcd_gotoxy(1,1);
lcd_putc("\fONIFADE FEMI\n");
lcd_gotoxy(1,2);
lcd_putc("FINAL YEAR PROJ ");
output_high(PIN_D3);
delay_ms(1000);
lcd_gotoxy(1,1);
lcd_putc("\fRATING--->1.5kVa \n");
lcd_gotoxy(1,2);
lcd_putc("SINGLE---PHASE");
fan_off();
delay_ms(1000);
lcd_putc('\f');
if (!input(PIN_E0)&& !input(PIN_E1))
EEE/10/0725
Page 44
45
{
output_low(PIN_B3);
delay_timer();
fan_off();
}
delay_ms(100);
//////////////////////////code for inverting....
//////////////////////////code for battery low...
//////////////////////////code for over-voltage..
/////////////////////////end of inverting
while(true)
{
/////////////OSCILLATOR ERROR
if(input(PIN_E0)&& input(PIN_E1))
{
inverting();
}
else if ( !input(PIN_E0) && !input(PIN_E1)) //mains identification
{
////////////OSCILLATOR ERROR END
output_low(PIN_B1);
output_low(PIN_B3);
output_high(PIN_B2);
output_high(PIN_B4);
output_high(PIN_D5);
fan_on();
set_adc_channel(1);
EEE/10/0725
Page 45
46
delay_us(200);
arch = read_adc();
arch2=(float)arch*0.004425048828;
lcd_gotoxy(14,1);
lcd_putc("v");
lcd_gotoxy(1,1);
printf(lcd_putc,"I/put=%fv",arch2);
set_adc_channel(2);
delay_us(200);
caleb = read_adc();
caleb2 = (float)caleb*0.0002596529714;
lcd_gotoxy(14,2);
lcd_putc("v");
lcd_gotoxy(1,2);
printf(lcd_putc,"chargn=%fv",caleb2);
}
while(arch2>=260)
{
lcd_putc('\f');
fan_off();
output_low(PIN_B2);
output_low(PIN_D5);
output_low(PIN_B4);
lcd_gotoxy(1,1);
lcd_putc("MAINS PROTECTION");
lcd_gotoxy(1,2);
lcd_putc("REMOVE I/P MAINS");
EEE/10/0725
Page 46
47
}
while(caleb2>=14.5)
{
fan_off();
output_high(PIN_D3);
output_low(PIN_B2);
output_low(PIN_D5);
output_low(PIN_B4);
lcd_putc('\f');
lcd_gotoxy(1,1);
lcd_putc("shutting down ");
lcd_gotoxy(1,2);
lcd_putc("battery is full ");
}
}
}
EEE/10/0725
Page 47
48
APPENDIX TWO:
PIN
CONFIGURATION
SG3524
EEE/10/0725
Page 48
AND
FUNCTION
OF
49
APPENDIX THREE:
EEE/10/0725
Page 49
50
APPENDIX FOUR:
EEE/10/0725
Page 50
51
APPENDIX FIVE:
EEE/10/0725
Page 51
52
ELECTRICAL
CHARACTERISTICS
OF
CONTROLLER
EEE/10/0725
Page 52
PIC16F877A
MICRO-