[go: up one dir, main page]

CN118130892B - A method, device, equipment and storage medium for measuring electric energy - Google Patents

A method, device, equipment and storage medium for measuring electric energy Download PDF

Info

Publication number
CN118130892B
CN118130892B CN202410164309.8A CN202410164309A CN118130892B CN 118130892 B CN118130892 B CN 118130892B CN 202410164309 A CN202410164309 A CN 202410164309A CN 118130892 B CN118130892 B CN 118130892B
Authority
CN
China
Prior art keywords
parameter
electric energy
power
detection data
period
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202410164309.8A
Other languages
Chinese (zh)
Other versions
CN118130892A (en
Inventor
王永胜
卜俭青
汪远
黄志武
张青松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Hexing Electric Power Technology Co ltd
Hainan Haixing International Technology Development Co ltd
Hangzhou Haixing Zeke Information Technology Co ltd
Shenzhen Hexing Power Technology Co ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Original Assignee
Guangdong Hexing Electric Power Technology Co ltd
Hainan Haixing International Technology Development Co ltd
Hangzhou Haixing Zeke Information Technology Co ltd
Shenzhen Hexing Power Technology Co ltd
Hangzhou Hexing Electrical Co Ltd
Ningbo Henglida Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Hexing Electric Power Technology Co ltd, Hainan Haixing International Technology Development Co ltd, Hangzhou Haixing Zeke Information Technology Co ltd, Shenzhen Hexing Power Technology Co ltd, Hangzhou Hexing Electrical Co Ltd, Ningbo Henglida Technology Co Ltd filed Critical Guangdong Hexing Electric Power Technology Co ltd
Priority to CN202410164309.8A priority Critical patent/CN118130892B/en
Publication of CN118130892A publication Critical patent/CN118130892A/en
Application granted granted Critical
Publication of CN118130892B publication Critical patent/CN118130892B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • G01R22/06Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention discloses an electric energy measurement method, an electric energy measurement device, electric energy measurement equipment and a storage medium, wherein the method comprises the steps of obtaining preset power update periods of an electric energy meter, utilizing a first metering chip to collect detection data of the electric energy meter for a plurality of times in each preset power update period to obtain a first electric energy parameter, utilizing a second metering chip to collect detection data of the electric energy meter for the preset power update period to obtain a second electric energy parameter, and determining target electric energy parameters of the electric energy meter based on the first electric energy parameter and the second electric energy parameter. According to the invention, the detection data of the electric energy meter are acquired for a plurality of times at different acquisition frequencies in each preset power update period by utilizing different metering chips, so that the data synchronization is realized, the target electric energy parameters of the electric energy meter are determined based on the synchronization data, the metering result can be accurately acquired even when the load is rapidly changed, the requirements of punishment metering, power compensation and the like can be met, and the measurement precision is greatly improved.

Description

Electric energy measurement method, device, equipment and storage medium
Technical Field
The application relates to the technical field of electronic instruments, in particular to an electric energy measurement method, an electric energy measurement device, electric energy measurement equipment and an electric energy storage medium.
Background
An electric energy meter is a meter for measuring electric energy, also known as a kilowatt-hour meter. The existing electric energy meter is usually metered by a special metering chip, and the electric energy of the metering chip is read by a singlechip to accumulate the electric energy or the power of the metering chip is read to perform integral calculation, so that the electric energy is accumulated. When two or more metering chips exist in the scheme of the electric energy meter, the electric energy in the metering chips cannot be directly read to accumulate the electric energy, the power of each metering chip is required to be read to accumulate the electric energy, the power of the metering chip is read to accumulate the electric energy, the power of each metering chip is generally read to calculate at the same time when the electric energy is accumulated, but when the power updating periods of the two metering chips are not synchronous, the metering precision is not a problem in the laboratory standard table experience, but when the on-site operation load of the meter is rapidly changed, the problem of inaccurate metering often occurs.
Disclosure of Invention
In order to solve the problems, embodiments of the present application provide a method, an apparatus, a device, and a storage medium for measuring electric energy.
In a first aspect, an embodiment of the present application provides a method for measuring electrical energy, including:
acquiring a preset power update period of the electric energy meter;
Acquiring detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter, and acquiring detection data of the electric energy meter for the preset power updating period by using a second metering chip to obtain a second electric energy parameter;
And determining a target electric energy parameter of the electric energy meter based on the first electric energy parameter and the second electric energy parameter.
Preferably, the acquiring, by using the first metering chip, the detection data of the electric energy meter for multiple times in each preset power update period to obtain the first electric energy parameter includes:
and acquiring detection data of the electric energy meter for a plurality of times by using the first metering chip with a first sub-period as an acquisition period to obtain a first electric energy parameter, wherein the first sub-period is smaller than the preset power update period.
Preferably, the detecting data includes a power parameter, and the acquiring the detecting data of the electric energy meter for multiple times by using the first metering chip in each preset power updating period to obtain a first electric energy parameter includes:
and taking the average value of the power parameters acquired in a plurality of first subcycles as a first electric energy parameter.
Preferably, the detection data includes a voltage parameter and a current parameter, and the acquiring the detection data of the electric energy meter for multiple times in each preset power update period by using the first metering chip to obtain a first electric energy parameter includes obtaining the first electric energy parameter by using the following formula:
Wherein a 1、a2、an is a voltage parameter or a current parameter which is respectively acquired, and n is the acquisition times corresponding to a single preset power update period.
Preferably, the acquiring, by using a second metering chip, the detection data of the electric energy meter in the preset power update period to obtain the second electric energy parameter includes:
collecting detection data of the electric energy meter by using a second metering chip according to the preset power update period, wherein the detection data comprises a power parameter, a voltage parameter and a current parameter;
and determining the power parameter, the voltage parameter and the current parameter as second electric energy parameters.
Preferably, the determining the target power parameter of the power meter based on the first power parameter and the second power parameter includes:
and calculating based on the power parameter, the current parameter and the voltage parameter, and determining a target electric energy parameter of the electric energy meter.
Preferably, the determining the target power parameter of the power meter based on the first power parameter and the second power parameter includes:
Determining a target power parameter of the power meter based on an average of the first power parameter and the second power parameter and the following formula:
E=P×AT;
wherein P represents the average power value and DeltaT represents the preset power integration period.
In a second aspect, an embodiment of the present application provides an electrical energy measurement device, the device including:
The acquisition module is used for acquiring a preset power update period of the electric energy meter;
The acquisition module is used for acquiring detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter, and acquiring detection data of the electric energy meter in the preset power updating period by using a second metering chip to obtain a second electric energy parameter;
and the determining module is used for determining a target electric energy parameter of the electric energy meter based on the first electric energy parameter and the second electric energy parameter.
In a third aspect, an embodiment of the present application provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method as provided in the first aspect or any one of the possible implementations of the first aspect when the computer program is executed.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as provided by the first aspect or any one of the possible implementations of the first aspect.
The method has the advantages that detection data of the electric energy meter are acquired for multiple times at different acquisition frequencies in each preset power update period by utilizing different metering chips, corresponding electric energy parameters are obtained, the acquisition period of one metering chip is the same as the preset power update period of the electric energy meter, the acquisition period of the other metering chip is smaller than the preset power update period of the electric energy meter, but the acquisition period of the other metering chip is identical with the preset power update period of the electric energy meter after the superposition of the sampling periods, so that data synchronization is achieved, the target electric energy parameters of the electric energy meter are determined based on the synchronous data, the metering result can be accurately acquired even when the load is changed rapidly, and the measurement precision is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic flow chart of an electric energy measurement method according to an embodiment of the present application;
Fig. 2 is a schematic structural diagram of an electrical energy measurement device according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application.
In the following description, the terms "first," "second," and "first," are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. The following description provides various embodiments of the application that may be substituted or combined between different embodiments, and thus the application is also to be considered as embracing all possible combinations of the same and/or different embodiments described. Thus, if one embodiment includes feature A, B, C and another embodiment includes feature B, D, then the application should also be seen as embracing one or more of all other possible combinations of one or more of A, B, C, D, although such an embodiment may not be explicitly recited in the following.
The following description provides examples and does not limit the scope, applicability, or examples set forth in the claims. Changes may be made in the function and arrangement of elements described without departing from the scope of the application. Various examples may omit, replace, or add various procedures or components as appropriate. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Furthermore, features described with respect to some examples may be combined into other examples.
Referring to fig. 1, fig. 1 is a schematic flow chart of an electric energy measurement method according to an embodiment of the present application. In an embodiment of the present application, the method includes:
step S110, a preset power update period of the electric energy meter is obtained.
In this embodiment, the electric energy-related data is detected by at least two types of metering chips, which differ in the detection frequencies thereof. The metering period of one metering chip is an integer multiple or nearly an integer multiple of the metering period of the other metering chip, and accordingly, the larger metering period is determined as a preset power update period of the electric energy meter.
Step S120, acquiring detection data of the electric energy meter for a plurality of times in each preset power update period by using the first metering chip to obtain a first electric energy parameter, and acquiring detection data of the electric energy meter for a preset power update period by using the second metering chip to obtain a second electric energy parameter.
In this embodiment, in a preset power update period, the first metering chip may be used to collect detection data of the electric energy meter for multiple times, and the second metering chip may be used to collect detection data of the electric energy meter once, where both metering is completed once at the end of the preset power update period, so as to realize data synchronization.
In one embodiment, step S120, acquiring, by using the first metering chip, detection data of the electric energy meter for a plurality of times in each preset power update period to obtain a first electric energy parameter includes:
and acquiring detection data of the electric energy meter for a plurality of times by using the first metering chip with the first sub-period as an acquisition period to obtain a first electric energy parameter, wherein the first sub-period is smaller than a preset power update period.
In this embodiment, the metering period of the second metering chip is greater than the metering period of the first metering chip. For example, taking the metering period of the second metering chip as T2 as the preset power update period, and the first sub-period corresponding to the first metering chip as T1, both satisfy t2=kxt1, where k is a positive integer. Correspondingly, the number of times that the first metering chip collects detection data of the electric energy meter in each preset power update period is k times.
In one embodiment, the detection data includes a power parameter, and acquiring the detection data of the electric energy meter for a plurality of times in each preset power update period by using the first metering chip to obtain the first electric energy parameter includes:
And taking the average value of the power parameters acquired in the first sub-periods as a first electric energy parameter.
In this embodiment, the power parameters collected in different sub-periods may have differences, so that the power parameters collected in the first sub-periods are accumulated and averaged, and the average value is used as the first power parameter, thereby reducing accidental errors and improving measurement accuracy.
In one embodiment, the detection data includes a voltage parameter and a current parameter, and the step S120 of acquiring the detection data of the electric energy meter for a plurality of times in each preset power update period by using the first metering chip to obtain a first electric energy parameter includes obtaining the first electric energy parameter by using the following formula:
Wherein a 1、a2、an is a voltage parameter or a current parameter which is respectively acquired, and n is the acquisition times corresponding to a single preset power update period.
The output of the voltage and current metering chip is an effective value, so that the metering mode is different from the power metering mode. Here, the voltage parameter and the current parameter are determined by the above formulas. According to the energy calculation formula, the electric quantity parameter can be easily determined through the voltage parameter and the current parameter.
In an embodiment, step S120, collecting, by using a second metering chip, detection data of the electric energy meter at a preset power update period to obtain a second electric energy parameter, includes:
Collecting detection data of the electric energy meter by using a second metering chip in a preset power update period, wherein the detection data comprises a power parameter, a voltage parameter and a current parameter;
The power parameter, the voltage parameter, and the current parameter are determined as the second electrical energy parameter.
Because the second metering chip only collects the data of the electric energy meter once in a preset power updating period, the collected power parameter, voltage parameter and current parameter can be directly determined as the second electric energy parameter, and the electric quantity parameter is obtained through an energy calculation formula.
Step S130, determining a target power parameter of the power meter based on the first power parameter and the second power parameter.
In this embodiment, the average value of the calculation results of the first power parameter and the second power parameter is taken as the target power parameter.
In one embodiment, step S130, determining a target power parameter of the power meter based on the first power parameter and the second power parameter, includes:
And calculating based on the power parameter, the current parameter and the voltage parameter, and determining a target electric energy parameter of the electric energy meter.
In this embodiment, the current parameter, the voltage parameter or the power parameter may be used to perform operation, so as to determine a target electric energy parameter of the electric energy meter, that is, corresponding electric quantity data. Here, the operation may include an operation on the data of the plurality of first sub-periods within one preset power update period and an operation on the data of the plurality of preset power update periods.
In one embodiment, step S130, determining a target power parameter of the power meter based on the first power parameter and the second power parameter, includes:
determining a target power parameter of the power meter based on an average of the first power parameter and the second power parameter and the following formula:
E=P×AT;
wherein P represents the average power value and DeltaT represents the preset power integration period.
In this embodiment, taking the power parameter as an example, a target power parameter of a preset power update period or a first sub-period may be determined. It should be noted that, the target electric energy parameter of the electric energy meter may also be determined by the formula e=ui×Δt, where U represents the voltage parameter, and I represents the current parameter.
In one specific example, the metering period T1 corresponding to the first metering chip (e.g., the sharp micro RN 8215) is about 71.111ms, and the metering period T2 of the second metering chip (e.g., the high V9240) is 640ms. A 2048 minute 1 second (0.4882 ms) timer was programmed to read 1 first meter chip power, voltage, current, etc. of metering data about 71.289ms every 146 times. After the 9 th reading data in the continuous 9 times of reading the first metering chip data is completed, the metering data of the 1 times of second metering chip is read, namely 641.601ms is used for reading the metering data of the 1 times of second metering chip. The first metering chip completes 9 times of data acquisition, and adds up and divides the 9 times of read power data to obtain an average value, wherein the power average value formula is (P1+P2+. P9)/(9), the P1 and the P2.. P9 represent continuous 9 times of power values obtained according to a metering update period, and the voltage average value calculation formula is as follows: The current average value is calculated in accordance with the voltage. According to the collected two paths of metering data, power direction judgment, four-quadrant judgment, starting current judgment, power error compensation, bypass judgment and the like can be carried out, instantaneous quantity sampling data are converted into a series of operations such as actual effective values, frequency calculation, angle calculation, metering mode judgment and the like, and then power integration calculation is carried out according to power values, and electric energy is accumulated, specifically, by taking active electric energy metering as an example, pulse equivalent of an electric energy meter is 1 kWh/pulse constant, an integration period electric energy accumulation calculation formula is E=P×DeltaT, P represents power, deltaT represents integration period, 2048 minutes is 1 second (0.4882 milliseconds), and in the example, the pulse constant can be 1000, and one pulse equivalent is 1Wh or 3600Ws. In the program, an electric energy accumulation register a is opened, the read power value is accumulated into a every 2048 minutes for 1 second (0.4882 milliseconds), when the value of a is more than or equal to one pulse equivalent, the electric energy is added by 0.001kWh, and the value of a minus one pulse equivalent is started to accumulate, so that the cycle accumulation is completed. It should be noted that the above execution operations may be implemented by a preset program, which is not described in detail.
According to the embodiment of the application, the detection data of the electric energy meter are acquired for multiple times at different acquisition frequencies in each preset power update period by utilizing different metering chips, so that corresponding electric energy parameters are obtained, the acquisition period of one metering chip is the same as the preset power update period of the electric energy meter, the acquisition period of the other metering chip is smaller than the preset power update period of the electric energy meter, but the overlapping of the sampling periods is identical with the preset power update period of the electric energy meter, thereby achieving data synchronization, determining the target electric energy parameters of the electric energy meter based on the synchronous data, ensuring that metering results can be accurately acquired even when the load is changed rapidly, and greatly improving the electric energy measurement precision.
The foregoing describes specific embodiments of the present disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims can be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
Referring next to fig. 2, fig. 2 is a schematic structural diagram of an electrical energy measurement device according to an embodiment of the present disclosure. It should be noted that, the electric energy measuring device shown in fig. 2 is used to perform the method according to the embodiment of fig. 1, and for convenience of explanation, only the portion relevant to the embodiment of the present application is shown, and specific technical details are not disclosed, please refer to the embodiment of fig. 1 of the present application.
As shown in fig. 2, the power measuring apparatus 200 includes:
an obtaining module 210, configured to obtain a preset power update period of the electric energy meter;
The acquisition module 220 is configured to acquire detection data of the electric energy meter for multiple times in each preset power update period by using a first metering chip to obtain a first electric energy parameter, and acquire detection data of the electric energy meter for each preset power update period by using a second metering chip to obtain a second electric energy parameter;
a determining module 230 is configured to determine a target power parameter of the power meter based on the first power parameter and the second power parameter.
In one embodiment, the collection module 220 is specifically configured to:
and acquiring detection data of the electric energy meter for a plurality of times by using the first metering chip with the first sub-period as an acquisition period to obtain a first electric energy parameter, wherein the first sub-period is smaller than a preset power update period.
In one embodiment, the detection data includes a power parameter, and the acquisition module 220 is specifically configured to:
And taking the average value of the power parameters acquired in the first sub-periods as a first electric energy parameter.
In one embodiment, the detection data includes a voltage parameter and a current parameter, and the acquisition module 220 is specifically configured to obtain the first electrical energy parameter by using the following formula:
Wherein a 1、a2、an is a voltage parameter or a current parameter which is respectively acquired, and n is the acquisition times corresponding to a single preset power update period.
In one embodiment, the collection module 220 is specifically configured to:
Collecting detection data of the electric energy meter by using a second metering chip in a preset power update period, wherein the detection data comprises a power parameter, a voltage parameter and a current parameter;
The power parameter, the voltage parameter, and the current parameter are determined as the second electrical energy parameter.
In one embodiment, the determining module 230 is specifically configured to:
And calculating based on the power parameter, the current parameter and the voltage parameter, and determining a target electric energy parameter of the electric energy meter.
In one embodiment, the determining module 230 is specifically configured to:
determining a target power parameter of the power meter based on an average of the first power parameter and the second power parameter and the following formula:
E=P×ΔT;
wherein P represents the average power value and DeltaT represents the preset power integration period.
It will be clear to those skilled in the art that the technical solutions of the embodiments of the present application may be implemented by means of software and/or hardware. "unit" and "module" in this specification refer to software and/or hardware capable of performing a particular function, either alone or in combination with other components, such as Field-Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA), integrated circuits (INTEGRATED CIRCUIT, ICs), and the like.
The processing units and/or modules of the embodiments of the present application may be implemented by an analog circuit that implements the functions described in the embodiments of the present application, or may be implemented by software that executes the functions described in the embodiments of the present application.
Referring to fig. 3, a schematic structural diagram of an electronic device according to an embodiment of the present application is shown, where the electronic device may be used to implement the method in the embodiment shown in fig. 1. As shown in fig. 3, the electronic device 300 may include at least one central processor 301, at least one network interface 304, a user interface 303, a memory 305, and at least one communication bus 302.
Wherein the communication bus 302 is used to enable connected communication between these components.
The user interface 303 may include a Display screen (Display), a Camera (Camera), and the optional user interface 303 may further include a standard wired interface, and a wireless interface.
The network interface 304 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others.
Wherein the central processor 301 may comprise one or more processing cores. The central processor 301 connects the various parts within the overall electronic device 300 using various interfaces and lines, performs various functions of the terminal 300 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 305, and invoking data stored in the memory 305. Alternatively, the central processor 301 may be implemented in at least one hardware form of digital signal Processing (DIGITAL SIGNAL Processing, DSP), field-Programmable gate array (Field-Programmable GATE ARRAY, FPGA), programmable logic array (Programmable Logic Array, PLA). The central processor 301 may integrate one or a combination of several of a central processor (Central Processing Unit, CPU), an image central processor (Graphics Processing Unit, GPU), a modem, etc. The CPU mainly processes an operating system, a user interface, an application program and the like, the GPU is used for rendering and drawing contents required to be displayed by the display screen, and the modem is used for processing wireless communication. It will be appreciated that the modem may not be integrated into the cpu 301 and may be implemented by a single chip.
The Memory 305 may include a random access Memory (Random Access Memory, RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 305 includes a non-transitory computer readable medium (non-transitory computer-readable storage medium). Memory 305 may be used to store instructions, programs, code, sets of codes, or sets of instructions. The memory 305 may include a stored program area that may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playing function, an image playing function, etc.), instructions for implementing the above-described respective method embodiments, etc., and a stored data area that may store data, etc., referred to in the above-described respective method embodiments. The memory 305 may also optionally be at least one storage device located remotely from the aforementioned central processor 301. As shown in fig. 3, an operating system, a network communication module, a user interface module, and program instructions may be included in the memory 305, which is a type of computer storage medium.
The present application also provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the above method. The computer-readable storage medium may include, among other things, any type of disk including floppy disks, optical disks, DVDs, CD-ROMs, micro-drives, and magneto-optical disks, ROM, RAM, EPROM, EEPROM, DRAM, VRAM, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present application is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, such as the division of the units, merely a logical function division, and there may be additional manners of dividing the actual implementation, such as multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some service interface, device or unit indirect coupling or communication connection, electrical or otherwise.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable memory. Based on this understanding, the technical solution of the present application may be embodied essentially or partly in the form of a software product, or all or part of the technical solution, which is stored in a memory, and includes several instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the method according to the embodiments of the present application. The Memory includes a U disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, etc. which can store the program codes.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be implemented by hardware associated with a program of instructions, which may be stored in a computer readable Memory, which may include a flash disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, etc.
The foregoing is merely exemplary embodiments of the present disclosure and is not intended to limit the scope of the present disclosure. That is, equivalent changes and modifications are contemplated by the teachings of this disclosure, which fall within the scope of the present disclosure. Embodiments of the present disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a scope and spirit of the disclosure being indicated by the claims.

