Next Article in Journal
Application of Optimized Adaptive Neuro-Fuzzy Inference for High Frame Rate Video Quality Assessment
Previous Article in Journal
Lightweight Anomaly-Based Detection Using Cuckoo Search Algorithm and Decision Tree to Mitigate Man-in-the-Middle Attacks in DNS
Previous Article in Special Issue
The Noise Exposure of Urban Rail Transit Drivers: Hazard Classification, Assessment, and Mitigation Strategies
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Dynamic Analysis and Efficient Numerical Algorithm for Rocking Response of Freestanding Packages Under Transportation Excitations

1
School of Electronic and Information Engineering, Lanzhou Jiaotong University, Lanzhou 730070, China
2
School of Taffic and Transportation, Lanzhou Jiaotong University, Lanzhou 730070, China
*
Author to whom correspondence should be addressed.
Appl. Sci. 2025, 15(9), 5015; https://doi.org/10.3390/app15095015
Submission received: 26 March 2025 / Revised: 22 April 2025 / Accepted: 29 April 2025 / Published: 30 April 2025
(This article belongs to the Special Issue Noise and Vibration Hazards from Transportation Systems)

Abstract

:
The transportation of freestanding packages, such as steel coils and prefabricated building components, poses significant safety challenges due to their susceptibility to dynamic responses like rocking, sliding, and overturning under vehicle acceleration. This study focuses on the critical rocking motion, which can lead to catastrophic accidents if the rocking angle exceeds a critical threshold. The package is modeled as a rigid block on a moving base, and its motion states, including static equilibrium, bouncing, rocking, and detachment, are analytically determined, with specific conditions identified for each state. A novel numerical algorithm, combining a time transformation method with the Runge–Kutta method, is proposed to efficiently determine collision time instants and analyze the piecewise-smooth rocking response. This approach partitions the solution into smooth intervals between impacts, significantly improving computational efficiency while maintaining accuracy. Experimental validation under sinusoidal and numerical analysis with random excitations confirms the algorithm’s effectiveness in predicting rocking behavior. The results highlight the importance of the slenderness ratio and restitution coefficient in governing motion states and demonstrate the algorithm’s superiority over traditional methods in terms of precision and efficiency. This work provides a robust framework for assessing transportation safety and optimizing package design, with implications for reducing overturning risks in practical scenarios.

1. Introduction

Economic development necessitates and promotes the growth of cargo transportation. In practice, there are many large-sized products and packages, such as steel coils, prefabricated building components, and electromechanical devices. Due to constraints related to loading and unloading time, transportation space, and transportation costs, these packages often cannot be secured using fastener measures and are referred to as freestanding packages. During transportation, freestanding packages may exhibit various dynamic responses, including rocking, sliding, and jumping, in reaction to vehicle acceleration. Among these responses, rocking motion is particularly critical for transportation safety. If the rocking angle of a package exceeds a critical threshold, it may overturn, potentially leading to severe traffic accidents. Therefore, it is essential to determine the dynamic response states, analyze the rocking behavior, and assess the overturning risks of freestanding packages.
The package is simplified and modeled as a rigid block, and the safety requirements for package transportation have prompted extensive research into determining motion states and analyzing the rocking motion of rigid blocks on moving bases. The possible motion states of a rigid block on a moving base have been analytically determined in [1]. Among these states, rocking and overturning are particularly detrimental to transportation safety. Considering the resurrection phenomenon and the weaving behavior of the rocking Incremental Dynamic Analysis (IDA) curve, the IDA method [2,3] was refined and applied to evaluate the rocking behavior and overturning probability of freestanding rigid blocks [4]. In [5], numerical analysis was conducted to assess the statistical distribution and overturning probability of freestanding rigid blocks, revealing that the peak ground velocity is the most effective ground motion intensity measure for predicting rocking behavior. Similarly, in [6], various ground motion intensity measures were tested by fitting power-law models to evaluate their effectiveness in predicting rocking response characteristics and overturning risks. Kazantzi et al. [7] proposed a set of I-θ-p equations derived through nonlinear regression to predict rocking response characteristics, which can be used to assess the overturning risks of freestanding blocks under seismic excitation.
Although the rocking block structure is simple, its response is piecewise smooth and involves impacts, leading to complex dynamic phenomena. Studies [8,9] have revealed phenomena such as symmetric and asymmetric periodic responses, branching points, and chaotic motions in rigid block responses under harmonic excitation. To enhance the stability of rocking rigid blocks, several devices have been designed and implemented, including tuned mass dampers [10], pendulum absorbers [11], and moving compliant bases [12]. In [13], machine learning is utilized to predict the maximum seismic response of free-standing rigid blocks subjected to ground motion excitations. Large-amplitude shock waves during earthquakes or vehicle transportation pose significant risks to the rocking safety of freestanding rigid blocks. The rocking response and overturning fragility of such blocks have been extensively analyzed in [14,15]. However, the analytical methods for predicting rocking responses are only valid for slender blocks (α ≤ 15°). For non-slender blocks (α > 15°), extensive numerical analysis is required to accurately determine rocking responses and overturning risks, making the process inefficient. Moreover, numerical analysis often fails to reveal the intrinsic relationships between block properties, excitation parameters, and rocking response characteristics.
The computational demands of numerical analysis for freestanding package rocking responses can be mitigated by adopting soft computing techniques. For instance, artificial neural networks have been employed to model the relationship between excitation and rocking response [16]. In [17], supervised machine learning methods were proposed to classify and predict rocking responses under various ground motion properties. While these models can efficiently predict rocking responses and overturning risks, their accuracy depends on large amounts of training data obtained from traditional numerical simulations or equivalent model analyses [18,19], which are computationally intensive and time consuming. Therefore, there is a need to develop an efficient method for analyzing the rocking response of freestanding packages. Such a method could provide the necessary training data for formulating intelligent models, thereby improving computational efficiency and analytical insights.
In this study, the freestanding package is simplified and modeled as a rigid block placed on a moving base. The possible motion states under various conditions are analyzed and determined, and the specific conditions leading to each motion state are explicitly identified. Furthermore, an efficient algorithm for analyzing rocking response is proposed, incorporating a time transformation method. Compared with the conventional fourth-order Runge–Kutta method with event detection, the proposed algorithm enables the accurate determination of package collision time instants while employing larger time intervals. This approach significantly improves computational efficiency in evaluating rocking responses and overturning risks of freestanding packages while maintaining satisfactory analysis accuracy. The proposed algorithm enables the comprehensive analysis of rocking responses for freestanding packages across diverse parameters and excitation conditions. This computational approach generates extensive training datasets, which can subsequently be utilized to develop machine learning models for predicting package rocking behavior and assessing overturning risks.

