PHM software function automatic test equipment
By designing an automated testing device for PHM software functions, automatic fault injection and comparison were achieved, solving the problems of errors and omissions caused by manual operation in existing technologies, and improving the coverage and accuracy of testing.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHENGDU AIRCRAFT DESIGN INST OF AVIATION IND CORP OF CHINA
- Filing Date
- 2022-12-29
- Publication Date
- 2026-05-19
AI Technical Summary
In the existing PHM software functional testing, the fault injection and processing result comparison process requires manual intervention, which is labor-intensive and prone to omissions or errors.
Design an automated testing device for PHM software functions, including a host computer and a simulation integrated processor. It realizes automatic fault injection and automatic comparison of processing results through simulation and application software, and uses data forwarding software for data transmission and monitoring.
It enables automatic injection of fault stimuli and automatic comparison of software output, improving test case coverage and accuracy, avoiding errors introduced by manual operation, and improving testing efficiency.
Smart Images

Figure CN115973449B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of aircraft management systems, specifically to an automated testing device for PHM software functions. Background Technology
[0002] Health management and fault prediction (PHM) technology is a key supporting technology for military aircraft to reduce the scale of logistical support, alleviate maintenance and support pressure, and transform maintenance methods (CBM). The existing military aircraft PHM structure consists of onboard health assessment, aircraft / support system interface, autonomous support system, and ground-based PHM. Military aircraft PHM functions are mainly implemented through onboard software. Front-end sensors are responsible for collecting aircraft fault and status information and uploading it to the aircraft management computer according to a prescribed protocol. The PHM software in the aircraft management computer processes the fault information uploaded by the sensors and then transmits it to a higher-level data processing center according to the prescribed protocol. The data processing center outputs the final processing results to a data transmission record card. Ground support personnel perform aircraft maintenance by reviewing the contents of the data record card. The data flow of the onboard software PHM function is as follows:
[0003] After completing the software coding for the PHM function, designers need to test the software. The testing content includes:
[0004] a) Whether the aircraft management computer can correctly output processing results to a higher-level data processing center based on the aircraft fault and status information uploaded by the front-end sensors;
[0005] b. Whether the advanced data processing center can correctly process the PHM information uploaded by the aircraft management computer and transmit the processing results to the data transmission record card for recording;
[0006] Currently, designers need to follow these steps when conducting software functional testing:
[0007] a. Adjust the laboratory test bench to normal working condition;
[0008] b. Turn on the test bench data logger;
[0009] c. Use a sensor simulator to inject fault and status information into the aircraft system;
[0010] d. Turn off the test bench data logger;
[0011] e. Manually compare the aircraft fault information uploaded by the sensors with the processing results output by the aircraft management computer.
[0012] f. Manually compare the processing results output by the aircraft management computer with the processing results output by the higher-level data processing center.
[0013] However, existing PHM software functional testing requires manual intervention in both the front-end fault injection and processing result comparison stages. Due to the large number of aircraft fault signals, the workload of fault injection is enormous, and the use of manual comparison inevitably leads to omissions or errors. Summary of the Invention
[0014] The purpose of this invention is to propose an automated testing device for the PHM software function of military aircraft, which can realize automated fault injection and automatic comparison of PHM software processing results.
[0015] Technical Solution: A PHM software functional automated testing device, comprising a host computer 1, a host computer 2, a host computer 3, and a simulated integrated processor; the simulated integrated processor includes a 1394 interface board, general processing boards A1, A2, A3, and B, an FC switching board, and a network switching board; general processing boards A1, A2, and A3 each include a processor board and a PF daughter card; the 1394 interface board includes a processor board, a PF daughter card, and a 4-node 1394 card; general processing board B includes a processor board and a PF daughter card; the network switching board includes network switching board 1 and network switching board 2, where network switching board 1 is a RapidIO switch and network switching board 2 is an Ethernet switch; the host computer 3 includes an FC monitoring card. Wherein:
[0016] The host computer 1 is connected to the processor boards of general-purpose processing board A1 and general-purpose processing board A2 in the analog integrated processor via Ethernet interfaces. The processor board of general-purpose processing board A1 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. The FC daughter card is connected to the FC switching board via optical fiber. The processor board of general-purpose processing board A2 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. It is also connected to the network switching board 1 via RapidIO. The FC daughter card in general-purpose processing board A2 is connected to the FC switching board via optical fiber.
[0017] The host computer 2 is connected to the processor board of the general-purpose processor board A3 in the analog integrated processor via Ethernet. The processor board of the general-purpose processor board A3 is connected to the FC daughter card, and is connected to the network switching board 2 via Ethernet. At the same time, it is connected to the network switching board 1 via RapidIO. The FC daughter card in the general-purpose processor board A3 is connected to the FC switching board via optical fiber.
[0018] The FC monitoring card in host computer 3 is connected to the FC switching board in the analog integrated processor via optical fiber, and is connected to the network switching board 2 via an Ethernet interface.
[0019] The 1394 interface board in the analog integrated processor is connected to the network switch board 2 via Ethernet. The processor board in the 1394 interface board is connected to the FC daughter card via PCIe interface, and is also connected to the 4-node 1394 card via PCIe interface. The FC daughter card is connected to the FC switch board via optical fiber. The 4-node 1394 card is connected to the user equipment via 1394 bus.
[0020] In the analog integrated processor, the processor board of the general-purpose processing board B is connected to the network switching board 2 via an Ethernet interface, and also to the network switching board 1 via RapidIO, and to the FC daughter card via a PCIe interface.
[0021] Specifically, both host computer 1 and host computer 2 have the Tianmai debugging environment installed.
[0022] Specifically, the host computer 3 is equipped with the Vxworks 6.9 debugging environment, an FC monitoring card, and FC monitoring software, which can monitor and analyze FC network data.
[0023] Specifically, the PHM automated testing equipment software applied to the PHM software functional automated testing equipment includes simulation and application software and data forwarding software, wherein:
[0024] The simulation and application software runs on host computer 3;
[0025] The data forwarding software runs on the 1394 interface board and is the lower-level software corresponding to the simulation and application software.
[0026] Specifically, simulation and application software must perform two main functions: communication control and data analysis and automatic testing.
[0027] Specifically, the communication control function mainly completes the data communication and control between the host computer software and the data forwarding software, and realizes FC and 1394 data access, storage and excitation;
[0028] The data analysis and automated testing functions are used to automate the testing of PHM functions.
[0029] Specifically, the data forwarding software has the following functions:
[0030] a. It communicates with the host computer 3 via Ethernet to control the communication software and complete the relevant software functions.
[0031] b. Complete bus data transmission and reception based on the bus configuration table and ICD sent by host computer 3;
[0032] c. Supports data encapsulation of 1394 interface data, generating packet headers for received 1394 data according to the requirements of the execution environment and then forwarding it through FC;
[0033] d. Supports encapsulation of Ethernet data sent from host computer 3, generating packet headers according to the requirements of the execution environment, and forwarding via FC;
[0034] e. Supports bus data monitoring;
[0035] f. All data is transmitted and parsed in big-endian mode.
[0036] Specifically, the simulation and application software runs on host computer 3, and its operating system environment is Win7 64bit.
[0037] The advantages of this invention are: it provides an automated testing device for PHM software functions, which realizes automatic injection of fault stimuli and automatic comparison of software outputs, solving the drawbacks of existing PHM software function testing where both fault injection and processing result comparison require manual operation, improving the coverage and accuracy of test cases, avoiding omissions or errors caused by manual comparison, and improving testing efficiency.
[0038] Explanation of the attached diagram
[0039] Figure 1 A schematic diagram of the data flow for the airborne software PHM function provided in this application;
[0040] Figure 2 A schematic diagram of the hardware composition of a PHM software functional automated testing device provided in this application;
[0041] Figure 3 This application provides a schematic diagram of the software composition of an automated testing device for PHM software functions. Detailed Implementation
[0042] Example 1
[0043] The present invention will now be described in further detail.
[0044] like Figure 2 As shown, this application provides an automated testing device for PHM software functions, based on the existing aircraft onboard fault prediction and health management system architecture, including: host computer 1, host computer 2, host computer 3, and a simulated integrated processor; the simulated integrated processor includes a 1394 interface board, general processing board A1, general processing board A2, general processing board A3, general processing board B, FC switch board, and network switch board; general processing boards A1, A2, and A3 each include a processor board and a PF daughter card; the 1394 interface board includes a processor board, a PF daughter card, and a 4-node 1394 card; general processing board B includes a processor board and a PF daughter card; the network switch board includes network switch board 1 and network switch board 2, where network switch board 1 is a RapidIO switch and network switch board 2 is an Ethernet switch; host computer 3 includes an FC monitoring card. Specifically:
[0045] The host computer 1 is connected to the processor boards of general-purpose processing board A1 and general-purpose processing board A2 in the analog integrated processor via Ethernet interfaces. The processor board of general-purpose processing board A1 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. The FC daughter card is connected to the FC switching board via optical fiber. The processor board of general-purpose processing board A2 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. It is also connected to the network switching board 1 via RapidIO. The FC daughter card in general-purpose processing board A2 is connected to the FC switching board via optical fiber.
[0046] The host computer 2 is connected to the processor board of the general-purpose processor board A3 in the analog integrated processor via Ethernet. The processor board of the general-purpose processor board A3 is connected to the FC daughter card, and is connected to the network switching board 2 via Ethernet. At the same time, it is connected to the network switching board 1 via RapidIO. The FC daughter card in the general-purpose processor board A3 is connected to the FC switching board via optical fiber.
[0047] The FC monitoring card in host computer 3 is connected to the FC switching board in the analog integrated processor via optical fiber, and is connected to the network switching board 2 via an Ethernet interface.
[0048] The 1394 interface board in the analog integrated processor is connected to the network switch board 2 via Ethernet. The processor board in the 1394 interface board is connected to the FC daughter card via PCIe interface, and is also connected to the 4-node 1394 card via PCIe interface. The FC daughter card is connected to the FC switch board via optical fiber. The 4-node 1394 card is connected to the user equipment via 1394 bus.
[0049] In the analog integrated processor, the processor board of the general-purpose processing board B is connected to the network switching board 2 via an Ethernet interface, and is also connected to the network switching board 1 via RapidIO, and to the FC daughter card via a PCIe interface.
[0050] Both host computer 1 and host computer 2 have the Tianmai debugging environment installed; host computer 3 has the Vxworks 6.9 debugging environment installed, an FC monitoring card installed, and FC monitoring software running, which can monitor and analyze FC network data.
[0051] It should be noted that the Tianmai debugging environment is used for the deployment, installation, and debugging of the Tianmai operating system, which is a highly reliable and secure real-time operating system designed for military use.
[0052] Example 2
[0053] like Figure 3As shown in the figure, this application provides a schematic diagram of the software composition of an automated testing device for PHM software functions. The PHM automated testing device software includes simulation and application software and data forwarding software, which are respectively host computer software and slave computer software.
[0054] (I) Simulation and Application Software:
[0055] The simulation and application software runs on host computer 3, with a Win7 64-bit operating system. The simulation and application software must perform two main functions: communication control and data analysis and automatic testing.
[0056] (1) Communication control function
[0057] The communication control function mainly handles data communication and control between the host computer software and the data forwarding software, enabling FC and 1394 data access, storage, and activation. Specific functions are as follows:
[0058] a. Communicate with the "data forwarding software" on the 1394 interface board via Ethernet;
[0059] b. Supports receiving, storing, and parsing 1394 interface data;
[0060] c. Supports the transmission of 1394 data, allows users to modify the data packets (including data sets) sent by the 1394 board through the software interface, and allows users to send bus configuration tables and ICDs to the 1394 board through the host computer software;
[0061] d. Acquire, store, and parse the FC data collected by the FC port on the FC monitoring card and 1394 interface board;
[0062] e. Supports the transmission of FC data and allows users to modify the content of FC data packets through the software interface;
[0063] f. Obtain data from bus 1 and bus 2 sent by the bus station via the Ethernet interface;
[0064] g. Respond to the user's commands to start and stop recording data;
[0065] h. Allow data analysis and automated testing software to access the 1394 data and FC data recorded by this software;
[0066] i. It has a data packet error injection function, which supports users to inject data packet SVPC faults, CRC faults, and heartbeat faults into the bus, and supports users to send / stop sending selected data packets;
[0067] (2) Data analysis and automated testing functions
[0068] The data analysis and automated testing functions are used to automate the testing of PHM functions, and have the following features:
[0069] a. Receive and store complete bus data, including 1394 data and FC data;
[0070] b. Supports automatic comparison and checking of HMC codes, can automatically generate test cases, set fault bits in data packets one by one, and check the output HMC codes one by one.
[0071] c. Supports automatic checking of HMC code causality masking logic;
[0072] d. Supports automatic comparison and checking of event data;
[0073] e. Supports comparison by data packet, comparison by byte, and comparison by bit;
[0074] f. Supports users to upload fault databases in EXCEL format, including causal relationship tables, HMC code databases, EVENT parsing databases, etc.
[0075] (II) Data forwarding software:
[0076] The data forwarding software runs on the 1394 interface board and is the lower-level machine software corresponding to the simulation and application software. This software has the following functions:
[0077] a. It communicates with the host computer 3's "communication control software" via Ethernet to complete the relevant software functions.
[0078] b. Complete bus data transmission and reception based on the bus configuration table and ICD sent by host computer 3;
[0079] c. Supports data encapsulation of 1394 interface data, generating packet headers for received 1394 data according to the requirements of the execution environment and then forwarding it through FC;
[0080] d. Supports encapsulation of Ethernet data sent from host computer 3, generating packet headers according to the requirements of the execution environment, and forwarding via FC;
[0081] e. Supports bus data monitoring;
[0082] f. All data is transmitted and parsed in big-endian mode.
Claims
1. An automated testing device for PHM software functions, characterized in that, The PHM software functional automated testing equipment includes host computer 1, host computer 2, host computer 3, and a simulated integrated processor; the simulated integrated processor includes a 1394 interface board, general processing board A1, general processing board A2, general processing board A3, general processing board B, an FC switch board, and a network switch board; general processing boards A1, A2, and A3 each include a processor board and a PF daughter card; the 1394 interface board includes a processor board, a PF daughter card, and a 4-node 1394 card; general processing board B includes a processor board and a PF daughter card; the network switch board includes network switch board 1 and network switch board 2, where network switch board 1 is a RapidIO switch and network switch board 2 is an Ethernet switch; host computer 3 includes an FC monitoring card, wherein: The host computer 1 is connected to the processor boards of general-purpose processing board A1 and general-purpose processing board A2 in the analog integrated processor via Ethernet interfaces. The processor board of general-purpose processing board A1 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. The FC daughter card is connected to the FC switching board via optical fiber. The processor board of general-purpose processing board A2 is connected to the FC daughter card and connected to the network switching board 2 via Ethernet. It is also connected to the network switching board 1 via RapidIO. The FC daughter card in general-purpose processing board A2 is connected to the FC switching board via optical fiber. The host computer 2 is connected to the processor board of the general-purpose processor board A3 in the analog integrated processor via Ethernet. The processor board of the general-purpose processor board A3 is connected to the FC daughter card, and is connected to the network switching board 2 via Ethernet. At the same time, it is connected to the network switching board 1 via RapidIO. The FC daughter card in the general-purpose processor board A3 is connected to the FC switching board via optical fiber. The FC monitoring card in host computer 3 is connected to the FC switching board in the analog integrated processor via optical fiber, and is connected to the network switching board 2 via an Ethernet interface. The 1394 interface board in the analog integrated processor is connected to the network switch board 2 via Ethernet. The processor board in the 1394 interface board is connected to the FC daughter card via PCIe interface, and is also connected to the 4-node 1394 card via PCIe interface. The FC daughter card is connected to the FC switch board via optical fiber. The 4-node 1394 card is connected to the user equipment via 1394 bus. In the analog integrated processor, the processor board of the general-purpose processing board B is connected to the network switch board 2 via an Ethernet interface, and also to the network switch board 1 via RapidIO, and to the FC daughter card via a PCIe interface; The PHM automatic testing equipment software applied to the PHM software functional automated testing equipment includes simulation and application software and data forwarding software. The simulation and application software runs on the host computer 3; the data forwarding software runs on the 1394 interface board and is the lower-level software corresponding to the simulation and application software.
2. The PHM software functional automated testing equipment according to claim 1, characterized in that, Both host computer 1 and host computer 2 have Tianmai debugging environment installed.
3. The PHM software functional automated testing equipment according to claim 1, characterized in that, Install the Vxworks 6.9 debugging environment on the host computer, install the FC monitoring card, and run the FC monitoring software to monitor and analyze FC network data.
4. The PHM software functional automated testing equipment according to claim 1, characterized in that, Simulation and application software must perform two main functions: communication control and data analysis and automatic testing.
5. The PHM software functional automated testing equipment according to claim 4, characterized in that, The communication control function mainly completes the data communication and control between the host computer software and the data forwarding software, and realizes FC and 1394 data access, storage and excitation; The data analysis and automated testing functions are used to automate the testing of PHM functions.
6. The PHM software functional automated testing equipment according to claim 1, characterized in that, Data forwarding software has the following functions: It communicates with the host computer 3 via Ethernet to control the communication software and complete the relevant software functions. Complete bus data transmission and reception based on the bus configuration table and ICD sent by host computer 3; It supports data encapsulation of 1394 interface data, and generates packet headers for received 1394 data according to the requirements of the execution environment before forwarding it through FC; It supports encapsulating Ethernet data sent from host computer 3, generating packet headers according to the requirements of the execution environment, and forwarding it via FC; Supports bus data monitoring; All data is transmitted and parsed in big-endian mode.
7. The PHM software functional automated testing equipment according to claim 1, characterized in that, The simulation and application software runs on host computer 3, and its operating system environment is Win7 64bits.