CN113806218B - Fault comprehensive logic judgment optimization method - Google Patents

Fault comprehensive logic judgment optimization method Download PDF

Info

Publication number
CN113806218B
CN113806218B CN202110951122.9A CN202110951122A CN113806218B CN 113806218 B CN113806218 B CN 113806218B CN 202110951122 A CN202110951122 A CN 202110951122A CN 113806218 B CN113806218 B CN 113806218B
Authority
CN
China
Prior art keywords
fault
faults
alarm mode
comprehensive
logic
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
CN202110951122.9A
Other languages
Chinese (zh)
Other versions
CN113806218A (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.)
Xian Aviation Brake Technology Co Ltd
Original Assignee
Xian Aviation Brake 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 Xian Aviation Brake Technology Co Ltd filed Critical Xian Aviation Brake Technology Co Ltd
Priority to CN202110951122.9A priority Critical patent/CN113806218B/en
Publication of CN113806218A publication Critical patent/CN113806218A/en
Application granted granted Critical
Publication of CN113806218B publication Critical patent/CN113806218B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3668Software testing
    • G06F11/3672Test management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/327Alarm or error message display
    • 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 invention discloses a fault comprehensive logic judgment optimization method, which comprises the steps of setting different weighting coefficients for each fault information according to different alarm types caused by faults, and summing the fault weighting processes; and then determining a final fault alarm according to the fault weighted sum. The method converts the logic judgment into the numerical judgment, and is simple and efficient; the condition of logic judgment is greatly reduced, branch sentences are reduced, and the code reliability is improved; the code is simplified, and the safety is improved.

Description

