Gate control panel detection method, device, electronic equipment and storage medium

By collaboratively analyzing the voltage signal of the gate control board with the host computer and the signal detection module, the problem of the inability to quantify fault detection in the existing technology is solved, and accurate fault detection is achieved, thereby improving the detection accuracy and troubleshooting efficiency of the gate control board.

CN120669685BActive Publication Date: 2025-10-28HANGZHOU METRO TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202511171802.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-21
Publication Date
2025-10-28
Estimated Expiration
2045-08-21

AI Technical Summary

Technical Problem

In the existing technology, the fault detection of the gate control board cannot quantify the degree of fault, resulting in low detection accuracy, faults being masked, and affecting the normal operation of the gate.

Method used

The host computer sends signals to the gate control board, collects and analyzes the voltage signals output by the control board, converts them into voltage values ​​using the signal detection module, and determines the degree of fault by combining preset thresholds and approximation algorithms, thus achieving accurate detection.

Benefits of technology

This improves the accuracy of gate control board detection, enables timely detection of potential faults, prevents faults from being masked, and enhances the comprehensiveness and pertinence of fault diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120669685B_ABST
    Figure CN120669685B_ABST
Patent Text Reader

Abstract

This application provides a method, apparatus, electronic device, and storage medium for detecting a gate control board. The method includes: sending a first signal to the gate control board, wherein the first signal instructs the control board to output a first voltage signal; sending a second signal to a signal detection module, wherein the second signal instructs the signal detection module to acquire the first voltage signal output by the control board; receiving a voltage value corresponding to the first voltage signal sent by the signal detection module; and determining the detection result of the control board based on the voltage value corresponding to the first voltage signal. This method can accurately acquire the voltage value corresponding to the first voltage signal output by the control board, and thus, through the voltage value corresponding to the first voltage signal, promptly detect potential faults such as voltage deviation, preventing faults from being masked and improving the accuracy of control board detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of industrial automation control, and in particular to a method, apparatus, electronic device and storage medium for detecting a gate control board. Background Technology

[0002] In the field of industrial automation control, the gate control board is the core component that enables the interaction between various internal devices of the gate and between the gate and external devices. Once the gate control board malfunctions, it may cause the gate to stop or malfunction. Therefore, accurate fault detection of the gate control board is a key link to ensure the production quality of the gate.

[0003] In related technologies, indicator lights are installed on the gate control panel, and the working status of the gate control panel is linked to the on / off state of the indicator lights. When the gate control panel is in a normal working state, the indicator lights are constantly on or flash according to the preset normal state color; when the gate control panel is in an abnormal working state, the indicator lights are off or flash according to the preset abnormal state color.

[0004] However, indicator lights can only make qualitative judgments by being constantly on or off, or by flashing according to preset normal / abnormal states, and cannot quantify the degree of fault, which leads to the fault being masked and thus reduces the accuracy of the control board's detection. Summary of the Invention

[0005] This application provides a method, apparatus, electronic device, and storage medium for detecting a gate control board, in order to improve the accuracy of control board detection.

[0006] In a first aspect, embodiments of this application provide a method for detecting a gate control board, comprising:

[0007] Send a first signal to the control board of the gate, the first signal being used to instruct the control board to output a first voltage signal;

[0008] A second signal is sent to the signal detection module, the second signal being used to instruct the signal detection module to acquire the first voltage signal output by the control board;

[0009] Receive the voltage value corresponding to the first voltage signal sent by the signal detection module;

[0010] The detection result of the control board is determined based on the voltage value corresponding to the first voltage signal.

[0011] In some embodiments, determining the detection result of the control board based on the voltage value corresponding to the first voltage signal includes:

[0012] Obtain the preset voltage value and the preset first threshold;

[0013] Determine the difference between the voltage value corresponding to the first voltage signal and the preset voltage value;

[0014] The detection result of the control board is determined based on the difference and the preset first threshold.

[0015] In some embodiments, the voltage value corresponding to the first voltage signal is obtained by the signal detection module converting the first voltage signal into a digitally encoded voltage value using a successive approximation algorithm.

[0016] In some embodiments, the method further includes:

[0017] Send a first instruction to the signal detection module, the first instruction including preset voltage signal parameters, the first instruction being used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters, and send the second voltage signal to the control board;

[0018] A third signal is sent to the control board, the third signal being used to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal;

[0019] Receive the feedback signal sent by the control board;

[0020] Based on the returned signal, the detection result of the control board is determined.

[0021] In some embodiments, determining the detection result of the control board based on the returned signal includes:

[0022] The returned signal is analyzed to obtain the parameters of the second voltage signal;

[0023] The detection result of the control board is determined based on the parameters of the second voltage signal and the preset voltage signal parameters.

[0024] In some embodiments, the method further includes:

[0025] A second instruction is sent to the control panel, the second instruction including an audio file, the second instruction being used to instruct the control panel to play the audio file.

[0026] In some embodiments, after determining the detection result of the control board, the method further includes:

[0027] Get a preset visualization template;

[0028] Based on the preset visualization template, the detection results are presented in a graphical interface.

[0029] Secondly, embodiments of this application provide a detection device for a gate control board, comprising:

[0030] The transmitting module is used to send a first signal to the control board of the gate, the first signal being used to instruct the control board to output a first voltage signal;

[0031] The transmitting module is further configured to send a second signal to the signal detection module, the second signal being used to instruct the signal detection module to acquire the first voltage signal output by the control board;

[0032] The receiving module is used to receive the voltage value corresponding to the first voltage signal sent by the signal detection module;

[0033] The determination module is used to determine the detection result of the control board based on the voltage value corresponding to the first voltage signal.

[0034] In some embodiments, the determining module is specifically used for:

[0035] Obtain the preset voltage value and the preset first threshold;

[0036] Determine the difference between the voltage value corresponding to the first voltage signal and the preset voltage value;

[0037] The detection result of the control board is determined based on the difference and the preset first threshold.

[0038] In some embodiments, the voltage value corresponding to the first voltage signal is obtained by the signal detection module converting the first voltage signal into a digitally encoded voltage value using a successive approximation algorithm.

[0039] In some embodiments, the determining module is further configured to:

[0040] Send a first instruction to the signal detection module, the first instruction including preset voltage signal parameters, the first instruction being used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters, and send the second voltage signal to the control board;

[0041] A third signal is sent to the control board, the third signal being used to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal;

[0042] Receive the feedback signal sent by the control board;

[0043] Based on the returned signal, the detection result of the control board is determined.

[0044] In some embodiments, the determining module is further configured to:

[0045] The returned signal is analyzed to obtain the parameters of the second voltage signal;

[0046] The detection result of the control board is determined based on the parameters of the second voltage signal and the preset voltage signal parameters.

[0047] In some embodiments, the determining module is further configured to:

[0048] A second instruction is sent to the control panel, the second instruction including an audio file, the second instruction being used to instruct the control panel to play the audio file.

[0049] In some embodiments, the determining module is further configured to:

[0050] Get a preset visualization template;

[0051] Based on the preset visualization template, the detection results are presented in a graphical interface.

[0052] Thirdly, embodiments of this application provide an electronic device, including: a memory and a processor;

[0053] The memory stores computer-executable instructions;

[0054] The processor executes computer execution instructions stored in the memory, causing the processor to perform the first aspect and / or various possible implementations of the first aspect as described above.

[0055] Fourthly, embodiments of this application provide a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the first aspect and / or various possible implementations of the first aspect.

[0056] Fifthly, embodiments of this application provide a computer program product, including a computer program that, when executed by a processor, implements the first aspect and / or various possible implementations of the first aspect.

[0057] The present application provides a method, apparatus, electronic device, and storage medium for detecting a gate control board. A host computer sends a first signal to the gate control board, instructing the control board to output a first voltage signal. The host computer then sends a second signal to a signal detection module, instructing the signal detection module to collect the first voltage signal output by the control board. The host computer receives the voltage value corresponding to the first voltage signal sent by the signal detection module. Based on the voltage value corresponding to the first voltage signal, the host computer determines the detection result of the control board. In this method, the host computer can accurately obtain the voltage value corresponding to the first voltage signal output by the control board, and thus, through the voltage value corresponding to the first voltage signal, promptly detect potential faults such as voltage deviation, preventing faults from being masked and improving the accuracy of control board detection. Attached Figure Description

[0058] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0059] Figure 1 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 1 ;

[0060] Figure 2 A flowchart illustrating the detection method for the gate control board provided in this application embodiment. Figure 1 ;

[0061] Figure 3 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 2 ;

[0062] Figure 4 A flowchart illustrating the detection method for the gate control board provided in this application embodiment. Figure 2 ;

[0063] Figure 5 A flowchart illustrating the method for graphical representation of detection results provided in this application embodiment;

[0064] Figure 6 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 3 ;

[0065] Figure 7 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 4 ;

[0066] Figure 8 A schematic diagram of the detection device for the gate control board provided in this application embodiment;

[0067] Figure 9This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0068] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation

[0069] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0070] In the field of industrial automation control, turnstiles are devices used to manage pedestrian flow and control the opening and closing of passageways. They are applied in various places such as subway stations, train stations, stadiums, and office buildings, and their normal operation is directly related to the efficiency and safety of personnel passage. The turnstile control board, as the core component that enables interaction between the various internal devices of the turnstile and between the turnstile and external devices, is responsible for receiving various instructions (including control instructions from the host computer and detection signals from external sensors), processing interactive data, coordinating the operation of internal motors, sensor triggering, indicator light displays, and other functional modules. Its performance and functional integrity play a decisive role in the overall operation of the turnstile. Once the turnstile control board malfunctions, it may cause the turnstile to stop or malfunction. Therefore, accurate fault detection of the turnstile control board is a key link in ensuring the quality of turnstile production.

[0071] In related technologies, indicator lights are installed on the gate control panel, and the working status of the gate control panel is linked to the on / off state of the indicator lights. When the gate control panel is in a normal working state, the indicator lights are constantly on or flash according to the preset normal state color (e.g., green); when the gate control panel is in an abnormal working state, the indicator lights are off or flash according to the preset abnormal state color (e.g., red).

[0072] However, this indicator light-based detection method has significant limitations. Indicator lights can only provide qualitative judgments through constant illumination or flashing colors corresponding to preset normal or abnormal states (e.g., "gate control board fault" or "gate control board normal"). It cannot quantify the degree of fault, leading to the masking of the fault and reducing the accuracy of the control board detection. For example, when a circuit module on the control board experiences a voltage shift but has not yet completely failed, the indicator light may still show a normal state, thus masking the fault.

[0073] This application provides a method for detecting a gate control board. A host computer sends a first signal to the gate control board, instructing the control board to output a first voltage signal. The host computer then sends a second signal to a signal detection module, instructing the signal detection module to collect the first voltage signal output by the control board. The host computer receives the voltage value corresponding to the first voltage signal sent by the signal detection module. Based on the voltage value corresponding to the first voltage signal, the host computer determines the detection result of the control board. In this method, the host computer can accurately obtain the voltage value corresponding to the first voltage signal output by the control board, and thus, through the voltage value corresponding to the first voltage signal, promptly detect potential faults such as voltage deviation, preventing faults from being masked and improving the accuracy of control board detection.

