Automatic test system and test method for input board

By designing an automated testing system for input boards, the problems of low efficiency and large errors in manual testing were solved. The system achieved fully automated testing and data management of input boards, improving testing efficiency and accuracy while reducing labor intensity.

CN120971937APending Publication Date: 2025-11-18SHENYANG RAILWAY SIGNAL

Patent Information

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

AI Technical Summary

Technical Problem

In the existing technology, the testing of input boards mainly relies on manual operation, which is inefficient, has large errors, is labor-intensive, and the data is not managed electronically.

Method used

Design an automated testing system for an input board, including an industrial control computer, a processing board unit, a controllable power supply, an I/O motherboard, a camera, and a control center. The system simulates the working state of the input board through automated testing methods, collects and analyzes indicator light images, performs short-circuit detection and voltage acquisition, generates test records, and uploads them to the control center.

Benefits of technology

It has achieved fully automated testing of the input board, significantly improving testing efficiency and accuracy, reducing measurement and recording time, reducing labor intensity, and enabling centralized data management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120971937A_ABST
    Figure CN120971937A_ABST
Patent Text Reader

Abstract

The invention provides an automatic test system and test method for an input 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 processing board unit, the IO part mainboard, the camera, the controllable power supply and the tested input board and establishes a test log; the upper computer software judges whether each test point of the tested input 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 input 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 input board, the automatic test of the function and performance of the input 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 input boards. Background Technology

[0002] The F3350 input board of the IO department (hereinafter referred to as the input board) is the main board of the interlocking equipment. It collects the external input voltage conditions, displays the collected conditions on the front panel through indicator lights, and sends the collected information to the train control center.

[0003] Currently, the inspection of whether the manufactured input board is qualified is mainly carried out 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 address the shortcomings of the prior art by providing an automated testing system and method for input boards, enabling functional and performance testing of input 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 input boards is provided, including an industrial control computer, a processing board unit, a controllable power supply, an I / O motherboard, a camera, the input board under test, and a control center; The industrial control computer establishes communication and control connections with the processing board unit, controllable power supply, I / O unit motherboard, camera, input board under test and control center respectively. It is used to run host computer software to realize self-test, parameter initialization and automated testing of the input board under test, generate test records and upload the test records to the control center. The processing board unit includes a drive output module, a core processing module, and a short-circuit judgment module. It establishes a communication connection with the input board under test and is used to perform the acquisition, analysis, and fault judgment processing tasks of the input board under test. The controllable power supply establishes a communication connection with the processing board unit to output a variable voltage according to the instructions of the industrial control computer, so as to simulate the external input signal of the input board under test. The I / O unit motherboard establishes a communication connection with the input board under test, and is used to issue control commands to the input board under test so that the input board under test enters a normal working state for testing; The camera is used to capture images of the indicator lights on the input board panel under test. The host computer software analyzes the images to determine the on / off state of each indicator light. The input board under test is used to receive and acquire external input voltage, and its function and performance are tested. The control center is used to receive, store, and manage test records.

[0007] Furthermore, the core processing module establishes a communication connection with the drive output module and the short-circuit judgment module to receive instructions from the industrial control computer and coordinate the work of the drive output module and the short-circuit judgment module, thereby completing the test of the input board under test and returning the results. The drive output module establishes a communication connection with the input board under test, and is used to output a drive voltage according to the instructions of the core processing module to simulate the external input signal and drive the acquisition channel of the input board under test. The short circuit detection module is equipped with a resistor network and a relay group, and establishes a communication connection with the input board under test. It is used to detect the electrical connection status between each test point of the input 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 input board under test.

[0008] Furthermore, the industrial control computer is connected to a controllable power supply via a USB interface, the controllable power supply is connected to a drive output module via a connecting cable, and the drive output module is connected to the input board under test via a baseboard bus.

