CN110400422A - A kind of electric energy meter charging method - Google Patents

A kind of electric energy meter charging method Download PDF

Info

Publication number
CN110400422A
CN110400422A CN201910558664.2A CN201910558664A CN110400422A CN 110400422 A CN110400422 A CN 110400422A CN 201910558664 A CN201910558664 A CN 201910558664A CN 110400422 A CN110400422 A CN 110400422A
Authority
CN
China
Prior art keywords
electric energy
energy meter
fees
esam
electricity
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.)
Pending
Application number
CN201910558664.2A
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 iTechene Technologies Co ltd
Original Assignee
Qingdao iTechene Technologies 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 iTechene Technologies Co ltd filed Critical Qingdao iTechene Technologies Co ltd
Priority to CN201910558664.2A priority Critical patent/CN110400422A/en
Publication of CN110400422A publication Critical patent/CN110400422A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/14Payment architectures specially adapted for billing systems
    • G06Q20/145Payments according to the detected use or quantity
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/06Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity with means for prepaying basic charges, e.g. rent for meters

Landscapes

  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention belongs to electric energy meter charging method technical fields, more particularly to being a kind of electric energy meter charging method, technical process are as follows: after electric energy meter, which detects, to be powered on, the state of deducting fees before electric energy meter power down is differentiated, it does not deduct fees before electric energy meter power down, operation of deducting fees is implemented to the residual amount in ESAM;It deducted fees before electric energy meter power down, to in ESAM residual amount and power down before the amount of money that backs up be compared and CRC check, it deducts fees success, without operation, it deducts fees failed, re-start operation of deducting fees, electric energy list procedure operates ESAM use reliable processing mode during power down: when a loss of power is detected, MCU first judges current MCU working condition, when detecting to ESAM operation, stop the operation to ESAM, and record current power expense and status word, it detects when not operated to ESAM, records present operating state word.

Description

