A method for modeling and updating a dynamic system simulation model based on Apmss software

By using the subsystem modeling tools and specific keyword replacement methods of Apmss software in ADAMS software, the problem of repetitive modeling of multiple identical structural models was solved, realizing the automation and parametric updating of dynamic models and improving design efficiency.

CN117332560BActive Publication Date: 2026-06-23SHANGHAI AEROSPACE SYST ENG INST

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
SHANGHAI AEROSPACE SYST ENG INST
Filing Date
2023-09-01
Publication Date
2026-06-23

AI Technical Summary

Technical Problem

When creating multiple dynamic simulation models with the same structure in ADAMS software, it is necessary to repeat copy and rotation commands multiple times, and the samples do not update automatically after modification, resulting in a large workload and loss of parameterization.

Method used

An independent initial template for the sample was created using Apmss software. The simulation model file was instantiated using the subsystem modeling tool and then assembled in Adams software. Variable parameters were replaced using specific keywords to generate a parametric model.

Benefits of technology

It enables automated modeling and updating of dynamic models, improving design efficiency, especially facilitating parameter and topology updates during product iteration.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117332560B_ABST
    Figure CN117332560B_ABST
Patent Text Reader

Abstract

The application relates to a modeling and updating method of a dynamic system simulation model based on Apmss software, which comprises the following steps: in the Apmss software, an independent sample initial template is established for the same structural unit in each subsystem; a subsystem modeling tool is used to instantiate the independent sample initial template to generate a plurality of subsystem simulation model files, namely *.apmss files; an apmss program is used to convert the subsystem simulation model files into cmd command files for generating the subsystem simulation model in the adams software; an assembly command file is generated and executed, the assembly command file comprises reading the cmd command files of the subsystem simulation models and generating an aview.cmd command stream file and starting the adams software; the aview.cmd command stream file is a total file for modeling in the Adams software, and the total file comprises the cmd command files for generating the subsystem simulation models; after the Adams software is started, the aview.cmd file is automatically called to generate the subsystem simulation models in the Adams software and assemble the subsystem simulation models together to obtain a dynamic simulation system model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of simulation technology, and specifically discloses a method for modeling and updating a dynamic system simulation model based on Apmss software. Background Technology

[0002] Using Apmiss software for dynamic simulation is one of the most common methods for analyzing the dynamics of mechanical systems. Simulation can quickly analyze the state of mechanical systems, thereby improving design efficiency and enabling reasonable predictions of system performance. ADAMS software is the most authoritative and widely used multibody dynamics simulation software.

[0003] When establishing complex multibody dynamics analysis models, a multibody dynamics analysis model often contains multiple identical structures that work together to complete a set of actions.

[0004] When multiple identical structures need to be created, a sample can be created in the ADAMS software first. Then, the sample can be retrieved and copied into multiple identical samples using the copy function. Then, the multiple identical samples can be controlled to reach the specified positions by inputting translation commands. Finally, the rotation commands can be used to place each sample in the specified direction.

[0005] Modeling multiple identical samples using the above method requires repeated fetching, copying, and rotation commands based on the number of samples, resulting in a very large workload. Furthermore, once the first initial sample is modified, subsequent copies of the initial sample will not change with the initial sample, requiring the model to be copied and translated again, and there is no automatic update between samples.

[0006] Copying and rotating the model results in the loss of its parameterization. Summary of the Invention

[0007] The technical problem solved by this invention is to overcome the shortcomings of the prior art and provide a modeling and updating method for dynamic system simulation models based on Apmiss software. This solves the problem that traditional ADMAS software requires multiple repetitive instructions to move the basic sample to generate the remaining sample when modeling multiple identical samples, and that there is no automatic update when there are updates between samples.

[0008] The solution of this invention is: a modeling method for a dynamic system simulation model based on Apmss software, wherein the dynamic simulation system includes N subsystems, each subsystem contains multiple identical structural units, N≥1, and the method includes the following steps:

[0009] In the Apmss software, an independent initial template for samples is created for the same structural units in each subsystem;

[0010] Using a subsystem modeling tool, independent initial template samples are instantiated to generate multiple subsystem simulation model files, i.e., *.apmss files;

[0011] The apmss program is used to convert the simulation model files of each subsystem into cmd command files for generating subsystem simulation models in the adams software;

