A test device for a controller

By designing an automated controller test device and using the chassis and control board for automatic fault detection, the problems of high test costs and inconsistent results in the existing technology are solved, and efficient and accurate controller testing is achieved.

CN116068980BActive Publication Date: 2024-09-10BEIJING GUODIAN ZHISHEN CONTROL TONGDY
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111272631.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-29
Publication Date
2024-09-10
Estimated Expiration
2041-10-29

AI Technical Summary

Technical Problem

Testing existing controllers requires a lot of manpower and time, resulting in high cost, long testing time and inconsistent test results.

Method used

A test device including a chassis, installation port and control board is designed. It performs automatic fault detection through electrical connections, uses preset test programs to simulate on-site communication, automatically measures and analyzes, and realizes automated testing of the controller.

Benefits of technology

It greatly shortens the test time, reduces manpower requirements, ensures the consistency of test results, improves test efficiency and accuracy, and the device is small in size, light in weight, and easy to operate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116068980B
    Figure CN116068980B
Patent Text Reader

Abstract

The embodiment of the present invention discloses a controller test device, comprising: a chassis, a mounting port arranged on the chassis, and a control board arranged inside the chassis, wherein the control board is electrically connected to the mounting port; the mounting port is used to mount a controller under test; and the control board is used to trigger a fault detection action of the controller under test to test the controller under test. The controller test device disclosed in the embodiment of the present invention can automatically test the controller under test.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to but is not limited to the field of automatic control, and in particular to a testing device for a controller. Background Art

[0002] The controller is an important device for automated testing. It is the "decision-making body" that issues commands, that is, it coordinates and directs the entire automated operation.

[0003] Generally, when a controller leaves the factory or is used, it is necessary to test the controller to determine whether the controller meets the requirements. However, current controller testing requires a lot of manpower and time to complete, resulting in high testing costs and long testing time. Summary of the invention

[0004] The embodiment of the present application provides a controller test device, comprising: a chassis, a mounting port disposed on the chassis, and a control board disposed inside the chassis, wherein the control board is electrically connected to the mounting port;

[0005] The installation port is used to install the controller under test;

[0006] The control board is used to trigger a fault detection action of the controller under test so as to test the controller under test.

[0007] The controller test device provided by at least one embodiment of the present application has the following beneficial effects compared with the prior art: it can automatically test the controller under test, greatly shorten the time cost of detection, reduce the technical requirements of manpower, and reduce the cost of manpower; and avoid the differences caused by manual detection, and ensure the consistency of the detection results. In addition, the controller test device provided by the embodiment of the present invention has an appearance of a flat box, so that the controller test device is small in size, light in weight, easy to move, and easy to operate.

[0008] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or be understood by implementing the present application. Other advantages of the present application can be realized and obtained by the schemes described in the description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0009] The accompanying drawings are used to provide an understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0010] Figure 1 A schematic diagram of the structure of a test device for a controller provided in an embodiment of the present invention;

[0011] Figure 2A schematic diagram of the appearance of a chassis of a controller testing device provided in an exemplary embodiment of the present invention;

[0012] Figure 3 A schematic diagram of the structure of a main control board provided in an embodiment of the present invention;

[0013] Figure 4 A schematic diagram of the appearance of a chassis of a controller testing device provided in an exemplary embodiment of the present invention;

[0014] Figure 5 A schematic diagram of the configuration of IP configuration information provided by an embodiment of the present invention;

[0015] Figure 6 A schematic diagram of the structure of a sub-board provided in an embodiment of the present invention;

[0016] Figure 7 A schematic diagram of the appearance of a chassis of a controller testing device provided in an exemplary embodiment of the present invention. DETAILED DESCRIPTION

[0017] The present application describes multiple embodiments, but the description is exemplary rather than restrictive, and it is obvious to those skilled in the art that there may be more embodiments and implementations within the scope of the embodiments described in the present application. Although many possible feature combinations are shown in the drawings and discussed in the specific embodiments, many other combinations of the disclosed features are also possible. Unless specifically limited, any feature or element of any embodiment may be used in combination with any other feature or element in any other embodiment, or may replace any other feature or element in any other embodiment.

