CN201387448Y - Multi-functional electric energy meter with high-reliability data storage function - Google Patents

Multi-functional electric energy meter with high-reliability data storage function Download PDF

Info

Publication number
CN201387448Y
CN201387448Y CN200920144641U CN200920144641U CN201387448Y CN 201387448 Y CN201387448 Y CN 201387448Y CN 200920144641 U CN200920144641 U CN 200920144641U CN 200920144641 U CN200920144641 U CN 200920144641U CN 201387448 Y CN201387448 Y CN 201387448Y
Authority
CN
China
Prior art keywords
data
microcontroller
prom
fram
flash
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.)
Expired - Fee Related
Application number
CN200920144641U
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 QIANCHENG ELECTRONICS CO Ltd
Original Assignee
QINGDAO QIANCHENG ELECTRONICS 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 QIANCHENG ELECTRONICS CO Ltd filed Critical QINGDAO QIANCHENG ELECTRONICS CO Ltd
Priority to CN200920144641U priority Critical patent/CN201387448Y/en
Application granted granted Critical
Publication of CN201387448Y publication Critical patent/CN201387448Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The utility model provides a multi-functional electric energy meter with high-reliability data storage function, and relates to electric energy meters. The multi-functional electric energy meter comprises a microcontroller, a metering unit, a storage unit and a man-machine interface, wherein, the metering unit comprises a metering chip ATT7022B; the microcontroller is connected with the metering chip ATT7022B and the man-machine interface through data cables; the microcontroller is classified as a microcontroller adopting a Cortex-M3 inner core; the storage unit comprises a ferroelectric memory (FRAM), two electrically erasable read-only memories (E<2>PROM 1 and E<2>PROM 2), and a flash memory (FLASH); the FRAM is connected with the microcontroller through an SPI bus 1; the E<2>PROM 1 is connected with the microcontroller through an I2C bus 1; the E<2>PROM 2 is connected with the microcontroller through an I2C bus 2; and the FLASH is connected with the microcontroller through an SPI bus 2. The utility model has the advantages of simple and reasonable structure, strong anti-interference ability, and high data storage reliability, and can solve problems of data error and data loss.

Description

