CN104898461B - A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method - Google Patents

A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method Download PDF

Info

Publication number
CN104898461B
CN104898461B CN201510191279.0A CN201510191279A CN104898461B CN 104898461 B CN104898461 B CN 104898461B CN 201510191279 A CN201510191279 A CN 201510191279A CN 104898461 B CN104898461 B CN 104898461B
Authority
CN
China
Prior art keywords
trystate
simulation
parameter
test report
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
CN201510191279.0A
Other languages
Chinese (zh)
Other versions
CN104898461A (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.)
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Automatic Control Research Institute
Original Assignee
China Academy of Launch Vehicle Technology CALT
Beijing Aerospace Automatic Control Research Institute
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 China Academy of Launch Vehicle Technology CALT, Beijing Aerospace Automatic Control Research Institute filed Critical China Academy of Launch Vehicle Technology CALT
Priority to CN201510191279.0A priority Critical patent/CN104898461B/en
Publication of CN104898461A publication Critical patent/CN104898461A/en
Application granted granted Critical
Publication of CN104898461B publication Critical patent/CN104898461B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a kind of Hardware-in-the-Loop Simulation in Launch Vehicle pilot system and method, including HWIL simulation module, trystate parameter configuration file, l-G simulation test database, data interface module and l-G simulation test report generation module;L-G simulation test report generation module includes l-G simulation test report template and data dictionary;L-G simulation test report template defines the file structure table of l-G simulation test report, data dictionary includes the corresponding name variable of all trystate parameters in trystate parameter array, the different value of trystate parameter, the semanteme in l-G simulation test report corresponding to the different value of trystate parameter.The present invention can fast and automatically generate l-G simulation test report, it is ensured that the uniformity of result of the test data and trystate.

Description