[0012] Generate and execute an assembly command file, which includes cmd command files for reading the simulation models of each subsystem and generating a master command flow file for modeling in Adams software, and start the Adams software; starting the Adams software includes cmd command files for generating the simulation models of each subsystem.

[0013] After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software, and assembles them together to obtain the dynamic simulation system model.

[0014] Preferably, the independent initial sample template is obtained by modifying an existing initial sample model. The existing initial sample model includes: initial sample model name, position parameters, orientation parameters, connection method, joint stiffness, friction coefficient, and geometric parameters. The specific modification principle is to replace the variable parameters in the existing initial sample model with unique specific keywords. The variable parameters include at least the initial sample model name, position, and orientation parameters.

[0015] Preferably, the method by which the subsystem modeling tool instantiates independent sample initial templates is as follows:

[0016] The keywords representing variable parameters in the initial template of the independent samples are replaced with specific values ​​to generate the subsystem simulation model file.

[0017] Preferably, the command format of the subsystem modeling tool is as follows:

[0018] ApmssMBXTools[FILE_INPUT_NAME][FILE_OUTPUT_NAME]"[REPLACE STRINGLIST]"

[0019] FILE_INPUT_NAME is the filename of the initial template for the sample;

[0020] FILE_OUTPUT_NAME is the filename of the sample structure simulation model;

[0021] REPLACE STRING LIST is the value corresponding to the keyword at the time of instantiation.

[0022] Preferably, when the main command stream file is named aview.cmd and stored in the working directory of the Adams software, the Adams software will automatically call the aview.cmd command stream file in the working directory after it starts.

[0023] Preferably, when the master command stream file is not in the working directory of the Adams software, the Adams software will import the master command stream file and then run it after startup.

[0024] Preferably, the identical structural unit is one of the following: element, component, device, stand-alone equipment, satellite subsystem, satellite subsystem, or satellite.

[0025] Another technical solution of the present invention is: a method for updating the simulation model of the dynamic system established by the above method, the method comprising the following steps:

[0026] Extract and modify the initial template of the sample corresponding to the structure that needs to be updated in the existing dynamic system simulation model;

[0027] The subsystem modeling tool is invoked again to instantiate the independent sample initial templates and generate multi-subsystem simulation model files;

[0028] The apmss program is used to convert the simulation model files of each subsystem into cmd command files for generating subsystem simulation models in the adams software;

[0029] Generate and execute an assembly command file, which includes cmd command files for reading the simulation models of each subsystem and generating a master command flow file for modeling in Adams software, and start the Adams software; starting the Adams software includes cmd command files for generating the simulation models of each subsystem.

[0030] After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software, and assembles them together to obtain the dynamic simulation system model.

[0031] Preferably, when the main command stream file is named aview.cmd and stored in the working directory of the Adams software, the Adams software will automatically call the aview.cmd command stream file in the working directory after it starts.

[0032] Preferably, when the master command stream file is not in the working directory of the Adams software, the Adams software will import the master command stream file and then run it after startup.

[0033] The advantages of this invention compared to the prior art are:

[0034] (1) The present invention adopts a modeling method based on Apmss software, which realizes the automation and parameterization of subsystem modeling, and then realizes the automation of the entire dynamic model modeling. The model is a parameterized model, which is convenient for aerospace products to be continuously updated during the design process and product design iteration process, including design parameters and subsystem topology.

[0035] (2) The design parameters of this invention can be updated by directly modifying the parameters in the established overall model. The subsystem topology can be updated by modifying the corresponding subsystem templates and automatically generating new models to update the overall model, greatly improving efficiency, especially in the iterative design process of products. This significantly improves the design and simulation efficiency of aerospace products. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is a schematic diagram of the subsystem modeling tool and modeling method based on Apmss software according to an embodiment of the present invention.

[0038] Figure 2 This is the simulation system architecture for an embodiment of the solar array of the present invention. Detailed Implementation

[0039] To further illustrate the technical means and effects of the present invention in achieving its intended purpose, the following detailed description of the specific implementation methods, structures, features, and effects of the present invention, in conjunction with the accompanying drawings and preferred embodiments, is provided below.

[0040] This invention provides a method for modeling a dynamic system simulation model based on Apmss software. The dynamic simulation system includes N subsystems, each subsystem containing multiple identical structural units, where N≥1. The method includes the following steps:

