Multi-interface testing device

By designing a multi-channel interface test device, using power conversion module, mode selection module and multiple test modules, automated testing of multiple test interfaces is achieved, which solves the problems of long and inaccurate testing in the existing technology and improves the testing Efficiency and accuracy.

CN222053089UActive Publication Date: 2024-11-22NANNING YANXIANG SPECIAL COMPUTER SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420526294.0
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-18
Publication Date
2024-11-22
Estimated Expiration
2034-03-18

AI Technical Summary

Technical Problem

In the prior art, the large number of communication interfaces leads to long test time and inaccurate tests, which leads to low testing efficiency.

Method used

Design a multi-channel interface test device, including power conversion module, mode selection module, wiring terminals and multiple test modules, through M-Bus converter module, RS485 converter module, control module, main control module, acquisition module and power supply Control module to realize automated testing of multiple test interfaces.

Benefits of technology

Shorten the test time, improve the test accuracy and efficiency, and enable the rapid and accurate evaluation of the communication performance of multiple test interfaces.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222053089U_ABST
    Figure CN222053089U_ABST
Patent Text Reader

Abstract

The utility model provides a multipath interface testing device, which is used for performing interface testing on a device to be tested and comprises a power supply conversion module, a mode selection module, a wiring terminal and a plurality of testing modules, the to-be-tested device is provided with a plurality of test interfaces and is connected with the wiring terminal through the plurality of test interfaces. The plurality of test modules are connected in parallel with the wiring terminal; the mode selection module is connected with the plurality of test modules; each test module in the plurality of test modules comprises an M-Bus converter module, an RS485 converter module, a control module, a main control module, an acquisition module and a power supply control module; the plurality of test modules are used for testing whether the plurality of test interfaces communicate normally or not when the to-be-tested device is connected with the plurality of test modules through the wiring terminals. By implementing the embodiment of the utility model, the performance of the plurality of test interfaces of the device to be tested is tested, so that the test time is shortened, the test accuracy is improved, and the test efficiency is further improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of device testing, in particular to a multi-channel interface testing device. Background Art

[0002] In the existing technology, the communication bus of smart parks and smart factories usually requires a communication interface for connection. Whether in the production process or in the research and development process, the load capacity of the communication interface needs to be tested and verified, and even long-term stability testing is required to evaluate whether the performance of the communication interface meets the requirements.

[0003] However, usually, there are a large number of communication interfaces, which will result in long testing time and inaccurate testing, which in turn leads to low testing efficiency. Utility Model Content

[0004] The utility model provides a multi-channel interface testing device, aiming to solve the problem in the prior art that due to the large number of communication interfaces, the testing time is long, the testing is inaccurate, and the testing efficiency is low.

[0005] In the first aspect, the utility model proposes a multi-channel interface testing device for performing interface testing on a device to be tested, comprising a power conversion module, a mode selection module, a wiring terminal and a plurality of test modules; the device to be tested is provided with a plurality of test interfaces, which are connected to the wiring terminal through the plurality of test interfaces; the plurality of test modules are connected to the wiring terminal in parallel; the power conversion module is connected to the mode selection module; the mode selection module is connected to the plurality of test modules; each of the plurality of test modules comprises an M-Bus converter module, an RS485 converter module, a control module, a main control module, an acquisition module and a supply module; The electrical control module; the M-Bus converter module is connected to the control module, the control module is also connected to the RS485 converter module, the M-Bus converter module and the RS485 converter module are both connected to the main control module, the main control module is connected to the acquisition module and the power supply control module; the wiring terminals are respectively connected to the RS485 converter module and the control module, the power conversion module is connected to the control module; the several test modules are used to test whether the several test interfaces communicate normally when the device to be tested is connected to the several test modules through the wiring terminals.

[0006] Further, the M-Bus converter module includes a first conversion chip, a first resistor, a first capacitor, and a second capacitor; the first pin of the first conversion chip is connected to the control module; the second pin of the first conversion chip is connected to the second end of the first resistor; the third pin of the first conversion chip is connected to the second end of the first capacitor; the fourth pin of the first conversion chip is connected to the second end of the second capacitor; the fifth pin of the first conversion chip is connected to the UART_TX pin of the main control chip in the main control module; the seventh pin of the first conversion chip is connected to the UART_RX pin of the main control chip in the main control module; the first end of the first resistor, the first end of the first capacitor, and the first end of the second capacitor are all grounded.

[0007] Furthermore, the RS485 converter module includes a second conversion chip; the 1st pin and the 2nd pin of the second conversion chip are connected to the main control module; the 4th pin and the 5th pin of the second conversion chip are connected to the wiring terminal; the 6th pin of the second conversion chip is connected to the control module; and the 3rd pin of the second conversion chip is grounded.

[0008] Further, the control module includes a third resistor, a first transistor, a fourth resistor, a fifth resistor, a sixth resistor, a first diode, a first thyristor and a first sliding switch; the second pin of the first sliding switch is connected to the first end of the third resistor, and the second end of the third resistor is connected to the base of the first transistor; the collector of the first transistor is connected to the second end of the fourth resistor; the emitter of the first transistor is connected to the first end of the fifth resistor and the first end of the sixth resistor; the second end of the sixth resistor is connected to the negative electrode of the first diode and the control electrode of the first thyristor; the cathode of the first thyristor is connected to the M-Bus converter module and the RS485 converter module; the third pin of the first sliding switch, the second end of the fifth resistor and the positive electrode of the first diode are all grounded.

[0009] Furthermore, the power conversion module includes a first power conversion module and a second power conversion module, the first power conversion module is connected to the control module; the second power conversion module is connected to the mode selection module and the control module.

[0010] Furthermore, the second power conversion module includes a power conversion chip, the first pin and the third pin of the power conversion chip are connected to the mode selection module; the fifth pin of the power conversion chip is connected to the control module; the second pin and the fourth pin of the power conversion chip are both grounded.

[0011] Furthermore, the mode selection module includes a seventh resistor and a second sliding switch; the first end of the seventh resistor is connected to the first pin of the power conversion chip, and the second end of the seventh resistor is connected to the second pin of the second sliding switch and the third pin of the power conversion chip; the first pin of the second sliding switch is grounded.

