Integrated method, system and terminal for semi-physical simulation of satellite attitude and orbit control
By constructing and deploying a real-time dll dynamics model of the Rtw format model, the time delay and cost problems of the existing satellite attitude and orbit control semi-physical simulation system are solved, real-time simulation and online modification of dynamic parameters are realized, and test coverage is improved. .
Patent Information
- Application Number
- CN202210137850.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-15
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2042-02-15
AI Technical Summary
The existing semi-physical simulation system for satellite attitude and orbit control has time delay problems in the information interaction process, high development costs, and the inability to change dynamic parameters and set faults in real time.
Construct a satellite dynamics mathematical model, convert the parameters and signals that need to be set into an Rtw format model, compile and package it into a real-time dll dynamics model, and deploy it to the satellite attitude and orbit control dynamics simulator, and interact with the simulation interface module through signals. The signal conditioning box is connected to the star service computer to realize real-time simulation integration.
A real-time simulation test platform is implemented, which improves the real-time performance and reliability of the system, reduces the cost of the simulation platform, allows online modification of dynamic parameters and setting of fault parameters, and enhances test coverage.
Smart Images

Figure CN114563960B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of satellite simulation test technology, and in particular to a method, system and terminal for integrating semi-physical simulation of satellite attitude and orbit control. Background Art
[0002] The existing satellite attitude and orbit control semi-physical simulation system includes a host computer, a satellite attitude and orbit control dynamics mathematical model simulator, a satellite attitude and orbit control interface simulator, a signal conditioning box, and a satellite service computer. The attitude and orbit control dynamics mathematical model simulator and the satellite attitude and orbit control interface simulator are two simulation platforms. The satellite attitude and orbit control dynamics model simulator is used to run the satellite dynamics xPC mathematical model, and the satellite attitude and orbit control interface simulator is used to run the satellite attitude and orbit control stand-alone simulation interface program. The satellite attitude and orbit control dynamics model simulator and the satellite attitude and orbit control interface simulator exchange data through optical fiber or network cable. The satellite attitude and orbit control dynamics model simulator outputs satellite sensor and actuator data to the satellite attitude and orbit control interface simulator. After receiving the data, the satellite attitude and orbit control interface simulator exchanges stand-alone signals with the satellite service computer through the signal conditioning box.
[0003] There is optical fiber / network transmission delay in the information interaction process between the attitude and orbit control dynamics mathematical model simulator and the satellite attitude and orbit control interface simulator, and real-time performance cannot be guaranteed; the attitude and orbit control dynamics mathematical model simulator and the satellite attitude and orbit control interface simulator are two sets of simulators, and the development cost is higher than that of a single set of simulators; and the xPC dynamic parameters cannot be changed during operation, and faults cannot be set.
[0004] At present, no description or report of similar technology to the present invention has been found, and similar information at home and abroad has not been collected yet. Summary of the invention
[0005] In view of the above-mentioned deficiencies in the prior art, the present invention provides an integrated method and system for semi-physical simulation of satellite attitude and orbit control.
[0006] According to one aspect of the present invention, there is provided a method for integrating semi-physical simulation of satellite attitude and orbit control, comprising:
[0007] Constructing a satellite dynamics mathematical model, setting the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and converting them into a corresponding Rtw format model;
[0008] Compile and package the Rtw format model into a real-time dll dynamics model;
[0009] Deploy the dll dynamics model to a satellite attitude and orbit control dynamics simulator, and perform signal interaction with a satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator;
[0010] The satellite attitude and orbit control simulation interface module outputs the signal of the interaction of the dll dynamic model, and transmits it to the satellite service computer after conditioning; the satellite service computer transmits the signal quantity of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, completing the integration of the semi-physical simulation of the satellite attitude and orbit control.
[0011] Optionally, constructing a satellite dynamics mathematical model includes:
[0012] The satellite dynamics mathematical model in Mdl format is composed by using Simulink model block diagram, Stateflow state diagram and S-Function model.
[0013] Optionally, the converting into a corresponding Rtw format model includes:
[0014] The global variables are converted into program codes in Rtw format by using MATLAB / RTW automatic code generation tool to form a Rtw format model.
[0015] Optionally, compiling and packaging the Rtw format model into a real-time dll dynamics model includes:
[0016] The Rtw format model is compiled and encapsulated into a real-time dll dynamic model using the NIVeriStand.tlc compilation control file; wherein the dll dynamic model includes: a satellite dynamic model for solving the satellite's on-orbit pointing information in real time according to the mission and working mode, and a fault model for changing the dynamic parameters in real time according to the set parameters, thereby changing the satellite's on-orbit status information in real time.
[0017] Optionally, deploying the dll dynamics model to a satellite attitude and orbit control dynamics simulator includes:
[0018] The compiled dll dynamics model is embedded into the Labview RT simulation program of the satellite attitude and orbit control dynamics simulator, and deployed to the satellite attitude and orbit control dynamics simulator through the attitude and orbit control host computer.
[0019] Optionally, the dll dynamics model performs signal interaction with a satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator, including:
[0020] The dll dynamics model includes: a satellite environment model, an attitude kinematics and dynamics model, an orbital dynamics model, a sensor model, an actuator model and a fault simulation soft injection model; wherein the sensor model, the actuator model and the fault simulation soft injection model respectively exchange data with the satellite attitude and orbit control simulation interface module; the satellite environment model, the attitude kinematics and dynamics model and the orbital dynamics model calculate the satellite attitude information in real time through the obtained interactive information, and respond to the sensor model and the actuator model.
[0021] Optionally, the satellite attitude and orbit control simulation interface module outputs the signal of the dll dynamics model interaction, and transmits it to the satellite affairs computer after conditioning; the satellite affairs computer transmits the signal quantity of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, including:
[0022] The satellite attitude and orbit control simulation interface module outputs the real electrical signals of the sensor model and the actuator model, and is connected to the satellite computer after being isolated and conditioned by the signal conditioning box;
[0023] The signal conditioning box receives the signal quantity of the actuator model transmitted from the satellite service computer, and after conditioning, transmits it to the satellite attitude and orbit control simulation interface module.
[0024] According to another aspect of the present invention, there is provided a satellite attitude and orbit control semi-physical simulation integrated system, comprising: a model building module, an attitude and orbit control dynamics simulator, a signal isolation and conditioning box, and an attitude and orbit control host computer, wherein:
[0025] The model building module is used to build a satellite dynamics mathematical model, set the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and convert them into corresponding Rtw format models; compile and package the Rtw format model into a real-time dll dynamics model;
[0026] The attitude and orbit control dynamics simulator is equipped with the dll dynamics model and is provided with a satellite attitude and orbit control simulation interface module. After the satellite attitude and orbit control simulation interface module performs signal interaction with the dll dynamics model, the signal is conditioned by the signal isolation conditioning box and then output to the satellite affairs computer; the attitude and orbit control execution signal of the satellite affairs computer is received;
[0027] The attitude and orbit control host computer is used to deploy the dll dynamics model and the satellite attitude and orbit control simulation interface module to the attitude and orbit control dynamics simulator, and to display and store data of the signals interacting between the satellite attitude and orbit control simulation interface module and the attitude and orbit control dynamics simulator;
[0028] The signal isolation and conditioning box is used to isolate and condition the received signal.
[0029] According to a third aspect of the present invention, a terminal is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can be used to execute any of the above-described methods when executing the program.
[0030] Due to the adoption of the above technical solution, the present invention has at least one of the following beneficial effects compared with the prior art:
[0031] The satellite attitude and orbit control semi-physical simulation integrated method, system and terminal provided by the present invention is a real-time simulation test platform system, which can simulate satellite orbit, attitude dynamics, satellite on-orbit operating environment, attitude sensor, actuator, etc. respectively, and can realize the electrical performance interface simulation of each single machine, and directly connect with the satellite service computer, so as to realize the hardware in-loop real-time closed-loop simulation of the test system when the attitude and orbit control single machine is not yet complete.
[0032] The satellite attitude and orbit control semi-physical simulation integrated method, system and terminal provided by the present invention are combined with various real-time simulation software, remove the attitude and orbit control dynamics model simulator, and embed the dynamics model into the original attitude and orbit control interface simulator (i.e., the satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator of the present invention), so that the satellite attitude and orbit control semi-physical simulation system is integrated into the same platform, which can greatly improve the real-time performance, reliability and simulation platform cost.
[0033] The satellite attitude and orbit control semi-physical simulation integrated method and system provided by the present invention can realize the online modification of all parameters of attitude and orbit control dynamics, and the fault parameters can be set, thereby improving the test coverage. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings:
[0035] Figure 1 The present invention is a flowchart of the integrated method of semi-physical simulation of satellite attitude and orbit control in one embodiment of the present invention.
[0036] Figure 2 The flowchart of the process of generating the Rtw format model in a preferred embodiment of the present invention.
[0037] Figure 3 This is a workflow diagram for constructing a dll dynamics model in a preferred embodiment of the present invention.
[0038] Figure 4It is a working schematic diagram of a satellite attitude and orbit control dynamics simulator in a preferred embodiment of the present invention.
[0039] Figure 5 It is a schematic diagram of the operation between the satellite attitude and orbit control dynamics simulator and the satellite service computer in a preferred embodiment of the present invention.
[0040] Figure 6 It is a structural schematic diagram of a satellite attitude and orbit control semi-physical simulation integrated system in one embodiment of the present invention. DETAILED DESCRIPTION
[0041] The following is a detailed description of the embodiments of the present invention: This embodiment is implemented on the premise of the technical solution of the present invention, and a detailed implementation method and a specific operation process are given. It should be pointed out that for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
[0042] Figure 1 A flowchart of an integrated method for semi-physical simulation of satellite attitude and orbit control provided in one embodiment of the present invention.
[0043] like Figure 1 As shown, the satellite attitude and orbit control semi-physical simulation integrated method provided in this embodiment may include the following steps:
[0044] S100, constructing a satellite dynamics mathematical model, setting parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and converting them into corresponding Rtw format models;
[0045] S200, compile and encapsulate the Rtw format model into a real-time dll dynamics model;
[0046] S300, deploying the dll dynamics model to the satellite attitude and orbit control dynamics simulator, and performing signal interaction with the satellite attitude and orbit control dynamics interface module of the satellite attitude and orbit control dynamics simulator;
[0047] S400, the satellite attitude and orbit control simulation interface module outputs the signal of the dll dynamic model interaction, and transmits it to the satellite service computer after conditioning; the satellite service computer transmits the signal quantity of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, completing the integration of the semi-physical simulation of the satellite attitude and orbit control.
[0048] In S300 of this embodiment, as a specific application example, the satellite attitude and orbit control dynamics simulator may adopt the Labview RT Target real-time simulation system.
[0049] In S300 of this embodiment, the satellite attitude and orbit control dynamics simulator dll dynamics model module and the satellite attitude and orbit control simulation interface module remove the attitude and orbit control dynamics model simulation module.
[0050] In S100 of this embodiment, as a preferred embodiment, constructing a satellite dynamics mathematical model may include the following steps:
[0051] The satellite dynamics mathematical model in Mdl format is composed by using Simulink model block diagram, Stateflow state diagram and S-Function model.
[0052] In S100 of this embodiment, the fault includes attitude and orbit control unit fault and attitude and orbit control software fault; wherein:
[0053] The parameters and / or signals of attitude and orbit control single machine failure include: parameters and / or signals contained in all single machine telemetry packages;
[0054] The parameters and / or signals of attitude and orbit control software failure include: mode failure, orbit failure, time failure, and parameters and / or signals contained in software parameter failure.
[0055] The above fault parameters and / or signals are well known in the art and will not be described in detail here.
[0056] In S100 of this embodiment, as a preferred embodiment, converting into a corresponding Rtw format model may include the following steps:
[0057] Through the MATLAB / RTW automatic code generation tool, the global variables are converted into Rtw format program codes to form an Rtw format model.
[0058] In S200 of this embodiment, as a preferred embodiment, compiling and packaging the Rtw format model into a real-time dll dynamics model may include the following steps:
[0059] The NIVeriStand.tlc compilation control file is used to compile and encapsulate the Rtw format model into a real-time dll dynamic model; wherein the dll dynamic model includes: a satellite dynamic model for solving the satellite's on-orbit pointing information in real time according to the mission and working mode, and a fault model for changing the dynamic parameters in real time according to the set parameters, thereby changing the satellite's on-orbit status information in real time.
[0060] In S300 of this embodiment, as a preferred embodiment, deploying the dll dynamics model to a satellite attitude and orbit control dynamics simulator may include the following steps:
[0061] The compiled dll dynamics model is embedded into the Labview RT simulation program of the satellite attitude and orbit control dynamics simulator, and deployed to the satellite attitude and orbit control dynamics simulator through the attitude and orbit control host computer.
[0062] In S300 of this embodiment, as a preferred embodiment, the dll dynamics model performs signal interaction with the satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator, which may include the following steps:
[0063] The dll dynamics model includes: a satellite environment model, an attitude kinematics and dynamics model, an orbital dynamics model, a sensor model, an actuator model and a fault simulation soft injection model; wherein the sensor model, the actuator model and the fault simulation soft injection model respectively exchange data with the satellite attitude and orbit control simulation interface module; the satellite environment model, the attitude kinematics and dynamics model and the orbital dynamics model calculate the satellite attitude information in real time through the obtained interactive information, and respond to the sensor model and the actuator model.
[0064] In S400 of this embodiment, as a preferred embodiment, the satellite attitude and orbit control simulation interface module outputs the signal of the dll dynamic model interaction, and transmits it to the satellite affairs computer after conditioning; the satellite affairs computer transmits the signal of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, which may include the following steps:
[0065] S401, the satellite attitude and orbit control simulation interface module outputs the real electrical signals of the sensor model and the actuator model, and connects with the satellite computer after being isolated and conditioned by the signal conditioning box;
[0066] S402, the signal conditioning box receives the signal of the actuator model transmitted from the satellite computer, and after conditioning, transmits it to the satellite attitude and orbit control simulation interface module.
[0067] The integrated method for semi-physical simulation of satellite attitude and orbit control provided by the above embodiment of the present invention is further described below in conjunction with the accompanying drawings.
[0068] The satellite attitude and orbit control semi-physical simulation integrated method provided in the above embodiment of the present invention mainly includes the following four steps:
[0069] Step 1: construct a satellite dynamics mathematical model, set the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and convert them into corresponding Rtw format models;
[0070] Step 2: compile and encapsulate the Rtw format model into a real-time dll dynamics model;
[0071] Step 3: deploy the dll dynamics model to the satellite attitude and orbit control dynamics simulator, and perform signal interaction with the satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator;
[0072] Step 4: The satellite attitude and orbit control simulation interface module outputs the signal of the dll dynamic model interaction, and transmits it to the satellite service computer after conditioning; the satellite service computer transmits the signal quantity of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, completing the integration of the satellite attitude and orbit control semi-physical simulation.
[0073] like Figure 2 As shown, step one is specifically as follows:
[0074] According to the satellite dynamics mathematical model, which is an Mdl format model consisting of a Simulink model block diagram, a Stateflow state diagram, and an S-Function, the parameters or signals in the model that need to be set as faults are set as global variables and converted into efficient and optimized program codes in Rtw format through the MATLAB / RTW automatic code generation tool.
[0075] like Figure 3 As shown, step 2 is specifically as follows:
[0076] Use the NIVeriStand.tlc compilation control file to compile and encapsulate the Rtw dynamic mathematical model into a real-time dll dynamic model, which includes the satellite dynamic model: real-time calculation of satellite on-orbit pointing information according to the mission and working mode; fault model: real-time change of dynamic parameters according to the set parameters, thereby real-time change of satellite on-orbit status information
[0077] like Figure 4 As shown, step three is specifically as follows:
[0078] The compiled satellite dynamics model in dll format is embedded into the Labview RT simulation program of the satellite attitude and orbit control dynamics simulator, and is quickly deployed to the satellite attitude and orbit control dynamics simulator through the attitude and orbit control host computer. The satellite dynamics model and the satellite attitude and orbit control dynamics simulator interact with each other in the Labview RT simulation program. In the dll dynamics model: the sensor model, the actuator model and the fault simulation soft injection model interact with the satellite attitude and orbit control simulation interface module respectively; the satellite environment model, the attitude kinematics and dynamics model and the orbit dynamics model calculate the satellite attitude information in real time through the obtained interaction information, and respond to the sensor model and the actuator model.
[0079] like Figure 5 As shown, step four is specifically as follows:
[0080] Step 4: The real electrical signals of the sensor model and the actuator model output by the satellite attitude and orbit control simulation interface module are isolated and conditioned by the signal conditioning box and then connected to the satellite computer through cables. The signal isolation conditioning box receives the real signal from the satellite attitude and orbit control dynamics simulator, and the isolation module inside the conditioning box conditions the received real signal and outputs it to the satellite computer. At the same time, the signal isolation conditioning box also receives the signal of the actuator model transmitted from the satellite computer, and after conditioning, transmits it to the satellite attitude and orbit control simulation interface module;
[0081] The satellite attitude and orbit control semi-physical simulation integration method provided by the above embodiment of the present invention combines various real-time simulation software, removes the attitude and orbit control dynamics simulator, embeds the dynamics model into the original attitude and orbit control interface simulator, and integrates the satellite attitude and orbit control semi-physical simulation system into the same platform. Through this method, real-time performance, reliability and simulation platform cost can be greatly improved. In addition, all parameters of attitude and orbit control dynamics can be modified online, fault parameters can be set, and test coverage is improved.
[0082] Figure 6 A schematic diagram of the structure of a satellite attitude and orbit control semi-physical simulation integrated system provided in one embodiment of the present invention.
[0083] like Figure 6 As shown, the satellite attitude and orbit control semi-physical simulation integrated system provided by this embodiment may include: a model building module, an attitude and orbit control dynamics simulator, a signal isolation and conditioning box, and an attitude and orbit control host computer, wherein:
[0084] The model building module is used to build a satellite dynamics mathematical model, set the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and convert them into corresponding Rtw format models; compile and package the Rtw format model into a real-time dll dynamics model;
[0085] The attitude and orbit control dynamics simulator is equipped with a dll dynamics model and a satellite attitude and orbit control simulation interface module. After the satellite attitude and orbit control simulation interface module interacts with the dll dynamics model, the signal is conditioned by the signal isolation conditioning box and then output to the satellite affairs computer; the attitude and orbit control execution signal of the satellite affairs computer is received;
[0086] The attitude and orbit control host computer is used to deploy the dll dynamics model and the satellite attitude and orbit control simulation interface module to the attitude and orbit control dynamics simulator, and to display and store the data of the signals interacting between the satellite attitude and orbit control simulation interface module and the attitude and orbit control dynamics simulator;
[0087] The signal isolation and conditioning box is used to isolate and condition the received signal.
[0088] An embodiment of the present invention further provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can be used to execute any of the methods described in the above embodiments of the present invention when executing the program.
[0089] The satellite attitude and orbit control semi-physical simulation integrated system provided in the above embodiment of the present invention adopts the architecture of "satellite dynamics mathematical model algorithm kernel (.dll file) + NI LabVIEW Real-Time stand-alone interface real-time simulator" to build the entire system into an integrated real-time fast simulation test platform system.
[0090] The satellite attitude and orbit control semi-physical simulation integrated system provided by the above embodiment of the present invention includes four main functional modules, namely: a model construction module, an attitude and orbit control dynamics simulator, a signal isolation and conditioning box, and an attitude and orbit control host computer. The attitude and orbit control host computer manages the attitude and orbit control dynamics simulator through the network to realize remote control, program compilation, download, data monitoring, data storage and other functions. The attitude and orbit control dynamics simulator runs the attitude and orbit control dynamics model to solve the satellite attitude information in real time and simulate the electrical signals of the attitude sensor and actuator. The signal conditioning box directly communicates with the satellite service computer after conditioning the electrical signals of the attitude and orbit control dynamics simulator. Based on this, the system can conveniently complete the attitude and orbit control rapid prototyping simulation.
[0091] The satellite attitude and orbit control semi-physical simulation integrated method and system provided by the above-mentioned embodiments of the present invention can respectively simulate satellite orbits, attitude dynamics, satellite on-orbit operating environment, attitude sensors, actuators, etc., and can realize the electrical performance interface simulation of each single machine, and directly connect with the satellite service computer, so as to realize the hardware in-loop real-time closed-loop simulation of the test system when the attitude and orbit control single machines are not yet complete; in combination with various real-time simulation software, the attitude and orbit control dynamics simulator is removed, and the dynamics model is embedded in the original attitude and orbit control interface simulator, so that the satellite attitude and orbit control semi-physical simulation system is integrated into the same platform, which can greatly improve the real-time performance, reliability and simulation platform cost, etc.; it can realize the online modification of all parameters of attitude and orbit control dynamics, and the fault parameters can be set, thereby improving the test coverage.
[0092] Those skilled in the art know that, in addition to implementing the system and its various devices provided by the present invention in a purely computer-readable program code, the system and its various devices provided by the present invention can be made to implement the same functions in the form of logic gates, switches, application-specific integrated circuits, programmable logic controllers, and embedded microcontrollers by logically programming the method steps. Therefore, the system and its various devices provided by the present invention can be considered as a hardware component, and the devices for implementing various functions included therein can also be considered as structures within the hardware component; the devices for implementing various functions can also be considered as both software modules for implementing the method and structures within the hardware component.
[0093] All matters not covered in the above embodiments of the present invention are well known in the art.
[0094] The above describes the specific embodiments of the present invention. It should be understood that the present invention is not limited to the above specific embodiments, and those skilled in the art may make various modifications or variations within the scope of the claims, which will not affect the essence of the present invention.
Claims
1. A satellite attitude and orbit control semi-physical simulation integrated method, characterized in that: include: Constructing a satellite dynamics mathematical model, setting the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and converting them into a corresponding Rtw format model; Compile and package the Rtw format model into a real-time dll dynamics model; Deploy the dll dynamics model to a satellite attitude and orbit control dynamics simulator, and perform signal interaction with a satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator; The satellite attitude and orbit control simulation interface module outputs the signal of the interaction of the dll dynamic model, and transmits it to the satellite service computer after conditioning; the satellite service computer transmits the signal quantity of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, completing the integration of the semi-physical simulation of the satellite attitude and orbit control.
2. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 1, characterized in that: The construction of the satellite dynamics mathematical model comprises: The satellite dynamics mathematical model in Mdl format is composed by using Simulink model block diagram, Stateflow state diagram and S-Function model.
3. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 1, characterized in that: The conversion into the corresponding Rtw format model includes: The global variables are converted into program codes in Rtw format by using MATLAB / RTW automatic code generation tool to form a Rtw format model.
4. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 1, characterized in that: The step of compiling and packaging the Rtw format model into a real-time dll dynamics model includes: The NIVeriStand.tlc compilation control file is used to compile and encapsulate the Rtw format model into a real-time dll dynamic model; wherein the dll dynamic model includes: a satellite dynamic model for solving the satellite's on-orbit pointing information in real time according to the mission and working mode, and a fault model for changing the dynamic parameters in real time according to the set parameters, thereby changing the satellite's on-orbit status information in real time.
5. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 1, characterized in that: The step of deploying the dll dynamics model to a satellite attitude and orbit control dynamics simulator comprises: The compiled dll dynamics model is embedded into the Labview RT simulation program of the satellite attitude and orbit control dynamics simulator, and deployed to the satellite attitude and orbit control dynamics simulator through the attitude and orbit control host computer.
6. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 1, characterized in that: The dll dynamics model performs signal interaction with the satellite attitude and orbit control simulation interface module of the satellite attitude and orbit control dynamics simulator, including: The dll dynamics model includes: a satellite environment model, an attitude kinematics and dynamics model, an orbital dynamics model, a sensor model, an actuator model and a fault simulation soft injection model; wherein the sensor model, the actuator model and the fault simulation soft injection model respectively exchange data with the satellite attitude and orbit control simulation interface module; the satellite environment model, the attitude kinematics and dynamics model and the orbital dynamics model calculate the satellite attitude information in real time through the obtained interactive information, and respond to the sensor model and the actuator model.
7. The integrated method for semi-physical simulation of satellite attitude and orbit control according to claim 6, characterized in that: The satellite attitude and orbit control simulation interface module outputs the signal of the dll dynamic model interaction, and transmits it to the satellite service computer after conditioning; the satellite service computer transmits the signal of the attitude and orbit control actuator, and outputs it to the satellite attitude and orbit control simulation interface module after conditioning, including: The satellite attitude and orbit control simulation interface module outputs the real electrical signals of the sensor model and the actuator model, and is connected to the satellite computer after being isolated and conditioned by the signal conditioning box; The signal conditioning box receives the signal quantity of the actuator model transmitted from the satellite service computer, and after conditioning, transmits it to the satellite attitude and orbit control simulation interface module.
8. A satellite attitude and orbit control semi-physical simulation integrated system, characterized in that: include: Model building module, attitude and orbit control dynamics simulator, signal isolation and conditioning box, and attitude and orbit control host computer, including: The model building module is used to build a satellite dynamics mathematical model, set the parameters and / or signals in the satellite dynamics mathematical model that need to be set as faults as global variables, and convert them into corresponding Rtw format models; compile and package the Rtw format model into a real-time dll dynamics model; The attitude and orbit control dynamics simulator is equipped with the dll dynamics model and is provided with a satellite attitude and orbit control simulation interface module. After the satellite attitude and orbit control simulation interface module performs signal interaction with the dll dynamics model, the signal is conditioned by the signal isolation conditioning box and then output to the satellite affairs computer; the attitude and orbit control execution signal of the satellite affairs computer is received; The attitude and orbit control host computer is used to deploy the dll dynamics model and the satellite attitude and orbit control simulation interface module to the attitude and orbit control dynamics simulator, and to display and store data of the signals interacting between the satellite attitude and orbit control simulation interface module and the attitude and orbit control dynamics simulator; The signal isolation and conditioning box is used to isolate and condition the received signal.
9. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, it can be used to perform the method according to any one of claims 1 to 7.
