Automatic test system and test method for output board

The automated testing system for output boards utilizes industrial control computers and cameras to perform automated testing, solving the problems of low efficiency and large errors in manual testing, and achieving efficient and accurate test result management.

CN120949009APending Publication Date: 2025-11-14SHENYANG RAILWAY SIGNAL
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202511320514.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-09-16
Publication Date
2025-11-14

Smart Images

  • Figure CN120949009A_ABST
    Figure CN120949009A_ABST
Patent Text Reader

Abstract

The invention provides an automatic test system and a test method for an output board, and relates to the technical field of railway signal equipment detection application. The method comprises the following steps: the industrial control computer controls the power supply to start and perform self-inspection; the upper computer software carries out initialization setting on communication parameters and working states of the control unit, the IO part mainboard, the camera and the tested output board and establishes a test log; the upper computer software judges whether each test point of the tested output board is short-circuited or adhered or not, whether an indicator lamp works normally or not and whether each channel runs normally or not by controlling the short-circuit judgment module, the camera and each path of output of the tested output board; and the upper computer software generates all test results into test records and uploads the test records to the control center. According to the invention, by simulating the real working state of the output board, the automatic test of the function and performance of the output board is realized, the test efficiency and the measurement accuracy are improved, the labor intensity is reduced, and the data management is more convenient.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of railway signaling equipment testing and application technology, and more specifically, to an automated testing system and method for output boards. Background Technology

[0002] The F3360 output board of the IO department (hereinafter referred to as the output board) is the main board of the interlocking equipment. It receives commands from the IO department main board and outputs voltage to the outside according to the commands. It can output up to 16 channels, and the output information is displayed on the front panel by lighting up indicator lights.

[0003] Currently, the inspection of whether the manufactured output board is qualified is mainly done by the operator manually connecting the wires, and then manually controlling the instruments to complete the test.

[0004] This testing method requires high-level instruments and skilled personnel. Manual operation results in low testing efficiency, large testing errors, high labor intensity, and manual data recording, which fails to achieve data digitization and is not conducive to data management and consistency judgment of production data. Summary of the Invention

[0005] The technical problem to be solved by the present invention is to provide an automated testing system and method for output boards, which addresses the shortcomings of the prior art and enables functional and performance testing of output boards during the production process.

[0006] To achieve the above objectives, the main technical solution adopted by the present invention is as follows: On the one hand, an automated testing system for output boards is provided, including an industrial control computer, a control unit, an I / O motherboard, a camera, the output board under test, an external load, and a control center; The industrial control computer establishes communication and control connections with the control unit, I / O unit motherboard, camera, output board under test, external load, and control center, respectively, to run host computer software, realize self-testing, parameter initialization and automated testing of the output board under test, generate test records and upload the test records to the control center; The control unit includes a data acquisition module, a core processing module, and a short-circuit detection module. It establishes a communication connection with the output board under test and is used to perform data acquisition, analysis, and fault diagnosis and processing tasks for the output board under test. The I / O unit motherboard establishes a communication connection with the output board under test, and is used to issue control commands to the output board under test so that the output board under test enters the normal working state for testing; The camera is used to capture images of the indicator lights on the output board panel under test. The host computer software analyzes the images to determine the on / off state of each indicator light. The output board under test establishes a communication connection with the external load to receive instructions from the I / O mainboard and output voltage to the outside. Its function and performance are tested. The external load is used to drive the output board under test to operate when the output voltage reaches a preset threshold, thereby verifying the load-carrying capacity of the output board under test and the normality of the output channel. The control center is used to receive, store, and manage test records.

[0007] Furthermore, the core processing module establishes a communication connection with the acquisition module and the short-circuit judgment module to receive instructions from the industrial control computer and coordinate the work of the acquisition module and the short-circuit judgment module, thereby completing the test of the output board under test and returning the results. The acquisition module establishes a communication connection with the output board under test to acquire the output voltage values ​​of each channel of the output board under test, and drives the external load to operate when the voltage reaches a preset threshold, thereby completing the joint test of voltage and load drive. The short circuit detection module is equipped with a resistor network and a relay group, and establishes a communication connection with the output board under test. It is used to detect the electrical connection status between each test point of the output board under test through the resistor network and the relay group, so as to determine whether there is a short circuit or adhesion between the test points of the output board under test.