A kind of high reliability data storage multifunctional electric energy meter
Technical field
The utility model relates to electric energy meter, a kind of specifically high reliability data storage multifunctional electric energy meter.
Background technology
Electric energy meter is the core measurement instrument of charging in the electric energy process of exchange, and the reliability of its accuracy, data is most important.Along with development of electronic technology, electric energy meter also transforms to the full electronic electric energy meter from mechanical induction type electric energy meter.Electronic electric energy meter can be stored data, and said data comprise:
(1) ammeter parameter,
(2) user is provided with parameter,
(3) current and historical energy data,
(4) load curve formed of instantaneous electrical quantity, i.e. load record, electrical quantity comprises voltage, electric current, power, power factor etc.,
(5) moment logout, time of taking place as decompression, defluidization incident and the electric weight when the decompression defluidization takes place etc.,
(6) maximum demand and time of origin thereof,
(7) status indicator allows sign etc. as power down sign, programming.
Storage data mode commonly used at present has:
(1) above-mentioned partial data is stored in the electric erasable read only storer E of microcontroller expansion 2Among the PROM,
(2) above-mentioned partial data is stored among the flash memory FLASH of microcontroller expansion,
(3) above-mentioned total data is stored in the built-in electric erasable read only storer E of microcontroller 2Among the PROM,
(4) above three kinds combination in any,
(5) ammeter parameter, user setup data, current and historical energy data are stored in electric erasable read only storer E 2Among the PROM, the load curve that instantaneous electrical quantity is formed is stored among the flash memory FLASH,
(6) above-mentioned total data is stored among the ferroelectric memory FRAM,
The prior art scheme has following shortcoming:
(1) adopts electric erasable read only storer E 2During PROM storage data, though E 2PROM is often erasable, but cost performance is low, capacity is little, and the running time is long, also needs after the operation to wait for a period of time, and has reduced storage efficiency.
When (2) adopting flash memory FLASH storage data, though FLASH cost performance height, capacity are big, erasable number of times is few.And FLASH generally adopts page or leaf to handle an enterprise schema, and efficient is low when non-page operations, increases erasable number of times, and the running time is long, and efficient is low.
When (3) adopting ferroelectric memory FRAM storage data, access speed is fast though FRAM has, the advantage of non-volatile ram, but also can take place unusually when running into special circumstances, receive when for example reading and writing data when pulse train, static discharge, moment strong electromagnetic radiation etc. disturbs, clock wire size or data-signal might be interfered and change should state, the mistake that reads and writes data occurs.
Because the working environment of electric energy meter is extremely abominable, surge in the electrical network, pulse train, cycle falls, interference such as strong moment electromagnetic radiation may be disturbed the normal operation of electric energy meter at any time, cause the maloperation of electric energy meter, the moment level variation of electronic circuit etc., so, only adopt the electric energy meter of one of above 6 kinds of data storage methods separately, error in data appears easily, serious problems such as loss of data, this brings economic dispute for the electric energy both parties, electric energy large user particularly, power consumption is big, record data are many, occur will causing great economic loss after the problems referred to above.
The utility model content
At the defective that exists in the prior art, the purpose of this utility model is to provide a kind of high reliability data storage multifunctional electric energy meter, and simple and reasonable, antijamming capability is strong, and the data storing reliability height can effectively solve error in data, data loss problem.
For reaching above purpose, the technical scheme that the utility model is taked is:
A kind of high reliability data storage multifunctional electric energy meter, comprise microcontroller, metering units, storage unit and man-machine interface, it is characterized in that: said metering units comprises computation chip ATT7022B, and microcontroller is connected with computation chip ATT7022B, man-machine interface respectively by data line; Said microcontroller is for adopting the microcontroller of Cortex-M3 kernel, and said storage unit comprises a ferroelectric memory FRAM, two electric erasable read only storer E 2PROM1, E 22, one flash memory FLASH of PROM, ferroelectric memory FRAM is connected electric erasable read only storer E by spi bus 1 with microcontroller 2PROM 1 is connected electric erasable read only storer E by I2C bus 1 with microcontroller 2PROM 2 is connected with microcontroller by I2C bus 2, and flash memory FLASH is connected with microcontroller by spi bus 2.
On the basis of technique scheme, said metering units also comprises current transformer and the resistor voltage divider circuit that is connected with the input port of computation chip ATT7022B.
On the basis of technique scheme, the capacity that is used to deposit the ferroelectric memory FRAM of energy data, historical electric weight, maximum demand, maximum demand time of origin, moment logout, maximum demand, status indicator, ammeter parameter is 256Kb; Be used for E to FRAM data+6CH backup 2The capacity of PROM 1 is 128KB; Be used for E to FRAM data+93H backup 2The capacity of PROM2 is 128KB; The capacity that is used to deposit the flash memory FLASH of load curve data is 8MB.
On the basis of technique scheme, ferroelectric memory FRAM, two electric erasable read only storer E 2PROM 1, E 2All according to actual needs by data block store, each data block all is divided into data division and check part to data among 2, one flash memory FLASH of PROM, and check part adopts verification and carries out checking treatment.
High reliability data storage multifunctional electric energy meter described in the utility model, simple and reasonable, antijamming capability is strong, and the data storing reliability height can effectively solve error in data, data loss problem.
Description of drawings
The utility model has following accompanying drawing:
The structural representation of Fig. 1 high reliability data storage multifunctional electric energy meter
Fig. 2 backup data store structure
Embodiment
Below in conjunction with accompanying drawing the utility model is described in further detail.
Fig. 1 is the structural representation of high reliability data storage multifunctional electric energy meter described in the utility model, comprise microcontroller, metering units, storage unit and man-machine interface, said metering units comprises computation chip ATT7022B, and microcontroller is connected with computation chip ATT7022B, man-machine interface respectively by data line; Said microcontroller is for adopting the microcontroller of Cortex-M3 kernel, and said storage unit comprises a ferroelectric memory FRAM, two electric erasable read only storer E 2PROM 1, E 22, one flash memory FLASH of PROM, ferroelectric memory FRAM is connected electric erasable read only storer E by spi bus 1 with microcontroller 2PROM 1 is connected electric erasable read only storer E by I2C bus 1 with microcontroller 2PROM2 is connected with microcontroller by I2C bus 2, and flash memory FLASH is connected with microcontroller by spi bus 2.The utility model uses FRAM, E simultaneously 2Three kinds of storage unit stores data of PROM, FLASH, the FRAM read or write speed is fast, reading-writing life-span is unlimited, but price is higher, can utilize it to store the most frequent data of erasable number of times, E 2PROM carries out data backup, FLASH stores a large amount of monoblock data of handling through FRAM.Said SPI is Serial Peripheral Interface (Serial Peripheral interface), said I2C is a kind of universal serial bus (Inter-Integrated Circuit) by the exploitation of Philips company, adopt the universal serial bus mode can reduce the connection of the circuit of hardware, simplify the design of whole electric energy circuit.
On the basis of technique scheme, said metering units also comprises current transformer and the resistor voltage divider circuit that is connected with the input port of computation chip ATT7022B.
On the basis of technique scheme, the capacity that is used to deposit the ferroelectric memory FRAM of energy data, historical electric weight, maximum demand, maximum demand time of origin, moment logout, maximum demand, status indicator, ammeter parameter is 256Kb; Be used for E to FRAM data+6CH backup 2The capacity of PROM 1 is 128KB; Be used for E to FRAM data+93H backup 2The capacity of PROM2 is 128KB; The capacity that is used to deposit the flash memory FLASH of load curve data is 8MB.
On the basis of technique scheme, ferroelectric memory FRAM, two electric erasable read only storer E 2PROM 1, E 2All according to actual needs by data block store, each data block all is divided into data division and check part to data among 2, one flash memory FLASH of PROM, and check part adopts verification and carries out checking treatment.
On the basis of technique scheme, microprocessor reads data among the FRAM by data block, and carries out and verification, if verification and correct, then decision data is errorless, if checksum error then read E 2PROM1 and E 2PROM2 deducts respectively+6CH and+93H, with corresponding data relatively, as long as when having two or three data identical, think that then identical data are valid data; To being stored in FRAM and E 2PROM1, E 2Data among the PROM2 also will be carried out the timing comparing verification, prevent the data entanglement; If the contrast verification is not judged correct data yet and then is as the criterion with verification and correct data.
The utility model adopts FRAM, E 2PROM, FLASH three layer data storage modes.The FRAM read or write speed is fast, reading-writing life-span is unlimited, but price is higher, can utilize it to store the most frequent data of erasable number of times, E 2PROM carries out data backup, FLASH stores a large amount of monoblock data of handling through FRAM.Utilize the advantage of these three kinds of storeies, data are backed up, every piece of data is all carried out checking treatment, when same data are inconsistent in data check mistake or the different memory, to carry out all Backup Datas judges relatively, remove misdata, analyze correct data, thereby solve the data exception phenomenon.Concrete data processing method is as follows:
(1) FRAM, E 2The connected mode of these three kinds of storeies of PROM, FLASH and MCU is as follows: FRAM and FLASH have adopted SPI (Serial Peripheral interface, Serial Peripheral Interface) bus mode, and E 2PROM adopts I2C (Inter-IntegratedCircuit) bus mode, as shown in Figure 1.Adopt the universal serial bus mode, the circuit that reduces hardware connects, and adopts this data storage mechanism, can not make the design of whole electric energy circuit become complicated.
(2) FLASH is mainly used to store the load curve record data.
(3) FRAM deposits the energy data that per second refreshes, historical electric weight, maximum demand, maximum demand time of origin, moment logout, maximum demand, status indicator, ammeter parameter etc.And in FRAM, carry out FLASH data page tissue.The microcontroller per second reads the electric weight of a computation chip ATT7022B, and the energy data that adds up a time.ATT7022B is in the SPI data read process, the data that will on a fixing unit backup, once read, therefore in order to improve the correctness of microcontroller reading of data, after reading electric weight at every turn, read the data of a backup units again, and the data of twice of front and back are compared, if these two data are identical, and satisfy the load range (be in ammeter a period of time electric weight aggregate-value should less than this ammeter maximal value of electric weight accumulative total during this period of time) of this table, think that then data are reasonable, microprocessor carries out electric weight accumulative total, and in time data is write among the FRAM, otherwise abandons this electric weight accumulative total.Moment, data such as logout, maximum demand, load curve record organized in FRAM through certain way, and after satisfying the FLASH page operations, data were write among the FLASH by page or leaf.And then read just write data and with FRAM in data compare, remove corresponding data among the FRAM again after correct.
(4) become load curves record such as a voltage that page or leaf handles, electric current, power, power factor and the whole page or leaf of checking data to write FLASH through FRAM, both improved operating efficiency, strengthen the unfailing performance of data, significantly reduce number of operations again, increased its service time FLASH.
(5) ammeter parameter, user be provided with data such as parameter, historical electric weight, maximum demand, requirement time of origin, status indicator in FRAM by after the storage of certain organizational form piecemeal, and at E 2PROM1 and E 2Carry out double copies among the PROM2.The data layout of data in FRAM as shown in Figure 2.Each data block, N data before this, be at last the earlier data cell data verification and; At E 2Data among the PROM1 are not that FRAM simply backs up, but corresponding data+6CH (16 system number) among the FRAM, at E 2Data among the PROM2 are corresponding data+93H among the FRAM (16 system numbers).When microcontroller reads above data at ordinary times, reading of data from FRAM, and verification earlier, if verification and correct, then decision data is errorless, if checksum error then read E 2PROM1 and E 2PROM2 deducts 6CH and 93H respectively, with corresponding data relatively, as long as when having two or three data identical, think that then identical data are valid data.To being stored in FRAM and E 2PROM1, E 2Data among the PROM2 also will be carried out the timing comparing verification, prevent the data entanglement.If the contrast verification is not judged correct data yet and then is as the criterion with verification and correct data.
Key point of the present utility model is that the data of electric energy meter are classified, be stored in the device based on different storage principles, increase data check and many backups, and be stored in the memory device of different performance, thereby greatly improved the reliability of data, avoided factor to cause economic loss, adopted the Cortex-M3 series A RM kernel microcontroller of high-performance, low-power consumption according to wrong, lose etc., improve data check speed, reduced cost simultaneously.

