Method and device for generating dynamic simulation model file of tire system
Through the generation method and device of the dynamic simulation model file of the tire system, the generation process of the dynamic simulation model file of the tire system is automatically processed, solving the problem of low efficiency in the existing technology and achieving more efficient model file generation.
Patent Information
- Application Number
- CN202310590857.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-24
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2043-05-24
AI Technical Summary
In the prior art, the generation of tire system dynamic simulation model files is inefficient and requires manual maintenance of a large number of parameters.
By providing a method and device for generating dynamic simulation model files of the tire system, the row variables in the target array are used for assignment, and the front tire or rear tire dynamic simulation model files are automatically selected according to the tire modeling type value entered by the user, and only a small number of variable parameters are required to be maintained.
It improves the efficiency of generating tire dynamics simulation model files, reduces the amount of manual parameter maintenance, and simplifies the model file generation process.
Smart Images

Figure CN116611167B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of automobile modeling, and in particular to a method and a device for generating a dynamics simulation model file of a tire system. Background Art
[0002] Multi-body dynamics simulation analysis of tire systems is an essential analysis content in the process of tire system development and modification, which can solve the main problems in tire system design in the early stage of design. Establishing a dynamics simulation model of a tire system is an important step in multi-body dynamics simulation analysis of a tire system. The current modeling method is to manually modify each parameter in the tire system dynamics simulation modeling template in the simulation software Adams. After the parameter modification is completed, the tire system dynamics simulation model file can be obtained. Since all parameters need to be manually maintained in the process of generating the tire system dynamics simulation model file, the efficiency of generating the tire system dynamics simulation model file is low. Summary of the invention
[0003] The present invention solves the technical problem of low efficiency in generating dynamics simulation model files of tire systems in the prior art by providing a method and a device for generating dynamics simulation model files of tire systems.
[0004] On the one hand, the present invention provides the following technical solutions:
[0005] A method for generating a dynamics simulation model file of a tire system, comprising:
[0006] Assigning values to row variables in a target array, wherein the target array includes a first array and / or a second array; the row variables in the first array are descriptions of variable parameters in a front tire dynamics simulation modeling template, and the row variables in the second array are descriptions of variable parameters in a rear tire dynamics simulation modeling template;
[0007] Get the tire modeling type value input by the user;
[0008] If the tire modeling type value is a first type value, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into a preset first new file in the order of row numbers;
[0009] If the tire modeling type value is a second type value, each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into a preset second new file in the order of row numbers;
[0010] If the tire modeling type value is a third type value, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into the first new file in the order of row numbers, and each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into the second new file in the order of row numbers.
[0011] Preferably, the step of writing each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in the order of row numbers includes:
[0012] Looping through the first preset process from the time when the current row number is the first preset value until the current row number is the second preset value;
[0013] The first preset process includes: obtaining the current row number; if the current row number exists in the first array, writing the row variables corresponding to the current row number in the first array into the first new file in sequence; if the current row number does not exist in the first array, writing the row data corresponding to the current row number in the front tire dynamics simulation modeling template into the first new file; and adding one to the current row number.
[0014] Preferably, the step of writing each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in the order of row numbers includes:
[0015] Loopingly executing the second preset process from the time when the current row number is the third preset value until the current row number is the fourth preset value;
[0016] The second preset process includes: obtaining the current row number; if the current row number exists in the second array, writing the row variable corresponding to the current row number in the second array into the second new file; if the current row number does not exist in the second array, writing the row data corresponding to the current row number in the rear tire dynamics simulation modeling template into the second new file; and adding one to the current row number.
[0017] Preferably, the variable parameters in the front tire dynamics simulation modeling template include any one or more of the front tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file and contact type.
[0018] Preferably, the variable parameters in the rear tire dynamics simulation modeling template include any one or more of the rear tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file and contact type.
[0019] Preferably, before assigning values to row variables in the target array, the method further includes:
[0020] Defining row variables in the first array based on the description of variable parameters in the front tire dynamics simulation modeling template; establishing the first array consisting of the row number of the row where the variable parameters are located in the front tire dynamics simulation modeling template and the corresponding row variables;
[0021] Based on the description of the variable parameters in the rear tire dynamics simulation modeling template, the row variables in the second array are defined; and the second array consisting of the row number of the row where the variable parameters in the rear tire dynamics simulation modeling template are located and the corresponding row variables is established.
[0022] On the other hand, the present invention also provides the following technical solutions:
[0023] A device for generating a dynamics simulation model file of a tire system, comprising:
[0024] An assignment module, used for assigning values to row variables in a target array, wherein the target array includes a first array and / or a second array; the row variables in the first array are descriptions of variable parameters in a front tire dynamics simulation modeling template, and the row variables in the second array are descriptions of variable parameters in a rear tire dynamics simulation modeling template;
[0025] An acquisition module, used to obtain a tire modeling type value input by a user;
[0026] A writing module, configured to write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in the order of row numbers if the tire modeling type value is a first type value;
[0027] The writing module is further configured to write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in the order of row numbers if the tire modeling type value is a second type value;
[0028] The writing module is also used to write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into the first new file in row number order if the tire modeling type value is a third type value, and write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into the second new file in row number order.
[0029] Preferably, the tire system dynamics simulation model file generating device further includes:
[0030] A definition module, used to define row variables in the first array based on the description of variable parameters in the front tire dynamics simulation modeling template;
[0031] An array module, used for establishing the first array consisting of the row number of the row where the variable parameter is located in the front tire dynamics simulation modeling template and the corresponding row variable;
[0032] The definition module is further used to define row variables in the second array based on the description of variable parameters in the rear tire dynamics simulation modeling template;
[0033] The array module is also used to establish the second array consisting of the row number of the row where the variable parameter is located in the rear tire dynamics simulation modeling template and the corresponding row variable.
[0034] On the other hand, the present invention also provides the following technical solutions:
[0035] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, a method for generating a dynamic simulation model file of any tire system mentioned above is implemented.
[0036] On the other hand, the present invention also provides the following technical solutions:
[0037] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the method for generating a dynamics simulation model file of any tire system described above.
[0038] One or more technical solutions provided by the present invention have at least the following technical effects or advantages:
[0039] The present invention assigns values to row variables in a target array, and the target array includes a first array and / or a second array, so as to realize the maintenance of variable parameters; according to the tire modeling type value input by the user, the front tire dynamics simulation model file and / or the rear tire dynamics simulation model file can be automatically selected to be generated, and in the process of generating the tire dynamics simulation model file, only the tire modeling type value needs to be input and a small amount of variable parameters need to be maintained, thereby improving the efficiency of generating the tire dynamics simulation model file. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative work.
[0041] Figure 1 A flowchart of a method for generating a dynamics simulation model file of a tire system in an embodiment of the present invention;
[0042] Figure 2 A schematic diagram of the principle of generating a front tire dynamics simulation model file in an embodiment of the present invention;
[0043] Figure 3 A schematic diagram of the principle of generating a rear tire dynamics simulation model file in an embodiment of the present invention;
[0044] Figure 4 A schematic diagram of a front tire dynamics simulation model in an embodiment of the present invention;
[0045] Figure 5 Schematic diagram of a device for generating a dynamics simulation model file of a tire system in an embodiment of the present invention. DETAILED DESCRIPTION
[0046] The embodiment of the present invention solves the technical problem of low efficiency in generating a dynamics simulation model file of a tire system in the prior art by providing a method and a device for generating a dynamics simulation model file of a tire system.
[0047] In order to better understand the technical solution of the present invention, the technical solution of the present invention will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0048] This embodiment is described by taking the multi-body dynamics simulation software as Adams software as an example, but is not limited to Adams software. Adams software provides a front tire dynamics simulation modeling template and a rear tire dynamics simulation modeling template. The existing modeling method is to manually maintain each parameter in the front tire and / or rear tire dynamics simulation modeling template in Adams software, and the parameter maintenance amount is large, resulting in low efficiency in generating tire system dynamics simulation model files.
[0049] The present embodiment finds that each time the front tire and / or rear tire dynamics simulation model file is generated, most of the parameters used for modeling in the front tire and / or rear tire dynamics simulation modeling template are fixed, and only a small number of parameters will change. Therefore, the present embodiment can adopt a method of only maintaining variable parameters instead of fixed parameters when generating the front tire and / or rear tire dynamics simulation model file, thereby improving the efficiency of generating the front tire and rear tire dynamics simulation model files.
[0050] In the front tire and rear tire dynamics simulation modeling templates, different parameters are in different rows. The premise for modeling in this embodiment is to analyze the description of all variable parameters in the template and the row where the variable parameters are located in the modeling template. This embodiment can obtain the description and row number of the variable parameters as shown in Table 1 after analysis. The parameters that will change when establishing the front tire dynamics simulation model include the name of the front tire dynamics simulation modeling template, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body attribute file and contact type, etc. The parameters that will change when establishing the rear tire dynamics simulation model include the name of the rear tire dynamics simulation modeling template, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body attribute file and contact type, etc. Among them, the tire role is front (representing the front tire) or rear (representing the rear tire); the contact type includes handling, 3D and 3D Smooth.
[0051] Table 1
[0052] Serial number Parameter variables Line Number describe 1 Template Name 8 TEMPLATE_NAME=full_pathname+tire_filename 2 Tire Role 10 MINOR_ROLE = 'front' 3 quality 23 MASS=20 4 X moment of inertia 25 IXX=50000 5 Y moment of inertia 26 IYY=50000 6 Z moment of inertia 27 IZZ=10000 7 Tire properties file 31 PROPERTY_FILE = 'xxx.tir' 8 Contact Type 32 CONTACT_TYPE='handling'
[0053] After obtaining the description and row of the variable parameters in Table 1, you can start generating the front tire and / or rear tire dynamics simulation model file.
[0054] In this embodiment, when the front tire and / or rear tire dynamics simulation model file is generated for the first time, the dynamics simulation model file generation method of the tire system includes:
[0055] Step S1, defining row variables based on the description of variable parameters in the front tire dynamics simulation modeling template, and establishing a first array consisting of the row number of the row where the variable parameters are located in the front tire dynamics simulation modeling template and the corresponding row variables;
[0056] Step S2, defining row variables based on the description of the variable parameters in the rear tire dynamics simulation modeling template, and establishing a second array consisting of the row number of the row where the variable parameters are located in the rear tire dynamics simulation modeling template and the corresponding row variables;
[0057] Step S3, assigning values to row variables in a target array, the target array including a first array and / or a second array; the row variables in the first array are descriptions of variable parameters in a front tire dynamics simulation modeling template, and the row variables in the second array are descriptions of variable parameters in a rear tire dynamics simulation modeling template;
[0058] Step S4, obtaining a tire modeling type value input by a user;
[0059] Step S5, if the tire modeling type value is the first type value, then write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in order of row numbers;
[0060] Step S6, if the tire modeling type value is the second type value, then write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in order of row numbers;
[0061] Step S7, if the tire modeling type value is the third type value, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into the first new file in the order of row numbers, and each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into the second new file in the order of row numbers.
[0062] It is understandable that after the first array and the second array are established for the first time, only steps S3 to S7 need to be performed when modeling again in the subsequent step. Figure 1 shown.
[0063] In this embodiment, the variable parameters in the front tire dynamics simulation modeling template may include any one or more of the front tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file, and contact type. The following is an example of the variable parameters in the front tire dynamics simulation modeling template including the front tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file, and contact type. The fixed parameters in the front tire dynamics simulation modeling template are parameters other than variable parameters. The names of the row variables corresponding to the eight variable parameters of the front tire defined in step S1 are Line_TEMPLATE_NAME1, Line_MINOR_ROLE1, Line_MASS1, Line_IXX1, Line_IYY1, Line_IZZ1, Line_PROPERTY_FILE1, and Line_CONTACT_TYPE1. After assigning a value to each row variable in step S3, "Line_TEMPLATE_NAME1 == TEMPLATE_NAME = full_pathname + tire_filename" can be obtained. tire_filename is the full path + file name), "Line_MINOR_ROLE1==MINOR_ROLE='front'", "Line_MASS1==MASS=20", "Line_IXX1==IXX=50000", "Line_IYY1==IYY= 50000", "Line_IZZ1==IZZ=10000", "Line_PROPERTY_FILE1==PROPERTY_FILE='xxx.tir'", "Line_CONTACT_TYPE1==CONTACT_TYPE='handling'".
[0064] In this embodiment, the variable parameters in the rear tire dynamics simulation modeling template may include any one or more of the rear tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file, and contact type. The following is an example of the variable parameters in the rear tire dynamics simulation modeling template including the rear tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file, and contact type. The fixed parameters in the rear tire dynamics simulation modeling template are parameters other than the variable parameters. The names of the row variables corresponding to the eight variable parameters of the rear tire defined in step S2 are Line_TEMPLATE_NAME2, Line_MINOR_ROLE2, Line_MASS2, Line_IXX2, Line_IYY2, Line_IZZ2, Line_PROPERTY_FILE2, and Line_CONTACT_TYPE2, respectively. After assigning a value to each row variable in step S3, "Line_TEMPLATE_NAME2 == TEMPLATE_NAME = full_pathname + tire_filename" full(l_pathname + tire_filename is the full path + file name), "Line_MINOR_ROLE2==MINOR_ROLE='front'", "Line_MASS2==MASS=20", "Line_IXX2==IXX=50000", "Line_IYY2==IYY= 50000", "Line_IZZ2==IZZ=20000", "Line_PROPERTY_FILE2==PROPERTY_FILE='xxx.tir'", "Line_CONTACT_TYPE2==CONTACT_TYPE='handling'".
[0065] The first array constructed in step S1 is:
[0066] Arr_front_tire==[(8,Line_TEMPLATE_NAME1),
[0067] (10,Line_MINOR_ROLE1),
[0068] (23,Line_MASS1),
[0069] (25,Line_IXX1),
[0070] (26,Line_IYY1),
[0071] (27,Line_IZZ1),
[0072] (31,Line_PROPERTY_FILE1),
[0073] (32,Line_CONTACT_TYPE1)]
[0074] The second array is:
[0075] Arr_rear_tire==[(8,Line_TEMPLATE_NAME2),
[0076] (10,Line_MINOR_ROLE2),
[0077] (23,Line_MASS2),
[0078] (25,Line_IXX2),
[0079] (26,Line_IYY2),
[0080] (27,Line_IZZ2),
[0081] (31,Line_PROPERTY_FILE2),
[0082] (32,Line_CONTACT_TYPE2)]
[0083] Of course, if only the front tire dynamics simulation model file needs to be generated, the target array in step S3 is the first array; if only the rear tire dynamics simulation model file needs to be generated, the target array in step S3 is the second array; if both the front tire dynamics simulation model file and the rear tire dynamics simulation model file need to be generated at the same time, the target array in step S3 includes the first array and the second array.
[0084] In step S5, the tire modeling type value tiretype is a first type value, indicating that the user only needs to establish a front tire dynamics simulation model; in step S6, the tire modeling type value tiretype is a second type value, indicating that the user only needs to establish a rear tire dynamics simulation model; in step S7, the tire modeling type value tiretype is a third type value, indicating that the user needs to establish both a front tire dynamics simulation model and a rear tire dynamics simulation model. The values of the first type value, the second type value, and the third type value can be 1, 2, and 3, respectively.
[0085] In steps S5 and S7, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into a preset first new file in order of row numbers, which may include: starting from the current row number being the first preset value, looping through the first preset process until the current row number is the second preset value; the first preset process includes: obtaining the current row number; if the current row number exists in the first array, writing the row variables corresponding to the current row number in the first array into the first new file in order; if the current row number does not exist in the first array, writing the row data corresponding to the current row number in the front tire dynamics simulation modeling template into the first new file; adding one to the current row number.
[0086] In steps S6 and S7, each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into the preset second new file in the order of row numbers, which may include: starting from the current row number being the third preset value, looping the second preset process until the current row number is the fourth preset value; the second preset process includes: obtaining the current row number; if the current row number exists in the second array, writing the row variable corresponding to the current row number in the second array into the second new file; if the current row number does not exist in the second array, writing the row data corresponding to the current row number in the rear tire dynamics simulation modeling template into the second new file; adding one to the current row number.
[0087] The front tire dynamics simulation modeling template and the rear tire dynamics simulation modeling template of this embodiment both have 37 lines, so the first preset value and the third preset value can be 1, and the second preset value and the fourth preset value can be 37. The principle of steps S5-S7 is as follows Figure 2 As shown in 3, Figure 2 The first array Arr_front_tire[] and Figure 3 The second elements in the second array Arr_rear_tire[] should all be row variables. The number "1" is used in the figure to simply replace the English name of the row variable.
[0088] Taking the generation of the front tire dynamics simulation model file as an example, first, the current row number is 1, and row number 1 is not in the first array Arr_front_tire[]. Then the row data of the first row in the front tire dynamics simulation modeling template is written into the first new file file_front_tire_mdl. In this embodiment, writing the row data corresponding to the current row number in the front tire dynamics simulation modeling template into the first new file can include: storing the front tire dynamics simulation modeling template as a behavior string into the Numpy list class variable val_list_front_tire, the statement expression is file_front_tire_tpl = open(full_path+front_tire_filenametpl) (file_front_tire_tpl is the name of the front tire dynamics simulation modeling template, full_path+front_tire_filenametpl are the full path + file name opened respectively), val_list_front_tire = file_front_tire_tpl.readlines(); writing the row data corresponding to the current row number in the list class variable val_list_front_tire into the first new file file_front_tire_mdl. Writing the row data corresponding to the current row number in the rear tire dynamics simulation modeling template into the second new file may include: storing the rear tire dynamics simulation modeling template as a behavior string into the Numpy list class variable val_list_rear_tire; writing the row data corresponding to the current row number in the list class variable val_list_rear_tire into the second new file file_rear_tire_mdl.
[0089] For the first row, write the first row of data in val_list_front_tire to the first row of the first new file file_front_tire_mdl. Then add one to the current row number, the current row number is 2, and row number 2 is also not in the first array Arr_front_tire[]. Write the second row of data in val_list_front_tire to the second row of the first new file file_front_tire_mdl. Row numbers 3 to 7 are not in the first array Arr_front_tire[]. Write the third to seventh rows of data in val_list_front_tire in sequence to the third to seventh rows of the first new file file_front_tire_mdl. Row number 8 exists in the first array Arr_front_tire[]. Write the row variable Line_TEMPLATE_NAME1 corresponding to row number 8 in the first array Arr_front_tire[] to the eighth row of the first new file file_front_tire_mdl. This process is repeated until the 37th line of data in val_list_front_tire is written into the 37th line of the first new file file_front_tire_mdl. The first new file file_front_tire_mdl.sub is the required front tire dynamics simulation model file. When the file_front_tire_mdl.sub is opened in the Adams software, the following can be obtained: Figure 4 The front tire dynamics simulation model is shown. The process of generating the rear tire dynamics simulation model file is the same as that of generating the front tire dynamics simulation model file, which will not be repeated here.
[0090] As can be seen from the above, this embodiment assigns values to row variables in the target array, and the target array includes the first array and / or the second array, so that the maintenance of variable parameters can be realized; according to the tire modeling type value input by the user, the front tire dynamics simulation model file and / or the rear tire dynamics simulation model file can be automatically selected to be generated. In the process of generating the tire dynamics simulation model file, only the tire modeling type value needs to be input and a small number of variable parameters need to be maintained, which improves the efficiency of generating the tire dynamics simulation model file.
[0091] like Figure 5 As shown, this embodiment also provides a device for generating a dynamics simulation model file of a tire system, comprising:
[0092] An assignment module is used to assign values to row variables in a target array, the target array includes a first array and / or a second array; the row variables in the first array are descriptions of variable parameters in the front tire dynamics simulation modeling template, and the row variables in the second array are descriptions of variable parameters in the rear tire dynamics simulation modeling template;
[0093] An acquisition module, used to obtain a tire modeling type value input by a user;
[0094] A writing module, used for writing each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in the order of row numbers if the tire modeling type value is a first type value;
[0095] The writing module is further used to write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in the order of row numbers if the tire modeling type value is a second type value;
[0096] The writing module is also used to write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into the first new file in the order of row numbers if the tire modeling type value is the third type value, and write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into the second new file in the order of row numbers.
[0097] Furthermore, the tire system dynamics simulation model file generating device may also include:
[0098] A definition module, used to define row variables in the first array based on the description of variable parameters in the front tire dynamics simulation modeling template;
[0099] An array module, used for establishing a first array consisting of the row number of the row where the variable parameter is located in the front tire dynamics simulation modeling template and the corresponding row variable;
[0100] The definition module is further used to define row variables in the second array based on the description of variable parameters in the rear tire dynamics simulation modeling template;
[0101] The array module is also used to establish a second array consisting of the row number of the row where the variable parameter is located in the rear tire dynamics simulation modeling template and the corresponding row variable.
[0102] Based on the same inventive concept as the method for generating a dynamic simulation model file of a tire system described above, this embodiment also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any one of the methods for generating a dynamic simulation model file of a tire system described above are implemented.
[0103] Among them, the bus architecture (represented by the bus), the bus can include any number of interconnected buses and bridges, and the bus links various circuits including one or more processors represented by the processor and memory represented by the memory. The bus can also link various other circuits such as peripherals, voltage regulators, and power management circuits together, which are all well known in the art and are therefore not further described herein. The bus interface provides an interface between the bus and the receiver and transmitter. The receiver and transmitter can be the same element, namely a transceiver, which provides a unit for communicating with various other devices on a transmission medium. The processor is responsible for managing the bus and general processing, while the memory can be used to store data used by the processor when performing operations.
[0104] Since the electronic device introduced in this embodiment is an electronic device used to implement the method for generating a dynamic simulation model file of a tire system in the embodiment of the present invention, based on the method for generating a dynamic simulation model file of a tire system introduced in the embodiment of the present invention, a person skilled in the art can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present invention is not described in detail here. As long as a person skilled in the art implements the electronic device used by the method for generating a dynamic simulation model file of a tire system in the embodiment of the present invention, it belongs to the scope of protection of the present invention.
[0105] Based on the same inventive concept as the above-mentioned method for generating a dynamic simulation model file for a tire system, the present invention also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it implements the above-mentioned method for generating a dynamic simulation model file for any tire system.
[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0107] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0108] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0110] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0111] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for generating a dynamic simulation model file of a tire system, characterized in that: include: Assigning values to row variables in a target array, wherein the target array includes a first array and / or a second array, wherein the first array and the second array are both composed of row numbers and row variables corresponding to each row number; the row variables in the first array are descriptions of variable parameters in a front tire dynamics simulation modeling template, and the row numbers in the first array are row numbers of the variable parameters in the front tire dynamics simulation modeling template; the row variables in the second array are descriptions of variable parameters in a rear tire dynamics simulation modeling template, and the row numbers in the second array are row numbers of the variable parameters in the rear tire dynamics simulation modeling template; Get the tire modeling type value input by the user; If the tire modeling type value is a first type value, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into a preset first new file in the order of row numbers; If the tire modeling type value is a second type value, each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into a preset second new file in the order of row numbers; If the tire modeling type value is a third type value, each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template are written into the first new file in the order of row numbers, and each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template are written into the second new file in the order of row numbers.
2. The method for generating a dynamics simulation model file of a tire system according to claim 1, characterized in that: The step of writing each row variable in the first array and each row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in the order of row numbers includes: Looping through the first preset process from the time when the current row number is the first preset value until the current row number is the second preset value; The first preset process includes: obtaining the current row number; if the current row number exists in the first array, writing the row variables corresponding to the current row number in the first array into the first new file in sequence; if the current row number does not exist in the first array, writing the row data corresponding to the current row number in the front tire dynamics simulation modeling template into the first new file; and adding one to the current row number.
3. The method for generating a dynamic simulation model file of a tire system according to claim 1, wherein: The step of writing each row variable in the second array and each row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in the order of row numbers includes: Loopingly executing the second preset process from the time when the current row number is the third preset value until the current row number is the fourth preset value; The second preset process includes: obtaining the current row number; if the current row number exists in the second array, writing the row variable corresponding to the current row number in the second array into the second new file; if the current row number does not exist in the second array, writing the row data corresponding to the current row number in the rear tire dynamics simulation modeling template into the second new file; and adding one to the current row number.
4. The method for generating a dynamics simulation model file of a tire system according to claim 1, wherein: The variable parameters in the front tire dynamics simulation modeling template include any one or more of the front tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file and contact type.
5. The method for generating a dynamic simulation model file of a tire system according to claim 1, wherein: The variable parameters in the rear tire dynamics simulation modeling template include any one or more of the rear tire dynamics simulation modeling template name, tire role, tire mass, X moment of inertia, Y moment of inertia, Z moment of inertia, tire flexible body property file and contact type.
6. The method for generating a dynamics simulation model file of a tire system according to claim 1, characterized in that: Before assigning values to the row variables in the target array, the method further includes: Defining row variables in the first array based on the description of variable parameters in the front tire dynamics simulation modeling template; establishing the first array consisting of the row number of the row where the variable parameters are located in the front tire dynamics simulation modeling template and the corresponding row variables; Based on the description of the variable parameters in the rear tire dynamics simulation modeling template, the row variables in the second array are defined; and the second array consisting of the row number of the row where the variable parameters in the rear tire dynamics simulation modeling template are located and the corresponding row variables is established.
7. A device for generating a dynamic simulation model file of a tire system, characterized in that: include: An assignment module, used for assigning values to row variables in a target array, wherein the target array includes a first array and / or a second array, wherein the first array and the second array are both composed of row numbers and row variables corresponding to each row number; the row variables in the first array are descriptions of variable parameters in a front tire dynamics simulation modeling template, and the row numbers in the first array are row numbers of the variable parameters in the front tire dynamics simulation modeling template; the row variables in the second array are descriptions of variable parameters in a rear tire dynamics simulation modeling template, and the row numbers in the second array are row numbers of the variable parameters in the rear tire dynamics simulation modeling template; An acquisition module, used to obtain a tire modeling type value input by a user; A writing module, configured to write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into a preset first new file in the order of row numbers if the tire modeling type value is a first type value; The writing module is further configured to write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into a preset second new file in the order of row numbers if the tire modeling type value is a second type value; The writing module is also used to write each row variable in the first array and the row data of each fixed parameter in the front tire dynamics simulation modeling template into the first new file in row number order if the tire modeling type value is a third type value, and write each row variable in the second array and the row data of each fixed parameter in the rear tire dynamics simulation modeling template into the second new file in row number order.
8. The device for generating a dynamics simulation model file of a tire system according to claim 7, characterized in that: Also includes: A definition module, used to define row variables in the first array based on the description of variable parameters in the front tire dynamics simulation modeling template; An array module, used for establishing the first array consisting of the row number of the row where the variable parameter is located in the front tire dynamics simulation modeling template and the corresponding row variable; The definition module is further used to define row variables in the second array based on the description of variable parameters in the rear tire dynamics simulation modeling template; The array module is also used to establish the second array consisting of the row number of the row where the variable parameter is located in the rear tire dynamics simulation modeling template and the corresponding row variable.
9. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the method for generating a dynamic simulation model file of a tire system as claimed in any one of claims 1 to 6 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for generating a dynamics simulation model file of a tire system according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Method and system for multi-body model form control
CN105631103A
Vehicle test model establishing method, device and equipment and storage medium
CN110399644A