[0018] The present application includes and contemplates combinations of features and elements known to those of ordinary skill in the art. The embodiments, features and elements disclosed in the present application may also be combined with any conventional features or elements to form a unique invention scheme defined by the claims. Any features or elements of any embodiment may also be combined with features or elements from other invention schemes to form another unique invention scheme defined by the claims. Therefore, it should be understood that any feature shown and / or discussed in the present application may be implemented individually or in any appropriate combination. Therefore, except for the limitations made according to the attached claims and their equivalents, the embodiments are not subject to other restrictions. In addition, various modifications and changes may be made within the scope of protection of the attached claims.

[0019] In addition, when describing representative embodiments, the specification may have presented the method and / or process as a specific sequence of steps. However, to the extent that the method or process does not rely on the specific order of the steps described herein, the method or process should not be limited to the steps of the specific order described. As will be understood by those of ordinary skill in the art, other sequences of steps are also possible. Therefore, the specific sequence of the steps set forth in the specification should not be interpreted as a limitation to the claims. In addition, the claims for the method and / or process should not be limited to the steps of performing them in the order written, and those skilled in the art can easily understand that these sequences can be changed and still remain within the spirit and scope of the embodiments of the present application.

[0020] Figure 1 A schematic diagram of the structure of a test device for a controller provided in an embodiment of the present invention, Figure 2 A schematic diagram of the chassis appearance of a controller testing device provided in an exemplary embodiment of the present invention is shown in FIG. Figure 1 and Figure 2 As shown, the controller test device may include: a chassis 11, a mounting port 12 arranged on the chassis, and a control board 13 arranged inside the chassis, wherein the control board is electrically connected to the mounting port.

[0021] The installation port is used for installing the controller under test 14; the control board is used for triggering the fault detection action of the controller under test to test the controller under test.

[0022] In this embodiment, the controller test device (also referred to as the controller test fixture) has a flat box body, and a mounting port is provided on the box body, so that the controller under test can be directly mounted on the test device. The controller under test can be plugged into the mounting port to achieve direct mounting of the controller under test on the test device.

[0023] In this embodiment, a control panel is provided in the box of the controller test device to trigger the fault detection action of the controller under test to test the controller under test. Among them, the control panel can pre-download or set a preset test program, which can simulate actual on-site communication, and can create a variety of functional faults to trigger the fault detection action of the controller under test. By comparing the manufactured faults with the detection of the controller under test, it is determined whether the controller under test meets the requirements. In addition, the preset test program in the control panel can also automatically measure, analyze and give test conclusions, replacing manual work, so as to shorten the debugging period and ensure the quality consistency of the controller under test.

[0024] The testing of the controller under test may include one or more of the following:

[0025] Conduct communication test on the controller under test;

[0026] Perform network port test on the controller under test;

[0027] Perform quality test on the output signal of the controller under test.

[0028] In one example, if Figure 2 As shown, the chassis is also provided with an information area for describing relevant information of the test device (tool). The information area may include: tool type, tool IP, tool number, etc.

[0029] In one example, if Figure 2 As shown, the chassis may also be provided with a test port 15 and indicator lights, which may include indicator lights L1, indicator lights L2, indicator lights L3 and indicator lights L4, which are used to indicate test results, test status, detection and reset, respectively.

[0030] The controller test device provided by the embodiment of the present invention can automatically test the controller under test, greatly shorten the time cost of detection, reduce the technical requirements of manpower, and reduce the cost of manpower; and avoid the differences caused by human detection, ensuring the consistency of the detection results. In addition, by using the efficiency and accuracy of computer calculations, the efficiency of the test process and the correctness and effectiveness of the test results are guaranteed, which is far superior to the operation and judgment of the naked eye.

[0031] In addition, the controller test device provided in the embodiment of the present invention has an appearance of a flat box, so that the controller test device is small in size, light in weight, easy to move, and simple to operate.

[0032] In an exemplary embodiment of the present invention, the control board may include a main control board and a sub-board, the main control board and the sub-board are connected by a flat cable, and the mounting port is electrically connected to the sub-board.

[0033] In this embodiment, the control board inside the box may include two circuit boards: a main control board and a sub-board. The main control board and the sub-board may be connected using a flat cable.

[0034] In an exemplary embodiment of the present invention, Figure 3 A schematic diagram of the structure of the main control board provided in an embodiment of the present invention, such as Figure 3 As shown, the main control board may include a single-chip microcomputer and a switch. The switch may communicate with the single-chip microcomputer via a reduced media independent interface (RMII) interface. The single-chip microcomputer is used to generate and send test information.