[0012] Furthermore, each of the plurality of test modules further comprises a rectifier circuit; when the plurality of test interfaces are M-Bus interfaces, one end of the rectifier circuit is connected to the wiring terminal, and the other end is connected to the control module.

[0013] Further, the rectifier circuit includes a second diode, a third diode, a fourth diode and a fifth diode; the cathode of the second diode is connected to the anode of the third diode, and the cathode of the third diode is connected to the control module; the cathode of the fourth diode is connected to the anode of the fifth diode, and the cathode of the fifth diode is connected to the control module; the anode of the second diode and the anode of the fourth diode are both grounded; the cathode of the second diode, the cathode of the fourth diode, the anode of the third diode, and the anode of the fifth diode are also connected to the wiring terminal.

[0014] Furthermore, the acquisition module includes an eighth resistor and a ninth resistor, the first end of the eighth resistor is connected to the main control module and the power supply control module, the second end of the eighth resistor is connected to the main control module and the first end of the ninth resistor; the second end of the ninth resistor is grounded.

[0015] Compared with the prior art, the utility model provides a multi-channel interface testing device, which is used for performing interface testing on a device to be tested, comprising a power conversion module, a mode selection module, a wiring terminal and a plurality of test modules; the device to be tested is provided with a plurality of test interfaces, which are connected to the wiring terminal through the plurality of test interfaces; the plurality of test modules are connected to the wiring terminal in parallel; the power conversion module is connected to the mode selection module; the mode selection module is connected to the plurality of test modules; each of the plurality of test modules comprises an M-Bus converter module, an RS485 converter module, a control module, a main control module, a collection module and The power supply control module; the M-Bus converter module is connected to the control module, the control module is also connected to the RS485 converter module, the M-Bus converter module and the RS485 converter module are both connected to the main control module, the main control module is connected to the acquisition module and the power supply control module; the wiring terminals are respectively connected to the RS485 converter module and the control module, the power conversion module is connected to the control module; the several test modules are used to test whether the several test interfaces communicate normally when the device to be tested is connected to the several test modules through the wiring terminals. By implementing the embodiment of the utility model, the performance of the several test interfaces of the device to be tested is tested, so as to shorten the test time, improve the test accuracy, and thus improve the test efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions of the embodiments of the utility model, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the utility model. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 A schematic block diagram of a multi-channel interface testing device provided in one embodiment of the utility model;

[0018] Figure 2 A schematic block diagram of a multi-channel interface testing device provided in another embodiment of the utility model;

[0019] Figure 3 A circuit schematic diagram of a mode selection module and a second power conversion module provided in an embodiment of the utility model;

[0020] Figure 4 A circuit schematic diagram of an M-Bus converter module provided in one embodiment of the utility model;

[0021] Figure 5A circuit schematic diagram of an RS485 converter mode provided by an embodiment of the utility model;

[0022] Figure 6 A circuit schematic diagram of a control module and a rectifier circuit provided in one embodiment of the utility model;

[0023] Figure 7 This is a circuit schematic diagram of an acquisition module and a power supply control circuit provided in one embodiment of the utility model.

[0024] Among them, the reference numerals in the figures are as follows:

[0025] 1. Multi-channel interface test device; 10. Power conversion module; 11. First power conversion module; 12. Second power conversion module; 20. Mode selection module; 30. Wiring terminal; 40. Several test modules; 41. M-Bus converter module; 42. RS485 converter module; 43. Control module; 44. Main control module; 45. Acquisition module; 46. Power supply control module; 47. Rectification circuit;

[0026] 2. Device to be tested; 50. Several test interfaces. DETAILED DESCRIPTION

[0027] The following will be combined with the drawings in the embodiments of the utility model to clearly and completely describe the technical solutions in the embodiments of the utility model. Obviously, the described embodiments are part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments of the utility model, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the utility model.

[0028] The directional terms mentioned in the present invention, such as "upper", "lower", "front", "back", "left", "right", "inner", "outer", "side", etc., are only for reference to the directions of the attached drawings. Therefore, the directional terms used are used to illustrate and understand the present invention, but not to limit the present invention. In addition, in the drawings, structures with similar or identical structures are represented by the same reference numerals.

[0029] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0030] It should also be understood that the terms used in the utility model specification are only for the purpose of describing specific embodiments and are not intended to limit the utility model. As used in the utility model specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.

[0031] It should be further understood that the term “and / or” used in the present specification and the appended claims refers to any combination and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0032] See also Figures 1 to 7 The utility model provides a multi-channel interface test device 1, which is used to perform interface test on a device to be tested 2, comprising: a power conversion module 10, a mode selection module 20, a wiring terminal 30 and a plurality of test modules 40; the plurality of test modules 40 are connected in parallel to the wiring terminal 30; the power conversion module 10 is connected to the mode selection module 20; the mode selection module 20 is connected to the plurality of test modules 40; each of the plurality of test modules 40 comprises an M-Bus converter module 41, an RS485 converter module 42, a control module 43, a main control module 44, a collection module 45 and a power supply control module 46; the M-Bus converter module 41 is connected to the RS485 converter module 42; the control module 43, the main control module 44, the collection module 45 and the ... The control module 43 is connected, and the control module 43 is also connected to the RS485 converter module 42. The M-Bus converter module 41 and the RS485 converter module 42 are both connected to the main control module 44, and the main control module 44 is connected to the acquisition module 45 and the power supply control module 46; the wiring terminals 30 are respectively connected to the RS485 converter module 42 and the control module 43, and the power conversion module 10 is connected to the control module 43; the several test modules 40 are used to test whether the several test interfaces 50 are normal when the device to be tested 2 is connected to the several test modules 40 through the wiring terminals 30.

