Method and system for modeling transient dynamics of spline pair based on Simulink platform
Patent Information
- Application Number
- CN202411005565.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-11-26
AI Technical Summary
The prior art is difficult to effectively model the transient dynamic characteristics of spline pairs, especially when considering the properties of key teeth and keyway contact surfaces and multi-degree of freedom motion equations, the calculation efficiency is low and cannot meet engineering needs.
The Simulink platform is used to establish a geometric model of splines and a point cloud model for contact surfaces. Through dynamic simulation, the transient dynamic model of spline pairs is realized, including generating a point cloud model for contact surfaces and setting loads and constraints, solving internal and external The equation of six degrees of freedom of splines.
It realizes the efficient simulation model construction of spline pairs, deeply analyzes contact collision and error problems, improves the design and optimization capabilities of the rotating mechanical system, and improves the simulation accuracy and computing efficiency.
Smart Images

Figure CN119026438A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of mechanical system dynamics modeling, and in particular relates to a spline pair transient dynamics modeling method and system based on a Simulink platform. Background Art
[0002] Spline connection has the characteristics of simple structure, high reliability and easy installation. It is widely used in aviation, aerospace and shipbuilding fields to realize torque transmission of rotating machinery. The core components of the spline pair are external splines and internal splines, which are divided into multiple key teeth and keyways along the radial direction. There is a small gap between the key teeth and the keyways. Under the action of the shaft torque of the external rotating parts, the key teeth and keyways mesh with each other to produce rotational motion. Limited by the processing and manufacturing level, there are often errors between the installation position of the internal and external splines, the geometric shape of the key teeth and keyways, the initial contact state, etc. and the design values. With the increasing requirements for control accuracy of various mechanical systems, the study of the transient dynamic characteristics of spline pairs is becoming more and more important.
[0003] In recent years, domestic and foreign scholars have conducted a lot of research on the modeling methods of spline pairs and have achieved certain results. Some scholars use a simplified single-degree-of-freedom dynamic model analysis to analyze, establish the rotor system dynamics equation, and then use the Newmark-β method for numerical solution. This method can analyze the vibration characteristics of each node on the rotating shaft system, but this method simplifies the shape structure of the rotating pair too much and cannot analyze the complex contact state of the spline pair during transient motion; another group of scholars use commercial finite element software such as Ansys or Abaqus to perform three-dimensional dynamic simulation of the spline pair. This method can analyze more complex structures, but there is a problem of insufficient versatility of the model. When coupled with the control system for system-level simulation and optimization, the calculation efficiency is low and cannot meet actual engineering needs.
[0004] In summary, the main difficulty of transient dynamic modeling of spline pairs is that the properties of the contact surface between the key teeth and the keyway must be considered during modeling, and the multi-degree-of-freedom motion equations must be solved efficiently. Therefore, developing a parametric model creation method based on a more open and general platform is of great significance for the design, analysis and optimization of rotating mechanical systems. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings of the above-mentioned background technology and provide a spline pair transient dynamics modeling method and system based on the Simulink platform, which fully considers the properties of the contact surface between the key teeth and the keyway and realizes the efficient solution of multi-degree-of-freedom motion equations.
[0006] The technical solution adopted by the present invention is: a spline pair transient dynamics modeling method based on Simulink platform, comprising the following steps:
[0007] In the Simulink platform, the geometric models of the internal spline and the external spline are established based on the Solid module;
[0008] Partitioning is performed based on the geometric features of the geometric model of the internal spline, and different surface equations are used according to the characteristics of the partitions to generate a point cloud model of the contact surface;
[0009] In the Simulink platform, the initial position relationship of the internal and external splines geometric models is set. Based on the point cloud model of the contact surface and the geometric model of the external spline, dynamic simulation is performed according to the set contact parameters, loads and constraints to obtain the acceleration, velocity and displacement under the contact and collision between the internal and external splines.
[0010] In the above technical solution, the process of establishing the geometric model of the external spline based on the Solid module includes: according to the size of the external spline, a rectangular single key is generated through the Brick Solid module or a single key of other shapes is established using the Extruded Solid module, and a cylinder is generated through the Cylindrical Solid module; after combining and splicing several single keys and cylinders to form a geometric model of the external spline, the material density is set.
[0011] In the above technical solution, the process of establishing the geometric model of the internal spline based on the Solid module includes: first, establishing a half geometric model of the internal spline through the Extruded Solid module, and then copying the geometric model; using RigidTransform to connect the two half models of the internal spline, and setting the coordinate transformation to rotate 180° around the Y axis to obtain a complete internal spline geometric model.
[0012] In the above technical solution, the process of establishing a half geometric model of the internal spline through the Extruded Solid module includes: dividing the cross section of half of the internal spline into line segments to obtain a closed curve composed of corresponding arc segments and broken line segments; parameterizing the closed curve according to the size of the internal spline; assembling all coordinate points of the modeled closed curve into a matrix variable; creating a new Extruded Solid module, setting its section type to normal, setting its interface formation to an assembled matrix variable, and setting the stretching length and material density according to the size of the internal spline to obtain a half geometric model of the internal spline.
[0013] In the above technical scheme, the point cloud model generation process of the contact surface of the internal spline includes: splitting the structure into a combination of multiple rectangular feature surfaces and arc feature surfaces according to the geometric features of the internal spline; for the rectangular feature surfaces, using the meshgrid function to generate a rectangular dot matrix; for the arc feature surface, using a parameterized curve to generate an arc, and then generating an arc surface dot matrix by uniformly translating and copying the arc; based on the rectangular dot matrix and the arc surface dot matrix, multiple groups of keyway dot matrices and arc surface dot matrices for characterizing the contact surface properties of the internal spline are formed through matrix translation and rotation operations; all dot matrices are assembled into a matrix variable; the generated matrix variable is imported into the Point Cloud module of Simulink and the radius of a single point is set to form a point cloud model of the contact surface of the internal spline.
[0014] In the above technical solution, the set load curve is imported into the Simulink platform through the from workspace module, and interpolated according to the set sampling frequency and interpolation method during the simulation process as the input load of the inner spline and the outer spline.
[0015] In the above technical solution, before simulation, the rotation and translation parameters of the coordinate system are set in the Rigid Transform module according to the connection status of the internal spline and the external spline.
[0016] In the above technical solution, the contact parameters include contact stiffness and damping coefficient.
[0017] The present invention provides a spline pair transient dynamics modeling system based on a Simulink platform, which is used to implement a spline pair transient dynamics modeling method based on a Simulink platform described in the above technical solution.
[0018] The present invention provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method for modeling the transient dynamics of a spline pair based on a Simulink platform described in the above technical solution is implemented.
[0019] The beneficial effects of the present invention are as follows: the present invention can realize the efficient construction of the spline pair simulation model, conduct in-depth simulation analysis on the problems such as contact collision and misalignment error, and provide support for the design, analysis and optimization of the rotating mechanical system based on the spline pair. The present invention respectively establishes the geometric models of the inner spline and the outer spline through the Solid module, and the contact surface point cloud model for the subsequent transient dynamic modeling of the spline pair, which can efficiently realize the parametric modeling of each component in the spline pair, and the parameters such as the key teeth and keyways are flexibly adjustable. The present invention is simulated based on the Simulink platform, and the six-degree-of-freedom motion equations of the inner and outer splines can be solved and the contact collision force can be calculated, so that the constructed spline model has good engineering practice application value. When the present invention performs the point cloud modeling of the spline pair contact surface, it is only necessary to establish a contact surface point cloud model of a component. Usually, the surface of a concave shape with a more complex shape is selected to establish the point cloud model. In the spline pair, the surface of the inner spline is preferably selected for point cloud modeling. While saving the calculation cost and improving the modeling efficiency, it is ensured that the constructed point cloud model can fully reflect the characteristics of the contact surface and improve the simulation accuracy. The present invention simulates the contact surface based on the point cloud model method and can perform contact collision analysis of complex geometric structures.
[0020] Furthermore, most commercial finite element methods only support the division of geometric models with tetrahedral or hexahedral meshes, which are not suitable for complex curved surface shapes. However, when establishing geometric body models and point cloud models, this method can generate curved surface geometric models and point cloud models based on the curve / surface equations of the actual geometric body through self-compiled code, which can effectively adapt to the modeling needs of complex structures.
[0021] Furthermore, the present invention uses a dense point cloud model in three-dimensional space to simulate the complex geometric morphology of the spline contact surface based on the geometric model, which is closer to the actual situation of the geometric model, thereby ensuring that the simulation calculation results are more accurate.
[0022] Furthermore, the present invention is implemented based on the Simulink mathematical computing platform, and can be widely used in mechanical engineering, electrical engineering, aerospace and other fields. It has strong scalability and computing power, and has the ability to be combined with complete and mature control, signal processing and optimization systems. It has better adaptability and scalability for large-scale system analysis and research of the constructed model. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] Figure 1 The figure is a flow chart of the method of the present invention.
[0024] Figure 2 It is a structural diagram of the spline pair.
[0025] Figure 3 Schematic diagram of the cross-section closed curve of half of the internal spline stretch body
[0026] Figure 4 This is the point cloud model of the contact surface between the external spline and the internal spline.
[0027] Figure 5 The load curve used in the specific embodiment.
[0028] Figure 6 It is a speed curve diagram of the spline pair of a specific embodiment. DETAILED DESCRIPTION
[0029] The present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments to facilitate a clear understanding of the present invention, but they do not constitute a limitation on the present invention.
[0030] like Figure 1 As shown, the present invention provides a spline pair transient dynamics modeling method based on the Simulink platform, comprising the following steps:
[0031] In the Simulink platform, the geometric models of the internal spline and the external spline are established based on the Solid module;
[0032] Partitioning is performed based on the geometric features of the geometric model of the internal spline, and different surface equations are used according to the characteristics of the partitions to generate a point cloud model of the contact surface;
[0033] In the Simulink platform, the initial position relationship of the internal and external splines geometric models is set. Based on the point cloud model of the contact surface and the geometric model of the external spline, dynamic simulation is performed according to the set contact parameters, loads and constraints to obtain the acceleration, velocity and displacement under the contact and collision between the internal and external splines.
[0034] The principle of the present invention is further explained below with reference to specific embodiments.
[0035] Step 1: Use the Solid module in Simulink to create a simplified geometric model of the spline.
[0036] The process of establishing the geometric model of the external spline based on the Solid module includes: according to the size of the external spline, a number of rectangular single keys are generated through the Brick Solid module or single keys of other shapes (such as triangular keys, involute keys, and trapezoidal keys, etc.) are established using the Extruded Solid module, and a cylinder is generated through the Cylindrical Solid module; after combining and splicing a number of single keys and cylinders to form the geometric model of the external spline, the material density is set.
[0037] The process of establishing the geometric model of the internal spline based on the Solid module includes: first, establishing a half geometric model of the internal spline through the Extruded Solid module, and then copying the geometric model; using Rigid Transform to connect the two half models of the internal spline, and setting the coordinate transformation to rotate 180° around the Y axis to obtain a complete internal spline geometric model.
[0038] The process of establishing a half geometric model of an internal spline through the Extruded Solid module includes: dividing the cross section of half of the internal spline into line segments to obtain a closed curve composed of corresponding arc segments and broken line segments; parameterizing the closed curve according to the size of the internal spline; assembling all coordinate points of the modeled closed curve into a matrix variable; creating a new Extruded Solid module, setting its section type to normal, setting its interface formation to an assembled matrix variable, and setting the stretching length and material density according to the size of the internal spline to obtain a half geometric model of the internal spline.
[0039] Figure 2 It is a schematic diagram of the spline pair of this specific embodiment, which is mainly composed of two parts: an outer spline and an inner spline. The key teeth and the key slots are matched with a small clearance, and they mesh with each other to generate rotational motion under the action of the shaft torque of the external rotating component.
[0040] A simplified model of the external spline was established in the Simulink platform: the simplified model includes two rectangular keys with dimensions of 2mm×20mm×15mm (using the Brick Solid module) and a cylinder with an intermediate dimension of φ18mm×15mm (using the Cylindrical Solid module). The two rectangular keys and the cylinder were combined and spliced to form the geometric model of the external spline, and the material density was set to 7930kg / m 3 .
[0041] A simplified model of the internal spline is established in the Simulink platform.
[0042] Divide the cross section of half of the internal spline into line segments to obtain corresponding closed curves of arc segments and broken line segments; perform parameterized modeling on the closed curves according to the size of the internal spline; Figure 3 It is the cross-sectional closed curve of the stretched body of half the internal spline.
[0043] Among them: the first segment AB of the closed curve is an arc segment, which is modeled by parameters, with a radius of R1 = 18 mm and an angle of t1 = [π / 2, 3π / 2]. The coordinates of the AB segment are x = R1*cos(t1), y = R1*sin(t1);
[0044] The second segment BCDE of the closed curve is a broken line segment. Suppose the slot width Wkey = 2.1mm, the slot height Hkey = 2mm, the inner diameter is R2 = 10.01mm, let θ = arcsin(0.5*Wkey / R2), dH = Hkey-R2*(1-cosθ), then the coordinates of the broken line segment are C(0,-R2-dH), D(-0.5*Wkey,-R2-dH);
[0045] The third segment EF of the closed curve is an arc segment, which is modeled parametrically, with a radius of R2 and an angle of t2 = [3π / 2-θ,π+θ,]. The coordinates of segment EF are x = R2*cos(t2), y = R2*sin(t2); the subsequent closed curve FL can continue to be modeled in the above manner.
[0046] Assemble all coordinate points into a matrix variable CS1 in the order of AL. Create a new Extruded Solid module in Simulink, select the module's section type Extrusion Type as General, set the cross-section shape to CS1, set the stretch length to 15mm, and set the material density to 10000kg / m 3 , and obtain the half geometric model of the internal spline.
[0047] At this point, the half geometric model of the internal spline is established. The Extruded Solid module is copied in Simulink, and the two half models of the internal spline are connected using Rigid Transform. The coordinate transformation is set to rotate 180° around the Y axis. At this time, the complete internal spline geometric model is obtained.
[0048] Step 2: Generate a discretized point cloud model of the spline pair contact surface based on the key feature points of the internal spline geometric model. When performing point cloud modeling of the spline pair contact surface, it is only necessary to establish a point cloud model of the contact surface of a component. Usually, a surface with a more complex shape is selected to establish a point cloud model. In the spline pair, the surface of the internal spline is preferably selected for point cloud modeling.
[0049] The method of generating the point cloud module is as follows: partition the contact surface according to the geometric features of the spline. For each partition with different geometric features, a different surface equation z=f(x,y) is used to generate three-dimensional coordinate point data, and then the point arrays of different partitions are assembled into an n*3 matrix variable, i.e., point cloud data, through operations such as matrix translation, rotation, and copy.
[0050] Specifically, according to the geometric characteristics of the internal spline, the structure is split into a combination of multiple rectangular feature surfaces and circular arc feature surfaces; for the rectangular feature surfaces, the meshgrid function is used to generate a rectangular dot matrix; for the circular arc feature surface, a parameterized curve is used to generate an arc, and then the arc is copied by uniform translation to generate an arc surface dot matrix; multiple groups of keyway dot matrices and circular arc surface dot matrices are formed through matrix translation and rotation operations, and all the dot matrices are assembled into a matrix variable; the generated matrix variable is imported into the Point Cloud module of Simulink and the radius of a single point is set to form a point cloud model of the contact surface of the internal spline.
[0051] like Figure 4 The point cloud model of the spline contact surface is shown. The meshgrid function is used to extract the geometric features of the contact surface in the geometric model of the internal spline, and the structure is divided into a rectangular groove and an arc surface.
[0052] The rectangular groove has a width of 2 mm, a depth of 2.1 mm, and an axial length of 15 mm, which can be further directly generated into a rectangular lattice using the meshgrid function;
[0053] The radius of the arc surface is 4mm, the radian is 1.37rad, and the axial length is 15mm. The arc can be generated by first using the parametric curve of x=cos(t), y=sin(t), t=[0,1.37], and then the arc surface is generated by uniformly translating and copying the arc.
[0054] Then, four groups of rectangular slots and arc surface dot matrices are formed through matrix translation and rotation operations, and finally all the dot matrices are assembled into a matrix variable.
[0055] Import the generated point cloud data into the Point Cloud module of Simulink, and set the radius of a single point to 0.01 mm to obtain the point cloud model of the internal spline.
[0056] The above steps are compiled into a matlab script file in *.m format, and the script file is run before solving the Simulink model to generate matrix variables of the point cloud.
[0057] Step 3: According to the changing characteristics of factors such as force and torque, complete the initialization of point cloud model parameters and contact parameter configuration in the Simulink platform;
[0058] The initial translational velocity and initial angular velocity of the inner and outer splines in the xyz directions are both 0. Figure 5The load curve shown is imported into the simulink platform, and the appropriate sampling frequency and interpolation method are set to interpolate over time during the simulation process as the input load of the spline pair. At the same time, according to the actual connection state of the mechanical system, the transformation coordinate system between different components is set, that is, the rotation and translation related parameters of the coordinate system are set in the Rigid Transform module.
[0059] According to the characteristics of the contact surface, the contact stiffness is set to 2.5×10 10 N / m, contact damping is 2.5×10 7 N / m. The contact force is calculated based on the following formula:
[0060]
[0061] Among them, f N is the contact force, k is the contact stiffness, δ is the penetration depth, d c is the damping coefficient.
[0062] Step 4: Set the simulation time to 3ms, the simulation step size to variable step size, and the solver of the Simulink platform to automatic. After the settings are completed, you can start the calculation.
[0063] The multi-body dynamics model is constructed by integrating two point cloud models, load and constraint modules. According to the total duration of the transient process to be calculated, the solution step size and solution time are set to simulate and calculate the displacement, velocity, acceleration and other motion characteristics of the six degrees of freedom of the internal and external splines.
[0064] Figure 6 This is the speed curve of the spline pair calculated through the above steps. It can be seen that at t = 0.15ms, the gap between the key teeth and the key slot is eliminated, contact collision occurs, and then the two rotate at the same speed. As the torque decreases, the speed remains constant.
[0065] Using the method in this manual, if the number of point clouds of the internal spline contact surface generated is assumed to be n, compared with the traditional three-dimensional finite element hexahedral meshing method, under the same mesh size constraint, the number of contact surface nodes of the traditional finite element meshing will reach more than 4n. It can be seen that the use of this method can effectively reduce the amount of calculation.
[0066] The contents not described in detail in this specification belong to the prior art known to professional and technical personnel in this field.
Claims
1. A spline pair transient dynamics modeling method based on Simulink platform, Features: The following steps are involved: In the Simulink platform, the geometric models of the internal spline and the external spline are established based on the Solid module; Partitioning is performed based on the geometric features of the geometric model of the internal spline, and different surface equations are used according to the characteristics of the partitions to generate a point cloud model of the contact surface; In the Simulink platform, the initial position relationship of the internal and external splines geometric models is set. Based on the point cloud model of the contact surface and the geometric model of the external spline, dynamic simulation is performed according to the set contact parameters, loads and constraints to obtain the acceleration, velocity and displacement under the contact and collision between the internal and external splines.
2. The method according to claim 1, Features: The process of establishing the geometric model of the external spline based on the Solid module includes: according to the size of the external spline, a rectangular single key is generated through the Brick Solid module or a single key of other shapes is established using the ExtrudedSolid module, and a cylinder is generated through the Cylindrical Solid module; after combining and splicing several single keys and cylinders to form the geometric model of the external spline, the material density is set.
3. The method according to claim 1, Features: The process of establishing the geometric model of the internal spline based on the Solid module includes: first, establishing a half geometric model of the internal spline through the Extruded Solid module, and then copying the geometric model; using Rigid Transform to connect the two half models of the internal spline, and setting the coordinate transformation to rotate 180° around the Y axis to obtain a complete internal spline geometric model.
4. The method according to claim 3, Features: The process of establishing a half geometric model of an internal spline through the Extruded Solid module includes: dividing the cross section of half of the internal spline into line segments to obtain a closed curve composed of corresponding arc segments and broken line segments; parameterizing the closed curve according to the size of the internal spline; assembling all coordinate points of the modeled closed curve into a matrix variable; creating a new Extruded Solid module, setting its section type to normal, setting its interface formation to an assembled matrix variable, and setting the stretching length and material density according to the size of the internal spline to obtain a half geometric model of the internal spline.
5. The method according to claim 3, Features: The point cloud model generation process of the contact surface of the internal spline includes: splitting the structure into a combination of multiple rectangular feature surfaces and arc feature surfaces according to the geometric features of the internal spline; for the rectangular feature surfaces, using the meshgrid function to generate a rectangular dot matrix; for the arc feature surface, using a parameterized curve to generate an arc, and then generating an arc surface dot matrix by uniformly translating and copying the arc; based on the rectangular dot matrix and the arc surface dot matrix, multiple groups of keyway dot matrices and arc surface dot matrices for characterizing the contact surface properties of the internal spline are formed through matrix translation and rotation operations; all dot matrices are assembled into a matrix variable; the generated matrix variable is imported into the Point Cloud module of Simulink and the radius of a single point is set to form a point cloud model of the contact surface of the internal spline.
6. The method according to claim 1, Features: The set load curve is imported into the Simulink platform through the from workspace module, and interpolated according to the set sampling frequency and interpolation method during the simulation process as the input load of the inner spline and outer spline.
7. The method according to claim 1, Features: Before simulation, set the rotation and translation parameters of the coordinate system in the Rigid Transform module according to the connection status of the inner spline and the outer spline.
8. The method according to claim 1, Features: The contact parameters include contact stiffness and damping coefficient.
9. A spline pair transient dynamics modeling system based on Simulink platform, Features: A method for modeling transient dynamics of a spline pair based on a Simulink platform is used to implement any one of claims 1-8.
10. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the method for modeling the transient dynamics of a spline pair based on a Simulink platform as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Method for realizing parameterized grids of involute spline contact pair
CN119989839A