[0035] In this embodiment, the main control board is mainly used to schedule the various functional modules of the entire test device. The main control board may include a single-chip microcomputer and a switch. The single-chip microcomputer is used to generate test information. The switch may be a gigabit switch, which communicates with the single-chip microcomputer through the RMII interface to test the AB network port (gigabit) on the panel of the tested controller and the reserved network port (100 megabit) on the base.

[0036] The switch can lead out multiple network ports, for example, four network ports can be led out to the interface of the test device, and one network port can be led out to the sub-board.

[0037] In one example, when the switch leads to four network ports to the interface of the test device, three of the network ports can be respectively connected to three external ports of the test device: a first network port for connecting to network port A of the controller under test, a second network port for connecting to network port B of the controller under test, and a third network port for connecting to a reserved network port on the base of the controller under test.

[0038] Figure 4 A schematic diagram of the chassis appearance of a controller testing device provided in an exemplary embodiment of the present invention is shown in FIG. Figure 4 As shown, the chassis is also provided with a plurality of external ports, and the plurality of external ports may include a first network port, a second network port, and a third network port. Among them, the first network port, the second network port, and the third network port may be Figure 4 The Ethernet port in the

[0039] The switch is used to receive the test information sent by the single chip microcomputer to perform at least one of the following tests:

[0040] Testing the network port A of the controller under test through the first network port;

[0041] Test the network port B of the controller under test through the second network port;

[0042] The reserved network port on the base of the controller under test is tested through the third network port.

[0043] In this embodiment, the switch can test the AB network ports (gigabit) on the panel of the tested controller and the reserved network port (100M) on the base according to the test information sent by the single chip microcomputer.

[0044] In one example, when the switch leads out four network ports to the interface of the test device, one of the network ports can be respectively connected to an external port of the test device: a fourth network port for connecting to a host computer.

[0045] In an exemplary embodiment of the present invention, the plurality of external ports may further include: a fourth network port; the fourth network port may be Figure 4 The Ethernet port in the

[0046] The switch is also used to communicate with the host computer through the fourth network port to obtain the IP configuration information of the network port A, the network port B and the reserved network port on the base of the tested controller from the host computer, so as to test the network port A, the network port B and the reserved network port on the base of the tested controller respectively according to the obtained IP configuration information; and send the test results of the network port A, the network port B and the reserved network port on the base of the tested controller to the host computer.

[0047] Figure 5 A schematic diagram of the configuration of IP configuration information provided by an embodiment of the present invention, such as Figure 5 As shown, the switch can communicate with the host computer through the first network port, and obtain the IP configuration information of the network port A, network port B and the reserved network port on the base of the tested controller through the host computer. When receiving the test information sent by the single-chip microcomputer, the network port A, network port B and the reserved network port on the base of the tested controller can be configured and tested respectively according to the obtained IP configuration information; and the corresponding test results can be sent to the host computer so that the host computer automatically generates a test result report. The automatic generation of the test result report ensures the legitimacy of the test result and avoids human tampering. Among them, Figure 5 The tooling here refers to the test device of the controller.

[0048] In an exemplary embodiment of the present invention, Figure 6 A schematic diagram of the structure of a sub-board provided in an embodiment of the present invention, such as Figure 6 As shown, the controller under test is provided with a plurality of networks, a plurality of first relays are provided on the sub-board, and each network of the controller under test corresponds to a first relay;

[0049] The switch is connected to the input end of each first relay through a network, and the output end of each first relay is connected to the controller under test through the installation port;

[0050] The switch is also used to receive the test information sent by the single-chip microcomputer, and control each first relay to power on or off according to the test information, so that the corresponding first relay input and output terminals are attracted or disconnected, so as to connect or disconnect the switch and a corresponding one of the multiple networks of the controller under test, thereby testing the multiple networks of the controller under test one by one with a network introduced by the switch.

[0051] In this embodiment, the switch leads to a network port to the slave board. Since there are 7 networks on the controller under test, the test device switches the relay on the network path on the slave board to test the 7 networks of the controller one by one using the 1 network introduced by the main control board.

[0052] A serial-to-parallel module is provided on the main control board, the single-chip microcomputer is connected to the serial-to-parallel module via a serial peripheral interface SPI bus, and the serial-to-parallel module is connected to the control end of the first relay;

[0053] The serial-to-parallel module is used to receive control information from the single-chip microcomputer and to supply or cut off power to the control end of the first relay accordingly, so as to control the input and output ends of the first relay to be closed or disconnected.