[0033] In this embodiment, if Figure 1As shown, the power conversion module 10 can use a DC-DC (DirectCurrent) chip or an LDO chip to convert the input DC voltage into a required voltage value, for example, a voltage value of 3.3V or 3.6V; the mode selection module 20 can select different modes according to the multiple test interfaces 50; the wiring terminal 30 is a 2-pin wiring terminal, which is connected one by one with the multiple test interfaces 50 on the external device to be tested 2, so as to input the RS485 signal or M-Bus signal sent by the device to be tested 2 through the multiple test interfaces 50 to the multiple test modules 40; wherein the two pins of the wiring terminal 30 are connected to each converter module of the multiple test modules 40, that is, connected to each M-Bus (Meter The control module 43 can control the on and off of the voltage value; the M-Bus converter module 41 or the RS485 converter module 42 in the test modules 40 can convert the input signal (RS485 signal or M-Bus signal) into a TTL (Transistor Transistor Logic) level, i.e., a UART_TX signal and a UART_RX signal, and can convert the UART_TX signal and the UART_RX signal into an RS485 signal or an M-Bus signal, so as to facilitate communication with the main control module 44; the acquisition module 45 can be a voltage acquisition module, which can acquire a voltage signal (voltage division data) and transmit it to the ADC (Analog-to-Digital) inside the main control chip in the main control module 44. Converter, analog-to-digital converter); the main control module 44 communicates with the outside through the several test interfaces 50, converts the received voltage division data to obtain conversion data, and sends it to the device to be tested 2 through the M-Bus converter module 41 or the RS485 converter module 42, the wiring terminal 30, and the several test interfaces 50; the device to be tested 2 can be a gateway or a collector. The number of the several test interfaces 50, that is, the multi-channel interface, can be determined according to the type of the several test interfaces 50, and can be 32 or 128.

[0034] The main control module 44 includes a main control chip, the main control chip includes an ADC, the main control chip is used to receive control instructions, and the ADC is used to perform analog-to-digital conversion on the data of the control instructions for data communication. Each of the plurality of test modules 40 also includes a rectifier circuit 47.

[0035] Under the condition that the multi-channel interface test device 1 is connected normally and the communication is running normally, when one test interface in the device to be tested 2 receives the transfer data sent by the main control module 44 through a corresponding converter module (the M-Bus converter module or the RS485 converter module) in the several test modules 40 and the wiring terminal 30, it is determined that the communication of the test interface is normal. Similarly, under the condition that the modules of the multi-channel interface test device 1 are connected normally and the communication is running normally, when one test interface in the device to be tested 2 does not receive the transfer data sent by the main control module 44 through a corresponding converter module (the M-Bus converter module or the RS485 converter module) in the several test modules 40 and the wiring terminal 30, it is determined that the communication of the test interface is abnormal. Among them, the mode of the mode selection module 20 can be determined by the several test interfaces 50; the mode of the mode selection module 20 can determine the type of the converter module in the several test modules 40, that is, the M-Bus converter module or the RS485 converter module is selected for testing.

[0036] Each test module includes an M-Bus converter module 41, an RS485 converter module 42, a control module 43, a main control module 44, an acquisition module 45, a power supply control module 46 and a rectifier circuit 47. A test interface is connected to a corresponding test module through the wiring terminal 30, and the number of the plurality of test interfaces 50 is greater than or equal to the number of the plurality of test modules 40, which can be specifically configured according to actual conditions. In this way, a multi-channel interface test device 1 can test multiple test interfaces at a time, and multiple multi-channel interface test devices 1 can also be configured to test the device to be tested 2, so as to shorten the test time and thus improve the test efficiency. Among them, the wiring terminal is connected to the control module through the rectifier circuit.

[0037] Through the above embodiments, it can be known that, under the combination of the power conversion module 10, the mode selection module 20, the connection terminal 30 and the plurality of test modules 40, it is possible to realize automatic testing of the performance of the corresponding plurality of test interfaces 50 in the gateway or collector. Therefore, the test time is shortened, the accuracy of the test parameters is improved, and the test efficiency is improved.

[0038] In another embodiment, if Figure 1 to Figure 2 As shown, the number of the plurality of test modules 40 may be a positive integer greater than or equal to 1 and less than or equal to 32; Figure 2 As shown, the multi-channel interface test device 1 may include 1 to N test modules, such as Figure 2The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. Similarly, the number of the M-Bus converter modules 41 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. The number of the RS485 converter modules 42 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. The number of the control modules 43 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. The number of the main control modules 44 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. The number of the acquisition modules 45 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32. The number of the power supply control modules 46 can be a positive integer greater than or equal to 1 and less than or equal to 32. Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32.

[0039] It should be noted that Figure 2 In the embodiment, each test module includes an M-Bus converter module 41, an RS485 converter module 42, a control module 43, a main control module 44, a collection module 45, a power supply control module 46 and a rectifier circuit 47. That is, when multiple test modules are provided, the number of the M-Bus converter modules 41, the number of the RS485 converter modules 42, the number of the control modules 43, the number of the main control modules 44, the number of the collection modules 45, the number of the power supply control modules 46 and the number of the rectifier circuits 47 are all equal.

[0040] Therefore, multiple test modules can be set in the multi-channel interface testing device 1, and can be configured according to actual conditions. In this way, multiple test interfaces can be tested at one time, and multiple multi-channel interface testing devices 1 can also be configured to test the device to be tested 2 to shorten the test time and thereby improve the test efficiency.

[0041] In this embodiment, the modes of the mode selection module 20 include an M-Bus converter mode and an RS485 converter mode. When the type of the plurality of test interfaces 50 is an M-Bus interface, the two pins of the wiring terminal 30 are respectively M-Bus+ and M-Bus-, and the mode selection module 20 selects the M-Bus converter mode; when the type of the plurality of test interfaces 50 is an RS485 interface, the two pins of the wiring terminal 30 are respectively RS485_A and RS485_B, and the mode selection module 20 selects the RS485 converter mode.

[0042] From the above embodiments, it can be known that the mode selection module 20 selects different modes based on the external device to be tested 2 to implement testing of the plurality of test interfaces 50 of different types, thereby expanding the test range and improving the test adaptability.

