[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN103678129A - Electromechanical system software fault injection method based on time triggering - Google Patents

Electromechanical system software fault injection method based on time triggering Download PDF

Info

Publication number
CN103678129A
CN103678129A CN201310689213.5A CN201310689213A CN103678129A CN 103678129 A CN103678129 A CN 103678129A CN 201310689213 A CN201310689213 A CN 201310689213A CN 103678129 A CN103678129 A CN 103678129A
Authority
CN
China
Prior art keywords
fault
time
fault injection
injection
injected
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.)
Pending
Application number
CN201310689213.5A
Other languages
Chinese (zh)
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.)
AVIC No 631 Research Institute
Original Assignee
AVIC No 631 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 AVIC No 631 Research Institute filed Critical AVIC No 631 Research Institute
Priority to CN201310689213.5A priority Critical patent/CN103678129A/en
Publication of CN103678129A publication Critical patent/CN103678129A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides an electromechanical system software fault injection method based on time triggering. Faults to be injected are classified in a fault injection system, an isolated fault injection list is complied for each type of faults and a fault injection counter is arranged in the fault injection system; steps such corresponding fault injection codes are set in terms of each type of faults, software fault injection can be performed on the basis that the real-time performance of an original program task is not affected; according to the time triggering, the fault injection process can be automatically performed. The electromechanical system software fault injection method based on time triggering can be used for improving the efficiency of fault injection of an electromechanical system, a verification test on the fault-tolerant ability of the machine-loaded electromechanical system has universality and the interference in the fault injection test by testing personnel is relieved.

Description