Fault comprehensive logic judgment optimization method
Technical Field
The invention belongs to the technical field of aircraft brake, and particularly relates to a fault judgment optimization method.
Background
To improve the reliability of electronic devices, more and more detection techniques are applied in the design, thereby generating more and more fault information. The basic fault information is comprehensively judged to form higher-level comprehensive fault information, the higher-level comprehensive fault information is uploaded to an electromechanical management computer, and finally, a pilot is prompted to make corresponding processing in an alarm mode.
Taking an airplane brake control unit as an example, the system detects accessories such as an instruction sensor, a servo valve, a cut-off valve and the like, a pressure loop and a power supply, and generates fault information which is to be synthesized into a fault alarm mode such as a brake channel fault, a positive/negative driving failure, half brake loss, brake failure and the like. For multi-wheel systems, the number of accessories and channels is numerous, the number of fault information is tens, and the number of basic fault combination logics corresponding to the same alarm is thousands. The traditional fault comprehensive logic adopts condition judgment sentences, the judgment conditions in each judgment sentence are up to dozens, and the judgment branches are also up to dozens. Such a code structure is too cumbersome and complex, which is detrimental to efficient execution and security of the code, and also increases the workload of software testing.
The patent CN104699067A 'a comprehensive system fault declaration processing method' proposes to use a state matrix mode to process the faults of the fly-by-wire control system. The method only declares the fault information of each subsystem according to a unified format for processing, and does not relate to a judging method for synthesizing basic fault information into higher-level fault information according to certain logic.
Disclosure of Invention
In order to overcome the defects of the prior art and inconvenient software implementation, the invention provides a fault comprehensive logic judgment optimization method, which sets different weighting coefficients for each fault information according to different alarm types caused by faults, and sums the fault weighted processing; and then determining a final fault alarm according to the fault weighted sum. The method converts the logic judgment into the numerical judgment, and is simple and efficient; the condition of logic judgment is greatly reduced, branch sentences are reduced, and the code reliability is improved; the code is simplified, and the safety is improved.
The technical scheme adopted by the invention for solving the technical problems comprises the following steps:
step 1: designing a fault comprehensive logic table;
listing logic combinations of all basic faults according to an alarm mode to complete a fault comprehensive logic table; assuming that there are 1 a fault, 1 b fault and n c faults in the aircraft control system, and these faults are integrated into three alarm modes, namely alarm mode 1, alarm mode 2 and alarm mode 3, the fault integrated logic table is shown in table 1:
table 1 fault synthesis logic table
Figure GDA0004158156120000021
/>
In the table- -representing any significant value;
step 2: determining a weighting coefficient;
determining a weighting coefficient according to the relation between the number of basic faults and the comprehensive faults; as shown in table 1, one fault a or one fault b and n faults c are integrated into an alarm mode 2, so that the fault level of the fault a and the fault b is higher than that of the fault c, the weighting coefficient of the fault a and the fault b is set to be 2n, and the weighting coefficient of the fault c is set to be 1;
step 3: the weighted summation synthesizes faults;
judging a fault comprehensive result according to the weighted sum of the faults in the table 1 to obtain a table 2:
table 2 fault weighted summation
Figure GDA0004158156120000022
From table 2, the final fault comprehensive result can be obtained by judging the numerical relation of the final weighted result; when the fault weighted sum is smaller than n, the alarm mode 1 is the alarm mode 2 when the fault weighted sum is larger than or equal to n and smaller than 4n, and the alarm mode 3 when the fault weighted sum is larger than or equal to 4 n.
The beneficial effects of the invention are as follows:
the invention carries out weighting treatment according to the influence caused by the fault; the logic judgment is converted into the numerical judgment, so that the method is simpler and more efficient; the logic judgment conditions are greatly reduced, branch sentences are reduced, the circle complexity of software design is remarkably reduced, and the testability and the safety of the software are greatly improved.
Drawings
FIG. 1 is a diagram showing steps for implementing the weighted sum determination method of the present invention.
FIG. 2 is a software flow chart comparing a conventional judging method with the weighted sum judging method of the present invention. Wherein (a) is a flow chart of a traditional judging method and (b) is a flow chart of a method of the invention.
FIG. 3 is a comparison of software code testing for a conventional judgment method and a weighted sum judgment method of the present invention. Wherein (1) the traditional judging method software code test result and (b) the method software code test result.
Detailed Description
The invention will be further described with reference to the drawings and examples.
In order to overcome the defects of the traditional fault comprehensive treatment, the invention provides a comprehensive mode of fault weighted summation. According to the method, different weighting coefficients are set for each piece of fault information according to different alarm types caused by faults, and then the fault weighting processing is carried out and then the sum is carried out. And judging a final fault alarm mode according to the fault weighted sum.
As shown in fig. 1, a fault comprehensive logic judgment optimization method includes the following steps:
step 1: designing a fault comprehensive logic table;
listing logic combinations of all basic faults according to an alarm mode to complete a fault comprehensive logic table; assuming that there are 1 a fault, 1 b fault and n c faults in the aircraft control system, and these faults are integrated into three alarm modes, namely alarm mode 1, alarm mode 2 and alarm mode 3, the fault integrated logic table is shown in table 1:
table 1 fault synthesis logic table
Figure GDA0004158156120000031
In the table- -representing any significant value;
step 2: determining a weighting coefficient;
determining a weighting coefficient according to the relation between the number of basic faults and the comprehensive faults; as shown in table 1, one fault a or one fault b and n faults c are integrated into an alarm mode 2, so that the fault level of the fault a and the fault b is higher than that of the fault c, the weighting coefficient of the fault a and the fault b is set to be 2n, and the weighting coefficient of the fault c is set to be 1;
step 3: the weighted summation synthesizes faults;
judging a fault comprehensive result according to the weighted sum of the faults in the table 1 to obtain a table 2:
table 2 fault weighted summation
Figure GDA0004158156120000041
From table 2, the final fault comprehensive result can be obtained by judging the numerical relation of the final weighted result; when the fault weighted sum is smaller than n, the alarm mode 1 is the alarm mode 2 when the fault weighted sum is larger than or equal to n and smaller than 4n, and the alarm mode 3 when the fault weighted sum is larger than or equal to 4 n.
Specific examples:
the following describes in detail the implementation of the steps in connection with the integrated logic of half brake loss and complete brake failure of a 12-wheel aircraft brake system.
1. Designing a fault comprehensive logic table;
the number of the wheels in the 12-wheel aircraft braking system is one, and the number of the wheels is three. The two inner side wheels of each row of 4 wheels are one braking channel, and the two outer side wheels are one braking channel, so that the inner side and the outer side are respectively provided with 3 braking channels. The brake control system is used for independently controlling the inner machine wheel and the outer machine wheel and is divided into an inner plate and an outer plate. The failure synthesis logic for losing half of the brake and complete failure of the brake is shown in Table 3
Table 3 fault information and comprehensive logic for brake control system of 12-wheel aircraft
Figure GDA0004158156120000042
2. Determining weighting coefficients
Because the inner plate and the outer plate can respectively cause half brake failure, the total of the failure can cause brake failure, the failure of the inner plate and the outer plate is calculated separately to determine half brake failure, and then the total of the inner plate and the outer plate failure is calculated to judge whether the brake failure is formed or not. The failure of the single board power supply and the failure of the controller of the single board can cause half of the brake alarm to be lost, and the failure of three channels can also cause half of the brake alarm to be lost. Therefore, the weighting coefficients of the power failures of the inner and outer plates and the failures of the inner and outer plate controllers are set to 3, and the weighting coefficients of the other failures are set to 1.
3. Weighted summation and fault synthesis;
and respectively calculating the fault weighted sum of the inner plate and the outer plate. Since the biggest impact that a single side plate can cause is the loss of half the brakes, the respective failure weights of the inner and outer plates should be set to upper clipping of 3. Then the weighted failure sum of the inner plate and the outer plate is summed, if the failure combination is more than 3, the brake fails; if the sum of the faults is equal to 3, half of the brake is lost. Therefore, the number of the judging sentences which are needed to be approximately 10 is reduced to 3, the complicated judging conditions in each judging sentence are reduced to single numerical value judgment, and the software is simple and clear to realize.
Table 4 fault weighted summation for a 12 wheel aircraft brake control system
Figure GDA0004158156120000051
The invention provides a comprehensive judgment mode of fault weighted summation. According to the method, different weighting coefficients are set for each piece of fault information according to different alarm types caused by faults, and then the fault weighting processing is carried out and then the sum is carried out. And judging the final fault alarm according to the fault weighted sum. Converting complex logic judgment into simple numerical judgment; the condition of logic judgment is greatly reduced, branch sentences are reduced, and code testability is improved; the code is simplified, and the safety is improved.
As shown in fig. 2 and 3, the above examples were designed into a software flow chart and a software code according to the conventional condition judgment and the weighted sum judgment method of the present invention, respectively. From the flow chart, it can be seen that the weighted sum judging method is significantly simpler than the conventional method. The software code is tested using an LDRA specialized software testing tool. The complexity of the software loop required by the general military software is less than 10, the complexity of the software loop designed by adopting the traditional condition judgment method is 12, the requirement is not met, and the test is failed. The complexity of the software loop designed by the judging method is reduced from original 12 to 4, and the software loop passes the test. Meanwhile, maintainability and testability of the software are respectively improved from 75% and 88% to 100%, so that the quality of the software is remarkably improved.

