The multi-functional prepayment meter of keyboard-type
Technical field
The utility model relates to a kind of electric energy meter, relates in particular to the multi-functional prepayment meter of a kind of keyboard-type.
Background technology
Traditional electric energy meter that the before metering of electric energy meter is paid again develops into the IC-card electric energy meter of current trend again to coin-feed, magnetic card type electric energy meter, has passed through a series of differentiation, but all has such-and-such scarce limit.There is the loaded down with trivial details problem of " checking meter to the doorstep " in traditional electric energy meter that metering is earlier paid again.Though and the coin-feed electric energy meter that replaces has overcome this trouble, just find have the freezing one-tenth ice of human coin to drop into coin-box and also can start electric energy meter after being to use soon, get final product free electricity consumption, so this table just is eliminated soon.Then the magnetic card type electric energy meter rises, but has two fatal weakness: the life-span is short and be subject to interference, and easy loss of excitation.Replacing the IC-card electric energy meter occurred, but card inserting mouth is artificially attacked easily to the wide-open card inserting mouth of user because the IC-card electric energy meter has one, causes electric energy meter deadlock, data corruption, finally makes the charge system paralysis.Simultaneously, owing to be subjected to the restriction of cost, IC-card comparison easy crack even carried out black market bargain by massive duplication.And IC-card is lost easily, and is difficult to realize long-range supplementing with money.Performance, quality, security problems appear in the feasible IC-card prepayment meter of several years ago installing of these shortcomings large tracts of land, paralysis and the dismounting comprehensively that has.
Summary of the invention
The utility model provides a kind of open card inserting mouth that do not have, do not need physical transmission medium, strengthen anti-aggressiveness and anti-interference, the multi-functional prepayment meter of the keyboard-type that increases the service life, mainly solving the IC-card electric energy meter has open card inserting mouth, is easily artificially attacked the password finite capacity, easily be cracked, duplicate, cause electric energy meter paralysis, managing electric quantity technical matters out of control.
Above-mentioned technical matters of the present utility model is mainly solved by following technical proposals: the utility model comprises MCU micro-control unit and the metering units that is attached thereto, memory cell, display unit, user profile input block, pulse output unit, relay control unit and the power supply unit that working power is provided for whole electric energy, also be connected with clock unit, photoelectric communication unit on the described MCU micro-control unit, described user profile input block is the keyboard input block, and described display unit is the liquid crystal display display unit.Metering units, relay control unit connect subscriber's line circuit, and metering units converts electric energy to pulse signal by sampled voltage and current signal and send the MCU microcontroller to handle, and send liquid crystal display to show related data and information again.In case discovery subscriber arrearage, MCU microcontroller are exported control signal immediately and given relay control unit, the supply line of disconnect user forces the user to go to buy and supplements with money.The user buys electric weight to power department earlier, obtain supplementing with money the required respective coding and the amount of money, import this string encoding by the keyboard input block on the electric energy meter then, this coding is to adopt 3DES cryptographic algorithm and dynamic key encryption technology to generate, form by 20 or 21 position digital codings, the information that has comprised user and electric energy meter, electric energy meter is decrypted the coding of input, obtains recharge amount, supplements the date with money and supplements information such as the term of validity with money.After the user supplements with money, relay control unit action, recovery user's supply line.The pulse output unit is the pulse pilot lamp, can be according to the electricity consumption size with different frequency scintillations.Memory cell comprises FRAM storer and eeprom memory, be kept among the FRAM for the frequent data (as the electric weight and the amount of money) of preserving of needs, and those data volumes greatly but do not need the data of frequent write operation to be kept among the EEPROM.
Clock unit is extremely important, if adopt the timing of MCU microcontroller, needs to adopt counter on the one hand, take hardware resource, need on the other hand interruption, inquiry etc. are set, expend the hardware resource and the software resource of MCU microcontroller equally, and cause timing uncertainty true easily.External clock unit on the MCU micro-control unit has effectively overcome the problems referred to above.
When power supply department need be provided with or keep in repair electric energy meter, connect the infrared communication unit of electric energy meter and palm PC going along with by the photoelectric communication joint, just can carry out basic parameter setting, function maintenance to electric energy meter by palm PC, also can read the power information in the electric energy meter, comprise remaining sum, supplement number of times etc. with money, make maintenance convenient.
As preferably, described MCU micro-control unit also links to each other with alarm unit.For the ease of charge and management, the amount of money of having supplemented with money the user runs low or because of in time not supplementing with money when being about to cut off user supply line, all needs to remind the user, and this function realizes by alarm unit.
As preferably, described alarm unit comprises light emitting diode warning circuit, buzzer alarm circuit.Light emitting diode adopts red LED, is made as one-level and reports to the police, and is lighted when the amount of money that the user fills runs low; Hummer is made as secondary and reports to the police, and pipes when being about to cut off user supply line.
As preferably, described photoelectric communication unit receives pipe by near infrared power valve, near infrared and corresponding triode, resistance constitute.Circuit design is simple, dependable performance.
As preferably, described keyboard input block is made up of 10 numerical keys, 1 backspace key, 1 enter key.Function realizes convenient, and is rationally distributed.
As preferably, described power supply unit is by mains-supplied and lithium battery power supply.The power supply of electric energy meter is used mains-supplied when powering on, then automatically switch to lithium battery power supply during power down.The electric energy meter low power capabilities is remarkable, can work more than 5 years under the situation with common lithium battery 3.6V/600mAh power supply.
The beneficial effects of the utility model are: user profile, the electric weight of purchasing are imported electric energy meter by keyboard, cancelled the open insertion mouth of IC-card electric energy meter, strengthen anti-interference and anti-aggressive, prolong the serviceable life of electric energy meter, data transmission does not need any physical medium, be difficult for being cracked and copied, safe and convenient, save cost.
Description of drawings
Fig. 1 is that a kind of circuit of the present utility model connects block diagram.
Fig. 2 is a kind of Facad structure synoptic diagram of the present utility model.
1.MCU micro-control unit among the figure, 2. metering units, 3. memory cell, 4. liquid crystal display display unit, 5. pulse output unit, 6. relay control unit, 7. clock unit, 8. photoelectric communication unit, 9. keyboard input block, 10. alarm unit, 11. power supply units, 21. liquid crystal displays, 22. alarm lamp, 23. near infrared power valves, receiving tube, 24. pulse pilot lamp, 25. keyboard, 26. connection terminals.
Embodiment
Below by embodiment, and in conjunction with the accompanying drawings, the technical solution of the utility model is described in further detail.
Embodiment 1: the multi-functional prepayment meter of the keyboard-type of present embodiment, as shown in Figure 1, with MCU micro-control unit 1 is core, be connected with metering units 2 on it, memory cell 3, clock unit 7, keyboard input block 9, liquid crystal display display unit 4, pulse output unit 5, relay control unit 6, photoelectric communication unit 8, alarm unit 10, alarm unit 10 comprises light emitting diode warning circuit and buzzer alarm circuit, photoelectric communication unit 8 is by the near infrared power valve, near infrared receives pipe and corresponding triode, resistance constitutes, keyboard input block 9 is by 10 numerical keys, 1 backspace key, 1 enter key is formed, and comprises mains-supplied part and lithium battery power supply part for whole electric energy provides the power supply unit 11 of working power.The Facad structure of the electric energy meter of present embodiment as shown in Figure 2, pulse pilot lamp 24, the keyboard 25 in the keyboard input block 9 in alarm lamp 22 in liquid crystal display 21, the light emitting diode warning circuit, the near infrared power valve in the photoelectric communication unit 8, receiving tube 23, the pulse output unit 5 are placed on the zones of different on the electric energy meter front panel respectively, the below of electric energy meter is a connection terminal 26, these connection terminals 26 respectively with the table in metering units 2, relay control unit 6, pulse output unit 5 link to each other.
The course of work: the connection terminal of electric energy meter is linked to each other with user's supply line.The user buys electric weight to power department earlier, obtains supplementing with money the required respective coding and the amount of money, after pressing corresponding numerical key on the keyboard, presses enter key
If input is correct, electricity consumption rate and first recharge amount can appear on the liquid crystal display, and the relay on the liquid crystal display disconnects sign
Disappear, open user supply line, the user can begin electricity consumption; If input error or invalid, the printed words of " EE " appear in meeting on the liquid crystal display, then need re-enter.During subscriber arrearage, alarm lamp is bright, and inner hummer rings, and liquid crystal display shows that relay disconnects sign
Cut off user supply line.During cancellation, the cancellation sign indicating number input electric energy meter that the user will obtain is pressed enter key, and alarm lamp is bright, and inner hummer rings, and liquid crystal display shows that relay disconnects sign
Return code occurs on the liquid crystal display simultaneously, divide three screens to show that first and second screen respectively shows 8, the 3rd screen shows 4.
In the user power utilization process, pulse pilot lamp flicker, when power consumption was big, the pilot lamp flicker was fast, power consumption hour, the pilot lamp flicker is slow.
Alarm lamp adopts red light emitting diodes, is made as one-level and reports to the police, and is lighted when the amount of money that the user fills runs low; Hummer in the table is made as secondary and reports to the police, and pipes when being about to cut off user supply line because of in time not supplementing with money, cooperates and sends sound and light alarm.
During power supply department maintenance ammeter, available specific photoelectric communication joint and kilowatt meter recorder (palm PC) couple together, the photoelectric communication joint is corresponding with near infrared power valve, the receiving tube on electric energy meter surface, reads the data of electric energy meter, also can be provided with some basic parameters of electric energy meter.
The utility model does not have open data jack, data transmission does not need any physical medium, user profile, institute's electric weight of purchasing are all by keyboard input electric energy meter, strengthen anti-interference and anti-aggressive, prolong the serviceable life of electric energy meter, be difficult for being cracked and copied, both guaranteed security, the reliability of electric energy meter, use again and operate all very convenient.