Flight controller product simulation test system based on test middleware

Through the flight controller product simulation test system based on test middleware, the communication interconnection and unified control of multiple test equipment are realized, which solves the problems of high cost and low efficiency of flight controller product simulation test equipment in the existing technology, and improves the efficiency of flight controller product simulation test equipment. Test efficiency and flexibility.

CN118746971APending Publication Date: 2024-10-083RD GENERAL DESIGN DEPT CHINA AEROSPACE SCI & IND CORP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410789587.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-08

AI Technical Summary

Technical Problem

The existing simulation test equipment for flight controller products is costly and inefficient, and cannot test multiple different models of flight controller products at the same time, resulting in high production efficiency and labor costs.

Method used

A flight controller product simulation test system based on test middleware is adopted. Through the communication interconnection of multiple test equipment, the main control module and test middleware are used to achieve unified control of multiple test equipment and support the simulation of different types of flight controller products. Test, reduce hardware and labor costs.

Benefits of technology

It improves the efficiency of simulation testing of flight controller products, reduces the hardware cost of test equipment, and enhances the flexibility of use of test equipment. It can test multiple different models of products at the same time, reducing labor costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118746971A_ABST
    Figure CN118746971A_ABST
Patent Text Reader

Abstract

The invention relates to a flight controller product simulation test system based on test middleware, belongs to the technical field of simulation test, and solves the problems of high test cost and low efficiency in the prior art. The system comprises a plurality of test devices, and each test device comprises a communication interconnection module, a main control module, a programmable power supply module and a plurality of test modules. The main control module is used for controlling the programmable power supply module of each test device to supply power to the flight controller product connected with the programmable power supply module and performing test control on the test module of each test device when the belonging test device is the main test device; each test module comprises a test middleware and test software of different flight controller products, and the test middleware is used for calling the test software corresponding to the flight controller product connected with the test equipment to which the test module belongs according to the test control instruction and testing the flight controller product connected with the test equipment to which the test module belongs. And high-efficiency flight controller product testing is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of simulation testing, and in particular to a flight controller product simulation testing system based on testing middleware. Background Art

[0002] The flight controller is the core equipment of aircraft, carriers, drones and other aircraft. Its main function is to obtain the real-time parameters of the gyro accelerometer and other equipment on the guidance and control system during operation, and after relevant analysis and calculation, output relevant control signals to the actuator of the guidance and control system, thereby controlling the entire real-time operation process of the system. Its workflow can be divided into the ground control process before takeoff and the flight control process after takeoff. Therefore, the reliability of the flight controller directly determines the safety and reliability of the guidance and control system. Before the flight controller product is produced and delivered, its hardware and software must be fully tested to ensure product reliability.

[0003] Flight controller test equipment generally consists of a test computer, an interface board, and a test cable, such as Figure 2 The interface board is installed on the test computer, and the two ends of the test cable are connected to the interface board and the product under test respectively. The test software runs on the test computer, collects the output data of the product under test through the interface board, passes the data to the simulation model inside the test software, and outputs the result of the simulation model solution to the product under test through the interface board, thereby building a real-time, complete software and hardware simulation test environment to conduct a comprehensive inspection of the functions and performance of the flight controller.

[0004] Since different models of flight controllers have different hardware interfaces and communication protocols, the corresponding flight controller test equipment is generally dedicated equipment that can only be used for simulation testing of one product under test, so the testing cost is high. When the production volume of the same batch of flight controllers increases, the simulation testing of multiple flight controllers usually needs to be carried out in sequence, which results in low testing efficiency. Summary of the invention

[0005] In view of the above analysis, an embodiment of the present invention aims to provide a flight controller product simulation test system based on test middleware to solve the problem of high cost and low efficiency of existing flight controller product testing.

[0006] On the one hand, an embodiment of the present invention provides a flight controller product simulation test system based on test middleware, including multiple test devices, each of which includes a communication interconnection module, a main control module, a programmable power supply module and multiple test modules;

[0007] The communication interconnection module is used for communication connection between various test devices;

[0008] The main control module is used to control the programmable power supply module of each test device to supply power to the flight controller product connected thereto and to perform test control on the test modules of each test device when the test device to which it belongs is the main test device;

[0009] Each of the test modules includes test middleware and test software for different flight controller products. The test middleware is used to call the test software corresponding to the flight controller product connected to the test device to which the test module belongs according to the test control instructions, and test the flight controller product connected to the test device.

[0010] Based on the further improvement of the above system, the main control module performs test control on the test modules of each test device, including:

[0011] The main control module sends a cable identification instruction to the test module;

[0012] The test middleware of the test module tests the type of cable connected to the flight controller product according to the cable identification instruction, and feeds back the cable type to the main control module;

[0013] The main control module sends a test control instruction to the test module according to the cable type, and controls the test module to test the flight controller product.

[0014] Based on the further improvement of the above system, the test control instruction includes the test equipment number of the main control module, the flight controller product model, the test process number and the test control information;

[0015] After receiving the test control instruction, the test middleware of the test module determines the current working state of the test module. If it is in an idle state, the test control instruction will not be processed. If it is in a controlled state, it determines whether the current controller device number of the test module is consistent with the test device number of the main control module in the test control instruction. If they are inconsistent, the test control instruction will not be processed. If they are consistent, it determines whether the corresponding test software and test process exist according to the flight controller product model and test process number in the test control instruction. If they do not exist, the test control failure information is fed back to the main control module. Otherwise, the test process number is sent to the test software corresponding to the flight controller product model, and the corresponding test software is called to execute the test control information.

[0016] Based on the further improvement of the above system, the test module includes a simulation test module and an image test module;

[0017] The image test module is connected to the simulation test module via a real-time communication interface;

[0018] When the test middleware of the image test module calls the corresponding test software to perform image testing on the flight controller product, the image test module obtains the position and attitude information of the aircraft from the simulation test module in real time through the real-time communication interface and sends it to the corresponding test software to generate a corresponding test image, and sends the generated test image to the corresponding flight controller product; the image test module receives and stores the image telemetry results fed back by the corresponding flight controller product.

[0019] Based on further improvements of the above system, the test middleware is also used to regularly feedback the current test process, test steps and test results of the test module to the main control module during the test process, and the main control module displays the working status, test process, test steps and test results of each test device.

[0020] Based on the further improvement of the above system, when the affiliated test device is the main test device, before the test control of the test modules of each test device is performed, it also includes:

[0021] The main control module on the main test device sends a test control request to the test modules of each test device; the test control request includes the main test device number;

[0022] After receiving the test control request, the test middleware of the test module determines the current working state of the test module to which it belongs. If it is in an idle state, it records the main test device number in the test control request as the current control party device number, and feeds back the control right application success to the main control module on the main test device;

[0023] If it is in the controlled state, the control right application failure is fed back to the main control module on the main test device.

[0024] Based on the further improvement of the above system, after the test is completed, the main control module releases the control right through the following steps:

[0025] The main control module on the main test device sends a control right release instruction to the test modules of each test device, wherein the control right release instruction includes the main test device number;

[0026] After receiving the control right release instruction, the test middleware of the test module determines the current working state of the test module, and if it is in an idle state, feeds back information that the control right release fails;

[0027] If it is in a controlled state, determine whether the current controller device number of the test module is consistent with the main test device number in the release control right instruction. If they are inconsistent, the release control right instruction will not be processed. Otherwise, determine whether the test module is in the test process or the self-test process. If so, feedback is given on failure to release control rights. Otherwise, reset the working state of the test module to the idle state, delete the current controller device number of the test module, and feedback on success in releasing control rights.

[0028] Based on the further improvement of the above system, the programmable power supply module includes a power supply middleware; the main control module controls the programmable power supply module of each test device to supply power to the connected flight controller product, including:

[0029] The power supply middleware receives the power supply control instruction sent by the main control module; the power supply control instruction includes the test equipment number, power supply channel number and power supply control information of the main control module;

[0030] The power supply middleware determines the current working status of the programmable power supply module. If it is in an idle state, the power control instruction will not be processed; if it is in a controlled state, it determines whether the current controlling device number of the programmable power supply module is consistent with the test device number of the main control module in the power control instruction. If they are inconsistent, the power control instruction will not be processed. Otherwise, the power channel corresponding to the power channel number is controlled to execute the power control information.

[0031] Based on the further improvement of the above system, when the affiliated test device is the main test device, before the test control of the test modules of each test device is performed, it also includes:

[0032] Connect the self-test cable to the interface board of the test module of the test equipment;

[0033] The main control module on the main test device sends a test control request to the test modules of each test device to control the test modules of each test device;

[0034] The main control module on the main test device sends a self-test control instruction to the test modules of each test device;

[0035] The test middleware of the test module of each test device performs self-test on the interface channel on the interface board according to the self-test control instruction.

[0036] Based on further improvements of the above system, the test equipment also includes a data monitoring module, which includes monitoring middleware, data monitoring software corresponding to different flight controller products and a data monitoring interface board; a signal line branch is drawn out from the test cable connecting the test equipment and the flight controller product and connected to the data monitoring interface board, and the data monitoring software collects and stores data transmitted between the test equipment and the flight controller product through the monitoring interface board.

[0037] Compared with the prior art, the present invention interconnects multiple test devices through a communication interconnection module, and each test device is controlled by a main control module in any one of the test devices. The main test device can control the program-controlled power supply module of each test device to supply power to the flight controller product connected thereto and test and control the test modules of each test device, thereby testing multiple tested products, i.e., multiple flight controller products, at the same time, improving the test efficiency. The test module of each test device includes a test middleware and test software of different flight controller products. The test device can be connected to flight controller products of different models, and the corresponding test software is called by the test middleware. The simulation test of different models of tested products is realized in the same set of hardware, and the special test devices of different models of products are merged into a universal test device, which can effectively reduce the hardware cost of the test device. The present invention can test multiple tested products in sequence with a single set of test equipment for serial testing, and can also test multiple tested products simultaneously with multiple sets of test equipment interconnected for parallel testing. During parallel testing, only one production tester is required to operate the main control module of any test device to control multiple sets of test equipment, which can effectively reduce labor costs, and at the same time enhance the use flexibility of the test equipment in different use scenarios, and users can select different test schemes according to different scenarios.

[0038] In the present invention, the above-mentioned technical solutions can also be combined with each other to achieve more preferred combination solutions. Other features and advantages of the present invention will be described in the subsequent description, and some advantages can become obvious from the description, or can be understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained through the contents particularly pointed out in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] The accompanying drawings are only used for the purpose of illustrating specific embodiments and are not to be considered as limiting the present invention. In the entire drawings, the same reference symbols represent the same components;

[0040] Figure 1 A block diagram of a flight controller product simulation test system based on test middleware according to an embodiment of the present invention;

[0041] Figure 2 A block diagram of a flight controller test device according to an embodiment of the present invention;

[0042] Figure 3 This is a schematic diagram of the structure of a cabinet-type flight controller product simulation test device according to an embodiment of the present invention;

[0043] Reference numerals:

[0044] 1-Cabinet. DETAILED DESCRIPTION

[0045] The preferred embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings, wherein the accompanying drawings constitute a part of this application and are used together with the embodiments of the present invention to illustrate the principles of the present invention, but are not used to limit the scope of the present invention.

[0046] A specific embodiment of the present invention discloses a flight controller product simulation test system based on test middleware, such as Figure 1 As shown, it includes multiple test devices, each of which includes a communication interconnection module, a main control module, a programmable power supply module and multiple test modules;

[0047] The communication interconnection module is used for communication connection between various test devices;

[0048] The main control module is used to control the programmable power supply module of each test device to supply power to the flight controller product connected thereto and to perform test control on the test modules of each test device when the test device to which it belongs is the main test device;

[0049] Each of the test modules includes test middleware and test software for different flight controller products. The test middleware is used to call the test software corresponding to the flight controller product connected to the test device to which the test module belongs according to the test control instructions, and test the flight controller product connected to the test device.

[0050] It should be noted that each test device includes a main test device and other test devices, that is, the main control module can also control the programmable power module of this test device to supply power to the flight controller product connected to it and perform test control on the test module of this test device.

[0051] During implementation, multiple test devices are interconnected through communication interconnection modules, and each test device is controlled by a main control module in any one of the test devices. The main test device can control the programmable power supply module of each test device to supply power to the flight controller product connected thereto and test and control the test modules of each test device, thereby testing multiple tested products, i.e., multiple flight controller products, at the same time, improving the test efficiency. The test module of each test device includes a test middleware and test software for different flight controller products. The test device can be connected to flight controller products of different models, and the corresponding test software is called through the test middleware. The simulation test of different models of tested products is realized on the same set of hardware, and the dedicated test equipment of different models of products is merged into a universal test equipment, which can effectively reduce the hardware cost of the test equipment. The above scheme can be adopted to test multiple tested products in sequence with a single set of test equipment for serial testing, and multiple sets of test equipment can be interconnected to test multiple tested products at the same time for parallel testing. During parallel testing, only one production tester is required to operate the main control module of any test equipment to control multiple sets of test equipment, which can effectively reduce labor costs, and at the same time enhance the flexibility of the test equipment in different usage scenarios, and users can choose different test schemes according to different scenarios.

[0052] During implementation, the communication interconnection module is used for data interconnection between modules in the same test equipment, as well as data interconnection between modules in different test equipment, including wired interconnection or wireless interconnection, including but not limited to the following:

[0053] Ethernet router: Each module in the same test equipment is connected to the Ethernet router through an Ethernet cable to achieve data interconnection between modules in the same test equipment. Ethernet routers in different test equipment are cascaded with Ethernet cables to achieve data interconnection between modules in different test equipment.