A kind of Mechatronic Systems software fault method for implanting triggering based on the time
Technical field
The invention belongs to airborne Electromechanical Management subsystem, relate to a kind of Mechatronic Systems software fault method for implanting triggering based on the time.
Background technology
Due to the increasingly sophisticated property of aircraft Mechatronic Systems, the difficulty of their control and management is also increased thereupon, Electromechanical Management subsystem must have higher fault-tolerant and troubleshooting capability to guarantee the reliability of system.Yet, the quality of Mechatronic Systems self fault tolerant mechanism can only be detected and be verified at the system Shi Caineng that breaks down, therefore, develop a kind of simple and easy to do, effectively very necessary to the mobile system method that particularly Reliability of Airborne Electromechanical Systems and failure tolerance thereof are evaluated and tested.In the past, the fault that the examination of Mechatronic Systems fault-tolerant ability is often depended on to hardware is injected, in actual application, to some destructive faults, often cannot inject (as electric power system short trouble, acquisition channel BIT fault etc.), cause the fault type of injection insufficient.And software fault method for implanting based on man-machine interaction, often efficiency is lower, and is not suitable for the higher and real-time Mechatronic Systems of complicacy, simultaneously, no matter hardware method for implanting or the software pouring method based on man-machine interaction, all need testing crew to have higher technical capability level.Under the overall background of aircraft electrical and mechanical comprehensive, be badly in need of a kind of simple and reliable, software fault method for implanting that can cover full functional failure of electromechanical type of being applicable to Mechatronic Systems of development.And software fault method for implanting based on time trigger mechanism, can robotization complete fault injection process, meet Mechatronic Systems requirement of real-time, reduce the dependence of test to hardware and human resources, effectively improve verification efficiency and level.
Summary of the invention
Lower in order to solve the insufficient efficiency of fault type that existing fault injection system injects, and be not suitable for the technical matters of the higher and real-time Mechatronic Systems of complicacy, the invention provides a kind of Mechatronic Systems software fault method for implanting based on time triggering.
Technical solution of the present invention is as follows:
A Mechatronic Systems software fault method for implanting based on the time triggers, its special character is: comprise the following steps:
1] failure modes and configuration
A] in fault injection system, the fault that will inject is classified;
B] every class fault establishment fault is injected to table, whether described fault injection table comprises fault ID, fault title, start-up time, duration and activates;
C] fault is set in fault injection system injects counter;
D] for dissimilar fault, corresponding fault injecting codes is set;
2] fault is injected
2.1] operation real-time task software;
2.2] fault to this less important injection, carries out the initial work of fault injection table;
2.3] start fault injecting program task;
2.4] fault that before inquiry, initialization is good is injected table, and start-up time and the duration of this fault is set according to fault injection table; The described duration meets fault and injects the needed shortest time;
2.5] judge whether the counter time arrive this fault and inject start-up time, if so, carry out fault injecting codes, otherwise, continue to wait for; Whether the duration of failure judgement reaches fault continues, and if so, stops fault and injects; If not, continuing fault injects;
Also comprise step 2.6], fault evaluation system injects result to fault and gathers comparative analysis, confirms the whether correct step of fault treating procedure.
Also comprise step 2.7], fault handling object information is injected on computing machine and prints and show in fault.
In order to improve the search efficiency of fault injection table, what fault injection table of the present invention was used is Hash table.
Compared with prior art, advantage is in the present invention:
1, the present invention can be used in airborne management subsystem, can on original program task real-time basis, carry out software fault injection not affecting, trigger according to the time, robotization complete fault injection process.Thereby improve the efficiency that Mechatronic Systems fault is injected, the demonstration test of Airborne Electromechanical Systems fault-tolerant ability is had to universality, and reduced the intervention degree of testing crew to fault injection test.
2, the present invention has reduced the dependence of fault injection test to hardware resource, can complete the covering to Mechatronic Systems total failure type; To the destructive malfunction that cannot inject, can complete by the method;
3, simplicity of design of the present invention, dependable performance, can conveniently carry out the system integration, and Electromechanical Management subsystem is carried out to fault-tolerant ability checking.
4, the present invention can reduce fault injection test hardware and cost of human resources.
Accompanying drawing explanation
Fig. 1 fault is injected process flow diagram;
Fig. 2 fault injection system schematic diagram.
Embodiment
UMS system is by operation real-time task software collection external interface information, fault injection system is according to the different fault types real-time injection UMS real-time task software of the fault by different regularly, afterwards, UMS real-time task software is to the corresponding fault handling of injected fault, after collecting comprehensively by fault injection evaluation system to fault handling information, this fault is injected and evaluated and tested, and inject computer printout demonstration result by fault.
Fault injection system mainly comprises content below:
The fault type that will inject is classified, be mainly divided into the types such as two remaining discrete magnitude input faults, the two remaining discrete magnitude input faults of I/O, the two remaining analog input faults of logic, two remaining discrete magnitude output fault, the input of single remaining discrete magnitude, the output of single remaining discrete magnitude, bus failure and node machine fault.Meanwhile, for different fault type establishment fault, inject table (fault is injected table and used Hash table, improves search efficiency), fault injection table comprises: fault ID, fault name, start-up time, duration and the attribute such as whether activate.
All faults are carried out to the editor of fault injection table according to fault type, mainly to inject start-up time and duration according to type design fault ID, fault name, fault under fault, here need emphasis consider every kind fault-time characteristic, the designed duration should be able to meet fault and inject the required shortest time.
Design error failure function of injecting module, in this module, be designed with fault and inject counter, after upgrading, counter retrieves from fault injection table the fault that clocking value is identical with start-up time, and the fault injection process of calling corresponding failure is carried out fault injection, the fault injection of this kind of fault of cancellation after trouble duration arrives.
The fault injection process of design different faults type, for different faults, designs respectively corresponding fault injection process.
Fault injecting principle is as follows:
1, operation Electromechanical Management computing machine (UMC) real-time task software;
2, the fault (as power supply short circuit fault, cpu fault etc.) of this less important injection is carried out the initial work of fault injection table, comprise the information such as fault ID that fault injects, fault title, start-up time, duration;
3, by real-time task scheduler, start fault injecting program task;
4, before inquiry, the good fault of initialization is injected table, according to fault characteristic (if fault ID is 1001, fault title: power supply short circuit fault, start-up time: 300, trouble duration: start-up time and duration that 5) this fault is set;
Note: be relative time start-up time, system starts counter after powering on and moving, fault injection task is that every 100ms moves once, the every 100ms of counter cumulative 1, be 300 start-up time, be that Counter Value is 300, the time be system power on operation 100ms * 300=30000ms(be start-up time system power on operation 30s after); Trouble duration is 5 * 100ms=500ms.
6, whether the query counts device time arrives this fault and injects start-up time, if time is up, carries out fault injecting codes, otherwise continues to wait for; After trouble duration arrives, stop fault and inject;
8, according to said process, inject dissimilar fault successively;
9, fault evaluation system compares analysis to injecting fault handling result, confirms that whether fault treating procedure is correct;
10, fault handling object information is injected on computing machine and prints and show in fault, for tester, check.