2. Motion States of Freestanding Package

During the transportation of freestanding packages, vehicle horizontal acceleration u ¨ g is potentially induced by vehicle braking, speed variations, and train marshalling. This excitation may cause the package to rock or slide on the base. Additionally, impacts between the bottom of the package and the vehicle during rocking can lead to the package jumping. The motion states and parameter definitions of a freestanding package under horizontal acceleration are illustrated in Figure 1. Here, 2h and 2b represent the height and width of the package, respectively, m denotes the package mass, and α is the slenderness angle of the package, where tanα = b/h. The state of the package is described by the vector q = [yh,yv,θ]T, where yh and yv are the horizontal and vertical displacements of the package, and θ is its rotation angle. The corresponding normal displacements of points 1 and 2 are denoted by gN1 and gN2. The interaction between the package and the vehicle can be modeled as a multibody motion problem with unilateral contact. The motion equations of rocking package can be derived using the Newton–Euler equations:
M q ¨ f C , K , u ¨ g ( t ) W N λ N W T λ T = 0
Here, u ¨ g represents the vehicle acceleration, while M, C, and K denote the mass, damping, and stiffness matrices of the package–vehicle impact system, respectively. The vector f includes external forces, damping forces, and elastic forces. WN and WT are direction matrices of contact force and constraint in the normal and tangential directions, respectively. λN and λT represent the normal and tangential contact force vectors of the impact system. For the package–vehicle impact system illustrated in Figure 1, the matrices and vectors in Equation (1) are defined as follows:
M = m 0 0 0 m 0 0 0 I G ,   f = m u ¨ g ( t ) m g 0 ,   W N = 0 0 1 1 b b ,   W T = 1 0 h
where IG is moment of inertia of the package about the center of gravity, IG = (1/3)mR2, and R2 = h2 + b2.
Denoting the time instants immediately before and after the impact as t and t+, respectively, Equation (1) is integrated over the time interval [t,t+]. During the integration of Equation (1) over the infinitesimal time interval [t, t⁺], we consider only the impulsive forces as contributing to the impact dynamics, in accordance with standard impact theory. Vector f only contains the non-impulsive forces; then, the impulses are simply the time integrals of contact forces λN and λT. Therefore, we obtain
lim t + t t t + f ( C , K , u ¨ g ) d t = 0 ,   lim t + t t t + λ N d t = Λ N ,   lim t + t t t + λ T d t = Λ T
From the integration of Equation (1), we obtain:
q ˙ + q ˙ = M 1 W N Λ N + M 1 W T Λ T
Multiplying Equation (4) by the matrices WNT and WTT, where the superscript T denotes the matrix transpose, letting g ˙ N = W N T q ˙ and g ˙ T = W T T q ˙ represent the normal and tangential velocities of the package relative to the vehicle base after the impact, respectively, we obtain:
g ˙ N + g ˙ N = G N N Λ N + G N T Λ T g ˙ T + g ˙ T = G T N Λ N + G T T Λ T
where
G N N = W N T M 1 W N , G N T = W N T M 1 W T G T N = W T T M 1 W N , G T T = W T T M 1 W T
In package transportation, ensuring transport safety requires measures to prevent cargo sliding in vehicles. Common measures include applying high-friction materials between packages and vehicle surfaces and installing anti-sliding barriers or blocks to restrict displacement. Therefore, assuming the friction coefficient between the package and the vehicle is sufficiently large to prevent sliding motion, we have g ˙ T = 0 . From Equation (3), we can derive Equation (7):
Λ T = G T T 1 G T N Λ N
Here, the Newton contact law is employed to characterize the velocity variation of package impact point: g ˙ N + = ε N g ˙ N , where g ˙ N + and g ˙ N represent the normal velocities of the package impact point after and before the impact, respectively, and εN is the restitution coefficient, ranging from 0 (fully plastic impact) to 1 (fully elastic impact). Defining the velocity jump at the package impact point, we obtain:
v N = g ˙ N + + ε N g ˙ N
Combining Equations (6)–(8), we obtain:
v N = ( G N N G N T G T T 1 G T N ) Λ N + ( E + ε N ) g ˙ N
E is the identity matrix.
When package sliding is considered, additional potential motion states emerge during transportation. In Equation (5), g ˙ T 0 , and thus, Equation (7) no longer holds. To fully characterize the system dynamics, the relationship between tangential and normal motion must be derived. This analysis will enable the determination of possible complex motion states, presenting an interesting direction for future research.
As illustrated in Figure 1, the package and vehicle collide at either point 1 or point 2. At the rotating pivot point of the package, because the package maintains contact with the vehicle, therefore, the velocity jump at the pivot point vNi = 0, the normal impulse force at this point ΛNi > 0, and the following condition holds:
v N i = g ˙ N i + + ε N g ˙ N i = 0 Λ N i 0 i = 1 , 2
On the other hand, if the package and vehicle collide at either point 1 or point 2, because the package loses contact from the vehicle at this point, therefore, the velocity jump at this point vNi > 0, the normal impulse force at this point ΛNi = 0, and the following condition is satisfied:
v N i = g ˙ N i + + ε N g ˙ N i = g ˙ N i + > 0 Λ N i = 0 i = 1 , 2
Equations (10) and (11) can be concluded as:
v N 0 , Λ N 0 , v N Λ N = 0
where vN = [vN1, vN2] and ΛN = [ΛN1, ΛN2]T.
The freestanding package is placed on a moving vehicle and subjected to horizontal acceleration u ¨ g , and the package begins to rotate around pivot point 1, assuming that the friction at point 1 is sufficient to prevent sliding motion. At the time instant t, the package collides with the vehicle at point 2, leading to the following condition:
g N 1 = g ˙ N 1 = 0 ,   g N 2 = 0 ,   g ˙ N 2 = 2 b θ ˙
Here, θ ˙ represents the angular velocity of package about point 1 at time instant t. After the collision, the possible package motion states are shown in Figure 2.

