CN113009845A - Simulation test system and method for satellite software - Google Patents

Simulation test system and method for satellite software Download PDF

Info

Publication number
CN113009845A
CN113009845A CN202110250488.3A CN202110250488A CN113009845A CN 113009845 A CN113009845 A CN 113009845A CN 202110250488 A CN202110250488 A CN 202110250488A CN 113009845 A CN113009845 A CN 113009845A
Authority
CN
China
Prior art keywords
subsystem
simulation
test
data
satellite
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110250488.3A
Other languages
Chinese (zh)
Other versions
CN113009845B (en
Inventor
石龙龙
贺芸
祁见忠
吴敏
涂珍贞
王正凯
李锐
习成献
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Engineering Center for Microsatellites
Innovation Academy for Microsatellites of CAS
Original Assignee
Shanghai Engineering Center for Microsatellites
Innovation Academy for Microsatellites of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Engineering Center for Microsatellites, Innovation Academy for Microsatellites of CAS filed Critical Shanghai Engineering Center for Microsatellites
Priority to CN202110250488.3A priority Critical patent/CN113009845B/en
Publication of CN113009845A publication Critical patent/CN113009845A/en
Application granted granted Critical
Publication of CN113009845B publication Critical patent/CN113009845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a simulation test system of satellite software, which is arranged in industrial control equipment and comprises: the hardware operation center subsystem is used for interacting with an on-satellite external hardware interface; the simulation subsystem is connected with the hardware operation center subsystem in a communication way and is used for simulating the single machine function; a test subsystem communicably connected to the hardware operation center subsystem for conducting I O interface hardware tests; and the satellite data processing subsystem is used for storing the output data on the satellite, and performing automatic error judgment, reason analysis and instruction test case analysis according to the output data on the satellite.

Description

Simulation test system and method for satellite software
Technical Field
The invention relates to the technical field of aerospace, in particular to a simulation test system and method for satellite software.
Background
The whole structure of the satellite is complex, the types and the quantity of the single machines are more, the development progress of the hardware single machine of the satellite is not matched with the development progress of the software, and a plurality of simulation single machines are often needed to carry out software development support. In addition, because the interface of the single machine is changed frequently, the change of the simulation model is complex, and the workload is large, at present, the simulation is mostly realized at the later development stage, so that the regression of the test is difficult to perform in the development process, and a large number of tests cannot be performed quickly. Meanwhile, the interface changes greatly, so that data display cannot keep up with the test requirement. However, the computer interface and function test lack testing and automatic checking environment, so that errors are difficult to find in advance, and hardware problems cannot be eliminated by adopting regression testing of the hardware interface.
At present, the test automation degree of satellite software is low, multiple tests are difficult to return, data analysis is difficult, and the influence of change fluctuation is large from the development and management perspective.
Disclosure of Invention
In order to solve some or all of the problems in the prior art, the present invention provides, on the one hand, a simulation test system for satellite software, which is installed in an industrial control device, and includes:
the hardware operation center subsystem is used for interacting with an on-satellite external hardware interface;
a simulation subsystem communicably connected to the hardware operation center subsystem for performing simulation of a stand-alone function;
a test subsystem communicatively coupled with the hardware operations center subsystem for I O interface hardware testing; and
the satellite data processing subsystem comprises:
a storage module communicably connected with the hardware operation center subsystem for storing on-board output data; and
and the data analysis module is connected with the storage module in a communication way and is used for carrying out automatic error judgment and reason analysis and instruction test case analysis according to the output data on the satellite.
Further, the hardware operation center subsystem communicates with the test subsystem and/or the onboard data processing subsystem through a network.
Further, the storage module comprises storage software and a database.
Furthermore, the simulation test system also comprises a management subsystem which is communicably connected with the hardware operation center subsystem, the simulation subsystem, the test subsystem and the satellite data processing subsystem through a network and is used for monitoring the working state of each subsystem in real time.
Further, the simulation test system further comprises a power supply management subsystem for managing power supply.
Furthermore, the simulation test system also comprises a display subsystem for displaying data and test results.
Further, the industrial control equipment comprises a plug-and-play IO board card, wherein the IO board card is one or more of the following board cards: the device comprises a digital-to-analog conversion board card, an RS422 serial port board card, an RS232 serial port board card, a synchronous serial port board card, a frequency input and output board card, a switching value input and output board card, a CAN bus board card and a 1553B bus board card.
The invention also provides a simulation test method of satellite software, which comprises the following steps:
configuring a logic simulation terminal through a simulation subsystem according to a stand-alone interface document to construct a plurality of simulation models, wherein the simulation models correspond to the stand-alone of the satellite one by one;
selecting a preset test case through a test subsystem according to a single-machine interface document, automatically forming test input, and performing simulation test to obtain simulation test output;
when any single machine arrives, the actual single machine is adopted to replace the corresponding simulation model, and the automatic regression test of the interface is carried out through the test subsystem, so as to obtain the output of the regression test; and
and analyzing results according to the simulation test output and the regression test output through a data analysis module, and realizing error condition judgment, recording and alarming.
The simulation test system and the simulation test method of the satellite software, which are provided by the invention, are used as a logic verification simulation platform, can simulate the black box logic, configuration input, state, output and the relationship among the black box logic, the configuration input, the state, the output and the relationship among the black box logic, and are a configurable general test scheme based on a network. The satellite project can quickly establish a simulation environment for software testing at an initial stage, logic verification in software development is carried out under the condition of no hardware, hardware is gradually replaced into a system after single hardware development is completed, and finally hardware joint debugging is realized; and the system can provide automatic test and regression test, reduce the test cost and increase the test times.
Drawings
To further clarify the above and other advantages and features of embodiments of the present invention, a more particular description of embodiments of the present invention will be rendered by reference to the appended drawings. It is appreciated that these drawings depict only typical embodiments of the invention and are therefore not to be considered limiting of its scope. In the drawings, the same or corresponding parts will be denoted by the same or similar reference numerals for clarity.
FIG. 1 is a schematic diagram illustrating an operating environment of a computer in a navigation satellite;
FIG. 2 is a schematic structural diagram of a simulation test system for satellite software according to an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating the data flow configuration of a simulation test system for satellite software according to an embodiment of the present invention;
FIG. 4 is a DDS protocol data distribution diagram of a simulation test system for satellite software according to an embodiment of the present invention; and
fig. 5 is a flowchart illustrating a simulation testing method for satellite software according to an embodiment of the present invention.
Detailed Description
In the following description, the present invention is described with reference to examples. One skilled in the relevant art will recognize, however, that the embodiments may be practiced without one or more of the specific details, or with other alternative and/or additional methods, materials, or components. In other instances, well-known structures, materials, or operations are not shown or described in detail to avoid obscuring aspects of the invention. Similarly, for purposes of explanation, specific numbers, materials and configurations are set forth in order to provide a thorough understanding of the embodiments of the invention. However, the invention is not limited to these specific details. Further, it should be understood that the embodiments shown in the figures are illustrative representations and are not necessarily drawn to scale.
Reference in the specification to "one embodiment" or "the embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase "in one embodiment" in various places in the specification are not necessarily all referring to the same embodiment.
It should be noted that the embodiment of the present invention describes the process steps in a specific order, however, this is only for the purpose of illustrating the specific embodiment, and does not limit the sequence of the steps. Rather, in various embodiments of the present invention, the order of the steps may be adjusted according to process adjustments.
In order to quickly establish a simulation environment of software testing at the initial stage of a satellite project, logic verification in software development is carried out under the condition of no hardware, hardware is gradually replaced into a system, and finally hardware joint debugging is realized. The invention provides a simulation test system and method of satellite software, which are based on a network and can be configured. The solution of the invention is further described below with reference to the accompanying drawings of embodiments.
Because the main requirement of software development is logic verification, the simulation test system provided by the invention is a logic verification simulation platform which is used for simulating the black box logic, configuring the relation among input, state, output and the like of a single computer, and in addition, the functions of data viewing and recording and data analysis can be realized. In the invention, the software interface control file I CD is an interface file specification and is used for defining different data interfaces, realizing visual editing and modifying interface data and facilitating the cognition of both parties, and the DDS is a network protocol standard based on data subscription and distribution and is used for building a distribution platform.
The computer is a core component of the whole satellite and is responsible for managing satellite transactions, and the computer needs to acquire input from peripheral equipment, and after calculation processing, the peripheral equipment executes processing results. Therefore, to establish a simulation test system of satellite software, the relationship between peripheral devices and a computer, including data flow relationship, interface relationship, function, operation mode, etc., needs to be cleared first. In the simulation test system, only signals influencing the operation of computer software are simulated, but signals such as ground test interfaces and the like are not simulated for power supply with little influence on the operation of the computer software. Fig. 1 shows a schematic diagram of an operating environment of a computer in a navigation satellite. As shown in fig. 1, the signals that have a large impact on the operation of the on-board computer software include: signals of sensing equipment such as a horizon sensor, a satellite sensitive period, a fine satellite sensor, a fiber-optic gyroscope, a coarse satellite sensor, a magnetic torquer and the like, and antenna load, downlink load, time-frequency load and uplink load data are mainly transmitted and received through a data processing terminal, a satellite-borne computer can output control signals of equipment such as a measurement and control system, an energy system, a sailboard, a propulsion valve and the like according to the corresponding load data and the sensing equipment data, and in addition, the satellite-borne computer is also communicated with a navigation task processor to realize satellite navigation task processing. Therefore, the interface of the navigation satellite computer needing simulation mainly comprises 28V OC instruction pulse input/output, 28V positive pulse input/output, 28V OC level input/output, 5V OC frequency measurement pulse input/output, 5V OC instruction pulse input/output, 5V OC level input/output, 5V OC synchronous input/output, temperature quantity output/output, 0-5V analog quantity input/output, 0-10V analog quantity input/output, micro-current input/output, asynchronous 422 transmission/reception, synchronous 422PCM transmission/reception, 0/15 double-level input/output, SADA input/output, TTL pulse instruction input/output, 1553B bus and the like.
Based on this, fig. 2 shows a schematic structural diagram of a simulation test system of satellite software according to an embodiment of the present invention. As shown in fig. 2, a simulation test system for satellite software is installed in an industrial control device, where the industrial control device may be one or more expandable industrial personal computers, and is connected to an I/O interface of a computer to be tested through a cable, and performs protocol conversion on data in I/O and network protocol data, and the industrial control device uses fixed IO boards of a selected type for expansion, and CAN select boards and numbers according to different requirements, such as a digital-to-analog conversion board, an RS422 serial board, an RS232 serial board, a synchronous serial board, a frequency input/output board, a switching value input/output board, a CAN bus board, a 1553B bus board, and the like. The computer to be tested uses gigabit Ethernet to operate WIN10 operation system, and the data server without interface can use stable LINUX system. The simulation test system comprises a hardware operation center subsystem 101, a simulation subsystem 102, a test subsystem 103 and an on-satellite data processing subsystem 104.
The hardware operation center subsystem 101 is used for interacting with an external hardware interface on the satellite, sending data to the outside through a network, and receiving data forwarding of the network. The hardware operation center subsystem 101 is channel software, which immediately forwards all the outputs of the computer to be tested to the network, and forwards the corresponding inputs of the network to the corresponding channels of the computer to be tested, wherein the channels are modularized and can be added, and different IP ports can be used for sending different channel data, so as to reduce the time for filtering data. The hardware operation center subsystem 101 can be used by other process software to send hardware parameter configuration from the network, and initialize hardware parameters, and its main functions include:
providing interface configuration, storing and reading hardware initialization parameters;
automatically identifying the IO hardware of the interface, automatically finding out the hardware problem and trying to automatically reinitialize the hardware;
checking and recording the current hardware state, and counting the data volume of the hardware state;
connecting computer hardware, collecting data, and displaying the data condition of all channels;
forwarding the channel data sent down on the satellite to other simulation and test programs through a network;
providing an interface for preprocessing channel data, and inserting a module at the later stage to realize partial preprocessing without changing a hardware operation center subsystem;
in the case of a data preprocessing layer, a data ICD definition may be provided to implement the function of ICD analysis from the bottom, and the bottom layer performs data deframing and framing;
the test and simulation program is transmitted to a required data channel of a computer through the uplink data of the network, so that the function of transmitting the data channel is realized;
setting acquisition periods of downlink AD and switching value; and
and counting the working states of the software such as data flow, connection condition and the like, sending the working states through a network, and processing the working states by a management subsystem.
The simulation subsystem 102 is communicably connected to the hardware operation center subsystem, and functions as a black box to simulate a single machine function, where the single machine is a peripheral device of a computer to be tested, and the simulation subsystem 102 includes a plurality of models, each model representing a device. The simulation test system is only used for testing the satellite computer software, only needs to perform logic simulation but not actual physical simulation, and generates proper output for IO instructions, so that the model is a black box responding to channel data and time, the hardware interaction is converted into network data interaction and distributed in a network, and the input of the computer hardware is obtained from the network in a simulated single machine mode to obtain the output. The main functions of the simulation subsystem 102 include:
storing and editing through an interface, reading one or more simulation configuration files, and simulating data, wherein the simulation configuration files comprise the configuration of a single ICD (interface control document), and can be modified on the interface;
the visual configuration simulation model is configured according to the input, the state, the output and the logic relation among the three;
defining the input and output of the ICD by using the ICD as a data base, automatically generating states based on the ICD, and adding other auxiliary internal states by a user;
the configuration relation of the simulation model is imported and exported in the form of an EXCEL table, so that operators can understand and modify the configuration relation conveniently, and a single-machine unit can check the configuration relation conveniently;
receiving computer data forwarded by the hardware operation center subsystem, changing the state of the hardware operation center subsystem according to the input, simultaneously generating output, and sending a response of the received data back to the hardware operation center subsystem through a network;
counting the data flow, the connection condition and other software working states, sending out the data through the network, and processing the data by the management subsystem;
calling a preset file as a channel output;
meanwhile, the simulation of a plurality of devices can be supported, or the distributed simulation of the plurality of devices can be carried out;
processing input-output relationships, including input-induced changes and time-induced changes;
the simulation single machine can acquire data from a file, and takes time as an input to realize the input of environmental change, such as a magnetic field table, a star map and the like; and
and for the simulation relation is too complex, the plug-in can be used for operation so as to meet the requirement of further simulation.
The test subsystem 103 is communicably connected to the hardware operation center subsystem 101, and is used for IO interface hardware testing and hardware self-testing of the simulation test system, so as to test the correctness of the stability of each IO channel of the on-board computer and the performance under pressure. It includes a test organization module 1031 and a test input module 1032. Wherein:
the test organization module 1031 is responsible for organizing and running IO interface hardware test items, communicates with the hardware operation center subsystem, forms test items that can be customized, for example, the flow of all hardware channels, the channel tests of hardware layers such as stability and pressure tests, and can summarize the test items by oneself, and its main functions include:
storing, reading and editing test cases through an interface, wherein the test cases are combined in a library form to realize the use of a plurality of test cases;
managing the test case files, including copying, editing, deleting, and file listing, and sequentially executing multiple test cases;
implementing the execution of a plurality of test cases to implement automatic testing and automatically analyzing the result;
generating a test case report by using an EXCEL mode or other modes, and conveniently forming a document comprising the test case list and a test result report;
defining test data, length, and checking return data;
automatically counting the test result, giving out information and generating a record report; and
counting the data flow, the connection condition and other software working states, sending out the data through the network, and processing the data by the management subsystem; and
the test input module 1032 is responsible for simulation of ascending ground instructions, sends instructions to a satellite computer as input during testing, organizes automatic instruction testing, and has no intersection with a data display part, wherein the instructions need to be completely configured, an instruction list is obtained by a configuration file, an instruction and a parameter input interface are generated, and a correct interface can be obtained by changing an ICD when the interface is changed, and the main functions of the test input module include:
based entirely on ICDs, ICDs imported and exported with the EXCEL table will become test input profiles;
modifying and storing the command ICD through the interface;
automatically generating an instruction parameter interface according to the ICD so as to realize automatic synchronization when the document is changed;
automatically increasing data in a format ICD;
the instruction execution is carried out in an instruction sequence mode, so that automatic testing and regression testing are facilitated;
managing a test case library through an interface, and managing and modifying test cases to form input of automatic test;
finding out a corresponding instruction in the automatic test sample library to modify the instruction format; and
and recording the instruction action to a database for the data analysis module to analyze the instruction result.
The satellite data processing subsystem 104 includes a storage module and a data analysis module 1043. Wherein:
the storage module is communicably connected to the hardware operation center subsystem 101, and is configured to acquire output data of all satellites, and store the output data according to configuration requirements, where the output data includes satellite telemetry data and temporary channel data. In order to avoid the influence of storage on calculation and display, in an embodiment of the present invention, the storage module is disposed in a separate network computer, and includes storage software 1041 and a database 1042, where the database 1042 may be a Sql server or another type of database, and the main functions of the storage module include:
storing satellite telemetering and ground measuring data or other channel data, and analyzing or not analyzing the data;
counting the telemetry condition, mainly the data loss condition;
outputting a data report, forming required data into a report output according to configuration, and generating the report according to the requirement;
a connection management subsystem reporting status;
after receiving data, a layer of logic can be configured to realize automatic de-framing, obtain a telemetry packet from a data stream and then process the telemetry packet based on an ICD according to configuration, and the layer can also be completed by using a plug-in module to match with an excessively complex interface; and
in operation, a new database is generated to store new data, and the discarding and processing of partial data are realized to match the test process, or the storage space is not enough and needs to be increased from the network; and
the data analysis module 1043 is communicably connected to the storage module, and is configured to analyze data in the database according to the configuration file, detect validity thereof, and use a customizable error condition to perform automatic determination, cause analysis, recording, and alarm of input and output errors, and further obtain an instruction record of test input software, so as to implement automatic testing, further implement instruction test case analysis, determine instruction execution results, and cross-border other parameters, and the like, and its main functions include:
analyzing data based on the data ICD, and calling, checking and editing the data ICD through an interface;
the analysis configuration file is managed through an interface, and the analysis model configuration is modified;
analyzing the test data and giving an alarm, and automatically analyzing the instruction record and the telemetering data through an analysis model to realize automatic test;
generating a test record, including instruction input, instruction output, alarm and reason analysis;
providing two analysis modes, namely a latest analysis mode and a gradual analysis mode, wherein the latest analysis mode is used for adapting to the real-time situation of data updating at the same time and avoiding the situation of insufficient analysis speed, and the latter analysis mode is used for processing records in a database; and
the analysis is configured through the interface, and the operation result can be tried.
In an embodiment of the present invention, the hardware operation center subsystem communicates with the test subsystem and/or the onboard data processing subsystem through a general network to implement data transceiving. The universal network connection is used, so that the network state records are unified, the physical layer is convenient to replace, and the development time is further reduced. In one embodiment of the invention, DDS data subscription and distribution structure is used to increase the record of data connection situation.
In another embodiment of the invention, each subsystem adopts a common log and configuration process to reduce development and facilitate configuration and understanding for users, and a log or configuration file which can be displayed in an EXCEL table mode is realized. At the same time, the logs can be recorded and played back, and each log is a collection of a plurality of content items and comprises time, priority and the like.
In order to perform state management of the simulation test system and check the operating conditions of all subsystems, in an embodiment of the present invention, the simulation test system further includes a management subsystem 105 communicably connected to the hardware operation center subsystem, the simulation subsystem, the test subsystem, and the satellite data processing subsystem via a network, displaying interactive data conditions, learning the operating conditions of all subsystems in a heartbeat manner, and monitoring the operating conditions of all subsystems in real time, and its main functions include:
checking the connection condition of the currently working subsystem;
as a server, receiving all connection requests, and receiving connection information and heartbeats of each subsystem sent periodically;
sending heartbeat outwards to give a reliability mark of connection to each subsystem;
recording network conditions and system working conditions without checking records through an interface;
a small amount of control is carried out on the single machine; and
and switching and controlling the system, realizing the management and the editing of all the configuration file libraries, and sending the configuration files through a network to form different systems.
For power management, in an embodiment of the present invention, the simulation test system further includes a power management subsystem 106 for managing power, and the main functions of the power management subsystem include:
looking at the current voltage current situation, which shows only the voltage current and simple analysis, and the connection situation with the power supply, in order to know if the data is new, a connection interruption will alarm and automatically reconnect;
setting automatic action for automatic protection, and performing power-off operation in abnormal time;
setting an initial state, and selecting to recover the initial state before power failure so as to power up all power-up equipment after power failure; and
and recording operation actions and states, wherein the recording adopts a triggering mode, the recording times are less when the change is gentle, the recording times are more when the change is severe, the recording times are more outside an effective range, and the cleaning records are checked and deleted through an interface.
In order to realize data display of the configured data channel, in an embodiment of the present invention, the simulation test system further includes a display subsystem 107, communicatively connected to the database, for acquiring and displaying all the satellite uplink and downlink data, and subscribing different channel data from the network or the database for real-time monitoring, and its main functions include:
subscribing different data through an interface, and monitoring different channel data;
the interface is quickly regenerated by the ICD, visually changed and stored as a display configuration file, professional operation is not needed, and the interface can be quickly adapted to change when the interface is changed;
connecting a database, and displaying satellite data, wherein the displayed data can be configured to display the latest data;
the continuity of the data and the continuity of the display can be checked and counted, the data discontinuity is increased when the time difference of each time of the data is larger than a certain range, and the display discontinuity is increased when the data exists between the latest data and the last display data each time;
rolling back by means of database data, and performing a single step;
the ICD-based simple search function is realized;
can be viewed by the interface for data continuity;
connection status management software reporting status; and
a certain data of the ICD separately requires a different display to observe at a later stage, e.g. to view its graph for a certain window.
Fig. 3 is a schematic diagram illustrating a data flow configuration of a simulation test system of satellite software according to an embodiment of the present invention. As shown in fig. 3, the data flow of the simulation test system mainly includes data interaction of a simulation data flow and a system control data flow based on a DDS protocol through ethernet, where the simulation data flow interacts with bus data flows such as 1553 and RS242 and discrete data flows such as a temperature amount, an analog amount, and a control amount; and the system control data stream includes status monitoring and test control data. Fig. 4 shows a DDS protocol data distribution diagram of a simulation test system of satellite software according to an embodiment of the invention. Specific data of the simulation test system flow into table 1.
Figure BDA0002965834890000111
Overall, the simulation test subsystem provided by the present invention includes the following functions and advantages:
in the initial stage of a satellite project, a plurality of simple logic simulation terminals are configured according to a stand-alone interface document, one model corresponds to one device so as to simulate different stands of a satellite and support the development of satellite software;
after a certain single machine interface document is changed, a user can simply modify and configure the logic simulation relation of the single machine so as to realize the logic simulation of the single machine and carry out the processing of input- > state- > output so as to adapt to the change quickly and avoid the delay of development;
when the single machine arrives, the actual single machine can be used for replacing a simulation model, and an actual system is gradually constructed;
when any single machine arrives, a test case is prepared according to the interface document, the automatic interface regression test can be carried out, when the butt joint has problems, the interface regression test is carried out, the hardware problem is eliminated, and the interface regression test is used as a comparison standard;
the simulation list can record the state change of the simulation list to a log, can provide an interface for viewing, can perform data rollback on data, is convenient for analyzing a test result and automatically checking the relation between the state and the telemetering amount, and the interface is automatically generated based on the simulation data definition;
automatically forming a display interface according to the input data interface document, and acquiring and displaying data from the database to realize the functions of playback and current display;
after the interface document is changed, the interface can be regenerated by the user simply from the interface document;
automatically forming test input according to the data interface document to meet the requirement of quickly constructing a front end for testing, wherein the test input can also manage and configure an automatic test sample base to output an automatic instruction test;
for the automatic test of single machines in different stages, a similar automatic test library is formed, and the use cases can be edited in an ICD instruction form, parameters are changed, and insertion, deletion, modification and copying are performed;
the influence of interface modification on an automatic test case library is automatically detected, and an ICD (interface control document) with a change is searched, so that the test case can be modified conveniently;
all inputs have database records which are used as analysis conditions and automatic test cases and can be listed and recorded, a report is formed according to requirements, and an available report is generated based on ICD required data to support the compiling of test records and analysis documents;
after the interface document is changed, the test input can be regenerated simply by the user from the interface document;
according to the configured condition relation, the checking of the instruction and the remote measurement is executed, and automatic checking and monitoring are finally formed, wherein the checking relation is gradually added by a user and is performed according to input- > state- > output, and finally, an alarm log record is formed;
recording the running state of the system in detail, wherein the running state comprises a channel data volume, a network connection time state and a database connection time state so as to eliminate the problems of the system;
when the computer to be tested arrives, the test case library formed according to the interface can be used for carrying out detailed interface test and regression test, and the hardware regression test can also be carried out during development so as to eliminate the hardware problem;
the network is used as a hardware platform, data are distributed in a distributed mode, and the data can be obtained from files;
each software unit can be dynamically accessed and hung out, and the configuration can be dynamically changed;
configuring a data format and a frame format in a hardware channel unit to realize the data stream deframing in a format configuration or plug-in mode without changing a system when the frame format is converted;
all hardware channel data can be stored in a database or a binary file with time factors, and can be used as source data of analysis and report forms and also can be used as simulation;
the ICD is used as a core for data management, the storage format is EXCEL, and the data is convenient to import and export, so that the effect of one-time data configuration is realized, the effect of automatically changing the interface document to the interface is realized, and the effect of the interface document is improved;
after the code is changed once, selecting a test case to form an automatic test case library, performing automatic regression test, observing automatic analysis records after the test is finished, wherein each error record can control test input and observation of rollback of the front end, and can generate reports of input, instructions and states and generate reports of all errors and warnings as error management items; and
the configuration exists in a library format to achieve fast handoff requirements for different systems.
Based on the simulation test system, fig. 5 is a schematic flow chart illustrating a simulation test method for satellite software according to an embodiment of the present invention. As shown in fig. 5, a simulation test method of satellite software includes the steps of:
first, at step 501, a simulation model is constructed. Configuring a logic simulation terminal through a simulation subsystem according to a stand-alone interface document to construct a plurality of simulation models, wherein the simulation models correspond to the stand-alone of the satellite one by one;
next, at step 502, a simulation test is performed. Selecting a preset test case through a test subsystem according to a single-machine interface document, automatically forming test input, and performing simulation test to obtain simulation test output;
next, in step 503, the stand-alone is gradually accessed and tested. When any single machine arrives, the actual single machine is adopted to replace the corresponding simulation model, and the automatic regression test of the interface is carried out through the test subsystem, so as to obtain the output of the regression test; and
finally, at step 504, the analysis is tested. And analyzing results according to the simulation test output and the regression test output through a data analysis module, and realizing error condition judgment, recording and alarming.
While various embodiments of the present invention have been described above, it should be understood that they have been presented by way of example only, and not limitation. It will be apparent to persons skilled in the relevant art that various combinations, modifications, and changes can be made thereto without departing from the spirit and scope of the invention. Thus, the breadth and scope of the present invention disclosed herein should not be limited by any of the above-described exemplary embodiments, but should be defined only in accordance with the following claims and their equivalents.

Claims (9)

1. A simulation test system of satellite software is characterized in that the simulation test system is installed in industrial control equipment and comprises:
a hardware operation center subsystem configured to be able to interact with an on-board external hardware interface;
a simulation subsystem communicatively coupled with the hardware operations center subsystem and configured to enable simulation of a stand-alone function;
a test subsystem communicatively coupled with the hardware operations center subsystem and configured to enable IO interface hardware testing; and
the satellite data processing subsystem comprises:
a storage module communicatively coupled with the hardware operations center subsystem and configured to store on-board output data; and
and the data analysis module is connected with the storage module in a communication way and is configured to be capable of automatically judging and analyzing reasons of errors and analyzing command test cases according to the output data on the star.
2. The simulation test system of claim 1, wherein the hardware operations center subsystem communicates with the test subsystem and/or the on-board data processing subsystem over a network.
3. The simulation test system of claim 1, wherein the storage module comprises storage software and a database, wherein the database is an SQL server and is disposed in a separate network computer.
4. The simulation test system of claim 1, further comprising a management subsystem communicatively coupled with the hardware operations center subsystem, the simulation subsystem, the test subsystem, and the on-board data processing subsystem over a network, the management subsystem configured to enable real-time monitoring of the operational status of each subsystem.
5. The simulation test system of claim 1, further comprising a power management subsystem configured to manage power.
6. The simulation test system of claim 1, further comprising a display subsystem configured to display data.
7. The simulation test system of claim 1, wherein the industrial control equipment comprises one or more industrial control machines and plug-and-play IO boards, wherein the IO boards are one or more of the following boards: the device comprises a digital-to-analog conversion board card, an RS422 serial port board card, an RS232 serial port board card, a synchronous serial port board card, a frequency input and output board card, a switching value input and output board card, a CAN bus board card and a 1553B bus board card.
8. The simulation test system of claim 1, wherein the log or configuration file is displayed in an EXCEL table using a general log and configuration process.
9. A simulation test method of satellite software is characterized by comprising the following steps:
configuring a logic simulation terminal through a simulation subsystem according to a stand-alone interface document to construct a plurality of simulation models, wherein the simulation models correspond to the stand-alone of the satellite one by one;
selecting a preset test case through a test subsystem according to a single-machine interface document, automatically forming test input, and performing simulation test to obtain simulation test output;
when any single machine arrives, the actual single machine is adopted to replace the corresponding simulation model, and the automatic regression test of the interface is carried out through the test subsystem, so as to obtain the output of the regression test; and
and analyzing results according to the simulation test output and the regression test output through a data analysis module, and realizing error condition judgment, recording and alarming.
CN202110250488.3A 2021-03-08 2021-03-08 Simulation test system and method for satellite software Active CN113009845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110250488.3A CN113009845B (en) 2021-03-08 2021-03-08 Simulation test system and method for satellite software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110250488.3A CN113009845B (en) 2021-03-08 2021-03-08 Simulation test system and method for satellite software

Publications (2)

Publication Number Publication Date
CN113009845A true CN113009845A (en) 2021-06-22
CN113009845B CN113009845B (en) 2021-11-23

Family

ID=76408273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110250488.3A Active CN113009845B (en) 2021-03-08 2021-03-08 Simulation test system and method for satellite software

Country Status (1)

Country Link
CN (1) CN113009845B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114123172A (en) * 2021-11-15 2022-03-01 国网江苏省电力有限公司电力科学研究院 Simulation test system and method applied to comprehensive energy system
CN115328085A (en) * 2022-08-08 2022-11-11 上海蓝箭鸿擎科技有限公司 Generalized satellite semi-physical automatic test system and test method
CN115913330A (en) * 2022-11-04 2023-04-04 中电防务科技有限公司 Automatic testing device for gateway station of satellite mobile communication system
CN116263595A (en) * 2022-11-16 2023-06-16 长光卫星技术股份有限公司 Universal automatic test platform for satellite single machine environment test and control method thereof
CN117453492A (en) * 2023-12-20 2024-01-26 北京中航科电测控技术股份有限公司 Universal test platform based on weapon equipment

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060100846A1 (en) * 2004-11-11 2006-05-11 Sang-Uk Lee Hybrid type satellite simulation system and method thereof
CN102523030A (en) * 2011-11-25 2012-06-27 中国空间技术研究院 Communication satellite effective load test system simulation platform
CN102999425A (en) * 2012-11-29 2013-03-27 上海航天测控通信研究所 Housekeeping software simulation test system based on technology of virtual instrument
CN103760898A (en) * 2014-02-12 2014-04-30 航天东方红卫星有限公司 Method for rapidly building mini-satellite control test systems
CN103777526A (en) * 2014-03-03 2014-05-07 上海科梁信息工程有限公司 Simulation testing system of integrated electronic system of satellite
CN106342297B (en) * 2012-12-31 2015-01-14 中国航天科技集团公司第五研究院第五一三研究所 A kind of satellite modeling method with stand-alone device modeling
CN104570717A (en) * 2013-10-25 2015-04-29 沈阳工业大学 Time keeping system based on GPS /Beidou satellite and finite-state machine
CN105911880A (en) * 2016-04-05 2016-08-31 上海航天测控通信研究所 Satellite attitude orbit control software digital closed-loop test system and method
CN107807541A (en) * 2017-11-06 2018-03-16 航天东方红卫星有限公司 A kind of integrated satellite dynamics emulation test system of modularization and method
CN108549598A (en) * 2018-03-09 2018-09-18 中国科学院空间应用工程与技术中心 A kind of method for testing software and system
US20180276331A1 (en) * 2017-03-24 2018-09-27 The Boeing Company Method and apparatus for testing rf performance of a satellite wiring harness and signal processing units
US20180314775A1 (en) * 2015-11-06 2018-11-01 Korea Aerospace Research Institute Simulation device of satellite, and method therefor
CN110502861A (en) * 2019-08-29 2019-11-26 中国科学院微小卫星创新研究院 Totally digitilized analogue system based on satellite information flow
CN112015639A (en) * 2020-07-31 2020-12-01 北京轩宇信息技术有限公司 Method and device for generating satellite-borne software test case

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060100846A1 (en) * 2004-11-11 2006-05-11 Sang-Uk Lee Hybrid type satellite simulation system and method thereof
CN102523030A (en) * 2011-11-25 2012-06-27 中国空间技术研究院 Communication satellite effective load test system simulation platform
CN102999425A (en) * 2012-11-29 2013-03-27 上海航天测控通信研究所 Housekeeping software simulation test system based on technology of virtual instrument
CN106342297B (en) * 2012-12-31 2015-01-14 中国航天科技集团公司第五研究院第五一三研究所 A kind of satellite modeling method with stand-alone device modeling
CN104570717A (en) * 2013-10-25 2015-04-29 沈阳工业大学 Time keeping system based on GPS /Beidou satellite and finite-state machine
CN103760898A (en) * 2014-02-12 2014-04-30 航天东方红卫星有限公司 Method for rapidly building mini-satellite control test systems
CN103777526A (en) * 2014-03-03 2014-05-07 上海科梁信息工程有限公司 Simulation testing system of integrated electronic system of satellite
US20180314775A1 (en) * 2015-11-06 2018-11-01 Korea Aerospace Research Institute Simulation device of satellite, and method therefor
CN105911880A (en) * 2016-04-05 2016-08-31 上海航天测控通信研究所 Satellite attitude orbit control software digital closed-loop test system and method
US20180276331A1 (en) * 2017-03-24 2018-09-27 The Boeing Company Method and apparatus for testing rf performance of a satellite wiring harness and signal processing units
CN107807541A (en) * 2017-11-06 2018-03-16 航天东方红卫星有限公司 A kind of integrated satellite dynamics emulation test system of modularization and method
CN108549598A (en) * 2018-03-09 2018-09-18 中国科学院空间应用工程与技术中心 A kind of method for testing software and system
CN110502861A (en) * 2019-08-29 2019-11-26 中国科学院微小卫星创新研究院 Totally digitilized analogue system based on satellite information flow
CN112015639A (en) * 2020-07-31 2020-12-01 北京轩宇信息技术有限公司 Method and device for generating satellite-borne software test case

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨善强: "基于卫星数据流的动态虚拟仿真技术", 《中国优秀硕士学位论文全文数据库 (工程科技Ⅱ辑)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114123172A (en) * 2021-11-15 2022-03-01 国网江苏省电力有限公司电力科学研究院 Simulation test system and method applied to comprehensive energy system
CN114123172B (en) * 2021-11-15 2024-05-03 国网江苏省电力有限公司电力科学研究院 Simulation test system and method applied to comprehensive energy system
CN115328085A (en) * 2022-08-08 2022-11-11 上海蓝箭鸿擎科技有限公司 Generalized satellite semi-physical automatic test system and test method
CN115913330A (en) * 2022-11-04 2023-04-04 中电防务科技有限公司 Automatic testing device for gateway station of satellite mobile communication system
CN116263595A (en) * 2022-11-16 2023-06-16 长光卫星技术股份有限公司 Universal automatic test platform for satellite single machine environment test and control method thereof
CN117453492A (en) * 2023-12-20 2024-01-26 北京中航科电测控技术股份有限公司 Universal test platform based on weapon equipment

Also Published As

Publication number Publication date
CN113009845B (en) 2021-11-23

Similar Documents

Publication Publication Date Title
CN113009845B (en) Simulation test system and method for satellite software
US10389458B2 (en) Method and apparatus for testing RF performance of a satellite wiring harness and signal processing units
CN110488630B (en) Test system and test method for controlling stability-increasing flight control computer
CN109116315B (en) General radar avionics simulation system
CN105068929A (en) Test script generation method, test script generation device, testing method, testing device and testing system
WO2006047741A2 (en) Software test environment for regression testing ground combat vehicle software
CN108802511B (en) Method and system for testing battery management unit
KR100985749B1 (en) Automatic-testing system and method for embedded system software and test scenario composing method
CN111817921B (en) Mobile test equipment, test method, device, system and networking method
CN112115552A (en) Airborne flight data recharging method and device
CN106325262A (en) Interface data generation system and method of member system and onboard maintenance system
US10585771B1 (en) Pluggable hardware simulation test execution system
CN106547670A (en) The method and device of long-range reading and writing built-in Linux application program memory variable value
CN109557898A (en) A kind of general-purpose system comprehensive verification equipment for various UAV ground control station
CN117193249A (en) Complex avionics system test and integrated verification platform
CN117597669A (en) Test method, system and device
CN114138762A (en) Data processing method, device, storage medium and terminal
CN113127312B (en) Method, device, electronic equipment and storage medium for database performance test
US20060247911A1 (en) Systems and methods for learning and mimicking the communications of intelligent electronic devices
CN112485554B (en) Electrical performance test platform for complex product
CN112363955B (en) Hardware automation integration test method and system
RU2783906C1 (en) Complex for testing embedded software of electronic devices
CN114911731B (en) Modeling interface design method of complex system, electronic equipment and storage medium
CN117631606B (en) PLC analog control method and device applied to cell formation component
CN113342713B (en) Remote interface simulation device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant