Single board signal change timing detection device and method

By designing a single board signal change travel detection device, using the total gate relay and AD acquisition unit to achieve automatic monitoring and analysis, the problems of inaccuracy and low efficiency of single board testing in the existing technology are solved, real-time monitoring and efficient detection are achieved .

CN113341301BActive Publication Date: 2024-12-06CHONGQING QIANWEI SCI & TECH GRP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110739939.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-06-30
Publication Date
2024-12-06
Estimated Expiration
2041-06-30

AI Technical Summary

Technical Problem

The existing single board testing methods rely on manpower and have poor anti-interference capabilities, and cannot monitor signal changes in real time, resulting in inaccurate detection and low efficiency, which cannot meet the product self-test pass rate requirements.

Method used

Design a single board signal change travel detection device, including power supply module, single board control gate module and signal acquisition module, through the general gate relay and AD acquisition unit, it realizes automatic monitoring and analysis of signal changes, supporting a few seconds to more than a dozen The hourly detection mode can test multiple sets of veneers at the same time.

Benefits of technology

Real-time monitoring of single board signal changes and automatic latch signal, improve detection accuracy and efficiency, timely analysis of problems, and meet product self-test pass rate requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113341301B_ABST
    Figure CN113341301B_ABST
Patent Text Reader

Abstract

The invention discloses a single-board signal change timing detection device and method. The device comprises a device body and an industrial computer. A power supply module, a single-board control gating module and a signal acquisition module are arranged in the device body. The single-board control gating module is used for performing signal self-check and controlling a single board to be tested to operate according to a detection mode. The signal acquisition module is used for receiving and processing a signal sent by the single board to be tested. The power supply module is used for providing a working voltage for the single-board control gating module and the signal acquisition module. The scheme has the following advantages: the single-board signal change can be monitored in real time, the action performance inspection of various working modes from a few seconds to more than ten hours can be performed, the signal can be automatically latched, so as to judge when a signal change occurs and timely analyze the problems that occur. Multiple sets of single boards can be tested at the same time, so as to improve the testing efficiency of the single boards.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of single board detection, and in particular relates to a single board signal change travel time detection device and method. Background Art

[0002] At present, the requirements for the sensitivity of each board to the change of AD signals and the accuracy of time synchronization in communication hardware are getting higher and higher, so the requirements for testing the boards during production are becoming more and more stringent;

[0003] However, most workshops currently still use the built-in and completely human-dependent FLUKE, stopwatch and external power supply method for single board testing, which has poor anti-interference ability and is easy to burn components. In addition, there are many types of performance tests for single boards, ranging from a few seconds to more than ten hours of performance inspections. Human power alone cannot monitor in real time, and there is a risk of signal changes in the middle, and it is impossible to determine when the signal changes, let alone what problems have occurred and the severity of the problems. The only way to determine whether the final time is normal is to use a stopwatch, which is not easy to find the cause of the fault and cannot meet the workshop product self-inspection pass rate requirements. Summary of the invention

[0004] In view of the above-mentioned deficiencies in the prior art, the technical problem to be solved by the present invention is to provide a device and method for detecting the timing of board signal changes.

[0005] 1. It can monitor the changes of single-board signals in real time, and can perform performance checks in various working modes from a few seconds to more than ten hours. It can automatically latch the signal to determine when the signal changes and analyze the problems in time.

[0006] 2. This equipment can also test multiple sets of boards at the same time to improve the testing efficiency of the boards.

[0007] In order to solve the above technical problems, the present invention adopts the following technical solutions:

[0008] A single-board signal change travel time detection device comprises a device body and an industrial computer, wherein the device body is provided with a power supply module, a single-board control gating module and a signal acquisition module;

[0009] The single-board control gating module includes a general gating relay, L groups of switching units and L single-board sockets, the general gating relay is provided with N groups of gating terminal groups, each group of the gating terminal groups is provided with a common terminal, a normally open terminal and a normally closed terminal, the common terminal of the N groups of the gating terminal groups is correspondingly connected to the N output voltage terminal groups of the power supply module, the normally open terminal or the normally closed terminal of the N groups of the gating terminal groups is correspondingly connected to the N voltage input terminals of each group of switching units, and the communication terminal group of the general gating relay is connected to the gating control terminal group of the industrial computer;