[0074] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.

[0075] Figure 1 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 1 ,like Figure 1 As shown, the system includes: a host computer and a tooling platform for the turnstile. The tooling platform for the turnstile includes a first serial port, a control board for the turnstile, and a signal detection module.

[0076] The gate's control board includes a second serial port, a Metal-Oxide-Semiconductor (MOS) output module, a Darlington output module, and a Pulse Width Modulation (PWM) output module.

[0077] The host computer is connected to the tooling platform of the turnstile. Specifically, the host computer is connected to the first serial port.

[0078] The host computer is connected to the signal detection module. Specifically, the first serial port is also connected to the signal detection module.

[0079] The host computer is connected to the control board of the turnstile. Specifically, the first serial port is also connected to the second serial port.

[0080] The second serial port is also connected to the MOS output module, the Darlington output module, and the PWM output module.

[0081] The signal detection module is connected to the control board of the gate. Specifically, the signal detection module is connected to the MOS output module, the Darlington output module, and the PWM output module.

[0082] The host computer is used to send a first signal to the control board of the gate, which instructs the control board to output a first voltage signal; it is also used to send a second signal to the signal detection module, which instructs the signal detection module to collect the first voltage signal output by the control board; it is also used to receive the voltage value corresponding to the first voltage signal sent by the signal detection module; and it is also used to determine the detection result of the control board based on the voltage value corresponding to the first voltage signal.

[0083] The control board is used to output a first voltage signal after receiving a first signal.

[0084] The signal detection module is used to acquire the first voltage signal output by the control board after receiving the second signal; it is also used to send the voltage value corresponding to the first voltage signal to the host computer.

[0085] exist Figure 1 Based on the detection system of the gate control panel shown, the following is through Figure 2 The testing method for the gate control board is explained.

[0086] Figure 2 A flowchart illustrating the detection method for the gate control board provided in this application embodiment. Figure 1 ,like Figure 2 As shown, the method includes:

[0087] S201. Send a first signal to the control board of the gate, wherein the first signal is used to instruct the control board to output a first voltage signal.

[0088] In this embodiment, the host computer sends a first signal to the control board of the gate. Correspondingly, upon receiving the first signal, the control board outputs a first voltage signal.

[0089] The control board can be an input / output (IO) board.

[0090] Optionally, the first signal may be used to instruct the MOS output module, Darlington output module, and / or PWM output module of the control board to output a first voltage signal.

[0091] Specifically, after receiving the first signal, the control board outputs a first voltage signal through the MOS output module, Darlington output module, and / or PWM output module according to the first signal.

[0092] S202. Send a second signal to the signal detection module. The second signal is used to instruct the signal detection module to acquire the first voltage signal output by the control board.

[0093] In this embodiment, the host computer sends a second signal to the signal detection module. Correspondingly, upon receiving the second signal, the signal detection module acquires the first voltage signal output by the control board; the signal detection module converts the first voltage signal into a voltage value corresponding to the first voltage signal; and the signal detection module sends the voltage value corresponding to the first voltage signal to the host computer.

[0094] Optionally, the second signal can be used to indicate the signal detection module to acquire the first voltage signal output by the MOS output module, Darlington output module, and / or PWM output module of the control board.

[0095] The second signal is associated with the first signal. For example, when the host computer sends the first signal to the control board of the gate, instructing the MOS output module of the control board to output a first voltage signal, the host computer sends the second signal to the signal detection module, instructing the signal detection module to collect the first voltage signal output by the MOS output module of the control board.

[0096] Optionally, when the second signal indication signal detection module acquires the first voltage signal output by at least two output modules of the control board, the first voltage signal may include multiple voltage sub-signals, each corresponding one-to-one with an output module of the control board. For example, for the MOS output module, the corresponding voltage sub-signal is voltage sub-signal 1; for the Darlington output module, the corresponding voltage sub-signal is voltage sub-signal 2; and for the PWM output module, the corresponding voltage sub-signal is voltage sub-signal 3.

[0097] Correspondingly, the voltage value corresponding to the first voltage signal also includes multiple sub-voltage values, with each sub-voltage value corresponding to a voltage sub-signal. For example, voltage sub-signal 1 corresponds to sub-voltage value 1; voltage sub-signal 2 corresponds to sub-voltage value 3; and voltage sub-signal 3 corresponds to sub-voltage value 3.

[0098] The following section uses the first voltage signal output by the MOS output module and Darlington output module of the control board acquired by the second signal indication signal detection module as an example to explain the one-to-one correspondence between the voltage sub-signals and the output modules of the control board, as well as the one-to-one correspondence between the sub-voltage values ​​and the voltage sub-signals.

[0099] For example, the first voltage signal includes voltage sub-signal 1 and voltage sub-signal 2. Voltage sub-signal 1 is the voltage signal output by the MOS output module of the control board, and voltage sub-signal 2 is the voltage signal output by the Darlington output module of the control board.

[0100] The signal detection module converts voltage sub-signal 1 into sub-voltage value 1 and voltage sub-signal 2 into sub-voltage value 2 to obtain the voltage value corresponding to the first voltage signal. The voltage value corresponding to the first voltage signal includes sub-voltage value 1 and sub-voltage value 2. Sub-voltage value 1 is the voltage value corresponding to voltage sub-signal 1, and sub-voltage value 2 is the voltage value corresponding to voltage sub-signal 2.

[0101] In some embodiments, the signal detection module includes a successive approximation analog-to-digital converter (ADC).

[0102] In some embodiments, the signal detection module employs a successive approximation algorithm to convert the first voltage signal into a voltage value corresponding to the first voltage signal.

[0103] S203, The voltage value corresponding to the first voltage signal sent by the signal detection module.

[0104] In this embodiment, the host computer receives the voltage value corresponding to the first voltage signal sent by the signal detection module.

[0105] In some embodiments, the voltage value corresponding to the first voltage signal is obtained by the signal detection module using a successive approximation algorithm to convert the first voltage signal into a digitally encoded voltage value.

[0106] S204. Based on the voltage value corresponding to the first voltage signal, determine the detection result of the control board.

[0107] In this embodiment of the application, the host computer determines the detection result of the control board based on the voltage value corresponding to the first voltage signal.

[0108] In some embodiments, when the voltage value corresponding to the first voltage signal is a single value, the detection result of the control board is determined based on the voltage value corresponding to the first voltage signal, including:

[0109] Obtain the preset voltage value and the preset first threshold;

[0110] Determine the difference between the voltage value corresponding to the first voltage signal and the preset voltage value;

[0111] The detection result of the control board is determined based on the difference and the preset first threshold.

[0112] Optionally, the preset voltage value and the preset first threshold are determined by the voltage output by the control board as needed.

[0113] In some embodiments, when the voltage value corresponding to the first voltage signal is a single value, the detection result of the control board includes voltage too high, voltage too low, and voltage normal. Then, based on the difference and a preset first threshold, the detection result of the control board is determined, including:

[0114] Determine the absolute value of the difference;

[0115] Determine whether the absolute value of the difference is less than or equal to a preset first threshold.

[0116] When the absolute value of the difference is less than or equal to the preset first threshold, the detection result of the control board is determined to be normal voltage.

[0117] When the absolute value of the difference is greater than the preset first threshold, it is determined whether the difference is greater than 0; when the difference is greater than 0, the detection result of the control board is determined to be that the voltage is too high; when the difference is less than 0, the detection result of the control board is determined to be that the voltage is too low.

[0118] In some embodiments, when the absolute value of the difference is greater than a preset first threshold, the detection result of the control board may further include a voltage deviation value. Specifically, when the absolute value of the difference is greater than the preset first threshold and the difference is greater than 0, the detection result of the control board is determined to be a voltage that is too high and the voltage deviation value is the difference; when the absolute value of the difference is greater than the preset first threshold and the difference is less than 0, the detection result of the control board is determined to be a voltage that is too low and a voltage deviation value, wherein the voltage deviation value is the difference.

[0119] For example, if the preset voltage value is 24V, the preset first threshold is 0.1V, and the voltage value corresponding to the first voltage signal is 22V, then the difference between the voltage value corresponding to the first voltage signal and the preset voltage value is determined to be -2V. The absolute value of the difference is determined to be 2. It is determined that 2V is greater than 0.1V and -2 is greater than 0. Therefore, the detection result of the control board is determined to be that the voltage is too low and the voltage deviation value is -2V.

[0120] Optionally, when the voltage value corresponding to the first voltage signal includes multiple sub-voltage values, the preset voltage value may include multiple preset sub-voltage values ​​and a preset first sub-threshold, with each preset sub-voltage value, the preset first sub-threshold, and the sub-voltage value corresponding one-to-one. For example, for sub-voltage value 1 corresponding to the MOS output module, there is a preset sub-voltage value 1 (e.g., 3.3V) and a preset first sub-threshold 1 (e.g., 0.165V); for sub-voltage value 2 corresponding to the Darlington output module, there is a preset sub-voltage value 2 (e.g., 5V) and a preset first sub-threshold 2 (e.g., 0.25V); for sub-voltage value 3 corresponding to the PWM output module, there is a preset sub-voltage value 3 (e.g., 12V) and a preset first sub-threshold 3 (e.g., 0.6V).

[0121] In some embodiments, when the voltage value corresponding to the first voltage signal includes multiple sub-voltage values, the detection results of each output module of the control board include voltage too high, voltage too low, and voltage normal. In this case, the detection results of the control board include normal and abnormal. Based on the voltage value corresponding to the first voltage signal, the detection result of the control board is determined as follows:

[0122] Based on each sub-voltage value, determine the detection result of the output module of the control board corresponding to each sub-voltage value;

[0123] When the detection results of the output modules of the control board corresponding to each sub-voltage value are all normal, the detection result of the control board is determined to be normal.

[0124] If at least one output module in the control board's output module has a voltage that is too high or too low, the control board's detection result is determined to be abnormal.

[0125] It should be noted that the execution method of "determining the detection result of the output module of the control board corresponding to each sub-voltage value based on each sub-voltage value" is similar to the execution method of "determining the detection result of the control board based on the voltage value corresponding to the first voltage signal" when the voltage value corresponding to the first voltage signal is a single value, and will not be repeated here.

[0126] In some embodiments, among the detection results of the output modules of the control board corresponding to each sub-voltage value, at least one output module's detection result is either voltage too high or voltage too low. The detection results of the control board may also include the detection results of abnormal modules. Specifically, if at least one output module's detection result is either voltage too high or voltage too low among the detection results of the output modules of the control board corresponding to each sub-voltage value, the detection result of the control board is determined to be abnormal, an abnormal module, or the detection result of an abnormal module.