2.1. Point 1 Remains in Contact with Vehicle

After the package collides with the vehicle at point 2, if point 1 maintains contact with the vehicle, two potential cases arise:
Case 1: g ˙ N 1 + = 0 , if εN2 = 0; then, g ˙ N 2 + = 0 , and the package keeps still after collision;
Case 2: g ˙ N 1 + = 0 , if εN2 > 0; then, g ˙ N 2 + > 0 , and the package bounces and rocks around pivot point 1.
These two cases are shown in Figure 2. Using Equations (8) and (9), we define velocity jump at points 1 and 2 in the vertical direction:
v N 1 = g ˙ N 1 + + ε N 1 g ˙ N 1 = g ˙ N 1 + = 0 v N 2 = g ˙ N 2 + + ε N 2 g ˙ N 2 = ε N 2 g ˙ N 2 + ε N 2 g ˙ N 2 = 0
From Equation (14), vector vN = [vN1,vN2]T = 0, and by substituting vector vN into Equation (9), we obtain:
Λ N 1 = m g ˙ N 2 ( 1 + ε N 2 ) 1 3 sin 2 α 1 2 Λ N 2 = m g ˙ N 2 ( 1 + ε N 2 ) 1 3 sin 2 α
By substituting Equation (15) into Equation (7), the tangential force induced by collision at point 1 can be obtained:
Λ T 1 = 1 2 ( 1 + ε N 2 ) cot α
Therefore, if point 1 maintains contact with the vehicle after the collision, the friction force generated by the material between the package and the vehicle must exceed the tangential force ΛT1 to prevent the package from sliding on the vehicle, which could compromise transportation safety. Based on Equations (12) and (15), we can conclude that if
h b 1 2
then the package either remains stationary or rebounds around point 1 after colliding with the vehicle at point 2.

2.2. Package Rocks Around Point 2 or Detaches from Point 2

After the package collides with the vehicle at point 2, if point 1 detaches from the vehicle, there are two potential cases:
Case 1: g ˙ N 1 + > 0 , if εN2 = 0; then, g ˙ N 2 + = 0 , and the package rocks around point 2 after collision.
Case 2: g ˙ N 1 + > 0 , if εN2 > 0; then, g ˙ N 2 + > 0 , and the package detaches from the vehicle at point 1 and point 2.
These two cases are shown in Figure 2, and the velocity jumps in the vertical direction at points 1 and 2 are:
v N 1 = g ˙ N 1 + + ε N 1 g ˙ N 1 = g ˙ N 1 + > 0 v N 2 = g ˙ N 2 + + ε N 2 g ˙ N 2 = 0
In these two cases, since ΛN1 = 0, by substituting Equation (18) into Equation (9) and considering Equation (12), we obtain:
Λ N 2 = m g ˙ N 2 ( 1 + ε N 2 ) 3 sin 2 α 4 1 g ˙ N 1 + g ˙ N 2 = ( 1 + ε N 2 ) 3 sin 2 α 2 1
By substituting Equation (19) into Equation (7), the tangential force at point 2, ΛN2, can be determined when the package rocks around point 2:
Λ T 2 = 3 8 m g ˙ N 2 ( 1 + ε N 2 ) sin ( 2 α )
Therefore, to prevent the package from sliding, the friction force generated by the material between the rocking package and the vehicle must exceed ΛT2.
After the package collides with the vehicle, if the package rocks around point 2 or detaches from the vehicle, g ˙ N 1 + > 0 . From this, we can derive the necessary condition for the occurrence of these two scenarios:
h b 1 2

3. Determining Collision Time Instants in Package Rocking Process

