CN105116366B - Quick correction method based on adjustment meter constant - Google Patents
Quick correction method based on adjustment meter constant Download PDFInfo
- Publication number
- CN105116366B CN105116366B CN201510516572.XA CN201510516572A CN105116366B CN 105116366 B CN105116366 B CN 105116366B CN 201510516572 A CN201510516572 A CN 201510516572A CN 105116366 B CN105116366 B CN 105116366B
- Authority
- CN
- China
- Prior art keywords
- meter
- ammeter
- production
- adjusting
- original
- 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
Links
Landscapes
- Measurement Of Resistance Or Impedance (AREA)
Abstract
本发明公开了一种基于调整脉冲常数的快速校表方法,包括以下步骤,1)在生产过程中通过调整分频系数把电表的脉冲常数调整到原先的N倍;2)在电表内计量芯片与电表内MCU之间连接SPI总线上串联一个电阻,消除干扰或抖动;3)通过软件方式对电表校表,达到表计误差的要求;4)在生产校正完成后,将分频系数恢复到正常的状态,并去掉步骤2)中SPI总线上串联的电阻,从而把电表的脉冲常数恢复到原先的数值。本发明在生产时通过调整分频系数把电表的脉冲常数调整到原先的N倍,并消除数据信号传输SPI总线上的干扰或抖动,在生产校正完成后再把分频系数恢复到正常的状态,大幅提高生产效率和降低生产成本,具有良好的应用前景。
The invention discloses a fast meter calibration method based on adjusting the pulse constant, which includes the following steps: 1) adjusting the pulse constant of the electric meter to N times the original by adjusting the frequency division coefficient in the production process; 2) measuring the chip in the electric meter Connect a resistor in series with the SPI bus between the MCU in the meter to eliminate interference or jitter; 3) Calibrate the meter through software to meet the meter error requirements; 4) After the production calibration is completed, restore the frequency division factor to Normal state, and remove the series resistance on the SPI bus in step 2), so as to restore the pulse constant of the meter to the original value. The invention adjusts the pulse constant of the electric meter to the original N times by adjusting the frequency division coefficient during production, and eliminates the interference or jitter on the data signal transmission SPI bus, and restores the frequency division coefficient to the normal state after the production correction is completed , greatly improve production efficiency and reduce production costs, and have good application prospects.
Description
技术领域technical field
本发明属于电表校正技术领域,具体涉及一种基于调整脉冲常数的快速校表方法。The invention belongs to the technical field of electric meter calibration, and in particular relates to a fast meter calibration method based on adjusting pulse constants.
背景技术Background technique
目前,市面上的三相智能电表都采用专用计量芯片完成电能采集(如ADE7858,ATT7022、RN8302等),但是,这些计量芯片都采用软件校表的,以便达到表计误差的要求,软件校表采用按照电表的脉冲常数进行校表、检表,生产周期长,生产效率低,尤其针对小电流的三相智能电表,如57.7V,1.5(6)A规格的电表在1%In的电流下,每个脉冲的间隔时间大约为70秒,大大增加了软件校表的时间,使用十分不便,效率低下。At present, the three-phase smart meters on the market use special metering chips to complete power collection (such as ADE7858, ATT7022, RN8302, etc.), but these metering chips use software calibration to meet the requirements of meter errors. Software calibration Using the pulse constant of the meter to calibrate and check the meter, the production cycle is long and the production efficiency is low, especially for the three-phase smart meter with small current, such as 57.7V, 1.5 (6) A meter under the current of 1% In , the interval between each pulse is about 70 seconds, which greatly increases the time for software calibration, which is very inconvenient to use and low in efficiency.
发明内容Contents of the invention
本发明所解决的技术问题是克服市面上的三相智能电表采用软件校表的生产周期长,生产效率低的问题。本发明的基于调整脉冲常数方式的快速校表方法,在生产时通过调整分频系数把电表的脉冲常数调整到原先的N倍,则每个脉冲的间隔时间缩短为1/N秒,在生产校正完成后再把分频系数恢复到正常的状态,这样就可以大幅提高生产效率和降低生产成本,具有良好的应用前景。The technical problem solved by the invention is to overcome the problems of long production cycle and low production efficiency of the three-phase smart electric meters on the market which adopt software calibration. In the method of fast meter calibration based on the pulse constant adjustment method of the present invention, the pulse constant of the electric meter is adjusted to N times of the original by adjusting the frequency division coefficient during production, and the interval time of each pulse is shortened to 1/N second. After the calibration is completed, the frequency division coefficient is restored to the normal state, which can greatly improve the production efficiency and reduce the production cost, and has a good application prospect.
为了解决上述技术问题,本发明所采用的技术方案是:In order to solve the problems of the technologies described above, the technical solution adopted in the present invention is:
一种基于调整脉冲常数的快速校表方法,其特征在于:包括以下步骤,A kind of fast calibration method based on adjusting the pulse constant is characterized in that: comprising the following steps,
步骤(1),在生产过程中通过调整分频系数把电表的脉冲常数调整到原先的N倍,使相邻的两个脉冲间隔时间缩短为原先的1/N倍 ;Step (1), adjust the pulse constant of the meter to the original N times by adjusting the frequency division coefficient in the production process, so that the interval between two adjacent pulses is shortened to the original 1/N times;
步骤(2),在电表内计量芯片与电表内MCU之间连接SPI总线上串联一个电阻,电阻与计量芯片上的寄生电容,构成低通滤波器,消除SPI总线上的干扰或抖动;Step (2), connecting a resistor in series with the SPI bus between the metering chip in the meter and the MCU in the meter, the resistor and the parasitic capacitance on the metering chip form a low-pass filter to eliminate interference or jitter on the SPI bus;
步骤(3),通过软件方式对电表校表,达到表计误差的要求;Step (3), calibrate the electric meter through software to meet the meter error requirements;
步骤(4),在生产校正完成后,将分频系数恢复到正常的状态,并去掉步骤(2)中SPI总线上串联的电阻,从而把电表的脉冲常数恢复到原先的数值。Step (4), after the production calibration is completed, restore the frequency division factor to the normal state, and remove the resistor connected in series on the SPI bus in step (2), so as to restore the pulse constant of the meter to the original value.
前述的基于调整脉冲常数的快速校表方法,其特征在于:所述N的取值为2-4之间。The aforementioned fast meter calibration method based on adjusting the pulse constant is characterized in that: the value of N is between 2-4.
前述的基于调整脉冲常数的快速校表方法,其特征在于:步骤(1),在生产过程中通过调整分频系数把电表的脉冲常数调整到原先的N倍的方法为,短接电表内计量芯片各分频器的引脚实现。The aforementioned fast meter calibration method based on adjusting the pulse constant is characterized in that: step (1), the method of adjusting the pulse constant of the meter to the original N times by adjusting the frequency division coefficient in the production process is to short-circuit the meter inside the meter The pins of each frequency divider of the chip are realized.
前述的基于调整脉冲常数的快速校表方法,其特征在于:步骤(2),在电表内计量芯片与电表内MCU之间连接SPI总线上串联一个电阻,电阻阻值为10~100Ω。The aforementioned fast meter calibration method based on adjusting the pulse constant is characterized in that: step (2), a resistor is connected in series with the SPI bus between the metering chip in the meter and the MCU in the meter, and the resistance value of the resistor is 10~100Ω.
前述的基于调整脉冲常数的快速校表方法,其特征在于:步骤(4),在生产校正完成后,将分频系数恢复到正常的状态的方法为,断开电表内计量芯片各分频器的短接的引脚实现。The aforementioned fast meter calibration method based on adjusting the pulse constant is characterized in that: step (4), after the production calibration is completed, the method of restoring the frequency division coefficient to the normal state is to disconnect each frequency divider of the metering chip in the meter The shorted pins are implemented.
前述的基于调整脉冲常数的快速校表方法,其特征在于:步骤(2),在电表内计量芯片与电表内MCU之间连接SPI总线上并联一电容,电容值为10pF。The aforementioned fast meter calibration method based on adjusting the pulse constant is characterized in that: step (2), a capacitor is connected in parallel to the SPI bus between the metering chip in the meter and the MCU in the meter, and the capacitance value is 10pF.
本发明的有益效果是:本发明的基于调整脉冲常数的快速校表方法,在生产时通过调整分频系数把电表的脉冲常数调整到原先的N倍,则每个脉冲的间隔时间缩短为1/N秒,并消除数据信号传输SPI总线上的干扰或抖动,在生产校正完成后再把分频系数恢复到正常的状态,这样就可以大幅提高生产效率和降低生产成本,具有良好的应用前景。The beneficial effects of the present invention are: the rapid meter calibration method based on adjusting the pulse constant of the present invention adjusts the pulse constant of the electric meter to the original N times by adjusting the frequency division coefficient during production, and the interval time of each pulse is shortened to 1 /N seconds, and eliminate the interference or jitter on the SPI bus of data signal transmission, and restore the frequency division coefficient to the normal state after the production calibration is completed, so that the production efficiency can be greatly improved and the production cost can be reduced, which has a good application prospect .
附图说明Description of drawings
图1是本发明的基于调整脉冲常数的快速校表方法的流程图。Fig. 1 is a flow chart of the fast meter calibration method based on adjusting the pulse constant of the present invention.
图2是本发明的消除SPI总线上的干扰或抖动的电路示意图。Fig. 2 is a schematic circuit diagram of eliminating interference or jitter on the SPI bus of the present invention.
具体实施方式detailed description
下面将结合说明书附图,对本发明作进一步的说明。The present invention will be further described below in conjunction with the accompanying drawings.
如图1所示,本发明的基于调整脉冲常数的快速校表方法,在生产时通过调整分频系数把电表的脉冲常数调整到原先的N倍,则每个脉冲的间隔时间缩短为1/N秒,并消除数据信号传输SPI总线上的干扰或抖动,在生产校正完成后再把分频系数恢复到正常的状态,这样就可以大幅提高生产效率和降低生产成本,具体包括以下步骤,As shown in Figure 1, the fast meter calibration method based on adjusting the pulse constant of the present invention adjusts the pulse constant of the electric meter to the original N times by adjusting the frequency division coefficient during production, and then the interval time of each pulse is shortened to 1/ N seconds, and eliminate the interference or jitter on the SPI bus of the data signal transmission, and restore the frequency division factor to the normal state after the production calibration is completed, so that the production efficiency can be greatly improved and the production cost can be reduced. Specifically, the following steps are included.
步骤(1),在生产过程中通过调整分频系数把电表的脉冲常数调整到原先的N倍,使相邻的两个脉冲间隔时间缩短为原先的1/N倍 ,N为倍频系数,比如,把电表内部的从64分频调整为16分频,相当于在同等输入的情况下,电能脉冲频率扩大了4倍,同时把校表台的脉冲常数也同时扩大4倍,通过短接电表内计量芯片各分频器的引脚实现,为了减小电表误差的跳变,倍频系数N不能设置太大,取值 2-4是比较合适,倍频前后的误差值改变<0.01%,基本可以忽略不计,而且,原来电表内的高频脉冲的分频数要求能被N整除,这样可以避免脉冲尾数带来的误差变化Step (1), adjust the pulse constant of the meter to the original N times by adjusting the frequency division coefficient in the production process, so that the interval between two adjacent pulses is shortened to the original 1/N times, N is the frequency multiplication coefficient, For example, adjusting the internal frequency of the meter from 64 to 16 is equivalent to expanding the pulse frequency of electric energy by 4 times under the same input conditions, and at the same time expanding the pulse constant of the meter calibration station by 4 times. The pins of the frequency dividers of the metering chip in the meter are implemented. In order to reduce the jump of the meter error, the frequency multiplication factor N cannot be set too large. The value of 2-4 is more appropriate. The error value before and after frequency multiplication changes <0.01% , can basically be ignored, and the frequency division number of the high-frequency pulse in the original meter is required to be divisible by N, so that the error change caused by the pulse mantissa can be avoided
步骤(2),在电表内计量芯片与电表内MCU之间连接SPI总线上串联一个电阻,电阻与计量芯片上的寄生电容,构成低通滤波器,消除SPI总线上的干扰或抖动,电阻阻值为10~100Ω,还可以在电表内计量芯片与电表内MCU之间连接SPI总线上并联一电容,电容值为10pF,提高滤波效果,电路图,如图2所示,这里对于电阻、电容值的选择,要根据SPI总线的速率以及外部MCU的信号进行的;Step (2), connect a resistor in series with the SPI bus between the metering chip in the meter and the MCU in the meter. The resistor and the parasitic capacitance on the metering chip form a low-pass filter to eliminate interference or jitter on the SPI bus. The value is 10~100Ω. You can also connect a capacitor in parallel with the SPI bus between the metering chip in the meter and the MCU in the meter. The capacitor value is 10pF to improve the filtering effect. The circuit diagram is shown in Figure 2. The selection should be carried out according to the speed of the SPI bus and the signal of the external MCU;
步骤(3),通过软件方式对电表校表,达到表计误差的要求;Step (3), calibrate the electric meter through software to meet the meter error requirements;
步骤(4),在生产校正完成后,断开电表内计量芯片各分频器的短接的引脚实现,将分频系数恢复到正常的状态,并去掉步骤(2)中SPI总线上串联的电阻,若SPI总线上并联有电容,也将电容去掉,从而把电表的脉冲常数恢复到原先的数值。Step (4), after the production calibration is completed, disconnect the short-connected pins of each frequency divider of the metering chip in the meter to restore the frequency division coefficient to the normal state, and remove the serial connection on the SPI bus in step (2). If there is a capacitor connected in parallel on the SPI bus, the capacitor will also be removed, so as to restore the pulse constant of the meter to the original value.
根据本发明的基于调整脉冲常数的快速校表方法,1个实施例,如规格为3×57.7/100V,1.5(6)A的三相四线智能电表,正常的脉冲常数为20000imp/kwh,如果在生产校验过程中按20000 imp/kwh常数进行校正和检表,每台电表基本上需要30分钟,但如果通过调整分频系数把智能电表的常数放大4倍,那么调试和检表的时间就可以缩短到原来的1/4,即校正、检表时间缩短到不到8分钟,生产完成后再把分频系数恢复到原来的状态,这样就可以大幅提高生产效率和降低生产成本。According to the fast meter calibration method based on adjusting the pulse constant of the present invention, one embodiment, such as a three-phase four-wire smart meter with a specification of 3×57.7/100V and 1.5(6)A, the normal pulse constant is 20000imp/kwh, If calibration and meter inspection are carried out according to the constant of 20000 imp/kwh during the production verification process, each meter basically takes 30 minutes, but if the constant of the smart meter is enlarged by 4 times by adjusting the frequency division coefficient, then the debugging and meter inspection The time can be shortened to 1/4 of the original, that is, the time for calibration and meter inspection is shortened to less than 8 minutes. After the production is completed, the frequency division coefficient is restored to the original state, which can greatly improve production efficiency and reduce production costs.
综上所述,本发明的基于调整脉冲常数的快速校表方法,在生产时通过调整分频系数把电表的脉冲常数调整到原先的N倍,则每个脉冲的间隔时间缩短为1/N秒,并消除数据信号传输SPI总线上的干扰或抖动,在生产校正完成后再把分频系数恢复到正常的状态,这样就可以大幅提高生产效率和降低生产成本,具有良好的应用前景。To sum up, the rapid meter calibration method based on adjusting the pulse constant of the present invention adjusts the pulse constant of the electric meter to the original N times by adjusting the frequency division coefficient during production, and the interval time of each pulse is shortened to 1/N Seconds, and eliminate the interference or jitter on the SPI bus for data signal transmission, and restore the frequency division factor to the normal state after the production calibration is completed, so that the production efficiency can be greatly improved and the production cost can be reduced, which has a good application prospect.
以上显示和描述了本发明的基本原理、主要特征及优点。本行业的技术人员应该了解,本发明不受上述实施例的限制,上述实施例和说明书中描述的只是说明本发明的原理,在不脱离本发明精神和范围的前提下,本发明还会有各种变化和改进,这些变化和改进都落入要求保护的本发明范围内。本发明要求保护范围由所附的权利要求书及其等效物界定。The basic principles, main features and advantages of the present invention have been shown and described above. Those skilled in the industry should understand that the present invention is not limited by the above-mentioned embodiments. What are described in the above-mentioned embodiments and the description only illustrate the principle of the present invention. Without departing from the spirit and scope of the present invention, the present invention will also have Variations and improvements are possible, which fall within the scope of the claimed invention. The protection scope of the present invention is defined by the appended claims and their equivalents.
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510516572.XA CN105116366B (en) | 2015-08-21 | 2015-08-21 | Quick correction method based on adjustment meter constant |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510516572.XA CN105116366B (en) | 2015-08-21 | 2015-08-21 | Quick correction method based on adjustment meter constant |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105116366A CN105116366A (en) | 2015-12-02 |
CN105116366B true CN105116366B (en) | 2017-09-15 |
Family
ID=54664399
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510516572.XA Active CN105116366B (en) | 2015-08-21 | 2015-08-21 | Quick correction method based on adjustment meter constant |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105116366B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107015188A (en) * | 2017-05-23 | 2017-08-04 | 国网山东省电力公司电力科学研究院 | A kind of method and measurement, verification system for shortening the harmonic electric energy error measure time |
CN109884573B (en) * | 2019-03-13 | 2021-05-11 | 宁波三星医疗电气股份有限公司 | Method for testing electric energy meter |
CN110763890B (en) * | 2019-09-29 | 2022-09-09 | 许昌许继软件技术有限公司 | a metering device |
CN112748271B (en) * | 2020-12-01 | 2022-11-04 | 宁波三星医疗电气股份有限公司 | Electric energy meter and electric quantity metering method thereof |
CN113433509B (en) * | 2021-07-02 | 2022-12-02 | 威胜集团有限公司 | Calibration method of metering ammeter, electric energy meter and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0569740A1 (en) * | 1992-05-12 | 1993-11-18 | Landis & Gyr Technology Innovation AG | Method for automatic calibration of electricity meters and apparatus therefor |
CN2261029Y (en) * | 1996-10-09 | 1997-08-27 | 毛晋 | Comprehensive calibrator for electric measuring device |
CN101359042A (en) * | 2008-09-11 | 2009-02-04 | 江苏卡欧万泓电子有限公司 | Auto calibration method for single-phase electronic type electric energy meter |
CN101655545A (en) * | 2009-09-02 | 2010-02-24 | 珠海市科荟电器有限公司 | On-site verifying method of electric energy meter |
CN102636769A (en) * | 2012-04-18 | 2012-08-15 | 山东电力研究院 | Error counter for electric energy meter and error counting method |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07117449B2 (en) * | 1987-07-31 | 1995-12-18 | アンリツ株式会社 | Optical power meter calibration device |
SE0000074L (en) * | 2000-01-13 | 2001-07-14 | Abb Ab | Electricity meter |
-
2015
- 2015-08-21 CN CN201510516572.XA patent/CN105116366B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0569740A1 (en) * | 1992-05-12 | 1993-11-18 | Landis & Gyr Technology Innovation AG | Method for automatic calibration of electricity meters and apparatus therefor |
CN2261029Y (en) * | 1996-10-09 | 1997-08-27 | 毛晋 | Comprehensive calibrator for electric measuring device |
CN101359042A (en) * | 2008-09-11 | 2009-02-04 | 江苏卡欧万泓电子有限公司 | Auto calibration method for single-phase electronic type electric energy meter |
CN101655545A (en) * | 2009-09-02 | 2010-02-24 | 珠海市科荟电器有限公司 | On-site verifying method of electric energy meter |
CN102636769A (en) * | 2012-04-18 | 2012-08-15 | 山东电力研究院 | Error counter for electric energy meter and error counting method |
Also Published As
Publication number | Publication date |
---|---|
CN105116366A (en) | 2015-12-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105116366B (en) | Quick correction method based on adjustment meter constant | |
CN108267708A (en) | For the quick calibration method of single-phase smart meter error self-correcting | |
CN102798760B (en) | Method and circuit fir detecting ground insulation impedance of photovoltaic array | |
CN105958621B (en) | One kind being used for capacitor group Bridge differential current protection out-of-balance current leveling method | |
CN103986459B (en) | All-digital phase-locked loop built-in self-testing structure | |
CN103954885A (en) | Double-circuit fault single-ended positioning system and positioning method based on distribution parameters | |
CN104020437A (en) | Electric energy meter correction method | |
CN103513093A (en) | Electronic transformer collector based on 4-order Bessel filtration and software integration | |
CN103825604B (en) | Apparatus and method for adaptive receiver delay equalization | |
CN103983930B (en) | Electronic mutual inductor harmonic wave tester calibration equipment and method of calibration | |
CN103698598B (en) | Ammeter and low error pulse output intent thereof | |
CN104459330A (en) | High-voltage transmission line zero-sequence impedance measuring circuit and method | |
CN103837800A (en) | Method for locating direct-current transmission line unipolar grounding fault | |
CN204272138U (en) | A kind of eye pattern testing apparatus of high speed signal | |
CN103901255A (en) | Hybrid power filter harmonic current detection method based on generalized weighted morphological filtering theory | |
CN101718814A (en) | Method for measuring and calculating electrical quantities of safety and stability control device based on FPGA | |
CN204925248U (en) | Measure circuit of adjustable resistance resistance | |
CN116338558B (en) | DC voltage broadband digital quantity standard device and use method thereof | |
CN110850163A (en) | Multi-band network frequency characteristic tester | |
CN104897964A (en) | Circuit and method for measuring resistance of variable resistor | |
CN204705610U (en) | The inductance measurement device of perception resistance | |
CN105762794B (en) | The distribution power system load flow calculation method and system of meter and synchronous phasor measurement unit | |
CN105527577B (en) | Based on the battery management system of electric energy metrical, average current and ampere-hour number calculating method | |
CN108508280B (en) | Calculation method, device and electronic equipment for circuit zero-sequence parameter | |
CN104730417A (en) | Electric transmission line single-terminal ranging method with negative sequence current as polarizing quantity |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |