CN1180382C - Multi-user power-driven terminal - Google Patents

Multi-user power-driven terminal Download PDF

Info

Publication number
CN1180382C
CN1180382C CNB001165461A CN00116546A CN1180382C CN 1180382 C CN1180382 C CN 1180382C CN B001165461 A CNB001165461 A CN B001165461A CN 00116546 A CN00116546 A CN 00116546A CN 1180382 C CN1180382 C CN 1180382C
Authority
CN
China
Prior art keywords
user
circuit
media card
power
microprocessor
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
CNB001165461A
Other languages
Chinese (zh)
Other versions
CN1329326A (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.)
SHANGHAI YINGFUTE ELECTRONIC TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI YINGFUTE ELECTRONIC TECHNOLOGY 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 SHANGHAI YINGFUTE ELECTRONIC TECHNOLOGY Co Ltd filed Critical SHANGHAI YINGFUTE ELECTRONIC TECHNOLOGY Co Ltd
Priority to CNB001165461A priority Critical patent/CN1180382C/en
Publication of CN1329326A publication Critical patent/CN1329326A/en
Application granted granted Critical
Publication of CN1180382C publication Critical patent/CN1180382C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Storage Device Security (AREA)
  • Power Sources (AREA)

Abstract

The present invention discloses an electric control device for prepaid expenses, particularly a multi-user power-using terminal. The present invention comprises an electric energy measurement unit, a breaker, a microprocessor, a medium card reading/writing device, a clock/calendar circuit, a non-volatile memory, an optoelectronic isolator, an encrypted protection circuit, a man-machine interface circuit, a display and a state indicator, wherein a power using processing program, a user card processing program, a zero point recording meter, a multi-rate processing program, etc. are arranged in the microprocessor. The electric control device can be supplied to a plurality of users to use power in turn, the power utilization can be cancelled when the power utilization is stopped, and the residual power utilization amount is written back and is stored in the card. The present invention has the advantages of strong aggressivity resistance, good electromagnetic compatibility and safe and reliable data running.

Description

