Active Filter
Active Filter
Yasin Ahmad
Department of Electrical and Computer Engineering
Instituto Superior Técnico – Technical University of Lisbon, Portugal
Email: [Link]@[Link]
bridge STATCOM has been receiving increased attention in By utilising a CMC topology the voltage output, number of
recent years, as well as being implemented in various markets, levels and number of operation modes can be expressed by
[1]. This sort of configurations allows for the control of the (II.1), where 𝑁 stands for the number of modules in use.
reactive power in the system, attenuation of voltage flicker, From the analysis of Fig. 2 the STATCOM state space
regulation of voltage in distribution lines among others. equations (II.2) are obtained, where 𝑉𝑃𝐶𝐶𝑎.𝑏.𝑐 represents the grid
Another advantage in a cascaded H-bridge STATCOM results voltages at the PCC, 𝑉0𝑎,𝑏,𝑐 is the three-phase output voltage
from the use of CMC, which offers the system added from the CMC, and 𝑖𝑎,𝑏,𝑐 is the three-phase balanced current
modularity and an increased number of levels for the voltage
flowing from the STATCOM.
output, this will allow for a generated output voltage with less 𝑑𝑖𝑎
harmonics. Another advantage from using this configuration is 𝑉𝑃𝐶𝐶𝑎 = 𝐿 + 𝑅𝑖𝑎 + 𝑉𝑜,𝑎
𝑑𝑡
direct connection to the grid without the need of a bulky step-
𝑑𝑖𝑏
up transformer, thanks to each converter being connected to a 𝑉𝑃𝐶𝐶𝑏 = 𝐿 + 𝑅𝑖𝑏 + 𝑉𝑜,𝑏
galvanic isolated DC capacitor, [1], reducing the weight added 𝑑𝑡
𝑑𝑖𝑐
{ 𝑉𝑃𝐶𝐶𝑐 = 𝐿 𝑑𝑡 + 𝑅𝑖𝑐 + 𝑉𝑜,𝑐
to the system by the transformer and also removing its costs and (II.2)
reducing losses.
Using the Clarke and Park transformations the system is
Fig. 1 illustrates the system being implemented in this paper.
represented in a 𝑑𝑞 coordinate synchronous reference, equation
At the point of common coupling (PCC) where the connection
(II.3). In this equation, 𝜔𝐿𝑖𝑑 and 𝜔𝐿𝑖𝑞 represent the cross
between the system and the STATCOM takes place a reactor is
coupling terms.
required, which serves as a current smother to attenuate the high
𝑑𝑖𝑑
frequency current harmonics that the STATCOM generates, 𝑉𝑃𝐶𝐶𝑑 = 𝑅𝑖𝑑 + 𝐿 − 𝜔𝐿𝑖𝑞 + 𝑉𝑜,𝑑
[2]. { 𝑑𝑡
𝑑𝑖𝑞
𝑉𝑃𝐶𝐶𝑞 = 𝑅𝑖𝑞 + 𝐿 + 𝜔𝐿𝑖𝑑 + 𝑉𝑜,𝑞 (II.3)
𝑑𝑡
capacitors.
Compensator Converter When implementing a PS-PWM technique, it is necessary to
create a phase difference in the triangular carrier waves. This
means each phase will receive the modulation waveforms from
the controller, but in each module of the system, there will be a
phase difference in the triangular carrier waveforms in order to
Fig. 6 - Voltage Control Loop
correctly send the signals to the gates, which will allow for the
correct operation of the CMC and will produce the maximum
From Fig. 6, the voltage response of the system to the load number of levels in the output.
can be acquired, which is presented in (III.10). The developed system is operated at 𝑓𝑐 = 5 𝑘𝐻𝑧 and the
number of modules in each phase is 𝑁 = 7. Therefore, the
phase shift of the triangular carrier waveforms will be given by
(IV.1), that is: they will be shifted 𝜑𝑝𝑠 , where 𝑛 represents the
v Ki K index of the module.
( sTz 1) 𝑇𝑐
VDC CTd 𝜑𝑝𝑠 = 𝑛
𝑁
(IV.1)
VDC ,ref s2
s K K K K
s3 v p v i B. Capacitors Voltage Balancing
Td CTd CTd (III.10)
The implementation of a PS-PWM technique, provides the
The next step consists in taking into account the final value system with a reasonable control over the voltage profile of the
theorem (III.11). DC capacitors, but due to the existence of losses from the
VDC systems components which aren’t equal for all the converters
𝑙𝑖𝑚𝑠→0 =1 allied with the fact that the control method implemented with
VDC ,ref (III.11)
PS-PWM is made taking into account the average value of the
In order to calculate the PI controller parameters, the various capacitors and that these capacitors aren’t all used in the
denominator of equation (III.11), in canonical form, must be same fashion [7], there will be a divergent behaviour of the
compared to the third order polynomial present in equation various voltages when the need to transfer power occurs. It
(III.12), [6]. becomes necessary to implement a second system, with a
𝑃3 (𝑠) = 𝑠 3 + 1.75𝑤0 𝑠 2 + 2.15𝑤0 2 𝑠 + 𝑤0 3 (III.12)
slower reaction time to the first, otherwise some conflicts may
Following these steps allow for the conclusions presented in occur. If the voltages are not balanced it may affect the voltage
(III.13) to be taken. output of the convert which can lead to the system not working
1 as it was designed to.
1.75𝜔0 =
𝑇𝑑 2.15𝐶 The voltage balancing technique is developed taking
𝐾𝑝 =
𝛼𝑣 𝐾𝑝 𝐾 1.752 𝛼𝑣 𝑇𝑑 𝐾 advantage of the systems redundant levels. These redundant
2.15𝜔0 2 = ⇔ levels can be used by taking a configuration that produces the
𝑇𝑑 𝐶 𝐶
𝐾𝑖 = same voltage output, but allows for the charging or discharging
𝛼 𝐾
𝑣 𝑖 𝐾 { 3
1.75 𝛼𝑣 𝑇𝑑 𝐾
𝜔0 3 = of a capacitor whose voltage needs to be compensated.
{ 𝑇𝑑 𝐶
The current CMC is being developed to have 7 modules,
𝐾𝑝 = 106.7498
⇔{ which means it has 2𝑁 + 1 = 15 levels and 2𝑁+1 − 1 = 255
𝐾𝑖 = 2837.2 (III.13)
combinations to produce said levels.
IV. PS-PWM AND DC VOLTAGE BALANCING TECHNIQUE
A. PS-PWM i
This solution was chosen due to it having dynamic
performance, being more robust in line disturbances and faults,
and more flexible in applications, compared to the staircase
solutions [7], as well as minimizing the outputs total harmonic
distortion, the application of this strategy to a CMC enhances
output voltages, reduces voltage stress on semiconductors
switches and lowers acoustic noise and electromagnetic Fig. 7 - Single Converter
interference (EMI), [8], [9], [10]. The solution is also an
important part in the correct operation of the STACOM system, From Fig. 7 it can be seen that when the converter is
as it will allow for some degree of control in the individual DC producing a voltage of +𝑉𝐷𝐶 , that is 𝑆11 and 𝑆22 are ON while
capacitors voltages, because it will operate by distributing an 𝑆12 and 𝑆21 are OFF, and the current is positive then the
equal workload among the modules, guaranteeing the capacitor will start discharging, on the other hand, if the current
minimization of the error in the total average voltage of the DC is negative than the capacitor will be charged. If the converter
6
is producing a voltage of −𝑉𝐷𝐶 , that is 𝑆12 and 𝑆21 are ON while 6. It is determined which is the combination from the
𝑆11 and 𝑆22 are OFF, than with a positive current the capacitor possible redundancies that has the highest weight
will be charged, and with a negative current the voltage will be value.
discharged. In the case that the output voltage from the 7. With the information obtained in the last step, it is
converter is 0 then independently of the current there will be no necessary to send the driving signals to the switches in
change to the capacitors voltage. With this information it is order to apply the desired AC voltage level with the
possible to build Table 1. desired combination of modules.
Table 1 - Capacitor Behaviour
V. SIMULATION RESULTS
𝒊𝒂 𝑺𝟏𝟏 𝑺𝟏𝟐 𝑺𝟐𝟏 𝑺𝟐𝟐 𝑽𝑷𝑾𝑴 𝑽𝑫𝑪
This section will test the designed systems capabilities to
>0 1 0 0 1 +𝑉𝐷𝐶 ↓
perform the various tasks needed.
<0 1 0 0 1 +𝑉𝐷𝐶 ↑
>0 1 0 1 0 0 → A. Capacitive Compensation
<0 1 0 1 0 0 → For this simulation the system starts in rated conditions and
>0 0 1 0 1 0 → at 𝑡 = 80 𝑚𝑠 a step is applied to 𝐼𝑞,𝑟𝑒𝑓 , as illustrated in Fig. 8.
<0 0 1 0 1 0 → This will lead to a change in the modulation index, as the system
>0 0 1 1 0 −𝑉𝐷𝐶 ↑ reacts to the current controller, thus changing the driving
<0 0 1 1 0 −𝑉𝐷𝐶 ↓ signals sent to the semiconductors of the numerous modules in
The Algorithm used for the capacitors balancing works as the STATCOM.
follows:
1. The DC capacitor reference, 𝑉𝐷𝐶,𝑟𝑒𝑓 , the voltage level
of individual capacitors, the intended voltage output,
and the sign of the AC currents are acquired and
analysed.
2. The voltages deviation from their reference ∆𝑉𝐷𝐶,𝑖 =
𝑉𝐷𝐶,𝑟𝑒𝑓 − 𝑉𝐷𝐶,𝑖 , where 𝑖 represents the index of the
module, are calculated.
3. With the information provided by the PWM, the
voltage level that is to be implemented is determined.
From this information the number of redundant levels
is known.
4. Arranging ∆𝑉𝐷𝐶,𝑖 :
When the applied voltage level output is positive and Fig. 8 - 𝑰𝒒 and 𝑰𝒒,𝒓𝒆𝒇
the AC current sign is higher than zero, than ∆𝑉𝐷𝐶,𝑖
should be sorted from smallest to biggest, as the The effects of this step in the 𝐼𝑞,𝑟𝑒𝑓 , current are illustrated in
capacitors will discharge. On the other hand if the Fig. 9, where the voltage and current that flow from the
current sign is negative then ∆𝑉𝐷𝐶,𝑖 should be sorted STATCOM at the PCC are represented. When the step is
from biggest to smallest, as in this case the applied to 𝐼𝑞,𝑟𝑒𝑓 there is a transition period, as the system
capacitors will charge. responds to the controllers, after which the current will lead the
When the applied voltage level output is negative, voltage by approximately 90°, which is an indicative that the
and the AC current sign is higher than zero, than STATCOM is operating in capacitive mode, and therefore the
∆𝑉𝐷𝐶,𝑖 should be sorted from biggest to smallest, as STATCOM will provide the system with reactive power.
the capacitors will charge. On the other hand if the
current has a negative signal then ∆𝑉𝐷𝐶,𝑖 should be
sorted from smallest to biggest, and in this case the
capacitors will discharge.
If the current is zero than the algorithm should be
exited and the original signals will be sent with no
changes.
5. With ∆𝑉𝐷𝐶,𝑖 ordered, each element will be attributed a
weight value. The first element of the array will be
given the highest weight value, and from there each
element will be given subsequently lower weight
values until the last element receives the smallest
weight value.
7
Fig. 9 - Voltage and current of phase A at the PCC Fig. 11 - Iq and Iq,ref
When working in capacitive mode the STATCOM will From Fig. 12, it is possible to analyse the behaviour of the
increase the voltage at the PCC. This is directly caused by the voltage and current, that is to say, it is possible to see how the
increase in the voltage output of the CMC, as seen in Fig. 10, current will respond to the STATCOM operated in inductive
which means that in order to have the STATCOM working in mode. The analysis is done at the PCC, from which it is possible
capacitive mode the voltage level of the CMC needs to be to see that after 𝑡 = 80𝑚𝑠 the voltage will lead the current by
increased, and therefore the voltage of the DC side is higher approximately 90°, as would be expected.
than the AC side. As a result, a leading current is then produced
and the STATCOM enters capacitive mode as previously
shown.
Fig. 10 – Voltage output of the CMC in phase A When operating in inductive mode the STATCOM will
lower the voltage at the PCC. This is directly caused by a
B. Inductive Compensation decrease in the voltage output of the CMC, as seen in Fig. 13.
This section will continue evaluate several scenarios o
operation, but this time it will focus on the inductive behaviour
of the STATCOM.
As the simulation starts, the system is working in rated
conditions. At 𝑡 = 80 𝑚𝑠 a negative step is applied to the
reference current 𝐼𝑞,𝑟𝑒𝑓 , as shown in Fig. 11. This will lead to a
response from the controllers, where the system adapts to the
new operation conditions, and the STATCOM switches to
inductive mode, which means that the STATCOM will now
consume reactive power from the grid.
E. Voltage sags
A voltage sag at the source is analysed. A voltage drop of
25% occurs at the source. In order to compensate this voltage
dip, the STATCOM needs to enter capacitive mode. From the
analysis of the voltage at the PCC a positive step is applied to
the reference current, 𝐼𝑞,𝑟𝑒𝑓 , which is illustrated by Fig. 18.
When the STATCOM functioning in capacitive mode it will
supply a current that will be ahead of the voltage, Fig. 19.
Fig. 15- 𝑰𝒒 and 𝑰𝒒,𝒓𝒆𝒇
desired value. In order to enter a capacitive mode the voltage important that the system is capable of adjusting the phase shift
level used in the DC side is elavated as seen in Fig. 21 parameters to suit the new conditions of the system. A simple
recalculation during the simulation takes place, using equation
(IV.1), with the new number of modules, for the updated phase
shift to be implemented.
From Fig. 22 the modulation wave can be seen to suffer an
increase with the loss of the modules which will result in a
higher voltage level applied by the CMC, as shown in Fig. 23,
this occurs due to the converter having a lower number of levels
to present whilst performing the same task. From Fig. 24 it can
be seen that the STATCOM continues to perform its task of
maintaining the voltage at the load, without any issues.
F. Modularity
To simulate the modularity of the STATCOM, and showcase
the systems stability, the following simulation was done. At 𝑡 =
50 𝑚𝑠 one module, per phase, is going to be disconnected from
the STATCOM, this means that the STATCOM will go from
functioning with seven modules and fifteen levels to
functioning with six modules and thirteen levels, per phase.
When the command is sent to disconnect the modules it is
10