[0008] Furthermore, the industrial control computer is connected to the core processing module via a USB interface, the core processing module is connected to the acquisition module via a data bus, the acquisition module is connected to the output board under test via a baseboard bus, and the output board under test is connected to an external load via an external cable.

[0009] Furthermore, the industrial control computer is connected to the I / O unit motherboard via a 232 serial port, and the I / O unit motherboard is connected to the output board under test via a base plate.

[0010] Furthermore, the core processing module is connected to the short-circuit detection module via the internal control bus of the printed circuit board, and multiple test pins of the short-circuit detection module are respectively connected to the test points of the output board under test.

[0011] Furthermore, the industrial control computer is connected to the control center via an Ethernet port, RS232 / RS422 / RS485, or USB interface.

[0012] On the other hand, an automated testing method for output boards is provided, including the following steps: S1: The industrial control computer turns on the power and performs a self-test to determine the connection status of the control unit, camera, and I / O unit motherboard. If the self-test is successful, the host computer software starts testing and executes S2. If the self-test fails, an error message is displayed and the test is terminated. S2: The host computer software initializes the communication parameters and working status of the control unit, I / O motherboard, camera and output board under test and establishes test logs; S3: The host computer software controls the short circuit judgment module to perform short circuit or open circuit tests on each test point of the output board under test, and returns the test results to the host computer software. S4: The host computer software controls the camera to collect the image data of the indicator lights on the output board under test and analyzes the on / off status to determine whether the indicator lights are working properly, and returns the test results to the host computer software. S5: The host computer software controls each output of the output board under test in sequence, and at the same time collects the output voltage, external load status and panel indicator images to determine whether each channel is operating normally, and returns the test results to the host computer software. S6: The host computer software generates test records from all test results and uploads them to the control center.

[0013] Furthermore, in S3, the host computer software controls the short circuit judgment module to connect each test point of the output board under test to the detection circuit. Then, the core processing module collects the voltage value of the resistor node through the CPU interface. If the voltage is high, it is determined to be an open circuit; if the voltage is low, it is determined to be a short circuit or a sticking.

[0014] Furthermore, in step S4, the host computer software establishes communication with the IO unit motherboard, enabling the output board under test to be in normal working condition. At this time, the host computer software controls the camera to collect image data of the indicator lights on the output board under test, and transmits the collected image data back to the industrial control computer through the data interface. The host computer software receives the image data and analyzes the on / off state of the indicator lights. If a bright spot is detected at the corresponding position, it is determined that the indicator light is lit and working normally; if no bright spot is detected, it is determined that the indicator light is not lit and working abnormally.

[0015] Furthermore, in step S5, the host computer software establishes communication with the IO section motherboard to put the output board under test into normal working condition. At this time, the host computer software sends commands to the IO section motherboard to control each output of the output board under test in sequence. Then, the host computer software controls the acquisition module to collect the output voltage and external load status of the output board under test, and controls the camera to collect the panel indicator light images of the output board under test. Based on the voltage value, whether the load is engaged, and the indicator light display, it is determined whether the channel is normal.

[0016] The present invention has the following beneficial effects and advantages: 1. This invention can perform fully automatic testing on the output board by simulating the actual working state of the output board, including short circuit detection, output voltage acquisition, external load drive testing, and indicator light status detection. This reduces manual operation, significantly shortens measurement and recording time, reduces testing time by more than 2 / 3, improves testing efficiency, and reduces labor intensity.

[0017] 2. This invention acquires voltage signals and relay status in real time through a core processing module and acquires indicator light image data through a camera, which can accurately determine the working status of each output and indicator light on the output board, reduce human judgment errors, and improve test accuracy.