[0054] Fiber optic router: Each module in the same test equipment is connected to the fiber optic router through an optical fiber line to realize data interconnection between modules in the same test equipment. The fiber optic routers in different test equipment are cascaded with optical fiber lines to realize data interconnection between modules in different test equipment.

[0055] Wireless WIFI: Modules within the same test device and modules between different test devices are wirelessly interconnected through wireless WIFI.

[0056] Inter-process communication + Ethernet router or fiber router: When the above modules are deployed on the same computer, the modules in the same computer can achieve data interconnection and intercommunication between the modules in the same computer through inter-process communication, for example, shared memory. Different computers and different test devices in the same test equipment are connected to the Ethernet router through Ethernet cables or to the fiber router through fiber cables to achieve data interconnection.

[0057] Specifically, before the main control module of the main test device controls the test modules of each test device, it needs to obtain the control right of the test modules of each test device, which specifically includes:

[0058] S11, the main control module on the main test device sends a test control request to the test modules of each test device; the test control request includes the main test device number;

[0059] S12, after receiving the test control request, the test middleware of the test module of each test device determines the current working state of the test module to which it belongs. If it is in an idle state, it records the main test device number in the test control request as the current control party device number, and feeds back the success of the control right application to the main control module on the main test device;

[0060] S13: If the state is controlled, feedback to the main control module on the main test device that the control right application has failed.

[0061] During implementation, the main control module on the main test device first sends a test control request to the test modules of each test device that needs to be controlled. The test control request includes the main test device number. After receiving the test control request, the test middleware of the test module determines whether the test module to which it belongs is still in an idle state. If it is (that is, it is not controlled), the feedback control right application is successful, and the test device number in the test control request is recorded as the current controller device number. At this time, the module is in a controlled state, and only the instructions issued by the current controller device are subsequently accepted and processed, and the instructions issued by non-current controller devices are not processed. If the test module to which the test middleware belongs is not currently in an idle state, that is, in a controlled state, it is determined whether the main test device number in the test control request is consistent with the current controller device number recorded by the test middleware. If they are inconsistent, the feedback control right application fails, and the reason for the failure is that the test module has been controlled by other devices. If they are consistent, the feedback control right application fails, and the reason for the failure is that the test module has been controlled by the current main test device, and this application is a repeated application.

[0062] It should be noted that the main control module of the main test device controls the test modules of each test device rather than the entire test device, and can control the test status such as test start and stop of different test modules, making the test more flexible.

[0063] After the main control module on the main test device obtains the control right of the test modules of each test device, it can perform test control on the test modules. Specifically, the main control module on the main test device performs test control on the test modules of each test device, including:

[0064] S21, the main control module sends a cable identification instruction to the test module;

[0065] S22, the test middleware of the test module tests the type of the test cable connected to the flight controller product according to the cable identification instruction, and feeds back the test cable type to the main control module;

[0066] S23. The main control module sends a test control instruction to the test module according to the type of the test cable, and controls the test module to test the flight controller product.

[0067] During implementation, the corresponding test cable is connected to the interface board of the test module of the test equipment, and the other end is connected to the flight controller product under test.

[0068] Since each flight controller product has different hardware interfaces and corresponding test cable types, the main control module sends a cable identification instruction to the test module. The test middleware of the test module collects the core point status of the test cable through the switch quantity acquisition pipeline, compares it with the preset core point status to obtain the type of the test cable, and then feeds back the type of the test cable to the main control module.

[0069] The main control module determines the model of the corresponding flight controller product to be tested according to the type of the test cable, and then sends a test control instruction to the test module to control the test module to test the flight controller product. During implementation, if the same test cable type corresponds to multiple flight controller product models, the user can select the model of the flight controller product to be tested. The main control module sends a test control instruction to the test module according to the cable type.

[0070] Specifically, the test control instruction includes the test equipment number to which the main control module belongs, the flight controller product model, the test process number and the test control information;

[0071] After receiving the test control instruction, the test middleware of the test module determines the current working state of the test module. If it is in an idle state, the test control instruction will not be processed. If it is in a controlled state, it determines whether the current controller device number of the test module is consistent with the test device number of the main control module in the test control instruction. If they are inconsistent, the test control instruction will not be processed. If they are consistent, it determines whether the corresponding test software and test process exist according to the flight controller product model and test process number in the test control instruction. If they do not exist, the test control failure information is fed back to the main control module. Otherwise, the test process number is sent to the test software corresponding to the flight controller product model, and the corresponding test software is called to execute the test control information.

[0072] During implementation, the test control instruction includes the test equipment number of the main control module, the flight controller product model, the test process number and the test control information. Among them, the test control information includes: test initialization, test start, test stop, test software shutdown or test data extraction and other information, which is used to identify the type of test control instruction. The test middleware executes the corresponding test instruction according to the test control information, such as test initialization, test start, test stop, test software shutdown, test data extraction, etc.

[0073] After receiving the test control instruction, the test middleware first determines the working status of the test module to which it belongs. If it is in an idle state, that is, it is not controlled, the received test control instruction will not be processed; if the test module to which the test middleware belongs is not currently in an idle state, that is, it is in a controlled state, it is necessary to determine whether the test control instruction comes from its controlled party, that is, to determine whether the current controlling party device number of the test module is consistent with the test device number of the main control module in the test control instruction. If not, the test control instruction will not be processed. If consistent, it is further determined whether the test software and test process number corresponding to the flight controller product model exist. If not, the test control failure is fed back to the main control module. The reason for the failure is that the test software or test process number corresponding to the flight controller product model does not exist. If the test software and test process number corresponding to the flight control product model both exist, the test process number is sent to the test software corresponding to the flight controller product model, and the corresponding test software is called to execute the test control information.

[0074] It should be noted that the test process number corresponds to different test tasks. For example, the test control information of the test control instruction is test initialization. The test middleware starts the corresponding test software according to the model of the flight controller product and sends an initialization instruction to it. The initialization instruction includes the test process number. The test software initializes the corresponding test task according to the test process number. The test middleware can also obtain the execution result of the initialization instruction and feed it back to the main control module.

[0075] If the test needs to be stopped during the test process, a test control instruction is sent to the test module through the main control module. The test control information in the test control instruction is to stop the test. After the test middleware of the test module receives the stop test instruction, it sends the stop test instruction to the corresponding test software and feeds back the execution result to the main control module.

[0076] After the test stops, the main control module controls the programmable power modules on each test device to cut off the power to the corresponding flight controller product under test. Then, the main control module extracts the current simulation test data from the test modules of each test device, automatically interprets the data and generates a test report. When implementing, direct extraction or indirect extraction can also be adopted. Users can uniformly retrieve, review, trace and analyze all the data and test reports of previous tests.

[0077] Direct extraction means that the test modules on each test device open the access interface of the test data to the main control module, and the main control module directly extracts the test data according to the rules through the access interface, which has nothing to do with the test middleware.