A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method
Technical field
The present invention relates to a kind of Hardware-in-the-Loop Simulation in Launch Vehicle pilot system and method.
Background technology
The checking of the l-G simulation test of carrier space vehicle control system half is indispensable technological means in carrier rocket development process, Test report is that the process of Hardware-in-loop Simulation Experimentation is summarized, and is important symbol and assess subjects that test mission is completed Important evidence.One of main contents of test report are the statistics to result of the test.
Test report is united to the various kinds of equipment used in process of the test, trystate and result of the test, test data Meter result etc. is recorded in the form of tabular.Because the combinations of states of checking is many required for experiment every time, therefore produce Result of the test data file have hundreds and thousands of or even thousands of, each result of the test data file is referred to as a curve, And one result of the test data number of correspondence.Needed in test report the examination produced under trystate and the trystate Test result data numbering to be arranged, for the analysis to result of the test data.If trystate and result of the test data are compiled Number correspondence mistake can then cause the analysis result of mistake, produce the conclusion of mistake.Manual type was taken to enter result of the test in the past Row arranges and then writes test report and then causes cumbersome low-level repetition work, generally requires 5 day for human beings of consuming, Er Qierong It is error-prone.
The content of the invention
The technical problems to be solved by the invention are:A kind of Hardware-in-the-Loop Simulation in Launch Vehicle pilot system is provided And method, can fast and automatically generate l-G simulation test report, it is ensured that the uniformity of result of the test data and trystate.
The technical scheme is that:
A kind of Hardware-in-the-Loop Simulation in Launch Vehicle pilot system, including HWIL simulation module, trystate ginseng Number configuration information file, l-G simulation test database, data interface module and l-G simulation test report generation module;
Trystate parameter configuration file is configured to trystate parameter;
HWIL simulation module includes simulation model file, the trystate parameter number defined in simulation model file Group, simulation model is realized, and trystate parameter and simulation model are associated;HWIL simulation module is imitative by operation True mode file reads in trystate parameter configuration file and obtains trystate parameter, resolves simulation model, produces emulation Result of the test data, and Simulation results data are sent to l-G simulation test database by data interface module;
L-G simulation test database reads trystate parameter configuration file and obtains trystate by data interface module Parameter, l-G simulation test database automatically generates result of the test data number, and l-G simulation test database is obtained by data interface module Simulation results data are obtained, and trystate parameter, result of the test data number and result of the test data are stored;
L-G simulation test report generation module includes l-G simulation test report template and data dictionary;L-G simulation test report template is determined The file structure table of justice l-G simulation test report, data dictionary includes all trystate parameters pair in trystate parameter array The name variable answered, the different value of trystate parameter, the l-G simulation test report corresponding to the different value of trystate parameter Semanteme in announcement;
The file structure table that l-G simulation test report generation module is defined according to l-G simulation test report template is from l-G simulation test number According to trystate parameter and result of the test data number is extracted in storehouse, obtained according to the trystate parameter query data dictionary for extracting Corresponding semanteme is obtained, and the document that corresponding semantic and result of the test data number is defined added to l-G simulation test report template In structural table, l-G simulation test report is ultimately generated.
Trystate parameter array includes the unit state variable HITL used in l-G simulation test, is applied during experiment Bias state variables bias, the fault mode variable fault_type added in l-G simulation test.
Nonserviceable emulation when, the file structure table include sequence number, bias state, unit state, fault mode and Data number.
The data dictionary includes bias state variables bias, value and corresponding semanteme;Unit state variable HITL, take Value and corresponding semanteme, fault mode variable fault_type, value and corresponding semanteme.
A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method, comprises the following steps:
The first step, trystate parameter is set by trystate parameter configuration file;
Second step, the trystate parameter array defined in simulation model file, realizes simulation model, and will test shape State parameter is associated with simulation model;The acquisition of trystate parameter configuration file is read in by running simulation model file Trystate parameter, resolves simulation model, produces Simulation results data;
3rd step, trystate parameter is obtained by reading trystate parameter configuration file, automatically generates experiment knot Trystate parameter, result of the test data number and Simulation results data are stored by fruit data number;
4th step, sets up l-G simulation test report template;L-G simulation test report template defines the document of l-G simulation test report Structural table;
5th step, sets data dictionary;Data dictionary includes all trystate parameters pair in trystate parameter array The name variable answered, the different value of trystate parameter, the l-G simulation test report corresponding to the different value of trystate parameter Semanteme in announcement;
6th step, the file structure table defined according to l-G simulation test report template extracts the trystate of storage and experiment is tied Fruit data number;
7th step, corresponding semanteme is obtained according to the trystate parameter query data dictionary for extracting, and by corresponding language In the file structure table that justice and result of the test data number are defined added to l-G simulation test report template, l-G simulation test is ultimately generated Report.
The present invention compared with prior art, has the following advantages that:
The present invention is by changing trystate parameter configuration file, thus it is possible to vary trystate configuration parameter, so that Realize the switching of l-G simulation test state.By data interface module Simulation results data and l-G simulation test state parameter quilt It is saved in l-G simulation test database.Automatically generated by using data dictionary, test report template and l-G simulation test database Test report;Data dictionary defines trystate parametric variable title, value and semanteme, trystate parametric variable title, Value is applied to realize HWIL simulation tentative module setting to l-G simulation test state, trystate parametric variable value and The semantic corresponding literal translation for constituting l-G simulation test state, the digital direct used in HWIL simulation module is translated into l-G simulation test In form that is semantic and writing l-G simulation test report in report;So as to can fast and automatically generate l-G simulation test report Simultaneously, it is ensured that the uniformity of result of the test data and trystate.
Brief description of the drawings
Fig. 1 is Semi-Physical Simulation Test System pie graph of the invention.
Fig. 2 is Method of Hardware flow chart of the invention.
Specific embodiment
As shown in figure 1, Hardware-in-the-Loop Simulation in Launch Vehicle pilot system includes HWIL simulation module, experiment shape State parameter configuration file, l-G simulation test database, data interface module and l-G simulation test report generation module.
HWIL simulation module includes simulation model file, the trystate parameter number defined in simulation model file Group, simulation model is realized, and trystate parameter and simulation model are associated.HWIL simulation module is imitative by operation True mode file reads in trystate parameter configuration file and obtains trystate parameter, resolves simulation model, produces emulation Result of the test data, and Simulation results data are sent to l-G simulation test database by data interface module.The examination State parameter array is tested for example including the unit state variable HITL used in l-G simulation test, the deviation shape applied during experiment State variable bias, the fault mode variable fault_type added in l-G simulation test.The simulation model of carrier space vehicle control system Including rocket body motion model, control law model, used group model, Servomechanism model etc..For example, in control law model, making a0 =(1+0.2*bias) * a0, when deviation variables bias is taken as 1, are then changed into initial set value by the static gain a0 in control law 1.2 times, it is achieved thereby that control law model and trystate are associated.
Trystate parameter configuration file is configured to trystate parameter.For example give unit state variable HITL 0 is entered as, bias state variables bias is entered as 1, and fault mode variable fault_type is entered as 2.
Storage of the l-G simulation test database realizing to HWIL simulation result of the test, Hardware-in-loop Simulation Experimentation result includes examination Test state, result of the test data number and result of the test data.L-G simulation test database is read by data interface module and tested State parameter configuration information file, and carry out parsing acquisition trystate.Result of the test data number is matched somebody with somebody in trystate parameter Put message file setting.Result of the test data come from HWIL simulation module.
L-G simulation test report generation module includes l-G simulation test report template and data dictionary;L-G simulation test report template Define the file structure table of l-G simulation test report;Data dictionary includes all trystate parameters in trystate parameter array Corresponding name variable, the different value of trystate parameter, the l-G simulation test corresponding to the different value of trystate parameter Semanteme in report;Realize the pass of the trystate parameter and trystate in l-G simulation test report in l-G simulation test database Connection.
The file structure table that l-G simulation test report generation module is defined according to l-G simulation test report template is from l-G simulation test number According to trystate parameter and result of the test data number is extracted in storehouse, obtained according to the trystate parameter query data dictionary for extracting Corresponding semanteme is obtained, and the document that corresponding semantic and result of the test data number is defined added to l-G simulation test report template In structural table, l-G simulation test report is ultimately generated.
As shown in Fig. 2 being based on above-mentioned Semi-Physical Simulation Test System, carrier space vehicle control system of the invention half is in kind imitative True test method comprises the following steps:
(1) trystate parameter is set by trystate parameter configuration file.
0 for example is entered as to unit state variable HITL, bias state variables bias is entered as 1, fault mode variable Fault_type is entered as 2.
(2) simulation model file is run by HWIL simulation module and reads in the acquisition of trystate parameter configuration file Trystate parameter, resolves simulation model, produces Simulation results data, and Simulation results data are connect by data Mouth mold block is sent to l-G simulation test database.
(3) l-G simulation test database reads trystate parameter configuration file by data interface module, and is solved Analysis obtains trystate, and l-G simulation test database automatically generates result of the test data number, and l-G simulation test database passes through data Interface module obtains Simulation results data, and realizes to trystate, result of the test data number and result of the test data Storage.
(4) l-G simulation test report template is set up
Purpose according to experiment sets up test report template, the test report template definition file structure of test report Table.For example, nonserviceable emulation when, the file structure table of the test report template set up as shown in table 1, including sequence number, Data number, bias state, unit state and fault mode.
The file structure table of table 1
Sequence number Bias state Unit state Fault mode Data number
(5) data dictionary is set
The bias state applied when having used " bias " this variable to represent experiment in trystate parameter.Parameter Value is -1,0,1, wherein -1 represents minus deviation, 0 represents zero deflection, and 1 represents overgauge.The then data dictionary form of this parameter For:
Name variable Value It is semantic
bias -1 Minus deviation
bias 0 Zero deflection
bias 1 Overgauge
" HITL " this variable has been used to represent the unit state used in l-G simulation test in trystate parameter.Ginseng Several values is 0,1,2, wherein 0 represents that mathematics, 1 represent that half is in kind, 2 represent in kind, then the data dictionary form of this parameter is:
Name variable Value It is semantic
HITL 0 Mathematics
HITL 1 Half is in kind
HITL 2 It is in kind
" fault_type " this variable has been used to represent fault mode in trystate parameter.The value of parameter be 1, 2, wherein the intermediate scheme 2 of 1 intermediate scheme 1,2, then the data dictionary form of this parameter is:
Name variable Value It is semantic
fault_type 1 Pattern 1
fault_type 2 Pattern 2
(6) the file structure table that l-G simulation test report generation module is defined according to l-G simulation test report template is tried from emulation Test extraction trystate and result of the test data number in database.
Nonserviceable emulation when, in l-G simulation test database store trystate and result of the test data number information It is as follows:
Result of the test bias values are that 1, HITL values are that 1, fault_type values are that the 1 result of the test data for obtaining are compiled Number it is:2013010201, bias values are that 1, HITL values are that 1, fault_type values are that the 2 result of the test data for obtaining are compiled Number it is:2013010202, bias values are -1, HITL values for 1, fault_type values are the 1 result of the test data for obtaining Numbering is:2013010203rd, bias values are -1, HITL values for 1, fault_type values are the 2 result of the test numbers for obtaining It is according to numbering:2013010204.
(7) l-G simulation test report generation module obtains corresponding semanteme according to the trystate inquiry data dictionary for extracting, And corresponding semantic and data number is added in the file structure table of test report template definition, ultimately generate l-G simulation test Report is as shown in table 2.
The l-G simulation test of table 2 is reported
Sequence number Bias state Unit state Fault mode Data number
1 Overgauge Half is in kind Pattern 1 2013010201
2 Overgauge Half is in kind Pattern 2 2013010202
3 Minus deviation Half is in kind Pattern 1 2013010203
4 Minus deviation Half is in kind Pattern 2 2013010204