[0043] In one embodiment, if Figures 1 to 4 As shown, the M-Bus converter module 41 includes a first conversion chip U1, a first resistor R1, a first capacitor C1, and a second capacitor C2; the first pin of the first conversion chip U1 is connected to the control module 43; the second pin of the first conversion chip U1 is connected to the second end of the first resistor R1; the third pin of the first conversion chip U1 is connected to the second end of the first capacitor C1; the fourth pin of the first conversion chip U1 is connected to the second end of the second capacitor C2; the fifth pin of the first conversion chip U1 is connected to the UART_TX pin of the main control chip in the main control module 44; the seventh pin of the first conversion chip U1 is connected to the UART_RX pin of the main control chip in the main control module 44; the first end of the first resistor R1, the first end of the first capacitor C1, and the first end of the second capacitor C2 are all grounded.

[0044] In this embodiment, if Figures 1 to 4 As shown, the specification of the first conversion chip U1 may be MC8721; the specification of the first resistor R1 may be 100K; the specification of the first capacitor C1 may be 1μF; the specification of the second capacitor C2 may be 10μF. Among them, the 6th pin of the first conversion chip U1 outputs the VC_BUS voltage, and the VC_BUS voltage provides voltage for the main control module 44, that is, the 6th pin of the first conversion chip U1 is connected to the main control module 44.

[0045] When the mode of the mode selection module 20 is the M-Bus converter mode, the converter module of each test module in the plurality of test modules 40 is an M-Bus converter module 41; specifically, the number of the plurality of M-Bus converter modules 41 can be 1, 2, 3, etc., which is a positive integer less than or equal to 32, preferably, the number is 32; that is, Figure 1 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32, preferably, N is 32. Moreover, the number of the control modules 43, the number of the main control modules 44, the number of the acquisition modules 45 and the number of the power supply control modules 46 can be 1, 2, 3, etc., which are positive integers greater than or equal to 1 and less than or equal to 32, preferably, the number is 32; that is, Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32.

[0046] Through the above embodiments, it can be known that when the mode selection module 20 is the M-Bus converter mode, the converter module of each test module in the several test modules 40 is the M-Bus converter module 41; in this way, when the main control module 44 receives the voltage signal collected by the corresponding acquisition module 45 and converts it into conversion data, it can realize data communication with the device to be tested 2 through the corresponding M-Bus converter module 41, the wiring terminal 30 and the corresponding several test interfaces 50 to obtain the load capacity of the device to be tested 2 (the number of interfaces that communicate normally, that is, the number of loads that can be connected), which shortens the test time, improves the accuracy of the test parameters, and thus improves the test efficiency.

[0047] In one embodiment, if Figures 1 to 5 As shown, the RS485 converter module 42 includes a second conversion chip U2 and a second resistor R2; the 1st pin, the 2nd pin and the 4th pin of the second conversion chip U2 are connected to the main control module 44; the 2nd pin and the 3rd pin of the second conversion chip U2 are connected to the first end of the second resistor; the 6th pin and the 7th pin of the second conversion chip U2 are connected to the wiring terminal 30; the 8th pin of the second conversion chip U2 is connected to the control module 43; the 5th pin of the second conversion chip U2 and the second end of the second resistor R2 are both grounded.

[0048] In this embodiment, if Figures 1 to 5As shown, the specification of the second conversion chip U2 may be SP3485EEN; the 5th pin of the second conversion chip U2 and the second end of the second resistor R2 are grounded. The VCC voltage of the 8th pin of the second conversion chip U2 is output by the control module 43. The 1st pin of the second conversion chip U2 is connected to the UART_RX pin of the main control module 44; the 4th pin of the second conversion chip U2 is connected to the UART_TX pin of the main control module 44.

[0049] When the mode of the mode selection module 20 is the RS485 converter mode, the converter module of each test module in the plurality of test modules 40 is an RS485 converter module 42; specifically, the number of the plurality of RS485 converter modules 42 can be 1, 2, 3, etc., which is a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, the number is 32; that is, Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32, preferably, N is 32. Moreover, the number of the control modules 43, the number of the main control modules 44, the number of the acquisition modules 45 and the number of the power supply control modules 46 can be a positive integer greater than or equal to 1 and less than or equal to 32, such as 1, 2, 3, etc., preferably, the number is 32; that is, Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32.

[0050] Through the above embodiments, it can be known that when the mode selection module 20 is the RS485 converter mode, the converter module of each test module in the plurality of test modules 40 is an RS485 converter module 42; in this way, when the main control module 44 receives the voltage signal collected by the corresponding acquisition module 45 and converts it into conversion data, it can realize data communication with the device to be tested 2 through the corresponding RS485 converter module 42, the wiring terminal 30 and the corresponding plurality of test interfaces 50 to obtain the load capacity of the device to be tested 2 (the number of interfaces that communicate normally, that is, the number of loads that can be connected), which shortens the test time, improves the accuracy of the test parameters, and thus improves the test efficiency.

[0051] In one embodiment, if Figures 1 to 6As shown, the control module 43 includes a third resistor R3, a first transistor Q1, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a first diode D1, a first thyristor D2 and a first sliding switch K1; the second pin of the first sliding switch K1 is connected to the first end of the third resistor R3, and the second end of the third resistor R3 is connected to the base of the first transistor Q1; the collector of the first transistor Q1 is connected to the second end of the fifth resistor R5; the emitter of the first transistor Q1 is connected to the first end of the fifth resistor R5 and the first end of the sixth resistor R6; the second end of the sixth resistor R6 is connected to the cathode of the first diode D1 and the control electrode of the first thyristor D2; the cathode of the first thyristor D2 is connected to the M-Bus converter module 41 and the RS485 converter module 42; the third pin of the first sliding switch K1, the second end of the fifth resistor R5 and the positive electrode of the first diode D1 are all grounded.

[0052] In this embodiment, if Figures 1 to 6 As shown, the specifications of the fourth resistor R4 and the fifth resistor R5 can be 1K; the first transistor Q1 is an NPN transistor; and the first diode D1 is a voltage-stabilizing diode. The first end of the fourth resistor R4 is connected to the power conversion module 10. The first pin of the first sliding switch K1 is connected to the first end of the fourth resistor R4. The anode of the first thyristor is connected to the power conversion module and also to the wiring terminal.

