CN103698598A - Ammeter and low-error pulse output method thereof - Google Patents

Ammeter and low-error pulse output method thereof Download PDF

Info

Publication number
CN103698598A
CN103698598A CN201310731827.5A CN201310731827A CN103698598A CN 103698598 A CN103698598 A CN 103698598A CN 201310731827 A CN201310731827 A CN 201310731827A CN 103698598 A CN103698598 A CN 103698598A
Authority
CN
China
Prior art keywords
pulse
mcu
signal
ammeter
energy value
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.)
Granted
Application number
CN201310731827.5A
Other languages
Chinese (zh)
Other versions
CN103698598B (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.)
CHONGQING HUAHONG INSTRUMENT Co.,Ltd.
Original Assignee
Holley 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 Holley Technology Co Ltd filed Critical Holley Technology Co Ltd
Priority to CN201310731827.5A priority Critical patent/CN103698598B/en
Publication of CN103698598A publication Critical patent/CN103698598A/en
Application granted granted Critical
Publication of CN103698598B publication Critical patent/CN103698598B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Unknown Time Intervals (AREA)
  • Measuring Phase Differences (AREA)

Abstract

The invention discloses an ammeter and a low-error pulse output method thereof. The ammeter comprises a signal sampling end, a measuring part and a single-pulse timer which is coupled with an MCU (microcontroller unit), wherein an electric power signal w of an electric network is calculated through the measuring part and read by the MCU; a pulse cycle t1 is outputted through an integral generator to the MCU, the electric power signal w is accumulated for n cycles according to the pulse cycle unit dt1 so as to calculate an electric energy value P; a difference value delta omega between the accumulated electric energy value P and a pulse equivalent in the interruption of the dt1 is continuously compared with an energy value sigma omega of the power w of the measuring part read by the MCU in the period of dt1, and when the delta omega is less than the sigma omega, the time when the real electric energy pulse is outputted is judged to be before the interruption of the (n+1)th dt1; the time delta t for outputting the next pulse is calculated according to the difference value between the delta omega and the sigma omega and the power w of the measuring part read by the MCU.

Description