[0054] In this embodiment, the single chip microcomputer can expand the output DO signal of the serial-to-parallel module through the SPI bus to control the on / off of the relay on the sub-board.

[0055] In an exemplary embodiment of the present invention, the chassis is further provided with a plurality of external ports, the plurality of external ports including a power port, a second relay is provided on the sub-board, an input end of the second relay is connected to the power port, and an output end of the second relay is connected to the controller under test through the installation port;

[0056] A serial-to-parallel module is provided on the main control board, the single-chip microcomputer is connected to the serial-to-parallel module via a serial peripheral interface SPI bus, and the serial-to-parallel module is connected to the control end of the second relay;

[0057] The serial-to-parallel module is used to receive the control information of the single-chip microcomputer and supply or cut off the power to the control end of the second relay accordingly to control the closing or disconnection of the second relay, and test the two power supplies of the tested controller with dual power supply redundancy one by one.

[0058] In this embodiment, the controller under test is powered by dual power supply redundancy. The test device can test the two power supplies one by one by switching the relays on the network path of the sub-board. When one of the power supplies is disconnected, the controller under test will alarm. The single-chip microcomputer can expand the output DO signal of the serial-to-parallel module through the SPI bus to control the on / off of the relay on the sub-board.

[0059] In an exemplary embodiment of the present invention, a field programmable gate array FPGA and a dual-port RAM are provided on the main control board, the FPGA communicates with the single-chip microcomputer via the dual-port RAM, and the FPGA is also connected to the controller under test on the installation port via an RS485 line;

[0060] FPGA is used to receive the test information of the microcontroller and test the communication function of the test controller.

[0061] In this embodiment, the main control board is mainly a microcontroller system composed of a single-chip microcomputer and an FPGA, which schedules the various functional modules of the entire test device. The FPGA communicates with the single-chip microcomputer through a dual-port RAM to obtain the test information sent by the single-chip microcomputer. The FPGA can be directly connected to the sub-board through the IO bus, and then connected to the controller under test on the installation port through the sub-board. The FPGA can directly test the communication function of the controller under test according to the test information sent by the single-chip microcomputer. Figure 6 As shown, the main control board can introduce 8 RS485 signals through the IO bus and directly connect to the controller under test for testing.

[0062] In an exemplary embodiment of the present invention, a bus driver is provided on the main control board, the input end of the bus driver is connected to the single-chip microcomputer, and the output end of the bus driver is connected to the sub-board through the IO bus;

[0063] A plurality of third relays are arranged on the sub-board, and the IO bus is used to transmit multiple RS485 signals, and each RS485 signal corresponds to a third relay; wherein one end of the IO bus is connected to the installation port, and the other end of the IO bus is connected to the input end of each relay.

[0064] The bus driver is used to receive the test information of the single-chip microcomputer, and control each third relay to power on or off according to the test information, so that the corresponding third relay input and output terminals are attracted or disconnected, so as to select one channel from the multiple RS485 signals to perform quality test on the output signal of the controller under test.

[0065] In this embodiment, the single-chip microcomputer can be connected to the sub-board through a bus driver to realize the IO line of the sub-board for bidirectional communication. The test device can select 1 signal from the 8 output signals of the controller under test and place it on the box of the device under test by switching the relay on the IO bus path on the sub-board or the output signal path of the controller under test to measure the signal quality.

[0066] In an exemplary embodiment of the present invention, a power consumption acquisition module is provided on the secondary board for acquiring the power consumption of the controller under test;

[0067] The power consumption acquisition module may include: a sampling resistor for acquiring the voltage of the controller under test to represent the power consumption, the sampling resistor being located on the negative end path of the power supply of the controller under test on the secondary board;

[0068] The main control board is provided with a voltage amplification module, which is connected to the sampling resistor and the single-chip microcomputer respectively. The voltage amplification module is used to amplify the voltage of the controller under test collected by the sampling resistor and send it to the single-chip microcomputer.

[0069] In this embodiment, a sampling resistor can be installed on the negative end path of the power supply of the controller under test to obtain the sampling voltage of the controller under test, and the sampling voltage is amplified by the voltage amplifier module operational amplifier on the main control board and enters the internal AD of the single-chip microcomputer. Among them, the voltage amplifier module is used to measure the power supply status of the controller under test, and confirm whether the controller under test is qualified by measuring the current size.

