A multi-body system dynamics simulation method based on a prediction-correction one-step method
The multibody system dynamics simulation method based on the prediction-correction single-step method solves the problem of error accumulation in the traditional integral method, and realizes high-precision and high-efficiency dynamics simulation of mechanical equipment. It is applicable to the dynamics analysis of mechanical equipment, industrial robots and vehicle engineering.
Patent Information
- Application Number
- CN202611323787.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-27
AI Technical Summary
In the simulation analysis of dynamic response of mechanical equipment, the single-step truncation error of the traditional numerical integration method is easy to accumulate, which leads to a decrease in the accuracy of long-term running trajectory and physical geometric response, and the computational efficiency is limited when dealing with complex systems.
A multibody system dynamics simulation method based on the prediction-correction single-step method is adopted. By acquiring the multibody system parameters and performing state preprocessing, configuring the target accuracy format and dividing the time substeps, the predicted state of the nodes is generated using the classical fourth-order Runge-Kutta substep, and the state correction is achieved by re-evaluating the complete right-hand function and performing global weighted differential integration.
It effectively reduces the phase error of the long-term physical response of multi-body mechanical equipment systems, improves the computational efficiency of the simulation system, and selects four-node or five-node formats according to specific engineering backgrounds to ensure the accuracy and efficiency of simulation results.
Smart Images

