CN103389411A - Multifunctional watt-hour meter and electric energy data recovery method thereof - Google Patents

Multifunctional watt-hour meter and electric energy data recovery method thereof Download PDF

Info

Publication number
CN103389411A
CN103389411A CN2013103136348A CN201310313634A CN103389411A CN 103389411 A CN103389411 A CN 103389411A CN 2013103136348 A CN2013103136348 A CN 2013103136348A CN 201310313634 A CN201310313634 A CN 201310313634A CN 103389411 A CN103389411 A CN 103389411A
Authority
CN
China
Prior art keywords
electric energy
data
energy data
energy meter
cpu
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
CN2013103136348A
Other languages
Chinese (zh)
Other versions
CN103389411B (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.)
JIANGYIN SFERE ELECTRIC CO Ltd
Original Assignee
JIANGYIN SFERE ELECTRIC 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 JIANGYIN SFERE ELECTRIC CO Ltd filed Critical JIANGYIN SFERE ELECTRIC CO Ltd
Priority to CN201310313634.8A priority Critical patent/CN103389411B/en
Publication of CN103389411A publication Critical patent/CN103389411A/en
Application granted granted Critical
Publication of CN103389411B publication Critical patent/CN103389411B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The invention discloses a multifunctional watt-hour meter and an electric energy data recovery method thereof. The multifunctional watt-hour meter comprises a CPU (central processing unit), a three-phase voltage and current analog input circuit, a ferroelectric memory and an EPPROM (electrically erasable programmable read-only memory), wherein the CPU is connected with the ferroelectric memory; the EPPROM and the three-phase voltage and current analog input circuit respectively; the three-phase voltage and current analog input circuit collects voltage and a current in a circuit and transmits the voltage and the current to the CPU; the CUP calculates accumulative power and electric energy and stores electric energy data to the ferroelectric memory; and the EPPROM backups the electric energy data. The multifunctional watt-hour meter can perform redundancy storage on the electric energy data; and the electric energy data recorded at fixed time are stored as required, and the reliability and the restorability for the electric energy data storage are improved.

Description

