CN1670489A - IC card intelligent gas meter - Google Patents

IC card intelligent gas meter Download PDF

Info

Publication number
CN1670489A
CN1670489A CN 200510041933 CN200510041933A CN1670489A CN 1670489 A CN1670489 A CN 1670489A CN 200510041933 CN200510041933 CN 200510041933 CN 200510041933 A CN200510041933 A CN 200510041933A CN 1670489 A CN1670489 A CN 1670489A
Authority
CN
China
Prior art keywords
circuit unit
card
chip microcomputer
gas meter
valve
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
CN 200510041933
Other languages
Chinese (zh)
Other versions
CN100412515C (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.)
XI'AN HUAFENG INVESTMENT DEVELOPMENT Co Ltd
Original Assignee
XI'AN HUAFENG INVESTMENT DEVELOPMENT 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 XI'AN HUAFENG INVESTMENT DEVELOPMENT Co Ltd filed Critical XI'AN HUAFENG INVESTMENT DEVELOPMENT Co Ltd
Priority to CNB2005100419336A priority Critical patent/CN100412515C/en
Publication of CN1670489A publication Critical patent/CN1670489A/en
Application granted granted Critical
Publication of CN100412515C publication Critical patent/CN100412515C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Credit Cards Or The Like (AREA)

Abstract

This invention relates to an IC intelligent gas meter, which comprises the following parts: single machine separately connected with LCD unit and drive unit, EEPROM data memory unit, IC card, write interface circuit unit, signal sampling and magnetic protective circuit unit, single machine reset circuit unit, valve drive circuit unit, key display circuit unit, power leakage measurement circuit unit, power lower voltage measurement circuit unit, single machine on-line program circuit unit.

Description

