CN113609648B - Dynamic load-based electric energy error metering method and device and electronic equipment - Google Patents

Dynamic load-based electric energy error metering method and device and electronic equipment Download PDF

Info

Publication number
CN113609648B
CN113609648B CN202110784861.3A CN202110784861A CN113609648B CN 113609648 B CN113609648 B CN 113609648B CN 202110784861 A CN202110784861 A CN 202110784861A CN 113609648 B CN113609648 B CN 113609648B
Authority
CN
China
Prior art keywords
electric energy
metering
dynamic load
probability density
parameter
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
CN202110784861.3A
Other languages
Chinese (zh)
Other versions
CN113609648A (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.)
Hunan Institute of Metrology and Test
Original Assignee
Hunan Institute of Metrology and Test
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 Hunan Institute of Metrology and Test filed Critical Hunan Institute of Metrology and Test
Priority to CN202110784861.3A priority Critical patent/CN113609648B/en
Publication of CN113609648A publication Critical patent/CN113609648A/en
Application granted granted Critical
Publication of CN113609648B publication Critical patent/CN113609648B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/20Design optimisation, verification or simulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/23Clustering techniques
    • G06F18/232Non-hierarchical techniques
    • G06F18/2321Non-hierarchical techniques using statistics or function optimisation, e.g. modelling of probability density functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2111/00Details relating to CAD techniques
    • G06F2111/08Probabilistic or stochastic CAD

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Geometry (AREA)
  • Computer Hardware Design (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Evolutionary Biology (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The application belongs to the technical field of data processing, and particularly relates to an electric energy error metering method and device based on dynamic load, a storage medium and electronic equipment. The method comprises the following steps: firstly establishing a feature vector corresponding to the dynamic load, then acquiring the electric energy data based on the feature vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter, and finally calculating an electric energy error value of the metering device according to the probability density value and the metering parameter. And finally, calculating the probability density value and the metering parameter according to a preconfigured operation rule to obtain an electric energy error value of the metering device, thereby solving the technical problems of larger error and the like caused by the fact that the traditional metering device does not calculate the electric energy error of the dynamic load.

Description

Dynamic load-based electric energy error metering method and device and electronic equipment
Technical Field
The application belongs to the technical field of data processing, and particularly relates to an electric energy error metering method and device based on dynamic load, a storage medium and electronic equipment.
Background
The measuring device refers to a device, an instrument, a measuring tool and a standard substance for unifying the measured values, which can be used for directly or indirectly measuring the measured values of the measured objects. The metering device is widely applied to various aspects of production, scientific research fields, people life and the like, and is quite important in the whole metering legislation. Because of unification of national magnitude, firstly, the unification is reflected on the accurate consistency of metering devices, and the metering devices are not only main objects of supervision and management, but also are technical bases for metering departments to provide metering assurance.
However, the traditional metering device has no calculation method for the electric energy error of the dynamic load, so that the error is larger when the metering device measures the dynamic load.
Content of the application
The embodiment of the application provides an electric energy error metering method and device based on dynamic load, a storage medium and electronic equipment, and aims to solve the technical problem that a traditional metering device has larger metering error due to no calculation of electric energy error.
According to a first aspect of the embodiment of the application, a dynamic load-based electric energy error metering method is provided, and is applied to a metering device, and the method comprises the following steps:
Establishing a feature vector corresponding to the dynamic load;
acquiring the electric energy data based on the characteristic vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter;
And calculating the electric energy error value of the metering device according to the probability density value and the metering parameter.
Optionally, the acquiring the electrical energy data based on the feature vector, where the electrical energy data includes a probability density value of a current amplitude and a metering parameter, specifically includes:
Performing binarization processing on the characteristic vector to obtain a binary run sequence of the current amplitude;
And obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence.
Optionally, the obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence specifically includes:
screening the number of binary run sequences meeting preset run conditions to obtain the number of runs;
And calculating the probability density value and the metering parameter of the current amplitude according to the run number.
Optionally, the calculating the current amplitude and the metering parameter according to the run number specifically includes:
Inputting the run number into a pre-configured probability density function, and calculating the probability density value and the metering parameter of the current amplitude.
Optionally, the calculating the electric energy error value of the metering device according to the probability density value and the metering parameter specifically includes:
and carrying out random characteristic analysis on the probability density value and the metering parameter, and calculating the electric energy error value of the metering device.
Optionally, after calculating the power error value of the metering device according to the probability density value and the metering parameter, the method further includes:
And correcting the metering device according to the electric energy error value.
Optionally, before the feature vector corresponding to the dynamic load is established, the method further includes:
And acquiring the dynamic load in advance.
According to a second aspect of the embodiment of the present application, there is provided an electric energy error metering device based on dynamic load, the device comprising:
the building module is used for building the feature vector corresponding to the dynamic load;
the acquisition module is used for acquiring the electric energy data based on the characteristic vector, wherein the electric energy data comprises a probability density value of a current amplitude value and a metering parameter;
And the calculation module is used for calculating the electric energy error value of the metering device according to the probability density value and the metering parameter.
A third aspect of the embodiments of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing a dynamic load based power error metering method as described above when executing the computer program.
A fourth aspect of the embodiments of the present application provides a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of a dynamic load based power error metering method as described above.
A fifth aspect of the embodiments of the present application provides a computer program product, which when run on a terminal device, causes the terminal device to perform a dynamic load based power error metering method provided in the first aspect of the embodiments of the present application.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: firstly establishing a feature vector corresponding to the dynamic load, then acquiring the electric energy data based on the feature vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter, and finally calculating an electric energy error value of the metering device according to the probability density value and the metering parameter. And finally, calculating the probability density value and the metering parameter according to a preconfigured operation rule to obtain an electric energy error value of the metering device, thereby solving the technical problems of larger error and the like caused by the fact that the traditional metering device does not calculate the electric energy error of the dynamic load.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings used in the description of the embodiments or the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that 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 a first implementation process of a dynamic load-based power error metering method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a second implementation process of a dynamic load-based power error metering method according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of an electric energy error metering device based on dynamic load according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
It is also to be understood that the terminology used in the description of the application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be understood that the order of writing the steps in this embodiment does not mean that the order of execution of the steps should be determined by the functions and internal logic of the steps, and should not be construed as limiting the implementation of the embodiments of the present application.
Reference in the specification to "one embodiment" or "some embodiments" or the like means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In order to explain the technical scheme of the application, the following description is given by a specific embodiment.
Referring to fig. 1, a flowchart of a first implementation procedure of a dynamic load-based power error metering method according to an embodiment of the present application is provided, and for convenience of explanation, only a portion related to the embodiment of the present application is shown.
The preferred embodiment of the present application may be that the method for measuring an electric energy error based on a dynamic load is applied to a measuring device, and the method includes:
And S101, establishing a feature vector corresponding to the dynamic load.
In this embodiment, the dynamic load refers to a dynamic relationship between load power and load terminal voltage and/or frequency, and is generally described by differential equations. The feature vector corresponding to the dynamic load is constructed by constructing the feature vector of the dynamic load according to a pre-configured model relation. And the characteristic vector corresponding to the dynamic load is used for providing parameters for the metering error of the dynamic load subsequently so as to calculate the error of the metering device.
The dynamic load current signal is input to the metering device in the form of a discrete electric energy sequence, three kinds of periodic changes including transient state generation, short time generation and long time generation can be controlled by using power electronic devices such as a silicon controlled rectifier, dynamic load electric energy is input to the electric energy meter to be tested in the form of the discrete electric energy sequence, the dynamic load metering calibration error of the electric energy meter to be tested is calculated by collecting output pulses of the standard electric energy meter and the electric energy meter to be tested, and the dynamic load metering test tracing of the electric energy to be tested can be realized.
In some possible embodiments, before the establishing the feature vector corresponding to the dynamic load, the method further includes:
And acquiring the dynamic load in advance.
The method for acquiring the dynamic load may be that the dynamic load is acquired in real time according to a preset acquisition rule in the metering device. The dynamic load may be present in the form of a sequence of discrete electrical energy.
In some other possible embodiments, before the establishing the feature vector corresponding to the dynamic load, the method further includes:
And acquiring the dynamic load in advance.
S102: and acquiring the electric energy data based on the characteristic vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter.
In this embodiment, the electrical energy data refers to an electrical energy parameter based on the dynamic load, where the electrical energy parameter is used to calculate the electrical energy error value, and the electrical energy data is obtained from a feature vector corresponding to the dynamic load, where the electrical energy data includes a probability density value of a current amplitude and a metering parameter. The probability density value of the current replica means that the probability density function of the continuous random variable is a function describing the probability of the output value of the random variable being near a certain value point. The probability that the value of the random variable falls within a certain region is the integral of the probability density function over that region. When a probability density function is present, the cumulative distribution function is the integral of the probability density function. Probability density functions are generally marked in lowercase.
In some possible implementations, after the feature vector is obtained by the metering device, the feature vector is obtained by analyzing according to a preset rule, so as to obtain electric energy data corresponding to the feature vector, where the electric energy data may be a data set defined by a user according to requirements. The electrical energy data includes a probability density value and a metering parameter of the current magnitude. The metering parameter is a calculation parameter for calculating the electric energy error value at a later stage. The setting of the metering parameters can ensure the accuracy of calculation of the metering errors to a certain extent so as to ensure the accuracy of subsequent correction of the metering devices.
In some possible embodiments, the obtaining the electrical energy data based on the feature vector, where the electrical energy data includes a probability density value of a current amplitude and a metering parameter, specifically includes:
S201: and carrying out binarization processing on the characteristic vector to obtain a binary run sequence of the current amplitude.
The binary sequence has pseudo-randomness, for example, an infinite sequence of GF (2): a i belongs to the GF (2) set and is called binary sequence. In addition, the period may be: for binary sequence a, if there is a positive integer/such that there is a k=ak +l for all positive integers k, then a is periodic. The smallest positive integer satisfying the above condition is called binary sequence a, and its period is P (a). The nature of the cycle is predetermined by a radio sequence/>, over GF (2) Is a binary sequence with period P (a), and if positive integer 1 has a k=ak +l for any non-negative integer k, then P (a) must be l. Meanwhile, the definition of the run may be that a is a periodic sequence with period P (a) over GF (2). A period of a (a 1,a2…,ap(a)) is sequentially arranged on a circumference to connect a p(a) with a 1, and the circumference is shaped as/>Or/>Two adjacent items of the series of (a) are respectively called a period of a1 run or a 0 run. And the number of 1's or 0's in 1 run is called the run length. As an example of a run, a binary run with period 15: 10010011010111, 011110 is 4 runs of 1, 10001 is 3 runs of 0.
S202: and obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence.
The probability density value of the current amplitude refers to a probability density value represented in a binary run sequence corresponding to the current amplitude. The probability density value is firstly described by a discrete random variable and a continuous random variable, and if the values of the random variables can be listed one by one, the values are the discrete random variables. If the values of the random variables X cannot be listed one by one, the random variables X are continuous variables. Further explained, discrete random variables refer to discrete variables whose values can only be calculated in natural numbers or integer units. For example, the number of enterprises, the number of workers, the number of equipment, etc. can be counted only by the number of measuring units, and the value of the variable is generally obtained by a counting method. On the contrary, the variable which can be arbitrarily valued in a certain interval is called a continuous variable, the values of the variable are continuous, and two adjacent values can be infinitely divided, namely, infinite values can be taken. For example, the size of the manufactured parts, the height, weight, chest circumference, etc. measured by the human body are continuous variables, and the values can only be obtained by measuring or metering methods.
The probability function is a function form to express probability. pi=p (x=ai) (i=1, 2,3,4,5, 6). In this function, the argument (X) is the value of a random variable, and the argument (pi) is the probability density value. It represents the probability of each value, so it is called the probability function of X in a fair form. From the equation, the probability function can only represent the probability of one value at a time. For example, P (x=1) =1/6, which is represented by a probability function, where when the probability of the random variable taking the value of 1 is 1/6, the probability density function at a point is the rate (or derivative) of change of the probability at that point, which can only represent the value of one random variable at a time.
In some possible embodiments, the obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence specifically includes:
screening the number of binary run sequences meeting preset run conditions to obtain the number of runs;
And calculating the probability density value and the metering parameter of the current amplitude according to the run number.
In this embodiment, the metering device screens the binary run sequence according to a preset run condition to obtain the number of binary run sequences that meet the condition, i.e. the number of runs. It should be noted that the processing procedure may be: and processing the binary run program sequence to obtain the number of positive runs and negative runs, obtaining the run lengths of the positive runs and the negative runs according to a preset rule, and counting the number of the runs meeting the preset run lengths to obtain the number of the runs. And after the run Cheng Shuliang is obtained, calculating a probability density value and a metering parameter of the current amplitude according to the run number.
In some possible embodiments, the calculating the current magnitude and the metering parameter specifically includes:
Inputting the run number into a pre-configured probability density function, and calculating the probability density value and the metering parameter of the current amplitude.
In this embodiment, the metering device is preconfigured with the probability density function, and the number of runs may be input as a variable to the probability density function to calculate a probability density value and a metering parameter of the current amplitude. The probability density function of the dynamic load current amplitude runlength is used for describing the probability that the current dynamic term amplitude runlength is near a certain value-determining point, and the autocorrelation function represents the random fluctuation speed of the runlength of the dynamic load current amplitude.
S103: and calculating the electric energy error value of the metering device according to the probability density value and the metering parameter.
In this embodiment, after the probability density value and the metering parameter are obtained, the metering device calculates the electric energy error value of the metering device according to a preset calculation rule.
In some other possible embodiments, the calculating the electric energy error value of the metering device according to the probability density value and the metering parameter specifically includes:
and carrying out random characteristic analysis on the probability density value and the metering parameter, and calculating the electric energy error value of the metering device.
The measurement parameters may be expected values and variances of the dynamic load current amplitude runlength, the probability density values and the measurement parameters are subjected to random characteristic analysis, namely, according to the expected values and variances, probability density functions and autocorrelation functions of the dynamic load current amplitude runlength are utilized to calculate probability density values and autocorrelation function values of the dynamic load current amplitude runlength, and finally, the electric energy error value is calculated according to the probability density values and the autocorrelation function values.
In some other possible embodiments, after calculating the power error value of the metering device according to the probability density value and the metering parameter, the method further includes:
And correcting the metering device according to the electric energy error value.
Compared with the prior art, the embodiment of the invention has the beneficial effects that: firstly establishing a feature vector corresponding to the dynamic load, then acquiring the electric energy data based on the feature vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter, and finally calculating an electric energy error value of the metering device according to the probability density value and the metering parameter. And finally, calculating the probability density value and the metering parameter according to a preconfigured operation rule to obtain an electric energy error value of the metering device, thereby solving the technical problems of larger error and the like caused by the fact that the traditional metering device does not calculate the electric energy error of the dynamic load.
Fig. 3 is a block diagram of a dynamic load-based power error measurement device according to a first embodiment of the present application, and only the portions related to the embodiments of the present application are shown for convenience of explanation.
Referring to fig. 3, an electrical energy error metering device 300 based on dynamic loads, the device comprising:
The establishing module 301 is configured to establish a feature vector corresponding to the dynamic load;
An obtaining module 302, configured to obtain the electrical energy data based on the feature vector, where the electrical energy data includes a probability density value of a current amplitude and a metering parameter;
And the calculating module 303 is configured to calculate an electrical energy error value of the metering device according to the probability density value and the metering parameter.
Optionally, the obtaining module 302 further includes:
The first acquisition unit is used for carrying out binarization processing on the characteristic vector to acquire a binary run sequence of the current amplitude;
And the second acquisition unit is used for acquiring the probability density value and the metering parameter of the current amplitude according to the binary run sequence.
Optionally, the second obtaining unit specifically includes:
screening the number of binary run sequences meeting preset run conditions to obtain the number of runs;
And calculating the probability density value and the metering parameter of the current amplitude according to the run number.
Optionally, the calculating the current amplitude and the metering parameter according to the run number specifically includes:
Inputting the run number into a pre-configured probability density function, and calculating the probability density value and the metering parameter of the current amplitude.
Optionally, the computing module 303 is specifically configured to:
and carrying out random characteristic analysis on the probability density value and the metering parameter, and calculating the electric energy error value of the metering device.
Optionally, the apparatus 300 further includes:
And the correction module is used for correcting the metering device according to the electric energy error value.
Optionally, the apparatus 300 further includes:
and the second acquisition module is used for acquiring the dynamic load in advance.
It should be noted that, because the content of information interaction and execution process between the above devices/modules is based on the same concept as the embodiment of the electric energy error measurement method based on dynamic load of the present application, specific functions and technical effects thereof may be found in the embodiment of the electric energy error measurement method based on dynamic load, which is not described herein again.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of each functional module is illustrated, and in practical application, the above-mentioned functional allocation may be implemented by different functional modules according to needs, that is, the internal structure of the dynamic load-based electric energy error metering method is divided into different functional modules, so as to implement all or part of the above-mentioned functions. The functional modules in the embodiments 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, where the integrated units may be implemented in a form of hardware or a form of a software functional unit. In addition, the specific names of the functional modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of each functional module may refer to the corresponding process in the embodiment of the dynamic load-based electric energy error measurement method, which is not described herein.
Fig. 4 is a schematic structural diagram of an electronic device 400 according to a third embodiment of the present application. As shown in fig. 4, the electronic device 400 includes: a processor 402, a memory 401 and a computer program 403 stored in the memory 401 and executable on the processor 402. The number of processors 402 is at least one, one for example in fig. 4. The processor 402 implements the steps of implementing the dynamic load-based power error metering method described above, i.e., the steps shown in fig. 1 or fig. 2, when executing the computer program 403.
The specific implementation of the electronic device 400 may be found in the dynamic load based power error metering method embodiments above.
By way of example, computer program 403 may be partitioned into one or more modules/units that are stored in memory 401 and executed by processor 402 to complete the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing the specific functions describing the execution of the computer program 403 in the terminal device 400.
The electronic device 400 may be a computing device such as a desktop computer, a notebook computer, a palm computer, a main control device, a device with an image acquisition function and a data processing function such as a camera and a mobile phone, or a touch display device. Electronic device 400 may include, but is not limited to, a processor and memory. It will be appreciated by those skilled in the art that fig. 4 is merely an example of an electronic device 400 and is not intended to limit the electronic device 400, and may include more or fewer components than shown, or may combine certain components, or different components, e.g., the electronic device 400 may further include an input-output device, a network access device, a bus, etc.
The processor 402 may be a CPU (Central Processing Unit ), but may also be other general purpose processors, DSP (DIGITAL SIGNAL processor), ASIC (application SPECIFIC INTEGRATED circuit), FPGA (field-programmable GATE ARRAY) or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 401 may be an internal storage unit of the electronic device 400, such as a hard disk or a memory. The memory 401 may also be an external storage device of the terminal device 400, such as a plug-in hard disk, SMC (SMART MEDIA CARD, smart memory card), SD card (Secure Digital card), FLASH CARD (flash memory card) or the like provided on the electronic device 400. Further, the memory 401 may also include both internal storage units and external storage devices of the electronic device 400. The memory 401 is used to store an operating system, application programs, boot loader programs, data, and other programs, etc., such as program code of the computer program 403. The memory 401 may also be used to temporarily store data that has been output or is to be output.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements the steps of an embodiment of a dynamic load based power error metering method as described above.
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 storage medium. Based on such understanding, the present application implements all or part of the above-described process of automatically implementing an embodiment of a dynamic load-based power error metering method, and may be implemented by instructing the relevant hardware by a computer program, where the computer program may be stored in a computer readable storage medium, and the computer program may implement the steps of an embodiment of a dynamic load-based power error metering method when executed by a processor. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal device, recording medium, computer memory, ROM (read-only memory), RAM (Random Access Memory ), electrical carrier signals, telecommunications signals, and software distribution media. Such as a U-disk, removable hard disk, magnetic or optical disk, etc. In some jurisdictions, computer readable media may not be electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other manners. For example, the apparatus/terminal device embodiments described above are merely illustrative, e.g., the division of the modules or units is merely a logical function division, and there may be additional divisions in actual implementation, e.g., 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 may be an indirect coupling or communication connection via interfaces, devices or units, which may be in electrical, mechanical or other forms.
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.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.

Claims (7)

1. A dynamic load-based electric energy error metering method, applied to a metering device, characterized in that the method comprises the following steps:
Establishing a feature vector corresponding to the dynamic load;
Before the feature vector corresponding to the dynamic load is established, the method further comprises: the dynamic load is obtained in advance; the dynamic load acquiring mode is that the dynamic load is acquired in real time according to a preset acquiring rule in a metering device;
The dynamic load refers to the dynamic relationship between load power and load terminal voltage and/or frequency; the feature vector corresponding to the dynamic load is constructed by constructing the feature vector of the dynamic load according to a pre-configured model relation; the feature vector corresponding to the dynamic load is used for providing parameters for the metering error of the dynamic load subsequently so as to calculate the error of the metering device;
The current signal of the dynamic load is input to a metering device in a discrete electric energy sequence form, three types of periodic changes including transient state, short time and long time are realized by utilizing a silicon controlled rectifier, the dynamic load electric energy is input to a tested electric energy meter in a discrete electric energy sequence form, the dynamic load metering calibration error of the tested electric energy meter is calculated by collecting output pulses of a standard electric energy meter and the tested electric energy meter, and the dynamic load metering test tracing of the tested electric energy is realized;
acquiring electric energy data based on the feature vector, wherein the electric energy data comprises a probability density value of a current amplitude and a metering parameter;
The electric energy data is an electric energy parameter based on the dynamic load and used for calculating an electric energy error value, and the electric energy data is obtained from a characteristic vector corresponding to the dynamic load;
the obtaining the electric energy data based on the feature vector, wherein the electric energy data comprises probability density values and metering parameters of current amplitude values, and the method specifically comprises the following steps:
Performing binarization processing on the characteristic vector to obtain a binary run sequence of the current amplitude;
According to the binary run sequence, obtaining a probability density value and a metering parameter of the current amplitude;
The obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence specifically comprises the following steps:
screening the number of binary run sequences meeting preset run conditions to obtain the number of runs;
according to the number of the runlengths, calculating a probability density value and a metering parameter of the current amplitude;
The metering device screens the binary run program sequence according to preset run conditions to obtain the number of binary run sequences meeting the conditions;
Calculating the electric energy error value of the metering device according to the probability density value and the metering parameter;
After the probability density value and the metering parameter are obtained by the metering device, calculating the electric energy error value of the metering device according to a preset calculation rule;
after calculating the electric energy error value of the metering device according to the probability density value and the metering parameter, the method further comprises the following steps: and correcting the metering device according to the electric energy error value.
2. The method according to claim 1, wherein calculating the current amplitude and the metering parameter according to the number of runs comprises:
Inputting the run number into a pre-configured probability density function, and calculating the probability density value and the metering parameter of the current amplitude.
3. The method according to claim 1, wherein calculating the power error value of the metering device according to the probability density value and the metering parameter comprises:
and carrying out random characteristic analysis on the probability density value and the metering parameter, and calculating the electric energy error value of the metering device.
4. A method according to any one of claims 1-3, wherein prior to said establishing said feature vector for said dynamic load, said method further comprises:
And acquiring the dynamic load in advance.
5. An electrical energy error metering device based on dynamic load, the device comprising:
the building module is used for building the feature vector corresponding to the dynamic load;
Before the feature vector corresponding to the dynamic load is established, the method further comprises the following steps: the dynamic load is obtained in advance; the dynamic load acquiring mode is that the dynamic load is acquired in real time according to a preset acquiring rule in a metering device;
The dynamic load refers to the dynamic relationship between load power and load terminal voltage and/or frequency; the feature vector corresponding to the dynamic load is constructed by constructing the feature vector of the dynamic load according to a pre-configured model relation; the feature vector corresponding to the dynamic load is used for providing parameters for the metering error of the dynamic load subsequently so as to calculate the error of the metering device;
The current signal of the dynamic load is input to a metering device in a discrete electric energy sequence form, three types of periodic changes including transient state, short time and long time are realized by utilizing a silicon controlled rectifier, the dynamic load electric energy is input to a tested electric energy meter in a discrete electric energy sequence form, the dynamic load metering calibration error of the tested electric energy meter is calculated by collecting output pulses of a standard electric energy meter and the tested electric energy meter, and the dynamic load metering test tracing of the tested electric energy is realized;
The acquisition module is used for acquiring electric energy data based on the characteristic vector, wherein the electric energy data comprises a probability density value of a current amplitude value and a metering parameter;
The electric energy data is an electric energy parameter based on the dynamic load and used for calculating an electric energy error value, and the electric energy data is obtained from a characteristic vector corresponding to the dynamic load;
the obtaining the electric energy data based on the feature vector, wherein the electric energy data comprises probability density values and metering parameters of current amplitude values, and the method specifically comprises the following steps:
Performing binarization processing on the characteristic vector to obtain a binary run sequence of the current amplitude;
According to the binary run sequence, obtaining a probability density value and a metering parameter of the current amplitude;
The obtaining the probability density value and the metering parameter of the current amplitude according to the binary run sequence specifically comprises the following steps:
screening the number of binary run sequences meeting preset run conditions to obtain the number of runs;
according to the number of the runlengths, calculating a probability density value and a metering parameter of the current amplitude;
The metering device screens the binary run program sequence according to preset run conditions to obtain the number of binary run sequences meeting the conditions;
The calculation module is used for calculating the electric energy error value of the metering device according to the probability density value and the metering parameter;
After the probability density value and the metering parameter are obtained by the metering device, calculating the electric energy error value of the metering device according to a preset calculation rule;
After calculating the electric energy error value of the metering device according to the probability density value and the metering parameter, the method further comprises the following steps: and correcting the metering device according to the electric energy error value.
6. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, implements a dynamic load based power error metering method according to any of claims 1-4.
7. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a dynamic load based power error metering method as claimed in any one of claims 1 to 4 when the computer program is executed.
CN202110784861.3A 2021-07-12 2021-07-12 Dynamic load-based electric energy error metering method and device and electronic equipment Active CN113609648B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110784861.3A CN113609648B (en) 2021-07-12 2021-07-12 Dynamic load-based electric energy error metering method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110784861.3A CN113609648B (en) 2021-07-12 2021-07-12 Dynamic load-based electric energy error metering method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN113609648A CN113609648A (en) 2021-11-05
CN113609648B true CN113609648B (en) 2024-04-19

Family

ID=78337474

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110784861.3A Active CN113609648B (en) 2021-07-12 2021-07-12 Dynamic load-based electric energy error metering method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN113609648B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103091659A (en) * 2013-01-22 2013-05-08 黑龙江省电力科学研究院 Electric energy meter dynamic measurement cycle power sequence proportional allocation calibration method
CN106501755A (en) * 2016-10-18 2017-03-15 国网山东省电力公司烟台供电公司 A kind of intelligent electric energy meter dynamic error measuring method based on dynamic load model
CN109085530A (en) * 2018-09-26 2018-12-25 云南电网有限责任公司电力科学研究院 A kind of dynamic load signal analysis method based on Run length property

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103091659A (en) * 2013-01-22 2013-05-08 黑龙江省电力科学研究院 Electric energy meter dynamic measurement cycle power sequence proportional allocation calibration method
CN106501755A (en) * 2016-10-18 2017-03-15 国网山东省电力公司烟台供电公司 A kind of intelligent electric energy meter dynamic error measuring method based on dynamic load model
CN109085530A (en) * 2018-09-26 2018-12-25 云南电网有限责任公司电力科学研究院 A kind of dynamic load signal analysis method based on Run length property

Also Published As

Publication number Publication date
CN113609648A (en) 2021-11-05

Similar Documents

Publication Publication Date Title
CN110470995B (en) Method and system for acquiring remaining discharge time of battery and terminal equipment
CN112086203A (en) Epidemic situation prediction method and device and terminal equipment
CN110196404B (en) Charging pile metering chip calibration method and device and terminal equipment
CN112305485B (en) Method and device for correcting harmonic voltage measurement error of capacitor voltage transformer
CN111256802A (en) Calibration method of weighing device and weighing device
CN113516275A (en) Power distribution network ultra-short term load prediction method and device and terminal equipment
CN108594117B (en) Method and device for determining battery capacity, terminal equipment and computer storage medium
CN104483619A (en) Frequency characteristic testing system based on virtual instrument
CN113609648B (en) Dynamic load-based electric energy error metering method and device and electronic equipment
CN116559929B (en) Super-computing platform-based radiation detector characterization method and device
WO2021237459A1 (en) Industrial object model-based data processing method, apparatus and device
CN107918704A (en) Charge amplifier Storage Life Prediction method, apparatus, storage medium and computer equipment
CN108830663B (en) Electric power customer value evaluation method and system and terminal equipment
CN116467564A (en) Method for calculating electric quantity of meter bottom, terminal equipment and computer readable storage medium
CN115166620A (en) Method and device for evaluating metering accuracy consistency of single-phase intelligent Internet of things electric energy meter
CN115796338A (en) Photovoltaic power generation power prediction model construction and photovoltaic power generation power prediction method
CN111597096B (en) Benchmark test method, system and terminal equipment
CN114519267A (en) Data updating method of underground cable model
CN111124776B (en) CPU power supply transient test method, system, terminal and storage medium
CN113376564A (en) Smart electric meter metering correction method and device based on data analysis and terminal
CN109698696A (en) Clock division method, apparatus, system, system on chip and storage medium
RU2771593C1 (en) Probabilistic apparatus for calculating the average total power
CN115796472B (en) Energy metering processing method and device, electronic equipment and readable storage medium
CN113447881B (en) Measuring method and device of intelligent electric energy meter and terminal equipment
CN114239364B (en) Cable-stayed bridge damage identification method and device based on improved wavelet packet energy curvature

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