Multifunctional electric energy meter and energy data restoration methods thereof
Technical field
The invention belongs to the electronic instrument technical field, relate to a kind of multifunctional electric energy meter and energy data restoration methods thereof with redundancy electric energy data storage technology.
Background technology
Along with proposition and the construction of national grid for strong intelligent grid, the strong property of electric instrument is had higher requirement.Multifunctional electric energy meter is as the terminal of strong intelligent grid, and the construction of intelligent sturdy power grid is had vital role.Electric energy metrical is as grid company and user's charge foundation, as the foundation of electricity consumption enterprises examination, and its stability and restorability are significant.Multifunctional electric energy meter adopts a slice ferroelectric memory carry out the energy data storage and read more at present.In case at multifunctional electric energy meter, write ferroelectric sequential mistake because interference causes during in the storage of electrical energy data, cause writing the error in data of electric energy, so when again reading ferroelectric interior data, can be incorrect and can not obtain energy data due to check code, cause the energy data of this electric energy meter metering to be lost, thereby to the user, cause trouble.
Summary of the invention
for solving the problems of the technologies described above, the object of the present invention is to provide a kind of multifunctional electric energy meter with redundancy electric energy data storage technology, comprise: CPU, the three-phase voltage current analog input circuit, ferroelectric memory, the EPPROM storer, CPU respectively with ferroelectric memory, the EPPROM storer, the three-phase voltage current simulated measurement input circuit connects, the three-phase voltage current simulated measurement input circuit is to the voltage in circuit, electric current is sampled, and be transferred to CPU, the CPU measuring voltage, current value, calculate integral power and electric energy, when the electric energy increment surpasses while presetting threshold value, CPU is to the storage of carrying out energy data in ferroelectric memory, when distance C PU last time reaches predetermined value to time of EPPROM memory stores data, new energy data and temporal information are stored in the EPPROM storer.
In addition, described multifunctional electric energy meter also comprises communication module, relay output module, switching input module, analog quantity transformation output module, key-press module, clock chip, LCD display module and power module, and above-mentioned each module is connected with CPU.
In addition, CPU can select the SOC chip.
Also have, described ferroelectric memory adopts the FM25CL64 chip, its first pin CS, the 6th pin SCK, the 5th pin DI and the second pin DO are connected with the IO interface of CPU respectively, carry out reading and storing of energy data, adopt the SPI interface sequence to store and read energy data.
Have again, described EPPROM storer adopts the 24C02 chip, and its 6th pin WP and the 5th pin SDA are connected with the IO interface of CPU respectively, as the energy data supplementary storage, carry out the backup of energy data, the backup of adopting the IIC Interface realization to carry out energy data is read and back-up storage.
The present invention also provides a kind of data reconstruction method with electric energy meter of ferroelectric memory and EPPROM storer, when electric energy meter need to carry out the data recovery, reads energy data from ferroelectric memory and EPPROM storer, when electric energy meter storage data:
The first step, sample to the voltage in circuit, electric current, and measuring voltage, current value calculate integral power P and electric energy E,
Second step, judge that the electric energy increment, whether over presetting threshold value, surpasses setting threshold if electric energy increases, and the new energy data of storage in ferroelectric memory, be no more than setting threshold as electric energy, do not store new energy data in ferroelectric memory,
The 3rd step, whether judging distance last time reached predetermined value to the time of EPPROM memory stores data,, if reach predetermined value, new energy data and temporal information was stored in the EPPROM storer,, if do not reach predetermined value, proceed sampling monitoring.
In addition, when electric energy meter need to carry out the data recovery: read the energy data of storing in ferroelectric memory, judge whether the check code in data streams read is correct, if correct, these data are returned in electric energy meter,, if check code is incorrect, reads and be stored in recent energy data on the EPPROM storer.
In addition, read energy data from the EPPROM storer after, judge whether the check code in data streams read is correct,, if correct, these data are returned in electric energy meter, if check code is incorrect, the energy data of once storing before reading in the EPPROM storer, judge, repeat this process, until read correct energy data.If can not obtain correct energy data, electric energy meter is abnormal.
Also have, electric energy meter shows the information and the duty of electric energy meter storage time that reads energy data from the EPPROM storer.
Have, integral power P and electric energy E calculate by following formula again:
P = Σ n = 0 N - 1 Un × In , E = Σ i = 0 N - 1 Pi × Ti .
The multifunctional electric energy meter that the present invention has a redundancy electric energy data storage technology can carry out the redundant storage of energy data, and stored record is energy data per hour, can inquire about the energy data of each hour in 1 year, improves reliability and the restorability of energy data storage.
Description of drawings
Fig. 1 is multifunctional electric energy meter module map of the present invention;
Fig. 2 is the ferroelectric memory wiring diagram of multifunctional electric energy meter of the present invention;
Fig. 3 is multifunctional electric energy meter EPPROM storer circuit figure of the present invention;
Fig. 4 is multifunctional electric energy meter energy data Stored Procedure figure of the present invention;
Fig. 5 is that multifunctional electric energy meter energy data of the present invention reads process flow diagram;
Embodiment
Below in conjunction with accompanying drawing, the multifunctional electric energy meter that the present invention has redundancy electric energy data storage technology is described in further detail.
As shown in Figure 1, the present invention has the multifunctional electric energy meter of redundancy electric energy data storage technology, comprising: CPU, three-phase voltage current analog input circuit, communication module, relay output module, switching input module, analog quantity transformation output module, ferroelectric memory, EPPROM storer, key-press module, clock chip, LCD display module and power module, consist of.CPU is connected with ferroelectric memory, EPPROM storer, three-phase voltage current simulated measurement input circuit, communication module, relay output module, switching input module, analog quantity transformation output module, key-press module, clock chip, LCD display module respectively.CPU can select the SOC chip.
Fig. 2 shows the wiring diagram of the ferroelectric memory in above-mentioned electric energy meter, described ferroelectric memory adopts the FM25CL64 chip, its first pin CS, the 6th pin SCK, the 5th pin DI and the second pin DO are connected with the IO interface of CPU respectively, carry out reading and storing of energy data, adopt the SPI interface sequence to store and read energy data.
Fig. 3 shows the wiring diagram of the EPPROM storer in above-mentioned electric energy meter, described EPPROM storer adopts the 24C02 chip, its the 6th pin WP and the 5th pin SDA are connected with the IO interface of CPU respectively, as the energy data supplementary storage, carry out the backup of energy data, the backup of adopting the IIC Interface realization to carry out energy data is read and back-up storage.
Fig. 4 shows above-mentioned electric energy meter electric energy data Stored Procedure figure.CPU samples to the voltage in circuit, electric current by the three-phase voltage current simulated measurement input circuit, and measuring voltage, current value calculate integral power P and electric energy E, wherein:
P = Σ n = 0 N - 1 Un × In , E = Σ i = 0 N - 1 Pi × Ti .
By judging whether the electric energy increment carries out the storage of energy data over presetting threshold value, for example, the setting threshold of increment can be set as 1Wh/1varh, if increasing, electric energy surpasses 1Wh/1varh, the new energy data of storage in ferroelectric memory, be not increased to 1Wh/1varh as electric energy, storage of electrical energy data in ferroelectric memory not.Subsequently, whether judging distance CPU last time reached predetermined value to the time of EPPROM memory stores data, was for example 1 hour, if reach predetermined value, new energy data and temporal information are stored in the EPPROM storer,, if do not reach predetermined value, proceed sampling monitoring.According to the actual requirements, EPPROM storer and the ferroelectric memory that can choose different capabilities carry out the energy data storage.
Fig. 5 shows above-mentioned electric energy meter electric energy data and reads process flow diagram.Electric energy meter powers on, and CPU first reads the energy data of storing in ferroelectric memory, judges whether check code is correct, if correctly instrument is normal on the LCD display module shows energy value and normal operation; If check code is incorrect, read and be stored in recent energy data on the EPPROM storer, judge whether check code is correct, if correctly instrument normally shows energy value, and show the time of recording electric energy on the LCD display module.If incorrect read the energy data of last storage, judge, repeat this process, until read correct energy data.If can not obtain correct energy data, Displaying Meter is abnormal on the LCD display module.
The multifunctional electric energy meter that the present invention has a redundancy electric energy data storage technology can recover fast and accurately because power source aging, the recovery of energy data when single-chip microcomputer causes the electric instrument cisco unity malfunction extremely, can compatible IIC interface, the ferroelectric memory of SPI interface or the middle data of EPPROM storer recover, simultaneously compatible 3.3 volts and 5 couchers are made ferroelectric memory and the EPPROM storer of power supply.
Below the preferred embodiment of the invention is illustrated, but the invention is not limited to embodiment, those of ordinary skill in the art also can make all modification that is equal to or replacement under the prerequisite without prejudice to the invention spirit, the modification that these are equal to or replacement all are included in the application's claim limited range.

