You are on page 1of 12

Engineering Structures 239 (2021) 112308

Contents lists available at ScienceDirect

Engineering Structures
journal homepage: www.elsevier.com/locate/engstruct

Multi-rate Real Time Hybrid Simulation operated on a flexible LabVIEW


real-time platform
Jacob P. Waldbjoern a, *, Amin Maghareh c, Ge Ou c, Shirley J. Dyke c, Henrik Stang b
a
Department of Mechanical Engineering, Technical University of Denmark, Niels Koppels Allé 404, 2800 Kgs. Lyngby, Denmark
b
Department of Civil Engineering, Technical University of Denmark, Brovej 118, 2800 Kgs. Lyngby, Denmark
c
Lyles School of Civil Engineering, Purdue University, 550 Stadium Mall Drive, West Lafayette, IN 47907-2051, USA

A R T I C L E I N F O A B S T R A C T

Keywords: This paper presents a real-time hybrid simulation (RTHS) strategy where the numerical and experimental sub­
Real-time hybrid simulation structures are executed at two different rates to optimize computational resources while maintaining an effective
Hardware-in-the-loop actuator control. The concept is referred to here as multi-rate real-time hybrid simulation (mrRTHS), and this
Performance evaluation
approach is intended to enable low-cost RTHS by facilitating testing in the case of limited computational re­
Experimental substructure
Numerical substructure
sources. Operated on a Laboratory Virtual Engineering Workshop (LabVIEW) real-time target, the mrRTHS
Field programmable gate array concept is demonstrated through both a single- and multipledegree-of-freedom (SDOF) and (MDOF) mass-spring-
damper system. The numerical substructure generates a displacement signal with a coarse time step of Δt. Using
the current and three previous displacement data points, a finer control signal is defined with a time step of δt,
using a third-order polynomial algorithm–referred to here as the polynomial fitting extrapolator. Both the nu­
merical substructure and polynomial fitting extrapolator is executed with a sampling rate of Δt by an on-board
single-core processor–referred to here as the digital signal processor (DSP). Through a field-programmable gate
array (FPGA) the control signal is compensated and transmitted to the transfer system through an I/O module
with a sampling rate of 1 kHz (i.e. δt = 0.001 sec). The ratio between Δt and δt are an integer–referred to here as
the execution ratio. For an execution ratio of 1:5 and 1:10 the system performance is evaluated against a nu­
merical model of the emulated structure–referred to here as the reference structure. For both the SDOF and
MDOF system, a good correlation between the mrRTHS and reference is achieved with execution ratios of 1:5 and
1:10. When changing the execution ratio from 1:5 to 1:10, approximately 50% reduction of the required
computational resources on the DSP is achieved.

1. Introduction between the numerical and experimental substructure–referred to here


as the shared boundary point–is achieved by maintaining compatibility
Hybrid simulation is a substructuring technique where a structure of and equilibrium at the interface. During the test, a predefined external
interest is emulated by combining the advantages of numerical modeling load is applied the numerical substructure and the corresponding
with those of experimental testing [1,2]. Here, the numerical substruc­ response computed. Through a communication loop, the displacement
ture typically includes the majority of the emulated structure, which at the shared boundary point is acquired and applied to the experimental
represents predictable mechanical behavior. The remainder of the substructure through an actuated transfer system. The forces required to
emulated structure is of special interest and is for that reason physically meet the boundary conditions between the numerical and experimental
replicated to reveal the effects of e.g. viscoelasticity, buckling, rate- subassemblies–referred to here as the feedback force–are fed back to the
dependent properties or other non-linear effects. As a consequence, numerical substructure to reveal the response of the emulated structure.
neither cost-intensive full-scale experiments nor demanding theoretical The experimental and numerical substructures, communication loop
evaluation procedures are required to reveal the response of the and actuated transfer system are combined to form the hybrid
emulated structure [3,4]. The coupling governed through the interface simulation.

* Corresponding author.
E-mail addresses: jpwa@mek.dtu.dk (J.P. Waldbjoern), amaghare@purdue.edu (A. Maghareh), gou@purdue.edu (G. Ou), sdyke@purdue.edu (S.J. Dyke), hs@
byg.dtu.dk (H. Stang).

https://doi.org/10.1016/j.engstruct.2021.112308
Received 18 April 2020; Received in revised form 2 March 2021; Accepted 29 March 2021
Available online 10 April 2021
0141-0296/© 2021 Elsevier Ltd. All rights reserved.
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