Claims (5)

1. A method of measuring electrical energy, comprising:
acquiring a preset power update period of the electric energy meter;
Acquiring detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter, and acquiring detection data of the electric energy meter for the preset power updating period by using a second metering chip to obtain a second electric energy parameter;
determining a target electrical energy parameter of the electrical energy meter based on the first electrical energy parameter and the second electrical energy parameter, the determining the target electrical energy parameter of the electrical energy meter based on the first electrical energy parameter and the second electrical energy parameter comprising:
Determining a target power parameter of the power meter based on an average of the first power parameter and the second power parameter and the following formula:
E=P×ΔT;
wherein P represents a power average value, and DeltaT represents a preset power integration period;
the first metering chip and the second metering chip finish one metering when the preset power updating period is finished, so that data synchronization is realized;
the step of acquiring the detection data of the electric energy meter for a plurality of times in each preset power update period by using a first metering chip to obtain a first electric energy parameter comprises the following steps:
Acquiring detection data of the electric energy meter for a plurality of times by using the first metering chip with a first sub-period as an acquisition period to obtain a first electric energy parameter, wherein the first sub-period is smaller than the preset power update period;
the method for acquiring the detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter comprises the following steps:
taking the average value of the power parameters acquired in a plurality of first sub-periods as a first electric energy parameter;
The detection data comprises a voltage parameter and a current parameter, wherein the first power parameter is obtained by utilizing a first metering chip to collect the detection data of the electric energy meter for a plurality of times in each preset power updating period, and the method comprises the following steps of obtaining the first power parameter by utilizing the following formula:
wherein a 1、a2、an is a voltage parameter or a current parameter which is respectively acquired, and n is the acquisition times corresponding to a single preset power update period;
The step of acquiring the detection data of the electric energy meter by using the second metering chip in the preset power update period to obtain a second electric energy parameter includes:
collecting detection data of the electric energy meter by using a second metering chip according to the preset power update period, wherein the detection data comprises a power parameter, a voltage parameter and a current parameter;
and determining the power parameter, the voltage parameter and the current parameter as second electric energy parameters.
2. The method of claim 1, wherein the determining the target power parameter of the power meter based on the first power parameter and the second power parameter comprises:
and calculating based on the power parameter, the current parameter and the voltage parameter, and determining a target electric energy parameter of the electric energy meter.
3. An electrical energy measurement device, comprising:
The acquisition module is used for acquiring a preset power update period of the electric energy meter;
The acquisition module is used for acquiring detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter, and acquiring detection data of the electric energy meter in the preset power updating period by using a second metering chip to obtain a second electric energy parameter;
The determining module is used for determining a target electric energy parameter of the electric energy meter based on the first electric energy parameter and the second electric energy parameter;
the determining the target power parameter of the power meter based on the first power parameter and the second power parameter includes:
Determining a target power parameter of the power meter based on an average of the first power parameter and the second power parameter and the following formula:
E=P×ΔT;
wherein P represents a power average value, and DeltaT represents a preset power integration period;
the first metering chip and the second metering chip finish one metering when the preset power updating period is finished, so that data synchronization is realized;
the step of acquiring the detection data of the electric energy meter for a plurality of times in each preset power update period by using a first metering chip to obtain a first electric energy parameter comprises the following steps:
Acquiring detection data of the electric energy meter for a plurality of times by using the first metering chip with a first sub-period as an acquisition period to obtain a first electric energy parameter, wherein the first sub-period is smaller than the preset power update period;
the method for acquiring the detection data of the electric energy meter for a plurality of times in each preset power updating period by using a first metering chip to obtain a first electric energy parameter comprises the following steps:
taking the average value of the power parameters acquired in a plurality of first sub-periods as a first electric energy parameter;
The detection data comprises a voltage parameter and a current parameter, wherein the first power parameter is obtained by utilizing a first metering chip to collect the detection data of the electric energy meter for a plurality of times in each preset power updating period, and the method comprises the following steps of obtaining the first power parameter by utilizing the following formula:
wherein a 1、a2、an is a voltage parameter or a current parameter which is respectively acquired, and n is the acquisition times corresponding to a single preset power update period;
The step of acquiring the detection data of the electric energy meter by using the second metering chip in the preset power update period to obtain a second electric energy parameter includes:
collecting detection data of the electric energy meter by using a second metering chip according to the preset power update period, wherein the detection data comprises a power parameter, a voltage parameter and a current parameter;
and determining the power parameter, the voltage parameter and the current parameter as second electric energy parameters.
4. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1-2 when the computer program is executed.
5. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method according to any of claims 1-2.
CN202410164309.8A 2024-02-05 2024-02-05 A method, device, equipment and storage medium for measuring electric energy Active CN118130892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202410164309.8A CN118130892B (en) 2024-02-05 2024-02-05 A method, device, equipment and storage medium for measuring electric energy

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202410164309.8A CN118130892B (en) 2024-02-05 2024-02-05 A method, device, equipment and storage medium for measuring electric energy