A kind of electric energy meter charging method
Technical field:
The invention belongs to electric energy meter charging method technical fields, and in particular to be a kind of electric energy meter charging method, can solve Certainly electric energy meter successfully cannot deduct fees and repeat the problem of deducting fees.
Background technique:
Electric energy meter uses the energy storage of electrolytic capacitor for ESAM (embedded safe control module) power supply during power down, when use Clock battery is MCU (micro-control unit) power supply.When electric energy meter detects power down, MCU initiates instruction and executes the behaviour that deducts fees to ESAM Make, after ESAM deducts fees successfully, and electrolytic capacitor energy storage is just in exhausting at this time, and ESAM fails will deduct fees result return MCU, MCU ESAM is mistakenly considered to deduct fees not successfully.When electric energy meter powers on again, MCU judges the residual amount of unread ESAM, MCU ESAM fee deduction instruction is sent again, leads to that the amount of money in ESAM is carried out to repeat to deduct fees, the residual amount in ESAM is caused to be lower than The residual amount of EEPROM.There is deducting fees wrong reason mainly in following factor: (1) abnormal meter of deducting fees occurs, in hardware Its power supply redundancy scarce capacity of aspect major embodiment is that the energy storage section in power circuit arranges unreasonable cause.Work as power grid When voltage is frequent power down and powers on, the electrolytic capacitor energy storage in power-supply system is insufficient, when there is power loss event, using falling Dump energy supply in electric moment electrolytic capacitor is completed to operate ESAM and other hardware circuits, will occur electricity at this time Dump energy can not supply the case where operation of the peripheral hardwares such as ESAM is completed completely in solution capacitor, so that MCU cannot correctly be read ESAM deduct fees as a result, and MCU not backed up to residual amount, when powering on again, MCU, which is re-started, to deduct fees, so Back and forth, the generation that ESAM repeats the case where deducting fees is caused;(2) amount of money, which bears the phenomenon that jumping, when frequently powering off can determine electric energy The power down of table deducts fees process there are major defect, and reason has two: first is that power down is deducted fees, process is defective, when operating ESAM after power down Between do not consider stay allowance, second is that not carrying out correction process to stored value card when powering on, cause to repeat to deduct fees.When MCU is detected When to power loss event, MCU completes the operation of deducting fees to ESAM using the dump energy in electrolytic capacitor, and does not have on software There are the correction process of stored value card, the only state recording to ESAM operation.Electric energy meter detects when powering on, and MCU is to shape of deducting fees State is simply read, and does not carry out verification correction process to stored value card, when deduct fees state recording mistake when occur weight The occurrence of deducting fees again.Electric energy meter in the prior art restores in data management mode, data backup mechanism and parameter error correction Existing defects in terms of mechanism: the data interaction and management of the parameters such as rate electricity price go wrong, and influence the operation of rate electric price parameter Correctness;The back mechanism of parameter is incomplete in program processing, it cannot be guaranteed that the reliability of parameter;Operating parameter error correction machine System goes wrong, can not discriminant parameter correctness and timely correction.For example, one disclosed in Chinese patent 201610227994.X Kind intelligent electric meter charging method is comprising steps of S1: parameter of deducting fees is inputted in intelligent electric meter, the parameter of deducting fees includes item of deducting fees Mesh and corresponding time and the amount of money of deducting fees of deducting fees of project of deducting fees;S2: intelligent electric meter inspects periodically deduct fees project and the button of enabling Take the period;S3: check whether intelligent electric meter remaining sum is sufficient, if it is, entering step S4;S4: whether detection is currently to deduct fees Time;S5: if step S4 judging result be it is yes, execute corresponding fee deduction and operate and store record of deducting fees;S6: intelligent electric meter will Record of deducting fees uploads to cloud;The project of deducting fees includes house lease expense and/or management for infrastructure fee and/or water rate and/or electricity Take and/or combustion gas expense, the corresponding amount of money of deducting fees of the project of deducting fees is the Flat Amount being stored in intelligent electric meter or artificial defeated The amount of money or intelligent electric meter for entering intelligent electric meter receive the amount of money from cloud, and the step S3 specifically further includes sub-step: being checked Whether intelligent electric meter remaining sum is sufficient, if it is not, then prompt user supplements with money, step S6 specifically includes sub-step: S61, intelligent electric meter The record that will first deduct fees uploads to mobile terminal, then uploads to cloud platform center by the mobile terminal record that will deduct fees;S62, intelligence electricity The table record that will directly deduct fees uploads to cloud platform center, and the method also includes steps: S7: cloud platform center to deduct fees record into Row storage, and notify that user deducts fees situation.Therefore, a kind of electric energy meter charging method is designed, cannot successfully be buckled with solving electric energy meter The problem of expense and repetition are deducted fees, there is social value and application prospect very much.
Summary of the invention:
It is an object of the invention to overcome disadvantage of the existing technology, seeks to design a kind of electric energy meter charging method, adopt With reliable data check mode and the error correction preventing mechanism for powering on load electricity, multiple types and prepare more part are carried out to electricity data Processing.
To achieve the goals above, the technical process of electric energy meter charging method of the present invention are as follows: when electric energy meter detects To after powering on, the state of deducting fees before electric energy meter power down is differentiated, is not deducted fees before electric energy meter power down, to surplus in ESAM The remaining amount of money implements operation of deducting fees;Deducted fees before electric energy meter power down, in ESAM residual amount and power down before the gold that backs up Volume is compared and CRC check, success of deducting fees, and without operation, deducts fees failed, re-starts operation of deducting fees.
Electric energy meter charging method of the present invention uses high reliability CRC16 highly fault tolerant (cyclic redundancy check code) school Binding characteristic value judges while testing, and memory write runs secure authentication mechanisms when operating, and prevents unexpected data writing operation.
Electric energy meter charging method of the present invention carries out double copies to data, and electricity Backup Data is divided into: the RAM of MCU The major and minor two parts of electricity datas of memory, E2Prom memory electricity data is divided into: power down memory block electricity data and every degree electricity electricity Backup Data is measured, every conventional electricity Backup Data of degree electricity is divided into: backing up in turn in two regions;According to backup when powering on load electricity The priority of data judges one by one, until recovering correct data.
Electric energy meter charging method of the present invention is surveyed by whitepack emulation testing, functional test and analog hardware failure Examination shows that normally and under abnormal conditions parameter processing is accurate for electricity processing under abnormal condition.
The parameter management of electric energy meter charging method of the present invention is managed collectively using control data corporation, and parameter changes Change is uniformly allocated, and prevents abnormal cause from parameter being caused to be changed;Supplemental characteristic uses RAM and E2The mode of PROM backup, And stipulated that priority orders, judge step by step, guarantee parameter is right value.
Electric energy meter charging method timing of the present invention judges the legitimacy of parameter and calls back mechanism.
The electric energy meter longtime running of electric energy meter charging method of the present invention is tested, and is tested including supplementing with money, recharge amount Accumulative, remaining capacity, tripartite implement, and corresponding inspection record and documentary evidence are generated after test ending.
Compared with prior art, the present invention having fully considered the allowance of electrolytic capacitor, tests, advising repeatedly by actual Within the scope of fixed temperature, remain to that corresponding hardware is maintained to complete operation, the power supply of ESAM after MCU detects that electric energy meter enters power down Part is controlled by MCU, and when electric energy meter does not need to operate ESAM, MCU further drops the dump of ESAM Low-power consumption increases the stability of product;The part that power down process is carried out for MCU, can accomplish the detection in advance of power down, avoid The situation of detection of power loss bring power down process sluggishness is only done at MCU power supply: when detecting supply voltage lower than specific work When making voltage range, electric energy meter carries out preservation work to relevant parameter, stops the operation to hardware circuit, and voltage return is waited to arrive When normal working voltage range, then carry out corresponding operating;While making a clean sweep of electricity before detection, increased in MCU minimum system Supply voltage detection chip carries out respective backup to data and stops the behaviour to hardware when MCU operating voltage occurs abnormal Make;Two kinds of detection of power loss cooperate, and when a kind of detection of power loss mode breaks down, MCU is by another detection of power loss mode Continuation accurately works, and enhances reliability;Electric energy list procedure operates ESAM use reliable processing mode during power down: When a loss of power is detected, MCU first judges current MCU working condition, when detecting to ESAM operation, stopping pair The operation of ESAM, and current power expense and status word are recorded, detect that record operates at present when not operating to ESAM Status word;When there is power-down conditions generation, to status word, electricity consumption situation, deduct fees before after the amount of money and the amount of money of deducting fees carries out double copies Into low power consumpting state, electric energy meter is waited to power on.
Detailed description of the invention:
Fig. 1 is that power down of the present invention is deducted fees flow diagram.
Fig. 2 is power down process flow diagram of the present invention.
Fig. 3 is electricity backup flow diagram of the present invention.
Specific embodiment:
The present invention is described further below by embodiment and in conjunction with attached drawing.
Embodiment 1:
When the electric energy meter charging method test that the present embodiment is related to, firstly, having filled 500 yuan of electricity charge, scala media to electric energy meter Ladder is set as two values of 50kWh and 200kWh, and step price is set to 0.3 yuan/kWh, 0.4 yuan/kWh and 0.5 yuan/kWh, so Afterwards, by dry run in 1 month, power-on and power-off, the frequent power down for during which interting not timing are powered on and are had good luck using equipment electricity consumption, Electric energy meter is set to accumulate total electricity consumption 300kWh, finally, calculating according to step price, the electricity charge of generation should be 50 × 0.3+150 × 0.4+100 × 0.5=125 member, actually deducts fees 125 yuan, remaining practical 375 yuan of the electricity charge of electric energy meter, complies fully with design specification, It does not repeat to deduct fees or deduct fees less.

