CN112213557A - Direct-current metering method for electric energy meter - Google Patents

Direct-current metering method for electric energy meter Download PDF

Info

Publication number
CN112213557A
CN112213557A CN201911326889.1A CN201911326889A CN112213557A CN 112213557 A CN112213557 A CN 112213557A CN 201911326889 A CN201911326889 A CN 201911326889A CN 112213557 A CN112213557 A CN 112213557A
Authority
CN
China
Prior art keywords
counter
factor
current
calculation
sum
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.)
Withdrawn
Application number
CN201911326889.1A
Other languages
Chinese (zh)
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.)
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Topscomm Communication 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 Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Topscomm Communication Co Ltd
Priority to CN201911326889.1A priority Critical patent/CN112213557A/en
Publication of CN112213557A publication Critical patent/CN112213557A/en
Withdrawn legal-status Critical Current

Links

Images

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
    • G01R22/10Arrangements for measuring time integral of electric power or current, e.g. electricity meters by electronic methods using digital techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention relates to a direct current metering method of an electric energy meter, which comprises the following steps: s1, initializing variables required by operation; s2, acquiring voltage and current sampling value data (U, I) of a sampling time point; s3, performing low-pass filtering on the (U, I) respectively; s4, eliminating direct current bias on the (U, I); s5, performing accumulation calculation; and S6, judging the accumulation times, if the COUNTER > is COUNTER _ TH (wherein the COUNTER _ TH is a preset accumulation time threshold value), calculating voltage, current and power values, and otherwise, skipping to the step S2 to continue execution. The calculation formula of the voltage, the current and the power value is as follows: v mean V sum counter V factor; i _ mean/counter I _ factor; p _ sum/counter P _ factor. Wherein, V _ mean is the voltage value of the calculation output, I _ mean is the current value of the calculation output, P is the power value of the calculation output, and V _ factor, I _ factor and P _ factor can be obtained by a calibration method. The method is characterized in that the method is carried out in real time along with sampling, and has the characteristic of saving calculation time.

Description