Multi-user power-driven terminal
(1) technical field
The present invention relates to a kind of advanced charge controller for electric consumption, particularly a kind of multi-user power-driven terminal.
(2) background technology
The advanced charge controller for electric consumption all is the part of pre payment watthour meter both at home and abroad at present.These, can only carry out electric energy metrical and purchase the electric weight electric control according to what this specific user's media card was imported owing to use object with controller for electric consumption a specific user.The input of repeatedly purchasing electric weight of purchasing electric media card to same Zhang Teding can only add up in machine, and can not store respectively, can not carry out " cancelling " to any once electric weight of purchasing of input, on machine, return to write in original subscriber's media card and store, that is to say and on machine, to carry out as seen.Existing pre payment watthour meter with controller for electric consumption with data storage in the E that does not rely on power supply 2In PROM or the magnetic recorder, thereby with not establishing the clock/calendar circuit in the electric control circuit, the clock/calendar circuit need rely on power supply or standby power supply carries out timing incessantly and change calendar, thereby the control device of existing pre payment watthour meter can not write down the electricity consumption data relevant with the time, electricity consumption cumulative data in before one month of the moment (check meter zero point day) that regulation can not be set, thereby power department also can't calculate real generating number and practical electric poor (being referred to as line loss) in one month, can not be by the peak of electricity consumption, low ebb is divided the different electricity price periods, can not collect the electricity charge respectively, can not surpass certain limit according to electricity consumption in month and carry out preferential electricity charge rate, encourage the electricity market measure of electricity consumption etc.
At present the user's media card read write line and the shared power supply of internal circuit of advanced charge controller for electric consumption on the other hand, exchanges data between internal circuit and the user's media card read write line circuit is undertaken by getting in touch of direct electricity, in case thereby user's media card read/write circuit suffers malicious attack and short circuit or high electrical breakdown, internal control circuit is also by damage and out of hand.The data encryption of existing advanced charge controller for electric consumption depends on the encrypting IC card integrated circuit and realizes.Special-purpose encipherment protection circuit is not set, does not have special-purpose DES algorithm routine, more easily decode, the security of data run is not high.
(3) summary of the invention
The purpose of this invention is to provide a kind of advanced charge controller for electric consumption, multi-user power-driven terminal particularly, the clearing electricity charge that it provides a kind of pre-payment for the multi-user and the temporary electricity family of public electricity-using facility are to the controller for electric consumption of using at family, and prevent bad user's key electricity behavior and the purpose of implementing charge at times and checking meter zero point.
The object of the present invention is achieved like this: a kind of advanced charge controller for electric consumption, particularly a kind of multi-user power-driven terminal, isolating switch, display and positioning indicator that it includes user's media card read write line and corresponding user writable media card, man-machine interface circuit, microprocessor and is subjected to microprocessor control.Be provided with electricity consumption handling procedure and subscriber card handling procedure in microprocessor, be provided with the bidirectional data transfers passage between user's media card read write line and the microprocessor, the man-machine interface circuit links to each other with the P27 port of microprocessor.Microprocessor P32 interface receives the electric energy metrical pulse that produces from the electric energy metrical unit and does and counts and handle.To purchase the user writable media card of certain power consumption as the user and insert user's media card read write line, and operate by the man-machine interface circuit, the subscriber card handling procedure is activated immediately, check the effective information and the password of user's media card, if legal, then further judge whether user's media card of using; If not the current user writable media card of using, then program further determines whether to accept new user's media card input power information according to machine self memory capacity, if could not command display would show the message code of the mistake that can not import; If allow then instruct user's media card read write line to read in data and store separately and make standby electric number, the positioning indicator indication is in stand-by state.If this user writable media card is the user writable media card of using, then program checkout man-machine interface circuit has or not the signal of " cancelling " operation.If " cancelling " operation signal is arranged, then the microprocessor instruction isolating switch cuts off feed circuit, and the electricity consumption data that this user writable media card has been imported, the electricity consumption umber of pulse that receives according to microprocessor P32 port in the operating period is deducted the electricity consumption number and will be remained the electricity consumption data and by user's media card read write line this user writable media card be carried out write operation, to remain power consumption and return to write in this user writable media card and store, and wait until next time and use.If will purchase the electricity consumption data of the user writable media card of electricity passes through to store respectively in user's media card read write line reading into the microprocessor according to said procedure each user, do standby, and in use do not insert the user writable media card of having imported, the operation signal of " cancelling " does not also appear in the man-machine interface circuit, then the electricity consumption handling procedure will be according to the order of user writable media card input, but once use each user's who has imported electricity consumption number incessantly, until exhausting, microprocessor then instructs isolating switch to cut off feed circuit.
Described multi-user power-driven terminal also can comprise clock/calendar circuit and non-volatile memory circuits, and the meter reading procedure at zero point is set in microprocessor, zero zero second is for checking meter constantly when being set every month some day zero by power department, each user's of this electric terminal between the moment that meter reading procedure will be checked meter day from the moment to this zero point that check meter day a last zero point at zero point accumulative total power consumption and always add up power consumption and be stored in the nonvolatile memory.When power department inserts in user's media card read write line with the inspection card, then instruct start-up routine that the power consumption of checking meter nearest two zero points between day is write the inspection card, power department gets final product the poor of tabulate statistics gross generation and total electricity consumption, the computational scheme loss.Above-mentioned multi-user power-driven terminal also can be in other way as palmtop computer, and means such as infrared remote control meter-copy device are copied the accumulative total power consumption of getting check meter above-mentioned zero point day.The handling procedure of time-shared charge and the preferential electricity price of super power consumption also can be set in above-mentioned multi-user power-driven terminal control device microprocessor, according to the different different electricity price of the period setting every day of power department regulation, the power consumption that the electrical energy pulse that microprocessor received according to the different periods is imported by certain electricity price equivalent deduction user writable media card respectively, the control electricity consumption realizes the purpose of time-shared charge.
At described advanced charge controller for electric consumption, particularly also the power supply of other circuit in the power supply of user's media card read write line and the machine can be separated in the multi-user power-driven terminal, adopt two independently power supplys, and the data transmission channel of user's media card read write line and internal microprocessor and other circuit is carried out photoelectricity with photoelectrical coupler isolate, make user's media card read write line and inner other circuit not have getting in touch of electricity, so promptly be the malicious attack that user's media card read write line is subjected to bad user, user's media card read write line is by short circuit or be subjected to high electrical breakdown, user's media card read write line and power supply thereof are damaged also can not involve internal circuit, internal control circuit still can normally be carried out function, stops bad user's stealing intention.
At described advanced charge controller for electric consumption; particularly also can comprise the encipherment protection circuit in the multi-user power-driven terminal; this circuit is made of PSAM card and bus buffer door; wherein the PSAM card is a kind of CPU card; work out key voluntarily by power department in the microprocessor of this card; and store the DES algorithm routine, and finish the authentication of user's media card and the encipherment protection of read-write process, make data run safe and reliable.
Advanced charge controller for electric consumption of the present invention, multi-user power-driven terminal particularly, be with the difference of comparing with controller for electric consumption of present existing pre payment watthour meter: pre payment watthour meter is only controlled the electricity consumption of a specific electricity consumer, can only be applicable to a specific user writable media card, for repeatedly the purchasing electric weight and can only add up and can not store respectively of this user writable media card, and the pre-expense controller for electric consumption of multi-user power-driven terminal of the present invention can be a plurality of users power supply in turn successively respectively of buying legal and valid user writable media card.The effective user writable media card of each opening and closing method can store respectively by the power consumption of user's media card read write line input, use respectively, each user all can stop electricity consumption midway in electricity consumption, and will remain power consumption by user's media card read write line return write former purchase the electricity the user writable media card in, in card, store the on-the-spot electricity consumption settlement of transactions on the realization machine.As the input of many user writable media card purchase that electric weight can continuous uninterrupted when the user does not insert the user writable media card of having imported and makes destruction operation once uses each user writable media card input purchase electric weight until using until exhausted, such merging electricity consumption can be satisfied the very big user's of power consumption needs again.At present pre payment watthour meter depends on E with controller for electric consumption owing to the storage of its data 2PROM, it does not need the support of backup battery when preserving data, and data can not lost during power failure.But just because of there is not backup battery, when circuit had a power failure, the clock/calendar circuit just can not be worked, thus pre payment watthour meter be not with the clock/calendar circuit with controller for electric consumption.Just because of this, present advanced charge electric installation can not write down the data relevant with clock/calendar, such as the function that can not realize checking meter zero point, can not connect the period carries out time-shared charge, thereby power department can not calculate grid loss, can not realize electricity marketization, advanced charge controller for electric consumption of the present invention also can have the clock/calendar circuit, backup battery and nonvolatile memory, to check meter accumulative total power consumption recording storage between day two zero points in nonvolatile memory, and can calculate the power consumption of electricity charge deduction user writable media card input respectively by the different periods of every day, realized time-shared charge, even after surpassing certain power consumption also practicable preferential electricity price, power department just can calculate grid loss like this, carries out the electricity market measure of time-shared charge.The advanced charge controller for electric consumption because each device only is user's service, is limited to cost and price at present, can not spend more fund and take effective measures of anti-stealing electricity.Control device of the present invention is owing to can supply a plurality of user power utilization, and the cost and price space is bigger.The present invention also can take user's media card read write line circuit and internal circuit by quick photoelectrical coupler be provided with independently that power supply carries out electric isolation with internal circuit.Adopt the CPU card, the increase encrypted circuit adopts the PSAM card that user's media card is proved the read-write process is protected.Store the security that the DES algorithm routine just can guarantee data run like this, prevent disabled user's stealing intention.The present invention is specially adapted to rural area public electricity-using facility user and temporary electricity family, cities and towns, and anti-attack ability is strong, and Electro Magnetic Compatibility is good, and data run is safe and reliable.
(4) description of drawings
Below in conjunction with drawings and Examples the present invention is done further detailed description:
Fig. 1 is a multi-user power-driven terminal ultimate principle block diagram
Fig. 2 is that multi-user power-driven terminal has the schematic block circuit diagram of checking meter zero point with many rates function
Fig. 3 is the schematic block circuit diagram that multi-user power-driven terminal has anti-attack ability
Fig. 4 is the schematic block circuit diagram that multi-user power-driven terminal has anti-attack and cipher protection circuit
Fig. 5 is a kind of schematic block circuit diagram of most preferred embodiment
Fig. 6 is the main program block diagram that is provided with in the microprocessor of the present invention
Fig. 7 is that the present invention sets up the main program block diagram of checking meter zero point in microprocessor
Fig. 8 is the usefulness electric treatment subroutine block diagram in the main program block diagram
Fig. 9 is that the subscriber card in the main program block diagram is handled the subroutine block diagram
Figure 10 sets up block diagram in the subroutine of time-shared charge in the electricity consumption handling procedure
Figure 11 is the circuit diagram of a kind of specific embodiments of circuit block diagram shown in Figure 5
Referring to Fig. 1.Fig. 1 is the schematic circuit block diagram of multi-user power-driven terminal, and it includes microprocessor (1), user's media card read write line (2), isolating switch (3), display (4), positioning indicator (5), man-machine interface circuit (6), power supply (7) and electric energy metrical unit (8).L1, L2, L3, N are the inlet wires of three-phase and four-line electrical network, load is a controlling object of the present invention.Electric energy metrical unit (8) can be that three-phase and four-line induction type pulse electricity meter also can be the three-phase and four-line electron watt-hour meter that has pulse output, electric energy metrical unit (8) sends the electric pulse that is directly proportional with electric energy, the certain electric energy of each electric pulse representative is commonly called as the pulse constant.Microprocessor (1) is according to receiving electric energy metrical unit (8), and corresponding power consumption is counted and adjusted to the electric pulse that sends.In user's media card read write line (2), insert the user writable media card, display (4) but just flicker show electricity consumption number in this user writable media card.If the user is by the operation of man-machine interface circuit (6), affirmation is purchased electric number input electric terminal with this, then user's media card read write line (2) just will store in the data input microprocessor (1), and on user's media card, make corresponding record, display (4) but show the electricity consumption number of input, as current power consumption or as standby electric weight.If only imported the electric weight of purchasing of a user writable media card in the multi-user power-driven terminal, promptly as current power consumption, positioning indicator (5) indication " use " state: promptly power behind the isolating switch that closes (3) to this user.Electric energy metrical unit (8) metering electricity consumption number is also exported corresponding electric pulse, and microprocessor (1) receives electric pulse and just advances counting.Handle and the power consumption of examining and making cuts, display (4) shows real-time dump energy.
When power consumption is examined and made cuts to zero the time, microprocessor (1) sends designated command isolating switch (3) and cuts off load circuit, stops the power supply to the user, display (4), show that the residue power consumption is zero, positioning indicator (5) is indicated by " use " state shift " preparation " state.If the user inserts user's media card read write line (2) once more with the former user writable media card of purchasing electricity and also uses electric treatment by the operation work " cancelling " of man-machine interface circuit (6) when power consumption does not use up, then microprocessor (1) instruction isolating switch (3) tripping operation, cut-out is to the user load circuit supply, and instruction user's media card read write line (2) will remain power consumption and return and write the original subscriber and read and write in the media card, display (4) shows its residue power consumption, and positioning indicator (5) is also by " use " state shift " preparation " state.If the user inserts the user writable media of another opening and closing method and snaps in user's media card read write line (2) when electricity consumption, and the operation acknowledgement by man-machine interface circuit (6), microprocessor (1) instruction user's media card read write line (2) then, in the electric data input microprocessor of purchasing of this read-write media card (1), display (4) then shows its input data, and positioning indicator (5) is indicated " use " and " standby " state simultaneously.Later, display (4) then continues to show former being in " use " state user's residue power consumption, when this residue power consumption is examined and made cuts when being zero, can change " standby " power consumption over to " use " state automatically, the electricity consumption that makes the user continue not stop, the power consumption of examining and making cuts, examine and make cuts to zero the time until this power consumption, just instruct isolating switch (3) to cut off power supply, display (4) shows that the residue power consumption is zero, and positioning indicator (5) changes " preparation " state over to.If import the electric data of purchasing of a plurality of user writable media card simultaneously, a plurality of " standby " electric weight is then arranged, ceaselessly electricity consumption in turn one by one continuously, this has just made things convenient for the big user's of power consumption use.
Fig. 2 has set up clock/calendar circuit (9) in Fig. 1 circuit, the schematic block circuit diagram of the standby power supply (11) that nonvolatile memory (10) and clock/calendar circuit (9) are required.Microprocessor (1) when providing, minute, second and year, month, day and perpetual calendar are provided clock/calendar circuit (9).Standby power supply (11) is continued to move required in order to make clock/calendar circuit (9) when the down circuitry, and nonvolatile memory (10) is deposited the service datas such as data of checking meter the electricity consumption data of day entry every month zero point and chargeing at times.When power supply department will be checked meter by means of check card, palmcomputer, infrared remote control meter-copy device or network copy the electricity consumption data of multi-user power-driven terminal, have these circuit supply departments just can carry out the fees policy of electricity price charging at times.
Fig. 3 is the schematic block circuit diagram that increases anti-bad user's malicious attack in the circuit theory diagrams of Fig. 1, and power supply (14) is user's media card read write line (2) and photoisolator (12) power supply here.Photoelectricity is isolated the isolation that (12) carry out data between user's media card read write line (2) and the microprocessor (1) and communication port electricity.After these circuit have been arranged, the disabled user attacks with high voltage, and user's media card read write line (2) is punctured, or with the method for short circuit user's media read write line (2) is burnt also can not involve machine inner core circuit of the present invention, make electric terminal can continue normal operation, normal cutoff load circuit.
Fig. 4 has increased encipherment protection circuit (13) on the basis of the circuit of Fig. 3, this circuit is the read-write control circuit of PSAM card, and the PSAM card is a kind of CPU card, is used for finishing to the authentication of user writable media card and the encipherment protection of read-write process.In the PSAM card, stored the algorithm routine of system key and des encryption computing, guaranteed that service data of the present invention is not decrypted, and reaches the safe and reliable of data run.
Fig. 5 is the schematic block circuit diagram of an optimum implementation.It is Fig. 2 in the description of drawings and the combination of Fig. 4.
Fig. 6 is a main program block diagram.
Referring to Fig. 7, Fig. 7 is the flow chart that increases the subroutine of checking meter zero point in main program block diagram.Check meter the zero point of the setting that this program is imported during according to the clock of clock/calendar circuit (9) and date and initialization day and check meter and judge whether current be to check meter zero point constantly constantly.If check meter zero point constantly, routine access nonvolatile memory (10) then carries out the accumulative total of one month electricity consumption data with the data in this memory, and it is stored in the nonvolatile memory (10), waits for the power supply department inspection or checks meter.
Initialization before the program of Fig. 6 and Fig. 7 main program block diagram begins sticks into row setting by the initialization setting; after installing, multi-user power-driven terminal at first in the PSAM card reader (13) of the encipherment protection circuit (13) of multi-user power-driven terminal, carries out initialization by power supply department; initialization comprises the numbering of the electric energy metrical unit of multi-user power-driven terminal; area code, the initial value of electric energy metrical.On the date of checking meter zero point, reach the month of checking meter zero point first, clock initial value constantly, the electrical energy pulse constant, each rate start-stop moment of many rates, rate number, each rate electricity price and preferential electricity price etc. are inserted the PSAM card that is provided with by power supply department by power supply department after the initialization again.
Referring to Fig. 8, Fig. 8 uses the electric treatment subroutine, and multi-user power-driven terminal can enter working procedure after the initialization, at first enter and use the electric treatment subroutine, reference-to storage at first, but confirm whether to have the electricity consumption number, but if there is not the electricity consumption number, confirming to have denys standby electric number again.If do not have then microprocessor (1) instruction isolating switch (3) cut-out subscriber's line circuit.But if there is not the electricity consumption number, but standby electric number is arranged, then but this program transfers standby electric number to the electricity consumption number, microprocessor (1) instruction allows isolating switch (3) connecting subscribers participating circuit, electric pulse is sent in electric energy metrical unit (8) metering user circuit electricity consumption this moment, microprocessor (1) receives electric pulse, but reduces the electricity consumption number according to initialized data, reduces the microprocessor that is over (1) instruction isolating switch (3) cut-out subscriber's line circuit program and enters subscriber card processing subroutine.
Referring to Fig. 9, Fig. 9 is that subscriber card is handled subroutine, routine access user media card read write line (2) confirms whether useful family read-write media card is inserted, check the password of subscriber card by the PSAM card of encipherment protection circuit (13), effective information is checked by microprocessor (1) in authenticated legal back, and judge whether it is the user writable media card of using, if new legal and valid user writable media card, confirm further whether storer allows to accept new subscriber card, if do not allow, the information of microprocessor (1) command display (4) explicit user card error then; If allow then when receiving the signal of man-machine interface circuit (6), microprocessor (1) instruction user's media card read write line (2) is with the effective information input store of subscriber card, and then program changes over to the running of electric treatment subroutine.If when inserting the user writable media card, through being judged as the subscriber card that is using, just assert that the user does the processing of " cancelling " electricity consumption when then microprocessor (1) is received the signal of man-machine interface circuit (6), then microprocessor (1) instruction user's media card read write line (2) carries out write operation to the user writable media card, to remain power consumption and return and write in this card storage, program changes over to electric treatment subroutine microprocessor (1) instruction isolating switch (3) and cuts off subscriber's line circuit.
Referring to Figure 10, Figure 10 is the flow chart that embeds the subroutine of time-shared charge in the electric treatment subroutine.When isolating switch (3) combined floodgate is powered to subscriber's line circuit, storer in the routine access microprocessor (1) is current to be section when, the electric price parameter of this each electrical energy pulse of period that microprocessor (1) is provided with during then according to current period of living in and initialization is reduced the electricity consumption number, reduce be over after microprocessor (1) instruction isolating switch (3) cut off subscriber's line circuit, program changes subscriber card over to and handles subroutine.
Referring to Figure 11, this figure is the concrete electronic circuit (explanation of embodiment is seen in detailed description) of the theory diagram of Fig. 5.
(5) embodiment
The theory diagram of preferred forms of the present invention as shown in Figure 5, Figure 11 is the circuit diagram of specific embodiment.With dashed lines is divided into several zones to electronic circuit in Figure 11, corresponds respectively to the circuit block of the same numbering among Fig. 5.Wherein electric energy metrical unit (8), isolating switch (3) and power supply (7), (10) all are product or the circuit that the technician knows, and standby power supply (11) is exactly a lithium battery, all omit in the circuit diagram and do not draw, and (3) part is the driving circuit of isolating switch (3).Microprocessor (1) is that a model is 8751 to belong to 8051 Series chip, and it has the 4K internal memory, and looks the needs of practical application, exists in it to extend to 64K in the homologous series.Program of the present invention can write with programmable device, the very ripe mask technique of available electron industry is cured among the ROM during production in enormous quantities, not because of dead electricity changes, the remainder of internal memory is the data that RAM is used to store various variations, needs power supply just can keep unlikely losing.Clock/calendar circuit (9) is a micropower circuit by the lithium battery power supply of standby power supply (11), and its model is PCF8583.It also has the RAM of 240 bytes, because by lithium battery power supply, PCF8583 turns round always, the RAM data can not lost yet, the INT pin of clock/calendar circuit (9) links to each other with 8751 P35 pin through resistance R 32, the SCL pin links to each other with 8751 P36 pin, and SDA links to each other with 8751 P37 pin, as the information channel between clock/calendar circuit (9) and the microprocessor (1).Nonvolatile memory (10) is an eeprom circuit that model is 24LC32, also the same P36 and the P37 pin that correspondingly inserts microprocessor (1) of its SCL with PCF8583 with the SDA pin, become and microprocessor (1) between data channel, the information among microprocessor (1) RAM all has backup in clock/calendar circuit (9) and nonvolatile memory (10).Because 24LC32 is an E 2The PROM circuit, data can not lost during dead electricity, when microprocessor (1) after the main frame dead electricity can copy among its RAM from the backup of these circuit.24LC32 also stores a plurality of users' various electricity consumption data.The X1 socket is the input socket of electrical energy pulse, receives 8751 P32 pin from the electric pulse of electric energy metrical unit (8) through X1 socket and resistance R 25, counts and adjust power consumption for microprocessor (1).Man-machine interface circuit (6) can be made up of a K switch 1 and resistance R 24, inserts 8751 P27 mouth.The closure signal of K1 makes microprocessor (1) send read write command to user's media card read write line (2).(3) part of circuit is the driving circuit of isolating switch (3).8751 P17 mouth inserts the K pin of photoelectrical coupler U6 (2501) by resistance R 24, when P17 is in electronegative potential, the V.0 end conducting of photoelectrical coupler U6, triode T9 base stage is in noble potential, the T9 conducting, T1 is conducting also, and the coil of secondary relay J1 is connected, the relay contact conducting drives isolating switch (3) by socket X2 and cuts off circuit.Display (4) is by V1, two three seven sections LED charactrons of V2 and T2-T5, T7, six transistors of T8 and R2-R10, R17-R19 and R22,14 resistance such as R23 are formed, V1 wherein, the model of V2 is TOT-5362BE, the P00-P07 mouth of microprocessor (1) sends decoding and radix point signal, with V1, the A-G of V2 links to each other with DP, and the P10-P15 mouth is determined data bit to display, in each moment, it is high level that P10-P15 has only a pin, makes the T2-T5 that is attached thereto, T7, the respective transistor of T8 is in conducting state, then corresponding data bit just press the pen section decoding demonstration of P00-P06, and P10-P15 takes turns high level with high speed, and six charactrons just can be observed simultaneously; Positioning indicator (5) is by V4-V6 and four light emitting diodes of V8 and R12, R16, and R26, four resistance of R27 are formed, and link to each other with the P4.0-P4.3 of microprocessor (1).When light emitting diode that links to each other when being in low level in the P4.0-P4.3 mouth is just lighted, indication " preparation ", " use ", " standby " state and situation such as pulse input is arranged respectively.User's media card read write line (2) is made up of deck (USERCARD) and U3A-U3D gate circuit and T6.U3A-U3D is four a pair of Sheffer stroke gates, and model is 74HC00, U34 and Cy3 crystal oscillator and C8, and C9 and R50 form the timeticks that oscillatory circuit produces IC-card work, by linking to each other with the CLK pin of deck after the U3B paraphase.T6 is connected with photoelectrical coupler U8, provides power supply according to the signal of microprocessor (1) P23 pin for IC-card work, and the I/O IO interface of IC-card links to each other with the U11 photoelectrical coupler with R11 through resistance R 31, pass through U3C, U30, the U10 photoelectrical coupler links to each other, and forms data communication channel.The SW pin of IC-card links to each other with the P22 pin of microprocessor (1) by deck, U7 photoelectrical coupler.Microprocessor (1) just sent the authentication that instruction blocks and checks after SW detected signal after inserting IC-card in the deck.Photoelectrical coupler (12) goes out U7-U11 and U5B, T10, and T11 forms, and wherein U7-U9 is that model is 2501 general photoelectrical coupler, and U10 and U11 are high speed photo couplings, and model is 6N137, U5B is that model is a gate circuit of the four bus line buffer gate of 74HC125.Under the control of microprocessor (1) P21, between user's media card read write line (2) and microprocessor (1), U10 carries out exchanges data by photoelectricity coupling integrated circuit.T10 and T11 drive U11 photoelectricity coupled circuit and link to each other with the I/O mouth of user's media card read write line (2) under the control of the P21 of microprocessor (1) and P25; Encipherment protection circuit (13) is made up of PSAM deck and U5A, U5C, U5D.U5A is the gate circuit of 74HC125, will drive the CLK pin of PSAM card from the crystal oscillator frequency output of microprocessor (1), as the timeticks of its work.U5C realizes the exchanges data between PSAM card I/O and the microprocessor (1) under the P25 foot control system of microprocessor (1), U5D realizes the authentication with user's media card read write line (2) under the P25 foot control system of microprocessor (1).Here related components and parts microprocessor 8751 (8051 series) single-chip microcomputer and PCF8583 its can be about principle of work and performance referring to " Philip 80C31 series monolithic principle and application technology handbook." publishing house of BJ University of Aeronautics ﹠ Astronautics version in 1992, other components and parts also can be consulted relevant handbook.
In the electronic circuit in the specific embodiment of multi-user power-driven terminal of the present invention, each integrated circuit and transistor can adopt the product of its model that substitutes, even some integrated circuit can be integrated in clock/calendar circuit and single-chip microcomputer in the chip piece, but this still belongs to scope of the present invention.