Claims (4)

1. a kind of electric energy meter charging method, it is characterised in that technical process are as follows: after electric energy meter, which detects, to be powered on, fall to electric energy meter The state of deducting fees before electricity is differentiated, is not deducted fees before electric energy meter power down, implements operation of deducting fees to the residual amount in ESAM; Deducted fees before electric energy meter power down, in ESAM residual amount and power down before the amount of money that backs up be compared and CRC check, Success of deducting fees deducts fees failed without operation, re-starts operation of deducting fees.
2. electric energy meter charging method according to claim 1, it is characterised in that using binding characteristic while CRC16 verification Value judgement, memory write run secure authentication mechanisms when operating.
3. electric energy meter charging method according to claim 1, it is characterised in that carry out double copies, electricity backup number to data According to being divided into: the major and minor two parts of electricity datas of the RAM memory of MCU;E2Prom memory electricity data is divided into: power down memory block electricity Measure data and every degree power consumption Backup Data;Every conventional electricity Backup Data of degree electricity is divided into: backing up in turn in two regions;It powers on and adds Judged one by one when carrying electricity according to the priority of Backup Data, until recovering correct data.
4. electric energy meter charging method according to claim 1, it is characterised in that parameter management is united using control data corporation One management, the change of parameter are uniformly allocated;Supplemental characteristic uses RAM and E2The mode of PROM backup is, it is specified that priority is suitable Sequence judges step by step.
CN201910558664.2A 2019-06-26 2019-06-26 A kind of electric energy meter charging method Pending CN110400422A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910558664.2A CN110400422A (en) 2019-06-26 2019-06-26 A kind of electric energy meter charging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910558664.2A CN110400422A (en) 2019-06-26 2019-06-26 A kind of electric energy meter charging method

Publications (1)

Publication Number Publication Date
CN110400422A true CN110400422A (en) 2019-11-01

Family

ID=68323437

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910558664.2A Pending CN110400422A (en) 2019-06-26 2019-06-26 A kind of electric energy meter charging method

Country Status (1)