Figure CN123179667A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer-aided engineering and simulation calculation technology for complex physical systems, and is particularly applicable to the dynamic analysis of physical entities such as mechanical equipment, industrial robots or vehicle engineering. Specifically, it relates to a multibody system dynamic simulation method based on the prediction-correction single-step method. Background Technology
[0002] In modern industrial manufacturing, the research and control of complex mechanical systems, such as industrial robot control systems, aerospace deployment mechanisms, and vehicle suspension systems, are highly dependent on multibody system dynamics simulation. In order to ensure the operational stability and motion accuracy of physical entities under high speed, heavy load, or complex constraints, it is necessary to perform high-precision prediction and analysis of their dynamic response.
[0003] Multibody system dynamic response analysis typically requires solving initial dynamic values derived from component inertia, elasticity, and damping. In long-term simulation analysis or real-time control tasks in practical engineering, traditional fixed-step direct integration methods, such as the Newmark method and the classic fourth-order Runge-Kutta method, have limitations. For example, when the mechanical system has strong state coupling or requires long-term operational calculations, single-step truncation errors accumulate during continuous computation, leading to significant deviations between the simulated motion trajectory and the actual physical displacement.
[0004] Although existing precise integral or differential quadrature methods attempt to improve computational accuracy, the computational organization is extremely complex when dealing with complex physical system parameters that change with state, such as state-dependent mass matrices, making it difficult to balance computational efficiency and global accuracy.
[0005] Therefore, designing a direct integration technique that can fully utilize information within a complete time step and efficiently and accurately solve the dynamic equations of nonlinear multibody systems has become a key technical issue for improving the performance of mechanical system dynamics simulation software.
[0006] Therefore, the applicant proposes a multibody system dynamics simulation method based on the prediction-correction single-step method. Summary of the Invention
[0007] The purpose of this invention is to address the problems in existing technologies when performing dynamic response simulation analysis on mechanical equipment such as industrial robots and complex linkage mechanisms. These problems include the accumulation of single-step truncation errors in traditional numerical integration methods during continuous advancement, and the difficulty in directly and accurately obtaining node states when dealing with complex systems with attitude-dependent mass matrices or nonlinear external physical excitation forces. Consequently, these methods lead to decreased prediction accuracy of long-term operating trajectories and physical geometric responses of mechanical systems, complex solution organization of nonlinear dynamic models, and limited simulation execution efficiency. This invention is proposed to address these technical issues.
[0008] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows: A multibody system dynamics simulation method based on the prediction-correction single-step method includes the following steps: Step 1: Obtain the parameters of the multibody system to be solved and perform state preprocessing of the dynamic model to finally obtain the complete right-hand side function and the initial accepting state; Step 2: Configure the target precision format and divide the time into sub-steps to obtain the time of each node and its corresponding weight vector within the current complete time step; Step 3: Based on the current acceptance state extracted in Step 1 and the substep size determined in Step 2, continuously execute the classic fourth-order Runge-Kutta substep to generate the node prediction state, and finally obtain the prediction state corresponding to each node. Step 4: Combining the complete right-hand function determined in Step 1, the matching weight vector obtained in Step 2, and the predicted states of each node obtained in Step 3, perform a complete right-hand function re-evaluation and global weighting by differential integration on the nodes to finally obtain the corrected endpoint state of the current complete time step. Step 5: Based on the correction endpoint state obtained in Step 4, cyclically update the state and restore the physical parameters according to the geometric constraints, and finally output the engineering response quantity that reflects the dynamic characteristics of the multibody system.
[0009] Step 1 includes the following sub-steps: Step 1-1) Obtain the physical entity dynamics model, initial state, computation time interval, and complete time step of the multibody system to be solved; Step 1-2) Based on the dynamic model obtained in Step 1-1), the dynamic model is converted into a first-order state equation with the state vector as the unknown. Steps 1-3) Based on the first-order state equations obtained from the transformation in Steps 1-2), the dynamic model is further subdivided according to the coupling characteristics of different physical objects; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
[0010] In steps 1-2), for the multibody system after independent coordinate transformation, a second-order non-homogeneous dynamic equation is established, expressed by the formula: ; in, For generalized coordinate vectors, and These are the generalized velocity vector and the generalized acceleration vector, respectively. , and These are the mass matrix, damping matrix, and stiffness matrix, respectively. It is a generalized force vector composed of external loads, nonlinear generalized forces, and equivalent nonhomogeneous terms caused by state-dependent or time-varying coefficients; Let be time, and the one point and two points above the variable represent the first and second derivatives with respect to time, respectively; The state vector is defined as a combination of the generalized coordinate vector and the generalized velocity vector, expressed by the formula: ; in, The state vector is formed by the generalized coordinate vector. and generalized velocity vector composition; By substituting the state vector, the second-order nonhomogeneous dynamic equations are transformed into first-order state equations. The right-hand side of the first-order state equations forms a complete right-hand function, which can be expressed by the formula: ; In the formula, For a complete right-hand side function; For fixed or time-varying linear transmission components; The remainder includes external excitation, nonlinear forces, and state-related terms.
[0011] In steps 1-3), when the multibody system contains features that vary with geometric configuration, the dynamic model is represented as a state-dependent mass matrix system, expressed by the formula: ; in, The mass matrix that varies with generalized coordinates or time; It is a generalized force vector; and These are the generalized velocity vector and the generalized acceleration vector, respectively. For time; Case 1) For a planar double-bar linkage involving gravity, centrifugal force, and Coriolis force, the corresponding equation elements are determined by the component mass, bar length, and relative rotation angle. The system dynamic equation is expressed as: ; in, , , and These are elements of the quality matrix; and They are respectively with , The corresponding generalized force components; For the first shot, the absolute angle. The relative angle of the second rod; and These are the angular accelerations corresponding to the rotation angles; Case 2) For a linear two-degree-of-freedom vibration system subjected to an external excitation force, substituting it into the state-based framework, the dynamic model is transformed into: ; in, and These are the generalized displacements with two degrees of freedom, and These represent the corresponding generalized accelerations; the first matrix on the left is the mass matrix, and the second matrix is the stiffness matrix; the vector on the right is the external excitation force vector. This indicates that the value applied to the second degree of freedom is 5 and the angular frequency is... The simple harmonic excitation force; For time; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
[0012] Step 2 includes the following sub-steps: Step 2-1) Determine the target precision format from the four-node and five-node formats; Step 2-2) Based on the target accuracy format determined in Step 2-1), allocate the number of nodes and configure the weight vector; Step 2-3) Combining the complete time step obtained in Step 1-1) and the number of nodes configured in Step 2-2), for the current complete time step defined by the current time and the next time, divide the current complete time step into the corresponding number of sub-intervals according to the number of nodes; By executing steps 2-1) to 2-3), the node times and corresponding weight vectors used for subsequent state prediction and global correction are finally obtained; In step 2-1), for linear systems, weakly nonlinear systems, short-time response analysis, or dynamic response calculations with high real-time requirements, a four-node format that prioritizes computational efficiency is selected. For strongly nonlinear coupled systems, state-dependent mass matrix systems, geometrically constrained reduced-order systems, long-time-history response analysis, or dynamic response calculations sensitive to phase errors, the five-node scheme, which prioritizes computational accuracy, should be selected. In step 2-2), the following cases apply: Case 1) When the target precision format is a four-node format, set the number of nodes to 4 and configure the weight vector, expressed by the formula: ; Case 2) When the target precision format is a five-node format, set the number of nodes to 5 and configure the weight vector, expressed by the formula: ; in, and Let (4) and (5) be the dimensionless differential integral weight vectors in four-node and five-node formats, respectively. The superscripts (4) and (5) indicate the corresponding node numbers. The elements are denoted as ; Steps 2-3 include: 2-3-1) Determine the sub-step size, expressed by the formula: ; 2-3-2) Based on the current time and sub-step size, determine the time of each node sequentially, expressed by the formula: ; in, For the complete time step, For the number of nodes, For the step length, For the current moment, For node time, i For node sequence number, This is the complete time step sequence number. This represents the end point of the current complete time step.
[0013] Step 3 includes the following sub-steps: Step 3-1) Starting from the current accepted state of the current complete time step, execute the classic fourth-order Runge-Kutta substeps the same number of times as the number of nodes, with the substep size determined in Step 2-3); for any classic fourth-order Runge-Kutta substep starting from the (j-1)th predicted state and the corresponding time, calculate the slope of the four stages in sequence, expressed by the formula: ; in, and The first The and the first The predicted state of each node; For the first Each node moment; , , and These are the slope vectors of the four stages of the current Runge-Kutta substep; For a complete right-hand side function; For the step length; For node sequence number, Initial prediction state Initial node time ; Step 3-2) Based on the slopes of the four stages calculated in Step 3-1), calculate the predicted state of the j-th node, expressed by the formula: ; Where j=1,2,...,s; it should be noted that in each Runge-Kutta stage, the correlation matrix and generalized force are reconstructed based on the stage prediction state, and then the complete right-hand function corresponding to the stage time is calculated; Step 3-3) Repeat steps 3-1) and 3-2) to use the predicted endpoint as the starting point of the next sub-step, and finally obtain the predicted state of each node in the current complete time step.
[0014] Step 4 includes the following sub-steps: Step 4-1) At each node time, re-evaluate the complete right-hand function based on the predicted state of the corresponding node output in Step 3-3, and obtain the complete right-hand function value of each node; Step 4-2) Using the matching weight vector configured in Step 2-2), the complete right-hand function values of each node obtained by re-evaluation in Step 4-1) are globally weighted, and the weighted state increment is added to the current accepted state; By executing steps 4-1) to 4-2), multiple nodes are used to jointly form the state increment of the current complete time step, and finally the corrected end state of the current complete time step is obtained.
[0015] In step 4-1), the re-evaluation operation is expressed by the formula: ; in, For the first The complete right-hand function value of each node. For the first The predicted state of each node. For the first At each node time, The node number; During this re-evaluation process, when Degenerates into a purely time function that can be analytically integrated When, the analytical load increment within a complete time step is added to the state integral term obtained by weighting the predicted states of each node; when When performing non-analytical integration, the remaining parts are evaluated directly at each node and numerically weighted using the corresponding weights; For a system containing a state-dependent mass matrix, the current stage acceleration is obtained by solving the current mass matrix equation, and the complete right-hand side function value obtained from the re-evaluation is constructed from the acceleration, generalized coordinates, and generalized velocity. In step 4-2), the weighting operation uses the following formula: ; in, To correct the endpoint state, The current acceptance status is... These are the elements in the weight vector. For the complete time step, For the number of nodes, For node sequence number, The index is the complete time step number, and the summation term represents the weighted sum of the complete right-hand side function values of all nodes within the current complete time step.
[0016] Step 5 includes the following sub-steps: Step 5-1) Use the corrected endpoint state obtained from the current complete time step as the current accepted state for the next complete time step, and proceed to the next time advance step; Step 5-2) Based on the current acceptance state updated in Step 5-1), repeat Steps 2 to 4 until the end of the calculation time interval is reached, and output the dynamic response time history of the multibody system state vector. Step 5-3) Based on the state vector output in Step 5-2) and the constraint geometry of the actual physical structure, recover the specific engineering response quantity using the closed-loop geometry. By executing steps 5-1) to 5-3), the numerical state history is transformed into intuitive mechanical operating parameters, ultimately outputting engineering response quantities that guide engineering practice.
[0017] In step 5-3), the engineering response quantities include generalized coordinates, generalized velocity, component angular displacement, component displacement, and end effector trajectory; For the dynamic response analysis of the crank-slider mechanism, after reducing the order of independent coordinates using the Lagrange method, the equivalent dynamic equation of the system is expressed by the following formula: ; In the formula, The equivalent mass of the system after projection onto independent coordinates. This represents the total potential energy of the system. For crank angle, and These are the crank angular velocity and crank angular acceleration, respectively. The derivative of the equivalent mass with respect to the crank angle is given. Let be the derivative of the total potential energy of the system with respect to the crank angle; let , ,in The crank angle is the state variable. Since the crank angular velocity is the state variable, this equation can be converted into a two-variable first-order state equation. After obtaining the crank angle state history using the reduced-order state equations, the angle between the connecting rod and the horizontal guide of the slider is expressed by the formula: ; Based on the included angle and crank angle, the actual engineering response quantity of slider displacement is expressed by the formula: ; In the formula, This represents the displacement of the slider along the horizontal guide direction; The crank length, The length of the link. For crank angle, The angle between the connecting rod and the horizontal guide of the slider is taken as the square root of the non-negative support that matches the actual assembly configuration of the mechanism.
[0018] Compared with the prior art, the present invention has the following technical effects: 1) To address the problem of distortion in the simulation of physical mechanism motion trajectory caused by the accumulation of truncation errors in the single-step method, this invention continuously generates multiple prediction nodes within a complete time step and uses corresponding differential integral weights to globally correct the complete right-hand function values of each node. This method fully utilizes the multi-node integral information, effectively reducing the phase error in the analysis of long-term physical responses of multibody systems of mechanical equipment, such as component displacement and end-effector motion trajectories, making the simulation results closer to the real physical motion laws; 2) To address the problem of time-consuming implicit solutions caused by changes in the mass matrix due to component attitude variations or nonlinear external loads during the operation of mechanical equipment, this invention re-evaluates the complete right-hand side function according to the current physical prediction state at each prediction stage and correction node. This mechanism eliminates the need to construct the state transition matrix exponent or perform implicit equation nonlinear iteration during time progression, completing the state progression layer by layer with an explicit framework. This improves the computational efficiency of the simulation system while ensuring the accuracy of physical response prediction. 3) This invention enables the simulation system to make prior selections based on the specific engineering physics background through preset four-node and five-node formats. For engineering scenarios such as weakly nonlinear systems or those requiring high computational frequency response, the four-node format can be used to ensure computational efficiency; for strongly nonlinear coupled mechanisms, geometrically constrained reduced-order systems, or long-time-history physical state evaluations requiring extremely high phase accuracy, the five-node format can be used to ensure accurate output of engineering response quantities, thus enhancing the applicability of this scheme in industrial computer-aided engineering. Attached Figure Description
[0019] The present invention will be further described below with reference to the accompanying drawings and embodiments: Figure 1 This is the main flowchart of the DQM45 dynamic response calculation method of the present invention; Figure 2 A time series diagram illustrating continuous Runge-Kutta prediction and differential quadrature correction within a complete time step; Figure 3 This diagram illustrates the configuration of nodes, substeps, and weights for four-node and five-node formats. Figure 4 A comparison of the displacement response of a linear two-degree-of-freedom system at different time steps; Figure 5 This is a schematic diagram of the physical model of a planar double-link robotic arm; Figure 6 A comparison of the angular displacement response of a planar double-link robotic arm; Figure 7 A comparison diagram of the end effector trajectories of a planar double-link robotic arm; Figure 8 This is a schematic diagram of the physical model of a crank-slider mechanism; Figure 9 This is a comparison chart of the long-time history response of the slider displacement in a crank-slider mechanism. Detailed Implementation
[0020] like Figure 1 As shown, a multibody system dynamics simulation method based on the prediction-correction single-step method includes the following steps: Step 1: Obtain the parameters of the multibody system to be solved and perform state preprocessing of the dynamic model to finally obtain the complete right-hand side function and the initial accepting state; Step 2: Configure the target precision format and divide the time into sub-steps to obtain the time of each node and its corresponding weight vector within the current complete time step; Step 3: Based on the current acceptance state extracted in Step 1 and the substep size determined in Step 2, continuously execute the classic fourth-order Runge-Kutta substep to generate the node prediction state, and finally obtain the prediction state corresponding to each node. Step 4: Combining the complete right-hand function determined in Step 1, the matching weight vector obtained in Step 2, and the predicted states of each node obtained in Step 3, perform a complete right-hand function re-evaluation and global weighting by differential integration on the nodes to finally obtain the corrected endpoint state of the current complete time step. Step 5: Based on the correction endpoint state obtained in Step 4, cyclically update the state and restore the physical parameters according to the geometric constraints, and finally output the engineering response quantity that reflects the dynamic characteristics of the multibody system.
[0021] Step 1 includes the following sub-steps: Step 1-1) Obtain the physical entity dynamics model, initial state, computation time interval, and complete time step of the multibody system to be solved; Step 1-2) Based on the dynamic model obtained in Step 1-1), the dynamic model is converted into a first-order state equation with the state vector as the unknown. Steps 1-3) Based on the first-order state equations obtained from the transformation in Steps 1-2), the dynamic model is further subdivided according to the coupling characteristics of different physical objects; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
[0022] In steps 1-2), for the multibody system after independent coordinate transformation, a second-order non-homogeneous dynamic equation is established, expressed by the formula: ; in, For generalized coordinate vectors, and These are the generalized velocity vector and the generalized acceleration vector, respectively. , and These are the mass matrix, damping matrix, and stiffness matrix, respectively. It is a generalized force vector composed of external loads, nonlinear generalized forces, and equivalent nonhomogeneous terms caused by state-dependent or time-varying coefficients; Let be time, and the one point and two points above the variable represent the first and second derivatives with respect to time, respectively; The state vector is defined as a combination of the generalized coordinate vector and the generalized velocity vector, expressed by the formula: ; in, The state vector is formed by the generalized coordinate vector. and generalized velocity vector composition; By substituting the state vector, the second-order nonhomogeneous dynamic equations are transformed into first-order state equations. The right-hand side of the first-order state equations forms a complete right-hand function, which can be expressed by the formula: ; In the formula, For a complete right-hand side function; For fixed or time-varying linear transmission components; The remainder includes external excitation, nonlinear forces, and state-related terms.
[0023] In steps 1-3), when the multibody system contains features that vary with geometric configuration, the dynamic model is represented as a state-dependent mass matrix system, expressed by the formula: ; in, The mass matrix that varies with generalized coordinates or time; It is a generalized force vector; and These are the generalized velocity vector and the generalized acceleration vector, respectively. For time; Case 1) For a planar double-bar linkage involving gravity, centrifugal force, and Coriolis force, the corresponding equation elements are determined by the component mass, bar length, and relative rotation angle. The system dynamic equation is expressed as: ; in, , , and These are elements of the quality matrix; and They are respectively with , The corresponding generalized force components; For the first shot, the absolute angle. The relative angle of the second rod; and These are the angular accelerations corresponding to the rotation angles; Case 2) For a linear two-degree-of-freedom vibration system subjected to an external excitation force, substituting it into the state-based framework, the dynamic model is transformed into: ; in, and These are the generalized displacements with two degrees of freedom, and These represent the corresponding generalized accelerations; the first matrix on the left is the mass matrix, and the second matrix is the stiffness matrix; the vector on the right is the external excitation force vector. This indicates that the value applied to the second degree of freedom is 5 and the angular frequency is... The simple harmonic excitation force; For time; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
[0024] Step 2 includes the following sub-steps: Step 2-1) Determine the target precision format from the four-node and five-node formats; Step 2-2) Based on the target accuracy format determined in Step 2-1), allocate the number of nodes and configure the weight vector; Step 2-3) Combining the complete time step obtained in Step 1-1) and the number of nodes configured in Step 2-2), for the current complete time step defined by the current time and the next time, divide the current complete time step into the corresponding number of sub-intervals according to the number of nodes; By executing steps 2-1) to 2-3), the node times and corresponding weight vectors used for subsequent state prediction and global correction are finally obtained; In step 2-1), for linear systems, weakly nonlinear systems, short-time response analysis, or dynamic response calculations with high real-time requirements, a four-node format that prioritizes computational efficiency is selected. For strongly nonlinear coupled systems, state-dependent mass matrix systems, geometrically constrained reduced-order systems, long-time-history response analysis, or dynamic response calculations sensitive to phase errors, the five-node scheme, which prioritizes computational accuracy, should be selected. In step 2-2), the following cases apply: Case 1) When the target precision format is a four-node format, set the number of nodes to 4 and configure the weight vector, expressed by the formula: ; Case 2) When the target precision format is a five-node format, set the number of nodes to 5 and configure the weight vector, expressed by the formula: ; in, and Let (4) and (5) be the dimensionless differential integral weight vectors in four-node and five-node formats, respectively. The superscripts (4) and (5) indicate the corresponding node numbers. The elements are denoted as ; Steps 2-3 include: 2-3-1) Determine the sub-step size, expressed by the formula: ; 2-3-2) Based on the current time and sub-step size, determine the time of each node sequentially, expressed by the formula: ; in, For the complete time step, For the number of nodes, For the step length, For the current moment, For node time, i For node sequence number, This is the complete time step sequence number. This represents the end point of the current complete time step.
[0025] Step 3 includes the following sub-steps: Step 3-1) Starting from the current accepted state of the current complete time step, execute the classic fourth-order Runge-Kutta substeps the same number of times as the number of nodes, with the substep size determined in Step 2-3); for any classic fourth-order Runge-Kutta substep starting from the (j-1)th predicted state and the corresponding time, calculate the slope of the four stages in sequence, expressed by the formula: ; in, and The first The and the first The predicted state of each node; For the first Each node moment; , , and These are the slope vectors of the four stages of the current Runge-Kutta substep; For a complete right-hand side function; For the step length; For node sequence number, Initial prediction state Initial node time ; Step 3-2) Based on the slopes of the four stages calculated in Step 3-1), calculate the predicted state of the j-th node, expressed by the formula: ; Where j=1,2,...,s; it should be noted that in each Runge-Kutta stage, the correlation matrix and generalized force are reconstructed based on the stage prediction state, and then the complete right-hand function corresponding to the stage time is calculated; Step 3-3) Repeat steps 3-1) and 3-2) to use the predicted endpoint as the starting point of the next sub-step, and finally obtain the predicted state of each node in the current complete time step.
[0026] Step 4 includes the following sub-steps: Step 4-1) At each node time, re-evaluate the complete right-hand function based on the predicted state of the corresponding node output in Step 3-3, and obtain the complete right-hand function value of each node; Step 4-2) Using the matching weight vector configured in Step 2-2), the complete right-hand function values of each node obtained by re-evaluation in Step 4-1) are globally weighted, and the weighted state increment is added to the current accepted state; By executing steps 4-1) to 4-2), multiple nodes are used to jointly form the state increment of the current complete time step, and finally the corrected end state of the current complete time step is obtained.
[0027] In step 4-1), the re-evaluation operation is expressed by the formula: ; in, For the first The complete right-hand function value of each node. For the first The predicted state of each node. For the first At each node time, The node number; During this re-evaluation process, when Degenerates into a purely time function that can be analytically integrated When, the analytical load increment within a complete time step is added to the state integral term obtained by weighting the predicted states of each node; when When performing non-analytical integration, the remaining parts are evaluated directly at each node and numerically weighted using the corresponding weights; For a system containing a state-dependent mass matrix, the current stage acceleration is obtained by solving the current mass matrix equation, and the complete right-hand side function value obtained from the re-evaluation is constructed from the acceleration, generalized coordinates, and generalized velocity. In step 4-2), the weighting operation uses the following formula: ; in, To correct the endpoint state, The current acceptance status is... These are the elements in the weight vector. For the complete time step, For the number of nodes, For node sequence number, The index is the complete time step number, and the summation term represents the weighted sum of the complete right-hand side function values of all nodes within the current complete time step.
[0028] Step 5 includes the following sub-steps: Step 5-1) Use the corrected endpoint state obtained from the current complete time step as the current accepted state for the next complete time step, and proceed to the next time advance step; Step 5-2) Based on the current acceptance state updated in Step 5-1), repeat Steps 2 to 4 until the end of the calculation time interval is reached, and output the dynamic response time history of the multibody system state vector. Step 5-3) Based on the state vector output in Step 5-2) and the constraint geometry of the actual physical structure, recover the specific engineering response quantity using the closed-loop geometry. By executing steps 5-1) to 5-3), the numerical state history is transformed into intuitive mechanical operating parameters, ultimately outputting engineering response quantities that guide engineering practice.
[0029] In step 5-3), the engineering response quantities include generalized coordinates, generalized velocity, component angular displacement, component displacement, and end effector trajectory; For the dynamic response analysis of the crank-slider mechanism, after reducing the order of independent coordinates using the Lagrange method, the equivalent dynamic equation of the system is expressed by the following formula: ; In the formula, The equivalent mass of the system after projection onto independent coordinates. This represents the total potential energy of the system. For crank angle, and These are the crank angular velocity and crank angular acceleration, respectively. The derivative of the equivalent mass with respect to the crank angle is given. Let be the derivative of the total potential energy of the system with respect to the crank angle; let , ,in The crank angle is the state variable. Since the crank angular velocity is the state variable, this equation can be converted into a two-variable first-order state equation. After obtaining the crank angle state history using the reduced-order state equations, the angle between the connecting rod and the horizontal guide of the slider is expressed by the formula: ; Based on the included angle and crank angle, the actual engineering response quantity of slider displacement is expressed by the formula: ; In the formula, This represents the displacement of the slider along the horizontal guide direction; The crank length, The length of the link. For crank angle, The angle between the connecting rod and the horizontal guide of the slider is taken as the square root of the non-negative support that matches the actual assembly configuration of the mechanism.
[0030] Example 1: A general multi-node explicit prediction and differential quadrature correction method: For a multibody system that has undergone independent coordinate reduction, its dynamic equations are expressed as: (1); in, For generalized coordinate vectors, and These are the generalized velocity vector and the generalized acceleration vector, respectively. , and These are the mass matrix, damping matrix, and stiffness matrix, respectively. It is a generalized force vector composed of external loads, nonlinear generalized forces, and equivalent nonhomogeneous terms caused by state-dependent or time-varying coefficients; Let be time, and the point and two points above the variable represent the first and second derivatives with respect to time, respectively.
[0031] Let the state vector Equation (1) is transformed into a first-order state equation: (2); In the formula, The state vector is formed by the generalized coordinate vector. and generalized velocity vector composition, For a complete right-hand side function; For fixed or time-varying linear transmission components; This includes the remainder of the function, which incorporates external excitation, nonlinear forces, and state-dependent terms. In actual calculations, the complete right-hand side function can be used directly. As a program interface, it does not require explicit separation. and .
[0032] In practical implementation, the complete right-hand function receives the current time and the current predicted state, and returns the generalized velocity and generalized acceleration corresponding to that state. For constant-coefficient linear systems, a fixed matrix can be pre-formed; for time-varying or nonlinear systems, the relevant matrices, external loads, and nonlinear generalized forces are updated in each function call. Thus, the linear nonhomogeneous equations and state-related dynamic equations can adopt the same prediction-correction process.
[0033] like Figures 1 to 3 As shown, let the current complete time step be... According to the number of nodes Complete time step Divide into equal parts, with sub-step size and node time as follows: (3); in, For the first A complete time step This is the complete time step number; For the complete time step; The number of nodes; For the step length; For the first Each node moment; This is the node sequence number.
[0034] Based on the current accepted status Starting from this point, execute continuously. The subclassical fourth-order Runge-Kutta substep is used to obtain the node prediction state. Each Runge-Kutta stage recalculates the complete right-hand side function according to the stage prediction state and stage time. The calculation is performed at each node: For the first Starting from any substep of the predicted node, calculate the four-stage slopes of the classic fourth-order Runge-Kutta in sequence, and obtain the... Number of prediction nodes: (4); (5); in, and The first The and the first The predicted state of each node; For the first Each node moment; , , and These are the slope vectors of the four stages of the current Runge-Kutta substep; For a complete right-hand side function; For the step length; For node sequence number, Initial prediction state Initial node time .
[0035] In equation (4), each stage calls the full right-hand function with the corresponding stage prediction state and stage time, instead of only updating the external load term. The prediction endpoint of the previous substep serves as the starting point of the next substep, thus continuously generating the required nodes within a complete time step. For the four-node and five-node formats, equations (4) and (5) are repeated four and five times, respectively. The aforementioned prediction endpoints are only used to provide the node state and are not directly used as the final accepted state of the current complete time step.
[0036] (6); in, For the first The complete right-hand function value of each node. For the first The predicted state of each node. For the first At each node time, This is the node sequence number.
[0037] Employ differential quadrature weights that correspond to the number of nodes. Calculate the correction endpoint state: (7); in, and These represent the starting acceptance state and the correction ending state of the current complete time step, respectively. For the complete time step; The number of nodes; The weight vector of the first The summation term represents the weighted sum of the complete right-hand function values of all nodes within the current complete time step; the meanings of the remaining symbols are the same as before.
[0038] Equation (7) uses the accepted state at the start of the complete time step as a benchmark and uniformly weights the complete right-hand side function values of all nodes within that complete time step. This process differs from directly writing the endpoint of the last Runge-Kutta substep into the state time history, and can utilize multiple nodes to jointly form the state increment of the current complete time step. Node prediction and global correction are executed sequentially within the same complete time step, without the need to solve the nonlinear iteration of the implicit time integral equation.
[0039] The weight vectors for the four-node and five-node formats are as follows: (8); (9); in, and Let (4) and (5) be the dimensionless differential integral weight vectors in four-node and five-node formats, respectively. The superscripts (4) and (5) indicate the corresponding node numbers. The elements are denoted as .
[0040] The four-node format adopts and It prioritizes computational efficiency; the five-node format adopts... and It prioritizes calculation accuracy. The corrected result... As the starting point of the next complete time step, the process is repeated until the termination time.
[0041] The four-node format executes four consecutive Runge-Kutta substeps to form a unified four-node prediction sequence, with the fourth node having a weight of 0. The five-node format executes five consecutive Runge-Kutta substeps, with all five nodes participating in global weighting. Both formats share the same stateification, node generation, complete right-hand function evaluation, and state loop update procedures, differing only in the number of nodes, substep length, and weight configuration. The target format is determined a priori and automatic format switching is not required during time progression.
[0042] In one implementation, the start time, end time, complete time step, and initial state are first read, and the number of nodes and weight arrays are written according to the target format. Then, a temporary prediction state array is established within each complete time step, and the node prediction state and the function value on the right side of the node are generated one by one. After the global correction of equation (7) is completed, only the correction state is retained as the basis for subsequent advancement, and the temporary prediction state can be released or overwritten after the current time step ends. This allows the four-node format and the five-node format to use the same program structure.
[0043] when Degenerates into a purely time function that can be analytically integrated At that time, the analytical load increment within a complete time step is calculated according to the following formula:
[0044] in, For the first Within a complete time step, the pure time function The resulting analytical load increment, and These are the start and end times of the complete time step, respectively. The variable is the integral variable. The analytical load increment is added to the state integral term to retain the analytical integral information of the known external load; when the external load, nonlinear force, or state-related term cannot be analytically integrated, the complete right-hand side function at the node is numerically weighted using equation (7). Both processing paths take the corrected endpoint state as the starting point of the next complete time step.
[0045] For state-dependent or time-varying mass matrix problems, the second-order dynamic equations can be written as: (10); in, The mass matrix that varies with generalized coordinates or time; It is a generalized force vector; , and These are the generalized coordinate vector, the generalized velocity vector, and the generalized acceleration vector, respectively. For time.
[0046] At each Runge-Kutta stage and differential quadrature node, the mass matrix and generalized force are reconstructed based on the current predicted state, the acceleration is obtained, and the complete right-hand side function is constructed to avoid freezing the state correlation coefficient within a complete time step.
[0047] Specifically, generalized coordinates and generalized velocity are read from the current predicted state, and based on this, a... and The generalized acceleration is obtained by solving the current mass matrix equation, and then the generalized velocity and generalized acceleration are combined to form the current complete right-hand side function value. This process is executed separately in the Runge-Kutta internal stage and the differential quadrature correction node, thus updating not only the external load, but also the mass matrix and nonlinear generalized force simultaneously.
[0048] When the mass matrix is a constant matrix, it can be decomposed before the computation begins and reused in subsequent function evaluations. When the mass matrix changes with state or time, it is reformulated at the corresponding stage or node, and the current mass matrix equation is solved. The above differences only affect the internal computation of the complete right-hand side function and do not change the outer steps of nodal prediction and differential quadrature correction.
[0049] After completing the calibration for a full time step, Write the state time history and update the current time; continue looping until the termination time is reached; upon reaching the termination time, output the generalized coordinates, generalized velocity, and component displacement, angular displacement, or end trajectory recovered from the mechanism's geometry. This embodiment uses a fixed complete time step; automatic step adjustment and error acceptance or rejection control are not necessary steps.
[0050] Example 2: Linear two-degree-of-freedom system: This embodiment verifies the ability of the present invention to handle linear nonhomogeneous dynamic equations. Consider the following two-degree-of-freedom forced vibration system: (11); in, and These are the generalized displacements of the first and second degrees of freedom, respectively. and These represent the corresponding generalized accelerations; the first matrix on the left is the mass matrix, and the second matrix is the stiffness matrix; the vector on the right is the external excitation force vector. This indicates that the value applied to the second degree of freedom is 5 and the angular frequency is... The simple harmonic excitation force; For time.
[0051] The system's initial displacement and initial velocity are both 0. Let the state vector be... Transform equation (11) into Since the external load is an explicit cosine function, the analytical load increment can be calculated within each complete time step, or the complete right-hand side function can be directly evaluated according to each node time. This embodiment adopts the former and completes node prediction and global correction according to Embodiment 1.
[0052] The calculations were performed using four-node schemes, five-node schemes, the classic fourth-order Runge-Kutta method, the Newmark method, the trapezoidal rule, and the precise integration method, respectively. Figure 4 The displacement response at different time steps is presented.
[0053] Table 1. Comparison of error, time consumption, and convergence order of the linear two-degree-of-freedom system in Example 2 (complete time step) )
[0054] In Table 1, The error norm represents the maximum absolute error over all sampling times. The error norm represents the overall mean square error level across all sampling times, and both are calculated based on the analytical solution of the two-degree-of-freedom displacement vector. The average computation time is the average of repeated runs of the same example, and the average observation convergence order is obtained from the error variation under different complete time steps. As shown in Table 1, in... At that time, the two error norms of the four-node scheme were both smaller than those of the classic fourth-order Runge-Kutta method, the Newmark-β method, and the trapezoidal rule; the two error norms of the five-node scheme were even smaller than those of the four-node scheme. The average observed convergence orders of the four-node and five-node schemes were 3.986 and 4.984, respectively, consistent with the expected accuracy of the two node configurations. The refined integration method yielded near-machine-accurate results in this constant-coefficient linear example; therefore, this table is used to illustrate the convergence and computational performance of the two schemes of this invention, and is not intended to conclude that they outperform the refined integration method in all constant-coefficient linear systems.
[0055] The calculation results with different complete time steps also show that, after reducing the complete time step, the displacement-time histories of both the four-node and five-node schemes gradually approach the analytical solution; at the same complete time step, the error of the five-node scheme decreases faster. This result is consistent with the configuration objectives of the two schemes, which respectively emphasize efficiency and accuracy.
[0056] Example 3: Planar Double-Link Robotic Arm This embodiment verifies the ability of the five-node format to handle state-dependent mass matrices and strongly nonlinear coupled dynamic equations. The physical model of the planar double-link manipulator is as follows: Figure 5 As shown. Length of the first rod. ,quality The length of the second rod ,quality Select the absolute angle of the first rod. relative angle between the second rod For generalized coordinates.
[0057] The second-order dynamic equation of the system is: (12); in, , , and These are elements of the quality matrix; and They are respectively with , The corresponding generalized force components; For the first shot, the absolute angle. The relative angle of the second rod; and These are the angular accelerations corresponding to the rotation angles; and These are the lengths of the first and second poles, respectively. and The masses of the first and second rods are respectively.
[0058] The elements of the quality matrix are represented as follows:
[0059]
[0060]
[0061] The generalized force components, including gravity, centrifugal force, and Coriolis force, are represented as follows:
[0062]
[0063] in, It is the acceleration due to gravity. and These are the absolute angular velocity of the first rod and the relative angular velocity of the second rod, respectively.
[0064] The mass matrix elements in equation (12) are determined by the component mass, rod length, and relative rotation angle, and vary with the robot arm configuration; the generalized force includes gravity, centrifugal force, and Coriolis force, therefore the complete right-hand side function explicitly depends on the current generalized coordinates and generalized velocity. Let the state vector be... .
[0065] Read from the stage prediction state at each Runge-Kutta stage. , , and The mass matrix and generalized force in equation (12) are reformulated, and the stage acceleration is obtained by solving the current mass matrix equation. At each differential quadrature node, the same calculation is performed according to the node prediction state. Thus, the mass matrix and nonlinear force will not remain fixed within a complete time step.
[0066] Using high-precision variable step size calculation results as a reference, we compare four-node format, five-node format, classic fourth-order Runge-Kutta method and implicit trapezoidal method. Figure 6 and Figure 7 The angular displacement time history and the end effector trajectory of the robotic arm are presented respectively.
[0067] Table 2 Comparison of end-effector position error and time consumption of the planar double-link robotic arm in Example 3 (complete time step) )
[0068] In Table 2, The error norm represents the maximum value of the position error of the robotic arm's end effector over all sampling times. The error norm represents the overall mean square level of the robot arm's end-effector position error across all sampling times. Both are calculated using the robot arm's end-effector position obtained through high-precision variable step size calculation as a reference. The average calculation time is the average value obtained from repeated runs of the same calculation example. As shown in Table 2, in At that time, the five-node format The norm is 5.712 × 10 -9 , The norm is 1.411 × 10 -9 All of these are less than the four-node scheme, the classic fourth-order Runge-Kutta method, and the implicit trapezoidal method; their average computation time is 3.981 × 10⁻⁶. - ¹ s, four-node format is 3.538×10 - ¹ s. Combination Figure 6 The angular displacement time history shown and Figure 7 As shown in the end-effector trajectory, it can be seen that after reconstructing the mass matrix and generalized force according to the node predicted state, the state response obtained from the five-node format and the end position recovered from the state variables are close to the reference results.
[0069] The end effector trajectory of the robotic arm is recovered time-by-time from the rotation angles and lengths of the two links according to the geometric relationship of the mechanism. The angular displacement response is consistent with the end effector trajectory, indicating that the correction results are applicable not only to the state variables themselves, but also to the calculation of the spatial motion response determined by multiple state variables.
[0070] Example 4: Crank-slider mechanism: This embodiment verifies the ability of the present invention to handle reduced-order systems with closed geometric constraints and long-time dynamic responses. The physical model of the crank-slider mechanism is as follows: Figure 8 As shown, crank length Link length Select crank angle For independent generalized coordinates.
[0071] After applying the Lagrange method and performing independent coordinate reduction, the system can be represented as follows: (13); In the formula, The equivalent mass of the system after projection onto independent coordinates. This represents the total potential energy of the system. For crank angle, and These are the crank angular velocity and crank angular acceleration, respectively. The derivative of the equivalent mass with respect to the crank angle is given. Let be the derivative of the system's total potential energy with respect to the crank angle. , ,in The crank angle is the state variable. Given the crank angular velocity as the state variable, equation (13) can be transformed into a two-variable first-order state equation. The right-hand side of this state equation explicitly depends on... and Therefore, the equivalent mass, equivalent mass derivative, and potential energy derivative are recalculated at each Runge-Kutta stage and differential quadrature node.
[0072] set up Let be the angle between the connecting rod and the horizontal guide of the slider. The closed-loop geometric relationship is: (14); The slider displacement is recovered by the following formula: (15); In the formula, This represents the displacement of the slider along the horizontal guide direction; The crank length, The length of the link. For crank angle, Let be the angle between the connecting rod and the horizontal guide of the slider, and take the square root as a non-negative branch that matches the actual assembly configuration of the mechanism. Therefore, the slider displacement... It is the engineering response quantity recovered from independent state variables through geometric constraints. The calculation process first obtains... The state-time history is then used to recover the slider displacement time-by-time according to equations (14) and (15). This process shows that the output of this method is not limited to the state vector itself, but can also include the mechanism response quantity calculated from the constraint geometry.
[0073] Using high-precision variable step-size calculation results as a reference, long-term comparisons are performed using four-node format, five-node format, classic fourth-order Runge-Kutta method, and trapezoidal method. Figure 9 The slider displacement response in the interval from 75s to 80s is given.
[0074] Table 3 Comparison of long-time slider displacement error and time consumption in Example 4 crank-slider mechanism (complete time step) )
[0075] In Table 3, The error norm represents the maximum value of the slider displacement error across all sampling times. The error norm represents the overall mean square level of the slider displacement error across all sampling times. Both are calculated using the slider displacement obtained from high-precision variable step size calculation as a reference. The average calculation time is the average value obtained from repeated runs of the same example. As shown in Table 3, in At that time, the five-node format The norm is 1.598 × 10 - ³, The norm is 7.012 × 10 -4 All are smaller than the four-node format, the classic fourth-order Runge-Kutta method, and the trapezoidal method. (Combined) Figure 9 The slider displacement response shown in the 75s to 80s interval demonstrates that after long-time integration of the state equation obtained by order reduction using independent coordinates, the five-node scheme can effectively preserve the slider displacement phase recovered from the closed-loop geometric relationship.
[0076] This embodiment also shows that when the dynamic equation has been reduced in order by constraints through independent coordinates, this method can directly integrate the reduced state equation without having to solve all constraint variables at each complete time step; the final engineering response can be recovered from the independent state and closed-loop geometric relationship.
[0077] Example 5: Multibody system dynamics simulation system based on the prediction-correction single-step method: The computing system includes a processor, a memory, and input / output interfaces. The memory stores the dynamic model, initial state, time interval, complete time step, four-node weights, five-node weights, and computer program; the input interface is used to obtain model parameters and calculation conditions, and the output interface is used to output the state-time history and engineering response quantities.
[0078] After the processor invokes the computer program, it sequentially executes the following steps: dynamic model stateification, target accuracy format configuration, node time generation, continuous Runge-Kutta substep prediction, node-level complete right-hand function evaluation, differential quadrature global correction, state loop update, and engineering response output. The processor can be a general-purpose central processing unit, a workstation processor, or other processing unit capable of performing floating-point numerical calculations, and the memory can be random access memory, solid-state memory, or other non-volatile memory.
[0079] The program can be implemented using programming software or other programming languages capable of performing the same computational steps. When changing the programming language or computing platform, the number of nodes, substep size, associated weights, and the relationship between the complete right-hand function and state updates remain unchanged for four-node and five-node systems.
Claims
1. A multibody system dynamics simulation method based on the prediction-correction single-step method, characterized in that, Includes the following steps: Step 1: Obtain the parameters of the multibody system to be solved and perform state preprocessing of the dynamic model to finally obtain the complete right-hand side function and the initial accepting state; Step 2: Configure the target precision format and divide the time into sub-steps to obtain the time of each node and its corresponding weight vector within the current complete time step; Step 3: Based on the current acceptance state extracted in Step 1 and the substep size determined in Step 2, continuously execute the classic fourth-order Runge-Kutta substep to generate the node prediction state, and finally obtain the prediction state corresponding to each node. Step 4: Combining the complete right-hand function determined in Step 1, the matching weight vector obtained in Step 2, and the predicted states of each node obtained in Step 3, perform a complete right-hand function re-evaluation and global weighting by differential integration on the nodes to finally obtain the corrected endpoint state of the current complete time step. Step 5: Based on the correction endpoint state obtained in Step 4, cyclically update the state and restore the physical parameters according to the geometric constraints, and finally output the engineering response quantity that reflects the dynamic characteristics of the multibody system.
2. The method according to claim 1, characterized in that, Step 1 includes the following sub-steps: Step 1-1) Obtain the physical entity dynamics model, initial state, computation time interval, and complete time step of the multibody system to be solved; Step 1-2) Based on the dynamic model obtained in Step 1-1), the dynamic model is converted into a first-order state equation with the state vector as the unknown. Steps 1-3) Based on the first-order state equations obtained from the transformation in Steps 1-2), the dynamic model is further subdivided according to the coupling characteristics of different physical objects; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
3. The method according to claim 2, characterized in that, In steps 1-2), for the multibody system after independent coordinate transformation, a second-order non-homogeneous dynamic equation is established, expressed by the formula: ; in, For generalized coordinate vectors, and These are the generalized velocity vector and the generalized acceleration vector, respectively. , and These are the mass matrix, damping matrix, and stiffness matrix, respectively. It is a generalized force vector composed of external loads, nonlinear generalized forces, and equivalent nonhomogeneous terms caused by state-dependent or time-varying coefficients; Let be time, and the one point and two points above the variable represent the first and second derivatives with respect to time, respectively; The state vector is defined as a combination of the generalized coordinate vector and the generalized velocity vector, expressed by the formula: ; in, The state vector is formed by the generalized coordinate vector. and generalized velocity vector composition; By substituting the state vector, the second-order nonhomogeneous dynamic equations are transformed into first-order state equations. The right-hand side of the first-order state equations forms a complete right-hand function, which can be expressed by the formula: ; In the formula, For a complete right-hand side function; For fixed or time-varying linear transmission components; The remainder includes external excitation, nonlinear forces, and state-related terms.
4. The method according to claim 2, characterized in that, In steps 1-3), when the multibody system contains features that vary with geometric configuration, the dynamic model is represented as a state-dependent mass matrix system, expressed by the formula: ; in, The mass matrix that varies with generalized coordinates or time; It is a generalized force vector; and These are the generalized velocity vector and the generalized acceleration vector, respectively. For time; Case 1) For a planar double-bar linkage involving gravity, centrifugal force, and Coriolis force, the corresponding equation elements are determined by the component mass, bar length, and relative rotation angle. The system dynamic equation is expressed as: ; in, , , and These are elements of the quality matrix; and They are respectively with , The corresponding generalized force components; For the first shot, the absolute angle. The relative angle of the second rod; and These are the angular accelerations corresponding to the rotation angles; Case 2) For a linear two-degree-of-freedom vibration system subjected to an external excitation force, substituting it into the state-based framework, the dynamic model is transformed into: ; in, and These are the generalized displacements with two degrees of freedom, and These represent the corresponding generalized accelerations; the first matrix on the left is the mass matrix, and the second matrix is the stiffness matrix; the vector on the right is the external excitation force vector. This indicates that the value applied to the second degree of freedom is 5 and the angular frequency is... The simple harmonic excitation force; For time; By executing steps 1-1) to 1-3), the complete right-hand function after stateful preprocessing is finally obtained, and the initial state is extracted as the current accepted state at the start time.
5. The method according to any one of claims 1 to 4, characterized in that, Step 2 includes the following sub-steps: Step 2-1) Determine the target precision format from the four-node and five-node formats; Step 2-2) Based on the target accuracy format determined in Step 2-1), allocate the number of nodes and configure the weight vector; Step 2-3) Combining the complete time step obtained in Step 1-1) and the number of nodes configured in Step 2-2), for the current complete time step defined by the current time and the next time, divide the current complete time step into the corresponding number of sub-intervals according to the number of nodes; By executing steps 2-1) to 2-3), the node times and corresponding weight vectors used for subsequent state prediction and global correction are finally obtained; In step 2-1), for linear systems, weakly nonlinear systems, short-time response analysis, or dynamic response calculations with high real-time requirements, a four-node format that prioritizes computational efficiency is selected. For strongly nonlinear coupled systems, state-dependent mass matrix systems, geometrically constrained reduced-order systems, long-time-history response analysis, or dynamic response calculations sensitive to phase errors, the five-node scheme, which prioritizes computational accuracy, should be selected. In step 2-2), the following cases apply: Case 1) When the target precision format is a four-node format, set the number of nodes to 4 and configure the weight vector, expressed by the formula: ; Case 2) When the target precision format is a five-node format, set the number of nodes to 5 and configure the weight vector, expressed by the formula: ; in, and Let (4) and (5) be the dimensionless differential integral weight vectors in four-node and five-node formats, respectively. The superscripts (4) and (5) indicate the corresponding node numbers. The elements are denoted as ; Steps 2-3 include: 2-3-1) Determine the sub-step size, expressed by the formula: ; 2-3-2) Based on the current time and sub-step size, determine the time of each node sequentially, expressed by the formula: ; in, For the complete time step, For the number of nodes, For the step length, For the current moment, For node time, i For node sequence number, This is the complete time step sequence number. This represents the end point of the current complete time step.
6. The method according to claim 5, characterized in that, Step 3 includes the following sub-steps: Step 3-1) Starting from the current accepted state of the current complete time step, execute the classic fourth-order Runge-Kutta substeps the same number of times as the number of nodes, with the substep size determined in Step 2-3); for any classic fourth-order Runge-Kutta substep starting from the (j-1)th predicted state and the corresponding time, calculate the slope of the four stages in sequence, expressed by the formula: ; in, and The first The and the first The predicted state of each node; For the first Each node moment; , , and These are the slope vectors of the four stages of the current Runge-Kutta substep; For a complete right-hand side function; For the step length; For node sequence number, Initial prediction state Initial node time ; Step 3-2) Based on the slopes of the four stages calculated in Step 3-1), calculate the predicted state of the j-th node, expressed by the formula: ; Where j=1,2,...,s; it should be noted that in each Runge-Kutta stage, the correlation matrix and generalized force are reconstructed based on the stage prediction state, and then the complete right-hand function corresponding to the stage time is calculated; Step 3-3) Repeat steps 3-1) and 3-2) to use the predicted endpoint as the starting point of the next sub-step, and finally obtain the predicted state of each node in the current complete time step.
7. The method according to claim 1, 2, 3, 4, or 6, characterized in that, Step 4 includes the following sub-steps: Step 4-1) At each node time, re-evaluate the complete right-hand function based on the predicted state of the corresponding node output in Step 3-3, and obtain the complete right-hand function value of each node; Step 4-2) Using the matching weight vector configured in Step 2-2), the complete right-hand function values of each node obtained by re-evaluation in Step 4-1) are globally weighted, and the weighted state increment is added to the current accepted state; By executing steps 4-1) to 4-2), multiple nodes are used to jointly form the state increment of the current complete time step, and finally the corrected end state of the current complete time step is obtained.
8. The method according to claim 7, characterized in that, In step 4-1), the re-evaluation operation is expressed by the formula: ; in, For the first The complete right-hand function value of each node. For the first The predicted state of each node. For the first At each node time, For node sequence number; During this re-evaluation process, when Degenerates into a purely time function that can be analytically integrated When, the analytical load increment within a complete time step is added to the state integral term obtained by weighting the predicted states of each node; when When performing non-analytical integration, the remaining parts are evaluated directly at each node and numerically weighted using the corresponding weights; For a system containing a state-dependent mass matrix, the current stage acceleration is obtained by solving the current mass matrix equation, and the complete right-hand side function value obtained from the re-evaluation is constructed from the acceleration, generalized coordinates, and generalized velocity. In step 4-2), the weighting operation uses the following formula: ; in, To correct the endpoint state, The current acceptance status is... These are the elements in the weight vector. For the complete time step, For the number of nodes, For node sequence number, The index is the complete time step number, and the summation term represents the weighted sum of the complete right-hand side function values of all nodes within the current complete time step.
9. The method according to claim 7, characterized in that, Step 5 includes the following sub-steps: Step 5-1) Use the corrected endpoint state obtained from the current complete time step as the current acceptance state for the next complete time step, and proceed to the next time advance step; Step 5-2) Based on the current acceptance state updated in Step 5-1), repeat Steps 2 to 4 until the end of the calculation time interval is reached, and output the dynamic response time history of the multibody system state vector. Step 5-3) Based on the state vector output in Step 5-2) and the constraint geometry of the actual physical structure, recover the specific engineering response quantity using the closed-loop geometry. By executing steps 5-1) to 5-3), the numerical state history is transformed into intuitive mechanical operating parameters, ultimately outputting engineering response quantities that guide engineering practice.
10. The method according to claim 9, characterized in that, In step 5-3), the engineering response quantities include generalized coordinates, generalized velocity, component angular displacement, component displacement, and end effector trajectory; For the dynamic response analysis of the crank-slider mechanism, after reducing the order of independent coordinates using the Lagrange method, the equivalent dynamic equation of the system is expressed by the following formula: ; In the formula, The equivalent mass of the system after projection onto independent coordinates. This represents the total potential energy of the system. For crank angle, and These are the crank angular velocity and crank angular acceleration, respectively. The derivative of the equivalent mass with respect to the crank angle is given. Let be the derivative of the total potential energy of the system with respect to the crank angle; let , ,in The crank angle is the state variable. Since the crank angular velocity is the state variable, this equation can be converted into a two-variable first-order state equation. After obtaining the crank angle state history using the reduced-order state equations, the angle between the connecting rod and the horizontal guide of the slider is expressed by the formula: ; Based on the included angle and crank angle, the actual engineering response quantity of slider displacement is expressed by the formula: ; In the formula, This represents the displacement of the slider along the horizontal guide direction; The crank length, The length of the link. For crank angle, The angle between the connecting rod and the horizontal guide of the slider is taken as the square root of the non-negative support that matches the actual assembly configuration of the mechanism.