Direct-current metering method for electric energy meter
Technical Field
The invention relates to the field of intelligent electric energy meters and electric energy metering, in particular to a direct current electric energy metering method.
Background
At present, solar power generation, electric vehicles and the like are more and more widely applied, and in a solar power station, the power generation output of a photovoltaic cell group is direct current; when charging an electric vehicle, dc power supply is often used, and therefore, in these cases of power supply and charging, it is necessary to measure the amount of output electric energy using a dc electric energy meter.
The existing direct current electric energy meter is mostly realized in a mode that a voltage and current sampling circuit converts input high voltage and large current into small signals and then inputs the small signals into a voltage and current sampling channel of an electric energy metering chip. The metering chip internally comprises a programmable operational amplifier PGA, an A/D converter, a digital multiplier, a digital low-pass filter, a digital high-pass filter, a digital integrator, a frequency converter, a communication interface and other functional modules. The special metering chip is responsible for realizing the metering function, and other functions of the electric meter are realized by another MCU chip, so that the mode has higher cost and larger occupied area.
The chip technology is rapidly developed at present, functions such as digital filtering, integration and the like which are realized by special hardware in the past can be realized on a general MCU through software, and if the MCU has a relatively accurate ADC or is matched with a proper ADC, the direct current metering function can be realized at a relatively low hardware cost.
Disclosure of Invention
The invention aims to provide a direct current electric energy metering method which is suitable for a digital electric energy meter and has the advantages of simple and convenient realization, small calculation amount and accurate metering. The device is characterized by being capable of operating on a direct current electric energy metering device, and the direct current electric energy metering device is provided with: the device comprises a voltage sampling circuit, a current sampling circuit and a data acquisition module data calculation module. The data acquisition module can be an analog-to-digital conversion circuit, the data calculation module can be a microprocessor chip, and the data acquisition module and the data calculation module can also be processor chips integrating the functions of the data acquisition module and the data calculation module.
The invention comprises the following steps:
s1, a variable V _ sum which is required by initialization operation is 0, I _ sum is 0, P _ sum is 0, and Counter is 0;
s2, acquiring voltage and current sampling value data (U, I) of a sampling time point;
s3, performing low-pass filtering on the (U, I) respectively;
s4, eliminating direct current bias on the (U, I);
s5, performing accumulation calculation;
and S6, judging the accumulation times, if the COUNTER > is COUNTER _ TH (wherein the COUNTER _ TH is a preset accumulation time threshold value), calculating voltage, current and power values, and otherwise, skipping to the step S2 to continue execution.
S7, calculating voltage, current and power values:
V_mean=V_sum/counter*V_factor;
I_mean=I_sum/counter*I_factor;
P=P_sum/counter*P_factor。
wherein, V _ mean is the voltage value of the calculation output, I _ mean is the current value of the calculation output, P is the power value of the calculation output, and V _ factor, I _ factor and P _ factor can be obtained by a calibration method.
The method is characterized in that the method is a mode of comparing a large number of sampling points obtained at one time and then uniformly calculating along with the real-time sampling, and has the characteristics of fully utilizing time and saving calculation time.
The low-pass filtering method in the step 3 is characterized in that the digital low-pass filter can be realized by adopting IIR, FIR and other modes, and the amplitude-frequency characteristic can be determined according to the parameter requirements of the direct current electric energy metering device.
Drawings
FIG. 1 is a schematic view of the operation platform of the present invention.
FIG. 2 is a flow chart of the method of the present invention.
Detailed Description
The present invention will be described in detail below with reference to specific examples and the accompanying drawings.
As shown in fig. 1, a schematic diagram of an operation platform of the present invention is shown, where the operation platform is a dc power metering device, and the dc power metering device should include: the device comprises a voltage sampling circuit, a current sampling circuit and a data acquisition module data calculation module. The data acquisition module can be realized by an analog-to-digital conversion chip, and typical parameters are as follows: the data calculation module can be a microprocessor chip, and typical parameters are 32Mhz main frequency, 32k RAM and 256k ROM. The voltage sampling circuit is a resistance voltage division circuit, and the current sampling circuit is not a manganin sampling circuit.
The sampling rate of the system is 5000Hz, each sampling interval is 200us, the algorithm is deployed in the interrupt triggered by the successful acquisition of the sampling numerical value, and data calculation is carried out in real time along with the sampling.
As shown in fig. 2, for the execution of the algorithm deployed in the interrupt:
s1, a variable V _ sum which is required by initialization operation is 0, I _ sum is 0, P _ sum is 0, and Counter is 0;
s2, acquiring voltage and current sampling value data (U, I) of a sampling time point;
s3, performing low-pass filtering on the (U, I) respectively;
s4, eliminating direct current bias on the (U, I);
s5, performing accumulation calculation;
and S6, judging the accumulation times, if the COUNTER > is COUNTER _ TH (wherein the COUNTER _ TH is a preset accumulation time threshold value, a typical value of the COUNTER _ TH can be adjusted according to the sampling rate, 5000 is adopted in the specific implementation), calculating voltage, current and power values, and otherwise, skipping to the step S2 to continue execution.
S7, calculating voltage, current and power values:
V_mean=V_sum/counter*V_factor;
I_mean=I_sum/counter*I_factor;
P=P_sum/counter*P_factor。
wherein, V _ mean is the voltage value of the calculation output, I _ mean is the current value of the calculation output, P is the power value of the calculation output, and V _ factor, I _ factor and P _ factor can be obtained by a calibration method.
The direct current meter adopting the algorithm has stronger anti-interference capability and higher precision after calibration, and the error can meet the requirement of 0.5S.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes performed by the present specification and drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (4)