Ammeter and low error pulse output intent thereof
Technical field
General general survey of the present invention relates to a kind of low cost on single-phase or three phase network electric energy acquisition, high-precision pulse output intent of being applied in, and is applicable to electric energy metrical field.
Background technology
Along with the fast development of modern integrated circuits, also there is initiatively being gone out by computation chip the chip of electric pulse in metering field, particularly in high-precision electric energy meter application.But because its relatively high cost, cheaply 1 grade show even 0.5S level table in application be not very extensive.The table of these types goes out the mode of pulse or is controlled by table meter MCU.
Along with the reform and development of power domain, also more and more higher to the accuracy requirement of electric energy meter.General electric energy meter should possess LED pulse and the electric pulse output function being directly proportional to measured electric energy, pulse width 80ms ± 16ms.Verification stage body provides detection error according to the signal of electric pulse output port.According to infinitesimal analysis principle P=∫ wdt, dt is less for electric energy meter integral unit, integrated value just and the error of actual value just less.But in ammeter actual design, very little because the process that also will process other, as communication, demonstration etc., can not be made dt value, 500us has been smaller value.But even the jumping of error is poor in theory still very large like this, according to the principle of the limit, that the burst length postpones maximum may be exactly 500us, and this is apparent.With fundamental voltage 220V, fundamental current 10A, maximum current 60A, meter constant is that the three-phase and four-line electric energy meter of 800imp/kwh is example, when at fundamental voltage 220V, when three-phase current is all maximum current 60A, every 0.1136s goes out a pulse in theory, the error causing because interrupt latency goes out pulse is so exactly 500/113600=0.44%, and this is larger error.Add the error of voltage and current signal fluctuation, this life of verification stage body, for 1 grade of table, probably just there will be overproof, the poor value that probably exceeds standard regulation of the jumping that causes, does not more meet the requirement to error of table that precision is higher, does not therefore meet designing requirement.
Summary of the invention
The present invention designs and is a kind ofly applied in low cost on three-phase kilowatt-hour meter, high-precisionly goes out pulse method, and the interrupt function of the main MCU of flexible utilization table meter, calculates according to the power meter of upper one second the moment that the next one goes out pulse, thereby increases substantially table meter error.And the main MCU of table meter do not need because processing out electrical energy pulse turnover very continually to interrupt, thereby can have other events such as more time processing communication, the real-time of his-and-hers watches meter is also greatly improved.
Ammeter of the present invention, comprises signal sampling end, for gathering the simulating signal of grid alternating current stream and voltage and being converted to digital pulse signal I and U; Metering portion, receive these digital pulse signals and calculated electrical power signal w, by the primary processor (MCU) in three-phase kilowatt-hour meter, read, it further comprises: with the monopulse timer of described MCU coupling, for generation of a new pulse signal t2 who is different from described electrical power signal w; And be arranged at an integration generator in described MCU, set and export a recurrence interval t1 to MCU.
As preferably, in described MCU Sino-Israel relations formula: P=∫ wdt
Calculate energy value P, wherein dt is set as to dt1 by described integration generator, described MCU is set as periodically electrical power signal w being added up according to this dt1.
As preferably, in the interruption of a described dt1, continue the power w of metering portion that more cumulative energy value P and the difference △ ω between pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in before next dt1 interrupts.
As preferably, the power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now in current dt1 interrupts, opens described monopulse timer and produces new pulse signal t2.
As preferably, described moment △ t is less than dt1.
The low error pulse output intent that is applied to described three-phase kilowatt-hour meter, comprises step: by metering portion, calculate electrical network electrical power signal w, by MCU, read; By a recurrence interval t1 of integration generator output, to MCU, according to this recurrence interval unit dt1, electrical power signal w is carried out to the cumulative to calculate energy value P of n cycle; In the interruption of described dt1, continue the power w of metering portion that difference △ ω between more cumulative energy value P and a pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, before the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in n+1 dt1 interruption; The power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now: in current dt1 interrupts, open described monopulse timer, with in time delay after described new pulse signal t2, produce a new pulse signal and exported.
Set described new pulse signal t2 and equal △ t.
According to pulse equivalency be added to the difference that obtains electric energy after n dt1 and obtain △ t divided by the energy value in a dt1.
Compared with prior art, the output pulse method that the present invention proposes according to pulse equivalency and the difference that is added to the electric weight obtaining after n dt1 divided by the electric weight w(figure Oxford gray part in 1 dt1) obtain △ t, in n dt1, the opening timing time is the monopulse timer of △ t, after arriving, sends the △ t time pulse of t2=80ms, thereby obtain the moment that more approaches actual pulse output, increased substantially the accuracy requirement of electric energy meter.
Accompanying drawing explanation
Fig. 1 is the principle schematic of the specific embodiment of the invention.
Embodiment
Preferred embodiment of the present invention has related to three-phase kilowatt-hour meter, comprises signal sampling end, for gathering the simulating signal of grid alternating current stream and voltage and being converted to digital pulse signal I and U; Metering portion, receive these digital pulse signals and calculated electrical power signal w, by the primary processor (MCU) in three-phase kilowatt-hour meter, read, further comprise: with the monopulse timer of described MCU coupling, for generation of a new pulse signal t2 who is different from described electrical power signal w; And be arranged at an integration generator in described MCU, set and export a recurrence interval t1 to MCU.
In one embodiment, in described MCU Sino-Israel relations formula: P=∫ wdt
Calculate energy value P, wherein dt is set as to dt1 by described integration generator, described MCU is set as periodically electrical power signal w being added up according to this dt1.
In one embodiment, in the interruption of a described dt1, continue the power w of metering portion that more cumulative energy value P and the difference △ ω between pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in before next dt1 interrupts.
In one embodiment, the power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now in current dt1 interrupts, opens described monopulse timer and produces new pulse signal t2.
In one embodiment, described moment △ t is less than dt1.
The low error pulse output intent that is applied to described three-phase kilowatt-hour meter, comprises step: by metering portion, calculate electrical network electrical power signal w, by MCU, read; By a recurrence interval t1 of integration generator output, to MCU, according to this recurrence interval unit dt1, electrical power signal w is carried out to the cumulative to calculate energy value P of n cycle; In the interruption of described dt1, continue the power w of metering portion that difference △ ω between more cumulative energy value P and a pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, before the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in n+1 dt1 interruption; The power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now: in current dt1 interrupts, open described monopulse timer, with in time delay after described new pulse signal t2, produce a new pulse signal and exported.
Set described new pulse signal t2 and equal △ t.
According to pulse equivalency be added to the difference that obtains electric energy after n dt1 and obtain △ t divided by the energy value in a dt1.
With reference to Fig. 1, wherein A place goes out pulse constantly for actual, and B goes out pulse constantly in prior art, and electric energy meter integral unit dt1 is set as 5ms, the power of w for reading from metering portion.Although the value of dt1 is larger than conventional way, analytical error should be poorer in theory.It is that pulse is not output in this 5ms interrupts that but the method is different from other traditional ways.In the process of once checking meter, every 5ms accumulates once power, as the electric energy in this 5ms.More cumulative energy and the difference of a pulse equivalency and the size of the energy of the computation chip power of reading in 5ms always in the interruption of 5ms simultaneously, when the former is less than moment that the latter illustrates actual output electrical energy pulse, occur in before next 5ms interrupts, if wait until next 5ms interrupt output electric pulse, certainly postpone.So calculate the moment (this time is less than 5ms) of next output pulse according to both differences and the metering portion power meter of reading, now in interrupting, current this open monopulse timer, timing is the time that calculates pulse output, then the electrical energy pulse of monopulse timer oneself transmission 80ms thus.Guaranteed that like this rising edge of electric pulse and rising edge and the negative edge of negative edge and actual power pulse are more identical, no matter correction platform health check-up survey is rising edge or the negative edge of signal, error is all less, more meets designing requirement.
In Fig. 1: dt1 is integral unit, be generally set as 5ms, oblique line is partly the equivalent of a pulse.When electric weight is added to the electric weight obtaining after n dt1, be light grey oblique line part, obviously it does not reach a pulse equivalency, and both differences are Dark grey oblique line part.It is than the electric weight w(figure Oxford gray part in 1 dt1 as can see from Figure 1) little.And the moment of actual output pulse is the place that vertical line marks in the drawings.In the mode of tradition output pulse, be to wait until that n+1 dt1 just starts to export pulse, there have been the time delay of (dt1-△ t) it and actual time of exporting pulse.The output pulse method proposing in the present embodiment according to pulse equivalency and the difference (Dark grey oblique line part in figure) that is added to the electric weight obtaining after n dt1 divided by the electric weight w(figure Oxford gray part in 1 dt1) obtain △ t, in n dt1, the opening timing time is the monopulse timer of △ t, after arriving, sends the △ t time pulse of t2=80ms, thereby obtain the moment that more approaches actual pulse output, increased substantially the accuracy requirement of electric energy meter.
Except above preferred embodiment, the present invention also has other embodiment, and those skilled in the art can make according to the present invention various changes and distortion, only otherwise depart from spirit of the present invention, all should belong to the defined scope of claims of the present invention.