[0010] L*N voltage output terminals of the L groups of adapter units are connected to the input terminal groups of the L single board sockets correspondingly, and the L single board sockets are used to plug in the working input terminal groups of the L single boards to be tested;

[0011] The signal acquisition module is provided with L groups of acquisition ports, which are used to plug in the signal output terminal groups of L single boards to be tested, and the L groups of acquisition ports are connected to the acquisition terminal group of the AD acquisition unit, and the output terminal group of the AD acquisition unit is connected to the receiving terminal group of the industrial computer; L and N are both natural numbers greater than or equal to 1;

[0012] The power supply module is used to provide the single board control gating module and the signal acquisition module with operating voltage.

[0013] A method for detecting the timing of a single board signal change comprises the following steps:

[0014] After L boards to be tested are plugged into the board sockets and acquisition ports respectively, the detection equipment is started to establish communication between the board control selection module, the signal acquisition module and the industrial computer;

[0015] The industrial computer sends a control command to the main strobe relay according to the detection mode and starts timing;

[0016] The general gating relay strobes N gating terminal groups according to the control instruction, so that the single board to be tested operates according to the detection mode;

[0017] The signal acquisition module obtains the output signal of the board to be tested and sends it to the industrial computer;

[0018] The industrial computer analyzes whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing situation;

[0019] Repeat the test until each detection mode has been tested at least once to complete the test.

[0020] How this solution works:

[0021] First, insert the single board to be tested into the single board socket and the acquisition port and start the detection equipment. At this time, the single board control selection module and the signal acquisition module establish communication with the industrial computer respectively, and the industrial computer initializes the program after communication;

[0022] After the initialization is completed, the industrial computer selects a detection mode, which includes the preset operation time of the single board to be tested and the standard value of the normal working voltage, and sends the corresponding detection instruction to the general selection relay. At the same time, the industrial computer presets the operation time according to the selected detection mode and starts timing. After receiving the detection instruction, the general selection relay selects the corresponding two groups of selection terminal groups according to the selected detection mode, and then the common end of the general selection relay receives the voltage input by the voltage input terminal group corresponding to the power supply module. The voltage is transmitted from the common end of the general selection relay to the transfer unit through the normally open end (or normally closed end). The transfer unit transmits the received voltage to the single board to be tested through the single board socket, and the single board to be tested executes the corresponding working mode according to the two groups of voltage values ​​received;

[0023] When a voltage signal appears on the board to be tested, the board to be tested will transmit the voltage signal to the acquisition port through the signal output terminal group, and the acquisition port will then transmit the voltage signal to the AD acquisition unit. The AD acquisition unit processes the voltage signal into a high-level signal and transmits the high-level signal to the industrial computer through the output terminal group. After receiving the high-level signal, the industrial computer stops timing and records the time, and compares the recorded time with the preset time.

[0024] If the recorded time is not within the preset time deviation value, the timing of the board under test in this test mode is unqualified;

[0025] If the recorded time is within the preset time deviation value, the timing of the board under test in the current test mode is qualified.

[0026] The industrial computer further determines whether the voltage value of the output signal of the group of acquisition ports is equal to the standard value.

[0027] If the voltage value of the output signal is not equal to the standard value, the output signal of the board to be tested in the current detection mode is unqualified;

[0028] If the voltage value of the output signal is equal to the standard value, the output signal of the board to be tested in the current detection mode is qualified;

[0029] If the output signal and timing conditions are both qualified, the board to be tested is qualified in the current test mode, otherwise it is unqualified.

[0030] After all the boards to be tested have completed the test in the current test mode, the industrial computer sends a reset command to the main strobe relay, and the test at this stage ends;

[0031] The industrial computer selects the remaining detection modes and repeats the detection process. After all detection modes are completed, qualified boards and unqualified boards can be classified.

[0032] The beneficial effects of this program:

[0033] 1. This device can not only monitor the changes of single board signals in real time, but also detect working modes from a few seconds to more than ten hours. It can also automatically latch the signal to determine when the signal changes and analyze the problems in time. Compared with the traditional manual monitoring and detection timing, it greatly improves the detection accuracy.

[0034] 2. This equipment can test multiple sets of boards at the same time, improving the detection efficiency of the boards to be tested. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 A schematic diagram of the structure of a single-board signal change timing detection device provided in an embodiment of the present invention.

[0036] Figure 2 A circuit diagram of a single-board signal change timing detection device provided by an embodiment of the present invention.