[0018] 3. This invention achieves centralized data management and traceability by automatically completing the data storage and uploading to the control center, making data management more convenient. Attached Figure Description

[0019] Figure 1 This is a structural diagram of an automated testing system for output boards according to the present invention; Figure 2 This is a flowchart of an automated testing method for output boards according to the present invention; Figure 3 This is a schematic diagram of the control unit of an automated testing system for output boards according to the present invention; Figure 4 This is a circuit diagram of the acquisition module of an automated testing system for output boards according to the present invention; Figure 5 This is a circuit diagram of a short-circuit detection module in an automated output board testing system according to the present invention. Detailed Implementation

[0020] The present invention will now be further described with reference to the accompanying drawings.

[0021] This invention provides an automated testing system for output boards, which enables automatic testing of output boards, automatically organizes test data, generates test records, completes data storage, and uploads the data to the control center.

[0022] Figure 1 This is a structural diagram of an automated testing system for output boards according to the present invention, as shown below. Figure 1As shown, this system includes an industrial control computer, a control unit, an I / O motherboard, a camera, a test output board, an external load, and a control center. The industrial control computer establishes communication and control connections with the control unit, I / O motherboard, camera, output board under test, external load, and control center. It runs the host computer software to perform self-testing, parameter initialization, and automated function and performance testing of the output board under test, generating test records and uploading them to the control center. The control unit establishes a communication connection with the output board under test to perform data acquisition, analysis, and fault diagnosis and handling tasks. The I / O motherboard establishes a communication connection with the output board under test to issue control commands, enabling the output board to enter normal operating mode for testing. The camera captures images of the indicator lights on the output board's panel; the host computer software analyzes these images to determine the on / off status of each indicator light. The output board under test establishes a communication connection with the external load to receive commands from the I / O motherboard and output voltage externally; its function and performance are verified as test objects. The external load is driven to operate when the output voltage of the output board under test reaches a preset threshold, thereby verifying the load-carrying capacity of the output board and the normality of the output channels. The control center receives, stores, and manages the test records.

[0023] Figure 3 This is a schematic diagram of the control unit of an automated testing system for output boards according to the present invention, as shown below. Figure 3 As shown, the control unit includes a data acquisition module, a core processing module, and a short-circuit detection module. The core processing module establishes a communication connection with the data acquisition module and the short-circuit detection module to receive instructions from the industrial control computer and coordinate the work of the data acquisition module and the short-circuit detection module, thereby completing the testing of the output board under test and returning the results. The data acquisition module establishes a communication connection with the output board under test to acquire the output voltage values ​​of each channel of the output board under test, and drives the external load to operate when the voltage reaches a preset threshold, thereby completing the joint test of voltage and load drive. The short-circuit detection module is equipped with a resistor network and a relay group, and establishes a communication connection with the output board under test. It is used to detect the electrical connection status between the test points of the output board under test through the resistor network and the relay group, thereby determining whether there is a short circuit or adhesion between the test points of the output board under test.

[0024] In this embodiment, the connection relationships between the components are as follows: the industrial control computer is connected to the core processing module via a USB interface; the core processing module is connected to the acquisition module via a data bus; the acquisition module is connected to the output board under test via a baseboard bus; and the output board under test is connected to an external load via an external cable. The industrial control computer is connected to the I / O unit motherboard via a 232 serial port; the I / O unit motherboard is connected to the output board under test via a baseboard bus. The core processing module is connected to the short-circuit detection module via the printed circuit board internal control bus; the drive output module in the short-circuit detection module is connected to TP1, TP2, TP3, TP4, TP5, PIN1, PIN6, PIN7, PIN8, PIN9, PIN93, PIN94, PIN95, and PIN96 of the output board under test via terminal lines. The industrial control computer is connected to the control center via an Ethernet port, RS232 / RS422 / RS485, or USB interface.

