Documente Academic
Documente Profesional
Documente Cultură
A
PROJECT REPORT
Submitted to
JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY
HYDERABAD (T.S)
BACHELOR OF TECHNOLOGY
in
ELECTRICAL AND ELECTRONICS ENGINEERING
By
CERTIFICATE
This is to certify that the Project report entitled “SIMULATION OF VEHICLE
TO GRID (V2G) INTEGRATION TO UTILITY GRID” by M. VENKANNA
(16645A0234), S. SANDEEP (16645A0228), B. RAJU (16645A0229), K. SURESH
(16645A0228), of final year B.Tech (EEE) during the academic year (2018-19) in the
partial fulfilment of the requirements for the award of the bachelor degree from Jawaharlal
Nehru Technological University, Hyderabad, T.S.
ii
ACKNOWLEDGEMENT
This Project has been carried out in the department of Electrical and Electronics
Engineering of Vaagdevi College of Engineering, Bollikunta Warangal. Many people have
helped us in the realization of this work and we would like this opportunity to express our
gratitude to all of them.
We would especially like to express our extreme gratitude and sincere thanks to our
project guide Dr. Durga Hari Kiran B, Assistant Professor, Department of Electrical and
Electronics Engineering for his enthusiastic and innovative guidance and support.
Last but not least we would also like to thank our father, mother and also all the
teaching and non-teaching staff without whose support this project work would remain
unfulfilled.
iii
CANDIDATE’S DECLARATION
We hereby declare that the work presented in this project titled “SIMULATION
OF VEHICLE TO GRID (V2G) INTEGRATION TO UTILITY GRID” submitted
towards completion of project in eighth Semester of B-tech Electrical and Electronics
Engineering department for the academic year 2018-19 at VAAGDEVI COLLEGE OF
ENGINEERING, Bollikunta Warangal. It is an authentic record of our original work
pursued under the guidance of Dr. DURGA HARI KIRAN B, Asst. Professor, EEE
Department.
We have not submitted the matter embodied in this project for the award of any
other degree.
Place: Warangal
Date:
iv
CONTENTS
ABSTRACT.............................................................................................................................. VII
LIST OF FIGURES............................................................................................................... VIII
LIST OF TABLES..................................................................................................................... IX
NOMENCLATURE.................................................................................................................... X
CHAPTER-1................................................................................................................................ 1
INTRODUCTION......................................................................................................................... 1
1.1 Introduction.........................................................................................................................................2
1.2 Literature survey.................................................................................................................................2
CHAPTER-2.................................................................................................................................. 5
MICROGRIDS............................................................................................................................... 5
2.1 Introduction:........................................................................................................................................6
2.2 Components of Microgrids:..............................................................................................................6
2.2.1 The Design around Total System Energy Requirements:..............................................7
2.2.2 Provision Of Heterogeneous Level Of Power Quality And Reliability To End-Users:7
2.2.3 Presentation To The Microgrid As A Single Controlled Entity:...................................7
2.2.4 Presentation To The Microgrid As A Single Controlled Entity:...................................8
2.3 Technical Challenges for Microgrids:...............................................................................................8
2.4 Technical Challenges for Microgrids:...............................................................................................8
2.4.1 Protection issues:................................................................................................................8
2.4.2 Modification in fault current level:..................................................................................9
CHAPTER-3............................................................................................................................... 10
CONTROL TECHNIQUES........................................................................................................ 10
3.1 Parameter Definition.........................................................................................................................11
3.1.1 Modification in fault current level:................................................................................11
3.2 Integrated FLC/Modulator:.............................................................................................................12
3.3 Controller/Modulator Design and Analysis....................................................................................13
CHAPTER-4............................................................................................................................... 18
TWO-LEVEL INVERTERS....................................................................................................... 18
4.1 Introduction:......................................................................................................................................19
4.2 Power Semiconductor switches........................................................................................................19
4.3 Classification of Power Converters.................................................................................................22
4.4 Conventional Two-Level Converter................................................................................................24
4.5 Power Converter Topologies for PV Systems.................................................................................25
CHAPTER-5............................................................................................................................... 34
MATLAB/SIMULINK............................................................................................................... 34
5.1 Matlab Introduction..........................................................................................................................35
5.1.1 Development environment..............................................................................................35
5.1.2 Matlab mathematical function library..........................................................................36
5.1.3 Matlab Language.............................................................................................................36
v
5.1.4 Matlab Application Program Interface (API)...............................................................36
5.2 Simulink Introduction.......................................................................................................................36
5.3 Various Blocks used in simulation of the work..............................................................................37
5.3.1 Constant Block.................................................................................................................37
5.3.2 Matlab function block.....................................................................................................38
5.3.3 Repeating Sequence.........................................................................................................38
5.3.4 Parallel RLC Branch Block............................................................................................39
5.3.5 Powergui...........................................................................................................................39
5.3.6 From and goto..................................................................................................................40
CHAPTER-6............................................................................................................................... 41
RESULTS..................................................................................................................................... 41
6.1 Simulation Block Diagram...............................................................................................................42
6.2 Case 1: Voltages and currents with Linear Load with PI controller...........................................42
6.3 Case 1: FFT analysis with PI controller..........................................................................................43
6.4 Case 2: Voltages and currents with linear load with fuzzy controller.........................................43
6.5 Case 1: FFT analysis with Fuzzy controller....................................................................................44
CHAPTER-7.............................................................................................................................. 45
CONCLUSIONS AND SCOPE OF FUTURE WORK..............................................................45
7.1 Conclusions........................................................................................................................................46
7.2 Scope for future work.......................................................................................................................46
REFERENCES......................................................................................................................... 47
vi
ABSTRACT
The Due to increase in co2 emission from conventional fuel type vehicles the
modern society is looking forward to use electrical vehicles as means of transportation. The
storage batteries in electrical vehicles open a new paradigm of opportunity to participate in
sharing power to the utility grid when it is needed. However , a reliable conversion of dc
power stored in batteries to ac power with proper grid code is needed. This project aims at
simulation of fuzzy control of two level inverter to convert dc to ac with low thd.
vii
LIST OF FIGURES
Figure Title
Page.No
viii
Figure.6.4: Case 2: Various Voltages and Currents of the system with Fuzzy control and
Linear Load..........................................................................................................................43
Figure.6.5: Case 1: FFT analysis with Fuzzy controller......................................................44
LIST OF TABLES
Table Title Page.No
ix
Nomenclature
x
Chapter-1
Introduction
Chapter 1: Introductin
1.1 Introduction
GAcross the world, our consumption of energy is increasing. The global population
is growing at an astonishing rate and advances in technology mean that we are using more
power than ever before with no signs of the trend slowing down. The United States’
Energy Information Administration (EIA) projects that global energy consumption will
rise by 50% by 2050.
Driven by the need to reduce carbon emissions and powered by a constant decline
of prices for renewables, the architecture of power systems around the world is also
changing.
Satisfying this insatiable energy demand requires a new approach from the global
power market, which remains largely dependent on energy generated by ageing fossil fuel
assets and inflexible grids, where energy flowed in one direction only.
One of the key trends which we are seeing is decentralisation. But what
decentralisation actually means and what challenges it brings will vary from region to
region.
In this report we will consider what the energy market of the future could look like,
and what this means for the way our power is produced and delivered..
IAcross the world, our consumption of energy is increasing. The global population
is growing at an astonishing rate and advances in technology mean that we are using more
power than ever before with no signs of the trend slowing down. The United States’
Energy Information Administration (EIA) projects that global energy consumption will
rise by 50% by 2050.
Driven by the need to reduce carbon emissions and powered by a constant decline
of prices for renewables, the architecture of power systems around the world is also
changing.
Satisfying this insatiable energy demand requires a new approach from the global
power market, which remains largely dependent on energy generated by ageing fossil fuel
assets and inflexible grids, where energy flowed in one direction only.
One of the key trends which we are seeing is decentralisation. But what
decentralisation actually means and what challenges it brings will vary from region to
region.
In this report we will consider what the energy market of the future could look like,
and what this means for the way our power is produced and delivered. Most recently,
significant research works have been devoted to coordinated EV charging. Luo et al. [5]
proposed a twos tage optimization model in order to minimize the peak load and the load
fluctuation. Hua et al. [6] introduced an online adaptive EV charging scheduling
framework to optimize EV charging schedules and reduce flow limit, voltage magnitude
limit, three-phase voltage imbalance limit, and transformer capacity violations. To consider
voltage violation problems and minimize power loss, probabilistic models, stochastic
programming, and charging coordination schemes are proposed in [7]–[9]. Ma et al. [10]
developed a strategy to coordinate the charging of autonomous electric vehicles using non-
cooperative games. The ideal solution minimizes electricity generation costs by scheduling
EV demand to fill the overnight non-EV demand valley.
Driven by the need to reduce carbon emissions and powered by a constant decline
of prices for renewables, the architecture of power systems around the world is also
changing.
Satisfying this insatiable energy demand requires a new approach from the global
power market, which remains largely dependent on energy generated by ageing fossil fuel
assets and inflexible grids, where energy flowed in one direction only.
One of the key trends which we are seeing is decentralisation. But what
decentralisation actually means and what challenges it brings will vary from region to
region.
In this report we will consider what the energy market of the future could look like,
and what this means for the way our power is produced and delivered.. Reference [22]
proposes a model for the assessment of the contribution of V2G systems in the support to
energy management in small electric energy systems; they include different energy
resources and present a robust optimization model for a small energy systems aggregator
with V2G capabilities for participation in the electricity market. Additionally, a thorough
literature review in V2G systems including technical specifications and economic analysis
can be found. Reference [23] also builds and solves an optimal bidding problem for an
aggregator wanting to offer the energy from a set of EVs connected to a V2G system to the
ancillary services market. These works present interesting optimization models for the
integration of EVs but all of them focus on the point of view of the aggregator of EVs
instead of the EV owner. Using a different approach, reference [24] studies the integration
of EVs’ second life batteries in microgrid buildings, and builds optimal equipment
combinations to minimize microgrid costs in terms of economic cost, carbon footprint and
other criteria. The second problem addressed is the optimal management of different types
of microgrids, on which there is an extensive literature; the most common objective is to
minimize operating costs. Published studies differ mainly in their solution techniques and
scope of the modeled microgrid. Reference [25] presents a survey on the existing energy
management benefits of a microgrid. This survey includes regulatory issues, incentives,
environmental issues, ancillary services and metering, economic benefits, algorithms used
and their quantification.. Reference [26] designs a smart energy management system with
similarities to the one presented in this work but solved using an heuristic algorithm.
Reference [27] proposes a mixed integer programming model to minimize the operation
costs of a residential microgrid. They consider both electrical and thermal load since the
electric vehicle does not have a V2G system available in this case, it represents a load.
The current work mainly focuses on the V2G function of EVs. The envisioned
architecture of a EV microgrid integration is shown in Fig. 1. In this proposed microgrid,
the EV batteries are regarded as electricity storage devices. A Fuzzy based control logic is
proposed to control DC-AC conversion stage. The proposed control logic could able give
MICROGRIDS
Chapter 2: Microgrid
1.3 Introduction:
Many research groups around the world are pioneering various µGrid concepts,
also written as microgrids, as an alternative approach for integrating small scale distributed
energy resources (DER of < approx. 1 MW) into low-voltage electricity systems. Many
other terms are in common use to describe similar concepts, e.g. virtual power plants,
minigrids, smart grids, smart distribution networks, embedded generation, distributed or
dispersed generation.
Traditional approaches to embedding generation at low-voltages focus on
minimizing the consequences for safety and grid performance of what are assumed to be a
relatively small number of individually interconnected DER, for example implying, that
they must instantaneously disconnect in the event of system outage. In other words,
permitted local control of devices is very limited, and they can function independently, or
islanded, only under special circumstances, e.g. during blackouts after the local system is
fully isolated from the microgrid. By contrast, µGrids would be designed to operate semi-
independently, usually operating connected to the microgrid but separating (islanding)
from it, as cost effective or necessary for reliability or other objectives.
Feature 1 implies that to the extent economic or desired for environmental purposes,
the µGrid shares heat and power and optimal recovery of waste heat by combined heat and
power (CHP) devices. While small scale thermal generation of electricity is unlikely to be
competitive with central station generation, the dramatically improved prospects for useful
waste heat recovery, especially in absorption cooling systems, can tip the economic scales
towards DER. The arrangement of µGrids evolves from the need to optimize the overall
energy system of the enduses, and since transportation of heat is typically more limiting
than transportation of electricity, the location of heat loads is likely to dominate.
Fault currents for grid connected and islanded operation of micro grid are different.
The short circuit power varies significantly. Faults also causes loss of sensitivity, over
current, earth leakage, disconnection of generators, islanding, reducing reach of over
current relays, single phase connections and loss of stability[8].Depending upon location of
faults with respect to distributed generators and existing protection equipment, problems
like bidirectional power flow and change in voltage profile occurs. The power output of
distributed generators like synchronous generators, induction generators and inverter
interfaced protection units is unpredictable due to which whenever there is a fault, power
output of these DG sources changes [9]. Modification in fault current level, device
discrimination, reduction in reach of impedance relays, reverse power flow, sympathetic
tripping, islanding, single phase connection, selectivity are the key protection issues.
When large number of small distributed generation units that uses synchronous or
induction generator units are connected to distribution network or grid it changes fault
current level as both types of generators contribute towards fault currents. When inverter
interfaced DG units are used, fault current is limited to a lower value [10-17]. As fault
current is not high as compared to load current, some of the relays do not trip, others that
respond to fault operate with the time delay. The undetected fault spreads out in the system
and can damage the equipment [8]. Fault impedance also decreases when DG is connected
into network in parallel with the other devices. When faults occurs downstream of the
point of common coupling, both the main source and DG contributes fault current. Relay
placed at upstream of DG measure fault current supplied by upstream source. In Fig. 1 the
relay placed at the upstream of DG measure the fault current supplied by upstream source.
Actual fault current is different, relays will not function properly and there will be
coordination problems. If there is short circuit fault, when DG is integrated with the main
grid it will affect the amplitude, direction and duration of fault currents.
Control Techniques
Chapter 3: Control Techniques
The Laplace Transform permits the representation of the time response f(t) of a
system in the complex domain F(s).This response is twofold in nature in that it contains
both transient and steady state solutions. Thus, all operating conditions are considered and
evaluated. The Laplace transform is valid only for positive real time linear parameters; The
parameters in Figure 3.1 are defined and will be used throughout the text. The parameters
in Figure 3.1 are defined and will be used throughout the text.
tripping, islanding, single phase connection, selectivity are the key protection issues.
When large number of small distributed generation units that uses synchronous or
induction generator units are connected to distribution network or grid it changes fault
current level as both types of generators contribute towards fault currents.
1
θe ( s)= =θ ( s)
1+G(s) H (s) i
(3.1)
G( s )
θo (s )= =θ (s)
1+G( s )H ( s) i
(3.2)
f o =Nf i (3.3)
The output frequency is during phase lock. The phase detector, filter, and
VCO/VCM compose the feed forward path with the feedback path containing the
programmable divider. Removal of the programmable counter produces unity gain in the
feedback path (N = 1). As a result, the output frequency is then equal to that of the input.
Various types and orders of loops can be constructed depending upon the configuration of
the overall loop transfer function. Identification and examples of these loops are contained
in the following two sections.
The Power quality requirements can be addressed using either a “PQ” or “PV”
control approach. In the first case, the inverter is controlled such as to supply the assigned
active and reactive powers; in the second case, the inverter supplies the load with fixed
voltage and frequency. Both control strategies are suitable for grid-connected inverters
(although the former is preferred); only voltage/frequency control schemes can be used
with stand-alone applications. The proposed control system implements both strategies.
Most MLI includes separate controller and modulator; moreover, they often present
relevant computational burdens due to the large number of operations, such as coordinate
transformations, trigonometric functions, parameter identification, filtering, and so forth.
Often, they do not guarantee the desired performance, particularly when occuring large
parameter variations and nonlinearities. An FLC, instead, does not require neither detailed
knowledge of the process under control nor its precise description in terms of mathematical
model and often, if well designed, outperforms more complex controllers because it adapts
its outputs to the actual state of the system even without the use of observers.
The input variables to the FLC are as follows: 1) Vn, i.e., the inverter output voltage
Voutinv divided by 100, measured after a low-pass filter (for both PV and PQ controls); 2)
the difference between the actual and reference signals a) AI diff = Ioutinv − Iref (PQ control);
b) AVdiff = Voutinv − Vref (PV control). Both Ioutinv and Voutinv are measured after a low-pass
filter at the load terminals. This choice improves the quality of the control without
introducing delays; filter bandwidth is chosen around 1 kHz with resistive load. The output
of the controller is applied to the inverter gate drivers. The normalized input Vn is used in
order to identify the actual inverter operating state. Both the latter and the FLC output may
assume nine different states, i.e., integer values bounded within the range [−4, 4]. Table I
summarizes the switching states versus the output voltage for each H-bridge. It is worth
noting that not all the possible switching states must be mapped into voltage outputs of the
FLC, thus reducing the number of FL rules and of the necessary FPGA gates. The first step
during the FLC design was the creation of a knowledge base, i.e., fuzzy rules, expressed in
terms of statements, conditions, and actions. Starting from the condition “TRUE” (i.e., the
situation is verified), a set of rules was defined for the errors. Then, conditions were
defined accordingly, obtaining variable reactions.
The number and type of membership functions (MFs) represent a key point for the
controller, being a trade off among achievable performance, memory space occupation,
and execution speed. Their shape depends on the input data distribution and can influence
both the tracking accuracy and the execution time. Although any convex shape can be
adopted, the most common are the triangular, trapezoidal, or Gaussian ones. In this paper,
the knowledge base was obtained through experimentation with the system and its
dynamics. Triangular shapes were chosen for input and output MFs because of their
satisfactory performance and simpler implementation using FPGA. The following
description deals with the controller designed for PV control; the one for PQ operation can
be quickly accomplished. Figs. 3.3 and 3.4 show the MFs chosen for the two input
parameters. The labels “NB,” “NS,” “ZE,” “PS,” and “PB” used for AV diff stand as
follows: “NB” = negative−big, “NS” = negative−small, “ZE” = zero, and so forth. It is
worth noting that, on the basis of simulations and sensitivity analysis, and in order to limit
the output voltage variations below 10%, the input AVdiff was assumed bounded within the
range [−30, 30] V.
the y-axis the possible values for Vn, and the z-axis the next state evaluated by the FLC
The following logic was adopted for designing the inference rules. 1) If AV diff is
equal to ZE, the current state is correct, and the inverter preserves its current state. 2)
Considering a generic state, if AVdiff is positive Voutinv > Vref, then the inverter state should
be reduced; if AVdiff is negative Voutinv < Vref, the inverter state should be increased. The
same approach was used for designing the FLC for PQ operation. In this case, the signal
AIdiff was used instead of AVdiff. One problem arises with the power partitioning among the
four H-bridges. In fact, the use of uniform modulation leads to power unbalances among
the H-bridges (highlighted in Table III), which can generate overheating. This situation can
be circumvented by introducing a circular shift register, i.e., applying the signal
synthesized for one level sequentially to all H-bridges. The resulting power distribution
becomes well balanced, being close to 25% for all H-bridges.
TWO-LEVEL INVERTERS
Chapter 4: Two-Level Inverters
4.1 Introduction:
The Power electronics (PE) enables conversion from one form of electrical energy
to another form, as shown in Fig. 4.1. Each PE interface includes a power converter that
consists of power semiconductor switches and primary electronic elements (resistors,
capacitors, inductors, transformers, diodes, etc.), and a control unit that manages the flow
of power and conversion of voltages and currents. The voltage levels, frequencies, and the
voltage and current forms (AC or DC) of the two sides of the converter may be different.
In some cases the power converter must make the bidirectional flow of power possible
(e.g., battery interface) but in other cases the power might flow from one side (source) to
the other (load).
Figure 4.7: Voltage and current waveforms of a power switch for a non-ideal switch
Therefore IGBTs can be used in a wide power range of up to several megawatts.
MOSFETs, however, have a voltage rating of a maximum of a few hundred volts, and their
power handling capability is limited to 100 kVA. As the fastest switching devices, they can
reach switching frequencies of more than 1MHz. The maximum switching frequency of
IGBTs is, however limited to a few tens of kilohertz. While there are other types of power
semiconductor switches such as thyristors, gate turn-off thyristors and integrated gate-
controlled thyristors (IGCTs), they are mostly used for very high power applications, and
therefore their use in microgrids is not as common as that of IGBTs and MOSFETs. Fig.
4.4 shows how different power switches compare on the basis of their power ratings and
switching capabilities.
On the basis of the input and output types of the voltages and currents shown in
Fig. 4.1, a PE converter can be classified in general as follows: • DC-DC converters (see
Fig. 4.5A): They get DC voltages and currents in the input, and generate controlled DC
voltages and currents in the output. Although they have huge application (e.g., in consumer
electronics), their use in microgrids is mostly limited to DC microgrids. However, they are
also used in multistage power converters (e.g., when a change in the amplitude of the
generated DC voltage of a photovoltaic (PV) module is needed before it is fed to the DC-
AC converter). • DC-AC converters (see Fig. 4.5B): These are also called inverters, and
they produce AC outputs with controllable phase, frequency, and magnitude.
Figure 4.9: General classification of power electronic converters: (A) DC-DC converter;
(B) DC-AC converter; (C) AC-DC converter; (D) AC-AC converter
They are the central part of electric drive systems for control of the speed and
torque of electric motors, and therefore they play an important role in many industrial
applications, as well as in traction systems (including electric vehicles) and wind energy
applications. Moreover, PVs, batteries, and fuel cells all produce DC voltages that must be
converted to AC if they are to be used in an AC system.
• AC-AC converters (see Fig. 4.5D): These can transform AC to another AC with
controllable phase, magnitude, and frequency. In most cases they include two stages of
conversion from AC to DC and back to AC, and therefore normally have a DC link in
between. However, some structures such as matrix converters can convert AC to AC
without an intermediary DC link, but they normally have disadvantages such as higher
complexity and cost. Most wind energy systems produce variable frequency AC and
therefore need an AC-AC converter for them to be connected to the grid. Controlled AC-
DC and DC-AC conversion can be done with a simple structure known as a two-level
converter. This structure is also widely used in AC-DC-AC converters such as those used
in some wind energy conversion systems (WECS). In the following, the structure, essential
operation, modulation, and modelling of a two-level converter are explained.
The three-phase two-level converter consists of three legs, each made of two
switches and two anti-parallel diodes connected to them. Fig. 4.6 shows the structure of a
two-level converter. The switches are normally IGBTs or MOSFETs, as previously
mentioned, but it is possible to use IGCTs to achieve higher powers. All three legs are
connected to a DC link that includes a capacitor and provides constant DC voltage in
inverter mode. When this structure is used in rectifier mode, the capacitor voltage is
controlled to be constant. An L or LCL filter is typically used in the output to filter the
voltage harmonics and allow connection to the grid in the case of grid-connected operation
(e.g., in wind energy systems).
The converter is controlled by the appropriate switching on and off of its six
switches. Each switch has a driver that gets the gating signals from the controller and turns
the switch on/off. If two switches of the leg are switched on at the same time, the DC-link
capacitor will be short-circuited. The gate signals of the two switches of a leg are therefore
complementary, and are shown by Tx for leg x. If Tx = 1, this means that the upper switch
of the leg is commanded to be turned on and the lower switch is to be in the off state.
Conversely, Tx = 0 means that the upper switch is turned off and the lower switch is
commanded to be in the on state. Fig. 4.7 shows how the output voltage of a single leg will
vary on the basis of its switching state. The output voltage of legs will be +V DC/2 when the
upper switch is on and −VDC/2 when the lower switch is on.
The output current can pass through the conducting switch or its anti-parallel diode
in each case, depending on the current direction. This also shows the importance of anti-
parallel diodes, considering that they provide a path for currents to pass, which is necessary
because of the series filter inductances. Also, loads in a three-phase inverter normally have
inductive parts and therefore need to always have a path for their currents. By modulation
of the two output values of each leg, it is possible to control its effective output voltage,
and hence the output voltage of the converter
Figure 4.11: Current flow paths in different switching states and phase current polarity
PV modules produce DC currents and voltages and therefore need an inverter for
them to be connected to the micro-grid (or utility). Many different inverters are proposed
for PV applications in comparison with other renewable systems such as wind energy
systems. This is mostly because PV systems cover a wider range of power, and are also
regularly installed on a residential scale, where efficiency and personal safety are of high
Figure 4.12: Different arrangements of PV modules and inverters: (A) centralized; (B)
string
configuration; (C) AC module technology
Fig. 4.8A shows how PV modules are connected to the inverter in such a
configuration. Fig. 4.9 shows as example of the inverter and connection to the utility. A
filter capacitor is used in the input, and an LC filter may be used in the output of the
inverter. A three-phase transformer boosts the voltage level and connects the inverter to the
microgrid/utility, while providing galvanic isolation. Putting solar modules in such a series
and parallel configuration has its own problems such as inflexible design and power loss
due to centralized maximum power point tracking (MPPT). In newer designs, a string of
PV modules are connected in series and then the DC output is converted to AC by means
of single-phase inverters. If enough modules are put in series, the resulting voltage may be
large enough that no voltage amplification will be necessary, otherwise a DC-DC converter
or a line-frequency transformer may be used for voltage amplification. Use of this
configuration leads to higher efficiency compared with a central scheme. This
configuration is depicted in Fig. 4.8B.
Figure 4.16: Two-stage transformer less converter (boost converter and full-bridge
inverter)
Since each level of power conversion produces losses, two-level conversion can
decrease the overall efficiency of the system. Reducing the number of power conversion
stages can lead to an increase in the overall efficiency; therefore single-stage topologies are
also being studied, and several topologies have been proposed in the literature. They can
also offer higher reliability and lower cost. Fig. 4.13 shows an example where a boost
converter is integrated with the full-bridge converter. Several other topologies based on
integration of boost or buck-boost converters or based on a Z-source inverter are also
available. However, single-stage topologies generally need a capacitor in parallel with the
PV module with values higher than that of the two-stage capacitors, where it is placed in
the DC link. Bulky electrolyte capacitors that are used in these structures may be a limiting
factor for the lifetime and reliability of the converter. Their control is complex, and despite
there being a single stage, it may be difficult to reach higher efficiencies in practice.
Figure 4.17: Single-stage transformer less converter with integrated boost inverter
and unipolar PWM methods can be used, but in most cases a unipolar PWM is used to
improve the output quality of the converter. In the case of bipolar PWM, the switching
command of phase a is calculated similarly to that in the case of a three phase inverter by
comparison of Vref with the carrier signal. The switching commands of the other leg (leg b)
are complementary of those of the first leg, meaning that the gate commands for S1 and S4
are the same, and similarly the same gate signal is applied to both S2 and S3. Fig. 4.15
shows the carrier and reference voltages, as well as the output voltage of each leg and the
resulting output voltage of the inverter. In the case of unipolar PWM, however, the
switching commands for the two legs of the inverter are calculated by comparison of V ref
and –Vref with the carrier signal. Fig. 4.16. shows as example of unipolar waveforms, and
shows that this PWM results in three-level output voltage with twice the switching
frequency.
Figure 4.19: Bipolar pulse width modulation waveforms for a single-phase inverter
It can be verified that bipolar PWM results in a two-level output voltage with higher total
harmonic distortion and more stress on the output filter. That is generally why unipolar
PWM is used. When S1 and S4 are on, the common mode voltage v cm = (Va0+Vb0)/2 is
equal to Vdc , as it is when S2 and S3 are on. On the other hand, in the “freewheeling”
interval when S1 and S3 or S2 and S4 are on, the common mode voltage will be +V dc or
−Vdc respectively, giving a high-frequency common mode voltage, which in turn will result
in high leakage current. One can minimize the common mode current by keeping the
common mode voltage constant. Two solutions to reduce the leakage current by the
disconnecting of the output of the inverter from the input during the freewheeling period
are shown in Fig. 4.18.
Figure 4.20: Unipolar pulse width modulation waveforms for a single-phase inverter.
An additional switch can be added at the DC side to disconnect the two sides
during freewheeling, as shown in Fig. 4.18A. This topology is called H5 and is used in
SMA inverters. It is also possible to use two switches at the AC side to decouple the AC
and DC sides (and therefore decoupling of the grid and PV system), as shown in Fig.
4.18B. This topology is called the highly efficient reliable inverter concept (HERIC) and is
used in Sunways inverters. Both these topologies can reduce the leakage current. Several
other topologies are also available that use additional switches to clamp the load voltages
to half of the DC bus voltage during freewheeling, therefore keeping the common mode
voltage constant and the leakage current at a minimum.
MATLAB/SIMULINK
Chapter 5:MATLAB/SIMULINK
The name matlab stands for matrix laboratory. Matlab was originally written to
provide easy access to matrix software developed by the linpack and eispack projects.
Today, matlab engines incorporate the lapack and blas libraries, embedding the state of the
art in software for matrix computation.
Tool boxes are comprehensive collections of matlab functions (M-files) that extend
the matlab environment to solve particular classes of problems. Areas in which toolboxes
are available include signal processing, control systems, neutral networks, fuzzy logic,
wavelets, simulation, and many others. This is a vast collection of computational
algorithms ranging from elementary functions, like sum, sine, cosine, and complex
arithmetic, to more sophisticated functions like matrix inverse, matrix Eigen values, Bessel
functions, and fast Fourier transforms.
This is the set of tools and facilities that help you use matlab functions and files. Many
of these tools are graphical user interfaces. It includes the matlab desktop and command
window, a command history, an editor and debugger, and browsers for viewing help, the
workspace, files and the search path.
Matlab has extensive facilities for displaying vectors and matrices as graphs, as well
as annotating and printing these graphs. It includes high-level functions for two-
dimensional and three-dimensional data visualization, image processing, animation, and
presentation graphics. It also includes low-level functions that allow you to fully customize
the appearance the graphics as well as to build complete graphical user interfaces on your
matlab applications
This is a library that allows you to write C and FORTRAN programs that interact with
matlab. It includes facilities for calling routines from matlab (dynamic limiting), calling
matlab as a computational engine, and for reading and writing MAT-files.
Various blocks used in this simulation work are given in subsections below.
With a MATLAB Function block, you can write a MATLAB function for use in a
Simulink model. The MATLAB function you create executes for simulation and generates
code for a Simulink Coder target. It is under user defined functions in Matlab.
The Repeating Sequence block outputs a periodic scalar signal having a waveform
that you specify using the Time values and Output values parameters. The Time values
parameter specifies a vector of output times. The Output values parameter specifies a
vector of signal amplitudes at the corresponding output times. Together, the two
parameters specify a sampling of the output waveform at points measured from the
beginning of the interval over which the waveform repeats (the period of the signal).
The Parallel RLC Branch block implements a single resistor, inductor, and capacitor
or a parallel combination of these. Use the Branch type parameter to select elements you
want to include in the branch. Negative values are allowed for resistance, inductance, and
capacitance.
1.9.5 Powergui
The powergui block allows user to choose one of following methods to solve a
circuit
The From block accepts a signal from a corresponding Goto block, then passes it as
output. The data type of the output is the same as that of the input from the Goto block.
From and Goto blocks allow to pass a signal from one block to another without actually
connecting them. To associate a Goto block with a From block, enter the Goto block's tag
in the Goto Tag parameter. A From block can receive its signal from only one Goto block,
although a Goto block can pass its signal to more than one From block.
This figure shows that using a Goto block and a From block is equivalent to
connecting the blocks to which those blocks are connected. In the model at the left, Block1
passes a signal to Block2. That model is equivalent to the model at the right, which
connects Block1 to the Goto block, passes that signal to the From block, then on to Block2.
A local tag name is enclosed in brackets ([]). A scoped tag name is enclosed in
braces ({}). The From block supports signal label propagation
RESULTS
Chapter 6: Results
Figure.6.32: Case 1: Various Voltages and Currents of the system with PI control and
Linear Load
Figure.6.34: Case 2: Various Voltages and Currents of the system with Fuzzy control and
Linear Load
From above figures it is evident that the THD% has been minimised in case 2 with
Fuzzy controller. Simulations show the advantages of fuzzy controller for a two level
inverter for integrating Electric Vehicles into microgrid.
7.1 Conclusions
In this work, a fuzzy based control for a two-level inverter is proposed. The
proposed controller is aimed at providing cheaper solution for Electric Vehicles integration
into standalone microgrid. These standalone micro grids needs better control to convert DC
power generated to AC power with proper grid code. Simulation results extend the voltage
regulation capability, balanced voltages after integration of Electric Vehicles. The
proposed FUZZY control algorithm could able to control amplitude loop to meet grid code.
Also, the proposed solution provides balance and low THD voltages to the customers.
The control mechanism can be developed for mitigating other power quality
issues.
References
[1] S. Choi, S. Park, D.-J. Kang, S. Han, and H.-M. Kim, “Microgrid energy management
system for inducing optimal demand response,” in Proc. 2011 IEEE SmartGrid Comm, pp.
19–24.
[3] R. Walawalkar, J. Apt, and R. Mancini, “Economics of electric energy storage for
energy arbitrage and regulation in New York,” Energy Policy, vol. 35, no. 4, pp. 2558–
2568, 2007.
[4] R. Sioshansi, P. Denholm, T. Jenkin, and J. Weiss, “Estimating the value of electricity
storage in PJM: Arbitrage and some welfare effects,” Energy Economics, vol. 31, no. 1,
pp. 269–277, 2009.
[5] J. Tomic and W. Kempton, “Using fleets of electric-drive vehicles for grid support,” J.
Power Sources, vol. 168, no. 2, pp. 459–468, 2007.
[6] W. Shi and V. W. S. Wong, “Real-time vehicle-to-grid control algorithm under price
uncertainty,” in Proc. 2011 IEEE SmartGridComm, pp. 261–266.
[11] S. Beer, T. Gomez, D. Dallinger, I. Momber, C. Marnay, M. Stadler, and J. Lai, “An
economic analysis of used electric vehicle batteries integrated into commercial building
microgrids,” IEEE Trans. Smart Grid, vol. 3, no. 1, pp. 517–525, 2012.
[13] C. Chen, S. Duan, T. Cai, B. Liu, and G. Hu, “Smart energy management system for
optimal microgrid economic operation,” IET Renewable Power Generation, vol. 5, no. 3,
pp. 258–267, 2011.
[16] H. Yang, L. Lu, and W. Zhou, “A novel optimization sizing model for hybrid solar-
wind power generation system,” Solar Energy, vol. 81, no. 1, pp. 76–84, 2007.
[17] R. Sioshansi and P. Denholm, “The value of plug-in hybrid electric vehicles as grid
resources,” Energy J., vol. 31, no. 3, pp. 1–23, 2010.
[18] “CPLEX Optimization subroutine library guide and reference,” Version 12.5, ILOG
Inc.. Incline Village, NV, USA, License under IBM Academic Initiative.
[19] Z. Luo, Z. Hu, Y. Song, Z. Xu, and H. Lu, “Optimal coordination of plug-in electric
vehicles in power grids with cost-benefit analysis—Part I: Enabling techniques,” IEEE
Trans. Power Syst., vol. 28, no. 4, pp. 3546–3555, Nov. 2013.
[20] L. Hua, J. Wang, and C. Zhou, “Adaptive electric vehicle charging coordination on
distribution network,” IEEE Trans. Smart Grid, vol. 5, no. 6, pp. 2666–2675, Nov. 2014.
[21] K. Clement-Nyns, E. Haesen, and J. Driesen, “The impact of charging plug-in hybrid
electric vehicle on a residential distribution grid,” IEEE Trans. Power Syst., vol. 25, no. 1,
pp. 371–380, Feb. 2010.
in hybrid electric vehicles in residential distribution grids,” in Proc. Power Syst. Conf.
Expo., Seattle, WA, USA, Mar. 2009, pp. 1–7.
[24] L. Gan, U. Topcu, and S. H. Low, “Optimal decentralized protocol for electric vehicle
charging,” IEEE Trans. Power Syst., vol. 28, no. 2, pp. 940–951, May 2012.
[27] W. Qi, Z. Xu, Z.-J. M. Shen, Z. Hu, and Y. Song, “Hierarchical coordinated control of
plug-in electric vehicles charging in multifamily dwellings,” IEEE Trans. Smart Grid, vol.
5, no. 3, pp. 1465–1474, May 2014.