A kind of IC-card intelligent gas meter
One, technical field:
The present invention relates to a kind of metering gas meter, flow meter, especially relate to a kind of IC-card intelligent gas meter.
Two, background technology:
The IC-card gas meter, flow meter is the high-tech product that traditional gas meter, flow meter technology combines with current electronic computer technology.Compare with traditional gas meter, flow meter product, main advantage is to realize pre paid functionality.Stopped traditional gas meter, flow meter product in paying user's use, because the excessive hysteresis of the tolerance that various improper factors cause loss and the clearing of gas money.This technical feature is reliable, and is safe in utilization, convenient, cooperates networking to sell the gas management system, realized selling the robotization of gas management, user data management, becomes the direction of gas metering intelligent product development.
Early stage IC-card gas meter, flow meter technology is because the controller hardware design has certain limitation and the defective on the design concept on the core devices type selecting, some mortality problems of ubiquity, these problems mainly are reflected in the following aspects: 1. quiescent dissipation is big, causes user's use interior frequent battery of changing a middle or short term.2. IC-card and controller are prone to random number, fall number and kill card (IC-card is locked) phenomenon in process of data communication.3. being prone to tolerance in system's power down and the power up loses and random number phenomenon.4. because the hardware configuration design is improper, when meeting artificial destruction, easily cause long logical table problem.Above problem has become the persistent ailment of IC-card gas meter, flow meter technical development in the past few years, does not still have a cover complete and effective solution so far.
Three, summary of the invention:
The present invention is in order to solve the weak point in the above-mentioned background technology, a kind of IC-card intelligent gas meter is provided, its quiescent dissipation is little, do not need frequently to change battery in user's use, be not prone to random number, fall number and IC-card deadlock phenomenon, and can prevent various artificial destruction power down and the system disorders and the long logical table problem that cause.
For achieving the above object, the technical solution used in the present invention is:
Compared with prior art, the advantage and the effect that have of the present invention is as follows:
A kind of IC-card intelligent gas meter; its special character is: comprise single-chip microcomputer, SCM peripheral is connected with liquid crystal display and driver element, EEPROM data storage cell, IC-card reading and writing interface circuit unit, signal sampling and magnetic holding circuit unit, single-chip microcomputer power-off reset circuit unit, valve driving circuit unit, button display circuit unit, power supply power-fail testing circuit unit, power supply low-voltage detection circuit unit, single-chip microcomputer online programming circuit unit respectively.
Above-mentioned SCM peripheral also is connected with the booster circuit unit, and the booster circuit unit is connected with electric capacity low-voltage detection circuit unit.
Above-mentioned valve driving circuit unit adopts the transistor coupling amplification circuit, and valve adopts the two-way no stall valve of electromechanical integration.
But above-mentioned single-chip microcomputer is a FLASH type overprogram single-chip microcomputer.
The program circuit of above-mentioned single-chip microcomputer is:
1. begin;
2. system initialization;
3. master routine;
4. park mode;
5. break in service entry program;
6. IC-card interrupt service subroutine, flow pulse handling interrupt service subprogram, magnetic protection query processing subroutine, button show interrupt service subroutine, power supply low-voltage interrupt service subroutine, power supply power-fail interrupt service subroutine, electric capacity low-voltage interrupt service subroutine;
7. IC-card is read and write handler module, erasable memory read-write program module, liquid crystal display handler module, valve opening handler module and valve closing handler module, buzzer warning handler module, booster circuit control program module.
Compared with prior art, the advantage and the effect that have of the present invention is as follows:
1, is the little power consumption of assurance system, at utmost prolong battery serviceable life, system design all fully takes into account power problems in parts such as single-chip microcomputer type selecting, " EEPROM data storage cell ", " liquid crystal display and drive circuit unit ", " booster circuit unit ", and propose a solution, cooperate the scm software design, the I/O port during with dormancy all places power down mode.By above measure, the actual quiescent dissipation of native system is less than 5uA, can reach in theory the serviceable life of single-unit lithium battery more than 5 years, and 4 joint 5# common batteries can reach more than 1 year serviceable life.Reached the These parameters requirement in the actual use of product.
2, in process of data communication, be prone to random number, fall number and kill the problem of blocking (IC-card is locked) at IC-card and controller, in this system design by anti-shake technology and antistatic technology, cooperate data transmission verification and IC-card error code counting in the software design to stop thought, the proposition that has effectively solved above problem.
3, tolerance is lost and random number problem at being prone in system's power down and the power up, native system is separated detection of power loss from low-voltage detection circuit, judge separately, and design increases single-chip microcomputer power-off reset circuit, because problems such as number, random number and easy deadlock are fallen by the system that 1 boundary's operating voltage point is caused, practical effect is obvious to prevent single-chip microcomputer.
4, for because the hardware configuration design is improper, when meeting artificial destruction, easily cause long logical table problem.Show that mainly some system is with the large bulk capacitance in the structural design replacement hardware circuit design of battery case, when the user changes battery and opens battery case lid, action by the microswitch in the structural design judges whether to change battery so just certainly exists the problem of long logical table; Small-sized vast capacity electric capacity is adopted in the native system design, neither increases the structural design difficulty of whole table, can satisfactorily resolve system's power down protection problem again.
5, circuit board optimal design: board design, layout are reliably to realize the key of hardware principle design.Native system has solved the defective that exists in the product design in early stage in the board design layout; many effective measures that help system reliability have been taked; make circuit-board laying-out more become reasonable; anti-interference when the little power consumption of system strengthens greatly; and consider production, detect the technological requirement in the link; easy and simple to handle, reasonable in feasible production, the testing process, at utmost enhance productivity, reach the large-scale production requirement.Also fully take into account the convenience and the operability of after services of product, program software upgrading in addition in the board design.
Four, description of drawings:
Fig. 1 is a schematic block circuit diagram of the present invention;
Fig. 2 is circuit theory diagrams of the present invention.
Fig. 3 is a program flow chart of the present invention.
Five, embodiment:
Referring to Fig. 1, Fig. 2; comprise single-chip microcomputer; SCM peripheral is connected with liquid crystal display and driver element, EEPROM data storage cell, IC-card read-write interface circuit unit, signal sampling and magnetic holding circuit unit, single-chip microcomputer power-off reset circuit unit, valve driving circuit unit, button display circuit unit, power supply power-fail testing circuit unit, power supply low-voltage detection circuit unit, single-chip microcomputer online programming circuit unit respectively; SCM peripheral also is connected with the booster circuit unit, and the booster circuit unit is connected with electric capacity low-voltage detection circuit unit.Below above-mentioned each functional unit is described below respectively:
1, single-chip microcomputer (MPU)
Single-chip microcomputer is the core of control system, and sending all of the reception of all signals, processing, data computation and steering order finished by it.Native system is selected the U.S.'s little core PIC of company series New Type of Chip Microcomputer for use, this single-chip microcomputer adopts little power consumption nanowatt technology, 22 I/O ports are provided, each port can provide the driving force of 25mA, 4K ~ 8K FLASH program's memory space, the RAM of 192Bytes, article 35, reduced instruction set computer, built-in WATCHDOG timer, 8 can have dormancy (SLEEP) pattern of electricity-saving function by the interrupt source that interrupt priority is set, wide operating voltage range (2.0V ~ 6V), the selection of multiple running clock form and powder source management mode, technical grade environmental requirement design is fit to the designing requirement of IC-card gas meter, flow meter product fully.
2, EEPROM data storage cell
Data-carrier store is to be used for storing other information of card number, password, tolerance, Status Flag and user, and it passes through I 2C communication modes and single-chip microcomputer carry out data transmission.Native system adopts eeprom memory, and operating voltage 1.8V ~ 5V is optional, and this storer can be with data reliable memory 100 years, and can carry out effectively wiping and writing for 100,000 times.This element working power is in off working state at ordinary times by the single-chip processor i/o port controlling, to prevent the improper rewriting of data and to save system power dissipation.
3, IC-card and read-write interface unit
IC-card is the medium that is used for preserving user profile, password, Status Flag and purchases gas tolerance, equally also is to pass through I 2C communication modes and single-chip microcomputer carry out data transmission, and IC-card is table one card for the user, and it is to finish by single-chip microcomputer that its cipher authentication, tolerance shift.What native system was selected for use is the logic encryption card of atmel corp, and this IC-card has 2 grades of key managements, and 4 error code numerations limit, and the data retention cycle is 100 years, and effectively wiping and write indegree is 100,000 times.Native system can be divided into IC-card 5 kinds of " system is provided with card ", " tolerance test card ", " data write-back card ", " user's initialized card ", " user purchase the gas card " etc. on usable range.
High reliability, long-life deck are selected in the design of IC-card read-write interface unit for use, guarantee data reading and writing success ratio, circuit design adopts anti-shake technology, anti-rogue attacks technology and antistatic perturbation technique, to be fit to the requirement of complicated crowd's environment for use and landlocked dry environment.
4, liquid crystal display and driver element
Native system adopts LCD, can show 9999.99m 3Tolerance information and " protection ", " residue ", " amount of owing ", " pass valve ", " hanging down " reach Chinese condition prompting information such as " mistakes block ".LCD at ordinary times the most of the time be in closed condition, to save system power dissipation, have only when the outside is pressed display button, plug-in card or pulse signal is arranged, LCD just is in the work illuminating state.The segment encode that driving circuit provides LCD to show by Single-chip Controlling, has 72 sections (18 * 4) inner mapping display-memory, operating voltage range 2.4V ~ 5.2V, inner 256KHz RC oscillator, 1/2 or 1/3 biasing is selected and 1/2,1/3 or 1/4 dutycycle is selected, 3-line serial interface is selected the LCD operating voltage by biasing resistor, reduces drive circuit power consumption by power down instructions.
5, signal sampling and magnetic holding circuit unit
The function of this part mainly is to provide traffic pulse and magnetic protection level signal for single-chip microcomputer; pulse signal and sending of level signal of magnetic protection are to be finished by reed capsule; design philosophy comprises anti-shake technology and magnetic guard signal validity judgment technology, detains the frequent generation of gas and mistake protection action to eliminate mistake.Single-chip microcomputer after receiving effective magnetic guard signal, significant data is saved in EEPROM after, valve-off sends the alarm indication instruction.
6, single-chip microcomputer power-off reset circuit unit
This element mainly is when preventing that the single-chip microcomputer operating voltage is near zero boundary's working point (minimum operating voltage), and the I/O port might be in abnomal condition, produces misoperation to such an extent as to influence peripheral circuit, causes system's unrest number, falls problems such as several and deadlock.Realize that thought is when certain is put more than the single-chip microcomputer operating voltage is in minimum operating voltage, single-chip microcomputer to be resetted by force, to prevent the disorderly and program richochet of single-chip processor i/o port status.This element has the system power-on reset function simultaneously.
7, valve driving circuit unit
The valve driving unit is meant to valve working provides satisfactory electric current and voltage.The transistor coupling amplification circuit is adopted in the native system design, and the valve driving electric current above 500mA can be provided, and valve adopts the two-way no stall valve of electromechanical integration, and reliable open and close action is greater than 5000 times, and running current is lower than 50mA.Single-chip microcomputer sends the open and close instruction by 2 I/O ports to driving circuit.Design of drive circuit has input with " height " or with the " low " state holding circuit, damages driving circuit when preventing abnormal state.
8, button display circuit unit
The major function of this element is to send shows signal to single-chip microcomputer, after single-chip microcomputer is judged as useful signal, sends to the liquid crystal display driver element and to light instruction, data and status information in the display system.Design philosophy is mainly anti-shake treatment technology.
9, single-chip microcomputer online programming circuit unit
But the single-chip microcomputer that system design is selected for use is a FLASH type overprogram, utilize this function to upgrade to Single Chip Microcomputer (SCM) program software easily, for development, production and the after sale service of product brings great convenience, cause circuit board integral body to scrap the loss that is brought with respect to OTP type single-chip microcomputer owing to software vulnerability simultaneously, its advantage is apparent.This element circuit adopts the programming of 2 lines, cooperates the conversion programmed thought of native system uniqueness, does not need expensive special-purpose programming device, utilizes common fever writes reliably to programme repeatedly.
10, power supply power-fail testing circuit unit
The function of this unit is send (the changing battery etc.) of finishing power-off signal, and single-chip microcomputer can be preserved data to EEPROM after receiving useful signal, and valve-off sends the information instruction simultaneously.System disorders that prevents various artificial destruction power down and cause and long logical table problem.
11, power supply low-voltage detection circuit unit
The function of this unit is when battery electric quantity is not enough, sends the battery low-voltage signal to single-chip microcomputer, and single-chip microcomputer is preserved data to EEPROM after receiving useful signal, and valve-off sends the alarm indication instruction.
12, booster circuit unit
When supply voltage was 6V, this circuit can omit.When supply voltage is 3V, this circuit provides the reference power supply of 5V for system, the work of booster circuit is by Single-chip Controlling, be in off working state at ordinary times, to save system power dissipation, have only when the electric weight deficiency in the super capacitor or system when dormant state is waken up, just to open booster circuit be the super capacitor charging or carry out normal control operation by Single-chip Controlling.The key of design philosophy is the booster circuit assurance of effective working hour.
13, super capacitor low-voltage detection circuit unit
The design function of super capacitor mainly is that working power after the working power that is not less than certain electrical voltage point and the system's power down is provided during for system hibernates.For guaranteeing that sufficient stable electric weight is arranged in the super capacitor, the super capacitor low-voltage detection circuit is essential, system when dormancy, the work that wakes up after back and the power down all can rulyly reliably finish.
Important technological parameters of the present invention:
1, supply voltage: DC 3V * 1 or DC 1.5V * 4
2, valve working voltage: 3-6V
3, valve working electric current: 30mA (on average)
4, open and close valve time :≤1S
5, static working current :≤5uA
6, environment temperature :-25 ℃-60 ℃
7, ambient humidity: 〉=90%
Referring to Fig. 3, the exploitation of IC-card intelligent gas meter software section mainly is according to the hardware design principle single-chip microcomputer to be carried out programming.Edition upgrading has for many years been passed through in the exploitation of this software, drawn the feedback information in a large amount of actual uses, remedy the requirement that can't realize in many hardware design, used long-term next experience and do not have meter, solved unpredictable problem in numerous actual uses.Running software clear thinking after the feasible typing, reliable.The programming of single-chip microcomputer assembly language is adopted in the design of this software, the program structure modularization, and software performance is reliable and stable, has reached requirement of massive production.
The program module function:
System initialization:
System initialization is mainly finished the definition of variable register, and system is provided with the configuration of register, the definition of the setting of I/O port controling register and data register and some SCM peripheral functional module registers.
1, master routine
The work that master routine is mainly finished is System self-test, the judgement of various reset modes, and to the initialization assignment of defined variable register, the output state of outer each functional module of inquiry single-chip microcomputer is if state effectively then calls corresponding program module; The power down mode of the I/O port before also comprising best opportunity of determining out interruption in addition and the single-chip microcomputer dormancy being set.The core technology of this program segment is to interrupt unlatching opportunity, the judgement of reset types and the setting of redirect and I/O port power down mode.
2, single-chip microcomputer park mode
The single-chip microcomputer dormancy is meant by the SLEEP instruction and makes single-chip microcomputer be in sleep pattern, this moment, single-chip microcomputer all of the port state will remain on the state before the dormancy instruction is carried out, outside running clock also can quit work, thereby the single-chip microcomputer power attenuation is reduced to minimum point.Have only when the external interrupt generation and the generation that resets, just can wake single-chip microcomputer up the execution corresponding operating from dormant state.Utilize this function can reduce the overall power of system greatly, prolong battery serviceable life.
3, break in service entry program
Single-chip microcomputer enters the break in service entry program after waking up from park mode immediately, judges the position of exterior interrupt in this program, finishes the function that this subroutine realizes thereby enter corresponding interrupt service subroutine control.Last before withdrawing from the break in service entry program interrupt identification bit clear of status register being laid equal stress on newly opened interruption.The priority that focuses on interrupt source of this program segment is provided with thought, with the hidden danger of avoiding interrupting conflicting and being caused.
4, IC-card interrupt service subroutine
The work that will finish at this program segment is to judge that the application type of IC-card is to finish the operation of corresponding card.The application type of native system design IC-card is divided into following 5 kinds of forms:
System is provided with card: the key that dispatches from the factory is set, and table pulse constant is removed tolerance, and above parameter is saved in the outside eeprom memory.
The tolerance test card: be used for simulating the tolerance card of stopwatch in the production testing process, the tolerance data in this card are with the data former with tolerance among covering memory and the EEPROM.
Data write-back card: the table password among the EEPROM, user's card number, residue tolerance, accumulative total are purchased data retrographies such as tolerance, accumulative total consumption and pulse constant in IC-card.This card also comprises the data forwarding function in addition, is about to user data and is transferred in another piece table by a table.
User's initialized card: the effect of this card is with user cipher, purchases data such as tolerance, user's card number and transfer among the EEPROM, and removes zone bit in the card and the retrography user cipher main password area in the card; This card has been automatically converted to the user and has purchased the gas card afterwards, uses when purchasing gas next time in order to the user.Because therefore the uniqueness of user cipher has only same user to use identical subscriber card, system is just confirmed, otherwise wrong the card 3 times, IC-card will so just be reached the designing requirement of " card one table " by temporarily locked.
The user purchases the gas card: the user can repeat to purchase gas and supplement with money, and the tolerance data accumulation after will supplementing with money is in the table in the residue tolerance data, and after the data success unloading, system will remove and purchase the gas sign in the card, and the gas number of times is purchased in change, prepares against and purchases the gas use next time.
5, the problem that will consider in the IC-card interrupt service routine mainly is: because IC-card belongs to the contact-type data transmission, and in user's plug-in card process, mode of operation is different, pulling out phenomenons such as card is too fast, artificial shake is difficult to avoid, this just requires handling procedure to finish all processes as far as possible at short notice, with the mistake card, kill phenomenons such as card, data transmission be wrong and be reduced to bottom line.In the landlocked environment of arid, use IC-card in addition, card body itself with static be enough to make single-chip microcomputer generation homing action, cause the systemic-function disorder, this also is to need the problem considered in this program module.The use that focuses on the anti-shake technology of software of this program segment, the velocity process technology of reading and writing IC card, data transmission calibration technology and prevent the hard locking technique of IC-card etc.
6, flow pulse handling interrupt service subprogram
The button gas pulse interrupts design and adopts single-chip microcomputer INT to interrupt, the work that will finish of having no progeny in entering mainly is the button gas disposal, promptly in residue tolerance, deduct the unit tolerance value of a pulse representative, and judge whether residue tolerance is zero or is lower than alarm tolerance, to take corresponding protection prompting measure; Calculate simultaneously to increase and add up to consume value.The emphasis of this program segment is the judgement of anti-shake The Application of Technology and magnetic protection validity.
7, magnetic protection query processing subroutine
Magnetic protection inquiry is to finish in the pulse-break handling procedure, if state is effective, then the corresponding protection operation is carried out in control.This status poll technology can avoid the magnetic protection is caused as interrupting the problem of frequent mistake protection.
8, button shows interrupt service subroutine
This subroutine mainly is the action that judges whether that the requirement button shows, if state is effective, then opens liquid crystal display drive circuit and shows residue tolerance, accumulative total tolerance and intrasystem condition prompting information.
9, power supply low-voltage interrupt service subroutine
The power supply low-voltage is meant when cell voltage is lower than and sets down in limited time that data are preserved in programmed control, valve-off, and open the liquid crystal display warning message.This interrupt routine is outlet not; be that program run is endless loop, circulation display alarm information is driven valve repeatedly, is closed the valve protection action owing to what cell voltage shake caused preventing; having of this action may cause because the electric capacity undercharge finally causes long logical table problem.
10, power supply power-fail interrupt service subroutine
Though the function of this program segment is identical with the function that the power supply low-voltage is interrupted realization, adopt different interrupt source designs can simplify the hardware design principle and improve reliability of system operation.
11, electric capacity low-voltage interrupt service subroutine
When the super capacitor undertension, it is the super capacitor charging that booster circuit is opened in this subroutine control, and opens the prompting of liquid crystal display charged state, and booster circuit and liquid crystal display were closed in programmed control after charging was finished.Other program modules also can be interted and call this subroutine, as the low electricity of power supply, power down program module, to guarantee to have enough energy drives valve workings.
12, IC-card read-write handler module
The IC-card read-write program mainly is the transmission of carrying out data according to the read-write sequence of IC-card.Focus technology is to shorten access time as far as possible, prevent owing to the user pull out card too fast cause number, random number and wrong card problem.
13, erasable memory read-write program module
The work of this program module is that outside eeprom memory is carried out data write.By Single-chip Controlling EEPROM working power, save system power dissipation.Data check in the read-write process is the core of this program module.
14, liquid crystal display handler module
Data presented and Status Flag call the subroutine of tabling look-up as required, find out corresponding display segment code, write the liquid crystal driver map unit, light LCD by driver, require the data presented status information to finish.This program segment comprises multiple demonstration skill, as roll display, local glittering, refresh technique etc.
15, valve opening handler module and valve closing handler module
Mainly finish the open and close action of valve, for guaranteeing the reliability of valve switch, repeatedly open and close technology of segmentation is adopted in program design, adopts control output end mouth combinations of states analysis simultaneously, guarantees that valve driving circuit is not damaged.
16, buzzer warning handler module
This program module is called by a plurality of other program modules, and the combinations of states in the coupled system makes hummer send chimes of doom.
17, booster circuit control program module
Booster circuit mainly is to use when the low electricity of master routine inlet, dormancy awakening and super capacitor, and for satisfying the demand of difference in functionality, the time length that booster circuit is opened has certain craftsmenship.