Claims (10)

1. a multifunctional electric energy meter, is characterized in that, comprising: CPU, three-phase voltage current analog input circuit, ferroelectric memory, EPPROM storer, CPU are connected with ferroelectric memory, EPPROM storer, three-phase voltage current simulated measurement input circuit respectively,
The three-phase voltage current simulated measurement input circuit is sampled to the voltage in circuit, electric current, and is transferred to CPU,
CPU measuring voltage, current value, calculate integral power and electric energy, and when the electric energy increment surpasses while presetting threshold value, CPU is to the storage of carrying out energy data in ferroelectric memory; When distance C PU last time reaches predetermined value to time of EPPROM memory stores data, new energy data and temporal information are stored in the EPPROM storer.
2. multifunctional electric energy meter according to claim 1, it is characterized in that: described multifunctional electric energy meter also comprises communication module, relay output module, switching input module, analog quantity transformation output module, key-press module, clock chip, LCD display module and power module, and above-mentioned each module is connected with CPU.
3. multifunctional electric energy meter according to claim 1, it is characterized in that: CPU selects the SOC chip.
4. one of according to claim 1-3 described multifunctional electric energy meters, it is characterized in that: described ferroelectric memory adopts FM25CL64 chip, its first pin
Figure FDA00003557862900011
The 6th pin SCK, the 5th pin DI and the second pin DO are connected with the IO interface of CPU respectively, carry out reading and storing of energy data, adopt the SPI interface sequence to store and read energy data.
5. one of according to claim 1-3 described multifunctional electric energy meters, it is characterized in that: described EPPROM storer adopts the 24C02 chip, its the 6th pin WP and the 5th pin SDA are connected with the IO interface of CPU respectively, as the energy data supplementary storage, carry out the backup of energy data, the backup of adopting the IIC Interface realization to carry out energy data is read and back-up storage.
6. the data reconstruction method of a multifunctional electric energy meter, when electric energy meter need to carry out the data recovery, read energy data from ferroelectric memory and EPPROM storer, it is characterized in that, when electric energy meter storage data:
The first step, sample to the voltage in circuit, electric current, and measuring voltage, current value calculate integral power P and electric energy E,
Second step, judge that the electric energy increment, whether over presetting threshold value, surpasses setting threshold if electric energy increases, and the new energy data of storage in ferroelectric memory, be no more than setting threshold as electric energy, do not store new energy data in ferroelectric memory,
The 3rd step, whether judging distance last time reached predetermined value to the time of EPPROM memory stores data,, if reach predetermined value, new energy data and temporal information was stored in the EPPROM storer,, if do not reach predetermined value, proceed sampling monitoring.
7. the data reconstruction method of multifunctional electric energy meter as claimed in claim 6 is characterized in that: when electric energy meter need to carry out data while recovering:
The 4th step, read the energy data of storing in ferroelectric memory,
In the 5th step, judge whether the check code in data streams read is correct,, if correct, these data returned in electric energy meter,, if check code is incorrect, reads and be stored in recent energy data on the EPPROM storer.
8. the data reconstruction method of multifunctional electric energy meter as claimed in claim 7, it is characterized in that: in the 5th step, read energy data from the EPPROM storer after, judge whether the check code in data streams read is correct, if correct, these data are returned in electric energy meter, if check code is incorrect, read in the EPPROM storer before once the storage energy data, judge, repeat this process, until read correct energy data.If can not obtain correct energy data, electric energy meter is abnormal.
9. the data reconstruction method of multifunctional electric energy meter as claimed in claim 8 is characterized in that: electric energy meter shows the information and the duty of electric energy meter storage time that reads energy data from the EPPROM storer.
10., as the data reconstruction method of one of claim 6-9 described multifunctional electric energy meter, it is characterized in that: integral power P and electric energy E calculate by following formula:
P = Σ n = 0 N - 1 Un × In , E = Σ i = 0 N - 1 Pi × Ti .
CN201310313634.8A 2013-07-24 2013-07-24 Multifunctional electric energy meter and energy data restoration methods thereof Active CN103389411B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310313634.8A CN103389411B (en) 2013-07-24 2013-07-24 Multifunctional electric energy meter and energy data restoration methods thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310313634.8A CN103389411B (en) 2013-07-24 2013-07-24 Multifunctional electric energy meter and energy data restoration methods thereof

Publications (2)

Publication Number Publication Date
CN103389411A true CN103389411A (en) 2013-11-13
CN103389411B CN103389411B (en) 2016-08-31

Family

ID=49533745

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310313634.8A Active CN103389411B (en) 2013-07-24 2013-07-24 Multifunctional electric energy meter and energy data restoration methods thereof

Country Status (1)

Country Link
CN (1) CN103389411B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571961A (en) * 2014-12-31 2015-04-29 深圳市成为信息技术有限公司 Data verification backup, writing and reading method for triangle type memory device
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN110333387A (en) * 2019-06-13 2019-10-15 宁波三星医疗电气股份有限公司 A kind of electric quantity metering method of electric energy meter
CN110631662A (en) * 2018-06-23 2019-12-31 新智数字科技有限公司 Power-on self-test meter and power-on self-test method thereof
CN112416246A (en) * 2020-10-22 2021-02-26 浙江晨泰科技股份有限公司 High-resolution method for storing electric energy data

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1194638A (en) * 1997-09-19 1999-04-09 Toshiba Tec Corp Electronic meter
CN201188118Y (en) * 2008-03-19 2009-01-28 广东东方电讯科技有限公司 Whole electronic type intelligent electric meter
CN101514999A (en) * 2008-12-15 2009-08-26 安徽鑫龙电器股份有限公司 Electric power measurement multifunctional instrument system and method for measurement
US20090296511A1 (en) * 2008-05-27 2009-12-03 Via Technologies, Inc. Microprocessor with program-accessible re-writable non-volatile state embodied in blowable fuses of the microprocessor
CN101656432A (en) * 2009-09-08 2010-02-24 宁夏隆基宁光仪表有限公司 Electronic radio carrier communication watt-hour meter
CN101710153A (en) * 2009-12-12 2010-05-19 安徽鑫龙电器股份有限公司 Embedded electric energy meter with harmonic measurement function and measurement method thereof
CN101923112A (en) * 2010-07-26 2010-12-22 珠海中慧微电子有限公司 Method for managing high reliability of electric energy measurement data
CN202196119U (en) * 2011-09-15 2012-04-18 无锡华润矽科微电子有限公司 Single-phase multifunctional electric energy metering circuit
CN203455376U (en) * 2013-07-24 2014-02-26 江苏斯菲尔电气股份有限公司 Multifunctional electric energy meter with redundancy electric energy data storing technology

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1194638A (en) * 1997-09-19 1999-04-09 Toshiba Tec Corp Electronic meter
CN201188118Y (en) * 2008-03-19 2009-01-28 广东东方电讯科技有限公司 Whole electronic type intelligent electric meter
US20090296511A1 (en) * 2008-05-27 2009-12-03 Via Technologies, Inc. Microprocessor with program-accessible re-writable non-volatile state embodied in blowable fuses of the microprocessor
CN101514999A (en) * 2008-12-15 2009-08-26 安徽鑫龙电器股份有限公司 Electric power measurement multifunctional instrument system and method for measurement
CN101656432A (en) * 2009-09-08 2010-02-24 宁夏隆基宁光仪表有限公司 Electronic radio carrier communication watt-hour meter
CN101710153A (en) * 2009-12-12 2010-05-19 安徽鑫龙电器股份有限公司 Embedded electric energy meter with harmonic measurement function and measurement method thereof
CN101923112A (en) * 2010-07-26 2010-12-22 珠海中慧微电子有限公司 Method for managing high reliability of electric energy measurement data
CN202196119U (en) * 2011-09-15 2012-04-18 无锡华润矽科微电子有限公司 Single-phase multifunctional electric energy metering circuit
CN203455376U (en) * 2013-07-24 2014-02-26 江苏斯菲尔电气股份有限公司 Multifunctional electric energy meter with redundancy electric energy data storing technology

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李楠 等: "铁电存储器FM25640及其在电表数据存储中的应用", 《电子元器件应用》 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104571961A (en) * 2014-12-31 2015-04-29 深圳市成为信息技术有限公司 Data verification backup, writing and reading method for triangle type memory device
CN104571961B (en) * 2014-12-31 2018-01-09 深圳市成为信息技术有限公司 Data check backup, write-in and the read method of a kind of trigonometric expression storage device
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN110631662A (en) * 2018-06-23 2019-12-31 新智数字科技有限公司 Power-on self-test meter and power-on self-test method thereof
CN110333387A (en) * 2019-06-13 2019-10-15 宁波三星医疗电气股份有限公司 A kind of electric quantity metering method of electric energy meter
CN110333387B (en) * 2019-06-13 2021-08-31 宁波三星医疗电气股份有限公司 Electric energy metering method of electric energy meter
CN112416246A (en) * 2020-10-22 2021-02-26 浙江晨泰科技股份有限公司 High-resolution method for storing electric energy data
CN112416246B (en) * 2020-10-22 2022-07-08 浙江晨泰科技股份有限公司 High-resolution method for storing electric energy data

Also Published As

Publication number Publication date
CN103389411B (en) 2016-08-31

Similar Documents

Publication Publication Date Title
CN103389411A (en) Multifunctional watt-hour meter and electric energy data recovery method thereof
CN106569850B (en) Electric energy meter with independent metering part and management part and calibration method thereof
CN101435838B (en) Apparatus for measuring capacitance capacity
US20100241902A1 (en) System and method for performing automated testing of protective relay equipment
CN103427123A (en) Method for using battery capacity to maximum degree and hand-held terminal
CN203455376U (en) Multifunctional electric energy meter with redundancy electric energy data storing technology
CN104833942A (en) Battery power consumption automatic monitor for electric energy meter and application method thereof
CN103091550B (en) Synchronous isolation sampling direct-current power meter of wide voltage and large current
CN107505588A (en) A kind of electric energy meter combines error testing method and system
CN110083479B (en) EEPROM data protection method of intelligent electric energy meter
CN105575437A (en) Smart card EEPROM test method
CN104181488A (en) AC voltage-resistant testing apparatus
Kumar et al. Design of real time data acquisition with multi node embedded systems
CN203643504U (en) Single-phase intelligent electric energy meter based SOC technology
CN101937046A (en) Array type connector test device
CN203455405U (en) Electric energy data recovery device of electric instrument
CN112748271B (en) Electric energy meter and electric quantity metering method thereof
CN111044781B (en) Electric energy meter time-sharing electric quantity calculation method and device and computer equipment
CN101261210B (en) Cable branch joint sulfur hexafluoride air cell density remote-measuring system
CN202281829U (en) Battery monitoring component data automatic debug system
CN105372485A (en) Electric energy meter
CN103149400A (en) Intelligent ammeter in remote single phase cost control
CN104237842A (en) Alternating voltage test verification device for verifying automatic single-phase kilowatt-hour meter production line
CN209014652U (en) A kind of highly integrated electric energy meter circuit
CN204807147U (en) Electromagnetic water meter

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CB03 Change of inventor or designer information
CB03 Change of inventor or designer information

Inventor after: Zhang Fengchu

Inventor after: Zhang Shoushang

Inventor after: Wang Xiaojian

Inventor before: Zhang Shoushang

Inventor before: Wang Xiaojian

Inventor before: Ye Changming

Inventor before: Xu Wenzhuan

Inventor before: Zhang Fengchu

PE01 Entry into force of the registration of the contract for pledge of patent right
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Multifunctional watt-hour meter and electric energy data recovery method thereof

Effective date of registration: 20200121

Granted publication date: 20160831

Pledgee: Bank of Communications Ltd. Wuxi branch

Pledgor: JIANGYIN SFERE ELECTRIC Co.,Ltd.

Registration number: Y2020320010004

PC01 Cancellation of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20220725

Granted publication date: 20160831

Pledgee: Bank of Communications Ltd. Wuxi branch

Pledgor: JIANGYIN SFERE ELECTRIC Co.,Ltd.

Registration number: Y2020320010004