Claims (4)

1. the Mechatronic Systems software fault method for implanting triggering based on the time, is characterized in that: comprise the following steps:
1] failure modes and configuration
A] in fault injection system, the fault that will inject is classified;
B] every class fault establishment fault is injected to table, whether described fault injection table comprises fault ID, fault title, start-up time, duration and activates;
C] fault is set in fault injection system injects counter;
D] for dissimilar fault, corresponding fault injecting codes is set;
2] fault is injected
2.1] operation real-time task software;
2.2] fault to this less important injection, carries out the initial work of fault injection table;
2.3] start fault injecting program task;
2.4] fault that before inquiry, initialization is good is injected table, and start-up time and the duration of this fault is set according to fault injection table; The described duration meets fault and injects the needed shortest time;
2.5] judge whether the counter time arrive this fault and inject start-up time, if so, carry out fault injecting codes, otherwise, continue to wait for; Whether the duration of failure judgement reaches fault continues, and if so, stops fault and injects; If not, continuing fault injects.
2. the Mechatronic Systems software fault method for implanting triggering based on the time according to claim 1, it is characterized in that: also comprise step 2.6], fault evaluation system injects result to fault and gathers comparative analysis, confirms the whether correct step of fault treating procedure.
3. the Mechatronic Systems software fault method for implanting triggering based on the time according to claim 2, is characterized in that: also comprise step 2.7], fault handling object information is injected on computing machine and prints and show in fault.
4. according to the Mechatronic Systems software fault method for implanting based on time triggering described in claim 1 or 2 or 3, it is characterized in that: what described fault injection table was selected is Hash table.
CN201310689213.5A 2013-12-14 2013-12-14 Electromechanical system software fault injection method based on time triggering Pending CN103678129A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310689213.5A CN103678129A (en) 2013-12-14 2013-12-14 Electromechanical system software fault injection method based on time triggering

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310689213.5A CN103678129A (en) 2013-12-14 2013-12-14 Electromechanical system software fault injection method based on time triggering

Publications (1)

Publication Number Publication Date
CN103678129A true CN103678129A (en) 2014-03-26

Family

ID=50315763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310689213.5A Pending CN103678129A (en) 2013-12-14 2013-12-14 Electromechanical system software fault injection method based on time triggering

Country Status (1)

