Visual verification method and system for dynamic control system based on physical-information mapping

By establishing the mapping relationship between the three-dimensional physical model and the two-dimensional information model in the motion control system, and using the Modelica language to unify the modeling and perform simulation solutions, the problem of inaccurate simulation results caused by single-domain modeling in the existing technology is solved, and the More accurate and comprehensive simulation verification of large and complex systems.

CN113779772BActive Publication Date: 2024-09-20HUAZHONG UNIV OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110955111.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-19
Publication Date
2024-09-20
Estimated Expiration
2041-08-19

AI Technical Summary

Technical Problem

The existing technology only performs single-domain physical modeling in the simulation and verification of dynamic control systems, resulting in inaccurate simulation results and the inability to fully consider the characteristics of multiple domains.

Method used

A method based on physics-information mapping is used to establish the mapping relationship between the three-dimensional physical model and the two-dimensional information model. The Modelica language is used to unify the modeling to form the physical-information model of the dynamic control system, and Modelica's compiler and solver are called for simulation solutions. .

Benefits of technology

By combining the characteristics of multiple fields to build a model, the simulation results are more accurate and reliable, achieving comprehensive simulation verification of the motion control system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113779772B
    Figure CN113779772B
Patent Text Reader

Abstract

The present invention discloses a method and system for visual verification of a dynamic control system based on physical-information mapping, the method comprising: establishing a three-dimensional physical model of the dynamic control system, building a two-dimensional information model of the dynamic control system based on the Modelica language; establishing a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model to form the physical-information model of the dynamic control system; converting the three-dimensional physical model into a file based on the Modelica language, converting the physical-information model into a Modelica multi-body model of the dynamic control system; calling a compiler and solver based on Modelica to simulate and solve the Modelica multi-body model of the dynamic control system. Since the three-dimensional physical model and the two-dimensional information model that form the mapping relationship are combined when establishing the dynamic control system model, the characteristics of multiple fields are taken into account, the model is more comprehensive, and the simulation result is more accurate.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of dynamic control system simulation verification, and more specifically, relates to a dynamic control system visualization verification method and system based on physical-information mapping. Background Art

[0002] The space station dynamics and control system (abbreviated as: dynamic control system) is a multi-domain complex system that integrates different engineering fields such as mechanics, electrical, hydraulics, and control. It is also an information-physical system (CPS) that integrates computing, networking, and physical environment. With the continuous development of space exploration missions, the structure and function of the space station dynamic control system are becoming more and more complex, and the technology is developing more and more rapidly. Improving the accuracy, stability, and controllability of the system is an important task. Therefore, when designing the dynamic control system, it is necessary to verify it through modeling and simulation. At present, simulation and visual verification can be achieved by establishing a physical three-dimensional model through three-dimensional parameterization. However, since the dynamic control system involves multiple fields, only single-field physical modeling and simulation are performed, and the simulation results are not accurate. Summary of the invention

[0003] In view of the above defects or improvement needs of the prior art, the present invention provides a dynamic control system visual verification method and system based on physical-information mapping, which aims to fully consider the characteristics of multiple fields during modeling, make the modeling more comprehensive, and improve the reliability of the simulation results.

[0004] To achieve the above object, according to one aspect of the present invention, a method for visual verification of a dynamic control system based on physical-information mapping is provided, which comprises:

[0005] Establish a 3D physical model of the motion control system and build a 2D information model of the motion control system based on the Modelica language;

[0006] Establishing a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model to form a physical-information model of the motion control system;

[0007] Convert the 3D physical model into a file based on the Modelica language, and convert the physical-information model into a Modelica multi-body model of the dynamic control system;

[0008] The Modelica-based compiler and solver are called to simulate and solve the Modelica multi-body model of the dynamic control system.

[0009] Preferably, after simulating and solving the Modelica multi-body model of the motion control system, the simulation results are fed back to the physical-information model to drive the three-dimensional physical model to perform dynamic three-dimensional animation display.

[0010] Preferably, establishing a three-dimensional physical model of the motion control system includes intuitively constructing the three-dimensional physical model of the motion control system through three-dimensional design based on a three-dimensional CAD platform.

[0011] Preferably, the three-dimensional physical model includes three-dimensional models of integrated mechanical parts, pneumatic body, and hydraulic body, and the two-dimensional information model includes information models of integrated control, power electronic circuits, chip DSP code, hydraulic principle equations, pneumatic principle equations, data and software.

[0012] Preferably, a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model is established, including docking the three-dimensional physical model and the two-dimensional information model using an interface to transfer data in the two-dimensional information model to the three-dimensional physical model to drive the movement of the three-dimensional physical model.

