Di and do test system and method for gnc assembly

CN115574837BActive Publication Date: 2026-06-09HU NAN YUN JIAN JI TUAN YOU XIAN GONG SI

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HU NAN YUN JIAN JI TUAN YOU XIAN GONG SI
Filing Date
2022-09-20
Publication Date
2026-06-09

Smart Images

  • Figure CN115574837B_ABST
    Figure CN115574837B_ABST
Patent Text Reader

Abstract

The application provides a DI and DO test system and method of a GNC assembly, comprising a GNC assembly and an automatic test assembly, the GNC assembly comprising a DI interface and a DO interface, and the DI interface and the DO interface are connected with the automatic test assembly, wherein: the GNC assembly is used for sending a DI signal to the automatic test assembly through the DI interface, and sending a DO signal to the automatic test assembly through the DO interface; the automatic test assembly is used for testing the DI signal and the DO signal according to a preset protocol, and obtaining a test result of the DI interface and the DO interface of the GNC assembly, and the test result is that the DI interface and the DO interface are in a normal state or an abnormal state. The whole test process is a fully automated test process, and the test efficiency is also high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of navigation and guidance control technology, and in particular to a DI and DO testing system and method for GNC components. Background Technology

[0002] With the continuous development of miniaturization, high precision, and intelligence in guided air-to-air munitions, and the continuous improvement of accuracy, the high integration of onboard equipment will become the future development trend. The guidance, navigation, and control (GNC) components, which are the core of guided air-to-air munitions, will undergo extensive testing to improve their reliability and safety.

[0003] Testing GNC components primarily involves testing multiple discrete inputs (DI) and multiple discrete outputs (DO). Currently, DI and DO testing mainly uses dedicated boards or self-made signal conditioning boards, conducted manually using switches and lights. This method requires a large number of personnel for manual testing, resulting in significant manpower consumption and low testing efficiency. Summary of the Invention

[0004] This application provides a DI and DO testing system and method for GNC components to solve the problems of high manpower consumption and low testing efficiency in the prior art for testing GNC components.

[0005] In a first aspect, this application provides a DI and DO testing system for a GNC component, comprising a GNC component and an automatic testing component. The GNC component includes a DI interface and a DO interface, both of which are connected to the automatic testing component, wherein:

[0006] The GNC component is used to send the DI signal of the GNC component to the automatic test component through the DI interface, and to send the DO signal of the GNC component to the automatic test component through the DO interface.

[0007] The automatic testing component is used to test the DI signal and the DO signal according to a preset protocol, and obtain the test results of the DI interface and the DO interface of the GNC component. The test results indicate that the DI interface and the DO interface are both in a normal state or an abnormal state.

[0008] In one possible implementation, the automated testing component is further used for:

[0009] Send a test signal to the GNC component;

[0010] The GNC component is specifically used for:

[0011] The DI signal is generated based on the test signal, and the DI signal is sent to the automatic test component through the DI interface, and the DO signal is sent to the automatic test component through the DO interface.

[0012] In one possible implementation, the GNC component includes at least one functional module, wherein:

[0013] The at least one functional module is used to process the test signal according to the preset processing flow in the preset protocol to generate the DI signal, and to generate the DO signal according to the preset processing flow.

[0014] The at least one functional module is also configured to send the DI signal to the automatic test component via the DI interface, and to send the DO signal to the automatic test component via the DO interface.

[0015] In one possible implementation, the automated testing component includes a controller, a first interface, and a second interface, wherein:

[0016] The first interface is used to receive the DI signal and send the DI signal to the controller;

[0017] The second interface is used to receive the DO signal and send the DO signal to the controller;

[0018] The controller is used to perform a self-loop test on the DI signal and the DO signal according to the preset protocol, and obtain the test results of the DI interface and DO interface of the GNC component.

[0019] In one possible implementation, the controller is specifically used for:

[0020] Determine whether the DI signal and the DO signal are non-zero signals;

