CN106295809B - The embedded real-time diagnosis reasoning algorithm pilot system of aircraft - Google Patents

The embedded real-time diagnosis reasoning algorithm pilot system of aircraft Download PDF

Info

Publication number
CN106295809B
CN106295809B CN201610551143.0A CN201610551143A CN106295809B CN 106295809 B CN106295809 B CN 106295809B CN 201610551143 A CN201610551143 A CN 201610551143A CN 106295809 B CN106295809 B CN 106295809B
Authority
CN
China
Prior art keywords
fault
data
verified
main control
control device
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.)
Expired - Fee Related
Application number
CN201610551143.0A
Other languages
Chinese (zh)
Other versions
CN106295809A (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.)
Beijing Hengxing Yikang Technology Co ltd
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN201610551143.0A priority Critical patent/CN106295809B/en
Publication of CN106295809A publication Critical patent/CN106295809A/en
Application granted granted Critical
Publication of CN106295809B publication Critical patent/CN106295809B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N5/00Computing arrangements using knowledge-based models
    • G06N5/04Inference or reasoning models
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Evolutionary Computation (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Artificial Intelligence (AREA)
  • Computer Hardware Design (AREA)
  • Geometry (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

本发明公开了一种飞机嵌入式实时诊断推理算法的试验系统,包括:主控装置,用于对待验证诊断推理算法进行注册,将经过注册的待验证诊断推理算法整合到嵌入式目标机中,并发出生成故障数据的故障生成指令;数据模拟装置,用于根据主控装置的发出的故障生成指令,生成相应的故障数据;嵌入式目标机,通过运行所述待验证诊断推理算法,对所述故障数据进行推理计算,并将计算结果发送给主控装置;其中,所述主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价。本发明解决了现有技术存在的需要在飞机上验证实时诊断推理算法的困难。

The invention discloses an aircraft embedded real-time diagnosis and reasoning algorithm test system, comprising: a main control device for registering the diagnosis and reasoning algorithm to be verified, and integrating the registered diagnosis and reasoning algorithm to be verified into an embedded target machine, And issue a fault generation command to generate fault data; the data simulation device is used to generate corresponding fault data according to the fault generation command sent by the main control device; the embedded target machine runs the diagnostic reasoning algorithm to be verified to perform Perform reasoning calculations on the fault data, and send the calculation results to the main control device; wherein, the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation results. The invention solves the difficulty existing in the prior art that the real-time diagnostic reasoning algorithm needs to be verified on the aircraft.

Description

飞机嵌入式实时诊断推理算法试验系统Aircraft embedded real-time diagnostic reasoning algorithm test system

技术领域technical field

本发明涉及飞机故障诊断领域,特别是一种飞机嵌入式实时诊断推理算法试验系统。The invention relates to the field of aircraft fault diagnosis, in particular to an aircraft embedded real-time diagnostic reasoning algorithm test system.

背景技术Background technique

随着新型飞机功能复杂度和系统复杂度的提升,针对其各系统的故障诊断与健康管理系统也越来越复杂。同时,飞机健康管理系统对诊断推理过程的精度与效率提出了更高的要求。因此在研制阶段,设计人员需要面对更高的性能要求,这给研制生产带来了更多的困难。With the increasing functional complexity and system complexity of new aircraft, the fault diagnosis and health management systems for each system are becoming more and more complex. At the same time, the aircraft health management system puts forward higher requirements for the accuracy and efficiency of the diagnostic reasoning process. Therefore, in the development stage, designers need to face higher performance requirements, which brings more difficulties to development and production.

针对机载设备进行故障诊断是一项涉及多设备的技术,从针对被测设备进行数据采集,到将设备状态信息汇入区域级管理器进行诊断处理,直到最后将诊断结果发送到地面进行相关的维护保养决策。这个过程对于相应的诊断推理引擎算法提出了高实时性要求,因此在地面的诊断推理算法研发阶段,设计人员需要对算法进行多次的试验验证,以满足设计要求。为了在机载嵌入式诊断系统的研制阶段,开展实施诊断设计的试验分析工作,及时有效的发现设计缺陷并进行优化调整,进行飞机嵌入式实时诊断设计的试验分析系统研制十分必要。Fault diagnosis for airborne equipment is a technology involving multiple equipment, from data collection for the equipment under test, to importing equipment status information into the regional manager for diagnostic processing, and finally sending the diagnostic results to the ground for correlation maintenance decisions. This process puts forward high real-time requirements for the corresponding diagnostic reasoning engine algorithm. Therefore, in the development stage of the ground diagnostic reasoning algorithm, designers need to conduct multiple experiments to verify the algorithm to meet the design requirements. In order to carry out the test and analysis work of implementing the diagnosis design in the development stage of the airborne embedded diagnosis system, find design defects timely and effectively and make optimization adjustments, it is very necessary to develop the test analysis system of the aircraft embedded real-time diagnosis design.

发明内容Contents of the invention

本发明的目的是提供一种对飞机嵌入式实时诊断推理算法进行试验系统,以便得到有效和可靠的飞机嵌入式实时诊断推理算法。The purpose of the present invention is to provide a system for testing the aircraft embedded real-time diagnostic reasoning algorithm, so as to obtain an effective and reliable aircraft embedded real-time diagnostic reasoning algorithm.

本发明的飞机嵌入式实时诊断推理算法的试验系统包括:The test system of aircraft embedded real-time diagnostic reasoning algorithm of the present invention comprises:

主控装置,用于对待验证诊断推理算法进行注册,将经过注册的待验证诊断推理算法整合到嵌入式目标机中,并发出生成故障数据的故障生成指令;The main control device is used to register the diagnostic reasoning algorithm to be verified, integrate the registered diagnostic reasoning algorithm to be verified into the embedded target machine, and issue a fault generation instruction for generating fault data;

数据模拟装置,用于根据主控装置的发出的故障生成指令,生成相应的故障数据;The data simulation device is used to generate corresponding fault data according to the fault generation instruction issued by the main control device;

嵌入式目标机,通过运行所述待验证诊断推理算法,对所述故障数据进行推理计算,并将计算结果发送给主控装置;The embedded target machine performs reasoning and calculation on the fault data by running the diagnostic reasoning algorithm to be verified, and sends the calculation result to the main control device;

其中,所述主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价;Wherein, the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result;

其中,所述的故障生成指令为仿真故障生成指令或者实际故障注入指令或者历史故障读出指令,所述故障数据是根据所述仿真故障生成指令生成的仿真故障数据或者根据实际故障注入指令从试验台故障注入系统获得的相应实际故障数据或者根据历史故障读出指令从历史故障数据库中读出的相应历史故障数据。Wherein, the fault generating instruction is a simulated fault generating instruction or an actual fault injection instruction or a historical fault reading instruction, and the fault data is the simulated fault data generated according to the simulated fault generating instruction or the actual fault injection instruction from the test The corresponding actual fault data obtained by the fault injection system or the corresponding historical fault data read from the historical fault database according to the historical fault reading instruction.

优选地,所述的嵌入式目标机包括:用于接收所述的任务要求的接收模块;用于根据所述任务要求从所述数据模拟装置中读入相应的故障数据的读取模块;用于利用所述待验证诊断推理算法对所述相应的故障数据进行计算的计算模块。Preferably, the embedded target machine includes: a receiving module for receiving the task requirements; a reading module for reading in corresponding fault data from the data simulation device according to the task requirements; It is a calculation module for calculating the corresponding fault data by using the diagnosis reasoning algorithm to be verified.

优选地,所述的主控装置包括:用于将所述计算结果中的故障类型数量与所述故障指令所涉及的故障类型及数量进行匹配处理的匹配处理模块;用于按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能的评价模块。Preferably, the main control device includes: a matching processing module for matching the number of fault types in the calculation result with the type and number of faults involved in the fault instruction; for matching according to the matching processing The degree is an evaluation module for evaluating the performance of the diagnostic reasoning algorithm to be verified.

优选地,所述的嵌入式目标机还包括计算机资源挤占模块,用于:接收所述主控装置发出的用于挤占计算资源的挤占指令;根据所述挤占指令包含的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。Preferably, the embedded target machine further includes a computer resource occupancy module, configured to: receive an occupancy instruction issued by the main control device for occupancy of computing resources; according to an occupancy level included in the occupancy instruction, set the The ratio of non-diagnostic reasoning algorithms to computing resources in the load computing environment; in the case of assigning corresponding computing resources to non-diagnostic reasoning algorithms and diagnostic reasoning algorithms to be verified according to the occupation ratio, the diagnosis to be verified when computing resources are occupied is obtained Infer the solution efficiency and capability of the algorithm and send it to the master control device.

优选地,主控装置的匹配处理模块将所述计算结果中的故障类型数量与所述故障指令所涉及的故障类型数量进行匹配处理;主控装置的评价模块按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。Preferably, the matching processing module of the main control device performs matching processing on the number of fault types in the calculation result and the number of fault types involved in the fault instruction; Evaluate the performance of the diagnostic reasoning algorithm to be verified when it is crowded out.

优选地,所述故障仿真模型对液压伺服系统的故障进行模拟,生成包括电子放大器增益突变、电子放大器增益缓变以及液压缸内泄露的故障数据。Preferably, the fault simulation model simulates the fault of the hydraulic servo system, and generates fault data including sudden change in gain of the electronic amplifier, slow change in gain of the electronic amplifier, and leakage in the hydraulic cylinder.

优选地,所述的挤占模块通过以下处理,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力:对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Preferably, the overcrowding module obtains the computing efficiency and capability of the diagnostic inference algorithm to be verified when computing resources are overcrowded through the following processes: making statistics on the occupancy of software and hardware resources during each diagnostic inference task running; The monitoring points are added to the program in the way of stubs, and finally the information of each location is summarized and counted to obtain the performance monitoring information during the task running.

优选地,所述的为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。Preferably, the allocation of corresponding computing resources for the non-diagnostic reasoning algorithm is realized by running equivalent computing programs.

优选地,所述等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。Preferably, the running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that the diagnostic reasoning algorithm to be verified is preferentially run according to the crowding instruction of the main control device.

优选地,所述计算资源挤占包括运行所述等效计算程序的线程的CPU占用率和内存占用率。Preferably, the computing resource occupancy includes CPU usage and memory usage of threads running the equivalent computing program.

本发明的有益效果是,通过在地面验证飞机嵌入式诊断推理算法,可以提高飞机嵌入式诊断推理算法的验证效率,加快飞机嵌入式诊断推理算法的开发,并且可以大幅降低飞机嵌入式诊断推理算法的验证成本。The beneficial effect of the present invention is that by verifying the aircraft embedded diagnostic reasoning algorithm on the ground, the verification efficiency of the aircraft embedded diagnostic reasoning algorithm can be improved, the development of the aircraft embedded diagnostic reasoning algorithm can be accelerated, and the aircraft embedded diagnostic reasoning algorithm can be greatly reduced. verification cost.

下面结合附图对本发明的技术内容及其效果进行详细说明。The technical contents and effects of the present invention will be described in detail below in conjunction with the accompanying drawings.

附图说明Description of drawings

图1是本发明的飞机嵌入式实时诊断推理算法试验系统的示意图;Fig. 1 is the schematic diagram of aircraft embedded real-time diagnosis reasoning algorithm test system of the present invention;

图2是本发明的飞机嵌入式实时诊断推理算法试验系统的硬件架构图;Fig. 2 is the hardware architecture diagram of the aircraft embedded real-time diagnostic reasoning algorithm test system of the present invention;

图3是本发明的数据模拟器的硬件架构图;Fig. 3 is the hardware architecture diagram of the data simulator of the present invention;

图4是本发明的嵌入式目标机的硬件架构图;Fig. 4 is the hardware architecture diagram of the embedded target machine of the present invention;

图5是本发明的飞机嵌入式诊断推理算法试验系统的软件架构图;Fig. 5 is the software architecture diagram of the aircraft embedded diagnosis reasoning algorithm test system of the present invention;

图6是本发明的飞机嵌入式诊断推理算法试验系统的主控装置的软件架构图;Fig. 6 is the software architecture diagram of the main control device of the aircraft embedded diagnostic reasoning algorithm test system of the present invention;

图7是本发明的数据模拟器的硬件架构图;Fig. 7 is the hardware architecture diagram of the data simulator of the present invention;

图8是本发明的嵌入目标机的软件架构图;Fig. 8 is a software architecture diagram of the embedded target machine of the present invention;

图9是本发明的飞机嵌入式实时诊断推理算法试验方法第一实施例的示意图;Fig. 9 is a schematic diagram of the first embodiment of the aircraft embedded real-time diagnostic reasoning algorithm test method of the present invention;

图10是本发明的飞机嵌入式实时诊断推理算法试验方法第二实施例的示意图;Fig. 10 is a schematic diagram of the second embodiment of the aircraft embedded real-time diagnostic reasoning algorithm test method of the present invention;

图11是本发明的飞机嵌入式实时诊断推理算法试验方法第三实施例的示意图。Fig. 11 is a schematic diagram of the third embodiment of the test method for aircraft embedded real-time diagnostic reasoning algorithm of the present invention.

具体实施方式Detailed ways

图1显示了本发明的飞机嵌入式实时诊断推理算法试验系统,如图1所示,该系统包括:Fig. 1 has shown aircraft embedded real-time diagnosis reasoning algorithm test system of the present invention, as shown in Fig. 1, this system comprises:

主控装置,用于对待验证诊断推理算法进行注册,将经过注册的待验证诊断推理算法整合到嵌入式目标机中,并发出生成故障数据的故障生成指令;The main control device is used to register the diagnostic reasoning algorithm to be verified, integrate the registered diagnostic reasoning algorithm to be verified into the embedded target machine, and issue a fault generation instruction for generating fault data;

数据模拟装置,用于根据主控装置的发出的故障生成指令,生成相应的故障数据;The data simulation device is used to generate corresponding fault data according to the fault generation instruction issued by the main control device;

嵌入式目标机,通过运行所述待验证诊断推理算法,对所述故障数据进行推理计算,并将计算结果发送给主控装置;The embedded target machine performs reasoning and calculation on the fault data by running the diagnostic reasoning algorithm to be verified, and sends the calculation result to the main control device;

其中,所述主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价;Wherein, the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result;

其中,所述的故障生成指令为仿真故障生成指令或者实际故障注入指令或者历史故障读出指令,所述故障数据是根据所述仿真故障生成指令生成的仿真故障数据或者根据实际故障注入指令从试验台故障注入系统获得的相应实际故障数据或者根据历史故障读出指令从历史故障数据库中读出的相应历史故障数据。Wherein, the fault generating instruction is a simulated fault generating instruction or an actual fault injection instruction or a historical fault reading instruction, and the fault data is the simulated fault data generated according to the simulated fault generating instruction or the actual fault injection instruction from the test The corresponding actual fault data obtained by the fault injection system or the corresponding historical fault data read from the historical fault database according to the historical fault reading instruction.

上述的嵌入式目标机包括:用于从主控装置接收任务要求的接收模块,比如接口模块;用于根据所述任务要求从所述数据模拟装置中读入相应的故障数据的读取模块,比如;用于利用待验证诊断推理算法对所述相应的故障数据进行计算的计算模块。The above-mentioned embedded target machine includes: a receiving module for receiving task requirements from the main control device, such as an interface module; a reading module for reading in corresponding fault data from the data simulation device according to the task requirements, For example; a calculation module for calculating the corresponding fault data by using the diagnostic reasoning algorithm to be verified.

上述的主控装置包括:用于将所述计算结果中的故障类型数量与所述故障指令所涉及的故障类型及数量进行匹配处理的匹配处理模块;用于按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能的评价模块。The above-mentioned main control device includes: a matching processing module for matching the number of fault types in the calculation result with the fault types and numbers involved in the fault instruction; An evaluation module that describes the performance of the diagnostic reasoning algorithm to be verified.

上述的嵌入式目标机还包括计算机资源挤占模块,该计算机资源挤占模块用于:接收所述主控装置发出的用于挤占计算资源的挤占指令;根据所述挤占指令包含的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。The above-mentioned embedded target machine also includes a computer resource occupancy module, which is used to: receive an occupancy instruction issued by the main control device for occupancy of computing resources; according to an occupancy level included in the occupancy instruction, set The occupation ratio of non-diagnostic reasoning algorithms to computing resources in the airborne computing environment; in the case of assigning corresponding computing resources to the non-diagnostic reasoning algorithm and the diagnostic reasoning algorithm to be verified according to the occupation ratio, it is obtained when the computing resources are occupied to be verified Diagnose the solution efficiency and capability of the reasoning algorithm and send it to the main control device.

上述主控装置的匹配处理模块将所述计算结果中的故障类型数量与所述故障指令所涉及的故障类型数量进行匹配处理;主控装置的评价模块按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。The matching processing module of the above-mentioned main control device performs matching processing on the number of fault types in the calculation result and the number of fault types involved in the fault instruction; the evaluation module of the main control device is occupied according to the matching degree of matching processing and computing resources When the calculation efficiency and capability of the diagnostic reasoning algorithm to be verified are evaluated, the performance of the diagnostic reasoning algorithm to be verified is evaluated.

上述的故障仿真模型对液压伺服系统的故障进行模拟,生成包括电子放大器增益突变、电子放大器增益缓变以及液压缸内泄露的故障数据。The above-mentioned fault simulation model simulates the fault of the hydraulic servo system, and generates fault data including sudden change in the gain of the electronic amplifier, slow change in the gain of the electronic amplifier, and leakage in the hydraulic cylinder.

上述的挤占模块通过以下处理,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力:The above-mentioned crowding module obtains the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are crowded out through the following processing:

对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;Make statistics on the occupancy of software and hardware resources during each diagnostic reasoning task run;

通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Add monitoring points to the program by inserting stubs, and finally collect statistics on each location information to obtain performance monitoring information during task running.

本发明为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。其中,等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。The present invention allocates corresponding computing resources for non-diagnostic reasoning algorithms by running equivalent computing programs. Wherein, the running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that the diagnostic reasoning algorithm to be verified is preferentially run according to the crowding instruction of the main control device.

本发明所述的计算资源挤占包括运行所述等效计算程序的线程的CPU占用率和内存占用率。The computing resource occupation mentioned in the present invention includes the CPU occupancy rate and the memory occupancy rate of the thread running the equivalent calculation program.

下面结合附图对本发明的飞机嵌入式实时诊断推理算法试验系统的功能、硬件架构、软件架构进行详细说明。需要指出的是,这些说明仅仅用于解释本发明,而不是用来限定本发明。The function, hardware architecture, and software architecture of the aircraft embedded real-time diagnostic reasoning algorithm test system of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be pointed out that these descriptions are only used to explain the present invention, not to limit the present invention.

主控装置从功能上可以分为运行任务配置功能模块、任务运行状态监测与控制模块、验证评价功能模块以及作为嵌入式目标机上位机进行嵌入式目标机相关配置监测操作。数据模拟装置从功能可以分为进行数据采集、数据仿真、数据管理以及数据传输的几个模块。嵌入目标机作为对机载计算环境的模拟,其担负着运行待验证诊断推理算法、等效资源占用计算任务及任务运行状态监控的任务。Functionally, the main control device can be divided into an operation task configuration function module, a task operation status monitoring and control module, a verification and evaluation function module, and as an embedded target computer upper computer to perform embedded target machine related configuration monitoring operations. The data simulation device can be divided into several modules for data acquisition, data simulation, data management and data transmission from the function. As a simulation of the onboard computing environment, the embedded target machine is responsible for running diagnostic reasoning algorithms to be verified, equivalent resource occupation computing tasks, and task running status monitoring tasks.

主控装置作为试验分析系统的任务发起端和控制端,首先需要进行的是运行任务的配置。任务运行配置需要对当前建立的试验分析任务进行必要的设置。试验分析系统支持通过数据库进行待验证对象及算法的管理、索引工作。在任务运行之前,需要先对待验证对象及相应的算法进行注册,提供待测试对象的名称、型号和建模/运行工况,待试验分析的算法功能、算法名称、验证指标和算法模型名称。在上述具体的对象信息确认之后,每次进行任务新建操作之前,针对待试验分析的对象输入每次任务的详细信息,完成任务的新建。As the task initiator and control terminal of the test analysis system, the main control device first needs to configure the running task. Task running configuration needs to make necessary settings for the currently established test analysis task. The test analysis system supports the management and indexing of objects to be verified and algorithms through the database. Before the task runs, it is necessary to register the object to be verified and the corresponding algorithm, provide the name, model and modeling/operating conditions of the object to be tested, the algorithm function to be tested and analyzed, the name of the algorithm, the verification index and the name of the algorithm model. After the above-mentioned specific object information is confirmed, before each new task creation operation, input the detailed information of each task for the object to be tested and analyzed, and complete the new task creation.

任务运行状态监测与控制模块实现在任务运行的过程中,监测任务运行的阶段并通过交互界面进行反馈,同时提供实时控制任务运行状态的权限和功能,进行任务继续或停止的操作。在任务运行状态监测与控制模块中,通过用户交互界面还能显示当前任务队列状态,并支持选择不同的当前运行任务进行控制。The task running status monitoring and control module monitors the task running stage and provides feedback through the interactive interface during the task running process, and at the same time provides the authority and function to control the task running status in real time, and performs the operation of continuing or stopping the task. In the task running status monitoring and control module, the current task queue status can also be displayed through the user interface, and different currently running tasks can be selected for control.

验证评价功能模块实现对待试验分析诊断推理算法的性能评估能力、故障诊断能力以及故障预测能力的分析评价,通过根据所选取的验证算法的不同分别选择度量评价指标进行验证分析,最后将结果与规定值进行对比进行合格判定,得出验证分析结论。The verification and evaluation function module realizes the analysis and evaluation of the performance evaluation ability, fault diagnosis ability and fault prediction ability of the test analysis and diagnosis reasoning algorithm. According to the selected verification algorithm, the measurement and evaluation indicators are selected for verification and analysis, and finally the results are compared with the regulations. Values are compared to make a qualified judgment, and a verification analysis conclusion is drawn.

主控部分同时作为嵌入式实时处理机的上位机,需要通过Workbench环境对嵌入式目标机中的嵌入式实时操作系统Vxworks进行配置、下装等操作。在操作系统配置完成的基础之上,在任务信息数据库中注册的诊断推理算法需要在满足试验分析系统相关要求的前提下,在Workbench环境中完成调试之后,加入到嵌入式实时处理机的算法库中,形成与任务信息数据库中的对应以支持试验分析任务的调用要求。The main control part also serves as the upper computer of the embedded real-time processor, and needs to configure and download the embedded real-time operating system Vxworks in the embedded target machine through the Workbench environment. On the basis of the completion of the operating system configuration, the diagnostic reasoning algorithm registered in the task information database needs to be added to the algorithm library of the embedded real-time processor after debugging in the Workbench environment on the premise of meeting the relevant requirements of the test analysis system In , form a correspondence with the task information database to support the calling requirements of the test analysis task.

当前试验分析系统主要是针对飞机机电系统和航电系统进行诊断推理算法的验证分析,因此数据模拟装置主要基于上述对象的数据采集与生成方式进行设计,包含旋转试验台数据采集、液压伺服系统仿真数据生成、典型航电系统对象状态图仿真模型数据生成以及公开数据等数据获取方式。The current test analysis system is mainly aimed at the verification and analysis of diagnostic reasoning algorithms for aircraft electromechanical systems and avionics systems. Therefore, the data simulation device is mainly designed based on the data acquisition and generation methods of the above objects, including rotary test bench data acquisition and hydraulic servo system simulation. Data generation, typical avionics system object state diagram simulation model data generation, and data acquisition methods such as public data.

从功能划分角度来说,数据模拟装置需要具备数据采集、数据仿真、数据管理以及数据传输功能,其中数据采集功能需要通过数据采集硬件支持,当前的数据采集通过传感器从试验台故障注入系统进行数据采集,传感器采集到的信号通过数据采集卡传送到数据模拟装置中进行存储。数据仿真通过提供仿真软件环境,为机电系统和航电系统仿真对象故障注入提供软件环境,生成故障数据,在监测与诊断数据模拟器中进行存储。数据管理为上述采集或仿真生成数据提供数据文件管理或数据库管理环境进行数据建档等操作,记录数据相关信息(采集时间、工况、采样率、采样时间等)。同时,在进行数据建档操作的基础上,能通过从主控装置接收到的数据生成命令,从数据库中提取相应的数据并生成符合格式要求的数据文件。数据传输是指支持数据模拟装置与嵌入式目标机之间通过光纤网卡将生成的符合任务要求的数据进行传输。From the perspective of functional division, the data simulation device needs to have the functions of data acquisition, data simulation, data management and data transmission. The data acquisition function needs to be supported by data acquisition hardware. The current data acquisition uses sensors to inject data from the fault injection system of the test bench. Acquisition, the signal collected by the sensor is transmitted to the data simulation device through the data acquisition card for storage. Data simulation provides a software environment for fault injection of simulation objects in electromechanical systems and avionics systems by providing a simulation software environment to generate fault data and store them in the monitoring and diagnostic data simulator. Data management provides data file management or database management environment for the above-mentioned collected or simulated generated data to perform data archiving and other operations, and record data-related information (collection time, working conditions, sampling rate, sampling time, etc.). At the same time, on the basis of the data filing operation, the corresponding data can be extracted from the database and a data file meeting the format requirements can be generated through the data generation command received from the main control device. Data transmission refers to supporting the transmission of data that meets the task requirements generated by the optical fiber network card between the data simulation device and the embedded target machine.

此外,数据模拟装置需要实现数据校验的功能,通过从主控装置接收的预采样指令,将要求的数据加载到数据库中,通过人为校验数据格式、完整性及正确性等相应技术要求,生成数据校验结果报告,通过与主控计算机的多次交互校验,得到正确完善的故障数据文件。In addition, the data simulation device needs to realize the function of data verification, load the required data into the database through the pre-sampling instruction received from the main control device, and manually verify the corresponding technical requirements such as data format, integrity and correctness, Generate a data verification result report, and obtain correct and complete fault data files through multiple interactive verifications with the main control computer.

嵌入式目标机从功能上划分主要分为三部分,分别为运行待验证诊断推理算法、等效资源占用计算任务及任务运行状态监控。The embedded target machine is mainly divided into three parts in terms of functions, which are running diagnostic reasoning algorithms to be verified, computing tasks occupied by equivalent resources, and task running status monitoring.

待验证诊断推理算法在上位机的Workbench环境中通过编译调试,成为符合验证系统要求的规整化诊断推理引擎,并将程序整合到嵌入式目标机整体程序框架下以支持调用。嵌入式目标机通过解析由监测与诊断数据模拟器转发的任务要求,将待处理数据读入,调用要求的算法进行计算得到计算结果。等效资源占用计算任务的引入是为了还原真实机载计算环境中非诊断推理算法对于计算资源的挤占,通过解析任务要求中的占用等级来设定资源挤占的比例。在嵌入式实时操作系统vxworks中,不同任务之间通过优先级的高低来决定资源使用的权力,在引入的占用任务中,通过注入高优先级的任务来抢占诊断推理任务的计算资源达到等效资源占用的效果。任务运行状态监控实现的功能为对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计,通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。The diagnostic inference algorithm to be verified is compiled and debugged in the Workbench environment of the host computer, and becomes a regular diagnostic inference engine that meets the requirements of the verification system, and the program is integrated into the overall program framework of the embedded target computer to support calling. The embedded target machine reads in the data to be processed by analyzing the task requirements forwarded by the monitoring and diagnostic data simulator, and calls the required algorithm for calculation to obtain the calculation result. The introduction of equivalent resource occupancy computing tasks is to restore the occupancy of computing resources by non-diagnostic reasoning algorithms in real airborne computing environments, and set the proportion of resource occupancy by analyzing the occupancy levels in task requirements. In the embedded real-time operating system vxworks, the priority of different tasks determines the power to use resources. Among the occupation tasks introduced, the computing resources of diagnostic reasoning tasks are preempted by injecting high-priority tasks to achieve equivalent The effect of resource consumption. The function of task running status monitoring is to make statistics on the occupation of software and hardware resources during the running of each diagnostic reasoning task, add monitoring points in the program by inserting stubs, and finally summarize and count the location information to obtain the task running period performance monitoring information.

试验分析系统的功能划分决定了系统硬件架构不可能在不进行通信的前提下实现,因此设计符合系统需求的通信模块是必要的。通信模块中需要支持两种类型的通信方式,分别为基于以太网的任务信息数据传输部分和基于光纤网卡的诊断推理数据传输部分。其中任务信息传输部分将承担主控模块、数据模拟器、嵌入式目标机及评价模块之间的任务命令传输,实现完整的控制命令传输数据链。诊断推理数据传输部分通过反射内存光纤卡进行传输。The functional division of the test analysis system determines that the system hardware architecture cannot be realized without communication, so it is necessary to design a communication module that meets the system requirements. The communication module needs to support two types of communication methods, which are the task information data transmission part based on Ethernet and the diagnostic reasoning data transmission part based on fiber optic network card. Among them, the task information transmission part will undertake the task command transmission between the main control module, data simulator, embedded target machine and evaluation module, and realize a complete control command transmission data chain. Diagnosis and reasoning data transmission part is transmitted through the reflective memory fiber card.

图2显示了本发明的飞机嵌入式实时诊断推理算法试验系统的硬件架构。如图3所示,系统的总体硬件架构包括作为主控装置的主控计算机、数据模拟装置以及嵌入式目标机。其中主控软件和验证评价软件均运行于主控计算机,主控计算机采用高性能工作站平台。验证数据的采集、仿真模拟等功能在数据模拟装置中实现,同时数据模拟器具备通过光纤向嵌入式实时处理机传输验证数据。数据模拟器采用支持多路采集卡/各类板卡扩展的高性能工控机平台。嵌入式目标机采用基于机载ICP架构的嵌入式目标机,支持通过光纤接收数据模拟器发送的验证数据,实现对机载计算环境的模拟。Fig. 2 shows the hardware architecture of the aircraft embedded real-time diagnostic reasoning algorithm test system of the present invention. As shown in Figure 3, the overall hardware architecture of the system includes a main control computer as a main control device, a data simulation device and an embedded target machine. Among them, the main control software and verification and evaluation software are both running on the main control computer, and the main control computer adopts a high-performance workstation platform. Functions such as collection of verification data and simulation are realized in the data simulation device, and the data simulator is capable of transmitting verification data to the embedded real-time processor through optical fiber. The data simulator adopts a high-performance industrial computer platform that supports multi-channel acquisition cards/various types of board card expansion. The embedded target machine adopts the embedded target machine based on the airborne ICP architecture, which supports the verification data sent by the data simulator through the optical fiber, and realizes the simulation of the airborne computing environment.

图4显示了数据模拟装置的架构,数据模拟装置需要具备较高的运算处理能力以支持各类型仿真模型的正常、高效运行,具备多种类型的硬件扩展接口连接不同类型数据采集卡以实现支持数据采集的功能,以及具备光纤网卡接口和以太网卡接口以支持多种数据传输、交互需求的功能。Figure 4 shows the architecture of the data simulation device. The data simulation device needs to have high computing and processing capabilities to support the normal and efficient operation of various types of simulation models, and has various types of hardware expansion interfaces to connect different types of data acquisition cards to achieve support. The function of data collection, as well as the function of having a fiber optic network card interface and an Ethernet card interface to support various data transmission and interaction requirements.

嵌入式实时目标机是基于统一光纤网络设计的单片机系统,系统由集成母板和多个LRM模块组成,所有的模块被集成在母板中,如果可能还提供备用模块插槽供系统功能扩展。其内部主要包括电源模块单元、核心计算单元、光纤接口和以太网接口以及存储单元。The embedded real-time target machine is a single-chip microcomputer system based on a unified optical fiber network design. The system consists of an integrated motherboard and multiple LRM modules. All modules are integrated in the motherboard. If possible, spare module slots are provided for system function expansion. Its interior mainly includes a power module unit, a core computing unit, an optical fiber interface, an Ethernet interface, and a storage unit.

为了满足试验分析系统的运行效率与良好的用户体验,主控计算机采用通用高性能工作站。同时,主控计算机具备预留PCI接口,来实现通过多路以太网与数据模拟器和嵌入式实时处理机进行通信以及作为嵌入式实时处理机的上位机的功能。In order to meet the operating efficiency and good user experience of the test analysis system, the main control computer adopts a general-purpose high-performance workstation. At the same time, the main control computer has a reserved PCI interface to realize the communication with the data simulator and the embedded real-time processor through multi-channel Ethernet and the function of the host computer as the embedded real-time processor.

图5显示了本发明的飞机嵌入式实时诊断推理算法试验系统的软件架构。Fig. 5 shows the software architecture of the aircraft embedded real-time diagnosis reasoning algorithm test system of the present invention.

图6显示了主控计算机软件结构,从功能划分为任务建立、流程控制、验证评价三个部分。Figure 6 shows the software structure of the main control computer, which is divided into three parts from the function: task establishment, process control, verification and evaluation.

任务新建功能主要通过验证对象选择模块、故障注入模块和算法注册下装模块实现。首先,对于初次验证的算法,通过算法注册下装模块将算法信息注册到主控软件数据库,并通过Workbench下装到目标机中。用户通过验证对象选择模块选择对象信息,包括算法应用对象,运行环境参数,算法参数。然后,通过故障注入模块选择数据的来源类型,数据集的大小,样本的分配,故障趋势的设置等,并确定需要生产的等效任务占用级别。最后,软件将用户的验证设置需求转化为控制指令。The task creation function is mainly realized through the verification object selection module, fault injection module and algorithm registration download module. First of all, for the algorithm verified for the first time, the algorithm information is registered to the main control software database through the algorithm registration and download module, and downloaded to the target computer through Workbench. The user selects object information through the verification object selection module, including algorithm application objects, operating environment parameters, and algorithm parameters. Then, select the source type of data, the size of the data set, the distribution of samples, the setting of fault trend, etc. through the fault injection module, and determine the equivalent task occupancy level that needs to be produced. Finally, the software translates the user's authentication setup requirements into control instructions.

流程控制功能主要通过协同控制模块和通讯模块实现。首先,将启动后的验证任务置入验证任务队列,并标记其状态位,然后,通过监测各系统节点的工作情况,根据任务的优先级和所处的状态,将任务信息发送给处于空闲状态的系统节点。通过验证任务在系统节点外的堆栈,最大化系统节点的工作效率,优化验证流程。同时,验证任务各节点的指令和数据信息都被记录在数据存储模块,实现验证任务的全程跟踪和可复现,保障验证任务的客观性。The process control function is mainly realized through the cooperative control module and the communication module. First, put the started verification task into the verification task queue, and mark its status bit, then, by monitoring the working conditions of each system node, according to the priority and status of the task, send the task information to the idle state system node. Through the stack of verification tasks outside the system node, the work efficiency of the system node is maximized and the verification process is optimized. At the same time, the instructions and data information of each node of the verification task are recorded in the data storage module, so as to realize the full tracking and reproducibility of the verification task and ensure the objectivity of the verification task.

验证评价功能主要通过验证评价知识库模块和验证评估和结果分析模块实现。用户首先根据验证评价知识库中的知识,选择和新建若干验证指标,以及他们所占最终总性能评分的权重,形成该任务的验证指标方案。当系统检测到该任务的状态处于算法运行完成时,自动调用验证评估和结果分析模块,计算各指标值,与用户的要求值进行对比,给出验证评价结论,也可根据各指标所占权重,给出综合性能评分,便于类似算法的横向对比。The verification evaluation function is mainly realized through the verification evaluation knowledge base module and the verification evaluation and result analysis module. The user first selects and creates a number of verification indicators based on the knowledge in the verification evaluation knowledge base, and their weights in the final total performance score to form a verification index scheme for the task. When the system detects that the task is in the state of algorithm completion, it will automatically call the verification evaluation and result analysis module to calculate the value of each index, compare it with the value required by the user, and give a verification evaluation conclusion, which can also be based on the weight of each index , giving a comprehensive performance score, which is convenient for horizontal comparison of similar algorithms.

图7显示了数据模拟装置的软件架构,其功能结构可以划分为显示控制模块、数据采集模块、数据处理模块以及接口模块。Figure 7 shows the software architecture of the data simulation device, and its functional structure can be divided into a display control module, a data acquisition module, a data processing module and an interface module.

显示控制模块:负责整个数据生成的队列过程控制,将不同类型的数据生成任务发送给不同接口。将主控计算机发来的控制指令转化为试验台的采集要求或仿真模型和历史数据的生成要求,并调用仿真模型软件或基于MATLAB的数据重组程序。Display control module: responsible for the queue process control of the entire data generation, sending different types of data generation tasks to different interfaces. Convert the control instructions sent by the main control computer into the collection requirements of the test bench or the generation requirements of simulation models and historical data, and call the simulation model software or the data reorganization program based on MATLAB.

数据采集模块:包括试验台的采集程序,仿真模型的调用程序以及基于MATLAB的数据重组程序三个独立的子模块。接收显示控制模块发来的数据采集指令,调用对应的子模块,将生成好的数据发送给数据处理模块。Data acquisition module: including three independent sub-modules of the acquisition program of the test bench, the calling program of the simulation model and the data reorganization program based on MATLAB. Receive the data acquisition instruction sent by the display control module, call the corresponding sub-module, and send the generated data to the data processing module.

数据处理模块:接收数据采集模块发送的原始采集数据,按照算法的运行要求进行规整化处理,将生成好的数据发送给数据存储模块。Data processing module: Receive the original collected data sent by the data acquisition module, perform normalization processing according to the operation requirements of the algorithm, and send the generated data to the data storage module.

数据存储模块:接收数据处理模块发来的数据,储存为历史数据,并发送给接口模块。同时也作为数据源提供给历史数据重组模块。Data storage module: receive the data sent by the data processing module, store it as historical data, and send it to the interface module. At the same time, it is also provided as a data source to the historical data reorganization module.

接口模块:分为光纤通信和以太网通信两种模式。基于C语音的底部发送函数负责将数据通过光纤卡发送给嵌入式目标机。基于LabVIEW的交互显示模块负责将产生的数据的信息显示给用户,并将数据通过以太网发送给虚拟嵌入式环境。Interface module: divided into two modes: optical fiber communication and Ethernet communication. The bottom send function based on C voice is responsible for sending the data to the embedded target machine through the fiber card. The interactive display module based on LabVIEW is responsible for displaying the information of the generated data to the user, and sending the data to the virtual embedded environment through Ethernet.

图8显示了本发明的嵌入式目标机的软件。机载嵌入式目标机的实时操作系统的最主要的特点就是其具有的高实时性,并且不同于通用计算机操作系统环境下软件安装方式,其操作系统以及软件的加载需要通过上位机中的Workbench环境进行下装,这种方式限制了待测试验证的算法的实时加载。出于试验分析过程优化角度的考虑,采用将多个待验证算法下装入嵌入式实时处理机中,并通过设计的算法调用模块进行待验证算法的动态调用、配置的方式可以大大提升试验分析过程的效率。在算法选择完成的基础之上引入相应等级的等效资源占用任务,将算法和等效资源占用程序同时运行,同时,任务监测模块也开始执行监测任务。诊断推理算法运行完成之后将结果信息发送到主控计算机。Fig. 8 shows the software of the embedded target machine of the present invention. The most important feature of the real-time operating system of the airborne embedded target machine is its high real-time performance, and it is different from the software installation method in the general computer operating system environment. The operating system and software loading need to be loaded through the Workbench in the host computer. The environment is downloaded, which limits the real-time loading of the algorithm to be tested and verified. Considering the optimization of the test analysis process, the method of loading multiple algorithms to be verified into the embedded real-time processor, and using the designed algorithm call module to dynamically call and configure the algorithms to be verified can greatly improve the test analysis. process efficiency. On the basis of the completion of the algorithm selection, the equivalent resource occupation tasks of the corresponding level are introduced, and the algorithm and the equivalent resource occupation program are run at the same time. At the same time, the task monitoring module also starts to perform monitoring tasks. After the diagnostic reasoning algorithm is completed, the result information is sent to the main control computer.

由于实际机载系统中的嵌入式诊断推理计算与任务计算多是共享同一计算资源的,任务计算的变化会对诊断推理速度会产生直接影响。为了使得搭建的测试验证系统环境接近实际机载计算环境,避免诊断推理计算可以独享CPU和存储资源,导致诊断推理的实时性偏快,与真实系统存在差异的现象,需要在系统中设计等效计算任务生成模块。Since the embedded diagnostic reasoning calculation and task calculation in the actual airborne system mostly share the same computing resources, the change of task calculation will have a direct impact on the speed of diagnostic reasoning. In order to make the environment of the built test verification system close to the actual airborne computing environment, and avoid the phenomenon that diagnostic reasoning calculations can exclusively share CPU and storage resources, resulting in faster real-time diagnostic reasoning and differences from the real system, it is necessary to design in the system, etc. Efficient computing task generation module.

等效计算任务生成模块通过模拟任务计算对CPU、内存等资源占用的状态及程度,来设计可调谐的任务计算线程,用于模拟与实际系统等效的CPU、内存等资源的占用,将其引入至嵌入式操作系统目标机中,与诊断推理计算线程同时运行,模拟任务计算对CPU资源的占用,进而达到与真实系统实时性的匹配。通过实时性调协匹配线程来实时调配,用以模拟真实环境中的CPU、内存等资源变化的情况。The equivalent computing task generation module designs tunable task computing threads by simulating the status and degree of CPU, memory and other resources occupied by task computing, which is used to simulate the occupation of CPU, memory and other resources equivalent to the actual system. Introduced into the embedded operating system target machine, it runs simultaneously with the diagnostic reasoning calculation thread, and simulates the occupation of CPU resources by task calculation, so as to match the real-time performance of the real system. Real-time deployment through real-time tuning and matching threads to simulate changes in CPU, memory and other resources in the real environment.

为了实现等效计算任务的设计,需要先设计程序进行整体计算能力的量化估算,然后通过启动等效任务计算程序来进行CPU及内存资源的高优先级占用,强制使诊断推理的计算能力受到抑制以达到模拟真实系统的实际情况。In order to realize the design of equivalent computing tasks, it is necessary to design a program to quantify the overall computing power, and then start the equivalent task computing program to occupy high-priority CPU and memory resources, forcing the computing power of diagnostic reasoning to be suppressed In order to simulate the actual situation of the real system.

在实时处理机上主要运行三个线程:资源监控,实时诊断处理和等效任务计算。系统中实际要模拟的是实时诊断处理程序在运算资源被不同程序挤占的情况,因而还需要设计一个可以调节程序运行优先级的线程来规划实时处理机的运算资源。There are mainly three threads running on the real-time processor: resource monitoring, real-time diagnostic processing and equivalent task calculation. What the system actually needs to simulate is that the computing resources of the real-time diagnostic processing program are occupied by different programs, so it is necessary to design a thread that can adjust the running priority of the program to plan the computing resources of the real-time processor.

在此需要设计等效任务计算程序的运行优先级要高于实时诊断处理程序,从而才可以真实的模拟诊断解算过程在运算资源被不同程度的挤占的情况下的解算效率和能力。Here, it is necessary to design an equivalent task calculation program whose running priority is higher than that of the real-time diagnostic processing program, so that the calculation efficiency and capability of the diagnostic calculation process can be truly simulated when the computing resources are occupied to varying degrees.

实时性调协匹配其实最关键的一个环节就是运算资源监控。In fact, the most critical part of real-time tuning and matching is computing resource monitoring.

在处理器主频和内存大小都已经固定的情况下,需要创建能够实时的监控CPU占用率和内存占用率的线程,来观测CPU和内存的占用率,进而对在CPU和内存被不同幅度占用的情况下的诊断过程以及诊断能力进行测试,以进行实际情况的模拟。When the main frequency of the processor and the size of the memory are fixed, it is necessary to create a thread that can monitor the CPU usage and memory usage in real time to observe the CPU and memory usage, and then check the CPU and memory usage in different degrees. The diagnosis process and diagnostic ability of the case are tested in order to simulate the actual situation.

更进一步可以考虑使用浮点计算能力值来更精确的数值化实时处理机的运算能力,在其满负荷运算时的稳定计算次数可以定为100%负载,空置为0。Further, it can be considered to use the floating-point computing power value to more accurately quantify the computing power of the real-time processor, and the stable computing times when it is fully loaded can be set as 100% load, and 0 when it is empty.

通过实时的监控CPU和内存使用率,并预先给等效任务计算来分配计算资源,使得诊断解算过程的运算资源可以得到控制,可以间接的模拟真实的处理机环境。By monitoring the CPU and memory usage in real time, and pre-allocating computing resources for equivalent task calculations, the computing resources in the diagnosis and solving process can be controlled, and the real processor environment can be simulated indirectly.

等效任务计算拟设计为一个可以调节计算强度的稳定计算程序,它的任务是预先调节其计算强度,使得其可以稳定的占用预设的实时处理机运算资源。初步预计将其根据占用运算资源的强度等级设计为六个档位,分别为100%(完全占用实时处理机运算资源),80%,60%,40%,20%和0%(完全不占用运算资源)。默认设计为0%,即是使得实时诊断处理程序独占实时处理机运算资源,然后可以按照需求调节其档位来实现不同强度的资源占用。The equivalent task calculation is designed as a stable calculation program that can adjust the calculation intensity. Its task is to adjust its calculation intensity in advance so that it can stably occupy the preset real-time processor computing resources. It is preliminarily estimated that it is designed into six gears according to the intensity level of the computing resources occupied, which are 100% (completely occupying real-time processor computing resources), 80%, 60%, 40%, 20% and 0% (not occupying at all) computing resources). The default design is 0%, which means that the real-time diagnostic processing program monopolizes the computing resources of the real-time processor, and then its gear can be adjusted according to the needs to achieve different intensities of resource occupation.

等效任务计算程序本身,其应该是一个可以调节计算强度的计算程序。在其运行中可以根据预设好的档位比较稳定的占用实时处理机运算资源,在设计中,应根据资源监控程序持续的监控运算资源,调节等效任务计算程序使其能够稳定的计算资源占用。系统运行过程控制模块、等效计算任务生成模块和诊断推理引擎算法评价模块均运行于主控计算机中。The equivalent task calculation program itself should be a calculation program that can adjust the calculation intensity. During its operation, real-time processor computing resources can be occupied relatively stably according to the preset gear. In the design, computing resources should be continuously monitored according to the resource monitoring program, and the equivalent task computing program should be adjusted to enable stable computing resources. occupy. The system operation process control module, the equivalent calculation task generation module and the diagnosis and reasoning engine algorithm evaluation module all run in the main control computer.

图9显示了本发明的飞机嵌入式实时诊断推理算法的试验方法的第一实施例,其包括:主控装置对待验证诊断推理算法进行注册;主控装置将经过注册的待验证诊断推理算法整合到嵌入式目标机中;所述数据模拟装置根据主控装置的生成仿真故障数据的仿真故障指令,启动故障仿真模型,生成相应的仿真故障数据;所述嵌入式目标机利用所述待验证诊断推理算法对所述仿真故障数据进行推理计算,将计算结果发送给主控装置;主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价。Fig. 9 shows the first embodiment of the test method of the aircraft embedded real-time diagnostic reasoning algorithm of the present invention, which includes: the main control device registers the diagnostic reasoning algorithm to be verified; the main control device integrates the registered diagnostic reasoning algorithm to be verified into the embedded target machine; the data simulation device starts the fault simulation model according to the simulation fault instruction of the main control device to generate the simulation fault data, and generates corresponding simulation fault data; the embedded target machine utilizes the diagnosis to be verified The reasoning algorithm performs reasoning calculations on the simulated fault data, and sends the calculation results to the main control device; the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation results.

利用待验证诊断推理算法对所述仿真故障数据进行推理计算包括:从主控装置接收的任务要求;根据任务要求,从所述数据模拟装置中读入相应的仿真故障数据;利用待验证诊断推理算法对所述相应的仿真故障数据进行计算。Using the diagnostic inference algorithm to be verified to perform inferential calculation on the simulated fault data includes: receiving task requirements from the main control device; reading in corresponding simulated fault data from the data simulation device according to the task requirements; using diagnostic reasoning to be verified An algorithm calculates the corresponding simulated fault data.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将所述计算结果中的故障类型及数量与所述仿真故障指令所涉及的故障类型及数量进行匹配处理;按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能。The main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result, including: matching the fault type and quantity in the calculation result with the fault type and quantity involved in the simulated fault instruction Processing: Evaluate the performance of the diagnostic reasoning algorithm to be verified according to the matching degree of the matching processing.

利用待验证诊断推理算法对所述仿真故障数据进行推理计算还包括:接收所述数据模拟装置转发的来自所述主控装置的计算资源的包含挤占等级的挤占指令;根据所述挤占指令中的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。Performing reasoning calculation on the simulated fault data by using the diagnosis reasoning algorithm to be verified further includes: receiving an occupation instruction including an occupation level from the computing resources of the main control device forwarded by the data simulation device; Occupancy level, setting the occupation ratio of non-diagnostic reasoning algorithms to computing resources in the airborne computing environment; in the case of assigning corresponding computing resources to non-diagnostic reasoning algorithms and diagnostic reasoning algorithms to be verified according to the occupation ratio, the calculation resource When it is crowded, the calculation efficiency and capability of the diagnostic reasoning algorithm are to be verified and sent to the main control device.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将所述计算结果中的故障类型数量与所述仿真故障指令所涉及的故障类型数量进行匹配处理;按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。The main control device evaluates the performance of the diagnostic inference algorithm to be verified by analyzing the calculation results, including: matching the number of fault types in the calculation results with the number of fault types involved in the simulated fault instruction; The performance of the diagnostic reasoning algorithm to be verified is evaluated according to the matching degree of the matching process and the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are occupied.

故障仿真模型对液压伺服系统的故障进行模拟,生成包括电子放大器增益突变、电子放大器增益缓变以及液压缸内泄露的故障数据。The fault simulation model simulates the faults of the hydraulic servo system, and generates fault data including sudden changes in the gain of the electronic amplifier, slow changes in the gain of the electronic amplifier, and leakage in the hydraulic cylinder.

得到计算资源被挤占时待验证诊断推理算法的解算效率和能力包括:对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Obtaining the computing efficiency and capability of the diagnostic inference algorithm to be verified when computing resources are occupied includes: making statistics on the occupancy of software and hardware resources during the operation of each diagnostic inference task; adding monitoring points in the program by inserting stubs, and finally The performance monitoring information during the running of the task is obtained by summarizing the location information.

为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。Allocating corresponding computing resources for non-diagnostic reasoning algorithms is realized by running equivalent computing programs.

等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。The running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that the diagnostic reasoning algorithm to be verified is preferentially run according to the crowding instruction of the main control device.

计算资源挤占包括运行所述等效计算程序的线程的CPU占用率和内存占用率。Computing resource occupancy includes CPU usage and memory usage of threads running the equivalent computing program.

图10显示了本发明的飞机嵌入式实时诊断推理算法的试验方法的第二实施例,其包括:主控装置对待验证诊断推理算法进行注册;主控装置将经过注册的待验证诊断推理算法整合到嵌入式目标机中;数据模拟装置根据主控装置发出的注入实际故障数据的故障注入指令,从试验台故障注入系统获得相应的实际故障数据;所述嵌入式目标机利用所述待验证诊断推理算法对所述实际故障数据进行推理计算,将计算结果发送给主控装置;主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价。Fig. 10 shows the second embodiment of the test method of the aircraft embedded real-time diagnostic reasoning algorithm of the present invention, which includes: the main control device registers the diagnostic reasoning algorithm to be verified; the main control device integrates the registered diagnostic reasoning algorithm to be verified into the embedded target machine; the data simulation device obtains the corresponding actual fault data from the fault injection system of the test bench according to the fault injection instruction injected into the actual fault data sent by the main control device; the embedded target machine utilizes the diagnosis to be verified The reasoning algorithm performs reasoning calculation on the actual fault data, and sends the calculation result to the main control device; the main control device evaluates the performance of the diagnosis reasoning algorithm to be verified by analyzing the calculation result.

利用待验证诊断推理算法对所述实际故障数据进行推理计算包括:接收主控装置的任务要求;根据所述任务要求,从所述数据模拟装置中读入相应的实际故障数据;利用待验证诊断推理算法对所述相应的实际故障数据进行计算。Using the diagnostic reasoning algorithm to be verified to perform inferential calculation on the actual fault data includes: receiving the task requirements of the main control device; reading in the corresponding actual fault data from the data simulation device according to the task requirements; An inference algorithm performs calculations on said corresponding actual fault data.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将所述计算结果中的故障类型数量与所述故障注入指令所涉及的故障类型数量进行匹配处理;按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能。The main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result, including: matching the number of fault types in the calculation result with the number of fault types involved in the fault injection instruction; According to the matching degree of the matching processing, the performance of the diagnostic reasoning algorithm to be verified is evaluated.

利用待验证诊断推理算法对所述实际故障数据进行推理计算包括:接收所述数据模拟装置转发的来自所述主控装置的计算资源的包含挤占等级的挤占指令;根据所述挤占指令中的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。Performing inferential calculation on the actual fault data by using the diagnostic reasoning algorithm to be verified includes: receiving an occupation instruction including an occupation level forwarded by the data simulation device from the computing resources of the main control device; Level, setting the occupation ratio of non-diagnostic reasoning algorithms to computing resources in the airborne computing environment; in the case of assigning corresponding computing resources to non-diagnostic reasoning algorithms and diagnostic reasoning algorithms to be verified according to the occupation ratio, the calculation resources are obtained. When crowded, the calculation efficiency and capability of the diagnostic reasoning algorithm are to be verified and sent to the main control device.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将所述计算结果中的故障类型数量与所述故障注入指令所涉及的故障类型及数量进行匹配处理;按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。The main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation results, including: matching the number of fault types in the calculation results with the fault types and numbers involved in the fault injection instruction ; Evaluate the performance of the diagnostic reasoning algorithm to be verified according to the matching degree of matching processing and the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are occupied.

主控装置与所述数据模拟装置及所述嵌入式目标机通过局域网传输进行通信,所述数据模拟装置与所述嵌入式目标机通过光纤进行通信。The main control device communicates with the data simulation device and the embedded target machine through LAN transmission, and the data simulation device communicates with the embedded target machine through optical fiber.

得到计算资源被挤占时待验证诊断推理算法的解算效率和能力包括:对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Obtaining the computing efficiency and capability of the diagnostic inference algorithm to be verified when computing resources are occupied includes: making statistics on the occupancy of software and hardware resources during the operation of each diagnostic inference task; adding monitoring points in the program by inserting stubs, and finally The performance monitoring information during the running of the task is obtained by summarizing the location information.

为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。其中,等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。Allocating corresponding computing resources for non-diagnostic reasoning algorithms is realized by running equivalent computing programs. Wherein, the running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that the diagnostic reasoning algorithm to be verified is preferentially run according to the crowding instruction of the main control device.

计算资源挤占包括运行所述等效计算程序的线程的CPU占用率和内存占用率。Computing resource occupancy includes CPU usage and memory usage of threads running the equivalent computing program.

图11显示了本发明的飞机嵌入式实时诊断推理算法的试验方法第三实施例,其包括:主控装置对待验证诊断推理算法进行注册;主控装置将经过注册的待验证诊断推理算法整合到嵌入式目标机中;数据模拟装置根据主控装置发出的历史故障读出指令,从其历史故障数据库中读出相应的历史故障数据;所述嵌入式目标机利用所述待验证诊断推理算法对所述历史故障数据进行推理计算,将计算结果发送给主控装置;主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价。Fig. 11 shows the third embodiment of the test method of the aircraft embedded real-time diagnostic reasoning algorithm of the present invention, which includes: the main control device registers the diagnostic reasoning algorithm to be verified; the main control device integrates the registered diagnostic reasoning algorithm to be verified into In the embedded target machine; the data simulation device reads out the corresponding historical fault data from its historical fault database according to the historical fault reading instruction sent by the main control device; the embedded target machine utilizes the diagnostic reasoning algorithm to be verified to The historical fault data is inferred and calculated, and the calculation result is sent to the main control device; the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result.

利用待验证诊断推理算法对对所述历史故障数据进行推理计算包括:接收主控装置的任务要求;根据所述任务要求,从数据模拟装置中读入相应的历史故障数据;利用待验证诊断推理算法对相应的实际故障数据进行计算。Using the diagnostic inference algorithm to be verified to infer and calculate the historical fault data includes: receiving the task requirements of the main control device; according to the task requirements, reading in the corresponding historical fault data from the data simulation device; using the diagnostic inference to be verified The algorithm performs calculations on the corresponding actual fault data.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将计算结果中的故障类型数量与历史故障读出指令涉及的故障类型及数量进行匹配处理;按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能。The main control device evaluates the performance of the diagnostic inference algorithm to be verified by analyzing the calculation results, including: matching the number of fault types in the calculation results with the fault types and quantities involved in the historical fault readout instruction; The matching degree of processing is used to evaluate the performance of the diagnostic reasoning algorithm to be verified.

利用待验证诊断推理算法对所述历史故障数据进行推理计算包括:接收所述数据模拟装置转发的来自所述主控装置的计算资源的包含挤占等级的挤占指令;根据所述挤占指令中的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。Using the diagnostic inference algorithm to be verified to perform inferential calculation on the historical fault data includes: receiving an occupancy instruction containing an occupancy level from the computing resources of the main control device forwarded by the data simulation device; Level, setting the occupation ratio of non-diagnostic reasoning algorithms to computing resources in the airborne computing environment; in the case of assigning corresponding computing resources to non-diagnostic reasoning algorithms and diagnostic reasoning algorithms to be verified according to the occupation ratio, the calculation resources are obtained. When crowded, the calculation efficiency and capability of the diagnostic reasoning algorithm are to be verified and sent to the main control device.

主控装置通过分析所述计算结果,对所述待验证诊断推理算法的性能进行评价包括:将所述计算结果中的故障类型及数量与所述故障注入指令所涉及的故障类型及数量进行匹配处理;The main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result, including: matching the fault type and quantity in the calculation result with the fault type and quantity involved in the fault injection instruction deal with;

按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。The performance of the diagnostic reasoning algorithm to be verified is evaluated according to the matching degree of the matching process and the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are occupied.

主控装置与所述数据模拟装置及所述嵌入式目标机通过局域网传输进行通信,所述数据模拟装置与所述嵌入式目标机通过光纤进行通信。The main control device communicates with the data simulation device and the embedded target machine through LAN transmission, and the data simulation device communicates with the embedded target machine through optical fiber.

得到计算资源被挤占时待验证诊断推理算法的解算效率和能力包括:对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Obtaining the computing efficiency and capability of the diagnostic inference algorithm to be verified when computing resources are occupied includes: making statistics on the occupancy of software and hardware resources during the operation of each diagnostic inference task; adding monitoring points in the program by inserting stubs, and finally The performance monitoring information during the running of the task is obtained by summarizing the location information.

为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。其中,等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。计算资源挤占包括运行所述等效计算程序的线程的CPU占用率和内存占用率。Allocating corresponding computing resources for non-diagnostic reasoning algorithms is realized by running equivalent computing programs. Wherein, the running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that the diagnostic reasoning algorithm to be verified is preferentially run according to the crowding instruction of the main control device. Computing resource occupancy includes CPU usage and memory usage of threads running the equivalent computing program.

本发明的嵌入式实时诊断推理算法演示系统为飞机嵌入式实时诊断设计的试验分析系统试验流程设计奠定了基础。其方法保证了试验的有序进行。The embedded real-time diagnostic reasoning algorithm demonstration system of the present invention lays a foundation for the test flow design of the test analysis system of aircraft embedded real-time diagnostic design. The method ensures the orderly conduct of the test.

尽管上文对本发明进行了详细说明,但是本发明不限于此,本技术领域技术人员可以根据本发明的原理进行各种修改。因此,凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。Although the present invention has been described in detail above, the present invention is not limited thereto, and various modifications can be made by those skilled in the art based on the principle of the present invention. Therefore, any modifications made according to the principles of the present invention should be understood as falling within the protection scope of the present invention.

Claims (10)

1.一种飞机嵌入式实时诊断推理算法的试验系统,用于在地面上验证飞机嵌入式诊断推理算法,其特征在于,所述试验系统包括:1. a kind of test system of aircraft embedded real-time diagnosis reasoning algorithm, is used for verifying aircraft embedded diagnosis reasoning algorithm on the ground, it is characterized in that, described test system comprises: 主控装置,用于对待验证诊断推理算法进行注册,将经过注册的待验证诊断推理算法整合到嵌入式目标机中,并发出生成故障数据的故障生成指令;The main control device is used to register the diagnostic reasoning algorithm to be verified, integrate the registered diagnostic reasoning algorithm to be verified into the embedded target machine, and issue a fault generation instruction for generating fault data; 连接所述主控装置的具有采集实际故障数据、历史故障存储及故障仿真功能的数据模拟装置,用于根据主控装置的发出的故障生成指令,生成相应的故障数据;A data simulation device connected to the main control device with the functions of collecting actual fault data, historical fault storage and fault simulation is used to generate corresponding fault data according to the fault generation instruction issued by the main control device; 分别连接所述主控装置和所述数据模拟装置的嵌入式目标机,用于从所述主控装置接收所述经过注册的所述待验证诊断推理算法,从所述数据模拟装置接收所述故障数据;通过运行所述待验证诊断推理算法,对所接收的故障数据进行推理计算,并将含有故障类型数量的计算结果发送给主控装置;The embedded target machine connected to the main control device and the data simulation device is used to receive the registered diagnostic reasoning algorithm to be verified from the main control device, and receive the Fault data; by running the diagnosis reasoning algorithm to be verified, inferential calculation is performed on the received fault data, and the calculation result containing the number of fault types is sent to the main control device; 其中,所述主控装置通过分析来自所述嵌入式目标机的所述含有故障类型数量的计算结果,对所述待验证诊断推理算法的性能进行评价;Wherein, the main control device evaluates the performance of the diagnostic reasoning algorithm to be verified by analyzing the calculation result containing the number of fault types from the embedded target machine; 其中,所述数据模拟装置根据主控装置的发出的故障生成指令生成相应的故障数据包括:Wherein, the data simulation device generating corresponding fault data according to the fault generation instruction issued by the main control device includes: 当主控装置发出的故障生成指令为仿真故障生成指令时,所述数据模拟装置根据所述仿真故障生成指令生成的仿真故障数据;When the fault generation command sent by the main control device is a simulated fault generation command, the simulated fault data generated by the data simulation device according to the simulated fault generation command; 当主控装置发出的故障生成指令为实际故障注入指令时,所述数据模拟装置根据实际故障注入指令从试验台故障注入系统获得的相应实际故障数据;When the fault generation instruction issued by the main control device is an actual fault injection instruction, the corresponding actual fault data obtained by the data simulation device from the test bench fault injection system according to the actual fault injection instruction; 当主控装置发出的故障生成指令为历史故障读出指令时,所述数据模拟装置根据历史故障读出指令从历史故障数据库中读出的相应历史故障数据。When the fault generation command issued by the main control device is a historical fault reading command, the data simulation device reads corresponding historical fault data from the historical fault database according to the historical fault reading command. 2.根据权利要求1所述的试验系统,其特征在于,所述的嵌入式目标机包括:2. test system according to claim 1, is characterized in that, described embedded target machine comprises: 用于接收任务要求的接收模块;A receiving module for receiving task requirements; 用于根据所述任务要求从所述数据模拟装置中读入相应的故障数据的读取模块;A reading module for reading corresponding fault data from the data simulation device according to the task requirements; 用于利用所述待验证诊断推理算法对所述相应的故障数据进行计算的计算模块。A calculation module for calculating the corresponding fault data by using the diagnostic reasoning algorithm to be verified. 3.根据权利要求2所述的试验系统,其特征在于,所述的主控装置包括:3. The test system according to claim 2, wherein said main control device comprises: 用于将所述计算结果中的故障类型数量与所述故障生成指令所涉及的故障类型及数量进行匹配处理的匹配处理模块;A matching processing module for matching the number of fault types in the calculation result with the type and number of faults involved in the fault generation instruction; 用于按照匹配处理的匹配程度,评价所述待验证诊断推理算法的性能的评价模块。An evaluation module for evaluating the performance of the diagnostic reasoning algorithm to be verified according to the matching degree of the matching processing. 4.根据权利要求2所述的试验系统,其特征在于,所述的嵌入式目标机还包括计算机资源挤占模块,用于:4. test system according to claim 2, it is characterized in that, described embedded target machine also comprises computer resource crowding-out module, is used for: 接收所述主控装置发出的用于挤占计算资源的挤占指令;receiving a crowd command sent by the main control device for crowding out computing resources; 根据所述挤占指令包含的挤占等级,设定机载计算环境中非诊断推理算法对于计算资源的挤占比例;According to the occupation level included in the occupation instruction, set the occupation ratio of the non-diagnostic reasoning algorithm to the computing resource in the airborne computing environment; 在按照所述挤占比例分别为非诊断推理算法和待验证诊断推理算法分配相应计算资源的情况下,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力,并将其发送给主控装置。In the case of allocating corresponding computing resources to the non-diagnostic reasoning algorithm and the diagnostic reasoning algorithm to be verified according to the occupation ratio, the calculation efficiency and capability of the diagnostic reasoning algorithm to be verified when the computing resources are occupied are obtained, and sent to the main control device. 5.根据权利要求4所述的试验系统,其特征在于,主控装置的匹配处理模块将所述计算结果中的故障类型数量与所述故障生成指令所涉及的故障类型数量进行匹配处理;主控装置的评价模块按照匹配处理的匹配程度以及计算资源被挤占时待验证诊断推理算法的解算效率和能力,评价所述待验证诊断推理算法的性能。5. The test system according to claim 4, wherein the matching processing module of the main control device matches the number of fault types involved in the calculation result with the number of fault types involved in the fault generation instruction; The evaluation module of the control device evaluates the performance of the diagnostic reasoning algorithm to be verified according to the matching degree of the matching process and the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are occupied. 6.根据权利要求1所述的试验系统,其特征在于,所述数据模拟装置的故障仿真模型对液压伺服系统的故障进行模拟,生成包括电子放大器增益突变、电子放大器增益缓变以及液压缸内泄露的故障数据。6. The test system according to claim 1, characterized in that, the failure simulation model of the data simulation device simulates the failure of the hydraulic servo system, and generates a sudden change in the gain of the electronic amplifier, a slow change in the gain of the electronic amplifier, and a failure in the hydraulic cylinder. Leaked fault data. 7.根据权利要求4所述的试验系统,其特征在于,所述的挤占模块通过以下处理,得到计算资源被挤占时待验证诊断推理算法的解算效率和能力:7. The test system according to claim 4, characterized in that, the described crowding module obtains the computing efficiency and capability of the diagnostic reasoning algorithm to be verified when computing resources are crowded by the following processing: 对每次的诊断推理任务运行期间的软硬件资源占用情况进行统计;Make statistics on the occupancy of software and hardware resources during each diagnostic reasoning task run; 通过插桩的方式在程序中加入监控点,最终将各位置信息进行汇总统计得到任务运行期间的性能监控信息。Add monitoring points to the program by inserting stubs, and finally collect statistics on each location information to obtain performance monitoring information during task running. 8.根据权利要求4所述的试验系统,其特征在于,所述的为非诊断推理算法分配相应计算资源是通过运行等效计算程序实现的。8. The test system according to claim 4, wherein the allocation of corresponding computing resources for the non-diagnostic reasoning algorithm is realized by running an equivalent computing program. 9.根据权利要求8所述的试验系统,其特征在于,所述等效计算程序的运行优先级高于待验证诊断推理算法的运行优先级,以便根据所述主控装置的挤占指令,优先运行待验证诊断推理算法。9. The test system according to claim 8, wherein the running priority of the equivalent calculation program is higher than that of the diagnostic reasoning algorithm to be verified, so that according to the crowding instruction of the main control device, priority Run the diagnostic inference algorithm to be verified. 10.根据权利要求9所述的试验系统,其特征在于,所述挤占计算资源包括运行所述等效计算程序的线程的CPU占用率和内存占用率。10 . The test system according to claim 9 , wherein the computing resource occupancy includes CPU occupancy rate and memory occupancy rate of threads running the equivalent calculation program. 11 .
CN201610551143.0A 2016-07-13 2016-07-13 The embedded real-time diagnosis reasoning algorithm pilot system of aircraft Expired - Fee Related CN106295809B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610551143.0A CN106295809B (en) 2016-07-13 2016-07-13 The embedded real-time diagnosis reasoning algorithm pilot system of aircraft

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610551143.0A CN106295809B (en) 2016-07-13 2016-07-13 The embedded real-time diagnosis reasoning algorithm pilot system of aircraft

Publications (2)

Publication Number Publication Date
CN106295809A CN106295809A (en) 2017-01-04
CN106295809B true CN106295809B (en) 2018-12-14

Family

ID=57651903

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610551143.0A Expired - Fee Related CN106295809B (en) 2016-07-13 2016-07-13 The embedded real-time diagnosis reasoning algorithm pilot system of aircraft

Country Status (1)

Country Link
CN (1) CN106295809B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112051039A (en) * 2019-06-05 2020-12-08 大连中和聚能自动控制系统有限公司 Experiment table system for fault simulation of pneumatic actuating mechanism
CN110688313B (en) * 2019-09-26 2022-11-18 天津津航计算技术研究所 Fault injection method for software testing under VxWorks operating system
CN111896246A (en) * 2020-07-29 2020-11-06 北京天地龙跃科技有限公司 Health management verifies evaluation system
CN111896244B (en) * 2020-07-29 2023-04-07 天地(常州)自动化股份有限公司 Fully mechanized mining equipment PHM system
CN114625098B (en) * 2020-12-10 2023-10-20 中国科学院沈阳自动化研究所 Preemptive fault processing method for underwater robot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118533A (en) * 2007-09-07 2008-02-06 上海广电(集团)有限公司中央研究院 Algorithm entity verification system and method
CN102998996A (en) * 2012-12-07 2013-03-27 陕西千山航空电子有限责任公司 Airborne real-time fault diagnosis method
CN103559112A (en) * 2013-11-05 2014-02-05 北京经纬恒润科技有限公司 Software fault injection method and system
CN105743677A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Resource configuration method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7412371B2 (en) * 2004-06-08 2008-08-12 Northrop Grumman Corporation Time synchronized playback and control of dissimilar data files

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118533A (en) * 2007-09-07 2008-02-06 上海广电(集团)有限公司中央研究院 Algorithm entity verification system and method
CN102998996A (en) * 2012-12-07 2013-03-27 陕西千山航空电子有限责任公司 Airborne real-time fault diagnosis method
CN103559112A (en) * 2013-11-05 2014-02-05 北京经纬恒润科技有限公司 Software fault injection method and system
CN105743677A (en) * 2014-12-10 2016-07-06 中国移动通信集团公司 Resource configuration method and apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于多总线的飞机电气故障模拟实验系统设计;王秋生等;《计算机测量与控制》;20100131;第18卷(第1期);44-47 *
基于故障树的飞机故障诊断专家系统技术研究;訾超;《中国优秀硕士学位论文全文数据库工程科技II辑》;20160315(第3期);第31-48页 *

Also Published As

Publication number Publication date
CN106295809A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106295809B (en) The embedded real-time diagnosis reasoning algorithm pilot system of aircraft
CN106294121A (en) Aircraft embedded real-time diagnosis reasoning algorithm test method
CN104598373B (en) A kind of embedded software test method of multi-technical fusion
CN107368408A (en) A kind of software fault towards interface injects automated testing method
CN106649101A (en) ICE automated test system and test method
CN103544103A (en) Method and system for test, simulation and concurrence of software performance
CN107562969A (en) The integrated approach and device of aeroengine control system software
CN116467211B (en) System-level test verification method based on digital simulation environment
CN103885341B (en) Performance analysis system based on automotive performance simulator and method
CN103838899A (en) Simulation verification system and method for interrupt controller of hard-core MCU
CN112035996A (en) Equipment testability integrated design and evaluation system
CN107733735A (en) Script recording system and method
CN106295808B (en) The embedded real-time diagnosis reasoning algorithm test method of aircraft
CN107038120A (en) A kind of method for testing software and equipment
CN108334447A (en) A kind of system and method for test processes computer software exception
CN106292330B (en) The embedded real-time diagnosis reasoning algorithm test method of aircraft
CN109932588A (en) A kind of Aerial Electronic Equipment validation test engine
CN113032203A (en) Programmable logic device accelerated testing device and method
CN115248782B (en) Automatic testing method and device and computer equipment
CN106897469A (en) A kind of test environment generation method and device
CN109557900A (en) A kind of test method and system for verifying DCS analog machine logical operation function
CN116224819A (en) High-risk simulation test platform and test method
CN205015414U (en) A general purpose system that is used for electronics testability to verify and evaluate
CN117271268A (en) Cluster architecture performance evaluation method in digital computing platform
CN112214912B (en) External automatic test system and airborne equipment test method

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
TR01 Transfer of patent right

Effective date of registration: 20200610

Address after: No. 214, xiaoxinzhuang village, Beifang Town, Huairou District, Beijing

Patentee after: Beijing Hengxing Yikang Technology Co.,Ltd.

Address before: 100191 Beihang University, Haidian District, Xueyuan Road, 37, Beijing

Patentee before: BEIHANG University

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20181214

CF01 Termination of patent right due to non-payment of annual fee