Claims (5)

1, a kind of IC-card intelligent gas meter; it is characterized in that: comprise single-chip microcomputer, SCM peripheral is connected with liquid crystal display and driver element, EEPROM data storage cell, IC-card reading and writing interface circuit unit, signal sampling and magnetic holding circuit unit, single-chip microcomputer power-off reset circuit unit, valve driving circuit unit, button display circuit unit, power supply power-fail testing circuit unit, power supply low-voltage detection circuit unit, single-chip microcomputer online programming circuit unit respectively.
2, a kind of IC-card intelligent gas meter according to claim 1, it is characterized in that: described SCM peripheral also is connected with the booster circuit unit, and the booster circuit unit is connected with electric capacity low-voltage detection circuit unit.
3, a kind of IC-card intelligent gas meter according to claim 2 is characterized in that: described valve driving circuit unit adopts the transistor coupling amplification circuit, and valve adopts the two-way no stall valve of electromechanical integration,
4, a kind of IC-card intelligent gas meter according to claim 3 is characterized in that: but described single-chip microcomputer is a FLASH type overprogram single-chip microcomputer.
5, a kind of IC-card intelligent gas meter according to claim 4, it is characterized in that: the program circuit of single-chip microcomputer is:
1. begin;
2. system initialization;
3. master routine;
4. park mode;
5. break in service entry program;
6. IC-card interrupt service subroutine, flow pulse handling interrupt service subprogram, magnetic protection query processing subroutine, button show interrupt service subroutine, power supply low-voltage interrupt service subroutine, power supply power-fail interrupt service subroutine, electric capacity low-voltage interrupt service subroutine;
7. IC-card is read and write handler module, erasable memory read-write program module, liquid crystal display handler module, valve opening handler module and valve closing handler module, buzzer warning handler module, booster circuit control program module.
CNB2005100419336A 2005-04-11 2005-04-11 IC card intelligent gas meter Expired - Fee Related CN100412515C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2005100419336A CN100412515C (en) 2005-04-11 2005-04-11 IC card intelligent gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2005100419336A CN100412515C (en) 2005-04-11 2005-04-11 IC card intelligent gas meter

