Satellite attitude and orbit control semi-physical simulation system and method suitable for ten thousand magnitude data
Through hierarchical design and modeling processing, the semi-physical simulation platform of the satellite attitude and orbit control subsystem can be efficiently processed and quickly constructed in a tens of thousands of data environments, solving the problems of low efficiency and poor scalability of traditional platforms. Improved testing efficiency and reliability.
Patent Information
- Application Number
- CN202410848722.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-01
AI Technical Summary
The semi-physical simulation platform of the traditional satellite attitude and orbit control subsystem has low efficiency when faced with tens of thousands of data transmissions, and poor data processing delay and scalability, resulting in a long development cycle and increased costs, and it is difficult to quickly build a test environment.
A semi-physical simulation system for satellite attitude and orbit control suitable for tens of thousands of data is designed. It adopts hierarchical and model-based design and uses data interface layer, data transfer DH layer, simulation component data model layer, business logic engine layer and UI. Configure the control display layer to achieve data splitting, analysis and real-time monitoring, and support rapid construction and customization of interfaces.
It improves the efficiency of real-time data transmission and monitoring, simplifies data model construction and test result display, reduces the requirements of platform software for data flow throughput, achieves rapid construction and flexibility in complex test scenarios, and improves test reliability. and efficiency.
Smart Images

Figure CN118732532A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a satellite attitude and orbit control semi-physical simulation system and method suitable for ten thousand-level data, belonging to the technical field of semi-physical simulation test of satellite control subsystem. Background Art
[0002] With the development of aerospace technology, satellite functions are becoming more and more complex and diverse, and the amount of data is also increasing. The attitude and orbit control subsystem, as a more difficult part of the satellite system, faces a large number of situations. It is crucial to ensure the real-time nature of the subsystem test data and the effectiveness of the test verification.
[0003] During the development process, semi-physical simulation is a necessary test project in the development process of the attitude and orbit control subsystem. Compared with mathematical simulation, semi-physical simulation can truly reflect the actual operating status of the satellite attitude and orbit control system, with higher fidelity and confidence. In the past few years, some researchers have developed related platforms to complete simulation tests of satellite control subsystems, but when faced with tens of thousands of telemetry data transmission and monitoring, the traditional processing method of parsing data streams in sequence is inefficient and will cause problems such as data processing delays.
[0004] In addition, the traditional simulation platform software data protocol parsing is defined in the underlying implementation of the platform software. The parsing and display of data models in different satellite models are customized according to demand, with poor scalability and maintainability. At the same time, the platform development and testing cycle is long, which increases the development cycle and cost of the entire subsystem and also brings challenges to the reliability of the test. Summary of the invention
[0005] The technical problem solved by the present invention is: to overcome the shortcomings of the prior art, to provide a satellite attitude and orbit control semi-physical simulation system and method suitable for tens of thousands of data, to improve the efficiency of real-time data transmission monitoring when large amounts of data are transmitted, to meet the requirements of rapid construction of data models and configuration display of test results, and at the same time to quickly build a semi-physical test environment in scenarios with complex and changeable test requirements.
[0006] The technical solution of the present invention is: a semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data, comprising:
[0007] The data interface layer, as an adaptation layer between the hardware interface and the platform system, is used to collect data from tens of thousands of channels;
[0008] The data transfer DH layer splits and forwards the data received by the data interface layer according to the definition of each data model in the analog component data model layer, and is used for the splitting and transfer of tens of thousands of channel data;
[0009] The simulation component data model layer is used to build the data model of each simulated stand-alone component of the semi-physical simulation, and parse the received data to obtain a structured model data structure, and distribute it to the business logic engine layer through the test message bus;
[0010] The business logic engine layer is used to receive the structured data sent by the simulation component data model layer and control the simulation data interpretation and data storage according to the platform test script;
[0011] The UI configuration control display layer is used to implement a customized UI monitoring display interface by dragging and dropping configuration controls.
[0012] Furthermore, the data interface layer includes several hardware acquisition modules for data acquisition, and uses a Prism dependency injection modular framework to build a general software architecture, and designs data acquisition modules according to the interface type of the data interface layer.
[0013] Furthermore, the data acquisition module includes a NI-Can acquisition and control module, a UDP acquisition and control module, a LVDS acquisition and control module, and a NI-DAQ multi-function acquisition module.
[0014] Furthermore, the data transfer DH layer splits the large data volume model accessed by the data interface layer into small data streams and redistributes them according to the configuration table format based on the data model definition of the analog component data model layer and cooperates with the structured parsing protocol configuration table.
[0015] Furthermore, the simulation component data model layer includes simulation component data models designed according to the characteristics of each simulation component. There is no coupling between the data models. A protocol configuration file is formed according to the definition of the data model. When the test application scenario changes, each simulation component data scenario is constructed by combining the configuration files of each standard model.
[0016] Furthermore, the business logic engine layer uses the WCF distributed application framework to develop various business logics according to the scenario of distributed applications, data requests and responses are encapsulated in various messages, and various engine services are provided through service technology.
[0017] Furthermore, the UI configuration control display layer is used for image display, text display, curve display, and table display, so as to separate the visual interface elements and the displayed data, bind the data, and dynamically form a user-defined data acquisition and monitoring interface.
[0018] According to the semi-physical simulation method implemented by the satellite attitude and orbit control semi-physical simulation system applicable to tens of thousands of data, the method comprises:
[0019] When the simulation platform software is started, each hardware acquisition module of the data interface layer acquires big data;
[0020] Big data is split into small data streams and forwarded through the data transfer DH layer according to the data model structure of each simulation component;
[0021] The simulation component data model layer transfers the data accessed by the DH layer, and according to the data parsing model configuration table, adaptively nests and parses to obtain a structured model data structure, and distributes it through the test message bus;
[0022] Provide various services for the data distributed by the test message bus through the business logic engine layer, including data storage, interpretation, and combined control of various test instructions; obtain the structured model data on the test message bus, and customize the real-time display interface in the UI configuration control display layer;
[0023] After the simulation platform software finishes running, each test condition is stored locally and persistently.
[0024] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of a semi-physical simulation method for satellite attitude and orbit control applicable to tens of thousands of data.
[0025] A semi-physical simulation device for satellite attitude and orbit control applicable to tens of thousands of data, comprising a data acquisition interface, a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the semi-physical simulation method for satellite attitude and orbit control applicable to tens of thousands of data are implemented.
[0026] The advantages of the present invention compared with the prior art are:
[0027] (1) The present invention adopts a hierarchical and model-based design concept. The hierarchical division is concise and clear. There is no coupling or perception between the models, data, and interfaces. They interact through a standardized bus. The platform software design is flexible and can be quickly built in complex and changeable test scenarios. It is suitable for semi-physical simulation testing of satellite attitude and orbit control subsystems.
[0028] (2) The present invention independently constructs a rich data interface hardware module library, which can realize modular development of data acquisition, free combination of various hardware plug-in modules and other key technologies of semi-physical simulation test platform, and can be efficiently built under different test environments.
[0029] (3) The present invention designs and defines the data model of the simulation component. According to the model definition, the large data stream of tens of thousands of orders of magnitude is split into small data streams and forwarded, which reduces the requirements of the platform software on the data stream throughput. At the same time, through the configurable model and importable configuration functions, the rapid migration and reuse of test scenarios are realized, and the flexibility of platform software construction is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0031] Figure 1 This is a schematic diagram of the semi-physical simulation structure of the satellite attitude and orbit control subsystem;
[0032] Figure 2 This is the five-layer architecture diagram of the semi-physical simulation platform software;
[0033] Figure 3 Design UML class diagrams for modularization of interface software;
[0034] Figure 4 Process flow chart for data modeling;
[0035] Figure 5 Design class diagram for UI interaction layer configuration controls. DETAILED DESCRIPTION
[0036] In order to better understand the above technical scheme, the technical scheme of the present invention is described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific features in the embodiments are detailed descriptions of the technical scheme of the present invention, rather than limitations on the technical scheme of the present invention. In the absence of conflict, the embodiments of the present invention and the technical features in the embodiments can be combined with each other.
[0037] The following is a further detailed description of a satellite attitude and orbit control semi-physical simulation system and method suitable for tens of thousands of data provided by an embodiment of the present invention in conjunction with the accompanying drawings of the specification. The specific implementation method may include: a data interface layer, a data transfer DH layer, a simulation component data model layer, a business logic engine layer, and a UI configuration control display layer, wherein:
[0038] The data interface layer, as an adaptation layer between the hardware interface and the platform system, is used to collect tens of thousands of channel data of the simulation platform;
[0039] The data transfer DH layer splits and forwards the big data received by the interface layer according to the definition of each simulator data model, and is used for splitting and transferring large amounts of data;
[0040] The simulation component data model layer is used to construct data models of various simulated stand-alone components of semi-physical simulation;
[0041] The business logic engine layer is used for platform test script control, simulation data interpretation and data storage services;
[0042] The UI configuration control display layer is used to implement a customized UI monitoring display interface by dragging and dropping configuration controls.
[0043] Preferably, the data interface layer uses data interface software to be responsible for data acquisition. The software architecture uses the Prism dependency injection modular framework to build a general software architecture. The data acquisition module is designed according to the hardware interface type. The modules are decoupled from each other and have no data dependency. The present invention constructs its own data interface module library, including NI-Can acquisition and control module, UDP acquisition and control module, LVDS acquisition and control module, and NI-DAQ multi-function acquisition module, which can be quickly reused when building various semi-physical simulation environments.
[0044] Preferably, the data transfer DH layer is based on the data model definition of the analog component model layer, and cooperates with the structured parsing protocol configuration table to split the large data volume model accessed by the data interface layer into small data streams according to the configuration table format and redistribute them, thereby reducing the platform software's requirements for throughput when transmitting large data.
[0045] Preferably, the simulation component data model layer designs the simulation component data model according to the characteristics of each simulation component. The definition of the data model complies with the principles of standardization and maximization. There is no coupling between the data models. A protocol configuration file is formed according to the definition of the data model. When the test application scenario changes, the configuration files of each standard model can be used to quickly combine and build each simulation component data scenario.
[0046] Preferably, the business logic layer uses the WCF distributed application framework to develop various business logics according to the distributed application scenario, data requests and responses are encapsulated in various messages, and various engine services are provided through service technology.
[0047] Preferably, the UI configuration control display layer design includes at least one of an image display control, a text display control, a curve display control, and a table display control. The design of the UI layer separates the visual interface elements and the displayed data, arranges the controls by dragging and dropping, and binds the data, thereby dynamically forming a user-defined data acquisition monitoring interface.
[0048] In the solution provided in the embodiment of the present invention, Figure 1As shown, a semi-physical simulation system of a satellite attitude and orbit control subsystem is composed of a main control computer, a test data management and display computer, a target characteristic simulation computer, a data transmission bus, and various types of target simulators. During the closed-loop test process, the various components of the satellite control system simulate various operating states of the satellite on orbit with the cooperation of the simulation computer, during which a large amount of data signal analysis and calculation need to be collected uninterruptedly. The present invention is responsible for the control of the test process, the reception, display and analysis of big data in the entire system, and is the hub of the semi-physical simulation of the entire system.
[0049] Figure 2 The five-layer architecture of the semi-physical simulation platform software of the satellite attitude and orbit control subsystem applied to tens of thousands of data is shown, in which the data interface layer is responsible for the collection of various data. The present invention designs data interface software to realize plug-and-play of various data interfaces. The data interface software is developed in C# programming language, and the Prism open source framework based on WPF is applied. The modular software architecture is designed by using the dependency injection container and event aggregator mechanism of the framework. Figure 3 The UML class diagram design of the interface software design is given. Each interface plug-in module implements the IModule interface and the IWorkRegionItem interface. In modular development, by implementing the interface and declaring and loading these modules in the startup class, Prism can automatically manage the initialization and integration of the modules. The UDP acquisition control module and the LVDS interface module in the example both implement the interface. The IWorkRegionItem interface is an abstraction of the acquisition business logic layer, and the business function of data acquisition is completed by implementing the interface. The upper-level program startup class QuickStartBootstrapper is the startup class of the program, which completes the declaration and configuration of each container and registers the dependencies between each module. Based on the Prism framework, the present invention realizes a modular software architecture and multiple hardware acquisition interfaces. Each acquisition interface is an independent module that does not depend on each other. It is loaded and unloaded according to the application scenario, meeting the requirements of plug-and-play and rapid reuse.
[0050] The simulators used in the embodiment include target simulator 1, target simulator 2, target simulator 3, target simulator 4, data transmission subsystem simulator, integrated electronic subsystem simulator, attitude and orbit control subsystem simulator, and power analysis system simulator. Each simulator is of many types, distributed and deployed, with a large amount of data. The data network can have a maximum throughput of 40,000 channels. In response to large data volume scenarios, the present invention designs a data transfer DH (Data Hub) layer, which splits and forwards the data according to the data model structure of the simulation components, and converts the sequentially processed large data stream into parallel small data streams for transmission.
[0051] The simulation component data model layer designs the model protocol configuration table of each simulation component. The definition of the data model is based on the structured data definition, and the data parameters are maximized. In this way, when the actual data protocol changes, the data model will not change accordingly. The parsing process of the data model complies with Figure 3 , Figure 4 The analysis process first reads in the parameter configuration table of each model, then models the configuration table into each analysis model, performs nested analysis according to the analysis model, and finally obtains the result data of each model. The big data obtained by the interface is split into small data of each model. At the same time, the platform software provides a model protocol configuration tool. The model decoding protocol supports conventional decoding function, conditional decoding function, formula decoding function, dictionary decoding function, bit decoding function, and python script decoding function. The configuration model table can be imported and exported to facilitate the transplantation and configuration of various application scenarios.
[0052] The software platform provides a DDS-based data bus message publishing and subscription mechanism, supports data distribution and instruction delivery, and the data model is distributed to the business logic layer through the bus. The business logic engine layer includes the data interpretation engine, data storage engine, etc. Considering the characteristics of distributed applications of the semi-physical simulation platform, the design of this layer adopts the WCF framework to develop various service applications, adopts SOAP as the message format, and describes and defines the service contract in detail. The top UI interaction layer is designed with draggable configuration controls, and each configuration control can be displayed in the combined interface by dragging.
[0053] The design class diagram of the configuration control is as follows Figure 5As shown, the configuration controls designed by the platform are all custom controls, which can be combined and arranged with different control sub-elements to present a custom UI interface. Taking the platform custom designed DiagramControl control as an example, this custom control class inherits from the Control base class, which contains the DiagramPanel custom class and the VirtualCanvas custom canvas class. DiagramPanel is a derived class of the base class FrameworkElement. Its function is to complete the presentation of multi-level views in the configuration control, including the selection box view, the interface element Adonor view, and the most important UI view. The class that completes the UI view presentation is the VirtualCanvas class, which is also a derived class of the base class FrameworkElement. It is a container for interface elements and can contain a variety of UI interface elements. It also realizes the separation of data and UI, can flexibly replace the presentation of interface views, and realizes the association between Data and Template, that is, the association between the data model and the control appearance. The core methods Measure and Arrange methods complete the arrangement of sub-elements from top to bottom in a recursive manner. Three control management service classes are defined in this example: LayoutService, SelectionManager, and UndoManager. LayoutService is a service that implements the scaling and movement of the interface layout and manages the layout operation of the control; SelectionManager is used to manage the selected elements and add the rendering effect of Adorner decoration to the selected elements; UndoManager is a stack management class that is used to store and manage the withdrawal and cancellation operations, and can implement the undo operation of the custom control. The custom-designed configuration controls of the present invention include image display controls, centroid scatter plot display controls, text display controls, chart display controls, and waveform display controls.
[0054] The present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are executed on a computer, the computer executes Figure 1 The method described.
[0055] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0056] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0057] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0058] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0059] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
[0060] The contents not described in detail in the specification of the present invention belong to the common knowledge of those skilled in the art.
Claims
1. A semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data, characterized in that: include: The data interface layer, as an adaptation layer between the hardware interface and the platform system, is used to collect data from tens of thousands of channels; The data transfer DH layer splits and forwards the data received by the data interface layer according to the definition of each data model in the analog component data model layer, and is used for the splitting and transfer of tens of thousands of channel data; The simulation component data model layer is used to build the data model of each simulated stand-alone component of the semi-physical simulation, and parse the received data to obtain a structured model data structure, and distribute it to the business logic engine layer through the test message bus; The business logic engine layer is used to receive the structured data sent by the simulation component data model layer and control the simulation data interpretation and data storage according to the platform test script; The UI configuration control display layer is used to implement a customized UI monitoring display interface by dragging and dropping configuration controls.
2. According to claim 1, a semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data, characterized in that: The data interface layer includes several hardware acquisition modules for data acquisition, and uses the Prism dependency injection modular framework to build a general software architecture, and designs the data acquisition module according to the interface type of the data interface layer.
3. The semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 2, characterized in that: The data acquisition module includes NI-Can acquisition and control module, UDP acquisition and control module, LVDS acquisition and control module, and NI-DAQ multi-function acquisition module.
4. The semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 1, characterized in that: The data transfer DH layer is based on the data model definition of the analog component data model layer, and cooperates with the structured parsing protocol configuration table to split the large data volume model accessed by the data interface layer into small data streams according to the configuration table format and then distributes them.
5. The semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 1, characterized in that: The simulation component data model layer includes simulation component data models designed according to the characteristics of each simulation component. There is no coupling between the data models. A protocol configuration file is formed according to the definition of the data model. When the test application scenario changes, each simulation component data scenario is constructed by combining the configuration files of each standard model.
6. The semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 1, characterized in that: The business logic engine layer uses the WCF distributed application framework to develop various business logics according to the distributed application scenario. The data request and response are encapsulated in each message, and various engine services are provided through service technology.
7. The semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 1, characterized in that: The UI configuration control display layer is used for image display, text display, curve display, and table display, to separate the visual interface elements from the displayed data, and to bind the data to dynamically form a user-defined data acquisition and monitoring interface.
8. The semi-physical simulation method implemented by a semi-physical simulation system for satellite attitude and orbit control applicable to tens of thousands of data according to claim 1, characterized in that: include: When the simulation platform software is started, each hardware acquisition module of the data interface layer acquires big data; Big data is split into small data streams and forwarded through the data transfer DH layer according to the data model structure of each simulation component; The simulation component data model layer transfers the data accessed by the DH layer, and according to the data parsing model configuration table, adaptively nests and parses to obtain a structured model data structure, and distributes it through the test message bus; Provide various services for the data distributed by the test message bus through the business logic engine layer, including data storage, interpretation, and combined control of various test instructions; obtain the structured model data on the test message bus, and customize the real-time display interface in the UI configuration control display layer; After the simulation platform software finishes running, each test condition is stored locally and persistently.
9. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method as claimed in claim 8 are implemented.
10. A semi-physical simulation device for satellite attitude and orbit control applicable to tens of thousands of data, comprising a data acquisition interface, 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 computer program, the steps of the method as claimed in claim 8 are implemented.
Citation Information
Cited By
Multi-level simulation system, simulation method and related device
CN120105657A