[0053] When the mode of the mode selection module 20 is the RS485 converter mode, the main function of the control module 43 is to control the on and off of the 3.6V DC voltage. When the first pin and the second pin of the first sliding switch K1 are connected, the base voltage of the first transistor Q1 to the ground is 3.3V, and the first transistor Q1 is turned on; the voltage across the fifth resistor R5 is divided, and its resistance is 3.3*(fourth resistor R4 / (fourth resistor R4+fifth resistor R5))=1.6V, that is, there will be a voltage of about 1.6V across the first diode D1. The VGT trigger voltage of the first thyristor D2 is less than or equal to 0.8V. At this time, the first thyristor D2 is turned on, which is equivalent to a diode. The anode voltage of the first thyristor D2 is conducted to the cathode. Considering the voltage drop of the diode, the voltage is slightly adjusted, and the specific design can be made according to the actual situation.

[0054] In this way, the first thyristor D2 outputs the VCC voltage value to the RS485 converter module 42, so that the RS485 converter module 42 can work normally.

[0055] From the above embodiments, it can be known that the main function of the control module 43 is to control the on and off of the DC voltage to control the converter module of each test module in the plurality of test modules 40, thereby achieving test flexibility and improving test efficiency.

[0056] In one embodiment, if Figures 1 to 3 As shown, the power conversion module 10 includes a first power conversion module 11 and a second power conversion module 12, the first power conversion module 11 is connected to the control module 43; the second power conversion module 12 is connected to the mode selection module 20 and the control module 43.

[0057] In this embodiment, if Figures 1 to 3 As shown, the first power conversion module 11 is connected to the input DC voltage VIN, and the first power conversion module 11 converts the input DC voltage VIN into a low DC voltage, that is, it can reach an output of 3.3V, and is connected to the first end of the fourth resistor R4 in the control module 43 to power the device. Among them, the input DC voltage VIN can be provided by an external power adapter or power supply. When the mode of the mode selection module 20 is the RS485 converter mode, the second power conversion module 12 is also connected to the control module 43 to power the control module 43 to connect the RS485 converter module 42; the second power conversion module 12 is also connected to the power supply control module 46.

[0058] The 3.3V DC voltage output by the first power conversion module 11 is connected to the first end of the fourth resistor R4 in the control module 43 and the first pin of the first sliding switch K1; the 3.6V DC voltage output by the second power conversion module 12 is connected to the anode of the first thyristor D2 in the control module 43.

[0059] From the above embodiments, it can be known that the power conversion module 10 supplies power to the multi-channel interface testing device 1, thereby achieving controllability of power supply and improving testing efficiency.

[0060] In one embodiment, if Figures 1 to 3 As shown, the second power conversion module 12 includes a power conversion chip U3, the 1st pin and the 3rd pin of the power conversion chip U3 are connected to the mode selection module 20; the 5th pin of the power conversion chip U3 is connected to the control module 43; the 2nd pin and the 4th pin of the power conversion chip U3 are both grounded.

[0061] In this embodiment, if Figures 1 to 3As shown, the first pin of the power conversion chip U3 is also connected to the input DC voltage VIN and the mode selection module 20; the second pin of the power conversion chip U3 is grounded; the third pin of the power conversion chip U3 is an enable pin; the fifth pin of the power conversion chip U3 outputs a DC voltage of 3.6V; and the fourth pin of the power conversion chip U3 is grounded. The input DC voltage VIN can be provided by an external power adapter or power supply.

[0062] The third pin of the power conversion chip U3 is effective when it is at a low level, that is, when the third pin of the power conversion chip U3 is at a low level, the power conversion chip U3 works normally and outputs 3.6V; otherwise, when the third pin is at a high level, the power conversion chip U3 has no output.

[0063] From the above embodiments, it can be known that the power conversion module 10 supplies power to the multi-channel interface testing device 1, thereby achieving controllability of power supply and improving testing efficiency.

[0064] In one embodiment, if Figures 1 to 3 As shown, the mode selection module 20 includes a seventh resistor R7 and a second sliding switch K2; the first end of the seventh resistor R7 is connected to the first pin of the power conversion chip U3, and the second end of the seventh resistor R7 is connected to the second pin of the second sliding switch K2 and the third pin of the power conversion chip U3; the first pin of the second sliding switch K2 is grounded.

[0065] In this embodiment, if Figures 1 to 3 As shown, when the first and second pins of the second sliding switch K2 are connected, the mode of the mode selection module 20 is the RS485 converter mode, and the third pin of the power conversion chip U3 is set to a low level. At this time, the fifth pin of the power conversion chip U3 outputs a 3.6V voltage; when the second and third pins of the second sliding switch K2 are connected, the mode of the mode selection module 20 is the M-Bus converter mode, and the third pin of the power conversion chip U3 is set to a high level by pulling up the first resistor R1. At this time, the fifth pin of the power conversion chip U3 has no 3.6V voltage output.

[0066] When there is no 3.6V voltage output, the second power conversion module 12 is not powered, and the connection between the wiring terminal 30 and the RS485 converter module 42 is cut off, that is, the connection between the wiring terminal 30 and the M-Bus converter module 41 is connected.

[0067] From the above embodiments, it can be known that the mode selection module 20 selects different modes based on the external device to be tested 2 to implement testing of the plurality of test interfaces 50 of different types, thereby expanding the test range and improving the test adaptability.

[0068] In this embodiment, the plurality of test interfaces 50 include an RS485 interface and an M-Bus interface; when the plurality of test interfaces 50 are RS485 interfaces, the mode selection module selects the RS485 converter mode, and the converter module of each of the plurality of test modules 40 is the RS485 converter module 42; when the plurality of test interfaces 50 are M-Bus interfaces, the mode selection module selects the M-Bus converter mode, and the converter module of each of the plurality of test modules 40 is the M-Bus converter module 41.