Publications (2)

Publication Number Publication Date
CN118130892A CN118130892A (en) 2024-06-04
CN118130892B true CN118130892B (en) 2025-02-11

Family

ID=91233584

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202410164309.8A Active CN118130892B (en) 2024-02-05 2024-02-05 A method, device, equipment and storage medium for measuring electric energy

Country Status (1)

Country Link
CN (1) CN118130892B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202661545U (en) * 2012-06-15 2013-01-09 宁波三星电气股份有限公司 Three-phase electric energy meter
CN115134030A (en) * 2021-03-29 2022-09-30 东风汽车集团股份有限公司 Vehicle-mounted multi-sensor synchronization method, device, equipment and storage medium

Family Cites Families (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201637780U (en) * 2010-01-29 2010-11-17 武汉盛帆电子股份有限公司 Single-phase electronic dual-loop electric energy meter
CN202631727U (en) * 2012-06-28 2012-12-26 珠海派诺科技股份有限公司 Onsite detector of electric energy metering device
CN102749542B (en) * 2012-07-17 2014-06-18 江苏中凌高科技有限公司 Power quality monitoring device based on double-velocity double-range sampling
FR3019304B1 (en) * 2014-04-01 2016-03-25 Socomec Sa METHOD FOR MEASURING THE ENERGY CONSUMPTION OF THE BRANCHES OF AN ELECTRICAL NETWORK AND MEASURING EQUIPMENT USING THE SAME
CN104198872B (en) * 2014-09-29 2017-10-24 徐雪松 Online equipment for monitoring power quality and method
US9893877B2 (en) * 2016-01-15 2018-02-13 Analog Devices Global Circuits, systems, and methods for synchronization of sampling and sample rate setting
CN105738856B (en) * 2016-03-28 2018-05-08 华立科技股份有限公司 The good electric energy meter calibrating method of security
CN109936420B (en) * 2017-12-15 2022-05-03 上海蔚来汽车有限公司 Method and apparatus for synchronizing data collected by multiple sensors
CN210037964U (en) * 2019-05-14 2020-02-07 宁波奥克斯电气股份有限公司 A power consumption monitoring device and an air conditioner
CN111089991A (en) * 2020-02-10 2020-05-01 华立科技股份有限公司 Electric energy metering method and device and electric energy meter
CN113358120B (en) * 2021-06-04 2022-08-05 广东人工智能与先进计算研究院 Sampling method of sensor and related device
CN113918652A (en) * 2021-10-19 2022-01-11 广州极飞科技股份有限公司 Data synchronization method and device and readable storage medium
CN116400132A (en) * 2023-03-22 2023-07-07 杭州海兴电力科技股份有限公司 Multi-metering three-phase electric energy meter and electric energy metering method
CN117147962A (en) * 2023-07-28 2023-12-01 中国电力科学研究院有限公司 Multi-ADC self-adaptive high-accuracy electric energy metering method and system
CN117270487B (en) * 2023-11-17 2024-01-23 北京芯驰半导体科技有限公司 Sampling control system, method and chip for analog signals

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202661545U (en) * 2012-06-15 2013-01-09 宁波三星电气股份有限公司 Three-phase electric energy meter
CN115134030A (en) * 2021-03-29 2022-09-30 东风汽车集团股份有限公司 Vehicle-mounted multi-sensor synchronization method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN118130892A (en) 2024-06-04

Similar Documents

Publication Publication Date Title
WO2024067388A1 (en) Method and system for estimating state of health of battery, and device and medium
CN109991545B (en) Battery pack electric quantity detection method and device and terminal equipment
CN106126384B (en) A kind of method and device of acquisition performance monitoring unit PMU event
CN116559528A (en) Chip frequency measuring method, circuit, device, storage medium and computer equipment
CN104407510A (en) Method and device for time service
CN101556325B (en) Fast Electric Energy Error Verification Method
CN108267703A (en) Electric quantity metering accuracy checking method, its device and computer storage media
CN118130892B (en) A method, device, equipment and storage medium for measuring electric energy
CN113740602B (en) Equal-precision frequency calculating device and method
CN108982941A (en) A kind of method for real-time measurement and device, oscillograph, storage medium of period frequency
CN109379479B (en) Performance test method and device for built-in sensor of mobile terminal
CN217484401U (en) Transient current acquisition circuit and MCU low-power consumption test system
CN107748347B (en) Measuring method and device of three-phase meter
JP7266376B2 (en) Waveform display device and waveform display program
CN111277266B (en) Correction method and device for signal acquisition value based on glucometer
CN115754812A (en) Method and device for detecting internal short circuit fault of stator winding of variable-speed pumped storage unit
CN114236455A (en) Error calculation device and method for electric energy meter verification for processing missing pulse
JP2012154763A (en) Measurement device and measurement method
CN103023488A (en) Frequency correction method and system
CN106814248A (en) A kind of data processing method and device in digital Frequency Measuring
CN113343458A (en) Model selection method and device for engine sensor, electronic equipment and storage medium
CN111124776A (en) A CPU power transient test method, system, terminal and storage medium
CN112260900A (en) Method, device and equipment for measuring energy consumption of communication equipment and storage medium
CN107272862A (en) Determine the method and terminal of terminal handler voltage
JPS5916648B2 (en) counting scale

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant