Automated test equipment with integrated multiple interfaces
Patent Information
- Application Number
- CN202521422178.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-08
- Publication Date
- 2026-10-30
- Estimated Expiration
- 2035-07-08
AI Technical Summary
自动化测试设备与被测设备之间一般采用接口通信协议传输来控制信号,而且大多数是RS232接口,只能测试RS232接口的被测设备,但如果被测试设备是RS422/RS485接口,无RS232接口,那么就不适用该自动化测试设备,无法通过自动化测试设备来控制被测设备测试
[0014]本实用新型提供的自动化测试设备,包括多类型的通信接口,可以包括RS232串口、RS422串口、RS485串口以及网口,能够对不同通信接口类型的被测设备进行测试,不再局限于测试某一种单一接口类型的被测设备。而且可以同时测试多台被测设备,提高了测试效率。
Smart Images

Figure CN224923753U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of testing equipment technology, and in particular to an automated testing device integrating multiple interfaces. Background Technology
[0002] In the field of automated testing, automated testing equipment or automated testing programs are generally used to detect and record test results, greatly improving testing efficiency and quality. Automated testing equipment typically uses interface communication protocols to transmit control signals to the device under test (DUT), and most of these are RS232 interfaces. Therefore, it can only test DUTs with RS232 interfaces. However, if the DUT uses an RS422 / RS485 interface and lacks an RS232 interface, then the automated testing equipment is unsuitable and cannot control the DUT during testing. Thus, existing automated testing equipment can only test DUTs with a single communication interface type, which has significant limitations. Utility Model Content
[0003] To address the aforementioned issues, this invention provides an automated testing device integrating multiple interfaces, capable of testing devices under test with different communication interface types.
[0004] This utility model provides an automated testing device integrating multiple interfaces, comprising: Multiple types of communication interfaces are included, including: RS232 serial port for connecting a first device under test (DUT) with an RS232 serial port; RS422 serial port for connecting a second DUT with an RS422 serial port; RS485 serial port for connecting a third DUT with an RS485 serial port; and Ethernet port for connecting a fourth DUT with an Ethernet port. The control motherboard contains a controller, which is connected to RS232 serial port, RS422 serial port, RS485 serial port and network port for communication. The controller is used to execute test programs to test the first device under test connected to the RS232 serial port, the second device under test connected to the RS422 serial port, the third device under test connected to the RS485 serial port, and the fourth device under test connected to the network port.
[0005] Optionally, the automated testing equipment also includes: The GPIO signal input port and GPIO signal output port are connected to the first device under test, the second device under test, the third device under test, and / or the fourth device under test according to the test requirements, and are used to realize the input and output of GPIO signals.
[0006] Optionally, the automated testing equipment also includes: DC power input port, used to connect an external DC power supply; Multiple DC power output ports are used to connect the DC power supply equipment among the first, second, third, and fourth devices under test. The DC relay module has its input terminal connected to a DC power input port, its output terminal connected to multiple DC power output ports, and its control terminal connected to a controller to control whether to output DC power under the control of the controller.
[0007] Optionally, the automated testing equipment also includes: AC power input port, used to connect an external AC power source; Multiple AC power output ports are used to connect the AC power supply equipment among the first, second, third, and fourth devices under test. The AC relay module has its input terminal connected to an AC power input port, its output terminal connected to multiple AC power output ports, and its control terminal connected to a controller to control whether to output AC power under the control of the controller.
[0008] Optionally, the control motherboard may also include: A DC relay drive circuit is connected between the DC relay module and the controller to control the switching state of the DC relay module. An AC relay drive circuit is connected between the AC relay module and the controller to control the switching state of the AC relay module.
[0009] Optionally, the controller's first UART interface is connected to an RS232 serial communication port; The controller's second UART interface is connected to the RS422 serial port for communication. The controller's third UART interface is connected to the RS485 serial port for communication. The controller's PCIe interface is connected to the network port for communication. The control board also includes: The first level conversion circuit is connected between the controller's first UART interface and the RS232 serial port to realize the level conversion of RS232 serial port signals; The second level conversion circuit is connected between the controller's second UART interface and the RS422 serial port to realize the level conversion of RS422 serial port signals; The third level conversion circuit is connected between the controller's third UART interface and the RS485 serial port to realize the level conversion of RS485 serial port signals; The PHY chip connects between the controller's PCIe interface and the network port to perform level conversion of the network port signals.
[0010] Optionally, the control motherboard may also include: The voltage sampling circuit is used to sample the operating voltage of RS232 serial port, RS422 serial port, RS485 serial port and network port, and transmit the corresponding sampled voltage to the controller to monitor the operating voltage of each communication interface.
[0011] Optionally, the automated testing equipment also includes: The touch screen is connected to the controller via a USB bus and is used to send commands to the controller and also to display the working status of the automated testing equipment.
[0012] Optionally, the network port is an RJ45 gigabit network port.
[0013] Optionally, the controller is an MCU.
[0014] The automated testing equipment provided by this invention includes multiple types of communication interfaces, including RS232 serial ports, RS422 serial ports, RS485 serial ports, and Ethernet ports. It can test devices under test with different communication interface types, no longer limited to testing devices with only one interface type. Furthermore, it can test multiple devices under test simultaneously, improving testing efficiency. Attached Figure Description
[0015] Figure 1 This is a system block diagram of an automated testing device according to one embodiment of the present invention; Figure 2 This is a structural block diagram of the control motherboard in one embodiment of the present invention; Figure 3 This is a schematic diagram of an automated testing device connected to the device under test, provided in an embodiment of the present invention. Detailed Implementation
[0016] To make the objectives, technical solutions, and advantages of the embodiments of this utility model clearer, the technical solutions of the embodiments of this utility model will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this utility model, and not all embodiments. Based on the embodiments of this utility model, all other embodiments obtained by those skilled in the art without creative effort are within the protection scope of this utility model.
[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0018] Furthermore, the terms "installation," "setup," "equipped with," "connection," "linking," and "socketing" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral structure; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium, or an internal connection between two devices, components, or parts. Those skilled in the art can understand the specific meaning of these terms in this application based on the specific circumstances.
[0019] The following detailed description, in conjunction with the accompanying drawings, outlines some embodiments of the present invention. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0020] One embodiment of this utility model provides an automated testing device integrating multiple interfaces, such as... Figure 1 As shown, the automated testing equipment includes: Multiple types of communication interfaces are included, including: RS232 serial port for connecting the first device under test (DUT) with an RS232 serial port; RS422 serial port for connecting the second DUT with an RS422 serial port; RS485 serial port for connecting the third DUT with an RS485 serial port; and Ethernet port for connecting the fourth DUT with an Ethernet port. The control motherboard contains a controller, which is connected to RS232 serial port, RS422 serial port, RS485 serial port and network port for communication. The controller is used to execute test programs to test the first device under test connected to the RS232 serial port, the second device under test connected to the RS422 serial port, the third device under test connected to the RS485 serial port, and the fourth device under test connected to the network port.
[0021] Furthermore, in one embodiment, reference is made to... Figure 1 Automated testing equipment also includes: The GPIO signal input port and GPIO signal output port are connected to the first device under test, the second device under test, the third device under test, and / or the fourth device under test according to the test requirements, and are used to realize the input and output of GPIO signals.
[0022] Here, "and / or" means that GPIO signal input ports and GPIO signal output ports can be connected to the first, second, third, and fourth devices under test simultaneously, or only to one or more of these devices, depending on the actual testing requirements. Common GPIO signals include, but are not limited to, reset signals.
[0023] The automated testing equipment provided by this invention includes multiple types of communication interfaces, including RS232 serial ports, RS422 serial ports, RS485 serial ports, and Ethernet ports. It can test devices under test with different communication interface types, no longer limited to testing devices with only one interface type. Furthermore, it can test multiple devices under test simultaneously, improving testing efficiency.
[0024] Furthermore, in one embodiment, reference is made to... Figure 1 Automated testing equipment also includes: DC power input port for connecting an external DC power supply; Multiple DC power output ports are used to connect the DC power supply equipment among the first, second, third, and fourth devices under test. A DC relay module has its input terminal connected to a DC power input port, its output terminal connected to multiple DC power output ports, and its control terminal connected to a controller to control whether to output DC power under the control of the controller.
[0025] Furthermore, in one embodiment, reference is made to... Figure 1 Automated testing equipment also includes: AC power input port for connecting an external AC power source; Multiple AC power output ports are provided for connecting the AC power supply equipment in the first, second, third, and fourth devices under test. The AC relay module has an input terminal connected to an AC power input port, an output terminal connected to multiple AC power output ports, and a control terminal connected to a controller to control whether to output AC power under the control of the controller.
[0026] Furthermore, in one embodiment, reference is made to... Figure 2 The control motherboard also includes: A DC relay drive circuit is connected between the DC relay module and the controller to control the switching state of the DC relay module. An AC relay drive circuit is connected between the AC relay module and the controller to control the switching state of the AC relay module.
[0027] The automated testing equipment provided by this utility model can simultaneously test both DC and AC devices under test.
[0028] The number of RS232 serial ports, RS422 serial ports, RS485 serial ports, and network ports can be designed according to actual needs. For example, refer to... Figure 1 and Figure 2 The automated testing equipment may include 2 RS232 serial ports, 1 RS422 serial port, 1 RS485 serial port, and 2 Ethernet ports. Additionally, the automated testing equipment includes a set of 8 GPIO signal input / output ports (4 configured as GPIO signal input ports and 4 configured as GPIO signal output ports), 8 AC power output ports, 8 DC power output ports, 1 AC power input port, and 1 DC power input port.
[0029] Furthermore, in one embodiment, reference is made to... Figure 2 The controller's two first UART interfaces, UART0 / 1, are connected to the RS232 serial port for communication; the controller's one second UART interface, UART2, is connected to the RS422 serial port for communication; the controller's one third UART interface, UART3, is connected to the RS485 serial port for communication; and the controller's two PCIe interfaces are connected to the network port for communication. Correspondingly, the control motherboard also includes: The first level conversion circuit is connected between the controller's first UART interface and the RS232 serial port to realize the level conversion of RS232 serial port signals; The second level conversion circuit is connected between the controller's second UART interface and the RS422 serial port to realize the level conversion of RS422 serial port signals; The third level conversion circuit is connected between the third UART interface of the controller and the RS485 serial port to realize the level conversion of RS485 serial port signals; The PHY chip connects between the controller's PCIe interface and the network port to perform level conversion of the network port signal.
[0030] Because the serial port and the controller's UART interface use different voltage levels—the serial port typically uses a higher voltage, usually 15V, while the controller uses the TTL voltage standard—they cannot be directly connected and require a level conversion circuit. Similarly, the network port and the controller's PCIe interface also require level conversion via a PHY chip.
[0031] Furthermore, in one embodiment, reference is made to... Figure 2 The control motherboard also includes: The voltage sampling circuit is used to sample the operating voltage of RS232 serial port, RS422 serial port, RS485 serial port and network port, and transmit the corresponding sampled voltage to the controller to monitor the operating voltage of each communication interface.
[0032] The voltage sampling circuit employs a 16-bit ADC (Analog-to-Digital Converter) to convert the continuously changing analog voltage signal into discrete digital values. The basic operation is as follows: an external analog voltage signal is input to the ADC. The ADC performs necessary signal conditioning (e.g., amplification to the ADC range, filtering to remove noise). The controller configures and initiates the ADC conversion via a parallel bus. The ADC converts the conditioned analog voltage into a 16-bit digital value. The controller reads the ADC's digital value and calculates the actual physical quantity (e.g., voltage value) using a program. This value is displayed on a touchscreen, used for logical checks (e.g., overvoltage protection), or uploaded via a communication interface.
[0033] Of course, the control motherboard also contains some necessary components, such as a clock chip, to provide a stable clock signal for the controller and other chips that require precise timing. These are standard design features and will not be described in detail here.
[0034] In one embodiment, reference Figure 1 Automated testing equipment also includes: The touch screen is connected to the controller via a USB bus and is used to send commands to the controller and also to display the working status of the automated testing equipment.
[0035] Users input commands (such as starting / stopping the device, setting parameters, and checking status) via the touch screen.
[0036] In one embodiment, the network port can be an RJ45 Gigabit Ethernet port. The controller can be an MCU.
[0037] The working process of the controller is explained as follows: The controller receives commands from the touchscreen display, analog data from the ADC, and data from the communication interface via its I / O interface. The controller runs an embedded program, performing logical judgments, calculations, and control algorithms. Based on the calculation results, the controller outputs control signals to the relay drive circuit through its I / O interface, thereby controlling the relay's operation. The controller exchanges data (sends status, receives commands) with the device under test via the communication interface.
[0038] Figure 3 This diagram illustrates a system schematic of an automated testing device provided in an embodiment of the present invention, simultaneously testing device under test (DUT) 1#, DUT 2#, and DUT 3#. DUT 1#, DUT 2#, and DUT 3# are all AC DUTs, but are not limited to this. DUT 1# is connected to the RS232 serial port of the automated testing device, DUT 2# is connected to network port 1 of the automated testing device, and DUT 3# is connected to network port 2 of the automated testing device. A reset signal is output from the GPIO signal output port to DUT 3#, enabling reset testing.
[0039] application Figure 3 The automated testing equipment shown can simultaneously test the power-on / off of 8 AC devices under test and 8 DC devices under test, as well as perform reset tests on multiple devices under test. When the number of control ports on the interface and network port is insufficient, a switch can be added to use the network port as the communication control signal. This truly realizes a multi-channel automated AC / DC testing equipment based on multiple protocol communication control.
[0040] The above description is merely a specific embodiment of this utility model, but the protection scope of this utility model is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this utility model should be included within the protection scope of this utility model. Therefore, the protection scope of this utility model should be determined by the scope of the claims.
Claims
1. An automated testing device integrating multiple interfaces, characterized in that, include: Multiple types of communication interfaces are included, including: RS232 serial port for connecting a first device under test (DUT) with an RS232 serial port; RS422 serial port for connecting a second DUT with an RS422 serial port; RS485 serial port for connecting a third DUT with an RS485 serial port; and Ethernet port for connecting a fourth DUT with an Ethernet port. A control motherboard is provided, on which a controller is provided, and the controller is communicatively connected to the RS232 serial port, the RS422 serial port, the RS485 serial port and the network port; The controller is used to execute test programs to test the first device under test connected to the RS232 serial port, the second device under test connected to the RS422 serial port, the third device under test connected to the RS485 serial port, and the fourth device under test connected to the network port. The automated testing equipment also includes: DC power input port, used to connect an external DC power supply; Multiple DC power output ports are used to connect to the DC power supply devices among the first device under test, the second device under test, the third device under test, and the fourth device under test. A DC relay module, wherein the input terminal of the DC relay module is connected to the DC power input port, the output terminal of the DC relay module is connected to the plurality of DC power output ports, and the control terminal of the DC relay module is connected to the controller, for controlling whether to output DC power under the control of the controller; AC power input port, used to connect an external AC power source; Multiple AC power output ports are used to connect the AC power supply equipment among the first device under test, the second device under test, the third device under test, and the fourth device under test. An AC relay module is provided, wherein the input terminal of the AC relay module is connected to the AC power input port, the output terminal of the AC relay module is connected to the plurality of AC power output ports, and the control terminal of the AC relay module is connected to the controller, for controlling whether to output AC power under the control of the controller.
2. The automated testing equipment according to claim 1, characterized in that, The automated testing equipment also includes: The GPIO signal input port and GPIO signal output port are connected to the first device under test, the second device under test, the third device under test, and / or the fourth device under test according to the test requirements, and are used to realize the input and output of GPIO signals.
3. The automated testing equipment according to claim 1, characterized in that, The control motherboard also includes: A DC relay drive circuit is connected between the DC relay module and the controller to control the switching state of the DC relay module. An AC relay drive circuit is connected between the AC relay module and the controller to control the switching state of the AC relay module.
4. The automated testing equipment according to claim 1, characterized in that, The controller's first UART interface is connected to the RS232 serial port for communication. The controller's second UART interface is connected to the RS422 serial port for communication. The controller's third UART interface is connected to the RS485 serial port for communication. The controller's PCIe interface is communicatively connected to the network port; The control motherboard also includes: A first level conversion circuit is connected between the first UART interface of the controller and the RS232 serial port to realize the level conversion of the RS232 serial port signal; The second level conversion circuit is connected between the second UART interface of the controller and the RS422 serial port to realize the level conversion of the RS422 serial port signal; The third level conversion circuit is connected between the third UART interface of the controller and the RS485 serial port to realize the level conversion of the RS485 serial port signal; The PHY chip is connected between the PCIe interface of the controller and the network port to realize the level conversion of the network port signal.
5. The automated testing equipment according to claim 1, characterized in that, The control motherboard also includes: The voltage sampling circuit is used to sample the operating voltage of the RS232 serial port, the RS422 serial port, the RS485 serial port, and the network port, and transmit the corresponding sampled voltage to the controller to monitor the operating voltage of each communication interface.
6. The automated testing equipment according to claim 1, characterized in that, The automated testing equipment also includes: The touch screen is connected to the controller via a USB bus and is used to send commands to the controller and also to display the working status of the automated testing equipment.
7. The automated testing equipment according to claim 1, characterized in that, The network port is an RJ45 gigabit network port.
8. The automated testing equipment according to claim 1, characterized in that, The controller is an MCU.