Claims (1)

1. The fault comprehensive logic judgment optimization method is characterized by comprising the following steps of:
step 1: designing a fault comprehensive logic table;
listing logic combinations of all basic faults according to an alarm mode to complete a fault comprehensive logic table; assuming that there are 1 a fault, 1 b fault and n c faults in the aircraft control system, and these faults are integrated into three alarm modes, namely alarm mode 1, alarm mode 2 and alarm mode 3, the fault integrated logic table is shown in table 1:
table 1 fault synthesis logic table
Figure FDA0004158156100000011
In the table- -representing any significant value;
step 2: determining a weighting coefficient;
determining a weighting coefficient according to the relation between the number of basic faults and the comprehensive faults; as shown in table 1, one fault a or one fault b and n faults c are integrated into an alarm mode 2, so that the fault level of the fault a and the fault b is higher than that of the fault c, the weighting coefficient of the fault a and the fault b is set to be 2n, and the weighting coefficient of the fault c is set to be 1;
step 3: the weighted summation synthesizes faults;
judging a fault comprehensive result according to the weighted sum of the faults in the table 1 to obtain a table 2:
table 2 fault weighted summation
Figure FDA0004158156100000012
From table 2, the final fault comprehensive result can be obtained by judging the numerical relation of the final weighted result; when the fault weighted sum is smaller than n, the alarm mode 1 is the alarm mode 2 when the fault weighted sum is larger than or equal to n and smaller than 4n, and the alarm mode 3 when the fault weighted sum is larger than or equal to 4 n.
CN202110951122.9A 2021-08-18 2021-08-18 Fault comprehensive logic judgment optimization method Active CN113806218B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110951122.9A CN113806218B (en) 2021-08-18 2021-08-18 Fault comprehensive logic judgment optimization method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110951122.9A CN113806218B (en) 2021-08-18 2021-08-18 Fault comprehensive logic judgment optimization method

