A fault detection method, device, equipment and medium of an electric meter
By analyzing the voltage, current, and meter readings of electricity meters from multiple dimensions, faults in electricity meters can be identified, solving the problems that occur in the operation of electricity meters and improving the efficiency and accuracy of fault detection.
Patent Information
- Application Number
- CN202411399153.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-09
- Publication Date
- 2026-01-02
- Estimated Expiration
- 2044-10-09
AI Technical Summary
Electricity meters are prone to malfunctions in actual operation, which can affect the accuracy of electricity measurement, potentially lead to electricity bill disputes, and even threaten the safety of the power grid.
By acquiring meter voltage, meter current, meter readings, and reverse power supply status, as well as the historical meter readings of the target meter, multi-dimensional fault detection is performed, including voltage loss, current loss, and meter reading fault detection. Combined with reverse power supply status and power changes, the fault type of the meter is determined.
It enables automatic identification and diagnosis of meter faults, improves the efficiency and accuracy of fault detection, and provides clear fault information and handling suggestions.
Smart Images

Figure CN119247255B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of electric meter detection, and in particular to an electric meter fault detection method, device, equipment and medium. BACKGROUND
[0002] With the rapid development of smart grids, electric power meters as key equipment for grid operation monitoring and power settlement, their accuracy and stability are crucial for the stable operation of the power system and the fairness of user electricity metering.
[0003] However, in actual operation, electric power meters often fail due to various reasons, which not only affects the accuracy of electric energy metering, but also may cause electricity disputes and even threaten the safety of the power grid. SUMMARY
[0004] The present application provides an electric meter fault detection method, device, equipment and medium to improve the detection efficiency of electric meter faults.
[0005] In a first aspect, the present application provides an electric meter fault detection method, comprising:
[0006] For each cycle, the electric meter voltage, electric meter current, electric meter code and reverse power supply state of the target electric meter in the cycle are obtained, as well as the historical meter code of the target electric meter;
[0007] According to the electric meter voltage, electric meter current, electric meter code and historical meter code of the target electric meter, the target electric meter is subjected to first fault detection, and the first detection result of the target electric meter is obtained;
[0008] According to the first detection result, the reverse power supply state and the electric meter current, the target detection result of the target electric meter is determined.
[0009] In a second aspect, the present application further provides an electric meter fault detection device, comprising:
[0010] The voltage acquisition module is configured to obtain, for each cycle, the electric meter voltage, electric meter current, electric meter code and reverse power supply state of the target electric meter in the cycle, as well as the historical meter code of the target electric meter;
[0011] The first result determination module is configured to perform first fault detection on the target electric meter according to the electric meter voltage, electric meter current, electric meter code and historical meter code of the target electric meter, and obtain the first detection result of the target electric meter;
[0012] The target result determination module is configured to determine the target detection result of the target electric meter according to the first detection result, the reverse power supply state and the electric meter current.
[0013] In a third aspect, the present application further provides an electronic device, comprising:
[0014] at least one processor; and
[0015] a memory in communication with the at least one processor; wherein
[0016] The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the fault detection method of the electric meter provided by any one of the embodiments of the present application.
[0017] In a fourth aspect, the embodiments of the present application further provide a computer readable storage medium, which stores computer instructions for enabling a processor to implement the fault detection method of the electric meter according to any one of the embodiments of the present application when the processor executes the computer instructions.
[0018] The embodiments of the present application acquire the electric meter voltage, the electric meter current, the electric meter code and the reverse power supply state of the target electric meter in each cycle and the historical code of the target electric meter, perform the first fault detection on the target electric meter according to the electric meter voltage, the electric meter current, the electric meter code and the historical code of the target electric meter, obtain the first detection result of the target electric meter, and determine the target detection result of the target electric meter according to the first detection result, the reverse power supply state and the electric meter current. The technical scheme of the embodiments of the present application can realize the automatic identification and diagnosis of the electric meter fault through the multi-dimensional data of the electric meter voltage, the electric meter current, the electric meter code, the reverse power supply state and the historical code, and improve the efficiency of the electric meter fault detection.
[0019] It should be understood that the content described in this part is not intended to identify key or important features of the embodiments of the present application, nor is it used to limit the scope of the present application. Other features of the present application will become apparent from the following description. BRIEF DESCRIPTION OF DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed in the embodiment description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can also be obtained by those skilled in the art without creative labor.
[0021] Figure 1 is a flowchart of a fault detection method of an electric meter according to an embodiment of the present application;
[0022] Figure 2 is a flowchart of a fault detection method of an electric meter according to an embodiment of the present application;
[0023] Figure 3 is a structural schematic diagram of a fault detection device of an electric meter according to an embodiment of the present application;
[0024] Figure 4 Figure 1 is a structural schematic diagram of an electronic device implementing a fault detection method of an electric meter according to an embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the personnel in the technical field better understand the present application, the technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor should belong to the scope of protection of the present application.
[0026] It should be noted that the terms "first" and "second" and the like in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device including a series of steps or units does not have to be limited to those steps or units clearly listed, but can include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0027] In the technical solutions of the embodiments of the present application, the acquisition, storage and application of the electric meter voltage, electric meter current and electric meter meter code are all in line with the relevant legal regulations and do not violate public order and good customs.
[0028] Embodiment one
[0029] Figure 1 A flowchart of a fault detection method of an electric meter according to the first embodiment of the present application is provided, and the present embodiment can be applicable to determine the fault detection of the electric meter. The method can be executed by a fault detection device of an electric meter, which can be realized in the form of hardware and / or software and specifically configured in an electronic device, such as a server.
[0030] Referring to Figure 1 The fault detection method of the electric meter includes:
[0031] S101, for each cycle, acquiring the electric meter voltage, electric meter current, electric meter meter code and reverse power supply state of the target electric meter in the cycle, and the historical meter code of the target electric meter.
[0032] In this embodiment, the target meter can be a meter to be detected for fault. The meter code can be a value of the power consumption displayed in the meter. The reverse power supply state can include, but is not limited to, a reverse power supply state and an absence of a reverse power supply state, etc. The historical meter code can be a meter code in a historical period before the period.
[0033] Specifically, for each period, the meter voltage, the meter current, the meter code and the reverse power supply state of the target meter in the period are obtained, and the historical meter code of the target meter is obtained.
[0034] S102, according to the meter voltage, the meter current, the meter code and the historical meter code of the target meter, the first fault detection of the target meter is performed to obtain the first detection result of the target meter.
[0035] Specifically, a certain algorithm is used to perform the first fault detection of the target meter according to the meter voltage, the meter current, the meter code and the historical meter code of the target meter, and the first detection result of the target meter is obtained.
[0036] S103, according to the first detection result, the reverse power supply state and the meter current, the target detection result of the target meter is determined.
[0037] In this embodiment, the target detection result can be the final detection result of the target meter. Specifically, a certain algorithm is used to determine the target detection result of the target meter according to the first detection result, the reverse power supply state and the meter current.
[0038] Optionally, according to the first detection result, the reverse power supply state and the meter current, the target detection result of the target meter is determined, including: if the first detection result is abnormal, determining that the target detection result of the target meter is abnormal; if the first detection result is normal, obtaining the meter power change value of the target meter in the period; if the power change value is less than or equal to a preset power threshold, determining that the target detection result of the target meter is abnormal; if the power change value is greater than the preset power threshold, determining the target detection result of the target meter according to the reverse power supply state.
[0039] The meter power change value can include the meter power change value at each sampling time in the period, which is the difference between the power value at each sampling time and the power value at the previous time. It should be noted that the preset power threshold can be set by the technician according to the actual demand or practical experience, and the present application does not limit it. Specifically, if the power change value is greater than the preset power threshold, a certain algorithm is used to determine the target detection result of the target meter according to the reverse power supply state.
[0040] It can be understood that, by using the above technical solution, if the first detection result is abnormal, it is determined that the target detection result of the target electric meter is abnormal; if the first detection result is normal, the electric meter electric quantity change value of the target electric meter in the period is obtained; if the electric quantity change value is less than or equal to the preset electric quantity threshold, it is determined that the target detection result of the target electric meter is abnormal; if the electric quantity change value is greater than the preset electric quantity threshold, the target detection result of the target electric meter is determined according to the reverse power supply state, and the accuracy of the target detection result is improved.
[0041] Optionally, the target detection result of the target electric meter is determined according to the reverse power supply state, including: if the reverse power supply state is that there is reverse power supply, the reverse active electric quantity in the period is obtained; the reverse active electric quantity includes the reverse active electric quantity corresponding to each sampling time in the period; the third time length during which the reverse active electric quantity is greater than or equal to the preset reverse active electric quantity threshold is determined according to the reverse active electric quantity corresponding to each sampling time; the third comparison result is obtained by comparing the third time length and the third time length threshold; and the target detection result of the target electric meter is determined according to the third comparison result.
[0042] The third time length is the time length during which the reverse active electric quantity is greater than or equal to the preset reverse active electric quantity threshold in the period. It should be noted that the preset reverse active electric quantity threshold and the third time length threshold can be set by the technician according to actual needs or practical experience, and the present application does not limit this. Specifically, if the third comparison result is that the third time length is greater than or equal to the third time length threshold, it is determined that the target detection result is abnormal; if the third comparison result is that the third time length is less than the third time length threshold, it is determined that the target detection result is normal.
[0043] It can be understood that, by using the above technical solution, if the reverse power supply state is that there is reverse power supply, the reverse active electric quantity in the period is obtained; the reverse active electric quantity includes the reverse active electric quantity corresponding to each sampling time in the period; the third time length during which the reverse active electric quantity is greater than or equal to the preset reverse active electric quantity threshold is determined according to the reverse active electric quantity corresponding to each sampling time; the third comparison result is obtained by comparing the third time length and the third time length threshold; and the target detection result of the target electric meter is determined according to the third comparison result, which further improves the accuracy of the target detection result.
[0044] The embodiment of the present application obtains the meter voltage, the meter current, the meter code and the reverse power supply state of the target meter in each cycle and the historical meter code of the target meter, performs first fault detection on the target meter according to the meter voltage, the meter current, the meter code and the historical meter code of the target meter, obtains the first detection result of the target meter, and determines the target detection result of the target meter according to the first detection result, the reverse power supply state and the meter current. The technical scheme of the embodiment of the present application can realize automatic identification and diagnosis of the meter fault through multi-dimensional data of the meter voltage, the meter current, the meter code, the reverse power supply state and the historical meter code, and improves the efficiency of the meter fault detection.
[0045] Embodiment two
[0046] Figure 2 The flowchart of the meter fault detection method provided by the embodiment two of the present application is based on the technical scheme of the above-mentioned embodiment, and the determination operation of the first detection result is optimized and improved.
[0047] Further, the first fault detection on the target meter according to the meter voltage, the meter current, the meter code and the historical meter code of the target meter is refined into the voltage loss fault detection on the target meter according to the meter voltage corresponding to each sampling time, the current loss fault detection on the target meter according to the meter current corresponding to each sampling time, the meter code fault detection on the target meter according to the meter code corresponding to each sampling time and the historical meter code, and the determination of the first detection result of the target meter according to the voltage loss fault detection result, the current loss fault detection result and the meter code fault detection result, so as to improve the determination operation of the first detection result.
[0048] It should be noted that the parts not described in detail in the embodiment of the present application can be referred to the description of the foregoing embodiments.
[0049] Referring to Figure 2 The meter fault detection method shown in the figure comprises:
[0050] S201, for each cycle, the meter voltage, the meter current, the meter code and the reverse power supply state of the target meter in the cycle are obtained, and the historical meter code of the target meter is obtained.
[0051] In the embodiment, the meter voltage comprises the meter voltage corresponding to each sampling time in the cycle, the meter current comprises the meter current corresponding to each sampling time, and the meter code comprises the meter code corresponding to each sampling time.
[0052] S202, detecting a voltage loss fault of the target electric meter according to the electric meter voltages corresponding to the sampling moments, to obtain a voltage loss fault detection result of the target electric meter.
[0053] In this embodiment, the voltage loss fault detection result can be used to represent whether the target electric meter has a voltage loss fault. Specifically, a certain algorithm is used to detect the voltage loss fault of the target electric meter according to the electric meter voltages corresponding to the sampling moments, to obtain the voltage loss fault detection result of the target electric meter.
[0054] Optionally, the voltage loss fault detection result of the target electric meter is obtained by detecting the voltage loss fault of the target electric meter according to the electric meter voltages corresponding to the sampling moments, including: determining a first duration in which the electric meter voltage is less than or equal to a preset voltage threshold according to the electric meter voltages corresponding to the sampling moments; comparing the first duration with a first duration threshold to obtain a first comparison result; and determining the voltage loss fault detection result of the target electric meter according to the first comparison result.
[0055] The first duration is the duration in which the electric meter voltage is less than or equal to the preset voltage threshold in the period. It should be noted that the preset voltage threshold and the first duration threshold can be set by the technician according to the actual demand or practical experience, and the present application does not limit this.
[0056] Specifically, if the first comparison result is that the first duration is greater than or equal to the first duration threshold, it is determined that the voltage loss fault detection result of the target electric meter is that there is a voltage loss fault; if the first comparison result is that the first duration is less than the first duration threshold, it is determined that the voltage loss fault detection result of the target electric meter is that there is no voltage loss fault.
[0057] It can be understood that by using the above technical solution, the first duration in which the electric meter voltage is less than or equal to the preset voltage threshold is determined according to the electric meter voltages corresponding to the sampling moments; the first comparison result is obtained by comparing the first duration with the first duration threshold; and the voltage loss fault detection result of the target electric meter is determined according to the first comparison result, which improves the accuracy of the voltage loss fault detection result.
[0058] S203, detecting a voltage loss fault of the target electric meter according to the electric meter voltages corresponding to the sampling moments, to obtain a voltage loss fault detection result of the target electric meter.
[0059] In this embodiment, the voltage loss fault detection result can be used to represent whether the target electric meter has a voltage loss fault. Specifically, a certain algorithm is used to detect the voltage loss fault of the target electric meter according to the electric meter voltages corresponding to the sampling moments, to obtain the voltage loss fault detection result of the target electric meter.
[0060] Optionally, the no-flow fault detection result of the target electric meter is obtained according to the electric meter current corresponding to each sampling time, and the no-flow fault detection result of the target electric meter is obtained by: determining a second duration in which the electric meter current is less than or equal to a preset current threshold according to the electric meter current corresponding to each sampling time; obtaining a second comparison result by comparing the second duration with a second duration threshold; and determining the no-flow fault detection result of the target electric meter according to the second comparison result.
[0061] The second duration is the duration in which the electric meter current is less than or equal to the preset current threshold in the period. It should be noted that the preset current threshold and the second duration threshold can be determined by the technical personnel according to actual needs or practical experience.
[0062] Specifically, if the second comparison result is that the second duration is greater than or equal to the second duration threshold, it is determined that the no-flow fault detection result exists; if the second comparison result is that the second duration is less than the second duration threshold, it is determined that the no-flow fault detection result does not exist.
[0063] It can be understood that, by using the above technical solution, the second duration in which the electric meter current is less than or equal to the preset current threshold can be determined according to the electric meter current corresponding to each sampling time; the second comparison result can be obtained by comparing the second duration with the second duration threshold; and the no-flow fault detection result of the target electric meter can be determined according to the second comparison result, thereby improving the accuracy of the no-flow fault detection result.
[0064] S204, the meter code fault detection result of the target electric meter is obtained by performing meter code fault detection on the target electric meter according to the electric meter code corresponding to each sampling time and the historical meter code.
[0065] In this embodiment, the meter code fault detection result can be used to represent whether the target electric meter has a meter code fault. Specifically, a certain algorithm is used to perform meter code fault detection on the target electric meter according to the electric meter code corresponding to each sampling time and the historical meter code, and the meter code fault detection result of the target electric meter is obtained.
[0066] Optionally, the historical meter code includes the electric meter code in at least one historical period; the historical period is before the period; and the meter code fault detection result of the target electric meter is obtained by performing meter code fault detection on the target electric meter according to the electric meter code corresponding to each sampling time and the historical meter code, including: querying a matching historical period matching the period; and performing meter code fault detection on the target electric meter according to the electric meter code in the matching historical period and the electric meter code of the period, to obtain the meter code fault detection result of the target electric meter.
[0067] Specifically, a matching historical period matching the period is queried; for example, the current period is from 7:00 to 8:00 on January 7, and the matching historical period of the period is from 7:00 to 8:00 on January 6. For each sampling time, the meter code difference between the meter code corresponding to the sampling time in the matching historical period and the meter code corresponding to the sampling time in the period is determined; it is detected whether there is a meter code difference greater than or equal to a preset difference threshold; if there is a meter code difference greater than or equal to the preset difference threshold, it is determined that the meter code fault detection result is that there is a meter code fault; if there is no meter code difference greater than or equal to the preset difference threshold, it is determined that the meter code fault detection result is that there is no meter code fault. It should be noted that the preset difference threshold can be set by the technician according to the actual demand or practical experience.
[0068] It can be understood that by using the above technical solution, a matching historical period matching the period can be queried; the meter code fault of the target meter is detected according to the meter code in the matching historical period and the meter code of the period, and the meter code fault detection result of the target meter is obtained, thereby improving the accuracy of the meter code fault detection result.
[0069] S205, determining the first detection result of the target meter according to the loss of voltage fault detection result, the loss of current fault detection result and the meter code fault detection result.
[0070] Specifically, if the loss of voltage fault detection result is that there is no loss of voltage fault, the loss of current fault detection result is that there is no loss of current fault, and the meter code fault detection result is that there is no meter code fault, it is determined that the first detection result of the target meter is normal; otherwise, it is determined that the first detection result of the target meter is abnormal.
[0071] S206, determining the target detection result of the target meter according to the first detection result, the reverse power supply state and the meter current.
[0072] In an optional embodiment, after it is determined that the target detection result is abnormal, a warning information can also be sent to the technician, and the meter voltage, the meter current, the meter code and the reverse power supply state of the target meter in the period, and the historical meter code of the target meter can also be analyzed, thereby providing clear fault information and processing suggestions for the on-site maintenance personnel.
[0073] In still another optional embodiment, in order to realize long-term preservation and traceability of data, distributed storage technology can also be used to store the meter voltage, the meter current, the meter code and the reverse power supply state, and the historical meter code of the target meter, thereby ensuring the security and scalability of the data. At the same time, a convenient query interface is provided, which supports data retrieval according to time, meter number, fault type and other conditions, thereby providing strong support for fault analysis and system optimization.
[0074] The embodiment of the present application can detect the voltage loss fault of the target electric meter according to the electric meter voltage corresponding to each sampling time, obtain the voltage loss fault detection result of the target electric meter, detect the current loss fault of the target electric meter according to the electric meter current corresponding to each sampling time, obtain the current loss fault detection result of the target electric meter, detect the meter code fault of the target electric meter according to the meter code corresponding to each sampling time and the historical meter code, obtain the meter code fault detection result of the target electric meter, determine the first detection result of the target electric meter according to the voltage loss fault detection result, the current loss fault detection result and the meter code fault detection result, accurately identify the voltage loss fault, the current loss fault and the meter code fault of the target electric meter, and improve the accuracy of the first detection result.
[0075] Embodiment three
[0076] Figure 3 A structural schematic diagram of an electric meter fault detection device provided by the third embodiment of the present application. The present embodiment can be applied to the case of determining the fault detection of the electric meter. The device can execute the electric meter fault detection method. The electric meter fault detection device can be realized in the form of hardware and / or software. The device can be configured in an electronic device.
[0077] Referring to Figure 3 The electric meter fault detection device shown in the figure comprises a voltage acquisition module 301, a first result determination module 302 and a target result determination module 303, wherein,
[0078] The voltage acquisition module 301 is configured to acquire the electric meter voltage, the electric meter current, the electric meter code and the reverse power supply state of the target electric meter in each period, and the historical meter code of the target electric meter for each period.
[0079] The first result determination module 302 is configured to perform the first fault detection of the target electric meter according to the electric meter voltage, the electric meter current, the electric meter code and the historical meter code of the target electric meter, and obtain the first detection result of the target electric meter.
[0080] The target result determination module 303 is configured to determine the target detection result of the target electric meter according to the first detection result, the reverse power supply state and the electric meter current.
[0081] The embodiment of the present application obtains the meter voltage, the meter current, the meter code and the reverse power supply state of the target meter in each cycle and the historical meter code of the target meter through the voltage acquisition module; the first fault detection of the target meter is performed according to the meter voltage, the meter current, the meter code and the historical meter code of the target meter through the first result determination module, and the first detection result of the target meter is obtained; the target detection result of the target meter is determined according to the first detection result, the reverse power supply state and the meter current through the target result determination module. The technical scheme of the embodiment of the present application can realize the automatic identification and diagnosis of the meter fault through the multi-dimensional data of the meter voltage, the meter current, the meter code, the reverse power supply state and the historical meter code, and the efficiency of the meter fault detection is improved.
[0082] Optionally, the meter voltage includes the meter voltage corresponding to each sampling moment in the cycle; the meter current includes the meter current corresponding to each sampling moment; and the meter code includes the meter code corresponding to each sampling moment.
[0083] The first result determination module 301 includes:
[0084] The voltage loss detection unit is configured to perform voltage loss fault detection on the target meter according to the meter voltage corresponding to each sampling moment, and obtain a voltage loss fault detection result of the target meter.
[0085] The current loss detection unit is configured to perform current loss fault detection on the target meter according to the meter current corresponding to each sampling moment, and obtain a current loss fault detection result of the target meter.
[0086] The meter code detection unit is configured to perform meter code fault detection on the target meter according to the meter code corresponding to each sampling moment and the historical meter code, and obtain a meter code fault detection result of the target meter.
[0087] The first result determination unit is configured to determine the first detection result of the target meter according to the voltage loss fault detection result, the current loss fault detection result and the meter code fault detection result.
[0088] Optionally, the voltage loss detection unit is specifically configured to:
[0089] determine a first duration in which the meter voltage is less than or equal to a preset voltage threshold according to the meter voltage corresponding to each sampling moment.
[0090] compare the first duration with a first duration threshold to obtain a first comparison result.
[0091] determine the voltage loss fault detection result of the target meter according to the first comparison result.
[0092] Optionally, the current loss detection unit is configured to:
[0093] determine a second duration in which the ammeter current is less than or equal to the preset current threshold according to the ammeter current corresponding to each sampling time;
[0094] compare the second duration with a second duration threshold to obtain a second comparison result;
[0095] determine the loss-of-field fault detection result of the target ammeter according to the second comparison result.
[0096] Optionally, the historical meter code includes a meter code in at least one historical period; and the historical period is before the period.
[0097] The meter code detection unit is specifically configured to:
[0098] query a matching historical period matching the period;
[0099] perform meter code fault detection on the target ammeter according to the meter code in the matching historical period and the meter code of the period, to obtain a meter code fault detection result of the target ammeter.
[0100] Optionally, the target result determination module 303 includes:
[0101] The first determination unit is configured to determine that the target detection result of the target ammeter is abnormal if the first detection result is abnormal.
[0102] The value acquisition unit is configured to acquire an ammeter power change value of the target ammeter in the period if the first detection result is normal.
[0103] The second determination unit is configured to determine that the target detection result of the target ammeter is abnormal if the power change value is less than or equal to a preset power threshold.
[0104] The third determination unit is configured to determine the target detection result of the target ammeter according to the reverse power supply state if the power change value is greater than the preset power threshold.
[0105] Optionally, the third determination unit is specifically configured to:
[0106] acquire reverse active power in the period if the reverse power supply state is that reverse power supply exists; the reverse active power includes reverse active power corresponding to each sampling time in the period.
[0107] determine a third duration in which the reverse active power is greater than or equal to a preset reverse active power threshold according to the reverse active power corresponding to each sampling time.
[0108] compare the third duration with a third duration threshold to obtain a third comparison result.
[0109] determine the target detection result of the target ammeter according to the third comparison result.
[0110] The fault detection device of the electric meter provided by the embodiment of the present application can execute the fault detection method of the electric meter provided by any of the embodiments of the present application, and has the corresponding function modules and beneficial effects of executing the fault detection method of the electric meter.
[0111] Embodiment four
[0112] Figure 4 A structural schematic diagram of an electronic device 400 that can be used to implement embodiments of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptops, desktops, tablets, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device can also represent various forms of mobile devices, such as personal digital assistants, cellular telephones, smartphones, wearable devices (e.g., headsets, glasses, watches, etc.), and other similar computing devices. The components shown here, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application described and / or claimed in this document.
[0113] As shown in Figure 4 The electronic device 400 includes at least one processor 401, and a memory, such as a read-only memory (ROM) 402, a random access memory (RAM) 403, etc., connected to the at least one processor 401 in communication, where the memory stores computer programs executable by the at least one processor. The processor 401 can perform various appropriate actions and processes according to the computer programs stored in the read-only memory (ROM) 402 or loaded into the random access memory (RAM) 403 from the storage unit 408. In the RAM 403, various programs and data required for the operation of the electronic device 400 can also be stored. The processor 401, the ROM 402, and the RAM 403 are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0114] A plurality of components in the electronic device 400 are connected to the I / O interface 405, including: an input unit 406, such as a keyboard, a mouse, etc.; an output unit 407, such as various types of displays, speakers, etc.; a storage unit 408, such as a magnetic disk, an optical disk, etc.; and a communication unit 409, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 409 allows the electronic device 400 to exchange information / data with other devices through a computer network, such as the Internet, and / or various telecommunications networks.
[0115] The processor 401 can be various general-purpose and / or special-purpose processing components having processing and computing capabilities. Some examples of the processor 401 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various specialized artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, and the like. The processor 401 performs various methods and processes described above, such as the fault detection method of the electric meter.
[0116] In some embodiments, the fault detection method of the electric meter can be implemented as a computer program tangibly embodied in a computer readable storage medium, such as the storage unit 408. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 400 via the ROM 402 and / or the communication unit 409. When the computer program is loaded onto the RAM 403 and executed by the processor 401, one or more steps of the fault detection method of the electric meter described above can be performed. Alternatively, in other embodiments, the processor 401 can be configured to perform the fault detection method of the electric meter by any other appropriate means, such as by means of firmware.
[0117] Various implementations of the systems and techniques described above can be realized in digital electronic circuitry, integrated circuitry, a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), a system on a chip (SOC), a complex programmable logic device (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include implementation in one or more computer programs that are executable and / or interpretable on a programmable system including at least one programmable processor, which can be special or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0118] Computer programs used to implement the methods of the present application can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the computer program, when executed, implements the functions / acts specified in the flowcharts and / or block diagrams. The computer program can be executed entirely on a machine, partially on a machine and partially on a remote machine or entirely on a remote machine or server.
[0119] In the context of the present application, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer-readable storage medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of a machine-readable storage medium will include one or more lines of a program of instructions in a transitory signal, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0120] To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can be used to provide for interaction with a user as well; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form, including acoustic, speech, or tactile input.
[0121] The systems and techniques described here can be implemented in a computing system that includes a back end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front end component (e.g., a user computer having a graphical user interface or a Web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back end, middleware, or front end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0122] The computing system can include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system, to solve the defects of large management difficulty and weak business scalability in traditional physical host and VPS (Virtual Private Server) service.
[0123] It should be understood that the various forms of flow shown above can be reordered, added to, or have steps deleted. For example, the steps described in the present application can be performed in parallel, in series, or in a different order, as long as the desired results of the technical solutions of the present application can be achieved, which are not limited herein.
[0124] The above detailed description does not constitute a limitation on the protection scope of the present application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present application shall be included in the protection scope of the present application.
Claims
1. A fault detection method of an electric meter, characterized by, The method comprises: For each cycle, obtaining the meter voltage, meter current, meter code and reverse power supply state of the target meter in the cycle, and the historical meter code of the target meter; the meter code is the numerical value of the power consumption displayed in the meter; According to the meter voltage, the meter current, the meter code and the historical meter code of the target meter, the first fault detection of the target meter is performed to obtain the first detection result of the target meter; According to the first detection result, the reverse power supply state and the meter current, the target detection result of the target meter is determined; Wherein, the meter voltage includes the meter voltage corresponding to each sampling time in the cycle; the meter current includes the meter current corresponding to each sampling time; the meter code includes the meter code corresponding to each sampling time; According to the meter voltage, the meter current, the meter code and the historical meter code of the target meter, the first fault detection of the target meter is performed to obtain the first detection result of the target meter, comprising: According to the meter voltage corresponding to each sampling time, the loss of voltage fault detection of the target meter is performed to obtain the loss of voltage fault detection result of the target meter; According to the meter current corresponding to each sampling time, the loss of current fault detection result of the target meter is performed to obtain the loss of current fault detection result of the target meter; According to the meter code corresponding to each sampling time and the historical meter code, the meter code fault detection of the target meter is performed to obtain the meter code fault detection result of the target meter; According to the loss of voltage fault detection result, the loss of current fault detection result and the meter code fault detection result, the first detection result of the target meter is determined; Wherein, according to the first detection result, the reverse power supply state and the meter current, the target detection result of the target meter is determined, comprising: If the first detection result is abnormal, it is determined that the target detection result of the target meter is abnormal; If the first detection result is normal, the meter power change value of the target meter in the cycle is obtained; If the power change value is less than or equal to the preset power threshold, it is determined that the target detection result of the target meter is abnormal; If the power change value is greater than the preset power threshold, the target detection result of the target meter is determined according to the reverse power supply state.
2. The method of claim 1, wherein, According to the meter voltage corresponding to each sampling time, the loss of voltage fault detection of the target meter is performed to obtain the loss of voltage fault detection result of the target meter, comprising: According to the meter voltage corresponding to each sampling time, the first time length of the meter voltage less than or equal to the preset voltage threshold is determined; Comparing the first time length and the first time length threshold, the first comparison result is obtained; According to the first comparison result, the loss of voltage fault detection result of the target meter is determined.
3. The method of claim 1, wherein, According to the meter current corresponding to each sampling time, the loss of current fault detection result of the target meter is performed to obtain the loss of current fault detection result of the target meter, comprising: determine, according to the electric meter current corresponding to each sampling time, a second duration in which the electric meter current is less than or equal to a preset current threshold; compare the second duration with a second duration threshold to obtain a second comparison result; determine, according to the second comparison result, a loss-of-current fault detection result of the target electric meter.
4. The method of claim 1, wherein, The historical meter code includes an electric meter code in at least one historical period; the historical period is before the period; The meter code fault detection of the target electric meter according to the electric meter code corresponding to each sampling time and the historical meter code includes: querying a matching historical period matching the period; determining, according to the electric meter code in the matching historical period and the electric meter code in the period, a meter code fault detection result of the target electric meter.
5. The method of claim 1, wherein, The determination of the target detection result of the target electric meter according to the reverse power supply state includes: if the reverse power supply state is that there is reverse power supply, obtaining reverse active power in the period; the reverse active power includes reverse active power corresponding to each sampling time in the period; determining, according to the reverse active power corresponding to each sampling time, a third duration in which the reverse active power is greater than or equal to a preset reverse active power threshold; comparing the third duration with a third duration threshold to obtain a third comparison result; determining, according to the third comparison result, a target detection result of the target electric meter.
6. A fault detection device for an electricity meter, characterised in that, The device includes: a voltage acquisition module configured to, for each period, acquire an electric meter voltage, an electric meter current, an electric meter code and a reverse power supply state of a target electric meter in the period, and a historical meter code of the target electric meter; the electric meter code is a numerical value of power consumption displayed in the electric meter; a first result determination module configured to determine, according to the electric meter voltage, the electric meter current, the electric meter code and the historical meter code of the target electric meter, a first fault detection result of the target electric meter; a target result determination module configured to determine, according to the first detection result, the reverse power supply state and the electric meter current, a target detection result of the target electric meter; wherein the electric meter voltage includes an electric meter voltage corresponding to each sampling time in the period; the electric meter current includes an electric meter current corresponding to each sampling time; and the electric meter code includes an electric meter code corresponding to each sampling time; The first result determination module includes: a loss-of-voltage detection unit configured to determine, according to the electric meter voltage corresponding to each sampling time, a loss-of-voltage fault detection result of the target electric meter; a loss-of-current detection unit configured to determine, according to the electric meter current corresponding to each sampling time, a loss-of-current fault detection result of the target electric meter; a meter code detection unit configured to determine, according to the electric meter code corresponding to each sampling time and the historical meter code, a meter code fault detection result of the target electric meter. The first result determination unit is configured to determine a first detection result of the target electric meter according to the voltage loss fault detection result, the current loss fault detection result, and the meter code fault detection result. The target result determination module comprises: The first determination unit is configured to determine that a target detection result of the target electric meter is abnormal if the first detection result is abnormal. The value acquisition unit is configured to acquire an electric meter electric quantity change value of the target electric meter in the period if the first detection result is normal. The second determination unit is configured to determine that the target detection result of the target electric meter is abnormal if the electric quantity change value is less than or equal to a preset electric quantity threshold. The third determination unit is configured to determine the target detection result of the target electric meter according to the reverse power supply state if the electric quantity change value is greater than the preset electric quantity threshold.
7. An electronic device, comprising: The electronic device comprises: at least one processor; and a memory connected with the at least one processor in communication; wherein The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor to enable the at least one processor to execute the electric meter fault detection method of any one of claims 1-5.
8. A computer-readable storage medium, characterized in that, The computer readable storage medium stores computer instructions for enabling the processor to execute the electric meter fault detection method of any one of claims 1-5 when executed.
Citation Information
Patent Citations
Electric power measurement automation terminal detection method and system
CN103941207A
Method and system for fault remote determination of intelligent ammeter
CN105548949A