[0021] If the DI signal or the DO signal is not a non-zero signal, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0022] If both the DI signal and the DO signal are non-zero signals, then a self-loop test is performed on the DI signal and the DO signal according to the target processing function in the preset protocol to obtain the test result.

[0023] In one possible implementation, the controller performs a self-loop test on the DI signal and the DO signal according to the target processing function in the preset protocol, and obtains the test result, including:

[0024] The DI signal and the DO signal are processed according to the target processing function to obtain the test function value;

[0025] If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in a normal state.

[0026] If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0027] In one possible implementation, the controller is further configured to:

[0028] The test results are output according to the preset format.

[0029] Secondly, this application provides a method for testing the DI and DO of a GNC component, including:

[0030] Obtain the DI and DO signals of the GNC component;

[0031] The DI signal and the DO signal are tested according to a preset protocol to obtain the test results of the DI interface and the DO interface of the GNC component. The test results indicate that the DI interface and the DO interface are both in a normal state or an abnormal state.

[0032] In one possible implementation, the step of testing the DI signal and the DO signal according to a preset protocol to obtain the test results of the GNC component includes:

[0033] Determine whether the DI signal and the DO signal are non-zero signals;

[0034] If the DI signal or the DO signal is not a non-zero signal, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0035] If both the DI signal and the DO signal are non-zero signals, then a self-loop test is performed on the DI signal and the DO signal according to the target processing function in the preset protocol to obtain the test result.

[0036] In one possible implementation, the step of performing a self-loop test on the DI signal and the DO signal according to the target processing function in the preset protocol and obtaining the test result includes:

[0037] The DI signal and the DO signal are processed according to the target processing function to obtain the test function value;

[0038] If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in a normal state.

[0039] If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0040] The DI and DO testing system and method for GNC components provided in this application include a GNC component and an automatic testing component. The GNC component has a DI interface and a DO interface, both of which are connected to the automatic testing component. The GNC component sends DI signals to the automatic testing component through the DI interface and DO signals through the DO interface. After receiving the DI and DO signals from the GNC component, the automatic testing component tests the DI and DO signals according to a preset protocol to determine whether they meet expectations, thereby obtaining the test results of the GNC component. When the DI and DO signals meet expectations, the test results of the GNC component's DI and DO interfaces are determined to be that both interfaces are in a normal state; conversely, when the DI and DO signals do not meet expectations, the test results of the GNC component's DI and DO interfaces are determined to be that both interfaces are in an abnormal state. The solution proposed in this application eliminates the need for manual testing of the GNC component. Instead, it controls the GNC component to send DI and DO signals to the automatic testing component, thereby determining the test results of the DI and DO interfaces of the GNC component based on the DI and DO signals. The entire testing process is fully automated, requiring no human resources and achieving high testing efficiency. Attached Figure Description

[0041] To more clearly illustrate the technical solutions in this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0042] Figure 1 A schematic diagram of the structure of the DI and DO testing system for the GNC component provided in the embodiments of this application;

[0043] Figure 2 A flowchart illustrating the DI and DO testing methods for GNC components provided in this application embodiment;

[0044] Figure 3 This is a flowchart illustrating the DI and DO testing method for the GNC component provided in this application embodiment. Detailed Implementation

[0045] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0046] With the continuous development of miniaturization, high precision, and intelligence in guided air-to-air munitions, and the continuous improvement of hit accuracy, the high integration of onboard equipment will become a future development trend. As the core of guided air-to-air munitions, the GNC (Gas-Neural Control) component will undergo extensive testing to improve its reliability and safety. Due to the numerous interfaces of DI (Distribution Injection) and DO (Distribution Outjection), improving the efficiency and speed of their testing methods is particularly important.

[0047] Currently, the testing methods for the DI and DO interfaces of GNC components generally involve using dedicated boards or self-made signal conditioning boards to verify their effectiveness through manual switching and lighting. These testing methods are complex, inefficient, and require a large number of personnel to manually conduct the tests, resulting in significant human resource consumption. In the case of large-scale mass production of the entire system, this can easily affect the normal delivery of products.