Claims (4)

1. a high reliability data is stored multifunctional electric energy meter, comprise microcontroller, metering units, storage unit and man-machine interface, it is characterized in that: said metering units comprises computation chip ATT7022B, and microcontroller is connected with computation chip ATT7022B, man-machine interface respectively by data line; Said microcontroller is for adopting the microcontroller of Cortex-M3 kernel, and said storage unit comprises a ferroelectric memory FRAM, two electric erasable read only storer E 2PROM 1, E 22, one flash memory FLASH of PROM, ferroelectric memory FRAM is connected electric erasable read only storer E by spi bus 1 with microcontroller 2PROM 1 is connected electric erasable read only storer E by I2C bus 1 with microcontroller 2PROM 2 is connected with microcontroller by I2C bus 2, and flash memory FLASH is connected with microcontroller by spi bus 2.
2. high reliability data storage multifunctional electric energy meter as claimed in claim 1, it is characterized in that: said metering units also comprises current transformer and the resistor voltage divider circuit that is connected with the input port of computation chip ATT7022B.
3. high reliability data as claimed in claim 1 or 2 storage multifunctional electric energy meter is characterized in that: the capacity that is used to deposit the ferroelectric memory FRAM of energy data, historical electric weight, maximum demand, maximum demand time of origin, moment logout, maximum demand, status indicator, ammeter parameter is 256Kb; Be used for E to FRAM data+6CH backup 2The capacity of PROM 1 is 128KB; Be used for E to FRAM data+93H backup 2The capacity of PROM 2 is 128KB; The capacity that is used to deposit the flash memory FLASH of load curve data is 8MB.
4. high reliability data storage multifunctional electric energy meter as claimed in claim 3 is characterized in that: ferroelectric memory FRAM, two electric erasable read only storer E 2PROM 1, E 2All according to actual needs by data block store, each data block all is divided into data division and check part to data among the PROM2, flash memory FLASH, and check part adopts verification and carries out checking treatment.
CN200920144641U 2009-02-25 2009-02-25 Multi-functional electric energy meter with high-reliability data storage function Expired - Fee Related CN201387448Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200920144641U CN201387448Y (en) 2009-02-25 2009-02-25 Multi-functional electric energy meter with high-reliability data storage function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200920144641U CN201387448Y (en) 2009-02-25 2009-02-25 Multi-functional electric energy meter with high-reliability data storage function