The research within hybrid simulation has primarily been focusing numerous degrees of freedom [22]. Furthermore, the use of commercial
on testing of seismic protection of building and bridge structures at FE-software could be of interest [19,9] which may require access
either real-time or an extended time-scale [5–8]. Here, the shared through a network to a remote computer. For all these reasons, the
boundary point between the numerical and experimental substructure numerical substructure may require an extended integration time,
typically consists of a set of discrete points with a few degrees-of- compromising the ability to represent the underlying dynamics of the
freedom (dofs) referred to here as multi-component hybrid simulation system. To optimize available computational resources and enhance
[9]. For this application, the load bearing structure is simulated in a flexibility to the RTHS architecture, the numerical substructure and
numerical model while damping fixtures are tested experimentally shared boundary point are executed at two different rates–referred to
including: elastomer [10], stud types [11,12] and magneto-rheological here as multi-rate real-time hybrid simulation (mrRTHS).
[13–15]. However, multi-component hybrid simulation is becoming a The mrRTHS strategy has been presented previously in the literature
mature, reliable technology, which opens the opportunity to spread the by [8,23,24]. Here, both the numerical substructure and shared
hybrid simulation technique to other application areas including: large- boundary point are handled through a single core processor using the C
scale composite structures [16]. programming language. Continuous real-time execution of the boundary
The ambition to improve the structural and operational performance condition at the interface is provided through a combined extrapolation
in the wind energy industry [17] has resulted in extensive research and interpolation procedure, inducing a communication delay equiva­
within large-scale and high-performance composite structures. In these lent to the integration time of the numerical substructure. Furthermore,
efforts, testing has primary been focusing on two scales: full-scale and an irregular step is identified between the last extrapolated points and
coupon material testing [18]. Full-scale testing provides valuable consecutive interpolated one, as discussed in [25]. Alternatives to the
knowledge of the structural behavior; however, it requires large labo­ mrRTHS exist including parallel real-time computing techniques [24].
ratory facilities and typically entails significant simplifications of the This parallelization of the real-time system enables higher simulation
load configurations applied, compared to the actual loads to which the frequency of the numerical model by allowing multiple threads to
structure is exposed during service. On the other hand, material char­ execute simultaneously across multiple processors [26].
acteristics are normally provided through small scale testing performed The scope of this paper is to develop, implement and demonstrate an
on specially designed standardized specimens. This approach does not mrRTHS strategy to enable RTHS testing with limited computational
require large laboratory facilities; however, it introduces idealized stress resoruces. This strategy is demonstrated on a Laboratory Virtual Engi­
and strain states in the test specimens and as a consequence, does not neering Workshop (LabVIEW) real-time target capable of providing
account for the material behavior under complex stress states and in­ deterministic and real-time performance for data acquisition and control
teractions between the different materials and joints, bearings and other systems [27]. The numerical substructure is discretized through an
critical details throughout the structure. explicit state-space representation with a coarse time step of Δt. By the
To address certain shortcomings in full-scale and material testing, current and 3 previous displacement data points, a finer control signal is
the hybrid simulation concept is implemented for large-scale composite generated with a time step of δt, using a third order polynomial algo­
structures–referred to here as single component hybrid simulation. rithm–referred to here as the polynomial fitting extrapolator. Both the
Single component hybrid simulation is a substructuring technique, numerical substructure and polynomial fitting extrapolator is executed
capable of evaluating the global response of the emulated structure with a sampling rate of Δt by an on-board single-core processor–referred
under the influence of local effects and when exposed to advanced load to here as the digital signal processor (DSP). Through a field program­
configurations [19]. However, the single component hybrid simulation mable gate array (FPGA) the control signal is compensated through a
technique highly complicates the numerical and experimental sub­ feedforward (FF) compensator and transmitted to the transfer system
structure due to the complex geometry and material characterization. through an I/O module with a time step of δt. Thus the tasks related to
Furthermore, the shared boundary point is continuous along the edge the numerical substructure and shared boundary point is dedicated its
which leads to transferring of response in an ideally infinite number of own processor to allocate computationally independent and separated
contact points, potentially yielding a complex force/displacement dis­ resources. The ratio between Δt and δt is an integer - referred to here as
tribution in the coupling between the two substructures. Previous the execution ratio. The mrRTHS strategy is demonstrated through a
research has been carried out within the field of single component single and multiple degree-of-freedom (SDOF) and (MDOF) mass-spring-
hybrid testing on a composite structure with the shared boundary point damper system in order to reduce the complexity in verifying the soft­
covering; a single discrete point with multiple and single-axis control ware capabilities when handling the test response and theory. However,
[19,9]. However, both studies only cover the quasi-static regime the the developed mrRTHS strategy is capable of handling non-linear
relevance of which is somewhat limited given that the significance of behavior as the experimental substructure may reveal the effects of e.
structural dynamics is becoming increasingly important as lighter, g. buckling, rate-dependent properties, etc. The system characterization
cheaper, higher and larger structures become more frequent. As a is identified and a suitable delay compensation scheme implemented to
consequence, static testing and analysis have only limited relevance for account for communication delay and dynamics in the transfer system.
structures exposed to dynamic loads including wind, earthquake, traffic The mrRTHS communication loop is tested and verified against a nu­
from vehicles and pedestrians, etc. merical model of the emulated structure–referred to here as the
Real time hybrid simulation (RTHS) is a useful technique to evaluate reference.
the performance of a structural system subjected to dynamic loading
[20]. Roughly, the RTHS communication loop can be separated in to two 2. mrRTHS communication loop
tasks including solving the numerical substructure and operating the
shared boundary point. Due to the inherent dynamics in the experi­ 2.1. Configuration for mrRTHS
mental substructure, the shared boundary point needs to follow a
continuous time history of displacement, velocity or acceleration with a The overall architecture of the mrRTHS communication loop in­
frequency of operation which is 10–25 times higher than the mode of cludes a transfer system and two loops named main and outer-loop,
interest [21]. In conventional RTHS the numerical substructure and which are handled in a producer/consumer configuration [28]. The
shared boundary point is operated sequentially at an identical rate. outline of the dataflow in the mrRTHS communication loop is separated
However, given the increased complexity of the numerical substructure in 9 units labeled from (1) to (9) presented in Fig. 1.
within single component hybrid simulation, this execution frequency The mrRTHS communication loop is operated through a Compac­
can be difficult to achieve with the available onboard computational tRIO 9074 (cRIO-9074) [29] including the FPGA and 400 MHz onboard
resources due to the implementation of e.g. non-linear effects along with single-core processor–referred to here as the Digital Signal Processor

2
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 1. Schematic block diagram representing the overall architecture for the mrRTHS communication loop.

(DSP). The FPGA offers high reliability and determinism given that all system FPID is set equal to or higher than the outer-loop (i.e. 1 kHz ≤
logics are compiled to the physical hardware, and for that reason, does FPID). Through the PID controller, an electrical current Icom(t) is gener­
not utilize any overarching operating systems. However, this comes with ated to operate the servo hydraulic actuator in (7). The experimental
the tradeoff of having a relatively small amount of memory available on substructure in (8) consists of a spring with the stiffness ke, further
the FPGA, implying a limited complexity of the on-board algorithm. The defined in Table 1.
interface between the mrRTHS communication loop and transfer system
is handled through a digital to analog (NI9263) [30] and analog to
digital (NI9205) [31] I/O module. The cRIO-9074 and I/O modules 2.2. Communication interface between main and outer-loop
combine to form the real time target.
The main-loop is operated through the DSP with a coarse time step of The interface between the main and outer-loop is handled through a
Δt. Here the numerical substructure in (1) computes the next step dual channel Direct Memory Access (DMA) First-In-First-Out (FIFO)
displacement signal dnum(t) based on the external load and last available configuration [27]. Here the data received from the extrapolator algo­
feedback force Fres(t-i). Through the current and previous data points rithm in (3) and feedback force in (9) is buffered and exchanged between
provided by (1), the predicted system response after the communication the two loops cf. Fig. 1. A schematic of the main and outer-loop
delay is identified as the displacement signal dpred(t) in (2). Between switching logic are outlined in Fig. 2, separated in an initiating,
each data point provided by (2) the displacement signal is resampled running and completion sequence. The initiating and completion
through extrapolation dexp(t + i) in (3) with the time increment δt for sequence represents the first and last main-loop time step respectively.
i ∈ [0; Δt]. The delay compensation in (2) and polynomial fitting The running sequence represents the switching logic for the remaining
extrapolator in (3) are both handled by a 3rd order polynomial algo­ duration of the mrRTHS. For demonstration purposes, only a couple of
rithm, further described in Section 3.2. main-loop time steps are represented cf. Fig. 2.
The outer-loop is operated through the FPGA with an execution rate The numerical substructure, communication delay compensator and
of 1 kHz (i.e. δt = 0.001sec) allowing the shared boundary point to extrapolated displacement signal dexp(t + i) are computed in the main-
handle frequencies of up to 100 Hz [21]. Here the actuator displacement loop through primary operations for the duration of Δtp and buffered
after the delay/lags, associated with the dynamics of the transfer system, in the DMA FIFO. When the primary operations of the DSP are
is predicted to generate the command displacement dcom(t) through a FF completed, the secondary tasks include: file manipulation, TCP/IP
compensator in (4). Further details of the FF compensator in (4) are communication, etc. is handled for the duration of Δts. The total time
given in Section 3.1. From the data points provided by (4) an equivalent step of the main-loop Δt is identified as the sum of Δtp and Δts cf. Fig. 2.
DC voltage Vcom(t) is generated in (5) to operate the transfer system. The In parallel the FPGA is emptying and processing the received displace­
corresponding feedback force Vres(t) are acquired from the transfer ment signal while buffering the corresponding feedback force Fres(t-i) in
system and converted to a digital signal in (9). The transfer system is the DMA FIFO with a time increment of δt for i ∈ [0; Δt]. Given that Δtp
operated by transmitting the real-time command signal Vcom(t) to a > 0, a communication delay is included given that only Fres(t-ia) for ia ∈
[ ]
digital proportional-integral-derivative (PID) controller in (6). To pre­ Δtp ; Δt is available in the DMA FIFO when the next displacement signal
vent data loss due to under sampling, the execution rate of the transfer is computed. While the primary operation in the main-loop is

Table 1
Structural parameters of the numerical and experimental substructure for the mrRTHS.
Structure [–] Module [–] mn [kg] cn [N.sec/m] kn [kN/m] ke [kN/m] Mode [–] Modal period [Hz] Mode damping [%]

MDOF 1 440 880 275 – 1 1.77 1.78


2 440 880 275 – 2 4.96 4.99
3 440 880 165 110 3 7.17 7.21
SDOF 1 6300 2370 110 110 1 1.00 2.99

3
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 2. Schematic of the main and outer-loop switching logic for an execution ratio of 1:5.

completing, the remaining feedback forces Fres(t-ib) in the DMA FIFO for 2.3. Implementation/design of the control platform
[ ]
ib ∈ 0; Δtp is acquired and the next extrapolated displacement signal
dext(t + i) returned for the upcoming main-loop iteration. The duration The main framework for the mrRTHS platform is divided into 5 units
of Δtp is regulated by the available computational resources of the DSP labeled from (1) to (5) in Fig. 3. Here, the host application in (1) oper­
and the complexity of the primary operations in the main-loop ates the user interface along with data storage and external load. This is
algorithm. done through a master computer (personal computer) which typically
comprises ample onboard memory and computational resources.
Through a TCP/IP communication, the master computer continuously
transmits the predefined external load and user defined inputs, while

Fig. 3. The main framework of the mrRTHS software.

4
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