Claims (8)

1. ammeter, comprises signal sampling end, for gathering the simulating signal of grid alternating current stream and voltage and being converted to digital pulse signal; Metering portion, receive these digital pulse signals and calculated electrical power signal w, by the primary processor (MCU) in ammeter, read, it is characterized in that further comprising: with the monopulse timer of described MCU coupling, for generation of a new pulse signal t2 who is different from described electrical power signal w; And
Be arranged at an integration generator in described MCU, set and export a recurrence interval t1 to MCU.
2. ammeter according to claim 1, is characterized in that: in described MCU Sino-Israel relations formula:
P=∫wdt,
Calculate energy value P, wherein dt is set as to dt1 by described integration generator, described MCU is set as periodically electrical power signal w being added up according to this dt1.
3. ammeter according to claim 2, it is characterized in that: in the interruption of a described dt1, continue the power w of metering portion that more cumulative energy value P and the difference △ ω between pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in before next dt1 interrupts.
4. ammeter according to claim 3, it is characterized in that: the power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now in current dt1 interrupts, open described monopulse timer and produce new pulse signal t2.
5. according to the ammeter described in claim 3 or 4, it is characterized in that: described moment △ t is less than dt1.
6. a low error pulse output intent that is applied to ammeter described in claim 1, is characterized in that comprising step:
By metering portion, calculate electrical network electrical power signal w, by MCU, read;
By a recurrence interval t1 of integration generator output, to MCU, according to this recurrence interval unit dt1, electrical power signal w is carried out to the cumulative to calculate energy value P of n cycle;
In the interruption of described dt1, continue the power w of metering portion that difference △ ω between more cumulative energy value P and a pulse equivalency and described MCU read at this dt1 the energy value ∑ ω in the cycle, before the moment of judging actual power pulse output when △ ω is less than ∑ ω occurs in n+1 dt1 interruption;
The power w of metering portion reading according to the difference between △ ω and ∑ ω and described MCU calculates the moment △ t of next pulse output, now: in current dt1 interrupts, open described monopulse timer, with in time delay after described new pulse signal t2, produce a new pulse signal and exported.
7. low error pulse output intent according to claim 6, is characterized in that: set described new pulse signal t2 and equal △ t.
8. according to the low error pulse output intent described in claim 5 or 6, it is characterized in that: according to pulse equivalency be added to the difference that obtains electric energy after n dt1 and obtain △ t divided by the energy value in a dt1.
CN201310731827.5A 2013-12-26 2013-12-26 Ammeter and low error pulse output intent thereof Active CN103698598B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310731827.5A CN103698598B (en) 2013-12-26 2013-12-26 Ammeter and low error pulse output intent thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310731827.5A CN103698598B (en) 2013-12-26 2013-12-26 Ammeter and low error pulse output intent thereof