1. A direct current metering method of an electric energy meter is characterized by being capable of operating on a direct current electric energy metering device, wherein the direct current electric energy metering device is provided with: the device comprises a voltage sampling circuit, a current sampling circuit and a data acquisition module data calculation module. The data acquisition module can be an analog-to-digital conversion circuit, the data calculation module can be a microprocessor chip, and the data acquisition module and the data calculation module can also be processor chips integrating the functions of the data acquisition module and the data calculation module.
2. The direct current metering method of the electric energy meter according to claim 1, characterized by comprising the following steps:
s1, a variable V _ sum which is required by initialization operation is 0, I _ sum is 0, P _ sum is 0, and Counter is 0;
s2, acquiring voltage and current sampling value data (U, I) of a sampling time point;
s3, performing low-pass filtering on the (U, I) respectively;
s4, eliminating direct current bias on the (U, I);
s5, performing accumulation calculation;
and S6, judging the accumulation times, if the COUNTER > is COUNTER _ TH (wherein the COUNTER _ TH is a preset accumulation time threshold value), calculating voltage, current and power values, and otherwise, skipping to the step S2 to continue execution.
S7, calculating voltage, current and power values:
V_mean=V_sum/counter*V_factor;
I_mean=I_sum/counter*I_factor;
P=P_sum/counter*P_factor。
wherein, V _ mean is the voltage value of the calculation output, I _ mean is the current value of the calculation output, P is the power value of the calculation output, and V _ factor, I _ factor and P _ factor can be obtained by a calibration method.
3. The direct current metering method of the electric energy meter, as claimed in claim 2, is characterized in that the method is a method of comparing a large number of sampling points obtained at one time and then uniformly calculating along with the sampling in real time, and has the characteristics of fully utilizing time and saving calculation time.
4. The low-pass filtering method in the step 3 as claimed in claim 2, wherein the digital low-pass filter can be implemented in IIR, FIR, etc., and the amplitude-frequency characteristic can be determined according to the parameter requirement of the dc power metering device.
CN201911326889.1A 2019-12-20 2019-12-20 Direct-current metering method for electric energy meter Withdrawn CN112213557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911326889.1A CN112213557A (en) 2019-12-20 2019-12-20 Direct-current metering method for electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911326889.1A CN112213557A (en) 2019-12-20 2019-12-20 Direct-current metering method for electric energy meter

Publications (1)

Publication Number Publication Date
CN112213557A true CN112213557A (en) 2021-01-12

Family

ID=74048236

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911326889.1A Withdrawn CN112213557A (en) 2019-12-20 2019-12-20 Direct-current metering method for electric energy meter

Country Status (1)

Country Link
CN (1) CN112213557A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113777400A (en) * 2021-11-11 2021-12-10 青岛鼎信通讯股份有限公司 Software frequency conversion sampling metering method for standard electric energy meter
CN116760475A (en) * 2023-08-18 2023-09-15 青岛鼎信通讯股份有限公司 Infrared signal communication circuit and method of intelligent electric energy meter

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101487859A (en) * 2008-01-15 2009-07-22 湖北盛佳电器设备有限公司 High-voltage direct measurement apparatus
CN106154032A (en) * 2016-07-25 2016-11-23 嘉兴清源电气科技有限公司 A kind of Bidirectional intelligent ammeter electric energy gauging method based on power factor
CN106568460A (en) * 2016-10-14 2017-04-19 北京小鸟看看科技有限公司 Method for correcting gyroscope data and device thereof
CN106569447A (en) * 2016-11-14 2017-04-19 江苏林洋能源股份有限公司 Electric energy meter having AC/DC adaptive electric energy measurement function and electric energy measurement method
CN107300640A (en) * 2016-04-14 2017-10-27 上海贝岭股份有限公司 Electric power meter
CN107918051A (en) * 2017-10-30 2018-04-17 北方智能装备有限公司 A kind of time-sharing multiplex High-accuracy direct current electric energy meter
CN108169552A (en) * 2018-01-02 2018-06-15 华立科技股份有限公司 Direct current energy meter and direct current energy metering device based on tunnel type magneto-resistor
CN110244116A (en) * 2018-03-19 2019-09-17 深圳市航智精密电子有限公司 The metering circuit of direct current instantaneous power and its plesiochronous calculation method

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101487859A (en) * 2008-01-15 2009-07-22 湖北盛佳电器设备有限公司 High-voltage direct measurement apparatus
CN107300640A (en) * 2016-04-14 2017-10-27 上海贝岭股份有限公司 Electric power meter
CN106154032A (en) * 2016-07-25 2016-11-23 嘉兴清源电气科技有限公司 A kind of Bidirectional intelligent ammeter electric energy gauging method based on power factor
CN106568460A (en) * 2016-10-14 2017-04-19 北京小鸟看看科技有限公司 Method for correcting gyroscope data and device thereof
CN106569447A (en) * 2016-11-14 2017-04-19 江苏林洋能源股份有限公司 Electric energy meter having AC/DC adaptive electric energy measurement function and electric energy measurement method
CN107918051A (en) * 2017-10-30 2018-04-17 北方智能装备有限公司 A kind of time-sharing multiplex High-accuracy direct current electric energy meter
CN108169552A (en) * 2018-01-02 2018-06-15 华立科技股份有限公司 Direct current energy meter and direct current energy metering device based on tunnel type magneto-resistor
CN110244116A (en) * 2018-03-19 2019-09-17 深圳市航智精密电子有限公司 The metering circuit of direct current instantaneous power and its plesiochronous calculation method

