Fault detection method and device, storage medium and electronic equipment
By cross-referencing data from a portable verification terminal and a voltage monitor, the problem of inaccurate fault detection by the voltage monitor is solved, enabling accurate fault type identification and non-invasive diagnosis, thus improving the fault detection accuracy of the voltage monitor.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- STATE GRID BEIJING ELECTRIC POWER CO
- Filing Date
- 2026-04-07
- Publication Date
- 2026-06-26
AI Technical Summary
The fault detection results of existing voltage monitoring instruments are inaccurate, cannot distinguish fault types, lack on-site measurement data to support them, and cannot achieve three-source closed-loop verification of "equipment-terminal-master station".
By acquiring voltage and waveform data from portable verification terminals and voltage monitors, and combining them with data from the main station, a three-source cross-comparison is performed to determine the fault type, including abnormalities in the target voltage monitor, abnormalities in the communication link, and data synchronization delays from the main station. In abnormal situations, sampling drift or sampling circuit faults are further detected.
It enables accurate attribution of voltage monitor faults, improves the accuracy and reliability of fault detection results, avoids misjudgment and missed judgment, and supports non-invasive intelligent diagnosis of voltage monitors.
Smart Images

Figure CN122283570A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of power systems, and more specifically, to a fault detection method, apparatus, storage medium, and electronic device. Background Technology
[0002] Voltage monitoring instruments are crucial equipment in power systems for monitoring grid voltage deviations and calculating voltage compliance rates. According to industry standards, voltage monitoring instruments must continuously monitor and statistically analyze voltage deviations at power supply nodes. Fault detection of voltage monitoring instruments is essential for ensuring the accuracy of voltage compliance rate statistics, preventing misjudgments due to monitoring failures, and mitigating risks to grid operation. Current technologies employ manual inspections or single-data comparisons for voltage monitoring instrument fault detection, which suffers from limitations such as inability to distinguish fault types (e.g., sampling drift versus sampling circuit failure), lack of on-site measurement data for verification, and inability to achieve closed-loop verification across the "equipment-terminal-master station" three-source system. Therefore, these technologies suffer from inaccurate fault detection results for voltage monitoring instruments.
[0003] There is currently no effective solution to the above problems. Summary of the Invention
[0004] This application provides a fault detection method, apparatus, storage medium, and electronic device to at least solve the technical problem of inaccurate fault detection results of voltage monitors in related technologies.
[0005] According to one aspect of the embodiments of this application, a fault detection method is provided, comprising: acquiring first voltage data and second voltage data of a user-side power supply node at the current moment, third voltage data at a historical time, and first voltage waveform data and second voltage waveform data of a user-side power supply node during a first historical time period, wherein the first voltage data is the voltage value collected by a target portable verification terminal at the current moment, the second voltage data is the voltage value collected by a target voltage monitor at the current moment, the third voltage data is the voltage value received by the master station and uploaded by the target voltage monitor at a historical time, the first voltage waveform data is the voltage value collected by the target portable verification terminal during the first historical time period, and the second voltage waveform data is the voltage value collected by the target portable verification terminal during the first historical time period. The monitoring instrument collects data during the first historical time period. Among the receiving times corresponding to multiple voltage data received by the master station in the historical time period, the receiving time with the smallest time difference from the current time is selected. Based on the first voltage data, the second voltage data, and the third voltage data, the first fault detection result at the current time is determined. The first fault detection result includes target voltage monitor malfunction, target voltage monitor communication link malfunction, and master station data synchronization delay. If the first fault detection result indicates that the target voltage monitor is malfunctioning, based on the first voltage waveform data and the second voltage waveform data, the second fault detection result at the current time is obtained by detecting whether the target voltage monitor has sampling drift or sampling circuit failure.
[0006] According to another aspect of the embodiments of this application, a fault detection device is provided, comprising: a data acquisition module, configured to acquire first voltage data and second voltage data of a user-side power supply node at the current moment, third voltage data at a historical moment, and first voltage waveform data and second voltage waveform data of a user-side power supply node during a first historical time period, wherein the first voltage data is the voltage value collected by a target portable verification terminal at the current moment, the second voltage data is the voltage value collected by a target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical moment, and the first voltage waveform data is the voltage value collected by the target portable verification terminal during the first historical time period, and the second voltage waveform data is the voltage value collected by the target voltage monitor during the first historical time period. The first determination module is used to determine the first fault detection result at the current time based on the first voltage data, the second voltage data, and the third voltage data, which are collected during the first historical time period. The first fault detection result includes target voltage monitor malfunction, target voltage monitor communication link malfunction, and master station data synchronization delay. The detection module is used to detect whether the target voltage monitor has sampling drift or sampling circuit malfunction based on the first voltage waveform data and the second voltage waveform data when the first fault detection result indicates that the target voltage monitor is malfunctioning, thereby obtaining the second fault detection result at the current time.
[0007] According to another aspect of the embodiments of this application, a non-volatile storage medium is provided, which stores a plurality of instructions, any one of which is adapted to be loaded by a processor for a fault detection method.
[0008] According to another aspect of the embodiments of this application, an electronic device is provided, including: one or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement any one of the fault detection methods.
[0009] According to another aspect of the embodiments of this application, a computer program product is provided, which, when executed on a data processing device, is a program adapted to perform fault detection method steps.
[0010] In this embodiment, by acquiring the first voltage data and second voltage data of the user-side power supply node at the current moment, the third voltage data at a historical moment, and the first voltage waveform data and second voltage waveform data of the user-side power supply node during a first historical time period, wherein the first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical moment, the first voltage waveform data is the voltage value collected by the target portable verification terminal during the first historical time period, and the second voltage waveform data is the voltage value collected by the target voltage monitor during the first historical time period. The method involves acquiring data from multiple voltage data points received by the main station at different historical time intervals, identifying the receiving time with the smallest time difference from the current time. Based on the first, second, and third voltage data, a first fault detection result is determined for the current time. This first fault detection result includes anomalies in the target voltage monitor, communication links of the target voltage monitor, and data synchronization delays at the main station. If the first fault detection result indicates anomalies in the target voltage monitor, the method further detects sampling drift or sampling circuit faults in the target voltage monitor based on the first and second voltage waveform data, thus obtaining a second fault detection result for the current time. This method achieves the goal of improving the accuracy of fault detection results for voltage monitors by acquiring the first voltage data from the target portable verification terminal, the second voltage data from the target voltage monitor, and the third voltage data received by the main station, and by determining the second fault detection result for the voltage monitor when the first fault detection result indicates anomalies, based on the first and second voltage waveform data from the target portable verification terminal and the target voltage monitor. This addresses the technical problem of inaccurate fault detection results for voltage monitors in related technologies. Attached Figure Description
[0011] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:
[0012] Figure 1 This is a flowchart of a fault detection method provided according to an embodiment of this application;
[0013] Figure 2 This is a schematic diagram of a fault detection device provided according to an embodiment of this application;
[0014] Figure 3 This is a structural diagram of an electronic device provided according to an embodiment of this application. Detailed Implementation
[0015] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0016] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0017] It should be noted that the information and data collected in this application (including but not limited to first voltage data, second voltage data, third voltage data, first voltage waveform data, second voltage waveform data, first voltage waveform data sample set, and second voltage waveform data sample set, etc.) are information and data authorized by the user or fully authorized by all parties. Furthermore, the collection, storage, use, processing, transmission, provision, disclosure, and application of this data all comply with relevant laws, regulations, and standards, necessary confidentiality measures have been taken, and they do not violate public order and good morals. Corresponding operation entry points are provided for users to choose to authorize or refuse. For example, interfaces are set up between this system and relevant users or organizations, providing users with corresponding operation entry points for them to choose to agree to or refuse the automated decision-making results; if the user chooses to refuse, the process proceeds to the expert decision-making stage.
[0018] According to an embodiment of this application, a method embodiment for fault detection is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0019] Figure 1 This is a flowchart of a fault detection method provided according to an embodiment of this application, such as... Figure 1 As shown, the method includes the following steps:
[0020] Step S102: Obtain the first voltage data and second voltage data of the user-side power supply node at the current moment, the third voltage data at a historical moment, and the first voltage waveform data and second voltage waveform data of the user-side power supply node at a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical moment, the first voltage waveform data is collected by the target portable verification terminal at a first historical time period, the second voltage waveform data is collected by the target voltage monitor at a first historical time period, and the historical moment is the receiving moment with the smallest time difference from the current moment among the receiving moments corresponding to the multiple voltage data received by the main station.
[0021] It can be understood that the system acquires the first and second voltage data of the user-side power supply node at the current moment, the third voltage data of the user-side power supply node at a historical time, and the first and second voltage waveform data of the user-side power supply node within a first historical time period (e.g., two minutes before the current moment). The first voltage data and first voltage waveform data are collected by the target portable verification terminal, the second voltage data and second voltage waveform data are collected by the target voltage monitor, and the third voltage data is the latest voltage value successfully uploaded by the target voltage monitor and received by the main station. By synchronously acquiring the above voltage data, a three-source spatiotemporally aligned data loop of "terminal measurement—device local—main station history" is constructed, improving the accuracy and attribution capability of fault detection and enhancing the accuracy of fault detection results.
[0022] Optionally, the voltage monitor is used for long-term, continuous monitoring of the supply voltage, statistical analysis of the pass rate, and reporting to the main station. The portable verification terminal is used for rapid on-site verification of the voltage monitor's operating status and the accuracy of the monitoring results. The voltage monitor is installed at the user-side power supply node of the low-voltage distribution system to collect 220V / 380V AC supply voltage. The high-precision electrophysical quantity sampling module of the portable verification terminal is used to synchronously collect the supply voltage at the same electrical installation point as the voltage monitor.
[0023] Optionally, the target portable verification terminal is carried by the inspection personnel and integrates a high-precision electrophysical quantity sampling module (24-bit ADC (Analog-to-Digital Converter), 6.4kHz (Hertz) sampling, supporting true RMS value and waveform recording, BeiDou / GPS (Global Positioning System) dual-mode positioning, near-field communication module (Bluetooth / RFID (Radio-Frequency Identification)), camera, communication module (4G / 5G / WiFi (Wireless Fidelity)) and storage module.
[0024] Optionally, the portable verification terminal also features on-site recording and photographic evidence preservation. It captures photos of the equipment installation environment and meter box location, preserving on-site visual data. It supports on-site text annotations (such as "damaged box door," "construction nearby," etc.) to record abnormal situations. All records are automatically linked to the target voltage monitor ID and timestamp, and saved together with the on-site recorded voltage waveform data to form a complete inspection file.
[0025] Step S104: Based on the first voltage data, the second voltage data, and the third voltage data, determine the first fault detection result at the current moment. The first fault detection result includes the target voltage monitor being abnormal, the communication link of the target voltage monitor being abnormal, and the main station data synchronization delay.
[0026] It is understood that by cross-checking the first, second, and third voltage data, the first fault detection result at the current moment is determined. This first fault detection result indicates the cause of the fault, including target voltage monitor malfunction, communication link malfunction of the target voltage monitor, and master station data synchronization delay. By cross-checking the first, second, and third voltage data, accurate attribution of the fault cause can be achieved, effectively distinguishing between three major categories of anomalies: equipment sampling drift, communication link interruption, and master station data synchronization delay. This improves the accuracy and reliability of fault detection results and avoids misjudgment and missed judgment caused by single-point comparison.
[0027] Optionally, a triple check can be performed before the first fault detection to identify the target voltage monitor. The triple check is automatically executed by the target portable verification terminal. The first check is location verification, comparing the GPS coordinates of the target portable verification terminal with preset coordinates in the ledger. If the deviation exceeds a threshold (e.g., 10 meters), a "location abnormality" message is displayed. The second check is identity verification, reading the target voltage monitor's ID, model, and serial number via the near-field communication module and comparing them item by item with the ledger records. If they do not match, a "device abnormality" message is displayed (the device may have been replaced or tampered with). The third check is data verification, reading the voltage monitoring data stored on the target voltage monitor for the most recent 24 hours and comparing it with the synchronous data from the backend. If the data deviation is too large or there is a long period without data, a "data abnormality" message is displayed.
[0028] In one optional embodiment, determining the first fault detection result at the current moment based on the first voltage data, the second voltage data, and the third voltage data includes: determining a first error between the first voltage data and the second voltage data; if the first error is greater than a preset first threshold, determining the first fault detection result as a target voltage monitor malfunction; or, if the first error is less than or equal to the preset first threshold, determining a second error between the second voltage data and the third voltage data; if the second error is greater than a preset second threshold, determining the first fault detection result as a communication link malfunction; or, if the first error is less than or equal to the preset first threshold and the second error is less than or equal to the preset second threshold, determining a third error between the first voltage data and the third voltage data, and the time difference between the current moment and a historical moment; if the third error is greater than a preset third threshold and the time difference is greater than a preset fourth threshold, determining the first fault detection result as a master station data synchronization delay, wherein the preset first threshold is less than the preset second threshold and the preset second threshold is less than the preset third threshold.
[0029] It is understood that the following method is used to perform cross-detection based on the first voltage data, the second voltage data, and the third voltage data. First, the first voltage data is compared with the second voltage data to obtain a first error between the two data. This first error is then compared with a preset first threshold. If the first error is greater than the preset first threshold, the first fault detection result is determined to be an abnormality of the target voltage monitor, i.e., the fault cause is an abnormality in the target voltage monitor, such as sampling drift or a sampling circuit failure. Second, if the first error is less than or equal to the preset first threshold, the second voltage data is further compared with the third voltage data to obtain a second error between the two data. This second error is then compared with a preset second threshold. If the second error is greater than the preset second threshold, the first fault detection result is determined to be an abnormality in the communication link of the target voltage monitor, i.e., the fault cause is an abnormality in the communication link of the target voltage monitor, such as data freezing, packet loss, or a target voltage monitor crash. Finally, if the first error is less than or equal to a preset first threshold, and the second error is less than or equal to a preset second threshold, the first voltage data is further compared with the third voltage data, and the current time is compared with the historical time to obtain the third error between the first voltage data and the third voltage data, and the time difference between the current time and the historical time. This third error is then compared with a preset third threshold, and the time difference is compared with a preset fourth threshold. If the third error is greater than the preset third threshold, and the time difference is greater than the preset fourth threshold, the first fault detection result is determined to be a data synchronization delay at the master station, meaning the fault is caused by an abnormality in data synchronization between the target voltage monitor and the master station. Here, the preset first threshold is less than the preset second threshold, and the preset second threshold is less than the preset third threshold. By establishing a three-source data hierarchical cross-comparison mechanism and setting an incremental error threshold and a time delay joint criterion, accurate attribution of the fault cause is achieved, effectively distinguishing between three types of anomalies: target voltage monitor anomaly, communication link anomaly, and master station data synchronization delay, thus improving the accuracy and interpretability of the first fault detection result.
[0030] Optionally, based on the principle that "faults closer to the measurement source should be identified with higher priority and lower tolerance," a preset first threshold is set to be less than a preset second threshold, and the preset second threshold is set to be less than a preset third threshold. Based on the diagnostic priority principle of "fault sources from near to far, and responsibility from inside to outside," and combined with the hierarchical fault-tolerant attribution mechanism constructed by the power system equipment accuracy, communication delay, and master station synchronization characteristics, it is ensured that the first fault detection result accurately corresponds to the physical responsible party.
[0031] Step S106: If the first fault detection result indicates that the target voltage monitor is abnormal, based on the first voltage waveform data and the second voltage waveform data, detect whether the target voltage monitor has sampling drift or sampling circuit failure, and obtain the second fault detection result at the current moment.
[0032] Understandably, if the first fault detection result indicates an anomaly in the target voltage monitor, further testing of the target voltage monitor is conducted based on the first and second voltage waveform data to determine whether the anomaly is caused by sampling drift or a sampling circuit fault, thus obtaining the second fault detection result at the current moment. By comparing the spatiotemporal alignment of the first and second voltage waveform data, waveform distortion can be accurately identified, thereby distinguishing between slow sampling drift and sudden sampling circuit faults (such as capacitor aging or filter failure). This enables non-intrusive, waveform-level, and traceable intelligent diagnosis of internal hardware faults in the voltage monitor, improving the accuracy of fault detection for the target voltage monitor.
[0033] In one optional embodiment, based on first voltage waveform data and second voltage waveform data, detecting whether the target voltage monitor has sampling drift or sampling circuit fault, and obtaining a second fault detection result at the current moment, includes: determining a first abnormal threshold for indicating whether the target voltage monitor has sampling drift, and a second abnormal threshold for indicating whether the target voltage monitor has sampling circuit fault; determining the similarity between the first voltage waveform data and the second voltage waveform data; determining the voltage fluctuation rate of the target voltage monitor in a first historical time period based on the second voltage waveform data; determining the target health score of the target voltage monitor at the current moment based on the similarity and voltage fluctuation rate; and determining the second fault detection result based on the target health score, the first abnormal threshold, and the second abnormal threshold.
[0034] The target voltage monitor is detected using the following method, based on first and second voltage waveform data. First, a first anomaly threshold is determined to indicate whether the target voltage monitor exhibits sampling drift, and a second anomaly threshold is determined to indicate whether the target voltage monitor has a sampling circuit fault. Second, the similarity between the first and second voltage waveform data is determined. Then, fluctuation analysis is performed based on the second voltage waveform data to determine the voltage fluctuation rate of the target voltage monitor over a first historical time period. Next, based on the aforementioned similarity and voltage fluctuation rate, a target health score for the target voltage monitor at the target time is determined. Finally, the target health score is compared with the first and second anomaly thresholds to obtain the second fault detection result. By integrating waveform similarity, voltage fluctuation rate, and a dual-threshold dynamic evaluation mechanism, a quantitative health score model for the target voltage monitor is constructed, enabling accurate differentiation and early warning of sampling drift and sampling circuit faults, thus improving the accuracy of the second fault detection result for the target voltage monitor.
[0035] Optionally, if the target health score is greater than the first anomaly threshold, the second fault detection result is determined to be sampling drift in the target voltage monitor; if the target health score is less than the second anomaly threshold, the second fault detection result is determined to be a sampling circuit fault in the target voltage monitor. If the target health score is less than or equal to the first anomaly threshold and greater than or equal to the second anomaly threshold, the target voltage monitor is marked as "warning," requiring further re-inspection or enhanced monitoring to prevent the fault from evolving from "predictable" to "sudden failure" due to gradual deterioration, thus achieving closed-loop management of the target voltage monitor from passive maintenance to predictive maintenance.
[0036] Optionally, the voltage fluctuation rate for the first historical time period can be determined using the following method. :
[0037]
[0038] in, This refers to multiple voltage data collection points included in the first historical time period. Voltage data collected at voltage data acquisition point t.
[0039] Optionally, the target health score of the target voltage monitor can be determined using the following method. :
[0040]
[0041] in, For similarity weights, To determine the similarity between the first voltage waveform data and the second voltage waveform data, Volatility weighting, This is a preset voltage fluctuation rate threshold.
[0042] In one optional embodiment, determining a first abnormal threshold for indicating whether a target voltage monitor has sampling drift and a second abnormal threshold for indicating whether a target voltage monitor has a sampling circuit fault includes: acquiring a first voltage waveform data sample set and a second voltage waveform data sample set of the user-side power supply node, wherein the first voltage waveform data sample set includes multiple third voltage waveform data collected by multiple first voltage monitors whose actual fault is identified as sampling drift during a second historical time period, and multiple fourth voltage waveform data collected by multiple first portable verification terminals during the second historical time period, with a one-to-one correspondence between the multiple first voltage monitors and the multiple third voltage waveform data, and a one-to-one correspondence between the multiple third voltage waveform data and the multiple fourth voltage waveform data; the second voltage waveform data sample set includes multiple fifth voltage waveform data collected by multiple second voltage monitors whose actual fault is identified as sampling circuit fault during a second historical time period, and multiple sixth voltage waveform data collected by multiple second portable verification terminals during the second historical time period, with a one-to-one correspondence between the multiple second voltage monitors and the multiple fifth voltage waveform data, and a one-to-one correspondence between the multiple fifth voltage waveform data and the multiple sixth voltage waveform data; for any first voltage monitor among the multiple first voltage monitors... The measuring instrument, based on the third voltage waveform data of any first voltage monitor and the fourth voltage waveform data of the first portable verification terminal corresponding to any first voltage monitor, determines the first health score of any first voltage monitor by using a method for determining a target health score; multiple first health scores are obtained by using the same method, wherein each of the multiple first health scores corresponds one-to-one with a multiple first voltage monitor; for any second voltage monitor among the multiple second voltage monitors, based on the fifth voltage waveform data of any second voltage monitor and the sixth voltage waveform data of the second portable verification terminal corresponding to any second voltage monitor, determines the second health score of any second voltage monitor by using a method for determining a target health score; multiple second health scores are obtained by using the same method, wherein each of the multiple second health scores corresponds one-to-one with a multiple second voltage monitor; the multiple first health scores and the multiple second health scores are determined as multiple initial thresholds; based on the multiple initial thresholds, a first number of multiple first voltage monitors, and a second number of multiple second voltage monitors, a first abnormal threshold and a second abnormal threshold are determined.
[0043] It is understood that the first and second anomaly thresholds are determined in the following manner. First, the user-side power supply node uses a first voltage waveform data sample set and a second voltage waveform data sample set for a second historical time period. The first voltage waveform data sample set includes multiple third voltage waveform data from multiple first voltage monitors with actual faults identified as sampling drift, and multiple fourth voltage waveform data from multiple first portable verification terminals. The first portable verification terminals are used to verify the operating status of the first voltage monitors and the accuracy of the monitoring results. The second voltage waveform data sample set includes multiple fifth voltage waveform data from multiple second voltage monitors with actual faults identified as sampling circuit faults, and multiple sixth voltage waveform data from multiple second portable verification terminals. The second portable verification terminals are used to verify the operating status of the second voltage monitors and the accuracy of the monitoring results. Second, based on the third and fourth voltage waveform data from the first voltage waveform data sample set, a target health score is determined for each target voltage monitor, resulting in multiple first health scores corresponding one-to-one with the multiple first voltage monitors. Simultaneously, based on the fifth and sixth voltage waveform data from the second voltage waveform data sample set, a target health score for the target voltage monitor is determined, resulting in multiple second health scores corresponding one-to-one with each of the multiple second voltage monitors. Finally, these multiple first and second health scores are used as multiple initial thresholds. Based on these initial thresholds, a first number of first voltage monitors, and a second number of second voltage monitors, a first anomaly threshold and a second anomaly threshold are determined. By adaptively calculating the first and second anomaly thresholds based on actual fault sample sets, the threshold setting shifts from "manual experience-based setting" to "data-driven, fault-oriented," improving the accuracy, universality, and field adaptability of the determined first and second anomaly thresholds. This provides a replicable and scalable quantitative benchmark for the accurate health assessment of large-scale voltage monitors.
[0044] In one optional embodiment, determining a first abnormality threshold and a second abnormality threshold based on multiple initial thresholds, a first number of multiple first voltage monitors, and a second number of multiple second voltage monitors includes: for any initial threshold among the multiple initial thresholds, determining first and second voltage monitors with first health scores and second health scores greater than or equal to any initial threshold as multiple third voltage monitors with fault identification as sampling drift; and determining first and second voltage monitors with first health scores and second health scores less than any initial threshold as multiple fourth voltage monitors with fault identification as sampling circuit faults; and based on the actual fault identifications corresponding to the multiple first voltage monitors, the first actual fault identifications corresponding to the multiple second voltage monitors, and the multiple third voltage monitors... The system identifies the corresponding fault identifiers and the corresponding fault identifiers of multiple fourth voltage monitors. It then determines a third number of voltage monitors whose actual fault identifier is sampling drift and whose identified fault identifier is sampling circuit fault, and a fourth number of voltage monitors whose actual fault identifier is sampling circuit fault and whose identified fault identifier is sampling drift. Based on the first, second, third, and fourth numbers, it determines the threshold score for any initial threshold. Using the method of determining the threshold score for any initial threshold, it determines the threshold scores corresponding to multiple initial thresholds. It then determines the initial threshold corresponding to the maximum value and the second largest value among the threshold scores corresponding to the multiple initial thresholds as two target thresholds. Finally, it determines the larger of the two target thresholds as the first abnormal threshold and the smaller of the two target thresholds as the second abnormal threshold.
[0045] It is understood that the following method is used to determine the first and second abnormality thresholds based on multiple initial thresholds, a first number of multiple first voltage monitors, and a second number of multiple second voltage monitors. First, for any one of the multiple initial thresholds, fault detection is performed on the multiple first and multiple second voltage monitors based on that initial threshold. First and second voltage monitors with a first health score and a second health score greater than or equal to any initial threshold are identified as multiple third voltage monitors with a fault flag indicating sampling drift. First and second voltage monitors with a first health score and a second health score less than any initial threshold are identified as multiple fourth voltage monitors with a fault flag indicating sampling circuit failure. Secondly, based on the actual fault identifiers corresponding to multiple first voltage monitors, multiple second voltage monitors, multiple third voltage monitors, and multiple fourth voltage monitors, the above fault detections are checked to identify a third number of voltage monitors whose actual fault identifier is sampling drift and whose identified fault identifier is sampling circuit fault (i.e., voltage monitors with actual sampling drift are incorrectly identified as sampling circuit faults), and a fourth number of voltage monitors whose actual fault identifier is sampling circuit fault and whose identified fault identifier is sampling drift (i.e., voltage monitors with actual sampling circuit faults are incorrectly identified as sampling drifts). Based on the first, second, third, and fourth numbers, a threshold score for any initial threshold is calculated, and the threshold scores corresponding to multiple initial thresholds are calculated using this method. Then, from the threshold scores corresponding to the multiple initial thresholds, the two initial thresholds corresponding to the maximum and second largest threshold scores are selected and determined as two target thresholds. Finally, the larger of the two target thresholds is determined as the first abnormal threshold, and the smaller one is determined as the second abnormal threshold. By considering the false positive rate of faults, two target thresholds are selected from multiple initial thresholds to achieve high-precision intelligent identification of sampling drift and sampling circuit faults, thereby improving the accuracy and adaptability of the first and second abnormal thresholds.
[0046] In one optional embodiment, determining a threshold score for any initial threshold based on a first quantity, a second quantity, a third quantity, and a fourth quantity includes: determining the specificity of any initial threshold based on the first quantity and the third quantity, wherein the specificity is used to characterize the ability of any initial threshold to identify sampling drift of the voltage monitor; determining the sensitivity of any initial threshold based on the second quantity and the fourth quantity, wherein the sensitivity is used to characterize the ability of any initial threshold to identify sampling circuit faults of the voltage monitor; and determining a threshold score for any initial threshold based on the specificity and the sensitivity.
[0047] It is understandable that the specificity of any initial threshold is determined based on the first and third parameters, while the sensitivity of any initial threshold is determined using the second and fourth parameters. A threshold score for any initial threshold is obtained based on both its specificity and sensitivity. By combining specificity and sensitivity, a scoring mechanism for the initial threshold is constructed, improving the accuracy and reasonableness of the threshold score determination results.
[0048] Alternatively, the threshold score for any initial threshold can be determined in the following manner. :
[0049]
[0050]
[0051]
[0052] in, For the second quantity, As the fourth quantity, As the first quantity, It is the third quantity.
[0053] Through the above steps S102 to S106, the goal is to determine the first fault detection result by acquiring the first voltage data collected by the target portable verification terminal, the second voltage data collected by the target voltage monitor, and the third voltage data received by the main station. When the first fault detection result indicates that the target voltage monitor is abnormal, the goal is to determine the second fault detection result of the voltage monitor based on the first voltage waveform data collected by the target portable verification terminal and the second voltage waveform data collected by the target voltage monitor. This achieves the technical effect of improving the accuracy of the fault detection result of the voltage monitor, thereby solving the technical problem of inaccurate fault detection results of the voltage monitor in related technologies.
[0054] Based on the above embodiments and optional embodiments, this application proposes an optional implementation method, which can be understood as a portable verification terminal and system for on-site inspection of voltage monitoring instruments.
[0055] Voltage monitoring instruments are crucial equipment in power systems for monitoring grid voltage deviations and calculating voltage compliance rates. According to industry standards, voltage monitoring instruments must continuously monitor and statistically analyze power supply voltage deviations. To monitor power supply voltage deviations within a jurisdiction, thousands of voltage monitoring instruments are often deployed across various locations, including transformer substations, distribution boxes, and user sides, resulting in a wide distribution, dispersed locations, and concealed installations.
[0056] The current on-site inspection of voltage monitoring instruments has the following problems: (1) It is difficult to find voltage monitoring instruments. Many monitoring instruments are installed on poles, in distribution boxes or in user yards. The location information recorded in the ledger is often not accurate enough. Finding the equipment on-site relies entirely on experience, which is time-consuming and labor-intensive; (2) It is difficult to verify the location. Even if the voltage monitoring instrument is found, it is difficult to confirm whether the voltage monitoring instrument is the one recorded in the ledger (because there may be cases where the voltage monitoring instrument has been replaced or moved); (3) The inspection efficiency is low. The existing inspection methods are mostly manual, one-by-one search and operation, which is inefficient and far from meeting the needs of comprehensive inspection.
[0057] Based on the above problems, a portable verification terminal and system for on-site inspection of voltage monitoring instruments are proposed, including a portable verification terminal and a background management system.
[0058] The portable verification terminal is carried by inspection personnel and integrates a high-precision electrophysical quantity sampling module (24-bit ADC (Analog-to-Digital Converter), 6.4kHz (Hertz) sampling, supporting true RMS value and waveform recording, BeiDou / GPS (Global Positioning System) dual-mode positioning, near-field communication module (Bluetooth / RFID (Radio-Frequency Identification)), camera, communication module (4G / 5G / WiFi (Wireless Fidelity)) and storage module.
[0059] The background management system is used to store the ledger information of voltage monitors (such as device ID, preset GPS coordinates, installation location description, recent operating data, historical waveforms) and communication status, and to synchronize data with portable verification terminals.
[0060] The portable verification terminal and system used for on-site inspection of voltage monitoring instruments have the functions of closed-loop verification of three-source data, high-precision waveform recording and comparison, and triple verification.
[0061] Three-source data closed-loop verification refers to the target portable verification terminal simultaneously acquiring three data sources and performing cross-comparison to obtain the first fault detection result. Data source 1 is the measured voltage data of the target voltage monitor's power supply port, obtained in real-time on-site by the target portable verification terminal through its built-in high-precision electrophysical quantity sampling module (i.e., the first voltage data). Data source 2 is the current voltage value directly read from the target voltage monitor's local storage or display via the near-field communication module (i.e., the second voltage data). Data source 3 is the historical voltage monitoring data uploaded to the main station by the target voltage monitor in the most recent communication cycle, obtained remotely from the background management system by the target portable verification terminal via the 4G / 5G communication module (i.e., the third voltage data).
[0062] The cross-comparison logic is as follows: If the first error between the measured voltage data and the current voltage value exceeds a preset first threshold, the first fault detection result is determined to be an anomaly in the target voltage monitor; if the second error between the current voltage value and historical voltage monitoring data exceeds a preset second threshold, the first fault detection result is determined to be an anomaly in the communication link of the target voltage monitor (e.g., data freezing, packet loss, or target voltage monitor crash); if the third error between the measured voltage data and historical voltage monitoring data exceeds a preset third threshold, and the first two are normal (i.e., the first error is less than or equal to the preset first threshold, and the second error is less than or equal to the preset second threshold), the first fault detection result is determined to be a delay in master station data synchronization. Through the above three-source cross-verification, abnormal links can be accurately located, avoiding misjudgments.
[0063] High-precision waveform recording and comparison refers to the process of comparing the first voltage waveform data and the second voltage waveform data when the first fault detection result indicates that the target voltage monitor is abnormal, thereby detecting whether the target voltage monitor has sampling drift or sampling circuit failure and obtaining the second fault detection result.
[0064] The portable verification terminal continuously records on-site voltage waveform data (i.e., the first voltage waveform data, with a configurable duration, such as 2 minutes (i.e., the duration corresponding to the first historical time period)) at a sampling rate of ≥6.4kHz (kilohertz), and stores the raw waveform data. It reads historical voltage waveform data (i.e., the second voltage waveform data) stored by the target voltage monitor for the same time period via a near-field communication module. The similarity between the two voltage waveforms is calculated (using either the correlation coefficient method or the dynamic time warping method), and a target health score for the target voltage monitor is calculated based on the similarity. If the target health score is greater than a first abnormal threshold, the second fault detection result is determined to be sampling drift in the target voltage monitor; if the target health score is less than the second abnormal threshold, the second fault detection result is determined to be a sampling circuit fault in the target voltage monitor.
[0065] The triple verification is automatically performed by the portable verification terminal. The first step is location verification, comparing the target portable verification terminal's GPS coordinates with preset coordinates in the ledger. If the deviation exceeds a threshold (e.g., 10 meters), a "location abnormality" message is displayed. The second step is identity verification, reading the target voltage monitor's ID, model, and serial number via the near-field communication module and comparing them item by item with the ledger records. If they do not match, a "device abnormality" message is displayed (the device may have been replaced or tampered with). The third step is data verification, reading the target voltage monitor's stored voltage monitoring data for the most recent 24 hours and comparing it with synchronized data from the same period in the background. If the data deviation is too large or there is a long period without data, a "data abnormality" message is displayed.
[0066] The aforementioned portable verification terminal also features on-site recording and photographic evidence preservation. It captures photos of the equipment installation environment and meter box location, preserving on-site visual data. It supports on-site text annotations (such as "damaged box door," "construction nearby," etc.) for recording abnormal situations. All records are automatically associated with the target voltage monitor ID and timestamp, and saved together with the on-site recorded voltage waveform data to form a complete inspection file.
[0067] Using the portable verification terminal and system described above for on-site inspection of voltage monitors, a method for rapid batch inspection of voltage monitors is proposed.
[0068] Step S1: The inspection personnel walk along the predetermined path, and the target portable verification terminal continuously scans the surrounding near-field communication signals.
[0069] Step S2: When entering the Bluetooth communication range of a voltage monitor, the system automatically performs triple verification and three-source data closed-loop verification, without any manual intervention.
[0070] Step S3: Manual confirmation is prompted only when an anomaly occurs; otherwise, automatic recording and scanning continue.
[0071] Using the above-mentioned rapid batch inspection method can improve inspection efficiency by 5-10 times, and is particularly suitable for areas with dense deployment of voltage monitoring instruments.
[0072] Here is an implementation example 1: routine inspection of voltage monitoring instruments in urban power distribution networks.
[0073] There are 3,500 voltage monitoring devices in a certain jurisdiction, distributed in various transformer substations and distribution boxes.
[0074] Preparation phase: Export all voltage monitoring instrument records from the background, generate inspection plans, and synchronize them to 10 portable verification terminals.
[0075] On-site inspection: Inspectors carry portable verification terminals, open the APP to display the distribution map of the voltage monitoring instruments to be inspected, and the system automatically plans the optimal route.
[0076] Verification process: Upon arrival near the target voltage monitor, the terminal automatically connects. The inspector connects the voltage clamp to the power supply side of the device, and the portable verification terminal automatically records the voltage waveform for 2 minutes. Simultaneously, it reads the internal data of the voltage monitor and the main station data, performing three-source comparison and waveform comparison. The entire process takes approximately 30-40 seconds per unit.
[0077] Anomalies detected: A voltage monitor's measured voltage was 223.5V, while the monitor displayed a current voltage of 218.2V. The main station recorded historical voltage monitoring data of 221.8V, indicating an anomaly in the voltage monitor. A work order was generated recommending calibration. Another voltage monitor showed a similarity of only 0.65 between its on-site voltage waveform data and its recorded historical voltage waveform data, resulting in a health score below the second anomaly threshold, indicating a sampling circuit fault. Investigation revealed that the sampling capacitor was aging. A third voltage monitor had a positional deviation of 35 meters, indicating a positional anomaly.
[0078] Efficiency improvement: Previously, each person inspected 30 voltage monitors per day, but now they can inspect up to 90, and each voltage monitor receives a detailed comparison report.
[0079] Here is implementation example 2: Special inspection for critical power supply protection.
[0080] During a major event's power supply guarantee period, a special inspection of 200 voltage monitoring devices in key areas was required. A batch rapid inspection method was adopted. Inspection personnel walked along a predetermined route, and portable verification terminals automatically scanned the surrounding voltage monitoring devices. No manual operation was required throughout the process; upon passing near a voltage monitoring device, the system automatically completed triple verification, rapid voltage sampling (30 seconds), and three-source data closed-loop verification. Only three voltage monitoring devices with abnormal data prompted for manual confirmation. The inspection of all 200 voltage monitoring devices was completed within 2 hours, ensuring reliable operation of the voltage monitoring devices during the power supply guarantee period.
[0081] The above optional implementation methods achieve at least the following effects:
[0082] (1) Three-source data closed-loop verification accurately locates abnormal links by cross-comparing on-site measurements, voltage monitoring instrument readings and main station data, avoids misjudgment and improves detection efficiency.
[0083] (2) By integrating a 24-bit ADC for high-precision sampling, it supports continuous voltage waveform recording, which can intuitively compare the waveform on site with the waveform recorded by the equipment, and discover problems such as sampling circuit failure, providing richer data support for the health diagnosis of voltage monitors.
[0084] (3) Integrating Beidou / GPS dual-mode positioning guides inspection personnel to quickly reach the target voltage monitor and compares it with the coordinates in the ledger to find the position deviation problem.
[0085] (4) Automatically read the voltage monitor ID via Bluetooth / RFID and automatically compare it with the ledger to prevent the ledger from not being updated after the voltage monitor has been replaced or tampered with.
[0086] It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases the steps shown or described may be executed in a different order than that shown here.
[0087] This embodiment also provides a fault detection device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the terms "module" and "device" can refer to a combination of software and / or hardware that performs a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, hardware implementations, or a combination of software and hardware, are also possible and contemplated.
[0088] According to an embodiment of this application, an apparatus embodiment for implementing a fault detection method is also provided. Figure 2 This is a schematic diagram of a fault detection device according to an embodiment of this application, such as... Figure 2 As shown, the above-mentioned fault detection device includes a data acquisition module 202, a first determination module 204, and a detection module 206. The device will be described below.
[0089] The data acquisition module 202 is used to acquire the first voltage data and the second voltage data of the user-side power supply node at the current moment, the third voltage data at a historical moment, and the first voltage waveform data and the second voltage waveform data of the user-side power supply node at a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the master station and uploaded by the target voltage monitor at a historical moment, the first voltage waveform data is collected by the target portable verification terminal at a first historical time period, the second voltage waveform data is collected by the target voltage monitor at a first historical time period, and the historical moment is the receiving moment with the smallest time difference from the current moment among the receiving moments corresponding to the multiple voltage data received by the master station.
[0090] The first determining module 204 is connected to the data acquisition module 202 and is used to determine the first fault detection result at the current moment based on the first voltage data, the second voltage data and the third voltage data. The first fault detection result includes the target voltage monitor being abnormal, the target voltage monitor's communication link being abnormal, and the master station's data synchronization delay.
[0091] The detection module 206, connected to the first determination module 204, is used to detect whether the target voltage monitor has sampling drift or sampling circuit failure based on the first voltage waveform data and the second voltage waveform data when the first fault detection result indicates that the target voltage monitor is abnormal, and obtain the second fault detection result at the current moment.
[0092] In a fault detection device provided in this application embodiment, by setting a data acquisition module 202, a first determination module 204, and a detection module 206, the device achieves the purpose of determining a first fault detection result by acquiring first voltage data collected by a target portable verification terminal, second voltage data collected by a target voltage monitor, and third voltage data received by the main station. Furthermore, when the first fault detection result indicates an abnormality in the target voltage monitor, the device determines a second fault detection result for the voltage monitor based on the first voltage waveform data collected by the target portable verification terminal and the second voltage waveform data collected by the target voltage monitor. This achieves the technical effect of improving the accuracy of the fault detection result of the voltage monitor, thereby solving the technical problem of inaccurate fault detection results of voltage monitors in related technologies.
[0093] It should be noted that the above modules can be implemented by software or hardware. For example, for the latter, it can be implemented in the following ways: the above modules can be located in the same processor; or the above modules can be located in different processors in any combination.
[0094] It should be noted that the data acquisition module 202, the first determination module 204, and the detection module 206 mentioned above correspond to steps S102 to S106 in the embodiments. The instances and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the content disclosed in the above embodiments. It should be noted that the above modules, as part of the device, can run in a computer terminal.
[0095] It should be noted that the optional or preferred implementation methods of this embodiment can be found in the relevant descriptions in the embodiments, and will not be repeated here.
[0096] The aforementioned fault detection device may also include a processor and a memory. The data acquisition module 202, the first determination module 204, the detection module 206, etc., are all stored in the memory as program units, and the processor executes the aforementioned program units stored in the memory to realize the corresponding functions.
[0097] The processor contains a core that retrieves the corresponding program unit from memory. One or more cores may be configured. Memory may include non-persistent memory in computer-readable media, random access memory (RAM), and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory includes at least one memory chip.
[0098] This application provides a non-volatile storage medium storing a program that, when executed by a processor, implements a fault detection method.
[0099] This application provides an electronic device. Figure 3 This is a structural diagram of an electronic device provided according to an embodiment of this application. For example... Figure 3 As shown, the electronic device may include: one or more ( Figure 3 (Only one is shown) a processor 302, a memory 304, a memory controller, and a peripheral interface, wherein the peripheral interface is connected to the radio frequency module, the audio module, and the display. The electronic device includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, it performs the following steps: acquiring first voltage data and second voltage data of the user-side power supply node at the current moment, third voltage data at a historical time, and first voltage waveform data and second voltage waveform data of the user-side power supply node during a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment; the second voltage data is the voltage value collected by the target voltage monitor at the current moment; the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical time; and the first voltage waveform data is the voltage waveform data collected by the target portable verification terminal during the first historical time period. The voltage waveform data is acquired by the target voltage monitor within the first historical time period. The historical time is the receiving time with the smallest time difference from the current time among the multiple voltage data received by the master station. Based on the first, second, and third voltage data, a first fault detection result is determined for the current time. This first fault detection result includes target voltage monitor malfunction, target voltage monitor communication link malfunction, and master station data synchronization delay. If the first fault detection result indicates a target voltage monitor malfunction, a second fault detection result is obtained for the current time based on the first and second voltage waveform data to detect whether the target voltage monitor has sampling drift or sampling circuit faults. The device mentioned in this article can be a server, PC, etc.
[0100] This application also provides a computer program product, which, when executed on a data processing device, is suitable for executing an initialization program with the following method steps: acquiring first voltage data and second voltage data of the user-side power supply node at the current moment, third voltage data at a historical moment, and first voltage waveform data and second voltage waveform data of the user-side power supply node during a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor during a historical moment, and the first voltage waveform data is the voltage waveform data collected by the target portable verification terminal during the first historical time period. The voltage waveform data is acquired by the target voltage monitor in the first historical time period. The historical time is the receiving time with the smallest time difference from the current time among the receiving times corresponding to multiple voltage data received by the master station. Based on the first voltage data, the second voltage data, and the third voltage data, the first fault detection result at the current time is determined. The first fault detection result includes target voltage monitor abnormality, target voltage monitor communication link abnormality, and master station data synchronization delay. If the first fault detection result indicates that the target voltage monitor is abnormal, based on the first voltage waveform data and the second voltage waveform data, the second fault detection result at the current time is obtained by detecting whether the target voltage monitor has sampling drift or sampling circuit failure.
[0101] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0102] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart... Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0103] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0104] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0105] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0106] Memory may include non-persistent memory in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, like read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0107] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0108] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0109] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, this application can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, this application can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0110] The above are merely embodiments of this application and are not intended to limit the scope of this application. Various modifications and variations can be made to this application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the scope of the claims of this application.
Claims
1. A fault detection method, characterized in that, include: The system acquires the first voltage data and second voltage data of the user-side power supply node at the current moment, the third voltage data at a historical moment, and the first voltage waveform data and second voltage waveform data of the user-side power supply node during a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical moment, the first voltage waveform data is collected by the target portable verification terminal during the first historical time period, the second voltage waveform data is collected by the target voltage monitor during the first historical time period, and the historical moment is the receiving moment with the smallest time difference from the current moment among the receiving moments corresponding to the multiple voltage data received by the main station. Based on the first voltage data, the second voltage data, and the third voltage data, a first fault detection result is determined at the current moment, wherein the first fault detection result includes an abnormality in the target voltage monitor, an abnormality in the communication link of the target voltage monitor, and a delay in the data synchronization of the main station; If the first fault detection result indicates that the target voltage monitor is abnormal, based on the first voltage waveform data and the second voltage waveform data, it is detected whether the target voltage monitor has sampling drift or sampling circuit failure, and the second fault detection result at the current moment is obtained.
2. The method according to claim 1, characterized in that, Determining the first fault detection result at the current moment based on the first voltage data, the second voltage data, and the third voltage data includes: Determine a first error between the first voltage data and the second voltage data. If the first error is greater than a preset first threshold, determine that the first fault detection result indicates that the target voltage monitor is malfunctioning; or... If the first error is less than or equal to the preset first threshold, a second error is determined between the second voltage data and the third voltage data; if the second error is greater than the preset second threshold, the first fault detection result is determined to be an abnormal communication link; or... If the first error is less than or equal to the preset first threshold and the second error is less than or equal to the preset second threshold, a third error between the first voltage data and the third voltage data, and a time difference between the current time and the historical time are determined. If the third error is greater than the preset third threshold and the time difference is greater than the preset fourth threshold, the first fault detection result is determined to be the master station data synchronization delay, wherein the preset first threshold is less than the preset second threshold and the preset second threshold is less than the preset third threshold.
3. The method according to claim 1 or 2, characterized in that, The step of detecting whether the target voltage monitor has sampling drift or sampling circuit fault based on the first voltage waveform data and the second voltage waveform data, and obtaining the second fault detection result at the current moment, includes: A first abnormal threshold is determined to indicate whether the target voltage monitor has sampling drift, and a second abnormal threshold is determined to indicate whether the target voltage monitor has sampling circuit failure. Determine the similarity between the first voltage waveform data and the second voltage waveform data; Based on the second voltage waveform data, the voltage fluctuation rate of the target voltage monitor during the first historical time period is determined; Based on the similarity and the voltage fluctuation rate, the target health score of the target voltage monitor at the current moment is determined; Based on the target health score, the first abnormal threshold, and the second abnormal threshold, the second fault detection result is determined.
4. The method according to claim 3, characterized in that, The determination of a first abnormal threshold for indicating whether the target voltage monitor has sampling drift and a second abnormal threshold for indicating whether the target voltage monitor has sampling circuit failure includes: The system acquires a first voltage waveform data sample set and a second voltage waveform data sample set for the user-side power supply node. The first voltage waveform data sample set includes multiple third voltage waveform data collected by multiple first voltage monitors with actual fault identification as sampling drift during a second historical time period, and multiple fourth voltage waveform data collected by multiple first portable verification terminals during the second historical time period. Each of the multiple first voltage monitors corresponds one-to-one with the multiple third voltage waveform data, and each of the multiple third voltage waveform data corresponds one-to-one with the multiple fourth voltage waveform data. The second voltage waveform data sample set includes multiple fifth voltage waveform data collected by multiple second voltage monitors with actual fault identification as sampling circuit fault during the second historical time period, and multiple sixth voltage waveform data collected by multiple second portable verification terminals during the second historical time period. Each of the multiple second voltage monitors corresponds one-to-one with the multiple fifth voltage waveform data, and each of the multiple fifth voltage waveform data corresponds one-to-one with the multiple sixth voltage waveform data. For any one of the plurality of first voltage monitors, based on the third voltage waveform data of any one first voltage monitor and the fourth voltage waveform data of the first portable verification terminal corresponding to any one first voltage monitor, the first health score of any one first voltage monitor is determined by using the method of determining the target health score; Multiple first health scores are obtained by determining the first health score of any of the first voltage monitors, wherein the multiple first health scores correspond one-to-one with the multiple first voltage monitors; For any one of the plurality of second voltage monitors, based on the fifth voltage waveform data of the second voltage monitor and the sixth voltage waveform data of the second portable verification terminal corresponding to the second voltage monitor, the second health score of the second voltage monitor is determined by using the method of determining the target health score; Multiple second health scores are obtained by determining the second health score of any of the second voltage monitors, wherein the multiple second health scores correspond one-to-one with the multiple second voltage monitors; The plurality of first health scores and the plurality of second health scores are determined as a plurality of initial thresholds; Based on the plurality of initial thresholds, the first number of the plurality of first voltage monitors, and the second number of the plurality of second voltage monitors, the first abnormal threshold and the second abnormal threshold are determined.
5. The method according to claim 4, characterized in that, The step of determining the first abnormal threshold and the second abnormal threshold based on the plurality of initial thresholds, the first number of the plurality of first voltage monitors, and the second number of the plurality of second voltage monitors includes: For any one of the plurality of initial thresholds, the first voltage monitor and the second voltage monitor with a first health score and a second health score greater than or equal to the first initial threshold are identified as a plurality of third voltage monitors with the fault identification mark being sampling drift, and the first voltage monitor and the second voltage monitor with a first health score and a second health score less than the first initial threshold are identified as a plurality of fourth voltage monitors with the fault identification mark being sampling circuit fault. Based on the actual fault identifiers corresponding to the plurality of first voltage monitors, the actual fault identifiers corresponding to the plurality of second voltage monitors, the identified fault identifiers corresponding to the plurality of third voltage monitors, and the identified fault identifiers corresponding to the plurality of fourth voltage monitors, a third number of voltage monitors whose actual fault identifier is sampling drift and whose identified fault identifier is sampling circuit fault, and a fourth number of voltage monitors whose actual fault identifier is sampling circuit fault and whose identified fault identifier is sampling drift are determined. Based on the first quantity, the second quantity, the third quantity, and the fourth quantity, determine the threshold score for any initial threshold; The threshold scores corresponding to the plurality of initial thresholds are determined by using a threshold score method that determines any one of the initial thresholds; The initial threshold corresponding to the maximum value and the initial threshold corresponding to the second largest value among the threshold scores of the multiple initial thresholds are determined as two target thresholds; The larger of the two target thresholds is determined as the first abnormal threshold, and the smaller of the two target thresholds is determined as the second abnormal threshold.
6. The method according to claim 5, characterized in that, The step of determining the threshold score for any initial threshold based on the first quantity, the second quantity, the third quantity, and the fourth quantity includes: Based on the first quantity and the third quantity, the specificity of any initial threshold is determined, wherein the specificity is used to characterize the ability of any initial threshold to identify sampling drift of the voltage monitor; Based on the second quantity and the fourth quantity, the sensitivity of any initial threshold is determined, wherein the sensitivity is used to characterize the ability of any initial threshold to identify sampling circuit faults of the voltage monitor; Based on the specificity and the sensitivity, a threshold score is determined for any initial threshold.
7. A fault detection device, characterized in that, include: The data acquisition module is used to acquire the first voltage data and the second voltage data of the user-side power supply node at the current moment, the third voltage data at a historical moment, and the first voltage waveform data and the second voltage waveform data of the user-side power supply node at a first historical time period. The first voltage data is the voltage value collected by the target portable verification terminal at the current moment, the second voltage data is the voltage value collected by the target voltage monitor at the current moment, the third voltage data is the voltage value received by the main station and uploaded by the target voltage monitor at a historical moment, the first voltage waveform data is collected by the target portable verification terminal during the first historical time period, the second voltage waveform data is collected by the target voltage monitor during the first historical time period, and the historical moment is the receiving moment with the smallest time difference from the current moment among the receiving moments corresponding to the multiple voltage data received by the main station. The first determining module is used to determine the first fault detection result at the current moment based on the first voltage data, the second voltage data and the third voltage data, wherein the first fault detection result includes the target voltage monitor being abnormal, the communication link of the target voltage monitor being abnormal, and the main station data synchronization delay. The detection module is used to detect whether the target voltage monitor has sampling drift or sampling circuit failure based on the first voltage waveform data and the second voltage waveform data when the first fault detection result indicates that the target voltage monitor is abnormal, and to obtain the second fault detection result at the current moment.
8. A non-volatile storage medium, characterized in that, The non-volatile storage medium stores multiple instructions, which are adapted to be loaded by a processor and executed by the fault detection method according to any one of claims 1 to 6.
9. An electronic device, characterized in that, include: One or more processors and a memory, the memory being used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors cause the one or more processors to implement the fault detection method according to any one of claims 1 to 6.
10. A computer program product comprising computer instructions, characterized in that, When the computer instructions are executed by the processor, they implement the fault detection method according to any one of claims 1 to 6.