Publications (2)

Publication Number Publication Date
CN103698598A true CN103698598A (en) 2014-04-02
CN103698598B CN103698598B (en) 2016-08-17

Family

ID=50360195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310731827.5A Active CN103698598B (en) 2013-12-26 2013-12-26 Ammeter and low error pulse output intent thereof

Country Status (1)

Country Link
CN (1) CN103698598B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239623A (en) * 2014-09-05 2014-12-24 兰州空间技术物理研究所 Method for obtaining satellite surface potential based on multi-time-scale particle push
CN105785309A (en) * 2015-03-26 2016-07-20 上海斯同瑞电气科技有限公司 Apparatus for setting electric energy meter pulse width and setting method thereof
CN107748347A (en) * 2017-10-12 2018-03-02 华立科技股份有限公司 The metering method and device of three-phase meter
CN110927656A (en) * 2019-12-16 2020-03-27 深圳供电局有限公司 Electric energy meter error measuring device and control method thereof
CN111122969A (en) * 2020-03-10 2020-05-08 南京立超软件科技有限公司 High-precision pulse output method based on three-phase electric energy meter

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804640A (en) * 2006-01-24 2006-07-19 北京万工科技有限公司 Electric energy metrical pulse generation method for ammeter
DE102009011665A1 (en) * 2008-08-13 2010-02-18 Ralf Scherber Arrangement for measuring current yield and / or consumption variables in a low-voltage network
CN101762744A (en) * 2009-11-20 2010-06-30 湖北汽车工业学院 Wide-frequency electric power measurement method and measurement device
KR20110113385A (en) * 2010-04-09 2011-10-17 조춘경 Apparatus for displaying electric power
CN202661545U (en) * 2012-06-15 2013-01-09 宁波三星电气股份有限公司 Three-phase electric energy meter
US20130147492A1 (en) * 2011-12-13 2013-06-13 Askey Computer Corp. Power consumption measuring device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1804640A (en) * 2006-01-24 2006-07-19 北京万工科技有限公司 Electric energy metrical pulse generation method for ammeter
DE102009011665A1 (en) * 2008-08-13 2010-02-18 Ralf Scherber Arrangement for measuring current yield and / or consumption variables in a low-voltage network
CN101762744A (en) * 2009-11-20 2010-06-30 湖北汽车工业学院 Wide-frequency electric power measurement method and measurement device
KR20110113385A (en) * 2010-04-09 2011-10-17 조춘경 Apparatus for displaying electric power
US20130147492A1 (en) * 2011-12-13 2013-06-13 Askey Computer Corp. Power consumption measuring device
CN202661545U (en) * 2012-06-15 2013-01-09 宁波三星电气股份有限公司 Three-phase electric energy meter

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104239623A (en) * 2014-09-05 2014-12-24 兰州空间技术物理研究所 Method for obtaining satellite surface potential based on multi-time-scale particle push
CN104239623B (en) * 2014-09-05 2018-05-08 兰州空间技术物理研究所 It is a kind of that the method for obtaining satellite surface current potential is promoted based on Multi-time Scale particle
CN105785309A (en) * 2015-03-26 2016-07-20 上海斯同瑞电气科技有限公司 Apparatus for setting electric energy meter pulse width and setting method thereof
CN105785309B (en) * 2015-03-26 2019-01-15 上海斯同瑞电气科技有限公司 A kind of device and its setting method for realizing electric energy meter pulse width set
CN107748347A (en) * 2017-10-12 2018-03-02 华立科技股份有限公司 The metering method and device of three-phase meter
CN110927656A (en) * 2019-12-16 2020-03-27 深圳供电局有限公司 Electric energy meter error measuring device and control method thereof
CN111122969A (en) * 2020-03-10 2020-05-08 南京立超软件科技有限公司 High-precision pulse output method based on three-phase electric energy meter

