CN201017387Y - Common smart card controller - Google Patents

Common smart card controller Download PDF

Info

Publication number
CN201017387Y
CN201017387Y CNU2006201690876U CN200620169087U CN201017387Y CN 201017387 Y CN201017387 Y CN 201017387Y CN U2006201690876 U CNU2006201690876 U CN U2006201690876U CN 200620169087 U CN200620169087 U CN 200620169087U CN 201017387 Y CN201017387 Y CN 201017387Y
Authority
CN
China
Prior art keywords
card
public
unit
cpu
controller
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
CNU2006201690876U
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.)
Zhejiang Tengen Electric Co Ltd
Original Assignee
Zhejiang Tengen Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhejiang Tengen Electric Co Ltd filed Critical Zhejiang Tengen Electric Co Ltd
Priority to CNU2006201690876U priority Critical patent/CN201017387Y/en
Application granted granted Critical
Publication of CN201017387Y publication Critical patent/CN201017387Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Beverage Vending Machines With Cups, And Gas Or Electricity Vending Machines (AREA)

Abstract

The utility model relates to a public IC card controller, in particular to a metering and charging instrument controller that utilizes value adding to an IC card as a means of prepayment, such as a water meter or KWH meter. The public IC card controller comprises a CPU, a metering input unit, and an executing unit, wherein, the CPU comprises an IC card identifying unit, a KWH storage unit, an IC card access control unit, a display unit, and an IC card access interface circuit. When the stored KWH value is used up and an IC card is inserted into an IC card slot on the public IC card controller, the CPU will read the data in the IC card and identify the IC card via the IC card identifying unit; if the IC card is valid and is the IC card that was inserted in the past, the CPU will read the KWH value in the KWH storage unit and control the IC card access control unit to write into the IC card, retrieve the balance, and clear the KWH value in the KWH storage unit to zero; in that way, after the previous user uses the public IC card controller, he/she can retrieve his/her balance, and a plurality of users can use the public IC card controller without mutual interference; the public IC card controller is suitable to use in a public environment, such as a laundry room or public bath house, etc.

Description