[0041] (1) In the Apmiss software, create an independent initial template for the same structural unit in each subsystem;

[0042] The identical structural unit is determined according to the hierarchy of the dynamic simulation system and can be one of the following: element, component, device, single-unit equipment, satellite subsystem, satellite subsystem, or satellite. When the structural unit is an element, the dynamic simulation system is a component; when the structural unit is a satellite subsystem, the dynamic simulation system is a satellite.

[0043] like Figure 2 As shown, in a specific example of the present invention, the solar array system includes eight hinges, four substrates, one connector, and two CCLs. For the above components, four independent initial templates are created: a hinge template, a substrate template, a connector template, and a CCL template. The template files are *.mbx files.

[0044] The independent initial sample template is obtained by modifying an existing initial sample model. The existing initial sample model includes: initial sample model name, position parameters, orientation parameters, connection method, joint stiffness, friction coefficient, and geometric parameters. The specific modification principle is to replace the variable parameters in the existing initial sample model with unique specific keywords. The variable parameters include at least the initial sample model name, position, and orientation parameters.

[0045] When establishing the initial template for the sample, the variable parameters (i.e., marker points) of the initial sample model were determined, and the name of the initial sample model was also determined.

[0046] In another embodiment of the present invention, the basic model sample is taken as a guide wheel. In the assembly, there are a large number of guide wheels with the same structure. The guide wheels are divided into several linear arrays arranged along straight lines at different angles. The guide wheels between adjacent linear arrays are arranged with the same included angle.

[0047] The initial template for the guide wheel sample is established as follows:

[0048] The Apmss modeling command flow is as follows:

[0049] The file name is: DXLA.APMSS

[0050]

[0051]

[0052] This is the Apss modeling code for the guide wheel. In this code, the entire model is based on the marker point DXLA_BASIC_BASE_MARKER, and the guide wheel is named DXLA.

[0053] After this code is run using Apmss software, the generated cmd command stream, when imported into Adams software, will generate a guide wheel at the point DXLA_BASIC_BASE_MARKER.

[0054] For the guide wheel mentioned above, this step defines the keyword DXLA as [KEY001] and modifies the keyword DXLA_BASIC_BASE_MARKER to [KEY002]. This APMSS code is then used as the initial template file for the guide wheel sample. Depending on the actual situation, it is not limited to the two keywords mentioned above; it can be any number of keywords, and file paths can also be included.

[0055] In this way, when using it, replace [KEY002] with other marker points in the dynamic simulation system to be built, and define the name of the guide wheel as the name of the new guide wheel. This will generate a new guide wheel model. When imported into the Adams model, the new guide wheel model will be generated at the set marker point.

[0056] Template file content: The file name is DXL.MBX

[0057]

[0058]

[0059] (2) Using a subsystem modeling tool, the independent initial template of the sample is instantiated to generate multiple subsystem simulation model files, namely *.apmss files;

[0060] The command format for the subsystem modeling tool is as follows:

[0061] ApmssMBXTools[FILE_INPUT_NAME][FILE_OUTPUT_NAME]"[REPLACE STRINGLIST]"

[0062] FILE_INPUT_NAME is the filename of the initial template for the sample;

[0063] FILE_OUTPUT_NAME is the filename of the sample structure simulation model;

[0064] The keywords in the REPLACE STRING LIST are in string format, and there can be multiple keywords separated by spaces. (Keyword replacement will replace [key001], [key002], [key003], etc. in the template in order.)

[0065] The subsystem modeling tool instantiates independent sample initial templates as follows:

[0066] The keywords representing variable parameters in the initial template of the independent samples are replaced with specific values ​​to generate the subsystem simulation model file.

[0067] For example, the command for a guide wheel instance is:

[0068] ApmssMBXTools DXL.MBX DXLB.APMSS"DXLB""DXLB_BASE_MARKER"

[0069] DxlB will replace [KEY001] in the template.

[0070] "DXLB_BASE_MARKER" will replace [KEY002] in the template.

[0071] After running, a new guide wheel subsystem model, DXLB, will be generated. Importing it into the Adams model will allow it to be assembled at the DXLB_BASE_MARKER location in the system simulation model.

[0072] This tool can be used multiple times to generate simulation files for multiple guide wheel subsystems.

[0073] Figure 2 In the illustrated embodiment, there are a total of 15 subsystems. The command flow format for establishing the simulation model of the hinge subsystem 1 is as follows:

[0074] ApmssMBXTools joint.mbx jont1.apmss param10 param20

[0075] The batch command to create the batch file is:

[0076] ApmssMBXTools joint.mbx jont1.apmss param11 param21

[0077] ApmssMBXTools joint.mbx jont2.apmss param12 param12

[0078] ...

[0079] ApmssMBXTools joint.mbx jont8.apmss param18 param28

[0080] ApmssMBXTools jban.mbx jban1.apmss param11 param21

[0081] ApmssMBXTools jban.mbx jban1.apmss param12 param22

[0082] ...

[0083] ApmssMBXTools jban.mbx jban4.apmss param14 param24

[0084] ApmssMBXTools ljj.mbx ljj.apmss param11 param21

[0085] ApmssMBXTools ccl.mbx ccl.apmss param11 param21

[0086] The parameters key001, key002, ..., param11, param21, ... are determined according to the specific situation.

[0087] If the template file *.mbx is updated, running this batch file will automatically generate a new subsystem apmss file for apmssMBXTools.exe.

[0088] (3) Use the apmss program to convert the simulation model files of each subsystem into cmd command files for generating the subsystem simulation models in the adams software;

[0089] In the embodiment of the solar panel model, the command is executed:

[0090] Apmss.exe jont1.apmss

[0091] Running the command will automatically generate the joint1.cmd file. Specifically, it is generated by setting OUTPUTFILE="JOINT1.CMD" in the apmss file.

[0092] Convert the simulation model file of hinge subsystem 1 into the ADAMS command file of hinge subsystem 1.

[0093] (4) Generate and execute the assembly command file, which includes reading the cmd command file of each subsystem simulation model and generating the total command flow file for modeling in Adams software, and starting Adams software; starting Adams software includes the cmd command file for generating each subsystem simulation model;

[0094] In the embodiment of the solar panel model, the assembly command is:

[0095] OUTPUTFILE="AVIEW.CMD"

[0096] COMMAND ADAMS FILE READ

[0097] "joint1.cmd"

[0098] "joint2.cmd"

[0099] ...

[0100] "joint8.cmd"

[0101] "ban1.cmd"

[0102] “ban2.cmd”

[0103] ...

[0104] "ban4.cmd"

[0105] Call mdi.bat.aview ru-i

[0106] The contents of this apmss file are the aview.cmd command stream for generating the model. The aview.cmd command stream contains the cmd file created above. The last line is the command to automatically run the Adams software. After Adams runs, it will automatically call the aview.cmd file in the directory, thereby building the model. This is an existing function of Adams and is part of the process automation.

[0107] If you don't need to start modeling directly after launching Adams, the generated file doesn't need to be named aview.cmd command stream file; it can have any filename, such as all.cmd. After launching Adams, simply import this all.cmd file, and the subsequent content will be the same.

[0108] (5) After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software and assembles them together to obtain the dynamic simulation system model.

[0109] When the main command stream file is named aview.cmd and stored in the working directory of the Adams software, the Adams software will automatically call the aview.cmd command stream file in the working directory after it starts.

[0110] Preferably, when the master command stream file is not in the working directory of the Adams software, the Adams software will import the master command stream file and then run it after startup.

[0111] The above is the simulation analysis process. After the template is modified, the models of each subsystem are automatically updated after running the automatic batch processing command, thus achieving the update of the entire model. This automates the model building process. The purpose of this invention is also to automate the modeling process and improve the efficiency of simulation modeling.

[0112] The method for updating the simulation model of the dynamic system established based on the above method includes the following steps:

[0113] Extract and modify the initial template of the sample corresponding to the structure that needs to be updated in the existing dynamic system simulation model;

[0114] The subsystem modeling tool is invoked again to instantiate the independent sample initial templates and generate multi-subsystem simulation model files;

[0115] The apmss program is used to convert the simulation model files of each subsystem into cmd command files for generating subsystem simulation models in the adams software;

[0116] Generate and execute an assembly command file, which includes cmd command files for reading the simulation models of each subsystem and generating a master command flow file for modeling in Adams software, and start the Adams software; starting the Adams software includes cmd command files for generating the simulation models of each subsystem.

