The utility model content
Technical problem to be solved in the utility model provides a kind of safe and reliable, easy to use, high precision, low-power consumption, and can realize the single-phase intelligent card type prepayment multi-rate meter of electric weight forward purchasing, the different rates of different situations by silver-colored Electricity Federation net.
For solving the problems of the technologies described above, the technical solution of the utility model is: single-phase intelligent card type prepayment multi-rate meter, be included as the power supply of each electron device power supply of system, microcontroller, the signal input part of described microcontroller is electrically connected the metrical pulse module respectively, key-press module, reseting module and detection of power loss module, carry out the intelligent CPU card of interactive communicate with described microcontroller, SAM module as storage unit, the signal output part of described microcontroller is electrically connected LCD display module and pilot relay module, and it also is included as the clock processing module that microcontroller provides real-time clock; Wherein:
Described metrical pulse module comprises the phase current sensor, the signal amplifier that is connected with described phase current sensor electrical, the A/D converter that is electrically connected with described signal amplifier, the phase correction, the Hi-pass filter that are electrically connected with described A/D converter; Described metrical pulse module also comprises the phase voltage sensor, the signal amplifier that is connected with described phase voltage sensor electrical, the A/D converter that is electrically connected with described signal amplifier; Wherein the current channel digital signal of carrying out after phase correction, the high-pass filtering enters multiplier; The digital signal of voltage channel is directly sent into multiplier; The output terminal of described multiplier is electrically connected low-pass filter circuit, and described low-pass filter circuit is electrically connected the numerical frequency change-over circuit of output high-frequency impulse;
Obtain measuring power supply by half-wave rectification, resistance step-down, capacitance voltage stabilizing circuit between first former limit tap of described power transformer and the simulation ground; Between the second secondary tap and the 3rd secondary tap earlier by full-wave rectification, pass through capacitance voltage stabilizing again, obtain the microcontroller power supply by voltage stabilizer at last, before voltage stabilizer, also extract simultaneously the power source for relay control of a 12V out, connected a R-C coupling device that obtains a power-off signal behind the described control power supply again; Between tap of fourth officer limit and the 5th secondary tap by obtaining 485 communication power supplies behind half-wave rectification, the voltage stabilizer;
Described CPU card and SAM module all are the E that has microprocessor
2PROM, its inner mask has operating system TIMECOS2.0, and adopts the des encryption method, revises key among the security authentication module SAM by key card.
As a kind of improvement, described intelligent CPU cartoon crosses deck and microcontroller is electrically connected, and a pair of normally opened contact is arranged on the deck, when the CPU card inserts, and this normally opened contact closure.
As a kind of improvement, it also comprises with described microcontroller carries out the infrared of interactive communicate and 485 communication modules.
Owing to adopted technique scheme, on the one hand, described metrical pulse module adopts high-frequency impulse, and measuring accuracy further improves, the standard that 1.0 grades of Biao Keda 0.5 grade; On the other hand, carry out authentication of ammeter inside and outside and electric weight external authentication by intelligent CPU card and intelligent SAM module, data are all carried out des encryption etc., confidentiality, reliability and the security of information such as electric weight have effectively been guaranteed, and electricity-selling system can silver-colored Electricity Federation net, and the user can buy in the outlet of any one bank very easily; Again on the one hand, by multiple rate function contained peak of power consumption power consumption, encouraged the power consumption of low-valley interval, for the reasonable distribution resource and energy-saving and cost-reducing play a part very important; Evidence, the utility model can use installation in power units such as urban and rural residents and little user.
Embodiment
The integral body of present embodiment is formed and is divided main element and optional feature, and main element is an electric energy meter itself, and the closed shell packing is arranged, and fixed orifice is arranged on the drain pan; Optional feature is the TP800 palm PC, and palm PC can be general.Main element is divided into power module, metering module, single-chip microcomputer intelligent control module, LCD MODULE, communication module, card and SAM module etc. again according to function.Wherein power module is for complete machine provides different power supplys, is independent of each other between the power supply; Metering module is to utilize special-purpose electric energy computation chip to realize the metering of electric flux by the resistor current sampling microwave network; Single-chip computerized intelligent pattern is to realize functions such as data processing, information transmission, pre-payment, multiple rate; LCD MODULE be show electric weight, rate, period, etc. relevant data; Communication module is that the data of realization table and palm PC or host computer send and receive; Card is to realize sending mutually of card internal information and internal information of statement with the SAM module, must be through key authentication before sending mutually.Below in conjunction with each schematic diagram of the function is the narration of this electric energy meter course of work.
Fig. 1 is the electric energy metrical part schematic diagram of the utility model electric energy meter, and wherein electric resistance partial pressure is by series resistance voltage signal to be adjusted to the input reference signal that computation chip needs, and realizes adjustment to error in dipping by short circuit part resistance simultaneously; The sampling of copper-manganese resistor current is to convert current signal to voltage signal by external load resistance, is input to computation chip then.Computation chip inside is carried out signal earlier and is amplified, and by A/D converter analog signal conversion is become digital signal again, and wherein current channel carries out entering multiplier after phase correction, the high-pass filtering; The digital signal of voltage channel is directly sent into multiplier.Multiplier is representing two voltage signal values of load current and load voltage to multiply each other, obtain representing the value of active power, again through low-pass filtering and numerical frequency conversion, the active power value is converted to the pulse train that is directly proportional with it, one the tunnel is high-frequency impulse, one the tunnel is low-frequency pulse, can gather low frequency as required, also can gather high frequency.The utility model collection be high-frequency impulse, make measuring accuracy higher, avoid the pulse missing phenomenon.
Fig. 2 is a power unit schematic diagram of the present utility model, wherein obtains measuring power Vcc by half-wave rectification, resistance step-down, capacitance voltage stabilizing circuit between the first secondary tap and the simulation ground; Between the second secondary tap and the 3rd secondary tap earlier by full-wave rectification, by capacitance voltage stabilizing, obtain microcontroller power vd D, i.e. digital power by voltage stabilizer at last again, before voltage stabilizer, also extracted simultaneously the power source for relay control of a 12V out, in order to pilot relay; Follow a R-C coupling behind this control power supply again and obtain a power-off signal DD; Between tap of fourth officer limit and the 5th secondary tap by obtaining 485 communication power supplies behind half-wave rectification, the voltage stabilizer.3 power supplys are isolated mutually, are not disturbed mutually, effectively avoided the interference in the signalling channel, strengthened the immunity to interference of complete machine.
Fig. 3 is a relay control section schematic diagram, mainly is made up of 4 NPN type triodes and 2 positive-negative-positive triodes, by the control power supply of a 12V, mixes suitable feedback resistance and divider resistance again, can realize that the switching of relay and magnetic keep function.Be that microcontroller is put high level or low level by giving control signal A1B1, being switched on or switched off of may command relay, after relay is switched on or switched off, microcontroller makes relay remain on this state by A1B1 again, at this moment entire circuit is the no current hold mode, effectively reduced the power consumption of circuit, simultaneously Overall Power Consumption has been reduced.
Fig. 4 is a microcontroller intelligent control part schematic diagram, and this is the core intelligence part in the complete machine.The function that it is realized mainly is:
(1) the high frequency metrical pulse that collects is become electric energy by the pulse constant calculations of setting, the power consumption of different periods of the Time Calculation that provides according to clock then, calculate the different electricity charge according to different electricity prices of different periods again, and and then show and storage, storage unit is the SAM module, and data are not lost after the power down.
(2) pre paid functionality, promptly (being security authentication module, is a kind of intelligent E by CPU card, SAM module
2PROM, structure principle chart is seen Fig. 5) and matching used with it electricity-selling system carries out the electric weight forward purchasing or the electricity charge are advance; In data transfer, carry out ammeter authentication and electric weight authentication by microcontroller, if key is not right, then refusal reads or writes data, and all data are all passed through des encryption, security and confidentiality are very good, and this technology is that ZL01261220.0 has detailed description in the patent No..
(3) pilot relay break-make, according to what of dump energy or remaining sum in the table, according to the warning electric weight of setting, microcontroller is all exported a trip signal and is given A1B1 after reaching warning electric weight, 0 degree or load current to surpass the maximum allowed current certain hour, and relay is disconnected; When satisfying, the recovery condition makes relay closes again.
(4) communication function possesses infrared and 485 two kinds of communication modes, and communication protocol satisfies rower DL/T645-1997 " multifunctional electric energy meter communication protocol ", and Principle of Communication figure sees Fig. 7.Content of communciation mainly comprises: read/establish the table truth of a matter, read/establish the table constant, read/establish table address, read/establish period information, read/establish each rate electricity price, read power information and purchase electrical information etc.
(5) data are preserved in power down, in Fig. 2 power unit schematic diagram, a power-off signal DD are arranged, and just open power-fail interrupt when microcontroller detects this power-off signal, and data are saved in the SAM module, and the back internal storage data that prevents to cut off the power supply is lost.
(6) liquid crystal display, circuit theory diagrams are seen Fig. 8, by special liquid crystal chip for driving and LCD, data in the ammeter are shown or key shows mode and shows that displaying contents mainly contains by taking turns: total electric weight, point, peak, put down, the paddy electric weight; Dump energy is always purchased electric weight, total electricity consumption, 1 electric weight of reporting to the police, 2 electric weight of reporting to the police; Power consumption last month (unit), power consumption the month before last (unit) on the date, the time, is purchased electric number of times, constant; The table address height, period information, each rate electricity price is calculated day etc.
Fig. 5 is intelligent storage unit SAM functions of modules schematic diagram, and the inner structure of CPU card all is the special E that has microprocessor CPU with the SAM module
2PROM, its inner mask has operating system TIMECOS2.0, and adopts the des encryption method, revises key among the security authentication module SAM by key card.When being provided with by function CPU card his-and-hers watches, as zero clearing, write pulse constant, have good luck, microcontroller is at first read key in the card and the key authentication among the SAM, if the key difference does not then respond the operation of card; Have only the key in the card just can operate with the key among the SAM is identical.Each power supply management department can be provided with the key of oneself, its user purchase key in the electricity card when identical with key among the SAM electric weight in the subscriber card just can be input in the table, otherwise ammeter will not receive, and has avoided greatly because of the premeditated random electric quantity loss that data cause that changes.
Fig. 6 is card and microcontroller interface circuit theory diagrams, and the CPU card is to realize and the interface of microcontroller that by deck a pair of normally opened contact is arranged on the deck, when the CPU card inserts, this normally opened contact closure produces a plug-in card look-at-me, and microcontroller begins response to interrupt.The Interrupt Process process is to power on, provide the card clock to card earlier, then card is resetted, and reads data in the card again, and data in will blocking and the comparison of the data among the SAM, if key authentication is not inconsistent, then closes interruption, no longer responds the operation of this card.
Fig. 7 is infrared i.e. 485 communication interface schematic diagrams, wherein the infrared communication device adopts TAOP4138 infrared remote receiver and the TSAL6200 infrarede emitting diode of VISHAY, export, copy by palm PC and establish data by micro controller I/O mouth simulation 38KHz carrier wave.Universal communication chip 75LBC184 is adopted in 485 communications, and is coupled into the line data isolation by photoelectricity, has effectively avoided external interference.
Fig. 8 is liquid crystal display, button, resets and the clock circuit theory diagrams that wherein liquid crystal adopts the big liquid-crystal display information of segmentation, and microcontroller drives liquid crystal display to special liquid crystal chip for driving DF3566 Data transmission.Button adopts general button, has wheel to show button and programming button, when ammeter is provided with, must press the programming button, and the microcontroller on the ammeter could respond the programming requirement; Wheel shows key and whenever clicks, and ammeter will show a content successively, and for data in the look-up table, it is easy to operate obviously direct again showing key by wheel.Electrification reset adopts TCM809.Clock circuit adopts special clock chip R8025, by its clock check pulse output of Single-chip Controlling, and by lithium battery power supply.
In a word, single-phase intelligent card type prepayment multi-rate meter described in the utility model has promptly been realized electronic metering, has been realized pre paid functionality, also satisfied multiple rate requirement simultaneously again, has been a simple multifunctional type single-phase intelligent card table; Shell adopts totally-enclosed design, the ammeter overall appearance, and its technical feature and comprehensive function are all considerably beyond traditional electric energy meter.
The utility model is not limited to above-mentioned instantiation; every those skilled in the art are without performing creative labour; from the technical scheme that the foregoing description direct derivation goes out, all will fall in the novel protection domain of this implementation, as change liquid crystal model, replacing reposition element etc.