[0025] Figure 4 This is a circuit diagram of the acquisition module of an automated testing system for output boards according to the present invention, as shown below. Figure 4 As shown, the first output terminal of the output board under test is connected to OUTA1 and OUTB1 respectively. OUTB1 is connected to ground GND. Therefore, the voltage at OUTA1 is the actual output voltage of the first channel. The core processing module collects the voltage at OUTA1 through the AD1 terminal to obtain the output voltage value of this channel.

[0026] Simultaneously, when a voltage signal is generated at OUTA1 and reaches a preset drive threshold, the voltage signal will drive the external load (JWJXC-1700 relay) to engage. In this embodiment, the drive threshold is 16V, meaning that when the voltage signal reaches 16V or higher, the voltage signal drives the external load to engage, causing circuit node XQ1 to be at a low level. If the voltage signal does not reach 16V, the external load remains disconnected, and circuit node XQ1 remains at a high level. The core processing module determines whether the external load has been successfully driven by checking the level of the XQ1 terminal. Similarly, following the above method, the system can sequentially complete the voltage acquisition and load drive test of the 16 outputs of the output board under test.

[0027] Figure 5 This is a circuit diagram of a short-circuit detection module in an automated output board testing system of the present invention, as shown below. Figure 5As shown, pins TP1, TP2, TP3, TP4, TP5, PIN1, PIN6, PIN7, PIN8, PIN9, PIN93, PIN94, PIN95, and PIN96 of the short-circuit detection module are connected to the corresponding test points on the output board under test. The short-circuit detection module internally includes a resistor network (R1, R2, R3, R4, all with a resistance of 10kΩ) and multiple sets of relays. The core processing module connects to this circuit via the printed circuit board control bus and acquires voltage signals through corresponding pins (CPU1, CPU2, CPU3, CPU4). During the short-circuit test of TP1 and TP2, the core processing module collects the voltage of node R3 through CPU3. If the collected voltage is high, it is determined that the terminals of the output board under test are disconnected; if the collected voltage is low, it is determined that there is a short circuit or adhesion between the terminals of the output board under test.

[0028] During short-circuit testing of TP3, TP4, TP5, PIN1, PIN6, PIN7, PIN8, PIN9, PIN93, PIN94, PIN95, and PIN96, the core processing module controls the corresponding relays to connect these test points to the circuit in pairs according to the instructions issued by the host computer software. The CPU1, CPU2, and CPU4 respectively collect the voltage of nodes R1, R2, and R4. If the collected voltage is high, it is determined that the endpoints of the output board under test are in an open state; if the collected voltage is low, it is determined that there is a short circuit or adhesion between the endpoints of the output board under test.

[0029] Figure 2 This is a flowchart of an automated testing method for an output board according to the present invention, as shown below. Figure 2 As shown, the method includes the following steps: Step 1: Open the test interface and click the "Test" button. The industrial control computer will first turn on the power to supply power to the entire test equipment. Then, the industrial control computer will perform self-tests sequentially: it will communicate with the control unit to determine if the control unit is correctly connected, communicate with the camera to determine if the camera is correctly connected, and communicate with the I / O board to determine if the output board under test is correctly connected. If all checks pass, the self-test is successful, and a prompt message will be displayed on the test interface indicating that the device connection is normal. The host computer software will then begin testing. If any check fails, the self-test fails, an error message will be displayed on the test interface, and the test process will terminate.

[0030] Step 2: The host computer software initializes the communication parameters and working status of the control unit, I / O motherboard, camera and output board under test, and establishes a test log to record subsequent test steps and corresponding results.

[0031] Step 3: The host computer software controls the short circuit judgment module to connect each test point of the output board under test to the detection circuit.

[0032] When testing TP1 and TP2, the core processing module collects the voltage value of resistor R3 through CPU3. If the voltage is high, it is determined to be an open circuit; if the voltage is low, it is determined to be a short circuit or a sticking. After the test is completed, the core processing module returns the test results to the host computer software through the USB interface.

