Professional Documents
Culture Documents
Developing Automated HIL Tests
Developing Automated HIL Tests
net/publication/317415795
CITATIONS READS
4 373
2 authors:
Some of the authors of this publication are also working on these related projects:
Designing of Permanent Magnet Synchronous Generators for their use in Wind-Turbines View project
All content following this page was uploaded by Reynaldo Iracheta Cortez on 07 October 2017.
l2 l
R. Iracheta-Cortez , , N. Flores-Guzman
l
Management of Industrial Mathematics , Center for Research in Mathematics (CIMAT), Guanajuato, GTO, 36240, Mexico
Catedras Conacyt2, University of Istmo, Tehuantepec, Oax, 70760, Mexico
reynaldo.iracheta@cimat.mx, norberto@cimat.rnx
Abstract- This paper describes the steps for carrying out worldwide for being used in power system applications. It was
automated Hardware-In-the-Loop tests to protective relays with developed by the Center of Research in HVDC of Manitoba in
the real-time power system simulator RTDS. The main features Winnipeg, Canada. Subsequently, the Electrical Research
with such tests are the performance verification of new protective
Institute of the Hydro-Quebec power utility developed
relays, before their commissioning within the electrical
HYPERSIM simulator. The common characteristic between
substations, and the improvement of the power system reliability.
A brief description of the software, hardware and applications of
RTDS and HYPERSIM is that both simulators use the nodal
the RTDS simulator is made. A digital simulation model of a EMTP solution [6, 12]. During the 90's, the high-tech
power network is proposed, as a benchmark case, to perform the company OPAL-RT Technologies developed the eMEGAsim
Hardware-In-the-Loop tests with the distance relay SEL-421. simulator. This simulator is a little bit different to the previous
Finally, a report is made to analyze the performance of the two due to its solution is based on a state-space representation
distance relay. of the power network in Simulink®. The main requirement to
perform real-time simulations with eMEGAsim is to build the
Keywords- Real-Time Simulator; Protective Relay; Hardware
model of a power network and its controls in
Matlab/Simulink®. Fig 1 show the real-time simulators RTDS,
In-the-Loop tests; Power Network, RTDS;
single phase nodes or 30 three phase buses per subnetwork. 3�t, ... up to the maximum time of the simulation tmax.. In
The integration steps (�t) used in the real time simulation can Table I are shown the discrete equivalents for the basic
be adjustable from 10 to 50 us. The rest of the processors of elements of the power system: resistance, inductor, capacitor
the rack are required to solve individual power components and transmission line.
(transmission lines, generators, transformers, etc.) and its The general solution outlined by H. Dommel to calculate
controls. The main function of the GTWIF card is the the transitory electromagnetic in any power network
handling of communication between the RTDS simulator and configuration is given by
the guest computer. This card does not participate actively in
functions of this card are: a) load, start and stop simulation where G is the matrix of nodal conductance of the electric net,
cases, b) Generation of timers, c) synchronization among v(t) is the vector of nodal voltages for time t, i(t) is the vector
racks, d) Racks diagnostics, e) All communication with the of current sources for time t, hist(t-�t) is the vector of
RSCAD® software. historical of currents of the system for time (t-�t) [1]. The
conductance matrix G of the power network is kept constant
when a fixed step of time �t is used and there is no switching
of circuit breakers. The construction of G follows the same
construction rules of the matrix of nodal admittance during in
steady state analysis.
Table I: Discrete Equivalents III. MAIN ApPICATlONS OF RTDS SIMULATOR
Com onent EMTP Solution
a) Resistance: The main applications of RTDS simulator are summarized in
R Fig. 3. From this figure, one can say that Hardware-In-the
Loop tests; to digital protective relays and control systems,
and Power-Hardware-In-the-Loop tests; to distributed
generator, electric vehicles batteries, motors and loads, are
b) Inductor: exclusively of real-time simulators such as RTDS [18]. This is
L because such tests allow the simultaneous interaction of the
ikm rY'\rV\ digital simulation with the physical equipment. Additionally,
+ � , , , L-o-
k m with the RTDS simulator, open and closed loop tests can be
()
d·
vkm t = L� 2L
implemented for both; individual protection relays and full
dt RL=-,GL=l/RL protective relays schemes. In these tests they may include
Ilt
ibn (t) GL Vbn (t)+ histL (t-Ilt)
=
equipment compatible with lEe 61850. Fig. 4 shows a
schematic drawing of the manner how closed-loop testing
histL (t-Ilt) = 20LVon (t)+ histL (t-2�)
protective relays is performed. Hardware-In-the-Loop tests are
c) Capacitor
useful: 1) To assess the performance of individual protection
. C
relays, protection schemes and control systems before
��
+ kI � - commissioning, 2) Know the answer of the power system to
different failure scenarios, 3) to improve the safety and
ikm ( t ) = L
dVkm Ilt
RC = ,Gc =11 RC reliability of protection systems and control and 4) Testing
dt 2C
new ideas and concepts for the development of new protection
ikm (t) Gc Vkm (t)+ histc (t-Ilt)
relays and/or control systems.
=
:�r:.r+ fl?��
perform many studies and analysis of smart grid applications,
n Line
i .. TL i .. distributed generation and advanced power electronics.
k0 • III 0 m
I
aVkm aikm
-.1. .1._ Wide Area
Zc = ,)L/C,r=//v=/075
_ = Protection and
L
ax at ' Controllesting
_ 8ikm _ OVkm i"", (t) = (1 / Zm) V k (t)+ histbn (t-,) Distributed LargeScale Real
C
ax - at ' in" (t) = (II Zmh (t)+ histmk (t-,) Generation -.. �:::Tim
= = e=S=im=ulat
= =io=ns=
GBB GBA•
at each time-step with constant sub-matrices
This happens as long as the time-step remains unchanged
and
Digital Simulator RTDS
Fig. 5a shows the unifilar power network diagram used for For the simulation of the power network in RSCAD/RTDS, as
testing the distance relay. The system is made up of two shown in Fig. 5, three fault modules are used to cause multiple
Thevenin equivalents of 230 kV rms at 60 Hz. The types poly-phase faults along the transmission line in the real
corresponding data of source impedances are provided in time simulation. Two of these modules are used exclusively to
Table I. Both Thevenin equivalents are connected by means of simulate faults at both ends of the line while the remaining
a transmission line of 100 km. Its geometric configuration is module is just for simulating intermediate faults in the
illustrated in Fig. 6b. This power network model have transmission line. In Fig. 6 are illustrated the fault module and
switches between each Thevenin equivalent and the its control to build the power network in DraftiRSCAD. Each
transmission line. In addition, it has also placed a fault module fault module is made up by a switch whose resistance in open
at the middle of the transmission line to cause different types circuit is very large and its resistance in closed circuit is
of contingencies for the real-time simulation in RunTime. The specified by the user. In the first part of the control logic,
fault control is designed to select the type of fault, its position shown in Fig. 6b, the fault parameters can be initialized by
and its resistance. setting the fault point (POW) wave and the duration of the
The geometric data of the transmission lines are captured in fault (FLTDUR). This process involves, first, a process of zero
the T-Line/RSCAD module to generate the parameter file crossing detection of the voltage signal (N4) with the logical
*.t1b. Additionally, the T-Line module is configured for this function IF-Then-Else and the positive edge detector. The
line as Bergeron and also, transposition and interpolation logic function AND produces a logic 1 when the fault button
options are enabled. Table II provides the information of is pressed and the zero crossing is detected. The POW control
positive sequence impedance (ZI) and zero sequence produces a delay in seconds of the logic 1 between the
impedance (Zo) of the transmission line. These impedances application of the fault and the point of its occurrence. The
can be obtained from file * .tlb. FLTDUR control generates a logic 1 pulse whose width is
The complete design for this power network in Draft and equal to the fault duration.
RunTime modules is illustrated in Appendix A. Fig. 6c illustrates the second part of the fault control logic.
The settings of this control allow the user to select the type of
Tabla [. Thevenin Equivalent Data fault and its position. Each fault type is equivalent to one bit
Source THI TH2 of memory. In the control logic, it is used the formula 2bit.[ to
Source Type R-RiL R-RiL
convert into decimal value the switch power status. The
Vnom (kV) 230 230
15.96 < 88.36° 28.943<80.865° FLTABC variable refers to the type of fault in its decimal
ZI (Q)
Zo(Q) 22.833 < 88.91° 22.833<86.22° value. The FLTSIG variable is the result of the multiplication
of logical fault pulse (T4) and the type of fault to obtain
Table [[. Transmission Line Data FLTSIG. A dial is used to select the type of fault a dial is used
Model Bergeron with discrete values {I, 2, 3}, as a control variable. Discrete
Transposition Yes
values 1 and 3 enable faults at the both ends of the
Interpolation Yes
ZI (Q) 53.2914<82.22° transmission line and 2 is only to cause intermediate faults.
Zo(Q) 147.52 <75.48°
B. Switch Contra l Logic
Transmission line
The circuit of the switch control is shown in Fig. 7. Buttons
230 kV
Switch
I IT 100
km 52CS3Tl and 52CS3Cl are used for the three-phase manual
60 Hz closing and opening of switches. Variable TA is a logical
THI
1
TH2 number provided by the digital relay for the single-phase
1 1100
�
I I
°
•
10 2030
I I I
40 50 6070 80 90
I I I I I I ·
% tripping of the switch. The RECLl variable is also a logical
Fault Location value 0-1 provided by the digital relay for doing the single
a) phase reclosing.
9m
p.7mfm'I;�1 }}
GW,
•
GW2
Ground Wires (GW)
C. Draft Variables
LKzo =L
(z 0 -ZI ) ( 2b )
3ZI
c) For the transmission line shown in Fig. 9a, compensation
Fig. 6: Fault Module. a) DRAIT/RSCAD,b) POW and fault duration (part I),
c) Fault selector (part II). = =
factors are IKzol 0.589 and L Kzo -0.027 3° .
B. Zone 1 phase reach
Switch Control
The required Zone 1 reach IS 80% of the line impedance.
Therefore,
0.8x ( 53.2914L82.22° ) = 42.633L82.22° no ( 3a )
C. Zone 2 phase reach
= =
same network. Time delay settings for each relay protection
zone are given by TZl 0 s Y TZ2 0.25 s. In Table III are listed
the parameters used for setting the distance relay.
switches.
(magnitude)
Kzo (ang) Residual compensation factor 0.027 Degrees The RTDS front panel of high voltage (HV) and an external
(phase angle) DC voltage source in the range of 125 volts are required for
ZI (mag) Zone I reach impedance setting 42.63 Q providing the digital signal status of switches to the protective
(magnitude) relay. The connections between the HV panel, power supply
ZI (ang) Zone I reach impedance setting 82.22 Degrees
(angle)
and digital protective relay is illustrated in Fig. 9c.
Z2 (mag) Zone 2 reach impedance setting 63.95 Q B. Performance of a distance relay
(magnitude)
Z2 (ang) Zone 2 reach impedance setting 82.22 Degrees The reach accuracy and the operating times are two factors
(angle) that affect the performance of a distance relay. The reach
TZI Time delay at zone 1 0 s accuracy depends on the voltage level presented in the relay
TZ2 Time delay at zone 2 0.25 s
under fault conditions and also, of impedance measurement
VI. HARDWARE- IN-THE- Loop TEST TO A DISTANCE RELAY techniques used in the design of a relay. Operation times relay
depend on the magnitude of the fault current and the point of
This section describes the procedure for doing automated
the voltage waveform where the fault occurs.
Hardware-In-the Loop tests to a distance protection relay
SEL-421 with the real-time digital simulator RTDS. The D/AGTAOCard OMICRON Relay SEL 421
below.
__ ",
--
S�e = �a ) @®®®®®®®®®®®®®®®
@ �®®®®®®®®®®®®®®
VII. CONCLUSIONS 20
[4] R.M. Mathur, Xuegong Wang, "Real-Time Digital Simulator of the [15] Y. Maharsi et ai, "HYDC Control System Operating in Real Time
Electromagnetic Transient of Power Transmission Lines" IEEE/PES Using Parallel DSPs", fEEE Summer Power Meeting, San Francisco,
1988 Sutmner Meeting, Portland, Oregon, July 24-29, 1988, 88 SM July 24-28,1994,paper no. 94 SM530-6-PWRS.
584-5. [16] M. Lavoie, V. Que-Do, 1.L. Houle, 1. Davidson, "Real-Time
Simulation of Power Systems Stability Using Parallel Digital Signal
[5] Xuegong Wang, R. M. Mathur, "Real-Time Digital Simulator of the Processors", IMACS-TCl Conference, Montreal,July 7-9,1993.
Electromagnetic Transients of Transmission Lines with Frequency [17] H. Le-Huy, J.e. Soumagne, "Digital Real-Time Simulation of
Dependence" IEEE transactions on Power Delivery, Vol. 4, pp. 2249- Transmission Lines Using Parallel Processors", ZMACSTCf
2255,1989. Conference, Montreal,July 7-9,1993.
[6] Kuffel, R; Giesbrecht, 1.; Maguire, T.; Wierckx, RP.; Mclaren, P., [18] P. Kotsampopoulos, V. Kleftakis, G. Messinis, N. Hatziargyriou,
"RTDS-a fully digital power system simulator operating in real time," Design, development and operation of a PHIL environment for
WESCANEX 95. Communications, Power, and Computing. Conference Distributed Energy Resources, 38th Annual Conference of the IEEE
Proceedings, IEEE, vol.2,no.,ppJOO,305 vol.2,15-16 May 1995. Industrial Electronics Society (IECON'2012), October 25-28 2012,
Montreal,Canada.
[7] R. Kuffel, P. Mclaren, M. Yalla, X. Wang, 'Testing of the Beckwith
Electric M-0430 Multifunction Protection Relay Using a Real-Time
Simulator (RTDS)," in Proceeding ofTCDS-95,College Station,Texas.
USA,April 1995,pp. 49-54.
I
�C:::::====:::J� �
�
Transm issi on Line 100 Km
;..
lUOO7 1--+;:-\--Po..dl---t-}-;
A--- -1
NODAL VOlTAGES I 0
, -lO, r-________�--------,_----��c�
nr· �C=
. 2�
C ----_r--------�--------_.
·lO''-------''-'--'---'-
o
Fig. 13 : Real-Time monitoring and control of the power system in RunTime module.