CN1204376C - IC card water meter - Google Patents

IC card water meter Download PDF

Info

Publication number
CN1204376C
CN1204376C CN 03132194 CN03132194A CN1204376C CN 1204376 C CN1204376 C CN 1204376C CN 03132194 CN03132194 CN 03132194 CN 03132194 A CN03132194 A CN 03132194A CN 1204376 C CN1204376 C CN 1204376C
Authority
CN
China
Prior art keywords
unit
water
card
read
price
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
CN 03132194
Other languages
Chinese (zh)
Other versions
CN1484004A (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.)
YANGZHOU HENGXIN INSTRUMENT CO Ltd
Original Assignee
YANGZHOU HENGXIN INSTRUMENT 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 YANGZHOU HENGXIN INSTRUMENT CO Ltd filed Critical YANGZHOU HENGXIN INSTRUMENT CO Ltd
Priority to CN 03132194 priority Critical patent/CN1204376C/en
Publication of CN1484004A publication Critical patent/CN1484004A/en
Application granted granted Critical
Publication of CN1204376C publication Critical patent/CN1204376C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Control Of Vending Devices And Auxiliary Devices For Vending Devices (AREA)

Abstract

The present invention relates to a metering or measuring meter, which aims at providing an IC card water meter of which IC cards can be used by instant insertion for multiple users. The present invention has the technical scheme that the microprocessor with solidifying programs executes the steps that the quantity of water of a unit is set; the water price of a unit is calculated; the amount of money read in the card is compared with the water price of a unit; if the read number of the amount of money is smaller than the water price of a unit, the display step is executed; if the read number of the amount of money is not smaller than the water price of a unit, the water price of a unit is subtracted from the read number; the differential value is written in the IC card; a control circuit sends out an instruction to open a valve; an instruction to read the flow quantity of the valve is sent to a flow device; the flow quantity and the quantity of water of a unit are compared; if the flow quantity is equal to the quantity of water of a unit, an instruction to read the amount of money in the card is sent to a read-write device of the IC card; if the read number of the amount of money is not smaller than the water price of a unit, the comparing step is executed; if the read number of the amount of money is smaller than or equal to the water price of a unit, an instruction to close the valve is sent to the control circuit.

Description