[0033] When testing TP3, TP4, TP5, PIN1, PIN6, PIN7, PIN8, PIN9, PIN93, PIN94, PIN95, and PIN96, the core processing module drives the relays to selectively close according to the instructions issued by the host computer software, connecting the corresponding test points in pairs. Then, the core processing module collects the voltage values ​​of nodes R1, R2, and R4 through CPU1, CPU2, and CPU4. If the voltage is high, it is determined to be an open circuit; if the voltage is low, it is determined to be a short circuit or a sticking. After the test is completed, the core processing module returns the test results to the host computer software through the USB interface.

[0034] Step 4: The host computer software establishes communication with the I / O unit motherboard, ensuring the output board under test is in normal working condition. At this time, the host computer software controls the camera to collect image data of the +5V power indicator, "uSEL" indicator, "dSEL" indicator, and "+24V" indicator on the output board under test. The collected image data is then transmitted back to the industrial control computer via the data interface. The host computer software receives the image data and analyzes the on / off status of the indicator lights. If a bright spot is detected at the corresponding location, the indicator light is determined to be lit and working normally; if no bright spot is detected, the indicator light is determined to be off and working abnormally. After the test is completed, the core processing module returns the test results to the host computer software via the USB interface.

[0035] Step 5: The host computer software establishes communication with the I / O unit motherboard, ensuring the output board under test is in normal working condition. At this point, the host computer software sends a command to the I / O unit motherboard to control the first output of the output board under test. Then, the host computer software controls the acquisition module to collect the output voltage and external load status of the output board under test, and simultaneously controls the camera to capture images of the panel indicator lights on the output board under test. Based on the voltage value, whether the load is engaged, and the indicator light display, the system determines whether the channel is functioning correctly. All 16 outputs of the output board under test are tested sequentially to verify their operational status. After the test is completed, the core processing module returns the test results to the host computer software via USB.

[0036] Step 6: After completing the above tests, the host computer software fills all test results into the database, automatically generates a test record table, and uploads the test records to the control center for storage and management.

[0037] The above description discloses only preferred embodiments of the present invention and should not be construed as limiting the scope of the present invention. Therefore, equivalent variations made in accordance with the claims of the present invention are still within the scope of the present invention.

Claims

1. An automated testing system for output boards, characterized in that, This includes industrial control computers, control units, I / O motherboards, cameras, output boards under test, external loads, and control centers. The industrial control computer establishes communication and control connections with the control unit, I / O unit motherboard, camera, output board under test, external load, and control center, respectively, to run host computer software, realize self-testing, parameter initialization and automated testing of the output board under test, generate test records and upload the test records to the control center; The control unit includes a data acquisition module, a core processing module, and a short-circuit detection module. It establishes a communication connection with the output board under test and is used to perform data acquisition, analysis, and fault diagnosis and processing tasks for the output board under test. The I / O unit motherboard establishes a communication connection with the output board under test, and is used to issue control commands to the output board under test so that the output board under test enters the normal working state for testing; The camera is used to capture images of the indicator lights on the output board under test. The host computer software analyzes the images to determine the on / off state of each indicator light. The output board under test establishes a communication connection with the external load to receive instructions from the I / O mainboard and output voltage to the outside. Its function and performance are tested. The external load is used to drive the output board under test to operate when the output voltage reaches a preset threshold, thereby verifying the load-carrying capacity of the output board under test and the normality of the output channel. The control center is used to receive, store, and manage test records.

2. The automated testing system for output boards according to claim 1, characterized in that, The core processing module establishes a communication connection with the acquisition module and the short-circuit judgment module to receive instructions from the industrial control computer and coordinate the work of the acquisition module and the short-circuit judgment module, thereby completing the test of the output board under test and returning the results. The acquisition module establishes a communication connection with the output board under test to acquire the output voltage values ​​of each channel of the output board under test, and drives the external load to operate when the voltage reaches a preset threshold, thereby completing the joint test of voltage and load drive. The short circuit detection module is equipped with a resistor network and a relay group, and establishes a communication connection with the output board under test. It is used to detect the electrical connection status between each test point of the output board under test through the resistor network and the relay group, so as to determine whether there is a short circuit or adhesion between the test points of the output board under test.