Claims (7)

1. advanced charge controller for electric consumption, multi-user power-driven terminal particularly, it includes electric energy metrical unit (8), user's media card read write line (2) and corresponding user writable media card, and to handling from the data of user's media card read write line (2) and to counting from the electric pulse of electric energy metrical unit (8), the microprocessor of handling (1), be subjected to the isolating switch (3) and the display (4) of microprocessor (1) control in addition, it is characterized in that: the advanced charge controller for electric consumption also includes positioning indicator (5), man-machine interface circuit (6), and the electricity consumption handling procedure and the subscriber card handling procedure that in microprocessor (1), are provided with, these programs are imported the electric data of purchasing in a plurality of users' the read-write media card and be stored in respectively in the microprocessor (1) by user's media card read write lines (2), allow the multi-user successively, electricity consumption in turn; As a certain user during in the electricity consumption of electricity consumption Halfway Stopping, in user's media card read write line (2), insert this user's former read-write media card, and do " cancelling " when operating with electric treatment by man-machine interface circuit (6), microprocessor (1) will instruct isolating switch (3) to cut off user's feed circuit, and the electricity consumption data of this user input are deducted residue numerical value behind the electricity consumption number return to write in this user writable media card by user's media card read write line (2) and store, wait until electricity consumption more next time, and indicate each user's the electricity condition of using with positioning indicator (5); If in whole use, do not do any " cancelling " operation with electric treatment by man-machine interface circuit (6), each user writable media card that this program then allows user's continuous uninterrupted to use to have imported purchase electric weight, but the whole electricity consumption numbers until each user who has imported use up, and microprocessor (1) instruction isolating switch (3) cuts off user's feed circuit.
2. multi-user power-driven terminal according to claim 1, it is characterized in that, it also includes clock/calendar circuit (9) and nonvolatile memory (10) and be provided with the meter reading procedure at zero point in microprocessor (1), zero zero second was for checking meter the moment when this program allowed power department to set every month some day zero, this program adds up the electricity consumption data in the interval between checking meter constantly a last zero point before this moment and is stored in the nonvolatile memory (10), nonvolatile memory (10) is also preserved the output and the transactions history record of cancelling of user's media each time simultaneously, when power department inserts the inspection media card from user's media card read write line (2), or pass through palmtop computer, when infrared copying instrument and other media and multi-user power-driven terminal communication, power department can read the electricity consumption data and the transactions history record of checking meter at zero point in this electric terminal day.
3. multi-user power-driven terminal according to claim 1 and 2, it is characterized in that it includes clock/calendar circuit (9) and nonvolatile memory (10) and be provided with time-shared charge or preferential rate program in microprocessor (1), different electricity prices in the different time interval in set according to power department one day, or surpass preferential electricity price behind certain power consumption etc. and reduce respectively in user's media card of input multi-user power-driven terminal and purchase electric data electric control.
4. multi-user power-driven terminal according to claim 1 and 2, it is characterized in that it also includes power supply (14) and photoisolator (12), the power supply (7) of other circuit is two power supplys independently separately in the power supply (14) of user's media card read write line (2) and the machine, and user's media card read write line (2) carries out the isolation of electricity with inner other circuit with photoisolator (12).
5. multi-user power-driven terminal according to claim 3, it is characterized in that the power supply (14) of user's media card read write line (2) and the power supply (7) of interior other circuit of machine are two independent current sources separately, user's media card read write line (2) carries out the isolation of electricity with inner other circuit with photoisolator (12).
6. multi-user power-driven terminal according to claim 1 and 2 is characterized in that it also includes encipherment protection circuit (13), the algorithm routine of this circuit stocking system key and DES computing.
7. multi-user power-driven terminal control device according to claim 3 is characterized in that also including encipherment protection circuit (13), the algorithm routine of this circuit stocking system key and DES computing.
CNB001165461A 2000-06-15 2000-06-15 Multi-user power-driven terminal Expired - Fee Related CN1180382C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB001165461A CN1180382C (en) 2000-06-15 2000-06-15 Multi-user power-driven terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB001165461A CN1180382C (en) 2000-06-15 2000-06-15 Multi-user power-driven terminal