receiving feedback to and from (2) in the main-loop. This configuration bandwidth, which is nearly constant in the range: 0–4 Hz. In the
is required due to the limited on-board memory available on the cRIO- remaining frequency domain, the magnitude starts to roll off as a
9074. function of the frequency. The phase of the dynamic system is nearly
The main-loop is divided into a secondary (2) and primary (3) linear throughout the entire bandwidth, resulting in a constant time lag
portion, both operated by the DSP as outlined in Fig. 3. The interface of approximately 16.4 ms. A three pole model is found sufficient to
between (2) and (3) are provided through a producer/consumer accurately represent the dynamics over the entire frequency range:
configuration [28], where (2) consists of two separate while loops: a) 0–15 Hz cf. Fig. 4. The curve fitted continuous transfer function Ga(s) is
producer loop that transmits the feedback data to (1) and b) consumer presented in the frequency domain s in Eq. (1).
loop that receives the external load from (1). The primary operation by
5.163∙106
(3) is handled through a single while loop which both transmits the Ga (s) = (1)
s3 + 530.8s2 + 8.899∙104 s + 5.44∙106
feedback data and receive the external load to and from (2). To reduce
jittering and optimize the computational resources of the DSP, each of To cancel the dynamics of the transfer system over the frequency
the three while loops in the main-loop are assigned the following order range of interest, a FF compensator is implemented [33]. For a SDOF
of priority: a) deterministic loop in (3), b) consumer loop in (2) and c) system where only a single eigenfrequency of 1.00 Hz is present ac­
producer loop in (2). By prioritizing each task, it is ensured that the cording to Table 1, a direct inverted first order compensator is deemed
secondary operations in (2) are halted whenever computational re­ sufficient. The discrete first order direct inverted compensator Ka(z) is
sources are needed for primary operations in (3). Furthermore, the flow presented in the z-domain by Eq. (2).
of external load is prioritized ahead of feedback data.
∝z − (∝ − 1)
The outer-loop is handled in (4) operated by the FPGA as outlined in Ka (z) = (2)
z
Fig. 3. Here the interface between the main-loop and outer-loop is
established through the DMA FIFO as clarified in Section 2.2. The Here a is calibrated so that the measured and desired displacement
displacement signal from the numerical model is transmitted from (3) to correlate in the frequency range of interest. This calibration process is
(4) for further processing and the feedback signal returned for moni­ conducted through an open loop sinusoidal reference signal. For the
toring of the system response. Given the fast execution rate and high MDOF system the eigenfrequency ranges from 1.77 to 7.71 Hz cf.
reliability of the FPGA, interlocks are here implemented to prevent Table 1, meaning that a higher order transfer function is required to
damage to the transfer system and its surroundings. The transfer system ensure good performance in the entire frequency range of interest. Given
is operated through the I/O modules which offer a high speed and that a three pole model accurately represents the dynamics of the
reliable analogue data transfer. Here the displacement signal is trans­ transfer system cf. Fig. 4, a discrete third order inverted compensator
mitted from (4) to (5) and corresponding feedback data received [34] is implemented in the time domain t–presented by Eq. (3).
including measured displacement and feedback force.
(3)

Ka (t) = h0 r(t) + h1 ṙ(t) + h2 r̈(t) + h3 r(t)
3. System characterization Here, the coefficients h0 through h3 are given by Eq. (1) and the dots
denote differentiation of the desired displacement r with respect to time
3.1. Actuator dynamics t. The closed loop performance of the first and third order compensators
is outlined in Figs. 11 and 13, respectively.
The dynamics of the entire transfer system including servo-hydraulic
actuator, PID controller and experimental substructure, represent a
3.2. Communication delay and extrapolation
significant source of time delay/lags in the RTHS communication loop
[4]. Thus, compensation is crucial to ensure accuracy and stability of the
Both communication delay and extrapolation are handled through
RTHS [32]. To understand the system behavior in a wide range of fre­
an algorithm capable of predicting the desired displacement. Various
quencies and amplitudes, open loop system identification is performed
forward prediction schemes have been investigated for the use in
through a band-limited white noise with a frequency ranging from 0 to
mrRTHS [24]. In this study, the polynomial fitting extrapolator (third
15 Hz and a root-mean-square (RMS) of 0.25 mm. Based on an obtained
order polynomial algorithm) is selected for further analysis due to the
data series of 300,000 measurements, acquired with a sampling rate of 1
minimal computational resources needed to run the algorithm, making
kHz, the system identification in the frequency domain are given in
it well suited for real time analysis. By the use of the current and 3
Fig. 4.
previous data points provided with a time step of ΔT, the control signal
The magnitude is demonstrating an undershooting in the entire
is extrapolated with a predefined time step t in Eq. (4).

Fig. 4. System identification in the frequency domain – open loop transfer function.

5
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308


N ratio and frequency (acceleration). In Fig. 6b, a detail of the desired
dexp = ai di (4) signal and corresponding extrapolated signal is presented. Here, the
NRTE between the extrapolated and desired signal is gradually
i=0

Here N, di and ai represent the order of the algorithm (i.e. N = 3), the increasing as a function of time. For that reason, an irregular step
current and 3 previous data points with the time step ΔT, and poly­ (discontinuity) is bound to happen between the last extrapolated point
nomial coefficients generated through the Lagrange formula, respec­ dexp(t) and consecutive displacement signal dpred(t).
tively. For a fully independent relation between t and ΔT, the Increasing the order of the polynomial fitting extrapolator improves
polynomial coefficients ai are given by Eqs. (5)–(8) cf. [25]. the performance in the higher frequency domain; however this comes
( ) with the trade-off of increased: a) vulnerability to system noise and b)
t 11 t 1 ( t )2
a0 = + + (5) required computational resources. Thus, we chose not to increase the
ΔT 6 ΔT 6 ΔT
order of the polynomial any further.
( )
t 5 t 1 ( t )2
a1 = − 3+ + (6) 4. Emulated structure and shared boundary point
ΔT 2 ΔT 2 ΔT
(
t 3 t 1 ( t )2
) The emulated structure consists of an SDOF and MDOF mass-spring-
a2 = +2 + (7) damper system loaded by the external load gacc cf. Fig. 7a and b. The
ΔT 2 ΔT 2 ΔT
spring stiffness ke is represented as the experimental substructure while
(
t 1 1 t 1 ( t )2
) the remainder of the emulated structure is discretized through an
a3 = − + + (8) explicit state-space representation. The shared boundary point is further
ΔT 3 2 ΔT 6 ΔT
clarified in Fig. 7c.
Compensation of the communication delay dpred(t) is achieved for t A servo hydraulic transfer system is loading the experimental sub­
= Δtp cf. Fig. 2. Here, di is the current and 3 previous data points pro­ structure in deformation control through a digital proportional-integral-
vided by the numerical substructure dnum(t). The extrapolated derivative (PID) controller model: Shore Western SC6000. The hydraulic
displacement signal dexp(t + i) is generated with a time step of t = δt for actuator is a Shore Western model 910D-77-6-4-348 with a ±152.4 mm
i ∈ [0; Δt] and di the current and 3 previous data points provided by (±6.0 in.) stroke and ±4.89kN (±1.1kip) force capacity. The hydraulic
dpred(t). flow through the actuator is directed by a single Schenck-Pegasus 162 M
The performance of the polynomial fitting extrapolator is investi­ servo-valve with a capacity of 57 L/min (15GPM) at 205 bar (3000psi.
gated through a chirp sinusoidal wave with a linearly increasing fre­ The actuator displacement dact(t) is measured through an internal LVDT
quency ranging from 0 to 10 Hz for the duration of 10 s and constant model: G.L Collins, LMT-711P34 and the associated reaction force
amplitude of 3.81 mm. The signal is generated with two different sam­ monitored by a Omega S-beam load cell model: LCM101-2 K (S/N
pling rates including: 100 Hz and 1 kHz named under sampled and 245518) with a capacity of ±8.89kN (±2 kips). A photographic repre­
desired signal respectively. With an execution ratio of 1:10, the under sentation of the transfer system and individual components is repre­
sampled signal is resampled through extrapolation dexp(t) and compared sented in Fig. 8. The standard uncertainty of the repeatability offered by
with the desired signal–referred to here as desired cf. Fig. 5. the transfer system are 8.5.10− 3 mm and 6.81 N. The repeatability is
Here the normalized relative tracking error (NRTE) is presented as identified as the standard deviation from a sample of 100,000 mea­
the relative deviation between the extrapolated dexp(t) and desired surements, acquired under constant conditions with a sampling fre­
signal cf. Eq. (9). To smooth the presented NRTE output, only the peak quency of 1 kHz.
NRTE within each displacement period is presented. To conduct a successful mrRTHS, global stability and performance
⃒ ⃒
⃒dexp (t) − desired(t) ⃒ are the major issues. In [35,36], predictive stability and performance
NRTE(t) = ∙100 (9) indicators (PSI and PPI) have been developed to assess the sensitivity of
max(|desired(t) | )
an RTHS configuration to any phase discrepancy at the shared boundary
The same approach is used for other execution ratios, and the cor­ point resulting from transfer system dynamics and computation/
responding NRTE presented in Fig. 6a. From Figs. 5 and 6a the NRTE communication delays. These metrics predict how transfer system dy­
between the extrapolated and desired signal is related to the execution namics and computation/communication delays, which are significant

Fig. 5. Extrapolation performance with a chirped sine wave in the domain 0–10 Hz and execution ratio 1:10.

6
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 6. chirped sine wave in the domain 0–10 Hz: A) NRTE between the desired and extrapolated signal and B) correlation details.