Public smart card controller
Technical field
The utility model relates to a kind of public smart card controller, particularly with charging intelligent card as metering, tariff meter controllers such as the water meter of pre-payment means or the electricity charge.
Background technology
Smart card is the appearance of IC-card pre-paying kilowatt-hour meter or water meter; because having overcome original conventional metered dose instrument, it needs a large amount of manual meterings; management inconvenience; efficiency of service is low; also may cause a large amount of defectives such as arrearage situation; therefore be subjected to the welcome energetically of the enterprise of industries such as electric industry, water supply, some large enterprises are the mode of also using the IC-card pre-payment when saving cost to inner electricity consumption, management of the use of water through regular meeting, therefore use more and more widely.Traditional IC-card pre-payment management device has multiple, and they generally all comprise a CPU (central processing unit), card reader, metering input block and performance element.The metering input block is connected with the CPU (central processing unit) data input pin, sends into the water power consumption in the measuring instrument in the CPU (central processing unit) after analog to digital conversion; The data output of card reader is connected with the data input port of CPU (central processing unit) and is used to read the IC-card internal information, performance element is arranged in the circuit of water and electricity supply and controlled by the control signal of CPU (central processing unit) output, cut off or recover the supply of water power, but existing IC-card pre-payment management device usually can only be with the disposable whole inputs of the amount of money of buying in the IC-card, in use reduce gradually then, remaining sum in the IC-card pre-payment management device can not be got back in the IC-card midway, therefore can only adapt to family expenses or table one user's use, and can not be used for as large-area field irrigation, public laundry, public arenas such as bathhouse.
Summary of the invention
The purpose of this utility model is to provide a kind of public smart card controller that can be applicable to public arena, the many cards of a table for overcoming the deficiencies in the prior art.
The technical scheme that the utility model solves the problems of the technologies described above is as follows: public smart card controller, comprise CPU (central processing unit), metering input block and performance element, it is characterized in that: described CPU (central processing unit) also comprises IC-card recognition unit, electric weight memory cell, IC-card read-write control unit, display unit and IC-card read-write interface circuit, and described electric weight memory cell is used for storing the charge value that reads in from IC-card and the real-time balance the use; Described IC-card recognition unit is made up of IC-card numbering memory and identification comparator, IC-card numbering memory is used for storing the number information of the IC-card of use, content in IC-card numbering that identification comparator will newly insert and the IC-card numbering memory compares and reads remaining sum value in the electric weight memory cell according to comparative result, and in the operation that writes IC-card under the control of IC-card read-write control unit or carry out under the control of IC-card read-write control unit, reading the IC-card internal information, and deposit operation in IC-card numbering memory and the electric weight memory cell respectively in.
Because IC-card recognition unit and IC-card read-write control unit that this public smart card controller is provided with the electric weight memory cell and is made up of IC-card numbering memory and identification comparator, when once more IC-card being inserted in the smart card socket when finishing using, CPU (central processing unit) is read in the IC-card information once more and is discerned comparison by the IC-card recognition unit, dead card in this way, then control display unit and show dead card information, as effectively and be same card, then read the charge value in the electric weight memory cell and control the IC-card read-write control unit and write in the IC-card, fetch residual electric quantity simultaneously with zero clearing in the electric weight memory cell, had remaining sum in showing and got back to function in the card, therefore after the user of front finishes using, the remaining sum of oneself can be returned and get, can not influence each other when a plurality of users use, can be suitable for as the laundry, public arenas such as bathhouse.
The utility model is described in further detail below in conjunction with the accompanying drawings and the specific embodiments:
Description of drawings
Accompanying drawing 1 is the utility model specific embodiment schematic appearance;
Accompanying drawing 2 is the CPU (central processing unit) electrical schematic diagram;
Accompanying drawing 3 is a smart card socket electrical schematic diagram;
Accompanying drawing 4 is the performance element electrical schematic diagram;
Accompanying drawing 5 is metering input block electrical schematic diagram;
Accompanying drawing 6 is the power supply unit electrical schematic diagram;
Accompanying drawing 7 is the power taking FB(flow block);
Accompanying drawing 8 is power taking amount remaining sum FB(flow block);
Embodiment
With the ammeter smart card controller is example, public smart card controller is made up of shell 1 and internal control circuit, as shown in Figure 1, shell is provided with smart card socket 2 and display window 3, and internal control circuit comprises CPU (central processing unit), metering input block and performance element and power supply unit.As shown in Figure 6, two groups of rectifier bridges being made up of input transformer T1 and diode D1~D4 and diode D5~D8 of power supply unit and two MC7805 circuit of three-terminal voltage-stabilizing integrated U10, U9, filter capacitor etc. consist of controller circuitry provides two groups of 5V direct supplys; As shown in Figure 5, the metering input block comprises optocoupler pulse input circuit, shaping circuit and the frequency dividing circuit of serial connection successively, be provided with three optocoupler U6, U7, U8 in this specific embodiment and form three road optocoupler pulse input circuits, its output is connected with frequency dividing circuit after four Schmidt trigger U5A, U5B, U5C and U5D are the main shaping circuit shaping of forming respectively, frequency dividing circuit is main the composition by binary counter integrated circuit U4, and the output terminal of frequency dividing circuit is connected with single-chip microcomputer U1 data input pin; In this specific embodiment, Schmidt trigger U5 selects 74HC86 for use, and binary counter integrated circuit U4 selects 12 binary counter HCF4040 for use; As shown in Figure 2, CPU (central processing unit) comprises IC-card recognition unit, electric weight memory cell, IC-card read-write control unit, display unit and IC-card read-write interface circuit, can wipe memory (EEPROM) and crystal oscillator XT1 etc. by single-chip microcomputer U1 and peripheral cell electricity thereof and form the scm managing system formation, electricity can be wiped memory (EEPROM) and constitute electric weight memory cell and IC-card numbering memory, as shown in Figure 3, IC-card read-write interface circuit is made of with the data output, incoming line SDA and the time clock line SCL that are connected with single-chip microcomputer U1 data port the IC-card socket; Display unit is by 6 figure place sign indicating number display screens, current-limiting resistance R1-R8 and address decoder U2 form, address decoder U2 selects 74HC238 for use, the 7 sections strokes and the radix point of digital display screen are connected with the 8 bit data delivery outlets of single-chip microcomputer U1 through current-limiting resistance R1-R8, the gating end of digital display screen is connected with address decoder U2 output, the input end of address decoder U2 is connected with the address wire of single-chip microcomputer U1, the single-chip microcomputer U1 that CPU (central processing unit) adopts selects PIC16C57B for use, certainly, also can select for use other to lead to or the chip of identical function, equally, Schmidt trigger U5, address decoder U2 and binary counter U4 neither be unique.As shown in Figure 4, performance element is made of the driving circuit that relay R LY and triode Q1-Q4, resistance R 31-R34 form, and the contact of relay R LY is serially connected in the civil power lambda line; IC-card read-write control unit and identification comparator can be wiped memory (EEPROM) by inner program connecting inner data-carrier store that is provided with of single-chip microcomputer U1 and external electric and realize, as shown in Figure 7, during electricity consumption, for the first time IC-card is inserted in the smart card socket, CPU (central processing unit) is read in information in the IC-card, by IC-card number information and the IC-card number information that sets in advance are discerned comparison, as inconsistent be dead card, then control display unit and show dead card information, then block effectively as unanimity, read the IC-card internal information, IC-card number information and information about power are also deposited in respectively in IC-card numbering memory and the electric weight memory cell, judge whether electric weight is zero in the electric weight memory cell, non-vanishing then control execution unit drives relay R LY adhesive power supply and accumulative total power consumption, successively decrease charge value in the electric weight memory cell, as be zero, then control execution unit makes relay R LY disconnect power supply; As shown in Figure 8, when once more IC-card being inserted in the smart card socket, CPU (central processing unit) is read in the IC-card information once more and is discerned comparison, dead card in this way, then control display unit and show dead card information, as effectively and be same card, then read the charge value in the electric weight memory cell and write and fetch charge value in the IC-card, and control execution unit disconnects relay R LY to stop power supply simultaneously with zero clearing in the electric weight memory cell.
If with the metering input block in the utility model and performance element change into water meter and solenoid valve suitable after, be suitable for the management of water rate smart card equally.