[0037] Figure 3 A circuit diagram of a relay part in a single-board signal change timing detection device provided by an embodiment of the present invention.

[0038] Figure 4 A circuit diagram of a switching unit in a single-board signal change timing detection device provided in an embodiment of the present invention.

[0039] Figure 5 A circuit diagram of a single board socket in a single board signal change timing detection device provided in an embodiment of the present invention.

[0040] Figure 6 A circuit diagram of a collection port in a single-board signal change timing detection device provided in an embodiment of the present invention.

[0041] Figure 7 A circuit diagram of a power supply module in a single-board signal change timing detection device provided in an embodiment of the present invention.

[0042] Figure 8 A schematic flow chart of a method for detecting the timing of a single board signal change provided by an embodiment of the present invention.

[0043] Fig. 9 A schematic flow chart of a self-checking step in a single board signal change travel time detection method provided by an embodiment of the present invention.

[0044] Fig.10 A schematic diagram of a process of self-check analysis in a single board signal change travel time detection method provided by an embodiment of the present invention.

[0045] Fig.11 A flowchart of a test collection step in a single board signal change travel time detection method provided by an embodiment of the present invention.

[0046] Fig.12 A schematic diagram of the test analysis process in a single board signal change travel time detection method provided by an embodiment of the present invention.

[0047] Reference numerals:

[0048] Equipment body 1, industrial computer 2. DETAILED DESCRIPTION

[0049] The present invention will be further described in detail below in conjunction with the accompanying drawings.

[0050] like Figure 1 As shown, a single-board signal change travel time detection device includes a device body 1 and an industrial computer 2. The device body 1 is provided with a power supply module, a single-board control gating module and a signal acquisition module;

[0051] Circuit see Figure 2 As shown, the single-board control gating module includes a total gating relay, L groups of switching units and L single-board sockets, the total gating relay is provided with N groups of gating terminal groups, each group of gating terminal groups is provided with a common terminal, a normally open terminal and a normally closed terminal, the common terminal of the N groups of gating terminal groups is correspondingly connected to the N output voltage terminal groups of the power supply module, the normally open terminal or the normally closed terminal of the N groups of gating terminal groups is correspondingly connected to the N voltage input terminals of each group of switching units, and the communication terminal group of the total gating relay is connected to the gating control terminal group of the industrial computer 2;

[0052] L*N voltage output terminals of the L groups of adapter units are connected to the input terminal groups of the L single board sockets correspondingly, and the L single board sockets are used to plug in the working input terminal groups of the L single boards to be tested;

[0053] like Figure 2 and Figure 3 As shown, the signal acquisition module is provided with L groups of acquisition ports, which are used to plug in the signal output terminal groups of L single boards to be tested, and the L groups of acquisition ports are connected to the acquisition terminal group of the AD acquisition unit, and the output terminal group of the AD acquisition unit is connected to the receiving terminal group of the industrial computer 2; L and N are both natural numbers greater than or equal to 1;

[0054] The power supply module is used to provide the working voltage for the single board control gating module and the signal acquisition module.

[0055] The master selection controller is Yawei YAV16J 16-way relay controller;

[0056] The AD acquisition unit is YAV16AD;

[0057] Circuit see Figure 7 As shown, the power supply module adopts two power supply modes: battery power supply and linear power supply: 9V and 5V voltages are powered by batteries, and 24V and industrial computer 2 are powered by linear power supply;

[0058] Circuit see Figure 2 As shown, the N groups of gating terminal groups of the total gating controller are preferably 4 groups of relay terminal groups, corresponding to relay terminal groups No. 1, No. 2, No. 3 and No. 4, respectively, and the common ends of the 4 groups of relays are connected to 5V, 0V, 9V and 0V voltages respectively;

[0059] Circuit see Figure 4 As shown, the adapter unit is mainly used for single board debugging. After debugging is completed, it can be short-circuited. Among them, +G, +D, J5-13, and J10-13 are controlled by the 16-way control relay module, which can respectively realize the change of high and low levels. They are +D changes to 0V, +G changes to 9V, J5-13 changes to 0v, and J10-13 changes to 5V;

[0060] Circuit see Figure 5 As shown, L single board sockets preferably correspond to 8 44-core sockets for direct plugging and unplugging of product single boards. The purpose is to control the 6 logical combinations of the product and implement different single board working modes. Currently, the product has 6 working modes. (You can adjust any setting);