Fig. 7. Schematic of the emulated structure and shared boundary point: A) MDOF system, B) SDOF system and C) details of the shared boundary point.

Fig. 8. Photographic representation of the transfer system including the servo hydraulic actuator, load cell and linear spring.

Fig. 9. Design flow of a successful real-time hybrid simulation.

7
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

sources of systematic experimental error in RTHS, distort RTHS re­ mrRTHS is lower than the reference, causing the NRE to gradually
sponses and how the corresponding error propagates through the entire magnify during the free oscillation period.
simulation and may de-stabilize the system. Thus, PPI and PSI are used The corresponding actuator performance in the time domain for both
here to design a successful RTHS configuration from a stability and execution ratios are presented in Fig. 12. Here, a sound correlation be­
performance perspectives. Using PSI and PPI, the design of a successful tween the desired and measured displacement of the actuator is iden­
RTHS is provided in Fig. 9. On the basis of the PSI and PPI indicators tified, indicating that the single-order FF compensator is adequate for
outlined in Fig. 9, SDOF and MDOF mrRTHS configurations are defined the given application.
as presented in Table 1. In Table 2, the RMS and peak NRE between the mrRTHS and refer­
ence are presented for execution ratios of 1:5 and 1:10. To isolate the
5. Test results error induced by the extrapolation algorithm through the communica­
tion delay compensator and extrapolation procedure, the experimental
The mass-spring-damper systems are tested in SDOF and MDOF substructure is substituted by a numerical model–referred to here as
configurations for the duration of 70 sec. Here the mrRTHS architecture numerical mrRTHS. With this modification, the experimental errors
is evaluated using the normalized relative error (NRE) between the including transfer system dynamics, sensor miscalibration, measure­
mrRTHS and reference presented in Eq. (10). ment noise and random truncations in the analogue-to-digital (AD)
conversion of the signal are eliminated.
|mrRTHS(t) − REF(t) | From Table 2, approximately 15% of the RMS and peak NRE are
NRE(t) = ∙100 (10)
max(|REF(t) | ) generated by the extrapolation procedure for both execution ratios,
The system is loaded by the Chichi earthquake–referred to here as meaning that other sources of errors–also present in conventional
the external load gacc. The external load is showed in Fig. 10 for both the RTHS–comprise the remaining 85% of the total NRE. Furthermore, by
SDOF and MDOF mrRTHS. The magnitude of the load is adjusted to increasing the execution ratio from 1:5 to 1:10, a 50% reduction of the
achieve a maximum displacement of the shared boundary point of computational resources of the DSP is achieved, with the tradeoff of
approximately 3.81 mm. increasing the NRE between the mrRTHS and reference by approxi­
The stiffness ratio between kn and ke at the shared boundary point is mately 4%.
set to 50% and 66% for the SDOF and MDOF configurations, respectively
cf. Table 1. The performance of the mrRTHS architecture is demon­ 5.2. MDOF mrRTHS
strated in both cases for an execution ratio of 1:5 and 1:10 with the outer
loop running at a constant rate of 1 kHz (i.e. δt = 0.001sec). For the MDOF mass-spring-damper system, the displacement x3(t)
relative to the ground (see Fig. 7a) are presented for the mrRTHS and
reference for execution ratios of 1:5 and 1:10 in Fig. 13. Note that the
5.1. SDOF mrRTHS
displacement of the shared boundary point–given by x3(t)-x2(t) cf.
Fig. 7a–is on the same order as the displacement of the SDOF system.
For the SDOF mass-spring-damper system, the relative displacement
The corresponding relatively error between the mrRTHS and reference
x(t) (see Fig. 7b) is presented for the mrRTHS and reference for an
are determined cf. Eq. (10). The time step of the primary operation of the
execution ratio of 1:5 and 1:10 in Fig. 11. The corresponding relatively
main loop Δtp is for the MDOF configuration 2 ms due to the enhanced
NRE between the mrRTHS and reference are determined cf. Eq. (10).
complexity of the numerical substructure. Furthermore the work load of
The time step of the primary operation of the main loop Δtp is 1 ms. The
the DSP is 75% and 38% of the full capacity for execution ratios of 1:5
computational complexity of the main-loop causes the DSP to operate at
and 1:10. For that reason, by reducing the frequency of the main loop by
69% and 35% of the full capacity for an execution ratio of 1:5 and 1:10,
50% an equivalent reduction of the computational resources on the DSP
respectively. For that reason, by reducing the sampling frequency of the
is achieved. From Fig. 13, the relation between the amplitude of the
main loop by 50%, an equivalent reduction of the computational re­
displacement x3(t) and relatively error between the mrRTHS and
sources on the DSP is achieved. From Fig. 11, the relationship between
reference is found to be identical to the SDOF system. However, due to
the amplitude of the displacement x(t) and relative NRE between the
the increased magnitude of displacement, the error is reduced relative to
mrRTHS and reference is identified. Here, it appear that an increasing
the SDOF system cf. Eq. (10).
amplitude amplifies the NRE. When the external load ceases after
The corresponding actuator performance in the time domain for both
approximately 55 sec cf. Fig. 10, the freely oscillating system will
execution ratios are presented in Fig. 14. Here a sound correlation be­
gradually decay with a frequency equal to the modal period. However,
tween the desired and measured displacement of the actuator is iden­
due to actuator dynamics and communication delay, the damping of the
tified for an execution ratio of 1:5, indicating that the third-order FF
compensator is adequate for the given application. However, when the
execution ratio is increased to 1:10 some major inconsistencies between
the desired and measured displacement is observed. This outcome is
probably caused by the instability induced by the irregular step between
the last extrapolated point dexp(t) and consecutive displacement signal
dpred(t), see Fig. 6b. This instability does likewise appear in the error
represented in Fig. 13b. In Table 3 the RMS and peak error between the
mrRTHS and reference along with the numerical mrRTHS and reference
are presented for execution ratios of 1:5 and 1:10.
From Table 3, approximately 30% of the RMS and peak error is
generated by the extrapolation procedure for both execution ratios,
meaning that other sources of error–also present in conventional
RTHS–comprise the remaining 70% of the total error. It is noted that this
error is identified to be 15% for the SDOF system. However due to the
increase in frequency, the error induced by the extrapolation procedure
will increase cf. Fig. 6a. When the execution ratio is increased from 1:5
to 1:10, a 50% reduction of the computational resources is achieved;
Fig. 10. Chichi earthquake applied on the SDOF and MDOF system. however, this comes with a 60% increase in the error between the

8
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 11. displacement response and NRE for the SDOF system with: A) execution ratio 1:5 and B) execution ratio 1:10.

Fig. 12. Time domain comparison of actuator performance with the single-order FF controller: A) execution ratio 1:5 and B) execution ratio 1:10.

mrRTHS and reference. Compared with the SDOF system, this is a sig­ order polynomial fitting extrapolator.
nificant increase in the error induced by the extrapolation procedure. A
reduction of this error could be achieved by using a different or higher

9
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 13. displacement response and NRE for the MDOF system with: A) execution ratio 1:5 and B) execution ratio 1:10.

least-square polynomial fitting, linearly predicted acceleration scheme


Table 2
and multi-rate linear compensation according to [24]. From [24] the
RMS and peak NRE obtained through SDOF mrRTHS and numerical mrRTHS.
performance of the least-square polynomial fit is found to be identical to
Execution mrRTHS Num. mrRTHS mrRTHS Num. mrRTHS the polynomial fitting extrapolator, while the linearly predicted accel­
ratio [–] RMS NRE RMS NRE [%] peak NRE peak NRE [%]
eration scheme only exhibits improved performance for an execution
[%] [%]
ratio below 1:5. The multi-rate linear compensator provides signifi­
5 7.45 1.10 20.64 3.21
cantly better performance relative to the polynomial fitting extrapolator
10 7.67 1.15 21.82 3.33
for both execution ratios of interest; however this performance comes
with the cost of significantly higher computational resources.
6. Discussion Between each data point provided by the numerical substructure, a
finer displacement signal is generated through extrapolation. This
The polynomial fitting extrapolator is implemented to handle both approach provides a relatively short communication delay equivalent to
the communication delay and extrapolation procedure in the main loop. the duration of the primary operations on the DSP Δtp which is 1–2 ms in
This algorithm consumes very few computational resources, making it the applied case. Other publications concerning mrRTHS combine
suitable for RTHS, especially for low-cost execution. However, for an extrapolation/interpolation to generate the displacement signal handled
increasing execution ratio and/or sampling frequency, the error induced in the outer loop cf. [8,23,25]. Through this method, extrapolation is
by the polynomial fitting extrapolator leads to a reduced correlation performed until the numerical model is computed and the next
between the mrRTHS and reference cf. Fig. 6a. Increasing the order of displacement signal identified–which is equivalent to the duration of Δtp
the polynomial fitting extrapolator enables the algorithm to handle in the applied case. The remaining portion of the finer displacement
higher frequencies; however, that comes with an enhanced vulnerability signal, equivalent to the duration of Δts in the applied case, is generated
to system noise and required computation resources. Other applicable by interpolation. The communication delay is for that reason given by
extrapolation algorithms exists and could similarly be adopted including the time step of the main loop, which in the applied case is 10 ms. Pure

10
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

Fig. 14. Time domain comparison of actuator performance with the third-order FF controller: A) execution ratio 1:5 and B) execution ratio 1:10.