-kind of IC-card water meter
Technical field
The present invention relates to a kind of metering or measurement instrument, particularly a kind of IC-card water meter that can supply a plurality of user's plug and play IC-cards.
Background technology
Existing IC-card water meter, be by the IC-card medium, deposit the user on the IC-card disposable being written in the water meter of pay imformation, be converted into water consumption, in water meter, prestore, the water yield of the each consumption of user is also only deducted in the water consumption in being stored in water meter, an IC-card usefulness as disposable transmission information.After the interior pay imformation of IC-card is written into water meter, have only after its water yield that is converted into exhausts, next water consumption of opening on IC-card is just used.If a plurality of users use same water meter measurement, then can't write down the water yield of using separately, can not accomplish that each user consumes the water rate that prestores on the own IC-card separately.
Summary of the invention
Purpose of the present invention is exactly the defective that overcomes above-mentioned existing IC-card water meter, provide a kind of can be for a plurality of user's immediate consumption water rate and when the user consumes, of prestoring on the IC-card separately at every turn consuming the IC-card water meter that the amount of money is deducted from IC-card.
The objective of the invention is to realize: a kind of IC-card water meter by following scheme, comprise water meter, IC-card, IC-card seat, the microprocessor that has program curing, storer, IC-card read-write equipment and control circuit, display device, it is characterized in that this microprocessor that has program curing is carried out following steps:
1) unit's of establishing water yield;
2) unit of account water price;
3) Igor Kanygin specified number and the unit water price that reads compared; If the amount of money number that reads is less than the unit water price, execution in step 11);
4) if the amount of money number unit of the being not less than water price that reads will read the number unit of deducting water price;
5) difference is write IC-card;
6) send out the valve instruction to control circuit;
7) send to flow apparatus and read valve flow instruction;
8) flow and the unit water yield are compared, if the unit's of equaling water yield is then sent to the IC-card read-write equipment and read the instruction of Igor Kanygin volume;
9) if the amount of money number unit of the being not less than water price that reads, execution in step 3);
10), then send and close the valve instruction to control circuit if the amount of money number that reads is less than or equal to the unit water price.
11) send the display message instruction to display device.
Above-mentioned microprocessor and storer also can synthesize the singlechip chip with CPU, storer.
The said IC-card water meter of the present invention is when moving in the above described manner, and each user can use the IC-card of supplementing with money of oneself to consume at any time, and can be with consumption figure immediately from blocking interior deduction, and a plurality of users can use a water meter.
Description of drawings
Fig. 1 is the block scheme of main circuit structure of the present invention.
Fig. 2 is a microprocessor control flow chart in the IC-card water meter of the present invention.
Fig. 3 is a main circuit schematic diagram of the present invention.
1-microprocessor 2-display device 3-IC card read-write equipment 4-control circuit 5-motor
Embodiment
Be described further below in conjunction with accompanying drawing.
The present invention includes existing common water meter, IC-card, IC-card seat, the microprocessor 1 that has program curing, storer, IC-card read-write equipment 3 and control circuit 4, display device 2.The main circuit structure as shown in Figure 1, wherein, microprocessor 1 is the hinge of The whole control circuit, it and be solidificated in wherein programmed control and reading and the switching of valve actuator IC-card.As shown in Figure 3, it is Microchip pic mcu chip that above-mentioned microprocessor 1 is selected model for use, and it is connected with IC-card read-write equipment 3 by p10, p11 pin, realizes the read-write operation of IC-card; Be connected with control circuit 4 by pin p13, p14, control circuit 4 is connected the keying of operation valve topworks with motor 5 and low noise high pulling torque gear.Display device 2 is that a LCDs is connected with p20, p21, p22 pin, can show the status information of IC-card.
IC-card is handled through encryption measures and is had fixing data layout, wherein contains overhead code, unique identifier, payment amount of money sign indicating number, reads and write operation for microprocessor, and the data on the IC-card can form the control to the water meter duration of valve opening.
As shown in Figure 2, when energising, microprocessor at first sends query statement to the IC-card read-write equipment, whether inquiry wherein has card, if have, then whether the field headquarters data segment is not that sky and form are legal in the inquirying card, if, illustrate that then the user has the right to use this product, otherwise then show corresponding error message.Microprocessor sends reading command to the IC-card read-write equipment, and the Igor Kanygin specified number is read in storer, and establishing the per unit water yield is 1 milliliter, calculates the per unit water price by standard water price at that time; The Igor Kanygin specified number and the unit water price that read are compared; If the amount of money number that reads then sends instruction to display device less than the unit water price, show insufficient in amount information; If the amount of money number unit of the being not less than water price that reads then will read the number units of deducting water price, and send to the IC-card read-write equipment and to write instruction, difference is write IC-card; Microprocessor sends out the valve instruction to control circuit, drives the first order gear rotation of transmission group by the motor rotation of control circuit control driving gear set, thereby drives the rotation of final stage gear, and the rotation that drives ball valve opens and closes valve; Microprocessor sends instruction to display device, shows corresponding information according to running status.Microprocessor is obtained valve flow information from flow apparatus; The flow and the unit water yield are compared, if the unit's of equaling water yield is carried out and read Igor Kanygin volume step; The Igor Kanygin specified number and the unit water price that read are compared; If the amount of money number that reads is less than the unit water price, then microprocessor sends to control circuit and closes the valve instruction; Microprocessor sends the information command that shows insufficient in amount to display device.If not, then get back to above-mentioned will reading and count the unit's of deducting water price step.

Claims (5)