[0013] Preferably, the interface includes a mechanical kinematic interface, an electrical interface, a hydraulic interface, and a control interface.

[0014] Preferably, the three-dimensional physical model is converted into a file based on the Modelica language, including:

[0015] Acquire a Modelica physical model library, wherein the Modelica physical model library includes Modelica language files corresponding to different three-dimensional physical models;

[0016] Extract the features of the components and assemblies of the current 3D physical model and match them with the 3D physical model expressed in the Modelica language in the Modelica physical model library, and call the Modelica language file corresponding to the successfully matched 3D physical model.

[0017] Preferably, the Modelica multi-body model of the motion control system is simulated and solved, including solving the optimal solution of the state variables during the operation of the motion control system based on the Modelica multi-body model.

[0018] Preferably, the motion control system is a space station motion control system.

[0019] According to another aspect of the present invention, a dynamic control system visual verification system based on physical-information mapping is provided, which comprises:

[0020] A three-dimensional physical model building unit, used to build a three-dimensional physical model of the motion control system;

[0021] 2D information model building unit, used to build 2D information model of motion control system based on Modelica language;

[0022] A mapping relationship establishing unit, used to establish a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model to form a physical-information model of the motion control system;

[0023] Model conversion unit, used to convert the three-dimensional physical model into a file based on the Modelica language, and to convert the physical-information model into a Modelica multi-body model of the dynamic control system;

[0024] The solving unit is used to call the Modelica-based compiler and solver to simulate and solve the Modelica multi-body model of the dynamic control system.

[0025] In general, compared with the prior art, the above technical solution conceived by the present invention combines the three-dimensional physical model and the two-dimensional information model that form a mapping relationship when establishing the dynamic control system model, taking the characteristics of multiple fields into consideration, and the model is more comprehensive. At the same time, the two-dimensional information model is built using the Modelica language. After the three-dimensional physical model and the two-dimensional information model form a mapping relationship, the three-dimensional physical model is also converted into a file based on the Modelica language, so that models in different fields use the same language to establish the Modelica multi-body model of the dynamic control system. Therefore, the Modelica multi-body model of the dynamic control system can be simulated and solved through the Modelica compiler and solver. Since the characteristics of multiple fields are considered when the model is established, the model is more comprehensive and the simulation solution results are more accurate. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] Figure 1 is a flowchart of the steps of a method for visual verification of a dynamic control system based on physical-information mapping in one embodiment of the present invention;

[0027] Figure 2 is a flowchart of the steps of a method for visual verification of a dynamic control system based on physical-information mapping in another embodiment of the present invention;

[0028] Figure 3 is a schematic diagram of a three-dimensional physical model of a space station motion control system in one embodiment of the present invention;

[0029] Figure 4 is a schematic diagram of a two-dimensional information model of a space station motion control system in one embodiment of the present invention;

[0030] Figure 5 It is a simulation solution result of a motor state in an embodiment of the present invention. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0032] like Figure 1 The figure is a flowchart of a method for visual verification of a dynamic control system based on physical-information mapping in one embodiment of the present invention. The method comprises the following steps:

[0033] Step S100: Establish a three-dimensional physical model of the motion control system, and build a two-dimensional information model of the motion control system based on the Modelica language.

[0034] Step S200: establishing a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model to form a physical-information model of the motion control system.

[0035] Step S300: converting the three-dimensional physical model into a file based on the Modelica language, and converting the physical-information model into a Modelica multi-body model of the dynamic control system.

[0036] Step S400: calling a Modelica-based compiler and solver to simulate and solve the Modelica multi-body model of the motion control system.

[0037] In the above-mentioned visualization verification method of the dynamic control system based on physical-information mapping, the two-dimensional information model is built using the Modelica language. After the three-dimensional physical model and the two-dimensional information model form a mapping relationship, the three-dimensional physical model is also converted into a file based on the Modelica language, so that models in different fields can uniformly use the same language to establish a Modelica multi-body model of the dynamic control system. Therefore, the Modelica multi-body model of the dynamic control system can be simulated and solved through the Modelica compiler and solver. Since the characteristics of multiple fields are taken into account when the model is established, the model is more comprehensive and the simulation solution results are more accurate.

[0038] For step S100, in one embodiment, Figure 3 As shown, establishing a three-dimensional physical model of the motion control system includes intuitively constructing a three-dimensional physical model of the motion control system through three-dimensional design based on a three-dimensional CAD platform. Specifically, the physical model of the motion control system can be constructed according to design requirements, and the physical model includes elements such as kinematic pairs, loads (force elements / constraints), environments, and assembly constraints. In a specific embodiment, the three-dimensional physical model includes three-dimensional models of different professional fields such as comprehensive mechanical parts, pneumatic bodies, and hydraulic bodies.