[0061] How this solution works:

[0062] First, insert the single board to be tested into the single board socket and the acquisition port and start the detection equipment. At this time, the single board control selection module and the signal acquisition module establish communication with the industrial computer 2 respectively, and the industrial computer 2 initializes the program after communication;

[0063] After the initialization is completed, the industrial computer 2 selects the detection mode and sends the corresponding detection instruction to the general selection relay. The detection mode includes the preset operation time of the single board to be tested and the standard value of the normal working voltage. After receiving the detection instruction, the general selection relay selects the corresponding two groups of selection terminal groups according to the selected detection mode, and then the common end of the general selection relay receives the voltage input by the voltage input terminal group corresponding to the power supply module. The voltage is transmitted from the common end of the general selection relay to the adapter unit through the normally open end (or normally closed end). The adapter unit transmits the received voltage to the single board to be tested through the single board socket. The single board to be tested executes the corresponding working mode (i.e., the preset operation time of the running detection mode) according to the two sets of voltage values ​​received;

[0064] When a voltage signal appears on the board to be tested, the board to be tested will transmit the voltage signal to the acquisition port through the signal output terminal group, and the acquisition port will transmit the voltage signal to the AD acquisition unit. The AD acquisition unit processes the voltage signal into a high-level signal and transmits the high-level signal to the industrial computer 2 through the output terminal group. After receiving the high-level signal, the industrial computer 2 stops timing and records the time, and compares the recorded time with the preset time. (The preset time has a deviation value. For example, in detection mode 1, the preset time is 2.1±0.5min. The time of the first detection is 2'08", and the time of the second detection is also 2'08". Both detection times are within the deviation value, so the timing is qualified in detection mode 1.)

[0065] If the recorded time is not within the preset time deviation value, the timing of the board under test in this test mode is unqualified;

[0066] If the recorded time is within the preset time deviation value, the timing of the board under test in the current test mode is qualified.

[0067] The industrial computer further determines whether the voltage value of the output signal of the group of acquisition ports is equal to the standard value.

[0068] If the voltage value of the output signal is not equal to the standard value, the output signal of the board to be tested in the current detection mode is unqualified;

[0069] If the voltage value of the output signal is equal to the standard value, the output signal of the board to be tested in the current detection mode is qualified;

[0070] If the output signal and timing conditions are both qualified, the board to be tested is qualified in the current test mode, otherwise it is unqualified.

[0071] After all the boards to be tested have completed the test in the current test mode, the industrial computer 2 sends a reset command to the general strobe relay, and the test at this stage ends;

[0072] Industrial computer 2 selects the remaining detection modes and repeats the detection process. After all detection modes are completed, qualified boards and unqualified boards can be classified.

[0073] The beneficial effects of this program:

[0074] 1. This device can not only monitor the changes of single board signals in real time, but also detect working modes from a few seconds to more than ten hours. It can also automatically latch the signal to determine when the signal changes and analyze the problems in time. Compared with the traditional manual monitoring and detection timing, it greatly improves the detection accuracy.

[0075] 2. This device can test multiple sets of boards at the same time, improving the detection efficiency of the boards to be tested; each board to be tested in this solution can also be tested and determined separately.

[0076] Among them, a touch-control industrial computer 2 is arranged on the surface of the equipment body 1, and the touch-control industrial computer 2 is respectively connected with the selection relay and the AD acquisition unit.

[0077] In this embodiment, the touch-control industrial computer 2 is convenient for the staff to operate the detection equipment, and is convenient for the staff to observe the signal changes of the board to be tested and record the time in real time.

[0078] The signal acquisition module further includes a signal isolation unit, which is used to control the connection between the corresponding acquisition port and the acquisition end group of the AD acquisition unit according to the signal of the acquisition port.

[0079] In this solution, the signal isolation unit is an isolation gate relay, the output terminal group of the acquisition port is respectively connected to the corresponding enable terminal and the corresponding common terminal of the isolation gate relay, and the normally open terminal (or normally closed terminal) of the isolation gate relay is connected to the acquisition terminal group of the AD acquisition unit;

[0080] When the voltage signal of the single board to be tested is input from the acquisition port to the isolation enabling relay, the corresponding enable end of the isolation enabling relay is activated, and then the corresponding enable end of the isolation enabling relay controls the corresponding common end and the corresponding normally open end (or the corresponding normally closed end) of the isolation enabling relay to be connected, and the voltage signal is transmitted from the corresponding common end of the isolation enabling relay to the corresponding normally open end (or the corresponding normally closed end), and is transmitted to the AD acquisition unit via the acquisition end group of the AD acquisition unit (that is, the signal isolation transmission process of the voltage signal is: acquisition port output end-isolation enabling relay common end-isolation enabling relay normally open end (or normally closed end)-AD acquisition unit acquisition end group).

[0081] In this embodiment:

[0082] The isolation strobe relay uses 8-way 24V strobe relays, and the enable terminals are IN1-IN8;

[0083] The benefits of this solution are:

[0084] The output voltage signal is isolated by isolating the selection relay, because the industrial computer 2, the AD module, and the relay control module are all powered by power supply modules (i.e., AC / DC modules); setting up a signal isolation unit can prevent power supply ripple interference and the signal of the AD acquisition module from being fed back to the single board to be tested, thereby preventing the single board to be tested from outputting the voltage signal due to interference, thereby improving the test accuracy of the single board to be tested.

[0085] Among them, the main enabling relay is also provided with K groups of self-test enabling terminal groups, each group of self-test enabling terminal groups is provided with a common terminal, a normally open terminal and a normally closed terminal, the common terminal of the K groups of self-test enabling terminal groups is correspondingly connected to the K output voltage terminal groups of the power supply module, and the normally open terminal or the normally closed terminal of the K groups of self-test enabling terminal groups is correspondingly connected to K acquisition terminals of the AD acquisition unit.

[0086] In this embodiment:

[0087] The total selection controller is the Yawei YAV16J 16-way relay controller, which includes a total of 16 relay terminal groups. In addition to the above 4 relay terminal groups used for single board testing, 3 of the remaining relay terminal groups are also used for self-test, that is, the K group of selection terminal groups corresponds to relay terminal groups No. 5, No. 6 and No. 7.

[0088] How this solution works:

[0089] After the detection device is started, the output voltage terminal group of the power supply module inputs the self-test voltage signal to the common terminal of the self-test enable terminal group of the general enable relay, and then the self-test voltage signal is transmitted to the normally open terminal or normally closed terminal of the self-test enable terminal group via the common terminal of the self-test enable terminal group, and finally transmitted to the AD acquisition unit, which processes the self-test voltage signal and transmits it to the industrial computer 2;

[0090] The program of the industrial computer 2 analyzes whether the self-test voltage signal is normal. If the program is normal, the system enters the standby mode and disconnects the self-test enable terminal group; if the program is abnormal, the system reports an error.

[0091] The beneficial effects of this program:

[0092] Before testing the single board to be tested, a self-test is performed first to prevent the detection of the single board to be tested from being affected and to improve the test accuracy.

[0093] like Figure 8 As shown, a method for detecting the timing of a single board signal change includes the following steps:

[0094] After L boards to be tested are plugged into the board sockets and acquisition ports respectively, the detection equipment is started to establish communication between the board control selection module, the signal acquisition module and the industrial computer;

[0095] The industrial computer sends a control command to the main strobe relay according to the detection mode and starts timing;

[0096] The general gating relay strobes N gating terminal groups according to the control instruction, so that the single board to be tested operates according to the detection mode;

[0097] The signal acquisition module obtains the output signal of the board to be tested and sends it to the industrial computer;

[0098] The industrial computer analyzes whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing situation;

[0099] Repeat the test until each detection mode has been tested at least once to complete the test.

[0100] Wherein, the industrial computer sends a control instruction to the general strobe relay according to the detection mode, and before starting the timing step, it also includes a self-test step:

[0101] The industrial computer sends a self-test command to the main strobe relay;

[0102] The general strobe relay controls the common end of the K-group self-test strobe terminal group to be connected with the K collection terminals of the AD collection unit;

[0103] The AD acquisition unit acquires the acquisition signal and sends it to the industrial computer;

[0104] The industrial computer analyzes whether the main selection relay is in normal working condition according to the collected signal.

[0105] The step of the industrial computer analyzing whether the general gating relay is in normal working condition according to the collected signal comprises:

[0106] Whether the K collected signals are all high-level signals,

[0107] If the K collected signals are all high-level signals, the general gating relay is operating normally;

[0108] If at least one of the K collected signals is not a high-level signal, the operating condition of the general selection relay is abnormal.

[0109] The step of the industrial computer analyzing whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing condition comprises:

[0110] When the industrial computer receives a high level output signal corresponding to any group of acquisition ports, it stops timing the group of acquisition ports;

[0111] The industrial computer determines whether the timing duration of the group of acquisition ports is equal to the threshold (equal to the threshold means that the timing duration is within the range of the threshold, and the threshold is the preset time value)

[0112] If the timing duration of the group of acquisition ports is not equal to the threshold, the timing of the board to be tested corresponding to the group of acquisition ports in the current detection mode is unqualified;

[0113] If the timing duration of the group of acquisition ports is equal to the threshold, the timing of the board to be tested corresponding to the group of acquisition ports in the current detection mode is qualified;

[0114] The industrial computer further analyzes and determines the voltage value of the output signal of the group of acquisition ports.

[0115] If the voltage value of the output signal of the group of acquisition ports is not equal to the standard value, the output signal of the board to be tested corresponding to the group of acquisition ports in the current detection mode is unqualified;

[0116] If the voltage value of the output signal of the group of acquisition ports is equal to the standard value, the output signal of the board to be tested corresponding to the group of acquisition ports in the current detection mode is qualified;

[0117] If both the output signal and the timing conditions are qualified, the board to be tested corresponding to the group of acquisition ports is qualified in the current detection mode, otherwise it is unqualified.

[0118] The following detection methods are as follows: Figure 8 As shown:

[0119] S01: Plug the board to be tested into the board socket and the acquisition port accordingly, and start the testing equipment;

[0120] S02: The industrial computer controls the main strobe relay and the AD acquisition unit to communicate and self-check;

[0121] S03: The industrial computer selects the detection mode, sends the corresponding control command to the general strobe relay, and starts timing;

[0122] S04: the general strobe relay strobes any two strobe terminal groups among the N strobe terminal groups according to the control instruction, so that the board to be tested operates according to the corresponding detection mode;

[0123] S05: The output signal generated by the board under test when running in the corresponding detection mode is processed by the AD acquisition unit and sent to the industrial computer. The industrial computer determines whether to stop timing and records it according to the output signal;

[0124] S06: The industrial computer analyzes whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing situation;

[0125] S07: Repeat the test until each detection mode of the board to be tested is tested at least once, and the test is completed, and qualified and unqualified boards are screened out.

[0126] The self-test method of step S02 may include: Fig. 9 As shown,: S021: the industrial computer sends a self-test command to the main strobe relay;

[0127] S022: The power supply module transmits the corresponding voltage signal to the normally open terminals of the three relays of the master gate controller, and then transmits it to the common terminal;

[0128] S023: The general selection relay controls the common end of the three groups of relays to be connected to the collection end of the AD collection unit, and transmits the voltage signal to the AD collection unit;

[0129] S024: The AD acquisition unit processes the voltage signal and sends it to the industrial computer;

[0130] S025: The industrial computer analyzes whether the main selection relay is operating normally based on the received signal.

[0131] like Fig.10 As shown, S0251: analyzing the received signal;

[0132] If both are high level signals, execute S0252, otherwise execute S0253;

[0133] S0252: The main strobe relay is in normal working condition, the program is in standby mode, and the three groups of relays of the main control relay are disconnected;

[0134] S0253: The main selection relay is operating abnormally and needs to be re-debugged.

[0135] like Fig.11 As shown, S051: the output signal generated by the board to be tested when running in the corresponding detection mode is processed by the AD acquisition unit;

[0136] S052: The AD acquisition unit converts the output signal into a double-precision floating point number, and the industrial computer compares and analyzes the output signal with a predetermined value (0.5 in this embodiment);

[0137] The size of the predetermined value is determined only by the voltage to be used as the basis for determining whether the output signal triggers the timing stop. In this embodiment, the timing is stopped when the predetermined value is greater than 0.5. (The predetermined value of the voltage signal can be adjusted according to requirements, because the predetermined value of 0.5 in the present invention is the critical value for triggering the timing stop).

[0138] If the output signal is greater than the set value, execute S053, otherwise execute S054;

[0139] S053: The industrial computer sends a command to stop the board under test, stop timing and save current data;

[0140] S054: The industrial computer sends a command to let the board under test continue to run. If the next output signal appears, execute S051; otherwise, execute S055;

[0141] S055: The board to be tested ends running in the test mode, the industrial computer stops timing and saves the current data;

[0142] like Fig.12 As shown, S061: the industrial computer analyzes and determines the timing duration, and if it is outside the threshold range, S062 is executed, and if it is within the threshold range, S063 is executed;

[0143] The threshold is the preset time value;

[0144] S062: If the timing duration of the group of acquisition ports is outside the threshold range, the timing of the board to be tested corresponding to the group of acquisition ports in the current detection mode is unqualified;

[0145] S063: If the timing duration of the group of acquisition ports is within the threshold range, the timing of the board to be tested corresponding to the group of acquisition ports in the current detection mode is qualified;

[0146] S064: The industrial computer further analyzes and determines the voltage value of the output signal of the group of acquisition ports;

[0147] Because when the voltage value of the output signal is higher than the standard value, the timing will be triggered to stop, but the voltage value of the output signal may not meet the standard value, so it is necessary to further compare the voltage value of the output signal with the standard value. (For example, in detection mode 1, the standard value is 5V, the voltage value of the output signal detected for the first time is 5V, and the voltage value of the output signal detected for the second time is also 5V. The voltage values ​​of the output signals detected twice are equal to the standard value, so the output signal is qualified in detection mode 1.)

[0148] S065: If the voltage value of the output signal of the group of acquisition ports is not equal to the standard value, the output signal of the board to be tested corresponding to the group of acquisition ports in the current detection mode is unqualified;

[0149] S066: If the voltage value of the output signal of the group of acquisition ports is equal to the standard value, the board to be tested corresponding to the group of acquisition ports is qualified in the current detection mode;

[0150] Among them, A detection mode is configured, then every two groups of gating terminals in the N groups of gating terminals of the general gating relay constitute a detection mode of the single board to be tested.

[0151] The step of the master gating relay gating N gating terminal groups according to the control instruction so that the single board to be tested operates according to the detection mode includes:

[0152] The general strobe relay strobes any two strobe terminal groups among the N strobe terminal groups according to the control instruction, so that the single board to be tested operates according to the corresponding detection mode.

[0153] In this embodiment, the N groups of gate terminals of the master gate controller correspond to relays No. 1, No. 2, No. 3 and No. 4, so the Detection modes:

[0154] Take one of the detection modes as an example:

[0155] When the system self-checks normally, select detection mode 1, the computer sends a command to the relay control board to control relay No. 1 to close and relay No. 3 to close (different modes respectively). When relay No. 1 and relay No. 3 are closed, J10-13 and +G are 5V and 9V respectively. J10-13 transmits the signal to pin 20 of P1~P8 (J10-1~J10-8 respectively) through the circuit, and +G signal transmits the signal to pin 2 of P1~P8 (+G1~+G8 respectively) through the circuit. When P1~P8 receive the control signal, the tested product starts to work;

[0156] The other detection modes are just different commands sent by the industrial computer to the main control relay. They are mainly for controlling J10-13, J5-13, +G, +D. Different combinations are implemented according to requirements. The corresponding signals are 5V, gnd, 9V, gnd, and then transmitted to each board to be tested through the circuit. According to different combinations, multiple mode tests can be implemented. Only 6 detection modes are set in this solution.

[0157] The specific test results are as follows:

[0158]

[0159] The size of the preset time and standard value can actually be set arbitrarily in the program interface. As long as the timing stops within the set requirements, it is judged to be normal.

[0160] The above are only preferred implementations of the present invention. It should be pointed out that a number of modifications and improved technical solutions made by those skilled in the art without departing from the technical solution should also be deemed to fall within the scope of protection required by the claims.

Claims

1. A method for detecting the timing of a single board signal change, characterized in that: The following steps are involved: After L boards to be tested are plugged into the board sockets and the acquisition serial port respectively, the detection equipment is started to establish communication between the board control selection module, the signal acquisition module and the industrial computer; The industrial computer sends a control command to the main strobe relay according to the detection mode and starts timing; The general gating relay strobes N gating terminal groups according to the control instruction, so that the single board to be tested operates according to the detection mode; The signal acquisition module obtains the output signal of the board to be tested and sends it to the industrial computer; The industrial computer analyzes whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing situation; Repeat the test until each detection mode has been tested at least once to complete the test; The step of the industrial computer analyzing whether the board to be tested corresponding to the detection mode is qualified according to the output signal and the timing situation comprises: When the industrial computer receives a high level output signal corresponding to any group of acquisition serial ports, it stops timing the group of acquisition serial ports; The industrial computer determines whether the timing duration of the serial port acquisition group is less than the threshold. If the timing duration of the group of acquisition serial ports is less than the threshold, the board to be tested corresponding to the group of acquisition serial ports fails in the current detection mode; If the timing duration of the group of acquisition serial ports is greater than or equal to the threshold, the board to be tested corresponding to the group of acquisition serial ports is qualified in the current detection mode.

2. A single board signal change travel time detection method according to claim 1, characterized in that: The industrial computer sends a control instruction to the general strobe relay according to the detection mode, and before starting the timing step, it also includes a self-test step: The industrial computer sends a self-test command to the main strobe relay; The general strobe relay controls the common end of the K-group self-test strobe terminal group to be connected with the K collection terminals of the AD collection unit; The AD acquisition unit acquires the acquisition signal and sends it to the industrial computer; The industrial computer analyzes whether the main selection relay is in normal working condition according to the collected signal.

3. A single board signal change travel time detection method according to claim 2, characterized in that: The step of the industrial computer analyzing whether the general gating relay is in normal working condition according to the collected signal comprises: Whether the K collected signals are all high-level signals, If the K collected signals are all high-level signals, the general gating relay is operating normally; If at least one of the K collected signals is not a high-level signal, the operating condition of the general selection relay is abnormal.

4. A single board signal change travel time detection method according to claim 1, characterized in that: include A detection mode is configured, then every two groups of gating terminals in the N groups of gating terminals of the general gating relay constitute a detection mode of the single board to be tested.

5. A single board signal change travel time detection method according to claim 4, characterized in that: The step of the general gating relay gating N gating terminal groups according to the control instruction so that the single board to be tested operates according to the detection mode includes: The general strobe relay strobes any two strobe terminal groups among the N strobe terminal groups according to the control instruction, so that the single board to be tested operates according to the corresponding detection mode.

6. A single board signal change travel time detection method according to claim 1, characterized in that: A single-board signal change timing detection device is used, comprising a device body and an industrial computer, wherein a power supply module, a single-board control gating module and a signal acquisition module are arranged in the device body; The single-board control gating module includes a general gating relay, L groups of switching units and L single-board sockets, the general gating relay is provided with N groups of gating terminal groups, each group of the gating terminal groups is provided with a common terminal, a normally open terminal and a normally closed terminal, the common terminal of the N groups of the gating terminal groups is correspondingly connected to the N output voltage terminal groups of the power supply module, the normally open terminal or the normally closed terminal of the N groups of the gating terminal groups is correspondingly connected to the N voltage input terminals of each group of switching units, and the communication terminal group of the general gating relay is connected to the gating control terminal group of the industrial computer; The L*N voltage output terminals of the L groups of adapter units are connected to the input terminal groups of the L single board sockets correspondingly, and the L single board sockets are used to plug in the working input terminal groups of the L single boards to be tested; The signal acquisition module is provided with L groups of acquisition serial ports, which are used to plug in the signal output terminal groups of L single boards to be tested, and the L groups of acquisition serial ports are connected to the acquisition terminal group of the AD acquisition unit, and the output terminal group of the AD acquisition unit is connected to the receiving terminal group of the industrial computer; L and N are both natural numbers greater than or equal to 1; The power supply module is used to provide the single board control gating module and the signal acquisition module with operating voltage.

7. A method for detecting the timing of a single board signal change according to claim 6, characterized in that: A touch-control industrial computer is arranged on the surface of the device body, and the touch-control industrial computer is respectively connected with the selection relay and the AD acquisition unit.

8. A method for detecting the timing of a single board signal change according to claim 6, characterized in that: The signal acquisition module further includes a signal isolation unit, which is used to control the connection between the corresponding acquisition serial port and the acquisition terminal group of the AD acquisition unit according to the signal of the acquisition serial port.

9. A method for detecting the timing of a single board signal change according to claim 6, characterized in that: The general enabling relay is also provided with K groups of self-test enabling terminal groups, each group of the self-test enabling terminal groups is provided with a common terminal, a normally open terminal and a normally closed terminal, the common terminals of the K groups of self-test enabling terminal groups are correspondingly connected to the K output voltage terminal groups of the power supply module, and the normally open terminals or normally closed terminals of the K groups of self-test enabling terminal groups are correspondingly connected to K acquisition terminals of the AD acquisition unit.