[0127] For example, if the detection result of the MOS output module corresponding to sub-voltage value 1 is normal, the detection result of the Darlington output module corresponding to sub-voltage value 2 is low voltage with a voltage deviation of -2V, and the detection result of the PWM output module corresponding to sub-voltage value 3 is high voltage with a voltage deviation of 1V, then the detection result of the control board is determined to be abnormal. The abnormal modules include the Darlington output module and the PWM output module. Specifically, the Darlington output module has a low voltage with a voltage deviation of -2V, and the PWM output module has a high voltage with a voltage deviation of 1V.

[0128] exist Figure 2In this embodiment, the host computer sends a first signal to the control board of the gate, wherein the first signal is used to instruct the control board to output a first voltage signal; the host computer sends a second signal to the signal detection module, wherein the second signal is used to instruct the signal detection module to collect the first voltage signal output by the control board; the host computer receives the voltage value corresponding to the first voltage signal sent by the signal detection module; and the host computer determines the detection result of the control board based on the voltage value corresponding to the first voltage signal. In the above method, the host computer can accurately obtain the voltage value corresponding to the first voltage signal output by the control board, and thus, through the voltage value corresponding to the first voltage signal, timely detect potential faults such as voltage deviation, avoid faults being masked, and improve the accuracy of control board detection.

[0129] Furthermore, in this embodiment, different output modules of the control board (such as MOS output module, Darlington output module, and / or PWM output module) can be tested simultaneously to identify the abnormal conditions of specific modules (such as voltage too high or too low), providing accurate basis for fault diagnosis and maintenance, and effectively improving the comprehensiveness and pertinence of the control board test of the gate.

[0130] exist Figure 1 Based on the detection system of the gate control panel shown, the following is through Figure 3 Further explanation is given regarding the detection system of the gate control board.

[0131] Figure 3 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 2 ,like Figure 3 As shown, the control panel of the turnstile also includes an input module, wherein,

[0132] The signal detection module is also connected to the input module.

[0133] The input module is connected to the second serial port.

[0134] The host computer is used to send a first instruction to the signal detection module, the first instruction including preset voltage signal parameters, the first instruction being used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters and send the second voltage signal to the control board; it is also used to send a third signal to the control board, the third signal being used to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal; it is also used to receive the feedback signal sent by the control board; and it is also used to determine the detection result of the control board based on the feedback signal.

[0135] The signal detection module is used to generate a second voltage signal based on preset voltage signal parameters after receiving the first instruction, and send the second voltage signal to the control board.

[0136] Specifically, the signal detection module generates a second voltage signal based on preset voltage signal parameters and sends the second voltage signal to the input module of the control board.

[0137] The control board is used to send a feedback signal containing the second voltage signal to the host computer after receiving the third signal.

[0138] exist Figure 3 Based on the detection system of the gate control panel shown, the following is through Figure 4 The testing method for the gate control board is explained.

[0139] Figure 4 A flowchart illustrating the detection method for the gate control board provided in this application embodiment. Figure 2 ,like Figure 4 As shown, the method includes:

[0140] S401. Send a first instruction to the signal detection module. The first instruction includes preset voltage signal parameters. The first instruction is used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters and send the second voltage signal to the control board.

[0141] In this embodiment, the host computer sends a first instruction to the signal detection module. Correspondingly, upon receiving the first instruction, the signal detection module generates a second voltage signal based on preset voltage signal parameters and sends the second voltage signal to the control board.

[0142] The preset voltage signal parameters include one or more preset sub-voltage signal parameters, which include, but are not limited to, the preset voltage value, preset frequency, preset pulse width, or preset duration corresponding to the voltage signal.

[0143] The preset frequency is, for example, 50Hz or 60Hz.

[0144] The preset pulse width is, for example, 10. 50 .

[0145] The preset duration is the duration for which the signal detection module sends the second voltage signal to the control board.

[0146] S402. Send a third signal to the control board. The third signal is used to instruct the control board to send a feedback signal, wherein the feedback signal includes a second voltage signal.

[0147] In this embodiment, the host computer sends a third signal to the control board. Correspondingly, upon receiving the third signal, the control board sends a feedback signal back to the host computer.

[0148] The return signal includes a second voltage signal.

[0149] Specifically, after receiving the third signal, the control board receives the second voltage signal and sends a feedback signal to the host computer based on the received second voltage signal.

[0150] In some embodiments, when the control board does not receive the second voltage signal, the control board sends a feedback signal to the host computer. At this time, the feedback signal does not contain the second voltage signal.

[0151] S403, Receive the feedback signal sent by the control board.

[0152] In this embodiment of the application, the host computer receives the feedback signal sent by the control board.

[0153] S404. Based on the feedback signal, determine the detection result of the control board.

[0154] In this embodiment of the application, the host computer determines the detection result of the control board based on the feedback signal.

[0155] In some embodiments, determining the detection result of the control board based on the returned signal includes:

[0156] The returned signal is analyzed and processed to obtain the parameters of the second voltage signal;

[0157] The detection result of the control board is determined based on the parameters of the second voltage signal and the preset voltage signal parameters.

[0158] The parameters of the second voltage signal are the parameters of the second voltage signal received by the control board.

[0159] In some embodiments, the parameters of the second voltage signal include one or more sub-parameters, including but not limited to the voltage value, frequency, pulse width, or duration corresponding to the second voltage signal received by the control board.

[0160] The sub-parameters of the second voltage signal correspond one-to-one with the preset sub-voltage signal parameters. For example, the voltage value corresponding to the second voltage signal received by the control board corresponds to the preset voltage value.

[0161] In some embodiments, when the parameters of the second voltage signal include multiple sub-parameters, the detection result of the control board is determined based on the parameters of the second voltage signal and preset voltage signal parameters, including:

[0162] Based on the sub-parameters of the second voltage signal and the preset sub-voltage signal parameters corresponding to each parameter, the detection results of the input module of the control board are determined.

[0163] For example, based on the voltage value of the second voltage signal and the preset voltage value, the detection result of the input module of the control board can be determined to include voltage too high, voltage too low, and voltage normal.

[0164] It should be noted that the execution method of "determining the detection result of the input module of the control board based on the voltage value of the second voltage signal and the preset voltage value" is similar to the execution method of "determining the detection result of the control board based on the voltage value corresponding to the first voltage signal", and will not be repeated here.

[0165] For example, based on the frequency of the second voltage signal and the preset frequency, the detection result of the input module of the control board may also include frequency too high, frequency too low, and frequency normal.

[0166] It should be noted that the execution method of "determining the detection result of the input module of the control board based on the frequency of the second voltage signal and the preset frequency" is similar to the execution method of "determining the detection result of the control board based on the voltage value corresponding to the first voltage signal", and will not be repeated here.

[0167] It should be noted that the execution methods for "determining the detection result of the input module of the control board based on the pulse width of the second voltage signal and the preset pulse width" and "determining the detection result of the input module of the control board based on the duration of the second voltage signal and the preset duration" are similar to the execution method for "determining the detection result of the input module of the control board based on the frequency of the second voltage signal and the preset frequency", and will not be repeated here.

[0168] In some embodiments, the detection results of the input module of the control board may also include the deviation values ​​of each sub-parameter, wherein the determination of the sub-parameter deviation values ​​is similar to that of the voltage deviation values, and will not be described in detail here.

[0169] In some embodiments, when the second voltage signal is not included in the feedback signal, it is determined that the parameters of the second voltage signal are all null values, and thus the detection result of the control board is determined to be signal loss.

[0170] exist Figure 4 In this embodiment, the host computer sends a first instruction to the signal detection module. The first instruction includes preset voltage signal parameters and instructs the signal detection module to generate a second voltage signal based on these parameters and send it to the control board. The host computer then sends a third signal to the control board, instructing it to send a feedback signal, which includes the second voltage signal. The host computer receives the feedback signal from the control board and determines the detection result based on the feedback signal. This method allows for targeted detection of the control board's input module's ability to receive voltage signals. By comparing the actual parameters of the second voltage signal in the feedback signal with preset parameters, it can accurately determine whether the input module has reception abnormalities (such as signal loss or parameter deviation), further improving the comprehensiveness of the gate's control board detection.

[0171] In some embodiments, after determining the detection results of the control panel, the method further includes: presenting the detection results in a graphical interface.

[0172] exist Figure 2 Implementation examples or Figure 4 Based on the embodiments, the following are the methods used: Figure 5 The method of presenting the test results in a graphical interface will be further explained.

[0173] Figure 5 This is a flowchart illustrating the method for graphical representation of detection results provided in this application embodiment, as shown below. Figure 5 As shown, the method includes:

[0174] S501. Obtain the preset visualization template.

[0175] In this embodiment of the application, the host computer obtains a preset visualization template.

[0176] In some embodiments, after determining the detection result of the control panel, the method further includes: obtaining a preset visualization template.

[0177] Optionally, a preset visualization template is obtained based on the first signal. For example, when the first signal indicates that the MOS output module, Darlington output module, and PWM output module of the control board output a first voltage signal, a preset visualization template containing the detection results of the MOS output module, Darlington output module, and PWM output module is obtained.

[0178] The preset visualization template can be the interface framework for the graphical components corresponding to the MOS output module, Darlington output module, and PWM output module. Each graphical component has a status display area and a parameter labeling area. The status display area can distinguish the module status by different colors (such as green for normal voltage, yellow for low voltage, and red for high voltage). The parameter labeling area is used to display the specific detection data of the module (such as voltage deviation value).

[0179] Optionally, a preset visualization template can be obtained according to the first instruction.

[0180] The preset visualization template can also be the interface framework of the graphical component corresponding to the input module. The graphical component corresponding to the input module includes multiple graphical sub-components, and the graphical sub-components correspond one-to-one with the preset sub-voltage signal parameters.

[0181] S502. Based on a preset visualization template, the detection results are presented in a graphical interface.

[0182] In this embodiment of the application, the host computer presents the detection results in a graphical interface based on a preset visualization template.

[0183] For example, the detection result of the control board is determined to be: abnormal. The abnormal modules include the Darlington output module and the PWM output module. Specifically, the voltage of the Darlington output module is too low, with a voltage deviation of -2V, and the detection result of the PWM output module is too high, with a voltage deviation of 1V. Based on a preset visualization template, the detection results are presented in a graphical interface as follows: the graphical component corresponding to the MOS output module is green, the graphical component corresponding to the Darlington output module is yellow and displays a voltage deviation of -2V, and the graphical component corresponding to the PWM output module is red and displays a voltage deviation of 1V.

[0184] For example, the detection result of the control board is determined to be: abnormal. The abnormal module includes an input module, wherein the voltage of the input module is too high, the frequency is too high, the pulse width is too short, and the duration is normal. Based on a preset visualization template, the detection result is presented in a graphical interface as follows: the graphical sub-components corresponding to the preset sub-voltage signal parameters are red, the graphical sub-components corresponding to the preset voltage values ​​are yellow, the graphical sub-components corresponding to the preset frequencies are red, the graphical sub-components corresponding to the preset pulse widths are yellow, and the graphical sub-components corresponding to the preset durations are green.