[0070] In an exemplary embodiment of the present invention, Figure 3 As shown, the main control board can also be provided with: a CAN driver, the CAN port on the microcontroller is connected to the CAN driver, and the TTL signal is converted into a differential signal through the CAN driver and transmitted to the sub-board.

[0071] In an exemplary embodiment of the present invention, Figure 3As shown, the controller test device also has a USB communication function, which mainly uses a USB hub USB-HUB to expand the single-channel USB port of the microcontroller into four USB interfaces, which are respectively connected to the micoUSB, USB socket, etc. on the panel of the controller under test for communication or debugging.

[0072] In an exemplary embodiment of the present invention, Figure 7 A schematic diagram of the chassis appearance of a controller testing device provided in an exemplary embodiment of the present invention is shown in FIG. Figure 3 and Figure 7 As shown, the chassis is also provided with a plurality of external ports, and the plurality of external ports may include:

[0073] Scanner port, used to connect an external scanner to obtain test information so as to write the test information into the controller under test. The test information includes: tester, test time, tooling number, and controller number.

[0074] In practical applications, when the controller is tested by the test device, the information such as the tester, test time, tooling number and controller number needs to be written into the tested controller for storage. In this embodiment, the test device can be connected to the scanner through the scanner port, and the scanner recognizes the set QR code information and writes it into the tested controller through the scanner port.

[0075] In an exemplary embodiment of the present invention, Figure 3 and Figure 7 As shown, the chassis is also provided with a plurality of external ports, which may include: a serial communication port COM port, which is used to connect to the RJ11 interface of the controller under test to test the RJ11 interface.

[0076] In this embodiment, the controller front panel has a serial port with an RJ11 interface, which is connected to the RJ11 interface of the controller under test through a COM module on the test device chassis to perform communication and testing.

[0077] In an exemplary embodiment of the present invention, Figure 3 and Figure 7 As shown, the chassis is also provided with a plurality of external ports, which may include: a program download port for downloading a test program of the controller under test.

[0078] In this embodiment, the program download port may include a single-chip microcomputer (MCU) download interface and an FPGA download port. The download ports of the single-chip microcomputer and the FPGA are downloaded through a simple header interface on the test device box, and the download port of the peripheral device can facilitate program upgrades.

[0079] In an exemplary embodiment of the present invention, the host computer can implement the following functions:

[0080] Select the test scenario; download the test program in the controller; detect the network on the front panel of the tested controller; save the test conclusion: store the test results of each test item in the database; export the test report: export the results of the tested controller into a table.

[0081] In an exemplary embodiment of the present invention, the test device of the controller under test can realize the following functions:

[0082] Get scanner information; start the test; simulate IO cards; simulate GPS signals; simulate partner controllers; detect network ports A and B of the tested controller and the reserved network port of the base; prompt the end of the test.

[0083] In an exemplary embodiment of the present invention, a test program may be provided in the controller under test, and the host computer software may download the test program to the controller under test through the network and run the test program. After the test is completed, the test program is deleted and the factory settings are restored.

[0084] The test program in the controller under test can achieve one or more of the following functions:

[0085] Download IO configuration: Download the IO configuration to the IOBUS board responsible for communication.

[0086] Transmit power detection result: upload the power detection status of the IOBUS board to the test device.

[0087] Transmit IO bus test results: upload the IO bus test results of the IOBUS board to the test device.

[0088] Transmit the master / slave status: upload the master / slave status of the IOBUS card to the test device.

[0089] Transmit GPS status: read the GPS detection status of the IOBUS card and upload it to the test device.

[0090] Read temperature: Read the temperature inside the controller and upload it to the test device.

[0091] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all components may be implemented as software executed by a processor, such as a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

Claims

1. A controller testing device, characterized in that: include: A chassis, a mounting port disposed on the chassis, and a control board disposed inside the chassis, wherein the control board is electrically connected to the mounting port; The installation port is used to install the controller under test; The control board is used to trigger a fault detection action of the controller under test to test the controller under test; The control board includes a main control board and a sub-board, the main control board and the sub-board are connected by a flat cable, and the mounting port is electrically connected to the sub-board; The chassis is also provided with a plurality of external ports, including a power port, the sub-board is provided with a second relay, the input end of the second relay is connected to the power port, and the output end of the second relay is connected to the controller under test through the installation port; The main control board is provided with a serial-to-parallel module, the single-chip microcomputer is connected to the serial-to-parallel module via a serial peripheral interface SPI bus, and the serial-to-parallel module is connected to the control end of the second relay; The serial-to-parallel module is used to receive the control information of the single-chip microcomputer, and accordingly power on or off the control end of the second relay to control the attraction or disconnection of the second relay, and test the two power supplies of the tested controller with dual power supply redundancy one by one.

2. The device according to claim 1, characterized in that The main control board includes a single-chip microcomputer and a switch, and the switch communicates with the single-chip microcomputer via a simplified media independent interface RMII interface; The single chip microcomputer is used to generate and send test information; The chassis is also provided with a plurality of external ports, and the plurality of external ports include a first network port, a second network port and a third network port; The switch is used to receive the test information sent by the single-chip microcomputer to perform at least one of the following tests: Testing the network port A of the controller under test through the first network port; Testing the network port B of the controller under test through the second network port; The reserved network port on the base of the controller under test is tested through the third network port.

3. The device according to claim 2, characterized in that The plurality of external ports further include: a fourth network port; The switch is also used to communicate with the host computer through the fourth network port to obtain the IP configuration information of the network port A, network port B and the reserved network port on the base of the controller under test from the host computer, so as to configure and test the network port A, network port B and the reserved network port on the base of the controller under test respectively according to the acquired IP configuration information; and send the test results of the network port A, network port B and the reserved network port on the base of the controller under test to the host computer.

4. The device according to claim 2, characterized in that The controller under test is provided with a plurality of networks, the sub-board is provided with a plurality of first relays, and each network of the controller under test corresponds to one first relay; The switch is connected to the input end of each first relay through a network, and the output end of each first relay is connected to the controller under test through the installation port; The switch is further used to receive the test information sent by the single-chip microcomputer, and control each first relay to power on or off according to the test information, so that the input and output terminals of the corresponding first relays are attracted or disconnected, so as to connect or disconnect the switch and a corresponding one of the multiple networks of the controller under test, thereby testing the multiple networks of the controller under test one by one with one network introduced by the switch; The main control board is provided with a serial-to-parallel module, the single-chip microcomputer is connected to the serial-to-parallel module via a serial peripheral interface SPI bus, and the serial-to-parallel module is connected to the control end of the first relay; The serial-to-parallel module is used to receive control information from the single-chip microcomputer and correspondingly power on or off the control end of the first relay to control the input and output ends of the first relay to be closed or disconnected.

5. The device according to claim 2, characterized in that The main control board is provided with a field programmable gate array FPGA and a dual-port RAM, the FPGA communicates with the single-chip microcomputer through the dual-port RAM, and the FPGA is also connected to the tested controller on the installation port through an RS485 line; The FPGA is used to receive the test information of the single-chip microcomputer and test the communication function of the test controller.

6. The device according to claim 5, characterized in that The main control board is provided with a bus driver, the input end of the bus driver is connected to the single chip microcomputer, and the output end of the bus driver is connected to the sub-board through an IO bus; The sub-board is provided with a plurality of third relays, the IO bus is used to transmit multiple RS485 signals, and each RS485 signal corresponds to a third relay; wherein one end of the IO bus is connected to the installation port, and the other end of the IO bus is connected to the input end of each relay; The bus driver is used to receive the test information of the single-chip microcomputer, and control each third relay to power on or off according to the test information, so that the corresponding third relay input and output terminals are attracted or disconnected, so as to select one channel from multiple RS485 signals to perform quality test on the output signal of the controller under test.

7. The device according to claim 1, characterized in that The sub-board is provided with a power consumption acquisition module for acquiring the power consumption of the controller under test; The power consumption acquisition module includes: a sampling resistor for acquiring the voltage of the controller under test to represent the power consumption, the sampling resistor being located on the negative end path of the power supply of the controller under test on the secondary board; The main control board is provided with a voltage amplification module, which is connected to the sampling resistor and the single-chip microcomputer respectively. The voltage amplification module is used to amplify the voltage of the controller under test collected by the sampling resistor and send it to the single-chip microcomputer.

8. The device according to claim 1, characterized in that The chassis is also provided with a plurality of external ports, and the plurality of external ports include at least one of the following: A scanner port, used to connect an external scanner for acquiring test information, so as to write the test information into the controller under test, wherein the test information includes: tester, test time, tooling number, and controller number; Serial communication port COM port, used to connect to the RJ11 interface of the controller under test and test the RJ11 interface; Program download port, used to download the test program of the controller under test.