A fault detection method, system and medium of a terminal device
By using intelligent fault detection methods, voltage, current and image processing algorithms are used to detect the grounding connection of terminal equipment, which solves the safety hazards caused by loose or incorrect grounding connections, and improves equipment safety and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-24
- Publication Date
- 2026-04-14
AI Technical Summary
Existing technologies cannot effectively detect loose or incorrect grounding connections in terminal devices, which can lead to live or leaking electricity on the device casing, posing safety hazards and affecting user experience.
The system employs intelligent fault detection methods, including configuring fault detection programs, equipment, and algorithms. Through voltage and current detection, image processing, and AI deep learning algorithms, it automatically detects the grounding status of terminal devices and provides voice prompts for the detection results.
It enables intelligent detection of grounding anomalies in terminal equipment, improving safety, reducing the possibility of safety accidents, and enhancing user experience and equipment stability.
Smart Images

Figure CN113917361B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of terminal equipment circuit testing technology, and in particular to a fault detection method, system and medium for terminal equipment. Background Technology
[0002] When using terminal equipment, there may be cases of loose grounding or incorrect grounding. These situations will not affect the verification results during the factory quality inspection of the terminal equipment, but when put into application, they may cause the equipment casing to become electrified or leak current, posing certain safety hazards, easily causing safety accidents, and affecting the user experience. Therefore, there is an urgent need for a method that can intelligently, efficiently, and accurately detect abnormal grounding faults in terminal equipment. Summary of the Invention
[0003] The main objective of this invention is to develop a method that can intelligently, efficiently, and accurately detect abnormal grounding faults in terminal equipment.
[0004] To achieve the above objectives, one technical solution adopted by the present invention is to provide a fault detection method for a terminal device, comprising the following steps:
[0005] Initial configuration steps:
[0006] Configure the fault detection program, fault detection equipment, and fault detection algorithm; set the detection benchmark value, first detection information, and second detection information;
[0007] Initial detection steps:
[0008] The startup status of the detection terminal device is checked, and a grounding detection step is performed based on the fault detection program, the fault detection algorithm, the detection reference value, the first detection information, and the startup status to obtain the detection result;
[0009] Advanced detection steps:
[0010] Based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result, perform device operation detection operation or wiring abnormality detection operation.
[0011] As an improved solution, the fault detection program includes: a power supply control program, a voltage detection program, a current detection program, a voice broadcast program, and an image processing program;
[0012] The fault detection equipment includes: an image detection device and a test device connected to indicator lights;
[0013] The fault detection algorithm includes: regular matching algorithm, power calculation algorithm and AI deep learning algorithm;
[0014] The detection reference values include: voltage test value, voltage reference value, current reference value, and reference power;
[0015] The first detection information includes: ground connection maintenance information and maintenance success information;
[0016] The second detection information includes: reference wiring image information, first prompt information, second prompt information, and alarm information.
[0017] As an improved solution, the grounding detection operation includes:
[0018] When the startup condition is that the terminal device is not started, the power supply control program is invoked to output voltage values that match the voltage test values to the neutral and live wires of the terminal device, and a voltage detection step is executed; the voltage detection step includes: invoking the voltage detection program to detect the first voltage value between the neutral wire and the ground wire and the second voltage value between the live wire and the ground wire, respectively;
[0019] After performing the voltage detection step, a regular matching algorithm is called to compare whether the first voltage value and the second voltage value both match the voltage reference value.
[0020] When both the first voltage value and the second voltage value match the voltage reference value, a current detection step is executed; the current detection step includes: calling the power supply control program and the current detection program to perform current anomaly detection operations on the neutral wire, live wire and ground wire of the terminal device according to the current reference value.
[0021] As an improved solution, the grounding detection operation further includes:
[0022] When neither the first voltage value nor the second voltage value matches the voltage reference value, the voice broadcast program is invoked to output the ground wire connection maintenance information.
[0023] Set a detection time period, and execute the voltage detection step every time the detection time period is set until the first voltage value and the second voltage value both match the voltage reference value. Then, call the voice broadcast program to output the maintenance success information and execute the current detection step.
[0024] As an improved solution, the current anomaly detection operation includes:
[0025] The power supply control program is invoked to disconnect the voltage output at the neutral wire, and the current detection program is invoked to detect the first current value on the live wire and the second current value on the ground wire, respectively.
[0026] The regular expression matching algorithm is invoked to compare whether the first current value and the second current value both match the current reference value; if yes, the detection result is output as the terminal device is grounded normally and there is no leakage; if no, the detection result is output as the terminal device is grounded abnormally and there is leakage.
[0027] As an improved solution, the step of performing equipment operation detection operation or wiring abnormality detection operation based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result further includes:
[0028] When the detection result indicates that the terminal device is grounded normally and there is no leakage, a test duration is set, and the device operation detection operation is performed based on the power supply control program, the voltage detection program, the current detection program, the voice broadcast program, the test equipment, the regular matching algorithm, the power calculation algorithm, the voltage test value, the reference power, the first prompt information, the second prompt information, and the test duration.
[0029] When the detection result indicates that the terminal device has an abnormal grounding and leakage, the splicing order and comparison pixel value are set; the wiring abnormality detection operation is performed based on the voice broadcast program, the image processing program, the image detection device, the AI deep learning algorithm, the reference wiring image information, the alarm information, the splicing order, and the comparison pixel value.
[0030] As an improved solution, the device operation detection operation includes:
[0031] The power supply control program is invoked to output a voltage value to the neutral wire that matches the voltage test value, and a timing operation is performed to generate a first time; when the first time reaches the test duration, the test terminal of the test equipment is controlled to contact the terminal equipment; and it is identified whether the indicator light of the test equipment is lit.
[0032] If so, the power supply control program is invoked to disconnect the voltage output at the neutral wire and the live wire respectively, and the voice broadcast program is invoked to output the first prompt information; the first prompt information includes: the terminal device has a leakage phenomenon;
[0033] If not, the current detection program and the voltage detection program are invoked to detect the input current value and input voltage value at the live wire, respectively; the input power is calculated based on the power calculation algorithm, the input current value, and the input voltage value; the regular matching algorithm is invoked to compare whether the input power matches the reference power; if they do not match, the power supply control program is invoked to disconnect the voltage output at the neutral wire and the live wire, respectively, and the voice broadcast program is invoked to output the second prompt information; the second prompt information includes: the terminal device has a short circuit or abnormal circuit input.
[0034] As an improved solution, the wiring abnormality detection operation includes:
[0035] The image detection device is invoked to acquire the neutral line image and the ground line image of the terminal device; the image processing program is invoked to stitch the neutral line image and the ground line image into a first detection image according to the stitching order; the image processing program is invoked to adjust the pixel values of the first detection image according to the comparison pixel values to obtain a second detection image;
[0036] Based on the AI deep learning algorithm, it is determined whether the image features of the second detected image match the image features in the reference wiring image information; if they match, the voice broadcast program is invoked to output the alarm information; if they do not match, wiring abnormality information is created, and the location information of the terminal device is obtained; the wiring abnormality information, the location information, and the detection result are integrated into maintenance prompt information, and the voice broadcast program is invoked to output the maintenance prompt information.
[0037] The present invention also provides a fault detection system for terminal devices, comprising:
[0038] Initial configuration module, initial detection module, and advanced detection module;
[0039] The initial configuration module is used to configure the fault detection program, fault detection equipment, and fault detection algorithm; the initial configuration module is also used to set the detection benchmark value, the first detection information, and the second detection information.
[0040] The initial detection module is used to detect the startup status of the terminal device, and performs a grounding detection step based on the fault detection program, the fault detection algorithm, the detection benchmark value, the first detection information and the startup status to obtain the detection result;
[0041] The advanced detection module is used to perform equipment operation detection operations or wiring abnormality detection operations based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result.
[0042] The present invention also provides a computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the steps of the fault detection method for the terminal device.
[0043] The beneficial effects of this invention are:
[0044] 1. The fault detection method for terminal equipment described in this invention can intelligently detect grounding abnormalities of terminal equipment under different operating conditions, and intelligently provide voice prompts for the detection results. Finally, it can intelligently determine whether the fault of the terminal equipment is caused by a physical wiring error. It is extremely convenient, improves the safety of terminal equipment, further reduces the possibility of safety accidents, enhances the user's experience and sense of security, makes up for the shortcomings of existing technologies, and has extremely high product competitiveness and market value.
[0045] 2. The fault detection system for terminal devices described in this invention can intelligently detect grounding anomalies in terminal devices under different operating conditions through the cooperation of an initial configuration module, an initial detection module, and an advanced detection module. It also provides intelligent voice prompts for the detection results and ultimately intelligently determines whether the fault is caused by a physical wiring error. This is extremely convenient, improves the safety of terminal devices, further reduces the possibility of safety accidents, enhances the user experience and sense of security, makes up for the shortcomings of existing technologies, and has extremely high product competitiveness and market value.
[0046] 3. The computer-readable storage medium described in this invention can enable the initial configuration module, initial detection module, and advanced detection module to work together to intelligently detect grounding anomalies in terminal devices under different operating conditions, and intelligently provide voice prompts for the detection results. Ultimately, it can intelligently determine whether the fault in the terminal device is caused by a physical wiring error, which is extremely convenient, improves the safety of the terminal device, further reduces the possibility of safety accidents, enhances the user experience and sense of security, compensates for the shortcomings of existing technologies, has extremely high product competitiveness and market value, and effectively improves the operability of the fault detection method for the terminal device. Attached Figure Description
[0047] To more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0048] Figure 1 This is a flowchart of the fault detection method for the terminal device described in Embodiment 1 of the present invention;
[0049] Figure 2 This is a schematic diagram of the specific process of the fault detection method for terminal equipment described in Embodiment 1 of the present invention;
[0050] Figure 3 This is an architecture diagram of the fault detection system for the terminal device described in Embodiment 2 of the present invention. Detailed Implementation
[0051] The preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings, so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby providing a clearer and more explicit definition of the scope of protection of the present invention.
[0052] In the description of this invention, it should be noted that the embodiments described in this invention are only some embodiments of this invention, not all embodiments; based on the embodiments of this invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this invention.
[0053] In the description of this invention, it should be noted that the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance.
[0054] In the description of this invention, it should be noted that AI (Artificial Intelligence) is artificial intelligence.
[0055] Example 1
[0056] This embodiment provides a fault detection method for terminal devices, such as... Figure 1 and Figure 2 As shown, it includes the following steps:
[0057] S100, initial configuration steps, specifically including:
[0058] S110. Configure the fault detection program, fault detection equipment, and fault detection algorithm; set the detection benchmark value, first detection information, and second detection information;
[0059] Specifically, the fault detection program includes: a power supply control program, a voltage detection program, a current detection program, a voice broadcast program, and an image processing program; in this embodiment, the power supply control program, voltage detection program, current detection program, voice broadcast program, and image processing program are all implemented based on microcontrollers with different functions; the fault detection device includes: an image detection device and a test device connected to indicator lights; in this embodiment, the image detection device is a combination of an industrial camera and an intelligent mobile robot, and the intelligent mobile robot can drive the industrial camera to move; the fault detection algorithm includes: a regular matching algorithm, a power calculation algorithm, and an AI deep learning algorithm; in this embodiment, the power calculation algorithm is a calculation algorithm based on the power calculation formula; correspondingly, the power calculation formula is that power equals the product of voltage and current; the detection reference values include: voltage test value, voltage reference value, and electrical... The current reference value and reference power are specified. In this embodiment, the voltage test value is set to 220V, and the reference power is the rated power of the terminal device. The first detection information includes: ground wire connection maintenance information and maintenance success information. In this embodiment, the ground wire connection maintenance information is a notification to the operator to connect the ground wire of the terminal device; the maintenance success information is a notification to the operator that the ground wire of the terminal device has been successfully connected. The second detection information includes: reference wiring image information, first prompt information, second prompt information, and alarm information. In this embodiment, the reference wiring image information is a captured image of the live wire, neutral wire, and ground wire when the terminal device is correctly wired. The first prompt information includes: the terminal device has a leakage current phenomenon. The second prompt information includes: the terminal device has a short circuit or abnormal circuit input phenomenon. The alarm information includes: the terminal device is faulty and abnormal; please perform manual analysis and testing.
[0060] S200, Initial Detection Procedures, specifically including:
[0061] S210. Detect the startup status of the terminal device, and perform a grounding detection step based on the fault detection program, the fault detection algorithm, the detection reference value, the first detection information, and the startup status to obtain the detection result;
[0062] Specifically, the grounding detection operation includes: when the startup condition is that the terminal device is not started, calling the power supply control program to output voltage values matching the voltage test values to the neutral and live wires of the terminal device, thereby starting the terminal device; executing the voltage detection step: calling the voltage detection program to detect the first voltage value between the neutral wire and the ground wire and the second voltage value between the live wire and the ground wire; calling the regular matching algorithm to compare whether the first voltage value and the second voltage value both match the voltage reference value; in this embodiment, the voltage reference value is a non-zero value;
[0063] When both the first voltage value and the second voltage value match the voltage reference value, that is, when both the first voltage value and the second voltage value are not 0, meaning there is voltage on the live wire, neutral wire, and ground wire, it indicates that the wiring is normal. Therefore, the current detection step is executed: the power supply control program and the current detection program are invoked to perform current anomaly detection operations on the neutral wire, live wire, and ground wire of the terminal device according to the current reference value. When neither the first voltage value nor the second voltage value matches the voltage reference value, that is, when both the first voltage value and the second voltage value are 0, meaning there is no voltage on the live wire, neutral wire, and ground wire, it indicates that the terminal device has no ground wire. Therefore, the voice broadcast program is invoked to output the ground wire connection maintenance information to the operator.
[0064] The detection time period is set. In this embodiment, the detection time period is set to a maximum of 1 second to achieve the effect of real-time detection. The voltage detection step is executed every detection time period until the first voltage value and the second voltage value are both matched with the voltage reference value. This indicates that the operator has successfully connected the ground wire. Therefore, the voice broadcast program is called to output the maintenance success information and the current detection step is executed.
[0065] Specifically, the current anomaly detection operation includes: calling the power supply control program to disconnect the voltage output at the neutral wire, i.e., only outputting voltage to the live wire; and calling the current detection program to detect the first current value on the live wire and the second current value on the ground wire respectively; calling the regular matching algorithm to compare whether the first current value and the second current value both match the current reference value; in this embodiment, the current reference is set to 0. If it is, it means there is no current in the live wire and ground wire, so the terminal device has no leakage current, and the detection result is output as the terminal device is grounded normally and has no leakage current; if not, it means there is current in the live wire and ground wire, and the detection result is output as the terminal device is grounded abnormally and has leakage current.
[0066] Through the above steps, the grounding connection of the terminal equipment is initially detected in an automated, intelligent, and accurate manner, preventing leakage or abnormal malfunctions caused by loose grounding. Further fault detection will then be conducted to further improve the factory quality and stability of the terminal equipment.
[0067] S300, advanced testing steps, specifically include:
[0068] S310. Based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result, perform a device operation detection operation or a wiring abnormality detection operation;
[0069] Specifically, when the detection result indicates that the terminal device is properly grounded and has no leakage current, a test duration is set. In this embodiment, the test duration is set to 5 minutes. The test duration is set to allow the terminal device to run for a period of time before performing fault detection, preventing the initial detection in previous steps from failing to detect hidden faults, thereby improving the stability and factory quality of the terminal device. The device operation detection operation is performed based on the power supply control program, the voltage detection program, the current detection program, the voice broadcast program, the test equipment, the regular matching algorithm, the power calculation algorithm, the voltage test value, the reference power, the first prompt information, the second prompt information, and the test duration.
[0070] The device operation detection operation includes: calling the power supply control program to output a voltage value that matches the voltage test value of the neutral wire, and performing a timing operation to generate a first time, which is the current time that continuously increases with real-time; when the first time reaches the test duration, it indicates that the terminal device has been running for a period of time, so more accurate fault detection can be performed; controlling the test terminal of the test device to contact the terminal device; identifying whether the indicator light of the test device is lit; in this embodiment, the test device includes, but is not limited to, a test pen; if yes, then due to the principle of the test device itself, it indicates that the terminal device casing is energized, so the power supply control program is called to disconnect the voltage output at the neutral wire and the live wire respectively, and the voice broadcast program is called to output the first prompt information; if no, it is necessary to further determine the short circuit phenomenon of the terminal device, so the current detection program and the voltage detection program are called to detect the input current value and input voltage value at the live wire respectively. The input power is calculated based on the power calculation algorithm, the input current value, and the input voltage value. The regular matching algorithm is called to compare whether the input power matches the reference power. If they do not match, it indicates a short circuit or circuit abnormality. Therefore, the power supply control program is called to disconnect the voltage output at the neutral wire and the live wire respectively, and the voice broadcast program is called to output the second prompt information. The second prompt information includes: the terminal device has a short circuit or circuit input abnormality. If they match, it indicates that the terminal device has no problem, and the voice broadcast program is called to output: the terminal device is normal and meets the standard. Through this step, the circuit faults of the terminal device are further detected in various situations. This not only prevents leakage during the operation of the terminal device, but also prevents circuit abnormalities in the terminal device. It also prevents inaccurate detection results due to the lack of obvious faults during the startup of the terminal device, which would affect the stability of the terminal device in the later stage of backup. Finally, the factory quality of the terminal device is controlled very accurately.
[0071] Specifically, when the detection result indicates that the terminal device has a grounding abnormality and leakage, a splicing order and comparison pixel value are set; the wiring abnormality detection operation is performed based on the voice broadcast program, the image processing program, the image detection device, the AI deep learning algorithm, the reference wiring image information, the alarm information, the splicing order, and the comparison pixel value; in this embodiment, the splicing order is horizontal splicing or vertical splicing; the comparison pixel value is 300; correspondingly, the wiring abnormality detection operation includes: calling the image detection device to obtain the neutral wire image and the ground wire image of the terminal device, both of which are real-time images of the terminal device's wiring obtained by taking pictures; calling the image processing program to splice the neutral wire image and the ground wire image into a first detection image according to the splicing order; calling the image processing program to adjust the pixel value of the first detection image according to the comparison pixel value to obtain a second detection image; correspondingly, the comparison pixel value is the same as the pixel value in the reference wiring image information, on the one hand to improve the comparison efficiency, and on the other hand to improve the image clarity. The AI deep learning algorithm is used to determine whether the image features of the second detection image match the image features in the reference wiring image information. Correspondingly, the image features are the interface connection status between the wiring and the terminal device, such as: wiring fully inserted, wiring partially inserted, etc. It also includes the color and model of the wiring. Correspondingly, several preset image features are added to the training set of the AI deep learning algorithm, and then the AI deep learning algorithm compares and filters the image features in the image. If a match is found, it indicates that the fault is not a physical connection fault, but rather that there are other deeper problems in the terminal device. Therefore, the voice broadcast program is called to output the alarm information. If no match is found, wiring abnormality information is created, and the location information of the terminal device is obtained. The wiring abnormality information, the location information, and the detection result are integrated into maintenance prompt information, and the voice broadcast program is called to output the maintenance prompt information. For example, the maintenance prompt information might be: "Terminal device XX located at workstation XX has a wiring error, resulting in abnormal grounding and leakage in terminal device XX. Please maintain it promptly." This step further analyzes the specific circumstances of the terminal equipment's wiring abnormalities and promptly provides feedback on the specific information regarding leakage and wiring abnormalities. It requires no manual operation, making it highly intelligent. This not only improves the quality control of the terminal equipment but also enhances the operator's experience, increases testing efficiency, and compensates for the shortcomings of existing technologies.
[0072] Example 2
[0073] This embodiment provides a fault detection system for terminal devices, such as... Figure 3 As shown, it includes: an initial configuration module, an initial detection module, and an advanced detection module;
[0074] In the fault detection system of the terminal device, the initial configuration module is used to configure the fault detection program, fault detection equipment, and fault detection algorithm; the initial configuration module is also used to set the detection benchmark value, first detection information, and second detection information; specifically, the fault detection program includes: a power supply control program, a voltage detection program, a current detection program, a voice broadcast program, and an image processing program; the fault detection equipment includes: an image detection device and a test device connected to indicator lights; the fault detection algorithm includes: a regular matching algorithm, a power calculation algorithm, and an AI deep learning algorithm; the detection benchmark value includes: a voltage test value, a voltage benchmark value, a current benchmark value, and a benchmark power; the first detection information includes: ground wire connection maintenance information and maintenance success information; the second detection information includes: benchmark wiring image information, first prompt information, second prompt information, and alarm information.
[0075] In the fault detection system of the terminal device, the initial detection module is used to detect the startup status of the terminal device, and performs a grounding detection step based on the fault detection program, the fault detection algorithm, the detection benchmark value, the first detection information and the startup status to obtain the detection result;
[0076] Specifically, the grounding detection operation includes: when the startup condition is that the terminal device is not started, the initial detection module calls the power supply control program to output voltage values that match the voltage test values to the neutral wire and live wire of the terminal device respectively; the initial detection module executes the voltage detection step: the initial detection module calls the voltage detection program to detect the first voltage value between the neutral wire and the ground wire and the second voltage value between the live wire and the ground wire respectively;
[0077] The initial detection module calls a regular expression matching algorithm to compare whether the first voltage value and the second voltage value both match the voltage reference value; when both the first voltage value and the second voltage value match the voltage reference value, the initial detection module executes a current detection step: the initial detection module calls the power supply control program and the current detection program to perform current anomaly detection operations on the neutral wire, live wire and ground wire of the terminal device according to the current reference value;
[0078] When neither the first voltage value nor the second voltage value matches the voltage reference value, the initial detection module calls the voice broadcast program to output the ground connection maintenance information; the initial detection module sets a detection time period, and the initial detection module executes the voltage detection step every detection time period until both the first voltage value and the second voltage value match the voltage reference value, at which point the initial detection module calls the voice broadcast program to output the maintenance success information and executes the current detection step;
[0079] Specifically, the current anomaly detection operation includes: the initial detection module calls the power supply control program to disconnect the voltage output at the neutral wire, and calls the current detection program to detect the first current value on the live wire and the second current value on the ground wire respectively; the initial detection module calls the regular matching algorithm to compare whether the first current value and the second current value both match the current reference value; if yes, the initial detection module outputs the detection result that the terminal device is grounded normally and there is no leakage current; if no, the initial detection module outputs the detection result that the terminal device is grounded abnormally and there is leakage current.
[0080] In the fault detection system of the terminal device, the advanced detection module is used to perform device operation detection operation or wiring abnormality detection operation according to the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information and the detection result;
[0081] Specifically, when the detection result indicates that the terminal device is properly grounded and has no leakage current, the advanced detection module sets the test duration. The advanced detection module performs the device operation detection operation based on the power supply control program, the voltage detection program, the current detection program, the voice broadcast program, the test equipment, the regular matching algorithm, the power calculation algorithm, the voltage test value, the reference power, the first prompt information, the second prompt information, and the test duration.
[0082] Specifically, the device operation detection operation includes: the advanced detection module calls the power supply control program to output a voltage value that matches the voltage test value of the neutral wire, and performs a timing operation to generate a first time; when the first time reaches the test duration, the advanced detection module controls the test terminal of the test equipment to contact the terminal equipment; the advanced detection module identifies whether the indicator light of the test equipment is lit; if so, the advanced detection module calls the power supply control program to disconnect the voltage output at the neutral wire and the live wire respectively, and calls the voice broadcast program to output the first prompt information; the first prompt information includes: the terminal equipment has... If there is no leakage, the advanced detection module calls the current detection program and the voltage detection program to detect the input current value and input voltage value at the live wire, respectively. The advanced detection module calculates the input power based on the power calculation algorithm, the input current value, and the input voltage value. The advanced detection module calls the regular matching algorithm to compare whether the input power matches the reference power. If they do not match, the advanced detection module calls the power supply control program to disconnect the voltage output at the neutral wire and the live wire, respectively, and calls the voice broadcast program to output the second prompt information. The second prompt information includes: the terminal device has a short circuit or abnormal circuit input.
[0083] When the detection result indicates that the terminal device has an abnormal grounding and leakage, the advanced detection module sets the splicing order and comparison pixel value; the advanced detection module performs the wiring abnormality detection operation based on the voice broadcast program, the image processing program, the image detection device, the AI deep learning algorithm, the reference wiring image information, the alarm information, the splicing order, and the comparison pixel value;
[0084] Specifically, the wiring anomaly detection operation includes: the advanced detection module calling the image detection device to acquire images of the neutral wire and ground wire of the terminal device; the advanced detection module calling the image processing program to stitch the neutral wire image and the ground wire image into a first detection image according to the stitching order; the advanced detection module calling the image processing program to adjust the pixel values of the first detection image according to the comparison pixel values to obtain a second detection image; the advanced detection module judging whether the image features of the second detection image match the image features in the baseline wiring image information based on the AI deep learning algorithm; if they match, the advanced detection module calling the voice broadcast program to output the alarm information; if they do not match, the advanced detection module creating wiring anomaly information and acquiring the location information of the terminal device; the advanced detection module integrating the wiring anomaly information, the location information, and the detection result into maintenance prompt information, and the advanced detection module calling the voice broadcast program to output the maintenance prompt information.
[0085] Example 3
[0086] This embodiment provides a computer-readable storage medium, including:
[0087] The storage medium is used to store computer software instructions for implementing the fault detection method of the terminal device described in Embodiment 1 above. It includes a program for executing the fault detection method of the terminal device described above. Specifically, the executable program can be built into the fault detection system of the terminal device described in Embodiment 2. In this way, the fault detection system of the terminal device can implement the fault detection method of the terminal device described in Embodiment 1 by executing the built-in executable program.
[0088] Furthermore, the computer-readable storage medium in this embodiment can be any combination of one or more readable storage media, wherein the readable storage medium includes an electrical, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof.
[0089] Unlike existing technologies, the fault detection method, system, and medium for terminal devices proposed in this application can intelligently detect grounding anomalies in terminal devices under different operating conditions, and intelligently provide voice prompts for the detection results. Ultimately, it can also intelligently determine whether the fault in the terminal device is caused by a physical wiring error, which is extremely convenient. This system provides effective technical support for this method, improves the safety of terminal devices, further reduces the possibility of safety accidents, enhances the user experience and sense of security, makes up for the shortcomings of existing technologies, and has extremely high product competitiveness and market value.
[0090] The embodiment numbers disclosed in the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0091] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware, or by a program instructing related hardware to implement the program, which can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0092] The above description is merely an embodiment of the present invention and does not limit the patent scope of the present invention. Any equivalent structural or procedural transformations made based on the content of the present invention's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of the present invention.
Claims
1. A fault detection method for a terminal device, characterized in that, Includes the following steps: Initial configuration steps: Configure the fault detection program, fault detection equipment, and fault detection algorithm; set the detection benchmark value, first detection information, and second detection information; Initial detection steps: The startup status of the detection terminal device is checked, and a grounding detection step is performed based on the fault detection program, the fault detection algorithm, the detection reference value, the first detection information, and the startup status to obtain the detection result; Advanced detection steps: Based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result, perform device operation detection operation or wiring abnormality detection operation; The fault detection program includes: a power supply control program, a voltage detection program, a current detection program, a voice broadcast program, and an image processing program; The fault detection equipment includes: an image detection device and a test device connected to indicator lights; The fault detection algorithm includes: regular matching algorithm, power calculation algorithm and AI deep learning algorithm; The detection reference values include: voltage test value, voltage reference value, current reference value, and reference power; The first detection information includes: ground connection maintenance information and maintenance success information; The second detection information includes: reference wiring image information, first prompt information, second prompt information, and alarm information.
2. The fault detection method for a terminal device according to claim 1, characterized in that, The grounding detection step includes: When the startup condition is that the terminal device is not started, the power supply control program is invoked to output voltage values that match the voltage test values to the neutral and live wires of the terminal device, and a voltage detection step is executed; the voltage detection step includes: invoking the voltage detection program to detect the first voltage value between the neutral wire and the ground wire and the second voltage value between the live wire and the ground wire, respectively; After performing the voltage detection step, a regular matching algorithm is called to compare whether the first voltage value and the second voltage value both match the voltage reference value. When both the first voltage value and the second voltage value match the voltage reference value, a current detection step is executed; the current detection step includes: calling the power supply control program and the current detection program to perform current anomaly detection operations on the neutral wire, live wire and ground wire of the terminal device according to the current reference value.
3. The fault detection method for a terminal device according to claim 2, characterized in that, The grounding detection step also includes: When neither the first voltage value nor the second voltage value matches the voltage reference value, the voice broadcast program is invoked to output the ground wire connection maintenance information. Set a detection time period, and execute the voltage detection step every time the detection time period is set until the first voltage value and the second voltage value both match the voltage reference value. Then, call the voice broadcast program to output the maintenance success information and execute the current detection step.
4. The fault detection method for a terminal device according to claim 3, characterized in that, The current anomaly detection operation includes: The power supply control program is invoked to disconnect the voltage output at the neutral wire, and the current detection program is invoked to detect the first current value on the live wire and the second current value on the ground wire, respectively. The regular expression matching algorithm is invoked to compare whether the first current value and the second current value both match the current reference value; if yes, the detection result is output as the terminal device is grounded normally and there is no leakage; if no, the detection result is output as the terminal device is grounded abnormally and there is leakage.
5. The fault detection method for a terminal device according to claim 4, characterized in that, The step of performing equipment operation detection operation or wiring abnormality detection operation based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result further includes: When the detection result indicates that the terminal device is grounded normally and there is no leakage, a test duration is set, and the device operation detection operation is performed based on the power supply control program, the voltage detection program, the current detection program, the voice broadcast program, the test equipment, the regular matching algorithm, the power calculation algorithm, the voltage test value, the reference power, the first prompt information, the second prompt information, and the test duration. When the detection result indicates that the terminal device has an abnormal grounding and leakage, the splicing order and comparison pixel value are set; the wiring abnormality detection operation is performed based on the voice broadcast program, the image processing program, the image detection device, the AI deep learning algorithm, the reference wiring image information, the alarm information, the splicing order, and the comparison pixel value.
6. The fault detection method for a terminal device according to claim 5, characterized in that, The equipment operation detection operation includes: The power supply control program is invoked to output a voltage value to the neutral wire that matches the voltage test value, and a timing operation is performed to generate a first time; when the first time reaches the test duration, the test terminal of the test equipment is controlled to contact the terminal equipment; and it is identified whether the indicator light of the test equipment is lit. If so, the power supply control program is invoked to disconnect the voltage output at the neutral wire and the live wire respectively, and the voice broadcast program is invoked to output the first prompt information; the first prompt information includes: the terminal device has a leakage phenomenon; If not, the current detection program and the voltage detection program are invoked to detect the input current value and input voltage value at the live wire, respectively; the input power is calculated based on the power calculation algorithm, the input current value, and the input voltage value; the regular matching algorithm is invoked to compare whether the input power matches the reference power; if they do not match, the power supply control program is invoked to disconnect the voltage output at the neutral wire and the live wire, respectively, and the voice broadcast program is invoked to output the second prompt information; the second prompt information includes: the terminal device has a short circuit or abnormal circuit input.
7. The fault detection method for a terminal device according to claim 6, characterized in that, The wiring abnormality detection operation includes: The image detection device is invoked to acquire the neutral line image and the ground line image of the terminal device; the image processing program is invoked to stitch the neutral line image and the ground line image into a first detection image according to the stitching order; the image processing program is invoked to adjust the pixel values of the first detection image according to the comparison pixel values to obtain a second detection image; Based on the AI deep learning algorithm, it is determined whether the image features of the second detected image match the image features in the reference wiring image information; if they match, the voice broadcast program is invoked to output the alarm information; if they do not match, wiring abnormality information is created, and the location information of the terminal device is obtained; the wiring abnormality information, the location information, and the detection result are integrated into maintenance prompt information, and the voice broadcast program is invoked to output the maintenance prompt information.
8. A fault detection system for a terminal device based on the fault detection method for a terminal device according to any one of claims 1 to 7, characterized in that, The system includes: an initial configuration module, an initial detection module, and an advanced detection module; The initial configuration module is used to configure the fault detection program, fault detection equipment, and fault detection algorithm; the initial configuration module is also used to set the detection benchmark value, the first detection information, and the second detection information. The initial detection module is used to detect the startup status of the terminal device, and performs a grounding detection step based on the fault detection program, the fault detection algorithm, the detection benchmark value, the first detection information and the startup status to obtain the detection result; The advanced detection module is used to perform equipment operation detection operations or wiring abnormality detection operations based on the fault detection program, the fault detection device, the fault detection algorithm, the detection benchmark value, the second detection information, and the detection result.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the fault detection method for the terminal device according to any one of claims 1 to 7.
Citation Information
Patent Citations
Electrical protection device for electric appliance and electric appliance
CN108183462A