Non-Patent Citations (6)

* Cited by examiner, † Cited by third party
Title
"直流大电流显示计", 《电测与仪表》 *
任子真等: "基于GPRS的智能电表的设计", 《微计算机信息》 *
周璐等: "基于CSE7780的车载直流智能电表系统设计", 《电子器件》 *
彭宇等: "基于R5F2L38A的电动汽车直流电能表设计", 《电子技术应用》 *
李恺等: "充电桩直流计量模块现场检测装置及其溯源", 《电子测量技术》 *
李海国等: "变频器输出有功功率测量方法研究", 《电机与控制应用》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113777400A (en) * 2021-11-11 2021-12-10 青岛鼎信通讯股份有限公司 Software frequency conversion sampling metering method for standard electric energy meter
CN116760475A (en) * 2023-08-18 2023-09-15 青岛鼎信通讯股份有限公司 Infrared signal communication circuit and method of intelligent electric energy meter
CN116760475B (en) * 2023-08-18 2023-12-08 青岛鼎信通讯股份有限公司 Infrared signal communication circuit and method of intelligent electric energy meter

Similar Documents

Publication Publication Date Title
CN202196119U (en) Single-phase multifunctional electric energy metering circuit
CN112213557A (en) Direct-current metering method for electric energy meter
CN110907700B (en) Direct-current electric energy meter for direct-current distribution network and metering method
CN106569447A (en) Electric energy meter having AC/DC adaptive electric energy measurement function and electric energy measurement method
CN104569902A (en) Digital type electric energy meter power consumption measuring device and method
CN101546963A (en) Digital monocyclic control method of PFC converter
CN106841773A (en) Recognize the method and system of bad load
CN112098712A (en) Electricity larceny prevention method
CN107153138A (en) Duty detection circuit and dutycycle detection method
CN110601571A (en) Control method of DC-DC converter
CN110554328B (en) HHT-based storage battery internal resistance measurement method and system
CN105044440A (en) Fuel cell monolithic voltage inspection system based on LTC6803
CN103633659B (en) Energy accumulation current converter charge-discharge control system without DC current sensor
CN207096351U (en) A kind of novel electric vehicle high-voltage detecting device
CN106291397B (en) Ship'ssupply automatic testing equipment and its test method
CN115639400A (en) High-precision alternating current electric energy metering method
CN112098918A (en) Direct current electric energy meter calibrating device and method applied to working condition with larger direct current ripple factor
CN205157646U (en) Electric energy metering circuit based on voltage controlled oscillator
CN106655752A (en) Switching power supply PFC (Power Factor Correction) control system and PWM (Pulse Width Modulation) signal generating method thereof
CN203747682U (en) Device of single-phase AC-DC conversion power supply
CN104426548A (en) A/D (Analog/Digital) conversion sampling circuit and metering chip
CN115932355A (en) Self-adaptive signal processing system and method of clamp-on ammeter
CN101944841A (en) Inversion control digital filter
CN204945219U (en) A kind of single voltage detecting system for feul cells based on LTC6803
CN111679591B (en) High-power direct-current digital physical hybrid simulation interface system

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210112

WW01 Invention patent application withdrawn after publication