Country Link
CN (1) CN110400422A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114487588A (en) * 2021-12-22 2022-05-13 青岛乾程科技股份有限公司 High-precision fee deduction method and assembly for electric energy meter based on FRAM

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288809A1 (en) * 2006-05-24 2007-12-13 Tsutomu Baba Method for updating nonvolatile memory
CN101135975A (en) * 2006-08-29 2008-03-05 中兴通讯股份有限公司 Method for detecting system utility program matching
US7707376B2 (en) * 2006-10-06 2010-04-27 Konica Minolta Business Technologies, Inc. Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up
CN104408824A (en) * 2014-11-25 2015-03-11 国家电网公司 Cost control intelligent electric energy meter payment function reliability test device and test method
CN106097588A (en) * 2016-06-15 2016-11-09 无锡市恒通电器有限公司 A kind of single-phase cost-control intelligent ammeter
CN106648982A (en) * 2016-12-15 2017-05-10 宁波迦南智能电气股份有限公司 Electric energy meter power down protection data storing method
CN106842105A (en) * 2017-02-14 2017-06-13 珠海中慧微电子股份有限公司 A kind of method for reducing electric energy metering error
CN107703476A (en) * 2017-10-30 2018-02-16 深圳市江机实业有限公司 A kind of method for carrying out three-phase intelligent electric-energy meter fault self-checking in erecting bed
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
CN109212462A (en) * 2018-11-15 2019-01-15 国网四川省电力公司电力科学研究院 A kind of fault detection method of single-phase intelligent electric energy meter residual amount exception

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070288809A1 (en) * 2006-05-24 2007-12-13 Tsutomu Baba Method for updating nonvolatile memory
CN101135975A (en) * 2006-08-29 2008-03-05 中兴通讯股份有限公司 Method for detecting system utility program matching
US7707376B2 (en) * 2006-10-06 2010-04-27 Konica Minolta Business Technologies, Inc. Verifying the validity of data saved at power down by comparing the time of save to time of power-off upon start up
CN104408824A (en) * 2014-11-25 2015-03-11 国家电网公司 Cost control intelligent electric energy meter payment function reliability test device and test method
CN106097588A (en) * 2016-06-15 2016-11-09 无锡市恒通电器有限公司 A kind of single-phase cost-control intelligent ammeter
CN106648982A (en) * 2016-12-15 2017-05-10 宁波迦南智能电气股份有限公司 Electric energy meter power down protection data storing method
CN106842105A (en) * 2017-02-14 2017-06-13 珠海中慧微电子股份有限公司 A kind of method for reducing electric energy metering error
CN107703476A (en) * 2017-10-30 2018-02-16 深圳市江机实业有限公司 A kind of method for carrying out three-phase intelligent electric-energy meter fault self-checking in erecting bed
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
CN109212462A (en) * 2018-11-15 2019-01-15 国网四川省电力公司电力科学研究院 A kind of fault detection method of single-phase intelligent electric energy meter residual amount exception

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114487588A (en) * 2021-12-22 2022-05-13 青岛乾程科技股份有限公司 High-precision fee deduction method and assembly for electric energy meter based on FRAM

Similar Documents

Publication Publication Date Title
CN104813182B (en) The steady state detection of abnormal charge event in the cell device being connected in series
CN107748331B (en) Method for checking reliability of battery
CN109188296B (en) BBU electric quantity verification method, device, terminal and FCC calculation method
CN106338690A (en) Standby battery detection method, device and system and power supply method
US11221933B2 (en) Holdup self-tests for power loss operations on memory systems
CN105097050B (en) A kind of storage life test method
CN110515538A (en) A kind of dynamic lithium battery SOC storage method
US20120053870A1 (en) Testing of a battery of a computing device
CN103809147A (en) AC ammeter fault self diagnosis method
CN110083479B (en) EEPROM data protection method of intelligent electric energy meter
WO2024156233A1 (en) Battery pack equalization method and apparatus, vehicle, and storage medium
CN110596636A (en) Smart electric meter power-on loading correction method
US9933488B2 (en) Open circuit voltage checking for a battery system
CN105738855A (en) Intelligent electric meter embedded application-orientated test method
CN111966071A (en) Data classification, storage and verification method for vehicle-mounted controller
CN110400422A (en) A kind of electric energy meter charging method
CN114137434B (en) Uninterrupted power supply equipment testing method, equipment and system
CN113885691B (en) Chip power consumption adjustment method, neural network training method, device and chip system
CN111176878A (en) Server BBU (building base band Unit) standby power diagnosis method, system, terminal and storage medium
CN111273181A (en) Battery backup unit monitoring method and device, server and readable storage medium
CN108802627A (en) Test method, device, system and readable storage medium storing program for executing independently-powered BBU
CN105044652A (en) Intelligent electric energy meter data interaction abnormity reset data fault-tolerant capacity test device and method
CN115576487A (en) Battery replacement type new energy automobile power battery data storage method and device
CN116185737A (en) DC abnormal power failure detection method and device based on notebook computer and computer equipment
CN113421605B (en) Electric energy meter memory life test method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191101