Beruflich Dokumente
Kultur Dokumente
By
UNIVERSITY OF FLORIDA
2005
Copyright 2005
by
engineer at S&C Electric Co. (Chicago, IL) for his patience and the knowledge he shared
throughout the project. I would also like to acknowledge Kenneth Mattern (manager at
S&C Electric Co., Power Quality Division) for his constant encouragement and
chair) for his funding during my graduate studies. My gratitude also goes to my
supervisory committee (Dr. Ngo, Dr. Arroyo, and Dr. Goswami) for all of their time and
effort.
and believing in me throughout my stay in the United States. I would finally like to
express my love and gratitude to my girlfriend, Andrea Victoriano, for her help with the
proofreading and for always being the shoulder I could lean on throughout the project
iv
TABLE OF CONTENTS
page
ACKNOWLEDGMENTS ................................................................................................. iv
ABSTRACT.................................................................................................................... xvii
CHAPTER
1 INTRODUCTION ........................................................................................................1
2 SYSTEM DESIGN.....................................................................................................14
Introduction.................................................................................................................14
Control Scheme ..........................................................................................................14
Positive Sequence Calculation ............................................................................14
Real Power Calculation Using dq Components ..................................................20
Phase Locked Loop .............................................................................................21
Control Algorithm Design...................................................................................26
Inner regulators ............................................................................................27
Outer regulators............................................................................................35
Per-Unit System Model ..............................................................................................56
Inverter Output-Filter Design ..............................................................................56
Harmonic content .........................................................................................57
Switching frequency.....................................................................................60
Passive filter design......................................................................................61
Passive filter damping ..................................................................................65
Direct-Current Link Capacitor Design ................................................................68
Energy Storage Design ........................................................................................69
Chopper Inductor Design ....................................................................................71
Per-Unit System Model Summary.......................................................................72
Simulated Model.........................................................................................................73
v
3 SYSTEM DESCRIPTION..........................................................................................78
System Overview........................................................................................................78
Electrical Network Model...........................................................................................80
Synchronous Machine .........................................................................................80
Voltage regulation ...............................................................................................81
Prime Mover........................................................................................................81
Synchronous Machine Control Algorithm ..........................................................83
Wind-Farm Model ......................................................................................................87
Wind-Farm Control Algorithm............................................................................90
Wind-Farm Power-Factor Correction..................................................................90
Wind-Farm Soft-Start System .............................................................................94
Power Stabilizer..........................................................................................................97
Power-Stabilizer Hardware Description..............................................................97
Interface board..............................................................................................99
Digital signal processor..............................................................................105
Field-programmable gate array ..................................................................106
Intelligent power module ...........................................................................107
Isolation interface circuit............................................................................108
Power Stabilizer Software Description .............................................................108
Description of DSP program ......................................................................109
FPGA program description ........................................................................114
5 SUMMARY..............................................................................................................148
Conclusions...............................................................................................................148
Further Work ............................................................................................................150
APPENDIX
A MATHEMATICAL TRANSFORMATIONS..........................................................151
vi
C POWER STABILIZER CONTROL MODULES ....................................................168
LIST OF REFERENCES.................................................................................................172
vii
LIST OF TABLES
Table page
viii
LIST OF FIGURES
Figure page
1-1 Wind-power output for two wind farms during one month. .....................................5
2-2 Space vector trajectory of an unbalanced system in the d-q-o plane ......................16
ix
2-15 PLL system response to a frequency excursion ......................................................26
x
2-40 Adaptive control scheme .........................................................................................46
2-48 Power limiter 2. Inverter response for a sampling time of 2 seconds .....................52
2-49 Power limiter 2. Inverter response for different power ratings. Sampling time 2
seconds .....................................................................................................................53
2-50 Power limiter 2. Inverter response for different ESS sizes. Sampling time 2
seconds .....................................................................................................................53
2-53 Power limiter 3. Inverter response for a sampling time of 2 seconds .....................55
2-60 Single phase equivalent filter model at the fundamental frequency .......................62
2-61 Single phase equivalent filter model at the hth harmonic ........................................63
xi
2-63 Single phase harmonic generator equivalent circuits ..............................................66
3-2 DC gen-set...............................................................................................................83
3-14 Wind-farm power regulator & current regulator step response (ΔP=100%) ..........91
xii
3-17 PF correction capacitor bank current waveforms....................................................93
3-27 LEM current scaling circuit (input [-0.36 +0.36A], output [0 +3V])....................101
xiii
3-42 Up/Down counter. .................................................................................................117
4-3 Iqref command step change from -0.5 to 0.5 A per unit. Integral gain effect ........123
4-4 Iqref command step change from -0.5 to 0.5 A per unit. Proportional gain
effect.......................................................................................................................124
4-6 Iqref command step change from -0.5 to 0.5 and back to -0.5 A per unit ............124
4-7 Power stabilizer harmonic injection response for Ki=18 and Kp=1 .....................125
4-17 Measured and modeled high pass filter results for Kc=0.0064 W/J,
fcut_off=0.005 Hz ......................................................................................................132
4-19 Measured high pass filter performance for different cut-off frequencies. System
parameters Kc=0.0064 W/J.....................................................................................134
xiv
4-20 Modeled high pass filter performance for different cut-off frequencies. System
parameters Kc=0.0064 W/J.....................................................................................135
4-21 Measured high pass filter performance for different energy storage sizes.
System parameters, Kc=0.0064 W/J, fcut-off=0.005 Hz. ..........................................135
4-22 Cut-off frequency trajectory of the adaptive high pass filter for a given energy
deviation .................................................................................................................136
4-23 Measured adaptive high pass filter performance for different Kf’s. System
parameters, Kc=0.0064 W/J, fcut-off-origin=0.005 Hz.................................................137
4-24 Measured adaptive high pass filter performance for different energy storage
sizes. .......................................................................................................................137
4-26. Measured and modeled power limiter 2 results for Kc=0.0064, RR=2
MW/minute, A=0.3 MW/minute, I=1MW/2 seconds fcut-off=0.005 Hz. ................140
4-27 Measured power indexes activity. System parameters: Kc=0.0064 W/J, RR=2
MW/minute, A=0.3 MW/minute, I=1 MW/2 seconds, and fs=10Hz.....................141
4-29 Measured power limiter 2 response to different ramp rate limits. ........................142
4-31 Effect of linear interpolation on the average power fluctuation index activity.
The sampling time of the original wind-power data is 2 seconds ..........................144
4-34 Measured synchronous machine output power for the different power limiter
control schemes ......................................................................................................146
4-35 Measured synchronous machine output power for the different power limiter
control schemes. .....................................................................................................147
xv
A-2 Stationary ds-qs components in the time domain .....................................................153
xvi
Abstract of Dissertation Presented to the Graduate School
of the University of Florida in Partial Fulfillment of the
Requirements for the Degree of Doctor of Philosophy
By
May 2005
As the cost of installing and operating wind generators has dropped, and the cost of
penetration levels are thus expected to augment in the near future raising the need for
additional spinning reserve to counteract the effects of wind variations. This solution is
technologically viable, but it has high associated costs. Our study presents a different
combined with energy-storage systems. New control schemes (designed to filter power
swings with a minimum of energy) were designed, modeled and verified through
experimental tests. We also determined the procedure to extract the corresponding per-
xvii
We first reviewed D-Q transformations with emphasis on modeling of the system
and control algorithm. System components were then designed using criteria similar to
down isolated system using real wind-power data. Tests were conducted under realistic
characterized the impacts and benefits of the Power Stabilizer. We described the scaled-
down isolated electric power system used in the testing. We also analyzed the
performance of the wind-farm model and the synchronous machine’s governor to gain an
Systems Computer Aided Design (PSCAD) were compared to experimental data to verify
the performance of the power converter under different system conditions and algorithms.
Power limiters were also contrasted and evaluated for frequency deviations and
In summary we can say that, among all the power limiters considered in our study,
the adaptive high pass filter presented the best performance in terms of system robustness
and effectiveness.
xviii
CHAPTER 1
INTRODUCTION
Wind-Energy Outlook
Wind power has been used for at least 3000 years, mainly for milling grain,
pumping water, or driving various types of machines. However, the first attempt to use
wind turbines for producing electricity date back to the 19th century. In 1891, Poul La
Cour in Demark built an experimental wind turbine driving a dynamo. The oil crisis of
the 1970s revived interest in wind turbines. Nowadays, the power is the fastest growing
source of energy in the world and its growth rates have exceeded 30% annually over the
past decade [1]. Cumulative global wind-energy generating capacity approached 40,000
MW by the end of 2003 [2]-[3]. The main drivers for developing of the wind industry in
• Federal Renewable Energy Policies, particularly the Production Tax Credit (PTC)
that provides a 1.5 cent per kilowatt-hour credit for electricity produced from a
wind farm during the first 10 years of operation. This wind energy PTC expired
December 31, 2003 but will be reinstated through 2005 as part of a major tax
package (H.R. 1308).
The Database of State Incentive for Renewable Energy [4] gives more information
the need for a new source of energy capable of meeting the world’s growing power
demand and the rising prices of conventional fossil fuel-based generation, make the wind
1
2
exist for wind to provide 12% of the world’s electricity by 2020. The American Wind
Energy Association forecasts that wind power will provide 6% of the US’s electricity by
The positive effects of using such types of renewable resources are well known.
However, wind-power plants, like all other energy technology, have some drawbacks that
should be mentioned. These problems can be divided into major groups: environmental
• Sound from turbines: Some wind turbines built in the early 1980s were very
noisy. However, manufactures have been working on making the turbines quieter.
Today, an operating wind farm at a distance of 750 to 1,000 feet is no noisier than a
moderately quiet room. Research in aero-acoustics is still being carried out to
further reduce noise from wind on the blades.
• Bird death: Wind turbines are often mentioned as a risk to birds, and several
international tests have been performed. The general conclusion is that birds are
seldom bothered by wind turbines. Studies show that for example, overhead power
pole lines are far more hazardous for birds than wind turbines [2].
• Wind-tower shadow effect: Wind turbines, like other tall structures cast a shadow
on the neighboring area when the sun is visible. It may be irritating if the rotor
blades chop the sunlight, causing a flickering effect while the rotor is in motion,
especially when the sun is low in the sky.
electric power system influences the system operating point (load flow, nodal voltages,
power losses, etc). These changes in the electric power system state bring up new system-
integration issues that system operators and power quality engineers must take into
account. These interconnection issues can be divided into operational issues and electrical
issues.
Electrical Issues
systems. This influence on the electric power system depends on wind variations and on
follows:
the impact of such wind-turbine generation systems on the electric power system.
This standard focuses on the technical specifications for, and testing of, the
interconnection itself. It provides requirements relevant to the performance,
operation, testing, safety considerations, and maintenance of the interconnection. It
includes general requirements, response to abnormal conditions, power quality,
islanding, and test specifications and requirements for design, production,
installation evaluation, commissioning, and periodic tests. The stated requirements
are universally needed for interconnection of distributed resources (DR), including
synchronous machines, induction machines, or power inverters/converters and will
be sufficient for most installations. The criteria and requirements are applicable to
all DR technologies, with aggregate capacity of 10 MVA or less at the point of
common coupling, interconnected to electric power systems at typical primary
and/or secondary distribution voltages.
4
The purpose of this part of IEC 61400 is to provide a uniform methodology that
will ensure consistency and accuracy in the measurement and assessment of power
quality characteristics of grid connected wind turbines (WTs). In this respect the
term power quality includes those electric characteristics of the WT that influence
the voltage quality of the grid to which the WT is connected.
Table 1-1 shows technical specifications for interconnection and power assessment
As shown in Table 1-1, both standards overlooked one of the most significant
characteristics of wind farms: its variability (i.e., power fluctuations) [7], the most
• Shadow effect having a spectrum of frequencies from 1-2 Hz and producing torque
variations up to 30%.
• Complex oscillations of the turbine tower, rotor shaft, gear box, and blades with
spectrum frequencies from 2-100 Hz, and creating torque variations up to 10%.
Figure 1-1 shows actual output power data collected by NREL from two large
wind-power plants in the United States. The small wind farm has a capacity of about 35
40
30
Power (MW)
20
10
0
A
0 0.5 1 1.5 2 2.5 3
Time (s) 6
x 10
100
Power (MW)
50
0
0 0.5 1 1.5 2 2.5 3
B
Time (s) 6
x 10
Figure 1-1. Wind-power output for two wind farms during one month (May 2003). A)
Nominal capacity 35 MW. B) Nominal capacity 150 MW.
Even though the technology used in constructing the small wind farm is more than
a decade older than the large one, power fluctuations keep being an issue. Figure 1-2 is a
close-up of Figure 1-1 and shows the magnitude of these power fluctuations.
developers to determine the amount of power that will be transferred into the grid for a
single turbine, given the wind speed. However, those figures represent only the mean
values, since a series of stochastic values cannot be controlled, and create additional
power fluctuations.
Wind-output power fluctuations can have different effects on the electric power
system, but the most significant ones are voltage variation and frequency variation in
30
30
(MW)
(MW)
20
Power
20
Power
10
10
A
0
00 1 2 3 4 5 6 7 8
0 1 2 3 4
Time (s) 5 6 7 8 4
x 10
Time (s) x 10
4
70
(MW)
100
(MW)
60
Power
Power
50
50
40
B
0 1 2 3 4 5 6 7 8
0
0 1 2 3 Time
4 (s) 5 6 7 8 x 10
4
As the power fluctuates, the reactive power required by the turbines changes as
well, and therefore voltage variations are expected, especially when the wind farm is
7
located at weak points in the system. To compensate for such voltage variations and keep
the voltage close to its rated value, several solutions are available: simple capacitor
fluctuations. Normally, wind farms connected to big systems do not present a major
However, with small or isolated systems that contain slow or no automatic generation
controls, a mismatch between generated and absorbed power can significantly affect
system frequency unless spinning reserves are significant. Figure 1-4 shows the effect of
To counter these negative effects, countries and small isolated systems with high
frequency control. However, today’s wind farms have limited capacity to reduce the rate
At high wind speeds (above the rated wind speed), active and stalled pitch controls,
among other strategies, can help keep the output power under control. However, modern
wind turbines are designed to obtain as much power as possible at low wind speeds
To reduce the effects of wind-power variations and meet the PPA requirements for
an energy-storage system that could deliver the required power when needed.
Work has been done in developing large-scale energy storage systems that have
overcome these issues by absorbing undesirable power fluctuations and providing firm,
dependable peaking capacity [8]. However, a less costly solution should be explored
Storing wind power is not a new concept; in fact, back in 1900, the father of the
modern wind turbine, Poul La Cour, tackled for the first time the problem of energy
storage. He used the electricity from the wind turbines for electrolysis and to store energy
in the form of hydrogen. However, with time, system requirements, energy storage
Nowadays, the average wind turbine installed is around 1 MW, according to the
European Wind Energy Association, and wind-power farms usually consists of ten to
several tens of wind-turbine generators of rated power up to 2 MW. Thus, the amount of
energy storage needed to stabilize the power output change in the short term has
increased. Table 1-3 shows some recent projects dealing with output leveling of wind-
energy conversion.
Table 1-3. Large-scale wind-power output-leveling projects
Active power reference
Project name Wind farm size Energy storage system
control scheme
Subaru Project [9]. 1.65 MW *16 Vanadium–Redox Flow Battery Moving Average of wind farm output
Tomamae wind-power (Vestas). determined as
station. 1.5 MW * 5 PVRB nominal =4.000kW
(Enercon). EVRB=6.000kWh Pbattery=Pwind average (t-Δt)-Pwind(t)
S inverter=6.000kVA (for Δt=8 seconds to 8 hours)
Total Capacity
30.6 MW
King Island [10]. Energy- 250 kW*3 Vanadium–Redox Flow Battery Isochronous frequency mode over the VRB
storage system provided 850 kW*2 power range.
10
by Pinnacle VRB PVRB nominal=200kW Speed droop characteristic during instantaneous
Total Capacity PVRB short-term ( 5 minutes)=300kW and short-term load (>± 200 kW).
2.45 MW PVRB short-term (10 seconds)=400kW
EVRB =1100kWh
Oki project by Fuji 600 kW *3 Flywheel Power ramp rate limiting
Electric
Total Capacity E flywheel = 100 kW - 90 sec
1.8 MW P inverter flywheel side= 110kVA
P inverter power system side= 150kVA
11
been proposed (Table 1-4). Each of these projects has a different objective (frequency
control, power smoothing, load leveling, etc.). However, they all end up using one of the
topologies and energy-storage systems shown in Table 1-5, where the flywheel or
capacitors may be replaced by some other energy-storage medium. Tables 1-3 and 1-4
show that the amount of energy needed for wind-power balancing using current
technology and current pricing is so significant, that a more flexible and integrated
approach is needed.
Our study focused on developing new power smoothing control algorithms. The
Objective
generation buffering concept is shown in Figure 1-6. The Power Stabilizer was designed
to store excess power during periods of increased wind-power generation and release
12
E ECS =1.1 kWh
10600 10600
10400 10400
10200
Wind power + Wind farm buffer Power
10200
10000 10000
Power (W)
Power (W)
9800 9800
9600 9600
9400 9400
9200 9200
V47
VRCC
9000 9000
Vestas
8800 8800
0 20 40 60 80 100 120 0 20 40 60 80 100 120
Time (s) Time (s)
L1 A A A A
? ?
L2 B B B B
#2 #1 #2 #1
L3 C C C C
0.69 12.47 12.47 69.0
WIND FARM
200
1 3 5 5
dcCur
0 2 2 2 2
g1 g3 g5 gc1
Power (W)
A A NAS
-200 ?
VnaS Chopper Reactor
300.0
B B NBS
#1 #2
-400 VnbS 1.0
C C NCS
12.47 0.48
VncS
1.0
-600 Energy Storage
Capacitor
4 6 2 5
2 2 2 2
-800 g4 g6 g2 gc2
-1000
0 20 40 60 80 100 120
Time (s)
Synchronous Machine
ESS (flywheel)
DC link
Voltage Source
Inverter ESS (flywheel)
Induction Machine
Chopper (DC/DC
ECS
converter)
Current Source
Inverter ESS (capacitors)
Introduction
One of the most difficult tasks when designing a control algorithm for a power
parameters is based on the electric power system they are connected to, and also on the
power electronic converter topology. This chapter details the design of the different
regulators involved in the control of the Power Stabilizer and also the design of the
The system design was carried out per unit, so results can be extrapolated to any
signal processor. The system design was also compared to simulation results to assure the
Control Scheme
Three-phase systems are not always balanced, especially during fault conditions,
and it is expected to have positive, negative and even zero sequence components.
However, for voltage regulation purposes, only the positive sequence component is of
importance.
Before going into detail on the positive extraction algorithm description, we will
explain first where the transformations given in Appendix A fail in coupling the different
14
15
Va = 0.5∠ 0°
Vb = 1.0 ∠ −120° (2-1)
Vc = 1.0 ∠ −240°
Figure 2-1 shows the time domain representation of this three-phase unbalanced system.
V1 = 0.833∠ 0°
V2 = 0.167 ∠180° (2-2)
V0 = 0.167 ∠180°
distortion or asymmetry the system has. However, it has the drawback of having to use
phasors as input instead of time domain signals. Therefore a different transformation was
needed in order to extract the positive sequence component out of the rotating space
vector.
Figure 2-2 shows the trajectory followed by the rotating space vector of the
unbalanced system in the d-q-o plane using Clarke’s transformation. This trajectory is
16
clearly distorted from the ideal one, and the space vector no longer follows a circular path
(Figure 2-3).
Figure 2-2. Space vector trajectory of an unbalanced system in the d-q-o plane
Figure 2-3. Space vector trajectory projection over the d-q plane
Figure 2-4 shows the Vdr and Vqr components (Park’s transformation) of the
It is clear that the Vdr component is not constant any more, and it contains a 2nd
harmonic due to the negative sequence. This effect can also be explained in the frequency
domain as shown in Figure 2-5. The rotating reference frame aligns with the fundamental
0.167
-w w w
dc
-2w -w dc
Thus, it can be concluded that Clarke’s and Park’s transformations do not provide
therefore necessary then to redefine the transformations in order to extract the desired
components.
Assuming the three-phase electric system has positive and negative sequence
components
Va = V p ⋅ cos( wt ) + Vn ⋅ cos(− wt )
2π 2π
Vb = V p ⋅ cos( wt − ) + Vn ⋅ cos(− wt + ) (2-3)
3 3
4π 4π
Vc = V p ⋅ cos( wt − ) + Vn ⋅ cos(− wt + )
3 3
where Vds+ and Vqs+ are the d-q components of the positive sequence, while Vds− and Vqs−
If we now assume that the symmetrical components remained constant for at least a
1 ⎛ ⎛ π ⎞⎞
Vds + (t ) = ⋅ ⎜⎜ Vds (t ) − Vqs ⎜ t − ⎟ ⎟⎟
2 ⎝ ⎝ 2 ⎠⎠
1 ⎛ ⎛ π⎞ ⎞
Vqs + (t ) = ⋅ ⎜⎜ Vds ⎜ t − ⎟ + Vqs (t )⎟⎟
2 ⎝ ⎝ 2⎠ ⎠
(2-5)
1 ⎛ ⎛ π ⎞⎞
Vds − (t ) = ⋅ ⎜⎜ Vds (t ) + Vqs ⎜ t − ⎟ ⎟⎟
2 ⎝ ⎝ 2 ⎠⎠
1 ⎛ ⎛ π⎞ ⎞
Vqs − (t ) = ⋅ ⎜⎜ Vds ⎜ t − ⎟ − Vqs (t )⎟⎟
2 ⎝ ⎝ 2⎠ ⎠
19
These components can now be transformed using the rotating reference frame in
order to obtain the positive sequence component. Figure 2-6 shows the block diagram of
the algorithm used to extract the positive-sequence component. The same concept could
Vdr
Vds
Va abd dsqs
Vb
Vqs Vqr
Vc dsqs drqr
_+
Sliding window
filter
Vds+ Vdr+ V
Delay (1/f/4) 0.5 dsqs x +
magnitude
positive sequence
+ Vqr+
+ Filter
Vqs+ drqr x +
Delay (1/f/4) + 0.5
Figure 2-8 shows the algorithm performance when an unbalanced fault condition
takes place at t=0.02 sec (Figure 2-7). The data used for this example is given by
Equation 2-2.
A B
• Vpositive-sequence magnitude (1/2 cycle filter) is the filtered signal of Vpositive-sequence magnitude using
a half cycle sliding window filter.
• Vpositive-sequence magnitude (1 cycle filter) is the filtered signal of Vpositive-sequence magnitude using a
one-cycle sliding window filter. Its transient response is the slowest but at the same
time the smoothest among the three signals.
• Vdr filtered is the filtered signal of Vdr . The one cycle sliding window filter (also
called moving average) rejects all harmonics. Therefore there is no need to use the
Vds+ and Vqs+ calculator to extract the positive sequence. However its transient
response is not as smooth as the Vpositive-sequence magnitude (1 cycle filter) one.
[ ] [ ]
t
( Tdqo ≠ Tdqo
−1
) and therefore is not power invariant.
The total instantaneous power in abc quantities can be transformed into q-d-o
This relationship between dqo quantities and the instantaneous power is later used
t
⎡Va ⎤ ⎡I a ⎤
Pabc = Va ⋅ I a + Vb ⋅ I b + Vc ⋅ I c = ⎢⎢Vb ⎥⎥ ⋅ ⎢⎢ I b ⎥⎥
⎢⎣Vc ⎥⎦ ⎢⎣ I c ⎥⎦
t
⎡ ⎡Vdr ⎤ ⎤ ⎡ ⎡ I dr ⎤ ⎤
⎢
[ ]
= ⎢ Tdqo
−1 ⎢
⋅ ⎢Vqr ⎥⎥ ⎥
⎥
[ ]
⎢
⋅ ⎢ Tdqo
−1
⋅ ⎢ I qr ⎥⎥ ⎥
⎢ ⎥
⎢⎣ ⎢⎣ Vo ⎥⎦ ⎥⎦ ⎢⎣ ⎢⎣ I o ⎥⎦ ⎥⎦
⎡ I dr ⎤
[
= Vdr Vqr ] [[ ] ] ⋅ [T ]
Vo ⋅ Tdqo
−1 t
dqo
−1
⋅ ⎢⎢ I qr ⎥⎥
⎢⎣ I o ⎥⎦
⎡3 ⎤
⎢2 0⎥ 0
⎥ ⎡ dr ⎤
I
⎢
[
= Vdr Vqr ]
Vo ⋅ ⎢ 0
3
2
⎢
0 ⎥ ⋅ ⎢ I qr ⎥⎥
⎢ ⎥
⎢0 1 ⎥ ⎢⎣ I o ⎥⎦
0
⎢⎣ 3 ⎥⎦
= ⋅ (Vdr ⋅ I dr + Vqr ⋅ I qr ) + ⋅ Vo ⋅ I o
3 1 (2-6)
2 3
The phase angle of the utility voltage (Ө) is of vital importance for the operation of
most of the advanced power electronic devices connected to the electric utility, since it
A simple and fast method to obtain the phase angle of the utility voltage is to use
⎡ 1 1 ⎤ ⎡X ⎤
⎢ 1 − −
2 ⎥ ⋅⎢X ⎥
a
⎡ ds ⎤ 2
X 2 ⎛ X qs ⎞
⎢X ⎥ = ⎢ ⎥ ⇒ θ = arctan⎜⎜ ⎟⎟ (2-7)
⎣ qs ⎦ 3 ⎢0 3 3⎥ ⎢ b⎥ ⎝ X ds ⎠
− ⎢X ⎥
⎣⎢ 2 2 ⎦⎥ ⎣ c ⎦
22
disturbances. The phase angle Ө distorts as the utility’s voltage becomes affected by
different power quality events, such as voltage unbalance, voltage sags, frequency
variations, etc.
Figure 2-9 shows the voltage’s phase angle under unbalanced conditions using
Equation 2-7. The angle distortion is due to the negative sequence component of the
In order to lock the phase angle of the utility voltage in a robust way, a phase
Assuming a balanced three phase system, the control model of the PLL was
Where Ө* is the PLL phase angle output, Ө is the utility’s phase angle, and w = dθ .
dt
Where ΔӨ is the error between the utility angle and the PLL output. If the ΔӨ is set to
zero, Vdr=V and Vqr=0. Therefore, it is possible to lock the utility angle by regulating Vqr
to zero without needing any information regarding the magnitude of the utility voltage.
Figure 2-10 shows the details of the PLL algorithm used in our study. The limits of
the controller integrator and the limiter were ±30 rad/sec. Thus, the PLL was able to track
the system frequency as long as this was within 2π60±30 rad/sec or 55 to 65 Hz range.
To use linear control techniques for the design and tuning of PLL controller, it was
assumed that:
• For small values of ΔӨ, the term sin (ΔӨ) behaved linearly, i.e., sin(ΔӨ) ≈ ΔӨ.
• Wref was assumed to be a constant perturbation.
• Limiters behave linearly for small control actions, and therefore can be removed.
θ
Va Vds Vdr
abd dsqs Kp
Vb
Vqs Vqr 30
+ 30
+ 1
Vc dsqs drqr s
1 +
-30 +
Ki s
-30
W ref=2πf
Figure 2-11 shows the PLL control loop after eliminating the non-lineal terms.
The closed loop transfer function of Figure 2-11 determines the dynamic
θ* K ps + KI
H= = 2 (2-11)
θ s + K ps + KI
The control system (Kp and Ki) was designed to satisfy two performance
objectives
The PLL closed loop transfer function was compared to a standard second order
transfer function to determine the regulator’s gains. The obtained values were
Figure 2-12 shows the system’s closed-loop step response for two different PI
regulators.
25
The originally designed regulator did not meet the system requirements due to the
effect of the zero introduced by the PLL regulator. This additional zero increased the
overshoot, but it had very little influence on the settling time. Thus, it was necessary to
tune the original regulator gains in order to meet the system requirements.
Figure 2-13 shows the root locus of the single-input single output PLL system for
Figures 2-14 and 2-15 show the PLL system response to a negative sequence
A B
Figure 2-15. PLL system response to a frequency excursion. A) Angle. B) PLL error.
Park’s transformation was used to model the system’s equations to facilitate the
design of the control system. The usage of a rotating reference frame had the following
advantages:
• Decoupling of active and reactive power: This was very useful when trying to
control voltage at the point of coupling while meeting the system requirements in
terms of power fluctuations.
Figure 2-16 shows the overall system topology as well as the sign notation that was
used in the control system design. In general, power flowing out of the inverter will be
considered to be positive. The objective was to smooth out wind-power fluctuations using
the power stabilizer as a buffer. The energy-storage voltage was expected to change in
WIND UTILITY
FARM SYSTEM
Transformer
Inverter DC link bus
equivalent impedance Chopper
Xsource
Lxfrm Lf
Iwind Vf Cdc Ichopper
Vpcc Vdc
Cf Iinv Vinv Vchopper Vstorage
ESS
Filter
P+
Figure 2-16. System description
Inner regulators
Inverter system model. For the following set of equations, it was assumed that the
inverter behaved as an ideal controllable voltage source, neglecting the effects of the
The capacitor filter was neglected in the analysis, since the filter current
Where
[T ]⋅ d [Tdt ]
−1
dqo
dqo =
Thus, the equations for the simplified model in the d-q plane are
three-wire inverter with the DC link bus isolated from the AC side (the DC link mid-
point will not be tapped to neutral). Removing the zero sequence we obtain
dI inv dr
Vinv dr = R ⋅ I inv dr + L ⋅ + V pcc dr − L ⋅ ω ⋅ I inv qr
dt
(2-21)
dI inv qr
Vinv qr = R ⋅ I inv qr + L ⋅ + V pcc qr + L ⋅ ω ⋅ I inv dr
dt
30
2-18.
R L Iinv dr LωIinv qr
Vpcc dr Vinv dr
A
R L Iinv qr LωIinv dr
Vpcc qr Vinv qr
Iinv dr
Vinv dr + 1
- + R + Ls
Vpcc dr
ωL
ωL
- Iinv qr
Vinv qr + 1
- R + Ls
Vpcc qr
The inverter’s critical control variable was the inverter’s current. This was due to
the fact the outer control loops, such voltage regulators, power regulators, etc, were based
on the inner current regulators. That was why the current controllers were designed to
meet two basic requirements, which were high accuracy and high bandwidth.
The inverter’s terminal-voltage needed to generate the desired inverter current can
be determined as
dI inv dr
Vinv dr = R ⋅ I inv dr + L ⋅ + V pcc dr − L ⋅ ω ⋅ I inv qr = ΔVdropdr + V pcc dr − L ⋅ ω ⋅ I inv qr
dt
(2-23)
dI inv qr
Vinv qr = R ⋅ I inv qr + L ⋅ + V pcc qr + L ⋅ ω ⋅ I inv dr = ΔVdropqr + V pcc qr + L ⋅ ω ⋅ I inv dr
dt
The voltage drop due to the filter inductance was compensated using a PI
controller. Figure 2-20 shows the inveter’s current controller implementation for the
Vˆpcc dr
ω̂L̂
Iinv dr ref
- Kp + Iinv dr Iinv dr
+ ΔVdrop dr + Vinv dr + 1
1 + + - + R + Ls
Ki -
s
Vpcc dr
ωL
ωL
ω̂L̂
The character ^ over a constant or variable indicates that the quantity is estimated,
cancel each other out. Under these conditions, the simplified current regulator block
Iinv dr ref
- Kp + Iinv dr Iinv dr
+ 1
1 + R + Ls
Ki
s
• The system behaves linearly, and therefore linear control techniques can be used to
determine the regulators’ gains.
Kp +
Iref 1
+ Control Action I
1 + R + Ls
- Ki
s
I K p ⋅ s + KI
H (s) = = (2-24)
I ref Ls 2 + (R + K p )s + K I
Using the following system data, the transfer function is given in Equation 2-25.
The Figure 2-23 shows the system step response for two different current regulator
gains.
Even though the current regulator with the highest gains had a faster settling time,
the control action required to obtain such a response doubled the regulator with the
lowest gains. To avoid possible system saturations the control action was kept below 1
pu.
The best PI controller performance was achieved when the plant’s dominant pole
was cancelled by the controller (Equation 2-26). Thus, the zero at - K I was assigned to
Kp
⎛ K ⎞
K p ⋅⎜ s + I ⎟
K ⎜ K p ⎟⎠
PI = K p + I = ⎝ (2-26)
s s
The synthesis was done by selecting the integral time constant of the PI equal to
that of the load. For our study the selected values were
R
KI = = 37.5
L
K p =1
Chopper system model. The analysis of the chopper system was less complex than
the inverter one, since no transformations were involved. Again, it was assumed that the
chopper behaved as an ideal controllable voltage source and therefore the effects of the
Ichopper
V chopper V storage
The system equations for the chopper equivalent circuit (Figure 2-24) are given in
Equaion 2-27.
dI chopper
Vstorage = L ⋅ + Vchopper
dt
(2-27)
dI chopper
Vchopper = Vstorage − L ⋅
dt
The chopper’s terminals voltage needed to generate the desired chopper current
can be determined as
The voltage drop due to the chopper inductance was compensated using a simple P
controller. The gain of the controller was found by converting the continuous system into
Where KL is the regulator’s gain and Δt is half of the sampling time period.
Ichopper Vstorage
Outer regulators
Iinvdr_ref, and Iinvqr_ref.. However, there were four variables that needed to be controlled,
which were voltage at the dc link bus, voltage at the point of common coupling, voltage
at the energy storage system, and wind farm power fluctuation. Table 2-1 shows how
DC link Voltage regulator. The DC link bus was the bridge between the energy
storage system (chopper) and the inverter. Therefore, it was a critical variable in the
overall system. Poor DC voltage regulation could bring the system down, since the
inverter and chopper would not be able to meet their respective voltage requirements.
P+
Figure 2-26. Powers' definition
2
1 d (Vdc link )
⋅ C dc link ⋅ ≈ I chopper ⋅ Vstorage − Pinvout (2-31)
2 dt
Linearizing Equation 2-31 around the nominal point of the energy-storage voltage
1
⋅ C dc link ⋅ (Vdc2 link )( s) ⋅ s ≈ I chopper ( s ) ⋅ Vstorage − Pinvout ( s )
2
(2-32)
2 ⋅Vstorage ⎛ P ( s) ⎞
Vdc2 link ( s ) = ⋅ ⎜ I chopper ( s ) − out ⎟
C dc link ⎜⎝ Vstorage ⎟⎠
Pout
Vstorage
+ Vdc2 link
I chopper 2 ⋅Vstorage
+
Cdc link ⋅ s
1 d (Vdc2 ) 1
⋅ C dc ⋅ ≈ I chopper ⋅ Vstorage ⇒ ⋅ C dc ⋅ (Vdc2 )( s ) ⋅ s ≈ I chopper ( s ) ⋅ Vstorage
2 dt 2
(2-33)
2
Vdc ( s ) 2 ⋅Vstorage
=
I chopper ( s ) C dc ⋅ s
The system model and the DC link voltage regulator can be represented in the form of a
Pˆout Pout
ˆ
Vstorage Vstorage
Kp + - Vdc2 link
Vdc2 link ref +
+
+ I chopper 2 ⋅Vstorage
+
- 1 + Cdc link ⋅ s
Ki s
Pout
Under ideal conditions the terms cancel each other out, resulting in a
Vstorage
Kp Vdc2 link
Vdc2 link ref +
+ 2 ⋅Vstorage
- 1 + Cdc link ⋅ s
Ki s
2 ⋅ Vstorage ⋅ (K p s + K I )
H (s ) = (2-34)
C dc link s 2 + 2 ⋅ Vstorage ⋅ K p s + K I ⋅ 2 ⋅ Vstorage
Figure 2-30 shows the system step response for two different regulator gains, using
To avoid a possible saturation of the DC link voltage regulator, the controller with
lower gains was chosen. In this case, the control action was the chopper current, and it
the inverter depended on the available line impedance back to the utility source voltage,
and its dynamics response was directly affected by the line parameters.
The regulation of the voltage at the point of common coupling was accomplished
by changing the amount of reactive current generated / absorbed (Iinv qr) by the inverter. It
was also possible to improve the voltage regulation controlling the real current
component. However, as it will be shown, the voltage regulation range was significantly
reduced.
The system model used in our study (Figure 2-31) was a simplified version of the
actual system. It consisted of the source (modeled as an infinite bus with a series
impedance), and the inverter (modeled as a controllable current source). System non-
were neglected.
shown that
dI inv dr
V pcc dr = Rsource ⋅ I inv dr + Lsource ⋅ + Vsource dr − Lsource ⋅ ω ⋅ I inv qr
dt
(2-36)
dI inv qr
V pcc qr = Rsource ⋅ I inv qr + Lsource ⋅ + Vsource qr + Lsource ⋅ ω ⋅ I inv dr
dt
40
EQUIVALENT
SYSTEM MODEL
Using Laplace’s transformation and re-organizing the terms, we obtain the transfer
⋅ (V pcc dr ( s ) − Vsource dr ( s) )
Rsource 1
sI inv dr ( s) = − ⋅ I inv dr ( s) + w ⋅ I inv qr ( s ) +
Lsource Lsource
(2-37)
⋅ (V pcc qr ( s) − Vsource qr ( s) )
R 1
sI inv qr ( s) = − source ⋅ I inv qr ( s) − w ⋅ I inv dr ( s) +
Lsource Lsource
⋅ (V pcc dr ( s) − Vsource dr ( s ) )
1
w ⋅ I inv qr ( s ) +
Lsource
I inv dr ( s ) =
⎛ R ⎞
⎜⎜ s + source ⎟⎟
⎝ Lsource ⎠
(2-38)
⋅ (V pcc qr ( s) − Vsource qr ( s) )
1
− w ⋅ I inv dr ( s) +
Lsource
I inv qr ( s) =
⎛ R ⎞
⎜⎜ s + source ⎟⎟
⎝ Lsource ⎠
41
Defining the voltage drop, ΔV, as the voltage across the source impedance (Figure
2-32), it was possible to find the amount of current needed to obtain the desired voltage
ΔV
w 1
Lsource Lsource
I inv dr ( s) = ⋅ ΔVqr ( s) + ⋅ ΔVdr ( s )
⎛
2
Rsource ⎞ ⎛ R ⎞ w 2
⎜⎜ s + ⎟⎟ + w 2 ⎜⎜ s + source
⎟⎟ +
⎝ Lsource ⎠ ⎝ Lsource ⎠ ⎛⎜ s + Rsource ⎞⎟
⎜ Lsource ⎟⎠
⎝
(2-39)
−w 1
Lsource Lsource
I inv qr ( s) = ⋅ ΔVdr ( s ) + ⋅ ΔVqr ( s )
⎛ Rsource ⎞
2
⎛ R ⎞ w 2
⎜⎜ s + ⎟⎟ + w 2 ⎜⎜ s + source ⎟⎟ +
⎝ Lsource ⎠ ⎝ Lsource ⎠ ⎛ R ⎞
⎜⎜ s + source ⎟⎟
⎝ Lsource ⎠
The Bode plots of the Equation 2-39 for a system with a source impedance of 10%,
Even thought the Bode plots of I inv dr and I inv qr look very similar, the effect on the
amount of voltage drop for a given source impedance were significantly different.
There are two ways of controlling the amount of voltage drop at the source
stability and gain robustness, the phase shift between the utility voltage and the voltage at
42
the point of common coupling must be as small as possible. Therefore, it was preferable
I inv qr ( s )
ΔVdr ( s )
I inv qr ( s )
ΔVqr ( s )
I inv dr ( s)
ΔVqr ( s)
I inv dr ( s )
ΔVdr ( s )
Comparing Figure 2-33 to Figure 2-34, it is clear that, in the low frequency range,
the cross coupling between I inv qr and ΔVdr is much greater than the direct gain between
43
I inv dr and ΔVdr . This means that the voltage can be regulated by controlling only the
quadrature current.
Thus, for instance, the steady-state bus voltage of a system with a source
⋅ (V pcc dr ( s) − Vsource dr ( s) )
Rsource 1
0=− ⋅ I inv dr ( s) + w ⋅ I inv qr ( s) +
Lsource Lsource
(2-40)
⋅ (V pcc qr ( s) − Vsource qr ( s) )
R 1
0 = − source ⋅ I inv qr ( s) − w ⋅ I inv dr ( s) +
Lsource Lsource
For I inv dr = 0 ,
2
V pcc = V pcc dr + V pcc dr =
2
(V source dr − wLsource I inv qr ) + (Vsource qr + Rsource I inv qr ) (2-41)
2 2
For I inv qr = 0 ,
2
V pcc = V pcc dr + V pcc dr =
2
(V source dr + Rsource I inv dr ) + (Vsource qr + wLsource I inv dr ) (2-42)
2 2
X source
= 10 , then V pcc = 1.1 pu .
Rsource
This proves that for a system where the ratio X/R>1, the PCC bus voltage can be
The design of the voltage regulator requires the knowledge of the source
impedance. However, this impedance varies with time and on online estimation can be
For steady-state conditions the transfer function between ΔV and I inv qr can be
reduced to just the source impedance of value Xsource=wLsource. Therefore, the control
block diagram of the voltage regulator can be interpreted as shown in Figure 2-35.
Vsource dr
V pcc ref Kp +
positive sequence + I inv dr ref I inv dr ΔVdr + V pcc
+ CURRENT SOURCE
CONTROLLER IMPEDANCE
- Ki
1 +
POSITIVE
SEQUENCE
EXTRACTION
2-43.
I inv s + 36
H current regulator ( s ) = =
I inv ref 0.0004 s + 1.015s + 36
2
Integrator
V pcc 1 V pcc
+ Td
positive sequence
- s
Td
Transport
delay
For the simplified voltage regulator system, there was not need for any
transformation. Only the modeling of the positive sequence 1 cycle sliding window filter
Vsource dr
V pcc ref Kp +
I inv dr ref I inv dr ΔVdr + V pcc
positive sequence
+
+
s + 36
wLsource
- 1 + 0.0004s 2 + 1.015s + 36
Ki s
1 +
Td
s -
Td
The system was further simplified assuming that the current regulator time
response was much faster than voltage regulator time response (Figure 2- 38).
Vsource dr
V pcc ref Kp +
positive sequence + I inv dr ref I inv dr ΔVdr + V pcc
+ 1 wLsource
- Ki
1 +
1 +
Td
s -
Td
Figure 2- 39 shows the system step response for a given voltage regulator under
A B
Figure 2- 39. System response to a 5% change in voltage reference for Kp=2 Ki=250. A)
With saturation. B) Without saturation
46
The settling time was a function of the system impedance, and therefore it was not
possible to predict the system response without knowing the source impedance. One
solution was to use an adaptive parameter tuner capable of adjusting the regulator gains
according to the identified plant dynamics. The block diagram of the adaptive control
Adaptive
Parameter Tuner
V pcc ref Kp
positive sequence +
+ PLANT
- 1 + I inv dr ref V pcc
Ki s
1 +
Td
s -
Td
impedance, load variations, and utility voltage, a simpler but robust solution was adopted.
It consisted of a classic PI regulator, with gains that were tuned in the field. The
drawback was a slower response that could occur for any given condition.
Power regulator. The power regulator required to control the power fluctuations of
a wind farm was the most complicated control scheme among all the described so far. It
involved non-linear algorithms which made the system very sensitive to instabilities due
The basic idea behind the power regulator was to determine the amount of the real
power required by the inverter in order to meet the utility’s power fluctuation limits.
Iwinda
Vpcca X Ramp Rate
Average Inst V storage
Iwindb + Wind
X + Power
Limiters
Centering
Vpccb algorithm
+
Iwindc
Vpccc X + -
ESA required
+ power
+ Allowedcenteringpower
PowerInverter
Reference
First the wind farm power was calculated and the compared to rate-of change limits
(Table 2-2). If limits were exceeded, the difference would be compensated by the
inverter.
The centering algorithm was a control scheme used to hold the energy storage near
its nominal value, to be ready for the next supply or absorption cycle. If the wind farm
power was causing the limiters to activate, this centering action would not take place.
The first proposed control scheme of the power limiter consisted of a high pass
(HP) filter which canceled the high frequency power fluctuations independently of the
rate-of-change limits. Figure 2-42 shows the HP filter control block diagram. A small
bias power was added to assure the charging of the energy storage system.
• Rate-of-change limits might not meet unless inverter’s power and energy
requirements were increased.
Storage
Nominal
Wind farm power data records were used to test the power limiter control scheme
under different system conditions. Figure 2-43 and Figure 2-44 show the inverter
simulation. A more detailed study must be performed using long wind-power data
records (perhaps years). It was also not cost effective to correct every possible scenario.
Therefore, the number of times and/or amount that the wind farm may exceed the power
index limits, with a Power Stabilizer installed, needs to be determined, when traded off
The main advantages of the HP power limiter were its simplicity and its stability
The control scheme was implemented in MATLAB in order to test the power
Figure 2-43. Power limiter 1. Performance using different cut-off frequencies (unlimited
power and energy). A) Power to utility. B) Power-stabilizer output power. C)
Power stabilizer’s energy storage.
Figure 2-44. Power limiter 1. Performance using different cut-off frequencies (Pinverter=1.0
MW and Einverter=±8.5 MJ). A) Power to utility. B) Power-stabilizer output
power. C) Power stabilizer’s energy storage.
50
The second proposed control scheme of the power limiter consisted of a power
limiter with the three rate-of-change limiters in cascade (Figure 2-45). The ramp limit
was first applied, followed by the sub minute limit, and finally the scan-to-scan limit.
+R +S
Input Scan-to- Output
Scan
-R -S
Limiter
R S
Subminute
Limit
Calculator
Ramp Limit
Calculator
As mentioned earlier, the “centering” of the energy storage energy was needed so
that it could supply or absorb power from its nominal state. Therefore this energy must be
taken into account when calculating the rate-of-change limits, since it was real power
being interchanged with the system. Thus, the power limiter control scheme had two
limiters in parallel (Figure 2-46); one limiter acted upon the wind farm output only,
another limiter acted on the wind farm power plus the desired centering power.
If the inverter were big enough to supply or absorb the excess power and energy
from the wind farm, the power limiter would keep the power within that allowed by the
rate-of change limits. The problem occurred when the power or energy storage is beyond
the rating of the inverter, since the history of what is actually delivered to the utility could
be wrong. Thus, a saturation limiter was needed in order to adjust the buffer input data.
The control scheme was implemented in MATLAB in order to test the power
Desired Power
+ (Wind+Storage Centering)
+ Limiter
+ Last thing to be
updated/evaluated
+
Previous scans
+ +
(BUFFER) - +
Desired -
Wind
Centering
Farm
Output
Limiter
Storage
Nominal
- +
+
Centering State of Centering
- Charge
Charge/ Power
+ ESA Required
Discharge Allowed
+ Supply/Absorb
Constant
+ +
+
+ -
+
1 PU
Inverter
Power
-1 PU
Power Limiter
Wind farm power data stored on a 2 second basis was used to test and size the
power limiter control scheme under different scenarios. The following figure shows the
Zoom in
The inverter power and energy required to meet the rate-of-change limits for the
Figure 2-48. Power limiter 2. Inverter response for a sampling time of 2 seconds. A)
Power-stabilizer output power. B) Power stabilizer’s energy storage.
To test the stability of the control algorithm, saturation effects were taken into
account. Figure 2-49 and 2-50 show the system performance for different under-rated
inverters. Rate-of-change limits were not met, but the system was stable.
It is very difficult anticipate all of the types of misbehavior that might occur in the
system, and that there could be unusual power fluctuations from the wind farm could get
the inverter into a mode where it would continue to swing the power around in an
“misbehavior detector” in the power limiter control scheme to protect the inverter and the
system.
53
Figure 2-49. Power limiter 2. Inverter response for different power ratings. Sampling
time 2 seconds .A) Power-stabilizer output power. B) Power stabilizer’s
energy storage.
Zoom in
Figure 2-50. Power limiter 2. Inverter response for different ESS sizes. Sampling time 2
seconds. A) Power-stabilizer output power. B) Power stabilizer’s energy
storage.
54
The third control scheme considered for the power limiter consisted of a power
limiter with the three rate-of-change limiters in parallel (Figure 2-51). The limiter’s input
was the power out to the utility instead of the wind power, plus the centering power, for a
Each limiter determined the maximum and minimum amount of power allowed
changing per scan. Then the absolute maximum and minimum were calculated in order to
establish the centering power limits and the required power from the inverter.
Wind
Farm
Output + Power to Utility
+
+
Total
Upper Inverter
+ Power
Upper -
Ramp +
Min
Limiter Lower
Inverter
Power
Upper
These should Before
not have a + Centering +
Subminute simulataneous + + -1
Limiter non-zero
Lower
output + +
Upper
Scan-to- +
Lower -
Scan Max +
Limiter Lower
Lower Centering
Centering Power
Limit
Storage -1
Setpoint
lower upper
+ upper
- Kcenter or
+ other
controller
lower
Figure 2-52 shows the response of the power limiter 2 using the same wind-power
It can be concluded from Figure 2-47 and Figure 2-52 that both power limiters have
Figure 2-53. Power limiter 3. Inverter response for a sampling time of 2 seconds. A)
Power-stabilizer output power. B) Power stabilizer’s energy storage.
56
The reasons why to convert system variables into per unit are:
The purpose of inverter filter was to attenuate the high frequency switching
harmonics produced by the inverter in order to avoid disturbing other EMI sensitive
Its optimal design is very complex and it involves coupled design constraints and
non-linear equations.
The inverter topology for which the filter would be designed was a 6-pulse 3-wire
inverter, without DC bus mid-point tapped to neutral (Figure 2-54), where power
Iinv a Vinv a
Iinv b Vinv b
C
Iinv c Vinv c
Harmonic content
The typical line-to-neutral and line-to-line voltage of a three phase inverter using a
A B
Figure 2-56 shows the harmonic spectrum of the line-to-line voltage under the
following conditions:
• fsw = 4860 Hz
• f1=60 Hz
switching frequency f
• Frequency Modulation, m f = = sw = 81
fundamental frequency f1
• Vdc = 2.04 pu
• Vsource max line-to-neutral = 1 pu
Vmax desired
• Peak amplitude of the control signal =
Vdc _ link 2
• Amplitude of the triangular signal = 1
58
The main harmonic components of the line-to-line output voltage were calculated
power system to exchange independently controllable real and reactive power. This was
accomplished by the usage of a synchronous inductor which linked the inverter output to
Table 2-3. Generalized Harmonics of line-to-line voltage for a large and odd mf that is a
multiple of 3
K (Generalized Harmonics of Vrms l-l)
ma
h 0.2 0.4 0.6 0.8 1
1 0.122 0.245 0.367 0.490 0.612
mf ± 2 0.010 0.037 0.080 0.135 0.195
mf ± 4 0.005 0.011
2mf ± 1 0.116 0.200 0.227 0.192 0.111
2mf ± 5 0.008 0.020
3mf ± 2 0.027 0.085 0.124 0.108 0.038
3mf ± 4 0.007 0.029 0.064 0.096
4mf ± 1 0.100 0.096 0.005 0.064 0.042
4mf ± 5 0.021 0.051 0.073
4mf ± 7 0.010 0.030
synchronous
Inductor Inverter
Vsource L Vinv
SSG
Thus, the inverter voltage harmonics would generate current harmonics, which
amplitude would not only be a function of the inverter’s mf and ma, but the synchronous
• For h>1 (assuming no harmonics are present in the utility bus voltage):
Vinverter rms l −l (h) 1 V ⋅K 1
I rms (h ) = ⋅ = dc ⋅ (2-46)
3 2πf1 ⋅ h ⋅ L 3 2πf1 ⋅ h ⋅ L
with communication circuits and other types of equipment, the increase of system losses,
The IEEE 519 Standard [29] is a recommended practice to be used for guidance in
the design of power systems with nonlinear loads and therefore should be taken into
account on the design of the switching ripple filter. The worst case scenario is for general
distribution systems (120V through 69000V) with a TDD < 5% for current harmonics
below the 50th. TDD is the total demand distortion and is defined as
50
∑I
h=2
2
h
The maximum demand load, which is IL, can be estimated from data used to size
Switching frequency
The selection of the switching frequency was based on the recommendations given
• In the 3-wire three-phase inverters, only the harmonics in the line-to-line voltage
are of concern, and only the odd harmonics exit as sidebands, centered around mf
and its multiples, provided mf is odd.
• For high power applications (kVA) where switching losses play a major role in the
overall system design, the switching frequency is usually selected between 3 kHz
and 5 kHz.
Taking all these elements into consideration, the optimal switching frequency
selected for the inverter and for the chopper was f sw = f1 ⋅ m f = 60 ⋅ 81 = 4860 Hz
The switching ripple filter topology selected for the inverter filter was based on a
Vsource Lt Lf Vinv
Cf Iinverter
Igrid Filter
capacitor
The main advantages of the LCL filter compare to the L filter are summarized in
Table 2-4.
dI inverter
Vinverter − Vc f = L f ⋅
dt
dI grid
Vc f − Vsource = Lt ⋅ (2-48)
dt
dVc f
I inverter − I grid = Cf ⋅
dt
Applying Laplace’s transform, the LCL inverter filter can be modeled as shown in
Figure 2-59.
The inverter filter was divided into two different equivalent filter models based on
conditions the inverter was considered as an ideal sinusoidal voltage source. This was the
lineal inverter model valid for the design of the system controllers. Figure 2-60 shows the
Cf Iinverter (f1)
Igrid (f1)
Figure 2-60. Single phase equivalent filter model at the fundamental frequency
63
Equivalent filter circuit configuration for the h harmonic (for h>1). At high
frequencies the converter was considered to be a harmonic generator, while the grid can
be considered short-circuited.
Lt Lf Vinv (hf1)
Vsource (hf1)= 0
Cf I inverter (hf1)
I grid (hf1)
Figure 2-61. Single phase equivalent filter model at the hth harmonic
Thus, the current ripple attenuation, passing from the inverter side to the grid side
can be calculated as
I grid rms ( s) 1
=
Vinverter rms l −n ( s) s ⋅ Lt ⋅ C f ⋅ L f + s ⋅ ( Lt + L f )
3
I inveter rms ( s) s 2 ⋅ C f ⋅ Lt + 1
= (2-49)
Vinverter rms l −n ( s) s 3 ⋅ Lt ⋅ C f ⋅ L f + s ⋅ ( Lt + L f )
I grid rms ( s) 1
=
I inverter rms (s) s ⋅ C f ⋅ Lt + 1
2
There are different ways of designing the LCL inverter filter, as well as different
specifications or constrains. Table 2-5 is a summary of the most common parameter used
It can be inferred from Table 2-5 that there is no a unique approach or limit when
The LCL parameters selected for the inverter filter design are
X L f = 10% ⇒ L f = 265.25 μH
X C f = 3333.33% ⇒ C f = 79.577 μF
X Lt = 5% ⇒ Lt = 132.62μH ( typical transformer equivalent impedance)
Table 2-5. LCL filter design
Parameter Description Equations Limits
Current Maximum Peak to Peak For ma ≤ 1 Peak to Peak value:
ripple value ⎡ ⎛ m ⎞
⋅ ⎜1 − a ⎟ ⋅ 2 Vdc ⋅ 3 ⋅ ma ⎥
⎤ • 15%-25% of rated current [35]
⎢Vsource l −n
• 31% of rated current [32]
max
⎝ 2⎠
ΔI ripple max = Max ⎢ , 3 ⎥
Note: Maximum ⎢ 4 ⋅ Lf ⋅ fsw 4 ⋅ Lf ⋅ fsw ⎥
current ripple at ⎢ ⎥
⎣ ⎦
Vsource(t)=0 differs For ma ≈1
from Vsource(t)=Vmax Vdc
ΔI inverter ripple max ≈
7 ⋅ L f ⋅ f sw
Most significant For ma ≈1 Most significant harmonic component
I inverter rms (h = m f ± 2 ) ≈
harmonic components Vdc1 (mf±2)
⋅ 0. 2 ⋅
3 2πf1 ⋅ h ⋅ L f • 10% of rated current [30]
• 1.6% of rated current [31]
Attenuation Laplace domain I grid rms ( s) 1 • 0.2 attenuation [30]
64
of =
I inverter rms ( s) s ⋅ C f ⋅ Lt + 1
2
• 0.5 attenuation [32]
harmonic
content
Frequency domain I grid rms (h = m f − 2) Z C f ( f1 ⋅ h )
=
I inverter rms (h = m f − 2) Z C f ( f1 ⋅ h ) + Z Lt ( f1 ⋅ h )
Voltage drop across the filter during ΔVmax L f = I inverter max ⋅ 2πf1 ⋅ L f • Total value of inductance should be
normal operation lower than 10% to limit the voltage
drop and the dc link voltage[30],[33]
• 1.7% on the inverter kVA base [34]
Filter resonant frequency 1 Resonance frequency between 10 times
f resonant =
2π C f ⋅ (Lt // L f ) the line frequency and half of the
switching frequency[30][33]
Filter capacitor reactive power 1 QC f (%) ⋅ Pinveter rated power QCf:
Cf = ⋅ • <5%[30]-[33]-[34]
100 3 ⋅ 2 ⋅ π ⋅ f 1 ⋅ V source
2
rms l − n
• 15% [35]
65
The electrical characteristics of the LCL filter for the system parameters given
To determine the system stability, the LCL inverter filter damping resistances must
be taken into account when calculating the system attenuation at resonance frequency.
Vsource Vinveter
Rt Lt Lf Rf
Rt Lt Lf Rf
Rt Lt Lf Rf
Cf Cf Cf
Using a X/R=10 for all inductors, the damping resistances of the LCL filter are
X Lf
X L f = 10% ⇒ = 10 ⇒ R f = 0.01Ω
Rf
X Lt
X Lt = 5% ⇒ = 10 ⇒ Rt = 0.005Ω
Rt
The LCL inverter filter could resonate due to harmonics generated either from the
Vsource
Vcapacitor Vinveter Rt Lt Vcapacitor Lf Rf
Rt Lt Lf Rf
Cf Cf
A B
Vcapacitor
Thus, the transfer functions are given in Equations 2-50 and 2-51:
V
Vcapacitor 1 (2-50)
=
Vinverter ⎛ 1 1 ⎞⎟
1 + Z Lf ⋅⎜ +
⎜ ZC ⎟
⎝ f Z Lt ⎠
Vcapacitor 1 (2-51)
=
Vsource ⎛ 1 1 ⎞
1 + Z Lt ⋅ ⎜ + ⎟
⎜ ZC Z ⎟
⎝ f Lf ⎠
67
It can be deduced from Figure 2-64 that there is a significant gain at the resonance
frequency (small system damping resistance), and therefore harmonics close to this
From the inverter point of view there are two sources of disturbances:
Figure 2-65 shows the current regulator frequency response, the filter frequency
response, and the inverter line-to-neutral harmonic spectrum. It can be inferred from
Figure 2-65 that the current regulator attenuates any signal with a frequency > 400Hz
(cut-off frequency), and the inverter voltage harmonics do not make the LCL filter
resonate.
From the point of view of the voltage source there are two sources of disturbances:
• Line to line voltage 480 V. This would allow the use standard isolation
transformers
• Minimum DC link voltage = 1.1 ⋅ Vmax line −to −line = 1.1 ⋅ 480 ⋅ 2 = 750 V . Minimum
voltage to guarantee system controllability.
• IPM trip level = 900V. Capacitor switching voltage transients tend to raise the DC
link voltage and could damage the IGBT’s. A trip level of 900 V allows riding-
through the majority of the capacitor switching transients.
• Low DC-link voltage was desirable in order to reduce the switching losses.
Given these system restrictions the selected DC-link voltage was 800V. In per unit
800
V dc −link = = 2.0412 pu
⎛ 480 ⋅ 2 ⎞
⎜ ⎟
⎜ 3 ⎟
⎝ ⎠
constrains:
69
• Maximum permissible current stress for a required working life (current ripple)
• Existence of any zero sequence component
• System controllability ( avoid large gains)
• Max ripple voltage 10%
For a traditional STATCOM configuration, the DC-link capacitor is necessary for
energy storage, the DC link capacitor main function is to reduce the DC current ripple
from/into the ESS and therefore a smaller DC-link capacitor could be used.
DC − link Energy
The time constant selected for our study was = 21.5 msec . Thus,
Inverter Power
DC - link Energy pu
⇒ DC - link Energy pu = 0.033J
1.5W
1
DC - link Energy pu = ⋅ C dc −link ⋅ Vdc2 −link ⇒ C dc −link ≈ 15700 μ F
2
• The voltage at the energy storage system (ESS) was designed to vary from 95% to
0.95*50% of the DC link voltage.
Note: More on the design and size of the Power Stabilizer energy storage system
1
2
(
⋅ Cstorage ⋅ Vstorage
2
max − Vstorage center =
2
) 1
2
(
⋅ Cstorage ⋅ Vstorage
2
)
center − Vstorage min
2
(2-52)
Vstorage center =
1
2
(
⋅ Vstorage max + Vstorage min
2 2
)
Thus, for a system with a Vdc nominal = 2.0412 pu , the ESS nominal voltage was
Vstorage center =
1
2
(
⋅ Vstorage
2
)
max + Vstorage min = 1.9391 ⋅
2 5
8
= 1.533 pu
Figure 2-66 shows the relationship between the capacitor voltage and the energy
storage.
The capacitance of the ESS in per-unit can be calculated from the time constant
The purpose of chopper inductor was to reduce the current ripple produced by the
The current ripple current selected for this application was 30%. Under this
condition the chopper inductance in per unit is calculated as shown in Equation 2-53.
dI chopper
ΔVchopper = Lchopper ⋅ , where ΔVchopper = Vdc −link − V storage (2-53)
dt
Vstorage
Cstorage
In the worst case scenario the DC-link voltage is at its nominal value, while the
voltage at the ESS is at its minimum. Thus, the maximum voltage drop across the
chopper inductor is
Δ Vchopper max = Vdc − link nominal − Vstorage min = 2.0412 − 0.9695 = 1.0717 pu
Discretization of the chopper inductor voltage drop differential equation yields the
Equation 2-54.
ΔI chopper
ΔVchopper = Lchopper ⋅ (2-54)
Δt
1 1
Where ΔI chopper is the ripple current, and Δt = ⋅ as shown in Figure 2-68.
2 f sw
72
Tsw
Triangular
waveform
Time
Δt
Ichopper
ΔIchopper
Lchopper
Time
Cdc-link ΔIchopper
Vdc-link=2.0412 pu
Lchopper
Cstorage Vstorage=0.9695 pu
1 ⎫
ΔVchopper max ⋅ Δt 1.0717 ⋅ ⎪
Lchopper = = 2 ⋅ 4860
⎪
ΔI chopper ΔI chopper ⎪
⎪
⎪⎪
ΔI chopper = 0.03 ⋅ I chopper rated (30% ripple) ⎬ Lchopper = 500 μH
⎪
⎪
Pinverter nominal 1.5W ⎪
I chopper rated = = = 0.7352 pu ( A)⎪
Vdc-link 2.0412 ⎪
⎪⎭
Table 2-8 is a summary of the per-unit system parameters used in the control and
Simulated Model
Power Systems Computer Aided Design (PSCAD) was used for the modeling and
simulation of the power stabilizer. The PSCAD model was based on the per-unit system,
so that the system performance could be compared to any given unit size. Figure 2-69
The PSCAD model can be divided into two main subsystems; the electric system
The majority of components used in the modeling were part of the PSCAD library.
Only the power limiter 2 had to be implemented in FORTRAN and linked to PSCAD
Chopper
Xsource
Lxfrm Lf
Iwind Vf Cdc Ichopper
Vpcc Vdc
Cf Iinv Vinv Vchopper Vstorage
WIND
FARM LCL INVERTER ESS
1 3 5 5
2 2 2 2
V
Vutility g1 g3 g5 gch1
A
Iinva
R=0 Vpcca 0.000132629110.005 Vfa 0.01 0.00026525 Vpwma V_dc
15700.0
B
+
Iinvb
Vpccb 0.000132629110.005 Vfb 0.01 0.00026525 Vpwmb
C 0.0005 0.018849
Iinvc
Vpccc 0.000132629110.005 Vfc 0.01 0.00026525 Vpwmc
16310000.0
Vstorage
+
4 6 2 2
79.57
79.57
79.57
2 2 2 2
g4 g6 g2 gch2
Table 2-9 shows the model performance as well as the designed specifications for
comparison. It can be observed that designed and simulated system closely agree.
Kp
+ 1pu
1pu +
1 -1 pu
Ki
s
-1pu
PI regulator
Iwinda
X RampRate Vstorage
V pcca Av erage Inst
Voltage regulator V dc
(formodulationindex
calculation) +
Vflatb + V flat
2 +
Vflatc
Current regulator Limiters & Transformations
75
Clark V1 PLL
V pcca Vds
V pccb abc PLL
sin(theta)
Clark I1 Park I1
V qs (2 sec time constant) Iinva Ids
V pccc ds -qs cos(theta)
abc ds -qs Idrinv
Iinvb Iqs To current
Vos Theta Park V1 Iinvc ds -qs dr -qr Iqr inv regulator
Vds Vds ds-qs Vdr To current Ios
V qs Vqs regulator
sin(theta) cos(theta)
dr -qr Vqr
Vqs Vds sin(theta) cos(theta)
+
Delay - Vds positivesequence Park V1 positivesequence
V drpositivesequence Slidingwindowfilter
0.5 (1cycle)
(t-1/f /4) X
ds -qs + V pcc positivesequence To PCC voltage
+ Filter
regulator
Delay + Vqspositivesequence dr -qr Vqrpositivesequence X +
0.5
(t-1/f /4)
sin(theta) cos(theta)
V 2dcref + PI regulator
Iinva -
Vfa X V2dc
Table 2-9. Designed system results and simulated system results comparison. System
conditions: V dc link =2.04 pu, V source max =1 pu, stiff system
Parameter Model response Design system/Comments
Inverter ⎡
⎢V
⎛ m ⎞
⋅ ⎜1 −
2
⎟⋅2
V ⎤
⋅ 3⋅m ⎥source max l − n
a dc
= Max⎢ ⎝ ⎠ 3 ⎥
a
I inverter rms (h = m f ± 2) ≈
Vdc
⋅ 0.2 ⋅
1
3 2πf1 ⋅ h ⋅ L f
I inverter rms (h = m f ± 2 ) ≈ 0.02986 pu ( A rms)
I inverter ( f sw − 2 ⋅ f1 ) Z C ( f sw − 2 ⋅ f1 ) + Z L ( f sw − 2 ⋅ f1 )
attenuati rms f t
I grid rms ( f sw − 2 ⋅ f1 )
on I inverter rms ( f sw − 2 ⋅ f1 )
= −18.5bB
System Overview
The performance of the power advanced electronic device was tested in a test
system in order to asses the benefits of smoothing wind-power fluctuations. Figure 3-1
Bulk generation. The system model’s bulk generation was represented with a
single synchronous machine, which the main function was to control the system
Load. The power system’s load composition was strongly dependent on the time of
day, month, and season, but also on weather. A typical load profile was studied in [37],
78
79
PF
180 Vdc +
C ontrol signal caps
P=4.5kW
3 phas e four w ire s y s tem
Vphas e-phas e=480 V
Gate
Vr ated field= ?? DC volts
D riv er Fixed Magnetic field ??
Power=??
PFcorrec tion
1 st QU AD R AN T DC M otor
CHOPPER Tachometer
(w>1800 rpm )
3 phase input
V l-l =240 V Synchronous
C ontrolsignal
180 Vdc + Machine
Gate
V rated field= ?? DCvol ts
D riv er Fixed Magnetic fi eld ??
Power=?? SE350
Voltage R egulator
(1% v oltage regulation)
3 phase input
V l-l =240 V
GM1 LOAD 1
GM4
Va,Vb,Vc PC C
C hoke Inductor-Filter
300.0
N BS
VnbS 1.0
GM2 N CS
3% bas e on Power Vnc S
1.0
Energy Storage
LOAD 2 Stabilizerrated Power C apac itor
and Voltage 4 6 2 5
GM3 2 2 2 2
Ia,Ib,Ic IN V g4 g6 g2 gc2
LOAD 5
LOAD 6
Power Stabilizer
LOAD 3
GM5
IM1
energy. However, their dynamics are of special importance for voltage stability studies
due to their reactive power requirements. Thus, since only real power fluctuations were
of interest in our study, the system’s load was reduced to a one three-phase passive load.
energy sources, with the fastest growth being in wind and solar energy. It is expected that
in the near future, they will play a significant role in the generation mix.
The system’s renewable resources were modeled using a single induction generator
that would represent 15% of the system capacity. This number was very conservative
compared to other grids such as Western Denmark with a penetration level of 63% of
peak load and the Island of Crete, where wind power has a penetration level close to
40%.
80
Power Quality Devices. Because of wind power’s high penetration factor in the
near future, new advanced power electronic devices as well as grid operation procedures
In modeling the system, only a proof of concept wind farm buffer was considered
Synchronous Machine
with adequate capacity to meet the load demand. Any unbalance between the generation
and load initiates a transient that causes the synchronous machine to accelerate or
It can be shown that the interconnection of j finite machines with inertia constants
Mj can be reduced to a single finite machine with inertia H, where H can be calculated as
1
H= (3-1)
1 1 1
+ + ... +
H1 H 2 Hj
The synchronous machine selected for modeling the electrical system is a three-
The system voltage selected for the model is 480V; therefore the synchronous
Voltage regulation
Load voltage regulation was mainly carried out by the generator’s exciter using an
external voltage regulator. The automatic voltage regulator received both its input power
and voltage sensing from the generator’s output terminals. The DC output voltage of the
exciter field required to maintain constant the generator’s terminal voltage was
automatically changed by the voltage regulator, which had a voltage regulation accuracy
of 1%. The voltage regulator set point was 480V, line to line.
not an ideal sinusoidal waveform, as shown in Table 3-1. The most significant distortions
were the second, third, fourth, and fifth harmonics, with an unbalance of approximately
1%. Such types of distortions were not very common in electric systems and may have an
impact on the control system. Simple sliding windows were used to filter/reduce their
impact.
Prime Mover
The prime movers of large generators are principally hydraulic turbines, steam
turbines, and combustion turbines. In our model the prime mover that was used to
produce the mechanical torque was a DC machine with the following specs:
Both machines were connected in cascade through their shaft, so power could be
transferred from one machine to another. Figure 3-2 shows the system configuration as
FFT
Unbalance
A single quadrant chopper was used for speed control of the DC machine. Chopper
Note: Figure 3-3 shows that the DC power supply was used by the two choppers
required in the model. One was for the prime mover of the synchronous machine, and the
other one a different DC machine that would represent wind speed variations.
83
chopper
SE350
Voltage Regulator
(1% voltage regulation) Pout, Qout (V and I)
Istator generator
W rotor2
Ia, Ib generator
single phase input
Vl-n=120 V Vab, Vbc generator
Interface Board
(signal conditioning and filtering)
(Output Range 0v to 3v)
(cut-off frequency=100kHz)
TO DSP
670 V Vdc
source
R
Fuses Rlimit Lchoke 15kΩ
12 W
FWH100 100Ω 0.83mH C=2200uF C=2200uF C=2200uF
450V 450V 450V
100W Irms=44Ams
CHOPPER1 CHOPPER2
Cfilter 3.3 mF
900 Volts
• The excitation system or voltage regulator that controls the synchronous machine’s
terminal voltage.
• The governor that controls the mechanical power monitoring the shaft’s speed.
84
• The supervisory controller which sends signals to each generator in the system to
meet the load demand.
Excitation system
Vt
Rectifier
-
Vreference Vfield
Boiler + Excitation
system
Governor Vfield
Vt
Control Set points Boiler + Servomotors
Steam
Pmechanical + Machine
Speed
and Generator Pelectrical
Center Control turbine Dynamics
Actuators
-
Pelectrical
Pelectrical Pelectrical Speed Speed
Electrical
Network
Figure 3-4 shows a generic block diagram of the different control systems required
In our small-scale model, only the governor and the excitation were considered,
since the master controller was designed to be quite slow, which is usually not involved
The accurate modeling of the system’s frequency control requires the knowledge of
a series of parameters that most of the times are impracticable to get. The frequency’s
• System inertia, H
• Network power frequency characteristic, D
• Speed governor’s transfer function
• Load shedding scheme
Equation 3-2 represents the frequency deviation response of a system with inertia
H, and load frequency dependency D. Figure 3-5 shows the system frequency response
dw w
= n ⋅ ΔP − D ⋅ Δw (3-2)
dt 2 ⋅ H
These two factors, H and D, dominate the system frequency deviation during the
initial seconds following a power perturbation, since large time constants are involved in
the control of the system frequency. Such parameters are usually very difficult to
If all these factors were known, it could be possible to implement a control scheme
that could represent the system’s frequency response. Figure 3-6 shows a control scheme
for a synchronous machine when system frequency response parameters are known.
5 channels
A/D inputs
Ia, Ib generator
Vab, Vbc generator
+ 4860Hz
Transient
Droop
+
Droop
(4%)
This control algorithm was further simplified, and a single frequency control
Figure 3-7 shows the synchronous machine frequency response to a step change of
-1 Hz in the reference for two different gains with a 90% system load (4.5kW out of
5kW). The frequency regulator’s transfer function and gains were adjusted to simulate
any other system frequency deviation response. The only limitations were the DC motor
maximum electrical specs, which should not be exceeded in order to avoid possible
From Figure 3-7, it is also possible to identify the DC-gen set transfer function,
adjusting the system response to a second order equation. Such parameters were valid for
a particular point of operation, and should be recalculated every time the system changes.
Nevertheless, their knowledge helped in the tuning of the frequency regulator, even with
approximated coefficients. Thus, with 90% load, the system DC-Gen set transfer function
w( s) w( s) K ⋅ ω n2 3.0 ⋅ 225
H ( s) = = = 2 = 2
Varmature in pu ( s) d duty cycle chopper ( s ) s + 2 ⋅ ζ ⋅ ω n ⋅ s + ω n s + 33 ⋅ s + 225
2
Thus, it possible to represent the DC-Gen set frequency control scheme as shown in
Figure 3-8.
Δduty
Δw ref + Ki cycle 225 Δw
Kp + 3.0 ⋅
s s 2 + 33 ⋅ s + 225
-
1Hz/60Hz=0.01666pu for two different gains. As expected, the system’s behavior was
similar to the model, and it was used in the design of the frequency regulator.
There are countless studies, books and reports on the modeling of wind turbines
and wind farms. Among them, transient studies, such as flicker assessment, harmonics
impact, fault ride-through, etc, have become one of the most popular ones. Nevertheless,
there are long term studies, such as voltage stability, protection and control, and power-
flow variations that, even though they do not require a detailed system representation, are
Transient and long term studies require different approaches when modeling the
wind turbines, mainly due to the different time constants involved in the different
analysis.
Figure 3-10 and 3-11 illustrate the different basic structures of a wind turbine for
wwind
Pitch control
β = pitch angle
1
⎛ 1 ⎞ −c6 ⋅
c p (λ , β ) = c1 ⋅ ⎜ c2 ⋅ − c3 ⋅ β − c4 ⋅ β x − c5 ⎟ ⋅ e Δ
⎝ Δ ⎠ wwind
1 1 0.035 w⋅ R
= − ;λ=
Δ λ + 0.08 ⋅ β 1 + β 3 v
wwind wgenerator
v 1 Tw dw Tg Pg
Pwind wheel = c p (λ , β ) ⋅ Pwind Blade transients Converter
Pwind = ⋅ ρ ⋅ A ⋅ v3 J⋅ = Tw − Tg − D ⋅ w Generator Grid
2 Mechanical transients dt (optional)
Converter Generator
(optional) controller
Rs' + Rr j ( X s' + X r )
P = f (wind )
− jX c jX m
plants, the persistence of the wind and the output of the wind-power plant are very strong
89
within one second time step. In other words, the likelihood of wind power changing from
one level Pi to another level Pj=Pi*( ± 1.1) at the next second is very small (<1.5%) [40]-
[41]. Therefore, since only power fluctuations were of interest for our study, no fast wind
turbine dynamics were incorporated into the system model or system control. The
proposed wind-farm equivalent model is shown in Figure 3-12. A 7.5 HP DC motor acted
as a prime mover and its control was designed to assure that a 5 HP induction generator
chopper
Actual wind-power output data from a wind-power plant in Hawaii was used for
the analysis of the system performance. Before the data was incorporated into the control
algorithm as reference values, they were scaled down according to the system needs and
penetration factors wanted. For instance, a 10 MW rated power wind farm that represents
The goal was to be able to reproduce any kind of power variation (or wind profile)
typical of wind farms, and its impact on the electric power system.
6 channels
A/D inputs
Vdc power
supply
s Ichopper
Pwind farm K derivative +
1 + sT
-
Pwind ref + - + I chopper ref TO CHOPPER
PI controller
+ PI controller PWM
4860Hz
Power regulator Current regulator
A derivative control action was added to the PI controller to allow for a fast time
response. Figure 3-14 shows the wind-farm model time response to a 750W step change
(from 0% to full load). It can be deduced from the current chopper reference curve that
the power regulator’s derivative control action was of vital importance in the damping of
the output power ( P wind farm). The system time constant was around 0.25 seconds,
to create the field excitation are drawn from the electric power system it is connected to.
91
system for phase compensation of individual machines and/or to regulate voltage at the
point of interconnection.
Figure 3-14. Wind-farm power regulator & current regulator step response (ΔP=100%).
A) Current regulator output. B) Power regulator output.
Figure 3-15 shows the PQ curve of the induction generator used for the modeling
• As the power generated increases so does the reactive power drawn from the
system.
manufacturers also offer the possibility of 100% compensation using different capacitor
92
bank steps. The largest capacitor bank is always switched on first, once the generator has
been cut-in.
In order to reduce the amount of reactive current drawn from the electric power
system, a power factor correction capacitor bank was connected in shunt with the
induction machine.
The wind-farm power factor was not corrected 100% to avoid possible self-
Q3 phase
C= (3-3)
3 ⋅ 2 ⋅ π ⋅ f ⋅ Vl −2 n
non-load operation point. Figure 3-16 shows the location and configuration of the PF
capacitor bank.
93
Figure 3-17 shows the power factor correction capacitor bank effect on the wind-farm
• The required reactive current drawn from the electric power system was
significantly reduced.
GRID
15 uF 15 uF 15 uF
280 V 280 V 280 V
Single
quadrant
Encoder
chopper
Asynchronous Generator
DC Motor 5hp
7.5hp PF correction
A closer look at the capacitor harmonic current content revealed that the capacitor
impedance did not decrease linearly with the frequency. Figure 3-18 shows the capacitor
Capacitor current distortion was mainly due to its non-linear behavior at different
3rd, 4th, and 5th harmonics, would exaggerate this nonlinearity, making it more visible.
Wind turbines use soft-start systems to smooth the connection and disconnection of
the generator to the electric power system. It helps minimize high changes of voltage and
current in the grid, while protecting the mechanical parts of the wind turbine against high
In the majority of cases, thyristors are used as soft-starters, and these are bypasses
electro-mechanically, once the wind turbine has been started to avoid semiconductor
losses.
Induction machines’ inrush current can sometimes reach values up to eight times
their nominal current, causing protection systems to disconnect the machine from the
power grid. The same type of inrush currents was present in our model during the start-up
of the induction generator. In order to avoid this inrush current, the induction generator
was brought online at the same time the synchronous machine was brought up to the
rated speed (1800 rpm). Figure 3-19 shows a flow chart describing the procedure
95
followed to bring the entire system to nominal values, avoiding any unwanted inrush
current or transient.
The system operated in various modes, some of them stationary, and some of them
1. The duty cycle of the synchronous machine’s prime mover was increased linearly,
so that synchronous machine’s V/F ratio was kept as constant as possible (except
when the voltage regulator took control over the excitation field).
2. A speed regulator controlled the duty cycle of the induction machine’s prime
mover in order to track the synchronous machine’s speed during the ramp-up stage.
Thus, the induction machine’s inrush current was minimized.
3. Once both machines were closer to their nominal speed (1800 rpm), the control
system smoothly changed the mode of operation, where the synchronous machine’s
speed and induction machine’s output power were tightly controlled.
Actions
- Disable Chopper PWM1
Reset Mode
- Disable Chopper PWM2
- Initialize regulators
Actions
No Chopper DC
- Clear errors
power supply
- Enable Chopper PWM1
OK?
- Enable Chopper PWM2
Actions
- Disable all control actions
Yes Actions
- Ramp-up duty cycle of synchronous
machine's primer mover
Stop Mode Start-up Mode - Enable speed regulator of induction
machine's primer move
( speed reference induction machine equals
synchronous machine actual speed)
IM speed<90%
Chopper DC
rated speed ?
power supply
&
OK?
SM speed>99% No
rated speed?
No
Yes
Actions
Run Mode - Frequency regulation
- Power regulation
Yes SM No
speed>120%
rated speed?
Figure 3-20 shows the system’s performance during the start-up sequence. As
expected, the induction machine’s inrush current during the starting stage was also
insignificant.
Figure 3-21 shows a detail of the transient of the induction machine speed during
Figure 3-21. Detail of the transition from start-up mode to run mode
97
Power Stabilizer
The main components that form part of the wind-farm buffer were:
• Interface board
• Digital Signal Processor (DSP)
• Field Programmable Gate Array (FPGA)
• Intelligent Power Module (IPM)
• Gate Drive board (isolated interface circuit)
All these components were linked to each other one way or another, and their
designs were very interrelated. The major difficulty found when designing and
implementing the Power Stabilizer system was the electrical noise. Sharp edge digital
voltage levels required special care in order to make them work in “harmony”.
Figure 3-22 shows the overall power stabilizer system as well as all the major links
Iwind
GRID
Va, Vb, Vc
PCC
Choke Inductor- Filter
3% base on Power
Ichopper Energy Storage Vstorage
Stabilizer rated Power
Capacitor
and Voltage 4 6 2 5
2 2 2 2
Ia, Ib, Ic g4 g6 g2 gc2
INV
g1 g2 g3 g4 g5 g6 gc1 gc2
Va, Vb, Vc
PCC
Va, Vb, Vc
Filter
Ia, Ib, Ic
INV
Vdc link Ichopper Vstorage
Ia, Ib, Ic wind
farm
GATE DRIVE BOARD
Va, Vb, Vc Va, Vb, Vc Ia, Ib, Ic Vdc link Ichopper Vstorage Ia, Ib, Ic
PCC Filter INV g1 g2 g3 g4 g5 g6 gc1 gc2
wind farm
Error
signals
3 channels 3 channels 3 channels 1 channel 1 channel 1 channel 3 channels
Data Bus (PWM &
Watch Dog)
FPGA
A/D 16 inputs (12 bit)
DSP
Digital Outputs
PWM generation
System diagnosis
Power Stabilizer control algorithm Address
Reset
Synchronization signal
The following sequence shows how the power stabilizer’s control scheme
functions:
1. Signals from the electric system were scaled down by the interface board to the
appropriated levels before these were sent to the DSP’s A/D converter.
3. Once control actions were calculated by the DSP, these were sent to the FPGA in
the form of clock cycles. The FPGA then compared these signals to a “digital”
triangular waveform (an up/down counter) in order to generate the PWM signals.
4. PWM signals were then passed through a digital dead-time generator to avoid
possible shoot-through currents that could damage the IPMs.
5. PWM signals were then sent to the interface board, where the appropriate scaling
was carried out before these were sent to the gate drive board.
6. Once the PWM signals reached the gate drive board, these were isolated from the
high power side in order to avoid noise problems.
Other signals that were involved in our design and were not shown in the overall
diagram are
• WatchDog: The FPGA also contained a special error signal called “WatchDog”. It
basically provided a safeguard against DSP crashes by automatically disabling
PWM control actions if it was not serviced by the DSP at regular intervals.
board was equipped with two D/A converters that in real time could show the
DSP’s internal variables. Up to 8 different variables were sampled in real time.
• Data acquisition system: A secondary data acquisition system was also available
through the DSP’s JTAG controller interface with a refreshing time limited to 100
ms (close to 4000 times slower than the DAC system).
Interface board
The interface board’s main function was signaling conditioning while providing
trip signals due to over-current and/or over-voltage conditions. Figure 3-23 shows an
overview of the different functions implemented in the interface board. These functions
were
• D/A circuit
Signals scaling. The electric power signals had to be scaled down before their
conversion into digital. The DSP ADC data sheet specified that the input range voltage
was from 0.0 V to 3.0 V. Therefore, a signal conditioning circuit was designed to bring
down voltages within ±1000 V range. Figures 3-24, 3-25, 3-26, and 3-27 show the circuit
topologies used in the scaling of the different voltages and currents present in the system.
Voltage at the DC link bus, voltage at the energy storage energy bus, and power
stabilizer currents were the only inputs with trip signals. Moreover, only the DC link
voltage’s scaling & trip circuitry was duplicated, with the purpose of avoiding system
damage due to the loss of one of the instrumentation amplifiers. The DC link voltage
would tend to rise without control, if the system used to measure its value failed.
100
J1 PHOENIX 20
1 VFILTERA
2
3 VFILTERN
4
5 VFILTERB
6 VEXTRA_ERROR
7 VFILTERN
8 DC_LINK_ERROR1
9 VFILTERC
10 DC_LINK_ERROR2
11 VFILTERN
12 VSTORAGE_ERROR
13 VPCCA
14
15 VPCCN
J4
16
17 VPCCB VEXTRA 1
18 2
19 VPCCN
PHOENIX 2
20
J3 PHOENIX 20
AREA1
1 VPCCC VFILTERAOUT
2 VFILTER, VPCC,VDCLINK, VSTORAGE
3 VPCCN VFILTERBOUT
4
5 V_DC_LINK_P1 VFILTERCOUT
6
7 V_DC_LINK_N1 VPCCAOUT
8
9 V_DC_LINK_P2 VPCCBOUT
10
11 V_DC_LINK_N2 VPCCCOUT
12
13 VSTORAGEP V_DC_LINK1
14
15 VSTORAGEN V_DC_LINK2
16
17 VEXTRAP VSTORAGE
18
19 VEXTRAN GND
20
+15V
+5V
+3.3V
GND J2
-15V 1
2
3
J5 PHOENIX 20 4
5
1 IWINDAP 6 J6
2 7
3 IWINDAN 8 1
4 9 2
5 IWINDBP 10 3
6 11 4
7 IWINDBN 12 5
8 13 6
9 IWINDCP 14 7
10 15 8
11 IWINDCN 16 9
12 17 10
13 IESAAP 18 11
14 19 12
15 IESAAN 20 13
16 IWINDA 14
17 IESABP SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 20 15
18 IWINDB 16
19 IESABN 17
20 IWINDC 18
19
J7 PHOENIX 20 IESAA 20
1 IESACP AREA2 IESAB SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 20
2
3 IESACN IWIND,IESA, ICHOPPER IESAC
4
5 ICHOPPERP ICHOPPER
6
7 ICHOPPERN GND
8
9
10
11 IESAA_ERROR_P
12
13 IESAA_ERROR_N
14
15 IESAB_ERROR_P
16
17 IESAB_ERROR_N
18
19 IESAC_ERROR_P
20
IESAC_ERROR_N
+15V
ICHOPPER_ERROR_P
+5V
ICHOPPER_ERROR_N
+3.3V
GND
-15V
J10 PHOENIX 10
1 +24V UV+24V
2 +15V UV+15V
3 +5V AREA5 UV+5V
4 +3.3V UV UV+3.3V
5 GND UV-15V
6 -15V GND
7
8 +15V OK
9
10
SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 20
J9
1 D0
2 D1
3 D2 J8 PHOENIX 20
4 D3
5 D4 D/A OUTPUT1 1
6 D5 2
7 D6 D/A OUTPUT2 3
8 D7 4
9 D8 AREA 3 D/A OUTPUT3 5
10 D9 D/A 6
11 D10 D/A OUTPUT4 7
12 D11 8
13 A0 D/A OUTPUT5 9
14 A1 10
15 LS D/A OUTPUT6 11
16 MS 12
17 CS1 D/A OUTPUT7 13
18 CS2 14
19 GND D/A OUTPUT8 15
20 16
GND 17
18 J13
+15V 19
20 1
+5V 2
3
GND 4
5
-15V 6
7
8
9
10
11
12
UP1A 13
UP2A 14
VP1A 15
VP2A 16
PWM_UP WP1A 17
SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 10 WP2A 18
J11 PWM_UN UN1A 19
UN2A 20
1 PWM_VP VP1A
2 VN2A SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 20
3 PWM_VN WN1A
4 WN2A
5 PWM_WP AREA4 UP1B
6 PWM BUFFER UP2B
7 PWM_WN VP1B J12
8 VP2B
9 PWM_CP WP1B 1
10 WP2B 2
PWM_CN UN1B 3
UN2B 4
GND VN1B 5
VN2B 6
WN1B 7
WN2B 8
9
GND 10
11
+15V OK 12
13
14
15
16
17
18
19
20
1 GND
2 U_FOSA U_FOSERRORA
3 AREA6 A
4 V_FOSA IPM ERROR A V_FOSERRORA
5
6 W_FOSA W_FOSERRORA
7
8
9
10 FOSA FOSERRORA
11
12 GND
13 SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 10
14 +15V OK
J16
15
16 1
17 2
18 3
19 4
20 5
6
+3.3V 7
8
1 GND 9
2 U_FOSB U_FOSERRORB 10
3 AREA6 B
4 V_FOSB IPM ERROR B V_FOSERRORB
5
6 W_FOSB W_FOSERRORB
7
8
9
10 FOSB FOSERRORB
11
12 GND
13
14 +15V OK
15
16
17
18
19
20
J15
SHROUDED LATCH HEADER FOR RIBBON CABLE STRAIGHT PIN 20
+15V
R1 1M 3/4W
-5V TO +5V RANGE C1 D1
VFILTERA
0.1uF 50V 10% 1N914B
7
R2 C2 U1
4.99k 0.6W 1% 0.001uF 50V 10% 3 +
1 R1 R3
6 0 TO +10V RANGE 0 TO +3V RANGE
VFILTERAOUT
8 R2
R6 2 - D2 2.8k 1/4W 1% R4
4.99k 0.6W 1% 1N5817 1.2 k 0.4W 1%
R5 1M 3/4W C3 AD620
0.001uF 50V 10%
5
VFILTERN
+5V
C5
0.1uF 50V 10%
-15V
16
+10V CLAMP VOLTAGE
R40 1M 3/4W
V_DC_LINK_P1 RP1A
1.0k
R41 C26 D13 C36 C34
10K 1/4W 1% 0.1uF 50V 10% 1N914B 0.1uF 50V 10% 0.1uF 50V 10%
14
7
3
C27 U7 +TRIP LEVEL VOLTAGE U9A
1
0.001uF 50V 10%
3 7 +
+
1 R1 1 13 12
DC_LINK_ERROR1
6 6 -
8 R2 U10F
2 - D14 74AHC14
12
1N5817 LM239
7
R43 AD620
10K 1/4W 1% C28
4
5
R42 1M 3/4W 0.001uF 50V 10%
V_DC_LINK_N1
R46
V_DC_LINK1
C29
0.1uF 50V 10% 0 TO +3V RANGE, 2.7V TRIP (DC 2.8k 1/4W 1% R47
-15V LINK TRIP VOLTAGE =900 V) 1.2 k 0.4W 1%
TP1 T1 U15
IWINDAP 1 3 +
PIN1 R84 R80 1 R1 0 TO +10V RANGE R85
3 100 1/4W C49 5.49k 1% GAIN 10 6 0 TO +3V RANGE
PIN3 0.001uF 50V 10% IWINDA
TP2 8 R2
IWINDAN 2 2 - D28 2.8k 1/4W 1% R86
PIN2 1N5817 1.2 k 0.4W 1%
AC1005 AD620
4
+5V
C51
0.1uF 50V 10%
-15V
Figure 3-26. CT current scaling circuit (input [-5 +5A], output [0 +3V])
+3.3V
+15V +3.3V
16
LEM1 +15V
R97 0 TO +10V RANGE, C61 RP1E C62
IESAAP +15V +10V CLAMP CURRENT
1.0k 1/4W 1% 1V & 9V TRIP 0.1uF 50V 10% 1.0k 0.1uF 50V 10%
14
-15V
3
LA 25-NP/SP14 IESAA_ERROR_P
0.1uF 50V 10% 1N914B 6 -
7
1 R1 LM239 RP1F
7
6 1.0k
8 R2
2 - D34
3
1N5817 U20B
6
AD620 5 +
-TRIP LEVEL CURRENT 2 5 6
4
IESAA_ERROR_N
4 -
+5V
U21C
74AHC14
12
LM239
C60 R101
0.1uF 50V 10%
IESAA
-15V
0 TO +3V RANGE, 0.3V AND 2.7V TRIP 2.8k 1/4W 1% R102
1.2 k 0.4W 1%
Figure 3-27. LEM current scaling circuit (input [-0.36 +0.36A], output [0 +3V])
Power supply monitoring. During the start-up and shutdown of the system, it was
very important to have complete control in order to avoid possible unwanted turn-on of
the power semiconductors. Moreover, if one of the power supplies would fail during
102
normal operation of the power stabilizer, a shut down of the IGBT gating was required in
order to protect the rest of the system. Figure 3-28 shows the power supplies’ voltage
+15V +24V
C40
C46 R63 R65 R69 0.1uF 50V 10%
R66 R70 0.1uF 50V 10% 10k 1/4W 1% 10k 1/4W 1% 10k 1/4W 1%
13k 1/4W 1% 21.5k 1/4W 1%
U14
14
1 16 U10A
2 VREF VDD 15
3 IN1 MS 14 1 2
IN2 OUT1 UV+15V
4 13
5 IN3+ OUT2 12
6 IN3- OUT3 11
R64 R72 7 IN4+ OUT4 10 74AHC14
7
1.24k 1/4 W 1% 1.24k 1/4 W 1% 8 IN4- DOUT 9
DIN GND
R76 MAX8214
1.24k 1/4 W 1%
U10B
3 4
UV+24V
R81
1.24k 1/4 W 1% 74AHC14
U10C
5 6 +15V
UV-15V
-15V
74AHC14
D19
1N914B
D21
K
Z4 R62
10k 1/4W 1%
1N914B 1N755A
A
D22
Q2
+5V +3.3V 1N914B IRF4905/TO
K
+15V OK
Z2
R73 R78 C50 R82 R77
1N755A
K
3.48k 1/4W 1% 1.87k 1/4W 1% 0.1uF 50V 10% 10k 1/4W 1% 10k 1/4W 1% 1N914B R75
10k 1/4W 1% Z3
A
U16 R71
1 16 U10D 1N967B 1.0k 1/4W 1%
2 VREF VDD 15
3 IN1 MS 14 9 8 Q1
A
IN2 OUT1 UV+5V
4 13 2N7000
5 IN3+ OUT2 12
R74 R83 6 IN3- OUT3 11
1.24k 1/4 W 1% 1.24k 1/4 W 1% 7 IN4+ OUT4 10 74AHC14
8 IN4- DOUT 9
DIN GND
MAX8214
U10E
11 10
UV+3.3V
74AHC14
D25
1N914B
D26
1N914B
Only when the power supplies were OK a 15 V source (labeled “+15V OK”) was
switched on, allowing the Darlington drivers of the FPGA to control the optocouples
Figure 3-29 shows the system’s critical signals during power-up. It can be inferred
that the voltage monitoring circuit ( +15 Volts OK signal ) was a critical element to
assure that no PWM signals reached the gate drive until all the voltages were stable.
Figure 3-30 shows the system’s critical signals during shut-down. In this case no
glitches were present. However the voltage monitoring circuitry provided a clean system
Figure 3-29. System’s critical signals during turn on. A) AC side. B) 15 volts signal. C)
FPGA’s PWM phase A. D) FPGA voltage supply.
Figure 3-30. System’s critical signals during turn off. A) AC side. B) 15 volts signal. C)
FPGA’s PWM phase A. D) FPGA voltage supply.
FPGA-Gate drive board interface. Gate drive board faults and on/off control
signals were transferred to and from the system controller (FPGA) using optocouplers, so
high and low side control signals could be referred to a common logic level. In our
application board, Darlington transistors (Figure 3-31) were used to drive the diode side
of the optocouplers.
104
+15V OK UP1A
UP2A
VP1A
VP2A
WP1A
WP2A
U31
UN1A
1 16
TO
PWM_UP IN1 OUT1
PWM_UN 2 15
IN2 OUT2 UN2A
PWM_VP 3 14
4 IN3 OUT3 13
FPGA 9
IN7
COM
OUT7
WN1A (isolated interface board)
WN2A
MC1413
UP1B
UP2B
U32
VP1B
PWM_CP 1 16
IN1 OUT1 VP2B
PWM_CN 2 15
3 IN2 OUT2 14
IN3 OUT3 WP1B
4 13
5 IN4 OUT4 12
IN5 OUT5 WP2B
6 11
7 IN6 OUT6 10
IN7 OUT7 UN1B
9
COM UN2B
K
Z6
VN1B
MC1413
1N967B
VN2B
A
WN1B
WN2B
Status signals from the IPM, once isolated by the gate drive board, are scaled down
C41
0.1uF 50V 10%
R120
5.5k 1/4W 1%
14
U33A
R12830k 1/4W 1%
U_FOSA 1 2
U_FOSERRORA
C88
R136
4
V_FOSERRORA
FPGA
C89
R137
0.001uF 50V 10% 10k 1/4W 1%
74AHC14
R122
5.5k 1/4W 1%
U33C
R13030k 1/4W 1%
W_FOSA 5 6
W_FOSERRORA
C90
R138
0.001uF 50V 10% 10k 1/4W 1%
74AHC14
R123
5.5k 1/4W 1%
U33D
R13130k 1/4W 1%
FOSA 9 8
FOSERRORA
C91
R139
0.001uF 50V 10% 10k 1/4W 1%
74AHC14
D/A circuit. Real time system diagnostics could be carried out by the usage of D/A
converters controlled by the DSP. The goal was to be able to identify potential problems
and to evaluate system performance. Thus, every time the DSP executed the control
algorithm, the DACs were updated with new values from the DSP.
The number of DAC-channels available was 8, and the range of output voltage was
programmable from the DSP, having a maximum of ±10V. Figure 3-33 shows the circuit
42
5
D0 28 7
VEE
VLL
VCC
29 D0 RFA
D1 D1 D/A OUTPUT1
D2 30 8
31 D2 VOA
D3 D3
D4 32 10
33 D4 RFB
D5 D5 D/A OUTPUT2
D6 35 9
36 D6 VOB
D7 D7
D8 37 12
38 D8 RFC
D9 D9 D/A OUTPUT3
D10 39 13
40 D10 VOC
D11 D11 15
RFD
U27 D/A OUTPUT4
14
AD664 (44 pin) VOD
A0 19
20 DS0
A1 DS1
23
24 QS0
25 QS1
QS2
LS\ 2
27 LS
MS\ MS
CS1 18
CS
+5V
1
26 RD
+5V TR
DGND
AGND
VREF
RST
R118
22
11
21
10k 1/4W 1%
4
GND
GND
+15V
C80 U29
0.1uF 50V 10%
2 6
+VIN VOUT
C83 8 C84
GND
0.1uF 50V 10% 5 NOISE 1uF 50V 10%
TRIM
AD587JN
4
+5V -15V +15V
42
5
28 7
VEE
VLL
VCC
29 D0 RFA
D1 D/A OUTPUT5
30 8
31 D2 VOA
32 D3 10
33 D4 RFB
D5 D/A OUTPUT6
35 9
36 D6 VOB
37 D7 12
38 D8 RFC
D9 D/A OUTPUT7
39 13
40 D10 VOC
D11 15
RFD
U28 D/A OUTPUT8
14
AD664 (44 pin) VOD
19
20 DS0
DS1
23
24 QS0
25 QS1
QS2
2
27 LS
18 MS
CS2 CS
+5V
+5V 1
26 RD
TR
DGND
AGND
VREF
RST
R119
10k 1/4W 1%
22
11
21
+15V
C81
0.1uF 50V 10% U30
2 6
+VIN VOUT
C86 8 C87
GND
AD587JN
4
The controller selected for this application was the DSP F2812 from Texas
Instruments.
However, mainly due to cost reasons and processing speed, the DSP F2812 was the
chosen option for this type of application. The alternatives under consideration are
Despite the fact that the DSP F2812 was capable of generating up to 10
independent PWM outputs, signals were allowed to change only twice per cycle. Figure
that the system’s response was improved by allowing multiple changes within a cycle.
Moreover, simple logic was included in the PWM generator so dead-time and error
signals could be taken into account before PWM signals were sent to the gate drive
board.
The basic features of the development board used with the FPGA are
Time
TMX320F2812
PWM output
Missed
Desired PWM pulse
output
(FPGA output)
several IGBTs and designed to reduce the system’s development time, thanks to its built-
in gate drive circuit. The IPM module selected for this application was the PM50RSA120
• Protection Logic: short circuit, over current, over temperature, under voltage
• Maximum collector-emitter voltage 1200 V
• Collector Current 50 Amps
• Maximum PWM input frequency 20 kHz
• Minimum dead-time 3.0 µs
Figure 3-35 shows the power circuit configuration of the PM50RSA120. The brake
section (B) of the IPM was not used in the implementation of the power stabilizer.
B V
One of the critical components in the design of the power stabilizer was the
interface circuit between the IPM and the low side control signals. Even though the IPM
had a built-in gate drive, there were still some interface circuit requirements that had to
be satisfied in order to avoid noise problems. The isolation interface required was
interface board. Figure 3-36 shows the isolated interface circuit used for the IPM.
The software tools used in the programming of the FPGA and the DSP are Actel
Libero Gold Integrated Design Environment (IDE) and Texas Instruments Code
development time and to increase flexibility and readability in the design. The different
109
and Matlab embedded target for TI C2000 toolbox. However, neither one of them offered
the flexibility, readability and efficiency needed for this type of application.
U61
4 14
+20V_IN +15V_4 J16
5 1 1
+20V_IN 1 1 GND
13 2 2
COM_4 2 2 U_F0S
6 3 3
+20V_IN 4 3 3 4
4 4 V_F0S
5 5
12 6 5 5 6
+15V_3 6 6 W_F0S
TO INTERFACE BOARD
7 7
8 7 7 8
J17 8 8 BRC
11 9 9
P_20V C19 COM_3 10 9 9 10
1 N_20V 330uF 10 10 F0S
11 11
(status signals)
2 12 11 11 12
12 12 +20V
10 13 13
VOLTAGE SUPPLY 20 V F +15V_2 14 13 13 14
15 14 14 15
9 16 15 15 16
COM_2 17 16 16 17
1 18 17 17 18
COM_IN 19 18 18 19
2 8 20 19 19 20
COM_IN +15V_1 20 20
3 CONN 20 F
COM_IN 7
COM_1
M57140-01
J18 U62
UP1 1 1
2 1 1 2 1 8 V_UP1
UP2 2 2 NC1 VCC U63
3 3
4 3 3 4 R43 ??? 20 KOhms 8 1
VP1 4 4 VCC NC1
5 5 2 7 U_P
VP2 5 5 ANODE VL
6 6 20 KOhms
7 6 6 7 7 2 V_UP1
WP1 7 7 VL ANODE
8 8 RU 3 6 R44
WP2 8 8 CATHODE VO
9 9 10k
10 9 9 10 C20 C21 6 3 U_F0
UN1 10 10 SHIELD VO CATHODE
11 11 4 5 0.1uF 10uF V_UPC
UN2 11 11 NC4 GND
12 12 C22
13 12 12 13 0.1uF 5 SHIELD 4
VN1 13 13 HCNW4506 GND NC4
VN2 14 14
15 14 14 15
16 15 15 16 HCNW4506
WN1 U64
17 16 16 17
WN2 17 17
18 18 1 8 V_VP1
19 18 18 19 NC1 VCC
20 19 19 20 R45 ??? 20 KOhms
20 20 2 7 V_P
ANODE VL U65
CONN 20 F
8 1
SU 3 6 R46 VCC NC1
CATHODE VO 10k 20 KOhms
C23 C24 7 2 V_VP1
4 SHIELD 5 0.1uF 10uF V_VPC VL ANODE
NC4 GND
2
NC1
20 KOhms
VCC
8
7
V_WP1
W_P
HCNW4506
ANODE VL
TU 3 6 R48
CATHODE VO 10k U67
C26 C27 8 1
4 SHIELD 5 0.1uF 10uF V_WPC VCC NC1
NC4 GND 20 KOhms
HCNW4506 7 2 V_WP1
VL ANODE
U68 6 3 W_F0
VO CATHODE
1 8 V_N1 C28
NC1 VCC 0.1uF 5 SHIELD 4
R49 ??? 20 KOhms GND NC4
2 7 U_N
ANODE VL HCNW4506
RL 3 6 R50
CATHODE VO 10k
C29 C30
4 SHIELD 5 0.1uF 10uF V_NC U69
NC4 GND
HCNW4506 1 8 V_N1
NC1 VCC
R51 1.5 K 20 KOhms
2 7 BR
ANODE VL
U70
1 8 3 6 C31
NC1 VCC CATHODE VO 0.1uF
R52 1.5k 20 KOhms
2 7 V_N 4 SHIELD 5 V_NC
ANODE VL NC4 GND
HCNW4506
SL 3 6 R53
CATHODE VO 10k
C32 C33
4 SHIELD 5 0.1uF 10uF
NC4 GND
HCNW4506
U71
8 1
VCC NC1
U72
20 KOhms
1 8 7 2 V_N1
NC1 VCC VL ANODE
R54 ??? 20 KOhms
2 7 W_N 6 3 F0
ANODE VL VO CATHODE
C34
TL 3 6 R55 0.1uF 5 SHIELD 4
CATHODE VO 10k GND NC4
C35 C36
4 SHIELD 5 0.1uF 10uF HCNW4506
NC4 GND
HCNW4506
Figure 3-38 shows the name of the variables used in the programming of the DSP
and FPGA, and also the different links between the different sub-systems.
The programming of the DSP power stabilizer control and communications was
probably the most complex one in our entire project, since it required the knowledge not
To increase the readability of the code, a series of object oriented modules were
created in C. The majority of the modules were generated using the IQmath, a quasi
floating point toolset, from Texas Instruments [42], with the intention of increasing the
110
control algorithms’ accuracy. A detailed description of the main modules used in the
The power stabilizer control algorithm was split in main blocks according to the
time constants involved. These two blocks were the “power limiters control loop”, and
the “current controller loops”. Figure 3-37 explains how the control algorithm was
divided into two sections and the components that were included in each one.
On the one hand, power fluctuations due to changes in wind speed were not
expected to have significant changes within time intervals smaller than 100 milliseconds.
Thus, a control loop with a sampling frequency equal 10 Hz was used to determine the
amount of power required to filter out wind-farm power variations. On the other hand,
since the inverter performance was based on how accurately the system current was
The splitting up of the control scheme into two main loops released some time out
Iwindb + Wind
X + Power
Limiters
Centering
Vpccb algorithm 10Hz
+ Vpcc_offset
Iwindc Klimit
Vpccc X + -
ESA required
+ power
+ -
+ Allowedcenteringpower Idrinv Vdf wLIqinv
38880 Hz
Constant angle
PowerInverter
Reference - + Max Magnitude
Idref Idref + Vdinv Vapu
1.5 pu
PI regulator + - + + PWMVa
Vdqinv V dqinv_limited V dinv _limited iPark V1
-1.5pu
Vdqinv = V 2
+V 2 Vdqinv_lim ited iClark V1
- -
Current Limiter dinv qinv Vdinv_limited = V ds inv d -q
Vdr Vpcc_offset 0
1 + K dqinv
2 dr-qr s s V bpu + +
Vqinv Vqs inv PWMVb
M M
K dqinv = K dqinv V qinv _limited ds -qs abc
- Kp Vdinv Vqinv_limited = K dqinv ⋅Vdinv_limited - -
Vpcc ref + + M Iqref + + Vqinv V c pu + +
PI regulator sin(theta) cos(theta) PWMVc
- Ki
1
M + -M
- + +
s
- -
Vpcc positivesequence
-M
2 +
Vflatc
Clark I1 Park I1
Iinva Ids
Iinvb abc ds-qs Idrinv To current
Iqs
Iinvc ds-qs dr -qr Iqr inv regulator
Ios
sin(theta) cos(theta)
Clark V1 PLL
V pcca Vds
V pccb abc PLL
sin(theta)
V qs (2 sec time constant)
V pccc ds -qs cos(theta)
V2dcref + PI regulator
Iinva -
V fa X V2dc
WIND FARM
Phase C
Phase B
Phase A
3
2
1
IWINDAP
GND
GND
GND
GND
GND
GND
GND
GND
D0 D0
D1 D1 IWINDAN
D2 D2
D3 D3 IWINDBP
D/A OUTPUT8
D/A OUTPUT7
D/A OUTPUT6
D/A OUTPUT5
D/A OUTPUT4
D/A OUTPUT3
D/A OUTPUT2
D/A OUTPUT1
D4 D4
D5 D5 IWINDBN
D6 D6
D7 D7 IWINDCP
D8 D8
D9 D9 IWINDCN
D10 D10
D11 D11
D12 D12
GPIO
D13 D13
VPCCA
WR WR
VPCCN
A0 A0
A1 A1 VPCCB
A2 A2
VPCCN
LDAC LDAC
1
1
1
VPCCC
GND GND VPCCN
2
2
2
VFILTERA
VFILTERN
L6 TRAFO EQUIVALENT 5%
L3 TRAFO EQUIVALENT 5%
L1 TRAFO EQUIVALENT 5%
VFILTERB
VFILTERN
IWINDA VFILTERC
C1
IWINDA
DSP
IWINDB IWINDB VFILTERN
IWINDC IWINDC
C FILTER 10%
VPCCA VPCCA
VPCCB VPCCB
VPCCC VPCCC
C FILTER 10%
VFILTERA
C5
VFILTERA
A/D
VFILTERB VFILTERB
VFILTERC VFILTERC
1
1
1
C FILTER 10%
IESAA IESAA
IESAB IESAB
IESAC IESAC
2
2
2
V_DC_LINK1 V_DC_LINK1
L7 L FILTER 10%
L4 L FILTER 10%
L2 L FILTER 10%
V_DC_LINK2 V_DC_LINK2
IESAAP
ICHOPPER ICHOPPER
IESAAN
VSTORAGE VSTORAGE
IESABP
GND GND IESABN
IESACP
IESACN
UP1A UP1
UP2A UP2
IPM1
IPM 1
VP1A VP1
VP2A VP2
PWM_D11
PWM_D10
PWM_A1
PWM_A0
RESET
PWM_LATCH
PWM_WR
SF STOP
PWM_D9
PWM_D8
PWM_D7
PWM_D6
PWM_D5
PWM_D4
PWM_D3
PWM_D2
PWM_D1
PWM_D0
GND
WP1A WP1 V_UPC
WP2A WP2 U_F0
U_P
UN1A UN1 V_UP1
UN2A UN2 V_VPC
V_F0
VN1A VN1 V_P
VN2A VN2 V_VP1
V_WPC
WN1A WN1 W_F0
WN2A WN2 W_P
V_WP1
MEASUREMENT
IPM interface board A
IPM INTERFACE A
V_NC
GND
V_N1
RESET
Measurement & Interface board
BRCA BRC BR
PWM_A1
PWM_A0
SF STOP
PWM_D9
PWM_D8
PWM_D7
PWM_D6
PWM_D5
PWM_D4
PWM_D3
PWM_D2
PWM_D1
PWM_D0
PWM_WR
PWM_D11
PWM_D10
U_N
V_N
PWM_LATCH
U_F0SA U_F0S W_N
V_F0SA V_F0S F_0
W_F0SA W_F0S
F0SA F0S
VDD
+20V +20V
HW STOP
GND GND
S1
PWM_UP PWM_UP
PWM_UN PWM_UN V_DC_LINK_P1
V_DC_LINK_P2
HW STOP BUTTON
PWM_VP PWM_VP
C2
PWM_VN PWM_VN
V_DC_LINK_N1
PWM_WP PWM_WP V_DC_LINK_N2
C DC LINK
PWM_WN PWM_WN
IPM2
IPM 2
Figure 3-38. Interconnections between the different sub-systems of the power stabilizer
UV +15V UV +15V VN2B VN2 V_VP1
FPGA Develpment Board
V_WPC
UV +5V UV +5V WN1B WN1 W_F0
WN2B WN2 W_P
UV +3.3V UV +3.3V V_WP1
IPM interface board B
IPM INTERFACE B
V_NC
UV -15V UV -15V V_N1
BRCB BRC BR
DC_LINK_ERROR1 DC_LINK_ERROR1 U_N
V_N
DC_LINK_ERROR2 DC_LINK_ERROR2 U_F0SB U_F0S W_N
V_F0SB V_F0S F_0
VSTORAGE_ERROR VSTORAGE_ERROR W_F0SB W_F0S
FOSB F0S
IESAA_ERROR_P IESAA_ERROR_P
IESAA_ERROR_N IESAA_ERROR_N +20V +20V
IESAB_ERROR_P IESAB_ERROR_P GND GND
1
IESAB_ERROR_N IESAB_ERROR_N
IESAC_ERROR_P IESAC_ERROR_P
IESAC_ERROR_N IESAC_ERROR_N
2
ICHOPPER_ERROR_P ICHOPPER_ERROR_P
L5 L CHOPPER
U_FOSERRORB
V_FOSERRORB V_FOSERRORB VSTORAGEP
W_FOSERRORB W_FOSERRORB
C STORAGE
FOSERRORB FOSERRORB
+3.3V
+5V
-15V
GND
+15V
+24V
GND GND
+5V
-15V
GND
+15V
+24V
+3.3V
PWR1
POWER SUPPLY
GND
111
112
As stated in the previous chapter, the switching frequency selected for the power
stabilizer was 4860 Hz. However, the inner loop regulators had a sampling frequency that
was 8 times the PWM frequency. The goal was to reduce inverter time responses to
system transients, increasing the power stabilizer’s bandwidth. This technique is called
re-sampled uniform PWM [43], and is a digital approximation to the naturally sampled
PWM technique.
A flow chart illustrating the different stages the power stabilizer undergoes is
The time base used for the power stabilizer control algorithm was based on the
FPGA synchronization signal that would force the DSP to run at 38,880 Hz.
During the start-up of the machine, the front-end inverter of the power stabilizer
acted as a three phase rectifier, charging the DC link capacitor bank. Once the simulated
electric network was running at rated frequency and voltage, the chopper of the power
stabilizer would charge the energy storage system to 90% its nominal value. Then the
control system would reverse the power through the chopper, so the DC link voltage
could be charged to its nominal value. Once both systems, the DC link bus and the ESS,
were within a reasonable range and close to their nominal values, the power stabilizer
Figure 3- 40 shows the power interchange between the electric power system and
Modules
Data acquisition
Initialization
Watchdog reset
A/D offsets
calculation
Data convertion
A/D offsets
calculation Overcurrent
protection
Yes Yes
Charging Energy No
Vdc_link>590V?
Storage
No
105%<Energy>90% ?
Yes Yes
No
Charging DC link Vdc_link>590V?
No
DC Energy>95% ?
Yes
Foreground
control loop
(f=38880 Hz)
DC link is charged to
STAGE 3 800Volts
Normal operation
STAGE 4
During the Power stabilizer’s normal operation, several tasks, besides the control
All the main system components ended up using part of the FPGA for different
purposes. However, the main functions were for PWM and error generation.
The FPGA code was split into two independent systems, one for the control of the
different machines and the other for the control of the power stabilizer. Figure 3-41
shows the main modules implemented in the FPGA (the software tool used for the
Among all these modules, only three were of vital importance for the proper
compared to voltage demand for phase a, phase b, phase c, and the chopper.
The PWM triangle count used a counter that was one more bit than the up/down
triangular count would require. For instance, for an up count of 0-1023, and a down count
of 1023-0, instead of using a 10 bits counter, the one used for this approach would be 11
bits (N bits). The higher order Nth bit was used to invert the lower order N-1 bits when it
was high (Figure 3-42). Only the lower order N-1 bits were used in the triangle
115
comparator, since a 10-bit word was sent from the DSP to the FPGA, containing
The format of the word sent from the DSP to the FPGA required a small code
manipulation, before it was actually compared to the up/down triangle. Since the DSP
voltage commands were represented by signed integers, a flip of the highest order bit was
all that was need to convert a signal from signed 1.x to unsigned integer. For instance, a
(10bits) #0000000000 would be converted into #1000000000, which is about half of the
As far as the maximum value that could be sent to the FPGA, there were a couple
of remarks; it was possible to send values that ranged between the minimum and
maximum triangle count. However, this presented the following problem; when the
values were B#0000000000 >= B#0000000000, the output was high, and when it was
B#1111111111 >= B#1111111111, the output was also high. This gave a high bias to the
output for an average around zero. This effect was canceled out by the fact the number
range was one count larger in the negative direction. The other problem was that as very
narrow notches were being generated, the underlap circuitry that prevented shoot-
throughs did a poor job of reproducing them. The device in the pole with the high duty
cycle continued to switch until the notch disappeared. Suddenly, the underlap circuit was
not required to do anything, and the voltage took a small jump in the direction of the high
duty cycle switch. The low duty cycle switch stopped conducting when the notch time
got to be shorter than the underlap time. The dead-time presented a problem in that the
current defined what the voltage ended up being during this time. However, when the low
116
duty-cycle switch stopped coming on, the problem become worse. One way to reduce
both of these effects was not to send a value that would stop the low duty cycle IGBT
Thus, if the dead-time is 2 µsec, the maximum value that can be sent to the FPGA
is 0.96 pu.
A B
Figure 3-42. Up/Down counter. A). Digital triangular waveform. B).Detail of the count-
fold effect.
The output of the comparators (A>=B) were cleaned up by the D flip-flops at the
outputs since the comparator outputs could transiently glitch as the logic settled, after a
rising clock-edge. These PWM state signals were then sent to dead-time generators as
DSP synchronization
signal
Deadtime generator
PWM generator
The DSP synchronization pulse was a latched (and one clock delayed) signal and
generated 8 times per PWM cycle (4860Hz). It was true one clock cycle after any count,
when the least significant 8 bits were low. Therefore, the DSP control loop ran at a
frequency of 38,880Hz
Note: Due to clock limitations, the actual PWM frequency was 10MHz/211 =
4882.8 Hz, and the DSP control loop frequency was 10 MHz/28 =39063 Hz. These values
conditions were given in the IPM module. The IPM minimum dead-time was 3µsec,
Figure 3-44 shows how the dead-time generator was implemented in the FPGA.
Two counters were turned on/off according to the PWM input signal. Their output signals
(counts) were then compared to a constant (number of counts). In this case the constant
constant 40
dead − time = = = 4μ sec
clock frequency 10Mhz
PWM output signals were then enabled or disabled based on a trip signal that
Figure 3-45 shows the FPGA dead-time performance for phase A of the front-end
inverter.
119
PWM
upper IGBT
PWM
PWM
lower IGBT
CLOCK-SIGNAL
ERROR-SIGNAL
Watchdog logic. The F2812 DSP has a built-in watchdog timer that provides a
safeguard against CPU crashes by automatically initiating a reset if not serviced by the
CPU at regular intervals. This is a very useful tool for applications where the PWM
signals are generated from the DSP, since any CPU reset will put the PWM outputs to a
high impedance state, which should turn off the power converter. However, for our
application, the PWM generation was carried out by the FPGA, and therefore a built-in
watchdog timer had to be implemented. Figure 3-46 shows the logic used to realize the
Watchdog
counter
29 different
error signals
The Watchdog timer was a 9-bit counter that generated an error signal (terminal
count) after 2 9 = 51 . 2 μ sec , if not serviced by the DSP. The way the DSP attended
10 Mhz
the watchdog timer was by sending a specific word to the FPGA. The following table
explains meaning of the different words used for the control of the watchdog timer, and
Note: It is assumed that a DSP general purpose I/O pin was assigned to latch the
FPGA data input. The latched value was cleared by the “DSP synchronization” signal; so
that no values were held in the latch for more than one DSP control loop cycle. In this
System Data
Table 4-1 summarizes the system parameters used in the modeling of the power
stabilizer system. A comparison with the ideal values based on the per-unit designed
These differences caused a small deviation from the ideal system. However, the
The following sections illustrate the power stabilizer response due to step-changes
in the different values. System performance was analyzed under various scenarios.
One of the key variables in the overall system performance was the voltage at the
DC link bus, since PWM control actions were based on it. Thus, its value had to be
tightly controlled.
Figure 4-1 and Figure 4-2 show the DC link voltage responses to a step-change in
121
122
It can be inferred from Figures 4-1 and 4-2 that the DC link voltage regulator was
very robust, and that large changes in the regulator’s gain would not affect the system
time, without causing any system overshoot as in the case of high integral gains.
However, higher gains caused control actions to saturate and could have originated
instabilities.
The core of the Power stabilizer was the inner current regulators. Their
performance determined the overall system response. The current regulators’ robustness
is shown in Figure 4-3 and Figure 4-4. As expected, the increase in the integral and/or
proportional gains had no major impact on the current response. This was due to the
saturation of control actions, as seen in Figure 4-5. The original current regulator gains
were designed to avoid possible saturation situations due to a step change in the error of 1
pu. Figure 4-6 shows the Power stabilizer current waveform during a multiple step-
Figure 4-3. Iqref command step change from -0.5 to 0.5 A per unit. Integral gain effect. A)
Inverter’s reference output voltage. B) Inverter current. C) Inverter’s Iq.
124
Figure 4-4. Iqref command step change from -0.5 to 0.5 A per unit. Proportional gain
effect
Figure 4-6. Iqref command step change from -0.5 to 0.5 and back to -0.5 A per unit. A)
Inverter’s reference output voltage. B) Inverter current. C) Inverter’s Iq.
125
The current control loop bandwidth was also tested and compared to the ideal
system. A variable frequency sinusoidal waveform was introduced into the control loop
references (Iqref and Idref) to study the reduction in amplitude as the frequency of the input
signal increased.
Where h is the desired harmonic. For this test the amplitude selected for the signal
amplitude was 0.5 Amps per unit. Figure 4-7 shows the different current output
Figure 4-7. Power stabilizer harmonic injection response for Ki=18 and Kp=1
The bandwidth of the current regulators could then be compared to the ideal system
as shown in Figure 4-8. As expected the bandwidth of the real system was lower than the
ideal one due to the increase in the amount of system impedance. However, this reduction
126
in bandwidth did not have any impact in the system performance, since no harmonic
LCL filter design was also tested and compared to the ideal attenuation gain. Figure
4-9 shows the current waveforms before and after the LCL filter.
The peak to peak ripple current was 0.06 A, and it was very similar to the expected
Figure 4-10 shows the frequency spectrum of Figure 4-9. It can be deduced that the
Voltage Regulation
The Power stabilizer did not just have the capacity of filtering power variations, but
voltage fluctuations as well. By controlling the amount of reactive current injected into
the system, it was possible to modify the voltage profile at the wind-farm terminals.
Figure 4-11 shows a simplified diagram of the different impedances that played a
Main Vwind
Load P=750W
0.25515
ΔV = Vsource − V pcc = X line ⋅ I inverter rated rms ⋅ 2 = 0.044 ⋅ 60 ⋅ 2 ⋅ π ⋅ ⋅ 2 = 5.98 V
2
Figure 4-12 shows the voltage at the point of common coupling when the Power
Stabilizer went from full inductive to full capacitive and back to full inductive.
It can be deduced from the previous calculation, that for the given power rating, the
Figure 4-12. Power stabilizer voltage regulation performance. A) Voltage at the point of
common coupling. B) Inverter Iq component.
System Losses
Due to the size of the equipment, system losses were expected to be a significant
proportion of the power ratings, compared to a full-size system. In particular, for the
• Conduction losses
• Switching losses
• I2R
• Core losses
• Capacitor leakage current
Because of these losses there was an expected asymmetric charge/discharge cycle
To compensate for these losses the Power Stabilizer was biased such that no control
action from the energy storage regulator was needed. Figure 4-14 shows the
Figure 4-13. Energy storage charge/discharge cycle. A) Chopper output power. B).
Energy storage voltage and current. C) ESS’s energy.
Losses
Power Limiter
_
+ Idref
ESS Voltage
Vd
regulator Current Limters and
PWM
Regulators Vq Transformations
Iqref
PCC Voltage
regulator
The effect of introducing a loss compensation term in the control algorithm had the
a resistive load (Figure 4-15). The losses were estimated to be around 20Watts for the
non-load condition.
Power Stabilizer
Losses=20Watts
Synchronous
Machine Line Impendace
Filter
Main
Load Wind
4.5 KW Farm
When trying to compensate for power fluctuation, two different approaches were
The wind-power data used for the comparison was 15 minutes of data from a wind
farm on the big island of Hawaii. The frequency scan of the data was 15 minutes, and it
corresponded to high wind conditions. The wind farm consisted of 37 Mitsubishi 250 kW
The time response of the induction machine’s power controller was low enough to
be able to reproduce the changes in power using step variations. However, this type of
behavior was unrealistic and therefore a linear interpolation was used between the two
consecutive scans.
The transfer function of the high pass (HP) filter used in the design of the first
s
H (s) = (4-1)
2 ⋅ π ⋅ f cut −off + s
requirements was the cut-off frequency. Figure 4-17 shows the Power Stabilizer response
It can be concluded from Figure 4-17 that the Power Stabilizer had a very good
performance smoothing wind-power fluctuation as long there was enough energy storage
available. However, such a control scheme generated abrupt changes in power when the
power converter reached the energy limits. These types of situations should be avoided,
since the step changes in power could be even higher than the ones naturally produced by
Figure 4-18 is a zoom of the exact moment where the Power Stabilizer ran out of
energy. When the Power Stabilizer reached the minimum energy limit, the power
delivered to the utility did not only drop down to what the wind farm was producing, but
it overshot due to the energy absorbed by the Power Stabilizer (also called centering
power). That power was designed to be small in magnitude (proportional to the charge
discharge constant Kc), but still had a negative impact on the system.
132
Figure 4-17. Measured and modeled high pass filter results for Kc=0.0064 W/J,
fcut_off=0.005 Hz. A) Power to utility. B) Power stabilizer output power. C)
Power stabilizer energy level
133
Figure 4-18. Measured and modeled high pass filter results for Kc=0.0064 W/J,
fcut_off=0.005 Hz (zoom in). A) Power to utility. B) Power stabilizer output power. C)
Power stabilizer energy level
134
approaches:
• Increased the cut-off frequency, so the Power Stabilizer only compensated for
higher frequency power fluctuations. Figure 4-19 shows the system response to
different cut-off frequencies. Figure 4-20 confirms the results by using the Matlab
model. It was clear that only high cut-off frequencies could help the system from
reaching the energy limits. The drawback of higher cut-off frequencies was
obvious; less power smoothing effect.
• Increased the size of the energy storage, so the system could face larger power
fluctuations for a given cut-off frequency. Figure 4-21 shows a comparison
between a system with nominal energy and a system with an extra 66% of energy.
Even with an increase of more than half in energy the power converter was unable
to compensate for large swings in wind power without running out of energy.
• Adaptive high pass filter. The idea behind this control strategy was to vary the cut-
off frequency according to the status of the energy storage. The closer the Power
Stabilizer energy storage system was to the nominal value, the more filter was
allowed (Figure 4-22).
Figure 4-19. Measured high pass filter performance for different cut-off frequencies.
System parameters Kc=0.0064 W/J. A) Power to utility. B). Power stabilizer
output power. C) Power stabilizer energy level
135
Figure 4-20. Modeled high pass filter performance for different cut-off frequencies.
System parameters Kc=0.0064 W/J. A) Power to utility. B). Power stabilizer
output power. C) Power stabilizer energy level
Figure 4-21. Measured high pass filter performance for different energy storage sizes.
System parameters, Kc=0.0064 W/J, fcut-off=0.005 Hz. A) Power to utility. B).
Power stabilizer output power. C) Power stabilizer energy level
136
f cut-off
f cut-off_origin
Energy
Energy nominal value
Figure 4-22. Cut-off frequency trajectory of the adaptive high pass filter for a given
energy deviation
The adaptive high pass filter control scheme was designed to avoid saturation
situations, yet allowing power fluctuation smoothing. In the adaptive filter control
algorithm the number of parameters that needed to be optimized were two; fcut_off_rigin and
the slope of the variable cut-off frequency. Equation 4-2 shows the relationship between
energy deviation and cut-off frequency used for the adaptive high pass filter.
Figure 4-23 shows the real system response for different Kf. The fcut_off_origin was
It can be concluded from Figure 4-23 that when high pass filter parameters were
optimized the system could ride through large wind-power fluctuation without reaching
Figure 4-24 shows the adaptive high pass filter response using an extra 66% of
energy. Measured results were compared to the one obtained using nominal energy
capacity. System parameters were: Kf=0.0059 Hz/J, Kc=0.0064 W/J, and a frequency of
fcut_off_origin=0.005 Hz.
137
Figure 4-23. Measured adaptive high pass filter performance for different Kf’s. System
parameters, Kc=0.0064 W/J, fcut-off-origin=0.005 Hz. A) Power to utility. B)
Power stabilizer energy level
Figure 4-24. Measured adaptive high pass filter performance for different energy storage
sizes. System parameters, Kf=0.0059 Hz/J, Kc=0.0064 W/J, fcut_off_origin=0.005
Hz. A) Power to utility. B) Power stabilizer energy level
138
This approach seemed to work fairly well. However, it lacked applicability. Electric
power systems can be disturbed by large power swings, while small power unbalances
should be tackled first, rather than the small ones due to its impact on the system.
Thus, there was a need for a better control algorithm that exclusively targeted and
compensated for large power variations, while avoiding compensation of less significant
events. The goal was to settle down the control actions given by the synchronous
Power Limiter 2
This approach targeted specific indexes and therefore was more prompt to
compensate for large power fluctuation rather than low profile power changes.
The indexes considered in our study were the ones used by HECO (Hawaiian
Electric Company, Inc.), which were based on a two-second scan sampling time. The
∑ MW s −1 − MWs
• Subminute Average Power Fluctuation: A1 = s =1
=1 MW/minute
30
where
Al= Subminute Average, calculated once every 30 scans
MWs-1 = The instantaneous MW analog value for the previous scan
MWs= The instantaneous MW analog value for the present scan
139
These numbers had to be scaled down according to the size of the wind farm
model. Thus, the actual power indexes considered in the model were:
• RR=(2/10)*750=150 Watts/minute
• A=(0.3/10)*750=22.5 Watts/minute
• I=(1/10)*750=75 Watts/2seconds
Note: 750 Watts is the wind-farm model rated power.
Even though indexes were based on 2-second scans, the power limiter control
scheme calculated such indexes several times per second, using a multiple-sampling
control algorithm. Figure 4-25 illustrates how these indexes, based on 2-second scans,
could be estimated more than once every two seconds. This allowed for higher refreshing
times for the inverter power reference, so that a faster and a more accurate response to
Figure 4-26 demonstrates that the power limiter injected energy when it was really
needed. Moreover, the control system only released the necessary amount of energy to
meet the indexes, so not all the energy was consumed during the large power fluctuation.
It was also evident that since system losses were not corrected 100%, the power converter
drew some extra power from the system to compensate for the losses. In the simulation
results, only static losses (or losses independent from the inverter current) were
considered.
Wind Farm
Power
2 seconds
0.5 seconds
2 second scan
2 second
sampling rate
2 second scan
0.5 second
sampling rate
A1
A2
Figure 4-25. Multiple sampling concept. For this example a 0.5 second sampling time
was assumed
140
Figure 4-26. Measured and modeled power limiter 2 results for Kc=0.0064, RR=2
MW/minute, A=0.3 MW/minute, I=1MW/2 seconds fcut-off=0.005 Hz. A)
Power to Utility. B) Power stabilizer output power. C) Power stabilizer energy
level.
The activity of the power indexes during the 15 minute period are shown in Figure
4-27. As expected the power limiter does a very good job trying to keep the power
A significant number of variables could have made the power limiter behave
differently. However, only a few of them were considered for our sensibility study:
• Power indexes. Nominal values RR=2 MW/minute, A=0.3 MW/minute, I=1 MW/2
seconds
141
Figure 4-27. Measured power indexes activity. System parameters: Kc=0.0064 W/J,
RR=2 MW/minute, A=0.3 MW/minute, I=1 MW/2 seconds, and fs=10Hz. A)
Power stabilizer output power. B) Average power fluctuation. C) Ramp rate
power change. D) Instantaneous power fluctuation.
Figure 4-28 shows the effect of increasing the charge/discharge constant. When
doing this, there was no impact on the indexes’ activity. However, large charge/discharge
constants could have caused the activation of the power indexes, since there was power
Figure 4-29 shows the effect of decreasing the ramp rate limits, making them
stricter. For this type of wind-power fluctuation, the ramp rate activity was the most
important one, so that tighter limits could have made the Power Stabilizer reach the
energy limits. In general, a ramp rate limit of 1 MW/minute generated a good system
response in terms of power fluctuation magnitude and energy capacity required. Lower
ramp rate limits would have required larger energy capacity, making the Power Stabilizer
Figure 4-29. Measured power limiter 2 response to different ramp rate limits. System
parameters: Kc=0.0064 W/J, A=0.3 MW/minute, I=1 MW/2 seconds, and
fs=10 Hz. A) Power to Utility. B) Power stabilizer output power. C) Power
stabilizer energy level.
143
Figure 4-30 shows the effect of decreasing the average power fluctuation limit. In
this case the tighter the average power limit was, the worse the response obtained
became. The reason for such unusual conduct was found in the way the induction power
reference was obtained. Wind-power reference was linearly interpolated between two
consecutive data samples. Thus, a control scheme using a multisampling strategy (more
than one sample per real data samples) perceived an average power fluctuation from the
original one. Figure 4-31 shows the average power fluctuation for different sampling
rates. This effect made it almost impossible to judge the pros and cons of different
Figure 4-30. Measured power limiter 2 response to different average power fluctuation
limits. System parameters: Kc=0.0064 W/J, RR=2 MW/minute, I=1 MW/2
seconds, and fs=10 Hz. A) Power to Utility. B) Power stabilizer output power.
C) Power stabilizer energy level.
144
fluctuation (MW/minute)
Average power
A
Time (secs)
Zoom in
fluctuation (MW/minute)
Average power
B
Time (secs)
Figure 4-31. Effect of linear interpolation on the average power fluctuation index activity.
The sampling time of the original wind-power data is 2 seconds. A) Average
index. B) Average index zoom in.
Figure 4-32 shows the effect of reducing the instantaneous power fluctuation limit.
In general, the system responded fairly well to such limits. However, a special precaution
had to be taken when reducing such an index, since it could have caused the power
Figure 4-33 shows the effects of decreasing the sampling frequency (or refreshing
frequency) of the power limiter. In general, lower sampling frequencies did not have a
major impact on the Power Stabilizer energy. The advantage of using high sampling
frequencies was the fact that power indexes were tracked with exactitude, allowing for a
more accurate way of assuring the power fluctuations fell within the specified limits.
In determining which of the power limiters had a more desirable impact on the
electric power system, one should pay attention to the system’s frequency.
In our case, since the frequency regulator of the synchronous machine was tuned to
expected. Therefore, the only good indicator available to determine the impact of the
different power limiters was the control action given by the frequency regulator.
146
Wind- farm power fluctuations tended to change the frequency regulator output due
to an unbalance in power. Thus, control actions had the tendency to displace up and down
from an average value based on the mismatch between mechanical and electrical power
(Figure 4-34).
Figure 4-34. Measured synchronous machine output power for the different power limiter
control schemes
It can be concluded from Figure 4-35 that both, the high pass filter and the adaptive
filter had good response filtering “small” power fluctuation. However, when the Power
Stabilizer capacity to absorb or supply energy was needed the most, no capacity was
available. Only the power limiter 2 and the adaptive HP filter, with 66% of extra energy,
Figure 4-36 shows the frequency regulator response for the different power
limiters. This graph was a consequence of Figure 4-35 one, and gives a better picture of
Figure 4-35. Measured synchronous machine output power for the different power limiter
control schemes. Zoom in of the largest power swing
A B
C D
Figure 4-36. Frequency regulator output for the different power limiters. A) HP filter. B)
Adaptive HP filter. C) Adaptive HP filter with 66% extra energy. D) Power
Limier 2
In conclusion, we cannot say that there is a better or worse power control scheme,
since each one of the different power limiters can serve different purposes.
CHAPTER 5
SUMMARY
Conclusions
The purpose of our study was to develop an electronic power converter capable of
was designed using similar techniques utilized in the design of medium voltage power
quality products.
The system design involved the mathematical description of the different equations
implicated in the design of the diverse regulators. Special attention was paid to the
current controllers, for being the foundation upon which the rest of the system relies on,
Two different power limiter control schemes have been proposed and described in
system. Tests have been conducted under realistic modeled system conditions, in terms of
wind penetration factor, and cost-effective amount of energy storage. The main
148
149
• High pass filters are not appropriate for power filter functions, due to their lack of
continuousness when running out energy.
• Adaptive high pass filters have shown to be a much better alternative to high pass
filters. However, behaviors similar to the simple high pass filter might occur if
incorrect adaptive laws are considered.
• Power limiters that target specific power fluctuation indexes have a lower duty-
cycle than the high pass filter approach and only compensate for larger power
fluctuations.
• Average power fluctuation indexes are highly non-linear, and might create
unwanted misbehaviors that are difficult to predict.
• Both types of power limiters have shown to be beneficial for the reduction in the
control actions of the synchronous machine’s governor. Thus, reducing the stress of
the generator during power fluctuations.
dissertation, the adaptive high pass filter has been shown as the most robust and reliable
when designed correctly. It forces the power converter and the energy storage system to
work continuously, getting the maximum effectiveness out the system. It even helps the
system ride through large power variations in a moderate way. A drawback for this
approach is the wear of the energy-storage system, due to high duty cycles.
The power limiter based on power fluctuation indexes serves as a very specific
solution to a specific problem or need. Its low duty-cycle profile in terms of real power
allows for better voltage regulation or voltage flicker reduction (using reactive power), in
Further Work
There is still a lot of work to be done in the area of smoothing real power
fluctuations using various types of energy storage systems. The following is a summary
Our research work has focused entirely on power fluctuations generated by wind
farms. However, the same concept can be applied to other producers of real-power
decouple variables or to help solve of difficult differential equations. The most common
components are the positive sequence component, the negative sequence component, and
⎡ ⎤
⎢ ⎥
r ⎢1 1 1 ⎥
⎡X0⎤ ⎡1 1 1 ⎤ ⎡Xa ⎤ ⎢ 2⎥ ⎡X ⎤
⎢r ⎥ 1 ⎢ 1
2 ⋅π
⎛ j ⋅ 23⋅π ⎞ ⎥ ⎢ a ⎥ (A-1)
a 2 ⎥⎥ ⋅ ⎢⎢ X b ⎥⎥ = ⋅ ⎢1
j⋅
= ⋅
⎢ r 1 ⎥ 3 ⎢1 a
X e 3 ⎜e ⎟ ⋅ Xb
3 ⎢ ⎜ ⎟ ⎥ ⎢ ⎥
⎢X2⎥ ⎢⎣1 a 2 a ⎥⎦ ⎢⎣ X c ⎥⎦ ⎢ ⎝ ⎠ ⎥ ⎢X ⎥
⎣ ⎦ 2 ⎣ c⎦
⎢ ⎛ j ⋅ 23⋅π ⎞ j⋅
2 ⋅π
⎥
⎢1 ⎜e ⎟ e 3
⎥
⎜ ⎟
⎣⎢ ⎝ ⎠ ⎦⎥
r ⎛ 1 3⎞ ⎛ 1 3⎞
X 1 = X a + ⎜⎜ − + j ⋅ ⎟ ⋅ Xb + ⎜− − j ⋅
⎟ ⎜
⎟⋅ Xc
⎝ 2 2 ⎠ ⎝ 2 2 ⎟⎠
r 1 3
X 1 = X a − ⋅ (X b + X c ) + j ⋅ (X b − X c ) (A-2)
2 2
r ⎛ 1 3⎞ ⎛ 1 3⎞
X 2 = X a + ⎜⎜ − − j ⋅ ⎟⋅ Xb + ⎜− + j ⋅
⎟ ⎜
⎟⋅ Xc
⎝ 2 2 ⎠ ⎝ 2 2 ⎟⎠
r 1 3
X 2 = X a − ⋅ (X b + X c ) − j ⋅ (X b − X c )
2 2
151
152
r r
It is evident from Equation A-2 that space vectors X 1 and X 2 are complex
X a = X m ⋅ cos(wt )
⎛ 2π ⎞ (A-3)
X b = X m ⋅ cos⎜ wt − ⎟
⎝ 3 ⎠
⎛ 4π ⎞
X c = X m ⋅ cos⎜ wt − ⎟
⎝ 3 ⎠
r r
Thus, the space vectors X 1 and X 2 can be expressed as
r 1 3
X1 = X a − ⋅ ( X b + X c ) + j ⋅ (X b − X c )
2 2
3 1 3
= ⋅ X a − (X a + X b + X c ) + j ⋅ ⋅ (X b − X c )
2 2 2
3 3 ⎛ ⎛ 2π ⎞ ⎛ 4π ⎞ ⎞
= ⋅ X m ⋅ cos(wt ) + j ⋅ ⋅ X m ⋅ ⎜⎜ cos⎜ wt − ⎟ − cos⎜ wt − ⎟⎟
2 2 ⎝ ⎝ 3 ⎠ ⎝ 3 ⎠ ⎟⎠
(A-4)
3 3 ⎛ ⎛ − 2π ⎞⎞
= ⋅ X m ⋅ cos(wt ) + j ⋅ ⋅ X m ⋅ ⎜⎜ − 2 ⋅ sin (wt ) ⋅ sin ⎜ ⎟ ⎟⎟
2 2 ⎝ ⎝ 3 ⎠⎠
3 3
= ⋅ X m ⋅ (cos(wt ) + j ⋅ sin (wt )) = ⋅ X m ⋅ e jwt
2 2
( )
r r * 3
(
X 2 = X 1 = ⋅ X m ⋅ e − jwt
2
)*
r
Defining X = X m ⋅ e jwt = X ds + j ⋅ X qs , the symmetrical transformation matrix
r r ⎡X a ⎤
⎡ X 1 ⎤ 3 ⎡ X ⎤ ⎡1 a a2 ⎤ ⎢ ⎥ (A-5)
⎢ r ⎥ = ⎢ r *⎥ = ⎢ ⎥ ⋅ Xb
( )
⎣ X 2 ⎦ 2 ⎣ X ⎦ ⎣1 a
2
a⎦ ⎢ ⎥
⎢⎣ X c ⎥⎦
Since (a 2 ) = a , row two can be eliminated without any loss of information (Equation A-
*
6).
⎡X a ⎤
[ ]
r 2
X = 1 a a ⋅ ⎢⎢ X b ⎥⎥
2 (A-6)
3
⎢⎣ X c ⎥⎦
153
Writing the real and imaginary components in two separate rows, and adding the
⎡ 1 1 ⎤
⎢1 − −
⎡ 2 ⎤
( ) 2 ⎥ ⎡X ⎤
⎢ 1 ℜ(a ) ℜ a ⎥ ⎡ X a ⎤
⎡ X ds ⎤ ⎡ X ds ⎤ 2
⎢ ⎥ a
( )
⎢ X ⎥ = 2 ⎢ 0 ℑ(a ) ℑ a 2 ⎥ ⋅ ⎢ X ⎥ ⎢X ⎥ = 2 ⎢0 3
−
3⎥ ⎢ ⎥
⋅ Xb (A-7)
⎢ qs ⎥ 3 ⎢
1 ⎥ ⎢X ⎥
⎢ b⎥ ⎢ ⎥ 3⎢ 2 ⎥ ⎢ ⎥
qs
1 1 2
⎢⎣ X o ⎥⎦ ⎢ ⎥ ⎣ c⎦ ⎣⎢ X o ⎦⎥ ⎢1 1 1 ⎥ ⎣⎢ X c ⎦⎥
⎣2 2 2 ⎦ ⎢2
⎣ 2 2 ⎥⎦
system to an equivalent two-phase system. Figure A-1 shows the relationships of the
different axes. Figure A-2 shows the same relationship, but in the time domain.
c axis
a axis
ds axis
w=0 w=0
ω=2 π f X
b axis
qs axis
reference).
r
We can deduce that an observer moving at the same speed as X will see this space
vector as a constant, unlike the time variant X ds and X qs components of the stationary
ds-qs axes. Figure A- 3 shows the geometrical relationship of the rotating dr-qr axes with
ds axis
θ
w=0
w=2 π f dr axis
X
w=2 π f
qr axis qs axis
dθ
wt = (A-9)
dt
r
The angle δ is the angle between the dr axis and space vector X ; it is a constant
vale, and it will depend on the kinds of simplification or formulation best suited to a
155
specific application. The full transformation from stationary reference frame to rotating
Xds
θ ds axis
Xds cos (θ)
δ
Xqs sin (θ)
dr axis
w=2 π f
Xqs
w=2 π f
X
qr axis
qs axis
Figure A-4. Direct and quadrature components
⎡ X dr ⎤ ⎡ cos(θ ) sin (θ ) 0⎤ ⎡ X ds ⎤
⎢ X ⎥ = ⎢ − sin (θ ) cos(θ ) 0⎥ ⋅ ⎢ X ⎥ (A-9)
⎢ qr ⎥ ⎢ ⎥ ⎢ qs ⎥
⎢⎣ X o ⎥⎦ ⎢⎣ 0 0 1⎥⎦ ⎢⎣ X o ⎥⎦
Figure A-5 shows the time domain representation of the three different reference frames,
⎡ X dr ⎤ ⎡ cos(θ ) sin (θ ) 0⎤ ⎡ X ds ⎤
⎢ X ⎥ = ⎢− sin (θ ) cos(θ ) 0⎥ ⋅ ⎢ X ⎥
⎢ qr ⎥ ⎢ ⎥ ⎢ qs ⎥
⎢⎣ X o ⎥⎦ ⎢⎣ 0 0 1⎥⎦ ⎢⎣ X o ⎥⎦
⎡ 1 1 ⎤ (A-10)
⎢1 − 2 −
2 ⎥ ⎡X ⎤
⎡ cos(θ ) sin (θ ) 0⎤ ⎢ ⎥ a
2 3 3⎥ ⎢ ⎥
= ⎢⎢− sin (θ ) cos(θ ) 0⎥⎥ ⋅ ⎢ 0 − ⋅ ⎢Xb ⎥
3 ⎢ 2 2 ⎥
⎢⎣ 0 0 1⎥⎦ ⎢ 1 1 1 ⎥ ⎢⎣ X c ⎥⎦
⎢2 2
⎣ 2 ⎥⎦
In short notation
[X ] = [T ]⋅ [X ]
dqo dqo abc
(A-12)
⎡ X a ⎤ ⎡ cos(θ ) − sin (θ ) 1⎤ ⎡ X dr ⎤
⎢ X ⎥ = ⎢ cos(θ − 120°) − sin (θ − 120°) 1⎥ ⋅ ⎢ X ⎥ (A-12)
⎢ b⎥ ⎢ ⎥ ⎢ qr ⎥
⎢⎣ X c ⎥⎦ ⎢⎣cos(θ − 240°) − sin (θ − 240°) 1⎥⎦ ⎢⎣ X o ⎥⎦
157
[ ] [ ]
t
As it can be inferred from previous expression, Tdqo ≠ Tdqo
−1
, since the matrix
[T ] is not unitary. Table A-1 summarizes all the transformations that used in our study.
dqo
Power Limiter 1
The Matlab code for the control algorithm of the high pass filters is listed below
158
159
else
Energy(i)=Energy(i-1)-(Inverter(i-1)+Plosses)*Ts;
end
%%%%%%%%%%% HP filter %%%%%%%%%%%%%%%%%
Pcomp=(1/(1+Ts*wc))*(Pwind(i)-Pwind_old+Pcomp);
Pcomp_buffer(i)=Pcomp;
Pwind_old=Pwind(i);
IINVRF=-Pcomp;
IOUTF=IINVRF;
%%%%%%% Max Power Saturation%%%%%%%%%%%%%%%
if IINVRF > INVL
IOUTF=INVL;
FULL_POWER(i)=1;
elseif IINVRF < -INVL
IOUTF=-INVL;
FULL_POWER(i)=1;
else
IOUTF=IINVRF;
end
%%%%%%%% Stop inverter due to E>Elimit%%%%%%%%%%%
if Energy(i)-IOUTF*Ts<-Erangen
IOUTF=(Energy(i)-(sign(-IOUTF)*Erangen))/Ts;
OUT_OF_ENERGY(i+1)=1*sign(-IOUTF);
Pcomp=0;
end
if Energy(i)-IOUTF*Ts>Erangep
IOUTF=(Energy(i)-(sign(-IOUTF)*Erangep))/Ts;
OUT_OF_ENERGY(i+1)=1*sign(-IOUTF);
Pcomp=0;
end
if IOUTF > INVL
IOUTF=INVL;
FULL_POWER(i)=1;
elseif IOUTF < -INVL
IOUTF=-INVL;
FULL_POWER(i)=1;
end
%%%%%%%% Update Electrical system %%%%%%%
Inverter(i)= IOUTF+Kc*(Energy(i)-0);
Pinverter(i)=IOUTF;
Putility(i)=Pwind(i)+Inverter(i);
Vstorage(i)=Kc*(Energy(i)-0);
end
160
Power Limiter 2
The Matlab code for the control algorithm of the power limiter 2 is listed below
IINVRF=0;
INWS=0;
INW=0;
%%%%%%%%%%%%%%% System model %%%%%%%%%%%%
for i=1:nt
%%%%%%%%%%%%% Electrical system %%%%%%%%%%%
if i==1
Energy(i)=0;
else
Energy(i)=Energy(i-1)-Inverter(i-1)*Ts;
end
INWS=Kc*(Energy(i)-0)+Pwind(i);
INW=Pwind(i);
%%%%%%%%%%%%% Control loop %%%%%%%%%%%%%%
J=J-1; %%% 1 minute ago index
if J<1
J=N;
end
M=J+1; %%%% 2 seconds ago index
if M>N
M=1;
end
%%%%%%%%%%%%% Top Limiter %%%%%%%%%%%%%%%
IOWSF=INWS;
%%% Ramp Rate
if IOWSF-IOPF(J) > R
IOWSF= IOPF(J)+R;
RRcounter(i)=1;
elseif IOWSF-IOPF(J) < -R
IOWSF=IOPF(J)-R;
RRcounter(i)=1;
end
%%% Average
IAWSF=Average+(abs(IOPF(M)-IOWSF)-IAF(J))/N;
if IAWSF > A
if IOPF(M)> IOWSF
IOWSF=IOPF(M)-abs((A-Average)*N+IAF(J));
Acounter(i)=1;
end
if IOPF(M) < IOWSF
IOWSF=IOPF(M)+abs((A-Average)*N+IAF(J));
Acounter(i)=1;
end
end
%%% Instantaneous
if IOWSF-IOPF(M)> II
162
IOWSF=IOPF(M)+II;
Icounter(i)=1;
elseif IOWSF-IOPF(M)< - II
IOWSF=IOPF(M)-II;
Icounter(i)=1;
end
%%%%%%%%%%%%% Bottom Limiter %%%%%%%%%%%%
IOWF=INW;
%%% Ramp Rate
if IOWF-IOPF(J) > R
IOWF= IOPF(J)+R;
RRcounter(i)=1;
elseif IOWF-IOPF(J) < -R
IOWF=IOPF(J)-R;
RRcounter(i)=1;
end
%%% Average
IAWF=Average+(abs(IOPF(M)-IOWF)-IAF(J))/N;
if IAWF > A
if IOPF(M)> IOWF
IOWF=IOPF(M)-abs((A-Average)*N+IAF(J));
Acounter(i)=1;
end
if IOPF(M) < IOWF
IOWF=IOPF(M)+abs((A-Average)*N+IAF(J));
Acounter(i)=1;
end
end
%%% Instantaneous
if IOWF-IOPF(M)> II
IOWF=IOPF(M)+II;
Icounter(i)=1;
elseif IOWF-IOPF(M)< - II
IOWF=IOPF(M)-II;
Icounter(i)=1;
end
%%%%%%%%%%%%%% Inverter Power %%%%%%%%%%%%%
ICPAF=IOWSF-IOWF;
IESARF=-IOWF+INW;
IINVRF=ICPAF-IESARF;
%%%%%%%%%%%%%%% Max Power Saturation%%%%%%%%%
if IINVRF > INVL
IOUTF=INVL;
FULL_POWER(i)=1;
elseif IINVRF < -INVL
IOUTF=-INVL;
163
FULL_POWER(i)=1;
else
IOUTF=IINVRF;
end
%%%%%%%%%%%% Stop inverter due to E>Elimit%%%%%%%%
if abs(Energy(i)-IOUTF*Ts)>Erange/2
IOUTF=(Energy(i)-(sign(-IOUTF)*Erange/2))/Ts;
OUT_OF_ENERGY(i+1)=1*sign(-IOUTF);
if IOUTF > INVL
IOUTF=INVL;
FULL_POWER(i)=1;
elseif IOUTF < -INVL
IOUTF=-INVL;
FULL_POWER(i)=1;
end
end
%%%%%%%%%% Update buffer data %%%%%%%%%%%%%%
INDPF=IINVRF-IOUTF;
Average=Average+(abs(IOPF(M)-(IOWSF-INDPF))-IAF(J))/N;
IAF(J)=abs(IOPF(M)-(IOWSF-INDPF));
IOPF(J)=IOWSF-INDPF;
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%% Electrical system %%%%%%%%%%%
Inverter(i)= IOUTF;
Putility(i)=Pwind(i)+Inverter(i);
end
Power Limiter 3
The Matlab code for the control algorithm of the power limiter 3 is listed below
P0=Pwind(1,1);
J=N+1;
M=0;
%%%%%%%%%%% Physical system description %%%%%%
Putility=zeros(1,nt);
Energy=zeros(1,nt);
Centering=zeros(1,nt);
Inverter=zeros(1,nt);
Pold=P0*ones(1,N);
Avg=zeros(1,N);
Abuffer=zeros(1,N);
Average=0;
ESArp=zeros(1,nt);
ESArn=zeros(1,nt);
ESAr=zeros(1,nt);
UR=zeros(1,nt);
LR=zeros(1,nt);
UA=zeros(1,nt);
LA=zeros(1,nt);
UI=zeros(1,nt);
LI=zeros(1,nt);
UT=zeros(1,nt);
LT=zeros(1,nt);
UW=zeros(1,nt);
LW=zeros(1,nt);
UC=zeros(1,nt);
LC=zeros(1,nt);
I_counter=zeros(1,nt);
RR_counter=zeros(1,nt);
A_counter=zeros(1,nt);
OUT_OF_ENERGY=zeros(1,nt);
FULL_POWER=zeros(1,nt);
for i=1:nt
%%%%%%%%%%%%% Electrical system %%%%%
if i==1
Energy(i)=0;
else
Energy(i)=Energy(i-1)-Inverter(i-1)*Ts;
end
%%%%%%%%%%%%% Control loop %%%%%%%%%%
J=J-1; %%% 1 minute ago index
if J<1
J=N;
end
M=J+1; %%%% 2 seconds ago index
if M>N
165
M=1;
end
%%%%% Ramp Rate1%%%%%%
UR(i)=Pold(J)+R;
LR(i)=Pold(J)-R;
%%%%% Subminute1%%%%%%
UA(i)=Pold(M)+(abs(A-Average)*N+Avg(J));
LA(i)=Pold(M)-(abs(A-Average)*N+Avg(J));
%%%%% Instantaneous 1%%%%%%
UI(i)=Pold(M)+II;
LI(i)=Pold(M)-II;
%%%%%%%%% Internal variables
UT(i)=min([UR(i) UA(i) UI(i)]);
LT(i)=max([LR(i) LA(i) LI(i)]);
UW(i)=Pwind(i)-UT(i);
LW(i)=Pwind(i)-LT(i);
if -UW(i)>0
UC(i)=-UW(i);
else
UC(i)=0.0;
end
if -LW(i)<0
LC(i)=-LW(i);
else
LC(i)=0.0;
end
if UW(i)>0
ESArp(i)=UW(i);
if UT(i)==UR(i)
RR_counter(i)=-1;
I_counter(i)=0;
A_counter(i)=0;
elseif UT(i)==UI(i)
I_counter(i)=-1;
A_counter(i)=0;
RR_counter(i)=0;
else
A_counter(i)=-1;
I_counter(i)=0;
RR_counter(i)=0;
end
else
ESArp(i)=0.0;
end
if LW(i)<0
ESArn(i)=LW(i);
166
if LT(i)==LR(i)
RR_counter(i)=1;
I_counter(i)=0;
A_counter(i)=0;
elseif LT(i)==LI(i)
I_counter(i)=1;
A_counter(i)=0;
RR_counter(i)=0;
else
A_counter(i)=1;
I_counter(i)=0;
RR_counter(i)=0;
end
else
ESArn(i)=0.0;
end
ESAr(i)=ESArp(i)+ESArn(i);
Centering(i)=Kc*Energy(i);
if Centering(i)>UC(i)
Centering(i)=UC(i);
end
if Centering(i)<LC(i)
Centering(i)=LC(i);
end
Inverter(i)=Centering(i)-ESAr(i);
%%%%%%%%%%%%%%% Max Power Saturation%%%
if Inverter(i) > INVL
Inverter(i)=INVL;
FULL_POWER(i)=1;
elseif Inverter(i) < -INVL
Inverter(i)=-INVL;
FULL_POWER(i)=1;
end
%%%%%%%%%%%% Stop inverter due to E>Elimit%%%%
if abs(Energy(i)-Inverter(i)*Ts)>Erange/2
Inverter(i)=(Energy(i)-(sign(-Inverter(i))*Erange/2))/Ts;
OUT_OF_ENERGY(i+1)=1*sign(-Inverter(i));
if Inverter(i) > INVL
Inverter(i)=INVL;
FULL_POWER(i)=1;
elseif Inverter(i) < -INVL
Inverter(i)=-INVL;
FULL_POWER(i)=1;
end
end
Putility(i)=Pwind(i)+Inverter(i);
167
The following table is a summary of the main functions used in the programming
168
169
}
LIST OF REFERENCES
[2] AWEA's Communications Department. (2004, June). Wind Energy Outlook 2004.
American Wind Energy Association, Washington, DC. [Online]. Available:
http://www.awea.org/pubs/documents/Outlook2004.pdf. Site last visited April
2005.
[3] AWEA's Communications Department. (2004, June). Global wind power growth
continues to strengthen.[Online]. American Wind Energy Association, Washington,
DC. Available:http://www.awea.org/pubs/documents/globalmarket2004.pdf. Site
last visited April 2005.
[4] Database of State Incentive for Renewable Energy. (2005, April). Financial
Incentives. Interstate Renewable Energy Council, Raleigh, NC. [Online].
Available: http://www.dsireusa.org. Site last visited April 2005.
[5] “IEEE Standard for Interconnecting Distributed Resources with Electric Power
Systems”, IEEE Std. 1547, 2003.
[6] “Wind turbine generator systems. Part 21: Measurement and assessment of power
quality characteristics of grid connected wind turbines”. International
Electrotechnical Commission Standard 61400-21. 1999.
[7] Z. Lubosny, Wind turbine Operation in Electric Power Systems. New York:
Springer, 2003.
[8] B. Davidson and A. Price, ”Solutions to Future Market needs. The role of energy
storage,” in Proc. CIGRE, 2002, Paper 37-201.
[9] New Energy and Industrial Technology Development Organization. (2003, April).
Wind Power Stabilization Technology Development Project. NEDO, Japan.
[Online]._Available:http://www.nedo.go.jp/english/activities/2_sinenergy/3/P0303
9e.html. Site last visited April 2005.
172
173
[10] VRB Power Systems Inc. (2004, March). The VRB Energy Storage System: The
Multiple Benefits of Integrating the VRB-ESS with Wind Energy Producers- a
Case Study in MWH Applications. VRB Power Systems Inc., Vancouver, Canada.
[Online]. Available: http://www.vrbpower.com/vrb_power.html. Site last visited
April 2005.
[17] H. Bindner and L.H. Hansen, “Combining wind and Energy storage to improve
grid integration,” in presented at the IEEE Nordic Workshop on Power and
Industrial Electronics, Aalborg, Danmark, 2000.
[18] R. Cardenas, R. Pena, G. Asher, and J. Clare, “Power smoothing in wind generation
systems using a sensorless vector controlled induction Machine driving a
flywheel,” IEEE Transactions on Energy Conversion, vol. 19 , pp. 206–216, March
2004.
[19] R. Cardenas, R. Pena, and J. Glare, “Control strategy for power smoothing using
vector controlled induction machine and flywheel,” Electronics Letters, vol. 36,
pp.765–766. 13 April 2000.
174
[20] R. Cardenas, G. Asher, R. Pena, and J. Clare, “Power smoothing control using
sensorless flywheel drive in wind-diesel generation systems,” in Proc. Industrial
Electronics Society, 2002, 3303–3308.
[22] R. Cardenas, R. Pena, J. Clare, and G. Asher, “Power smoothing in a variable speed
wind-diesel system,” in Proc. Power Electronics Specialist, 2003, pp. 754–759.
[24] S. Wijnbergen, S. W. H. de Haan, and J. Slootweg, “Plug 'n' play interface for
renewable generators participating in grid voltage and frequency control,” in Proc.
IEEE AFRICON, 2002, pp. 579–584.
[29] “IEEE recommended practices and requirements for harmonic control in electrical
power systems,” IEEE Std. 519-1992, 12 April 1993.
[31] M. Prodanovic and T. C. Green, “Control and filter design of three-phase inverters
for high power quality grid connection,” IEEE Transactions on Power Electronics,
vol. 18, pp. 373–80, Jan. 2003.
175
[33] R. Teodorescu, and F. Blaabjerg, “Flexible control of small wind turbines with grid
failure detection operating in stand-alone and grid-connected mode,” IEEE
Transactions on Power Electronics, vol. 19, pp. 1323–1332, Sept. 2004.
[35] T.C.Y. Wang, Z. Ye, G. Sinha; and X. Yuan, ”Output filter design for a grid-
interconnected three-phase inverter,” in Proc. Power Electronics Specialist PESC,
2003, pp. 779–784.
[37] O. I. Elgerd, Electric energy systems theory. New York: McGraw-Hill, 1971.
[39] A. E. Feijoo and J. Cidras, ” Modeling of wind farms in the load flow analysis,”
IEEE Transactions on Power Systems, vol. 15, pp. 110–115 Feb. 2000.
[40] Y. H. Wan,” Wind Power Plant Behaviors: Analyses of Long-Term Wind Power
Data,” NREL, Golden, CO., Report No. CP-500-36551, September 2004.
[41] Y. H. Wan and D. Bucaneg, “Short-Term Power Fluctuations of Large Wind Power
Plants,” NREL, Golden, CO., Report No. 33842. November 2002.
[42] Texas Intruments “C28x™ IQMath Library - A Virtual Floating Point Engine,”
Texas Intruments, Dallas, TX, Tech. Rep. SPRC087. March 2003.
from UPV in 2000. He has been a research assistant at the Department of Electrical
Engineering (UPV) and is currently a research assistant and a Ph.D. candidate at the
field of interest is reliability and power quality of distribution networks using power
electronic devices.
176