[0039] In one embodiment, if Figure 4 As shown, the two-dimensional information model is built based on the Modelica language. Specifically, according to the design requirements, the information model of the dynamic control system can be constructed by dragging and dropping model components in the Modelica physical model library. The information model contains elements such as body characteristics, geometry, constraints, hydraulic principle equation expressions, etc. In a specific embodiment, the two-dimensional information model includes information models of integrated control, power electronic circuits, chip DSP codes, hydraulic principle equations, pneumatic principle equations, data and software. Among them, Modelica is a secondary development language for dynamic performance simulation models based on differential algebraic equations. It supports continuous and discrete system modeling and simulation calculations, can cross different fields, and conveniently realize the modeling of large, complex, and multi-disciplinary physical systems. It is suitable for multi-domain modeling, such as mechanical, electronic, hydraulic, control and other field modeling in aviation products. Modelica models are described by differential, algebraic and discrete equations. There is no need to manually solve specific variables. The tools supporting Modelica can solve them automatically.

[0040] For step S200, in one embodiment, a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model is established, including that the three-dimensional physical model and the two-dimensional information model are connected by an interface to transfer the data in the two-dimensional information model to the three-dimensional physical model to drive the three-dimensional physical model to move. Specifically, the three-dimensional physical model and the two-dimensional information model are connected by an interface, and the interface can specifically include interfaces in different fields such as mechanical motion sub-interface, electrical interface, hydraulic interface, control interface, etc.

[0041] Regarding step S300, in one embodiment, converting the three-dimensional physical model into a file based on the Modelica language includes:

[0042] Acquire a Modelica physical model library, wherein the Modelica physical model library includes Modelica language files corresponding to different three-dimensional physical models;

[0043] By extracting the features of the components and assemblies of the current 3D physical model and matching them with the 3D physical model expressed based on the Modelica language in the Modelica physical model library, the Modelica language file corresponding to the successfully matched 3D physical model is called.

[0044] Specifically, in the matching process, based on the traversal algorithm, the feature information of the physical model of the multi-layer nested dynamic control system is completely extracted, such as the extraction of feature information of parts, force elements, constraints and drives, and the extracted feature information is matched with the physical model in the Modelica physical model library, and the Modelica language file corresponding to the successfully matched three-dimensional physical model is called, that is, the three-dimensional physical model is converted into a file based on the Modelica language. It should be noted that before the three-dimensional physical model is converted into a file based on the Modelica language, a mapping relationship has been established between the three-dimensional physical model and the two-dimensional information model, and after the three-dimensional physical model is converted into a file based on the Modelica language, the mapping relationship still exists.

[0045] For step S400, call the Modelica-based compiler and solver, for example, call the MWorks simulation solver to simulate and solve the Modelica multi-body model of the space station dynamic control system, and display the simulation results, that is, display the changes of various state variables. Figure 5 As shown, Figure 5 (a) to (d) in the figure respectively show the changes in the speed, torque, voltage and current of a motor in the motion control system within a simulation time of 2 seconds. That is, the verification method of this scheme can realize visual verification by observing the change trend through the curve.

[0046] In one embodiment, the Modelica multi-body model of the motion control system is simulated and solved, including solving the optimal solution of each state variable during the operation of the motion control system based on the Modelica multi-body model. Since the motion control system model is a Modelica multi-body model that integrates information from multiple fields, the optimal solution for a certain state change can be solved through the constraints in the model, such as solving the deployment angle of the solar panels in the space station motion control system, which is an optimal angle obtained through the solution.

[0047] In one embodiment, if Figure 2 As shown, after solving the simulation results, the simulation results can be fed back to the physical-information model to drive the three-dimensional physical model to perform dynamic three-dimensional animation display, thereby realizing the integration of three-dimensional design, modeling, simulation and visual verification of the space station dynamic control system.

[0048] In one embodiment, the aforementioned motion control system may specifically be a space station motion control system, that is, a space station dynamics and control system.

[0049] The present invention also relates to a system for implementing the above-mentioned method for visual verification of a motion control system based on physical-information mapping, the system comprising:

[0050] A three-dimensional physical model building unit, used to build a three-dimensional physical model of the motion control system;

[0051] 2D information model building unit, used to build 2D information model of motion control system based on Modelica language;

[0052] A mapping relationship establishing unit, used to establish a mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model to form a physical-information model of the motion control system;

[0053] Model conversion unit, used to convert the three-dimensional physical model into a file based on the Modelica language, and to convert the physical-information model into a Modelica multi-body model of the dynamic control system;

[0054] The solving unit is used to call the Modelica-based compiler and solver to simulate and solve the Modelica multi-body model of the dynamic control system.