Claims (2)

1. public smart card controller, comprise CPU (central processing unit), metering input block and performance element, it is characterized in that: described CPU (central processing unit) also comprises IC-card recognition unit, electric weight memory cell, IC-card read-write control unit, display unit and IC-card read-write interface circuit, and described electric weight memory cell is used for storing the charge value that reads in from IC-card and the real-time balance the use; Described IC-card recognition unit is made up of IC-card numbering memory and identification comparator, IC-card numbering memory is used for storing the number information of the IC-card of use, content in IC-card numbering that identification comparator will newly insert and the IC-card numbering memory compares and reads remaining sum value in the electric weight memory cell according to comparative result, and in the operation that writes IC-card under the control of IC-card read-write control unit or carry out under the control of IC-card read-write control unit, reading the IC-card internal information, and deposit operation in IC-card numbering memory and the electric weight memory cell respectively in.
2. public smart card controller according to claim 1, it is characterized in that: described CPU (central processing unit) is made up of single-chip microcomputer and peripheral cell thereof, described electric weight memory cell can be wiped memory by electricity and constitute, described metering input block comprises optocoupler pulse input circuit, shaping circuit and the frequency dividing circuit of serial connection successively, and the output terminal of frequency dividing circuit is connected with the single-chip data input end; Display unit is made up of 6 figure place sign indicating number display screens, current-limiting resistance R1-R8 and address decoder U2.
CNU2006201690876U 2006-12-25 2006-12-25 Common smart card controller Expired - Fee Related CN201017387Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2006201690876U CN201017387Y (en) 2006-12-25 2006-12-25 Common smart card controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2006201690876U CN201017387Y (en) 2006-12-25 2006-12-25 Common smart card controller

Publications (1)

Publication Number Publication Date
CN201017387Y true CN201017387Y (en) 2008-02-06

Family

ID=39057885

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2006201690876U Expired - Fee Related CN201017387Y (en) 2006-12-25 2006-12-25 Common smart card controller

Country Status (1)

Country Link
CN (1) CN201017387Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944250A (en) * 2010-09-19 2011-01-12 湖南银通科技有限责任公司 Management method of gas system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101944250A (en) * 2010-09-19 2011-01-12 湖南银通科技有限责任公司 Management method of gas system

Similar Documents

Publication Publication Date Title
CN105488913A (en) One-card and multi-meter multi-mode charging radio frequency card prepaid intelligent water meter and charging method
CN205582118U (en) Realize gas that network was collect fee through WIFI and show charge system
CN102346938A (en) Automatic electricity charging/selling system
CN201725194U (en) Distributed multi-user water meter network management system
CN202650124U (en) Agriculture water-saving irrigation charging system
CN202512665U (en) Mixed charging type prepayment electric energy meter for electronic type tiered pricing for electricity, and time-sharing electricity price
CN200996971Y (en) Composite electric-energy managing system of load control and multiplexing time-sharing charging
CN201017387Y (en) Common smart card controller
CN2883838Y (en) IC card heating charging control valve
CN106327844A (en) Wireless meter reading system of power-free water meter
CN206331037U (en) Three-phase self-adaptation smart electric meter
CN202177943U (en) Automatic electricity charging and selling system
CN107589288A (en) Single-phase multi-user's multifunctional intelligent electric energy meter
CN102289885A (en) Card billing type electricity charging and selling system
CN202177945U (en) Card charging power charging and selling system
CN202150148U (en) Gas IC (Intelligent Card) card system
CN206726434U (en) Internet of Things intelligent gas kilowatt meter reading-out system
CN1393832A (en) Time-shared metering and recording system for electric energy
CN100419317C (en) IC card heating charging control valve and its heating charging managing method
CN1271100A (en) Radio paging multifunctional watt-hour meter
CN2586030Y (en) IC card heating control valve
CN203535721U (en) Cassette electric meter
CN2283862Y (en) Multifee rate card type kilowatt-hour meter
CN104217498B (en) A kind of prepayment meter monitored and control power consumption
CN2519246Y (en) TM card intelligent charge prepaid watermeter

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: 20080206

Termination date: 20101225