[0185] Optionally, when the graphical sub-component corresponding to the preset sub-voltage signal parameter is displayed in red or yellow, the parameter deviation value can also be displayed. The parameter deviation value can be, for example, voltage deviation value, frequency deviation value, pulse width deviation value, or duration deviation value.

[0186] Furthermore, after determining multiple detection results from the control board, these results can be presented as a line graph. For example, the horizontal axis represents the time of the detection results, and the vertical axis represents the voltage deviation value of the MOS output module.

[0187] exist Figure 5 In this embodiment, after determining the detection results of the control board, the host computer obtains a preset visualization template; based on the preset visualization template, the host computer presents the detection results in a graphical interface. This method can intuitively and clearly display the status and specific detection data of each module, allowing testing personnel to quickly identify abnormal modules and fault details, effectively improving the readability of the detection results.

[0188] In addition, the changing trends of multiple test results can be presented in the form of line graphs, which facilitates the analysis of the stability of the control board performance and provides more intuitive and convenient support for the troubleshooting and performance analysis of the control board.

[0189] exist Figure 3 Based on the detection system of the gate control panel shown, the following is through Figure 6 Further explanation is given regarding the detection system of the gate control board.

[0190] Figure 6 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 3 ,like Figure 6 As shown, the gate's tooling platform also includes a speaker, and the gate's control board includes an audio input module and an audio output module.

[0191] The host computer is connected to the audio input module, which is also connected to the audio output module, and the audio output module is also connected to the speaker.

[0192] The host computer is also used to send a second instruction to the control board. The second instruction includes an audio file and is used to instruct the control board to play the audio file.

[0193] The speaker is used to control the panel to play audio files.

[0194] Specifically, the host computer sends a second instruction to the audio input module, the audio input module sends an audio file to the audio output module, and the audio output module plays the audio file through a speaker.

[0195] Furthermore, if the speaker accurately plays the audio file, it is confirmed that the audio input module and audio output module of the gate are normal; otherwise, it is confirmed that the audio input module and / or audio output module of the gate are abnormal.

[0196] exist Figure 6 In this embodiment, the host computer sends a second instruction to the audio input module. The second instruction includes an audio file and is used to instruct the control board to play the audio file. Then, the audio input module sends the audio file to the audio output module, and the audio output module plays the audio file through a speaker. The playback effect of the speaker is judged to verify whether the audio modules (audio input module and audio output module) are normal. This method fills the gap in the detection of audio modules by the gate control board, and can intuitively and effectively detect the signal receiving and transmission capabilities of the audio input module and the signal processing and driving capabilities of the audio output module, further improving the comprehensiveness of the gate control board detection.

[0197] exist Figure 6 Based on the detection system of the gate control panel shown, the following is through Figure 7 Further explanation is given regarding the detection system of the gate control board.

[0198] Figure 7 A schematic diagram of the detection system for the gate control board provided in this application embodiment. Figure 4 ,like Figure 7 As shown, the tooling platform of the turnstile also includes a first indicator light, a second indicator light, and a third indicator light, among which,

[0199] The MOS output module is connected to the first indicator light, the Darlington output module is connected to the second indicator light, and the PWM output module is connected to the third indicator light.

[0200] The first indicator light is used to indicate the MOS output module.

[0201] Specifically, when the first indicator light is on, it indicates that the MOS output module is malfunctioning; when the first indicator light is off, it indicates that the MOS output module is functioning normally.

[0202] Specifically, when the first indicator light is red, it indicates that the MOS output module is malfunctioning; when the first indicator light is green, it indicates that the MOS output module is functioning normally.

[0203] It should be noted that the application methods of the second and third indicator lights are similar to those of the first indicator light, and will not be repeated here.

[0204] exist Figure 7 In this embodiment, corresponding indicator lights indicate whether each output module of the control board is normal or abnormal. This can intuitively and quickly reflect the working status of each output module, making it easy for testing personnel to make a preliminary judgment on whether the module is abnormal by observing the on / off state or color change of the indicator lights on and off. This complements the quantitative testing of the host computer and further improves the comprehensiveness of the gate control board testing.

[0205] Figure 8 This is a schematic diagram of the detection device for the gate control board provided in the embodiments of this application, as shown below. Figure 8 As shown, the detection device 80 for the gate control board provided in this embodiment includes:

[0206] The transmitting module 801 is used to send a first signal to the control board of the gate, the first signal being used to instruct the control board to output a first voltage signal;

[0207] The transmitting module 801 is further configured to send a second signal to the signal detection module, the second signal being used to instruct the signal detection module to acquire the first voltage signal output by the control board;

[0208] The receiving module 802 is used to receive the voltage value corresponding to the first voltage signal sent by the signal detection module;

[0209] The determination module 803 is used to determine the detection result of the control board based on the voltage value corresponding to the first voltage signal.

[0210] The detection device 80 of the gate control board provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0211] In some embodiments, the determining module 803 is specifically used for:

[0212] Obtain the preset voltage value and the preset first threshold;

[0213] Determine the difference between the voltage value corresponding to the first voltage signal and the preset voltage value;

[0214] The detection result of the control board is determined based on the difference and the preset first threshold.

[0215] In some embodiments, the voltage value corresponding to the first voltage signal is obtained by the signal detection module converting the first voltage signal into a digitally encoded voltage value using a successive approximation algorithm.