[0078] Indirect extraction means that the main control module sends a test control instruction to the test module, where the test control information is to extract test data. After receiving the test control instruction, the test middleware determines according to the above instruction judgment process that the current controlled party number of the test module is consistent, and the test software and test process number corresponding to the corresponding flight control product model exist, and then determines whether the corresponding test process has stopped the test. If so, the test data under the corresponding test process is extracted and sent to the main control module. Otherwise, the feedback is that the data extraction failed. The reason for the failure is that the test has not been stopped and data extraction is prohibited.

[0079] After stopping the test and completing the test of each test module, the main control module can send a test control instruction to the test module of each test device. The test control information in the test control instruction is an instruction to close the test software. The test middleware of the test module receives the test control instruction. If the corresponding test software is opened, the test process exists, and the test has ended, the corresponding test software is closed. Otherwise, it will feedback that closing the test software failed, and the execution result will be fed back to the main control module.

[0080] If it is necessary to continue the simulation test, the test cable and (or) the flight controller product under test can be replaced to continue the test, otherwise the control right is released. The main control module sends a release control right instruction to the test modules of each test device to release the control right.

[0081] Specifically, after the test is completed, the main control module releases the control right through the following steps:

[0082] The main control module on the main test device sends a release control right instruction to the test modules of each test device; the release control right instruction includes the main test device number;

[0083] After receiving the test control request, the test middleware of the test module determines the current working state of the test module, and if it is in an idle state, feeds back information of failure to release control rights;

[0084] If it is in a controlled state, determine whether the current controller device number of the test module is consistent with the main test device number in the release control right instruction. If not, feedback is given of a failure to release control right. Otherwise, determine whether the test module is in a test process or a self-test process. If so, feedback is given of a failure to release control right. Otherwise, reset the working state of the test module to an idle state, delete the current controller device number of the test module, and feedback is given of a success in releasing control right.

[0085] During implementation, the main control module first sends a control release instruction to the test module of each test device, and the instruction includes the device number during registration.

[0086] After receiving the release control right instruction, the test middleware of the test module of each test device first determines the current working state of the test module. If it is currently in an idle state, the release control right failure information is fed back, including the failure reason that the test module is already in an idle state and does not need to release the control right. If the test module is currently in a controlled state, it is determined whether the main test device number in the release control right instruction is consistent with the current controller device number of the test module. If not, it indicates that the instruction is sent by other test devices, not by the current controller device, and the instruction is not processed. If consistent, it is further determined whether the test module is in the test process (or data monitoring). If so, the release control right failure information is fed back, including the failure reason that the test is in progress (or data monitoring), and the release of control right is prohibited. If not in the test process, it is further determined whether the test module is in the self-test process. If so, the release control right failure information is fed back, including the failure reason that the interface self-test is in progress, and the release of control right is prohibited. If not in the self-test process, the test module is reset to an idle state, the recorded current controller device number is deleted, and the release of control right is successfully fed back.

[0087] The test cable can be removed only after the simulation test is completed and the program-controlled power supply is turned off to prevent the test equipment or the flight controller product under test from being burned due to plugging and unplugging the test cable while it is powered on.

[0088] During implementation, the test module includes a simulation test module and an image test module, and the image test module is connected to the simulation test module via a real-time communication interface;

[0089] When the test middleware of the image test module calls the corresponding test software to perform image testing on the flight controller product, the image test module obtains the position and attitude information of the aircraft from the simulation test module in real time through the real-time communication interface and sends it to the corresponding test software to generate a corresponding test image, and sends the generated test image to the corresponding flight controller product;

[0090] The image test module receives and stores the image telemetry results fed back by the corresponding flight controller product.

[0091] The simulation test module mainly simulates the hardware interface, work flow and communication protocol of other devices in the guidance and control system except the flight controller, such as inertial navigation equipment, servo, etc., to provide a closed-loop simulation test environment for the flight controller, which is used to test whether the hardware interface and working process of the flight controller product are normal.

[0092] The image test module is used to simulate and generate the images required for image matching guidance based on the received information such as the aircraft's position and attitude, provide image guidance information for the guidance control system, and test whether the image guidance algorithm of the flight controller product is normal.

[0093] During implementation, the simulation test module includes simulation test middleware, simulation test software corresponding to different models of flight controller products, test cables, simulation test interface boards, and cable automatic identification devices. The two ends of the test cable are connected to the simulation test interface board and the product under test respectively.

[0094] During implementation, the image test module includes image test middleware, image test software corresponding to different models of flight controller products, image test interface board and image test cable, and the image test cable is connected between the image test interface board and the flight controller product. The image test software is used to generate corresponding test images according to the position and attitude information of the aircraft.

[0095] During implementation, the image test module is connected to the simulation test module via a real-time communication interface, such as a real-time Ethernet or a real-time fiber optic reflective memory network. During the test, when the image test middleware of the image test module calls the corresponding image test software to perform an image test on the flight controller product, the image test middleware of the image test module obtains information such as the position and attitude of the aircraft through the real-time communication interface, and sends control instructions and information such as the position and attitude of the aircraft to the image test software in real time. The image test software receives the above information to simulate and generate an image, and sends it to the flight controller product via the image test cable, and at the same time receives and stores the image telemetry data sent by the flight controller product.

[0096] During implementation, the test middleware of the test module is also used to regularly feed back the current test process, test steps and test results of the test module to the main control module during the test process, and the main control module displays the working status, test process, test steps and test results of each test device, so that the test personnel can grasp the test progress and test situation in a timely and accurate manner.

[0097] During implementation, the programmable power supply module is also controlled by the main control module to realize power on and off and voltage and current regulation of the flight controller product under test.

[0098] Specifically, the programmable power supply module includes a power supply middleware; the main control module controls the programmable power supply modules of each test device to supply power to the connected flight controller product, including:

[0099] The power supply middleware receives the power supply control instruction sent by the main control module; the power supply control instruction includes the test equipment number, power supply channel number and power supply control information of the main control module;

[0100] The power supply middleware determines the current working status of the programmable power supply module. If it is in an idle state, the power control instruction will not be processed; if it is in a controlled state, it determines whether the current controlling device number of the programmable power supply module is consistent with the test device number of the main control module in the power control instruction. If they are inconsistent, the power control instruction will not be processed. Otherwise, the power channel corresponding to the power channel number is controlled to execute the power control information.

[0101] During implementation, the programmable power supply module is used to provide power supply to the product under test, accept direct or indirect program control of the main control module, and the power supply middleware of the programmable power supply module directly obtains the power supply control instruction sent by the main control module, or the programmable power supply module is connected to the simulation test module, accepts indirect control of the main control module through the simulation test module, and obtains the power supply control instruction sent by the main control module through the simulation test module of the test device to which it belongs. After receiving the power supply control instruction, the power supply middleware first determines the current working state of the programmable power supply module to which it belongs. If it is in an idle state, the corresponding instruction is not processed. If it is in a controlled state, it is necessary to determine whether the controlled party is consistent with the test device number to which the main control module belongs in the power supply control instruction. If they are inconsistent, it indicates that the instruction is sent by other test devices, not by the current control party device, and the power supply control instruction is not processed. If they are consistent, the power supply channel corresponding to the power supply channel number is controlled to execute the power supply control information. Specific power supply control information includes power supply, power off, and power regulation.