mrRTHS and reference for an execution ratio of 1:5 and 1:10, respec­
Table 3 tively. The same RMS errors were computed as 2.50% and 5.41% for the
RMS and peak NRE obtained through MDOF mrRTHS and numerical mrRTHS.
MDOF configuration. Due to the magnification of the amplitude for the
Execution mrRTHS Num. mrRTHS mrRTHS Num. mrRTHS MDOF configuration relative to the SDOF system, a reduction of the RMS
ratio [–] RMS NRE RMS NRE [%] peak NRE peak NRE [%]
error was observed. By reducing the frequency of the main loop by 50%
[%] [%]
an equivalent reduction of the computational resources on the DSP were
5 2.50 0.70 7.14 2.07 achieved. These savings in computational resources came with the
10 5.41 1.77 16.05 5.12
tradeoff of a 4% and 60% increase in the error between the mrRTHS and
reference for the SDOF and MDOF configurations, respectively.
extrapolation provides for that reason a reduced communication delay The error induced by the polynomial fitting extrapolator was found
relative to the combined extrapolation/interpolation procedure. How­ to include an irregular step between the last extrapolated point and
ever, given that the error is gradually increasing during each extrapo­ consecutive displacement signal. This discontinuity introduced some
lation sequence cf. Fig. 6b, and an irregular step is bound between the chattering in the system, which became distinct for the MDOF system
last extrapolated point and consecutive displacement signal; a limited with an execution ratio of 1:10. To isolate the error induced by the
number of extrapolation points would be preferable. polynomial fitting extrapolator operated in the main loop, the experi­
To ensure continuous real-time loading of the shared boundary mental substructure was replaced by the numerical model. From this
point, displacement signals must be available in the outer-loop at all analysis, it was found that 85% and 70% of the RMS error between the
times. For the applied configuration of the main and outer-loop mrRTHS and reference were generated by other experimental errors for
switching logic, the number of extrapolated points is deemed consis­ the SDOF and MDOF configuration, respectively. This indicates that
tent throughout the entire duration of the mrRTHS. For that reason, only other sources can be attributed for the majority of the errors between the
explicit numerical models which exhibit a consistent and predictable mrRTHS and reference, including: transfer system dynamics, sensor
integration time can be handled in this configuration to satisfy the miscalibration, measurement noise and quantization in the analogue-to-
explicit deadlines in the switching logic between the main and outer- digital (AD) conversion, which likewise appear in conventional RTHS.
loop. To allow implicit numerical models, the number of extrapolated
points has to vary depending on the current integration time. This could CRediT authorship contribution statement
be achieved by making an estimate of the number of extrapolated points,
followed by either erasing or adding additional extrapolated points if the Jacob P. Waldbjoern: Conceptualization, Methodology, Software,
integration time of the numerical model is shorter or longer than Validation, Visualization, Writing - original draft. Amin Maghareh:
estimated. Conceptualization, Methodology, Software, Validation, Visualization,
Writing - original draft. Ge Ou: Validation. Shirley J. Dyke: Writing -
7. Conclusion review & editing, Conceptualization, Supervision. Henrik Stang:
Writing - review & editing, Conceptualization, Supervision.
An mrRTHS configuration was implemented on a LabVIEW real-time
target model: cRIO-9074, capable of operating the numerical and Declaration of Competing Interest
experimental substructure at two different rates to optimize computa­
tional resources while maintaining good actuator control. The system The authors declare that they have no known competing financial
illustrated that by reducing the execution rate of the numerical sub­ interests or personal relationships that could have appeared to influence
structure by 50% an equivalent reduction of the computational re­ the work reported in this paper.
sources on the DSP were achieved. This shows the mrRTHS
configuration as an effective method to enable RTHS testing with limited Acknowledgement
computational capability.
The mrRTHS was demonstrated through sample SDOF and MDOF The authors would like to acknowledge the financial support from: i)
mass-spring-damping systems, and the performance was evaluated the Danish Centre for Composite Structures and Materials (DCCSM)
against the corresponding reference. For the SDOF configuration, rela­ funded by the Danish Council for Strategic Research within Sustainable
tive RMS errors of 7.45% and 7.67% were identified between the Energy and Environment (Grant: 09-067212), ii) COWI foundation, iii)
Otto Moensted Foundation and IV) U.S. NSF under grant no. NSF-

11
J.P. Waldbjoern et al. Engineering Structures 239 (2021) 112308

