CN111766850A - Method for automatically testing data of aerospace measurement and control equipment - Google Patents

Method for automatically testing data of aerospace measurement and control equipment Download PDF

Info

Publication number
CN111766850A
CN111766850A CN202010638767.2A CN202010638767A CN111766850A CN 111766850 A CN111766850 A CN 111766850A CN 202010638767 A CN202010638767 A CN 202010638767A CN 111766850 A CN111766850 A CN 111766850A
Authority
CN
China
Prior art keywords
data
control equipment
measurement
tested
excitation
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
CN202010638767.2A
Other languages
Chinese (zh)
Other versions
CN111766850B (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 aerospace computer technology research institute
Shanghai Academy of Spaceflight Technology SAST
China Xian Satellite Control Center
Original Assignee
Shanghai aerospace computer technology research institute
China Xian Satellite Control Center
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 aerospace computer technology research institute, China Xian Satellite Control Center filed Critical Shanghai aerospace computer technology research institute
Priority to CN202010638767.2A priority Critical patent/CN111766850B/en
Publication of CN111766850A publication Critical patent/CN111766850A/en
Application granted granted Critical
Publication of CN111766850B publication Critical patent/CN111766850B/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/0218Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults
    • G05B23/0256Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterised by the fault detection method dealing with either existing or incipient faults injecting test signals and analyzing monitored process response, e.g. injecting the test signal while interrupting the normal operation of the monitored system; superimposing the test signal onto a control signal during normal operation of the monitored system

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention discloses a method for automatically testing aerospace measurement and control equipment data, which comprises the following basic steps: establishing a collection of identifications, excitation data, output data, a verification method, excitation starting time, intervals and time sequence rules of functional modules of the space measurement and control equipment; establishing a database of the parameters of the space flight measurement and control equipment; generating a test excitation database according to the parameters of the space measurement and control equipment; reading the excitation data and the time sequence rule of the functional module to be tested, automatically sending the excitation data to the space flight measurement and control equipment according to the time sequence rule, and monitoring the output data (monitoring data) of the space flight measurement and control equipment; reading output data (read data) of the functional module to be tested, and comparing the read data with the monitoring data through a verification method and a time sequence rule of the functional module; step six, according to the selected function list to be tested, the function item to be tested repeats steps four and five periodically, and the test of the selected module is completed.

Description

Method for automatically testing data of aerospace measurement and control equipment
Technical Field
The invention relates to the aerospace measurement and control field in the aerospace field, in particular to a method for automatically testing data of aerospace measurement and control equipment.
Background
With the vigorous development of the aerospace technology, more and more spacecrafts enter the space field, the aerospace measurement and control equipment is digital processing equipment for communication between a ground measurement and control station and a satellite transponder, and the aerospace measurement and control equipment is increased along with the annual emission of the spacecrafts. The aerospace measurement and control equipment is a consumable, and old equipment can be gradually replaced by new equipment. However, in the conventional testing method for the space measurement and control equipment, test software is used, excitation data is input into the software, the output and theoretical values of the space measurement and control equipment are manually compared, and the space measurement and control equipment is tested item by item according to test items.
With the increase of the number of the spacecrafts, the automatic testing of the spaceflight measurement and control equipment is urgently needed. The testing efficiency and accuracy are improved, and the development and delivery progress of the spacecraft matching product is promoted.
The automatic testing aerospace measurement and control equipment has wide requirements on aerospace, and the prior art mainly has the following two implementation modes: 1. the measurement and control data of the known spacecraft are used for comparison, but the spacecraft expansion cannot be adapted, and the gradual development requirement cannot be adapted; 2. test software is compiled based on functions by utilizing measurement and control data, but a function test method cannot be expanded, and the generalized functions cannot be met.
Disclosure of Invention
The invention provides a method for automatically testing data of space measurement and control equipment, which aims to solve the problem of low efficiency of the existing space measurement and control equipment, and further improve the testing efficiency of a spacecraft matching product.
The invention provides a method for automatically testing data of space measurement and control equipment, which is used for solving the problems and comprises the following steps:
a method for automatically testing aerospace measurement and control equipment data is characterized by comprising the following steps:
establishing a collection of identifications, excitation data, output data, a verification method, excitation starting time, intervals and time sequence rules of functional modules of the space flight measurement and control equipment, configuring the collection in an XML format, and selecting whether all the functional modules need to be tested;
establishing a database of aerospace measurement and control equipment parameters, wherein the parameters at least comprise model numbers, task numbers, prefix sequences, synchronous words, suffix sequences, transmission protocols, communication IP addresses, communication ports and instruction sequences; the parameters support the fixed position to set byte or bit values and support the addition of specified positions according to a protocol;
generating a test excitation database according to the parameters of the space measurement and control equipment;
reading excitation data and a time sequence rule of the functional module to be tested, automatically sending the excitation data to the space flight measurement and control equipment according to the time sequence rule, and monitoring output data of the space flight measurement and control equipment, wherein the output data is called monitoring data;
step five, reading output data of the functional module to be tested, namely reading data, wherein the output data is called reading data; comparing the read data with the monitoring data through a verification method and a time sequence rule of the functional module, and verifying the correctness of the functional module;
step six, according to a pre-selected function list to be tested, periodically repeating the step four and the step five for the function item to be tested, and ensuring the integrity of the test function; the list of functions to be tested includes: the aerospace measurement and control equipment list to be tested and the functional module list of the aerospace measurement and control equipment to be tested.
Optionally, the third step further comprises:
after the database of the parameters of the space flight measurement and control equipment is established, traversing the test excitation data generation rule, and sequentially generating the test excitation data of the equipment; wherein the test stimulus data covers all data of the functional module and a unique identifier is set.
Optionally, the functional module refers to a unique identifier of the excitation data, so that the universal loading of the excitation data of different aerospace measurement and control devices is realized.
Optionally, the second step further comprises:
and all the space measurement and control equipment needing to be tested form a database of the parameters of the space measurement and control equipment according to the unified interface configuration parameters, and the space measurement and control equipment to be tested is selected during automatic testing.
Compared with the prior art, the invention has the following beneficial effects:
the invention can further realize the automation of the testing method of the aerospace measurement and control equipment, has positive reference significance in the aspect of the automation testing of the aerospace measurement and control equipment, and has better practical engineering application value in the aerospace field.
Compared with the traditional testing method of the aerospace measurement and control equipment, the method can greatly improve the testing speed of the aerospace measurement and control equipment, and has high engineering practice value.
Aiming at the space measurement and control equipment, the invention can effectively improve the test efficiency and correctness of the equipment and provides technical support for realizing the automatic test of the space measurement and control equipment.
Drawings
FIG. 1 is a schematic flow chart of a method for automatically testing data of an aerospace measurement and control device according to an embodiment of the present invention;
FIG. 2 is a flowchart of comparing data using a verification method and timing rules according to an embodiment of the present invention;
FIG. 3 is a flow chart of a software thread for continuous functional testing according to an embodiment of the present invention.
Detailed Description
The present invention will be described in detail with reference to specific examples. The following examples will assist those skilled in the art in further understanding the invention, but are not intended to limit the invention in any way. It should be noted that it would be obvious to those skilled in the art that various changes and modifications can be made without departing from the spirit of the invention. All falling within the scope of the present invention.
As shown in fig. 1 to fig. 3, the embodiment discloses a method for automatically testing data of an aerospace measurement and control device, which includes the following steps:
step one, establishing a collection of identifications, excitation data, output data, a verification method, excitation starting time, intervals and time sequence rules of functional modules of the space measurement and control equipment, configuring the functional modules in an XML format, loading configuration information of the functional modules by a program, and selecting whether all the functional modules need to be tested or not.
In this embodiment, the identifier of the functional module is: a1_1, a1_2, a1_3, S1_1, S1_2, S1_3, M1_1, M1_2, M1_3, and the like; the verification method (methodJR) is "AisD _ BisC _ AnotB", methodJR "AisD _ BisC _ AnotBIn50 ms", methodJR "NOT _ JUDGE", etc.; the interval (interval) is: interval of "500 ms", interval of "1000 ms", interval of "2 s", and the like; the duration (lastTime) is: lastTime "100 ms", lastTime "200 ms", lastTime "500 ms", etc.; the timing rule (order) is: < Field key ═ DataIn1, "DataIn ═ 1" order ═ 1 "/>, < Field key ═ DataIn2," DataIn ═ 2 "order ═ 2"/> and the like.
And a set of identification, excitation data, output data, a verification method, excitation starting time, intervals and time sequence rules of the functional modules of the space measurement and control equipment is established, and the modification functional modules can be dynamically added, so that the functions of the space measurement and control equipment can be expanded and edited. Reading the stimulus data with the identity of the stimulus data is implemented.
Establishing a database of aerospace measurement and control equipment parameters, wherein the parameters at least comprise models, task numbers, prefix sequences, synchronous words, suffix sequences, transmission protocols, communication IP addresses, communication ports, instruction sequences and the like; the parameters support the fixed position to set byte or bit values and support the addition of specified positions according to a protocol; the space flight measurement and control equipment to be tested is formed into a database according to the unified interface configuration parameters, and the space flight measurement and control equipment to be tested is selected during automatic testing. The 'unified interface' refers to a configuration interface after software runs.
Generating a test excitation database according to the parameters of the space measurement and control equipment; it further comprises:
after the database of the parameters of the space flight measurement and control equipment is established, traversing the test excitation data generation rule, and sequentially generating the test excitation data of the equipment; wherein the test stimulus data covers all data of the functional module and a unique identifier (such as Telecontrol _ Encryption _ Correct) is set. The functional module refers to the unique identifier of the excitation data, reads the unique identifier of the excitation data in the process of testing different aerospace measurement and control equipment, and is used for supporting generalized loading of the excitation data.
Reading excitation data and a time sequence rule of the functional module to be tested, automatically sending the excitation data to the space flight measurement and control equipment according to the time sequence rule, and monitoring output data (monitoring data) of the space flight measurement and control equipment, wherein the output data is called monitoring data;
step five, reading output data (read data) of the functional module to be tested, wherein the output data is called read data; comparing the read data with the monitoring data through a verification method and a time sequence rule of the functional module, and verifying the correctness of the functional module;
step six, according to a pre-selected function list to be tested, periodically repeating the step four and the step five for the function item to be tested, and ensuring the integrity of the test function; the list of functions to be tested includes: the aerospace measurement and control equipment list to be tested and the functional module list of the aerospace measurement and control equipment to be tested.
The design principle and the design thought of the invention mainly comprise the following three parts:
(1) by utilizing the idea of expandable functions, each function is an XML node, the functions are expanded or changed, the codes are not required to be changed, and only the XML nodes are required to be added or modified;
(2) setting an excitation data mark in a functional XML node by using the idea that a data source is extensible, and generating excitation data conforming to the mark by using a software according to a parameter rule;
(3) by utilizing the idea of extensible verification, a verification algorithm set which accords with the aerospace measurement and control equipment is compiled, and the algorithm set is directly extended under new requirements without changing codes.
In conclusion, the method of the invention tests the space flight measurement and control equipment by an extensible method, and realizes automatic testing. Compared with the traditional testing method of the aerospace measurement and control equipment, the method can greatly improve the testing speed of the aerospace measurement and control equipment, and has high engineering practice value.
The above description is only exemplary of the present invention, but the scope of the present invention is not limited thereto, and any modification, replacement, or improvement made by those skilled in the art within the spirit and principle of the present invention should be included in the protection scope of the claims described in the present invention.

Claims (4)

1. A method for automatically testing aerospace measurement and control equipment data is characterized by comprising the following steps:
establishing a collection of identifications, excitation data, output data, a verification method, excitation starting time, intervals and time sequence rules of functional modules of the space flight measurement and control equipment, configuring the collection in an XML format, and selecting whether all the functional modules need to be tested;
establishing a database of aerospace measurement and control equipment parameters, wherein the parameters at least comprise model numbers, task numbers, prefix sequences, synchronous words, suffix sequences, transmission protocols, communication IP addresses, communication ports and instruction sequences; the parameters support the fixed position to set byte or bit values and support the addition of specified positions according to a protocol;
generating a test excitation database according to the parameters of the space measurement and control equipment;
reading excitation data and a time sequence rule of the functional module to be tested, automatically sending the excitation data to the space flight measurement and control equipment according to the time sequence rule, and monitoring output data of the space flight measurement and control equipment, wherein the output data is called monitoring data;
step five, reading output data of the functional module to be tested, namely reading data, wherein the output data is called reading data; comparing the read data with the monitoring data through a verification method and a time sequence rule of the functional module, and verifying the correctness of the functional module;
step six, according to a pre-selected function list to be tested, periodically repeating the step four and the step five for the function item to be tested, and ensuring the integrity of the test function; the list of functions to be tested includes: the aerospace measurement and control equipment list to be tested and the functional module list of the aerospace measurement and control equipment to be tested.
2. The method of claim 1, wherein the step three further comprises:
after the database of the parameters of the space flight measurement and control equipment is established, traversing the test excitation data generation rule, and sequentially generating the test excitation data of the equipment; wherein the test stimulus data covers all data of the functional module and a unique identifier is set.
3. The method of claim 2, wherein the functional module references the unique identifier of the excitation data to implement loading excitation data generalized for different aerospace measurement and control devices.
4. The method of claim 1, wherein step two further comprises:
and all the space measurement and control equipment needing to be tested form a database of the parameters of the space measurement and control equipment according to the unified interface configuration parameters, and the space measurement and control equipment to be tested is selected during automatic testing.
CN202010638767.2A 2020-07-03 2020-07-03 Method for automatically testing data of aerospace measurement and control equipment Active CN111766850B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010638767.2A CN111766850B (en) 2020-07-03 2020-07-03 Method for automatically testing data of aerospace measurement and control equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010638767.2A CN111766850B (en) 2020-07-03 2020-07-03 Method for automatically testing data of aerospace measurement and control equipment

Publications (2)

Publication Number Publication Date
CN111766850A true CN111766850A (en) 2020-10-13
CN111766850B CN111766850B (en) 2021-06-29

Family

ID=72724534

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010638767.2A Active CN111766850B (en) 2020-07-03 2020-07-03 Method for automatically testing data of aerospace measurement and control equipment

Country Status (1)

Country Link
CN (1) CN111766850B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116470968A (en) * 2023-04-14 2023-07-21 上海华穗电子科技有限公司 Ground test method and device for communication function of aerospace science system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140003658A1 (en) * 2012-06-28 2014-01-02 Oliver Hein Method and apparatus for coding of eye and eye movement data
CN106446412A (en) * 2016-09-26 2017-02-22 杭州杉石科技有限公司 Model-based test method for avionics systems
CN107769836A (en) * 2017-09-13 2018-03-06 长光卫星技术有限公司 Satellite General automatic test platform and its data interactive method
CN107797004A (en) * 2017-09-20 2018-03-13 北京空间飞行器总体设计部 A kind of spacecraft electric performance test use-case Digital verification system and method
CN109739771A (en) * 2019-01-04 2019-05-10 北京空间技术研制试验中心 A kind of test method for spacecraft-testing
CN110505092A (en) * 2019-08-26 2019-11-26 中国人民解放军63698部队 A kind of space communication private network performance monitoring and overall analysis system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140003658A1 (en) * 2012-06-28 2014-01-02 Oliver Hein Method and apparatus for coding of eye and eye movement data
CN106446412A (en) * 2016-09-26 2017-02-22 杭州杉石科技有限公司 Model-based test method for avionics systems
CN107769836A (en) * 2017-09-13 2018-03-06 长光卫星技术有限公司 Satellite General automatic test platform and its data interactive method
CN107797004A (en) * 2017-09-20 2018-03-13 北京空间飞行器总体设计部 A kind of spacecraft electric performance test use-case Digital verification system and method
CN109739771A (en) * 2019-01-04 2019-05-10 北京空间技术研制试验中心 A kind of test method for spacecraft-testing
CN110505092A (en) * 2019-08-26 2019-11-26 中国人民解放军63698部队 A kind of space communication private network performance monitoring and overall analysis system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116470968A (en) * 2023-04-14 2023-07-21 上海华穗电子科技有限公司 Ground test method and device for communication function of aerospace science system

Also Published As

Publication number Publication date
CN111766850B (en) 2021-06-29

Similar Documents

Publication Publication Date Title
CN109768970B (en) Configurable universal protocol generation method
CN110177013B (en) FPGA-based EtherCAT master-slave station design and implementation method
CN107656126B (en) CAN-based automatic testing method and system for quiescent current of vehicle-mounted sound equipment
CN111766850B (en) Method for automatically testing data of aerospace measurement and control equipment
CN104579541B (en) A kind of building method of wireless communication system Medium Access Layer protocol Data Unit
CN111158751B (en) Windows environment deployment method, electronic device and storage medium
CN111176991B (en) Automatic generation method for embedded software interface use cases
CN110659165A (en) Multi-node server automatic testing method and device
CN106445611B (en) Big data node system and automatic deployment method
CN113157651A (en) Method, system, equipment and medium for renaming resource files of android engineering project in batch
CN111078277A (en) Packaging system, packaging method and storage medium
JP6572306B2 (en) Techniques for generating optimized channel hopping sequences
CN105262644A (en) General test system based on protocol configuration and method
CN103441895A (en) Automatic cipher machine test system and working method thereof
CN107809335B (en) Configuration method and device of network system
CN108965300B (en) Data packet generation method and device and computer readable storage medium
CN113821076B (en) Virtual simulation system and synchronization method based on virtual clock
CN106773790B (en) multi-iteration power and communication joint simulation method based on global event axis synchronization
US10834241B1 (en) Streaming editor circuit for implementing a packet deparsing process
CN107231278A (en) The method of testing of CAN nodes, apparatus and system
CN113794527A (en) Deep space detection surrounding device adaptive frame length wired telemetering and forwarding system and self-checking method
CN110096297A (en) For the method for internet of things equipment mass upgrade, update device under controllable environment
CN112367250A (en) Internet of things multi-protocol gateway
CN110366240A (en) Wireless sensor network high-precise synchronization triggering method
CN106143353B (en) A kind of vehicle-mounted electronic control unit module method for refreshing and system

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