[0048] Figure 1 A schematic diagram of the structure of the DI and DO testing system for the GNC component provided in the embodiments of this application is shown below. Figure 1 As shown, it includes a GNC component 11 and an automatic test component 12. The GNC component 11 has a DI interface and a DO interface, both of which are connected to the automatic test component 12.

[0049] GNC component 11 is used to send the DI signal of GNC component 11 to automatic test component 12 through the DI interface, and to send the DO signal of GNC component 11 to automatic test component through the DO interface.

[0050] The automatic test component 12 is used to test the DI signal and DO signal according to a preset protocol, and obtain the test results of the DI interface and DO interface of the GNC component 11. The test results show that the DI interface and DO interface are in normal or abnormal states.

[0051] In this embodiment, the GNC component 11 adopts an integrated architecture mode, which integrates multiple functional modules such as functional module 1 and functional module 2. Each functional module outputs information through an electrical interface in a centralized control manner. Each functional module is installed in the same structural component, and the software and hardware depth between each functional module can meet the requirements of reusability and universality.

[0052] GNC component 11 sends its DI and DO signals to automatic test component 12. The DI signal is an input signal to GNC component 11, which can be sent by automatic test component 12 or by other devices; this embodiment does not limit this. GNC component 11 can also generate signals internally according to instructions, such as generating a DO signal based on a command from automatic test component 12. The DO signal is an output signal from GNC component 11.

[0053] GNC component 11 is connected to automatic test component 12. After GNC component 11 sends DI signal and DO signal to automatic test component 12, automatic test component 12 can test DI signal and DO signal according to preset protocol. This test process mainly tests whether GNC component 11 can normally receive input DI signal and output DO signal.

[0054] Specifically, the automatic test component 12 can process the DI signal and the DO signal. If the communication between the automatic test component 12 and the GNC component 11 is normal, but the DI signal or DO signal received by the automatic test component 12 is an empty signal (e.g., the level value is 0), it means that the DI interface and the DO interface are in an abnormal state and cannot receive the DI signal or output the DO signal normally. Conversely, it means that the DI interface and the DO interface are in a normal state.

[0055] The DI and DO testing system for GNC components provided in this application includes a GNC component and an automatic testing component. The GNC component has a DI interface and a DO interface, both of which are connected to the automatic testing component. The GNC component sends its DI signal to the automatic testing component via the DI interface and its DO signal to the automatic testing component via the DO interface. Upon receiving the DI and DO signals from the GNC component, the automatic testing component tests the DI and DO signals according to a preset protocol to determine whether they meet expectations, thereby obtaining the test results of the GNC component. When the DI and DO signals meet expectations, the test results of the GNC component's DI and DO interfaces are determined to be in a normal state; conversely, when the DI and DO signals do not meet expectations, the test results of the GNC component's DI and DO interfaces are determined to be in an abnormal state. The solution proposed in this application eliminates the need for manual testing of the GNC component. Instead, it controls the GNC component to send DI and DO signals to the automatic testing component, thereby determining the test results of the DI and DO interfaces of the GNC component based on the DI and DO signals. The entire testing process is fully automated, requiring no human resources and achieving high testing efficiency.

[0056] Figure 2 A flowchart illustrating the DI and DO testing method for the GNC component provided in this application embodiment is shown below. Figure 2 As shown, it includes:

[0057] S201, define the “GNC component DI / DO communication process and communication protocol”.

[0058] The hardware consists of a microcontroller-based automatic testing system and its test cables. The software follows the "GNC component DI / DO communication process and communication protocol". The testing method based on this system can realize data transmission and verification of GNC component DI and DO interfaces through RS422 serial port.

[0059] The automatic test component adopts a microcontroller-based core architecture, featuring electrical and power interfaces, enabling the forwarding and transmission of DI and DO interface signals from the GNC component. The hardware refers to the circuit board containing components such as the microcontroller chip, level conversion chip, power supply chip, and serial port chip, all soldered within the system. The software refers to the application program that implements the communication protocol for data processing via the GNC component's DI and DO interfaces. The test cable contains two connectors, one for the electrical interface and the other for the power supply interface of the GNC component.

[0060] The GNC component DI / DO communication process and protocol, also known as the preset protocol, includes the communication process to be followed for information exchange between the automatic test component and the GNC component, the baud rate and valid bits for RS422 communication, the verification method, and the data input / output frame format requirements, data content, and input / output control command content for the automatic test component. Specifically, based on the testing requirements and workflow of the GNC component DI / DO, the communication process to be followed for information exchange between the automatic test component and the GNC component can be defined; the baud rate and valid bits for RS422 communication, the verification method, etc., can be determined based on the communication requirements of the automatic test component; and the data input / output frame format requirements, data content, and input / output control command content for the automatic test component can be determined based on the operational requirements of the GNC component DI / DO.

[0061] S202, Determine the GNC component test system and its test cables.

[0062] Select microcontroller chips, level conversion chips, power supply chips, and serial port chips according to resource requirements; design the external dimensions, installation interfaces, and external connector layout of the automatic test components according to system installation requirements, and finally complete the development of the automatic test components. Design and manufacture test cables based on the electrical connection relationships and connection positions of the GNC components. Complete the installation of the above equipment.

[0063] S203, complete the connection between the automatic test component and the GNC component.

[0064] Complete the electrical connection between the automatic test component and the GNC component. Both the automatic test component and the GNC component include electrical interfaces and power supply interfaces. The electrical interfaces of the two components are interconnected, and the power supply interfaces of the two components are also interconnected.

[0065] S204 completes the self-test and workflow debugging of the automatic test component and GNC component.

[0066] The automatic test component is powered on and completes the self-test process between the automatic test component and the GNC component. The automatic test component sends the test of the GNC component, receives multiple DO signals, and performs a self-loop test in accordance with the workflow and data input / output data frame format requirements of the "GNC component DI / DO communication process and communication protocol".

[0067] This section primarily focuses on the self-testing of the GNC component and the automatic testing component. The GNC component self-test determines whether the debugging results are normal. If normal, this step can be completed, and the user can proceed to the next step; otherwise, debugging needs to continue until the results are normal. Similarly, the automatic testing component self-test determines whether the automatic testing results are normal. If normal, this step can be completed, and the user can proceed to the next step; otherwise, debugging needs to continue until the results are normal.

[0068] S205, the GNC component sends output commands to the automatic test component.

[0069] S206, determine whether the automatic test component has received the output command sent by the GNC component. If yes, execute S207; otherwise, execute S205.

[0070] Steps S205 and S206 are primarily used to debug and determine whether the automatic test component and the GNC component can exchange information or signals normally. The GNC component sends an output command to the automatic test component. If the automatic test component can receive the output command sent by the GNC component, it indicates that the interaction between the GNC component and the automatic test component is smooth and information or signal exchange is possible. Conversely, if the automatic test component cannot receive the output command sent by the GNC component, it indicates that the interaction between the GNC component and the automatic test component is not smooth and information or signal exchange is impossible. In this case, debugging needs to continue, and step S205 needs to be executed until the automatic test component can successfully receive the output command sent by the GNC component.

[0071] S207, the automatic test component sends a test signal to the GNC component.

[0072] The automatic test component sends a test signal to the GNC component, and the GNC component, upon receiving the test signal, generates a DI signal based on it. Specifically, the GNC component includes at least one functional module, a DI interface, and a DO interface. The DI interface is connected to the automatic test component, and the DO interface is also connected to the automatic test component. Both the DI and DO interfaces are electrical interfaces.

[0073] After the automatic test component sends a test signal to the GNC component, at least one functional module processes the test signal according to a preset processing flow in the preset protocol to generate a DI signal. The specific processing flow can be set according to actual needs, and may include signal filtering, signal addition, signal subtraction, signal weighting, etc. The GNC component can also generate a DO signal according to a preset processing flow. The processing flow for generating the DO signal can also be set according to actual needs, and may include signal filtering, signal addition, signal subtraction, signal weighting, etc.