If a freestanding package rocks under the excitation of vehicle acceleration, overturning occurs when the rocking angle exceeds slenderness angle α. This can lead to catastrophic accidents, making the analysis of rocking response and overturning risks essential. The freestanding package may rock around pivot point 1 or 2, and the governing equation of its rocking motion is:
θ ¨ ( t ) = p 2 ( sin ( α sgn ( θ ( t ) ) θ ( t ) ) + u ¨ g ( t ) cos ( α )
If the package rocks around point 2, sgn(⋅) = 1; if it rocks around point 1, sgn(⋅) = −1. The frequency of the package’s rocking motion is denoted by p, where p = m g R / I O . Here, IO represents the moment of inertia about point 1 or 2, given by IO = (4/3) mR2. During the rocking process, a collision between the package and the vehicle occurs when θ(t) = 0. In this case, the Newtonian contact law is applied to characterize the velocity jump of the package:
θ ˙ ( t f + ) = ε θ ˙ ( t f )
Here, tf denotes the collision time instant, where the superscripts + and − represent the states immediately after and before the collision, respectively. The restitution coefficient can be determined based on the conservation of angular momentum:
ε = 1 3 2 sin 2 α
The rocking response of the package can be determined by analyzing Equations (22) and (23). Since the rocking motion of the package is piecewise smooth and involves impacts, obtaining a closed-form solution to Equation (22) is challenging. For slender rocking blocks (where α < 15°), the governing equation of the rocking motion can be linearized, allowing the rocking response to be approximated analytically. This approach is applicable in scenarios involving slender rocking blocks, such as bridge piers or slender statues.
For non-slender blocks, Prieto et al. [18] proposed a Dirac-delta force model to simplify the analysis of the governing differential equation. In [19], the rocking response of the block was analyzed using an equivalent single-degree-of-freedom oscillator model. Additionally, in [20,21], the authors introduced an approximate method for solving nonlinear rocking motion. However, the formulation of the approximate solution is complex, making its application to the analysis of package rocking and overturning impractical.
The efficiency of analyzing the rocking motion of non-slender packages largely depends on the accurate determination of collision time instants tf. Once tf is identified, the rocking motion between collision instants becomes smooth and can be efficiently analyzed using numerical methods. In this study, we employ a time transformation method combined with the Runge–Kutta method to propose a novel approach for determining the collision time instants tf. This significantly improves the efficiency of analyzing the rocking response of the package.
As illustrated in Figure 1, the package may rock around either point 1 or point 2. Based on Equations (22) and (23), the rocking motion of the package can be modeled as a discontinuous system with state jumps. By defining the rocking state vector x = [ θ , θ ˙ , t ] T and the function f, the system dynamics can be described as follows:
f = θ ˙ p 2 sin ( α sgn ( θ ( t ) ) θ ( t ) ) + u ¨ g ( t ) cos ( α 1
The governing equation of the package rocking motion can be rewritten as:
d x ( t ) d t = f ( x ( t ) ) = f α ( x ( t ) ) , ψ ( x ) < 0 f β ( x ( t ) ) , ψ ( x ) > 0
In Equation (26), if sgn(θ(t)) = −1, f = fα, and if sgn(θ(t)) = 1, f = fβ. From the definition of function f in Equation (25), fα and fβ are smooth functions. The initial state of x is x(0) = x0. From Equation (26), it can be observed that the rocking package constitutes a piecewise-smooth dynamical system [22]. For the package rocking problem, ψ(x) can be written as:
ψ ( x ) = [ 1 , 0 , 0 ] [ θ , θ ˙ , t ] T = θ
where the dot · indicates the vector product. Assuming the function of initial state ψ(x(0)) = −H < 0, we reduce Equation (26):
d x ( t ) d t = f α ( x ( t ) ) ψ ( x ) < 0 x ( 0 ) = x 0
Beyond the package rocking problem, determining boundary time instants tf that satisfy the condition ψ(x(tf)) = 0 is crucial in many engineering applications. Del Buono et al. [23] proposed a numerical procedure based on the Adams–Bashforth method, which determines tf unidirectionally in finite steps for Equation (28). In [24], potential conditions of midpoint distribution were considered, and a subdiagonal explicit Runge–Kutta method was employed to determine tf unidirectionally.
In this study, we adopt the time transformation method combined with the Runge–Kutta method to propose a numerical approach for determining the time instants tf at which the rocking package collides with the vehicle. Once tf is determined, the rocking response of the package can be efficiently simulated, as the motion within each time interval defined by tf is smooth.
From Equation (27), function ψ can be considered as a hyperplane in x space:
ψ(x) = dx + e
where d = [1,0,0] and e = [0,0,0]. Since the package rocks smoothly between impact time instants tfi, therefore, function ψ defined in Equation (29) is monotonic and differentiable when t ∈ [tfi, tfi+1], tfi is the ith impact time instant, i = 0, 1, 2, …, and t0 = 0. The following time transformation is formulated
s = ψ(x(t)) t = α(s)
Here, we analyze the time instants tf at which the function fα reaches the boundary defined by ψ(x) = 0. Instead of using the variable t, we introduce the variable s. For t ∈ [0, tf], s ∈ [−H, 0]. Based on the transformation in Equation (30), Equation (28) can be rewritten as:
d x d s = g ( x ) = f α ( x ) ψ x ( x ) f α ( x ) H s 0 x ( H ) = x 0
Here, ψx(x) = ∂ψ(x)/∂x. In this study, based on the time transformation in Equation (30), we utilize Equation (31) to analyze tf instead of Equation (28). Equivalently, the trajectory x(s, x0) in the s-domain, where s ∈ [−H, 0], is used to simulate the package rocking motion, replacing the trajectory x(t, x0) in the time domain, where t ∈ [0, tf]. By employing this time transformation, tf can be determined efficiently. Let s(−H) = s0 and xgen = [x s]T; Equation (31) can be rewritten as:
d x g e n d s = x s = g ( x ) 1 H s 0 x g e n ( H ) = x 0 s 0
The solution to Equation (31) can be obtained numerically using the Runge–Kutta method:
x k + 1 = x k + σ i = 1 p b i g ( y i ) y 1 = x k , y i = x k + σ j = 1 i 1 a i , j g ( y k + j ) , i = 2 , p
where σ is the step size, and Σbi = 1, 0 ≤ ∑ai,j ≤ 1. Similarly, the solution to Equation (32) can be obtained numerically by:
x k + 1 s k + 1 = x k s k + σ i = 1 p b i g ( y i ) i = 1 p b i
Here, yi is defined by Equation (33). Assuming xk+1 lies on the boundary of the function fα, i.e., ψ(xk+1) = 0, substituting xk+1 into Equation (29) yields:
ψ ( x k + 1 ) = d x k + 1 + e = d x k + e + d σ i = 1 p b i g ( y i ) = ψ ( x k ) + d σ i = 1 p b i g ( y i ) = 0
From Equation (29), ψx(x) = d, d·g(x) = ψx(x)g(x) = 1; therefore, Equation (35) can be rewritten as:
ψ ( x k + 1 ) = ψ ( x k ) + d σ i = 1 p b i g ( y i ) = ψ ( x k ) + σ i = 1 p b i = 0
Based on Equation (34), if xk+1 locates on the boundary of function fα, we obtain:
s k + 1 = s k + σ i = 1 p b i = ψ ( x k ) + σ i = 1 p b i = 0
From Equation (34) to (37), we can conclude that the boundary time instants tf of the piecewise-smooth function (26) can be determined through the time transformation (30). If a time instant tf satisfies the condition s(tf) = 0, then the corresponding response state x(tf) reaches the boundary of the function f, i.e., ψ(x(tf)) = 0.

4. Rocking Response Analysis of Freestanding Package

4.1. Numerical Analysis Algorithm for the Rocking Response

Based on the analysis in Section 3, the collision time instant tf of the rocking package can be determined using the time transformation method. The collision time instant satisfies the condition s(tf) = 0, where s = ψ(x(t)). Utilizing this principle, the numerical analysis algorithm for the rocking response of a freestanding package can be formulated as follows.
Step 1. Formulate differential equation:
d x ( t ) d t = f ( x ( t ) ) x ( 0 ) = x 0
The function f is defined by Equation (25), and x(0) represents the initial state of the freestanding package. The Runge–Kutta method is employed to analyze the rocking response. The time instant tk before the package collision is determined by the condition ψ(x(tk))ψ(x(tk+1)) < 0, where ψ is given by Equation (29).
Step 2. Perform time transformation t = α(s) on the time interval [tk, tf]: map interval [s0, 0] to [tk, tf], i.e., tk = α(s0) and tf = α(0). Let y(s) = x(α(s)); then y(s0) = x(tf).
If ψ(x(tk)) < 0, set s = ψ(x); the initial state is determined by s0 = ψ(x(tk)), and the function Ψ is formulated as Ψ(y(s)) = ψx(y(s))f(y(s)).
If ψ(x(tk))>0, set s = −ψ(x); the initial state is determined by s0 = −ψ(x(tk)), and the function Ψ is formulated as Ψ(y(s)) = −ψx(y(s))f(y(s)).
Formulate differential equation:
y ( s ) α ( s ) = 1 Ψ ( y ( s ) ) f ( y ( s ) ) 1 , s [ s 0 , 0 ]
Step 3. Apply the single-step Runge–Kutta method to Equation (39); the collision time instant tf is obtained as tf = α(0). The motion state of the rocking package before the collision is given by x(tf) = y(0). Within the time interval [0, tf], the smooth rocking response of the freestanding package can be determined using the Runge–Kutta method.
Step 4. Update the rocking motion equation: replace the rocking motion equation fα with fβ, or replace fβ with fα; reset the time instant tf to 0, and update the initial state of the rocking package as x0 = Γx(tf).
Step 5. Iterate Steps 1 to 4 until the rocking package overturns or the response decays to a stationary state.
The flowchart of the algorithm is shown in Figure 3.

4.2. Error of the Algorithm

Based on the formulated algorithm, the determination of the package collision time instant tf can be divided into two steps:
Step 1. Analyze the rocking response in the time interval [0, tk]:
In the time interval [0, tk], a p-order Runge–Kutta method is employed to analyze the rocking response of the freestanding package, with a time step size of σ1.
Step 2. Perform time transformation and analyze the rocking response in the time interval [tk, tf]:
In the time interval [tk, tf], the time transformation t = α(s) is applied. Within the s-interval [s0, 0], a single-step q-order Runge–Kutta method is used to analyze the package rocking response and determine the collision time instant tf. The step size for the variable s is σ2.
In Step 1, we assume the time instant before the package collision is t ¯ k , and the corresponding rocking state of the package is x ¯ k . Based on the error analysis of the Runge–Kutta method, the error in Step 1 can be expressed as:
x ¯ k x k = O ( σ 1 p + 1 ) t ¯ k t k = O ( σ 1 p + 1 )
In Step 2, we assume x* is the solution of differential equation
( x * ) ( t ) = f ( x * ( t ) ) , t t k x * ( t k ) = x k
Assuming tf* is boundary of Equation (41) and considering the condition ψ(x*(tf*)) = 0, based on Equation (39), the error in Step 2 can be expressed as:
y ( s 0 ) x * ( t f * ) = y ( s 0 ) x * ( α ( 0 ) ) = O ( s 0 q + 1 ) α ( s 0 ) t f * = α ( s 0 ) α ( 0 ) = O ( s 0 q + 1 )
By considering Equations (40)–(42), the analysis errors of the collision time instant and the collision condition, resulting from the algorithm proposed in this study, can be expressed as:
y α s = 0 x ( t f ) t f = O ( σ 1 p + 1 ) + O ( s 0 q + 1 )
From Equation (43), the analysis errors of the algorithm proposed in this study are primarily influenced by the time step σ1. Reducing σ1 not only decreases the analysis error in Step 1 but also reduces |s0|, thereby minimizing the analysis error in Step 2. Additionally, the orders p and q of the Runge–Kutta method also significantly affect the overall analysis error of the proposed algorithm.
In this paper, standard fourth-order Runge–Kutta method is adopted, i.e., p = q = 4; the second- and third-order methods are also adopted for comparison.

5. Example

To validate the rocking analysis method proposed in this study, we conducted an experiment on a rocking package excited by sinusoidal base acceleration. Additionally, numerical analysis of the package rocking response under random load excitation was performed. The experimental and numerical results were then compared with the response predicted by the algorithm proposed in this paper.
An experimental system was designed to record the response of the rocking package, as illustrated in Figure 4. The system consists of a vibration exciter, a test table, a vibration controller, a rocking block, an acceleration data acquisition system, a high-speed camera, and other components. The vibration exciter is rotated and connected to the test table, while control parameters are set on the vibration controller to ensure that the block on the table is subjected to horizontal vibration with the desired characteristics. The block simulates the freestanding package, and the excitation acceleration on the test table is measured with an accelerometer and recorded by a computer through the acceleration data acquisition system. The high-speed camera is adjusted so that the axis of the camera lens is perpendicular to the plane of the block and passes through its centroid. The rocking motion of the package is recorded with the camera, and the rocking angle at each time instant is determined. The vibration controller is configured to apply sinusoidal excitation to the test table. Considering the transition of the excitation from the initial state to the sinusoidal state, the acceleration of the test table is expressed as:
u ¨ g ( t ) = A 0 1 e β t sin ω t
The parameters of the excitation acceleration and the block are provided in Table 1. The acceleration of the test table is shown in Figure 5a. The algorithm proposed in this study, based on time transformation, is applied to analyze the rocking response of the block. The rocking response predicted by the algorithm is shown in Figure 5b, alongside the recorded rocking response obtained from the high-speed camera. From the results, it can be concluded that the proposed algorithm accurately analyzes the rocking response of the freestanding package.
In addition to sinusoidal excitation, random vibration is applied to the rocking block to further validate the proposed algorithm. The recorded random acceleration of the vehicle during transportation is shown in Figure 6a. The algorithm proposed in this study is employed to predict the rocking response, with the time step σ1 set to 0.01 s. The resulting rocking response of the block is presented in Figure 6b. From the response, it is observed that the block begins to rock at t = 5.023 s. After 15 impacts between the rocking block and the vehicle, the rocking response becomes negligible. For comparison, the second-, third-, and fourth-order Runge–Kutta methods (with a time step σ = 0.001 s) are also used to analyze the rocking response under random vibration. The rocking response simulated by the Runge–Kutta method is convergent, the simulation error is O(σp+1), and p is the order of the Runge–Kutta method. The response obtained from the Runge–Kutta method is included in Figure 6b. The results demonstrate that the algorithm proposed in this study provides accurate predictions of the rocking response excited by random vibration.
To evaluate the accuracy and computational efficiency of the proposed method, we conducted 1000 numerical simulations of package rocking dynamics under random loading, using a time step of σ1 = 0.01 s. For comparison, the second-, third-, and fourth-order Runge–Kutta methods were also employed, using the time step σ = 0.001 s. Table 2 summarizes the computational runtimes and the mean squared errors (MSEs) relative to the benchmark results obtained via the fourth-order Runge–Kutta method with a refined time step (σ = 0.0001 s). As evidenced in Figure 6b and Table 2, the prediction error of the rocking response decreases with increasing order of the Runge–Kutta method, while the computational runtime exhibits a corresponding increase. Notably, the proposed algorithm achieves comparable accuracy in predicting package rocking responses while significantly reducing the computational time compared to higher-order Runge–Kutta methods.
Compared with the Runge–Kutta method and the equivalent model method, the freestanding package rocking response analysis method proposed in this study offers several advantages. It enables the determination of the exact time instant at which the package impacts the vehicle and identifies the smooth rocking response intervals. As a result, the analysis efficiency is significantly improved while maintaining good accuracy.

6. Conclusions

Under horizontal acceleration excitation in vehicles, we have analyzed the potential motion states of freestanding packages and established the conditions governing each state. Among these, particular attention has been given to the rocking response due to its critical importance for transportation safety. The key findings of this study are:
(1)
Motion state analysis: Following the initiation of rocking motion and subsequent package–vehicle impact, four distinct motion states are possible: static equilibrium, bouncing, rocking, and detachment. The governing factors for these states are the ratio h/b and the restitution coefficient εN at the impact point. A tangential force ΛT develops at the pivot point, necessitating that the interfacial friction force exceeds ΛT to prevent package sliding.
(2)
Numerical algorithm development: We have developed an efficient solution for the piecewise-smooth differential Equation (26) by modeling the boundary as a hyperplane in state space x and implementing a time transformation method (s = ψ(x(t)), t = α(s)). The algorithm precisely determines impact time instants tf when s(tf) = 0, corresponding to boundary crossings in Equation (26). This approach partitions the solution into smooth rocking intervals between impacts, significantly improving computational efficiency while maintaining accuracy.
(3)
Error analysis: The accuracy of the proposed algorithm is primarily governed by the time step σ1 and order p of the Runge–Kutta method in [0, tk], as well as time step σ2 and order q of the single-step Runge–Kutta method in [tk, tf]. The dominant factor σ1 enables effective error control through appropriate step size selection.
The proposed method offers substantial improvements over conventional Runge–Kutta and equivalent model approaches by precise determination of impact time instants, the identification of smooth response intervals, and enhanced computational efficiency while maintaining solution accuracy. This work provides a robust framework for analyzing freestanding package dynamics under some transportation conditions, with particular relevance for safety assessment and package design optimization. Future studies will utilize the proposed computational framework to systematically investigate the rocking dynamics of freestanding packages across a comprehensive parameter space, including varying geometric configurations and transportation-induced excitations. Through this parametric analysis, we will employ machine learning techniques to establish robust quantitative relationships between (1) package dimension parameters, (2) excitation spectra and intensity profiles, and (3) resultant rocking amplitude probability distributions. These data-driven correlations will facilitate the development of predictive safety metrics for evaluating package stability during transport, ultimately enabling optimized packaging design and risk mitigation strategies.

Author Contributions

Conceptualization, Z.Q. and D.Z.; methodology, Z.Q.; software, Z.Q. and D.Z.; validation, Z.Q. and D.Z.; formal analysis, D.Z.; investigation, Z.Q.; resources, D.Z.; data curation, D.Z.; writing—original draft preparation, Z.Q.; writing—review and editing, Z.Q.; visualization, Z.Q.; supervision, D.Z.; project administration, D.Z.; funding acquisition, D.Z. All authors have read and agreed to the published version of the manuscript.

Funding

This research was supported by the Gansu provincial Key Research and Development Project, under grant number 25YFGA048, and the National Natural Science Foundation of China, grant number 51765028.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data used to support the findings of this study are available from the corresponding author upon request. The data are not publicly available due to privacy.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Bao, Y.; Xu, Y.; Wu, B. Modeling and validation of three-dimensional sliding-rocking rigid block subjected to earthquake excitation. Earthq. Eng. Struct. Dyn. 2022, 51, 2858–2879. [Google Scholar] [CrossRef]
  2. Miari, M.; Jankowski, R. Incremental dynamic analysis and fragility assessment of buildings founded on different soil types experiencing structural pounding during earthquakes. Earthq. Struct. 2022, 252, 113118. [Google Scholar] [CrossRef]
  3. Li, X.; Zhou, Y.; Zhu, H. Multidimensional Seismic Fragility Study of Intake Towers Based on Incremental Dynamic Analysis. Buildings 2024, 14, 2943. [Google Scholar] [CrossRef]
  4. Lachanas, C.G.; Vamvatsikos, D. Rocking incremental dynamic analysis. Earthq. Eng. Struct. Dyn. 2022, 51, 688–703. [Google Scholar] [CrossRef]
  5. Sieber, M.; Vassiliou, M.F.; Anastasopoulos, I. Intensity measures, fragility analysis and dimensionality reduction of rocking under far-field ground motions. Earthq. Eng. Struct. Dyn. 2022, 51, 3639–3657. [Google Scholar] [CrossRef]
  6. Lachanas, C.G.; Vamvatsikos, D.; Dimitrakopoulos, E.G. Intensity measures as interfacing variables versus response proxies: The case of rigid rocking blocks. Earthq. Eng. Struct. Dyn. 2023, 52, 1722–1739. [Google Scholar] [CrossRef]
  7. Kazantzi, A.K.; Lachanas, C.G.; Vamvatsikos, D. Seismic response distribution expressions for rocking building contents under ordinary ground motions. Bull. Earthq. Eng. 2022, 20, 6659–6682. [Google Scholar] [CrossRef]
  8. Liu, Y.; Páez Chávez, J.; Brzeski, P.; Perlikowski, P. Dynamical response of a rocking rigid block. Chaos 2021, 31, 073136. [Google Scholar] [CrossRef]
  9. Jiang, J.; Du, Z. Heteroclinic bifurcation in a quasi-periodically excited rigid rocking block with two frequencies. Soil. Dyn. Earthq. Eng. 2023, 165, 107677. [Google Scholar] [CrossRef]
  10. Brzeski, P.; Kapitaniak, T.; Perlikowski, P. The use of tuned mass absorber to prevent overturning of the rigid block during earthquake. Int. J. Struct. Stab. Dyn. 2016, 16, 1550075. [Google Scholar] [CrossRef]
  11. Di Egidio, A.; Alaggio, R.; Aloisio, A.; de Leo, A.M.; Contento, A.; Tursini, M. Analytical and experimental investigation into the effectiveness of a pendulum dynamic absorber to protect rigid blocks from overturning. Int. J. Non-Linear Mech. 2019, 115, 1–10. [Google Scholar] [CrossRef]
  12. Frost, P.; Cacciola, P. Rocking of rigid blocks standing on a horizontally-moving compliant base. Int. J. Non-Linear Mech. 2023, 153, 104416. [Google Scholar] [CrossRef]
  13. Karampinis, I.; Bantilas, K.E.; Kavvadias, I.E. Machine learning algorithms for the prediction of the seismic response of rigid rocking blocks. Appl. Sci. 2023, 14, 341. [Google Scholar] [CrossRef]
  14. Makris, N. A half-century of rocking isolation. Earthq. Struct. 2014, 7, 1187–1221. [Google Scholar] [CrossRef]
  15. Dimitrakopoulos, E.G.; Fung, E.D.W. Closed-form rocking overturning conditions for a family of pulse ground motions. Proc. R. Soc. A Math. Phys. Eng. Sci. 2016, 472, 20160662. [Google Scholar] [CrossRef]
  16. Banimahd, S.A.; Giouvanidis, A.I.; Karimzadeh, S.; Lourenço, P.B. A multi-level approach to predict the seismic response of rigid rocking structures using artificial neural networks. Earthq. Eng. Struct. Dyn. 2024, 53, 2185–2208. [Google Scholar] [CrossRef]
  17. Achmet, Z.; Diamantopoulos, S.; Fragiadakis, M. Rapid seismic response prediction of rocking blocks using machine learning. Bull. Earthq. Eng. 2024, 22, 3471–3489. [Google Scholar] [CrossRef]
  18. Prieto, F.; Lourenço, P.B.; Oliveira, C.S. Impulsive Dirac-delta forces in the rocking motion. Earthq. Eng. Struct. Dyn. 2004, 33, 839–857. [Google Scholar] [CrossRef]
  19. Diamantopoulos, S.; Fragiadakis, M. Seismic response assessment of rocking systems using single degree-of-freedom oscillators. Earthq. Eng. Struct. Dyn. 2019, 48, 689–708. [Google Scholar] [CrossRef]
  20. Salas, A.H.; Abu Hammad, M.; Alotaibi, B.M.; El-Sherif, L.S.; El-Tantawy, S.A. Closed-form solutions to a forced damped rotational pendulum oscillator. Mathematics 2022, 10, 4000. [Google Scholar] [CrossRef]
  21. Alyousef, H.A.; Salas, A.H.; Alharthi, M.R.; El-Tantawy, S.A. Galerkin method, ansatz method, and He’s frequency formulation for modeling the forced damped parametric driven pendulum oscillators. J. Low Freq. Noise Vib. Act. Control 2022, 41, 1426–1445. [Google Scholar] [CrossRef]
  22. di Bernardo, M.; Budd, C.J.; Champneys, A.R.; Kowalczyk, P. Piecewise-Smooth Dynamical Systems: Theory and Applications; Springer-Verlag London, Ltd.: London, UK, 2008; pp. 71–82. [Google Scholar]
  23. Del Buono, N.; Lopez, L. Direct event location techniques based on Adams multistep methods for discontinuous ODEs. Appl. Math. Lett. 2015, 49, 152–158. [Google Scholar] [CrossRef]
  24. Dieci, L.; Lopez, L. Numerical solution of discontinuous differential systems: Approaching the discontinuity surface from one side. Appl. Numer. Math. 2013, 67, 98–110. [Google Scholar] [CrossRef]
Figure 1. Schematic of freestanding package motion under horizontal base excitation.
Figure 1. Schematic of freestanding package motion under horizontal base excitation.
Applsci 15 05015 g001
Figure 2. Possible freestanding package motion states after collision.
Figure 2. Possible freestanding package motion states after collision.
Applsci 15 05015 g002
Figure 3. Algorithm flowchart.
Figure 3. Algorithm flowchart.
Applsci 15 05015 g003
Figure 4. Experimental system for freestanding package rocking under sinusoidal excitation.
Figure 4. Experimental system for freestanding package rocking under sinusoidal excitation.
Applsci 15 05015 g004
Figure 5. Analysis results of rocking block excited by sinusoidal acceleration: (a) acceleration recorded on test table; (b) rocking response of block excited by sinusoidal excitation.
Figure 5. Analysis results of rocking block excited by sinusoidal acceleration: (a) acceleration recorded on test table; (b) rocking response of block excited by sinusoidal excitation.
Applsci 15 05015 g005
Figure 6. Block rocking response excited by random excitation: (a) random excitation acceleration; (b) block rocking response analyzed by proposed algorithm and Runge–Kutta method.
Figure 6. Block rocking response excited by random excitation: (a) random excitation acceleration; (b) block rocking response analyzed by proposed algorithm and Runge–Kutta method.
Applsci 15 05015 g006
Table 1. Values of excitation acceleration and rocking block.
Table 1. Values of excitation acceleration and rocking block.
ParametersValue
Excitation amplitude A/g2.0
Angular frequency of excitation ω/rad/s
Sinusoidal correction parameter β1.76
Slenderness angle α20
Block half-diagonal length R/m0.6
Block rocking frequency p/Hz3.5
Table 2. Methods comparison.
Table 2. Methods comparison.
MethodsRuntimesMSE
Proposed method161 min0.0066
Second-order Runge–Kutta317 min0.0268
Third-order Runge–Kutta563 min0.0135
Fourth-order Runge–Kutta837 min0.0054
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Qi, Z.; Zhu, D. Dynamic Analysis and Efficient Numerical Algorithm for Rocking Response of Freestanding Packages Under Transportation Excitations. Appl. Sci. 2025, 15, 5015. https://doi.org/10.3390/app15095015

AMA Style

Qi Z, Zhu D. Dynamic Analysis and Efficient Numerical Algorithm for Rocking Response of Freestanding Packages Under Transportation Excitations. Applied Sciences. 2025; 15(9):5015. https://doi.org/10.3390/app15095015

Chicago/Turabian Style

Qi, Zhenmin, and Dapeng Zhu. 2025. "Dynamic Analysis and Efficient Numerical Algorithm for Rocking Response of Freestanding Packages Under Transportation Excitations" Applied Sciences 15, no. 9: 5015. https://doi.org/10.3390/app15095015

APA Style

Qi, Z., & Zhu, D. (2025). Dynamic Analysis and Efficient Numerical Algorithm for Rocking Response of Freestanding Packages Under Transportation Excitations. Applied Sciences, 15(9), 5015. https://doi.org/10.3390/app15095015

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop