Method, device, apparatus and medium for determining the state of a metering device
By automatically obtaining the voltage, current and historical data of the metering device, the high cost and low accuracy problems caused by manual detection are solved, and automated state determination is achieved.
Patent Information
- Application Number
- CN202211019955.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2025-09-02
- Estimated Expiration
- 2042-08-24
AI Technical Summary
In the prior art, relying on manual detection of the state of the metrology device leads to problems such as high labor costs and low detection accuracy.
By obtaining the primary side voltage, primary side current, secondary side voltage and secondary side current of the target metering device, and combining the historical power consumption information and historical alarm events of the electric energy meter, the status of the metering device is automatically determined.
It realizes no need for manual on-site inspection, reduces labor costs and improves the accuracy of status determination.
Smart Images

Figure CN115390004B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to a method, device, apparatus, and medium for determining the state of a metering device. Background Art
[0002] The stable and reliable operation of metering devices is of vital importance to both power supply companies and electricity users. However, due to factors such as the operating environment, device performance, personnel skills, and electricity usage behavior, metering devices are prone to malfunctions and electricity theft during on-site operation, seriously affecting the on-site performance of energy metering devices.
[0003] In the prior art, it is usually necessary for operators to detect the status of the metering device on site, which undoubtedly brings about high labor costs and low detection accuracy, and requires a high level of technical skills from the operators. Summary of the Invention
[0004] The present invention provides a method, device, equipment and medium for determining the status of a metering device to solve the problem in the prior art that the status of the metering device is detected on site by operators, resulting in high labor costs and low detection accuracy.
[0005] According to one aspect of the present invention, a method for determining a state of a metering device is provided, comprising:
[0006] Obtaining the primary side voltage, primary side current, secondary side voltage, and secondary side current of the target metering device;
[0007] Acquire historical electricity usage information and historical alarm events of the electric energy meter associated with the target metering device;
[0008] The state of the target metering device is determined according to the primary-side voltage, the primary-side current, the secondary-side voltage, the secondary-side current, the historical power usage information, and the historical alarm events.
[0009] According to another aspect of the present invention, there is provided a device for determining a state of a metering device, comprising:
[0010] A voltage and current acquisition module is used to obtain the primary side voltage, primary side current, secondary side voltage and secondary side current of the target metering device;
[0011] A historical information acquisition module, configured to acquire historical electricity usage information and historical alarm events of the electric energy meter associated with the target metering device;
[0012] A state determination module is configured to determine a state of the target metering device according to the primary side voltage, the primary side current, the secondary side voltage, the secondary side current, the historical power usage information, and the historical alarm events.
[0013] According to another aspect of the present invention, an electronic device is provided, comprising:
[0014] at least one processor; and
[0015] a memory communicatively connected to the at least one processor; wherein,
[0016] The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the method for determining the state of a metering device according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the state determination method of a metering device according to any embodiment of the present invention when executed.
[0018] The technical solution of the embodiment of the present invention obtains the primary side voltage, primary side current, secondary side voltage, and secondary side current of the target metering device; obtains historical power consumption information and historical alarm events of the electric energy meter associated with the target metering device; and determines the status of the target metering device based on the primary side voltage, primary side current, secondary side voltage, secondary side current, historical power consumption information, and historical alarm events. This achieves the effect of automatically determining the status of the metering device based on the collected data, eliminating the need for operators to test the status of the metering device on site and not relying on the technical skills of the operators, thereby reducing labor costs and improving the accuracy of status determination.
[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will become readily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0021] Figure 1A flow chart of a method for determining the state of a metering device is provided for the first embodiment of the present invention;
[0022] Figure 2 This is a flow chart of a method for determining the state of a metering device provided in Example 2 of the present invention;
[0023] Figure 3 This is a flow chart of a method for determining the state of a metering device provided in Example 3 of the present invention;
[0024] Figure 4 This is a flow chart of a method for determining the state of a metering device provided in a fourth embodiment of the present invention;
[0025] Figure 5 A schematic diagram of a data acquisition principle provided by the fourth embodiment of the present invention;
[0026] Figure 6 A schematic diagram of a flow chart for determining the state of a metering device provided in a fourth embodiment of the present invention;
[0027] Figure 7 A schematic structural diagram of a state determination device for a metering device provided in a fifth embodiment of the present invention;
[0028] Figure 8 It is a structural diagram of an electronic device for implementing the method for determining the state of a metering device according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the embodiments described are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present invention.
[0030] It should be noted that the terms "first", "second", "current" and "normal" in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0031] During the on-site operation of the metering device, faults such as wiring errors, ratio configuration errors, or aging of the metering secondary circuit caused by improper operation of the metering operation and maintenance personnel are prone to occur, or electricity theft occurs by users arbitrarily changing the metering wiring, modifying the metering secondary circuit, or replacing the transformer, which seriously affects the on-site operation level of the metering device.
[0032] On-site inspections of metering devices typically rely on operators using phase sequence meters, volt-ammeters, or calibrators. However, these instruments currently in use are limited in functionality, resulting in low efficiency and difficulty in meeting the needs of troubleshooting in a variety of scenarios. For example, using a volt-ammeter to analyze wiring errors requires operators to test voltage, current, and phase difference, and to draw a hexagonal diagram to analyze the wiring errors. This requires high technical skills, a cumbersome process, high labor costs, and low detection accuracy.
[0033] In order to ensure the efficiency and quality of on-site inspection of metering devices and reduce measurement errors and safety hazards, it is urgent to propose a new method for determining the status of metering devices.
[0034] Example 1
[0035] Figure 1 A flowchart of a method for determining the status of a metering device is provided for the first embodiment of the present invention. This embodiment is applicable to the case of automatically determining whether the status of a metering device is abnormal. The method can be executed by a metering device status determination device, which can be implemented in the form of hardware and / or software. The freight risk account processing device can be configured in a metering on-site inspection device. Figure 1 As shown, the method includes:
[0036] S101 : Acquire a primary side voltage, a primary side current, a secondary side voltage, and a secondary side current of a target metering device.
[0037] S102: Acquire historical electricity usage information and historical alarm events of an electric energy meter associated with a target metering device.
[0038] The target metering device includes a metering voltage transformer and a metering current transformer, wherein the metering voltage transformer is a voltage transformer that provides voltage to the associated electric energy meter, and the metering current transformer is a current transformer that provides current to the associated electric energy meter.
[0039] The primary side voltage represents the voltage value at the input end of the target metering device, the secondary side voltage represents the voltage value at the output end of the target metering device, the primary side current represents the current value at the input end of the target metering device, and the secondary side current represents the current value at the output end of the target metering device.
[0040] Historical electricity usage information refers to the electricity usage data of the energy meter at historical moments. Historical alarm events refer to the alarm events generated when the energy meter experienced abnormalities at historical moments.
[0041] In one embodiment, the high-voltage voltage probe and the first current clamp are fixed to the high-voltage input terminal of the target metering device through an insulating rod, and the low-voltage voltage probe and the second current clamp are fixed to the low-voltage output terminal of the target metering device and the voltage and current input terminals of the electric energy meter by on-site personnel wearing insulating gloves.
[0042] The high-voltage voltage probe and the first current clamp meter are used to obtain the primary side voltage and the primary side current of the target metering device respectively. The low-voltage voltage probe and the second current clamp meter are used to obtain the secondary side voltage and the secondary side current of the target metering device respectively.
[0043] The on-site measurement inspection device communicates with the high-voltage voltage probe and the first current clamp meter via its own wireless communication module, respectively, to obtain the primary-side voltage and current collected by the high-voltage voltage probe and the first current clamp meter. The on-site measurement inspection device also communicates with the low-voltage voltage probe and the second current clamp meter via its own high-speed analog-to-digital conversion sampling module, respectively, to obtain the secondary-side voltage and current collected by the low-voltage voltage probe and the second current clamp meter.
[0044] The metering on-site inspection device is also connected to the associated electric energy meter through its own RS485 communication interface, and is used to obtain historical electricity consumption information and historical alarm events from the historical information stored locally in the electric energy meter.
[0045] S103 : Determine the status of the target metering device according to the primary side voltage, the primary side current, the secondary side voltage, the secondary side current, historical power usage information, and historical alarm events.
[0046] The status of the target metering device includes a fault state, a power theft state, and a normal state.
[0047] In one embodiment, the execution step of S103 may include:
[0048] Step A: The metering on-site inspection device generates a hexagonal diagram of the target metering device based on the acquired primary side voltage, primary side current, secondary side voltage, and secondary side current using a preset hexagonal diagram generation algorithm, and determines whether the target metering device has incorrect wiring based on the features and phases in the hexagonal diagram.
[0049] If it is determined that there is a wrong wiring, go to step B, otherwise go to step C:
[0050] Step B: Determine whether the acquired historical alarm events include the preset target alarm events:
[0051] If so, the electricity consumption fluctuation rate before and after the target alarm event occurs is determined based on the acquired historical electricity consumption information, and the electricity consumption fluctuation rate is compared with the fluctuation rate threshold. If the electricity consumption fluctuation rate exceeds the fluctuation rate threshold, it is determined that the target metering device is in an electricity theft state; if the electricity consumption fluctuation rate does not exceed the fluctuation rate threshold, it is determined that the target metering device is in a fault state.
[0052] If not, it is determined that the target metering device is in a fault state.
[0053] Step C: Calculate the secondary loop error based on the obtained primary side voltage and secondary side voltage, and compare the secondary loop error with the error value threshold. If the secondary loop error exceeds the error threshold, continue to step B. If the secondary loop error does not exceed the error threshold, execute step D.
[0054] Step D: Calculate a voltage transformer ratio value based on the obtained primary and secondary voltages, and calculate a current transformer ratio value based on the obtained primary and secondary currents. Compare the voltage transformer ratio value with a standard voltage ratio value, and compare the current transformer ratio value with a standard current ratio value.
[0055] If the voltage transformer ratio value is different from the voltage ratio standard value, or the current transformer ratio value is different from the current ratio standard value, then continue to step B.
[0056] If the voltage transformer ratio value is the same as the voltage transformation ratio standard value, and the current transformer ratio value is the same as the current transformation ratio standard value, it is determined that the target metering device is in a normal state.
[0057] The present invention obtains the primary-side voltage, primary-side current, secondary-side voltage, and secondary-side current of a target metering device; obtains historical power consumption information and historical alarm events of an electric energy meter associated with the target metering device; and determines the status of the target metering device based on the primary-side voltage, primary-side current, secondary-side voltage, secondary-side current, historical power consumption information, and historical alarm events. This achieves the effect of automatically determining the status of the metering device based on the collected data, eliminates the need for operators to detect the status of the metering device on site, and is independent of the operators' technical skills, thereby reducing labor costs and improving the accuracy of status determination.
[0058] Example 2
[0059] Figure 2 This is a flow chart of a method for determining the state of a metering device provided in the second embodiment of the present invention. This embodiment further optimizes and expands the above embodiment and can be combined with the above optional implementation methods. Figure 2 As shown, the method includes:
[0060] S201: Acquire the primary side voltage, primary side current, secondary side voltage, and secondary side current of a target metering device, and acquire historical power usage information and historical alarm events of an electric energy meter associated with the target metering device.
[0061] S202 : Generate a hexagonal diagram of the target metering device according to the primary side voltage, the primary side current, the secondary side voltage, and the secondary side current.
[0062] Among them, the hexagonal diagram is a vector phase diagram used to reflect the phase relationship between the measured current and voltage and the selected reference quantity, thereby providing a method for determining incorrect wiring.
[0063] In one embodiment, the primary side voltage, primary side current, secondary side voltage, and secondary side current are used as input parameters of a preset hexagonal map generation algorithm, and the hexagonal map generation algorithm is run to calculate and draw a hexagonal map of the target metering device.
[0064] S203: Determine whether the target metering device has incorrect wiring according to the hexagonal diagram and the incorrect wiring judgment rule.
[0065] The incorrect wiring judgment rule records at least one incorrect wiring and its corresponding phase feature.
[0066] In one embodiment, the phase feature in the hexagonal diagram is matched with at least one phase feature recorded in the wrong wiring judgment rule. If the match is successful, it is determined that the target metering device has wrong wiring; if the match fails, it is determined that the target metering device does not have wrong wiring.
[0067] Optionally, the incorrect wiring judgment rules include 48 three-phase three-wire and 96 three-phase four-wire incorrect wiring judgment rules.
[0068] S204: If it is determined that there is a wiring error, execute S205; if it is determined that there is no wiring error, execute S206.
[0069] S205: Determine the status of the target metering device based on historical electricity usage information and historical alarm events.
[0070] In one embodiment, it is determined whether the historical alarm events include at least one target alarm event. If so, the state of the target metering device is determined based on the historical electricity usage information; if not, it is determined that the target metering device is in a fault state.
[0071] By generating a hexagonal diagram of the target metering device based on the primary-side voltage, primary-side current, secondary-side voltage, and secondary-side current, and determining whether the target metering device has wiring errors based on the hexagonal diagram and error wiring judgment rules, and if an error wiring is determined, determining the status of the target metering device based on historical power usage information and historical alarm events, the system automatically draws the hexagonal diagram and automatically determines whether the target metering device has wiring errors, saving labor costs and laying a data foundation for subsequent judgment processes.
[0072] S206 , determining a voltage difference according to the primary side voltage and the secondary side voltage, and determining a secondary loop error value according to a ratio between the voltage difference and the secondary side voltage.
[0073] In one embodiment, when it is determined that there is no incorrect wiring, the difference between the primary side voltage and the secondary side voltage is calculated as the voltage difference, and the ratio of the voltage difference to the secondary side voltage is calculated as the secondary loop error value.
[0074] For example, the secondary loop error value is determined using the following formula:
[0075]
[0076] Among them, ε represents the secondary loop error value, U o Indicates the secondary side voltage, U i Indicates the primary side voltage.
[0077] S207 , comparing the secondary loop error value with the error value threshold. If the secondary loop error value is greater than the error value threshold, execute S205 ; if the secondary loop error value is less than or equal to the error value threshold, execute S208 .
[0078] The error value threshold can be set according to the type of the mutual inductor of the target metering device.
[0079] By determining the voltage difference based on the primary-side voltage and the secondary-side voltage when it is determined that there is no wrong wiring; determining the secondary circuit error value based on the ratio between the voltage difference and the secondary-side voltage; comparing the secondary circuit error value with the error value threshold, and determining the state of the target metering device based on historical power consumption information and historical alarm events when the secondary circuit error value is greater than the error value threshold, the effect of performing a secondary verification of the target metering device based on the calculated secondary circuit error value is achieved when it is determined that there is no wrong wiring in the target metering device, avoiding the problem of misjudgment in determining whether the target metering device is in a faulty or power theft state based solely on the determination result of wrong wiring, and improving the accuracy and reliability of the determination of the state of the target metering device.
[0080] S208. Determine a voltage transformer ratio according to a ratio between the primary side voltage and the secondary side voltage, and determine a current transformer ratio according to a ratio between the primary side current and the secondary side current.
[0081] In one embodiment, when the secondary loop error value is less than or equal to the error value threshold, the ratio between the primary side voltage and the secondary side voltage is calculated as the voltage transformer ratio, and the ratio between the primary side current and the secondary side current is calculated as the current transformer ratio.
[0082] Exemplarily, the voltage transformer ratio and the current transformer ratio are determined using the following formula:
[0083]
[0084] Among them, r U Indicates the voltage transformer ratio, r I Indicates the current transformer ratio, U i Indicates the primary side voltage, U o Indicates the secondary side voltage, I i Indicates the primary side current, I o Indicates the secondary side current.
[0085] S209: Compare the voltage transformer ratio value with the voltage transformation ratio standard value, and compare the current transformer ratio value with the current transformation ratio standard value.
[0086] The voltage transformation ratio standard value and the current transformation ratio standard value represent the standard values of the target metering device under normal conditions. The metering field inspection device communicates with a terminal device, such as a personal computer (PC), via its RS232 communication interface. This device is used to export metering archive data from the company's marketing information management system on the terminal device and determine the voltage transformation ratio standard value and the current transformation ratio standard value of the target metering device from this metering archive data.
[0087] S210. When the voltage transformer ratio value is different from the voltage ratio standard value, or the current transformer ratio value is different from the current ratio standard value, execute S205; when the voltage transformer ratio value is the same as the voltage ratio standard value, and the current transformer ratio value is the same as the current ratio standard value, execute S211.
[0088] When the secondary circuit error value is less than or equal to the error value threshold, the voltage transformer ratio value is determined based on the ratio between the primary side voltage and the secondary side voltage, and the current transformer ratio value is determined based on the ratio between the primary side current and the secondary side current; the voltage transformer ratio value is compared with the voltage ratio standard value, and the current transformer ratio value is compared with the current ratio standard value; when the voltage transformer ratio value is different from the voltage ratio standard value, or when the current transformer ratio value is different from the current ratio standard value, the state of the target metering device is determined based on historical power consumption information and historical alarm events. This achieves the effect of performing three verifications on the target metering device based on the calculated voltage transformer ratio value and current transformer ratio value when it is determined that there is no incorrect wiring in the target metering device and the secondary circuit error value is less than or equal to the error value threshold, avoiding the problem of misjudgment when determining whether the target metering device is in a faulty or power theft state based on the determination results of incorrect wiring and the secondary circuit error value, thereby further improving the accuracy and reliability of the determination of the state of the target metering device.
[0089] S211. Determine whether the target metering device is in a normal state.
[0090] By determining that the target metering device is in a normal state when the voltage transformer ratio value is the same as the voltage transformation ratio standard value and the current transformer ratio value is the same as the current transformation ratio standard value, the situation where the target metering device has been artificially modified is eliminated. Moreover, since the determination that the target metering device is in a normal state is based on the judgment results of three dimensions: incorrect wiring, secondary circuit error value, and voltage and current transformer ratio value, the accuracy and reliability of determining that the target metering device is in a normal state are guaranteed.
[0091] Example 3
[0092] Figure 3 This is a flowchart of a method for determining the status of a metering device provided in the third embodiment of the present invention. This embodiment further optimizes and expands the step of "determining the status of the target metering device based on historical electricity usage information and historical alarm events" in the above embodiment, and can be combined with the above optional implementation methods. Figure 3 As shown, the method includes:
[0093] S301. Determine whether historical alarm events include at least one target alarm event; wherein the target alarm event includes: undervoltage alarm event, loss of voltage alarm event, phase failure alarm event, loss of current alarm event, overcurrent alarm event, or meter cover opening alarm event.
[0094] In one embodiment, the metering on-site inspection device performs a character search on the acquired historical alarm events to determine whether the historical alarm events include at least one of an undervoltage alarm event, a loss of pressure alarm event, a phase failure alarm event, a loss of current alarm event, an overcurrent alarm event, or a meter cover opening alarm event.
[0095] S3021. If yes, determine the status of the target metering device based on historical electricity usage information.
[0096] In one embodiment, if the historical alarm events include at least one target alarm event among undervoltage alarm events, voltage loss alarm events, phase failure alarm events, current loss alarm events, overcurrent alarm events, or meter cover opening alarm events, the time when each target alarm event occurred is determined. Furthermore, the power consumption fluctuation rate for a preset time period before and after the time is determined, and the state of the target metering device is determined based on the power consumption fluctuation rate.
[0097] Optionally, S3021 includes the following steps A1, B1, and C1:
[0098] A1. Determine the first historical electricity consumption and the second historical electricity consumption associated with each target alarm event based on historical electricity consumption information; wherein the first historical electricity consumption is the historical electricity consumption of the electricity meter during the target time period before the target alarm event occurs, and the second historical electricity consumption is the historical electricity consumption of the electricity meter during the target time period after the target alarm event occurs.
[0099] In one embodiment, based on the time when a target alarm event occurs on the electric energy meter, the historical electricity consumption of the electric energy meter within a target time period before the target alarm event occurs is determined as the first historical electricity consumption, and the historical electricity consumption of the electric energy meter within a target time period after the target alarm event occurs is determined as the second historical electricity consumption. Optionally, the historical electricity consumption of the electric energy meter within three months before the target alarm event occurs is used as the first historical electricity consumption, and the historical electricity consumption of the electric energy meter within three months after the target alarm event occurs is used as the second historical electricity consumption.
[0100] B1. Determine the power consumption fluctuation rate corresponding to each target alarm event based on the first historical power consumption and the second historical power consumption.
[0101] In one embodiment, the first historical average power consumption corresponding to the first historical power consumption of each target alarm event is calculated, and the second historical average power consumption corresponding to the second historical power consumption of each target alarm event is calculated, and then the power consumption fluctuation rate corresponding to each target alarm event is determined based on the first historical average power consumption and the second historical average power consumption.
[0102] Optionally, step B1 includes the following steps B11, B12, and B13:
[0103] B11. Determine a first historical average power consumption based on a first historical power consumption associated with any target alarm event and a target time period, and determine a second historical average power consumption based on a second historical power consumption associated with the target alarm event and a target time period.
[0104] Exemplarily, assuming that the target time period is set to three months, the following formula is used to determine the first historical average power consumption and the second historical average power consumption of any target alarm event.
[0105] E T1 =(E t-3 +E t-2 +E t-1 ) / 3,E T2 =(E t+3 +E t+2 +E t+1 ) / 3
[0106] Among them, E T1 Indicates the first historical average power consumption of any target alarm event, E t-3 +E t-2 +E t-1 Indicates the first historical electricity consumption of the electricity meter within three months before the target alarm event occurs.
[0107] E T2 Indicates the second historical average power consumption of the target alarm event, E t+3 +E t+2 +E t+1 Indicates the second historical electricity consumption of the electricity meter within three months after the target alarm event occurs.
[0108] B12. Determine the difference between the historical average electricity consumptions based on the first historical average electricity consumption and the second historical average electricity consumption.
[0109] B13. Determine the power consumption fluctuation rate corresponding to the target alarm event based on the historical average power consumption difference and the first historical average power consumption.
[0110] In one embodiment, the power consumption fluctuation rate corresponding to the target alarm event is determined using the following formula:
[0111]
[0112] Among them, E T1 Indicates the first historical average power consumption of any target alarm event, E T2 ε1 represents the power consumption fluctuation rate corresponding to the target alarm event.
[0113] By determining the first historical average power consumption based on the first historical power consumption and the target time period associated with any target alarm event, and determining the second historical average power consumption based on the second historical power consumption and the target time period associated with the target alarm event; determining the difference in historical average power consumption based on the first historical average power consumption and the second historical average power consumption; and determining the power consumption fluctuation rate corresponding to the target alarm event based on the difference in historical average power consumption and the first historical average power consumption, the effect of data preparation is achieved, laying a data foundation for subsequently determining the status of the target metering device based on the determined power consumption fluctuation rate.
[0114] C1. Compare the power consumption fluctuation rate with the fluctuation rate threshold, and determine the status of the target metering device based on the comparison result.
[0115] Among them, the volatility threshold can be set and adjusted according to actual business needs.
[0116] Based on historical electricity consumption information, a first historical electricity consumption and a second historical electricity consumption associated with each target alarm event are determined; wherein the first historical electricity consumption is the historical electricity consumption of the electricity meter in the target time period before the target alarm event occurs, and the second historical electricity consumption is the historical electricity consumption of the electricity meter in the target time period after the target alarm event occurs; based on the first historical electricity consumption and the second historical electricity consumption, the electricity consumption fluctuation rate corresponding to each target alarm event is determined; the electricity consumption fluctuation rate is compared with the fluctuation rate threshold, and the status of the target metering device is determined based on the comparison result, thereby achieving the effect of judging whether there is human electricity theft in the target metering device based on the electricity consumption fluctuation rate.
[0117] Optionally, in step C1, “determining the state of the target metering device according to the comparison result” includes:
[0118] C11. When there is at least one target alarm event whose corresponding power consumption fluctuation rate is greater than a fluctuation rate threshold, determine that the target metering device is in a power theft state.
[0119] C12. When the power consumption fluctuation rate corresponding to any target alarm event is less than or equal to the fluctuation rate threshold, determine that the target metering device is in a fault state.
[0120] By determining that the target metering device is in the power theft state when the power consumption fluctuation rate corresponding to at least one target alarm event is greater than the fluctuation rate threshold; and determining that the target metering device is in the fault state when the power consumption fluctuation rate corresponding to any target alarm event is less than or equal to the fluctuation rate threshold, the effect of automatically identifying whether the target metering device is in the power theft state or the fault state is achieved. When it is determined that the target metering device is in the power theft state or the fault state, the target metering device can be repaired in time to ensure that the target metering device can operate normally.
[0121] S3022: If not, determine that the target metering device is in a fault state.
[0122] By determining whether historical alarm events include at least one target alarm event; wherein the target alarm events include: undervoltage alarm event, loss of voltage alarm event, phase failure alarm event, loss of current alarm event, overcurrent alarm event, or meter cover opening alarm event; if so, determining the status of the target metering device based on historical electricity usage information; if not, determining that the target metering device is in a faulty state, thereby achieving the effect of automatically identifying whether the target metering device is in an electricity theft state or a faulty state, so that when it is determined that the target metering device is in an electricity theft state or a faulty state, the target metering device can be repaired in a timely manner to ensure that the target metering device can operate normally.
[0123] Example 4
[0124] Figure 4 This is a flow chart of a method for determining the status of a metering device provided in the fourth embodiment of the present invention. This embodiment is applicable to the case where the target metering device is determined to be in a power theft state or a fault state and the error power is calculated. Figure 4 As shown, the method includes:
[0125] S401: Determine the current active power, current reactive power, current active meter code difference, and current reactive meter code difference of a target metering device.
[0126] The current active power and the current reactive power respectively represent the active power and reactive power of the target metering device at the current moment, that is, the active power and reactive power when the target metering device is in a power theft state or a fault state.
[0127] The current active power meter code difference is the difference between the active power meter code corresponding to the target metering device at the time it is determined to be in the power theft or fault state and the active power meter code corresponding to the current time. The current reactive power meter code difference is the difference between the reactive power meter code corresponding to the target metering device at the time it is determined to be in the power theft or fault state and the reactive power meter code corresponding to the current time. For example, assuming that the target metering device is determined to be in the power theft or fault state at time T1, the active power meter code corresponding to the target metering device at time T1 is A1 and the reactive power meter code corresponding to the target metering device at time T1 is B1; assuming that the current time is T2, the active power meter code corresponding to the target metering device at time T2 is A2 and the reactive power meter code corresponding to the target metering device at time T2 is B2; then the current active power meter code difference is A2-A1, and the current reactive power meter code difference is B2-B1.
[0128] S402: Determine the normal active power and normal reactive power of the target metering device in a normal state.
[0129] The normal active power and the normal reactive power respectively represent the active power and reactive power of the target metering device when it is in a normal state.
[0130] S403. Determine the active power error of the target metering device according to the current active power, the normal active power and the current active power meter code difference, and determine the reactive power error of the target metering device according to the current reactive power, the normal reactive power and the current reactive power meter code difference.
[0131] In one embodiment, an active power ratio between the current active power and the normal active power is calculated, and the active error power of the target metering device is determined according to the product of the active power ratio and the current active table code difference.
[0132] Calculate the reactive power ratio between the current reactive power and the normal reactive power, and determine the reactive error power of the target metering device based on the product of the reactive power ratio and the current reactive meter code difference.
[0133] By determining the current active power, current reactive power, current active meter code difference, and current reactive meter code difference of the target metering device; determining the normal active power and normal reactive power of the target metering device in a normal state; determining the active error power of the target metering device according to the current active power, normal active power and current active meter code difference, and determining the reactive error power of the target metering device according to the current reactive power, normal reactive power and current reactive meter code difference, the effect of automatically counting the error power is achieved when it is determined that the target metering device is in a power theft state or a fault state, ensuring that the user can promptly perform the operation of refunding and replenishing power according to the error power.
[0134] Optionally, the step of “determining the active power error of the target metering device according to the current active power, the normal active power, and the current active power meter code difference” in S403 includes:
[0135] The active power ratio is determined based on the ratio between the current active power and the normal active power; the active error power is determined based on the active power ratio, the current active meter code difference and the comprehensive metering multiplier of the target metering device.
[0136] In one embodiment, the active error power of the target metering device is determined using the following formula:
[0137] E p =(K p -1)ΔE p r
[0138] Among them, E p Indicates the active error power of the target metering device, K p=P1 / P2, P1 represents normal active power, P2 represents current active power, ΔE p It represents the current active power meter code difference, and r represents the comprehensive metering multiplier of the target metering device, which can be obtained from the exported metering file data.
[0139] By determining the active power ratio based on the ratio between the current active power and the normal active power; and determining the active error power according to the active power ratio, the current active meter code difference and the comprehensive metering multiplier of the target metering device, the effect of automatically counting the active error power of the target metering device is achieved when it is determined that the target metering device is in a power theft state or a fault state.
[0140] Optionally, the step of “determining the reactive error power of the target metering device according to the current reactive power, the normal reactive power, and the current reactive meter code difference” in S403 includes:
[0141] The reactive power ratio is determined based on the ratio between the current reactive power and the normal reactive power; the reactive error power is determined based on the reactive power ratio, the current reactive meter code difference and the comprehensive metering multiplier of the target metering device.
[0142] In one embodiment, the reactive power error of the target metering device is determined using the following formula:
[0143] E Q =(|K Q |-1)|ΔE Q |r
[0144] Among them, E Q Indicates the reactive power error of the target metering device, K Q =Q1 / Q2, Q1 represents normal reactive power, Q2 represents current reactive power, ΔE Q It represents the current reactive meter code difference, and r represents the comprehensive metering multiplier of the target metering device.
[0145] By determining the reactive power ratio based on the ratio between the current reactive power and the normal reactive power; and determining the reactive error power based on the reactive power ratio, the current reactive meter code difference and the comprehensive metering multiplier of the target metering device, the effect of automatically counting the reactive error power of the target metering device is achieved when it is determined that the target metering device is in a power theft state or a fault state.
[0146] Figure 5 A schematic diagram of a data acquisition principle provided by the fourth embodiment of the present invention is shown as follows: Figure 5As shown, the metering on-site inspection device communicates with the high-voltage voltage probe and the first current clamp meter through its own wireless communication module, and is used to obtain the primary side voltage and primary side current of the target metering device collected by the high-voltage voltage probe and the first current clamp meter.
[0147] The metering on-site inspection device communicates with the low-voltage voltage probe and the second current clamp meter through its own high-speed analog-to-digital conversion sampling module, and is used to obtain the secondary side voltage and secondary side current of the target metering device collected by the low-voltage voltage probe and the second current clamp meter.
[0148] The metering on-site inspection device is connected to the associated electric energy meter through its own RS485 communication interface, and is used to obtain historical electricity consumption information and historical alarm events from the historical information stored locally in the electric energy meter.
[0149] The metering on-site inspection device is connected to the terminal device through its own RS232 communication interface, and is used to obtain the voltage transformation ratio standard value and current transformation ratio standard value of the target metering device from the terminal device; and is also used to send the determined status of the target metering device to the terminal device for backup storage.
[0150] Figure 6 A schematic diagram of a flow chart for determining the state of a metering device provided in the fourth embodiment of the present invention is shown as follows: Figure 6 Shown, including:
[0151] Get the primary side voltage, primary side current, secondary side voltage, and secondary side current.
[0152] A hexagonal diagram is generated according to the primary side voltage, the primary side current, the secondary side voltage, and the secondary side current, and the hexagonal diagram is matched with a wrong wiring judgment rule.
[0153] If the match is successful, it is determined whether the historical alarm events include at least one target alarm event.
[0154] If the matching fails, the secondary loop error value is calculated, and it is determined whether the secondary loop error value exceeds the error value threshold.
[0155] If the error value threshold is exceeded, it is determined whether the historical alarm events include at least one target alarm event.
[0156] If the error value threshold is not exceeded, the voltage transformer ratio value and the current transformer ratio value are calculated, and the voltage transformer ratio value is compared with the voltage ratio standard value, and the current transformer ratio value is compared with the current ratio standard value to determine whether the ratios are the same.
[0157] If the transformation ratios are different, it is determined whether the historical alarm events include at least one target alarm event.
[0158] If the transformation ratios are the same, it is determined that the target metering device is in a normal state.
[0159] In summary, for the process of "determining whether the historical alarm events include at least one target alarm event", the subsequent process also includes:
[0160] If not included, it is determined that the target metering device is in a fault state.
[0161] If included, the power consumption fluctuation rate is determined, and it is determined whether the power consumption fluctuation rate exceeds a fluctuation rate threshold.
[0162] If the fluctuation rate threshold is not exceeded, it is determined that the target metering device is in a fault state.
[0163] If the fluctuation rate threshold is exceeded, it is determined that the target metering device is in an electricity theft state.
[0164] When it is determined that the target metering device is in a fault state or a power theft state, the active error power and the reactive error power are calculated.
[0165] It is easy to understand that the specific implementation methods of each step in the above process can be found in the description of the above embodiments, and will not be repeated here.
[0166] Example 5
[0167] Figure 7 This is a schematic diagram of the structure of a state determination device for a metering device provided in the fifth embodiment of the present invention. Figure 7 As shown, the device includes:
[0168] A voltage and current acquisition module 71 is used to obtain the primary side voltage, primary side current, secondary side voltage and secondary side current of a target metering device;
[0169] A historical information acquisition module 72 is used to obtain historical electricity usage information and historical alarm events of the electric energy meter associated with the target metering device;
[0170] The state determination module 73 is used to determine the state of the target metering device according to the primary side voltage, primary side current, secondary side voltage, secondary side current, historical power consumption information, and historical alarm events.
[0171] Optionally, the state determination module 73 is specifically configured to:
[0172] generating a hexagonal diagram of the target metering device based on the primary side voltage, the primary side current, the secondary side voltage, and the secondary side current;
[0173] Determine whether the target metering device has incorrect wiring based on the hexagonal diagram and incorrect wiring judgment rules;
[0174] When it is determined that there is a wrong wiring, the status of the target metering device is determined based on historical power usage information and historical alarm events.
[0175] Optionally, the device further includes a loop error value determination module, specifically configured to:
[0176] When it is determined that there is no incorrect wiring, determine the voltage difference based on the primary side voltage and the secondary side voltage;
[0177] Determine the secondary circuit error value based on the ratio between the voltage difference and the secondary side voltage;
[0178] The secondary circuit error value is compared with the error value threshold, and when the secondary circuit error value is greater than the error value threshold, the state of the target metering device is determined based on historical power consumption information and historical alarm events.
[0179] Optionally, the device further includes a transformation ratio determination module, specifically configured to:
[0180] When the secondary circuit error value is less than or equal to the error value threshold, determining a voltage transformer ratio value according to a ratio between the primary side voltage and the secondary side voltage, and determining a current transformer ratio value according to a ratio between the primary side current and the secondary side current;
[0181] Compare the voltage transformer ratio value with the voltage ratio standard value, and compare the current transformer ratio value with the current ratio standard value;
[0182] When the voltage transformer ratio value is different from the voltage ratio standard value, or the current transformer ratio value is different from the current ratio standard value, the state of the target metering device is determined based on historical power consumption information and historical alarm events.
[0183] Optionally, the device further includes a variable ratio comparison module, specifically configured to:
[0184] When the voltage transformer ratio value is the same as the voltage transformation ratio standard value, and the current transformer ratio value is the same as the current transformation ratio standard value, it is determined that the target metering device is in a normal state.
[0185] Optionally, the state determination module 73 is further configured to:
[0186] Determine whether the historical alarm events include at least one target alarm event; wherein the target alarm event includes: undervoltage alarm event, loss of pressure alarm event, phase failure alarm event, loss of current alarm event, overcurrent alarm event, or meter cover opening alarm event;
[0187] If so, determining the status of the target metering device based on historical electricity usage information;
[0188] If not, it is determined that the target metering device is in a fault state.
[0189] Optionally, the state determination module 73 is further configured to:
[0190] Determine, based on the historical electricity consumption information, a first historical electricity consumption and a second historical electricity consumption associated with each target alarm event; wherein the first historical electricity consumption is the historical electricity consumption of the electricity meter during the target time period before the target alarm event occurs, and the second historical electricity consumption is the historical electricity consumption of the electricity meter during the target time period after the target alarm event occurs;
[0191] Determine, based on the first historical power consumption and the second historical power consumption, a power consumption fluctuation rate corresponding to each target alarm event;
[0192] The power consumption fluctuation rate is compared with the fluctuation rate threshold, and the status of the target metering device is determined based on the comparison result.
[0193] Optionally, the state determination module 73 is further configured to:
[0194] Determine a first historical average power consumption based on a first historical power consumption associated with any target alarm event and a target time period, and determine a second historical average power consumption based on a second historical power consumption associated with the target alarm event and a target time period;
[0195] Determine a difference between the historical average electricity consumption and the second historical average electricity consumption;
[0196] The power consumption fluctuation rate corresponding to the target alarm event is determined based on the historical average power consumption difference and the first historical average power consumption.
[0197] Optionally, the state determination module 73 is further configured to:
[0198] When there is at least one target alarm event corresponding to a power consumption fluctuation rate greater than a fluctuation rate threshold, determining that the target metering device is in a power theft state;
[0199] When the power consumption fluctuation rate corresponding to any target alarm event is less than or equal to the fluctuation rate threshold, it is determined that the target metering device is in a fault state.
[0200] Optionally, when it is determined that the target metering device is in a power theft state or a fault state, the device further includes an error power determination module, specifically configured to:
[0201] Determining the current active power, current reactive power, current active meter code difference, and current reactive meter code difference of the target metering device;
[0202] Determine the normal active power and normal reactive power of the target metering device in a normal state;
[0203] Determine the active power error of the target metering device based on the current active power, normal active power and the current active power meter code difference, and determine the reactive power error of the target metering device based on the current reactive power, normal reactive power and the current reactive power meter code difference;
[0204] The current active meter code difference is the difference between the active meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the active meter code corresponding to the current moment; the current reactive meter code difference is the difference between the reactive meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the reactive meter code corresponding to the current moment.
[0205] Optionally, the error power determination module is further configured to:
[0206] determining an active power ratio according to a ratio between the current active power and the normal active power;
[0207] The active power error is determined based on the active power ratio, the current active power meter code difference and the comprehensive metering multiplier of the target metering device.
[0208] Optionally, the error power determination module is further configured to:
[0209] Determine the reactive power ratio according to the ratio between the current reactive power and the normal reactive power;
[0210] The reactive power error is determined based on the reactive power ratio, the current reactive power meter code difference and the comprehensive metering multiplier of the target metering device.
[0211] The device for determining the state of a metering device provided in an embodiment of the present invention can execute the method for determining the state of a metering device provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0212] Example 6
[0213] Figure 8 A schematic diagram of the structure of an electronic device 80 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0214] like Figure 8 As shown, the electronic device 80 includes at least one processor 81 and a memory connected to the at least one processor 81, such as a read-only memory (ROM) 82, a random access memory (RAM) 83, etc., wherein the memory stores a computer program that can be executed by the at least one processor, and the processor 81 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 82 or the computer program loaded from the storage unit 88 into the random access memory (RAM) 83. Various programs and data required for the operation of the electronic device 80 can also be stored in the RAM 83. The processor 81, ROM 82 and RAM 83 are connected to each other via a bus 84. An input / output (I / O) interface 85 is also connected to the bus 84.
[0215] Multiple components in the electronic device 80 are connected to the I / O interface 85, including an input unit 86, such as a keyboard, a mouse, etc.; an output unit 87, such as various types of displays, speakers, etc.; a storage unit 88, such as a magnetic disk, an optical disk, etc.; and a communication unit 89, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 89 allows the electronic device 80 to exchange information / data with other devices via a computer network such as the Internet and / or various telecommunication networks.
[0216] The processor 81 can be any general-purpose and / or specialized processing component with processing and computing capabilities. Some examples of the processor 81 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 that run machine learning model algorithms, a digital signal processor (DSP), and any other suitable processor, controller, microcontroller, etc. The processor 81 executes the various methods and processes described above, such as the method for determining the status of the metering device.
[0217] In some embodiments, the method for determining the status of a metering device can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as the storage unit 48. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 40 via the ROM 42 and / or the communication unit 49. When the computer program is loaded into the RAM 43 and executed by the processor 41, one or more steps of the method for determining the status of a metering device described above can be performed. Alternatively, in other embodiments, the processor 41 can be configured to execute the method for determining the status of a metering device in any other suitable manner (e.g., via firmware).
[0218] Various embodiments of the systems and techniques described herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), system-on-chip systems (SOCs), programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include being implemented in one or more computer programs that are executable and / or interpreted on a programmable system that includes at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0219] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer program is executed by the processor, the functions / operations specified in the flowcharts and / or block diagrams are implemented. The computer program may be executed entirely on the machine, partially on the machine, as a stand-alone software package, partially on the machine and partially on a remote machine, or entirely on a remote machine or server.
[0220] In the context of the present invention, computer-readable storage media can be tangible media that can contain or store a computer program for use with an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Computer-readable storage media can include but are not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, computer-readable storage media can be machine-readable signal media. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0221] To provide interaction with a user, the systems and techniques described herein 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 pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, the 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 input, voice input, or tactile input).
[0222] The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, 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.
[0223] A computing system may include clients and servers. The clients and servers are typically remote from each other and typically interact via a communication network. This client-server relationship arises through computer programs running on the respective computers, creating a client-server relationship. The server may be a cloud server, also known as a cloud computing server or cloud host. This server is a hosting product within the cloud computing service ecosystem that addresses the management difficulties and limited scalability of traditional physical hosting and VPS services.
[0224] It should be understood that the various forms of the processes shown above can be used to reorder, add, or delete steps. For example, the steps described in the present invention can be performed in parallel, sequentially, or in a different order, as long as the desired results of the technical solution of the present invention can be achieved. This is not limited herein.
[0225] The above specific embodiments do not limit the scope of protection of the present invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions may be made based on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of the present invention are intended to be included within the scope of protection of the present invention.
Claims
1. A method for determining the state of a metering device, characterized in that: include: Obtaining the primary side voltage, primary side current, secondary side voltage, and secondary side current of the target metering device; Acquire historical electricity usage information and historical alarm events of the electric energy meter associated with the target metering device; determining a state of the target metering device according to the primary-side voltage, the primary-side current, the secondary-side voltage, the secondary-side current, the historical power usage information, and the historical alarm events; Wherein, when it is determined that the target metering device is in a power theft state or a fault state, the method further includes: Determining the current active power, current reactive power, current active meter code difference, and current reactive meter code difference of the target metering device; Determining the normal active power and normal reactive power of the target metering device in a normal state; Determine the active power error of the target metering device according to the current active power, the normal active power and the current active power meter code difference, and determine the reactive power error of the target metering device according to the current reactive power, the normal reactive power and the current reactive power meter code difference; The current active meter code difference is the difference between the active meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the active meter code corresponding to the current moment; the current reactive meter code difference is the difference between the reactive meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the reactive meter code corresponding to the current moment.
2. The method according to claim 1, characterized in that The determining the state of the target metering device according to the primary side voltage, the primary side current, the secondary side voltage, the secondary side current, the historical power usage information, and the historical alarm events includes: generating a hexagonal diagram of the target metering device according to the primary-side voltage, the primary-side current, the secondary-side voltage, and the secondary-side current; determining whether the target metering device has incorrect wiring according to the hexagonal diagram and the incorrect wiring judgment rule; When it is determined that there is a wiring error, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
3. The method according to claim 2, characterized in that After determining whether the target metering device has incorrect wiring according to the hexagonal diagram and the incorrect wiring judgment rule, the method further includes: When it is determined that there is no incorrect wiring, determining a voltage difference according to the primary side voltage and the secondary side voltage; determining a secondary circuit error value according to a ratio between the voltage difference and the secondary side voltage; The secondary circuit error value is compared with an error value threshold, and when the secondary circuit error value is greater than the error value threshold, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
4. The method according to claim 3, characterized in that After comparing the secondary loop error value with the error value threshold, the method further includes: When the secondary loop error value is less than or equal to the error value threshold, determining a voltage transformer ratio according to a ratio between the primary side voltage and the secondary side voltage, and determining a current transformer ratio according to a ratio between the primary side current and the secondary side current; Comparing the voltage transformer ratio value with a voltage transformation ratio standard value, and comparing the current transformer ratio value with a current transformation ratio standard value; When the voltage transformer ratio value is different from the voltage transformation ratio standard value, or when the current transformer ratio value is different from the current transformation ratio standard value, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
5. The method according to claim 4, characterized in that After comparing the voltage transformer ratio value with the voltage transformation ratio standard value and comparing the current transformer ratio value with the current transformation ratio standard value, the method further includes: When the voltage transformer ratio value is the same as the voltage transformation ratio standard value, and the current transformer ratio value is the same as the current transformation ratio standard value, it is determined that the target metering device is in a normal state.
6. The method according to any one of claims 2 to 4, characterized in that: The determining the state of the target metering device according to the historical electricity usage information and the historical alarm events includes: Determining whether the historical alarm events include at least one target alarm event; wherein the target alarm event includes: an undervoltage alarm event, a loss of pressure alarm event, a phase failure alarm event, a loss of current alarm event, an overcurrent alarm event, or a meter cover opening alarm event; If so, determining the status of the target metering device based on the historical electricity usage information; If not, it is determined that the target metering device is in a fault state.
7. The method according to claim 6, characterized in that The determining the state of the target metering device according to the historical electricity usage information includes: Determine, based on the historical electricity consumption information, a first historical electricity consumption and a second historical electricity consumption associated with each target alarm event; wherein the first historical electricity consumption is the historical electricity consumption of the electricity meter within a target time period before the occurrence of the target alarm event, and the second historical electricity consumption is the historical electricity consumption of the electricity meter within a target time period after the occurrence of the target alarm event; Determining a power consumption fluctuation rate corresponding to each target alarm event based on the first historical power consumption and the second historical power consumption; The power consumption fluctuation rate is compared with a fluctuation rate threshold, and the state of the target metering device is determined according to the comparison result.
8. The method according to claim 7, characterized in that The determining, based on the first historical power consumption and the second historical power consumption, a power consumption fluctuation rate corresponding to each target alarm event includes: Determine a first historical average power consumption based on the first historical power consumption associated with any target alarm event and the target time period, and determine a second historical average power consumption based on the second historical power consumption associated with the target alarm event and the target time period; Determining a historical average power consumption difference based on the first historical average power consumption and the second historical average power consumption; The power consumption fluctuation rate corresponding to the target alarm event is determined according to the historical average power consumption difference and the first historical average power consumption.
9. The method according to claim 7, characterized in that Determining the state of the target metering device according to the comparison result includes: When the power consumption fluctuation rate corresponding to at least one target alarm event is greater than the fluctuation rate threshold, determining that the target metering device is in a power theft state; When the power consumption fluctuation rate corresponding to any target alarm event is less than or equal to the fluctuation rate threshold, it is determined that the target metering device is in a fault state.
10. The method according to claim 1, characterized in that The determining, according to the current active power, the normal active power, and the current active power meter code difference, of the active power error of the target metering device includes: determining an active power ratio according to a ratio between the current active power and the normal active power; The active power error amount is determined according to the active power ratio, the current active power meter code difference and the comprehensive metering multiplier of the target metering device.
11. The method according to claim 1, wherein The determining of the reactive error power of the target metering device according to the current reactive power, the normal reactive power and the current reactive meter code difference includes: determining a reactive power ratio according to a ratio between the current reactive power and the normal reactive power; The reactive error power is determined according to the reactive power ratio, the current reactive meter code difference and the comprehensive metering multiplier of the target metering device.
12. A device for determining the state of a metering device, characterized in that: include: A voltage and current acquisition module is used to obtain the primary side voltage, primary side current, secondary side voltage and secondary side current of the target metering device; A historical information acquisition module, configured to acquire historical electricity usage information and historical alarm events of the electric energy meter associated with the target metering device; a state determination module, configured to determine a state of the target metering device based on the primary side voltage, the primary side current, the secondary side voltage, the secondary side current, the historical power usage information, and the historical alarm events; Wherein, when it is determined that the target metering device is in a power theft state or a fault state, the device further includes an error power determination module, which is specifically configured to: Determining the current active power, current reactive power, current active meter code difference, and current reactive meter code difference of the target metering device; Determining the normal active power and normal reactive power of the target metering device in a normal state; Determine the active power error of the target metering device according to the current active power, the normal active power and the current active power meter code difference, and determine the reactive power error of the target metering device according to the current reactive power, the normal reactive power and the current reactive power meter code difference; The current active meter code difference is the difference between the active meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the active meter code corresponding to the current moment; the current reactive meter code difference is the difference between the reactive meter code corresponding to the moment when the target metering device is determined to be in the power theft state or the fault state and the reactive meter code corresponding to the current moment.
13. The device according to claim 12, characterized in that The state determination module is specifically configured to: generating a hexagonal diagram of the target metering device according to the primary-side voltage, the primary-side current, the secondary-side voltage, and the secondary-side current; determining whether the target metering device has incorrect wiring according to the hexagonal diagram and the incorrect wiring judgment rule; When it is determined that there is a wiring error, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
14. The device according to claim 13, characterized in that The device also includes a loop error value determination module, specifically configured to: When it is determined that there is no incorrect wiring, determining a voltage difference according to the primary side voltage and the secondary side voltage; determining a secondary circuit error value according to a ratio between the voltage difference and the secondary side voltage; The secondary circuit error value is compared with an error value threshold, and when the secondary circuit error value is greater than the error value threshold, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
15. The device according to claim 14, characterized in that The device further includes a transformation ratio determination module, specifically configured to: When the secondary loop error value is less than or equal to the error value threshold, determining a voltage transformer ratio according to a ratio between the primary side voltage and the secondary side voltage, and determining a current transformer ratio according to a ratio between the primary side current and the secondary side current; Comparing the voltage transformer ratio value with a voltage transformation ratio standard value, and comparing the current transformer ratio value with a current transformation ratio standard value; When the voltage transformer ratio value is different from the voltage transformation ratio standard value, or when the current transformer ratio value is different from the current transformation ratio standard value, the state of the target metering device is determined according to the historical power usage information and the historical alarm events.
16. The device according to claim 15, characterized in that The device also includes a variable ratio comparison module, which is specifically used to: When the voltage transformer ratio value is the same as the voltage transformation ratio standard value, and the current transformer ratio value is the same as the current transformation ratio standard value, it is determined that the target metering device is in a normal state.
17. The device according to any one of claims 13 to 15, characterized in that The state determination module is further configured to: Determining whether the historical alarm events include at least one target alarm event; wherein the target alarm event includes: an undervoltage alarm event, a loss of pressure alarm event, a phase failure alarm event, a loss of current alarm event, an overcurrent alarm event, or a meter cover opening alarm event; If so, determining the status of the target metering device based on the historical electricity usage information; If not, it is determined that the target metering device is in a fault state.
18. The device according to claim 17, characterized in that The state determination module is further configured to: Determine, based on the historical electricity consumption information, a first historical electricity consumption and a second historical electricity consumption associated with each target alarm event; wherein the first historical electricity consumption is the historical electricity consumption of the electricity meter within a target time period before the occurrence of the target alarm event, and the second historical electricity consumption is the historical electricity consumption of the electricity meter within a target time period after the occurrence of the target alarm event; Determining a power consumption fluctuation rate corresponding to each target alarm event based on the first historical power consumption and the second historical power consumption; The power consumption fluctuation rate is compared with a fluctuation rate threshold, and the state of the target metering device is determined according to the comparison result.
19. The device according to claim 18, characterized in that The state determination module is further configured to: Determine a first historical average power consumption based on the first historical power consumption associated with any target alarm event and the target time period, and determine a second historical average power consumption based on the second historical power consumption associated with the target alarm event and the target time period; Determining a historical average power consumption difference based on the first historical average power consumption and the second historical average power consumption; The power consumption fluctuation rate corresponding to the target alarm event is determined according to the historical average power consumption difference and the first historical average power consumption.
20. The device according to claim 18, characterized in that The state determination module is further configured to: When the power consumption fluctuation rate corresponding to at least one target alarm event is greater than the fluctuation rate threshold, determining that the target metering device is in a power theft state; When the power consumption fluctuation rate corresponding to any target alarm event is less than or equal to the fluctuation rate threshold, it is determined that the target metering device is in a fault state.
21. The device according to claim 12, characterized in that The error power determination module is further configured to: determining an active power ratio according to a ratio between the current active power and the normal active power; The active power error amount is determined according to the active power ratio, the current active power meter code difference and the comprehensive metering multiplier of the target metering device.
22. The device according to claim 12, characterized in that The error power determination module is further configured to: determining a reactive power ratio according to a ratio between the current reactive power and the normal reactive power; The reactive error power is determined according to the reactive power ratio, the current reactive meter code difference and the comprehensive metering multiplier of the target metering device.
23. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor. The computer program is executed by the at least one processor to enable the at least one processor to perform the method for determining the state of a metering device according to any one of claims 1 to 11.
24. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the state determination method of a metering device according to any one of claims 1 to 11 when executed.
Citation Information
Patent Citations
Portable electricity stealing detection terminal and electricity stealing detection method
CN107219386A
Electricity consumption condition monitoring method and system for users in low-voltage transformer area
CN113452145A