Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Â
OPAL-RT RT14: MMC in RT-LAB
1. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
1
Wei Li, Esmaeil Ghahremani
OPAL-RT
wei.li@opal-rt.com
esmaeil.ghahremani@opal-rt.com
Modular Multilevel Converter Solution in RT-LAB
RTE
sebastien.dennetiere@rte-france.com
Sebastien Dennetiere
2. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
2
Chinese MMC Project and eMEGAsim Simulator Installation
MMC Project
eMEGAsim
Installed at MMC
Manufacturer
CEPRI
XJ Group
Nari
CSG
Zhejiang Grid
SPERI
3. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
3
3
Contents
â˘What is Modular Multilevel Converter (MMC)
â˘MMC Advantages and Challenges
â˘OPAL-RT solutions for MMC System Verification
â˘Applications
â˘Demo: modeling MOV in MMC system
â˘Conclusions
August 19, 2014 OPAL-RT
4. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
4
MMC Sub-module (SM)
⢠What is MMC: Modular Multilevel Converter
⢠Sub-module (SM) are two-terminal devices
⢠MMC Half-bridge (HB): with 2-IGBT in each SM
SM output is either capacitor voltage or zero at active mode
⢠MMC Full-bridge (FB): with 4 IGBTs in each SM
SM output is either positive or negative of capacitor voltage or zero at active mode
MMC-1P
Vcap
+
-
Vab
+
-
A
B
ISM
T1
T2
T3
T4
MMC-2P
5. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
5
MMC Topology description
⢠MMC-HB ac-dc converter
SM1
SM2
SMk
SM1
SM2
SMk
Vdc+
Vdc-
Vt-a
Ia
Ls
Ls
Iup-a
Ilow-a
Vup-a
Vlow-a
Iup-b
Ilow-b Ilow-c
Idc+
Idc-
Vsm1
Vsm2
Vsmk
+
+
-
-
+
-
+
-
Vsmup-a
SM1
SM2
SMk
SM1
SM2
SMk
Vt-a
Ia
Ls
Ls
Vup-b
Vlow-b
Iup-c
SM1
SM2
SMk
SM1
SM2
SMk
Vt-a
Ia
Ls
Ls
Vup-c
Vlow-c
Sub-module
(SM)
6. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
6
MMC Topology description
⢠MMC-FB STATCOM
SM1
SM2
SMk
Vn
Vt-a
Ls
Ia Ib Ic
SM1
SM2
SMk
Vt-a
Ls
SM1
SM2
SMk
Vt-a
Ls
Sub-module
(SM)
7. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
7
MMC 1P working principle
⢠Sum of all SM capacitor
voltage in 1 arm equals
two times the dc link
voltage
⢠At any given time, only
half SM output their
capacitor voltage.
8. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
8
MMC Characteristics
⢠Arm currents are continuous
⢠Commutating inductors are in arms
⢠Capacitors in each cell (energy storage in MMC)
⢠SM capacitor voltage has to be balanced (on a larger time
scale)
⢠DC-link voltage is controlled by switch states (fast)
9. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
9
MMC Advantages
â˘Low PWM frequencyâ reduced switch losses
â˘Low ac harmonic content â no need for a filter
â˘Continuous currents in MMC arm and DC link - dc link
capacitor omitted
â˘Fast recovery from AC/DC-bus short-circuit
â˘Reliability - system can remain operating for a certain
period even when a few SM are out of order
10. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
10
Challenges
⢠More complex controller and protection(design and validation)
⢠More challenge for Simulation
⢠large number of components
⢠large number of and I/Os
⢠Non-linear elements, e.g. MOV
11. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
11
OPAL-RT Solution for MMC Simulation
⢠MMC HB and FB models
⢠MMC application in HVDC or STATCOM
⢠MMC solutions for real time or fast simulation.
⢠MMC HIL and RCP (rapid control prototyping)
⢠Hardware IOs Copper wiring or optical fibers
⢠MMC example controller
⢠In RT-LAB or Hypersim platform
⢠MMC solution in CPU and FPGA
12. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
12
CPU models
â˘Supporting MMC-HB and MMC-FB
â˘Unlimited number of SM per valve
â˘Taking several CPU cores to calculate the models
â˘1 CPU can solve 300 cell at a time step of 25 us
â˘Providing Vcell-cap debugging mode to help user
developing their controller
13. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
13
FPGA models
⢠Support MMC-HB (will support MMC-FB in 2014 Q3)
⢠For 1 FPGA VIRTEX 6 (OP7000 system)
⢠up to 250 SM/valve * 6 valve, or 500 SM/vlve*2valve.
⢠VIRTEX 7 FPGA (OP7020 system)
⢠up to 500 SM/valve * 6 valve + protocol drive + SFP *16
⢠Kintex-7 FPGA (OP4500 system)
⢠up to 250 SM/valve * 6 valve + protocol drive + SFP *4
⢠Support multiple FPGAs.
14. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
14
FPGA models (continued)
⢠No CPU resources to calculate the models,
⢠MMC block calculates at a time step of 250 ns or 500 ns
⢠Pulse modulation and capacitor voltage balancing control (VBC)
embedded in FPGA
⢠Providing Vcell-cap debugging mode to help user developing
their controller
⢠Supporting both RT-LAB and Hypersim Platform
15. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
15
Interface between external controller & MMC models
â˘Analog output for Vcap and digital input for gating
pulses
â˘SFP optical fiber with Aurora protocol
â˘SFP optical fiber with Gigabit Ethernet protocol
16. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
16
Simulating MMC in CPU model
Target
MMC valve
control
Voltage balancing control +
gating signal generation
MMC pole
control
CPU 2CPU 1
Other MMC
and Grid etc.
CPU 4 âŚ
MMC
Grid
CPU 3
17. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
17
HIL Simulating MMC in CPU model
Target
Actual MMC
valve controller
Actual MMC
pole controller
Other MMC
and Grid etc.
CPU 2 âŚ
MMC
Grid
CPU 1
IO
18. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
18
MMC FPGA model in OP7020
MMC valve control
Voltage balancing control + gating
signal generation
MMC
Selectork1
Gating
Signals
to MMC
FPGA
Protocol drive (or IO drive)
Selector k2
Gating
Signals
from CPU
Gating signals by valve
control
SPF or IO
Reference
from CPU
Gating signals
to protocol
Target
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
MMC & system
Measurements
19. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
19
Simulating MMC in FPGA (valve control in CPU)
MMC valve control
Voltage balancing control + gating
signal generation
MMC
Selectork1
Gating
Signals
to MMC
FPGA
Protocol drive (or IO drive)
Selector k2
Gating
Signals
from CPU
Gating signals by valve
control
SPF or IO
Reference
from CPU
Gating signals
to protocol
Target
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
GridValve control Pole control
MMC & system
Measurements
20. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
20
Simulating MMC in FPGA (valve control in same FPGA)
Target
MMC valve control
Voltage balancing control + gating
signal generation
MMC
Selectork1
Gating
Signals
to MMC
FPGA
Protocol drive (or IO drive)
Selector k2
Gating
Signals
from CPU
Gating signals by valve
control
SPF or IO
Reference
from CPU
Gating signals
to protocol
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
GridPole control
MMC & system
Measurements
21. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
21
HIL Applications of MMC in FPGA
Fiber optic
Gating
Signals
to MMC
MMC valve control MMC
Selectork1
FPGA 2
Protocol drive
Selector k2
Gating
Signals
from CPU
Gating signals by valve
control
SPF
Reference
from CPU
Gating signals
to protocol
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
MMC
System.
Measurements.
GridCPU based
Target 2
I/O
Copper wiring
System
measurements
Fiber optic
Gating
Signals
to MMCvalve control MMC
Selectork1
FPGA 1
Protocol drive
Selector k2
Gating
Signals
from CPU
SPF
Reference
from CPU
Gating signals
to protocol
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
MMC
Sys.
Meas.
Gating signals by
valve control
Pole ctrlCPU based
Target 1
I/O
MMC measurements & commands
22. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
22
HIL Testing of Actual MMC Controller
Fiber optic
Gating
Signals
to MMC
MMC valve control MMC
Selectork1
FPGA
Protocol drive
Selector k2
Gating
Signals
from CPU
Gating signals by valve
control
SPF
Reference
from CPU
Gating signals
to protocol
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
MMC
System.
Measurements.
GridCPU based
Target
I/O
Copper wiring
System measurements
Actual MMC
controller
MMC measurements & commands
23. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
23
RCP of MMC Controller in FPGA
Fiber optic
Gating
Signals
to MMCvalve control MMC
Selectork1
FPGA
Protocol drive
Selector k2
Gating
Signals
from CPU
SPF
Reference
from CPU
Gating signals
to protocol
Gating signals
from protocol
Selectork3
Capacitor voltage
Capacitor Voltage
from Protocol
MMC
Sys.
Meas.
Gating signals by
valve control
Pole ctrlCPU based
Target
I/O
Downgraded
MMC system
MMC measurements & commands
Copper wiring
System measurements
24. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
24
MMC Customer
customer site
delivery
time
MMC model /
Hardware
cell
number
/Terminals
IO/protocol projects
ABB Switzerland 2012
MMC FPGA model,
MMC
controller/OP7000
8*6
2 terminals
48 AO, 96 DI hardware-in-the-loop test controller
Alstom UK 2012
MMC cpu model
/OP5600
100*6
2 terminals
no fast simulation
China South Grid (CSG) China
2013
MMC FPGA
model/OP7020
200*6
3 terminals
Aurora
simulation a real 3-terminal MMC
HVDC project and validation its
controller
China Electric Power
Research Institute (CEPRI)
China 2013
MMC FPGA
model/OP7000
500*6
2 terminals
no
simulation of a 3-terminal MMC
HVDC project
Nari-Relays (NR) phase 1 China 2011
MMC CPU and fpga
model/OP5600+ML605
50*6
2 terminals
48*6 AO, 96*6 DI hardware-in-the-loop test
Nari-Relays (NR) phase 2 China 2013
MMC fpga
model/OP7020
250*6
5 terminals
Aurora/Gigabit
simulation of a 5-terminal MMC
HVDC project
XJ Group phase 1 China 2013
MMC
controller/OP7020 5 terminals
IO Rapid Control Prototyping (RCP)
State Power Economic
Research Institute (SPERI)
China 2013
MMC
controller/OP7020 5 terminals
25. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
25
Naoao 3-terminal MMC project (1st multiterminal in the world)
Parameters
Sucheng
station
Jinniu
station
Qingao
station
Transfomre connection Yn/D11 Yn/D11 Yn/D11
Rated power (MVA) 240 120 63
Primary voltage (kV) 110 110 110
Secondary voltage (kV) 166 166 166
Primary impedance (pu)
[R1,L1]
[0.0025
0.06 ]
[0.0025
0.06 ]
[0.0025
0.05 ]
Secondary impedance
(pu) [R2,L2]
[0.0025
0.06 ]
[0.0025
0.06 ]
[0.0025
0.05 ]
Grounding resistance
(kΊ)
5 5 5
MMC capacity(MVA) 200 100 50
Number of SMs in an
arm
147 220 220
Number of redandant
SMs
14 20 20
Rated SM voltage(kV) 2.4 1.6 1.6
26. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
26
Naoao MMC Full HIL Configuration and Performance
Time
Step
28 us
CPU # 6
(3 for 3 MMC
1 for ac grid
1 for wind farm
1 for data acquisition and logging)
FPGA # 3 Virtex-6
IO 32*3 AO
32*3 DI
32*3 DO
27. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
27
Demo: Testing MOV in MMC
28. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
28
28
MMC Model with Arrester (MOV) â Top Level
August 19, 2014 OPAL-RT
29. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
29
29
MMC Model with Arrester (MOV) - Subsystem
August 19, 2014 OPAL-RT
30. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
30
30
The Arrester Connected to DC-Pole
August 19, 2014 OPAL-RT
31. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
31
31
Arrester Modelling with Non-Linear Shunt Resistor
August 19, 2014 OPAL-RT
The nonlinear characteristics is
composed for more than 20 segments
(up to 30) .
32. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
32
32
MMC Model â HIL Configuration
August 19, 2014 OPAL-RT
33. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
33
33
Simulation Preferences â Enable or Disable Iterations
August 19, 2014 OPAL-RT
34. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
34
34
Simulation Results â No Iterations â Compare with EMTP
August 19, 2014 OPAL-RT
35. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
35
35
Simulation Results â No Iterations â Compare with EMTP
August 19, 2014 OPAL-RT
36. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
36
36
Simulation Results â Enable Iterations
August 19, 2014 OPAL-RT
37. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
37
37
Simulation Results â Enable Iterations â Compare with EMTP
August 19, 2014 OPAL-RT
38. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
38
38
Simulation Results â Enable Iterations â Compare with EMTP
August 19, 2014 OPAL-RT
39. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
39
Real-Time Performance of MMC HIL Configurations
System Target
Time
Step
25 us
CPU # 3
IO 32*2 = 64 AO
13*2 = 26 AIN
12*2 = 24 DIN
40. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
40
Summaries
Challenges
OPAL-RT
Solutions
Small time step for SM
Large number of SM
Connection to
controller with fast
rate and small latency
Accuracy on non-linear
elements, e.g. MOV
Tested reliability
OPAL-RT
solutions
others
Minimum MMC
time step
250 ns >2.5 us
Maximum
number of SM
per FPGA
3000 SM 1500
Support Multi-
FPGA
yes yes
Connection to
controller
Aurora,
Gigabit Ethernet
Aurora
Accuracy on non-
linear element
yes no
41. The 7th International Conference
on Real-Time Simulation Technologies
Montreal | 9-12 June, 2014
41
Thanks