Method for detecting shunting abnormity of three-phase electric energy metering device, electronic equipment and medium
By analyzing the three-phase current data and correlation coefficients, determining the causes of three-phase imbalances, the problem of the inability to specifically judge the causes of three-phase imbalances in the prior art is solved, improving maintenance efficiency and reducing costs.
Patent Information
- Application Number
- CN202411114715.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-14
- Publication Date
- 2024-11-08
AI Technical Summary
When the existing three-phase electrical energy metering device detects three-phase imbalance, it is impossible to determine the cause specifically, resulting in long maintenance time and high cost for maintenance personnel.
By obtaining the three-phase current data, calculating the equilibrium state of each phase, and using the Pearson correlation coefficient to determine the correlation between the current data of the unbalanced phase and the current average value, and judging the cause of the three-phase imbalance based on the correlation coefficient and the preset threshold. Whether it is a short-connection shunt of the current circuit or the user's power consumption is unbalanced.
Accurately determining the specific reasons for the three-phase imbalance reduces the operation difficulty of maintenance personnel, improves maintenance efficiency, and reduces maintenance costs.
Smart Images

Figure CN118914958A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of three-phase imbalance, and in particular to a detection method, electronic equipment and medium for abnormal shunt of a three-phase electric energy metering device. Background Art
[0002] As people pay more attention to energy demand, electric energy has undoubtedly become the first of all energy sources, and smart grid has long been the development direction of the power system. The widespread promotion of smart grids is inseparable from the accurate measurement of various electric energies. A three-phase electric energy metering device is an electrical device that measures the electric energy consumed by users through an electric energy meter. When the current of one phase in a three-phase electric energy metering device is shunted, three-phase imbalance will occur.
[0003] Normally, current loop shunting and unbalanced power consumption of three-phase users will lead to three-phase imbalance. Unbalanced power consumption of three-phase users due to different loads is a normal phenomenon. Only short-circuit shunting of the current loop is an abnormal phenomenon of three-phase imbalance and needs to be handled. The existing method can only monitor the three-phase imbalance, but the cause of the three-phase imbalance cannot be determined specifically, which leads to a long time and high cost for maintenance personnel to repair the three-phase. Summary of the invention
[0004] The present invention provides a method, electronic device and medium for detecting abnormal shunting of a three-phase electric energy metering device, so as to determine the specific cause of the three-phase imbalance according to the correlation difference when the three-phase users' uneven power consumption or the current loop short-circuit shunting causes the three-phase imbalance when the three-phase imbalance is caused by the abnormal shunting of the three-phase electric energy metering device, thereby reducing the difficulty of maintenance personnel in performing three-phase maintenance and reducing costs.
[0005] In a first aspect, the present invention provides a method for detecting abnormal current diversion in a three-phase electric energy metering device, comprising:
[0006] Get three-phase current data;
[0007] Determine the balance state of each phase based on the three-phase current data;
[0008] When any phase is in an unbalanced state, determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value;
[0009] The cause of the phase imbalance is determined based on the relationship between the correlation coefficient and a preset correlation coefficient threshold.
[0010] Optionally, when any phase is in an unbalanced state, determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value includes:
[0011] When any phase is in an unbalanced state, according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, the Pearson correlation coefficient formula is: determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value;
[0012] Where r is the Pearson correlation coefficient, I i is the current data of the unbalanced phase, I maxi is the current data of the phase corresponding to the maximum value of the current average value, and N is the number of current data.
[0013] Optionally, determining the cause of phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold includes:
[0014] When the correlation coefficient is greater than or equal to a preset correlation coefficient threshold, it is determined that the cause of the phase imbalance is a short circuit shunt in the current loop;
[0015] When the correlation coefficient is less than a preset correlation coefficient threshold, it is determined that the cause of the phase imbalance is unbalanced power consumption of three-phase users.
[0016] Optionally, obtain three-phase current data, including:
[0017] Sampling is performed according to the preset sampling period to obtain three-phase current data.
[0018] Optionally, the balance state of each phase is determined according to the three-phase current data, including:
[0019] According to the three-phase current data, the absolute value of each current data in the three phases is calculated;
[0020] According to the absolute value of each current data, the average current value of each phase is calculated respectively;
[0021] According to the average current value of each phase, the maximum value of the average current value is determined;
[0022] The balance state of each phase is determined according to the relationship between the ratio between the maximum value and the average current value of each phase and a preset ratio threshold.
[0023] Optionally, determining the equilibrium state of each phase according to the relationship between the ratio between the maximum value and the average current value of each phase and a preset ratio threshold value includes:
[0024] When the ratio between the maximum value and the average current value of each phase is greater than or equal to a preset ratio threshold, it is determined that the phase is in an unbalanced state;
[0025] When the ratio between the maximum value and the current average value of each phase is less than a preset ratio threshold, it is determined that the phase is in a balanced state.
[0026] Optionally, the three phases include phase A, phase B, and phase C;
[0027] When the ratio between the maximum value and the current average value of each phase is greater than or equal to a preset ratio threshold, determining that the phase is in an unbalanced state includes:
[0028] When the ratio between the maximum value and the current average value of phase A is greater than or equal to a preset ratio threshold, it is determined that phase A is in an unbalanced state;
[0029] When the ratio between the maximum value and the average current value of phase B is greater than or equal to a preset ratio threshold, it is determined that phase B is in an unbalanced state;
[0030] When the ratio between the maximum value and the average current value of the C phase is greater than or equal to a preset ratio threshold, it is determined that the C phase is in an unbalanced state;
[0031] When the ratio between the maximum value and the current average value of each phase is less than a preset ratio threshold, determining that the phase is in a balanced state includes:
[0032] When the ratio between the maximum value and the current average value of phase A is less than a preset ratio threshold, it is determined that phase A is in a balanced state;
[0033] When the ratio between the maximum value and the average current value of phase B is less than a preset ratio threshold, it is determined that phase B is in a balanced state;
[0034] When the ratio between the maximum value and the current average value of the C phase is less than a preset ratio threshold, it is determined that the C phase is in a balanced state.
[0035] In a second aspect, the present invention provides a device for detecting abnormal current diversion of a three-phase electric energy metering device, comprising:
[0036] An acquisition module, used for acquiring three-phase current data;
[0037] A phase balance state determination module is used to determine the balance state of each phase according to the three-phase current data;
[0038] A correlation coefficient determination module, for determining, when any phase is in an unbalanced state, a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, based on the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value;
[0039] The cause determination module is used to determine the cause of phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold.
[0040] In a third aspect, the present invention provides an electronic device, the electronic device comprising:
[0041] at least one processor; and
[0042] a memory communicatively connected to at least one processor; wherein,
[0043] The memory stores a computer program executable by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the above-mentioned method for detecting abnormal shunt current of the three-phase electric energy metering device.
[0044] In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which are used to implement the above-mentioned method for detecting shunt anomalies in a three-phase electric energy metering device when a processor executes the computer instructions.
[0045] The technical solution of the present invention obtains three-phase current data; determines the balance state of each phase according to the three-phase current data; when any phase is in an unbalanced state, determines the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; determines the cause of phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold. By adopting the above method, when the three-phase imbalance is caused by the abnormal shunt of the three-phase electric energy metering device, the specific cause of the three-phase imbalance is accurately determined, which reduces the difficulty of maintenance personnel in three-phase current maintenance, improves maintenance efficiency, and reduces costs.
[0046] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] 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.
[0048] Figure 1 A flow chart of a method for detecting abnormal current diversion in a three-phase electric energy metering device provided by an embodiment of the present invention;
[0049] Figure 2 A flow chart of a second method for detecting abnormal current shunting in a three-phase electric energy metering device provided by an embodiment of the present invention;
[0050] Figure 3 A schematic diagram of the structure of a device for detecting abnormal current diversion in a three-phase electric energy metering device provided by an embodiment of the present invention;
[0051] Figure 4 A structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 described embodiments 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 creative work should fall within the scope of protection of the present invention.
[0053] It should be noted that the terms "first", "second", etc. in the specification 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 data 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 that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0054] Before introducing the technical solution of this embodiment, it is necessary to explain the theoretical knowledge of the analysis of the cause of three-phase imbalance. When the user's three-phase power load is balanced, there is synchronization between the changes in the three-phase current, and the current of each phase increases or decreases synchronously. In other words, there is a strong correlation between the three-phase current curves. When the user's three-phase power consumption is unbalanced, the loads of the three phases are different, and the working time and working duration of different loads are different. Therefore, there is no synchronization between the current changes generated by the low-load phase and the current changes generated by other load phases. When a short-circuit shunt occurs in the three-phase current loop, the current of the phase will be greatly reduced, but the trend of the current curve change will not be changed. In other words, the current curve of the phase that is short-circuited and shunted still maintains a high correlation with the current curves of other phases. It can be seen that the correlation between the user's three-phase power imbalance and the phases in the short-circuit shunt of the three-phase current loop is not the same. In addition, as described in the background technology, unbalanced three-phase power consumption of users is usually a normal phenomenon, and short-circuiting and shunting of the three-phase current loop will cause three-phase abnormalities and require maintenance. Therefore, the specific cause of the three-phase imbalance can be effectively detected by analyzing whether there is a high correlation between the current curve of the low-load phase and the current curve of the high-load phase.
[0055] Based on the above principle, the embodiment of the present invention proposes a technical solution for determining the specific cause of three-phase imbalance when the three-phase electric energy metering device has abnormal current shunting, resulting in three-phase imbalance. In one embodiment, Figure 1 A flowchart of a method for detecting abnormal shunt current of a three-phase electric energy metering device provided by an embodiment of the present invention. This embodiment can be applied to the situation where the cause of the three-phase imbalance is specifically determined when the abnormal shunt current of the three-phase electric energy metering device causes three-phase imbalance. The method can be executed by a detection device for abnormal shunt current of a three-phase electric energy metering device. The detection device for abnormal shunt current of a three-phase electric energy metering device can be implemented in the form of hardware and / or software. The detection device for abnormal shunt current of a three-phase electric energy metering device can be configured in an electronic device. Figure 1 As shown, the method includes:
[0056] S110, obtaining three-phase current data.
[0057] The three-phase current is the current flowing in the three-phase electric energy metering device, and the three phases may include phase A, phase B and phase C.
[0058] Specifically, the three-phase current data may be the three-phase current data within a preset sampling period stored in a smart meter provided in a three-phase electric energy metering device, and the specific method of obtaining the data may include but is not limited to copying and reading the data on the meter through a storage device.
[0059] S120. Determine the balance state of each phase according to the three-phase current data.
[0060] Among them, the balanced state refers to the state reached when the load power of each phase in the three-phase is balanced or unbalanced. When the three-phase load is balanced, the three-phase current changes generated are synchronous, and the three-phase current curves have a strong correlation. When the three-phase load is unbalanced, the three-phase current changes generated are not synchronous, and the correlation between the three-phase current curves is weak.
[0061] Specifically, after the three-phase current data is acquired, the balance state of each phase can be determined by performing data processing on the acquired three-phase current data.
[0062] S130. When any phase is in an unbalanced state, determine the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value based on the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value.
[0063] The phase corresponding to the maximum value of the current average value is the phase corresponding to the maximum current value in the current average values of each phase obtained by calculating the average value of the current data of each phase. The correlation coefficient is a statistical indicator used to study the degree of linear correlation between variables. Exemplarily, the determination of the correlation coefficient can include but is not limited to the Pearson correlation coefficient formula.
[0064] Specifically, when it is determined that any one of the three phases is in an unbalanced state, it is necessary to specifically determine the cause of the phase imbalance. In this embodiment, the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value in the average current of each phase can be used to calculate the correlation coefficient of the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value in the average current of each phase, so as to finally determine the correlation coefficient between the two to reflect the linear correlation between the two, thereby providing a basis for subsequently determining the cause of the phase imbalance according to the linear correlation.
[0065] S140: Determine the cause of phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold.
[0066] The preset correlation coefficient threshold is a preset value for determining the cause of phase imbalance. For example, the preset correlation coefficient threshold may be 0.6 or 0.8, etc., which may be determined according to actual conditions and is not limited here.
[0067] Specifically, after calculating the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value in the average current of each phase, the determined correlation coefficient is compared with the preset correlation coefficient threshold to determine whether the current data of the phase belongs to a linear correlation such as a strong correlation or a weak correlation, and the cause of the phase imbalance can be determined based on the linear correlation, that is, whether the phase imbalance is caused by unbalanced power consumption of users or short-circuit shunt of the current loop.
[0068] The technical solution of the embodiment of the present invention is to obtain three-phase current data; determine the balance state of each phase according to the three-phase current data; when any phase is in an unbalanced state, determine the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; determine the cause of phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold. By adopting the above method, when the three-phase imbalance is caused by the abnormal shunt of the three-phase electric energy metering device, the specific cause of the three-phase imbalance is accurately determined, which reduces the difficulty of maintenance personnel in three-phase current maintenance, improves maintenance efficiency, and reduces costs.
[0069] Figure 2 This is a flow chart of a second method for detecting abnormal shunt current of a three-phase electric energy metering device provided by an embodiment of the present invention. In this embodiment, the specific implementation method of S130, when any phase is in an unbalanced state, determining the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, is refined as follows:
[0070] When any phase is in an unbalanced state, according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, the Pearson correlation coefficient formula is: determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value;
[0071] Among them, I i is the current data of the unbalanced phase, I maxi is the current data of the phase corresponding to the maximum value of the current average value, and N is the number of current data of each phase.
[0072] Further, the specific implementation method of S140, determining the cause of phase imbalance according to the relationship between the correlation coefficient and the preset correlation coefficient threshold, is refined as follows:
[0073] When the correlation coefficient is greater than or equal to a preset correlation coefficient threshold, it is determined that the cause of the phase imbalance is a short circuit shunt in the current loop;
[0074] When the correlation coefficient is less than a preset correlation coefficient threshold, it is determined that the cause of the phase imbalance is unbalanced power consumption of three-phase users.
[0075] Furthermore, the specific implementation method of S110, obtaining three-phase current data is refined as follows:
[0076] Sampling is performed according to the preset sampling period to obtain three-phase current data.
[0077] Furthermore, the specific implementation method of S120, determining the balance state of each phase according to the three-phase current data, is refined as follows:
[0078] According to the three-phase current data, the absolute value of each current data in the three phases is calculated;
[0079] According to the absolute value of each current data, the average current value of each phase is calculated respectively;
[0080] According to the average current value of each phase, the maximum value of the average current value is determined;
[0081] The balance state of each phase is determined according to the relationship between the ratio between the maximum value and the average current value of each phase and a preset ratio threshold.
[0082] For details not yet provided in this embodiment, reference may be made to the above embodiments.
[0083] like Figure 2 As shown, the method includes:
[0084] S210: Sampling is performed according to a preset sampling period to obtain three-phase current data.
[0085] Specifically, when acquiring three-phase current data, sampling can be performed according to a preset sampling period. The preset sampling period can be a preset number of days, such as a preset interval within 1 day or 2 days, such as 15 minutes, 30 minutes or 1 hour, etc., which can be set according to actual conditions and is not limited here.
[0086] S220. Calculate the absolute value of each current data in the three phases according to the three-phase current data.
[0087] Specifically, since the acquired three-phase current data includes forward current and reverse current, and this embodiment only considers the magnitude of the three-phase current but not the direction of the three-phase current, the acquired three-phase current data can be calculated in absolute value to determine the magnitude of the three-phase current, and a curve diagram of current versus time can be established with time as the horizontal axis and current as the vertical axis.
[0088] S230. Calculate the current average value of each phase according to the absolute value of each current data.
[0089] Specifically, after determining the absolute value of each current data in the three phases, the current data in each phase is averaged, that is, the current data obtained from each phase is added, and the added current value is divided by the total number of current data of the phase, so that the current average value of each phase can be calculated. Among them, the total number of current data is the number of current data obtained in a preset sampling period. For example, taking any phase as an example, the current data within 1 day is sampled at an interval of 15 minutes, and the corresponding total number of current data is 96. The calculated current average values of phase A, phase B, and phase C can be expressed as Ia-avg, Ib-avg, and Ic-avg, respectively.
[0090] S240. Determine the maximum value of the current average value according to the current average value of each phase.
[0091] Specifically, after calculating the current average value of each phase, the current average values of each phase are compared to determine the maximum value of the current average value in each phase. The maximum value of the current average value in each phase can be expressed as Imax.
[0092] S250 , determining the equilibrium state of each phase according to the relationship between the ratio of the maximum value to the average current value of each phase and a preset ratio threshold.
[0093] Among them, this step can be refined as follows: when the ratio between the maximum value and the average current value of each phase is greater than or equal to a preset ratio threshold, it is determined that the phase is in an unbalanced state; when the ratio between the maximum value and the average current value of each phase is less than a preset ratio threshold, it is determined that the phase is in a balanced state.
[0094] Specifically, after determining the maximum value of the average current value in each phase, it is necessary to determine the balance state of the three phases. In this embodiment, the balance state of each phase can be determined based on the relationship between the ratio between the maximum value and the average current value of each phase and the preset ratio threshold. When the ratio between the maximum value of the average current value in each phase and the average current value of each phase is greater than or equal to the preset ratio threshold, taking phase A as an example, that is, when Imax / Ia-avg≥k, where k is the preset ratio threshold, indicating the degree of current imbalance, it indicates that the current data of this phase and the other phases are greatly different, and it can be determined that the phase is unbalanced. When the ratio between the maximum value and the average current value of each phase is less than the preset ratio threshold, taking phase A as an example, that is, when Imax / Ia-avg<k, it indicates that the current data of this phase and the other phases are less different, and it can be determined that the phase is balanced. In addition, the setting of the preset ratio threshold value needs to be determined specifically according to the actual situation. If it is set too large, the phase balance state is determined more accurately, but some current data that should be analyzed may be missed; if it is set too small, the imbalance degree of each phase is small, and the phase balance state may be misjudged. Exemplarily, the preset ratio threshold value k can be set to 2 or 3, without specific limitation.
[0095] It should be noted that the premise of performing this step is that the maximum value of the average current value in each phase is greater than 0, indicating that the user is using three-phase electricity normally. If the maximum value of the average current value in each phase is equal to 0, indicating that the user is not using electricity at this time and no current is generated, the determination of this step is not performed, but the calculation process is directly exited.
[0096] It should also be noted that when determining the equilibrium state of each phase, in addition to using the relationship between the ratio between the above-mentioned maximum value and the average current of each phase and the preset ratio threshold, it can also be determined by calculating the standard deviation of the three-phase current, etc., but it is also necessary to satisfy that Ia-avg, Ib-avg and Ic-avg are not 0. The specific determination method can be determined according to actual conditions and is not limited here.
[0097] S260, when any phase is in an unbalanced state, according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, according to the Pearson correlation coefficient formula: A correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value is determined.
[0098] Among them, I i is the current data of the unbalanced phase, I maxi is the current data of the phase corresponding to the maximum value of the current average value, and N is the number of current data.
[0099] Among them, the Pearson correlation coefficient formula is a functional relationship formula used to calculate the degree of linear correlation between two variables, and its value is between -1 and 1. The larger the absolute value of the correlation coefficient, the stronger the correlation; the closer the correlation coefficient is to 1 or -1, the stronger the correlation; the closer the correlation coefficient is to 0, the weaker the correlation.
[0100] Specifically, after determining the phase in an unbalanced state, it is necessary to determine the cause of the phase unbalance. In this embodiment, according to the Pearson correlation coefficient formula, the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value can be substituted as two variables into the above formula for calculation to determine the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, so as to provide a basis for determining the cause of the phase unbalance according to the size of the correlation coefficient.
[0101] It is understandable that this embodiment only exemplarily shows that the correlation coefficient is calculated using the Pearson correlation coefficient formula. In fact, other calculation methods can also be used to calculate the correlation coefficient. The specific calculation method can be determined according to actual conditions and is not limited here.
[0102] S270: When the correlation coefficient is greater than or equal to a preset correlation coefficient threshold, determine that the cause of the phase imbalance is a short circuit or shunt in the current loop.
[0103] S280: When the correlation coefficient is less than a preset correlation coefficient threshold, determine that the cause of the phase imbalance is unbalanced power consumption of three-phase users.
[0104] Specifically, after determining the correlation coefficient, it is necessary to determine whether the correlation coefficient is strongly correlated or weakly correlated, so as to determine the specific cause of the phase imbalance according to the correlation. In this embodiment, the determined correlation coefficient can be compared with a preset correlation coefficient threshold, wherein the preset correlation coefficient threshold is a pre-set parameter for determining whether the correlation coefficient meets the strong correlation setting. For example, the preset correlation coefficient threshold can be 0.8 or 0.6, which can be determined according to the actual situation and is not limited here. When it is determined that the correlation coefficient is greater than or equal to the preset correlation coefficient threshold, it indicates that the current data of the phase and the current data of the phase corresponding to the maximum value of the current average value have reached a strong correlation. According to the above principle, it can be determined that the cause of the phase imbalance is short-circuited shunt of the current loop, so as to notify the maintenance personnel as soon as possible to perform specific maintenance. When it is determined that the correlation coefficient is less than the preset correlation coefficient threshold, it indicates that the current data of the phase and the current data of the phase corresponding to the maximum value of the current average value do not reach a strong correlation. According to the above principle, it can be determined that the cause of the phase imbalance is the imbalance of power consumption of the three-phase users, and the current data of the phase can be eliminated, so as to inform the maintenance personnel not to perform phase imbalance analysis on the current data of the phase.
[0105] The technical solution of the embodiment of the present invention obtains three-phase current data by sampling according to a preset sampling period; calculates the absolute value of each current data in the three phases according to the three-phase current data; calculates the current average value of each phase according to the absolute value of each current data; determines the maximum value of the current average value according to the current average value of each phase; determines the balance state of each phase according to the relationship between the ratio between the maximum value and the current average value of each phase and a preset ratio threshold; when any phase is in an unbalanced state, determines the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the Pearson correlation coefficient formula; when the correlation coefficient is greater than or equal to the preset correlation coefficient threshold, determines that the cause of the phase imbalance is short-circuited shunting of the current loop; when the correlation coefficient is less than the preset correlation coefficient threshold, determines that the cause of the phase imbalance is unbalanced power consumption of three-phase users. By using the above method, by processing and analyzing the current data within the preset period, the sampling amount is greatly reduced, the calculation difficulty is reduced, and the specific cause of the three-phase imbalance is accurately determined, which reduces the difficulty of maintenance personnel in three-phase maintenance and reduces costs.
[0106] In another specific embodiment, optionally, the three phases include phase A, phase B and phase C; when the ratio between the maximum value and the current average value of each phase is greater than or equal to a preset ratio threshold, the phase is determined to be in an unbalanced state, including: when the ratio between the maximum value and the current average value of phase A is greater than or equal to the preset ratio threshold, phase A is determined to be in an unbalanced state; when the ratio between the maximum value and the current average value of phase B is greater than or equal to the preset ratio threshold, phase B is determined to be in an unbalanced state; when the ratio between the maximum value and the current average value of phase C is greater than or equal to the preset ratio threshold, phase C is determined to be in an unbalanced state; when the ratio between the maximum value and the current average value of each phase is less than the preset ratio threshold, the phase is determined to be in a balanced state, including: when the ratio between the maximum value and the current average value of phase A is less than the preset ratio threshold, phase A is determined to be in a balanced state; when the ratio between the maximum value and the current average value of phase B is less than the preset ratio threshold, phase B is determined to be in a balanced state; when the ratio between the maximum value and the current average value of phase C is less than the preset ratio threshold, phase C is determined to be in a balanced state.
[0107] Specifically, when determining the balance state of the three phases, it is necessary to determine the balance state of each phase in the three phases, that is, phase A, phase B and phase C. That is to say, when determining the balance state of phase A, the ratio between the maximum value of the current average value in each phase and the current average value of phase A can be compared with the preset ratio threshold. When the ratio between the maximum value and the current average value of phase A is greater than or equal to the preset ratio threshold, that is, Imax / Ia-avg≥k, it indicates that the current data of phase A and the other phases differ greatly and are outside the preset balance range, then it can be determined that phase A is unbalanced, wherein the preset balance range represents the allowable range of the difference between the three-phase currents when the three phases are balanced, which can be determined according to actual conditions and is not limited here. When the ratio between the maximum value and the current average value of phase A is less than the preset ratio threshold, that is, Imax / Ia-avg<k, it indicates that the current data of phase A and the other phases differ slightly and are within the preset balance range, then it can be determined that phase A is balanced. Similarly, when determining the balance state of phase B, the ratio between the maximum value of the current average value in each phase and the current average value of phase B can be compared with the preset ratio threshold. When the ratio between the maximum value and the current average value of phase B is greater than or equal to the preset ratio threshold, that is, Imax / Ib-avg≥k, it indicates that the current data of phase B and the other phases differ greatly and are outside the preset balance range, and it can be determined that phase B is unbalanced. When the ratio between the maximum value and the current average value of phase B is less than the preset ratio threshold, that is, Imax / Ib-avg<k, it indicates that the current data of phase B and the other phases differ little and are within the preset balance range, and it can be determined that phase B is balanced. When determining the balance state of phase C, the ratio between the maximum value of the current average value in each phase and the current average value of phase C can be compared with the preset ratio threshold. When the ratio between the maximum value and the current average value of phase C is greater than or equal to the preset ratio threshold, that is, Imax / Ic-avg≥k, it indicates that the current data of phase C and the other phases differ greatly and are outside the preset balance range, and phase C can be determined to be unbalanced. When the ratio between the maximum value and the current average value of phase C is less than the preset ratio threshold, that is, Imax / Ic-avg<k, it indicates that the current data of phase C and the other phases differ little and are within the preset balance range, and phase C can be determined to be balanced. In this way, the balance state of each phase is accurately determined, so that the cause of the imbalance can be determined when each phase is unbalanced.
[0108] It can be understood that since the maximum value of the average current in each phase is one of the three phases, when determining the balanced state of each phase in the three phases, there are usually only two phases unbalanced at most, and the phase corresponding to the maximum value of the average current is in a balanced state. Therefore, it is only necessary to analyze the causes of the imbalance of at most two phases, which reduces the difficulty of maintenance personnel's work and improves maintenance efficiency.
[0109] Figure 3A schematic diagram of the structure of a detection device for abnormal current diversion of a three-phase electric energy metering device provided by an embodiment of the present invention. Figure 3 As shown, the detection device comprises:
[0110] An acquisition module 110 is used to acquire three-phase current data;
[0111] A phase balance state determination module 120, for determining a balance state of each phase according to three-phase current data;
[0112] A correlation coefficient determination module 130, for determining, when any phase is in an unbalanced state, a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, based on the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value;
[0113] The cause determination module 140 is used to determine the cause of the phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold.
[0114] The device for detecting abnormal shunt current of a three-phase electric energy metering device provided in an embodiment of the present invention can execute the method for detecting abnormal shunt current of a three-phase electric energy metering device provided in any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method.
[0115] Optionally, the correlation coefficient determination module 130 may also be configured to: when any phase is in an unbalanced state, according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, according to the Pearson correlation coefficient formula: Determine the correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; where r is the Pearson correlation coefficient, I i is the current data of the unbalanced phase, I maxi is the current data of the phase corresponding to the maximum value of the current average value, and N is the number of current data.
[0116] Optionally, the cause determination module 140 can also be configured to: when the correlation coefficient is greater than or equal to a preset correlation coefficient threshold, determine that the cause of the phase imbalance is a short circuit shunt in the current loop; when the correlation coefficient is less than a preset correlation coefficient threshold, determine that the cause of the phase imbalance is an unbalanced power consumption of three-phase users.
[0117] Optionally, the acquisition module 110 may also be configured to: perform sampling according to a preset sampling period to acquire three-phase current data.
[0118] Optionally, the phase balance state determination module 120 can also be configured to: calculate the absolute value of each current data in the three phases based on the three-phase current data; calculate the current average value of each phase based on the absolute value of each current data; determine the maximum value of the current average value based on the current average value of each phase; determine the balance state of each phase based on the relationship between the ratio between the maximum value and the current average value of each phase and a preset ratio threshold.
[0119] Optionally, the phase balance state determination module 120 can also be configured to: when the ratio between the maximum value and the average current value of each phase is greater than or equal to a preset ratio threshold, determine that the phase is in an unbalanced state; when the ratio between the maximum value and the average current value of each phase is less than a preset ratio threshold, determine that the phase is in a balanced state.
[0120] Optionally, the phase balance state determination module 120 can also be configured as: when the ratio between the maximum value and the average current value of phase A is greater than or equal to a preset ratio threshold, it is determined that phase A is in an unbalanced state; when the ratio between the maximum value and the average current value of phase B is greater than or equal to the preset ratio threshold, it is determined that phase B is in an unbalanced state; when the ratio between the maximum value and the average current value of phase C is greater than or equal to the preset ratio threshold, it is determined that phase C is in an unbalanced state; when the ratio between the maximum value and the average current value of phase A is less than the preset ratio threshold, it is determined that phase A is in a balanced state; when the ratio between the maximum value and the average current value of phase B is less than the preset ratio threshold, it is determined that phase B is in a balanced state; when the ratio between the maximum value and the average current value of phase C is less than the preset ratio threshold, it is determined that phase C is in a balanced state.
[0121] In one embodiment, Figure 4 A structural block diagram of an electronic device provided by an embodiment of the present invention, such as Figure 4 As shown, a schematic diagram of the structure of an electronic device 10 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, workbenches, 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.
[0122] like Figure 4As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0123] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0124] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as a method for detecting abnormal shunt of a three-phase electric energy metering device.
[0125] In some embodiments, the detection method of the shunt abnormality of the three-phase electric energy metering device can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the detection method of the shunt abnormality of the three-phase electric energy metering device described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the detection method of the shunt abnormality of the three-phase electric energy metering device in any other appropriate manner (for example, by means of firmware).
[0126] Various implementations of the systems and techniques described above 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), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including 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.
[0127] 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, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0128] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, 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 disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0129] To provide interaction with a user, the systems and techniques described herein may 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 trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0130] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend components (e.g., a user computer with a graphical user interface or a 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 backend components, middleware components, or frontend components. The components of the system may 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.
[0131] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may 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 difficult management and weak business scalability in traditional physical hosts and VPS services.
[0132] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0133] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A method for detecting abnormal current diversion in a three-phase electric energy metering device, characterized in that: include: Get three-phase current data; Determining the balance state of each phase according to the three-phase current data; When any phase is in an unbalanced state, determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; The cause of the phase imbalance is determined according to the relationship between the correlation coefficient and a preset correlation coefficient threshold.
2. The detection method according to claim 1, characterized in that: When any phase is in an unbalanced state, determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, comprising: When any phase is in an unbalanced state, according to the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, the Pearson correlation coefficient formula is: determining a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; Where r is the Pearson correlation coefficient, I i is the current data of the unbalanced phase, I maxi is the current data of the phase corresponding to the maximum value of the current average value, and N is the number of the current data.
3. The detection method according to claim 1, characterized in that: Determining the cause of the phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold includes: When the correlation coefficient is greater than or equal to the preset correlation coefficient threshold, determining that the cause of the phase imbalance is a current loop short circuit shunt; When the correlation coefficient is less than the preset correlation coefficient threshold, it is determined that the cause of the phase imbalance is unbalanced power consumption of three-phase users.
4. The detection method according to claim 1, characterized in that: Get three-phase current data, including: Sampling is performed according to a preset sampling period to obtain the three-phase current data.
5. The detection method according to claim 1, characterized in that: Determining the balance state of each phase according to the three-phase current data includes: Calculating the absolute value of each current data in the three phases according to the three-phase current data; Calculating the current average value of each phase according to the absolute value of each current data; Determine the maximum value of the current average value according to the current average value of each phase; The balance state of each phase is determined according to the relationship between the ratio between the maximum value and the current average value of each phase and a preset ratio threshold.
6. The detection method according to claim 5, characterized in that: Determining the equilibrium state of each phase according to the relationship between the ratio between the maximum value and the current average value of each phase and a preset ratio threshold value includes: When the ratio between the maximum value and the current average value of each phase is greater than or equal to the preset ratio threshold, determining that the phase is in an unbalanced state; When the ratio between the maximum value and the current average value of each phase is less than the preset ratio threshold, it is determined that the phase is in a balanced state.
7. The detection method according to claim 6, characterized in that: The three phases include phase A, phase B and phase C; When the ratio between the maximum value and the current average value of each phase is greater than or equal to the preset ratio threshold, determining that the phase is in an unbalanced state includes: When the ratio between the maximum value and the current average value of phase A is greater than or equal to the preset ratio threshold, determining that phase A is in an unbalanced state; When the ratio between the maximum value and the current average value of the phase B is greater than or equal to the preset ratio threshold, determining that the phase B is in an unbalanced state; When the ratio between the maximum value and the current average value of the C phase is greater than or equal to the preset ratio threshold, it is determined that the C phase is in an unbalanced state; When the ratio between the maximum value and the current average value of each phase is less than the preset ratio threshold, determining that the phase is in a balanced state includes: When the ratio between the maximum value and the current average value of the phase A is less than the preset ratio threshold, determining that the phase A is in a balanced state; When the ratio between the maximum value and the current average value of the B phase is less than the preset ratio threshold, determining that the B phase is in a balanced state; When the ratio between the maximum value and the current average value of the C phase is less than the preset ratio threshold, it is determined that the C phase is in a balanced state.
8. A detection device for abnormal current diversion of a three-phase electric energy metering device, characterized in that: include: An acquisition module, used for acquiring three-phase current data; A phase balance state determination module, used to determine the balance state of each phase according to the three-phase current data; a correlation coefficient determination module, for determining, when any phase is in an unbalanced state, a correlation coefficient between the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value, based on the current data of the unbalanced phase and the current data of the phase corresponding to the maximum value of the current average value; The cause determination module is used to determine the cause of the phase imbalance according to the relationship between the correlation coefficient and a preset correlation coefficient threshold.
9. 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, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for detecting shunt abnormality in a three-phase electric energy metering device according to any one of claims 1-7.
10. 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 method for detecting shunt abnormality of a three-phase electric energy metering device according to any one of claims 1 to 7 when executed.
