Detection method and device of gate control panel, electronic equipment and storage medium
By sending signals to the gate control board and collecting voltage values to determine the detection results, the problem of being unable to quantify the degree of fault in the existing technology is solved, and accurate detection of gate control board faults is achieved, thereby improving the accuracy of detection.
Patent Information
- Application Number
- CN202511171802.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-21
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-08-21
AI Technical Summary
In the prior art, fault detection of gate control panels can only be performed qualitatively, and the degree of the fault cannot be quantified, resulting in the fault being concealed and reducing the accuracy of detection.
By sending a signal to the gate control panel, instructing it to output a voltage signal, the signal detection module collects the voltage signal, receives and analyzes the voltage value to determine the detection result of the control panel.
It achieves accurate detection of gate control panel faults, can promptly discover potential faults such as voltage offset, avoid faults from being concealed, and improves detection accuracy.
Smart Images

Figure CN120669685A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of industrial automation control, and in particular to a detection method, device, electronic equipment and storage medium for a gate control panel. Background Art
[0002] In the field of industrial automation control, the gate control board is the core component that realizes the interaction between the various internal devices of the gate machine and the interaction between the gate machine and external devices. Once the gate control board fails, it may cause the gate machine to stop or the gate machine to malfunction. Therefore, accurate fault detection of the gate control board is a key link to ensure the production quality of the gate machine.
[0003] In the related art, an indicator light is set on the gate control panel, and the working status of the gate control panel is bound to the bright and dark status of the indicator light. When the working status of the gate control panel is normal, the indicator light is always on or flashes in the color corresponding to the preset normal status; when the working status of the gate control panel is abnormal, the indicator light is off or flashes in the color corresponding to the preset abnormal status.
[0004] However, the indicator light can only make qualitative judgments by being constantly on or off or flashing in the colors corresponding to the preset normal state / abnormal state. It cannot quantify the degree of the fault, resulting in the fault being concealed, thereby reducing the accuracy of the control board detection. Summary of the Invention
[0005] The embodiments of the present application provide a gate control panel detection method, device, electronic device and storage medium to improve the accuracy of control panel detection.
[0006] In a first aspect, an embodiment of the present application provides a method for detecting a gate control panel, comprising:
[0007] Sending 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;
[0008] Sending a second signal to the signal detection module, where the second signal is used to instruct the signal detection module to collect the first voltage signal output by the control board;
[0009] receiving a voltage value corresponding to the first voltage signal sent by the signal detection module;
[0010] A detection result of the control board is determined based on a 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] Obtaining a preset voltage value and a preset first threshold;
[0013] Determining a difference between a voltage value corresponding to the first voltage signal and the preset voltage value;
[0014] The detection result of the control board is determined according to the difference and the preset first threshold.
[0015] In some embodiments, the voltage value corresponding to the first voltage signal is a voltage value obtained by converting the first voltage signal into a digital code and then analyzing it using a successive approximation algorithm by the signal detection module.
[0016] In some embodiments, the method further comprises:
[0017] Sending a first instruction to the signal detection module, the first instruction including a preset voltage signal parameter, the first instruction being used to instruct the signal detection module to generate the second voltage signal based on the preset voltage signal parameter, and sending the second voltage signal to the control board;
[0018] sending a third signal to the control board, wherein the third signal is used to instruct the control board to send a return signal, wherein the return signal includes the second voltage signal;
[0019] receiving the return signal sent by the control board;
[0020] Based on the returned signal, a detection result of the control board is determined.
[0021] In some embodiments, determining the detection result of the control board based on the return signal includes:
[0022] Analyzing and processing the returned signal to obtain parameters of the second voltage signal;
[0023] A detection result of the control board is determined according to the parameters of the second voltage signal and the preset voltage signal parameters.
[0024] In some embodiments, the method further comprises:
[0025] A second instruction is sent to the control panel, where the second instruction includes an audio file, and the second instruction is 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 the preset visualization template;
[0028] Based on the preset visualization template, the detection results are presented in a graphical interface.
[0029] In a second aspect, an embodiment of the present application provides a detection device for a gate control panel, comprising:
[0030] a sending module, configured to 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;
[0031] The sending module is further configured to send a second signal to the signal detection module, wherein the second signal is configured to instruct the signal detection module to collect the first voltage signal output by the control board;
[0032] a receiving module, configured to receive a voltage value corresponding to the first voltage signal sent by the signal detection module;
[0033] A determination module is used to determine a detection result of the control board based on a voltage value corresponding to the first voltage signal.
[0034] In some embodiments, the determining module is specifically configured to:
[0035] Obtaining a preset voltage value and a preset first threshold;
[0036] Determining a difference between a voltage value corresponding to the first voltage signal and the preset voltage value;
[0037] The detection result of the control board is determined according to the difference and the preset first threshold.
[0038] In some embodiments, the voltage value corresponding to the first voltage signal is a voltage value obtained by converting the first voltage signal into a digital code and then analyzing it using a successive approximation algorithm by the signal detection module.
[0039] In some embodiments, the determining module is further configured to:
[0040] Sending a first instruction to the signal detection module, the first instruction including a preset voltage signal parameter, the first instruction being used to instruct the signal detection module to generate the second voltage signal based on the preset voltage signal parameter, and sending the second voltage signal to the control board;
[0041] sending a third signal to the control board, wherein the third signal is used to instruct the control board to send a return signal, wherein the return signal includes the second voltage signal;
[0042] receiving the return signal sent by the control board;
[0043] Based on the returned signal, a detection result of the control board is determined.
[0044] In some embodiments, the determining module is further configured to:
[0045] Analyzing and processing the returned signal to obtain parameters of the second voltage signal;
[0046] A detection result of the control board is determined according to 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, where the second instruction includes an audio file, and the second instruction is used to instruct the control panel to play the audio file.
[0049] In some embodiments, the determining module is further configured to:
[0050] Get the preset visualization template;
[0051] Based on the preset visualization template, the detection results are presented in a graphical interface.
[0052] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a memory, a processor;
[0053] The memory stores computer-executable instructions;
[0054] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0055] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementation methods of the first aspect.
[0056] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0057] The detection method, device, electronic device and storage medium of the gate control panel provided in the embodiment of the present application are as follows: the host computer sends a first signal to the gate control panel, wherein the first signal is used to instruct the control panel 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 panel; the host computer receives the voltage value corresponding to the first voltage signal sent by the signal detection module; the host computer determines the detection result of the control panel 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 panel, and then timely discover potential faults such as voltage offset through the voltage value corresponding to the first voltage signal, avoid the fault from being concealed, and improve the accuracy of the control panel detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0059] Figure 1 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 1 ;
[0060] Figure 2 Schematic diagram of the process of the detection method of the gate control board provided in the embodiment of the present application Figure 1 ;
[0061] Figure 3 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 2 ;
[0062] Figure 4 Schematic diagram of the process of the detection method of the gate control board provided in the embodiment of the present application Figure 2 ;
[0063] Figure 5 A schematic diagram of the process of the method for graphically displaying test results provided in an embodiment of the present application;
[0064] Figure 6 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 3 ;
[0065] Figure 7 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 4 ;
[0066] Figure 8 A schematic diagram of the structure of a detection device for a gate control panel provided in an embodiment of the present application;
[0067] Figure 9A schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
[0068] The above drawings illustrate specific embodiments of the present application, which will be described in more detail below. These drawings and the textual description are not intended to limit the scope of the present application in any way, but rather to illustrate the concepts of the present application to those skilled in the art by reference to specific embodiments. DETAILED DESCRIPTION
[0069] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present 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 passages. They are used in various venues such as subway stations, train stations, stadiums, and office buildings. 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 commands (including control commands from the host computer and detection signals from external sensors), processing interactive data, and coordinating the operation of functional modules such as the turnstile's internal motor operation, sensor triggering, and indicator light display. Its performance and functional integrity play a decisive role in the overall operation of the turnstile. A fault in the turnstile control board can cause the turnstile to shut down or malfunction. Therefore, accurate fault detection of the turnstile control board is a key link in ensuring the quality of turnstile production.
[0071] In the related art, an indicator light is set on the gate control panel, and the working status of the gate control panel is bound to the bright and dark status of the indicator light. When the working status of the gate control panel is normal, the indicator light is always on or flashes in the color corresponding to the preset normal status (for example, green); when the working status of the gate control panel is abnormal, the indicator light is off or flashes in the color corresponding to the preset abnormal status (for example, red).
[0072] However, this indicator-based detection method has significant limitations. The indicator lights can only provide qualitative judgments (e.g., "gate control board fault" or "gate control board normal") by turning them on and off or flashing in preset colors corresponding to normal or abnormal states. This fails to quantify the severity of the fault, masking the fault and reducing the accuracy of control board detection. For example, if a circuit module on the control board experiences a voltage offset but hasn't completely failed, the indicator light may still show a normal state, masking the fault.
[0073] The present application provides a detection method for a gate control panel, wherein a host computer sends a first signal to the gate control panel, wherein the first signal is used to instruct the control panel to output a first voltage signal; the host computer sends a second signal to a 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 panel; the host computer receives a voltage value corresponding to the first voltage signal sent by the signal detection module; and the host computer determines a detection result of the control panel 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 panel, and then, through the voltage value corresponding to the first voltage signal, timely discover potential faults such as voltage offset, avoid the fault from being concealed, and improve the accuracy of control panel detection.
[0074] The following specific embodiments describe in detail the technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0075] Figure 1 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 1 ,like Figure 1 As shown, the system includes: a host computer and a tooling platform for a gate machine, wherein the tooling platform for the gate machine includes a first serial port, a control panel of the gate machine, and a signal detection module.
[0076] The gate control panel 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 gate machine. 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 gate machine. 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 respectively.
[0081] The signal detection module is connected to the control board of the gate machine. Specifically, the signal detection module is connected to the MOS output module, the Darlington output module, and the PWM output module respectively.
[0082] The host computer is used to send a first signal to the control panel of the gate machine, and the first signal is used to instruct the control panel to output a first voltage signal; it is also used to send a second signal to the signal detection module, and the second signal is used to instruct the signal detection module to collect the first voltage signal output by the control panel; it is also used to receive the voltage value corresponding to the first voltage signal sent by the signal detection module; it is also used to determine the detection result of the control panel based on the voltage value corresponding to the first voltage signal.
[0083] The control board is configured to output a first voltage signal after receiving a first signal.
[0084] The signal detection module is used to collect the first voltage signal output by the control board after receiving the second signal; and 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 in the figure, the following Figure 2 , the detection method of the gate control board is explained.
[0086] Figure 2 Schematic diagram of the process of the detection method of the gate control board provided in the embodiment of the present application Figure 1 ,like Figure 2 As shown, the method includes:
[0087] S201. Send a first signal to a control panel of a gate machine, wherein the first signal is used to instruct the control panel to output a first voltage signal.
[0088] In the embodiment of the present application, the host computer sends a first signal to the control board of the gate. Correspondingly, the control board outputs a first voltage signal after receiving the first signal.
[0089] The control board may be an input / output (IO) board.
[0090] Optionally, the first signal may be specifically used to instruct a MOS output module, a Darlington output module, and / or a PWM output module of the control board to output a first voltage signal.
[0091] Specifically, after receiving the first signal, the control board outputs the first voltage signal through the MOS output module, the Darlington output module, and / or the PWM output module according to the first signal.
[0092] S202: Send a second signal to the signal detection module, where the second signal is used to instruct the signal detection module to collect a first voltage signal output by the control board.
[0093] In this embodiment of the present application, the host computer sends a second signal to the signal detection module. Accordingly, upon receiving the second signal, the signal detection module collects the first voltage signal output by the control board; converts the first voltage signal into a voltage value corresponding to the first voltage signal; and transmits the voltage value corresponding to the first voltage signal to the host computer.
[0094] Optionally, the second signal may be specifically used to instruct the signal detection module to collect the first voltage signal output by the MOS output module, the Darlington output module, and / or the PWM output module of the control board.
[0095] The second signal is associated with the first signal. For example, when the first signal sent by the host computer to the control board of the gate indicates that the MOS output module of the control board outputs a first voltage signal, the second signal sent by the host computer to the signal detection module indicates that the signal detection module collects the first voltage signal output by the MOS output module of the control board.
[0096] Optionally, when the second signal indicates that the 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 to one of the output modules of the control board. For example, for a MOS output module, the corresponding voltage sub-signal is voltage sub-signal 1; for a Darlington output module, the corresponding voltage sub-signal is voltage sub-signal 2; and for a 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, and the sub-voltage values correspond one-to-one with the voltage sub-signals. 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] Below, taking the second signal indication signal detection module collecting the first voltage signal output by the MOS output module and the Darlington output module of the control board as an example, the one-to-one correspondence between the voltage sub-signals and the output modules of the control board, and the one-to-one correspondence between the sub-voltage values and the voltage sub-signals are explained.
[0099] Exemplarily, the first voltage signal includes voltage sub-signal 1 and voltage sub-signal 2, where voltage sub-signal 1 is a voltage signal output by a MOS output module of the control board, and voltage sub-signal 2 is a voltage signal output by a Darlington output module of the control board;
[0100] The signal detection module converts voltage sub-signal 1 into sub-voltage value 1, and converts 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, where 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 uses a successive approximation algorithm to convert the first voltage signal into a voltage value corresponding to the first voltage signal.
[0103] S203: Receive a voltage value corresponding to the first voltage signal sent by the signal detection module.
[0104] In the embodiment of the present application, the host computer receives a 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 a voltage value obtained by converting the first voltage signal into a digital code and then analyzing it using a successive approximation algorithm by a signal detection module.
[0106] S204: Determine a detection result of the control board based on a voltage value corresponding to the first voltage signal.
[0107] In an embodiment of the present 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, determining the detection result of the control board based on the voltage value corresponding to the first voltage signal includes:
[0109] Obtaining a preset voltage value and a preset first threshold;
[0110] Determine a difference between a voltage value corresponding to the first voltage signal and a preset voltage value;
[0111] The detection result of the control board is determined according to the difference and a preset first threshold.
[0112] Optionally, the preset voltage value and the preset first threshold value are determined according to the voltage output by the control panel.
[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 being too high, voltage being too low, and voltage being normal. The detection result of the control board is determined based on the difference and a preset first threshold value, 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 a preset first threshold, determining that the detection result of the control board is that the voltage is normal;
[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, it is determined that the detection result of the control board is that the voltage is too high; when the difference is less than 0, it is determined that the detection result of the control board is 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 control board's detection result 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 control board's detection result is determined to be a voltage overload, 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 control board's detection result is determined to be a voltage underload, and the voltage deviation value is the difference.
[0119] For example, 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. The difference between the voltage value corresponding to the first voltage signal and the preset voltage value is determined to be -2V, and the absolute value of the difference is determined to be 2. It is judged that 2V is greater than 0.1V, and -2 is greater than 0, and 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 value, with the preset sub-voltage values, the preset first sub-threshold value, and the sub-voltage values corresponding one to one. For example, for sub-voltage value 1 corresponding to the MOS output module, there is a corresponding preset sub-voltage value 1 (e.g., 3.3V) and a preset first sub-threshold value 1 (e.g., 0.165V); for sub-voltage value 2 corresponding to the Darlington output module, there is a corresponding preset sub-voltage value 2 (e.g., 5V) and a preset first sub-threshold value 2 (e.g., 0.25V); and for sub-voltage value 3 corresponding to the PWM output module, there is a corresponding preset sub-voltage value 3 (e.g., 12V) and a preset first sub-threshold value 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 being too high, voltage being too low, and voltage being normal. In this case, the detection result of the control board includes normal and abnormal. The detection result of the control board is determined based on the voltage value corresponding to the first voltage signal, specifically as follows:
[0122] Based on each sub-voltage value, determining a detection result of an 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, it is determined that the detection result of the control board is normal;
[0124] If the detection result of at least one output module among the detection results of the output modules of the control board corresponding to each sub-voltage value is that the voltage is too high or too low, it is determined that the detection result of the control board is abnormal.
[0125] It should be noted that the execution method of "determining the detection results 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 results 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, if at least one of the control board's output module detection results corresponding to each sub-voltage value has a detection result indicating a voltage that is too high or too low, the control board's detection results may further include detection results of abnormal modules. Specifically, if at least one of the control board's output module detection results corresponding to each sub-voltage value has a detection result indicating a voltage that is too high or too low, the control board's detection results are determined to be abnormal, an abnormal module, and the detection result of the abnormal module.
[0127] For example, the detection result of the MOS output module corresponding to sub-voltage value 1 is that the voltage is normal, the detection result of the Darlington output module corresponding to sub-voltage value 2 is that the voltage is too low and the voltage deviation value is -2V, and the detection result of the PWM output module corresponding to sub-voltage value 3 is that the voltage is too high and the voltage deviation value is 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. Among them, the voltage of the Darlington output module is too low and the voltage deviation value is -2V, and the detection result of the PWM output module is that the voltage is too high and the voltage deviation value is 1V.
[0128] exist Figure 2In an embodiment, the host computer sends a first signal to the control panel of the gate machine, wherein the first signal is used to instruct the control panel 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 panel; 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 panel 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 panel, and then, through the voltage value corresponding to the first voltage signal, promptly discover potential faults such as voltage offset, avoid the fault being concealed, and improve the accuracy of the control panel detection.
[0129] In addition, in the embodiment of the present application, different output modules of the control board (such as MOS output module, Darlington output module, and / or PWM output module) can be detected separately at the same time to clarify the abnormal conditions of specific modules (such as excessively high voltage, insufficient voltage), providing an accurate basis for troubleshooting and maintenance, and effectively improving the comprehensiveness and pertinence of the control board detection of the gate machine.
[0130] exist Figure 1 Based on the detection system of the gate control panel shown in the figure, the following Figure 3 , further explain the detection system of the gate control panel.
[0131] Figure 3 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 2 ,like Figure 3 As shown, the control panel of the gate machine 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 includes a preset voltage signal parameter, and the first instruction is used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameter 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 is used to instruct the control board to send a return signal, wherein the return signal includes the second voltage signal; it is also used to receive the return signal sent by the control board; it is also used to determine the detection result of the control board based on the return 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 a preset voltage signal parameter, and sends the second voltage signal to the input module of the control board.
[0137] The control board is used to send a return signal including 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 in the figure, the following Figure 4 , the detection method of the gate control board is explained.
[0139] Figure 4 Schematic diagram of the process of the detection method of the gate control board provided in the embodiment of the present application Figure 2 ,like Figure 4 As shown, the method includes:
[0140] S401. Send a first instruction to a signal detection module, where the first instruction includes preset voltage signal parameters and 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 a control board.
[0141] In the embodiment of the present application, the host computer sends a first instruction to the signal detection module. Correspondingly, after receiving the first instruction, the signal detection module generates a second voltage signal based on a preset voltage signal parameter 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, and the preset sub-voltage signal parameters include but are not limited to a preset voltage value, a preset frequency, a preset pulse width, or a preset duration corresponding to the voltage signal.
[0143] The preset frequency is, for example, 50 Hz or 60 Hz.
[0144] The preset pulse width is, for example, 10 , 50 .
[0145] The preset duration is the duration for the signal detection module to send the second voltage signal to the control board.
[0146] S402: Send a third signal to the control board, where the third signal is used to instruct the control board to send a return signal, wherein the return signal includes a second voltage signal.
[0147] In the embodiment of the present application, the host computer sends a third signal to the control board. Correspondingly, after receiving the third signal, the control board sends a return signal to the host computer.
[0148] The feedback 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 according to 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 include the second voltage signal.
[0151] S403: Receive a return signal sent by the control board.
[0152] In the embodiment of the present application, the host computer receives the return signal sent by the control board.
[0153] S404: Determine the detection result of the control board based on the return signal.
[0154] In the embodiment of the present application, the host computer determines the detection result of the control board based on the return signal.
[0155] In some embodiments, determining a detection result of the control board based on the return signal includes:
[0156] Analyzing and processing the returned signal to obtain parameters of the second voltage signal;
[0157] The detection result of the control board is determined according to 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. Exemplarily, 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 parameter of the second voltage signal includes multiple sub-parameters, determining the detection result of the control board according to the parameter of the second voltage signal and the preset voltage signal parameter includes:
[0162] The detection results of the input module of the control board are determined according to the sub-parameters of the second voltage signal and the preset sub-voltage signal parameters corresponding to the parameters.
[0163] Exemplarily, according to the voltage value of the second voltage signal and the preset voltage value, the detection result of the input module of the control board may include the voltage being too high, the voltage being too low, and the voltage being 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] Exemplarily, according to the frequency of the second voltage signal and the preset frequency, the detection result of the input module of the control board may be determined to include a frequency that is too high, a frequency that is too low, and a frequency that is 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 method of "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" is similar to 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", and will not be repeated here.
[0168] In some embodiments, the detection result of the input module of the control board may further include deviation values of various sub-parameters, wherein the determination of the sub-parameter deviation values is similar to that of the voltage deviation values and will not be repeated here.
[0169] In some embodiments, when the return signal does not include the second voltage signal, it is determined that all parameters of the second voltage signal are null values, and further the detection result of the control board is determined to be signal loss.
[0170] exist Figure 4 In an embodiment, the host computer sends a first instruction to the signal detection module, the first instruction includes a preset voltage signal parameter, and the first instruction is used to instruct the signal detection module to generate a second voltage signal based on the preset voltage signal parameter, and send the second voltage signal to the control panel; the host computer sends a third signal to the control panel, and the third signal is used to instruct the control panel to send a return signal, wherein the return signal includes the second voltage signal; the host computer receives the return signal sent by the control panel; and the host computer determines the detection result of the control panel based on the return signal. In the above method, the control panel input module's ability to receive voltage signals can be specifically detected. By comparing the actual parameters of the second voltage signal in the return signal with the preset parameters, it can be accurately determined whether the input module has a reception anomaly (such as signal loss, parameter deviation value, etc.), further improving the comprehensiveness of the gate machine's control panel detection.
[0171] In some embodiments, after determining the detection result of the control panel, the method further includes: presenting the detection result in a graphical interface.
[0172] exist Figure 2 Example or Figure 4 Based on the embodiment, the following Figure 5 , further explains the method of presenting the detection results in a graphical interface.
[0173] Figure 5 A flow chart of the method for graphically displaying test results provided in the embodiment of the present application is shown in FIG. Figure 5 As shown, the method includes:
[0174] S501: Obtain a preset visualization template.
[0175] In the embodiment of the present 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. Exemplarily, when the first signal indicates that the MOS output module, the Darlington output module, and the PWM output module of the control board output the first voltage signal, a preset visualization template including detection results of the MOS output module, the Darlington output module, and the PWM output module is obtained.
[0178] The preset visualization template can be an interface framework of 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 marking area. The status display area can distinguish the module status through different colors (such as green for normal voltage, yellow for low voltage, and red for high voltage). The parameter marking area is used to display the specific detection data of the module (such as voltage deviation value).
[0179] Optionally, according to the first instruction, a preset visualization template is obtained.
[0180] The preset visualization template may also be an interface framework of a graphical component corresponding to the input module, wherein the graphical component corresponding to the input module includes a plurality of graphical sub-components, and the graphical sub-components correspond one-to-one to 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 the embodiment of the present application, the host computer presents the detection results in a graphical interface on the host computer based on a preset visualization template.
[0183] For example, the control board is determined to have an abnormal detection result, and the abnormal modules include the Darlington output module and the PWM output module. The Darlington output module has a low voltage with a voltage deviation of -2V, while the PWM output module has a high voltage with a voltage deviation of 1V. Based on a preset visualization template, the detection results are presented in a graphical interface: 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 control panel's detection result is determined to be abnormal, and the abnormal module includes an input module. The input module's voltage and frequency are excessively high, the pulse width is excessively low, and the duration is normal. Based on a preset visualization template, the detection result is presented in a graphical interface: the graphical sub-component corresponding to the preset sub-voltage signal parameter is red, the graphical sub-component corresponding to the preset voltage value is yellow, the graphical sub-component corresponding to the preset frequency is red, the graphical sub-component corresponding to the preset pulse width is yellow, and the graphical sub-component corresponding to the preset duration is green.
[0185] Optionally, when the graphical sub-component corresponding to the preset sub-voltage signal parameter is red or yellow, a parameter deviation value may also be displayed, such as a voltage deviation value, a frequency deviation value, a pulse width deviation value, or a duration deviation value.
[0186] Furthermore, after determining the multiple test results of the control board, the test results can be presented in the form of a broken line graph. For example, the horizontal axis is the time of the test result, and the vertical axis is the voltage deviation value of the MOS output module.
[0187] exist Figure 5 In this embodiment, after determining the control panel's test results, the host computer retrieves a preset visualization template. Based on this template, the host computer then displays the test results in a graphical interface. This method clearly and intuitively displays the status of each module and its specific test data, allowing testers to quickly identify abnormal modules and fault details, effectively improving the readability of test 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 troubleshooting and performance analysis of the control board.
[0189] exist Figure 3 Based on the detection system of the gate control panel shown in the figure, the following Figure 6 , further explain the detection system of the gate control panel.
[0190] Figure 6 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 3 ,like Figure 6 As shown, the tooling platform of the gate machine also includes a speaker, and the control panel of the gate machine also includes an audio input module and an audio output module, wherein,
[0191] The host computer is connected to the audio input module, the audio input module is further connected to the audio output module, and the audio output module is further connected to the speaker.
[0192] The host computer is further used to send a second instruction to the control board, where the second instruction includes an audio file and is used to instruct the control board to play the audio file.
[0193] Speaker, used to control the board to play audio files.
[0194] Specifically, the host computer sends a second instruction to the audio input module, the audio input module sends the audio file to the audio output module, and the audio output module plays the audio file through the speaker.
[0195] Furthermore, when the speaker plays the audio file accurately, it is determined that the audio input module and the audio output module of the gate are normal; otherwise, it is determined that the audio input module and / or the audio output module of the gate are abnormal.
[0196] exist Figure 6 In the embodiment, the host computer sends a second instruction to the audio input module, and the second instruction includes an audio file. The second instruction is used to instruct the control panel to play the audio file, and then the audio input module sends the audio file to the audio output module, and the audio output module plays the audio file through the speaker. By judging the playback effect of the speaker, it is verified whether the audio module (audio input module and audio output module) is normal. This method fills the gap in the detection of the audio module on the gate control panel, 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 panel detection.
[0197] exist Figure 6 Based on the detection system of the gate control panel shown in the figure, the following Figure 7 , further explain the detection system of the gate control panel.
[0198] Figure 7 Schematic diagram of the structure of the detection system of the gate control panel provided in the embodiment of the present application Figure 4 ,like Figure 7 As shown, the tooling platform of the gate machine also includes a first indicator light, a second indicator light, and a third indicator light, wherein,
[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 abnormal, and when the first indicator light is off, it indicates that the MOS output module is normal.
[0202] Specifically, when the first indicator light is red, it indicates that the MOS output module is abnormal, and when the first indicator light is green, it indicates that the MOS output module is normal.
[0203] It should be noted that the application method of the second indicator light and the third indicator light is similar to that of the first indicator light, and will not be repeated here.
[0204] exist Figure 7 In the embodiment, the corresponding indicator lights indicate whether each output module of the control panel is normal or abnormal, which can intuitively and quickly reflect the working status of each output module, making it convenient for inspection personnel to preliminarily judge whether the module is abnormal by the on and off or color changes of the indicator lights on site, which complements the quantitative detection of the upper computer and further improves the comprehensiveness of the gate control panel detection.
[0205] Figure 8 A schematic diagram of the structure of the detection device of the gate control panel provided in the embodiment of the present application is shown as follows: Figure 8 As shown, the detection device 80 of the gate control panel provided in this embodiment includes:
[0206] A sending module 801 is configured to send a first signal to the control board of the gate, where the first signal is configured to instruct the control board to output a first voltage signal;
[0207] The sending module 801 is further configured to send a second signal to the signal detection module, where the second signal is configured to instruct the signal detection module to collect the first voltage signal output by the control board;
[0208] a receiving module 802, configured to receive a voltage value corresponding to the first voltage signal sent by the signal detection module;
[0209] The determination module 803 is configured to determine a detection result of the control board based on a voltage value corresponding to the first voltage signal.
[0210] The detection device 80 of the gate control panel provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and are not described in detail in this embodiment.
[0211] In some embodiments, the determining module 803 is specifically configured to:
[0212] Obtaining a preset voltage value and a preset first threshold;
[0213] Determining a difference between a voltage value corresponding to the first voltage signal and the preset voltage value;
[0214] The detection result of the control board is determined according to the difference and the preset first threshold.
[0215] In some embodiments, the voltage value corresponding to the first voltage signal is a voltage value obtained by converting the first voltage signal into a digital code and then analyzing it using a successive approximation algorithm by the signal detection module.
[0216] In some embodiments, the determining module 803 is further configured to:
[0217] Sending a first instruction to the signal detection module, the first instruction including a preset voltage signal parameter, the first instruction being used to instruct the signal detection module to generate the second voltage signal based on the preset voltage signal parameter, and sending the second voltage signal to the control board;
[0218] sending a third signal to the control board, wherein the third signal is used to instruct the control board to send a return signal, wherein the return signal includes the second voltage signal;
[0219] receiving the return signal sent by the control board;
[0220] Based on the returned signal, a detection result of the control board is determined.
[0221] In some embodiments, the determining module 803 is further configured to:
[0222] Analyzing and processing the returned signal to obtain parameters of the second voltage signal;
[0223] A detection result of the control board is determined according to 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, where the second instruction includes an audio file, and the second instruction is 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 the 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 panel provided in this embodiment can execute the method provided in the above method embodiment. Its implementation principle and technical effects are similar, and are not described in detail in this embodiment.
[0230] Figure 9 This is a schematic diagram of the structure of the electronic device provided in the embodiment of the present application. Figure 9 As shown, the electronic device 90 includes a processor 901 and a memory 902. The processor 901 is in communication with the memory 902, and the memory 902 is used to store computer-executable instructions. The processor 901 is configured to execute the technical solution of any of the aforementioned method embodiments by executing the computer-executable instructions stored in the memory 902.
[0231] Optionally, the memory 902 may be 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 above devices.
[0232] The electronic device is used to execute the technical solution in any of the aforementioned method embodiments, and its implementation principles and technical effects are similar and will not be repeated here.
[0233] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the method disclosed in the present invention may be directly executed by a hardware processor or by a combination of hardware and software modules in 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.
[0235] A bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus. Buses can be categorized as address buses, data buses, and control buses. For ease of illustration, the buses in the drawings of this application are not limited to just one bus or just one type of bus.
[0236] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0237] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0238] The readable storage medium may be implemented by any type of volatile or non-volatile memory 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 may be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0239] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be an integral part of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist in a device as discrete components.
[0240] The division of units is merely a logical functional division; actual implementations may employ alternative divisions, such as combining or integrating multiple units or components into another system, or omitting or disabling certain features. Furthermore, any direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection between devices or units, either through an interface, electrical, mechanical, or other means.
[0241] Units described as separate components may or may not be physically separate, and 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 these units may 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 the present invention, or the portion that contributes to the prior art, or a portion 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 for causing a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the various embodiments of the method of the present invention. The aforementioned storage medium includes various media that can store program code, such as USB flash drives, mobile hard drives, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical disks.
[0244] Those skilled in the art will appreciate that all or part of the steps in the above-described method embodiments can be implemented using hardware associated with 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. 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 those skilled in the art will readily identify other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art not disclosed herein. The present invention is not limited to the precise structure described above and illustrated in the accompanying drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present invention is limited solely by the appended claims.
Claims
1. A method for detecting a gate control panel, characterized in that: include: Sending 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; Sending a second signal to the signal detection module, where the second signal is used to instruct the signal detection module to collect 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; A detection result of the control board is determined based on a voltage value corresponding to the first voltage signal.
2. The method according to claim 1, characterized in that The determining the detection result of the control board based on the voltage value corresponding to the first voltage signal includes: Obtaining a preset voltage value and a preset first threshold; Determining a difference between a voltage value corresponding to the first voltage signal and the preset voltage value; The detection result of the control board is determined according to 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 a voltage value obtained by converting the first voltage signal into a digital code and then analyzing it using a successive approximation algorithm by the signal detection module.
4. The method according to any one of claims 1 to 3, characterized in that The method further comprises: Sending a first instruction to the signal detection module, the first instruction including a preset voltage signal parameter, the first instruction being used to instruct the signal detection module to generate the second voltage signal based on the preset voltage signal parameter, and sending the second voltage signal to the control board; sending a third signal to the control board, wherein the third signal is used to instruct the control board to send a return signal, wherein the return signal includes the second voltage signal; receiving the return signal sent by the control board; Based on the returned signal, a detection result of the control board is determined.
5. The method according to claim 4, characterized in that Determining the detection result of the control board based on the return signal includes: Analyzing and processing the returned signal to obtain parameters of the second voltage signal; A detection result of the control board is determined according to the parameters of the second voltage signal and the preset voltage signal parameters.
6. The method according to any one of claims 1 to 5, characterized in that The method further comprises: A second instruction is sent to the control panel, where the second instruction includes an audio file, and the second instruction is used to instruct the control panel to play the audio file.
7. The method according to any one of claims 1 or 4, characterized in that After determining the detection result of the control board, the method further includes: Get the preset visualization template; Based on the preset visualization template, the detection results are presented in a graphical interface.
8. A detection device for a gate control panel, characterized in that: include: a sending module, configured to 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; The sending module is further configured to send a second signal to the signal detection module, wherein the second signal is configured to instruct the signal detection module to collect the first voltage signal output by the control board; a receiving module, configured to receive a voltage value corresponding to the first voltage signal sent by the signal detection module; A determination module is used to determine a detection result of the control board based on a voltage value corresponding to the first voltage signal.
9. An electronic device, characterized in that: include: Memory, processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer-executable instructions, which are used to implement the method according to any one of claims 1 to 7 when executed by a processor.
Citation Information
Patent Citations
Intersection gate state acquisition device
CN113687644A
Test system of motor control board
CN114690737A
Automatic test equipment for refrigerator control panel
CN115113600A
Control method and device for motor of gate
CN117318575A
Monitoring device for a voltage of motherboard and voltage delay circuit
TW200844733A