[0069] In this embodiment, when several test interfaces 50 are M-Bus interfaces, the two-wire cable of the M-Bus interface usually adopts a standard twisted pair cable without a positive or negative pole. The M-Bus physical layer defines the data (code stream) signal logic "1" as MARK and the logic "0" as SPACE. When the device to be tested 2 (master device) sends a logic "1" (MARK) to the several M-Bus converter modules 41 (slave devices), the bus voltage is Vmark (≤42V), and when sending a logic "0" (SPACE), the voltage drops by more than 10V to Vspace (≥12V); when the M-Bus converter module 41 sends a logic "1" to the device to be tested 2, the current taken by the M-Bus converter module 41 is Imark (≤1.5mA), and when sending a logic "0", the M-Bus interface of the M-Bus converter module 41 will add a pulse current of 11-20mA to Imark to form Ispace. When the plurality of test interfaces 50 are M-Bus interfaces, the specific conditions of data transmission (code stream transmission) and current and voltage can be referred to as shown in the following Table 1:

[0070] Table 1

[0071]

[0072] The master device determines whether to receive "0" or "1" by detecting whether there is a 11-20mA pulse current on the bus to convert it into communication data (code stream); when the slave device receives communication data, since the absolute bus voltage will change with the distance and bus current, it determines whether to receive "0" or "1" by detecting whether the bus voltage differs from the dynamic reference voltage by more than 10V.

[0073] When the device to be tested 2 is the M-Bus interface, the non-polarity design of its input can be processed in the rectifier circuit 47. It can be seen that the rectification effect of the rectifier circuit 47 can be achieved by combining four diodes, or by using a ready-made rectifier bridge device, and the basic principle is the same. After rectification, a DC voltage with a fixed direction is obtained, and then the control module 43 controls the power supply on and off to determine whether to provide the VCC_BUS voltage to the M-Bus converter module 41.

[0074] The input impedance of the RS485 interface is ≥12kΩ, and the corresponding standard number of drive nodes is 32. The M-Bus interface can generally carry 128 standard nodes. For gateways or collectors with RS485 and M-Bus interfaces, whether in the production process or in the R&D process, the load capacity of the interface needs to be tested and verified, and even long-term stability testing is required to evaluate whether the port performance of the gateway or collector meets the requirements.

[0075] Through the above embodiments, it can be known that the multi-channel interface testing device 1 can test two types of the devices to be tested 2, namely, RS485 interface and M-Bus interface, thereby expanding the scope of the test and improving the applicability of the test.

[0076] In one embodiment, if Figures 1 to 6 As shown, each of the plurality of test modules 40 further includes a rectifier circuit 47 ; one end of the rectifier circuit 47 is connected to the wiring terminal 30 , and the other end is connected to the control module 43 .

[0077] In this embodiment, if Figures 1 to 6 As shown, the function of the rectifier circuit 47 is to rectify the alternating current, reduce the signal ripple, and protect the module circuit. When the mode of the mode selection module 20 is the M-Bus converter, the 3.3V DC voltage output by the first power conversion module 11 is connected to the first end of the fourth resistor R4 in the control module 43; the 3.6V DC voltage output by the second power conversion module 12 is connected to the anode of the first thyristor D2 in the control module 43, and the 3.6V DC voltage output by the second power conversion module 12 is also connected to the rectifier circuit 47 to achieve the functions of rectifying the alternating current, reducing the signal ripple, and protecting the module circuit.

[0078] When the plurality of test interfaces 50 are M-Bus interfaces, the plurality of test interfaces 50 are connected to the rectifier circuit 47 via the wiring terminal 30; the rectifier circuit 47 is connected to the control module 43, and the control module 43 is connected to the M-Bus converter module 41.

[0079] Each of the plurality of test modules 40 further includes a power supply control module 46, each of which includes a sixth diode D7 and a seventh diode D8; the cathode of the sixth diode D7 and the seventh diode D8 are both connected to the main control module 44, the anode of the sixth diode D7 is connected to the second power conversion module 12; the anode of the seventh diode D8 is connected to the M-Bus converter module 41. The power supply control module 46 is mainly used to control the power on and off of the main control module 44, that is, to supply power to the main control module 44, and the power supply comes from one of the two parts, that is, the 3.6V voltage value provided by the second power conversion module 12 or the VC_BUS voltage provided by the M-Bus converter module 41. When the mode of the mode selection module 20 is the RS485 converter mode, the 3.6V voltage supplies power to the main control module 44 through the sixth diode D7; at this time, the power VC_BUS from the first conversion chip U1 is 0. When the mode of the mode selection module 20 is the M-Bus converter mode, the second power conversion module 12 has no 3.6V voltage output, and the VC_BUS voltage output by the M-Bus converter module 41 supplies power to the main control module 44 through the seventh diode D8; and Figure 2 It can be seen that the power supply control module 46 is independent, that is, the first to Nth power supply control modules 46 are independent. This design allows a certain circuit to be opened or closed completely independently. The number of the power supply control modules 46 can be a positive integer greater than or equal to 1 and less than or equal to 32, that is, Figure 2 The value of N in can be a positive integer greater than or equal to 1 and less than or equal to 32. Preferably, N is 32.

[0080] In one embodiment, if Figures 1 to 6 As shown, the rectifier circuit 47 includes a second diode D3, a third diode D4, a fourth diode D5 and a fifth diode D6; the cathode of the second diode D3 is connected to the anode of the third diode D4, and the cathode of the third diode D4 is connected to the control module 43; the cathode of the fourth diode D5 is connected to the anode of the fifth diode D6, and the cathode of the fifth diode D6 is connected to the control module 43; the anode of the second diode D3 and the anode of the fourth diode D5 are both grounded; the cathode of the second diode D3, the cathode of the fourth diode D5, the anode of the third diode D4, and the anode of the fifth diode D6 are all connected to the wiring terminal 30.

[0081] In this embodiment, if Figures 1 to 6As shown, the cathode of the second diode D3 and the cathode of the fourth diode D5 are connected to the M-Bus- of the wiring terminal 30; the anode of the third diode D4 and the anode of the fifth diode D6 are connected to the M-Bus+ of the wiring terminal 30; the cathode of the third diode D4 and the cathode of the fifth diode D6 are connected to the control module 43, that is, the anode of the first thyristor D2 in the control module is connected to the wiring terminal 30 through the cathode of the third diode D4 and the cathode of the fifth diode D6.