[0074] S208, the GNC component sends DI and DO signals to the automatic test component.

[0075] After generating the DI and DO signals, this at least one functional module can send the DI signal to the automated test component via the DI interface and the DO signal to the automated test component via the DO interface. In this embodiment, the DI and DO signals are unrelated and are sent to the GNC component through different interfaces.

[0076] S209, the automatic test component tests the DI signal and DO signal according to the preset protocol and obtains the test results.

[0077] The automatic test component includes a controller, a first interface, and a second interface. The first interface receives DI signals and sends DI signals to the controller, while the second interface receives DO signals and sends DO signals to the controller. Upon receiving the DI and DO signals, the controller performs a self-loop test on them according to a preset protocol to obtain the test results of the GNC component. This process will be described below.

[0078] After receiving the DI and DO signals, the controller first determines whether the DI and DO signals are non-zero. If either the DI or DO signal is not non-zero, the test result indicates that both the DI and DO interfaces are in an abnormal state.

[0079] If both the DI and DO signals are non-zero, a self-loop test is performed on the DI and DO signals according to the target processing function in the preset protocol to obtain the test results.

[0080] Specifically, the DI signal and the DO signal are processed according to the target processing function to obtain the test function value. In this embodiment, the target processing function is a pre-set function whose independent variables are the DI signal and the DO signal. The test function value can be obtained based on the DI signal, the DO signal, and the target processing function.

[0081] The DI signal is obtained by the GNC component based on the test signal, which is sent to the GNC component by the automatic test component. Therefore, the automatic test component can know the value of the DI signal when the GNC component is working normally (it changes with the test signal). The DO signal is generated by the GNC component according to the commands of the automatic test component. Therefore, the automatic test component can also know the value of the DO signal when the GNC component is working normally. Thus, based on the values ​​of the DI and DO signals under normal conditions, and combined with the target processing function, the automatic test component can obtain a target function value. This target function value is the value obtained after processing the DI and DO signals using the target processing function.

[0082] If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, the test result indicates that both the DI and DO interfaces are in a normal state. Due to the existence of error, it is not necessary for the test function value to be exactly equal to the target function value. Instead, if the absolute value of the difference between the test function value and the target function value is less than or equal to the preset threshold, it can be determined that both the DI and DO interfaces are in a normal state. If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, the test result indicates that both the DI and DO interfaces are in an abnormal state.

[0083] S210, the automatic test component outputs test results.

[0084] The automatic testing component performs self-loop testing, generates a test result file according to a preset format, and saves it to the computer via RS422 serial port.

[0085] In summary, the embodiments of this application adopt a hierarchical planning layout, formulate an automatic test component based on a microcontroller, form a self-loop test of DI and DO, realize rapid testing of the DI and DO interface signals of the GNC component, enter the automatic test component through the DI signal of the GNC component, the automatic test component receives the DO signal of the GNC component, the DI and DO form a corresponding test relationship within the automatic test component, form a self-loop test between the two, and output the test results through the RS422 serial port to achieve the purpose of rapid testing and improve work efficiency.

[0086] Figure 3 A flowchart illustrating the DI and DO testing method for the GNC component provided in this application embodiment is shown below. Figure 3 As shown, the method may include:

[0087] S31, acquire the DI and DO signals of the GNC component;

[0088] S32, Test the DI signal and the DO signal according to the preset protocol, and obtain the test results of the DI interface and DO interface of the GNC component. The test results indicate that the DI interface and the DO interface are both in a normal state or an abnormal state.

[0089] In one possible implementation, the step of testing the DI signal and the DO signal according to a preset protocol to obtain the test results of the GNC component includes:

[0090] Determine whether the DI signal and the DO signal are non-zero signals;

[0091] If the DI signal or the DO signal is not a non-zero signal, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0092] If both the DI signal and the DO signal are non-zero signals, then a self-loop test is performed on the DI signal and the DO signal according to the target processing function in the preset protocol to obtain the test result.

