A test device for controller signal transmission function
By simulating the device with a resistive load and using the sampling voltage of the IO board to determine the controller interface response, the problem of equipment loss in controller signal transmission testing is solved, and the testing efficiency and system stability are improved.
Patent Information
- Application Number
- CN202522456139.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-19
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2035-11-19
AI Technical Summary
In the field of visual inspection, the testing process of controller signal transmission function requires the use of actual equipment, which can easily cause equipment damage, and the operation is complicated, affecting the stability of the inspection system and causing economic losses.
Using resistive loads to simulate devices such as cameras, LED light sources, and dust covers, the voltage is sampled by the IO board to determine whether the interface is outputting a trigger signal normally, thus avoiding the involvement of actual equipment in the test and simplifying the operation process.
It enables signal transmission testing without equipment loss, improves testing efficiency, simplifies operation procedures, and enhances the stability of the testing system.
Smart Images

Figure CN224958269U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of performance testing, specifically to a testing device for the signal transmission function of a controller. Background Technology
[0002] In the field of visual inspection, to meet diverse inspection needs, the equipment used on-site is often not limited to inspection cameras but also includes other devices, such as the dust cover for the sensor disclosed in patent document CN210005024U, and external LED light sources for illumination. These devices work in conjunction with the camera using a pre-set control sequence to complete the inspection task. When inspecting large components, multi-channel inspection equipment is also designed, including multiple cameras, multiple dust covers, and multiple light sources. In this case, it is necessary to strictly follow the pre-set control sequence and adjust the corresponding devices to activate in a timely manner to achieve effective coordination among multiple devices.
[0003] The equipment control and camera triggering process is as follows: the industrial computer sends an opening and closing command, which is transmitted to the controller. The controller then instructs the corresponding equipment interface to output a trigger signal (high level), triggering the equipment to turn on.
[0004] During this process, if the controller's output interface is damaged or the control chip's performance is unstable, it will be unable to output a trigger signal (high level) in a timely manner to start the corresponding device. Therefore, the controller's ability to output a trigger signal in a timely and effective manner to complete signal transmission is crucial to the stability of the entire detection system.
[0005] Currently, the testing process for the controller's signal transmission function involves directly connecting the corresponding device to the controller's corresponding interface and observing whether the device powers on normally. This method requires requisitioning equipment such as cameras, LED lights, and dust covers from the warehouse; frequent testing can easily damage the equipment casing and interfaces, affecting subsequent product sales and causing economic losses. Summary of the Invention
[0006] To address the aforementioned issues, this invention provides a testing device for controller signal transmission function. It utilizes a resistive load to simulate the corresponding equipment, eliminating the need for actual equipment in the testing process, thus avoiding equipment testing losses and requiring no manual intervention. The device is simple to operate and improves testing efficiency.
[0007] The technical solution of this utility model is as follows:
[0008] A test device for controller signal transmission function, wherein the controller is applied to a vision inspection device and is connected between an industrial control computer I and different devices to realize signal interaction between the industrial control computer I and different devices; the devices include a camera, an LED light source and / or a device I controlled by a solenoid valve.
[0009] The controller includes a control chip and a network port, a hard trigger output interface, a power supply output interface, an LED driver interface, and / or an analog output interface that are respectively connected to the control chip;
[0010] The testing device includes an industrial control computer II, a resistive load I, a resistive load II, a resistive load III, and a monostable trigger circuit;
[0011] Among them, resistive load I, resistive load II, and resistive load III are used to simulate device I, LED light source, and camera, respectively, and each includes one or more resistors connected in series;
[0012] One end of the resistive load I is connected to the analog output interface, and the other end is grounded.
[0013] One end of the resistive load II is connected to the LED driver interface, and the other end is grounded;
[0014] One end of resistive load III is connected to the power output interface, and the other end is grounded;
[0015] The three I / O input interfaces of the I / O board in the industrial computer II digitally sample the voltages on resistive load I, resistive load II, and resistive load III, respectively.
[0016] The monostable trigger circuit is used to simulate the camera receiving hard trigger signals. It is connected in series between the hard trigger output interface and other IO input interfaces of the industrial computer II. It can broaden the pulse signal output by the hard trigger output interface and output the broadened pulse trigger signal to the IO input interface of the industrial computer.
[0017] The industrial computer II checks whether each interface of the controller is responding normally based on the high / low level signals received from each IO input interface.
[0018] Furthermore, the analog output interface, LED driver interface, hard trigger output interface, and power supply output interface are each provided in multiple ways.
[0019] Furthermore, the resistance value of the resistive load I ;
[0020] Resistance value of resistive load II ;
[0021] Resistance value of resistive load III .
[0022] The testing device designed in this invention uses a resistive load to simulate the corresponding equipment. An I / O board samples the voltage across the resistive load, and the sampled voltage determines whether the device interface is correctly outputting a trigger signal, thus achieving effective signal transmission. This solution eliminates the need for actual equipment in the testing process, avoiding equipment wear and tear, and requires no manual intervention. It is simple to operate and improves testing efficiency. Attached Figure Description
[0023] Figure 1 A structural block diagram of the controller and testing device;
[0024] Figure 2 This is a block diagram of the controller and testing device in a specific implementation method;
[0025] Figure 3 This describes the connection of two resistors in series.
[0026] Figure 4 This refers to the connection configuration of a single resistor. Detailed Implementation
[0027] The technical solution of this utility model will be described in detail below with reference to the accompanying drawings and specific embodiments.
[0028] A test device for controller signal transmission function, wherein the controller is connected between an industrial computer I and different devices to realize signal interaction between the industrial computer I and different devices; the devices include a camera, an LED light source and / or a device I controlled by a solenoid valve (e.g., a dust cover controlled by a solenoid valve).
[0029] like Figure 1 As shown, the controller includes a control chip, and a network port, a hard trigger output interface, a power supply output interface, an LED driver interface, and / or an analog output interface that are respectively connected to the control chip;
[0030] During testing:
[0031] The testing device includes an industrial control computer II, a resistive load I, a resistive load II, a resistive load III, and a monostable trigger circuit;
[0032] Among them, resistive load I, resistive load II, and resistive load III are used to simulate device I (dust cover), LED light source, and camera, respectively, and each includes one or more resistors connected in series;
[0033] One end of the resistive load I is connected to the analog output interface, and the other end is grounded.
[0034] One end of the resistive load II is connected to the LED driver interface, and the other end is grounded;
[0035] One end of resistive load III is connected to the power output interface, and the other end is grounded;
[0036] The three I / O input interfaces of the I / O board in the industrial computer II digitally sample the voltages on resistive load I, resistive load II, and resistive load III, respectively.
[0037] like Figure 3 This describes the connection of two resistors in series. Figure 4 This refers to the connection configuration of a single resistor.
[0038] The monostable trigger circuit is used to simulate the camera receiving hard trigger signals. It is connected in series between the hard trigger output interface and other IO input interfaces of the industrial computer II. It can broaden the pulse trigger signal output by the hard trigger output interface and output the broadened pulse trigger signal to the IO input interface of the industrial computer. In this embodiment, the 5ms pulse trigger signal is broadened to a 500ms pulse trigger signal to avoid the industrial computer missing the signal.
[0039] The industrial computer II checks whether each interface of the controller is responding normally based on the high / low level signals received from each IO input interface.
[0040] Among them, Industrial PC I is the industrial PC connected to the controller during the actual testing process, and Industrial PC II is the industrial PC connected to the controller during the testing process. In specific implementation, Industrial PC I and Industrial PC II can be the same industrial PC, or two industrial PCs with the same function can be used (Industrial PC I and Industrial PC II have the same function).
[0041] During testing, the controller's network port is connected to the industrial PC II to receive the device power-on signal from the industrial PC II;
[0042] The analog output interface is used to trigger the opening of device I (dust cover);
[0043] The LED driver interface is used to trigger the LED light source to light up;
[0044] The hard trigger output interface is used to trigger the camera to turn on;
[0045] The power output interface is connected to the camera. After the controller is powered on, the power output interface continuously outputs a high level to power the camera.
[0046] The control chip, based on the device start signal sent by the industrial computer II, causes the interface of the corresponding device to output a high level, thereby triggering the corresponding device to start.
[0047] To facilitate understanding, the internal structure of the controller will be explained as follows:
[0048] Specifically, the control chip includes a logic control module, which is also connected to a communication module and an LED driver circuit. The communication module is connected to the network port to parse the device start signal sent by the industrial computer II received by the network port and send it to the logic control module.
[0049] The logic control module controls the LED driver circuit to start working based on the device start signal; the analog output interface outputs a high level to trigger the solenoid valve to open, and device I (dust cover) to open; the LED driver circuit connects to the LED driver interface and outputs a high level to control the LED light source to turn on.
[0050] The controller also includes a power supply module and a voltage conversion module connected to the power supply module; the voltage conversion module is used to convert the power supply voltage to 12V and output it from the power supply output interface to power the camera.
[0051] For example, when the industrial PC II sends a camera-on signal, the hard-triggered output interface should output a high-level pulse signal, and the IO input interface of the industrial PC II should also sample the high-level pulse signal. If the IO input interface of the industrial PC II does not sample the high-level pulse signal, it indicates that the signal transmission of the hard-triggered output interface is incorrect, damaged, and the response is abnormal.
[0052] More specifically, the resistive load I is used to simulate device I (dust cover), which includes one or more resistors connected in series, and the resistance value of the resistive load I... One end of the resistive load I is connected to the analog output interface, and the other end is grounded; the first IO input interface of the industrial control computer IO board digitally samples the voltage on the resistive load I;
[0053] The resistive load II is used to simulate an LED light source, and it includes one or more resistors connected in series. The resistance value of the resistive load II is... One end of the resistive load II is connected to the LED driver interface, and the other end is grounded. The second IO input interface of the industrial control computer IO board digitally samples the voltage on the resistive load II.
[0054] The resistive load III is used to simulate a camera and includes one or more resistors connected in series. Resistance value of resistive load III One end of the resistive load III is connected to the power output interface, and the other end is grounded. The third IO input interface of the industrial control computer IO board digitally samples the voltage on the resistive load III.
[0055] In practice, depending on the actual testing needs, multiple testing systems may be involved in the testing station. Each testing system includes a camera, equipment I (dust cover), and LED light source.
[0056] Therefore, the controller needs to be equipped with multiple sets of interfaces to connect to multiple detection systems, namely: multiple analog output interfaces, LED driver interfaces, hard trigger output interfaces, and power supply output interfaces.
[0057] like Figure 2 The system demonstrates the status of four detection systems. Each system has four analog output interfaces, four LED driver interfaces, four hard trigger output interfaces, and four power supply output interfaces, which are used to trigger four cameras, four dust covers, and four LED light sources, respectively.
[0058] There are also four resistor loads I, resistor load II, resistor load III, and monostable trigger circuits respectively;
[0059] In addition, the camera can be controlled to turn on using either an on signal from the industrial control computer or a hard trigger signal from the I / O board.
[0060] like Figure 2 As shown, the controller also includes a hard trigger input interface connected to the IO output interface of the industrial computer II, which is used to receive a hard trigger signal from the industrial computer II. The hard trigger signal is used to control the hard trigger output interface to output a high level, triggering the camera to turn on. For ease of interpretation and precise definition of the appended claims, the terms "upper," "lower," "inner," and "outer" are used to describe the features of the exemplary embodiments with reference to the positions of these features shown in the accompanying drawings.
[0061] The foregoing description of specific exemplary embodiments of the present invention is for illustrative and descriptive purposes. It is not intended to be exhaustive, nor is it intended to limit the present invention to the precise forms disclosed.
Claims
1. A test device for controller signal transmission function, wherein the controller is applied to a vision inspection device and is connected between an industrial control computer I and different devices to realize signal interaction between the industrial control computer I and different devices; the devices include a camera, an LED light source and / or a device I controlled by a solenoid valve; The controller includes a control chip and a network port, a hard trigger output interface, a power supply output interface, an LED driver interface, and / or an analog output interface that are respectively connected to the control chip; Its features are: The testing device includes an industrial control computer II, a resistive load I, a resistive load II, a resistive load III, and a monostable trigger circuit; Among them, resistive load I, resistive load II, and resistive load III are used to simulate device I, LED light source, and camera, respectively, and each includes one or more resistors connected in series; One end of the resistive load I is connected to the analog output interface, and the other end is grounded. One end of the resistive load II is connected to the LED driver interface, and the other end is grounded; One end of resistive load III is connected to the power output interface, and the other end is grounded; The three I / O input interfaces of the I / O board in the industrial computer II digitally sample the voltages on resistive load I, resistive load II, and resistive load III, respectively. The monostable trigger circuit is used to simulate the camera receiving hard trigger signals. It is connected in series between the hard trigger output interface and other IO input interfaces of the industrial computer II. It can broaden the pulse signal output by the hard trigger output interface and output the broadened pulse trigger signal to the IO input interface of the industrial computer. The industrial computer II checks whether each interface of the controller is responding normally based on the high / low level signals received from each IO input interface.
2. The test apparatus for testing the controller signal transmission function according to claim 1, wherein: The analog output interface, LED driver interface, hard trigger output interface, and power supply output interface are each provided in multiple ways.
3. The test device for the controller signal transmission function as described in claim 1, characterized in that: resistance value of the resistive load I ; Resistance value of the resistive load II ; resistance value of the resistive load III .
Citation Information
Patent Citations
Dustproof cover of sensor
CN210005024U