[0055] Each unit in the dynamic control system visualization verification system based on physical-information mapping is used to execute each step in the dynamic control system visualization verification method based on physical-information mapping. The dynamic control system visualization verification method based on physical-information mapping has been introduced in detail above. The functions of each unit in the dynamic control system visualization verification system based on physical-information mapping correspond to each other one by one, and will not be repeated here.

[0056] In the present invention, since the three-dimensional physical model and the two-dimensional information model that form a mapping relationship are combined when establishing the dynamic control system model, the characteristics of multiple fields are taken into account, and the model is more comprehensive. At the same time, the two-dimensional information model is built using the Modelica language. After the three-dimensional physical model and the two-dimensional information model form a mapping relationship, the three-dimensional physical model is also converted into a file based on the Modelica language, so that models in different fields use the same language to establish the Modelica multi-body model of the dynamic control system. Therefore, the Modelica multi-body model of the dynamic control system can be simulated and solved through the Modelica compiler and solver. Since the characteristics of multiple fields are considered when the model is established, the model is more comprehensive and the simulation solution results are more accurate.

[0057] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A visual verification method for dynamic control system based on physical-information mapping, It is characterized in that include: Establish a three-dimensional physical model of the dynamic control system, and build a two-dimensional information model of the dynamic control system based on the Modelica language; wherein the dynamic control system is a space station dynamic control system, the three-dimensional physical model includes three-dimensional models of comprehensive mechanical parts, pneumatic body, and hydraulic body, and the two-dimensional information model includes information models of comprehensive control, power electronic circuits, chip DSP code, hydraulic principle equations, pneumatic principle equations, data, and software; Establish the mapping relationship between the 3D physical model and the 2D information model to form the physical-information model of the motion control system; Convert the 3D physical model into a file based on the Modelica language, and convert the physical-information model into a Modelica multi-body model of the dynamic control system; The Modelica-based compiler and solver are called to simulate and solve the Modelica multi-body model of the dynamic control system.

2. The visual verification method of the motion control system according to claim 1, It is characterized in that After simulating and solving the Modelica multi-body model of the dynamic control system, the simulation results are fed back to the physical-information model to drive the three-dimensional physical model to perform three-dimensional animation display.

3. The visual verification method of the motion control system according to claim 1, It is characterized in that Establishing a three-dimensional physical model of the motion control system includes intuitively constructing a three-dimensional physical model of the motion control system through three-dimensional design based on a three-dimensional CAD platform.

4. The visual verification method of the motion control system according to claim 1, It is characterized in that A mapping relationship between the three-dimensional physical model and the two-dimensional information model in the physical-information model is established, including docking the three-dimensional physical model and the two-dimensional information model using an interface to transfer data in the two-dimensional information model to the three-dimensional physical model to drive the movement of the three-dimensional physical model.

5. The visual verification method of the motion control system according to claim 4, It is characterized in that The interface includes a mechanical motion pair interface, an electrical interface, a hydraulic interface, and a control interface.

6. The visual verification method of the motion control system according to claim 1, It is characterized in that Convert 3D physical models into Modelica language-based files, including: Acquire a Modelica physical model library, wherein the Modelica physical model library includes Modelica language files corresponding to different three-dimensional physical models; By extracting the features of the components and assemblies of the current 3D physical model and matching them with the 3D physical model expressed based on the Modelica language in the Modelica physical model library, the Modelica language file corresponding to the successfully matched 3D physical model is called.

7. The visual verification method of the motion control system according to claim 1, It is characterized in that The Modelica multi-body model of the dynamic control system is simulated and solved, including solving the optimal solution of the state variables during the operation of the dynamic control system based on the Modelica multi-body model.

8. A visual verification system for dynamic control systems based on physical-information mapping. It is characterized in that include: A three-dimensional physical model building unit is used to build a three-dimensional physical model of a dynamic control system, wherein the dynamic control system is a space station dynamic control system, and the three-dimensional physical model includes three-dimensional models of comprehensive mechanical parts, pneumatic body, and hydraulic body; A two-dimensional information model building unit is used to build a two-dimensional information model of a dynamic control system based on the Modelica language, wherein the two-dimensional information model includes information models of integrated control, power electronic circuits, chip DSP codes, hydraulic principle equations, pneumatic principle equations, data, and software; A mapping relationship establishing unit, used to establish a mapping relationship between a three-dimensional physical model and a two-dimensional information model to form a physical-information model of a motion control system; Model conversion unit, used to convert the three-dimensional physical model into a file based on the Modelica language, and to convert the physical-information model into a Modelica multi-body model of the dynamic control system; The solving unit is used to call the Modelica-based compiler and solver to simulate and solve the Modelica multi-body model of the dynamic control system.