[0082] When the multiple test interfaces 50 are M-Bus interfaces, the mode of the mode selection module 20 is the M-Bus converter mode, and the AC power provided by the device to be tested 2 is transmitted to the rectifier circuit 47 through the multiple test interfaces 50 and the wiring terminals 30. The rectifier circuit 47 rectifies the AC power into DC power with a fixed direction, and transmits the DC power to the first thyristor D2 of the control module 43.

[0083] Each test module includes an M-Bus converter module 41 , an RS485 converter module 42 , a control module 43 , a main control module 44 , a collection module 45 , a power supply control module 46 and a rectifier circuit 47 .

[0084] When the mode of the mode selection module 20 is the M-Bus converter mode, the main function of the control module 43 is to control the on and off of the DC voltage provided by the rectifier circuit 47. When the first pin and the second pin of the first sliding switch K1 are connected, the base voltage of the first transistor Q1 to the ground is 3.3V, and the first transistor Q1 is turned on; the voltage across the fifth resistor R5 is divided, and its resistance is 3.3*(fourth resistor R4 / (fourth resistor R4+fifth resistor R5))=1.6V, that is, there will be a voltage of about 1.6V across the first diode D1. The VGT trigger voltage of the first thyristor D2 is less than or equal to 0.8V. At this time, the first thyristor D2 is turned on, which is equivalent to a diode. The anode voltage of the first thyristor D2 is conducted to the cathode. Considering the voltage drop of the diode, the voltage is slightly adjusted, which can be designed according to the actual situation.

[0085] In this way, the first thyristor D2 outputs the VCC_BUS voltage value to the M-Bus converter module 41 , so that the M-Bus converter module 41 can work normally.

[0086] When the converter module of each of the multiple test modules 40 is an M-Bus converter module 41, during the downlink communication process in which the device to be tested 2 (host) transmits data to the multiple test modules 40 (slaves) through the wiring terminal 30, the first conversion chip U1 in the slave receives the bus voltage signal, and when Vmark-Vspace is greater than 8V, the device will correctly demodulate the conversion data and output it through the 5th pin (TX interface) of the first conversion chip U1 to send it to the device to be tested 2.

[0087] Specifically, when the mode of the mode selection module 20 is the M-Bus converter mode, during the uplink communication process in which the device to be tested 2 (host) transmits data to the plurality of test modules 40 (slaves) through the wiring terminal 30, the bus voltage Vbus remains unchanged, and the first conversion chip U1 uses current modulation to send data from the slave to the host; the slave sends current to the bus, and the current is fixed at 20mA; the first conversion chip U1 integrates 5V and 3.3V regulators, and the available output drive current is determined by the first resistor R1 externally connected to the second pin (RIDD interface) of the first conversion chip U1; when the seventh pin (RX interface) of the first conversion chip U1 is connected to "low", the sending modulation current 20mA can be reused and added to the fourth pin (STC interface) of the first conversion chip U1 or the sixth pin (VDD interface) of the first conversion chip U1 as the output drive current, and its output drive current can be adjusted to more than 30mA at most.

[0088] From the above embodiments, it can be known that the rectifier circuit 47 rectifies the AC power provided by the device to be tested 2 into DC power with a fixed direction for transmission to the control module 43, thereby improving the test stability of the device.

[0089] In one embodiment, if Figures 1 to 7 As shown, the acquisition module includes an eighth resistor R8 and a ninth resistor R9, the first end of the eighth resistor R8 is connected to the main control module 44 and the power supply control module 46, the second end of the eighth resistor R8 is connected to the main control module 44 and the first end of the ninth resistor R9; the second end of the ninth resistor R9 is grounded.

[0090] In this embodiment, if Figures 1 to 7As shown, the acquisition module 45 is a case of simulating voltage acquisition, mainly through the voltage division data obtained by the voltage division of the eighth resistor R8 and the ninth resistor R9, so as to obtain the conversion data through the ADC inside the main control chip in the main control module 44, and the main control module 44 sends the conversion data to the device to be tested 2, that is, the gateway or collector, to complete the data reception. Among them, the voltage range of the voltage division of the eighth resistor R8 and the ninth resistor R9 is 0V-3.3V, but the specifications of the eighth resistor R8 and the ninth resistor R9 are not limited, and are set according to the actual situation.

[0091] Through the above embodiments, it can be seen that the acquisition module is used to simulate the actual scenario of voltage acquisition, which saves test resources, improves test flexibility, and further improves test efficiency.

[0092] like Figures 1 to 7 As shown, the plurality of test modules 40 receive a start test instruction. When the plurality of test interfaces 50 of the device to be tested 2 are M-Bus interfaces, the second and third pins of the second slide switch K2 in the mode selection module 20 are connected, i.e., the M-Bus converter mode is selected, and there is no 3.6V voltage output, which is equivalent to cutting off the connection between the wiring terminal 30 and the RS485 converter module 42. At this time, the wiring terminal 30 is connected to the M-Bus converter module 41 through the rectifier circuit 47 and the control module 43; the rectifier circuit 47 rectifies the AC power provided by the device to be tested 2 to obtain DC power, and outputs it to the control module 43; the first and second pins of the first slide switch K1 in the control module 43 are connected, and the 3.3V provided by the first power conversion module 11 and the rectifier circuit 47 rectify the DC power. The DC power obtained by the flow is used to output the VCC_BUS voltage for the M-Bus converter module 41 to communicate; the power supply control module 46 uses the VC_BUS voltage output by the M-Bus converter module 41 to power the main control module 44 through the seventh diode D8; the main control module 44 receives the start test instruction, at this time, obtains the voltage division data collected by the acquisition module 45, converts the voltage division data to obtain the conversion data, and sends the conversion data to the M-Bus converter module 41; the M-Bus converter module 41 performs a secondary conversion on the conversion data to obtain the converted conversion data, and sends the converted conversion data to the device under test through the several test interfaces 50, and determines whether the communication of the several test interfaces 50 is abnormal or normal according to the conversion data received by each test interface.