Publications (2)

Publication Number Publication Date
CN1670489A true CN1670489A (en) 2005-09-21
CN100412515C CN100412515C (en) 2008-08-20

Family

ID=35041835

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2005100419336A Expired - Fee Related CN100412515C (en) 2005-04-11 2005-04-11 IC card intelligent gas meter

Country Status (1)

Country Link
CN (1) CN100412515C (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645014A (en) * 2008-08-09 2010-02-10 海信(北京)电器有限公司 Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip
CN101937594A (en) * 2009-12-17 2011-01-05 北京泰科先锋科技有限公司 Split direct-reading type IC (Integrated Circuit) card/CPU (Central Processing Unit) card flow meter
CN102240219A (en) * 2011-07-19 2011-11-16 李悦 Hand pressure quantitative regulation hemostasis device
CN102298807A (en) * 2011-06-28 2011-12-28 哈尔滨理工大学 Intelligent low-power-consumption IC (Integrated Circuit) card film type gas meter
CN102393232A (en) * 2011-11-30 2012-03-28 浙江荣鑫燃气表有限公司 Security type wireless intelligent gas meter
CN102651686A (en) * 2011-02-23 2012-08-29 上海华虹集成电路有限责任公司 On-line programmable identity authentication method for singlechip
CN105279855A (en) * 2014-07-24 2016-01-27 西安莱德燃气仪表有限公司 Intelligent gas meter with NFC radio frequency CPU card
CN106023451A (en) * 2016-05-18 2016-10-12 广州正峰电子科技有限公司 Intelligent instrument and billing monitoring system
CN113671874A (en) * 2021-08-20 2021-11-19 青岛鼎信通讯股份有限公司 Intelligent water meter valve control method

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2264899Y (en) * 1995-12-27 1997-10-15 朝阳华龙电子仪表有限公司 Gas meter with IC card
CN2306484Y (en) * 1997-06-13 1999-02-03 合肥行健光电仪器有限公司 Fuzzy controlled intelligent card safety gas-meter
CN2308103Y (en) * 1997-08-22 1999-02-17 陈倜 Metering control device for gas meter with intelligence IC card
CN2468020Y (en) * 2001-02-22 2001-12-26 耿惊涛 Magnetic card type digital gasometer
CN2511948Y (en) * 2001-09-21 2002-09-18 陕西航天动力高科技股份有限公司 Gas meter with multiple cards in correspondence with multiple meters
CN2546849Y (en) * 2002-01-11 2003-04-23 湖南平安科技有限公司 Digital type pre-payment water or gas meter
CN2558968Y (en) * 2002-07-17 2003-07-02 李庆功 Electronic counting real time display IC card gas flowmeter
CN2783278Y (en) * 2005-04-11 2006-05-24 西安华丰投资发展有限公司 IC and intelligent gas meter

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101645014A (en) * 2008-08-09 2010-02-10 海信(北京)电器有限公司 Method for simulating data storage of EEPROM by using built-in FLASH program storing device of single-chip
CN101937594A (en) * 2009-12-17 2011-01-05 北京泰科先锋科技有限公司 Split direct-reading type IC (Integrated Circuit) card/CPU (Central Processing Unit) card flow meter
CN101937594B (en) * 2009-12-17 2011-12-07 北京泰科先锋科技有限公司 Split direct-reading type IC (Integrated Circuit) card/CPU (Central Processing Unit) card flow meter
CN102651686A (en) * 2011-02-23 2012-08-29 上海华虹集成电路有限责任公司 On-line programmable identity authentication method for singlechip
CN102298807A (en) * 2011-06-28 2011-12-28 哈尔滨理工大学 Intelligent low-power-consumption IC (Integrated Circuit) card film type gas meter
CN102240219A (en) * 2011-07-19 2011-11-16 李悦 Hand pressure quantitative regulation hemostasis device
CN102393232A (en) * 2011-11-30 2012-03-28 浙江荣鑫燃气表有限公司 Security type wireless intelligent gas meter
CN105279855A (en) * 2014-07-24 2016-01-27 西安莱德燃气仪表有限公司 Intelligent gas meter with NFC radio frequency CPU card
CN105279855B (en) * 2014-07-24 2018-03-09 西安莱德燃气仪表有限公司 NFC radio frequency CPU card intelligent gas meters
CN106023451A (en) * 2016-05-18 2016-10-12 广州正峰电子科技有限公司 Intelligent instrument and billing monitoring system
CN113671874A (en) * 2021-08-20 2021-11-19 青岛鼎信通讯股份有限公司 Intelligent water meter valve control method
CN113671874B (en) * 2021-08-20 2023-08-15 青岛鼎信通讯股份有限公司 Intelligent water meter valve control method

Also Published As

Publication number Publication date
CN100412515C (en) 2008-08-20

Similar Documents

Publication Publication Date Title
CN1670489A (en) IC card intelligent gas meter
US5987613A (en) Portable computer with time-sensitive tri-modal power management switch
Jayakumar et al. QuickRecall: A HW/SW approach for computing across power cycles in transiently powered computers
CN104137024B (en) The methods, devices and systems for high energy efficiency and energy-conservation including the use of the energy-efficient processor thermal throttle of deep drop power mode
US5268845A (en) Method for detecting low battery state without precise calibration
CN101517510B (en) Transitioning a computing platform to a low power system state
CN202422270U (en) Intelligent water meter controller with IC (intelligent circuit) card
Salajegheh et al. Getting things done on computational RFIDs with energy-aware checkpointing and voltage-aware scheduling
US10089182B2 (en) Energy-efficient nonvolatile microprocessor
CN201083993Y (en) Microcontroller
CN204066009U (en) A kind of system of fingerprints reducing power consumption and complicacy
CN102707790A (en) Automatic switching device for laptop and control method thereof
CN101154212A (en) Eight-digit compatible C51 instruction set microcontroller
CN200990087Y (en) Eight-bit simple instruction set micro-controller
CN200997136Y (en) Micro-controller structure of built-in comparater
CN105279855B (en) NFC radio frequency CPU card intelligent gas meters
CN103150288B (en) A kind of SOC of quick turn-on and its implementation
CN209457558U (en) A kind of low power-consumption intelligent electronic lock of wireless transmission
CN2783278Y (en) IC and intelligent gas meter
CN204143550U (en) NFC radio frequency CPU card intelligent gas meter
CN205068285U (en) Intelligence computer cooling system
CN103699857B (en) The anti-hacking device of electronic equipment and electronic equipment
CN102940491B (en) Sleep and breath preliminary screening instrument with timing power-on function and power-saving method
CN207067727U (en) Wireless awakening SCM system
CN203480375U (en) Core board

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080820

Termination date: 20150411

EXPY Termination of patent right or utility model