Publications (2)

Publication Number Publication Date
CN113806218A CN113806218A (en) 2021-12-17
CN113806218B true CN113806218B (en) 2023-06-09

Family

ID=78941485

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110951122.9A Active CN113806218B (en) 2021-08-18 2021-08-18 Fault comprehensive logic judgment optimization method

Country Status (1)

Country Link
CN (1) CN113806218B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103645435A (en) * 2013-12-13 2014-03-19 电子科技大学 Software module testability design method of multi-signal model programming logic device
CN104699067A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 System fault comprehensive declare processing method
CN106742001A (en) * 2016-11-30 2017-05-31 中国直升机设计研究所 A kind of airborne alarm control lamp box and the light alarm method with it
CN107944655A (en) * 2017-10-13 2018-04-20 国家电网公司 Event level method for diagnosing faults based on Expert Rules storehouse and multi-source fault message

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110851469A (en) * 2019-11-22 2020-02-28 中国三峡新能源(集团)股份有限公司 Fan running state analysis method based on new energy centralized control system
CN111694304B (en) * 2020-06-12 2021-11-09 西安微电子技术研究所 Comprehensive fault logic decision circuit and method for spacecraft
CN111767913A (en) * 2020-07-06 2020-10-13 中兴飞流信息科技有限公司 Motor train unit vehicle fault dynamic image detection method based on deep learning
CN111969709B (en) * 2020-07-27 2022-04-19 国电南瑞科技股份有限公司 Intelligent alarm method and system based on power system spare power automatic switching analysis

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104699067A (en) * 2013-12-10 2015-06-10 中国航空工业第六一八研究所 System fault comprehensive declare processing method
CN103645435A (en) * 2013-12-13 2014-03-19 电子科技大学 Software module testability design method of multi-signal model programming logic device
CN106742001A (en) * 2016-11-30 2017-05-31 中国直升机设计研究所 A kind of airborne alarm control lamp box and the light alarm method with it
CN107944655A (en) * 2017-10-13 2018-04-20 国家电网公司 Event level method for diagnosing faults based on Expert Rules storehouse and multi-source fault message

Also Published As

Publication number Publication date
CN113806218A (en) 2021-12-17

Similar Documents

Publication Publication Date Title
CN110879584B (en) Turbofan engine comprehensive simulation test and fault injection platform for unmanned aerial vehicle
JP2001056701A (en) Method and device for mutually monitoring control units
CN106802576B (en) Flight fault judgment method based on simulation
CN110083076B (en) Gas turbine pneumatic actuator fault semi-physical simulation platform and simulation method
CN111238725A (en) Fault diagnosis method, device and system for pressure sensor of electro-pneumatic brake system
CN113806218B (en) Fault comprehensive logic judgment optimization method
CN112199828B (en) Helicopter simulator control system data packet development method
CN104020670B (en) Three-freedom helicopter fault tolerance control device based on support vector machine and method thereof
WO2021063830A1 (en) Test apparatus
CN109798281B (en) Intelligent fault diagnosis and processing method for main distribution and proportional valve hydraulic following system of speed regulator
US20090171631A1 (en) Integrated Engineering Analysis Process
CN113093567A (en) Simulation system and simulation method of AK protocol wheel speed sensor
CN114115198B (en) Assembly production line-oriented distributed diagnosis and optimization control method and control system
CN111413891A (en) PTC controller hardware-in-loop simulation system
US8166362B2 (en) Fault detection method and apparatus for analog to digital converter circuits
CN116149999A (en) Safety analysis method for complex software system
GB1560554A (en) Control systems
CN109324597A (en) A kind of engineering adaptability test method of two generation of nuclear power station pressurization water-water reactor safety level DCS
CN113295434B (en) Brake test system, platform and method
CN113602527B (en) Fault comprehensive method for horizontal tail servo subsystem
CN109657699B (en) Method for analyzing and evaluating turbine engine based on dynamic fault tree of Markov
CN117141446A (en) Driver braking intention sensing system supporting failure operation and control method
CN109583019A (en) It is a kind of to input the three condition equipment simulating method exported all the way all the way
JPS6299837A (en) Check system for input and output processor
CN206363157U (en) Electric power wheel self-discharging vehicle programmable controller examining-repairing instrument

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