3. The automated testing system for output boards according to claim 1, characterized in that, The industrial control computer is connected to the core processing module via a USB interface. The core processing module is connected to the acquisition module via a data bus. The acquisition module is connected to the output board under test via a baseboard bus. The output board under test is connected to an external load via an external cable.

4. The automated testing system for output boards according to claim 1, characterized in that, The industrial control computer is connected to the I / O unit motherboard via a 232 serial port, and the I / O unit motherboard is connected to the output board under test via a baseboard.

5. The automated testing system for output boards according to claim 1, characterized in that, The core processing module is connected to the short circuit detection module via the internal control bus of the printed circuit board, and multiple test pins of the short circuit detection module are connected to the test points of the output board under test.

6. The automated testing system for output boards according to claim 1, characterized in that, The industrial control computer is connected to the control center via an Ethernet port, RS232 / RS422 / RS485, or USB interface.

7. An automated testing method for output boards, characterized in that, Includes the following steps: S1: The industrial control computer turns on the power and performs a self-test to determine the connection status of the control unit, camera, and I / O unit motherboard. If the self-test is successful, the host computer software starts testing and executes S2. If the self-test fails, an error message is displayed and the test is terminated. S2: The host computer software initializes the communication parameters and working status of the control unit, I / O motherboard, camera and output board under test and establishes test logs; S3: The host computer software controls the short circuit judgment module to perform short circuit or open circuit tests on each test point of the output board under test, and returns the test results to the host computer software. S4: The host computer software controls the camera to collect the image data of the indicator lights on the output board under test and analyzes the on / off status to determine whether the indicator lights are working properly, and returns the test results to the host computer software. S5: The host computer software controls each output of the output board under test in sequence, and at the same time collects the output voltage, external load status and panel indicator images to determine whether each channel is operating normally, and returns the test results to the host computer software. S6: The host computer software generates test records from all test results and uploads them to the control center.

8. The automated testing method for an output board according to claim 8, characterized in that, In S3, the host computer software controls the short circuit judgment module to connect each test point of the output board under test to the detection circuit. Then, the core processing module collects the voltage value of the resistor node through the CPU interface. If the voltage is high, it is determined to be an open circuit; if the voltage is low, it is determined to be a short circuit or a sticking.

9. The automated testing method for an output board according to claim 8, characterized in that, In step S4, the host computer software establishes communication with the IO unit motherboard, enabling the output board under test to be in normal working condition. At this time, the host computer software controls the camera to collect image data of the indicator lights on the output board under test, and transmits the collected image data back to the industrial control computer through the data interface. The host computer software receives the image data and analyzes the on / off state of the indicator lights. If a bright spot is detected at the corresponding position, it is determined that the indicator light is lit and working normally; if no bright spot is detected, it is determined that the indicator light is not lit and working abnormally.

10. The automated testing method for an output board according to claim 8, characterized in that, In step S5, the host computer software establishes communication with the IO section motherboard to put the output board under test into normal working condition. At this time, the host computer software sends commands to the IO section motherboard to control each output of the output board under test in sequence. Then, the host computer software controls the acquisition module to collect the output voltage and external load status of the output board under test, and controls the camera to collect the panel indicator light images of the output board under test. Based on the voltage value, whether the load is engaged, and the indicator light display, it is determined whether the channel is normal.

Citation Information

Patent Citations

  • Method and apparatus for protecting digital output circuits

    CN101639697A

  • PCBA board quality inspection method and related assembly thereof

    CN113325299A

  • Circuit abnormality diagnosis device, current generating device, extended body ejection device for aircraft, airbag device for

    CN114929577A

  • Automatic transmitter testing system and method

    CN119001313A

  • Testing device of input and output module

    CN119165259A