1, a kind of IC-card water meter comprises water meter, IC-card, IC-card seat, the microprocessor that has program curing, storer, IC-card read-write equipment and control circuit, display device, it is characterized in that, this microprocessor that has program curing is carried out following steps:
1) unit's of establishing water yield;
2) unit of account water price;
3) Igor Kanygin specified number and the unit water price that reads compared; If the amount of money number that reads is less than the unit water price, execution in step 11);
4) if the amount of money number unit of the being not less than water price that reads will read the number unit of deducting water price;
5) difference is write IC-card;
6) control circuit sends out the valve instruction;
7) send to flow apparatus and read valve flow instruction;
8) flow and the unit water yield compare, if the unit's of equaling water yield is then sent to the IC-card read-write equipment and read the instruction of Igor Kanygin volume;
9) if the amount of money number unit of the being not less than water price that reads, execution in step 3);
10), then send and close the valve instruction to control circuit if the amount of money number that reads is less than or equal to the unit water price.
11) send the display message instruction to display device.
2, water meter according to claim 1 is characterized in that, described microprocessor, the storer that has program curing is the singlechip chip with CPU, storer.
3, water meter according to claim 1 and 2 is characterized in that, the above-mentioned unit water yield is made as 1 milliliter.
4, water meter according to claim 1 and 2 is characterized in that, described display device is a liquid crystal indicator.
5, water meter according to claim 1 and 2 is characterized in that, described microprocessor model is Microchip pic mcu.
CN 03132194 2003-07-08 2003-07-08 IC card water meter Expired - Fee Related CN1204376C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03132194 CN1204376C (en) 2003-07-08 2003-07-08 IC card water meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03132194 CN1204376C (en) 2003-07-08 2003-07-08 IC card water meter

Publications (2)

Publication Number Publication Date
CN1484004A CN1484004A (en) 2004-03-24
CN1204376C true CN1204376C (en) 2005-06-01

Family

ID=34154031

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03132194 Expired - Fee Related CN1204376C (en) 2003-07-08 2003-07-08 IC card water meter

Country Status (1)

Country Link
CN (1) CN1204376C (en)

Also Published As

Publication number Publication date
CN1484004A (en) 2004-03-24

Similar Documents

Publication Publication Date Title
JP3568257B2 (en) Electronic circuit test system
CN106910369B (en) Roadside Parking management method and system
CN101025800A (en) Driver's training time computerised timing-charging management system
CN206363404U (en) A kind of intelligent parking lot realizes device and system
CN101135973A (en) System and method for automatic installation of device driver
CN110659438A (en) Method, apparatus and computer storage medium for issuing reading reward
CN108876601A (en) A kind of loan requests processing method, device, electronic equipment and storage medium
CN1204376C (en) IC card water meter
CN1204377C (en) Intelligent pre-payment IC card watermeter with stepped charge and calculation
CN1723470A (en) Smart card with non-volatile display using temperature-sensitive electronic ink
CN109886800A (en) Electronic device, nonstandard creditor's assets estimation method and computer readable storage medium
CN2884341Y (en) Lottery ticket self-service making-bet apparatus
CN111861757A (en) Financing matching method, system, equipment and storage medium
KR20020062561A (en) Parking ticket certification system making use of an ic tag
CN1959748A (en) Hot water gauge of intellective IC card
CN2781467Y (en) Combined oiling machine terminal combined with IC card multicard apparatus
CN112734342A (en) Handheld supervision device and supervision method for transportation loss of oil tank truck
CN1280694A (en) Public parking electronic ticket
CN102034317A (en) Management system, game device, management device and management method
CN2445384Y (en) Automatic vending machine with digital price display
CN1553300A (en) Medical diagnosing system and method
CN2615762Y (en) Money tax integrated terminal
CN1277406A (en) Non-contact IC card parking fee charging meter
CN201181495Y (en) Card type automatic beverage vending machine based on IC/ID card payment system
CN2398686Y (en) Parking meter of secondary card-inserted

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

Granted publication date: 20050601

Termination date: 20160708