[0216] In some embodiments, the determining module 803 is further configured to:

[0217] Send a first instruction to the signal detection module, the first instruction including preset voltage signal parameters, the first instruction being used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters, and send the second voltage signal to the control board;

[0218] A third signal is sent to the control board, the third signal being used to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal;

[0219] Receive the feedback signal sent by the control board;

[0220] Based on the returned signal, the detection result of the control board is determined.

[0221] In some embodiments, the determining module 803 is further configured to:

[0222] The returned signal is analyzed to obtain the parameters of the second voltage signal;

[0223] The detection result of the control board is determined based on the parameters of the second voltage signal and the preset voltage signal parameters.

[0224] In some embodiments, the determining module 803 is further configured to:

[0225] A second instruction is sent to the control panel, the second instruction including an audio file, the second instruction being used to instruct the control panel to play the audio file.

[0226] In some embodiments, the determining module 803 is further configured to:

[0227] Get a preset visualization template;

[0228] Based on the preset visualization template, the detection results are presented in a graphical interface.

[0229] The detection device 80 of the gate control board provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described in detail here.

[0230] Figure 9 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Figure 9 As shown, the electronic device 90 includes a processor 901 and a memory 902. The processor 901 is communicatively connected to the memory 902, which stores computer execution instructions. The processor 901 is configured to execute the technical solutions in any of the aforementioned method embodiments by executing the computer execution instructions stored in the memory 902.

[0231] Optionally, the memory 902 can be either independent or integrated with the processor 901. Optionally, when the memory 902 is a device independent of the processor 901, the electronic device 900 may further include a bus 903 for connecting the aforementioned devices.

[0232] The electronic device is used to execute the technical solutions in any of the foregoing method embodiments. Its implementation principle and technical effect are similar, and will not be described again here.

[0233] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.

[0234] The memory may include random access memory (RAM) and may also include non-volatile memory (NVM), such as at least one disk storage device.

[0235] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.

[0236] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the above-described method.

[0237] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above-described method.

[0238] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.

[0239] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an application-specific integrated circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in the device.

[0240] The division of units is merely a logical functional division; in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0241] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0242] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0243] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0244] Those skilled in the art will understand that all or part of the steps of the above-described method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the above-described method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0245] Finally, it should be noted that other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This invention is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein, and is not limited to the precise structures described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.

Claims

1. A method for detecting a gate control board, characterized in that, include: Send a first signal to the control board of the gate, the first signal being used to instruct the control board to output a first voltage signal; A second signal is sent to the signal detection module, the second signal being used to instruct the signal detection module to acquire the first voltage signal output by the control board; Receive the voltage value corresponding to the first voltage signal sent by the signal detection module; Based on the voltage value corresponding to the first voltage signal, the detection result of the control board is determined; The method further includes: Send a first instruction to the signal detection module. The first instruction includes preset voltage signal parameters. The first instruction is used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters and send the second voltage signal to the control board. A third signal is sent to the control board, the third signal being used to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal; Receive the feedback signal sent by the control board; Based on the returned signal, the detection result of the control board is determined.

2. The method according to claim 1, characterized in that, Determining the detection result of the control board based on the voltage value corresponding to the first voltage signal includes: Obtain the preset voltage value and the preset first threshold; Determine the difference between the voltage value corresponding to the first voltage signal and the preset voltage value; The detection result of the control board is determined based on the difference and the preset first threshold.

3. The method according to claim 2, characterized in that, The voltage value corresponding to the first voltage signal is obtained by the signal detection module using a successive approximation algorithm to convert the first voltage signal into a digital code and then parsing it.

4. The method according to claim 1, characterized in that, Determining the detection result of the control board based on the returned signal includes: The returned signal is analyzed to obtain the parameters of the second voltage signal; The detection result of the control board is determined based on the parameters of the second voltage signal and the preset voltage signal parameters.

5. The method according to any one of claims 1-4, characterized in that, The method further includes: A second instruction is sent to the control panel, the second instruction including an audio file, the second instruction being used to instruct the control panel to play the audio file.

6. The method according to claim 1, characterized in that, After determining the detection result of the control board, the method further includes: Get a preset visualization template; Based on the preset visualization template, the detection results are presented in a graphical interface.

7. A detection device for a gate control board, characterized in that, include: The transmitting module is used to send a first signal to the control board of the gate, the first signal being used to instruct the control board to output a first voltage signal; The transmitting module is further configured to send a second signal to the signal detection module, the second signal being used to instruct the signal detection module to acquire the first voltage signal output by the control board; The receiving module is used to receive the voltage value corresponding to the first voltage signal sent by the signal detection module; The determination module is used to determine the detection result of the control board based on the voltage value corresponding to the first voltage signal; The determining module is further configured to: send a first instruction to the signal detection module, the first instruction including preset voltage signal parameters, the first instruction being configured to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameters and send the second voltage signal to the control board; send a third signal to the control board, the third signal being configured to instruct the control board to send a feedback signal, wherein the feedback signal includes the second voltage signal; receive the feedback signal sent by the control board; and determine the detection result of the control board based on the feedback signal.

8. An electronic device, characterized in that, include: Memory, processor; The memory stores computer-executable instructions; The processor executes computer execution instructions stored in the memory, causing the processor to perform the method as described in any one of claims 1-6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1-6.

Citation Information

Patent Citations

  • Intersection gate state acquisition device

    CN113687644A

  • Automatic test equipment for refrigerator control panel

    CN115113600A