Claims (1)

1. a kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method, it is characterised in that comprise the following steps:
The first step, trystate parameter is set by trystate parameter configuration file;
Second step, the trystate parameter array defined in simulation model file, realizes simulation model, and trystate is joined Number is associated with simulation model;Tested by running simulation model file reading trystate parameter configuration file State parameter, resolves simulation model, produces Simulation results data;
3rd step, trystate parameter is obtained by reading trystate parameter configuration file, automatically generates result of the test number According to numbering, trystate parameter, result of the test data number and Simulation results data are stored;
4th step, sets up l-G simulation test report template;L-G simulation test report template defines the file structure of l-G simulation test report Table;
5th step, sets data dictionary;All trystate parameters are corresponding during data dictionary includes trystate parameter array Name variable, the different value of trystate parameter, in the l-G simulation test report corresponding to the different value of trystate parameter Semanteme;
6th step, the file structure table defined according to l-G simulation test report template extracts the trystate and result of the test number of storage According to numbering;
7th step, corresponding semanteme is obtained according to the trystate parameter query data dictionary for extracting, and by corresponding semantic and In the file structure table that result of the test data number is defined added to l-G simulation test report template, l-G simulation test report is ultimately generated Accuse.
CN201510191279.0A 2015-04-21 2015-04-21 A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method Active CN104898461B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510191279.0A CN104898461B (en) 2015-04-21 2015-04-21 A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510191279.0A CN104898461B (en) 2015-04-21 2015-04-21 A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method

Publications (2)

Publication Number Publication Date
CN104898461A CN104898461A (en) 2015-09-09
CN104898461B true CN104898461B (en) 2017-06-27

Family

ID=54031180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510191279.0A Active CN104898461B (en) 2015-04-21 2015-04-21 A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method

Country Status (1)

Country Link
CN (1) CN104898461B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250623B (en) * 2016-08-01 2019-05-24 上海航天控制技术研究所 A kind of semi physical rapid simulation method steadily switched based on state
CN106707791B (en) * 2016-08-31 2019-10-08 上海航天控制技术研究所 The synchronous evaluation system of Hardware-in-the-Loop Simulation in Launch Vehicle and method
CN106844822B (en) * 2016-11-15 2020-09-18 北京宇航系统工程研究所 Carrier rocket semi-physical simulation method supporting rapid virtual-real interchange
CN106595760B (en) * 2016-12-08 2019-04-02 上海宇航系统工程研究所 A kind of design method of launch vehicle telemetry action data automation
CN107065594A (en) * 2017-01-12 2017-08-18 上海航天控制技术研究所 A kind of carrier rocket six degree of freedom distributed semi physical simulation method and system
CN107132771B (en) * 2017-03-31 2018-07-20 北京蓝箭空间科技有限公司 A kind of carrier rocket flight quality efficient emulation verification method
CN108959231B (en) * 2018-07-26 2022-06-28 南京越博动力系统股份有限公司 Pure electric vehicle simulation report generation method and device based on configurable model
CN111176310B (en) * 2019-12-31 2020-09-08 北京星际荣耀空间科技有限公司 Test method, device and system for carrier rocket attitude control system
CN112182867B (en) * 2020-09-21 2023-02-17 上海机电工程研究所 Aircraft hybrid simulation test method and system
CN112364613B (en) * 2020-10-30 2024-05-03 中国运载火箭技术研究院 Automatic generation system for aircraft test data interpretation report
CN113608452A (en) * 2021-10-09 2021-11-05 星河动力(北京)空间科技有限公司 Semi-physical simulation platform for reusing carrier rocket navigation system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008023955A1 (en) * 2008-05-16 2009-11-19 Kuka Roboter Gmbh Method for simulation of event and execution of air, land or water vehicle, involves operating non-real time simulation program on computer for production of simulation control data
CN202854299U (en) * 2012-08-09 2013-04-03 河南许继工控系统有限公司 Wind power generation simulation experiment system
CN103631147A (en) * 2013-07-31 2014-03-12 南车青岛四方机车车辆股份有限公司 Train network control system semi-physical comprehensive simulation test platform and test method
CN103926848A (en) * 2014-05-05 2014-07-16 上海新跃仪表厂 Satellite simulation system and data synchronizing method of satellite simulation system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7412361B2 (en) * 2003-05-22 2008-08-12 Honeywell International Inc. Method and apparatus for prognosticating performance of a dynamic system influenced by planned human activities

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102008023955A1 (en) * 2008-05-16 2009-11-19 Kuka Roboter Gmbh Method for simulation of event and execution of air, land or water vehicle, involves operating non-real time simulation program on computer for production of simulation control data
CN202854299U (en) * 2012-08-09 2013-04-03 河南许继工控系统有限公司 Wind power generation simulation experiment system
CN103631147A (en) * 2013-07-31 2014-03-12 南车青岛四方机车车辆股份有限公司 Train network control system semi-physical comprehensive simulation test platform and test method
CN103926848A (en) * 2014-05-05 2014-07-16 上海新跃仪表厂 Satellite simulation system and data synchronizing method of satellite simulation system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"YH-F1仿真系统中的信息管理子系统";陈月仙;《航天控制》;19950430(第2期);正文第69-73页 *

Also Published As

Publication number Publication date
CN104898461A (en) 2015-09-09

Similar Documents

Publication Publication Date Title
CN104898461B (en) A kind of Hardware-in-the-Loop Simulation in Launch Vehicle test method
CN106527757A (en) Input error correction method and apparatus
CN105893482A (en) Engine test data fully-automatic extracting and Word report generating method
WO2009000366A1 (en) Method for testing a mobile radio device
CN105955887A (en) Test data generation method and system
Abrahams et al. Signal Flow Analysis: The Commonwealth and International Library: Electrical Engineering Division
CN104834510A (en) Method and device for generating CAN (Controller Area Network) protocol code source file
EP3650970B1 (en) Method and device for the computer-assisted simulation of a modular technical system
DE10296464T5 (en) Method and device for validating the design of complex integrated circuits
JP5048748B2 (en) Test table generation apparatus and test table generation method
CN109388402A (en) Lightweight Josn format analytical tool based on Android platform
CN104090995B (en) The automatic generation method of rebar unit grids in a kind of ABAQUS tire models
Taholakian et al. PN PLC: A methodology for designing, simulating and coding PLC based control systems using Petri nets
CN112686375A (en) Neural network model generation method and device
DE102017117322A1 (en) Method for producing a semiconductor component by means of computer-aided design of test scenarios
CN104317913B (en) The screening technique of combinations of attributes and the screening plant of combinations of attributes
CN107066376A (en) A kind of automatic test verification method tested for GUI
EP3413487B1 (en) Channel-adaptive error-detecting codes with guaranteed residual error probability
KR102401024B1 (en) Railroad simulator for hardware and software intetration
US20210294293A1 (en) Information processing apparatus, information processing method, production system, article manufacturing method and storage medium
JP6029712B2 (en) Method for identifying the value of an unknown circuit component in an analog circuit
CN111506998B (en) Method for constructing parameter drift fault feature sample library in manufacturing process of electromechanical product
CN106874178A (en) A kind of flight control system BIT automated testing method abstract based on object
CN107729611B (en) Aircraft wind tunnel test data scripted processing system and method
WO2002021344A2 (en) Method and arrangement for the comparison of technical systems by means of system replacements

Legal Events

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