Publications (1)

Publication Number Publication Date
CN201387448Y true CN201387448Y (en) 2010-01-20

Family

ID=41579983

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200920144641U Expired - Fee Related CN201387448Y (en) 2009-02-25 2009-02-25 Multi-functional electric energy meter with high-reliability data storage function

Country Status (1)

Country Link
CN (1) CN201387448Y (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923112A (en) * 2010-07-26 2010-12-22 珠海中慧微电子有限公司 Method for managing high reliability of electric energy measurement data
CN102253279A (en) * 2011-06-03 2011-11-23 青岛乾程电子科技有限公司 Reliable data storage type multifunctional electric meter
CN102520242A (en) * 2011-12-12 2012-06-27 宁夏隆基宁光仪表有限公司 Recording method of load curves of electric energy meter
CN102520222A (en) * 2011-10-28 2012-06-27 宁波三星电气股份有限公司 Electric energy meter system anti-interference control method
CN102645581A (en) * 2012-04-28 2012-08-22 江苏省电力公司南通供电公司 Low-tension electricity metering device
CN104007411A (en) * 2014-06-13 2014-08-27 遵义长征电器开关设备有限责任公司 Detection and control device for multi-function watt-hour meter
CN104281536A (en) * 2014-09-28 2015-01-14 株洲南车时代电气股份有限公司 Device and method for separated storage of data
CN104571961A (en) * 2014-12-31 2015-04-29 深圳市成为信息技术有限公司 Data verification backup, writing and reading method for triangle type memory device
CN105739928A (en) * 2016-01-29 2016-07-06 山东鲁能智能技术有限公司 Multi-region storage based parameter storage method for distribution network terminal device
CN106708440A (en) * 2016-12-26 2017-05-24 深圳市科陆电子科技股份有限公司 Electric energy meter and data storage method for load curve of electric energy meter
CN108122594A (en) * 2017-12-19 2018-06-05 宁波三星医疗电气股份有限公司 A kind of efficient intelligent electric energy meter date storage method and its intelligent electric energy meter
CN108152780A (en) * 2017-11-23 2018-06-12 广州市首试科技有限公司 A kind of intelligent appliance electric energy metering device
CN108874298A (en) * 2017-05-15 2018-11-23 深圳市奇辉电气有限公司 A kind of method and device of data storage

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101923112A (en) * 2010-07-26 2010-12-22 珠海中慧微电子有限公司 Method for managing high reliability of electric energy measurement data
CN102253279A (en) * 2011-06-03 2011-11-23 青岛乾程电子科技有限公司 Reliable data storage type multifunctional electric meter
CN102520222A (en) * 2011-10-28 2012-06-27 宁波三星电气股份有限公司 Electric energy meter system anti-interference control method
CN102520242A (en) * 2011-12-12 2012-06-27 宁夏隆基宁光仪表有限公司 Recording method of load curves of electric energy meter
CN102645581A (en) * 2012-04-28 2012-08-22 江苏省电力公司南通供电公司 Low-tension electricity metering device
CN102645581B (en) * 2012-04-28 2013-06-05 国家电网公司 Low-tension electricity metering device
CN104007411A (en) * 2014-06-13 2014-08-27 遵义长征电器开关设备有限责任公司 Detection and control device for multi-function watt-hour meter
CN104281536A (en) * 2014-09-28 2015-01-14 株洲南车时代电气股份有限公司 Device and method for separated storage of data
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
CN105739928A (en) * 2016-01-29 2016-07-06 山东鲁能智能技术有限公司 Multi-region storage based parameter storage method for distribution network terminal device
CN106708440A (en) * 2016-12-26 2017-05-24 深圳市科陆电子科技股份有限公司 Electric energy meter and data storage method for load curve of electric energy meter
CN108874298A (en) * 2017-05-15 2018-11-23 深圳市奇辉电气有限公司 A kind of method and device of data storage
CN108874298B (en) * 2017-05-15 2021-08-03 深圳市奇辉电气有限公司 Data storage method and device
CN108152780A (en) * 2017-11-23 2018-06-12 广州市首试科技有限公司 A kind of intelligent appliance electric energy metering device
CN108122594A (en) * 2017-12-19 2018-06-05 宁波三星医疗电气股份有限公司 A kind of efficient intelligent electric energy meter date storage method and its intelligent electric energy meter

Similar Documents

Publication Publication Date Title
CN201387448Y (en) Multi-functional electric energy meter with high-reliability data storage function
CN102081118B (en) Real-time metering two-way communication intelligent ammeter
CN109085909A (en) A kind of distribution of disk array standby method for electrically and device
CN106940625A (en) The date storage method of intelligent electric meter
CN110515542A (en) Date storage method, calculates equipment, storage system and storage medium at device
CN102346938A (en) Automatic electricity charging/selling system
CN200996971Y (en) Composite electric-energy managing system of load control and multiplexing time-sharing charging
CN103455391A (en) Dynamic adjustment data protection device and method
CN201828608U (en) Three-phase intelligent electric energy meter
CN2836112Y (en) Financial tax-controlled cash register
CN201607794U (en) Tax control tray
CN103207834B (en) A kind of electric energy data storage method
CN108052456A (en) A kind of electricity data storage method, system and a kind of electricity data storage device
CN112748271B (en) Electric energy meter and electric quantity metering method thereof
CN102253279B (en) Reliable data storage type multifunctional electric meter
CN203455376U (en) Multifunctional electric energy meter with redundancy electric energy data storing technology
CN2836114Y (en) Tax controller
CN202177943U (en) Automatic electricity charging and selling system
CN202339602U (en) Local single-phase cost control smart electric energy meter
CN202339600U (en) Local-carrier single-phase cost-control intelligent watt-hour meter
CN202177945U (en) Card charging power charging and selling system
CN1271100A (en) Radio paging multifunctional watt-hour meter
CN205247610U (en) Long -range device of checking meter of distributing type
CN204576674U (en) Internet of Things intellective IC card wireless watermeter
CN2836116Y (en) Tax-controlled cash register with power-down protection

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100120

Termination date: 20130225