A componentized construction method of a whole machine electromechanical integrated model of a five-axis numerical control machine tool
By using a modular construction method, the five-axis CNC machine tool is divided into structural, transmission, and servo components. The model is established using a six-degree-of-freedom rigid body and spring-damped elements, which solves the problems of complex modeling and lack of unified model in the existing technology, and realizes the rapid construction of the whole machine closed-loop model and dynamic characteristic description.
Patent Information
- Application Number
- CN202611329231.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-11-24
AI Technical Summary
Existing electromechanical models of five-axis CNC machine tools are complex to model, making it difficult to quickly respond to changes in structural parameters or machine tool configuration. They also lack a unified model format and assembly relationships, making it difficult to quickly form closed-loop models of five-axis CNC machine tools with different configurations.
The five-axis CNC machine tool is divided into structural components, transmission components, and servo components. A modular construction method is adopted, and a general model is established through a spatial six-degree-of-freedom rigid body and spring damping unit. The structural vibration, transmission elasticity, and servo following error are calculated in a unified manner to form a closed-loop model of the whole machine.
It enables the rapid construction of closed-loop models of five-axis CNC machine tools with different configurations, retains the translational and rotational coupling of the joints, describes the pose-related changes of the dynamic characteristics of the whole machine, and forms a unified connection between the structure, transmission and servo models.
Smart Images

Figure CN123156791A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of CNC machine tool dynamics modeling and electromechanical system co-simulation technology, specifically to a component-based construction method for a five-axis CNC machine tool whole-machine electromechanical integrated model. Background Technology
[0002] Digital twin models of five-axis CNC machine tools need to simultaneously describe the overall structural dynamics, feed transmission characteristics, and servo control response to support dynamic performance prediction, control parameter adjustment, and machining accuracy analysis. However, existing whole-machine electromechanical models typically involve complex processes such as multibody dynamics equation derivation, equivalent flexible joints, and connections between the structure and the servo system. These processes require a high level of expertise from modelers and have long modeling cycles, thus hindering the engineering application of digital twin technology in machine tool design, debugging, and machining.
[0003] Existing methods mostly employ finite element models, reduced-order models, lumped parameter models, or multibody dynamics models oriented towards specific configurations. The finite element method and reduced-order model (A practical study of joints in three-dimensional Inverse Receptance Coupling Substructure Analysis method in a horizontal milling machine, International Journal of Machine Tools and Manufacture, 128(2018) 41-51; Dimensionality Reduction of High-Fidelity Machine Tool Models by Using Global Sensitivity Analysis, JOURNAL OF MANUFACTURING SCIENCE AND ENGINEERING-TRANSACTIONS OF THE ASME, 144 (2022)) are complex to establish and calculate, and are difficult to respond quickly to changes in structural parameters or machine tool configuration. Although the lumped parameter model (Design and Kinematic Analysis of a Novel Machine Tool With Four Rotational Axes and One Translational Axis, JOURNAL OF MANUFACTURING SCIENCE AND ENGINEERING-TRANSACTIONS OF THE ASME, 141 (2019)) has high computational efficiency, it usually requires reselecting the degrees of freedom and deriving the dynamic relationships for the specific machine tool. Furthermore, multiple guide rails, sliders, bearings, and other joints are often simplified into a single equivalent connection (Modeling the Dynamics of Five-Axis Machine Tool Using the Multibody Approach, Journal of Manufacturing Science and Engineering, 143 (2020).), making it difficult to retain the influence of the spatial distribution of joints on the translational and rotational responses of the structure.
[0004] Meanwhile, mechanical structure, transmission system and servo control models are usually established separately, lacking a unified model form and assembly relationship, making it difficult to quickly form a closed-loop model of the whole machine of five-axis CNC machine tools with different configurations. Summary of the Invention
[0005] To overcome the shortcomings of the prior art, the present invention aims to provide a modular construction method for the electromechanical integrated model of a five-axis CNC machine tool. The method completes the model selection and assembly based on the machine tool's kinematic chain and actual connection relationship. While avoiding repeated derivation of the overall machine dynamic equations, it achieves unified calculation of structural vibration, transmission elasticity, servo following error, and tool tip dynamic response, and quickly forms a closed-loop model of a five-axis CNC machine tool with different configurations.
[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: A component-based construction method for the electromechanical integration model of a five-axis CNC machine tool includes the following steps: Step 1: Based on the function of each component in the machine tool, the five-axis CNC machine tool to be modeled is divided into structural components, transmission components, and servo components. Based on the motion of the structural components relative to adjacent structural components, the structural components are further divided into fixed components, linear motion components, and rotary motion components. Step 2: Represent the structural components in each structural assembly as spatial six-degree-of-freedom rigid bodies. Set spring damping units at each actual connection position of the structural component, and convert the connection points on one side of each spring damping unit connected to the same adjacent structural component into spatial six-degree-of-freedom connection nodes according to the rigid body motion relationship, forming a general model of the structural assembly. Step 3: Based on the mass and inertia parameters of the six-degree-of-freedom rigid body in space, as well as the position, stiffness, and damping parameters of each spring-damped unit, calculate the mass matrix, damping matrix, and stiffness matrix of various structural components. Step 4: The transmission assembly adopts a lumped parameter model that includes internal and connection degrees of freedom; based on the position vector of the actual driving force application position relative to the centroid of the corresponding moving structural component, the transmission connection degree of freedom is made equal to the displacement or rotation angle of the actual driving force application position along the feed direction, and the driving force or driving torque is mapped into a generalized force acting on the six degrees of freedom of the centroid space of the moving structural component according to the virtual work equivalence relationship. Step 5: Arrange the pre-assembly degrees of freedom of each structural component and transmission component according to the kinematic chain relationship, and write the rigid body displacement mapping of each actual joint position, the connection coordination relationship of adjacent structural components, the transmission displacement mapping of the actual driving force application position, and the fixed constraints of the machine tool foundation into a unified whole machine assembly matrix. Make the degree of freedom vector q before assembly u After assembly with the whole machine, the degree of freedom vector q mt satisfy The local mass matrix, damping matrix, and stiffness matrix are combined to form a block diagonal matrix M. u C u and K u Obtain the overall machine mass matrix Damping matrix and stiffness matrix ; Step 6: Represent the servo control links of each motion axis as a state-space model, map the output driving force or driving torque to the actual driving force application position as described in Step 4, input it into the whole machine mechanical dynamics model, and extract the matrix L based on the actual measurement feedback from the position measuring device and speed measuring device. p and L v , so that the position feedback quantity y p =L p q mt Speed feedback quantity y v =L v mt The feedback quantity is fed back to the corresponding servo control link to obtain the closed-loop electromechanical integration model of the five-axis CNC machine tool.
[0007] The fixing components include a basic fixing component and a structural fixing component; the basic fixing component is used to describe the bed structure directly connected to the machine tool foundation; the structural fixing component is used to describe the column, beam or support structure connected to the preceding structure and not subject to feed motion relative to the preceding structure. The spatial six-degree-of-freedom connection nodes in the basic fixed component are set as fixed constraints; the spatial six-degree-of-freedom connection nodes in the structural fixed component establish displacement coordination relationships with the corresponding degrees of freedom of the preceding structural components.
[0008] The linear motion assembly includes a slider moving assembly and a guide rail moving assembly; in the slider moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component does not change with the position of the motion axis; in the guide rail moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component changes with the position of the motion axis. i The position vector of each spring damping unit is: (1) In the formula, For the first i The spring damping unit is relative to the first k The initial position vector of the centroid of a moving structural component. The feed motion direction vector, s k This corresponds to the position of the linear motion axis.
[0009] The rotary motion assembly includes a centroidal rotary assembly whose rotary axis passes through the centroid of the moving structural component, and an offset rotary assembly whose rotary axis does not pass through the centroid of the moving structural component. For the offset rotary assembly, a local coordinate system is established with a reference point on the rotary axis as the origin, and the position and direction of the centroid of the structural component, the spring damping unit, and the connection position in the whole machine coordinate system are determined according to the direction of the rotary axis and the rotary angle.
[0010] No. k The spatial six-degree-of-freedom rigid body degrees of freedom in each structural component are: (2) In the formula, , and These represent the translational displacements along the three coordinate directions. , and These represent the rotational displacements about the three coordinate directions; The degrees of freedom of the spatial six-degree-of-freedom connection node are: , No. k Generalized coordinates of each structural component for: (3) In the formula, The degrees of freedom of the six-degree-of-freedom connection nodes in space. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in a structural component.
[0011] No. i The position vector of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component is: (4) In the formula, , and The first and second are respectively in the centroid coordinate system. i The position coordinates of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component; The displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component is: (5) No. i The relative deformation of each spring-damped unit is as follows: (6) In the formula, Choose the matrix for direction transformation and effective degrees of freedom. This is the displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component; No.k The dynamic equations for a fixed component are: (7) (8) (9) (10) In the formula, , and For the first k Submatrices of the mass matrix of each structural component For the first k Submatrices of the stiffness matrix of each structural component For the first k Submatrices of the damping matrix of each structural component , and They represent the first k On the first structural component i Stiffness of each spring damping unit; , and They represent the first k On the first structural component i Damping of a single spring damping unit , and for Submatrix; , and for Submatrix.
[0012] A local coordinate system containing the rotation axis is established; in the local coordinate system, the center of mass of the structural components, the positions of the joints, and the connection positions are all defined relative to the reference point of the rotation axis; when the rotation axis does not coincide with the principal inertial axis of the structural components, the local mass matrix, damping matrix, and stiffness matrix are transformed to the whole machine coordinate system through a direction transformation matrix; for a rotation axis supported by multiple bearings, multiple three-degree-of-freedom spring damping elements are used to describe the axial and radial flexibility of each bearing respectively; for a rotating component supported by a turntable bearing, a six-degree-of-freedom spring damping element is used, and the stiffness and damping in the feed rotation direction are set to zero. Under the above equivalent method, the first... k The mass matrix, stiffness matrix, and damping matrix of each rotary motion component are as follows: (11) (12) (13) (14) (15) In the formula, , , , , and The first k The stiffness of the spring damping unit of the rotary motion component; , , , , and The first k Damping of a spring-damping unit for a rotary motion component; The coordinates of the joint location; The coordinates of the centroid position; For connecting position coordinates.
[0013] No. k The degrees of freedom of each transmission component are: (16) In the formula, For the internal degrees of freedom of the transmission component, The degree of freedom for the connection between the transmission component and the moving structural component; the transmission component is any one of the following: ball screw transmission component, gear transmission component, worm gear transmission component, torque motor transmission component, or linear motor transmission component. Let the position of the driving force be P. k The displacement at the point of application of the driving force and the six degrees of freedom of the center of mass of the moving structural member satisfy the following: (17) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in each structural component The displacement is the position where the driving force is applied. The force acting at the location of the driving force is converted into a generalized force at the center of mass of the structural component. satisfy: (18) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. As a broad driving force.
[0014] The degrees of freedom of all components before assembly are combined into a degree-of-freedom vector q. uThe independent degrees of freedom that satisfy the connection constraints are combined to form the whole machine degree of freedom vector q. mt Both conditions are met: (19) In the formula, S is the assembly matrix of the whole machine; q mt q is the overall machine's degree of freedom vector; u This represents the degree of freedom vector of the entire machine before assembly. The overall mass matrix M, damping matrix C, and stiffness matrix K are as follows: (20) In the formula, M u C u and K u The mass matrix, damping matrix, and stiffness matrix of the entire machine before assembly; The mechanical dynamics equations of the whole machine are: (twenty one) In the formula, M, C, and K are the mass matrix, damping matrix, and stiffness matrix of the whole machine, respectively, and q mt This is the vector of the machine's degrees of freedom; The overall mechanical dynamics equations are converted into a state-space model: (twenty two) In the formula, This is the overall machine state vector. , , and These are the overall system state matrix, input matrix, output matrix, and connection matrix, respectively. No. i Each servo component is represented as: (twenty three) In the formula, For the first i The state vector of each servo component , , and The first i The state matrix, input matrix, output matrix, and connection matrix of each servo component; The position control component, speed control component, current control component, feedforward component, and filter component are combined into a motion axis servo model through series, parallel, or feedback connection methods.
[0015] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention establishes spring damping units at each actual joint position and calculates the deformation of the joint based on the relative displacement of the connection points on both sides, which can preserve the translational and rotational coupling caused by the distribution of the joint positions; 2. This invention maps the transmission connection degrees of freedom and actuator input to the actual driving force application position, thus preserving the additional torque generated by the driving force deviating from the center of mass of the structural component; 3. This invention incorporates the actual combined position mapping, transmission action position mapping, and basic fixed constraints into the same overall assembly matrix, which can generate the overall dynamic matrix through unified transformation; 4. This invention updates the actual connection position, driving force application position, and direction parameters based on the linear axis position and rotation axis angle, and can describe the pose-related changes of the overall machine's dynamic characteristics; 5. This invention extracts position and velocity feedback from the mechanical model based on the actual feedback measurement position, enabling the structure, transmission, and servo models to form a closed-loop connection in a unified degree-of-freedom system. Attached Figure Description
[0016] Figure 1 This is a flowchart of an embodiment of the present invention.
[0017] Figure 2 This is a schematic diagram showing the division of structural components, transmission components, and servo components in an embodiment of the present invention.
[0018] Figure 3 This is a schematic diagram of a general structural component according to an embodiment of the present invention.
[0019] Figure 4 This is a schematic diagram of the fixing component in an embodiment of the present invention.
[0020] Figure 5 This is a schematic diagram of the movable slider assembly and the movable guide rail assembly according to an embodiment of the present invention.
[0021] Figure 6 This is a schematic diagram of a rotary motion assembly with and without the center of mass in an embodiment of the present invention.
[0022] Figure 7 This is a schematic diagram of a multi-degree-of-freedom lumped parameter transmission assembly (taking a ball screw as an example) according to an embodiment of the present invention.
[0023] Figure 8 This is a schematic diagram of an A / C cradle-type five-axis CNC machine tool according to an embodiment of the present invention.
[0024] Figure 9 This is the mass matrix of the assembled A / C cradle-type five-axis CNC machine tool mechanical system according to an embodiment of the present invention.
[0025] Figure 10 This is a comparison chart of simulation and experiment of the frequency response function of the spindle end face in an embodiment of the present invention.
[0026] Figure 11 This is a comparison diagram of the simulation and experiment of the motion trajectory of the blade tip in an embodiment of the present invention.
[0027] Figure 12 The simulation-experiment comparison curves show the mechanical frequency response, speed loop closed-loop frequency response, and position loop closed-loop frequency response of the Y-axis feed axis in an embodiment of the present invention.
[0028] Figure 13 This is a comparison diagram of the whole machine structure modal simulation and experiment of an embodiment of the present invention. Detailed Implementation
[0029] The present invention will be further described in detail below with reference to the embodiments and accompanying drawings. The embodiments are for explanation and not limitation of the present invention.
[0030] like Figure 1 As shown, a modular construction method for a five-axis CNC machine tool electromechanical integration model includes component division, component model establishment, motion axis assembly, whole machine mechanical model generation, and servo closed-loop connection. Step 1: Component division, such as Figure 2 As shown, based on the functions undertaken by the components of the machine tool, the machine tool is divided into: structural components, which describe the spatial motion of structural parts and the flexibility of joints; transmission components, which describe the power transmission and elastic deformation between the motor and the moving structural parts; and servo components, which describe the dynamic relationship between the controller, feedforward link and filtering link. Based on the motion of structural components relative to adjacent structural components, structural assemblies are further divided into fixed assemblies, linear motion assemblies, and rotary motion assemblies; fixed assemblies include basic fixed assemblies and structural fixed assemblies; linear motion assemblies include slider moving assemblies and guide rail moving assemblies; rotary motion assemblies include rotary axes rotating around the center of mass and offset rotary assemblies. Step 2: Modeling general structural components; k The structural component includes a six-degree-of-freedom rigid body in space and N... k A spring damping unit, such as Figure 3 As shown. A six-degree-of-freedom rigid body in space is used to represent structural components such as the bed, column, slide, spindle box, swing body, or worktable; spring damping units are respectively set at the actual positions of the guide rail slider, bearing, bolt, or other joints, the first... k The spatial six-degree-of-freedom rigid body degrees of freedom in each structural component are: (1) In the formula, , and These represent the translational displacements along the three coordinate directions. , and These represent the rotational displacements about the three coordinate directions; The degrees of freedom of the six-degree-of-freedom rigid body in space are: , No. k The generalized coordinates of each structural component are: (2) In the formula, The degrees of freedom of the six-degree-of-freedom connection nodes in space. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in a structural component.
[0031] Two adjacent structural components are denoted as B. k-1 and B k, Each spring damping unit has two connection points, one of which connects to structural member B. k Another connection point connects to structural component B. k-1 Since the connection points connected to the same rigid body satisfy rigid body motion relationships, the connection points of each spring damping unit located on one side of the preceding structural component can be uniformly represented as a spatial six-degree-of-freedom connection node; i The position vector of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component is: (3) In the formula, , and The first and second are respectively in the centroid coordinate system. i The coordinates of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component.
[0032] The displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component is: (4) No. i The relative deformation of each spring-damped unit is as follows: (5) In the formula, The spatial six degrees of freedom for the preceding connection nodes; Choose the matrix for direction transformation and effective degrees of freedom; For the first k The spatial six-degree-of-freedom rigid body displacement degree of a structural component. This is the displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component.
[0033] No. k The kinetic energy, dissipation function, and elastic potential energy of each structural component are as follows: (6) In the formula, m k For the quality of structural components, , and Let be the moment of inertia of the structural component relative to its center of mass. For the first k The spatial six-DOF rigid body velocity degree of freedom in each structural component and The first i Damping matrix and stiffness matrix of a spring damping unit; For the first i The relative deformation of each spring damping unit For the first i The relative deformation velocity of each spring-damped unit.
[0034] According to the Lagrange equation, the first... k The dynamic equations of the structural components: (7) In the formula, , and The first k The mass matrix, damping matrix, and stiffness matrix of each structural component. For the first k The generalized coordinates of displacement, velocity, and acceleration of each structural component. For the first k Generalized forces of structural components.
[0035] By utilizing the mass, moment of inertia, connection location, joint stiffness, and damping parameters of structural components, the mass matrix, damping matrix, and stiffness matrix of various structural components can be derived.
[0036] Step 3: Structural Component Modeling. A structural component consists of a six-DOF rigid body and six-DOF connection nodes. The six-DOF rigid body represents the structural member, and the six-DOF connection nodes characterize the equivalent displacement of each flexible joint on the structural member. Based on different motion patterns, structural components are further divided into three categories: fixed components, linear motion components, and rotational motion components.
[0037] Fixed components are used to describe structural components that do not undergo macroscopic feed motion relative to the preceding structural components, such as... Figure 4As shown; the fixed components include a basic fixed component and a structural fixed component; the basic fixed component describes the bed structure directly connected to the machine tool foundation; the structural fixed component describes the column, beam, or support structure connected to the preceding structure and not subject to feed motion relative to the preceding structure; the spatial six-degree-of-freedom connection nodes in the basic fixed component are set as fixed constraints; the connection nodes in the structural fixed component establish displacement coordination relationships with the corresponding degrees of freedom of the preceding structure.
[0038] For bolted connections, a three-degree-of-freedom spring-damped element can be used to describe the connection flexibility in the three translational directions; alternatively, a six-degree-of-freedom spring-damped element including rotational stiffness can be used depending on the connection type. Based on the above equivalent method, the... k The mass matrix, stiffness matrix, and damping matrix of the fixed component are as follows: (8) (9) (10) (11) In the formula, , and For the first k Submatrices of the mass matrix of each structural component For the first k Submatrices of the stiffness matrix of each structural component For the first k Submatrices of the damping matrix of each structural component , and They represent the first k On the first structural component i Stiffness of each spring damping unit; , and They represent the first k On the first structural component i Damping of a single spring damping unit , and The first and second are respectively in the centroid coordinate system. i The position coordinates of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component; , and for Submatrix; , and for Submatrix.
[0039] The linear motion assembly includes a slider moving assembly and a guide rail moving assembly; in the slider moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component does not change with the position of the motion axis; in the guide rail moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component changes with the position of the motion axis. i The position vector of each spring damping unit is: (12) In the formula, For the first i The spring damping unit is relative to the first k The initial position vector of the centroid of a moving structural component. The feed motion direction vector, s k This corresponds to the position of the linear motion axis.
[0040] In the slider-moving assembly, the slider moves with the current structural component, the guide rail is mounted on the preceding structural component, and the position of the spring-damping unit on the current structural component remains constant relative to its center of mass. Its mass matrix, stiffness matrix, and damping matrix are the same as those of the fixed assembly. In the guide rail-moving assembly, the guide rail moves with the current structural component, and the slider is fixed to the preceding structural component. As the feed position changes, the slider's position relative to the center of mass of the moving structural component changes. At each given motion position, the position parameters of the spring-damping unit are updated according to the linear axis position, and the stiffness matrix and damping matrix of the corresponding structural component are recalculated. Linear motion assembly modeling. In the slider-moving assembly, the slider moves with the current structural component, and the guide rail is mounted on the preceding structural component. The position of the spring-damping unit on the current structural component remains constant relative to its center of mass, such as... Figure 5 As shown in (a), its mass matrix, stiffness matrix and damping matrix are the same as those of the fixed component.
[0041] In a guide rail moving assembly, the guide rail moves with the current structural component, while the slider is fixed to the preceding structural component. As the feed position changes, the slider's position relative to the center of mass of the moving structural component changes, such as... Figure 5 As shown in (b). Therefore, at each given motion position, the position parameters of the spring-damped element are updated according to the linear axis position, and the stiffness matrix and damping matrix of the corresponding structural component are recalculated.
[0042] The guide rail slider joint can be represented by a three-degree-of-freedom spring damping unit, with its stiffness and damping in the feed direction set to zero, and corresponding stiffness and damping parameters set in the normal and lateral directions; the motion in the feed direction is provided by the transmission assembly.
[0043] like Figure 6As shown, the rotary motion assembly is divided into a center-of-mass rotary assembly and an offset rotary assembly. When the rotation axis passes through the center of mass of the moving structural component, a center-of-mass rotary assembly is used; when the rotation axis does not pass through the center of mass of the moving structural component, an offset rotary assembly is used. For the offset rotary assembly, a local coordinate system is established with a reference point on the rotation axis as the origin. The center of mass of the structural component, the position of the joint, and the connection position are all defined in this local coordinate system. If the rotation axis does not coincide with the principal inertial axis of the structural component, the mass matrix, damping matrix, and stiffness matrix in the local coordinate system are transformed to the whole machine coordinate system through a direction transformation matrix.
[0044] For a rotating shaft supported by multiple bearings, multiple sets of three-degree-of-freedom spring-damped elements are used to characterize the axial and radial flexibility of each bearing. For a rotating component supported by a turntable bearing, a six-degree-of-freedom spring-damped element is used, and the stiffness and damping corresponding to the feed rotation direction are set to zero. Following the above equivalent modeling method, the mass matrix, stiffness matrix, and damping matrix of the k-th rotating motion component are obtained: (13) (14) (15) (16) (17) In the formula, , and For the first k Submatrices of the mass matrix of each structural component For the first k Submatrices of the stiffness matrix of each structural component For the first k Submatrices of the damping matrix of each structural component , and They represent the first k On the first structural component i Stiffness of each spring damping unit; , and They represent the first k On the first structural component i Damping of a single spring damping unit , and The first and second are respectively in the centroid coordinate system. i The position coordinates of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component; , and for Submatrix; , and for Submatrix.
[0045] Step 4: Modeling the Transmission Component. The transmission component adopts a multi-degree-of-freedom lumped parameter model that includes internal degrees of freedom and connection degrees of freedom. The internal degrees of freedom describe the inertia and elastic deformation of the motor, coupling, lead screw, gear, worm gear, or other transmission components. The connection degrees of freedom are used to describe the displacement of the moving structural components along the feed direction at the location where the driving force is applied. Taking ball screw transmission as an example, the transmission component can include the rotational degree of freedom of the motor, the rotational degree of freedom of the lead screw, the axial degree of freedom of the lead screw, and the displacement degree of freedom connected to the worktable; each degree of freedom corresponds to... Figure 7 In the equivalent moment of inertia node, the torsional stiffness of the coupling, the torsional stiffness of the lead screw, the axial stiffness of the lead screw, and the corresponding damping are respectively set as spring damping units between the corresponding degrees of freedom, that is, between adjacent equivalent moments of inertia. For a rotary shaft directly driven by a torque motor, it can be simplified to a two-stage model in which the equivalent moment of inertia of the motor rotor and the equivalent moment of inertia of the rotary component are directly connected in series through spring damping units. The inertia of the motor rotor and the inertia of the rotary component are set according to the actual transmission relationship, and the motor torque is directly applied to the rotary feed degree of freedom (i.e., the end connection degree of freedom).
[0046] Let the first k The degrees of freedom of each transmission component are: (18) In the formula, For the internal degrees of freedom of the transmission component, The degree of freedom for the connection between the transmission component and the moving structural component; the transmission component is any one of the following: ball screw transmission component, gear transmission component, worm gear transmission component, torque motor transmission component, or linear motor transmission component.
[0047] Let the position of the driving force be P. k The displacement at the point of application of the driving force and the six degrees of freedom of the center of mass of the moving structural member satisfy the following: (19) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in each structural component This is the displacement of the position where the driving force is applied.
[0048] The generalized force, after the force acting at the location of the driving force is converted to the center of mass of the structural member, satisfies: (20) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. As a broad driving force.
[0049] Step 5: Change of driving force application position and assembly of motion shaft. Let the driving force application position of the moving structural component be P. k According to P k Relative to the position of the center of mass of the moving structural member, the mapping relationship between the displacement at that position and the six degrees of freedom of the structural member's center of mass can be calculated; simultaneously, based on the virtual work equivalence relation, the action on P can be... k The driving force is converted into a generalized force acting on the six degrees of freedom of the structural component's center of mass. Based on the feed direction of the motion axis, the corresponding displacement component is extracted from the spatial displacement mapping relationship, and the degree of freedom of the transmission component connection is set to be equal to this displacement component, thus completing the assembly of the transmission component and the structural component. This method is applicable to linear motion axes along the X, Y, and Z directions, and rotary motion axes around the A, B, and C directions. For a single-drive motion axis, the degrees of freedom before assembly include the degrees of freedom of the structural component connection nodes, the degrees of freedom of the rigid body of the motion structural component, the internal degrees of freedom of the transmission component, and the degrees of freedom of the transmission component connection. The degrees of freedom of the transmission component connection are constrained to the displacement of the motion structural component along the feed direction at the position of the driving force through the assembly matrix. For a dual-drive motion axis, two transmission components are set, and mapping relationships are established according to the positions of the two driving forces, and the two transmission components are simultaneously connected to the same motion structural component.
[0050] The degrees of freedom of all components before assembly are combined into a degree-of-freedom vector q. u Let q be the degree of freedom vector of the assembled machine. mt Both conditions are met: (twenty one) In the formula, S is the assembly matrix of the whole machine; q mt q is the overall machine's degree of freedom vector; u This represents the degree of freedom vector of the entire machine before assembly.
[0051] The overall mass matrix M, damping matrix C, and stiffness matrix K are as follows: (twenty two) In the formula, S is the assembly matrix of the whole machine, and M is the assembly matrix of the whole machine. u C u and K u The mass matrix, damping matrix, and stiffness matrix of the entire machine before assembly.
[0052] The mechanical dynamics equations of the whole machine are: (twenty three) In the formula, M, C, and K are the mass matrix, damping matrix, and stiffness matrix of the whole machine, respectively, and qmt This is the vector of the machine's degrees of freedom.
[0053] The mechanical dynamics equations of the whole machine are converted into a state-space model: (twenty four) In the formula, This is the overall machine state vector. , , and These are the overall system state matrix, input matrix, output matrix, and connection matrix, respectively.
[0054] Each servo component is represented as: (25) In the formula, For the first i The state vector of each servo component , , and The first i The state matrix, input matrix, output matrix, and connection matrix of each servo component; the position control component, speed control component, current control component, feedforward component, and filter component are combined into a motion axis servo model through series, parallel, or feedback connection.
[0055] Step 6: Servo Control Link Modeling and Closed-Loop Connection. After assembling the entire mechanical system, the servo control links of each motion axis are constructed as state-space models. The servo model includes a position proportional controller, a speed proportional-integral controller, and a current loop. Speed feedforward, acceleration feedforward, and filtering units can also be configured to reproduce the control logic of a real CNC system. The driving force or torque output by the servo links is input into the overall mechanical dynamics model according to the actual driving force application position mapping relationship determined in the previous steps. Simultaneously, combining the actual installation and measurement positions of the linear encoder, rotary encoder, or motor encoder configured on the machine tool with the measurement object, a position feedback extraction matrix L is constructed. p and velocity feedback extraction matrix L v This ensures that the position feedback quantity satisfies y. p =L p q, the speed feedback quantity satisfies y v =L v The extracted position and velocity feedback values are then fed back to the corresponding servo control components, enabling data interaction between the mechanical dynamics model and the servo control system. Ultimately, a closed-loop electromechanical integrated model of the five-axis CNC machine tool is constructed for subsequent dynamic simulation calculations.
[0056] Example 1, as follows Figure 8Taking the A / C cradle-type five-axis CNC machine tool shown as an example, the machine tool includes a bed, a Y-axis motion structure, an X-axis motion structure, a Z-axis motion structure, an A-axis swing structure, and a C-axis rotary table.
[0057] The machine tool is divided into six structural components according to the kinematic chain: the bed is selected as the basic fixed component; the sliders of the Y and X axes move with the moving structural components, and slider moving components are selected respectively; the Z-axis guide rail moves with the spindle box, while the slider is mounted on the front structural component, and guide rail moving components are selected; the A-axis rotation axis does not pass through the center of mass of the swing structure and its supporting component assembly, and offset rotation components are selected; the C-axis rotation axis passes through or is close to the center of mass of the rotary table, and center-of-mass rotation components are selected; the Y, X, and Z axes are driven by ball screws, and ball screw transmission components are configured respectively. The A-axis and C-axis are directly driven by torque motors and are equipped with direct drive transmission components respectively. The mass, moment of inertia, and center of mass position of each structural component of the bed, Y-axis, X-axis, Z-axis, A-axis, and C-axis are obtained from the three-dimensional design model; the stiffness and damping parameters of the basic connection, guide rail slider, and bearings are determined by product parameters, local tests, or whole-machine modal tests; the connection relationship between adjacent components is established according to the tool-side kinematic chain formed by the bed-Y-axis-X-axis-Z-axis and the workpiece-side kinematic chain formed by the bed-A-axis-C-axis. Establish displacement constraints between the connection degrees of freedom of the ball screw transmission components in the Y-axis, X-axis and Z-axis and the positions where the driving force of the corresponding moving structural components is applied; Assemble the mass matrix, damping matrix, and stiffness matrix of all components to form a complete mechanical dynamics model. The mass matrix is as follows: Figure 9 As shown, non-zero elements in the matrix are marked with scatter points, reflecting the diagonal characteristics of the block-based quality matrix after modular assembly.
[0058] By connecting the state-space models of the position, velocity, and current loops of each motion axis with the overall machine's mechanical dynamics model, a closed-loop electromechanical integrated model of the A / C cradle-type five-axis CNC machine tool is obtained. The model's inputs include position commands for the five motion axes, and its outputs include: the six-degree-of-freedom spatial response of each structural component, the internal deformation of each transmission assembly, the position and velocity of each motion axis motor, the following error of each motion axis, the spatial vibration at the spindle end and table end, and the tool tip position, tool axis direction, and tool tip trajectory error. To verify the computational accuracy of this modular modeling method, a three-axis accelerometer is placed at the end of the machine tool spindle, and orthogonal excitation tests are conducted using an impact hammer to obtain frequency response experimental data. The simulation results are then compared with the measured experimental results for verification.
[0059] Figure 10The experimental and simulation results of the frequency response function of the spindle housing end face are presented. Figure (a) shows the X-direction response under X-direction hammer excitation, and Figure (b) shows the Y-direction response under Y-direction hammer excitation. The simulated frequency response function (FRF) curves agree well with the measured results. The calculation errors of the modal resonance frequencies are all less than 5%, which can effectively capture the resonance characteristics of the whole machine. The maximum error of the X-direction amplitude is 11.3%, and the average amplitude error is 7.15%; the maximum error of the Y-direction amplitude is 13.0%, and the average amplitude error is 6.34%, proving that the modeling method also has a good predictive effect on the vibration amplitude.
[0060] Figure 11 The simulation and experimental results of the tool tip trajectory show that the error of the tool tip trajectory is less than 5μm, indicating that the machine electromechanical integrated model can accurately reproduce the motion behavior of the tool tip and can be used for tool tip dynamic error assessment.
[0061] Figure 12 Simulation-experimental curves for the Y-axis feed axis mechanical frequency response, velocity loop closed-loop frequency response, and position loop closed-loop frequency response are presented. The main peaks of the Y-axis mechanical frequency response occur at 27.5Hz, 59Hz, and 470Hz; where 27.5Hz and 59Hz correspond to the second and fifth structural modes of the entire machine, respectively, and 470Hz corresponds to the first torsional mode of the leadscrew. The resonance peak frequency error is less than 8%.
[0062] Figure 13 Simulation of one of the typical first-order whole-machine structural modes The experimental results show that the simulated modal parameters for this order are a frequency of 22.9 Hz and a damping ratio of 3.5%; the experimental results show a corresponding frequency of 24.3 Hz and a damping ratio of 2.2%. The simulated and experimental modal parameters in this example are quite close, further demonstrating that the modeling method of this invention has good modeling accuracy for the inherent dynamic characteristics of the entire machine.
[0063] The above-mentioned impact hammer modal tests, frequency response tests, and tool tip trajectory tests comprehensively demonstrate that the modular electromechanical integrated model of this invention can not only reproduce the overall machine structure modes and frequency response characteristics of each feed axis, but also predict the dynamic trajectory error of the tool tip. It can achieve high-precision dynamic simulation without having to completely derive the dynamic equations for each machine tool, and is suitable for dynamic performance analysis, servo parameter debugging, and tool tip dynamic error prediction of five-axis CNC machine tools with different configurations.
[0064] The above embodiments are only used to illustrate the technical solutions of the present invention. Any equivalent substitutions made to the number of degrees of freedom of the components, the form of the spring damping unit, the form of the transmission system, the control structure, or the number of motion axes without departing from the technical concept of the present invention are all within the protection scope of the present invention.
Claims
1. A component-based construction method for the electromechanical integration model of a five-axis CNC machine tool, characterized in that, Includes the following steps: Step 1: Based on the function of each component in the machine tool, the five-axis CNC machine tool to be modeled is divided into structural components, transmission components, and servo components. Based on the motion of the structural components relative to adjacent structural components, the structural components are further divided into fixed components, linear motion components, and rotary motion components. Step 2: Represent the structural components in each structural assembly as spatial six-degree-of-freedom rigid bodies. Set spring damping units at each actual connection position of the structural component, and convert the connection points on one side of each spring damping unit connected to the same adjacent structural component into spatial six-degree-of-freedom connection nodes according to the rigid body motion relationship, forming a general model of the structural assembly. Step 3: Based on the mass and inertia parameters of the six-degree-of-freedom rigid body in space, as well as the position, stiffness, and damping parameters of each spring-damped unit, calculate the mass matrix, damping matrix, and stiffness matrix of various structural components. Step 4: The transmission assembly adopts a lumped parameter model that includes internal and connection degrees of freedom; based on the position vector of the actual driving force application position relative to the centroid of the corresponding moving structural component, the transmission connection degree of freedom is made equal to the displacement or rotation angle of the actual driving force application position along the feed direction, and the driving force or driving torque is mapped into a generalized force acting on the six degrees of freedom of the centroid space of the moving structural component according to the virtual work equivalence relationship. Step 5: Arrange the pre-assembly degrees of freedom of each structural component and transmission component according to the kinematic chain relationship, and write the rigid body displacement mapping of each actual joint position, the connection coordination relationship of adjacent structural components, the transmission displacement mapping of the actual driving force application position, and the fixed constraints of the machine tool foundation into a unified whole machine assembly matrix. Make the degree of freedom vector q before assembly u After assembly with the whole machine, the degree of freedom vector q mt satisfy The local mass matrix, damping matrix, and stiffness matrix are combined to form a block diagonal matrix M. u C u and K u Obtain the overall machine mass matrix Damping matrix and stiffness matrix ; Step 6: Represent the servo control links of each motion axis as a state-space model, map the output driving force or driving torque to the actual driving force application position as described in Step 4, input it into the whole machine mechanical dynamics model, and extract the matrix L based on the actual measurement feedback from the position measuring device and speed measuring device. p and L v , so that the position feedback quantity y p =L p q mt Speed feedback quantity y v =L v mt The feedback quantity is fed back to the corresponding servo control link to obtain the closed-loop electromechanical integration model of the five-axis CNC machine tool.
2. The component-based construction method according to claim 1, characterized in that, The fixing components include a basic fixing component and a structural fixing component; the basic fixing component is used to describe the bed structure directly connected to the machine tool foundation; the structural fixing component is used to describe the column, beam or support structure connected to the preceding structure and not subject to feed motion relative to the preceding structure. The spatial six-degree-of-freedom connection nodes in the basic fixed component are set as fixed constraints; the spatial six-degree-of-freedom connection nodes in the structural fixed component establish displacement coordination relationships with the corresponding degrees of freedom of the preceding structural components.
3. The component-based construction method according to claim 1, characterized in that, The linear motion assembly includes a slider moving assembly and a guide rail moving assembly; in the slider moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component does not change with the position of the motion axis; in the guide rail moving assembly, the position of the spring damping unit relative to the center of mass of the moving structural component changes with the position of the motion axis. i The position vector of each spring damping unit is: (1) In the formula, For the first i The spring damping unit is relative to the first k The initial position vector of the centroid of a moving structural component. The feed motion direction vector, s k This corresponds to the position of the linear motion axis.
4. The component-based construction method according to claim 1, characterized in that, The rotary motion assembly includes a centroidal rotary assembly whose rotary axis passes through the centroid of the moving structural component, and an offset rotary assembly whose rotary axis does not pass through the centroid of the moving structural component. For the offset rotary assembly, a local coordinate system is established with a reference point on the rotary axis as the origin, and the position and direction of the centroid of the structural component, the spring damping unit, and the connection position in the whole machine coordinate system are determined according to the direction of the rotary axis and the rotary angle.
5. The component-based construction method according to claim 1, characterized in that, No. k The spatial six-DOF rigid body degrees of freedom in each structural component are: (2) In the formula, , and These represent the translational displacements along the three coordinate directions. , and These represent the rotational displacements about the three coordinate directions; The degrees of freedom of the spatial six-degree-of-freedom connection node are: , No. k Generalized coordinates of each structural component for: (3) In the formula, The degrees of freedom of the six-degree-of-freedom connection nodes in space. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in a structural component.
6. The component-based construction method according to claim 5, characterized in that, No. i The position vector of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component is: (4) In the formula, , and The first and second are respectively in the centroid coordinate system. i The position coordinates of the connection point between the spring damping unit and the structural component relative to the center of mass of the structural component; The displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component is: (5) No. i The relative deformation of each spring-damped unit is as follows: (6) In the formula, Choose the matrix for direction transformation and effective degrees of freedom. This is the displacement transformation matrix between the motion of the connection point and the motion of the center of mass of the structural component; No. k The dynamic equations for a fixed component are: (7) (8) (9) (10) In the formula, , and For the first k Submatrices of the mass matrix of each structural component For the first k Submatrices of the stiffness matrix of each structural component For the first k Submatrices of the damping matrix of each structural component , and They represent the first k On the first structural component i Stiffness of each spring damping unit; , and They represent the first k On the first structural component i Damping of a single spring damping unit , and for Submatrix; , and for Submatrix.
7. The component-based construction method according to claim 4, characterized in that, A local coordinate system containing the rotation axis is established; in the local coordinate system, the center of mass of the structural components, the positions of the joints, and the connection positions are all defined relative to the reference point of the rotation axis; when the rotation axis does not coincide with the principal inertial axis of the structural components, the local mass matrix, damping matrix, and stiffness matrix are transformed to the whole machine coordinate system through a direction transformation matrix; for a rotation axis supported by multiple bearings, multiple three-degree-of-freedom spring damping elements are used to describe the axial and radial flexibility of each bearing respectively; for a rotating component supported by a turntable bearing, a six-degree-of-freedom spring damping element is used, and the stiffness and damping in the feed rotation direction are set to zero. Under the above equivalent method, the first... k The mass matrix, stiffness matrix, and damping matrix of each rotary motion component are as follows: (11) (12) (13) (14) (15) In the formula, , , , , and The first k The stiffness of the spring damping unit of the rotary motion component; , , , , and The first k Damping of a spring-damping unit for a rotary motion component; The coordinates of the joint location; The coordinates of the centroid position; For connecting position coordinates.
8. The component-based construction method according to claim 1, characterized in that, No. k The degrees of freedom of each transmission component are: (16) In the formula, For the internal degrees of freedom of the transmission component, The degree of freedom for the connection between the transmission component and the moving structural component; the transmission component is any one of the following: ball screw transmission component, gear transmission component, worm gear transmission component, torque motor transmission component, or linear motor transmission component. Let the position of the driving force be P. k The displacement at the point of application of the driving force and the six degrees of freedom of the center of mass of the moving structural member satisfy the following: (17) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. For the first k The spatial six-degree-of-freedom rigid body degree of freedom in each structural component The displacement is the position where the driving force is applied. The force acting at the location of the driving force is converted into a generalized force at the center of mass of the structural component. satisfy: (18) In the formula, Let be the homogeneous transformation matrix of the position where the driving force is applied. It is a driving force in a broad sense.
9. The component-based construction method according to claim 1, characterized in that, The degrees of freedom of all components before assembly are combined into a degree-of-freedom vector q. u The independent degrees of freedom that satisfy the connection constraints are combined to form the whole machine degree of freedom vector q. mt Both conditions are met: (19) In the formula, S is the assembly matrix of the whole machine; q mt q is the overall machine's degree of freedom vector; u This represents the vector of degrees of freedom of the entire machine before assembly. The overall mass matrix M, damping matrix C, and stiffness matrix K are as follows: (20) In the formula, M u C u and K u The mass matrix, damping matrix, and stiffness matrix of the entire machine before assembly; The mechanical dynamics equations of the whole machine are: (21) In the formula, M, C, and K are the mass matrix, damping matrix, and stiffness matrix of the whole machine, respectively, and q mt This is the vector of the machine's degrees of freedom; The overall mechanical dynamics equations are converted into a state-space model: (22) In the formula, This is the overall machine state vector. , , and These are the overall system state matrix, input matrix, output matrix, and connection matrix, respectively. No. i Each servo component is represented as: (23) In the formula, For the first i The state vector of each servo component , , and The first i The state matrix, input matrix, output matrix, and connection matrix of each servo component; The position control component, speed control component, current control component, feedforward component, and filter component are combined into a motion axis servo model through series, parallel, or feedback connection methods.
