Академический Документы
Профессиональный Документы
Культура Документы
ABSTRACT
TABLE OF CONTENTS
SECTION
TOPIC
PAGE
#
SECTION1
1.1
1.2
1.3
1.4
1.4.1
1.4.1.1
1.4.2
1.4.2.1
1.4.2.2
1.4.2.3
1.4.3
1.4.3.1
1.4.3.2
FPGA
INTRODUCTION
FPGA IN MODERN POWER ELECTRONICS
XILINX SPARTAN3E KIT
FPGA IN OUR PROJECT
CONTROLLING OF MULTI LEVEL
INVERTER
GATE SIGNAL GENERATION VIA FPGA
CONTROLLING OF CHARGE CONTROLLER
CIRCUITRY
INTRODUCTION
CHARGE CONTROLLER CIRCUIT AND
CONTROL STRATEGY
SOFTWARE FLOW FOR BATTERY
CHARGING
CALCULATION OF PARAMETER AND
INTERFACING WITH LABVIEW
CALCULATING PARAMETERS
LABVIEW INTERFACING
6-7
8-9
10
11
12-15
15-19
20
20-21
21-24
25-26
26
26-27
28
SECTION 2
2.1
2.1.1
2.1.2
2.2
2.2.1
2.2.2
INVERTER
2.2.2.1
2.2.2.1.1
2.2.2.1.2
2.2.2.2
2.2.2.2.1
2.3
2.3.1
2.3.2
2.3.2.1
2.3.2.2
2.4
2.4.1
2.4.2
2.4.3
2.4.4
INTRODUCTION
MODIFIED SINEWAVE INVERTERS
TRUE SINEWAVE INVERTERS
MULTILEVEL INVERTERS
ADVANTAGES OF MULTILEVEL INVERTERS
GENERAL TOPOLOGIES OF MULTILVEL
INVERTER
DIODE CLAMPLED MULTILEVEL
INVERTER
ADVANTAGES
DISADVANTAGES
CASCADED H-BRIDGE INVERTER
ADVANTAGES
DESIGN AND SPECIFICATION OF OUR
INVERTER
OUR CIRCUIT INTRODUCTION
CIRCUIT OPERATION
SWITCH POSTIONS OF CIRCUIT
TRANSISTORS USED
REVIEW OF CIRCUIT SIMULATION AND PCB
LAYOUT
CIRCUIT SIMULATION WITH PWM ON
MULTISIM
CIRCUIT SIMULATION WITH COMPARATOR
ON MULTISIM
CIRCUIT SIMULATION WITH PIC16F877A
CIRCUIT LAYOUT ON ORCAD
SECTION 3
3.1
3.1.1
3.1.2
3.1.2.1
3.1.3
3.1.3.1
3.1.3.2
3.1.3.3
29-30
30
30
31-36
32
33
33
34
34
35
36
37-40
37
38
39
40
41-44
41
42
43
44
CHARGE CONTROLLER
CHARGE CONTROLLER
INTRODUCTION
OBJECTIVE
SALIENT FEATURES
DESIGN OF CHARGE CONTROLLER
DC-AC CONVERTER
TRANSFORMER
RECTIFIER CIRCUIT
45-50
45
46
46
47
48
49
49
50
3.1.3.4
3.2
3.2.1
3.3
SECTION 4
51
51
53
LABVIEW MONITORING
4.1
4.2
4.3
4.4
4.5
4.6
OBJECTIVE
WHAT WE REQUIRED
WHAT IS LABVIEW MONITORING
REQUIRMENT AND CHALLENGES FOR
LABVIEW
BLOCK DIAGRAM ON LABVIEW
FRONT PANEL ON LABVIEW
57
58
59
61
63
64
FPGA
SERIAL
NUMBER
PAGE
NUMBER
1.
2.
3.
10
12
12
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
13
16
17
19
22
23
24
25
28
36
38
39
40
41
42
43
44
47
49
56
63
64
1.1) INTRODUCTION
The advancements in hardware technology has led to the presence of Field
Programmable Gate Arrays (FPGA) that are large enough to accommodate a
complete system on a single device. These devices are called system on a
While using the latest components, an algorithm in an FPGA may run with a
sampling frequency of 20MS/s. This offers the chance of utilizing the
switching times of advanced power transistors. Whereas microprocessors can
only count and switch on instruction or interrupt level (interrupt latency),
FPGAs are able to do that on cycle level. As a result, the jitter was scaled
down. The processing of FPGA can provide the signal processing, the
sequence control system, the supervision or the activating of signals at the
same time. That is the reason FPGAs behave as an extraordinary platform for
implementing algorithms, e.g. for inverters, converters or other power
applications. So the motivation behind using a FPGA was accelerated due to
the increased functionality, performance and flexibility that these solutions
presented over other approaches to system design.
10
Memory:
128 Mbit Parallel Flash
16 Mbit SPI Flash
64 MByte DDR SDRAM
11
output
consists of
numerous intermediate
voltage
levels
12
13
14
MOSFETS because of their fast switching nature are being used for switching
purpose at appropriate firing angles, due to this we can obtain seven different
output voltage levels.
In this circuit we have used 7 MOSFETS to generate Seven Voltage Levels at
the output. This is achieved by providing signals to the MOSFETS in a
controlled manner as different combinations of MOSFETS will generate all
the voltage levels respectively. As shown in the Table.1.1 on next page , seven
switch combinations relate to Seven different Voltage Levels. Three Switches
will be operated at one time, switches S2 and S7 remain active for the
positive cycle of the output whereas S3,S4 and S5 determines the voltage
levels from Vdc to 3Vdc respectively. Switches S1 and S6 remain active for
the negative cycle of the output whereas S3,S4 and S5 determines the voltage
levels from Vdc to -3Vdc respectively.
15
16
17
18
if(count==100000)
q=7'b0101001;
/*operating transistor Q2,Q7 and Q4 for the time period of 2ms*/
if(count==199998)
q=7b0000000;/*to avoid short circuit of transistor*/
if(count==200000)
q=7'b0110001;
Figure 1.6 shows the simulation of Verilog Code which was written and
simulated on ModelSim.
19
1.4.2.1 Introduction
The main function of a charge controller in a complete PV system is to keep
the battery at maximum attainable charge whilst keeping it safe from
overcharge by the PV Module and from unnecessary discharge by the loads.
While some Solar systems can be sufficiently designed without the usage of
charge control, any system that has irregular loads, user interference, optimum
or Small battery storage (to minimize initial cost) generally requires a battery
charge controller. The controlling strategy or control algorithm of a battery
charge controller specifies the effectualness of battery charging and solar array
utilization, and finally the ability of the system to fulfill the load demands.
20
21
22
There will be a switch controlled by FPGA on the output of all the Secondary
Windings which will be checking for which switch to be on with respect to the
input voltage. A FPGA program will check for the input voltages from 18V to
10V and respectively activate the switch. The Secondary side of the
transformer is connected to a bridge rectifier followed by a filter and then it is
connected to the Batteries. The Voltage from the battery is sensed using a
voltage divider and is given to an 8-bit ADC which will provide the required
digital values to the FPGA for calculation of parameters such as Threshold
23
Fig.1.9
Block
Diagram for Charge Controller
24
digital values at ADC output and will take the required action to charge the
battery voltage. In also continuously show the battery voltage on LCD display.
System first initializes and will monitor the battery voltage and will show it on
the LCD display panel. When battery voltage is below some lower threshold
25
voltage it will measure the amount of voltage of input PV cell and the battery
voltage and it will activate the switch on secondary tapping of the transformer
so that battery will get charged. When battery voltage is at the upper threshold
voltage it will make OFF the switch so that charging will be stopped.
This system uses an algorithm which enhances the efficiency of the system.
LCD display has made it more user friendly to display voltages. FPGA
implementation improves its efficiency, speed, reliability and user friendliness.
RMS Voltage
Total Harmonic Distortion(THD)
Fundamental Voltage
Distortion Factor
26
out1=c1;
out2=c2;
out3=c3;
out4=c4;
out5=c5;
vm1=v1*3/255*4; /*conversion of potential*/
vm2=v2*3/255*4; /*conversion of potential*/
vm3=v3*3/255*4; /*conversion of potential*/
vrms=(2*(vm1*vm1)+(2*(vm1+vm2)*(vm1+vm2))+((vm1+
m2+vm3)*(vm1+vm2+vm3)))/5; /*calculation of vrms through
mathematically driven formula*/
for(n=1;n<=99;n=n+2)
begin
if(n==1) /*calculation of fundamental voltage*/
x_def=n*3.142/5;
x_def2=2*n*3.142/5;
x_def3=3*n*3.142/5;
x_def4=4*n*3.142/5;
x_def5=n*3.142;
bn=(2/3142)*1000*(1/n)*(-(vm1*out1)+(vm1)
-((vm1+vm2)*out2)+((vm1+vm2)*out1)
-((vm1+vm2+vm3)*out3)+((vm1+vm2+vm3)*out2)
-((vm1+vm2)*out4)+((vm1+vm2)*out3)
-(vm1*out5)+(vm1*out4));
vo1=bn*10000000/14142135;
else
x_def=n*3.142/5;
x_def2=2*n*3.142/5;
x_def3=3*n*3.142/5;
x_def4=4*n*3.142/5;
x_def5=n*3.142;
bn=(2/3142)*1000*(1/n)*(-(vm1*out1)+(vm1)
((vm1+vm2)*out2)+((vm1+vm2)*out1)
((vm1+vm2+vm3)*out3)+((vm1+vm2+vm3)*out2)
-((vm1+vm2)*out4)+((vm1+vm2)*out3)
(vm1*out5)+(vm1*out4));
von=((bn*10000000/14142135)/(n*n))**2)+von;
27
end
df=(von**(1/2)/vo1); /*calculation of Distortion Factor*/
thd=((vrms*vrms)-(vo1*vo1))/vo1; /*calculation of Total Harmonic
Distortion*/
end
28
INVERTER
Fig.1.11 Code For Serial Interfacing written on Verilog
2.1) INTRODUCTION
An Inverter is one of the most common power electronics circuitry being used
from decades of history resulting in the availability of number of transformed
versions of this functioning circuit varying from each other from different
specifications and parameters but the principle action of all are same that is to
convert Direct Current into Alternative Current at desired output voltage and
desired frequency with the help of desired utilization of components resulting
in desired amount of preciseness whereas The converted Ac can be attained at
any voltage and frequency,and all of the result depend upon the transformer
selection, switching circuitry and the overall operation and circuit controlling
circuitry.
According to the functionality and response effected by their cost , inverters
are of two main types
Modified sine wave inverters
True sine wave. inverters
29
30
31
32
33
clamped inverters topologies was also made.It is used for static variable speed
motor drives, var compensation, and interconnections of high-voltage system.
2.2.2.1.1 Advantages
It minimizes the capacitance requirement of the inverter by sharing
common dc.
For fundamental frequency switching the frequency is high.
2.2.2.1.2 Disadvantages
For a single Inverter the Real power flow is difficult because the
intermediate levels willitend to overcharge orrdischarge without
precisedmonitoringandocontrol.
The number of clamping diodes required is 4 timesyrelated to the
number of levels,therefore higher no. of levels will results in the
damage in the system.
34
2.2.2.2.1 Advantages:
35
36
37
The circuit we have selected has a remarkably easy operational technique that
can enable us to add further more stages, the current circuitry which we have
selected comprise of 7 levels of voltage and is a 3 stage inverter it consist of 7
transistors out of which a set of 2,2 transistors are specified for the controlling
of positive and negative cyclic operations respectively where as rest of the
three are used to open and close the different voltage levels in each cycle like
Vdc 2Vdc and 3Vdc
38
OUTPUT
S2,S7,S3
S2,S7,S4
S2,S7,S5
S2,S7,S4
S2,S7,S3
NIL
S1,S6,S3
S1,S6,S4
S1,S6,S5
S1,S6,S4
S1,S6,S3
VDC
2VDC
3VDC
2VDC
VDC
0
-VDC
-2VDC
-3VDC
-2VDC
-VDC
39
40
41
42
43
44
45
CHARGE CONTROLLER
The charging of batteries is always an issue when we are talking about the
usage of batteries in any power backup or alternate energy systems. Batteries
must be charged in such a way that minimum of the system power is lost
while they are charging and the charging time also needed to be small as
possible. Furthermore, overcharging the batteries and letting them to be
discharged below a particular point DOD (depth of discharge) point also
decreases the battery life.
To overcome all of these problems, and for increasing the efficiency of the
system, the need of a charge controller is evident. A charge controller, also
known as the charge regulator or a battery regulator will set the limits at which
rate electric current will be added to or drawn from batteries. It prevents
overcharging and may prevent against over voltage , which can reduce battery
performance or life span and may pose a safety risk. It may also prevent
completely draining (deep discharging) a battery, or perform controlled
discharges depending on the battery technology, to protect battery life. The
accepted design will provide this output with the least amount of total losses.
3.1.2 OBJECTIVE
46
47
DC-AC converter
TRANSFORMER
RECTIFIER
REVERSE CURRENT PROTECTION
48
3.1.3.2 TRANSFORMER
49
50
51
performance, stand by life and cycle life. Float life or Standby life , refers to
the measure of how long the battery can be sustained in a fully charged state
and when called upon will it be able to provide proper service. Cycle life
denotes to the measure of discharge and charge cycles that a battery will not
die out before its capacity is reduced to its specific threshold level The
measure which actually indicates useful life expectancy will depend on the
particulars of the application. Generally, both parameters of battery life will be
important.
When a typically used lead acid batter starts charging, different chemical
reactions takes place on positive and negative plates of the battery. Lead
sulphate ( PbSO4), is first converted to lead and then get coated on batterys
negative plate, on the other plate i.e positive plate lead dioxide get coated. The
overcharge reaction will begin , when the majority of the lead sulphate are
converted and coated, which results in the generation of oxygen and hydrogen
gas. In unsealed batteries it will lead to quick loss of water. In other case for
sealed batteries, if charging rate is moderate, the majority of oxygen and
hydrogen will react to recombine before occurring of dehydration.
In both type of batteries, prolonged charging rate significantly above C/10,
will result in dehydration, accelerated grid corrosion and reduced service life.
52
53
When there is no solar power available (at night or may be in some adverse
weather) an Off-grid PV power system use battery bank to supply its loads.
Although when the battery pack voltage fully charged might be closed to the
PV Array's Peak Power Point, this is unlikely to be true when the battery is
partially discharged. Charging might start at a voltage considerably below
Array Peak Power Point, and Maximum Power Point Tracking (MPPT) can
resolve this problem.
54
When the battery bank in an off-grid system is fully charged and PHOTO
VOLTAIC production begins to exceed local loads, Maximum Power Point
Tracking (MPPT) will stop operating the PV Array at its Peak Power Point as
the excess power will now be wasting. The Maximum Power Point Tracking
(MPPT) must then shift the operating point of array away from the PV peak
power point until and unless power production exactly matches the demand. In
a grid tied PV system, the grid is essentially a battery with almost infinite
charge storing capacity. The grid can always absorb surplus PV power, and it
can cover shortfalls in PV production (e.g., at night). Batteries are thus needed
only for protection from grid outages. The Maximum Power Point Tracking
(MPPT) in a grid-tied PV system will always be operating the PV array at its
Peak Power Point unless when the batteries are full so the grid fails and there
are insufficient local loads . It would then have to back the PV Array away
from its Peak Power Point as in the off-grid case.
55
comparatively, high voltage and low current cut down to the low voltage and
high current required for starting the motor. Once the motor starts and its
current requirements have dropped, the Maximum Power Point Tracking
(MPPT) will automatically increase the voltage to normal. The suggested
Charge Controller will monitor the battery voltage with continuous intervals.
Whenever the battery potential reaches the lower threshold point, immediately
the Field Programmable Gate Array(FPGA) will start charging. The Field
Programmable Gate Array(FPGA) will continuously monitor and charge the
battery. On reaching at upper threshold voltage it will disconnect the battery
means it will switch OFF the MOSFET so that there will be no more battery
charging.
SOLAR PANEL
56
LABVIEW MONITORING
Fig.3.3 130w poly crystalline solar module
4.1) OBJECTIVE:
The objective of this part was to provide the system debugger or system
maintenance in charge with a suitable environment for monitoring. Providing
a suitable monitoring environment means to enable the system debugger or
system maintenance in charge to observe the wide spread system under one
roof and on a single bench, and the monitoring tool used should be that much
capable so as it can allow the end user to get full knowledge of the state and
condition of the operations and flow of outputs and inputs of the system.
57
58
59
60
proper manner so as the end user can observe the system information and
behavior accurately without any difficulty further more the source can be a
live web source transmitting with the help of internet from distance places or
any other live communicator from the site to the monitoring room . In addition
of the live data processing and its displaying options the data can be loaded
from the pre recorded sources or log which has been maintained separately
and that data then can be used to and can further presented in a very user
friendly environment
4.4.1 REQUIREMENT
The FPGA based Hybrid Power and Monitoring System requires LabVIEW
for the monitoring of system parameters comprising the view of four live
parameters which are taken from the circuitry and then there calculations are
being made on the FPGA with the help of the formulas which are formed as a
result of the mathematical calculations made for the circuitry and are then
these mathematical calculations are utilized to form code on Verilog which
enables FPGA to perform calculations and the results of calculations are then
61
stored in the 32 bit registers which are then send to the LabVIEW serially( i.e.
via serial cable).
4.4.2 CHALLENGES
The challenges faced in developing the Monitoring Environment on the
LabVIEW were as follow
Receiving 32 bit information of a single parameter from 8 bit serial
cable.
Sorting out the four different set of data coming from single path
without mixing parts and identifying the correct packet for the correct
parameter and then placing it correctly to its destination.
Frequent updating of the data coming from the system continuously and
avoiding data loss at any instant.
62
63
64