Publications (2)

Publication Number Publication Date
CN1329326A CN1329326A (en) 2002-01-02
CN1180382C true CN1180382C (en) 2004-12-15

Family

ID=4585950

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB001165461A Expired - Fee Related CN1180382C (en) 2000-06-15 2000-06-15 Multi-user power-driven terminal

Country Status (1)

Country Link
CN (1) CN1180382C (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652824A (en) * 2007-01-09 2010-02-17 功率监视器公司 The method and apparatus that is used for smart circuit breaker

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101413965B (en) * 2007-10-17 2012-10-31 湖北盛佳电器设备有限公司 Modular assembled electrical energy meter
CN101329368B (en) * 2007-11-03 2014-03-12 湖北盛佳电器设备有限公司 Multi-meter position electric energy metering device
CN101446599B (en) * 2007-11-26 2016-01-20 湖北盛佳电器设备有限公司 There is the management of power use device of self-checking function
CN101221675B (en) * 2007-12-30 2011-05-25 人民电器集团有限公司 Control device cooperated with plug-in type watt-hour meter
DE102008058264A1 (en) * 2008-11-19 2010-07-08 IAD Gesellschaft für Informatik, Automatisierung und Datenverarbeitung mbH Measuring device, in particular energy counter and method for detecting tampering
CN102122412B (en) * 2010-12-30 2012-07-25 宁波三星电气股份有限公司 Method for controlling prepaid electric power meter based on IC (Integrated Circuit) card
CN102592364A (en) * 2011-12-29 2012-07-18 中国电力科学研究院 Encryption and decryption functions based field service terminal and application method thereof
CN103645363B (en) * 2013-12-11 2016-09-14 广东电网公司电力科学研究院 Bidirectional measuring three-phase intelligent electric-energy meter
CN105280217B (en) * 2014-07-24 2018-06-29 山东厚德测控技术有限公司 A kind of multipurpose board unit with electromagnetic protection and encryption function
CN107677862A (en) * 2017-09-14 2018-02-09 国网山东省电力公司汶上县供电公司 Thief-proof electric equipment and system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101652824A (en) * 2007-01-09 2010-02-17 功率监视器公司 The method and apparatus that is used for smart circuit breaker
CN104282086A (en) * 2007-01-09 2015-01-14 功率监视器公司 Method and apparatus for smart circuit breaker
US9595825B2 (en) 2007-01-09 2017-03-14 Power Monitors, Inc. Method and apparatus for smart circuit breaker

Also Published As

Publication number Publication date
CN1329326A (en) 2002-01-02

Similar Documents

Publication Publication Date Title
CN1180382C (en) Multi-user power-driven terminal
BG109860A (en) Prepayment system for electric power meters using contactless smart cards with automatic supply cut-off device
DE69803278T2 (en) SECURITY SYSTEM FOR ALTERNATIVE ENERGY SUPPLIES
CN2837796Y (en) Step-wise charging and prepayment card type intelligent water meter
US20100223180A1 (en) Methods, systems and agreements for increasing the likelihood of repayments under a financing agreement for renewable energy equipment
CN101266706B (en) On-demand customized payment terminal
BG64135B1 (en) Method for transmitting and storing value and value store electric power meter using same method
CN203055137U (en) On-site handheld comprehensive service terminal of intelligent electric meter
CN203192085U (en) Prepayment electric energy meter
CN202912684U (en) Oiling machine cheat-prevention device
CN101329788A (en) Authorization type power management method and system
Hiware et al. Advance low cost electricity billing system using GSM
CN201007829Y (en) Prepaid electric meter electricity selling management system
CN110232782A (en) A kind of Split natural gas high-voltage prepayment control device and its application
US20020013670A1 (en) Methods and apparatus for secure programming of an electricity meter
CN214670882U (en) STS prepayment gas meter based on bluetooth communication
CN101661647A (en) Machine-card separation digital network measuring apparatus
CN112649641B (en) Electricity stealing user judging method based on electricity stealing characteristics
CN201611495U (en) Centralized time-limiting and quantity-limiting electricity using management system and terminal
CN2546849Y (en) Digital type pre-payment water or gas meter
Yang On the design of campus-wide multi-purpose smart card systems
CN2708324Y (en) Carrier wave type prepaying electric energy meter
CN1039461C (en) Intelligent card and enciphered read-write device
CN2572343Y (en) Electric meter controller for code exchange precollection of fee
CN107292182A (en) A kind of semiconductor equipment control system hot plug is anti-to crack tailored version hardware encipherment protection device

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
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Yu Jingjun

Document name: payment instructions

C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Yu Jingjun

Document name: Notification of Termination of Patent Right

C19 Lapse of patent right due to non-payment of the annual fee
CF01 Termination of patent right due to non-payment of annual fee
DD01 Delivery of document by public notice

Addressee: Yu Jingjun

Document name: Notification of Approving Refund