Abstract
Preparing simulation-driven surrogates for a coupled mechanical system can be challenging because the associated mechanical and actuator dynamics demand high-fidelity numerical solutions. Proposed here is a universal hydraulic surrogate (UHS), which can provide solutions to high-fidelity mechanical systems with a universal actuator in a surrogate-assisted monolithic approach. The UHS acts as an alternative to the standard lumped fluid theory by eliminating the hydraulic pressures differential equations. A surrogate-assisted universal actuator uses an approximated model to define hydraulic force in high-fidelity mechanical systems. The approximated force model was developed through training against the dynamics of a one-dimensional (1D) hydraulic cylinder and spring-damper. A covariance matrix adaption evolutionary strategy (CMA-ES) was used as an optimization algorithm to minimize differences between the standard dynamics and UHS approaches at the position and velocity levels. The robustness of resulting UHS was validated to predict the behaviors of the simple four-bar mechanism and the forestry crane. The focus was on numerical accuracy and computational efficiency. The maximum percent normalized root mean square error (PN-RMSE) between the states of the approximated force model and lumped fluid theory were approximately 2.04% and 6.95%, respectively. The proposed method was approximately 52 times faster than the standard lumped fluid theory method. By providing accurate predictions outside the training data, the simulation-driven UHS promises better computational performance leading to real-time simulation solutions for the coupled mechanical systems. The UHS can be applied in simulation, optimization, control, state and parameter estimation, and Artificial Intelligence (AI) implementations for coupled mechanical systems.
1 Introduction
Numerically efficient simulations (e.g., real-time simulations) of a coupled mechanical system [1] play a pivotal role in diverse applications including biomechanics [2], hydraulics [3], automotive and railway system engineering [4–7], control [8–10], and robotics [11,12]. Using real-time simulation methods, a human operator can interact with simulated machinery via simulators or hardware to replicate real machine operations [13]. However, preparing simulation-driven surrogates for a coupled mechanical system can be challenging because the associated mechanical and actuator dynamics demand high-fidelity numerical solutions, and the systems are complex, which leads to nonlinear solution methods with high computational burden.
Computer simulation of coupled mechanical systems often includes the modeling of mechanical and interconnected or actuator-driven subsystems [14]. The dynamic models of mechanical and actuator subsystems can be combined in monolithic [14] or cosimulation [3] approaches. High-fidelity modeling approaches, such as the finite element method [15], to mechanical subsystem simulation demand extensive computational power [16], which makes the real-time simulation of complex mechanical subsystems problematic. To achieve real-time performance, surrogate solutions are often used to reduce the model order of the high-fidelity models [16–19].
Preparing a surrogate involves constructing a simplified approximation of a more complex model to reduce the computational cost of the simulation process [20]. In coupled mechanical systems, surrogate solutions use data-driven modeling approaches to learn from the patterns of system data [21–26]. Data-driven surrogates are modeled using statistical tools such as regression analysis or machine learning techniques, i.e., neural networks, random forests, or Gaussian processes [27,28]. In general, these methods are time-consuming and demand significant computational power and high-cost hardware solutions [21]. Furthermore, data-driven surrogates offer accurate predictions within the scope of their training data [20,29]. However, the accuracy of these predictions declines when extrapolated beyond the boundaries of the training data [20,29].
Simulation-driven surrogates overcome these challenges by learning directly from the behaviors of simulation models [30–32]. They preserve the physics of a system and provide more accurate solutions within the simulation model range [33]. However, the simulation-driven surrogates described in the literature [32–34] make use of detailed high-fidelity system models, and solving high-fidelity models with computational efficiency while implementing simulation-driven surrogates can be challenging.
A coupled multibody-hydraulics system, where lumped fluid theory [35] describes the dynamics of the hydraulics [36–38], is an example of such a system. Lumped fluid theory computes hydraulic pressure derivatives within a hydraulic volume by dividing the effective bulk modulus into small hydraulic control volumes. The introduction of these pressure derivatives leads to numerical stiffness in the simulation of the coupled multibody-hydraulics systems, which negatively affects computational efficiency.
To eliminate these deficiencies with simulation-driven surrogates, this study proposes a novel UHS [39] for hydraulically actuated mechanical systems. As mentioned in Ref. [39], the performance of a high-fidelity coupled mechanical system can be optimized using a low-fidelity actuator subsystem model, which can also be referred to as a universal actuator surrogate [39]. In a hydraulically actuated system, the UHS of a coupled mechanical system is prepared using a hydraulic cylinder model, a low-fidelity model, and an optimization algorithm.
To train surrogate models, the commonly used algorithms of the optimization problem are Bayesian optimization [40,41], surrogate-assisted optimization [42], gradient-based methods [43], evolutionary algorithms [44–46], and hybrid methods [47]. Among these methods, evolutionary algorithms, referred to as CMA-ES, have recently been used in many engineering applications, because they require fewer generations, have good search properties, and offer easy-to-use parallelization methods [48].
A low-fidelity UHS model of a coupled mechanical-hydraulic subsystem can facilitate decision-making throughout a product lifecycle. In Ref. [39], a universal hydraulic solution was proposed to solve the hydraulics dynamics in a four-bar mechanism. However, the robustness of this approach has yet to be validated for an industrial application. This study serves to validate the universal hydraulic surrogate solution as a viable alternative to lumped fluid theory as demonstrated through its application to the four-bar mechanism. Its robustness is further validated by using it to predict the states of a forestry crane.
The objective of this study is to introduce a surrogate-assisted universal actuator approach to the modeling and simulation of coupled mechanical systems. To achieve this, a surrogate-assisted UHS is proposed as an alternative to lumped fluid theory in the framework of a hydraulically actuated and coupled mechanical system. The UHS was prepared by approximating the behaviors of lumped fluid theory using a 1D cylinder model with an approximated force model at the position and velocity levels. The CMA-ES algorithm was used during the training process to minimize differences between the results of the two approaches. The UHS enables real-time simulation solutions by reducing the number of differential equations for coupled hydraulically actuated and coupled systems in a surrogate-assisted monolithic approach.
The robustness of the UHS approach was validated in terms of numerical accuracy and computational efficiency by modeling first the four-bar mechanism and then the forestry crane. Achieving a numerical solution using the new method was approximately 52 times faster than when using the standard lumped fluid theory method, which makes application of the UHS suitable for real-time simulation, optimization, control, state and parameter estimation, and Artificial Intelligence (AI) implementations for coupled mechanical systems.
2 Dynamics of Coupled Systems
A coupled mechanical system comprises multiple interconnected components or subsystems. It can be modeled using monolithic [14,37] or cosimulation [3,49] approaches in terms of differential-algebraic equations (DAEs) or ordinary differential equations (ODEs). As an example, Fig. 1 shows a hydraulically actuated and coupled mechanical system.
The dynamics of the mechanical subsystem in Fig. 1 can be modeled using classical multibody system dynamics formulations [50], whereas lumped fluid theory [35] describes the performance of the hydraulic subsystem. The dynamic modeling of mechanical and hydraulic subsystems in a coupled system is described briefly below.
2.1 Modeling the Mechanics.
where and are the vectors of relative joint velocities and accelerations, denotes the constant path matrix, and corresponds to the block-diagonal velocity transformation matrix. Here, jf is the degree-of-freedom of joints [50]. Nb and Nj are the numbers of bodies and joints in a multibody system, respectively. Equation (2) defines a system in terms of the relative coordinates and . Note that this study focuses on the application of the formulation to revolute joints where jf = 1. However, this formulation can also be extended to other kinds of joints [53].
where include the absolute accelerations, when is set to zero. Further details on D can be found in Ref. [54].
2.2 Modeling the Actuators: Lumped Fluid Theory.
A hydraulic cylinder couples the hydraulic and mechanical subsystems. Figure 2 gives a representation of the hydraulic cylinder.
where is the first derivative of the hydraulic pressure, Vh is the hydraulic volume, and is the sum of the incoming and outgoing flows. In Eq. (5), defines the bulk modulus of the hydraulic fluid, Vc is the subvolume, and is the bulk modulus of the subvolume. A semi-empirical method can be used to compute the flowrate in Eq. (5) [35].
Flow rate Qd through a directional control valve can be expressed as . is the semi-empirical flowrate coefficient, U is the relative position of the spool, is the signum function to define the direction of flowrate, and is the pressure difference over the valve ports. The voltage signal U can be expressed as . Here, Uref defines the reference voltage signal, and τ is the time constant describing the valve dynamics.
2.3 Monolithic Approach.
where , and . Here, and are the respective vectors of hydraulic pressure and pressure build-up, and are the pressure variation equations. Equation (6) demonstrates the equations of motion for a hydraulically actuated and coupled mechanical system. The state vector of these equations can be represented as .
3 Surrogate-Assisted Universal Actuator
where represents the vector of force parameters, and includes variables in the simple force model. In Eq. (7), a1 is the surrogate gain parameter a2. Parameters a3, a4, and a0 are the surrogate bias, sS is the surrogate actuator position, is the surrogate actuator velocity, and is the initial surrogate actuator position. The surrogate actuator is activated with the voltage signal U. The simple force model in Eq. (7) is independent of the pressures and flow rates.
In Eq. (7), FS is expressed in terms of linear sS, and U, as Fh is also the function of these variables in linear form Ref. [56]. Here, U is computed from the valve spool differential equation, representing the valve dynamics. The simple force model was employed in its linear form. However, the nonlinear terms, including the frictional forces in the hydraulic cylinder, have not been considered in the hydraulic force model. This aspect presents an opportunity for further investigation in future studies. CMA-ES optimization minimizes the fitness function . The vector includes the errors in the positions and velocities of the hydraulics and surrogate actuators. L is the length of vector . The performance of the algorithm is determined by the number of evaluations taken by the CMA-ES algorithm to minimize the function f.
As a result of successful training, the vector of force parameters in Eq. (7) is also optimized to . The solution is the surrogate solution. As a consequence of force optimization, the cylinder and parameters of the hydraulic actuators are optimized in terms of . Therefore, with the simple force model in Eq. (7) can be used as an alternative to conventional lumped fluid theory in the dynamic simulation of any coupled mechanical system. Therefore, is also referred to as the UHS.
This approach requires less number of tuning parameters as compared to the data-driven surrogates. Typically, in data-driven studies, the selection of appropriate parameters is one of the key concerns [57]. Furthermore, the data-driven surrogates use the black-box approach [57], where the procedure of generating a surrogate is based solely on the availability of large amounts of data. However, this approach employs the physics of model as a gray-box in preparing the simulation-driven surrogate.
3.1 Surrogate-Assisted Monolithic Approach.
Equation (8) demonstrates the equations of motion for a UHS-assisted coupled mechanical system. The state vector of these equations can be represented as .
4 Application of Universal Hydraulic Surrogate in Academic and Industrial Applications
The robustness of the surrogate-assisted monolithic approach was verified by implementing it in the modeling of a coupled mechanical system. It was applied to a single cylinder four-bar mechanism and to a forestry crane. As reference solutions, these applications were also solved taking a monolithic approach using standard lumped fluid theory. The preparation and implementation of each UHS for these applications is discussed in the following paragraphs.
4.1 Hydraulic Four-Bar Mechanism.
Figure 3 shows the application of the universal surrogate solution for the four-bar mechanism. The hydraulics of the four-bar mechanism including cylinder, hydraulic volumes, 4/3 directional control valve, pP, and pT are illustrated in Fig. 3(a). Lumped fluid theory was used to compute the dynamics of this mechanism for comparison with the simple force model.
4.1.1 Designing the Universal Hydraulic Surrogate.
Figure 4 shows the schematic diagram of the UHS for the four-bar mechanism. It comprises the mechanism hydraulics, the spring-damper system, and mass m.
where is actuator velocity, is actuator acceleration, and are the first-time derivatives of the pressures p1 and p2, and Fh is hydraulic force. and are the flow rates in volumes V1 and V2, respectively. and are the effective bulk moduli, and A1 and A2 are the areas of the piston side and piston-rod side of the hydraulic cylinder, respectively. The hydraulic force Fh is computed as .
The UHS of the model in Fig. 4 replaces Fh with the simple force model described in Eq. (7). Designing a UHS solution for the mechanism requires finding the initial hydraulic force , the hydraulics and parameters k, c and m. The initial hydraulic force is calculated using the static equilibrium of the four-bar mechanism at the angle . In this configuration, the initial pressure is used to calculate initial pressure using the expression . Furthermore, at static equilibrium, k and m can be found to ensure that the surrogate force expression covers the complete range of the forces generated by the actuator. The initial spring length is . However, parameters c is tuned until minimum error is achieved between the lumped fluid theory and UHS model at the force level.
4.1.2 Optimization Algorithm.
The damping constant c and the CMA-ES parameters are selected by trial and error. The aim is to minimize the PN-RMSE between the position, velocity, and acceleration states of the surrogate model and lumped fluid theory. The initial dataset for training the surrogate was considered to be , a4 = a2, and . Here, τ is the time constant defining the valve dynamics.
where , and are the actuator positions and velocities from lumped fluid theory and the surrogate models, respectively. Initial actuator position corresponds to the initial position of the surrogate model. This training yields described in Table 10 to two decimal places, which is used in the simple force model to solve the four-bar mechanism shown in Fig. 3(b).
4.2 Forestry Crane.
The application of the UHS solution for the forestry crane is shown in Fig. 5. Figure 5(a) reveals that the forestry crane is a two-degree-of-freedom coupled mechanical system. The bodies in the mechanical subsystem are the pillar, lift boom, bracket 1, bracket 2, and tilt boom. The mechanical subsystem also includes a multibody closed-loop system. The geometric, mass, and inertial properties of the crane bodies are shown in Tables 2 and 3, respectively.
The forestry crane is actuated by lift and tilt hydraulic cylinders and the hydraulics. Following lumped fluid theory, the pressures inside the lift cylinder can be represented by p1 and p2, whereas the pressures inside the tilt cylinder can be described as p3 and p4, respectively. The detailed modeling of the forestry crane and its physical parameters can be found in Ref. [56]. The cylinder and valve parameters for the forestry crane are listed in Table 4.
In the surrogate-assisted monolithic approach, the lift cylinder, tilt cylinders, and their hydraulics are replaced by the lift and tilt cylinder surrogates. The design and implementation of these UHSs are explained in the following paragraphs.
4.2.1 Designing Lift and Tilt Universal Hydraulics Surrogates.
In Fig. 5(b), the lift cylinder and tilt cylinder surrogates demonstrate the UHS applications for the forestry crane. Table 5 describes the spring-damper properties of the lift and tilt cylinder surrogates. Hydraulic parameters are not required in the simulation of a simple forces-based model of the forestry crane. As shown by Fig. 5(a), the lift cylinder pushes and the tilt cylinder pulls on the bodies. The lift and tilt cylinder forces are positive and negative, respectively.
Figure 6 illustrates the universal hydraulic surrogate solutions for the hydraulics in the forestry crane. At static equilibrium, , and . These are the initial forces in the lift and tilt cylinders, respectively. Therefore, to produce high-magnitude positive and negative forces, the universal surrogate solutions must be configured as presented in Fig. 6.
s1, s2, , and are the lift and tilt cylinder positions and velocities in Eqs. (11) and (12). m1 and m2 are the masses, k1 and k2 are the spring constants, c1 and c2 are the damping constants, and are the initial spring lengths, and Fl and Ft are the actuator forces. , and are the effective bulk modulus in V1, V2, V3, and V4 hydraulic volumes. , and are the pressure derivatives, and , and are the flow rates in the lift and hydraulic cylinder UHSs, respectively.
At static equilibrium, k1, k2, m1, and m2 are found to ensure UHS solutions cover the full range of hydraulic actuator force. The initial spring lengths are considered and in the surrogates models. Parameters c1 and c2 are tuned until a satisfactory level of accuracy is achieved between lumped fluid theory and the surrogate models at the force levels.
4.2.2 Optimization Algorithm.
where and are vectors of force parameters in the UHS of the lift and tilt cylinders. and are the initial actuator positions of the lift and tilt cylinders. The initial parameters of and are listed in Table 9.
where , and are the actuator positions of the lift and tilt hydraulic cylinders using lumped fluid theory and the simple model, respectively. and are the initial actuator positions in each lift and tilt UHS. , and are the corresponding actuator velocities according to lumped fluid theory and the simple model, respectively.
5 Results and Discussion
The preparation and implementation of each UHS for the four-bar mechanism and forestry crane were carried out in the matlab environment. The universal surrogate was trained on a computer with an 11th generation Intel® Core™ i5-11500H CPU running at 2.92 GHz with 32 GB RAM. The operating system was 64-bit Windows 11. In the figures, lumped fluid theory solutions are indicated using () and referred to as lumped theory. The surrogate solutions, solved using the simple force model, are illustrated using (). The performance of each UHS was evaluated based on training, numerical accuracy, and computational efficiency for the four-bar mechanism and the forestry crane applications.
5.1 Universal Hydraulic Surrogate Training.
The accuracy of UHS solutions in any application depends upon their prediction accuracy of states and forces with respect to lumped fluid theory. To this end, surrogate model states such as position, velocity, acceleration, and forces must be compared to states from lumped fluid theory. Figure 7 describes the accuracy of predicted states for the UHS solutions for the four-bar mechanisms and forestry crane with respect to lumped theory, respectively.
As can be seen in Figs. 7(a), 7(b), 7(e), and 7(f), each UHS was actuated for 10 s in the training phase. However, in case of lift cylinder, 5 s simulation is considered enough for preparing lift UHS. The surrogate models were moved from the initial position to the minimum actuator length and then brought back to the initial actuator length. Figures 7(a)–7(f) reveal that the actuator positions and velocities of the surrogate solutions very closely follow the behaviors of the lumped fluid theory models. Further, in Table 6, the PN-RMSE values indicate the high accuracy of the surrogate model states with respect to lumped fluid theory.
In Table 6, the low PN-RMSE of 0.01% in s, s1, and s2 demonstrates the high accuracy of the surrogate models compared to lumped fluid theory at the position level. The PN-RMSE of 3.04% in , and , which is relatively higher than at the position level, is attributed to the higher stiffness values used in the preparation of the UHS model compared to lumped fluid theory. However, as indicated in Fig. 7, the UHS follows the behaviors of lumped theory at the velocity levels.
The training time in Table 6 is shorter than the conventional data-driven surrogates. The selection of vectors , and is not based on the model. Instead, these vectors were identified through a procedure that is both simple and reliable. Consequently, this approach facilitated the quick and appropriate identification of the surrogate model parameters. Further, Table 11 of Appendix A also compares the PN-RMSE values in the accelerations and forces of the UHS models with respect to lumped fluid theory. This table shows that accuracy in the accelerations and forces is required in preparing the UHS solution for an application.
No UHS replicates the high frequencies of lumped fluid theory at the acceleration and forces levels. This demonstrates that UHS solutions do not represent the compressible nature of hydraulic oil. However, compared to the lumped theory, each UHS provides reliable and computationally efficient solutions by solving less stiff numerical differential equations. Note that simple force expression is inspired from Ref. [55] and terms representing compressible oil might be missing in Eq. (7). Further, this study ignores the friction force in hydraulic cylinders, which reduces the frequency of these oscillations. This behavior can be observed in the reference studies [14,56], where similar systems were studied.
5.2 Validating Universal Hydraulic Surrogate Performance in Applications.
, and are the computed results of the UHS training. They are coupled with the surrogate-assisted dynamics of the four-bar mechanism and the forestry crane via the simple force models. The solutions for the hydraulics in these applications with the simple force models are explained in terms of numerical accuracy and computational efficiency in the following paragraphs. These results are also compared with lumped fluid theory.
5.2.1 Numerical Accuracy.
The -based simple force model solution for the hydraulics of four-bar mechanism is shown in Figs. 8(a) and 8(b) for a 22 s simulation. The simulation time in these figures is more than the simulation time in UHS training. The four-bar mechanism was actuated using a different input signal and simulation time than for its UHS. See Fig. 7. Angle and angular velocity for the simple model follow patterns similar to lumped theory.
The PN-RMSE in z of the simple mode with respect to lumped fluid theory is 2.06% whereas this difference is 0.75% for . Further, this difference occurs at the static position of the hydraulic cylinder during 2–4, 8–12, 14–18, and 20–22 s of the simulation. However, the difference between z and is quite small. Similar mass and inertial properties of bodies have been used for the simple model and lumped fluid theory.
The dynamic simulation solutions of the forestry crane using the simple model closely resemble the solutions from lumped fluid theory. Figures 8(c)–8(f) reveal that z1, z4, , and computed from the simple model follow a similar pattern despite the differences in input signals from the UHS. The PN-RMSE in z1 and z4 are 1.29% and 6.72%, respectively. In contrast, this difference is 2.80% and 4.26% for z4 and .
Comparatively, higher PN-RMSE occurs in z4 than z1 due to the drifting of the tilt cylinder surrogate at the static position from 5 to 5.5 s of the simulation. The disparities in and are the consequence of the corresponding UHS differences at the velocity levels shown in Figs. 7(d) and 7(f). Valve dynamics are not used for the simple model. The lift and tilt cylinder surrogates are kept at static equilibrium positions for a shorter time than in the four-bar mechanism.
5.2.2 Computational Efficiency.
The performance of UHS is further evaluated in terms of computational efficiency. This is accomplished by solving the dynamics of the used cases using both stiff and nonstiff integration schemes, with an initial time-step of s. The stiff integration schemes included matlab-integrated solvers such as ode15 s, ode23 s, ode23t, and ode23tb [58]. Nonstiff solvers are ode45, ode23, ode78, ode89, ode113, and RK4 [58]. During these simulation experiments, the variable-step solver parameters were used as the relative tolerance , absolute tolerance , maximum step size and maximum order 2 for matlab ODE solvers. However, fixed-step solver was used with RK4 method. Note the numerical accuracy of UHS solutions remains approximately same with all above stiff and nonstiff integration schemes.
Figure 9 shows the comparison of computational time taken by the simple model and lumped fluid theory in solving the case studies. The vertical axis represents the computational time required by the modeling method, displayed on a logarithmic scale with a base of 10. The horizontal axis shows the different integration schemes used in the simulation experiment. In Fig. 9, the blue bars are significantly higher than those of the simple model, indicating that the lumped fluid approach requires more computational time.
Tables 7 and 8 further summarize the computational efficiency of these two approaches with respect to the different integration schemes. In these tables, Method 1 represents lumped fluid theory, and the simple model is indicated by Method 2. The ratio column corresponds to the efficiency of the simple model with respect to lumped fluid theory. It is obtained by dividing lumped fluid theory's computational time with that of the simple model. It demonstrates how much faster the simulation solutions get by using the simple model as compared to lumped fluid theory.
Table 7 shows that maximum computational advantage achieved from using the simple force model in the case of a four-bar mechanism with ode23 s results in achieving a solution 52 times faster than with lumped fluid theory. However, in the case of a forestry crane, the simple model is approximately 8.5 times faster under the given solver settings. Computational efficiency, of course, depends on the case study, the implementation details, and the operating system used [59]. The differences in the computational efficiency occur due to less number of differential equations in simple model. The lumped fluid theory introduces additional stiff pressure differential equations, resulting in reduced computational efficiency compared to the simple model. However, in the case of RK4, the lumped fluid theory model takes approximately the same computation time as the simple model in the four-bar mechanism and forestry crane applications. This is due to less stiffness in differential equations. Note, in general, RK4 is not recommended for the stiff differential equations due to requirement of small integration time-step for stability [60].
The performance of ode23 s solver at variable time-step is further explained in Tables 12 and 13 of Appendix C. In both applications, lumped fluid theory takes higher number of successful steps, function evaluations, LU decompositions and linear system solutions [61]. This indicates prior computational speed of simple model as compared to lumped fluid theory due to removing the pressure differential equations. However, it can be observed in Tables 12 and 13, that number of failed steps occur more in case of simple model. This suggests the better stability of lumped fluid theory [61].
6 Conclusion
This study presents a surrogate-assisted universal actuator approach for high-fidelity coupled mechanical systems within the domain of simulation-driven surrogates. It can provide more accurate predictions outside the training data for a hydraulically actuated and coupled mechanical system compared to data-driven surrogates. As an example, in the framework of hydraulic coupled systems, a UHS as an alternative to lumped fluid theory has been proposed by using a simple force model. The dynamics of UHS has been described using lumped fluid theory in a 1D cylinder and mass spring-damper system.
The behaviors of the simple force model were approximated against lumped fluid theory at the position and velocity levels using the CMA-ES optimization algorithm during the process to minimize differences between the standard and UHS approaches. As demonstrated in Table 6, the maximum training time taken by CMA-ES training was 238 s for the forestry crane application. This training time is considerably shorter than that of the data-driven surrogates [24–26] and conventional simulation-driven surrogates [32–34].
These surrogate solutions were implemented in the four-bar mechanism and forestry crane applications using a surrogate-assisted monolithic approach. Note that the inertial properties and lengths of bodies in case examples were not provided in the training phase. However, masses and angles are needed to compute the forces at the static equilibrium. These forces are needed to design the mass spring-damper properties in the surrogate models to ensure that the surrogate force expression covers the complete range of the forces generated by the actuator. The UHS solutions can actuate the booms in case examples beyond the training data due to the physics of the simulation models.
With fewer differential equations, the UHS offers significant advantages in real-time simulation for coupled mechanical systems. Tables 12 and 13 demonstrate that, in both applications, simulating the coupled mechanical system with the simple force model consumes substantially less computational power compared to lumped fluid theory. This difference is observed in terms of successful steps, function evaluations, LU decompositions and linear system solutions. The lumped fluid theory yields more stable solutions but requires greater computational resources, making it less efficient compared to the simple model. The maximum computational benefits achieved by this new approach in these applications resulted in achieving solutions approximately 52 times faster with respect to lumped fluid theory. Regarding accuracy, the PN-RMSE between the states of the approximated force model and lumped fluid theory is approximately 2.04% and 6.95%, respectively.
This new approach offers opportunities for businesses and research in real-time simulation, simulation-driven surrogates, optimization, control, state and parameter estimation, and AI applications for coupled mechanical systems. By reducing the number of differential equations, it provides advantages in linearizing nonlinear dynamic systems. For future studies, a simple force expression should be derived analytically that may account for the compressible nature of hydraulic oil. The nonlinear simulation-driven surrogates can also be studied for a more in-depth investigation of the problems in question. This approach will allow for further investigation into the sensitivity of this method. In these studies, the results of UHS, lumped fluid theory and analytically derived expression should be compared to provide valuable insights for the readers. This exploration could pave the way for researchers to optimize and simulate complicated high-fidelity problems such as contacts, friction, biomechanics, computational fluids, electric, and hybrid electric systems, etc., in real-time.
Acknowledgment
This work was supported by the Business Finland (SANTTU-Oulu 8896/31/2021 and SANTTU-LUT 8859/31/2021). Authors would also like to acknowledge Dr. Scott Semken from the Laboratory of Machine Design, Department of Mechanical Engineering, LUT University for providing proof reading for this article.
Data Availability Statement
The datasets generated and supporting the findings of this article are obtainable from the corresponding author upon reasonable request.
Nomenclature
- Aa, Ab =
hydraulic cylinder area ()
- =
bulk modulus (Pa)
- c =
damping constant (Ns/m)
- D =
matrix
- Fh, FS =
force (N)
- =
frictional force (N)
- k =
Spring constant (N/m)
- =
mass matrix
- ph =
hydraulic pressure (Pa)
- p =
hydraulic pressure vector
- =
time derivative of hydraulic pressure vector
- =
flow rate ()
- =
force vector
- =
translational velocity vector
- =
translational acceleration vector
- s =
actuator position (m)
- =
actuator velocity ()
- =
block-diagonal velocity transformation matrix
- =
second velocity transformation matrix
- T =
constant path matrix
- U =
control signal (V)
- Vh =
hydraulic volumes (m3)
- zi =
angle of body
- z =
relative position vector
- =
Cartesian velocity vector
- =
Cartesian acceleration vector
UHS Solutions for the Applications
The initial parameters in and of simple force models are described in Table 9. The parameter vectors and are needed to compute the simple force models for the lift and tilt forces in Eq. (13), respectively. The parameters in and are adjusted through trial and error until satisfactory accuracy between the lumped fluid theory and UHS is achieved.
Table 10 presents the optimized values of these parameters in simple force models for the four-bar mechanism and forestry cranes. These parameters are obtained in result of surrogate training against the lumped theory using CMA-ES. The optimized , , and described in this table are used as universal actuators in the surrogate-assisted monolithic approach.
Accelerations and Forces of Surrogate Models
The PN-RMSE values in accelerations and forces of UHS models with respect to lumped fluid theory are shown in Table 11. These values represent both the four-bar mechanism and forestry crane. The maximum PN-RMSE values occurred in case of lift UHS. This difference can also be observed in Fig. 7(c) and 7(d), where lumped theory shows more oscillations in comparison to surrogate models. This table demonstrates that accuracy in the acceleration and forces is required in preparing the UHS solution for an application.
Statistics of ode23 s
Table 12 presents a comparison of the computational time taken by the simple model and the lumped fluid model. The comparison is based on solving the four-bar mechanism using the ode23 s solver. Method 1, indicating lumped fluid theory, takes more successful steps, evaluations, LU decomposition and linear systems as compared to Method 2.
This aligns to the superior computational speed of simple model, represented by Method 2, in solving the four-bar mechanism. However, Method 1 has less failed steps. This indicates more stability of lumped fluid theory compared to the simple model.
Table 13 further verifies this trend in solving the forest crane example with ode23 s solver. As observed, the lumped fluid theory requires a greater number of successful steps, evaluations, LU decompositions, and linear system solutions, indicating lower efficiency in comparison to the alternative method. However, the comparison of failed steps in Table 13 corresponds to the prior stability lumped fluid theory.