[0093] In one possible implementation, the step of performing a self-loop test on the DI signal and the DO signal according to the target processing function in the preset protocol and obtaining the test result includes:

[0094] The DI signal and the DO signal are processed according to the target processing function to obtain the test function value;

[0095] If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in a normal state.

[0096] If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

[0097] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

[0098] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A DI and DO testing system for GNC components, characterized in that, The system includes a GNC component and an automated test component. The GNC component contains a DI interface and a DO interface, both of which are connected to the automated test component. The GNC component is used to send the DI signal of the GNC component to the automatic test component through the DI interface, and to send the DO signal of the GNC component to the automatic test component through the DO interface. The automatic testing component is used to test the DI signal and the DO signal according to a preset protocol, and obtain the test results of the DI interface and DO interface of the GNC component. The test results are that the DI interface and the DO interface are both in a normal state or an abnormal state. The automated testing component includes a controller, a first interface, and a second interface, wherein: The first interface is used to receive the DI signal and send the DI signal to the controller; The second interface is used to receive the DO signal and send the DO signal to the controller; The controller is specifically used to determine whether the DI signal and the DO signal are non-zero signals; if the DI signal or the DO signal is not a non-zero signal, the test result is determined to be that both the DI interface and the DO interface are in an abnormal state; if both the DI signal and the DO signal are non-zero signals, a self-loop test is performed on the DI signal and the DO signal according to the target processing function in the preset protocol to obtain the test result.

2. The system according to claim 1, characterized in that, The automated testing component is also used for: Send a test signal to the GNC component; The GNC component is specifically used for: The DI signal is generated based on the test signal, and the DI signal is sent to the automatic test component through the DI interface, and the DO signal is sent to the automatic test component through the DO interface.

3. The system according to claim 2, characterized in that, The GNC component includes at least one functional module, wherein: The at least one functional module is used to process the test signal according to the preset processing flow in the preset protocol to generate the DI signal, and to generate the DO signal according to the preset processing flow. The at least one functional module is also configured to send the DI signal to the automatic test component via the DI interface, and to send the DO signal to the automatic test component via the DO interface.

4. The system according to claim 1, characterized in that, The controller performs a self-loop test on the DI signal and the DO signal according to the target processing function in the preset protocol, and obtains the test results, including: The DI signal and the DO signal are processed according to the target processing function to obtain the test function value; If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in a normal state. The target function value is obtained by processing the DI signal and DO signal in the normal state based on the target processing function. If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.

5. The system according to claim 1, characterized in that, The controller is also used for: The test results are output according to the preset format.

6. A method for testing the DI and DO of a GNC component, characterized in that, include: Obtain the DI and DO signals of the GNC component; The DI signal and the DO signal are tested according to a preset protocol to obtain the test results of the DI interface and the DO interface of the GNC component. The test results indicate that the DI interface and the DO interface are both in a normal state or an abnormal state. The step of testing the DI signal and the DO signal according to a preset protocol to obtain the test results of the DI interface and DO interface of the GNC component includes: Determine whether the DI signal and the DO signal are non-zero signals; If the DI signal or the DO signal is not a non-zero signal, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state. If both the DI signal and the DO signal are non-zero signals, then a self-loop test is performed on the DI signal and the DO signal according to the target processing function in the preset protocol to obtain the test result.

7. The method according to claim 6, characterized in that, The step of performing a self-loop test on the DI signal and the DO signal according to the target processing function in the preset protocol, and obtaining the test result, includes: The DI signal and the DO signal are processed according to the target processing function to obtain the test function value; If the absolute value of the difference between the test function value and the target function value is less than or equal to a preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in a normal state. The target function value is obtained by processing the DI signal and DO signal in the normal state based on the target processing function. If the absolute value of the difference between the test function value and the target function value is greater than the preset threshold, then the test result is determined to be that both the DI interface and the DO interface are in an abnormal state.