1136075. Furthermore, the authors acknowledge the Bowen Laboratory [17] Jensen FM, Falzon BG, Ankersen J, Stang H. Structural testing and numerical
simulation of a 34m composite wind turbine blade. Compos Struct 2006;76(1–2):
in the Lyles School of Civil Engineering, Purdue University for supplying
52–61.
laboratory facilities and technical support. [18] Jensen FM. Ultimate strength of a large wind turbine blade. Kgs. Lyngby, Denmark:
Department of Civil Engineering, Technical University of Denmark; 2008.
Appendix A. Supplementary material [19] Waldbjoern JP, Hoegh JH, Stang H, Berggreen CC, Wittrup-Schmidt J, Branner K.
Hybrid testing of composite structures with single-axis control. In: The 19th
International Conference on Composite Materials, Montréal; 2013.
Supplementary data to this article can be found online at https://doi. [20] Chen C, Ricles JM. A general approach for analysis of actuator delay compensation
org/10.1016/j.engstruct.2021.112308. methods for real-time testing. In: The 14th World Conference on Earthquake
Engineering, Beijing, China; 2008.
[21] Dyke SJ. Acceleration feedback control strategies for active and semi-active
References systems: modeling, alogrithm development and experimental verification [Ph.D.
Dissertation]. IN: University of Notre Dame; 1996.
[1] Shao X, Reinhorn AM, Sivaselvan MV. Real-time hybrid simulation using shake [22] Mucha W, Kus W. Mountain bicycle frame testing as an example of practical
tables and dynamic actuators. J Struct Eng 2011;137(7):748–60. implementation of hybrid simulation using RTFEM. In: Computer Methods in
[2] Bursi OS, Gonzalez-Buelga A, Vulcan L, Neild SA, Wagg DJ. Novel Coupling Mechanics (CMM2017), Lublin, Poland; 2018.
Rosenbrockbased algorithm for real-time dynamic substructure testing. Earthquake [23] Nakashima M. Development, potential, and limitations of real-time online (pseudo-
Eng Struct Dyn 2008;37(3):339–60. dynamic) testing. Philos Trans Roy Soc A: Math Phys Eng Sci 2001;373(2035):
[3] Takanashi K, Nakaschiman M. Japanese activities on ON-LINE testing. J Eng Mech 1851–67.
1987;113(7):1014–32. [24] Maghareh A, Waldbjoern JP, Dyke SJ, Prakash A. Adaptive multi-rate interface:
[4] Carrion JE, Spencer BF. Model-based strategies for real-time hybrid testing. development and experimental verification of an interface for multi-rate real-time
Urbana-Champaign, Illinois, USA: Newmark Structural Engineering Laboratory, hybrid simulation. Earthquake Eng Struct Dyn 2016;45(9):1411–25.
University of Illinois at Urbana-Champaign; 2007. [25] Bonnet PA. The development of multi-axis real-time substructure testing. Oxford,
[5] Mahin SA, Shing P-S-B, Thewalt CR, Hanson RD. Pseudodynamic test method. United Kingdom: University of Oxford; 2006.
Current status and future directions. J Struct Eng 1989;115(8):2113–28. [26] Ferry D, Maghareh A, Bunting G, Prakash A, Agrawal K, Lu C, Dyke S. On the
[6] Shing PB, Nakashima M, Bursi OS. Application of pseudodynamic test method to performance of a highly parallelizable concurrency platform for real-time hybrid
structural research. Earthquake Spectra 1996;12(1):29–56. simulation. In: The 6’th World Conference on Structural Control and Monitoring,
[7] Nakashima M, Kato H, Takaoka E. Development of real-time pseudo dynamic Barcelona, Spain; 2014.
testing. Earthquake Eng Struct Dyn 1992;21(1):79–92. [27] Ashasi-Sorkhabi A, Mercan O. Development, implementation and verification of a
[8] Nakashima M, Masaoka N. Real time on-line test for MDOF systems. Earthquake user configurable platform for real-time hybrid simulation. Smart Struct Syst 2014;
Eng Struct Dyn 1999;28(4):393–420. 14(6):1151–72.
[9] Hoegh JH, Waldbjoern JP, Wittrup-Schmidt J, Stang H, Berggreen C. Quasi-static [28] Bitter R, Mohiuddin T, Nawrocki M. LabVIEW advanced programming techniques.
single-component hybrid testing of a composite structure with multi-axial control. Florida, USA: CRC Press; 2001.
Strain 2015;51(6):459–73. [29] http://www.ni.com/pdf/manuals/375874b.pdf. National Instruments, - 6 2014.
[10] Karavasilis TL, Ricles JM, Sause R, Chen C. Experimental evaluation of the seismic [Online]. [Accessed 21 11 2014].
performance of steel MRFs with compressed elatsomer dampers using large-scale [30] http://www.ni.com/pdf/manuals/373781e.pdf. National Instruments, - 8 2009.
real-time hybrid simulation. Eng Struct 2011;33(6):1859–69. [Online]. [Accessed 12 11 2014].
[11] Ito M, Murata Y, Hoki K, Nakashima M. Online hybrid test on buildings with stud- [31] http://www.ni.com/pdf/manuals/374188d.pdf. National Instruments, - 2 2008.
type damper made of slitted steel plates stifferened by wood panels. Procedia Eng [Online]. [Accessed 12 11 2014].
2011;14:567–71. [32] Horiuchi T, Nakagawa M, Sugano M, Konno T. Development of real-time hybrid
[12] Jacobsen A, Hitaka T, Nakashima M. Online test of building frame with slit-wall experiment system with actuator delay compensation. In: Proc. 11th World
dampers capable of condition assessment. J Constr Steel Res 2010;66(11):1320–9. conference on Earthquake engineering. Acapulco; 1996.
[13] Chen C, Ricles JM, Karavasilis TL, Chae Y, Sause R. Evaluation of a real-time hybrid [33] Ellis G. Control system design guide. San Diego, CA: Academic Press; 2000.
simulation system for performance evaluation of structures with rate dependent [34] Phillips BM, Spencer BF. Model-based servo-hydraulic control for real-time hybrid
devices subjected to seimic loading. Eng Struct 2012;35:71–82. simulation. Urbana-Champaign, Illinois, USA: Newmark Structural Engineering
[14] Lin YZ, Christenson RE. Comparison of real-time hybrid testing with shake table Laboratory, University of Illinois at Urbana-Champaign; 2011.
test for an MR damper controlled structure. In: Americam Control Conference, St. [35] Maghareh A, Dyke SJ, Prakash A, Rhoads JF. Establishing a stability switch
Louis, Missouri, USA; 2009. criterion for effective RTHS implementation. J Smart Struct Syst 2014;14(6):
[15] Carrion JE, Spencer BF, Phillips BM. Real-time hybrid testing of a semi-actively 1221–45. https://doi.org/10.12989/sss.2014.14.6.1221.
controlled structure with an MR damper. In: American Control Conference, St. [36] Maghareh A, Dyke SJ, Prakash A, Bunting GB. Establishing a predictive
Louis, Missouri, USA; 2009. performance indicator for real-time hybrid simulation. Earthquake Eng Struct Dyn
[16] Williams MS. Real-time hybrid testing in structural dynamics. In: The 5th 2014;43(15):2299–318. https://doi.org/10.1002/eqe.2448.
Australasian Congress on Applied Mechanics, Brisbane, Australia; 2007.

12

You might also like