Also Published As

Publication number Publication date
CN103698598B (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN103698598A (en) Ammeter and low-error pulse output method thereof
CN103336264B (en) Digital electric energy meter quantity value tracing system based on analog quantity detection and digital electric energy meter quantity value tracing method based analog quantity detection
CN202583449U (en) Whole detection device of intelligent transformer station electric energy metering device
CN201859213U (en) Intelligent energy meter verifying device
CN102033161A (en) Frequency measuring method of alternating current signal
CN102539916A (en) Synchronous phasor measuring device of ship electrical power system
CN101718851B (en) Calibrating apparatus for electronic transducer calibration instrument based on alternating current bridge balance principle
CN102981049A (en) Frequency detection method used for microgrid system
CN109507627B (en) Simulation method of direct-current electronic transformer
CN103472333A (en) Wind power integration electric energy quality overall performance detection method
CN102095934A (en) Measuring method for phase difference of alternating current signals
CN105699738A (en) PWM-based AC signal effective value measurement method
CN103499800A (en) Frequency characteristic detecting system of electronic type voltage transformer
CN103605038A (en) Protective error detecting and verifying system of electronic current transformer
CN108508399B (en) Voltage transient test method based on electronic voltage transformer transmission process simulation
CN104198977A (en) Accuracy detection method based on average power error for analog input combining unit
CN103983930B (en) Electronic mutual inductor harmonic wave tester calibration equipment and method of calibration
CN201859177U (en) Measurement module for low-frequency alternating current signal in relay protection device
CN104076317A (en) Power harmonic-caused electronic-type electric energy meter metering error analyzing and correcting system
CN103676623B (en) Target dynamic reactive generating means response time assay method time unified
CN105261202A (en) Transmission delay measurement method based on B spline interpolation wavelet singularity detection
CN102866378B (en) Voltage or current transformer on-line test device and voltage or current transformer on-line test method
CN104391176A (en) Software and hardware frequency measurement circuit compatible with electric power system signals
CN103869155A (en) Method and device for electric generator frequency measurement based on PLC high-speed input
CN106932746B (en) Electronic current transformer performance test system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: HOLLEY Technology Park No. 181 310012 Hangzhou city Zhejiang District of Yuhang province Wuchang Avenue

Applicant after: HOLLEY METERING LIMITED

Address before: HOLLEY Technology Park No. 181 310012 Hangzhou city Zhejiang District of Yuhang province Wuchang Avenue

Applicant before: Holley Metering Ltd.

COR Change of bibliographic data
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210714

Address after: No.258 longfengqiao, Beibei District, Chongqing 400799

Patentee after: CHONGQING HUAHONG INSTRUMENT Co.,Ltd.

Address before: 310012 Huali Science Park, 181 Wuchang Avenue, Yuhang District, Hangzhou City, Zhejiang Province

Patentee before: Holley Technology Co.,Ltd.

TR01 Transfer of patent right