Spacecraft 1553B bus simulation test platform
By designing a functionally modular 1553B bus simulation test platform, the code and configuration reconfigurability is achieved, and the existing test platform lacks universality and scalability is solved, and the testing efficiency and reliability are improved.
Patent Information
- Application Number
- CN202411684649.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-22
- Publication Date
- 2025-03-18
AI Technical Summary
The existing 1553B bus test platform lacks versatility and scalability, cannot meet the testing requirements of complex bus protocols, and has low testing efficiency.
A spacecraft 1553B bus simulation test platform was designed, adopting the design ideas of functional modular design and software configuration items, including application layer, communication layer and data interface, to realize code reconfigurable and configuration reconfigurable, and to support stand-alone testing and system testing of multiple satellite models.
It realizes the rapid reconfigurable of the test platform, with the characteristics of strong reliability, high programming efficiency, fast reconstruction speed, and on-site reconfigurable, which can meet the testing needs of complex bus protocols and improve the testing efficiency.
Smart Images

Figure CN119644791A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of satellite test platforms, and in particular to a spacecraft 1553B bus simulation test platform. Background Art
[0002] The 1553B bus is a centralized digital time-division command / response multi-channel serial data bus standard with high data transmission rate, reliable transmission mechanism and high bus efficiency. It has the advantages of simple interconnection, high reliability, strong flexibility and high speed. Based on its bus-type topology, the 1553B bus interface is widely used in my country's satellite and spacecraft models to carry out data transmission between the authorized machine of each subsystem integrated management unit and each single machine. Therefore, when conducting ground testing of spacecraft, the maximum envelope of the 1553B bus business logic and data processing test should be achieved. That is, the uplink and downlink of remote control telemetry data, the monitoring and forwarding of messages on the 1553B bus, and the simulation of the bus terminal. According to the analysis of the existing model test tasks, the test equipment composition, test requirements, simulation functions, communication protocols, and parsing formats of different model tasks are different.
[0003] The traditional 1553B test platform, although it simulates the 1553B bus message, mainly focuses on the test of the correctness of the RT (remote terminal) terminal interface or the test of the compliance of a specific protocol, and is not universal and scalable. Although it has a universal design, the software function is single and can only achieve a single analysis of the bus message. The test results are obscure and difficult to understand. It does not have human-computer interaction and the test efficiency is low, so it cannot meet the requirements of complex bus protocol testing.
[0004] In order to improve the rapid reconfigurability of the 1553B bus test system when the topology or communication protocol of the system under test changes, a rapid and reconfigurable 1553B bus test platform based on a universal 1553B bus simulation card is urgently needed. Summary of the invention
[0005] In order to solve the technical problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a spacecraft 1553B bus simulation test platform, which can realize the rapid reconfiguration of the test platform in terms of code reconfiguration and configuration reconfiguration, and has the characteristics of strong reliability, high programming efficiency, fast reconstruction speed, and on-site reconfiguration.
[0006] To achieve the above-mentioned purpose of the invention, the present invention provides a spacecraft 1553B bus simulation test platform, which is suitable for single-machine test and system test of 1553B bus interface of satellite model, and the bus simulation test platform includes an application layer, a communication layer and a data interface connecting the application layer and the communication layer;
[0007] The application layer includes a main control module, a database module, and a user interaction module;
[0008] The communication layer includes a non-periodic data communication module and a periodic data communication module;
[0009] The main control module is used for the hardware interface of the bus simulation test platform and external information flow interaction, including sending and receiving data, data storage management, data query and log management;
[0010] The database module is used to store data received, sent, before data processing, and after data processing during the entire test process;
[0011] The user interaction module is used to present data and data analysis and processing results, and is also used to receive and respond to user message sending instructions and data query operations.
[0012] According to a technical solution of the present invention, when the number of bus terminals of the system under test changes, since the business layer and the communication layer are independent of each other, in the code of the business layer, new bus terminals are added by inheriting the current bus terminal class and loading the relevant agent program. At the same time, a new data interface class is derived on the data interface and an instance object is created, so that the newly added terminals in the business layer use the underlying services provided by the communication layer.
[0013] According to a technical solution of the present invention, when the data type of the bus protocol changes, the service program in the communication layer is changed or added, and a new data interface class is derived on the data interface to add corresponding data management functions. The business layer program only adds a service agent program for managing the new data in the data interface and loads it to the relevant bus terminal class to complete the operation of the new protocol data.
[0014] According to a technical solution of the present invention, the database form of the business layer design configuration file of the bus simulation test platform includes the protocol type, message length, data format, forwarding data type, and master control data packet type.
[0015] According to a technical solution of the present invention, the database module is configured in an external manner, and a configuration file stored in the database module is modified to achieve rapid reconstruction when the topology of the bus system to be tested does not change but the data type of the bus protocol changes;
[0016] The configuration files include: a communication layer bus message configuration file and a service layer parameter configuration file.
[0017] According to a technical solution of the present invention, the bus message configuration file describes the spacecraft 1553B bus message protocol with bus message as the basic unit. When the bus simulation test platform is started and initialized, the bus message description file is parsed; when the bus simulation test platform is running, the bus message is sent or received according to the bus message execution list.
[0018] According to a technical solution of the present invention, the bus message configuration file describes the spacecraft 1553B bus message protocol with bus message as the basic unit. When the bus simulation test platform is started and initialized, the bus message description file is parsed; when the bus simulation test platform is running, the bus message is sent or received according to the bus message execution list.
[0019] According to a technical solution of the present invention, the database module includes a real-time storage submodule and a data backup submodule;
[0020] The data of the main control module or the user interaction module is transmitted to the real-time storage submodule in real time through the message middleware to achieve transmission without delay;
[0021] The data backup submodule stores all received data locally for data backup. When data query is needed, the user sets query options through the user interaction module, uses SQL query statements to query and output through the message middleware to achieve data backup.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] The present invention discloses a spacecraft 1553B bus simulation test platform, which is suitable for single-machine test and system test of 1553B bus interface of satellite models. It adopts the design ideas of functional modular design and software configuration items, and the application layer is divided into main control module, database module and user interaction module for implementation. It can participate in single-machine test of multiple satellite models and can fully cover the satellite communication test requirements based on 1553B bus.
[0024] The present invention is applicable to ground tests of multiple satellite models at the same time, thus saving research and development costs, bringing great convenience to satellite ground tests, and thus effectively ensuring the development progress of satellite models.
[0025] The present invention adopts an external database configuration file, and the hierarchical design architecture separates the bottom-level bus message communication and the business-level bus communication protocol simulation of the bus, thereby realizing that the bottom-level test system is independent of the specific protocol definition of the 1553B bus message and the RT terminal parameters, and ensuring the universal characteristics of the business-level bus communication protocol.
[0026] The test platform of the present invention adopts an open architecture that can be flexibly expanded, tailored and reconstructed. Users can realize the test requirements of corresponding tasks by loading test configuration items of different tasks, and can be applied to single-machine tests and system tests of multiple satellite models at the same time. At the same time, it supports users to quickly configure test resources, supports message flow disassembly and framing methods of multiple protocols, supports parsing and forwarding of multiple data formats, and supports flexible and rapid deployment of test platforms, which greatly saves the development cycle of 1553B bus test equipment and provides strong guarantee for the development of satellite models.
[0027] The present invention can realize the rapid reconfiguration of the test platform in terms of code reconfiguration and configuration reconfiguration, and has the characteristics of strong reliability, high programming efficiency, fast reconstruction speed, and field reconfiguration. The code reconstruction rate of its application example is less than 1‰, and good results have been achieved in the 1553B bus subsystem tests of multiple spacecraft. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0029] Figure 1 The business layer interaction logic of the spacecraft 1553B bus simulation test platform provided by the embodiment of the present invention is schematically shown;
[0030] Figure 2 The application layer interaction logic of the spacecraft 1553B bus simulation test platform provided by an embodiment of the present invention is schematically shown. DETAILED DESCRIPTION
[0031] The description of the embodiments of this specification should be combined with the corresponding drawings, which should be considered as part of the complete specification. In the drawings, the shape or thickness of the embodiments may be enlarged and indicated for simplification or convenience. Furthermore, the parts of each structure in the drawings will be described separately. It is worth noting that the elements not shown in the drawings or not described in words are in a form known to ordinary technicians in the relevant technical field.
[0032] The description of the embodiments herein and any reference to directions and orientations are only for the convenience of description and are not to be construed as any limitation on the scope of protection of the present invention. The following description of the preferred embodiments may involve combinations of features, which may exist independently or in combination, and the present invention is not particularly limited to the preferred embodiments. The scope of the present invention is defined by the claims.
[0033] like Figure 1 and Figure 2 As shown, a spacecraft 1553B bus simulation test platform of the present invention can complete the analysis and simulation of the spacecraft bus communication protocol, and is suitable for single-machine test and system test of the 1553B bus interface of the satellite model. The bus simulation test platform includes an application layer, a communication layer, and a data interface connecting the application layer and the communication layer;
[0034] The communication layer includes a non-periodic data communication module and a periodic data communication module.
[0035] The data interface is used to realize data exchange between the application layer and the communication layer. In order to achieve the purpose of fast reconfiguration, the data interface is required to be scalable. The bus data required by the terminal and its sub-addresses are managed in memory, and the interface of write and read functions is provided. Since the business layer and the communication layer adopt a multi-threaded design, a mutex is designed in the interface class to represent the access rights of different threads to the terminal's receiving and sending bus data, so as to realize the normal data transmission between different threads and avoid the simultaneous access of programs in different threads to the same data resource.
[0036] Among them, multiple common modules are configured in the application layer, which uses the WCF design language to separate from the back end. A modular design concept is used to encapsulate the functions of sending and collecting 1553B bus messages, analyzing and processing, real-time query, display, and device self-test, and store them in the form of class libraries, which provides isolation and facilitates developers to expand interfaces.
[0037] Specifically, Figure 2 As shown, the application layer at least includes a main control module, a database module, and a user interaction module;
[0038] The main control module is the core of the application layer and is used for the hardware interface of the bus simulation test platform and external information flow interaction, including sending and receiving data, data storage management, data query and log management;
[0039] The data receiving and sending function of the main control module refers to the data communication processing process, which is realized through multi-threading; the data storage management function refers to the cache storage during data processing, which is different from the local data storage of the server; the data query function refers to the internal query of data from the receiving thread to the parsing thread; the log management function refers to the real-time log storage of information such as data reception and transmission.
[0040] The database module is used to store data received, sent, before data processing, and after data processing during the entire test process; the database module includes a real-time storage submodule and a data backup submodule;
[0041] The data of the main control module or the user interaction module is transmitted to the real-time storage submodule in real time through the message middleware to achieve zero-delay transmission;
[0042] The data backup submodule stores all received data locally for data backup. When data query is needed, the user sets query options through the user interaction module, uses SQL query statements to query and output through the message middleware to achieve data backup.
[0043] The user interaction module is used to present data and data analysis and processing results, and is also used to receive and respond to user message sending instructions and data query operations.
[0044] The user interaction module can realize the selection of test functions through the encapsulation of functional modules, and the interface selects the test requirement function of the current model. The user interaction module adopts a module selection design that can be checked. When the software runs, the functional module is checked first and the UI interface is customized. The comprehensive coverage of the functional module can upgrade the software functional interface as the test requirements change, thereby ensuring that the software platform is compatible with the test function and the upgrade of the hardware board.
[0045] like Figure 1 As shown, in some embodiments of the present invention, the database form of the business layer design configuration file of the bus simulation test platform includes the protocol type, message length, data format, forwarding data type, and master control data packet type.
[0046] Before the test project is established, the initial values of relevant parameters are set through the software configuration items, the interface layout is completed, and the message list is established, etc., which are preparatory work before communication. The parameters of the software configuration items are saved in the database configuration file, which is automatically loaded each time the software is run. The configuration can be modified and saved in the configuration interface. After the software reads the configuration file, the data and control information exchange between the business layer and the communication layer is realized through the data interface, and the management and maintenance of the data area are completed. The use of configuration files can quickly realize function expansion, accurately and effectively perform version rollback, and can read historical configuration parameters and correct them to the previous version without modifying the underlying test system.
[0047] A spacecraft 1553B bus simulation test platform of the present invention can realize rapid reconfiguration of the test platform in terms of code reconfiguration and configuration reconfiguration, and has the characteristics of strong reliability, high programming efficiency, fast reconfiguration speed, and field reconfiguration. The code reconstruction rate of its application example is less than 1‰, and good results have been achieved in the 1553B bus subsystem tests of multiple spacecraft.
[0048] 1. Code can be refactored
[0049] First, when the number of bus terminals of the system under test changes, since the business layer and the communication layer are independent of each other, in the code of the business layer, new bus terminals are added by inheriting the current bus terminal class and loading the relevant agent program. At the same time, a new data interface class is derived on the data interface and an instance object is created to enable the newly added terminals in the business layer to use the underlying services provided by the communication layer.
[0050] Secondly, in the software architecture of the spacecraft 1553B bus simulation test platform of the present application, the data type (i.e., sub-address) of each bus protocol is managed as a service type in the communication layer. When the data type of the bus protocol changes, the service program in the communication layer is changed or added, and a new data interface class is derived on the data interface to add corresponding data management functions. The business layer program only adds a service agent program for managing new data in the data interface and loads it to the relevant bus terminal class to complete the operation of the new protocol data.
[0051] 2.Configuration can be reconfigured
[0052] The present invention can realize fast reconfiguration when the topology of the bus system to be tested does not change but the data type of the bus protocol changes. The configuration reconfiguration only requires changing the configuration file outside the software without changing the software code, and has the characteristics of fast and flexible.
[0053] The database module is configured in an external manner, and a configuration file stored in the database module is modified to achieve rapid reconstruction when the topology of the bus system to be tested does not change but the data type of the bus protocol changes;
[0054] The configuration files include: a communication layer bus message configuration file and a service layer parameter configuration file.
[0055] The bus message configuration file describes the spacecraft 1553B bus message protocol using bus messages as basic units. When the bus simulation test platform is initialized, the bus message description file is parsed; when the bus simulation test platform is running, the bus message is sent or received according to the bus message execution list.
[0056] The bus message configuration file describes the spacecraft 1553B bus message protocol using bus messages as basic units. When the bus simulation test platform is initialized, the bus message description file is parsed; when the bus simulation test platform is running, the bus message is sent or received according to the bus message execution list.
[0057] The software uses an external database configuration file and a hierarchical design architecture to separate the underlying bus message communication and business layer bus communication protocol simulation, thereby achieving the bottom-level test system independent of the specific protocol definition of 1553B bus messages and RT terminal parameters, ensuring the universal characteristics of the business layer oriented bus communication protocol.
[0058] 3. Software Information Flow
[0059] For messages sent by the software to the bus, the user makes a sending request through the software interface (user interaction module) (such as clicking a bus command sending button). After receiving the user's sending request, the software RT terminal submits the interface's sending message information (such as the command code) to the agent program. The agent program converts the command into a command code based on the pre-read command configuration file and transmits it to the communication layer program through the data interface. The communication layer program then converts the command code into a bus message and sends it to the bus hardware system. For messages received from the bus, the communication layer program first converts the bus message into a data source code and transmits it to the RT terminal through the data interface. The RT terminal submits the data source code to the agent program, which parses the data source code through the agent program to form application layer data and feeds it back to the RT terminal. Finally, the RT terminal sends the application layer data to the software interface for display to the user.
[0060] The serial numbers of the above-mentioned steps involved in the method of the present invention do not mean the order of execution of the method. The execution order of each step should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the implementation mode of the present invention.
[0061] 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, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A spacecraft 1553B bus simulation test platform, characterized in that: Suitable for single-machine test and system test of 1553B bus interface of satellite model, the bus simulation test platform includes application layer, communication layer and data interface connecting the application layer and the communication layer; The application layer includes a main control module, a database module, and a user interaction module; The communication layer includes a non-periodic data communication module and a periodic data communication module; The main control module is used for the hardware interface of the bus simulation test platform and external information flow interaction, including sending and receiving data, data storage management, data query and log management; The database module is used to store data received, sent, before data processing, and after data processing during the entire test process; The user interaction module is used to present data and data analysis and processing results, and is also used to receive and respond to user message sending instructions and data query operations.
2. The spacecraft 1553B bus simulation test platform according to claim 1, characterized in that: When the number of bus terminals of the system under test changes, since the business layer and the communication layer are independent of each other, in the code of the business layer, new bus terminals are added by inheriting the current bus terminal class and loading the relevant agent program. At the same time, a new data interface class is derived on the data interface and an instance object is created, so that the newly added terminals in the business layer can use the underlying services provided by the communication layer.
3. The spacecraft 1553B bus simulation test platform according to claim 2, characterized in that: When the data type of the bus protocol changes, the service program in the communication layer is changed or added, and a new data interface class is derived on the data interface to add corresponding data management functions. The business layer program only adds a service agent program to manage the new data in the data interface and loads it to the relevant bus terminal class to complete the operation of the new protocol data.
4. The spacecraft 1553B bus simulation test platform according to claim 1, characterized in that: The database form of the business layer design configuration file of the bus simulation test platform includes protocol type, message length, data format, forwarding data type, and master control data packet type.
5. The spacecraft 1553B bus simulation test platform according to claim 4, characterized in that: The database module is configured in an external manner, and a configuration file stored in the database module is modified to achieve rapid reconstruction when the topology of the bus system to be tested does not change but the data type of the bus protocol changes; The configuration files include: a communication layer bus message configuration file and a service layer parameter configuration file.
6. The spacecraft 1553B bus simulation test platform according to claim 5, characterized in that: The bus message configuration file describes the spacecraft 1553B bus message protocol using bus messages as basic units, and the bus message description file is parsed when the bus simulation test platform is started and initialized; When the bus simulation test platform is running, bus messages are sent or received according to the bus message execution list.
7. The spacecraft 1553B bus simulation test platform according to claim 5, characterized in that: The bus message configuration file describes the spacecraft 1553B bus message protocol using bus messages as basic units, and the bus message description file is parsed when the bus simulation test platform is started and initialized; When the bus simulation test platform is running, bus messages are sent or received according to the bus message execution list.
8. The spacecraft 1553B bus simulation test platform according to claim 5, characterized in that: The database module includes a real-time storage submodule and a data backup submodule; The data of the main control module or the user interaction module is transmitted to the real-time storage submodule in real time through the message middleware to achieve transmission without delay; The data backup submodule stores all received data locally for data backup. When data query is needed, the user sets query options through the user interaction module, uses SQL query statements to query and output through the message middleware to achieve data backup.
Citation Information
Cited By
Airborne high-speed bus test system
CN120186066A
Spacecraft TTE data monitoring device
CN120812079A
Spacecraft tte data monitoring device
CN120812079B