A smart electric energy meter electric energy measurement method, device and smart electric energy meter
By simultaneously supporting the measurement of three apparent power algorithms in the smart power meter, using the combination of metering chips and MCUs, the problem of inflexible power metering methods is solved, and the accuracy and convenience of metering are improved.
Patent Information
- Application Number
- CN202411157322.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-22
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2044-08-22
AI Technical Summary
Smart energy metering is not flexible enough in terms of power measurement methods and cannot effectively support a variety of apparent power algorithms, resulting in inaccurate measurement and insufficient convenience.
Design a method and device for measuring electrical energy in smart electricity meters, using the metering chip to support arithmetic or vector apparent power metering, and the metering MCU supports equivalent apparent power and another apparent power metering, so as to achieve three different apparent power metering at the same time. The measurement of the algorithm improves the flexibility and accuracy of the power register and energy register through the accumulation and judgment of the power register and the energy register.
It realizes the flexible support of various apparent power algorithms in smart power meters, improves the accuracy and convenience of power metering, avoids calculation errors, and enhances the adaptability of power metering methods.
Smart Images

Figure CN118688507B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart electric energy meters, and in particular to a smart electric energy metering method, a smart electric energy meter and a smart electric energy meter. Background Art
[0002] As a new type of energy metering equipment, smart energy meter has intelligent functions that traditional energy meters do not have. Based on digital technology, it can realize remote meter reading, automatic billing, electricity consumption monitoring and other functions, greatly improving the accuracy and convenience of energy metering. However, there are still some problems with smart energy metering in energy metering, such as inflexible energy metering methods. Summary of the invention
[0003] In view of this, the present invention provides an intelligent electric energy meter electric energy measurement method, device and intelligent electric energy meter to solve the problem that the current electric energy meter electric energy measurement method is inflexible.
[0004] In a first aspect, the present invention provides a method for measuring electric energy with a smart electric energy meter, the method comprising:
[0005] Acquire the current and voltage of the three-phase electricity, and calculate the first apparent power, the second apparent power and the third apparent power according to the current and the voltage, wherein the first apparent power is calculated by the metering chip, and the second apparent power and the third apparent power are calculated by the metering MCU;
[0006] respectively setting the first apparent power, the second apparent power and the third apparent power into corresponding power registers, and accumulating the power values and the power register values;
[0007] When any power register value reaches the preset value, the corresponding apparent energy is accumulated.
[0008] The present invention provides an electric energy metering method for an intelligent electric energy meter, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) metering, and a metering MCU to support equivalent apparent power and another type of apparent power metering, thereby realizing simultaneous support of three different apparent electric energy algorithms in the intelligent electric energy meter, and improving the flexibility of the electric energy metering method.
[0009] In an optional implementation manner, the step of setting the first apparent power, the second apparent power, and the third apparent power into corresponding power registers respectively, and accumulating the power values and the power register values, includes:
[0010] Setting the first apparent power into a first power register, and accumulating the first apparent power value and the first power register value;
[0011] Setting the second apparent power into a second power register, and accumulating the second apparent power value and the second power register value;
[0012] The third apparent power is set in a third power register, and the third apparent power value and the third power register value are accumulated.
[0013] In an optional implementation manner, when any power register value reaches a preset value, accumulating the corresponding apparent electric energy includes:
[0014] When the first power register value reaches a preset value, outputting a first electric energy pulse to the first energy register, and accumulating the first electric energy pulse into the first apparent electric energy;
[0015] When the second power register value reaches a preset value, outputting a second electric energy pulse to the second energy register, and accumulating the second electric energy pulse into the second apparent electric energy;
[0016] When the third power register value reaches a preset value, a third electric energy pulse is output to the third energy register, and the third electric energy pulse is accumulated into the third apparent electric energy.
[0017] In an optional implementation, a rationality judgment is performed on the number of the first electrical energy pulses, the number of the second electrical energy pulses, and the number of the third electrical energy pulses.
[0018] By making a reasonable judgment on the number of newly added pulses, we can avoid accumulating abnormal data and introducing calculation errors.
[0019] In an optional implementation manner, the first apparent power is arithmetic apparent power, the second apparent power is vector apparent power, and the third apparent power is equivalent apparent power; or,
[0020] The first apparent power is vector apparent power, the second apparent power is arithmetic apparent power, and the third apparent power is equivalent apparent power.
[0021] In an optional implementation manner, the time period for accumulating the power value is equal to the time period for calculating the apparent power.
[0022] By ensuring that the time period T1 for accumulating power values is equal to the time period T2 for calculating apparent power, calculation errors can be avoided.
[0023] In an optional embodiment, the method further includes:
[0024] When any power register value reaches a preset value, the result obtained by subtracting the preset value from the corresponding power register value is used as the initial value of the next electric energy pulse accumulation.
[0025] In a second aspect, the present invention provides an intelligent electric energy metering device, the device comprising:
[0026] An apparent power calculation module is used to obtain the current and voltage of the three-phase electricity, and calculate the first apparent power, the second apparent power and the third apparent power according to the current and the voltage, wherein the first apparent power is calculated by the metering chip, and the second apparent power and the third apparent power are calculated by the metering MCU;
[0027] A power value accumulation module, used for setting the first apparent power, the second apparent power and the third apparent power into corresponding power registers respectively, and accumulating the power values and the power register values;
[0028] The electric energy accumulation module is used to accumulate the corresponding apparent electric energy when any power register value reaches a preset value.
[0029] The present invention provides an intelligent electric energy metering device, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) measurement, and a metering MCU to support equivalent apparent power and another type of apparent power measurement, thereby realizing simultaneous support for measurement of three different apparent energy algorithms in the intelligent electric energy meter, thereby improving the flexibility of the electric energy metering method.
[0030] In a third aspect, the present invention provides a smart electric energy meter, comprising: a metering chip and a metering MCU, the metering chip and the metering MCU being communicatively connected to each other, the metering chip and the metering MCU storing computer instructions, and the metering chip and the metering MCU executing the computer instructions to execute the smart electric energy metering method of the first aspect or any corresponding embodiment thereof.
[0031] The present invention provides a smart electric energy meter, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) measurement, and a metering MCU to support equivalent apparent power and another type of apparent power measurement, thereby realizing simultaneous support of three different apparent electric energy algorithms in the smart electric energy meter, and improving the flexibility of the electric energy metering method.
[0032] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the smart power meter electric energy metering method of the first aspect or any corresponding embodiment thereof. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 is a schematic diagram of a flow chart of an electric energy metering method for a smart electric energy meter according to an embodiment of the present invention;
[0035] Figure 2 is a structural block diagram of an electric energy metering device of a smart electric energy meter according to an embodiment of the present invention;
[0036] Figure 3 Schematic diagram of the hardware structure of the smart electric energy meter according to the embodiment of the present invention. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution 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 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 those skilled in the art without creative work are within the scope of protection of the present invention.
[0038] The present invention provides an electric energy metering method for an intelligent electric energy meter, which improves the flexibility of the electric energy metering mode by simultaneously supporting the metering of three different apparent electric energy algorithms in the intelligent electric energy meter.
[0039] According to an embodiment of the present invention, an embodiment of an electric energy metering method for a smart electric energy meter is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0040] In this embodiment, a smart electric energy meter electric energy metering method is provided, which can be used for smart electric energy meters. Figure 1 is a flow chart of a smart electric energy meter electric energy metering method according to an embodiment of the present invention. Figure 1 As shown, the process includes the following steps:
[0041] Step S11, obtaining the current and voltage of the three-phase electricity, and calculating the first apparent power, the second apparent power and the third apparent power according to the current and the voltage. The first apparent power is calculated by the metering chip, and the second apparent power and the third apparent power are calculated by the metering MCU.
[0042] Specifically, the metering chip supports one type of apparent power (arithmetic or vector apparent power) measurement, and the metering MCU supports equivalent apparent power and another type of apparent power measurement. In each time period T1, after the metering chip receives the current and voltage, it calculates the arithmetic or vector apparent power according to the formula. The metering MCU continuously receives the synchronous voltage and current waveform data of the metering chip, and calculates another type of apparent power according to the formula in each time period T1, and obtains the equivalent voltage and equivalent current according to the formula. Based on this, the equivalent apparent power in this period is calculated. In order to ensure that the measured apparent electric energy is consistent with the actual electric energy, the metering MCU should calculate the continuously received voltage and current waveforms to obtain the apparent power.
[0043] Among them, the first apparent power is arithmetic apparent power, the second apparent power is vector apparent power, and the third apparent power is equivalent apparent power; or, the first apparent power is vector apparent power, the second apparent power is arithmetic apparent power, and the third apparent power is equivalent apparent power. That is, when the metering chip supports arithmetic apparent power measurement, the metering MCU supports equivalent apparent power and vector apparent power measurement; when the metering chip supports vector apparent power measurement, the metering MCU supports equivalent apparent power and arithmetic apparent power measurement.
[0044] Step S12: setting the first apparent power, the second apparent power and the third apparent power into corresponding power registers respectively, and accumulating the power values and the power register values.
[0045] Specifically, the metering chip and the metering MCU set the calculated apparent power into the power register of the electric energy integration unit at intervals of T2. The power register is an integration counter, and the power value and the power register value are accumulated once in each clock cycle.
[0046] Step S13: when any power register value reaches a preset value, the corresponding apparent electric energy is accumulated.
[0047] Specifically, when any power register value is consistent with the comparison register value (high-frequency pulse constant), the power register value will trigger the pulse interrupt service and output 1 electric energy pulse to the corresponding energy register, and the corresponding electric energy pulse will be accumulated to the apparent electric energy in the energy register. Among them, the preset value is the value set by the comparison register value, that is, the high-frequency pulse constant. In addition, the pulse constants of the three apparent powers are the same as the pulse constants of the active power.
[0048] The present invention provides an electric energy metering method for an intelligent electric energy meter, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) metering, and a metering MCU to support equivalent apparent power and another type of apparent power metering, thereby realizing simultaneous support of three different apparent electric energy algorithms in the intelligent electric energy meter, and improving the flexibility of the electric energy metering method.
[0049] In an optional implementation, the above step S12 includes the following steps:
[0050] Step S121: Set the first apparent power into the first power register, and accumulate the first apparent power value and the first power register value.
[0051] Step S122: Set the second apparent power into the second power register, and accumulate the second apparent power value and the second power register value.
[0052] Step S123: Set the third apparent power into the third power register, and accumulate the third apparent power value and the third power register value.
[0053] Specifically, the metering chip sets the calculated first apparent power to the first power register of the electric energy integration unit at interval T2, and accumulates the first apparent power value and the first power register value once in each clock cycle. The metering MCU sets the calculated second apparent power to the second power register of the electric energy integration unit at interval T2, and sets the calculated third apparent power to the third power register of the electric energy integration unit, and accumulates the second apparent power value, the third apparent power, the second power register value, and the third power register value once in each clock cycle.
[0054] In an optional implementation, the above step S13 includes the following steps:
[0055] Step S131, when the first power register value reaches a preset value, output a first electric energy pulse to the first energy register, and accumulate the first electric energy pulse into the first apparent electric energy.
[0056] Step S132: when the second power register value reaches a preset value, output a second electric energy pulse to the second energy register, and accumulate the second electric energy pulse into the second apparent electric energy.
[0057] Step S133, when the third power register value reaches a preset value, output a third electric energy pulse to the third energy register, and accumulate the third electric energy pulse into the third apparent electric energy.
[0058] Specifically, when the first power register is consistent with the comparison register value (high-frequency pulse constant), the power register value will trigger the pulse interrupt service and output 1 electric energy pulse to the corresponding energy register. When the second power register is consistent with the comparison register value (high-frequency pulse constant), the power register value will trigger the pulse interrupt service and output 1 electric energy pulse to the corresponding energy register. When the third power register is consistent with the comparison register value (high-frequency pulse constant), the power register value will trigger the pulse interrupt service and output 1 electric energy pulse to the corresponding energy register. Each time the electric energy pulse output is triggered, a pulse signal is output and the timing is 80ms; after the delay time is reached, the pulse output is turned off to complete the output of 1 pulse.
[0059] After that, the metering MCU detects whether there are any new arithmetic apparent energy pulses. If there are any new pulses, the corresponding energy pulses are accumulated into the arithmetic apparent energy. The metering MCU detects whether there are any new vector apparent energy pulses. If there are any new pulses, the corresponding energy pulses are accumulated into the vector apparent energy. The metering MCU detects whether there are any new equivalent apparent energy pulses. If there are any new pulses, the corresponding energy pulses are accumulated into the equivalent apparent energy.
[0060] In an optional implementation, a rationality judgment is performed on the number of first electrical energy pulses, the number of second electrical energy pulses, and the number of third electrical energy pulses.
[0061] Specifically, when the metering MCU detects a new pulse, it determines the rationality of the number of pulses. When the number of pulses is determined to be reasonable, the corresponding electric energy pulses are accumulated to the corresponding apparent electric energy. The rationality of the number of pulses is judged as follows: the maximum number of pulses of the apparent electric energy in the current sampling period of the electric energy meter is theoretically calculated and multiplied by a coefficient of 2 as the judgment threshold. When the actual pulse is greater than the threshold, the data is considered abnormal and the number of pulses obtained this time is not accumulated; when the actual pulse is within a reasonable range, the number of pulses obtained this time is accumulated. By judging the rationality of the number of new pulses, abnormal data can be avoided from accumulating and introducing calculation errors.
[0062] In an optional implementation manner, the time period for accumulating the power value is equal to the time period for calculating the apparent power.
[0063] Specifically, in order to avoid introducing calculation errors, it is necessary to ensure that the time period T1 for accumulating power values is equal to the time period T2 for calculating apparent power.
[0064] In an optional implementation, when any power register value reaches a preset value, the result obtained by subtracting the preset value from the corresponding power register value is used as the initial value of the next electric energy pulse accumulation.
[0065] Specifically, when any power register value is consistent with the comparison register value (high-frequency pulse constant), the power register value will trigger the pulse interrupt service and output 1 electric energy pulse to the corresponding energy register. At the same time, the high-frequency pulse constant will be subtracted from the corresponding power register value as the initial value of the next electric energy pulse accumulation.
[0066] In an optional implementation, the calculation formula of equivalent apparent power in IEEE 1459 is as follows:
[0067] The equivalent apparent power is the product of three times the equivalent voltage and the equivalent current. The specific formula is as follows:
[0068] Se = 3 • Ve • Ie (Formula 1)
[0069] Where: Se is the equivalent apparent power, Ve is the equivalent voltage, and Ie is the equivalent current.
[0070] Ve is calculated from the positive sequence voltage, negative sequence voltage and zero sequence voltage. The specific formula is as follows:
[0071] (Formula 2)
[0072] Note: Since in most practical systems, V 0 / V + <0.4, and the difference between the neutral point voltages of each line pair is within ±10%, so the formula can be simplified to:
[0073] (Formula 3)
[0074] Where: V + is the positive sequence voltage, V - is the negative sequence voltage, V 0 is the zero sequence voltage.
[0075] Ie is calculated from the positive sequence current, negative sequence current and zero sequence current. The specific formula is as follows:
[0076] (Formula 4)
[0077] Where: I + is the positive sequence current, I - is the negative sequence current, I 0 is the zero sequence current.
[0078] This solution is based on the following calculations and the theoretical knowledge in IEEE 1459 to ultimately achieve the application of equivalent apparent power.
[0079] Positive sequence voltage (V + )、Negative sequence voltage(V -)is calculated from the original voltage value Ux and the voltage phase angle (Yba) between phase B and phase A, and the voltage phase angle (Yca) between phase C and phase A based on phase A:
[0080] Phase A does not move, phase B rotates 120 degrees counterclockwise, and phase C rotates 240 degrees counterclockwise. The vector sum divided by 3 is the positive sequence voltage:
[0081] Real part:
[0082] Phase B rotates 120 degrees counterclockwise: Ub•COS((360 - Yba + 120)•π / 180)
[0083] Phase C rotates 240 degrees counterclockwise: Uc•COS((360 - Yca + 240)•π / 180)
[0084] Imaginary part:
[0085] Phase B rotates 120 degrees counterclockwise: Ub•SIN((360 - Yba + 120)•π / 180)
[0086] Phase C rotates 240 degrees counterclockwise: Uc•SIN((360 - Yca + 240)•π / 180)
[0087] Positive sequence voltage:
[0088] Real part: Ua + Ub•COS((360 - Yba + 120)•π / 180) + Uc•COS((360 - Yca + 240)•π / 180)
[0089] Imaginary part: Ua + Ub•SIN((360 - Yba + 120)•π / 180) + Uc•SIN((360 - Yca + 240)•π / 180)
[0090] (Formula 5)
[0091] Phase A does not move, phase B rotates 240 degrees counterclockwise, and phase C rotates 120 degrees counterclockwise. The vector sum divided by 3 is the negative sequence voltage:
[0092] Real part:
[0093] Phase B rotates 240 degrees counterclockwise: Ub•COS((360 - Yba + 240)•π / 180)
[0094] Phase C rotates 120 degrees counterclockwise: Uc•COS((360 - Yca + 120)•π / 180)
[0095] Imaginary part:
[0096] Phase B rotates 240 degrees counterclockwise: Ub•SIN((360 - Yba + 240)•π / 180)
[0097] Phase C rotates 120 degrees counterclockwise: Uc•SIN((360 - Yca + 120)•π / 180)
[0098] Negative sequence voltage:
[0099] Real part: Ua + Ub•COS((360 - Yba + 240)•π / 180) + Uc•COS((360 - Yca + 120)•π / 180)
[0100] Imaginary part: Ua + Ub•SIN((360 - Yba + 240)•π / 180) + Uc•SIN((360 - Yca + 120)•π / 180)
[0101] (Formula 6)
[0102] Positive sequence current (I + )、negative sequence current(I - )、zero sequence current(I 0 ) is calculated from the original current value Ix and the current phase angle Yba between phase B and phase A, and the current phase angle (Yca) between phase C and phase A based on phase A:
[0103] Phase A does not move, phase B rotates 120 degrees counterclockwise, and phase C rotates 240 degrees counterclockwise. The vector sum divided by 3 is the positive sequence current:
[0104] Real part:
[0105] Phase B rotates 120 degrees counterclockwise: Ib•COS((360 - Yba + 120)•π / 180)
[0106] Phase C rotates 240 degrees counterclockwise: Ic•COS((360 - Yca + 240)•π / 180)
[0107] Imaginary part:
[0108] Phase B rotates 120 degrees counterclockwise: Ib•SIN((360 - Yba + 120)•π / 180)
[0109] Phase C rotates 240 degrees counterclockwise: Ic•SIN((360 - Yca + 240)•π / 180)
[0110] Positive sequence current:
[0111] Real part: Ia + Ib•COS((360 - Yba + 120)•π / 180) + Ic•COS((360 - Yca + 240)•π / 180)
[0112] Imaginary part: Ia + Ib•SIN((360 - Yba + 120)•π / 180) + Ic•SIN((360 - Yca + 240)•π / 180)
[0113] (Formula 7)
[0114] Phase A does not move, phase B rotates 240 degrees counterclockwise, and phase C rotates 120 degrees counterclockwise. The vector sum divided by 3 is the negative sequence current:
[0115] Real part:
[0116] Phase B rotates 240 degrees counterclockwise: Ib•COS((360 - Yba + 240)•π / 180)
[0117] Phase C rotates 120 degrees counterclockwise: Ic•COS((360 - Yca + 120)•π / 180)
[0118] Imaginary part:
[0119] Phase B rotates 240 degrees counterclockwise: Ib•SIN((360 - Yba + 240)•π / 180)
[0120] Phase C rotates 120 degrees counterclockwise: Ic•SIN((360 - Yca + 120)•π / 180)
[0121] Negative sequence current:
[0122] Real part: Ia + Ib•COS((360 - Yba + 240)•π / 180) + Ic•COS((360 - Yca + 120)•π / 180)
[0123] Imaginary part: Ia + Ib•SIN((360 - Yba + 240)•π / 180) + Ic•SIN((360 - Yca + 120)•π / 180)
[0124] (Formula 8)
[0125] The vector sum obtained by keeping phases A, B, and C unchanged and divided by 3 is the zero-sequence current:
[0126] Real part:
[0127] Phase B: Ib•COS((360 - Yba)•π / 180)
[0128] Phase C: Ic•COS((360 - Yca)•π / 180)
[0129] Imaginary part:
[0130] Phase B: Ib•SIN((360 - Yba)•π / 180)
[0131] Phase C: Ic•SIN((360 - Yca)•π / 180)
[0132] Zero sequence current:
[0133] Real part: Ia + Ib•COS((360 - Yba)•π / 180) + Ic•COS((360 - Yca)•π / 180)
[0134] Imaginary part: Ia + Ib•SIN((360 - Yba)•π / 180) + Ic•SIN((360 - Yca)•π / 180)
[0135] (Formula 9)
[0136] In this embodiment, a smart energy meter electric energy metering device is also provided, which is used to implement the above embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.
[0137] This embodiment provides a smart electric energy metering device, such as Figure 2 As shown, including:
[0138] The apparent power calculation module 21 is used to obtain the current and voltage of the three-phase electricity, and calculate the first apparent power, the second apparent power and the third apparent power according to the current and voltage. The first apparent power is calculated in the metering chip, and the second apparent power and the third apparent power are calculated in the metering MCU.
[0139] The power value accumulation module 22 is used to set the first apparent power, the second apparent power and the third apparent power into corresponding power registers respectively, and accumulate the power values and the power register values.
[0140] The electric energy accumulation module 23 is used to accumulate the corresponding apparent electric energy when any power register value reaches a preset value.
[0141] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.
[0142] The smart energy meter in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.
[0143] The present invention provides an intelligent electric energy metering device, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) measurement, and a metering MCU to support equivalent apparent power and another type of apparent power measurement, thereby realizing simultaneous support for measurement of three different apparent energy algorithms in the intelligent electric energy meter, thereby improving the flexibility of the electric energy metering method.
[0144] The embodiment of the present invention also provides a smart electric energy meter having the above Figure 2 The smart electric energy meter shown is an electric energy measuring device.
[0145] See also Figure 3 , Figure 3 is a schematic diagram of the structure of a smart electric energy meter provided by an optional embodiment of the present invention, such as Figure 3 As shown in FIG. 1 , the smart energy meter includes: a metering chip and a metering MCU, and interfaces for connecting various components, including a high-speed interface and a low-speed interface. The various components communicate with each other using different communication lines and can be installed on a common motherboard or in other ways as needed. The metering chip and the metering MCU can process the instructions executed in the smart energy meter. Figure 3 As shown, the smart electricity meter also includes a management chip.
[0146] The present invention provides a smart electric energy meter, which uses a metering chip to support one type of apparent power (arithmetic or vector apparent power) measurement, and a metering MCU to support equivalent apparent power and another type of apparent power measurement, thereby realizing simultaneous support of three different apparent electric energy algorithms in the smart electric energy meter, and improving the flexibility of the electric energy metering method.
[0147] The embodiment of the present invention also provides a computer-readable storage medium. The method according to the embodiment of the present invention can be implemented in hardware, firmware, or can be implemented as a computer code that can be recorded in a storage medium, or can be implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and will be stored in a local storage medium through a network download, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state hard disk, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor, or hardware, the method shown in the above embodiment is implemented.
[0148] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.
Claims
1. A method for measuring electric energy using a smart electric energy meter, characterized in that: The method comprises: Acquire the current and voltage of the three-phase electricity, and calculate the first apparent power, the second apparent power and the third apparent power according to the current and the voltage, wherein the first apparent power is calculated by the metering chip, and the second apparent power and the third apparent power are calculated by the metering MCU; respectively setting the first apparent power, the second apparent power and the third apparent power into corresponding power registers, and accumulating the power values and the power register values; When any power register value reaches the preset value, the corresponding apparent energy is accumulated; The first apparent power is arithmetic apparent power, the second apparent power is vector apparent power, and the third apparent power is equivalent apparent power; or, The first apparent power is vector apparent power, the second apparent power is arithmetic apparent power, and the third apparent power is equivalent apparent power; When any power register value reaches a preset value, the corresponding apparent electric energy is accumulated, including: When the first power register value reaches a preset value, outputting a first electric energy pulse to the first energy register, and accumulating the first electric energy pulse into the first apparent electric energy; When the second power register value reaches a preset value, outputting a second electric energy pulse to the second energy register, and accumulating the second electric energy pulse into the second apparent electric energy; When the third power register value reaches a preset value, outputting a third electric energy pulse to the third energy register, and accumulating the third electric energy pulse into the third apparent electric energy; The method further comprises: When any power register value reaches a preset value, the result obtained by subtracting the preset value from the corresponding power register value is used as the initial value of the next electric energy pulse accumulation.
2. The method for measuring electric energy using a smart electric energy meter according to claim 1, characterized in that: The step of setting the first apparent power, the second apparent power, and the third apparent power into corresponding power registers respectively, and accumulating the power values and the power register values, comprises: Setting the first apparent power into a first power register, and accumulating the first apparent power value and the first power register value; Setting the second apparent power into a second power register, and accumulating the second apparent power value and the second power register value; The third apparent power is set in a third power register, and the third apparent power value and the third power register value are accumulated.
3. The method for measuring electric energy using a smart electric energy meter according to claim 2, characterized in that: The method further comprises: A rationality judgment is performed on the number of the first electrical energy pulses, the number of the second electrical energy pulses, and the number of the third electrical energy pulses.
4. The method for measuring electric energy using a smart electric energy meter according to claim 2, characterized in that: The time period for accumulating power values is equal to the time period for calculating apparent power.
5. A smart electric energy metering device, characterized in that: The device comprises: An apparent power calculation module is used to obtain the current and voltage of the three-phase electricity, and calculate the first apparent power, the second apparent power and the third apparent power according to the current and the voltage, wherein the first apparent power is calculated by the metering chip, and the second apparent power and the third apparent power are calculated by the metering MCU; A power value accumulation module, used to set the three apparent powers into corresponding power registers respectively, and accumulate the power values and power register values; The electric energy accumulation module is used to accumulate the corresponding apparent electric energy when any power register value reaches a preset value; The first apparent power is arithmetic apparent power, the second apparent power is vector apparent power, and the third apparent power is equivalent apparent power; or, The first apparent power is vector apparent power, the second apparent power is arithmetic apparent power, and the third apparent power is equivalent apparent power; When any power register value reaches a preset value, the corresponding apparent electric energy is accumulated, including: When the first power register value reaches a preset value, outputting a first electric energy pulse to the first energy register, and accumulating the first electric energy pulse into the first apparent electric energy; When the second power register value reaches a preset value, outputting a second electric energy pulse to the second energy register, and accumulating the second electric energy pulse into the second apparent electric energy; When the third power register value reaches a preset value, outputting a third electric energy pulse to the third energy register, and accumulating the third electric energy pulse into the third apparent electric energy; The device also includes: When any power register value reaches a preset value, the result obtained by subtracting the preset value from the corresponding power register value is used as the initial value of the next electric energy pulse accumulation.
6. A smart electric energy meter, characterized in that: include: A metering chip and a metering MCU, wherein the metering chip and the metering MCU are communicatively connected to each other, the metering chip and the metering MCU store computer instructions, and the metering chip and the metering MCU execute the smart electric energy metering method according to any one of claims 1 to 4 by executing the computer instructions.
7. 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 computer to execute the smart electric energy metering method according to any one of claims 1 to 4.
Citation Information
Patent Citations
Three-phase electrical energy computation chip based on NIOS II microprocessor
CN101256209A
Distribution network metering and protection integral device suspended at high-voltage side
CN101860080A
Electric energy metering method
CN104914303A
Three-phase four-wire electric energy metering device having null line missing detection function
CN106645930A
Electricity metering device
CN109477859A