[0117] After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software, and assembles them together to obtain the dynamic simulation system model.

[0118] If a subsystem needs modification, simply update the initial template of the subsystem sample to be modified, rerun the process using the ApmssMBXTools tool, and re-import it into the system simulation model to update the subsystem. These processes can be accomplished via script commands, eliminating the need for manual intervention and making them highly efficient.

[0119] This invention involves two software programs: Apmss and Adams.

[0120] The basic solution of this invention provides a subsystem modeling tool based on Apmss software and applicable to ADAMS software. The subsystem modeling tool is used for subsystem simulation model files, specifically for importing the initial sample template of the subsystem model to be built, instantiating the corresponding initial sample template, generating the corresponding subsystem simulation model file, and exporting it.

[0121] The principle and effect of this solution are as follows:

[0122] This invention is based on Apmss software and utilizes a built-in subsystem modeling tool to generate sample models. Several subsystems with identical structures are generated, and then these subsystems are assembled to form a complete dynamic system simulation model. During the generation of the initial sample template, the existing dynamic system simulation model guides the generation of corresponding, individual initial sample templates. If a subsystem needs modification, only the initial sample template needs to be updated, and the process can be rerun using ApmssMBXTools and re-imported into the ADMAS software to update all subsystems. This solves the problem that traditional ADMAS software, when modeling multiple identical structures, requires repeated commands to generate the remaining structures, and there is no automatic updating when there are changes between structures.

[0123] In this invention, Apmss software refers to the Apmss software with computer software copyright registration number 2019SR0589758.

[0124] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.

Claims

1. A modeling method for a dynamic system simulation model based on Apmss software, wherein the dynamic system simulation model includes N subsystems, and each subsystem contains multiple identical structural units. Its characteristics Includes the following steps: In the Apmss software, an independent initial template for samples is created for the same structural units in each subsystem; Using a subsystem modeling tool, independent initial template samples are instantiated to generate multiple subsystem simulation model files. .apmss file; The apmss program is used to convert the simulation model files of each subsystem into cmd command files for generating subsystem simulation models in the adams software; Generate and execute an assembly command file, which includes cmd command files for reading the simulation models of each subsystem and generating a master command stream file for modeling in Adams software, and start the Adams software; starting the Adams software includes cmd command files for generating the simulation models of each subsystem. After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software, and assembles them together to obtain the dynamic system simulation model. The independent initial sample template is obtained by modifying the existing initial sample model. The existing initial sample model includes: initial sample model name, position parameter, orientation parameter, connection method, joint stiffness, friction coefficient, and geometric parameters. The specific modification principle is to replace the variable parameters in the existing initial sample model with unique specific keywords. The variable parameters include at least the initial sample model name, position, and orientation parameter. The subsystem modeling tool instantiates independent sample initial templates as follows: The keywords representing variable parameters in the initial templates of individual samples are replaced with specific values ​​to generate subsystem simulation model files; When the main command stream file is named aview.cmd and stored in the working directory of the Adams software, the Adams software will automatically call the aview.cmd command stream file in the working directory after startup. The same structural unit refers to one of the following: element, component, device, single-unit equipment, satellite subsystem, satellite subsystem, or satellite.

2. The method for modeling a dynamic system simulation model based on Apmss software according to claim 1, characterized in that... When the master command stream file is not in the working directory of the Adams software, the Adams software will import the master command stream file and then run it after startup.

3. A method for updating a dynamic system simulation model established based on the method of claim 1 or 2, characterized in that... Includes the following steps: Extract and modify the initial template of the sample corresponding to the structure that needs to be updated in the existing dynamic system simulation model; The subsystem modeling tool is invoked again to instantiate the independent sample initial templates and generate multi-subsystem simulation model files; The apmss program is used to convert the simulation model files of each subsystem into cmd command files for generating subsystem simulation models in the adams software; Generate and execute an assembly command file, which includes cmd command files for reading the simulation models of each subsystem and generating a master command stream file for modeling in Adams software, and start the Adams software; starting the Adams software includes cmd command files for generating the simulation models of each subsystem. After the Adams software starts, it calls the main command flow file, generates simulation models of each subsystem in the Adams software, and assembles them together to obtain the dynamic system simulation model.