[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 input 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 input 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 input boards is provided, including the following steps: S1: The industrial control computer controls the power supply to turn on and performs a self-test to determine the connection status of the processing board unit, camera, controllable power supply 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 and sets the communication parameters and working status of the processing board unit, IO motherboard, camera, controllable power supply and the input 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 input 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 input 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 input of the input board under test in sequence, and simultaneously collects the input voltage, channel 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 input 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 I / O unit motherboard, enabling the input 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 input 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 input board under test into normal working condition. At this time, the host computer software sends commands to the IO section motherboard to control each input of the input board under test in sequence. Then, the host computer software controls the drive output module to output voltage and collect the channel status of the input board under test. At the same time, it controls the camera to collect the panel indicator light image of the input board under test. Based on the voltage value, channel acquisition information and indicator light display, it determines whether the channel is normal.

[0016] The present invention has the following beneficial effects and advantages: 1. This invention simulates the actual working state of the input board, enabling fully automated testing of the input board, including short circuit detection, input voltage acquisition, channel status 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 input and indicator light on the input 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 an input board according to the present invention; Figure 2 This is a flowchart of an automated testing method for an input board according to the present invention; Figure 3 This is a schematic diagram of the processing board unit of an input board automated testing system according to the present invention; Figure 4 This is a circuit diagram of the drive output module of an input board automated testing system according to the present invention; Figure 5 This is a circuit diagram of a short-circuit detection module in an automated input 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 input boards, which enables automatic testing of input 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 an input board according to the present invention, as shown below. Figure 1As shown, this system includes an industrial control computer, a processing board unit, a controllable power supply, an I / O motherboard, a camera, a test input board, and a control center. The industrial control computer establishes communication and control connections with the processing board unit, controllable power supply, I / O unit motherboard, camera, input board under test (DUT), and control center. It runs the host computer software to perform self-testing, parameter initialization, and automated function and performance testing of the DUT, generating test records and uploading them to the control center. The processing board unit communicates with the DUT to perform data acquisition, analysis, and fault diagnosis. The controllable power supply communicates with the processing board unit to output variable voltages according to instructions from the industrial control computer, simulating external input signals from the DUT. The I / O unit motherboard communicates with the DUT to issue control commands to the DUT, enabling it to enter normal operating mode for testing. The camera captures images of the DUT's indicator lights; the host computer software analyzes these images to determine the on / off status of each indicator. The DUT receives and acquires external input voltages, and its functions and performance are verified as test objects. The control center receives, stores, and manages the test records.

[0023] Figure 3 This is a schematic diagram of the processing board unit of an automated input board testing system according to the present invention, as shown below. Figure 3 As shown, the processing board unit includes a drive output module, a core processing module, and a short-circuit detection module. The core processing module establishes a communication connection with the drive output module and the short-circuit detection module, receiving instructions from the industrial control computer and coordinating their operation to complete the testing of the input board under test and return results. The drive output module establishes a communication connection with the input board under test, outputting a drive voltage according to the instructions from the core processing module to simulate external input signals and drive the acquisition channels of the input board under test. The short-circuit detection module internally contains a resistor network and a relay group, establishing a communication connection with the input board under test. It detects the electrical connection status between each test point on the input board under test through the resistor network and relay group, thereby determining whether a short circuit or adhesion exists between the test points.

[0024] In this embodiment, the connection relationships between the components are as follows: the industrial control computer is connected to the controllable power supply via a USB interface; the controllable power supply is connected to the drive output module via a connecting cable; the drive output module is connected to the input board under test via the baseboard bus; the industrial control computer is connected to the I / O section motherboard via a 232 serial port; the I / O section motherboard is connected to the input board under test via the baseboard bus; the core processing module is connected to the short-circuit judgment module via the printed circuit board internal control bus; the drive output module in the short-circuit judgment module is connected to TP1, TP2, TP3, TP4, TP5, PIN1, PIN6, PIN7, PIN8, PIN9, PIN93, PIN94, PIN95, and PIN96 of the input 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 drive output module of an input board automated testing system according to the present invention, as shown below. Figure 4 As shown, the DC+ output of the controllable power supply is connected to the drive output module, and IO1 is connected to the acquisition terminal of the input board under test. When the core processing module sets the ARM1 pin to a low level, it controls the relay S1B to engage, outputting the externally input variable power supply to IO1. At this time, the input board under test can acquire external signals. When the core processing module sets the ARM1 pin to a high level, the relay S1B disengages, outputting the externally input variable power supply GND to IO1. At this time, the input board under test cannot acquire external signals. Similarly, following the above method, the system can sequentially complete the voltage acquisition and channel testing of the 64 inputs of the input board under test.

[0026] Figure 5 This is a circuit diagram of a short-circuit detection module in an automated input board testing system according to the present invention, as shown below. Figure 5 As 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 input board under test. The short-circuit detection module internally includes a resistor network (R1, R2, R3, each 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).

[0027] During the short-circuit test of TP1, TP2, TP3, TP4, and TP5, the core processing module collects the voltage of node R3 through CPU3. If the collected voltage is high, it is determined that the endpoints of the input board under test are disconnected; if the collected voltage is low, it is determined that there is a short circuit or adhesion between the endpoints of the input board under test.

[0028] During short-circuit testing of 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 and CPU2 respectively collect the voltage of nodes R1 and R2. If the collected voltage is high, it is determined that the endpoints of the input 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 input board under test.

[0029] Figure 2 This is a flowchart of an automated testing method for an input 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 processing board unit to determine if the processing board unit is correctly connected; it will communicate with the camera to determine if the camera is correctly connected; it will communicate with the controllable power supply to determine if the controllable power supply is correctly connected; and it will communicate with the I / O unit motherboard to determine if the input 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 status 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 processing board unit, IO motherboard, camera, controllable power supply and input 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 input board under test to the detection circuit.

[0032] When testing TP1, TP2, TP3, TP4, and TP5, 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 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 and R2 through CPU1 and CPU2. 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 input board under test is in normal working condition. At this time, the host computer software controls the camera to collect image data from the +5V power indicator, the "uSEL" indicator, and the "dSEL" indicator on the input 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 input 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 input channel of the input board under test. Then, the host computer software controls the drive output module to output voltage and collects the channel status of the input board under test. Simultaneously, it controls the camera to capture images of the panel indicator lights on the input board under test. Based on the voltage value, channel acquisition information, and indicator light display, it determines whether the channel is normal. All 64 inputs of the input 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 the USB interface.

[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.

[0038] 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 input boards, characterized in that, It includes an industrial control computer, processing board unit, controllable power supply, I / O motherboard, camera, input board under test, and control center; The industrial control computer establishes communication and control connections with the processing board unit, controllable power supply, I / O unit motherboard, camera, input board under test and control center respectively. It is used to run host computer software to realize self-test, parameter initialization and automated testing of the input board under test, generate test records and upload the test records to the control center. The processing board unit includes a drive output module, a core processing module, and a short-circuit judgment module. It establishes a communication connection with the input board under test and is used to perform the acquisition, analysis, and fault judgment processing tasks of the input board under test. The controllable power supply establishes a communication connection with the processing board unit to output a variable voltage according to the instructions of the industrial control computer, so as to simulate the external input signal of the input board under test. The I / O unit motherboard establishes a communication connection with the input board under test, and is used to issue control commands to the input board under test so that the input board under test enters a normal working state for testing; The camera is used to capture images of the indicator lights on the input board panel under test. The host computer software analyzes the images to determine the on / off state of each indicator light. The input board under test is used to receive and acquire external input voltage, and its function and performance are tested. The control center is used to receive, store, and manage test records.

2. The automated testing system for input boards according to claim 1, characterized in that, The core processing module establishes a communication connection with the drive output module and the short circuit judgment module to receive instructions from the industrial control computer and coordinate the work of the drive output module and the short circuit judgment module, thereby completing the test of the input board under test and returning the results. The drive output module establishes a communication connection with the input board under test, and is used to output a drive voltage according to the instructions of the core processing module to simulate the external input signal and drive the acquisition channel of the input board under test. The short circuit detection module is equipped with a resistor network and a relay group, and establishes a communication connection with the input board under test. It is used to detect the electrical connection status between each test point of the input 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 input board under test.

3. The automated testing system for input boards according to claim 1, characterized in that, The industrial control computer is connected to the controllable power supply via a USB interface. The controllable power supply is connected to the drive output module via a connecting cable. The drive output module is connected to the input board under test via a baseboard bus.

4. The automated testing system for input 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 input board under test via a base plate.

5. The automated testing system for input 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 input board under test.

6. The automated testing system for input 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 input boards, characterized in that, Includes the following steps: S1: The industrial control computer controls the power supply to turn on and performs a self-test to determine the connection status of the processing board unit, camera, controllable power supply 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 and sets the communication parameters and working status of the processing board unit, IO motherboard, camera, controllable power supply and the input 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 input 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 input 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 input of the input board under test in sequence, and simultaneously collects the input voltage, channel 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 input 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 input 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 input board according to claim 8, characterized in that, In step S4, the host computer software establishes communication with the I / O unit motherboard, enabling the input 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 input 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 input 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 input board under test into normal working condition. At this time, the host computer software sends commands to the IO section motherboard to control each input of the input board under test in sequence. Then, the host computer software controls the drive output module to output voltage and collect the channel status of the input board under test. At the same time, it controls the camera to collect the panel indicator light image of the input board under test. Based on the voltage value, channel acquisition information and indicator light display, it determines whether the channel is normal.

Citation Information

Patent Citations

  • 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

  • Input / output board automatic detection platform of computer interlocking system

    CN210402096U

Cited By

  • Universal test platform applied to train automatic protection system board card

    CN121347944A