CN115328085B - Generalized satellite semi-physical automatic test system and test method - Google Patents

Generalized satellite semi-physical automatic test system and test method Download PDF

Info

Publication number
CN115328085B
CN115328085B CN202210943732.9A CN202210943732A CN115328085B CN 115328085 B CN115328085 B CN 115328085B CN 202210943732 A CN202210943732 A CN 202210943732A CN 115328085 B CN115328085 B CN 115328085B
Authority
CN
China
Prior art keywords
sub
thread
remote control
telemetry
test
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.)
Active
Application number
CN202210943732.9A
Other languages
Chinese (zh)
Other versions
CN115328085A (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 Lanjian Hongqing Technology Co ltd
Original Assignee
Shanghai Lanjian Hongqing Technology Co ltd
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 Lanjian Hongqing Technology Co ltd filed Critical Shanghai Lanjian Hongqing Technology Co ltd
Priority to CN202210943732.9A priority Critical patent/CN115328085B/en
Publication of CN115328085A publication Critical patent/CN115328085A/en
Application granted granted Critical
Publication of CN115328085B publication Critical patent/CN115328085B/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
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Abstract

The application provides a generalized satellite semi-physical automatic test system and a test method, wherein the generalized satellite semi-physical automatic test system comprises ground test equipment and an automatic test module; the ground test equipment comprises a semi-physical test industrial personal computer, a server subsystem, a switch and a communication interface converter; the semi-physical testing industrial personal computer, the server subsystem, the communication interface converter and the automatic testing module are all connected with the switch to form a testing system local area network; the semi-physical testing industrial personal computer and the communication interface converter are both connected with a single machine on the attitude and orbit control star; the automatic test module is used for generating a rule table and automatically testing the attitude and orbit control star single machine through ground test equipment. The generalized satellite semi-physical automatic testing system provided by the application can realize the generalized deployment condition of the testing scene of the multi-type satellite, and saves the manpower, financial resources and time spent by system reconstruction.

Description

Generalized satellite semi-physical automatic test system and test method
Technical Field
The application belongs to the field of satellite semi-physical testing, and particularly relates to a generalized satellite semi-physical automatic testing system and a testing method.
Background
At present, the existing satellite attitude and orbit control semi-physical test system adopts a special design, the test flow is relatively fixed, a test object can only face satellites of the same model, and when the test requirements of multiple models of satellites are met, the specific test system needs to be built, so that the test cost is increased, and the test progress is influenced; although some prior art has proposed methods for automatically interpreting and processing satellite telemetry data, the problem of universalization of multi-model satellite automated test systems is still not solved.
Disclosure of Invention
In order to overcome the problems existing in the related art to at least a certain extent, the application provides a generalized satellite semi-physical automation test system and a test method.
According to a first aspect of embodiments of the present application, there is provided a generalized satellite semi-physical automation test system including a ground test device and an automation test module;
the ground test equipment comprises a semi-physical test industrial personal computer, a server subsystem, a switch and a communication interface converter; the semi-physical testing industrial personal computer, the server subsystem, the communication interface converter and the automatic testing module are all connected with the switch to form a testing system local area network; the semi-physical testing industrial personal computer and the communication interface converter are both connected with the attitude and orbit control star single machine;
the automatic test module is used for generating a rule table and automatically testing the attitude and orbit control star single machine through the ground test equipment.
In the generalized satellite semi-physical automatic test system, the semi-physical test industrial personal computer comprises a dynamic model target machine, a data acquisition board card and a communication board card; the attitude and orbit control on-satellite single machine comprises a satellite attitude and orbit control computer, a satellite attitude and orbit control sensor single machine and a satellite attitude and orbit control executing mechanism single machine;
the dynamic model target machine adopts a universal case system controller, a dynamic model is operated on the universal case system controller, and the dynamic model is used for simulating the in-orbit motion characteristic of a satellite so as to generate a simulation signal for simulating the in-orbit motion of the satellite; the data acquisition board is a general acquisition board and is used for acquiring analog quantity data of the satellite attitude and orbit control sensor single machine and the satellite attitude and orbit control executing mechanism single machine and transmitting the acquired analog quantity data to the server subsystem; the communication board card adopts a standard and general serial port/bus interface board card and is used for realizing the bidirectional communication between the satellite attitude and orbit control computer and the dynamic model target machine.
Further, the server subsystem adopts a general server host, remote control and telemetry transfer software, telemetry data packet analysis software and telemetry data packet storage software are deployed in the general server host, the remote control and telemetry transfer software is used for transferring a remote control instruction packet sent to a satellite attitude and orbit control stand-alone machine by a test console and a remote control and telemetry data packet downloaded by the satellite attitude and orbit control stand-alone machine, the telemetry data packet analysis software is used for analyzing the telemetry data packet in real time, and the telemetry data packet storage software is used for storing the analyzed telemetry data into a database.
Furthermore, the automatic test module adopts a general PC, and automatic test software is deployed on the general PC, and the framework of the automatic test software comprises a UI interface layer, a rule table generation layer, a rule table management layer and a remote control telemetry interface layer;
the UI interface layer is used for designing an Excel format file import interface;
the rule table generation layer adopts an external interface generalized design and is used for receiving an Excel format test rule file input by a tester, automatically identifying file content according to the test rule file and further generating a rule table;
the rule table management layer comprises a remote control annotating sub-thread, a remote measurement inquiring sub-thread, a remote measurement judging sub-thread and a timer sub-thread, and is used for managing the execution of rule table contents and reasonably scheduling the remote measurement inquiring sub-thread, the remote measurement judging sub-thread and the remote control annotating sub-thread; the remote control annotating sub-thread is used for sending a remote control instruction to the satellite attitude and orbit control computer, the telemetry inquiry sub-thread is used for inquiring target telemetry data in real time, and the telemetry interpretation sub-thread is used for interpreting the target telemetry data;
the timer sub-thread is used for controlling the execution time sequence among the remote control annotating sub-thread, the telemetry inquiry sub-thread and the telemetry interpretation sub-thread.
Furthermore, the UI interface layer uses the subclass QAxObject class of QObject of QT to import test rules in Excel format into QT engineering, and the interface is added with a QPushButton button, so that the one-key import operation of testers is realized through the Signals/Slots mechanism of QT.
Further, the rule table generation layer comprises a file content identification module and a rule table generation module, when the Excel file is imported into the QT project, the file content identification module uses QAxObject class to identify the content of each row and each column of unit cells in the Excel file, and the rule table generation module carries out remote control telemetry/timer operation classification according to each identified mark and automatically generates variables of remote control telemetry/timer operation functions so as to automatically generate a rule table.
Further, the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement interpreting sub-thread are realized through a sub-thread class QThread of a heavy-load QT, and after corresponding Signals are triggered in the rule table, corresponding sub-threads are executed through a Signals/Slots mechanism of the QT; the timer sub-thread is realized by using a QTimer class, and the execution time of the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread and the time sequence among the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread are restrained according to the received timing signals.
According to a second aspect of embodiments of the present application, the present application further provides a generalized satellite semi-physical automation test method, which includes the following steps:
newly creating a test rule file;
importing the test rule file into an automatic test module to generate a rule table;
starting test, namely realizing one-key starting test through QT self-contained signal and slot function design, performing remote control telemetry/timer sub-thread calling according to normal flow of a rule table by a test execution flow, and performing manual intervention treatment under abnormal test conditions.
In the above generalized satellite semi-physical automation test method, the specific process of starting the test is as follows:
starting automatic test software, and automatically reading a rule table by the automatic test software;
identifying a remote control instruction, in particular identifying whether the remote control instruction is a remote control annotating task or a remote measurement interpreting task; if the remote control annotating task is the remote control annotating task, executing a telemetry interpretation task after the remote control annotating task is executed; otherwise, directly executing the telemetry interpretation task;
comparing and analyzing the telemetry result by using the queried telemetry data and the duration of telemetry interpretation to obtain a comparison analysis result;
judging whether the comparison analysis result is true, if so, further judging whether to execute the next rule in the rule table; otherwise, executing an exception handling sub-thread;
when executing the abnormal processing sub-thread, judging whether to continue testing, if so, performing manual remote control of the number of bets, further judging whether the number of bets is completed, and if so, executing a remote control interpretation task; otherwise, the remote control command is re-identified.
Further, the specific process of executing the remote control betting task is as follows:
identifying a remote control instruction, further identifying whether a delay note is needed, and if so, identifying delay time and then sending the remote control instruction; otherwise, directly sending a remote control instruction;
judging whether the number of bets is completed after the remote control instruction is sent, and if so, directly executing a telemetry interpretation task; otherwise, re-identifying the remote control instruction;
the specific process for executing the telemetry interpretation task is as follows:
identifying a telemetry channel, then inquiring telemetry data, judging whether delay interpretation is carried out or not at the same time, and if so, continuously interpreting the time length after identifying the delay time; otherwise, directly performing one-time interpretation.
According to the above specific embodiments of the present application, at least the following advantages are achieved: the generalized satellite semi-physical automatic testing system provided by the application can realize the generalized deployment condition of the testing scene of the multi-type satellite, and saves the manpower, financial resources and time spent by system reconstruction. The generalized satellite semi-physical automatic test method provided by the application can realize the rapid operation of telemetry inquiry, and the automatic interpretation and the automation of remote control annotating number/telemetry interpretation operation in combination with the manual annotating number mode under abnormal conditions, thereby effectively improving the test efficiency.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the scope of the invention as claimed.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic structural diagram of a generalized satellite semi-physical automation test system according to an embodiment of the present application.
Fig. 2 is a schematic structural diagram of an automated test module in a generalized satellite semi-physical automated test system according to an embodiment of the present application.
Fig. 3 is a schematic diagram of a generalized satellite semi-physical automation test system according to an embodiment of the present application.
Fig. 4 is a flowchart of an automated test module in a generalized satellite semi-physical automated test system according to an embodiment of the present application.
Reference numerals illustrate:
1. a single machine on the attitude and orbit control star;
2. ground test equipment; 21. semi-physical testing industrial personal computer; 22. a server subsystem; 23. a switch; 24. a communication interface converter;
3. an automated test module; 31. a UI interface layer; 32. a rule table generation layer; 33. a rule table management layer; 34. remote control telemetry interface layer.
Detailed Description
For the purposes of clarity, technical solutions and advantages of embodiments of the present application, the following drawings and detailed description will clearly illustrate the spirit of the disclosure of the present application, and any person skilled in the art, after having the knowledge of the embodiments of the present application, may make changes and modifications by the techniques taught by the present application, without departing from the spirit and scope of the present application.
The exemplary embodiments of the present application and their description are for the purpose of explaining the present application, but are not limiting of the present application. In addition, the same or similar reference numerals are used for the same or similar parts in the drawings and the embodiments.
The terms "first," "second," …, and the like, as used herein, do not denote a particular order or sequence, nor are they intended to limit the application to distinguishing between elements or operations that are described in the same technical language.
As used herein, the terms "comprising," "including," "having," "containing," and the like are intended to be inclusive and mean an inclusion, but not limited to.
As used herein, "and/or" includes any or all combinations of such things.
Reference herein to "a plurality" includes "two" and "more than two"; the term "plurality of sets" as used herein includes "two sets" and "more than two sets".
Certain terms used to describe the application will be discussed below, or elsewhere in this specification, to provide additional guidance to those skilled in the art in connection with the description of the application.
QT is a complete set of c++ software development framework provided for developing graphical user interface applications, and good packaging mechanisms enable the degree of modularity of QT to be very high, good reusability, and very convenient for users to develop; the QT provides a security type called Signals/Slots, so that the cooperative work among all elements becomes very simple, the QT can realize one-time compiling and compiling of application programs, and the QT can be perfectly operated under different platforms without changing programs, thereby providing a perfect development environment for the generalized development of automated test software.
As shown in fig. 1, the embodiment of the application provides a QT-based generalized satellite semi-physical automation test system, which is used for automatically testing a stand-alone unit 1 on an attitude and orbit control satellite, and comprises ground test equipment 2 and an automation test module 3.
The attitude and orbit control on-satellite unit 1 comprises a satellite attitude and orbit control computer, a satellite attitude and orbit control sensor unit and a satellite attitude and orbit control executing mechanism unit.
The ground test equipment 2 comprises a semi-physical test industrial personal computer 21, a server subsystem 22, a switch 23 and a communication interface converter 24.
Specifically, the semi-physical test industrial personal computer 21 includes a dynamics model target machine, a data acquisition board card and a communication board card, wherein the dynamics model target machine adopts a universal chassis system controller, and a dynamics model is operated on the universal chassis system controller and is used for simulating the satellite in-orbit motion characteristics so as to generate simulation signals for simulating the satellite in-orbit motion. The data acquisition board adopts a general acquisition board for acquiring analog data of the attitude and orbit control on-board unit 1 and transmitting the acquired analog data to the server subsystem 22. The communication board card adopts a standard and general serial port/bus interface board card and is used for realizing the bidirectional communication between the satellite attitude and orbit control computer and the dynamic model target machine.
The server subsystem 22 adopts a general server host, and remote control telemetry transfer software, telemetry data packet analysis software and telemetry data packet storage software are deployed in the general server host, wherein the remote control telemetry transfer software is used for transferring a remote control command packet sent to the satellite attitude and orbit control stand-alone by the test launching console and a remote control telemetry data packet downloaded by the satellite attitude and orbit control stand-alone, the telemetry data packet analysis software is used for analyzing the telemetry data packet in real time, and the telemetry data packet storage software is used for storing the analyzed telemetry data into a database.
The switch 23 is used for connecting the semi-physical testing industrial personal computer 21, the server subsystem 22, the communication interface converter 24 and the automation testing module 3 to build a testing system local area network, so as to realize two-by-two bidirectional communication among the semi-physical testing industrial personal computer 21, the server subsystem 22, the communication interface converter 24 and the automation testing module 3. Specifically, the switch 23 employs a general-purpose switch host.
The communication interface converter 24 adopts a standard and general serial port/bus protocol converter, and is used for connecting a hardware interface between the satellite attitude and orbit control computer and the switch 23 to realize bidirectional communication.
As shown in fig. 2, the automated testing module 3 adopts a general-purpose PC, on which automated testing software is deployed, and the architecture of the automated testing software includes a UI interface layer 31, a rule table generation layer 32, a rule table management layer 33, and a remote telemetry interface layer 34.
The UI interface layer 31 is used for designing an Excel format file import interface, importing test details in the Excel format into QT engineering by using a qaxoject class which is a subclass of QObject of QT, adding a QPushButton button to the interface, and realizing one-key import operation of testers through a sign/Slots mechanism of QT.
The rule table generation layer 32 adopts an external interface generalized design, and is used for receiving an Excel format test rule file input by a tester, automatically identifying file content according to the test rule file, and further generating a rule table. The rule table generation layer 32 includes a file content identification module and a rule table generation module, and when the Excel file is imported into QT engineering, the file content identification module uses qaxoject class to identify the content of each row and each column of cells in the Excel file; the rule table generation module classifies remote control telemetry/timer operations according to each identified mark, automatically generates variables of remote control telemetry/timer operation functions, and further automatically generates a rule table.
The rule table management layer 33 includes a remote wager count sub-thread, a telemetry query sub-thread, a telemetry interpretation sub-thread, and a timer sub-thread for managing execution of rule table contents, and for rationally scheduling the telemetry query sub-thread, the telemetry interpretation sub-thread, and the remote wager count sub-thread. The remote control annotating sub-thread is used for sending remote control instructions to the satellite attitude and orbit control computer, the remote measurement inquiring sub-thread is used for inquiring target remote measurement data in real time, and the remote measurement judging sub-thread is used for judging the target remote measurement data. The timer sub-thread is used for controlling the execution time sequence among the remote control annotating sub-thread, the telemetry inquiry sub-thread and the telemetry interpretation sub-thread.
The remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread are realized through a sub-thread class QThread of the reload QT, and after corresponding Signals are triggered in a rule table, the corresponding sub-threads are executed through a Signals/Slots mechanism of the QT.
According to the received remote control command signal, the remote control annotating sub-thread performs remote control command uploading to the target IP/port through a remote control packet transmission interface of the remote control telemetry interface layer 34 and records the transmission command name and time in real time. According to the received query signal, the telemetry query sub-thread performs a quick query of corresponding telemetry data in the target data table via a telemetry data query interface of the telemetry interface layer 34 and returns the queried telemetry data to the telemetry interpretation sub-thread. And the telemetry interpretation sub-thread interprets the received telemetry data and returns the interpretation result. The timer sub-thread is realized by using a QTimer class, and the execution time of the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread and the time sequence among the three are strictly constrained according to the received timing signals.
As shown in fig. 3, the automated test module 3 identifies remote control instructions and target addresses from the rule table contents and sends them to remote telemetry relay software within the server subsystem 22 via the switch 23. The remote control and telemetry transfer software receives the remote control instruction and forwards the remote control instruction to the communication interface converter 24 in real time through the switch 23, and then sends the remote control instruction to the satellite attitude and orbit control computer to realize the uploading of attitude and orbit control remote control data packets. The satellite attitude and orbit control computer receives the remote control data packet to realize corresponding action execution; the satellite attitude and orbit control computer downloads attitude and orbit control telemetry data packets at regular time; the telemetry data packet is downloaded to the server subsystem 22 through the remote telemetry transfer software, the telemetry data packet is analyzed after being received by the telemetry data packet analysis software, the attitude and orbit telemetry data storage is performed in real time after the telemetry data packet is analyzed, and the automatic test module 3 performs real-time query and automatic interpretation on target telemetry after the telemetry query task is identified according to the rule table content.
The generalized satellite semi-physical automatic testing system provided by the application can realize the generalized deployment condition of the testing scene of the multi-type satellite, and saves the manpower, financial resources and time spent by system reconstruction.
The generalized satellite semi-physical automatic test system provided by the application carries out generalized design on automatic test software, so that a tester only needs to write test items according to the test file module, and the external communication interface communicates by using the universal network port, so that the automatic test system is not limited to a test scene of one satellite model, and can meet the universal deployment conditions of the test scenes of multiple types of satellites.
Based on the generalized satellite semi-physical automation test system provided by the embodiment of the application, the application also provides a generalized satellite semi-physical automation test method, which comprises the following steps:
s1, newly creating a test rule file;
and the testers write a test rule file according to the universal template Excel format file, and a corresponding relation of the test working conditions is established in the test rule file.
S2, importing the test rule file into an automatic test module to generate a rule table.
S3, starting a test, realizing one-key starting test through QT self-contained signal and slot function design, calling remote control telemetry/timer sub-threads according to a normal flow of a rule table by a test execution flow, and carrying out manual intervention treatment under abnormal test conditions, wherein the specific process is as shown in FIG. 4:
s31, starting automatic test software, and automatically reading a rule table by the automatic test software.
S32, identifying a remote control instruction, specifically identifying whether the remote control instruction is a remote control annotating task or a remote measurement interpretation task; if the remote control annotating task is the remote control annotating task, executing a telemetry interpretation task after the remote control annotating task is executed; otherwise, directly executing the telemetry interpretation task.
When executing remote control annotating task, its concrete process is:
identifying a remote control instruction, further identifying whether a delay note is needed, and if so, identifying delay time and then sending the remote control instruction; otherwise, directly sending the remote control instruction.
Judging whether the number of bets is completed after the remote control instruction is sent, and if so, directly executing a telemetry interpretation task; otherwise, the remote control command is re-identified.
When executing telemetry interpretation tasks, the specific process is as follows:
identifying a telemetry channel, then inquiring telemetry data, judging whether delay interpretation is carried out or not at the same time, and if so, continuously interpreting the time length after identifying the delay time; otherwise, directly performing one-time interpretation.
S33, comparing and analyzing the telemetry result by using the queried telemetry data and the duration of telemetry interpretation to obtain a comparison analysis result.
S34, judging whether the comparison analysis result is true, if so, further judging whether to execute the next rule in the rule table; otherwise, executing the exception handling sub-thread.
If the next rule in the rule table is executed, re-reading the rule table; otherwise, ending.
S35, judging whether to continue testing when executing the abnormal processing sub-thread, if so, performing manual remote control of the number of bets, further judging whether the number of bets is completed, and if so, executing a remote control interpretation task; otherwise, the remote control command is re-identified.
For telemetry data query, a fast search method is proposed according to the characteristic of the fixed format of satellite telemetry data, the content format of the satellite telemetry data is fixed, and after telemetry analysis is carried out, the content format of a telemetry data table stored by a server subsystem is also fixed.
Excel file content operation is realized through the QAxObject class of QT, and the quick search comprises the following two steps:
(1) the telemetry query sub-thread adds an attribute (specific row/column in the telemetry data table) to each telemetry name, and when the telemetry query sub-thread performs telemetry query, the specific row/column in the telemetry data table can be automatically identified according to the received telemetry name signal, and a target can be positioned to a certain row/column in a huge hundreds of thousands of rows/columns data table.
(2) Through a Signals/Slots mechanism of QT, a current time variable is transmitted to a signal of a trigger slot function telemetry inquiry sub-thread, and the telemetry inquiry sub-thread shortens the range of a current row/column to a specific cell according to the time variable, so that quick and accurate inquiry of target telemetry data is realized.
The generalized satellite semi-physical automatic testing method provided by the application can automatically realize the rapid operation of telemetry inquiry, and synchronously carry out automatic interpretation and remote control annotating/telemetry interpretation operation in combination with a manual annotating mode under abnormal conditions, thereby effectively improving the testing efficiency.
According to the characteristic of fixed attitude and orbit control telemetry data format, specific row/column attributes are attached to each telemetry name, a QT signal and slot characteristic mechanism is utilized to transmit time variable to a query function, rapid positioning of target telemetry in a large amount of data of hundreds of thousands of rows/columns is achieved, real-time of interpretation is guaranteed, and design of a rapid search method of target telemetry is completed.
In the generalized satellite semi-physical automatic test method provided by the application, abnormal operation is carried out on the condition that the interpretation result does not accord with the rule table criterion, the automatic test is not directly interrupted, the manual remote control annotating mode is combined with the remote measurement automatic interpretation to be carried out synchronously, the problem positioning and the optimization of the attitude and orbit control satellite scheme can be carried out through the comparison analysis of the state before the abnormal condition and the state after the abnormal condition processing operation, and the rest content of the rule table can be continuously executed after the abnormal condition operation.
The foregoing is merely illustrative of the specific embodiments of this application and any equivalent variations and modifications can be made by those skilled in the art without departing from the spirit and principles of this application.

Claims (9)

1. The generalized satellite semi-physical automatic test system is characterized by comprising ground test equipment and an automatic test module;
the ground test equipment comprises a semi-physical test industrial personal computer, a server subsystem, a switch and a communication interface converter; the semi-physical testing industrial personal computer, the server subsystem, the communication interface converter and the automatic testing module are all connected with the switch to form a testing system local area network; the semi-physical testing industrial personal computer and the communication interface converter are both connected with a single machine on the attitude and orbit control star;
the automatic test module is used for generating a rule table and automatically testing the attitude and orbit control star single machine through the ground test equipment;
the specific process of starting the test is as follows:
starting automatic test software, and automatically reading a rule table by the automatic test software;
identifying a remote control instruction, in particular identifying whether the remote control instruction is a remote control annotating task or a remote measurement interpreting task; if the remote control annotating task is the remote control annotating task, executing a telemetry interpretation task after the remote control annotating task is executed; otherwise, directly executing the telemetry interpretation task;
comparing and analyzing the telemetry result by using the queried telemetry data and the duration of telemetry interpretation to obtain a comparison analysis result;
judging whether the comparison analysis result is true, if so, further judging whether to execute the next rule in the rule table; otherwise, executing an exception handling sub-thread;
when executing the abnormal processing sub-thread, judging whether to continue testing, if so, performing manual remote control of the number of bets, further judging whether the number of bets is completed, and if so, executing a remote control interpretation task; otherwise, the remote control command is re-identified.
2. The generalized satellite semi-physical automation test system of claim 1, wherein the semi-physical test industrial personal computer comprises a dynamics model target machine, a data acquisition board card and a communication board card; the attitude and orbit control on-satellite single machine comprises a satellite attitude and orbit control computer, a satellite attitude and orbit control sensor single machine and a satellite attitude and orbit control executing mechanism single machine;
the dynamic model target machine adopts a universal case system controller, a dynamic model is operated on the universal case system controller, and the dynamic model is used for simulating the in-orbit motion characteristic of a satellite so as to generate a simulation signal for simulating the in-orbit motion of the satellite; the data acquisition board is a general acquisition board and is used for acquiring analog quantity data of the satellite attitude and orbit control sensor single machine and the satellite attitude and orbit control executing mechanism single machine and transmitting the acquired analog quantity data to the server subsystem; the communication board card adopts a standard and general serial port/bus interface board card and is used for realizing the bidirectional communication between the satellite attitude and orbit control computer and the dynamic model target machine.
3. The generalized satellite semi-physical automation test system of claim 2, wherein the server subsystem employs a general server host, and remote telemetry transfer software, telemetry data packet parsing software and telemetry data packet storage software are deployed in the general server host, the remote telemetry transfer software is used for transferring remote telemetry data packets transmitted by the test console to the satellite attitude and orbit control stand-alone and remote telemetry data packets downloaded by the satellite attitude and orbit control stand-alone, the telemetry data packet parsing software is used for parsing the telemetry data packets in real time, and the telemetry data packet storage software is used for storing the parsed telemetry data in a database.
4. The generalized satellite semi-physical automation test system of claim 3, wherein the automation test module employs a general purpose PC with automation test software deployed thereon, and the architecture of the automation test software includes a UI interface layer, a rule table generation layer, a rule table management layer, and a remote control telemetry interface layer;
the UI interface layer is used for designing an Excel format file import interface;
the rule table generation layer adopts an external interface generalized design and is used for receiving an Excel format test rule file input by a tester, automatically identifying file content according to the test rule file and further generating a rule table;
the rule table management layer comprises a remote control annotating sub-thread, a remote measurement inquiring sub-thread, a remote measurement judging sub-thread and a timer sub-thread, and is used for managing the execution of rule table contents and reasonably scheduling the remote measurement inquiring sub-thread, the remote measurement judging sub-thread and the remote control annotating sub-thread; the remote control annotating sub-thread is used for sending a remote control instruction to the satellite attitude and orbit control computer, the remote measurement inquiring sub-thread is used for inquiring target remote measurement data in real time, and the remote measurement judging sub-thread is used for judging the target remote measurement data;
the timer sub-thread is used for controlling the execution time sequence among the remote control annotating sub-thread, the telemetry inquiry sub-thread and the telemetry interpretation sub-thread.
5. The generalized satellite semi-physical automation test system of claim 4, wherein the UI interface layer uses a sub-class qaxoject class of QObject of QT to import test details in Excel format into QT engineering, and the interface adds a QPushButton to implement a tester one-key import operation through a sign/Slots mechanism of QT.
6. The generalized satellite semi-physical automation test system of claim 4, wherein the rule table generation layer comprises a file content identification module and a rule table generation module, when the Excel file is imported into QT engineering, the file content identification module uses qaxoject class to identify content of each row and each column of cells in the Excel file, and the rule table generation module performs classification of remote telemetry/timer operation according to each identified flag, and automatically generates variables of remote telemetry/timer operation functions, and further automatically generates a rule table.
7. The generalized satellite semi-physical automation test system according to claim 4, wherein the remote-control annotating sub-thread, the remote-measurement inquiring sub-thread and the remote-measurement interpreting sub-thread are implemented by a sub-thread QThread class of a reload QT, and after corresponding Signals are triggered in the rule table, corresponding sub-threads are executed by a sigals/Slots mechanism of QT; the timer sub-thread is realized by using a QTimer class, and the execution time of the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread and the time sequence among the remote control annotating sub-thread, the remote measurement inquiring sub-thread and the remote measurement judging sub-thread are restrained according to the received timing signals.
8. The method for testing the generalized satellite semi-physical automation is characterized by comprising the following steps of:
newly creating a test rule file;
importing the test rule file into an automatic test module to generate a rule table;
starting test, namely realizing one-key starting test through QT self-contained signal and slot function design, performing remote control telemetry/timer sub-thread calling according to a normal flow of a rule table by a test execution flow, and performing manual intervention treatment under abnormal test conditions;
the specific process of starting the test is as follows:
starting automatic test software, and automatically reading a rule table by the automatic test software;
identifying a remote control instruction, in particular identifying whether the remote control instruction is a remote control annotating task or a remote measurement interpreting task; if the remote control annotating task is the remote control annotating task, executing a telemetry interpretation task after the remote control annotating task is executed; otherwise, directly executing the telemetry interpretation task;
comparing and analyzing the telemetry result by using the queried telemetry data and the duration of telemetry interpretation to obtain a comparison analysis result;
judging whether the comparison analysis result is true, if so, further judging whether to execute the next rule in the rule table; otherwise, executing an exception handling sub-thread;
when executing the abnormal processing sub-thread, judging whether to continue testing, if so, performing manual remote control of the number of bets, further judging whether the number of bets is completed, and if so, executing a remote control interpretation task; otherwise, the remote control command is re-identified.
9. The generalized satellite semi-physical automation test method of claim 8, wherein the specific process of performing the remote wager task is:
identifying a remote control instruction, further identifying whether a delay note is needed, and if so, identifying delay time and then sending the remote control instruction; otherwise, directly sending a remote control instruction;
judging whether the number of bets is completed after the remote control instruction is sent, and if so, directly executing a telemetry interpretation task; otherwise, re-identifying the remote control instruction;
the specific process for executing the telemetry interpretation task is as follows:
identifying a telemetry channel, then inquiring telemetry data, judging whether delay interpretation is carried out or not at the same time, and if so, continuously interpreting the time length after identifying the delay time; otherwise, directly performing one-time interpretation.
CN202210943732.9A 2022-08-08 2022-08-08 Generalized satellite semi-physical automatic test system and test method Active CN115328085B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210943732.9A CN115328085B (en) 2022-08-08 2022-08-08 Generalized satellite semi-physical automatic test system and test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210943732.9A CN115328085B (en) 2022-08-08 2022-08-08 Generalized satellite semi-physical automatic test system and test method

Publications (2)

Publication Number Publication Date
CN115328085A CN115328085A (en) 2022-11-11
CN115328085B true CN115328085B (en) 2023-06-09

Family

ID=83922090

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210943732.9A Active CN115328085B (en) 2022-08-08 2022-08-08 Generalized satellite semi-physical automatic test system and test method

Country Status (1)

Country Link
CN (1) CN115328085B (en)

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7099753B2 (en) * 2004-04-27 2006-08-29 The Boeing Company Automatic generation of telemetry flight software, accompanying specifications, and decode files
US8930772B2 (en) * 2011-10-03 2015-01-06 Verizon Patent And Licensing Inc. Method and system for implementing a test automation results importer
CN103888206B (en) * 2014-03-25 2015-11-11 航天东方红卫星有限公司 A kind of moonlet spread spectrum system tracking-telemetry and command subsystem general purpose simulation system
CN107769836B (en) * 2017-09-13 2020-04-17 长光卫星技术有限公司 Satellite universal automatic test platform and data interaction method thereof
CN109298858A (en) * 2018-10-25 2019-02-01 北京航天时代激光导航技术有限责任公司 A kind of Excel document generation method and system based on Qt resource file
CN109885488B (en) * 2019-01-30 2022-03-18 上海卫星工程研究所 Automatic test method and system for satellite orbit calculation software driven by case table
CN113009845B (en) * 2021-03-08 2021-11-23 中国科学院微小卫星创新研究院 Simulation test system and method for satellite software
CN113495842B (en) * 2021-07-01 2024-01-26 中国科学院微小卫星创新研究院 Automatic testing system and testing method for batch production satellite
CN114039686B (en) * 2022-01-10 2022-03-25 成都国星宇航科技有限公司 Automatic semi-physical satellite energy testing system and method
CN114563959B (en) * 2022-02-10 2024-04-12 中国科学院微小卫星创新研究院 Satellite attitude and orbit control closed-loop simulation and open-loop aging parallel test method and system
CN114563960A (en) * 2022-02-15 2022-05-31 中国科学院微小卫星创新研究院 Satellite attitude and orbit control semi-physical simulation integration method, system and terminal

Also Published As

Publication number Publication date
CN115328085A (en) 2022-11-11

Similar Documents

Publication Publication Date Title
CN104484273B (en) The method of testing of application program, equipment and system
CN102141962B (en) Safety distributed test framework system and test method thereof
CN106155906B (en) A kind of bank's host close beta system and method
CN102722440A (en) Debugging device of executive codes of embedded system, debugging method and embedded system
CN103235756A (en) Simulation testing method for partition application software of embedded system
CN105528290A (en) Construction method of script-based embedded software simulation and test integrated platform
CN103036734A (en) Logic verification method and logic verification system for network chip
CN102157037B (en) Automatic test method and system for software and module
CN113722020A (en) Interface calling method, device and computer readable storage medium
CN113885351A (en) Simulation test equipment and method for satellite simulation test
CN111814443A (en) Table generation method and device combining RPA and AI, computing equipment and storage medium
CN112925705B (en) Unmanned-duty-based carrier rocket flight software acceptance method and system
CN115328085B (en) Generalized satellite semi-physical automatic test system and test method
CN106354643B (en) A kind of the accidental error test method and system of interactive software
CN111563037B (en) Test optimization method and device based on test questions, storage medium and terminal
CN109557898A (en) A kind of general-purpose system comprehensive verification equipment for various UAV ground control station
CN110209565A (en) A kind of metadata schema adjustment method and its device
Kranzlmüller et al. NOPE: A nondeterministic program evaluator
CN116028367A (en) Automatic test system and method
Tsai et al. Debugging for timing-constraint violations
CN103457957A (en) Network penetration test system with self-adaption function and network penetration test method
CN103678054B (en) Test method and device used for BACnet equipment
CN106155881A (en) Applied program testing method and system for VxWorks platform
CN107215479B (en) General data processing framework of flight simulator and construction method thereof
CN111258838A (en) Verification component generation method and device, storage medium and verification platform

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