Country Link
CN (1) CN103678129A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052422A (en) * 2017-11-08 2018-05-18 北京旋极信息技术股份有限公司 A kind of fault filling method and system, control device and direct fault location management system
CN108614764A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 IMA application software fault filling methods
CN110413398A (en) * 2019-08-06 2019-11-05 中国工商银行股份有限公司 Method for scheduling task, device, computer equipment and storage medium
CN111448553A (en) * 2017-12-08 2020-07-24 华为技术有限公司 Fault injection system and fault injection method
CN112558587A (en) * 2020-12-02 2021-03-26 华中科技大学 Fault injection method based on data acquisition unit
CN113031564A (en) * 2021-03-05 2021-06-25 西安交通大学 Method for verifying fault tolerance of aircraft engine controller in loop

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046639B1 (en) * 2010-07-29 2011-10-25 Oracle International Corporation Cycle accurate fault log modeling for a digital system
CN102288398A (en) * 2011-05-16 2011-12-21 南京航空航天大学 Momentum wheel fault detection device and method based on support vector machine
US20120144244A1 (en) * 2010-12-07 2012-06-07 Yie-Fong Dan Single-event-upset controller wrapper that facilitates fault injection
CN103235591A (en) * 2013-03-25 2013-08-07 中国航空工业集团公司沈阳飞机设计研究所 Online fault injection method on basis of combination of hardware fault injection and software fault injection

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8046639B1 (en) * 2010-07-29 2011-10-25 Oracle International Corporation Cycle accurate fault log modeling for a digital system
US20120144244A1 (en) * 2010-12-07 2012-06-07 Yie-Fong Dan Single-event-upset controller wrapper that facilitates fault injection
CN102288398A (en) * 2011-05-16 2011-12-21 南京航空航天大学 Momentum wheel fault detection device and method based on support vector machine
CN103235591A (en) * 2013-03-25 2013-08-07 中国航空工业集团公司沈阳飞机设计研究所 Online fault injection method on basis of combination of hardware fault injection and software fault injection

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
彭俊杰等: "一种用于星载系统可靠性评测的软件故障注入工具", 《宇航学报》 *
蒋支运等: "软件实现的无人机故障注入系统", 《哈尔滨工业大学学报》 *

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108614764A (en) * 2016-12-12 2018-10-02 中国航空工业集团公司西安航空计算技术研究所 IMA application software fault filling methods
CN108614764B (en) * 2016-12-12 2021-09-14 中国航空工业集团公司西安航空计算技术研究所 IMA application software fault injection method
CN108052422A (en) * 2017-11-08 2018-05-18 北京旋极信息技术股份有限公司 A kind of fault filling method and system, control device and direct fault location management system
CN111448553A (en) * 2017-12-08 2020-07-24 华为技术有限公司 Fault injection system and fault injection method
CN111448553B (en) * 2017-12-08 2021-11-09 华为技术有限公司 Fault injection system and fault injection method
US11307947B2 (en) 2017-12-08 2022-04-19 Huawei Technologies Co., Ltd. Fault injection system and method of fault injection
CN110413398A (en) * 2019-08-06 2019-11-05 中国工商银行股份有限公司 Method for scheduling task, device, computer equipment and storage medium
CN112558587A (en) * 2020-12-02 2021-03-26 华中科技大学 Fault injection method based on data acquisition unit
CN113031564A (en) * 2021-03-05 2021-06-25 西安交通大学 Method for verifying fault tolerance of aircraft engine controller in loop
CN113031564B (en) * 2021-03-05 2022-04-01 西安交通大学 Method for verifying fault tolerance of aircraft engine controller in loop

Similar Documents

Publication Publication Date Title
CN103678129A (en) Electromechanical system software fault injection method based on time triggering
CN103163397B (en) Universal analog quantity plate detection system for nuclear plant and method
EP3460686A1 (en) Automated analog fault injection
CN103568863A (en) Real-time monitoring diagnostic system and diagnostic method for electromobile battery management system
CN104484255B (en) A kind of verification system level single-particle soft error misses the direct fault location device of protective capacities
CN103064770B (en) Dual-process redundancy transient fault tolerating method
CN103235591B (en) A kind of online fault filling method combined based on hardware and software direct fault location
CN105425201A (en) Metering chip simulation test method used for intelligent electric energy meter software reliability detection
CN103605596B (en) System and method for collaborative power management of FPGA (field programmable gata array) chip and BMC (baseboard management controller) chip used on ATCA (advanced telecom computing architecture) blade
CN106873990A (en) Multi partition bootstrap technique under embedded system RAM defective patterns
US10210291B2 (en) Apparatus and method for analyzing power system
Zhang et al. Approach for integrated modular avionics reconfiguration modelling and reliability analysis based on AADL
CN106294036A (en) A kind of hardware fault verification method, device and client
CN103810069A (en) Verification platform and verification method for ARINC659 bus fault-tolerant circuit
Paulsson et al. Methods for run-time failure recognition and recovery in dynamic and partial reconfigurable systems based on Xilinx Virtex-II Pro FPGAs
Yang Software safety testing based on STPA
Carreira et al. Why do some (weird) people inject faults?
Gu et al. A qualitative safety analysis method for AADL model
Jeppesen et al. Enhancing functional safety in FPGA‐based motor drives
CN106896792B (en) Method of data synchronization and device
Straka et al. Modern fault tolerant architectures based on partial dynamic reconfiguration in fpgas
CN103559134A (en) Configuration method and device for benchmark test component
Yang et al. A combination method for integrated modular avionics safety analysis
CN105404278A (en) Safety-critical software health management method
CN107024647B (en) The TBS whole group of dry run operating condition triggers test method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140326