Documente Academic
Documente Profesional
Documente Cultură
Abstract—To generate numerous gating signals at a fast schemes become more applicable as the MMC voltage level in-
rate, industry controllers of modular multilevel converter creases and, thus, are more commonly proposed in the literature
(MMC) usually implement the pulse generation function in [10]–[22]. Particularly, the phase-shifted multicarrier PWM is
field-programmable gate array (FPGA) boards. Many meth-
ods of submodule (SM) capacitor voltage balance control used in [11]–[17], and the level-shifted multicarrier PWM is
(VBC) require knowing the gating signals and are therefore used in [19]–[23]. A comparison and evaluation of the two
also implemented in the same FPGA. As the number of categories of PWM is given in [24] and [25]. A PWM scheme
SMs in an MMC increases, both the latency and required using the moving-average concept is introduced and used in
resources for the implementation could become too large [26]–[29].
to meet the control requirements or fit into the FPGA.
Mainly two capacitor VBC approaches, namely, the individ-
Conventional methods impose a limitation on the design
of large MMC. This paper presents a pulse generation and ual control loop approach and the pulse reassignment approach,
VBC method that is optimized for FPGA implementation. are proposed in the literature. In the first approach, capacitor
With least comparison operation, this method produces the voltage control loops are added for each SM, and therefore, all
same valve voltage as other modulation methods, and it references for pulse generation are different, [10]–[14], [30],
removes the need for a sorting operation in VBC, which is [31]. By using two loops, capacitor voltage balancing among
the main difficulty in FPGA implementation. The proposed
method is implemented in the FPGA-based RT-LAB real- valves and inside each valve can be achieved. Since the ref-
time simulator and tested in a hardware-in-the-loop setup. erence combines the components from different control loops,
The performance of this method is validated in various tuning the control parameters, which is system dependent,
tests. becomes important but difficult [11]. A large weight of the VBC
Index Terms—Field-programmable gate array (FPGA), signal in the reference could affect other control loops, whereas
modular multilevel converter (MMC), power system simu- a small weight could lead to a slow response.
lation, real-time systems. For the second approach, there is no capacitor voltage control
loop. The voltage reference is the same for all SMs in one
I. I NTRODUCTION
valve. The generated pulses are reassigned to SMs according
0278-0046 © 2014 IEEE. Personal use is permitted, but republication/redistribution requires IEEE permission.
See http://www.ieee.org/publications_standards/publications/rights/index.html for more information.
2860 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 62, NO. 5, MAY 2015
Fig. 2. Multiple carriers and reference for the phase-shifted PWM Fig. 4. Schematic diagram to achieve the pulse summation NΣ .
method.
of the function will take one FPGA clock. Hence, the series
implementation will take at least 0.5M (M − 1) FPGA clocks.
In a partial-parallel implementation of (M − 1) functions, each
function works for one pass, and the function for the first pass
is called for the most times, i.e., (M − 1) times. Thus, it takes
minimum (M − 1) FPGA clocks. Compared with the series
implementation, the partial-parallel implementation is faster.
Fig. 6. Carriers of level-shifted PWM for (a) the phase disposition
method, (b) the phase-opposition disposition method, and (c) the However, for a large M , it is still too slow as required by control
alternative-phase-opposition disposition method. and takes too much FPGA resources for the large number of
functions.
This method can be easily adapted to other modulation meth- Moreover, once the capacitor voltages are sorted, the pulses
ods. Three typical multicarrier level-shifted PWM methods have to be reassigned according to the sorting results. This has
are illustrated in Fig. 6. Using the same principle, the pulse to be done individually, which could also take considerable
FPGA resources.
summation can also be achieved by (4), where Scar has the
same frequency as the original level-shifted multicarrier. The Improvements on the bubble sort algorithm are proposed for
MMC applications, but the complexity order remains similar.
Scar waveforms for the phase-shifted and the three level-shifted
PWM methods are slightly different, but can be generated by There exist other sorting algorithms with better worst-case
the same code in the FPGA. complexity of O(M log M ).
When the number of SMs in a valve increases to a large Due to its nature, the FGPA resources and latency of sorting
number, e.g., 200, the harmonic becomes less of a concern. algorithm dramatically increase as M increases. The VBC
Some industry controllers use nearest level control (NLC) could become too slow to meet the upper level control require-
modulation to reduce the switching loss. This method can also ments, or the implementation is too large to be accommodated
in the FPGA. The design of the SM number in an MMC is
be adapted to the NLC modulation. By setting Scar in (4) to the
constant of 1, or 0.5, 0, the resulting NΣ gives the floor integer, limited by the VBC using the sorting method.
rounded integer, or ceiling integer of the reference, respectively.
Therefore, the proposed method can produce the same valve B. Flowchart of Proposed Max/Min Method
voltage as other modulation methods, e.g., phase-shifted PWM,
level-shifted PWM, or NLC, without recompilation of the Without sorting operation, the proposed VBC method only
FPGA program. The user can check the impact of different needs to find the SM of the maximum or minimum capacitor
methods and carrier frequencies on the system harmonics on- voltage. The actual number of ON-state SMs, i.e., NΣact , is
the-fly. calculated and compared with its reference, i.e., NΣref , in each
More important, this method requires the comparison op- FPGA cycle, the simulation time step in the FPGA. Depending
eration only once, regardless of the SM numbers. Compared on the result and the current direction (the charging direction
with the conventional multicarrier PWM methods, which need is defined as positive), this method changes, if necessary, only
M carriers for M times the comparison operation, it takes one SM’s state according to the following rules.
minimum fixed FPGA resources regardless of the MMC size. • If NΣact < NΣref and positive current, turn on the
OFF-state SM of the minimum capacitor voltage.
• If NΣact < NΣref and nonpositive current, turn on the
III. C APACITOR VOLTAGE B ALANCE OFF-state SM of the maximum capacitor voltage.
• If NΣact > NΣref and positive current, turn off the
A. Difficulties of Implementing Sorting Algorithm in FPGA
ON -state SM of the maximum capacitor voltage.
To balance the capacitor voltage, the conventional pulse • If NΣact > NΣref and nonpositive current, turn off the
reassignment approaches need to sort the capacitor voltage. ON -state SM of the minimum capacitor voltage.
In practice, the bubble sort algorithm is often used due to its • If NΣact = NΣref , no switching.
simplicity to program in FPGA. For real-time applications, The flowchart for the proposed method is given in Fig. 7.
the algorithm performance in the worst case is considered. There are seven steps in each FPGA cycle. Step 1 reads the
To sort M SMs, the bubble sort needs (M − 1) number of pulse summation generated in Fig. 4 as the reference number
passes. In the nth pass, (M − n) number of steps consecutively of ON-state SM. Step 2 initializes the SM states if it is the
compare, and swap if necessary, a pair of adjacent voltages. first cycle since the MMC pulse is enabled. As all capaci-
This algorithm requires a total of 0.5M (M − 1) steps and has tors are charged to a similar voltage in the diode mode, the
complexity of O(M 2 ), where the big O notation describes first NΣref number of SMs are set to ON-state and others to
limiting behaviors of a function, and in this case, the complexity OFF-state. In Step 3, the actual number of ON -state SMs is
is asymptotically equivalent to M 2 when M tends toward calculated and compared with the reference value. Steps 4–7
infinite. take action according to the rules explained above.
The bubble sort implementation in FPGA can be in series, In Step 5, Cmax and zero are the maximum and minimum
e.g., with one function of the compare-and-swap step being possible capacitor voltages. Since this method searches only the
called for 0.5M (M − 1) times, or in partial parallel, e.g., maximum or minimum capacitor voltage of SM with a specific
with multiple functions being called for fewer times. Each call state, this step is to exclude the SM of the opposite state from
2862 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 62, NO. 5, MAY 2015
TABLE I
FPGA R ESOURCES AND L ATENCY FOR D IFFERENT M ETHODS
TABLE II
S YSTEM PARAMETER ON THE E XTERNAL C ONTROLLER S IDE
Fig. 11. System waveforms as the carrier frequency is 50 Hz. (a) MMC
valve currents. (b) Capacitor voltages of three SMs and the upper and
lower boundaries of one valve.
Fig. 12. Width of capacitor voltage band when the carrier frequency is
50 Hz (red) and 300 Hz (blue).
TABLE III
W IDTH OF VOLTAGE BAND AT D IFFERENT C ARRIER F REQUENCIES
TABLE IV
AVERAGE W IDTH OF VOLTAGE BAND AT D IFFERENT
S IGNAL C OMMUNICATION R ATES
TABLE V
S INGLE FAULT R ECOVERY T IMES AT D IFFERENT P OWER C ONDITIONS
in Fig. 13(d), recovers fast after the fault. The recovery time,
i.e., the interval between the fault clearance and the instant
that the width of the voltage band reduces to less than 5%, is
49.8 ms, less than three cycles.
In each cycle, the valve current changes its direction twice.
At recovery, the fault SM is switched on at the beginning of
Fig. 14. Capacitor voltage of the fault SM at different power conditions. the charging half cycle to increase its capacitor voltage and
where the device recovers after the fault is cleared, is used is switched off at the beginning of the discharge half cycle to
to examine the effectiveness of the proposed VBC method in maintain it voltage. Depending on the fault point on the valve
an extreme condition where the capacitor voltage of some SM current waveform, the recovery time may vary for a half cycle,
deviates far away from others. i.e., 10 ms.
The capacitor voltage in the fault SM is completely dis- The capacitor voltage charging rate is determined by the
charged to 0 before the fault is cleared in 25 μs. In all the valve current magnitude, which is proportional to the appar-
following fault tests, the carrier frequency is 200 Hz; the update ent power in the steady state. The capacitor voltages of the
rates of the MMC measurements and commands are 100 and fault SM at different power conditions are given in Fig. 14,
20 μs, respectively. Since this study is focused on voltage and the recovery times are given in Table V. Generally
balancing within each valve, same faults are applied to all six speaking, the larger the apparent power is, the faster the fault
valves to eliminate the effects from other control loops. SM recovers.
Fig. 13 shows the system response to a temporary fault at
SM 1 when the active and reactive power is 0.5 pu and 0, re- D. Performances at Multiply SM Short-Circuit Fault
spectively. The complete discharge of one SM has a negligible Multifault scenarios are studied where simultaneous short-
impact on the ac voltages, ac currents, and valve currents. The circuit faults are applied to multiple SMs and cleared after
SM 1 capacitor voltage, coincident with the lower boundary as 25 μs. Fig. 15 shows the system response when the SM 1, 2,
2866 IEEE TRANSACTIONS ON INDUSTRIAL ELECTRONICS, VOL. 62, NO. 5, MAY 2015
R EFERENCES
[1] U. N. Gnanarathna, A. M. Gole, and R. P. Jayasinghe, “Efficient model-
ing of modular multilevel HVDC converters (MMC) on electromagnetic
transient simulation programs,” IEEE Trans. Power Del., vol. 26, no. 1,
pp. 316–324, Jan. 2011.
[2] M. Saeedifard and R. Iravani, “Dynamic performance of a modular mul-
tilevel back-to-back HVDC system,” IEEE Trans. Power Del., vol. 25,
no. 4, pp. 2903–2912, Oct. 2010.
[3] S. Allebrod, R. Hamerski, and R. Marquardt, “New transformerless, scal-
Fig. 16. Lower capacitor voltage boundary for cases of multiple SM able modular multilevel converters for HVDC-transmission,” in Proc.
faults. IEEE PESC, 2008, pp. 174–179.
[4] G. Bergna et al., “An energy-based controller for HVDC modular mul-
TABLE VI tilevel converter in decoupled double synchronous reference frame for
R ECOVERY T IMES AT M ULTIFAULT C ONDITIONS voltage oscillation reduction,” IEEE Trans. Ind. Electron., vol. 60, no. 6,
pp. 2360–2371, Jun. 2013.
[5] W. Li, L.-A. Gregoire, and J. Bélanger, “Modeling and control of a full-
bridge modular multilevel STATCOM,” in Proc. IEEE Power Energy Soc.
Gen. Meet., San Diego, CA, USA, Jul. 2012, vol. 7.
[6] A. Antonopoulos, L. Angquist, L. Harnefors, K. Ilves, and H.-P. Nee,
and 3 have the faults. In this and following tests, the active and “Global asymptotic stability of modular multilevel converters,” IEEE
reactive power values are 0.5 pu and 0, respectively. Trans. Ind. Electron., vol. 61, no. 2, pp. 603–612, Feb. 2014.
[7] A. Lesnicar and R. Marquardt, “An innovative modular multilevel con-
Note that the valve current has some disturbance. The three verter topology suitable for a wide power range,” in Proc. IEEE Power
fault SMs recovers at the same rate as their capacitor voltages are Tech Conf., Bologna, Italy, Jun. 2003, pp. 1–6.
coincident with the lower voltage boundary. Fig. 16 shows the [8] A. Lesnicar and R. Marquardt, “A new modular voltage source inverter
topology,” in Proc. EPE, Toulouse, France, Sep. 2003, pp. 2–4.
lower voltage boundary for cases with the number of the fault [9] B. P. McGrath, D. G. Holmes, and T. A. Lipo, “Optimised space vec-
SMs being 1, 2, 3, . . . , 8. The recovery time is given in Table VI. tor switching sequences for multilevel inverters,” IEEE Trans. Power
Although the proposed capacitor VBC method changes only Electron., vol. 18, no. 6, pp. 1293–1301, Nov. 2003.
[10] M. Hagiwara and H. Akagi, “Control and experiment of pulsewidth-
the state of one SM at each FPGA cycle, it can actually balance
modulated modular multilevel converters,” IEEE Trans. Power Electron.,
multiple SMs whose voltages deviate far from the average. vol. 24, no. 7, pp. 1737–1746, Jul. 2009.
From Table VI, when the number of those SMs increases, the [11] H. Akagi, S. Inoue, and T. Yoshii, “Control and performance of a trans-
performance of this method remains the same in terms of the formerless cascade PWM STATCOM with star configuration,” IEEE
Trans. Ind. Appl., vol. 43, no. 4, pp. 1041–1049, Jul./Aug. 2007.
recovery time. [12] M. Hagiwara and H. Akagi, “Control and analysis of the modular Multi-
level Cascade Converter Based on Double-Star Chopper-Cells (MMCC-
VI. C ONCLUSION DSCC),” IEEE Trans. Power. Electron., vol. 26, no. 6, pp. 1649–1658,
Jun. 2011.
This paper has presented an MMC pulse generation and [13] S. Xu, H. Rao, Q. Song, W. Liu, and X. Zhao, “Experimental research
capacitor VBC optimized for the FPGA implementation. It is of MMC based VSC-HVDC system for wind farm integration,” in Proc.
IEEE ISIE, 2013, pp. 1–5.
implemented in an FPGA-based real-time simulator and vali- [14] X. Zhao, G. Li, and C. Zhao, “Research on submodule capacitance voltage
dated in an HIL test bench. Its performances in steady states, balancing of MMC based on carrier phase shifted SPWM technique,” in
transients, and fault conditions are investigated and presented Proc. CICED, 2010, pp. 1–6.
[15] Q. Tu, Z. Xu, and L. Xu, “Reduced switching-frequency modulation and
in terms of the capacitor voltage band and recovery time. The circulating current suppression for modular multilevel converters,” IEEE
effects of different system parameters, such as carrier frequency Trans Power Del., vol. 26, no. 3, pp. 2009–2017, Jul. 2011.
or signal communication update rates, on the performance are [16] E. Solas et al., “Modular multilevel converter with different submodule
concepts—Part I: Capacitor voltage balancing method,” IEEE Trans. Ind.
also studied. Electron., vol. 60, no. 10, pp. 4525–4535, Oct. 2013.
The advantages of the proposed method are summarized [17] F. Deng and Z. Chen, “A control method for voltage balancing in mod-
below. ular multilevel converters,” IEEE Trans. Power Electron., vol. 29, no. 1,
pp. 66–76, Jan. 2014.
• It significantly reduces the computational complexity and [18] M. Glinka and R. Marquardt, “A new AC/AC multilevel converter family,”
makes it possible to work for MMC with an extremely IEEE Trans. Ind. Electron., vol. 52, no. 3, pp. 662–669, Jun. 2005.
[19] G. P. Adam et al., “Modular multilevel inverter: Pulse width modulation
large number of SMs. Compared with conventional meth-
and capacitor balancing technique,” IET Power Electron., vol. 3, no. 5,
ods, its implementation in FPGA has very short latency pp. 702–715, Sep. 2010.
and takes much fewer resources. [20] P. M. Meshram and V. B. Borghate, “A novel voltage balancing method of
• It makes fast updates, in a few μs or even sub-μs, of gating Modular Multilevel Converter (MMC),” in Proc. ICEAS, 2011, pp. 1–5.
[21] K. Wang, Y. Li, and Z. Zheng, “Voltage balancing control and experiments
signal possible. of a novel modular multilevel converter,” in Proc. IEEE ECCE, 2010,
• The implementation is easy to expand as the SM number pp. 3691–3696.
increases. Moreover, the required FPGA resources and [22] K. Wang, Y. Li, Z. Zheng, and L. Xu, “Voltage balancing and fluctuation-
suppression methods of floating capacitors in a new modular multilevel
latency can be adjusted to achieve a suitable design. converter,” IEEE Trans. Ind. Electron., vol. 60, no. 5, pp. 1943–1954,
• It achieves good performance at a low switching fre- May 2013.
quency, which means less switching losses. [23] J. Mei, K. Shen, B. Xiao, L. M. Tolbert, and J. Zheng, “A new selective
loop bias mapping phase disposition PWM with dynamic voltage balance
• It is applicable to different modulation methods, such as capability for modular multilevel converter,” IEEE Trans. Ind. Electron.,
multicarrier phase-shifted or level-shifted PWM or NLC vol. 61, no. 2, pp. 798–807, Feb. 2014.
methods. [24] G. S. Konstantinou and V. G. Agelidis, “Performance evaluation of half-
bridge cascaded multilevel converters operated with multicarrier sinu-
• It is easy to connect to I/O drivers at different sampling soidal PWM techniques,” in Proc. IEEE Conf. Ind. Electron. Appl., Xi’an,
times. China, 2009, pp. 3399–3404.
LI et al.: MMC PULSE GENERATION AND CAPACITOR VOLTAGE BALANCE METHOD 2867
[25] G. S. Konstantinou, M. Ciobotaru, and V. G. Agelidis, “Analysis of multi- Luc-André Grégoire (S’08) received the B.Ing.
carrier PWM methods for back-to-back HVDC systems based on modular and M.Ing. degrees in 2008 and 2010, respec-
multilevel converters,” in Proc. 37th IEEE IECON, 2011, pp. 4391–4396. tively, from the École de Technologie Supérieure
[26] S. Rohner, S. Bernet, M. Hiller, and R. Sommer, “Modulation, losses, (ETS), Montreal, QC, Canada, where he has
semiconductor requirements of modular multilevel converters,” IEEE been working toward the Ph.D. degree with
Trans. Ind. Electron., vol. 57, no. 8, pp. 2633–2642, Aug. 2010. the Groupe de Recherche en Électronique de
[27] Z. Li, P. Wang, H. Zhu, Z. Chu, and Y. Li, “An improved pulse width mod- Puissance et Commande Industrielle (GREPCI-
ulation method for chopper-cell-based modular multilevel converters,” ETS) under the supervision of Prof. Kamla
IEEE Trans. Power Electron., vol. 27, no. 8, pp. 3472–3481, Aug. 2012. Al-Haddad and Prof. Handy Fortin Blanchette
[28] L. Wang, P. Wang, Z. Li, and Y. Li, “A novel capacitor voltage balancing since September 2012.
control strategy for Modular Multilevel Converters (MMC),” in Proc. He was with OPAL-RT Technologies as a
ICEMS, 2013, pp. 1804–1807. Real-Time Simulation Specialist. His main fields of interest are power
[29] S. Rohner, S. Bernet, M. Hiller, and R. Sommer, “Modelling, simulation converters, real-time simulations, and modular multilevel converters.
and analysis of a modular multilevel converter for medium voltage appli-
cations,” in Proc. IEEE ICIT, 2010, pp. 775–782.
[30] L. Zhang and G. Wang, “Voltage balancing control of a novel mod-
ular multilevel converter,” in Proc. Elect. Utility DRPT, Jul. 2011,
pp. 109–114.
[31] X. Li, Q. Song, J. Li, and W. Liu, “Capacitor voltage balancing control
based on CPS-PWM of modular multilevel converter,” in Proc. IEEE
ECCE, Sep. 2011, pp. 4029–4034.
[32] R. Lizana, C. Castillo, M. A. Perez, and J. Rodriguez, “Capacitor voltage
balance of MMC converters in bidirectional power flow operation,” in Jean Bélanger (M’87) received the Bachelor’s
Proc. 38th IEEE IECON, 2012, pp. 4935–4940. degree in electrical engineering from Laval Uni-
[33] W. Li, L.-A. Gregoire, and J. Bélanger, “Control and Performance of a versity, Québec City, QC, Canada, in 1971 and
Modular Multilevel Converter System,” in Proc. CIGRE Canada Conf. the Master’s degree from the École Polytech-
Power Syst., Halifax, NS, Canada, Sep. 2011, pp. 1–8. nique de Montréal, Montréal, QC.
He has been with Hydro-Quebec’s System
Planning Division and with the IREQ, where he
Wei Li (M’06) was born in Hangzhou, China. was involved in the design and installation of
He received the B.Eng. degree from Zhejiang Hydro-Quebec real-time simulators. He was no-
University, Hangzhou, in 1996, the M.Eng. de- tably involved in the design of the 765-kV James
gree from the National University of Singapore, Bay transmission system, with such tasks as
Singapore, in 2003, and the Ph.D. degree insulation and coordination of equipment and the installation of trans-
from McGill University, Montréal, QC, Canada, mission lines, as well as the installation of static VAR compensators
in 2010. and series capacitors. He is the Cofounder, Chief Executive Officer, and
Since 2007, he has been a Power System Chief Technology Officer of Opal-RT Technologies, Montréal. Founded
Simulation Specialist with Opal-RT Technolo- in 1997, Opal-RT develops and commercializes digital real-time sim-
gies, Montréal. His fields of interest are in power ulators for system design and electronic controller testing. Under his
electronics, renewable energy, and distributed direction and technological leadership, Opal-RT has become a well-
generation. His current research mainly focuses on real-time simulation known developer of multidomain real-time simulators used in more than
and controls of modular multilevel converter high-voltage direct-current 40 countries around the world in the aerospace, automotive, and power
systems and flexible alternating-current transmission system devices. systems industries.