[0102] During implementation, the power supply middleware periodically reports the switch status, power supply voltage, power supply current and other information of each power supply channel to the main control module corresponding to the current control party device number.

[0103] It should be noted that the main control module controls the programmable power modules on each test device to supply power to the corresponding flight controller product under test after each test module completes the test initialization. During implementation, if the interface card of the test module of the test device requires external power supply, the main control module is also required to control the programmable power module on the corresponding test device to supply power to the corresponding interface card and adjust the voltage and current as needed. Direct control or indirect control can also be used.

[0104] During implementation, in order to monitor the test process and facilitate data analysis and troubleshooting, the test equipment also includes a data monitoring module, which includes monitoring middleware, data monitoring software corresponding to different flight controller products, and a data monitoring interface board; a signal line branch is led out from the test cable connecting the test equipment and the flight controller product and connected to the data monitoring interface board, and the data monitoring software collects and stores data transmitted between the test equipment and the flight controller product through the monitoring interface board.

[0105] In order to facilitate the main control module to control the data monitoring module, the data monitoring module includes a monitoring middleware. The main control module controls the corresponding data monitoring software to perform data monitoring by sending data monitoring control instructions to the monitoring middleware of the data monitoring module.

[0106] Specifically, the data monitoring control instruction includes the test equipment number of the main control module, the flight controller product model, the test process number and the monitoring control information, wherein the monitoring control information includes starting monitoring, stopping monitoring and extracting monitoring data. The monitoring middleware controls the corresponding data monitoring software to start monitoring, stop monitoring or extract monitoring data according to the information of the data monitoring instruction.

[0107] In order to improve test efficiency and reduce test errors, the interface of the test equipment can be self-checked before testing the flight controller product, which is convenient for hardware interface troubleshooting and daily equipment maintenance. Therefore, when the test equipment is the main test equipment, before testing the test modules of each test equipment, a self-check process is also included, including:

[0108] S01, connecting a self-test cable to the interface board of the test module of the test equipment;

[0109] S02: The main control module on the main test device sends a test control request to the test modules of each test device to control the test modules of each test device;

[0110] S03, the main control module on the main test device sends a self-test control instruction to the test modules of each test device;

[0111] S04. The test middleware of the test module of each test device performs a self-test on the interface channel on the interface board according to the self-test control instruction.

[0112] During implementation, first connect the corresponding self-test cable (simulation test interface board or image test interface board) to the interface board of the test module (simulation test module or image test module) of the test equipment to be self-tested. The self-test cable is used to interconnect the sending end and the receiving end of the same interface channel to realize self-transmission and reception of data, thereby detecting whether the sending and receiving data of the interface channel are normal.

[0113] After the test equipment is turned on, any one of the test equipment is used as the main test equipment, and each test equipment is used as a slave test equipment. The main control module on the main test equipment is run, and a test control request is sent to the test module of each test equipment. After obtaining the control right of the test module of each test equipment, the test module of each test equipment is controlled. The process of applying for control right can refer to steps S11-S13.

[0114] The main control module on the main test device sends a self-test control instruction to the test module of each test device; specifically, the self-test control instruction includes the test device number to which the main control module belongs, the test module number, the interface board number that needs self-test, the interface type, the interface channel number and the self-test information, wherein the self-test information includes starting self-test and stopping self-test.

[0115] After the test middleware of the test module receives the self-test control instruction, it first determines the current working status of the test module to which it belongs. If it is in an idle state, the corresponding instruction will not be processed. If it is in a controlled state, it is necessary to determine whether the controlled party is consistent with the test device number of the main control module in the self-test control instruction. If they are inconsistent, it indicates that the instruction is sent by other test devices, not by the current control party device, and the instruction will not be processed. If they are consistent, it further determines whether the test module is in the test process. If so, it will feedback that the self-test control failed, and the reason for the failure is that the test is in progress, and self-test is prohibited. Otherwise, it is determined that the test module Check whether the block is undergoing self-test. If it is undergoing self-test and the self-test information of the current self-test control instruction is start self-test, then the self-test control failure is fed back and the reason for the failure is that the interface self-test is in progress and further self-test is prohibited. If it is undergoing self-test and the self-test information is stop self-test, then the self-test process of the corresponding interface is stopped according to the current self-test control instruction. If it is not undergoing self-test and the self-test information of the current self-test control instruction is start self-test, then the self-test of the corresponding interface is started according to the self-test control instruction. If it is not undergoing self-test and the self-test information of the current self-test control instruction is stop self-test, then the self-test of the corresponding interface is started according to the self-test control instruction. If it is not undergoing self-test and the self-test information of the current self-test control instruction is stop self-test, then the self-test control failure is fed back and the reason for the failure is that it is not currently in the self-test process and there is no need to stop self-test.

[0116] During implementation, the test middleware performs self-test according to the interface board number, interface type, and interface channel number issued, performs self-test on the corresponding interface channel on the interface board, and feeds back the self-test results, including whether the self-test is normal or abnormal. The test middleware can perform self-test on all channels of all interface types of all boards based on the issued self-test information, and can also perform self-test on all channels of all interface types of a specified board, and can also perform self-test on a specified channel of a specified interface type of a specified board. The test middleware sends the self-test results to the main control module on the main test device through the communication interconnection module. The main control module receives and displays the self-test results, making it easier for testers to find faults in a timely manner.

[0117] If the test needs to be continued, there is no need to release the control right. Otherwise, the main control module sends a release control right instruction to the test modules of each test device. The release control right instruction includes the test device number to which the main control module belongs. After receiving the release control right instruction, the test middleware of the test module of each test device releases the control right of the test module, resets the corresponding test module to an idle state, and deletes the recorded current controller device number.

[0118] During implementation, if the interface card of the test module of the test equipment to be self-tested requires external power supply, after the main control module obtains control, before starting the self-test, the main control module controls the program-controlled power module on the corresponding test equipment to supply power to the interface card of the test module and adjust the voltage and current as needed. After the self-test is completed, the main control module controls the program-controlled power module on the corresponding test equipment to cut off the power supply to the interface card of the test module. The self-test cable can be removed only after the program-controlled power supply is turned off to prevent the equipment from burning due to the live plugging and unplugging of the self-test cable.

[0119] During implementation, the deployment of the communication interconnection module, main control module, programmable power supply module, simulation test module, image test module, and data monitoring module can be flexibly deployed according to the actual computing performance of the computer and the number of interface resources, without restrictions. They can be deployed on the same computer or on each module's own computer. Some of the modules can also be deployed on one computer, and the other modules can be deployed on another computer. Figure 3 The figure shows a cabinet-type flight controller product simulation test equipment. The cabinet is composed of the main control machine, image processor, KVM video switch, simulation test host, Ethernet router, data monitoring machine, and programmable power supply from top to bottom. The main control module is deployed in the main control machine, the image test module is deployed in the image processor, the simulation test module is deployed in the simulation test host, and the data monitoring module is deployed in the data monitoring machine. Each module shares a set of display screens, keyboards, and mice through the KVM video switch.

[0120] Each module in the same test device is connected to an Ethernet router via an Ethernet cable to achieve data interconnection between modules in the same test device. The Ethernet routers in different test devices are cascaded with Ethernet cables to achieve data interconnection between modules in different test devices.

[0121] The programmable power supply is connected to the simulation test host through the RS232 serial port to accept the indirect control of the main control module. At the same time, the Ethernet port of the programmable power supply is connected to the Ethernet router through an Ethernet cable to accept the direct control of the main control module.

[0122] The test middleware on the simulation test module, image test module and data monitoring module interacts with the main control module via the Ethernet router using UDP multicast, and interacts with each test software and data monitoring software via shared memory.

[0123] Assume that there are two cabinet-type flight controller product simulation test equipment, the test equipment numbers are 1001 and 1002 respectively, and the test equipment is pre-installed with simulation test software, image test software, and data monitoring software corresponding to three models of flight controller products. The flight controller product model codes are XXX1, XXX2, and XXX3 respectively. Among them, XXX1 and XXX2 share a set of test cables, the test cable code is XXX1-W1, and the cable identification is 2. XXX3 is equipped with another set of test cables, the test cable code is XXX3-W1, and the cable identification is 4. The cable identifications of the two sets of test cables are set on the redundant switch quantity acquisition channels connected to the interface board on the simulation test host. The interface board on the simulation test host requires an external 36V power supply. Assume that you currently need to use test equipment numbered 1001 to test a flight controller with a code name of XXX1 and a product number of 2201001, with a power supply voltage of 25V; use test equipment numbered 1002 to test a flight controller with a code name of XXX2 and a product number of 2202001, with a power supply voltage of 25V, and carry out parallel tests at the same time.

[0124] First, perform interface self-test on the two test devices. The steps are as follows:

[0125] 1) Connect the equipment and self-test cable: Use Ethernet cables to cascade the Ethernet routers in the two test equipment to achieve data interconnection between the modules of the two test equipment. Connect the corresponding self-test cables to all interface boards of the simulation host, image processing machine, and data monitoring machine of the two test equipment.

[0126] 2) Equipment startup: Connect the main control machines, image processors, KVM video switches, simulation test hosts, Ethernet routers, data monitoring machines, and programmable power supplies of the two test devices to a 220V power supply and start them up, waiting for the test middleware on the simulation test hosts, image processors, and data monitoring machines of the two test devices to start up and start automatically.

[0127] 3) Run the main control module: Run the main control module on the test equipment host computer numbered 1002.

[0128] 4) Enter the interface self-test mode: Select to enter the interface self-test mode on the main control module.

[0129] 5) Apply for control rights of each module of the test equipment: The test middleware on the simulation host, image processing machine, and data monitoring machine of the two test equipments automatically reports the working status to the main control modules of the two test equipments through the Ethernet router using UDP multicast. Since the equipment is turned on for the first time, the test middlewares are currently in an idle state. The main control module on the main control machine of the test equipment numbered 1002 sends a control right application instruction and the device number 1002 of this device to the simulation test module, image test module, and data monitoring module of the two test equipments. Because the modules to which the test middleware belongs are currently in an idle state, after the test middleware on the simulation test module, image test module, and data monitoring module of the two test equipments receives the control right application instruction and the device number 1002 issued by the main control module, they all feedback that the control right application is successful, and record the device number 1002 issued by the main control module as the current controller device number. At this time, the main control module on the test equipment host computer numbered 1002 obtains the control right of the simulation test module, image test module, and data monitoring module of the two test equipments, and each module is in a controlled state. It will only accept and process the instructions issued by the current controller device 1002, and will not process the instructions issued by the non-current controller device. If the main control module on the test equipment host computer numbered 1001 then sends the control right application instruction and the device number 1001 of the device to the simulation test module, image test module, and data monitoring module of the two test equipments, because the device number 1001 issued by the main control module is inconsistent with the current controller device number 1002 recorded by the test middleware, the test middleware on the simulation test module, image test module, and data monitoring module will all feedback that the control right application failed, and the reason for the failure is that the module has been controlled by other devices.

[0130] 6) Program-controlled power supply and regulation: The main control module on the test equipment host computer numbered 1002 uses direct control to control the program-controlled power modules on the two test equipments to supply power to the interface board on the simulation test host and adjust the voltage to 36V.

[0131] 7) Start self-test: The main control module on the test equipment main control machine numbered 1002 selects to perform self-test on all channels of all interface types of all interface boards of the simulation test modules, image test modules, and data monitoring modules of the two test equipments, and sends them to the corresponding modules of the two test equipments together with the self-test control instruction and the device number 1002 of this device. The self-test information of the self-test control instruction is to start self-test. After receiving the self-test control instruction, the test middleware on the simulation test modules, image test modules, and data monitoring modules of the two test equipments executes the self-test task, and the main control module receives and displays the self-test result, and automatically stops the self-test after the self-test is completed. If the main control module on the test equipment main control machine numbered 1002 sends the self-test control instruction again at this time, because it is currently in the self-test process, the test middleware on the simulation test module, image test module, and data monitoring module will all feedback that the start of self-test failed, and the reason for the failure is that the interface self-test is in progress, and self-test is prohibited again.

[0132] 8) Stop self-test: Wait for the simulation test module, image test module, and data monitoring module of the two test devices to complete self-test.

[0133] 9) Program-controlled power supply cut-off: The main control module on the main control machine of the test equipment No. 1002 uses direct control to control the program-controlled power supply module to cut off power.

[0134] 10) Release the control rights of each module of the test equipment: continue to carry out simulation testing without releasing the control rights.

[0135] 11) Remove the self-test cable: Remove the self-test cable after the self-test is completed and the program-controlled power supply is turned off.

[0136] Then, conduct simulation test on the flight controller product, the steps are as follows:

[0137] 1) Connect the equipment and the test cable: Connect the test cable codenamed XXX1-W1 to the interface board of the test equipment numbered 1001, the image processor, and the data monitor, and connect the other end to the flight controller codenamed XXX1. Connect the test cable codenamed XXX1-W1 to the interface board of the test equipment numbered 1002, the image processor, and the data monitor, and connect the other end to the flight controller codenamed XXX2.

[0138] 2) Power on the equipment: Since the main control machines, image processors, KVM video switches, simulation test hosts, Ethernet routers, data monitoring machines, and programmable power supplies of the two test devices have all been powered on during the interface self-test, skip this step.

[0139] 3) Run the main control module: Run the main control module on the test equipment host computer numbered 1002.

[0140] 4) Enter simulation test mode: Select to enter simulation test mode on the main control module.

[0141] 5) Apply for control over each module of the test equipment: Since the main control module on the main control machine of the test equipment numbered 1002 has already obtained control over the simulation test modules, image test modules, and data monitoring modules of the two test equipment during the interface self-test, skip this step.

[0142] 6) Test cable type identification: The main control module on the test equipment host computer numbered 1002 sends a test cable type identification instruction and the equipment number 1002. The test middleware of the simulation test modules of the two test equipments automatically detects and feedbacks that the cable identification is 2, which is applicable to flight controllers with model codes XXX1 or XXX2.

[0143] 7) Test initialization: On the main control module of the test equipment host computer numbered 1002, the user selects the model code of the flight controller to be tested corresponding to the test equipment numbered 1001 as XXX1, sets the test process number to 1, indicating that only the ground control process test before takeoff is carried out, and fills in the flight controller product number 2201001, product batch 2201, tester, quality inspection personnel, test location, test status and other related information, and sends it to the simulation test module, image test module and data monitoring module of the test equipment numbered 1001 together with the test control instruction and the equipment number 1002. The test control information of the test control instruction is test initialization. After receiving the test initialization instruction, the test middleware of the simulation test module, image test module and data monitoring module of the test equipment numbered 1001 opens the simulation test software, image test software and data monitoring software corresponding to the flight controller model code XXX1 and sends it the test initialization instruction, test process number 1 and other related information, waits for the simulation test software, image test software and data monitoring software to be initialized, obtains the initialization result and feeds it back to the main control module. Accordingly, the user selects the model code of the flight controller under test corresponding to the test equipment numbered 1002 as XXX2, sets the test process number as 2, indicating that the ground control process test before takeoff and the flight control process test after takeoff are carried out, and fills in the flight controller product number 2202001, product batch 2202, test personnel, quality inspection personnel, test location, test status and other related information, and sends it to the simulation test module, image test module and data monitoring module of the test equipment numbered 1002 together with the test control instruction and the equipment number 1002. The test control information of the test control instruction is test initialization. After receiving the test control instruction, the test middleware of the simulation test module, image test module and data monitoring module of the test equipment numbered 1002 opens the simulation test software, image test software and data monitoring software corresponding to the flight controller with the model code XXX2 and sends it the test initialization instruction, test process number 2 and other related information, waits for the simulation test software, image test software and data monitoring software to be initialized, obtains the initialization result and feeds it back to the main control module.

[0144] 8) Program-controlled power supply and regulation: After the test initialization is completed, the main control module on the test equipment host computer numbered 1002 uses direct control to control the program-controlled power modules on the two test equipments to supply power to the interface board on the simulation host and adjust the voltage to 36V, and to supply power to the flight controller and adjust the voltage to 25V.

[0145] 9) Start the test: After the test is successfully initialized, the main control module on the main control machine of the test equipment numbered 1002 sends the test control instruction, the equipment number 1002, the model XXX1 of the flight controller under test selected by the user, and the test process number 1 to the simulation test module, image test module, and data monitoring module of the test equipment numbered 1001. The test control information of the test control instruction is to start the test. After receiving the start test instruction, the test middleware of the simulation test module, image test module, and data monitoring module of the test equipment numbered 1001 sends the start test instruction and the test process number 1 to the simulation test software, image test software, and data monitoring software corresponding to the flight controller under test XXX1, waits for the simulation test software, image test software, and data monitoring software to finish execution, obtains the test control instruction execution result and feeds it back to the main control module. Correspondingly, the main control module on the main control machine of the test equipment numbered 1002 sends the test control instruction, the equipment number 1002, the model XXX2 of the flight controller under test selected by the user, and the test process number 2 to the simulation test module, image test module, and data monitoring module of the test equipment numbered 1002. After receiving the test control instruction, the test middleware of the simulation test module, image test module, and data monitoring module of the test equipment numbered 1002 sends the start test instruction and the test process number 2 to the simulation test software, image test software, and data monitoring software corresponding to the flight controller XXX2 under test, waits for the simulation test software, image test software, and data monitoring software to finish execution, obtains the execution result of the test control instruction and feeds it back to the main control module. During the test, the main control module receives and displays the working status of the two test equipments, the name of each test step under the test process selected by the user, the test result, and the name and parameter value of the flight parameters of the aircraft. Among them, the test equipment numbered 1001 only carries out the ground control process test before takeoff. After the ground control process test before takeoff is completed, the simulation test is automatically stopped. The test equipment No. 1002 carries out the pre-takeoff ground control process test and the post-takeoff flight control process test. After the pre-takeoff ground control process test is completed, it automatically switches to the post-takeoff flight control process test. After the preset simulation test stop conditions are met, the simulation test is automatically stopped.

[0146] 10) Stop testing: Wait for the testing process of the two testing devices to stop automatically.

[0147] 11) Program-controlled power supply cut-off: After the test processes of the two test devices are stopped, the main control module on the main control machine of the test device No. 1002 uses direct control to control the program-controlled power modules on the two test devices to cut off power to the corresponding interface boards on the flight controller under test and the simulation host.

[0148] 12) Extract data and generate test reports: After the test stops, the main control module on the test equipment main control machine numbered 1002 directly extracts the current simulation test data, image test data, and monitoring data from the simulation test modules, image test modules, and data monitoring modules of the two test equipments, automatically interprets the data, and generates a test report.

[0149] 13) Close the test software: After the report is generated, the main control module on the test equipment host computer numbered 1002 sends the test control instruction, the equipment number 1002, the model XXX1 of the flight controller under test selected by the user, and the test process number 1 together to the simulation test module, image test module, and data monitoring module of the test equipment numbered 1001, and the test control information of the test control instruction is to close the test software. After receiving the close test software instruction, the test middleware of the simulation test module, image test module, and data monitoring module of the test equipment numbered 1001 closes the simulation test software, image test software, and data monitoring software corresponding to the flight controller under test XXX1. Correspondingly, the main control module on the test equipment host computer numbered 1002 sends the test control instruction, the equipment number 1002, the model XXX2 of the flight controller under test selected by the user, and the test process number 2 together to the simulation test module, image test module, and data monitoring module of the test equipment numbered 1002. After receiving the instruction to shut down the test software, the test middleware of the simulation test module, image test module and data monitoring module of the test equipment numbered 1002 shuts down the simulation test software, image test software and data monitoring software corresponding to the flight controller XXX2 under test.

[0150] 14) Release the control rights of each module of the test equipment: If you need to continue the simulation test, you can replace the test cable and (or) the flight controller product under test, and repeat steps 6 to 13. Otherwise, the main control module on the test equipment host computer numbered 1002 should issue a release control right instruction and the device number 1002 of this device to the simulation test modules, image test modules, and data monitoring modules of the two test devices. After receiving the release control right instruction, the test middleware of the simulation test modules, image test modules, and data monitoring modules of the two test devices release the control rights of each module, reset the current module to an idle state, and delete the recorded current controller device number. Then close the main control module.

[0151] 15) Remove the test cable: Remove the test cable after the simulation test is completed and the program-controlled power supply is turned off.

[0152] By introducing simulation test middleware on each test module, as the hub for data interaction between the main control module software and the test software, the test middleware has the functions of working status reporting, control authority management, interface self-test, test cable type identification, simulation operation control, programmable power supply control and status reporting, and accepts the control of the main control module. That is, a single set of test equipment can be used to test multiple different tested products in sequence for serial testing, and multiple sets of test equipment can be interconnected to test multiple tested products at the same time for parallel testing. During parallel testing, only one production tester is required to operate any test equipment main control module to control multiple sets of test equipment, which can effectively reduce labor costs and enhance the flexibility of test equipment in different usage scenarios. It can also centrally and uniformly manage test data and reports, facilitating data retrieval, review, traceability analysis and export.

[0153] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.

[0154] The above description is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by any technician familiar with the technical field within the technical scope disclosed by the present invention should be covered within the protection scope of the present invention.

Claims

1. A flight controller product simulation test system based on test middleware, characterized in that: It includes multiple test devices, each of which includes a communication interconnection module, a main control module, a programmable power supply module and multiple test modules; The communication interconnection module is used for communication connection between various test devices; The main control module is used to control the programmable power supply module of each test device to supply power to the flight controller product connected thereto and to perform test control on the test modules of each test device when the test device to which it belongs is the main test device; Each of the test modules includes test middleware and test software for different flight controller products. The test middleware is used to call the test software corresponding to the flight controller product connected to the test device to which the test module belongs according to the test control instructions, and test the flight controller product connected to the test device.

2. The flight controller product simulation test system based on test middleware according to claim 1 is characterized in that: The main control module performs test control on the test modules of each test device, including: The main control module sends a cable identification instruction to the test module; The test middleware of the test module tests the type of cable connected to the flight controller product according to the cable identification instruction, and feeds back the cable type to the main control module; The main control module sends a test control instruction to the test module according to the cable type, and controls the test module to test the flight controller product.

3. The flight controller product simulation test system based on test middleware according to claim 2 is characterized in that: The test control instruction includes the test equipment number of the main control module, the flight controller product model, the test process number and the test control information; After receiving the test control instruction, the test middleware of the test module determines the current working state of the test module. If it is in an idle state, the test control instruction will not be processed. If it is in a controlled state, it determines whether the current controller device number of the test module is consistent with the test device number of the main control module in the test control instruction. If they are inconsistent, the test control instruction will not be processed. If they are consistent, it determines whether the corresponding test software and test process exist according to the flight controller product model and test process number in the test control instruction. If they do not exist, the test control failure information is fed back to the main control module. Otherwise, the test process number is sent to the test software corresponding to the flight controller product model, and the corresponding test software is called to execute the test control information.

4. The flight controller product simulation test system based on test middleware according to claim 2 is characterized in that: The test module includes a simulation test module and an image test module; The image test module is connected to the simulation test module via a real-time communication interface; When the test middleware of the image test module calls the corresponding test software to perform image testing on the flight controller product, the image test module obtains the position and attitude information of the aircraft from the simulation test module in real time through the real-time communication interface and sends it to the corresponding test software to generate a corresponding test image, and sends the generated test image to the corresponding flight controller product; the image test module receives and stores the image telemetry results fed back by the corresponding flight controller product.

5. The flight controller product simulation test system based on test middleware according to claim 4 is characterized in that: The test middleware is also used to regularly feed back the current test process, test steps and test results of the test module to the main control module during the test process. The main control module displays the working status, test process, test steps and test results of each test device.

6. The flight controller product simulation test system based on test middleware according to claim 1, characterized in that: When the subordinate test device is the main test device, before the test control of the test modules of each test device is performed, it also includes: The main control module on the main test device sends a test control request to the test modules of each test device; the test control request includes the main test device number; After receiving the test control request, the test middleware of the test module determines the current working state of the test module to which it belongs. If it is in an idle state, it records the main test device number in the test control request as the current control party device number, and feeds back the control right application success to the main control module on the main test device; If it is in the controlled state, the control right application failure is fed back to the main control module on the main test device.

7. The flight controller product simulation test system based on test middleware according to claim 1, characterized in that: After the test is completed, the main control module releases the control right through the following steps: The main control module on the main test device sends a control right release instruction to the test modules of each test device, wherein the control right release instruction includes the main test device number; After receiving the control right release instruction, the test middleware of the test module determines the current working state of the test module, and if it is in an idle state, feeds back information that the control right release fails; If it is in a controlled state, determine whether the current controller device number of the test module is consistent with the main test device number in the release control right instruction. If they are inconsistent, the release control right instruction will not be processed. Otherwise, determine whether the test module is in the test process or the self-test process. If so, feedback is given on failure to release control rights. Otherwise, reset the working state of the test module to the idle state, delete the current controller device number of the test module, and feedback on success in releasing control rights.

8. The flight controller product simulation test system based on test middleware according to claim 1, characterized in that: The programmable power supply module includes a power supply middleware; the main control module controls the programmable power supply modules of each test device to supply power to the connected flight controller product, including: The power supply middleware receives the power supply control instruction sent by the main control module; the power supply control instruction includes the test equipment number, power supply channel number and power supply control information of the main control module; The power supply middleware determines the current working status of the programmable power supply module. If it is in an idle state, the power control instruction will not be processed; if it is in a controlled state, it determines whether the current controlling device number of the programmable power supply module is consistent with the test device number of the main control module in the power control instruction. If they are inconsistent, the power control instruction will not be processed. Otherwise, the power channel corresponding to the power channel number is controlled to execute the power control information.

9. The flight controller product simulation test system based on test middleware according to claim 2, characterized in that: When the subordinate test device is the main test device, before the test control of the test modules of each test device is performed, it also includes: Connect the self-test cable to the interface board of the test module of the test equipment; The main control module on the main test device sends a test control request to the test modules of each test device to control the test modules of each test device; The main control module on the main test device sends a self-test control instruction to the test modules of each test device; The test middleware of the test module of each test device performs self-test on the interface channel on the interface board according to the self-test control instruction.

10. The flight controller product simulation test system based on test middleware according to claim 1, characterized in that: The test equipment also includes a data monitoring module, which includes monitoring middleware, data monitoring software corresponding to different flight controller products, and a data monitoring interface board; a signal line branch is led out from a test cable connecting the test equipment and the flight controller product and connected to the data monitoring interface board, and the data monitoring software collects and stores data transmitted between the test equipment and the flight controller product through the monitoring interface board.

Citation Information

Cited By

  • Simulation method and simulation device for simulating integrated circuit chip

    CN120508374A