[0093] like Figures 1 to 7As shown, the plurality of test modules 40 receive a start test instruction. When the plurality of test interfaces 50 of the device to be tested 2 are RS485 interfaces, the first and second pins of the second slide switch K2 in the mode selection module 20 are connected, that is, the RS485 converter mode is selected, and a 3.6V voltage is output, which is equivalent to realizing the connection between the wiring terminal 30 and the RS485 converter module 42. At this time, the wiring terminal 30 is connected to the RS485 converter module 42 through the control module 43; the first and second pins of the first slide switch K1 in the control module 43 are connected, and the 3.3V provided by the first power conversion module 11 and the 3.6V provided by the second power conversion module 12 are used to output VCC for the RS485 converter module 42. 5 converter module 42 for communication; the power supply control module 46 uses the 3.6V voltage provided by the second power conversion module 12 to power the main control module 44 through the sixth diode D7; the main control module 44 receives the start test instruction, and at this time, obtains the voltage division data collected by the acquisition module 45, converts the voltage division data to obtain the conversion data, and sends the conversion data to the RS485 converter module 42; the RS485 converter module 42 performs secondary conversion on the conversion data to obtain the converted conversion data, and sends the converted conversion data to the device under test through the multiple test interfaces 50, and determines whether the communication of the multiple test interfaces 50 is abnormal or normal according to the conversion data received by each test interface.

[0094] The above is only a specific implementation of the utility model, but the protection scope of the utility model is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the utility model, and these modifications or replacements should be included in the protection scope of the utility model. Therefore, the protection scope of the utility model should be based on the protection scope of the claims.

Claims

1. A multi-channel interface testing device, used for performing interface testing on a device to be tested, characterized in that: include: A power conversion module, a mode selection module, a wiring terminal and several test modules; the device to be tested is provided with several test interfaces, which are connected to the wiring terminal through the several test interfaces; the several test modules are connected in parallel to the wiring terminal; the power conversion module is connected to the mode selection module; the mode selection module is connected to the several test modules; each of the several test modules includes an M-Bus converter module, an RS485 converter module, a control module, a main control module, an acquisition module and a power supply control module; the M-Bus converter module is connected to the control module, the control module is also connected to the RS485 converter module, the M-Bus converter module and the RS485 converter module are both connected to the main control module, the main control module is connected to the acquisition module and the power supply control module; the wiring terminals are respectively connected to the RS485 converter module and the control module, and the power conversion module is connected to the control module; the several test modules are used to test whether the several test interfaces communicate normally when the device to be tested is connected to the several test modules through the wiring terminals.

2. The device according to claim 1, characterized in that: The M-Bus converter module includes a first conversion chip, a first resistor, a first capacitor, and a second capacitor; the first pin of the first conversion chip is connected to the control module; the second pin of the first conversion chip is connected to the second end of the first resistor; the third pin of the first conversion chip is connected to the second end of the first capacitor; the fourth pin of the first conversion chip is connected to the second end of the second capacitor; the fifth pin of the first conversion chip is connected to the UART_TX pin of the main control chip in the main control module; the seventh pin of the first conversion chip is connected to the UART_RX pin of the main control chip in the main control module; the first end of the first resistor, the first end of the first capacitor, and the first end of the second capacitor are all grounded.

3. The device according to claim 1, characterized in that: The RS485 converter module includes a second conversion chip and a second resistor; the 1st pin, the 2nd pin and the 4th pin of the second conversion chip are connected to the main control module; the 2nd pin and the 3rd pin of the second conversion chip are connected to the first end of the second resistor; the 6th pin and the 7th pin of the second conversion chip are connected to the wiring terminal; the 8th pin of the second conversion chip is connected to the control module; the 5th pin of the second conversion chip and the second end of the second resistor are both grounded.

4. The device according to claim 1, characterized in that: The control module includes a third resistor, a first transistor, a fourth resistor, a fifth resistor, a sixth resistor, a first diode, a first thyristor and a first sliding switch; the second pin of the first sliding switch is connected to the first end of the third resistor, and the second end of the third resistor is connected to the base of the first transistor; the collector of the first transistor is connected to the second end of the fourth resistor; the emitter of the first transistor is connected to the first end of the fifth resistor and the first end of the sixth resistor; the second end of the sixth resistor is connected to the cathode of the first diode and the control electrode of the first thyristor; the cathode of the first thyristor is connected to the M-Bus converter module and the RS485 converter module; the third pin of the first sliding switch, the second end of the fifth resistor and the positive electrode of the first diode are all grounded.

5. The device according to claim 1, characterized in that: The power conversion module includes a first power conversion module and a second power conversion module. The first power conversion module is connected to the control module; the second power conversion module is connected to the mode selection module and the control module.

6. The device according to claim 5, characterized in that: The second power conversion module includes a power conversion chip, the first pin and the third pin of the power conversion chip are connected to the mode selection module; the fifth pin of the power conversion chip is connected to the control module; the second pin and the fourth pin of the power conversion chip are both grounded.

7. The device according to claim 6, characterized in that: The mode selection module includes a seventh resistor and a second sliding switch; the first end of the seventh resistor is connected to the first pin of the power conversion chip, and the second end of the seventh resistor is connected to the second pin of the second sliding switch and the third pin of the power conversion chip; the first pin of the second sliding switch is grounded.

8. The device according to claim 1, characterized in that: Each of the plurality of test modules further includes a rectifier circuit; one end of the rectifier circuit is connected to the wiring terminal, and the other end is connected to the control module.

9. The device according to claim 8, characterized in that: The rectifier circuit includes a second diode, a third diode, a fourth diode and a fifth diode; the cathode of the second diode is connected to the anode of the third diode, and the cathode of the third diode is connected to the control module; the cathode of the fourth diode is connected to the anode of the fifth diode, and the cathode of the fifth diode is connected to the control module; the anode of the second diode and the anode of the fourth diode are both grounded; the cathode of the second diode, the cathode of the fourth diode, the anode of the third diode, and the anode of the fifth diode are also connected to the wiring terminal.

10. The device according to claim 1, characterized in that: The acquisition module includes an eighth resistor and a ninth resistor, the first end of the eighth resistor is connected to the main control module and the power supply control module, the second end of the eighth resistor is connected to the main control module and the first end of the ninth resistor; the second end of the ninth resistor is grounded.