-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathTHEORY.tex
More file actions
523 lines (491 loc) · 42.7 KB
/
THEORY.tex
File metadata and controls
523 lines (491 loc) · 42.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
\section{Analytical Quantitation of Spurious Response}
In this work, a continuous--time signal or function is denoted by lowercase letters, for example, $u\left(t\right)$. It's duality in the frequency domain (via Fourier transform) is denoted with an overhead hat, for example, $\hat{u}\left(\omega\right)$ or $\hat{u}\left(f\right)$. A discrete--time signal is denoted by square brackets, for example, $u[n]$. The counterpart in the frequency domain (via the discrete Fourier transform) is denoted by the uppercase letter, for example, $U[n]$. It can alternatively be approximated by sampling $\hat{u}\left(\omega\right)$ or $\hat{u}\left(f\right)$. The conversion between angular frequency $\omega$ and frequency $f$ is done implicitly.
\subsection{Linear Interpolation}
For the ease of discussion, let the sampling interval of an input seismogram be the multiple of time step size and let the ratio between them be an integer $L$. To apply the seismogram as an external load within each time step, interpolation is required, it is then equivalent to upsample the input seismogram by the same ratio $L$. If the sampling rate/frequency of the original seismogram is $f_s$, then the upsampled signal has a sampling rate of $Lf_s$. Extra attention shall be paid to the original Nyquist frequency $f_s/2$ since anything above it cannot be reliably reconstructed, due to, for example, aliasing. For a discrete--time signal $p[n]$, a typical upsampling operation with the upsampling factor $L$ consists of two steps \citep{Oppenheim2010}:
\begin{enumerate}
\item Insert $L-1$ zeros between each pair of adjacent samples in $p[n]$, resulting in a new signal $p_e[n]$ which can be formally defined as
\begin{gather}
p_e[n]=\left\{
\begin{array}{ll}
p[n/L],&n=0,~L,~2L,~3L,~\cdots,\\
0,&\text{otherwise}.
\end{array}
\right.
\end{gather}
This is also known as an expander, and is often denoted by $\uparrow{}L$ such that $p_e[n]=[\uparrow{}L]p[n]$.
\item Apply a low--pass filter with kernel $g[n]$ on $p_e[n]$ via convolution. The linear interpolation corresponds to the following kernel, often known as the Bartlett (triangular) window,
\begin{gather}
g[n]=\left\{
\begin{array}{ll}
1-\abs{n}/L,&\abs{n}\leqslant{}L-1,\\
0,&\text{otherwise}.
\end{array}
\right.
\end{gather}
The convoluted/interpolated/filtered signal is denoted as $p_i[n]=g[n]*p_e[n]$. Different kernels will be discussed in subsequent sections.
\end{enumerate}
Since the extended discrete signal $p_e[n]$ is $p[n]$ with additional zero samples, once the upsampling factor $L$ is chosen, $p[n]$ can be converted to $p_e[n]$ and vice versa. We focus on the properties of $p_e[n]$.
The bare $p_e[n]$ without applying any filter(s) contains spectral images, that is, extra copies of the original spectrum $f\in[0,~f_s/2]$ in the additional frequency domain $f\in[f_s/2,~Lf_s/2]$. For example, consider the sinusoid
\begin{gather}
u(t)=\sin\left(2\pi{}f_0t\right),
\end{gather}
with the frequency $f_0=\dfrac{\omega_0}{2\pi}$ chosen to be \SI{25}{\hertz}, a typical lower bound of processed seismograms. Assume this continuous--time signal is sampled at a rate of $f_s=\SI{200}{\hertz}$, the discrete--time signal $u[n]$ can be depicted in \figref{fig:original}.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/PureSineOrigin}
\caption{original sine wave in time domain and frequency domain}\label{fig:original}
\end{figure}
The corresponding Nyquist frequency is $f_s/2=\SI{100}{\hertz}$, thus, the frequency ranges from \SI{-100}{\hertz} to \SI{100}{\hertz} (negative part not shown with amplitude of positive part properly scaled).
By choosing an upsampling factor $L=10$, the extended signal $u_e[n]$ (zero--stuffed/padded) can be illustrated as in \figref{fig:extended}.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/PureSineExtended}
\caption{zero--stuffed sine wave in time domain and frequency domain}\label{fig:extended}
\end{figure}
The Nyquist frequency of $u_e[n]$ is $10\times\SI{100}{\hertz}=\SI{1000}{\hertz}$, the original component at $\SI{25}{\hertz}$ is mirrored to \SI[separate-uncertainty=true]{200\pm25}{\hertz}, \SI[separate-uncertainty=true]{400\pm25}{\hertz}, \SI[separate-uncertainty=true]{600\pm25}{\hertz}, \SI[separate-uncertainty=true]{800\pm25}{\hertz} and \SI{975}{\hertz}. Those additional components are known as images.
The linear interpolation (triangular window) for $L=10$ can be constructed as
\begin{gather}
g[n]=0.1\times\begin{bmatrix}
1&2&3&\cdots&10&\cdots&3&2&1
\end{bmatrix},
\end{gather}
its frequency response $G[n]$ can be obtained via the discrete Fourier transform (DFT), which is shown in \figref{fig:tri_window}.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/TriangularWindow}
\caption{triangular window in frequency domain}\label{fig:tri_window}
\end{figure}
The analytical expression can be obtained via convoluting two rectangular signals, which gives
\begin{gather}\label{eq:tri_kernel}
\hat{g}\left(f\right)=\text{sinc}^2\left(\dfrac{2f}{f_s}\right).
\end{gather}
By the convolution theorem, the upsampled signal can be obtained by either convolution in the time domain or multiplication in the frequency domain.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Convolution}
\caption{interpolated sine wave in time domain and frequency domain}\label{fig:interpolated}
\end{figure}
\figref{fig:interpolated} shows the interpolated signal in both domains. Due to the high side lobe level (around \SI{-26}{\decibel} of the first side lobe, see \figref{fig:tri_window}) of the triangular window, the spectral images in $u_i[n]$ between \SI{100}{\hertz} and \SI{1000}{\hertz} are seemingly attenuated, for example, the component at \SI{175}{\hertz} is reduced to \num{1.99e-2}, but their magnitudes are still relatively large. Using such an interpolated signal as the external load in dynamic analyses can sometimes cause significant spurious force responses, which are derived analytically in the following.
\subsection{Oscillator System}
To investigate how the partially attenuated images would affect the response of oscillator systems, consider a single degree of freedom mass--spring--dashpot linear system under a harmonic load. The equation of motion can be written as
\begin{gather}
ma\left(t\right)+cv\left(t\right)+ku\left(t\right)=p\left(t\right),
\end{gather}
with $p\left(t\right)=p_0\sin\left(2\pi{}ft\right)$ where $p_0$ is the amplitude of the harmonic, and its angular frequency is $\omega=2\pi{}f$.
Duhamel's integral shows the solution to this system can be expressed as, assuming trivial initial conditions,
\begin{gather}\label{eq:duhamel}
u\left(t\right)=\left(p*h\right)\left(t\right)=\int_{0}^{t}p\left(\tau\right)h\left(t-\tau\right)\md{\tau},
\end{gather}
with the fundamental solution
\begin{gather}
h\left(t\right)=\dfrac{1}{m\omega_d}\exp\left(-\zeta\omega_nt\right)\sin\left(\omega_dt\right),
\end{gather}
where $m$ is the mass, $c$ is the damping coefficient, $k$ is the stiffness, $\omega_n=\sqrt{\dfrac{k}{m}}$ is the natural frequency of the system, $\zeta=\dfrac{c}{2\sqrt{mk}}$ is the damping ratio, and $\omega_d=\omega_n\sqrt{1-\zeta^2}$ is the damped frequency. The following discussion is confined to underdamped cases ($\zeta<1$).
\eqsref{eq:duhamel} can be conveniently evaluated in the frequency domain via the unilateral Laplace transform \citep[see, e.g.,][]{Lee1990}, such that
\begin{gather}
\hat{u}\left(\omega\right)=\mathscr{L}\left\{u\left(t\right)\right\}=\mathscr{L}\left\{p\left(t\right)\right\}\cdot\mathscr{L}\left\{h\left(t\right)\right\}=\hat{p}\left(\omega\right)\cdot\hat{h}\left(\omega\right),
\end{gather}
with
\begin{gather}\label{eq:analytical_transfer}
\hat{h}\left(\omega\right)=\dfrac{1}{k}\dfrac{1}{\left(1-\eta^2\right)+i\left(2\zeta\eta\right)},\qquad\eta=\dfrac{\omega}{\omega_n}.
\end{gather}
The velocity/acceleration spectrum can be obtained by differentiating $\hat{u}\left(\omega\right)$,
\begin{gather}
\hat{v}\left(\omega\right)=i\omega\cdot{}\hat{u}\left(\omega\right)=i\omega\cdot{}\hat{p}\left(\omega\right)\cdot\hat{h}\left(\omega\right),\\
\hat{a}\left(\omega\right)=i\omega\cdot{}\hat{v}\left(\omega\right)=-\omega^2\cdot{}\hat{p}\left(\omega\right)\cdot\hat{h}\left(\omega\right).
\end{gather}
\subsubsection{Damping Force}
Denote the damping force as $F_v\left(t\right)=cv\left(t\right)$, then it is possible to derive
\begin{gather}
\hat{F_v}\left(\omega\right)=\mathscr{L}\left\{F_v\left(t\right)\right\}=c\cdot{}\hat{v}\left(\omega\right)=c\cdot{}i\omega\cdot{}\hat{p}\left(\omega\right)\cdot\hat{h}\left(\omega\right).
\end{gather}
We further denote
\begin{gather}
\hat{k_v}\left(\omega\right)=ic\omega\cdot\hat{h}\left(\omega\right),
\end{gather}
which links the external load spectrum $\hat{p}\left(\omega\right)$ to the damping force spectrum $\hat{F_v}\left(\omega\right)$ such that
\begin{gather}\label{eq:damping_force_spec}
\hat{F_v}\left(\omega\right)=\hat{k_v}\left(\omega\right)\cdot\hat{p}\left(\omega\right).
\end{gather}
Now consider three different types of damping.
\paragraph{Constant Damping}
Let $c$ (and $\zeta$) be a constant, accounting for \eqsref{eq:analytical_transfer}, then
\begin{gather}\label{eq:damping_constant}
\hat{k_v}\left(\omega\right)=\dfrac{i\left(2\zeta\eta\right)}{\left(1-\eta^2\right)+i\left(2\zeta\eta\right)}.
\end{gather}
\paragraph{Mass Proportional Damping}
Let $c$ be proportional to mass such that $c=2a_0m$, then
\begin{gather}
\zeta=\dfrac{2a_0m}{2\sqrt{mk}}=\dfrac{a_0}{\omega_n},\qquad
\zeta\eta=\dfrac{a_0\omega}{\omega_n^2},
\end{gather}
so that
\begin{gather}\label{eq:damping_mass}
\hat{k_v}\left(\omega\right)=\dfrac{i\left(2a_0\omega\right)}{\left(\omega_n^2-\omega^2\right)+i\left(2a_0\omega\right)}.
\end{gather}
\paragraph{Stiffness Proportional Damping}
Let $c$ be proportional to stiffness such that $c=2a_1k$, then
\begin{gather}
\zeta=\dfrac{2a_1k}{2\sqrt{mk}}=a_1\omega_n,\qquad
\zeta\eta=a_1\omega,
\end{gather}
so that
\begin{gather}\label{eq:damping_stiffness}
\hat{k_v}\left(\omega\right)=\dfrac{i\left(2a_1\omega\right)}{\left(1-\eta^2\right)+i\left(2a_1\omega\right)}.
\end{gather}
It can be noticed that all three expressions of $\hat{k_v}\left(\omega\right)$ possess a similar form
\begin{gather}\label{eq:general_damping_force}
\hat{k_v}\left(\omega\right)=\dfrac{iA}{B+iA}.
\end{gather}
Note that $B=0$ when $\omega=\omega_n$, correspondingly, $\hat{k_v}\left(\omega_n\right)=1$, which is the maximum magnitude of $\hat{k_v}\left(\omega\right)$. At this point, the magnitude of the damping force component simply equals that of the external load component, see \eqsref{eq:damping_force_spec}. With that said, although the damping ratio either decays to zero asymptotically (mass proportional) or grows to infinity (stiffness proportional), the corresponding damping force is bounded, the maximum of which depends on the magnitude of the external load at resonance ($\omega=\omega_n$).
\begin{figure}[htb!]
\centering
\includegraphics{PIC/ConstantProportional2000}
\caption{fundamental solutions with constant damping}\label{fig:constant_damping}
\includegraphics{PIC/StiffnessProportional10}
\caption{fundamental solutions with stiffness proportional damping}\label{fig:k_proportional}
\includegraphics{PIC/MassProportional500000}
\caption{fundamental solutions with mass proportional damping}\label{fig:m_proportional}
\end{figure}
For those three cases, $\hat{k_v}\left(\omega\right)$ can be computed and illustrated in \figref{fig:constant_damping}, \figref{fig:k_proportional} and \figref{fig:m_proportional} for different $f_n$ (or equivalently, $\omega_n$). From those figures, one could infer that, if the external load has relatively large components around the natural frequency of the system, the resulting damping force could potentially be large. Such large components can be caused by the aforementioned images due to linear interpolation.
Since the external load $p\left(t\right)$ would be discretised for numerical analysis, it is possible to move the interpolation filter $\hat{g}\left(f\right)$ to $\hat{k_v}\left(f\right)$, we further denote the product by
\begin{gather}
\hat{m_v}\left(f\right)=\hat{g}\left(f\right)\cdot\hat{k_v}\left(f\right),
\end{gather}
such that
\begin{gather}
\hat{F_v}\left(f\right)=\hat{m_v}\left(f\right)\cdot\hat{p_e}\left(f\right),
\end{gather}
where $\hat{p_e}\left(f\right)$ is the spectrum of extended (zero--stuffed) external load that possesses identical magnitude at imaging frequencies, see \figref{fig:extended}.
The above $\hat{m_v}\left(f\right)$ can be treated as the transfer function between external load (input) and damping force (output). It reveals the magnitudes of the damping force for any given frequency components of the external load. It is then possible to plot the magnitude of $\hat{m_v}\left(f\right)$ in the frequency domain by choosing different natural frequencies $f_n$ and damping model parameters. One example is given in \figref{fig:k_proportional_damping}.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/StiffnessDampingForce200_10}
\caption{magnitude of $\hat{m_v}\left(f\right)$ for $f_n=\SI{200}{\hertz}$ with $a_1=0.0001$}\label{fig:k_proportional_damping}
\end{figure}
The analytical expression of $\hat{m_v}\left(f\right)$ provides a convenient tool to query the magnitude of the damping force in a given system. For example, if the upsampled sine wave in \figref{fig:extended} is used as the external load, it has a \SI{25}{\hertz} component with a magnitude of \num{1}, then the damping force shall have the same component of a magnitude $1\times\num{3.03e-2}$. The factor \num{3.03e-2} is obtained by computing the magnitude of $\hat{m_v}\left(f\right)$ at $f=\SI{25}{\hertz}$ (see \figref{fig:k_proportional_damping}). Similarly, the \SI{225}{\hertz} component shall have a magnitude of \num{8.91e-3}.
\subsubsection{Inertial Force}
Similarly, the inertial force can be derived as
\begin{gather}
\hat{F_a}\left(f\right)=\hat{p_e}\left(f\right)\cdot\hat{m_a}\left(f\right),\qquad
\hat{m_a}\left(f\right)=\hat{g}\left(f\right)\cdot\hat{k_a}\left(f\right),
\end{gather}
where
\begin{gather}\label{eq:inertial_force}
\hat{k_a}\left(\omega\right)=-m\omega^2\cdot\hat{h}\left(\omega\right)=\dfrac{-\eta^2}{\left(1-\eta^2\right)+i\left(2\zeta\eta\right)}.
\end{gather}
For the stiffness/mass proportional damping, $\zeta$ takes the same expressions, viz., $a_1\omega_n$ and $a_0/\omega_n$, respectively.
\subsubsection{Remarks}
We derive the transfer functions $\hat{m_v}\left(f\right)$ and $\hat{m_a}\left(f\right)$ between the zero--stuffed input (external load) and the output (damping/inertial force) as follows.
\begin{gather}
\hat{m_v}\left(f\right)=\hat{g}\left(f\right)\cdot\hat{k_v}\left(f\right),\\
\hat{m_a}\left(f\right)=\hat{g}\left(f\right)\cdot\hat{k_a}\left(f\right).
\end{gather}
The filter kernel $\hat{g}\left(f\right)$ can take various forms, depending on the specific type of filters chosen. For linear interpolation (triangular window), it possesses the analytical expression as shown in \eqsref{eq:tri_kernel}. The terms $\hat{k_v}\left(f\right)$ and $\hat{k_a}\left(f\right)$ also takes various forms, as shown in \eqsref{eq:damping_constant}, \eqsref{eq:damping_mass}, \eqsref{eq:damping_stiffness} and \eqsref{eq:inertial_force}, depending on the type of damping used.
It shall be emphasised that the above discussion is \textbf{purely analytical}, without potential numerical errors introduced by various numerical time integrations and other similar approximations. The transfer functions $\hat{m_v}\left(f\right)$ and $\hat{m_a}\left(f\right)$ essentially reveal how the imaging frequencies existing in the input would eventually affect the output response. Thus, they can be used as indicators of errors solely stemming from upsampling/interpolation of the input load.
One can compute $\hat{m_v}\left(f\right)$ and $\hat{m_a}\left(f\right)$ over the whole frequency domain for different damping models and upsampling filters, and compare the relative magnitudes between two regions, in the case of the chosen signal, $f\in[\SI{0}{\hertz},\SI{100}{\hertz}]$ and $f\in[\SI{100}{\hertz},\SI{1000}{\hertz}]$, to evaluate if the images could lead to significant spurious responses.
Two examples are presented as follows.
In \figref{fig:map_constant}, the triangular window (linear interpolation) with $L=10$ is chosen with a constant damping ratio $\zeta=\num{0.02}$. In \figref{fig:map_stiffness}, the triangular window with $L=10$ is chosen with a stiffness proportional damping $a_1=\num{2e-4}$. In both examples, it is clearly seen that the undesired response at frequencies ranging between \SI{100}{\hertz} and \SI{1000}{\hertz} (that do not exist in the original signal, see \figref{fig:original}) is poorly attenuated, the magnitude of which is comparable to that of the original signal ($[\SI{0}{\hertz},\SI{100}{\hertz}]$) as both share similar colours. This introduces risks of unreliable/unusable numerical results.
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/ConstantMapTri_2000}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialMapTri_2000}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with constant damping ratio and triangular window}\label{fig:map_constant}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/StiffnessMapTri_20}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialStiffnessMapTri_20}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with stiffness proportional damping and triangular window}\label{fig:map_stiffness}
\end{figure}
To suppress such a spurious response, $\hat{m_v}\left(f\right)$ and $\hat{m_a}\left(f\right)$ must have significantly small magnitudes beyond the original Nyquist frequency (\SI{100}{\hertz} for the particular example used).
Alternatively, the whole system can be deemed as a stochastic system, with components at imaging frequencies treated as errors, and analysed accordingly \citep[see, e.g.,][]{Soederstroem2002}.
\subsection{A Preliminary Example}\label{sec:sdof_example}
The concept is best validated via a simple example. A linear single degree of freedom system is modelled with the following parameters.
\begin{gather}
f_n=200,\quad{}m=1,\quad{}k=4\pi^2f_n^2=\num{1.579e6},\quad{}a_1=\num{e-4},\quad{}c=2a_1k=\num{315.827},
\end{gather}
with the external load and time step size
\begin{gather}
p\left(t\right)=\sin\left(50\pi{}t\right),\quad\Delta{}t=\num{5e-4}.
\end{gather}
For comparison, the external load is provided in two forms:
\begin{enumerate}
\item sampled at \SI{200}{\hertz} and upsampled to \SI{2000}{\hertz} as shown in \figref{fig:interpolated} --- this is the conventional approach which introduces spurious response, and
\item analytically evaluated at each time point --- this is analytical such that it only contains one component at \SI{25}{\hertz} as shown in \figref{fig:original}.
\end{enumerate}
The damping/inertial force history and its frequency components are shown in \figref{fig:sdof_force}.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/InterpolationExample}
\caption{damping/inertial force history and spectrum of the SDOF system (transient solution included) using triangular window and Newmark method with $\gamma=0.5$ and $\beta=0.25$}\label{fig:sdof_force}
\end{figure}
The interpolated external load contains relatively large imaging frequencies and results in significant overshoots (around \SI{50}{\percent} for damping force and around \SI{500}{\percent} for inertial force) due to significant components at \SI{175}{\hertz} and \SI{225}{\hertz}, which are not attenuated by the linear interpolation. The values agree with \figref{fig:k_proportional_damping}.
It must be re-emphasised that, as stated in the previous remarks, the identified spurious response stems from the input, instead of the numerical time integration. Thus, it can be analytically isolated. As a result, no matter how `good' the adopted time integration method is, the spurious response can always be observed. \figref{fig:sdof_various} shows the inertial force history and spectrum using various time integration algorithms. It can be seen that all methods show spikes at imaging frequencies.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/VARIOUS_ALGO}
\caption{inertial force history and spectrum of the SDOF system (transient solution included) using interpolated external load and various time integration methods}\label{fig:sdof_various}
\end{figure}
Given that numerical models inevitably contain high frequency modes due to, for example, finite element discretisation and the presence of constraints implemented via the penalty function method, the contribution of high frequency components to damping/inertial force can be amplified significantly. It must be emphasised that according to \eqsref{eq:general_damping_force}, as long as damping is considered, no matter which type, the maximum possible magnitude of damping force of a specific frequency is equal to that of the upsampled (after filtering) external load. Furthermore, it is also independent of the magnitude of damping, small or large. In fact, a large damping ratio gives flat $\hat{k_v}\left(f\right)$, which reduces the difference between low frequency response and high frequency response. It is thus less likely to overshoot regarding damping force alone. It can also be concluded that, as long as the damping model is not point--based (for example, the Wilson--Penzien model, which only responds to selected discrete frequencies), the system is \textbf{not} immune from spurious damping forces. It is also evident from analytical expressions that as long as mass is not zero, the inertial force would be affected by this type of spurious responses.
In the case of multiple degrees of freedom (MDOF) systems, depending on the distribution of natural frequencies and the composition of the external load, as well as the upsampling ratio, higher modes may produce significant responses due to, for example, being closer to imaging frequencies. The final numerical results may contain a considerably large portion of spurious responses.
\subsection{A Note On Load Applied As Displacement}
In the previous example, we illustrate the spurious response caused by the linear interpolation in the context of load being applied as (inertial) force. In some displacement--controlled applications, external loads can be applied in the form of deformation. Two options are typically available: 1) directly apply the recorded displacement on the target DoFs, or 2) convert recorded acceleration to displacement by integration and apply it on the target DoFs. The first approach is \textbf{not} immune to the spurious response as long as linear interpolation is used. The second approach is thus \textbf{preferred}.% However, it must be pointed out that the integration from acceleration to displacement must comply with the time integration method used, otherwise, the integration itself may introduce additional frequency components.
%
%Take the Newmark method as the example, the integration equations can be expressed as follows using the signal notation.
%\begin{gather}\label{eq:nm_u}
%u[n+1]=u[n]+\Delta{}tv[n]+\left(\dfrac{1}{2}-\beta\right)\Delta{}t^2a[n]+\beta\Delta{}t^2a[n+1],\\\label{eq:nm_v}
%v[n+1]=v[n]+\left(1-\gamma\right)\Delta{}ta[n]+\gamma\Delta{}ta[n+1].
%\end{gather}
%Shifting index of \eqsref{eq:nm_u}, one could obtain
%\begin{gather}
%u[n+2]=u[n+1]+\Delta{}tv[n+1]+\left(\dfrac{1}{2}-\beta\right)\Delta{}t^2a[n+1]+\beta\Delta{}t^2a[n+2],
%\end{gather}
%then $v[n+1]$ and $v[n]$ can be eliminated with the assist of \eqsref{eq:nm_v} such that
%\begin{multline}\label{eq:nw_ua}
%u[n+2]-2u[n+1]+u[n]=\\
%\left(\dfrac{1}{2}+\beta-\gamma\right)\Delta{}t^2a[n]+\left(\dfrac{1}{2}+\gamma-2\beta\right)\Delta{}t^2a[n+1]+\beta\Delta{}t^2a[n+2].
%\end{multline}
%Only when $u[n]$ is computed based on \eqsref{eq:nw_ua} (not any other integrations), the same $a[n]$ can be obtained on prescribed DoFs as their velocity and acceleration responses are solely governed by \eqsref{eq:nm_u} and \eqsref{eq:nm_v} for a given displacement history. The absence of spurious response is thus guaranteed as long as the original $a[n]$ does not contain significant high frequency components.
%If $a[n]$ is deemed as input while $u[n]$ is deemed as output (which will be applied to the system as the equivalent mean to apply recorded acceleration), by assuming trivial initial conditions ($u[-1]=u[0]=0$ and $a[-1]=a[0]=0$), the transfer function can be calculated via the Z-transform.
%\begin{gather}
%\dfrac{U\left(z\right)}{A\left(z\right)}=\dfrac{\mathscr{Z}\{u[n]\}}{\mathscr{Z}\{a[n]\}}=\Delta{}t^2\dfrac{\beta{}+\left(\dfrac{1}{2}+\gamma-2\beta\right)z^{-1}+\left(\dfrac{1}{2}+\beta-\gamma\right)z^{-2}}{1-2z^{-1}+z^{-2}}.
%\end{gather}
%
%\begin{figure}[htb]
%\centering
%\includegraphics{PIC/Deformation_TF}
%\caption{transfer function between $u[n]$ and $a[n]$ with Newmark method}\label{fig:nm_tf}
%\end{figure}
\section{Remedies and Recommendations}
As can be seen in \figref{fig:sdof_force}, using the analytical expression for the external load is clearly a solution that can fully suppress spurious response. However, this is not a feasible option as analytical expressions of seismograms cannot be reconstructed easily. The following remedies and recommendations are proposed to mitigate the issue.
\subsection{Low--pass Filters with Better Attenuation}
If the oscillator system is deemed as a filter system, it is evident that the fundamental cause of spurious forces is the high frequency noises in the input. A natural remedy is to suppress high frequency components as much as possible. In this regard, the linear interpolation is error--prone. Other options are available.
Ideally, a low--pass filter with a high roll--off rate and a low side lobe level can suppress the images caused by upsampling to the level that the corresponding spurious responses will not have a significant impact on final numerical results, even after scaling up by a factor of $\omega^2$.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Window_Nuttall}
\caption{Blackman--Nuttall window and the filtered signal}\label{fig:nuttall_window}
\end{figure}
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Window_Flattop}
\caption{Flat top window and the filtered signal}\label{fig:flattop_window}
\end{figure}
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Window_Kaiser}
\caption{Kaiser window ($\beta=9$) and the filtered signal}\label{fig:kaiser_window}
\end{figure}
%\begin{figure}[htb!]
%\centering
%\includegraphics{PIC/Window_Cheb}
%\caption{Dolph--Chebyshev ($\SI{-80}{\decibel}$) window and the filtered signal}\label{fig:cheb_window}
%\end{figure}
We show a number of different windows in \figref{fig:nuttall_window}, \figref{fig:flattop_window} and \figref{fig:kaiser_window}, including the Blackman--Nuttall window, the flat top window and the Kaiser family. Those are commonly used windows \citep{Oppenheim2010} in the design of FIR filters. The number of bins is chosen to be $32L+1$ ($L=10$ in this work) to obtain a side lobe level around \SI{-100}{\decibel}.
With those windows, it is possible to repeat the previous procedure to obtain distributions of $\hat{m_v}$ and $\hat{m_a}$ that reveal the relative magnitudes of damping and inertial forces. \figref{fig:map_constant_kaiser}, \figref{fig:map_stiffness_kaiser}, \figref{fig:map_mass_kaiser}, \figref{fig:map_constant_nuttall}, \figref{fig:map_stiffness_nuttall} and \figref{fig:map_mass_nuttall} show the examples with three different types of damping models for Kaiser and Blackman--Nuttall windows, respectively. It is evident that imaging frequencies can be greatly attenuated, even on the resonance line ($f=f_n$). By comparing colours in those figures, it can be seen that the responses beyond the original Nyquist frequency \SI{100}{\hertz} are significantly smaller by around four to six orders of magnitude.
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/ConstantMapKaiser_2000}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialMapKaiser_2000}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with constant damping ratio and Kaiser window}\label{fig:map_constant_kaiser}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/StiffnessMapKaiser_20}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialStiffnessMapKaiser_20}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with stiffness proportional damping and Kaiser window}\label{fig:map_stiffness_kaiser}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/MassMapKaiser_200000}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialMassMapKaiser_200000}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with mass proportional damping and Kaiser window}\label{fig:map_mass_kaiser}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/ConstantMapNuttall_2000}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialMapNuttall_2000}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with constant damping ratio and Blackman--Nuttall window}\label{fig:map_constant_nuttall}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/StiffnessMapNuttall_20}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialStiffnessMapNuttall_20}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with stiffness proportional damping and Blackman--Nuttall window}\label{fig:map_stiffness_nuttall}
\end{figure}
\begin{figure}[htb!]
\centering
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/MassMapNuttall_200000}
\caption{damping case $\hat{m_v}\left(f\right)$}
\end{subfigure}
\begin{subfigure}{.48\textwidth}
\includegraphics{PIC/InertialMassMapNuttall_200000}
\caption{inertial case $\hat{m_a}\left(f\right)$}
\end{subfigure}
\caption{normalised damping/inertial force magnitude with mass proportional damping and Blackman--Nuttall window}\label{fig:map_mass_nuttall}
\end{figure}
If such a spurious response has to be suppressed to a level under \SI{-40}{\decibel}, which corresponds to \SI{1}{\percent}, it is possible to estimate the required side lobe level by using the upsampled Nyquist frequency $Lf_s/2$ such that
\begin{gather}
20\log\left(\dfrac{0.01}{\left(\dfrac{Lf_s}{2}\right)^2}\right)=20\log\left(\dfrac{0.04}{L^2f_s^2}\right).
\end{gather}
For $Lf_s=\SI{100}{\hertz}$, this gives \SI{-108}{\decibel}. For $Lf_s=\SI{500}{\hertz}$, this gives \SI{-136}{\decibel}.
\subsection{Other Recommendations}
\subsubsection{Avoid Upsampling/Interpolation}
The additional frequencies beyond the original Nyquist frequency stem from upsampling. If the input can be expressed analytically, such as modulated periodic signals that can be decomposed into simple sinusoids/exponentials, it is recommended to compute its magnitude analytically. This approach, though not always feasible, would be completely free from imaging.
\subsubsection{Better Interpolation}
Generally speaking, low--pass FIR filters cannot retain the exact magnitudes of the original samples. This is not considered as a major issue as it is likely that the digital seismogram at hand is already preprocessed via some band--pass filter.
Alternatively, other interpolations can be used. \citet{Lee1989} discussed a number of methods of different orders. The cubic spline interpolation \citep[see][\S~3.5]{Burden2011} is another better alternative to the linear interpolation.
\subsubsection{Time Integration with Algorithmic Damping}\label{sec:algo_damping}
It is widely accepted by the community that the presence of algorithmic damping (with proper amount properly distributed) is beneficial.
\add{Algorithmic damping can partially reduce spurious responses \citep[see, e.g.,][]{Maheo2011,Mirbagheri2015,Serfoezoe2024}. It is able to improve the quality of numerical results of simulations of structural dynamics and wave propagation problems. However, it is not effective when it comes to suppressing the spurious response discussed in this work. The following presents a brief discussion on this matter.}
For a specific time integration method, one can derive the corresponding numerical transfer function that approximates the theoretical one \eqsref{eq:analytical_transfer}. \citet{Preumont1982} presented an analysis of several time integration methods in the frequency domain and derived the corresponding transfer functions. \citet{AriasTrujillo2012} carried out similar research and benchmarked a number of different time integration algorithms. Relevant methodology is directly adopted in this work. One can plot the ratio between numerical and analytical transfer functions.% By choosing $\gamma>\num{0.5}$, algorithmic damping can be introduced.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Newmark_8_5}
\includegraphics{PIC/Newmark_10_5}
\includegraphics{PIC/Newmark_15_5}
\caption{ratio between numerical and analytical transfer functions ($\Delta{}t=\SI{0.005}{\second}$ and $\zeta=0.05$)}\label{fig:newmark_alg_damping}
\end{figure}
\figref{fig:newmark_alg_damping} shows the ratio between numerical ($\hat{h}_{NM}$, Newmark method) and theoretical ($\hat{h}$) transfer functions. As can be seen, with a proper set of parameters, high frequency responses (around resonance and onwards) can be suppressed by algorithmic damping. However, it is noticed that spurious responses could be several orders of magnitude larger than responses at low frequencies, especially for inertial forces, the roll--off rate of algorithmic damping is not great enough to sufficiently suppress spurious responses. One must be aware of the fact that the numerical integration error increases as $f\Delta{}t$ increases. Thus, results closer to the upsampled Nyquist frequency $Lf_s/2$ contain significant errors that may suppress high frequency responses in some cases, or amplify them in others. Time integration methods with better accuracy are always preferred.
%
%Also, noting that since the original signal is upsampled, the upsampling factor $L$ shall be taken into consideration. Given that $Lf_s\Delta{}t=1$, instead of $\Delta{}t/T_n$ where $T_n$ is the natural period of interest, one shall use $\Delta{}t/T_n/L$ to distinguish between `low' and `high' frequency regions as images reside between $f_s/2$ (Nyquist frequency of original signal) and $Lf_s/2$ (Nyquist frequency of upsampled signal).
The Newmark method only possesses a first--order accuracy when $\gamma>0.5$, other methods are more favourable. Among them, the GSSSS framework \citep{Zhou2003,Zhou2006} and the Bathe two--step method \citep{Noh2019}, representing two major categories, are recommended. They are second--order accurate and provide controllable algorithmic damping.
\subsection{A Revised Workflow}
Based on the above discussions, a revised workflow for response history analysis is proposed and summarised in \figref{fig:workflow}. Analysts are suggested to filter input seismograms before performing analyses and examine numerical results in the frequency domain.
\begin{figure}[htb!]
\centering\footnotesize
\tikzstyle{label}=[rectangle,rounded corners,minimum width=3cm,minimum height=1cm,text centered,draw=black,fill=gray!10]
\tikzstyle{exp}=[rectangle,rounded corners,minimum width=2cm,minimum height=1cm,text centered,draw=black,fill=gray!10]
\begin{tikzpicture}
\pgfdeclarelayer{background layer}
\pgfsetlayers{background layer,main}
\definecolor{RoyalBlue}{rgb}{0,.443,.737}
\node(original)[label]{original load record};
\node(extended)[label,below of=original,yshift=-1cm]{extend (zero--stuffed)};
\node(filter)[label,below of=extended,yshift=-1cm]{low--pass filter};
\node(oscillator)[label,below of=filter,yshift=-1cm]{dynamic system};
\node(system)[label,below of=oscillator,yshift=-1cm]{numerical results};
\draw[->](original)--(extended);
\draw[->](extended)--(filter);
\draw[->](filter)--(oscillator);
\draw[->](oscillator)--(system);
\node[xshift=4cm,right of=original,align=center]{either processed\\or unprocessed};
\node[xshift=4cm,right of=extended,align=center]{determine upsampling factor\\by system properties and\\original sampling rate};
\node[xshift=4cm,right of=filter,align=center]{design a filter for FIR\\using a proper window\\with desired attributes};
\node[xshift=4cm,right of=oscillator,align=center]{proper time integration\\method with potential\\algorithmic damping};
\node(dft)[xshift=4cm,right of=system,align=center]{examine frequency\\components via DFT\\further examine forces};
\node(p)[exp,xshift=-6cm,right of=original,align=center]{$\hat{p}$};
\node(pe)[exp,xshift=-6cm,right of=extended,align=center]{$\hat{p_e}$};
\node(g)[exp,xshift=-6cm,right of=filter,align=center]{$\hat{g}\cdot\hat{p_e}$};
\node(h)[exp,xshift=-6cm,right of=oscillator,align=center]{$\hat{h}\cdot\hat{g}\cdot\hat{p_e}$};
\node(f)[exp,xshift=-6cm,right of=system,align=center]{$\hat{u}$, $\hat{v}$, $\hat{a}$};
\draw[->](p)--(pe)node[midway,fill=RoyalBlue!20]{$[\uparrow{}L]$};
\draw[->](pe)--(g)node[midway,fill=RoyalBlue!20]{$\times\hat{g}$};
\draw[->](g)--(h)node[midway,fill=RoyalBlue!20]{$\times\hat{h}$};
\draw[->](h)--(f)node[midway,fill=RoyalBlue!20]{$\times\{1,i\omega,-\omega^2\}$};
\node(procedure)[above of=original]{procedure};
\node(note)[xshift=4cm,right of=procedure]{notes};
\node(freq)[xshift=-6cm,right of=procedure]{frequency domain};
\begin{pgfonlayer}{background layer}
\fill[yellow!20,draw=black,rounded corners=1mm]($(freq)+(-2.5,.75)$)rectangle($(dft)+(2.75,-1.25)$);
\fill[RoyalBlue!20,draw=black,rounded corners=1mm]($(freq)+(-2,.5)$)rectangle($(f)+(2,-1)$);
\fill[RoyalBlue!20,draw=black,rounded corners=1mm]($(procedure)+(-2,.5)$)rectangle($(system)+(2,-1)$);
\fill[RoyalBlue!20,draw=black,rounded corners=1mm]($(note)+(-2.25,.5)$)rectangle($(dft)+(2.25,-1)$);
\end{pgfonlayer}
\end{tikzpicture}
\caption{typical analysis flow with recommendations}\label{fig:workflow}
\end{figure}
\section{Numerical Examples}
\subsection{Improved SDOF Example}
\begin{figure}[htb!]
\centering
\includegraphics{PIC/Nuttall_Example}
\caption{damping/inertial force history and spectrum of the SDOF system (transient solution included) using Blackman--Nuttall window and the generalised-$\alpha$ time integration method with $\rho_\infty=0.5$}\label{fig:nuttall_example}
\end{figure}
\figref{fig:nuttall_example} presents the results of the same SDOF system described in \secref{sec:sdof_example} but with the Blackman--Nuttall window (see \figref{fig:nuttall_window}) and the generalised-$\alpha$ time integration method, while all other configurations remain unchanged.
It is evident that with better attenuations at imaging frequencies, the quality of numerical results is greatly improved, which allows more accurate and confident interpretation.
\subsection{A Cantilever Wall}
We present one more example of a cantilever wall under seismic load. The model, as well as the corresponding configurations, is depicted in \figref{fig:cantilever_model}.
\begin{figure}[htb!]
\centering\footnotesize
\begin{tikzpicture}
\begin{axis}[
width=8cm,height=5cm,
axis lines=middle,
xmin=20,
xmax=50,
ymin=-1,
ymax=1,
xlabel=time (s),
ylabel=amplitude,]
\addplot[line width=1pt,solid,color=blue]table{MODEL/FRAME/motion_time};
\end{axis}
\node at(4.5,.5){20110222\_015029\_MQZ\_N};
\begin{scope}[xshift=8.5cm]
\FixedSupport{.5,0}{2}
\FixedSupport[-90]{-1,1}{1}
\draw(0,0)rectangle(1,4);
\draw[|<->|](-.5,0)--++(0,1)node[midway,fill=white]{\SI{3}{\meter}};
\draw[|<->|](1.5,0)--++(0,4)node[midway,fill=white]{\SI{12}{\meter}};
\draw[|<->|](0,-.5)--++(1,0)node[midway,fill=white]{\SI{3}{\meter}};
\draw(1,.5)node[draw,fill=red,circle,inner sep=0,minimum size=4pt]{}node[left]{N2};
\draw(1,1.5)node[draw,fill=red,circle,inner sep=0,minimum size=4pt]{}node[left]{N4};
\draw(-1,1)node[draw,fill=white,circle,inner sep=0,minimum size=4pt]{}--++(1,0)node[draw,fill=white,circle,inner sep=0,minimum size=4pt]{}node[midway,above=2mm,rotate=90,anchor=west]{$EA=\SI{E3}{\giga\newton}$};
\node[align=left]at(4.5,2){\setstretch{1}thickness $t=\SI{200}{\milli\metre}$\\elastic modulus $E=\SI{30}{\giga\pascal}$\\Poisson's ratio $\nu=\num{0}$\\density $\rho=\SI{7.5}{\tonne\per\meter^3}$\\Newmark method\\stiffness proportional\\damping $a_1=0.002$};
\end{scope}
\end{tikzpicture}
\caption{a simple cantilever wall example}\label{fig:cantilever_model}
\end{figure}
The accelerogram is sampled at \SI{50}{\hertz}, while the time step size for numerical analysis is chosen to be \SI{4}{\milli\second}. This requires an upsampling factor of $L=5$. Two filter windows are used: 1) triangular window (linear interpolation) and 2) Blackman--Nuttall window. All other parameters are identical in two analyses.
\figref{fig:practical_example} shows the inertial force history of nodes 2 and 4. Due to the presence of the rigid link, the numerical model contains high frequency components, which mainly affect the lower part (below the rigid link) of the wall. The imaging frequencies caused by linear interpolation show significant contributions to the inertial force history at node 2. As a result, it exhibits a larger profile compared to its counterpart using the Blackman--Nuttall window. The response of the upper part (above rigid link) of the wall is mainly dominated by low frequency modes, causing a smaller profile, as can be seen in the inertial force history of node 4. Although it may appear difficult to determine which result is more accurate/reliable at first glance, from the aforementioned discussion, it can be confidently concluded that the response due to the filtered (via the Blackman--Nuttall window) ground motion is more reliable. According to Rayleigh’s energy theorem, compared to the linear interpolated version, the total energy represented by the filtered record is closer to that of the original record.
In general, it is not feasible to predict whether imaging frequencies would cause significant discrepancy in dynamic response of oscillating systems, let alone to quantitatively determine its magnitude, as it could be affected by many factors, including various properties of both input loads and the system. As a universal pre-processing protocol, it is thus recommended to \textbf{always} use a proper filter to filter the ground motion record before performing any response history analyses.
\begin{figure}[htb!]
\centering
\includegraphics{PIC/FrameExample_2}
\includegraphics{PIC/FrameExample_4}
\caption{inertial force history and spectrum Blackman--Nuttall window}\label{fig:practical_example}
\end{figure}