WO1995034822A1 - Magnetic card type watthour meter and its calculating and controling system - Google Patents

Magnetic card type watthour meter and its calculating and controling system Download PDF

Info

Publication number
WO1995034822A1
WO1995034822A1 PCT/CN1994/000045 CN9400045W WO9534822A1 WO 1995034822 A1 WO1995034822 A1 WO 1995034822A1 CN 9400045 W CN9400045 W CN 9400045W WO 9534822 A1 WO9534822 A1 WO 9534822A1
Authority
WO
WIPO (PCT)
Prior art keywords
central control
charging
control device
magnetic card
control system
Prior art date
Application number
PCT/CN1994/000045
Other languages
French (fr)
Chinese (zh)
Inventor
Yucun Ke
Dongmao Ye
Hongxuan Xia
Original Assignee
Kedian Enterprises (China) Group 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 Kedian Enterprises (China) Group Co. Ltd. filed Critical Kedian Enterprises (China) Group Co. Ltd.
Priority to AU69677/94A priority Critical patent/AU6967794A/en
Priority to PCT/CN1994/000045 priority patent/WO1995034822A1/en
Publication of WO1995034822A1 publication Critical patent/WO1995034822A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/08Payment architectures
    • G06Q20/12Payment architectures specially adapted for electronic shopping systems
    • G06Q20/127Shopping or accessing services according to a time-limitation
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R22/00Arrangements for measuring time integral of electric power or current, e.g. electricity meters
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F15/00Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity
    • G07F15/003Coin-freed apparatus with meter-controlled dispensing of liquid, gas or electricity for electricity
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F17/00Coin-freed apparatus for hiring articles; Coin-freed facilities or services
    • G07F17/0014Coin-freed apparatus for hiring articles; Coin-freed facilities or services for vending, access and use of specific services not covered anywhere else in G07F17/00

Definitions

  • the invention relates to a magnetic card type watt-hour meter and its program-controlled charging system, in particular to a magnetic card type watt-hour meter using information read from a magnetic card for charging control and a magnetic card type watt-hour meter with the system. table. Background technique
  • the above-mentioned 92217385.0 patent uses digital technology to complete the intelligent automatic measurement and control of ordinary electricity meters.
  • This well-known technique includes a sampling section, which is painted with black paint on the edge of the meter dial of an ordinary electric meter or has a slit.
  • An object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof, which can arbitrarily set the peak, trough and flat periods of power consumption according to the requirements of the power supply department, and automatically calculate the charges.
  • Another object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof that limit the maximum current consumption.
  • Still another object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof capable of automatically detecting a sampling failure.
  • a final object of the present invention is to use a card swipe method instead of a conventional magnetic card transfer mechanism, omitting the mechanical action part and improving reliability.
  • the control system of the present invention is used in combination with a conventional electric leather meter, thereby forming a magnetic card type electric meter that can be conveniently controlled according to the present invention.
  • the control system of the magnetic card type watt-hour meter of the present invention uses a single-chip microcomputer as a central control device, generates control signals according to signals from various peripheral devices to call preset programs, and issues instructions to each corresponding peripheral device, thereby completing Control of power supply.
  • the control system of the present invention also includes the above-mentioned various peripheral devices, which are data processing devices for inputting measurement sampling information, magnetic card information and a pre-programmed control program ⁇ to the central control device, and the control generated by the central control device.
  • the signal is output; the time setting device is used to complete the current time setting to send the internal timing information to the central control device; the display device is used to perform various displays in response to the output signal of the central control device; the alarm brake device is used to It operates in response to a control instruction issued by the central control device; and a backup power supply device is used to supply power to the entire control system in the event of a power failure to maintain various data in the volatile memory in the single-chip control system and maintain the display.
  • This addictive control system is characterized in that it also includes:
  • the peak / valley charging device in the time setting device based on the information from the magnetic card, divides the peak, valley, and peace time of the electricity in the current time that has been set, and according to different time periods according to the preset Increase, decrease, or parity charging mode for charging, and send a control signal to the central control device, so that the central control device drives the display device for real-time display;
  • Current-limiting device used to detect the current value of current consumption from the measurement sampling signal and send it to the data processing device
  • the data processing device compares the detected value with the set value input by the magnetic card to generate a maximum current limit control signal, and transmits the control signal to the central control device, and the central control device processes the signal in response to the signal .
  • a program input device for inputting a pre-programmed control program and storing it in an EPROM (Electrically Erasable Read-Only Memory) so that the central control device calls the program in response to an external signal through a data processing device to perform a control action;
  • EPROM Electrical Erasable Read-Only Memory
  • a card swipe device is used to replace the conventional magnetic card transmission mechanism, and uses a high-speed read and erase magnetic head to read and erase the manually swiped magnetic card information, and sends the read information to a data processing device;
  • An auxiliary current sampler is used to continuously detect whether a current passes through the watt-hour meter, and generates an effective signal to send to the central control device, so as to determine whether the photoelectric converter is faulty and perform processing.
  • the system is combined together, and the control system performs charging control on the magnetic card type watt-hour meter. Swipe the card to start the billing process such as installment billing, maximum current limit *, and check your own sampling.
  • the magnetic card type watt-hour meter of the present invention has high integration, simple operation, high reliability, and can meet various special requirements of different power supply departments. Brief description of the drawings
  • FIG. 1 is a schematic diagram of a magnetic card type watt-hour meter with a charging control system of the present invention
  • FIG. 2 is a circuit block diagram of a charging control system according to the present invention.
  • 3A and 3B are program flowcharts of the charging control system of the present invention.
  • FIG. 4 is a flowchart of processing a sampling failure of a photoelectric converter according to the present invention.
  • 5A and 5B are schematic diagrams of a swipe card according to the present invention. The best way to implement the invention
  • the watt-hour meter (conventional sampling meter) 2 and the brake section 3 are well known to those skilled in the art, and will not be described in detail here.
  • the control system 1 uses a general-purpose single-chip microcomputer (such as the D80 series) as a central control device, and is equipped with various peripheral devices according to the present invention.
  • the control system 1, the watt-hour meter 2 and the brake section 3 are all assembled in the same case, and become a complete magnetic card-type watt-hour meter.
  • Magnetic cards are divided into two types: operative card and user card.
  • the technician's card is used for initial setting after the meter is installed and before use.
  • the user's card is purchased by the user from the power supply department. At the time of purchase, the power supply department uses a special punch machine to enter various required information on the user's magnetic card.
  • Both the technician's card and the user's card input information into the control system of the magnetic card type watt-hour meter of the present invention by swiping the card.
  • the central control device 101 is composed of a general-purpose single-chip microcomputer, as long as it has general single-chip microcomputer functions, such as D80 series products.
  • the central control device 101 is a core device. It inputs signals from various peripheral devices, and uses these signals as interrupt signals to call a program prepared according to the present invention, and generates further control signals according to the program flow to control various types of the entire billing control system. Make.
  • the technician When assembling the magnetic card watt-hour meter, the technician enters a pre-programmed control program (which will be detailed below) into the billing control system of the present invention from the program input device 112 (for example, a healthy disk).
  • the entered program is stored in EPROM 113.
  • the central control device 101 When the central control device 101 needs to call this program, it passes the data processing device 111 (this device is specially marked as an emphasis, of course, those skilled in the art should understand that this device can also be incorporated into the central control device 101 as a part of a single-chip microcomputer)
  • the stored program in the EPROM 113 is read and sent to the central control device 111 for processing.
  • the measurement sampling uses an infrared photoelectric converter to receive the infrared light reflected on the instrument dial to form an electrical pulse.
  • the measurement sampling device 114 generates an electrical pulse.
  • the electrical pulse is digitized in a subsequent touch-to-digital converter 115 to generate a digital signal. It enters the central control device 101 via the data processing device 111, and the central control device 101 controls the power measurement according to the received sampling signal.
  • the analog-to-digital converter 115 also sends the sampling signal to the current limiting device 116 which embodies the advantages of the present invention.
  • the current limiting device 1164 compares the current current value obtained from the sampling signal received by the A / D converter 115 according to the maximum current limit value set in the user magnetic card signal from the data processing device 111.
  • the current limiting device 116 If the current current value If it is not greater than the maximum current limit value, the current limiting device 116 outputs a normal level, such as a low level. Once the current current value exceeds the maximum current limit value, the current limiting device 116 generates an operating level, such as a high level. This high-level signal enters the central control device 101 via the data processing device 111, and the central control device 101 outputs an operation instruction such as a brake alarm. It is worth mentioning that the control system of the magnetic card watt-hour meter of the present invention is also provided with an auxiliary sampler 118, which can be a current transformer located at the incoming or outgoing line of the watt-hour meter.
  • the auxiliary sampler 118 can still detect the current flowing through the electricity meter and generate "in-use" signal.
  • Differential comparators in the data processing device 111 respectively receive signals from the A / D converter 115 Digitized sampling signal and "power in use” signal. Usually, these two signals are high (or low) level, and the differential comparator outputs a normal signal to the central control device 101.
  • the sampling signal continues to have a low (or high) level, while the auxiliary sampler 118 still generates a high (or low) level of "power in use", which is the same as the signal level from the sampler 114
  • the differential comparator generates an operation signal to the central control device 101, and the central control device 101 operates according to the flow shown in FIG. 4, which will be described below.
  • the magnetic card information input device 117 is in the form of a swipe card.
  • the so-called card swipe means that the user manually feeds the card through the card swipe opening 31 and passes it at an arbitrary speed in the direction of the arrow Z, as shown in Figs. 5A and 5B.
  • the card swiping device is equipped with a high-speed information pickup magnetic head, which converts the weak magnetic signal into an electrical signal and amplifies it and then sends it to the data processing device 111.
  • the data processing device 111 distributes it to each corresponding device, such as the peak and valley time information.
  • the peak / valley charging device 122 sends the maximum current limit information to the current limit device 116, and other control information to the central control device 101.
  • the user does not need to go through the traditional magnetic card transmission mechanism, and can simply send all the magnetic card information into the control system with a single swipe.
  • the central control device 101 After reading all the magnetic card information and verifying it without error, the central control device 101 sends an erasing instruction to the magnetic card input device 117 via the data processing device 111, then the erasing magnetic head is activated, eliminating all the information carried by the magnetic card, making it obsolete
  • the card is collected by the power supply department before reuse. In this way, card input becomes convenient, fast, and reliable, eliminating the disadvantages of slow mechanical operation and poor reliability.
  • the time setting device 121 is used to set the time by a technician. It adopts the 24-hour clock, and only accepts the setting of "hour” and “minute”, "second” is automatically set to "0". You must enter four digits when setting, for example:
  • the timer starts when the setting is completed. Note that the time input also uses the keypad in the program input device 112. This keypad is set inside the watch case and is packaged immediately after setting. The user cannot change it.
  • the peak / valley charging device 122 divides the current time according to the magnetic card input information from the data processing device 111. According to the charging standard set in the input program, it charges and charges according to the three periods of peak, valley, and flat, and The central control device 101 sends billing information, and the central control device 101 issues an instruction to the display device for real-time display. This unique pricing method will be described in detail below with reference to FIGS. 3A and 3B.
  • the display driving device 131 drives the LED display 132 according to a control signal from the central control device 101.
  • the LED display 132 is divided into two parts in the present invention, that is, light emitting diodes 3 2 (for example, 8 but only 5 are shown in FIGS. 5 A and 5B) and a seven-segment digital display 33 (for example, 7 digits), see FIG. 5A and 5B.
  • Light two Diode 32 for displaying warning or fault, for convenience, these eight light emitting diodes are referred ERR_LED # 1 ⁇ ERR-LED # 8, the effect as shown in Table I:
  • Seven-segment digital display 33 can be shown in Table ⁇ :
  • the alarm device 141 is configured to emit an alarm sound in response to a signal sent from the central control device 101. For example, a buzzer may be used.
  • the brake opening device 142 is also a well-known technology for cutting off power supply according to a signal from the central control device 101, and either a relay or a thyristor can be used.
  • the power supply 150 contains a backup battery to maintain data in volatile memory in the event of a power failure so that it can continue to work after power is restored.
  • a failure for example, the battery cannot be charged
  • the buzzer sounds and ERR-LED # 4 lights up.
  • the user should notify the technician to replace it.
  • the control system should be kept powered on during replacement. RESET> key to continue monitoring. If the user does not pay attention, after the power failure, the original stored data will disappear. After the power is turned on, it will be regarded as the first installation, and it needs to be reset and swiped. 12 (not shown) is used to zero the available power.
  • the inventor divided the rotating speed of the meter dial into three types, namely:
  • Electricity meter dial is counted as 1 kWh per 400 revolutions, expressed as "4";
  • Each turn of the electric meter dial is counted as 1 kWh, expressed as "5".
  • This setting is done by the technician during the initial phase. For example, if "3" is turned off, the information that the rotation speed is set to 300 revolutions / degree is input. At the same time, in order to limit the maximum current consumption, the inventors set the rotation speed monitoring values for different maximum current limits.
  • the following table 1 ⁇ exemplifies the conversion of the meter speed and the maximum current limit into monitoring values (using 220 volts):
  • the central control device 101 immediately generates an interruption control signal accordingly, and the control system enters the action sequence shown in FIG. 3B, which will be detailed below.
  • the buzzer sounds, the fault indicator ERR-LED # 3 lights up, and the user presses the ⁇ ALM OFF> key (not shown) to turn off the buzzer. If it is still overloaded after one minute, the buzzer will sound again. If the overload is continued for five minutes, the brake will be turned off, and it will be automatically connected after one minute to continue power supply.
  • the 7-segment digital display 33 After the watt-hour meter is powered on for the first time, the 7-segment digital display 33 all lights up to "8". After the technician swipes and sets the b technician to swipe the card and is accepted, the 7-segment digital display 33 goes out and enters the setting state. At this time, the technician sets the control system as follows:
  • Time setting 24-hour clock is used, as mentioned above.
  • the automatic function display is displayed in the order shown in Table ⁇ . Except for the time, speed and number set by the technician, all of them should show “0". After viewing, please stop at the display status of "Available Degrees”. .
  • the technician swipes the card again to enter the user ’s use stage.
  • the technician can still enter the setting state by swiping the card, but can only change the time, speed and number.
  • the following information should be included: 1. Number, 2. Number of purchases, 3. Degree of purchase, 4. Peak time, 5. Valley time, 6, Maximum current limit, 7. End code.
  • the magnetic card number is also the magnetic card password. Each user has an 8-digit serial number password. The meter number is the same as the magnetic card number. Only read the magnetic card number and the number inside the machine, and then continue reading the information on the magnetic card. Otherwise, Ignore it. The number of purchases is set to prevent repeated card swipes.
  • the central control device 101 determines that this item is incorrect, it will ignore it.
  • the end code is compiled to prevent the use of magnetic cards other than the control system standard. If this error occurs, the power will be turned off immediately. Only when the machine is disassembled and presses the ⁇ RESET> key on the circuit board will it resume operation.
  • FIGS. 5A and 5B After the user returns home (assuming that the user is for civilian use, and industrial electricity is similar), as shown in FIGS. 5A and 5B, the magnetic card is swiped through the electricity meter. At this time, the program input from the program input device 112 and stored in the EPROM 113 is started. The following describes the fan in detail with reference to FIGS. 3A and 3B.
  • the central control device 101 first detects magnetic card identification information from the magnetic card input device 117. In step S1, identify whether the user number is consistent with the number stored in the phone. If they are not the same, ignore them; if they are the same, continue to check the number of purchases in step S2. If it is consistent with the information already stored in the aircraft, continue to proceed, otherwise it will be ignored. Read all magnetic card letters in step S3 and temporarily store them in the data processing device 111, and then determine whether the end code is correct in step S4. If it is correct, read these information and store them in the central control device 101, otherwise, The central control device JL01 outputs the opening brake command. Power off the power meter (S15). Then wait for the reset ( ⁇ ESET>) key signal.
  • step S5 the magnetic card degaussing command is output, and the erasing magnetic head is activated, so that the read user magnetic card becomes a waste card.
  • step S6 the electricity purchased by the user is added to the previous margin (if any) and stored.
  • step S7 the central control device 101 sends the peak and valley times on the magnetic card to the peak / valley billing device 122 for 24-hour instalment setting.
  • the central control device 101 detects whether a photoelectric converter has failed at step S101, which is performed by receiving a valid signal output from the differential comparator. If this valid signal is received, it is judged as YES in S1O1, and then the central control device 101 outputs alarm and brake instructions and lights ERR-LED # 5 (S102), and then waits for repair (S103); if it is judged as NO That is, the valid signal is not received, and then the procedure shown in FIG. 3B is performed from the exit B.
  • step S9 the central control device 101 determines whether the current speed has reached the maximum current.
  • Limit monitoring value N if yes, output alarm command and light ERR-LED # 3 (S17), and then wait for a predetermined time (for example, 1 minute) in step S18, then switch off the power (S19), in S 20 another example delay waiting for a minute, and power is restored, the inlet into B, for which the process before the fan;
  • ⁇ step S9 determines if the predetermined speed value is less than N, the routine continues downward, to start charging.
  • step S10 it is judged whether the current time falls into the normal power consumption period (weekdays, 8: 00-17: 00 and 13: 00-19: 00 in this example), and if so, it proceeds to step S14.
  • Normal standard billing, and drive 7-segment digital display 33 (for example, in the lower 4 digits) to display the normal billing situation, that is, use a kilowatt-hour meter to charge a kilowatt-hour electricity bill; if not, determine whether the current time falls within 1 ⁇ 4 ⁇ period in step S11 (21: 00-6: 00), if yes, in step S12, the data processing device 111 sends a signal to the peak / valley charging device 122 that is currently in the valley period, and the peak / valley charging device 122 performs a preset procedure.
  • the prescribed reduced-price charging method is used for charging.
  • the power consumption of 2 degrees can be counted as 1 degree (or 1.5 degrees).
  • the Shenyang control device 101 controls the display devices 131 and 132 to perform meter display (low 4). If the determination in step S11 is no, it is the peak power consumption period.
  • the central control device 101 informs the peak / valley charging device 122 to charge according to the peak period in step S13, and the peak / valley charging device 122 follows the provisions of the preset program According to the mark-up charging method, for example, the power consumption of 1 degree (or 1.5 degrees) can be counted as 2 degrees, and the central control device 101 can be notified to drive the display (lower 4 digits). Among them, the end value of each period (such as 6 o'clock) can be counted into any time
  • step S22 After completing steps S12, S13, or S14, the central control device 101 deducts the used power at step S21 and displays the amount (that is, the degree) (for example, the lower 4 digits of the digital display 33). Then, in step S22, it is judged whether the remaining amount has reached 5% of the current purchase amount, which is 5 degrees in this example. At the same time, according to the present invention, the value of chirp must not be less than 5 degrees, which is an advantage of the present invention. If it is judged as YES in step S22, the central control device 101 issues an alarm command and lights up ERR-LED # 2 in step S23. Next, it is determined in step S24 whether the margin is used up. If it is used up, it is performed in step S25. Output the brake command and light up ERR-LED # 1; If it has not been used up, or if it is judged as NO in step S22, the program returns to the entrance A, and it is executed repeatedly. Industrial applicability
  • the use of the magnetic card type watt-hour meter and the charging control system according to the present invention has a very obvious and excellent effect on alleviating the shortage of power during peak periods and strengthening the distribution and control of power by the power supply department.
  • This kind of control system is simple and reliable to use, flexible to set, and can effectively control according to the requirements of different regions, different departments and power supply departments at different times.

Abstract

This invention relates to a magnetic card type watthour meter and its automatic calculating and controling system. According to the demand, the power supply department encode on the card that customer purchased the amount purchased power, the time of the peak period, the time of the valley period and the limited amount of the maximum current. The customer input the information written in the card into a single chip microprocessor by passing the card through the cards slot in the watthour meter, the control system of the watthour meter commanded by the microprocessor then controls the power supply automatically, calculates and collects the rate respectively according to different time periods.

Description

磁卡式电度表及其计费控制系统  Magnetic card type watt-hour meter and its charging control system
技术领域 Technical field
本发明涉及磁卡式电度表及其程序控制计费舉统, 尤其是在磁卡式电度表 中利用从磁卡上读取的信息进行计费控制的系统和带有该系统的磁卡式电度 表。 背景技术  The invention relates to a magnetic card type watt-hour meter and its program-controlled charging system, in particular to a magnetic card type watt-hour meter using information read from a magnetic card for charging control and a magnetic card type watt-hour meter with the system. table. Background technique
目前广泛使用的家用和工业用电度表都是先行用电, 随后由供电部门利用 人工定期抄表收¾%这棒 ί 既麻烦又不合理。国内外市场上已出现先购电后用电 的合理控制的电度表。例如中国实用新型专利 92217385. 0所公开的磁卡式电度 表, 该电度表在普通的电度表取样表之外附加一个磁卡读入控制表从而完成采 样、读卡并借助一单片微计算机对读入的磁卡信息处理之后,进行供电控制并同 时计价收费。  At present, the widely used household and industrial energy meters are used first, and then the power supply department uses manual manual meter reading to collect ¾%, which is cumbersome and unreasonable. Electricity meters with reasonable control of electricity purchase before consumption have appeared in domestic and foreign markets. For example, the magnetic card type watt-hour meter disclosed in Chinese Utility Model Patent 92217385. After the computer processes the read magnetic card information, it controls the power supply and charges and charges at the same time.
上述 92217385. 0专利采用了数字技术而完成普通电度表的智能化自动计 量和控制。这种公知技术包括一个采样部分,它是通过在普通电度表的仪表转盘 边沿涂上黑漆或是开出狹孔, 由一个靠近该转盘设置的红外光电转换器接收由 黑漆(或开孔)部分反射(或不反射)的红外光,然后将接收的光信号转化为电脉 冲信号,经数字化后输入数据处理装置, 然后再送入单片微计算^ U¾行处理, 由 此而完成计量工作;还设有一磁卡传送和读取控制装置,它对推入的磁卡进行定 向定速控制, 磁卡信息输入装置读取磁卡上的信息后将这些信息送入单片微计 算机进行处理; 单片微计算 艮据采榉和磁卡信息控制计费和供电, 当发生漏 电、窃电等事故时及时作出报警拉闸处理,而在平时则自动计量用电量,收费并 显示。  The above-mentioned 92217385.0 patent uses digital technology to complete the intelligent automatic measurement and control of ordinary electricity meters. This well-known technique includes a sampling section, which is painted with black paint on the edge of the meter dial of an ordinary electric meter or has a slit. Hole) partly reflected (or not reflected) infrared light, and then converted the received light signal into an electrical pulse signal, which is digitized and input into a data processing device, and then sent to a single-chip microcomputer ^ U¾ line processing to complete the measurement Work; there is also a magnetic card transmission and reading control device, which performs directional constant speed control on the inserted magnetic card, and the magnetic card information input device reads the information on the magnetic card and sends the information to a single-chip microcomputer for processing; Micro-calculation controls the charging and power supply based on the information of beech and magnetic card information. In the event of leakage, power theft, etc., the alarm is triggered in a timely manner, and in normal times, the power consumption is automatically measured, charged and displayed.
此夕卜, 中国实用新型专利 91220435. 4、 92232890. 0中都描述了采用单片机 进行控制的磁卡式电度表。但是,供电部门往往要才艮据各个地区、不同时期的具 体情况对用户用电作出不同的调整, 而现有技术的电度表不能按照供电部门的 特殊要求对用户进行诸如在用电峰、谷、平期分时间段分别计价收费的控制,也 不能限制用户的最大电流用量。因此,在使用中仍有很大的不 H现有技术的磁 卡传送机构也易损坏,工作并不可靠。所以,迫切要求有一种能够随时间、地区改 变而适应供电部门要求变化的可方便控制的电度表及其供电和收费的控制系 统。 发明的公开 At the same time, Chinese utility model patents 91220435. 4 and 92232890. 0 all describe magnetic card-type watt-hour meters controlled by a single-chip microcomputer. However, the power supply department often needs to make different adjustments to the user's electricity according to the specific conditions of various regions and different periods, and the existing energy meters cannot perform special operations such as peak power, The control of pricing and charging separately in the period of the valley and the average period can not limit the user's maximum current consumption. Therefore, the magnetic card transmission mechanism of the prior art, which is still very large in use, is also easily damaged, and the work is not reliable. Therefore, there is an urgent need for a way to change over time and region. Conveniently controlled watt-hour meters and their power supply and charging control systems adapted to the requirements of the power supply department. Disclosure of invention
本发明的目的在于提供一种能够按照供电部门的要求任意设定用电峰期、 谷期和平期,并且自动计价收费的磁卡式电度表及其控制系统。  An object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof, which can arbitrarily set the peak, trough and flat periods of power consumption according to the requirements of the power supply department, and automatically calculate the charges.
本发明的另一目的是提供限制最大电流用量的磁卡式电度表及其控制系 统。  Another object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof that limit the maximum current consumption.
本发明的再一目的是提供能够进行采样故障自动检测的磁卡式电度表及其 控制系统。  Still another object of the present invention is to provide a magnetic card type watt-hour meter and a control system thereof capable of automatically detecting a sampling failure.
本发明磁卡式电度表及其控制系统的目的还在于能够对各种控制动作进行 详细显 β Its purpose magnetic power meter control system of the present invention is further characterized by various control operations can be significant detail β
本发明的最后一个目的在于使用刷卡方式代替常规的磁卡传送机构, 省去 机械动作部分,提高可靠性。  A final object of the present invention is to use a card swipe method instead of a conventional magnetic card transfer mechanism, omitting the mechanical action part and improving reliability.
本发明的控制系统与常规的电皮表结合使用, 从而构成了根据本发明能够 方便控制的磁卡式电度表。  The control system of the present invention is used in combination with a conventional electric leather meter, thereby forming a magnetic card type electric meter that can be conveniently controlled according to the present invention.
本发明磁卡式电度表的控制系统以单片微计算机作为中央控制装置, 根据 来自各种外围装置的信号产生出控制信号以调用预置的程序, 向各相应的外围 装置发出指令,从而完成对供电的控制。本发明的控制系统还包括上述的各种外 围装置, 它们是数据处理装置, 用于向中央控制装置输入计量采样信息、磁卡信 '息和预编的控制程序 Λ及将中央控制装置产生的控制信号进行输出; 时间设定 装置, 用于完成当前时间的设定以向中央控制装置发出内部计时信息; 显示装 置,用于响应中央控制装置的输出信号进行各种显示;报警拉闸装置, 用于响应 中央控制装置发出的控制指令进行动作;以及备用电源装置,用于在停电时给整 个控制系统供电, 以保持单片机控制系统中各易失性存储器中的各项数据并维 持显示。这种上迷的控制系统的特征在于它还包括:  The control system of the magnetic card type watt-hour meter of the present invention uses a single-chip microcomputer as a central control device, generates control signals according to signals from various peripheral devices to call preset programs, and issues instructions to each corresponding peripheral device, thereby completing Control of power supply. The control system of the present invention also includes the above-mentioned various peripheral devices, which are data processing devices for inputting measurement sampling information, magnetic card information and a pre-programmed control program Λ to the central control device, and the control generated by the central control device. The signal is output; the time setting device is used to complete the current time setting to send the internal timing information to the central control device; the display device is used to perform various displays in response to the output signal of the central control device; the alarm brake device is used to It operates in response to a control instruction issued by the central control device; and a backup power supply device is used to supply power to the entire control system in the event of a power failure to maintain various data in the volatile memory in the single-chip control system and maintain the display. This addictive control system is characterized in that it also includes:
在时间设定装置中的峰 /谷计费装置,它根椐来自磁卡的信息在已设定的当 前时间中进行用电峰、谷、平期时间划分,并根据不同时间段按预置的加价、减价 或平价收费模式进行计价收费,同时向中央控制装置发送控制信号,以便由中央 控制装置驱动显示装置进行实时显示;  The peak / valley charging device in the time setting device, based on the information from the magnetic card, divides the peak, valley, and peace time of the electricity in the current time that has been set, and according to different time periods according to the preset Increase, decrease, or parity charging mode for charging, and send a control signal to the central control device, so that the central control device drives the display device for real-time display;
限流装置,用于从计量采样信号中检测当前用电电流值,发送给数据处理装 置, 在数据处理装置中将检测得的值与磁卡输入的设定值相比较后产生出最大 电流限量控制信号, 传送给中央控制装置, 由中央控制装置响应该信号进行处 理; .. Current-limiting device, used to detect the current value of current consumption from the measurement sampling signal and send it to the data processing device The data processing device compares the detected value with the set value input by the magnetic card to generate a maximum current limit control signal, and transmits the control signal to the central control device, and the central control device processes the signal in response to the signal ..
程序输入装置, 用于输入预先编制的控制程序, 并存储于 EPROM (电可擦 只读存储器)中,以便中央控制装置通过数据处理装置响应外部信号而调用该程 序以便进行控制动作;  A program input device for inputting a pre-programmed control program and storing it in an EPROM (Electrically Erasable Read-Only Memory) so that the central control device calls the program in response to an external signal through a data processing device to perform a control action;
刷卡装置,用于取代常规的磁卡传送机构,而利用高速读抹磁头对手动刷过 的磁卡信息进行读、抹,并将读取的信息送入数据处理装置;以及  A card swipe device is used to replace the conventional magnetic card transmission mechanism, and uses a high-speed read and erase magnetic head to read and erase the manually swiped magnetic card information, and sends the read information to a data processing device; and
一个辅助电流采样器,用于不断检测是否有电流通过电度表,并产生有效信 号发送给中央控制装置,以便判断光电转换器采榉是否发生故障,并作出处理。 统組合在一起,由所迷控制系统对磁卡式电度表进行计费控制。通过刷卡启动分 期计费、最大电流限 *等计费过程并对自身采样进行检测。本发明的磁卡式电度 表因而集成度高、搡作简便、可靠性高, 而且可以满足不同供电部门的各种特殊 要求。 附图的简要说明  An auxiliary current sampler is used to continuously detect whether a current passes through the watt-hour meter, and generates an effective signal to send to the central control device, so as to determine whether the photoelectric converter is faulty and perform processing. The system is combined together, and the control system performs charging control on the magnetic card type watt-hour meter. Swipe the card to start the billing process such as installment billing, maximum current limit *, and check your own sampling. The magnetic card type watt-hour meter of the present invention has high integration, simple operation, high reliability, and can meet various special requirements of different power supply departments. Brief description of the drawings
图 1为带有本发明计费控制系统的磁卡式电度表的原理简图;  FIG. 1 is a schematic diagram of a magnetic card type watt-hour meter with a charging control system of the present invention;
图 2为根据本发明的计费控制系统的电路框图;  2 is a circuit block diagram of a charging control system according to the present invention;
图 3A和 3B为本发明的计费控制系统的程序流程图;  3A and 3B are program flowcharts of the charging control system of the present invention;
图 4为根据本发明的光电转换器采样故障处理流程图;  4 is a flowchart of processing a sampling failure of a photoelectric converter according to the present invention;
图 5A和 5B为根据本发明的刷卡示意图。 实现本发明的最佳方式  5A and 5B are schematic diagrams of a swipe card according to the present invention. The best way to implement the invention
下面结合附图和一个实施例对本发明的磁卡式电度表及其计费控制系统作 进一步详细说明,其中:  The magnetic card watt-hour meter and its charging control system of the present invention will be further described in detail with reference to the accompanying drawings and an embodiment, wherein:
在图 1中,电度表(常规取样表) 2和拉闸部分 3是本领域技术熟练者所公知 的,在此不作详细描迷。控制系统 1采用通用的单片微计算机 (例如 D80系列)作 为中央控制装置,配之以根据本发明的各种外围装置。控制系统 1、电度表 2和拉 闸部分 3均集装在同一表壳之内,成为一个完整的磁卡式电度表。  In FIG. 1, the watt-hour meter (conventional sampling meter) 2 and the brake section 3 are well known to those skilled in the art, and will not be described in detail here. The control system 1 uses a general-purpose single-chip microcomputer (such as the D80 series) as a central control device, and is equipped with various peripheral devices according to the present invention. The control system 1, the watt-hour meter 2 and the brake section 3 are all assembled in the same case, and become a complete magnetic card-type watt-hour meter.
以下将详细描迷本发明磁卡式电度表的计费控制系统。为了便于理解,先介 绍一下用于本发明的磁卡。磁卡分为 ί支术员用卡和用户用卡两种。技术员用卡用 于在电度表安装完毕之后,使用之前进行初始设定。用户用卡则由用户从供电部 门购买,在购买时由供电部门用专用打卡机在用户磁卡上输入各种要求的信息。 技术员用卡和用户用卡都通过刷卡而将信息输入本发明磁卡式电度表的控制系 统。 The charging control system of the magnetic card type watt-hour meter of the present invention will be described in detail below. In order to facilitate understanding, Describe the magnetic card used in the present invention. Magnetic cards are divided into two types: operative card and user card. The technician's card is used for initial setting after the meter is installed and before use. The user's card is purchased by the user from the power supply department. At the time of purchase, the power supply department uses a special punch machine to enter various required information on the user's magnetic card. Both the technician's card and the user's card input information into the control system of the magnetic card type watt-hour meter of the present invention by swiping the card.
现参照图 2, 中央控制装置 101是由通用的单片机构成的, 只要具有一般的 单片机功能即可,例如 D80系列产品。中央控制装置 101是核心装置,它从各外 围装置输入信号,将这些信号作为中断信号而调用根据本发明编制的程序,按程 序流程产生进一步的控制信号,控制整个计费控制系统的各种搡作。  Referring now to FIG. 2, the central control device 101 is composed of a general-purpose single-chip microcomputer, as long as it has general single-chip microcomputer functions, such as D80 series products. The central control device 101 is a core device. It inputs signals from various peripheral devices, and uses these signals as interrupt signals to call a program prepared according to the present invention, and generates further control signals according to the program flow to control various types of the entire billing control system. Make.
在組装磁卡电度表时,技术人员便将预先编制的控制程序(以下将详迷)由 程序输入装置 112 (例如一个健盘)输入本发明的计费控制系统。输入的程序存 储在 EPROM 113中。当中央控制装置 101需调用此程序时,便通过数据处理装 置 111 (该裝置作为强调而特别标出,本领域技术人员当然应该理解该装置也可 以作为单片机的一部分而并入中央控制装置 101)读取 EPROM 113中的已存储 的程序后送给中央控制装置 111作出处理。 计量采样利用红外光电转换器接收 仪表转盘上反射的红外光而形成电脉冲,计量采样装置 114产生出电脉冲,所迷 电脉冲在随后的摸-数转换器 115中数字化, 产生出的数字信号经数椐处理装 置 111进入中央控制装置 101,中央控制装置 101根据接收的采样信号控制用电 计量。应该特别指出的是,模 -数转换器 115还将采样信号送入体现了本发明优 点的限流装置 116。限流装置 1164艮据来自数椐处理装置 111的用户磁卡信号中 已设定的最大电流限量值,比较从 A/D转换器 115收到的采样信号中获得的当 前电流值,若当前电流值不大于最大电流限定值,则限流装置 116输出一个正常 的电平,例如低电平,一旦当前电流值超过最大电流限量值, 则限流装置 116产 生出一个动作电平,例如高电平,此高电平信号经数据处理装置 111进入中央控 制装置 101,由中央控制装置 101输出例如拉闸报警之类的动作指令。值得一提 的是本发明磁卡式电度表的控制系统还设有一个辅采样器 118, 它可以是一个 电流互感器,位于电度表的进线或出线处, 用于当有电流经过电度表时,感应出 一个有效信号,该信号由 A/D转换器 115数字化后由数据处理装置 1Π送入中 央控制装置 101。 由于带有这个辅采榉器 118, 一旦当计量采样装置 I I4故障而 不能正常采样时,该辅采样器 118仍能检测出有电流流经电度表,并产生出 "在 用电"的信号。数据处理装置 111中的差动比较器分别接收来自 A/D转换器 115 的数字化后的采样信号和"在用电"信号。平时,这两个信号均为高(或低)电平, 差动比较器输出正常信号给中央控制装置 101。但是,若采样器故障,则采样信号 持续低(或高)电平,而辅采样器 118仍产生 "在用电"的高(或低)电平,这与来自 采样器 114的信号电平相反, 因而差动比较器产生出一动作信号给中央控制装 置 101,由中央控制装置 101按如图 4所示的流程进行动作,这在以下还要叙述。 When assembling the magnetic card watt-hour meter, the technician enters a pre-programmed control program (which will be detailed below) into the billing control system of the present invention from the program input device 112 (for example, a healthy disk). The entered program is stored in EPROM 113. When the central control device 101 needs to call this program, it passes the data processing device 111 (this device is specially marked as an emphasis, of course, those skilled in the art should understand that this device can also be incorporated into the central control device 101 as a part of a single-chip microcomputer) The stored program in the EPROM 113 is read and sent to the central control device 111 for processing. The measurement sampling uses an infrared photoelectric converter to receive the infrared light reflected on the instrument dial to form an electrical pulse. The measurement sampling device 114 generates an electrical pulse. The electrical pulse is digitized in a subsequent touch-to-digital converter 115 to generate a digital signal. It enters the central control device 101 via the data processing device 111, and the central control device 101 controls the power measurement according to the received sampling signal. It should be particularly pointed out that the analog-to-digital converter 115 also sends the sampling signal to the current limiting device 116 which embodies the advantages of the present invention. The current limiting device 1164 compares the current current value obtained from the sampling signal received by the A / D converter 115 according to the maximum current limit value set in the user magnetic card signal from the data processing device 111. If the current current value If it is not greater than the maximum current limit value, the current limiting device 116 outputs a normal level, such as a low level. Once the current current value exceeds the maximum current limit value, the current limiting device 116 generates an operating level, such as a high level. This high-level signal enters the central control device 101 via the data processing device 111, and the central control device 101 outputs an operation instruction such as a brake alarm. It is worth mentioning that the control system of the magnetic card watt-hour meter of the present invention is also provided with an auxiliary sampler 118, which can be a current transformer located at the incoming or outgoing line of the watt-hour meter. When the meter is inducted, an effective signal is induced, and the signal is digitized by the A / D converter 115 and sent by the data processing device 1Π to the central control device 101. With the auxiliary beech device 118, once the metering and sampling device II 4 fails and cannot perform normal sampling, the auxiliary sampler 118 can still detect the current flowing through the electricity meter and generate "in-use" signal. Differential comparators in the data processing device 111 respectively receive signals from the A / D converter 115 Digitized sampling signal and "power in use" signal. Usually, these two signals are high (or low) level, and the differential comparator outputs a normal signal to the central control device 101. However, if the sampler fails, the sampling signal continues to have a low (or high) level, while the auxiliary sampler 118 still generates a high (or low) level of "power in use", which is the same as the signal level from the sampler 114 In contrast, the differential comparator generates an operation signal to the central control device 101, and the central control device 101 operates according to the flow shown in FIG. 4, which will be described below.
磁卡信息输入装置 117采用刷卡形式。所谓刷卡,即由使用者手动将卡从刷 卡开口 31将卡送入,并沿箭头 Z方向以任意速度通过,如图 5A和 5B所示。当然 反向刷卡,或磁卡持握方式不正确, 刷卡均是无效的。刷卡装置配有高速信息拾 取磁头,将微弱磁信号转换成电信号并放大后送入数据处理装置 111,由数据处 理装置 111分送给各个相应的装置, 如将峰、 谷分时信息送入峰 /谷计费装置 122, 最大电流限量信息送入限流装置 116, 而其他控制信息送入中央控制装置 101。这样,使用者不用再经传统的磁卡传送机构,而只需轻轻一刷,即可以将全 部磁卡信息送入控制系统。当读取完全部磁卡信息并核对无误后,中央控制装置 101经数据处理装置 111向磁卡输入裝置 117发出抹音指令, 则抹音磁头被激 励,消去所有磁卡所携的信息,使之成为废卡,由供电部门回收后再使用。这样一 来,输卡变得方便、快捷、可.靠,免去了机械搡作緩慢、可靠性差的缺点。  The magnetic card information input device 117 is in the form of a swipe card. The so-called card swipe means that the user manually feeds the card through the card swipe opening 31 and passes it at an arbitrary speed in the direction of the arrow Z, as shown in Figs. 5A and 5B. Of course, swiping the card in the opposite direction, or holding the magnetic card incorrectly, is invalid. The card swiping device is equipped with a high-speed information pickup magnetic head, which converts the weak magnetic signal into an electrical signal and amplifies it and then sends it to the data processing device 111. The data processing device 111 distributes it to each corresponding device, such as the peak and valley time information. The peak / valley charging device 122 sends the maximum current limit information to the current limit device 116, and other control information to the central control device 101. In this way, the user does not need to go through the traditional magnetic card transmission mechanism, and can simply send all the magnetic card information into the control system with a single swipe. After reading all the magnetic card information and verifying it without error, the central control device 101 sends an erasing instruction to the magnetic card input device 117 via the data processing device 111, then the erasing magnetic head is activated, eliminating all the information carried by the magnetic card, making it obsolete The card is collected by the power supply department before reuse. In this way, card input becomes convenient, fast, and reliable, eliminating the disadvantages of slow mechanical operation and poor reliability.
时间设定装置 121用于由技术人员设定时间。采用 24小时制,只接受"'时"、 "分"的设定, "秒"自动设为 "0"。设定时必须输入四位数,例如:  The time setting device 121 is used to set the time by a technician. It adopts the 24-hour clock, and only accepts the setting of "hour" and "minute", "second" is automatically set to "0". You must enter four digits when setting, for example:
0080—上午 8时整  0080—8: 00 am
1235—中午 12时 35分  1235--noon 12:35
1906—下午 7时 6分  1906-7: 6 pm
0005—凌晨 0时 5分。  0005—0: 5 am.
设定完成即开始计时。注意,时间输入也利用程序输入装置 112中的健盘,该键 盘设于表壳之内,设定之后即行封装,用户自己不能更改。峰 /谷计费装置 122按 照来自数据处理装置 111的磁卡输入信息,将当前时间进行划分,根据输入程序 中设定的计费标准,按峰、谷、平三个时期分别计价收费,并向中央控制装置 101 发出计费信息,并由中央控制装置 101向显示装置发出指令以便进行实时显示。 关于这种独特的计价收费方式将在以下结合图 3A和 3B进行详细说明。 The timer starts when the setting is completed. Note that the time input also uses the keypad in the program input device 112. This keypad is set inside the watch case and is packaged immediately after setting. The user cannot change it. The peak / valley charging device 122 divides the current time according to the magnetic card input information from the data processing device 111. According to the charging standard set in the input program, it charges and charges according to the three periods of peak, valley, and flat, and The central control device 101 sends billing information, and the central control device 101 issues an instruction to the display device for real-time display. This unique pricing method will be described in detail below with reference to FIGS. 3A and 3B.
显示驱动装置 131根据来自中央控制装置 101的控制信号驱动 LED显示 132。 LED显示 132在本发明中分为两部分,即发光二极管 32 (例如 8个,但图 5 A 和 5B中只示出 5个)和七段码数字显示器 33 (例如 7位),见图 5A和 5B。发光二 极管 32用于显示故障或示警, 为了方便起见, 将这 8个发光二极管依次称为 ERR_LED# 1~ERR-LED# 8,其作用如表 I所示: The display driving device 131 drives the LED display 132 according to a control signal from the central control device 101. The LED display 132 is divided into two parts in the present invention, that is, light emitting diodes 3 2 (for example, 8 but only 5 are shown in FIGS. 5 A and 5B) and a seven-segment digital display 33 (for example, 7 digits), see FIG. 5A and 5B. Light two Diode 32 for displaying warning or fault, for convenience, these eight light emitting diodes are referred ERR_LED # 1 ~ ERR-LED # 8, the effect as shown in Table I:
表 I  Table I
LED编号 状 况.  LED number status.
1 可使用度数为 Q 1 usable degree is Q
2 可使用度数低于最近一次输入数的 5%  2 Usable degrees are less than 5% of the last entry
3 使用电流超过最大限量  3 The use current exceeds the maximum limit
4 备用电池故障  4 Backup battery failure
5 采样器故障  5 Sampler failure
6 (保留)  6 (reserved)
7 (保留)  7 (reserved)
8 (保留) 七段码数字显示器 33可如表 Π所示:  8 (reserved) Seven-segment digital display 33 can be shown in Table Π:
表 Π  Table Π
显示模式——电流限量:□□□□□ X X (二位数) *  Display mode-current limit: □□□□□ X X (two digits) *
' 峰期时间: ClxxCJxxn (起始时—结束时) *  'Peak time: ClxxCJxxn (from beginning to end) *
谷期时间:ElxxCDxxC] (起始时―结束时) *  Trough time: ElxxCDxxC] (Beginning-Ending) *
用户编号: X X X X X X X (七位数)  User Number: X X X X X X X (seven digits)
峰期度数:□□□ X X X X (四位数)  Peak degree: □□□ X X X X (four digits)
谷期度数:□□□ X X X X (四位数)  Valley degree: □□□ X X X X (four digits)
目前时间: X X□ X X X X (时□分秒)  Current time: X X □ X X X X (hours, minutes, seconds)
可用度数: DDDxx X X (四位数) *  Available degrees: DDDxx X X (four digits) *
其中打 "*"者为供电部门输入的内容,峰期度数、谷期度数、目前时间为实时显 示。用户编号为 8位数,一机一卡一一对应,相当于密码,只显示其中 7位。通过 设于表壳上的功能显示按健 11可按表 Π所示顺序依次观看显示内容,并循环反 报警装置 141用于响应中央控制装置 101发来的信号发出报警声响, 例如 可使用蜂呜器。拉闸装置 142也为公知技术,用于按照来自中央控制装置 101的 信号来切断供电,其中既可使用继电器也可使用可控硅。 Those marked with "*" are input by the power supply department. Peak and valley degrees and current time are displayed in real time. The user number is 8 digits, and one card and one card correspond to each other, which is equivalent to the password. Only 7 digits are displayed. Through the function display set on the watch case, you can view the display content in sequence in the order shown in Table 11 and cycle through the display. The alarm device 141 is configured to emit an alarm sound in response to a signal sent from the central control device 101. For example, a buzzer may be used. The brake opening device 142 is also a well-known technology for cutting off power supply according to a signal from the central control device 101, and either a relay or a thyristor can be used.
电源 150含有备用电池,用于停电时保持易失性存储器中的各项数据,以便 恢复通电后能继续工作。 当发生故障时 (例如不能充电), 蜂鸣器响起, ERR - LED# 4点亮,用户应通知技术员予以更换,更换时控制系统应保持在通 电状态,更换后需按内部电路板上的 < RESET>键以便能继续监测。若用户未予 理会,则在停电后,原存储之资料均消失,再通电后将被视为第一次安装,需重新 设定及刷卡。 12 (未示出)用于将可用电度数置零。  The power supply 150 contains a backup battery to maintain data in volatile memory in the event of a power failure so that it can continue to work after power is restored. When a failure occurs (for example, the battery cannot be charged), the buzzer sounds and ERR-LED # 4 lights up. The user should notify the technician to replace it. The control system should be kept powered on during replacement. RESET> key to continue monitoring. If the user does not pay attention, after the power failure, the original stored data will disappear. After the power is turned on, it will be regarded as the first installation, and it needs to be reset and swiped. 12 (not shown) is used to zero the available power.
本发明人将仪表转盘转速分为三种,即:  The inventor divided the rotating speed of the meter dial into three types, namely:
电度表转盘每转 300圈计为 1度电,以" 3"表示;  Every 300 revolutions of the meter dial is counted as 1 kWh, expressed as "3";
电度表转盘每转 400圈计为 1度电,以" 4"表示;  Electricity meter dial is counted as 1 kWh per 400 revolutions, expressed as "4";
电度表转盘每转 500團计为 1度电,以" 5"表示。  Each turn of the electric meter dial is counted as 1 kWh, expressed as "5".
这种设定由技术员在初始阶段来完成。例如,滅"3",即输入了转速设定为 300 圈 /度的信息,十分方 同时,为了限制最大电流用量,本发明人针对不同最大 电流限量分别设定了转速监测值。 下表 1Π示例性表示将电表转速及最大电流限 量换算成监测值 (使用 220伏电压): This setting is done by the technician during the initial phase. For example, if "3" is turned off, the information that the rotation speed is set to 300 revolutions / degree is input. At the same time, in order to limit the maximum current consumption, the inventors set the rotation speed monitoring values for different maximum current limits. The following table 1Π exemplifies the conversion of the meter speed and the maximum current limit into monitoring values (using 220 volts):
Figure imgf000010_0001
Figure imgf000010_0001
一旦电度表转速达到或超过监测值, 中央控制装置 101立即相应地产生出中断 控制信号,控制系统即进入如图 3B所示的动作禪序,这将在以下详迷。这样, 当 电度表转盘每分钟转速达监测值时,蜂鸣器响起,故障指示灯 ERR - LED# 3点 亮,用户按 < ALM OFF >健 (未示出)关闭蜂鸣器。一分钟后若仍过载,蜂鸣器将 再度响 若连续五分钟过载,则拉闸断电,待一分钟后自动接通,继续供电。 电度表第一次通电后, 7段码数字显示器 33全部点亮" 8",等待技术员刷卡 并设定 b技术员刷卡且被接受后, 7段码数字显示器 33全灭,进入设定状态。这 时技术员对控制系统进行如下设定: Once the speed of the watt-hour meter reaches or exceeds the monitoring value, the central control device 101 immediately generates an interruption control signal accordingly, and the control system enters the action sequence shown in FIG. 3B, which will be detailed below. In this way, when the rotating speed of the meter dial reaches the monitoring value per minute, the buzzer sounds, the fault indicator ERR-LED # 3 lights up, and the user presses the <ALM OFF> key (not shown) to turn off the buzzer. If it is still overloaded after one minute, the buzzer will sound again. If the overload is continued for five minutes, the brake will be turned off, and it will be automatically connected after one minute to continue power supply. After the watt-hour meter is powered on for the first time, the 7-segment digital display 33 all lights up to "8". After the technician swipes and sets the b technician to swipe the card and is accepted, the 7-segment digital display 33 goes out and enters the setting state. At this time, the technician sets the control system as follows:
1. 时间设定:采用 24小时制,前已述。  1. Time setting: 24-hour clock is used, as mentioned above.
2. 转速设定:如前所迷,以" 3"、 "4"或" 5"选定三种转速之一。  2. Speed setting: As previously mentioned, select one of three speeds with "3", "4" or "5".
3. 用户编号:共 8位数,设定后只显示 7位。  3. User ID: 8 digits in total, only 7 digits will be displayed after setting.
4. 揿动功能显示按健 11,如表 Π所示顺序显 。除时间、转速、编号三者为 技术员设定值之外,其佘均应显示 "0"。查看完后,请停于 "可用度数"的 显示状态为宜。。  4. The automatic function display is displayed in the order shown in Table Π. Except for the time, speed and number set by the technician, all of them should show "0". After viewing, please stop at the display status of "Available Degrees". .
技术员上迷动作完成之后,再刷卡一次以进入用户使用阶艮进入用户使用阶段 之后,技术员仍可凭刷卡进入设定状态,但只能更改时间、转速、编号,再刷卡后 一般地, 用户磁卡应包括如下信息: 1. 编号, 2. 购买次数, 3. 购买度数, 4. 峰期时间, 5.谷期时间, 6,最大电流限量, 7. 结束码。磁卡编号也即磁卡密码, 每一用户专用一个 8位编号密码,电度表的编号和磁卡编号相同,只有读取的磁 卡编号与机内编号核对无误, 才继续读取磁卡上的信息, 否则不予理会。设定购 买次数是为了防止重复刷卡, 若中央控制装置 101判断出此项有误, 亦不予理 会。结束码的编制是为了防止使用非本控制系统制式的磁卡,若此项错误, 则当 即拉闸断电,只有拆机并按下电路板上的 < RESET>健才恢复动作。 After the technician ’s obsessive action is completed, the user swipes the card again to enter the user ’s use stage. After entering the user ’s use phase, the technician can still enter the setting state by swiping the card, but can only change the time, speed and number. The following information should be included: 1. Number, 2. Number of purchases, 3. Degree of purchase, 4. Peak time, 5. Valley time, 6, Maximum current limit, 7. End code. The magnetic card number is also the magnetic card password. Each user has an 8-digit serial number password. The meter number is the same as the magnetic card number. Only read the magnetic card number and the number inside the machine, and then continue reading the information on the magnetic card. Otherwise, Ignore it. The number of purchases is set to prevent repeated card swipes. If the central control device 101 determines that this item is incorrect, it will ignore it. The end code is compiled to prevent the use of magnetic cards other than the control system standard. If this error occurs, the power will be turned off immediately. Only when the machine is disassembled and presses the <RESET> key on the circuit board will it resume operation.
第一安装电度表完毕后,因尚无"度数"可用, 因此七段码数字显示器 33显 示可用度数为 "0",并拉闸断电, ERR - LED# 1点亮。  After the first installation of the watt-hour meter, there is no "degree" available, so the seven-segment digital display 33 shows that the available number is "0", and the brake is turned off, and ERR-LED # 1 lights up.
用户从供电部门购买磁卡后, 磁卡上即已记载了对用户用电进行控制的数 据信息,例如购买度数、最大电流用量、峰 /谷期时间等。假定当地用电的高峰期 为每天 6: 00 - 8: 00、 11: 00一 13: 00和 19: 00 - 21: 00, ¼ ^期为每天 21: 00 - 6: 00, 而其余时间为平常期; 当地供电部门对该用户的最大电流用量限制为 10 安培, 若仪表转盘转速已设为 300圈 /度, 则监测值设为 11圈 /分钟, 用 N = ll 记。还假定此用户此次购买了 50度电。那么,这个用户回家后(假定用户为民用, 工业用电与此类似), 如图 5A和 5B所示将磁卡刷过电度表。这时,便开始启动 了从程序输入装置 112中输入的、已存储在 EPROM113中的程序, 下面将结合 图 3A和 3B详细描迷。 After the user purchases the magnetic card from the power supply department, the magnetic card has recorded data information for controlling the user's power consumption, such as the degree of purchase, the maximum current usage, and the peak / valley time. Assume that the peak period of local power consumption is 6:00-8:00, 11: 00-13: 00, and 19:00-21:00 every day, and the period of ¼ ^ is 21: 00-6: 00 every day, and the rest of the time is Normal period; local power supply department's maximum current usage limit is 10 Ampere, if the speed of the instrument dial is set to 300 laps / degree, the monitoring value is set to 11 laps / minute, and it is recorded with N = ll. It is also assumed that this user purchased 50 kWh of electricity this time. Then, after the user returns home (assuming that the user is for civilian use, and industrial electricity is similar), as shown in FIGS. 5A and 5B, the magnetic card is swiped through the electricity meter. At this time, the program input from the program input device 112 and stored in the EPROM 113 is started. The following describes the fan in detail with reference to FIGS. 3A and 3B.
中央控制装置 101首先检测来自磁卡输入装置 117的磁卡标识信息。在 S1 步,辨认用户号码是否与机内已存号码相一致,若不一致,不予理会;若一致,则 在 S2步继续检查购买次数。 若与机内已存信息一致, 则继续进行, 否则不予理 会。在 S3步读入全部磁卡信 ,并在数据处理装置 111中暂存,继而在 S4步判 断结束码是否正确无误,若正确, 则读入这些信息并将它们存入中央控制装置 101,否则,中央控制装置 JL01输出拉闸指令。使电度表断电(S15)。随后等待复位 ( < ESET> )健信号,若收到该复位信号则返回程序开始处,重复等待用户刷卡 (S16)。在 S5步,输出磁卡消磁指令,抹音磁头动作,使已读过的用户磁卡成为废 卡。  The central control device 101 first detects magnetic card identification information from the magnetic card input device 117. In step S1, identify whether the user number is consistent with the number stored in the phone. If they are not the same, ignore them; if they are the same, continue to check the number of purchases in step S2. If it is consistent with the information already stored in the aircraft, continue to proceed, otherwise it will be ignored. Read all magnetic card letters in step S3 and temporarily store them in the data processing device 111, and then determine whether the end code is correct in step S4. If it is correct, read these information and store them in the central control device 101, otherwise, The central control device JL01 outputs the opening brake command. Power off the power meter (S15). Then wait for the reset (<ESET>) key signal. If the reset signal is received, it will return to the beginning of the program and wait for the user to swipe the card repeatedly (S16). In step S5, the magnetic card degaussing command is output, and the erasing magnetic head is activated, so that the read user magnetic card becomes a waste card.
接下来, 控制系统 1内部进行初始设定过程。首先在 S6步将用户所购用电 量加上上次的余量(若有的话)并存储起来。■然后,在 S7步由中央控制装置 101 将磁卡上的峰期、谷期时间送入峰 /谷计费装置 122,进行 24小时分期设定。  Next, the initial setting process is performed inside the control system 1. First, at step S6, the electricity purchased by the user is added to the previous margin (if any) and stored. ■ Then, in step S7, the central control device 101 sends the peak and valley times on the magnetic card to the peak / valley billing device 122 for 24-hour instalment setting.
在 S8步, 由中央控制装置 101将已存储的最大电流限量监测值(本例中为 N = 11)送入限流装置 116,以便随时对当前电流值进行比较判断。然后由出口 A 进入图 4的程序。  In step S8, the central control device 101 sends the stored maximum current limit monitoring value (N = 11 in this example) to the current limiting device 116, so as to compare and judge the current current value at any time. Then exit A enters the program of Figure 4.
下面, 如图 4所示, 中央控制装置 101在 S101步检测光电转换器是否发生 故障,这是通过接收上述差动比较器输出的有效信号来进行的。若收到这一有效 信号, 则在 S1O1判断为是, 然后由中央控制装置 101输出报警和拉闸指令并点 亮 ERR - LED# 5 (S102),然后等待修复(S103) ;若判断为否,即未收到该有效 信号,则从出口 B转而进行图 3B所示的程序过程。  Next, as shown in FIG. 4, the central control device 101 detects whether a photoelectric converter has failed at step S101, which is performed by receiving a valid signal output from the differential comparator. If this valid signal is received, it is judged as YES in S1O1, and then the central control device 101 outputs alarm and brake instructions and lights ERR-LED # 5 (S102), and then waits for repair (S103); if it is judged as NO That is, the valid signal is not received, and then the procedure shown in FIG. 3B is performed from the exit B.
在图 3B中, 在 S9步中央控制装置 101判断当前转速是否达到了最大电流 限量监测值 N, 若是,则输出报警指令并点亮 ERR - LED# 3 (S17),然后在 S18 步延时等待一预定时间(例如 1分钟)后,拉闸断电(S19) ,在 S20再延时等待例 如一分钟后,又恢复供电,转入入口 B,这个过程前已迷;^若在 S9步判断转速 未达预定值 N,则程序继续下行,开始进行计费。 In FIG. 3B, at step S9, the central control device 101 determines whether the current speed has reached the maximum current. Limit monitoring value N, if yes, output alarm command and light ERR-LED # 3 (S17), and then wait for a predetermined time (for example, 1 minute) in step S18, then switch off the power (S19), in S 20 another example delay waiting for a minute, and power is restored, the inlet into B, for which the process before the fan; ^ step S9 determines if the predetermined speed value is less than N, the routine continues downward, to start charging.
中央控制装置 101.在 S10判断当前时间是否落入平时用电期(平期、本例中 为 8: 00 - 17: 00和 13: 00 - 19: 00),若是,则转入 S14步进行正常标准计费,并驱 动 7段数字显示器 33 (例如在低 4位)显示正常计费情况,即用一度电计收一度 电费;若否,则在步骤 S11判断当前时间是否落入¼ ^期(21: 00 - 6: 00) ,若是, 则在 S12步通过数据处理装置 111向峰 /谷计费装置 122发出目前已在谷期的 信号, 则峰 /谷计费装置 122按预置程序规定的減价计费摸式进行计费, 例如可 将用电 2度计为 1度(或 1. 5度), 同时由申央控制装置 101控制显示装置 131、 132进行计贽显示 (低 4位)。若 S11步判断为否,则为用电高峰期,中央控制装置 101则在 S13步通知峰 /谷计费裝置 122按峰期计费,则峰 /谷计费装置 122按照 预置程序的规定按加价计费摸式计费,例如可将用电 1度(或 1. 5度)计为 2度, 通知中央控制装置 101驱动显示(低 4位)。其中,各时期的端值(如 6点整)可计 入任意时间  Central control device 101. In S10, it is judged whether the current time falls into the normal power consumption period (weekdays, 8: 00-17: 00 and 13: 00-19: 00 in this example), and if so, it proceeds to step S14. Normal standard billing, and drive 7-segment digital display 33 (for example, in the lower 4 digits) to display the normal billing situation, that is, use a kilowatt-hour meter to charge a kilowatt-hour electricity bill; if not, determine whether the current time falls within ¼ ^ period in step S11 (21: 00-6: 00), if yes, in step S12, the data processing device 111 sends a signal to the peak / valley charging device 122 that is currently in the valley period, and the peak / valley charging device 122 performs a preset procedure. The prescribed reduced-price charging method is used for charging. For example, the power consumption of 2 degrees can be counted as 1 degree (or 1.5 degrees). At the same time, the Shenyang control device 101 controls the display devices 131 and 132 to perform meter display (low 4). If the determination in step S11 is no, it is the peak power consumption period. The central control device 101 informs the peak / valley charging device 122 to charge according to the peak period in step S13, and the peak / valley charging device 122 follows the provisions of the preset program According to the mark-up charging method, for example, the power consumption of 1 degree (or 1.5 degrees) can be counted as 2 degrees, and the central control device 101 can be notified to drive the display (lower 4 digits). Among them, the end value of each period (such as 6 o'clock) can be counted into any time
在完成 S12、 S13或 S14步骤之后, 中央控制装置 101在 S21步扣除已用电 量,并将佘量(即可用度数)进行显示(例如也在数字显示器 33的低 4位)。随后 在 S22步骤判断余量是否已达本次购买量的 5%,在本例中为 5度。同时,根据本 发明,佘量值不得少于 5度,这是本发明的一个优点。若 S22步判断为是的话,则 在 S23步由中央控制装置 101发出报警指令并点亮 ERR - LED# 2, 接下来在 S24步判断余量是否用完, 若已用完, 则在 S25步输出拉闸指令并点亮 ERR - LED# 1;若还未用完,或在 S22步判断为否,则程序返回入口 A,如此往 复执行。 工业应用性 After completing steps S12, S13, or S14, the central control device 101 deducts the used power at step S21 and displays the amount (that is, the degree) (for example, the lower 4 digits of the digital display 33). Then, in step S22, it is judged whether the remaining amount has reached 5% of the current purchase amount, which is 5 degrees in this example. At the same time, according to the present invention, the value of chirp must not be less than 5 degrees, which is an advantage of the present invention. If it is judged as YES in step S22, the central control device 101 issues an alarm command and lights up ERR-LED # 2 in step S23. Next, it is determined in step S24 whether the margin is used up. If it is used up, it is performed in step S25. Output the brake command and light up ERR-LED # 1; If it has not been used up, or if it is judged as NO in step S22, the program returns to the entrance A, and it is executed repeatedly. Industrial applicability
采用根据本发明的磁卡式电度表及其计费控制系统, 对于用电紧张地区緩 解峰期电力匮乏,加强供电部门对电力的分配和控制有十分明显的优良效果。这 种控制系统使用起来简便可靠,设定灵活,可以根椐不同地区、不同部门和不同 时期供电部门的要求进行有效的控制。  The use of the magnetic card type watt-hour meter and the charging control system according to the present invention has a very obvious and excellent effect on alleviating the shortage of power during peak periods and strengthening the distribution and control of power by the power supply department. This kind of control system is simple and reliable to use, flexible to set, and can effectively control according to the requirements of different regions, different departments and power supply departments at different times.
本发明以实施例形式公开了这种控制系统的具体搡作方式, 但本领域技术 熟练者会理解,在不背离本发明的精神和范围的情况下,还可以作出细节上的修 改,但这些都由随附的权利要求所限定。  The present invention discloses the specific operation mode of such a control system in the form of an embodiment, but those skilled in the art will understand that details can be modified without departing from the spirit and scope of the present invention, but these Both are defined by the appended claims.

Claims

1. 一种磁卡式电度表的计费控制系统,它包括: 1. A charging control system for a magnetic card type watt-hour meter, comprising:
—以单片机为核心的中央控制装置, 根椐来自各种外围装置的信号产生出 控制信号,调用预编的控制程序指令各相应的外围装置动作,从而完成供 电控制和计费;  — A central control device with a single-chip microcomputer as the core, generates control signals based on signals from various peripheral devices, and calls a pre-programmed control program to instruct each corresponding peripheral device to operate, thereby completing power supply control and billing;
一数据处理装置, 用于向所迷中央控制装置输入来自光电转换器的计量采 样信息、磁卡信息和所迷预编的控制程序,并且输出所述中央控制装置产 生的控制信号;  A data processing device, configured to input measurement sampling information, magnetic card information, and a control program preprogrammed from the photoelectric converter to the central control device, and output a control signal generated by the central control device;
一时间设定装置,用于完成当前时间的设定,以便向所述中央控制装置发出 内部计时信息;  A time setting device for setting the current time so as to send internal timing information to the central control device;
一显示装置,用于响应所述中央控制装置的输出信号进行各种显示; 一报警拉闸装置, 用于响应所迷中央控制装置发出的控制命令进行报警或 拉闸断电操作;  A display device for performing various displays in response to an output signal of the central control device; an alarm brake device for responding to a control command issued by the central control device to perform an alarm or a brake power-off operation;
一备用电源装置,用于在停电时给整个控制系统供电,以保持单片机控制系 统中各易失性存储器的各项数据并维持显示;  A backup power supply device is used to supply power to the entire control system in the event of a power failure to maintain the various data of the volatile memory in the single-chip microcomputer control system and maintain the display;
其特征在于,所迷的控制系统还包括: It is characterized in that the control system also includes:
谷期计费装置,它根据来自磁卡的信息在已设定的当前时间中进行用 电峰、谷、平期时间划分,并在所迷中央控制装置的控制下裉据不同时间 -段按预置的加价、减价或平价收费模式进行计价收费,同时向所迷中央控 制装置发出控制信号, 以便所迷中央控制装置驱动所迷显示装置进行实 时显示;  Valley billing device, which uses the information from the magnetic card to divide the peak, valley, and peace time in the current time that has been set, and under the control of the central control device, according to different time-segments according to the preset Set up a price increase, reduction or parity charging mode for charging, and at the same time send a control signal to the central control device, so that the central control device drives the display device to perform real-time display;
—限流装置,用于从计量采样信号中检测当前用电电流值,发送给所述数据 处理装置, 在数据处理装置中将检测得的值与磁卡输入的设定值相比较 后产生出最大电流限量控制信号,传送给所迷中央控制装置,由所述中央 控制装置响应该信号进行处理;  -Current limiting device, which is used to detect the current electric current value from the measurement sampling signal and send it to the data processing device. The data processing device compares the detected value with the setting value input by the magnetic card to generate the maximum value. The current limit control signal is transmitted to the central control device, and the central control device processes the signal in response to the signal;
'一程序输入装置, 用于输入所迷预先编制的控制程序, 并存储于 EPROM (电可檫只读存储器) 中, 以便所述中央控制装置通过数据处理装置响应 外部信号而调用该程序以便进行控制动作;  'A program input device for inputting a control program prepared in advance and stored in an EPROM (electrically read-only memory), so that the central control device calls the program in response to an external signal through a data processing device to perform Control action
一刷卡装置, 用于取代常规的磁卡传送机枸,而利用高速读、抹磁头对手动 刷过的磁卡信息进行读、抹,并将读取的信息送入数据处理装置;以及 一辅助电流采样器,用于不断检测是否有电流通过电度表,并产生有效信号 发送给所迷中央控制装置,以便判断光电转换器采样是否发生故障,并作 出处理。 A card swipe device is used to replace the conventional magnetic card conveyor, and use high-speed reading and wiping magnetic head to manually The swiped magnetic card information is read and erased, and the read information is sent to the data processing device; and an auxiliary current sampler is used to continuously detect whether there is a current through the electricity meter and generate a valid signal to send to the fan center The control device is used to judge whether the sampling of the photoelectric converter is faulty, and to perform processing.
2.如权利要求 1所迷的计费控制系统, 其特征在于由刷卡装置读入的磁卡 信息有:编号、购买次数,购买度数、峰期时间、谷期时间、最大电流限量、结束码。  2. The charging control system as claimed in claim 1, characterized in that the magnetic card information read by the card swiping device includes: number, number of purchases, degree of purchase, peak time, valley time, maximum current limit, and end code.
3.如权利要求 1所迷的计费控制系统, 其特征在于所迷中央控制装置对输 入的所迷编号、购买次数和结束码的磁卡信息进行核对,只有正确无误时才读入 所有磁卡信息并将已读过的信息抹去。  3. The charging control system according to claim 1, characterized in that the central control device checks the magnetic card information of the entered fan number, number of purchases, and end code, and reads all magnetic card information only when it is correct Erase the information you have read.
4. 如权利要求 3所迷的计费控制系统, 其特征在于若所迷结束码有误, 则 所迷中央控制装置输出拉闸断电指令。  4. The charging control system as claimed in claim 3, characterized in that, if the end code is incorrect, the central control device outputs a power-off instruction for opening the brake.
5.如权利要求 1所述的计费控制系统, 其特征在于所述中央控制装置根据 从磁卡读取的所迷峰期时间、谷期时间,控制所述峰 /谷计费装置进行 24小时时 间分段设定。 5. The charging control system according to claim 1, wherein the central control device controls the peak / valley charging device to perform 2 4 based on the peak time and valley time read from the magnetic card. Hour time segment setting.
6.如权利要求 5所迷的计费控制系统, 其特征在于所迷中央控制装置在供 电过程中判断当前时间落入峰期、谷期还是平期, 控制所述峰 /谷计费装置分别 进行计价收费。 ° ,  6. The charging control system according to claim 5, characterized in that the central control device determines whether the current time falls into a peak period, a valley period or a flat period during the power supply process, and controls the peak / valley charging device respectively Charges are charged. °,
7.如权利要求 6所述的计费控制系统, 其特征在于若判断当前时间落入所 述平期时间段,则由所迷中央控制装置进行正常计费并发出显示指令。  The charging control system according to claim 6, characterized in that if it is determined that the current time falls within the flat time period, the central control device performs normal charging and issues a display instruction.
8.如权利要求 6所述的计费控制系统, 其特征在于若判断当前时间落入所 述谷期时间段,则由所述中央控制装置指示所述峰 /谷计费装置进行减价计费并 发出显示指令。  The charging control system according to claim 6, characterized in that if it is judged that the current time falls within the trough period, the central control device instructs the peak / valley charging device to perform a price reduction. Fee and issue display instructions.
9.如权利要求 6所述的计费控制系统, 其特征在于若判断当前时间落入峰 期时间段,则由所迷中央控制装置指示所迷峰 /谷计费装置进行加价计费并发出 显示指令。  9. The charging control system according to claim 6, characterized in that if it is determined that the current time falls within the peak period, the central control device instructs the fan / valley charging device to perform charge-up charging and sends out Show instructions.
• 10.如权利要求 8或 9所述的计费控制系统,其特征在于所迷的加价计费或 减价计费的比例可以任意设定。  The charging control system according to claim 8 or 9, characterized in that the ratio of the increased charge or reduced charge can be arbitrarily set.
11.如权利要求 1所迷的计费控制系统, 其特征在于所迷中央控制装置在 计费之后自动扣除用电量,并发出佘量显示指令。  11. The charging control system according to claim 1, characterized in that the central control device automatically deducts the power consumption after charging, and issues a volume display instruction.
12.如权利要求 11所迷的计费控制系统, 其特征在于所述中央控制装置判 断佘量是否达最近一次购电量的 5%,若达此值则输出报警指令和显示指令,如 果佘量用完,则输出拉闸断电指令。 12. The charging control system as claimed in claim 11, characterized in that said central control device judges whether the amount of electricity has reached 5% of the latest electricity purchase amount, and if it reaches this value, it outputs an alarm instruction and a display instruction, such as If the amount of water is used up, the brake power-off instruction is output.
13.如权利要求 12所迷的计费控制系统, 其特征在于所迷用电余量设定为 不低于 5度。  13. The charging control system according to claim 12, characterized in that the remaining power consumption is set to not less than 5 degrees.
14.如权利要求 1所述的计费控制系统, 其特征在于所述限流装置利用来 自所迷数据处理装置的最大电流限量监测值的磁卡输入信息, 在整个计费过程 中监测用电电流是否达到所述的监测值,若达此值,则输出一有效信号给所述中 央控制装置。  14. The charging control system according to claim 1, wherein the current limiting device uses magnetic card input information from the maximum current limit monitoring value of the data processing device to monitor the power consumption current during the entire charging process. Whether the monitoring value is reached, and if the value is reached, an effective signal is output to the central control device.
15.如权利要求 14所迷的计费控制系统, 其特征在于所述最大电流限量监 测值可设定为电度表仪表盘的转速 (N團 /分钟),其中 N为自然  15. The charging control system as claimed in claim 14, characterized in that said maximum current limit monitoring value can be set to the speed of the meter panel (N group / minute), where N is natural
16.如权利要求 15所述的计费控制系统,其特征在于所迷数值 N可^据供 电部门需要任意设定。  16. The charging control system according to claim 15, wherein the value N can be arbitrarily set according to the needs of the power supply department.
17.如权利要求 14所述的计费控制系统, 其特征在于所迷中.央控制装置在 收到来自所迷 P艮流装置的所迷有效信号之后,输出报警指令和显示指令,延时等 待用户减小用电量,若用户不减少用电量,则输出拉闸指令。  17. The charging control system according to claim 14, characterized in that the central control device outputs an alarm command and a display command after receiving the valid signal from the fan stream device, and delays Wait for the user to reduce the power consumption. If the user does not reduce the power consumption, output the brake command.
18.如权利要求 17所述的计费控制系统, 其特 ί£在于拉闸断电后, 所迷中 央控制装置经延时后可发出恢复供电指令。  18. The charging control system according to claim 17, wherein after the brake is turned off, the central control device can issue a power restoration instruction after a delay.
19.如权利要求 1所迷的计费控制系统, 其特征在于供电过程中所迷的辅 采样器不断向所迷数据处理装置中的差动比较器输出"在用电 "信号。.  19. The charging control system according to claim 1, characterized in that the auxiliary sampler continuously outputs a "power in use" signal to the differential comparator in the data processing device during the power supply process. .
20.如权利要求 19所迷的计费控制系统 , ·其特征在于当所迷光电转换器故 障时,所迷差动比较器输出一有效信号至所述中央控制装置,所迷中央控制装置 即发出拉闸指令和显示指令。  20. The charging control system according to claim 19, wherein when the photoelectric converter fails, the differential comparator outputs an effective signal to the central control device, and the central control device sends out Brake instruction and display instruction.
21.如权利要求 20所迷的计费控制系统, 其特征在于只有在光电转换器被 修复之后,所迷中央控制装置才发出恢复供电指令。  The charging control system according to claim 20, wherein the central control device issues a power restoration command only after the photoelectric converter is repaired.
22.如权利要求 7、 8、 9或 11中任一项所述的计费控制系统,其特征在于所 述显示指令被送给七段码数字显示器。  22. The charging control system according to any one of claims 7, 8, 9 or 11, characterized in that said display instruction is sent to a seven-segment digital display.
23.如权利要求 12、 17或 20之一所述的计费控制系统,其特征在于所迷显 示指令被送给各自的发光二极管。  23. The charging control system according to any one of claims 12, 17 or 20, wherein the display instructions are sent to respective light emitting diodes.
24.如权利要求 1所述的计费控制系统, 其特征在于所述刷卡装置配有高 速读、抹磁头。  24. The charging control system according to claim 1, wherein the card swiping device is equipped with a high-speed reading and wiping head.
25.如权利要求 1所迷的计费控制系统, 其特征在于由所迷程序输入装置 输入的所迷预编的程序,可以进行修改。 25. The charging control system according to claim 1, wherein the preprogrammed program input by the program input device can be modified.
26.如扠利要求 1所述的计费控制系统, 其特征在于所述的数据处理裝置 可以是中央控制装置的一部分。 · 26. The charging control system according to claim 1, wherein the data processing device may be part of a central control device. ·
27. —种磁卡式电度表, 其特征在于它由普通的电度表取样表和计费控制 系统所組成,所述计费控制系统包括:  27. A magnetic card type watt-hour meter, characterized in that it consists of a common watt-hour meter sampling meter and a charging control system, which includes:
一以单片机为核心的中央控制裝置, 根据来自各种外围装置的信号产生出 控制信号,调用预编的控制程序指令各相应的外围装置动作,从而完成供 电控制和计费;  A central control device with a single-chip microcomputer as the core, generates control signals according to signals from various peripheral devices, and calls a pre-programmed control program to instruct each corresponding peripheral device to operate, thereby completing power supply control and billing;
一数据处理装置, 用于向所迷中央控制装置输入来自光电转换器的计量采 样信息、磁卡信息和所^预编的控制程序,并且输出所述中央控制装置产 生的控制信号; .  A data processing device for inputting the measurement sampling information, the magnetic card information and the preprogrammed control program from the photoelectric converter to the central control device, and outputting the control signal generated by the central control device;
一时间设定装置,用于完成当前时间的设定,以使向所迷中央控制装置发出 内部计时信息;  A time setting device for setting the current time so that the internal timing information is sent to the central control device;
一显示装置,用于响应所述中央控制装置的输出信号进行各种显示; 一报警拉闸装置, 用于响应所述中央控制装置发出的控制命令进行报警或 拉闸断电搡作;  A display device for performing various displays in response to an output signal of the central control device; an alarm brake device for responding to a control command issued by the central control device to perform an alarm or brake power failure operation;
一备用电源装置,用于在停电时给整个控制系统供电,以保持单片机控制系 统中各易失性存储器的各项数据并维持显示;  A backup power supply device is used to supply power to the entire control system in the event of a power failure to maintain the various data of the volatile memory in the single-chip microcomputer control system and maintain the display;
一峰 /谷期计费装置,它根据来自磁卡的信息在已设定的当前时间中进行用 电峰、谷、平期时间划分,并在所述中央控制装置的控制下 4艮据不同时间 段按预置的加价、减价或平价收费模式进行计价收费,同时向所述中央控 制装置发出控制信号, 以便所述中央控制装置驱动所述显示装置进行实 时显示;  A peak / valley charging device, which divides the peak, valley, and weekdays of electricity use in the set current time according to the information from the magnetic card, and controls it according to different time periods under the control of the central control device. Calculate and charge according to a preset markup, markdown or parity charging mode, and simultaneously send a control signal to the central control device, so that the central control device drives the display device to perform real-time display;
— P艮流装置,用于从计量采 号中检测当前用电电流值,发送给所述数椐 .处理装置, 在数据处理装置中将检测得的值与磁卡输入的设定值相比较 后产生出最大电流限量控制信号,传送给所述中央控制装置,由所迷中央 控制装置响应该信号进行处理;  — Pgen current device, which is used to detect the current electricity current value from the metering number and send it to the data processing device. After comparing the detected value with the set value input by the magnetic card in the data processing device, A maximum current limit control signal is generated and transmitted to the central control device, and the central control device processes the signal in response to the signal;
一程序输入装置, 用于输入所迷预先编制的控制程序, 并存储于 EPROM A program input device for inputting a control program prepared in advance and stored in EPROM
(电可擦只读存储器) 中, 以便所迷中央控制装置通过数据处理装置响应 外部信号而调用该程序以便进行控制动作; (Electrically erasable read-only memory), so that the central control device calls the program in response to an external signal through the data processing device to perform a control action;
—刷卡装置, 用于取代常规的磁卡传送机枸,而利用高速读、抹磁头对手动 刷过的磁卡信息进行读、抹,并将读取的信息送入数据处理装置;以及 一辅助电流采样器.用于不断检测是否有电流通过电度表,并产生有效信号 发送给所述中央控制装置,以便判断光电转换器采样是否发生故障,并作 出处理。 -A card swipe device, which replaces the conventional magnetic card conveyor, and uses high-speed reading and wiping magnetic heads to read and erase manually swiped magnetic card information, and sends the read information to a data processing device; and An auxiliary current sampler is used to continuously detect whether a current passes through the watt-hour meter, and generates an effective signal to send to the central control device, so as to determine whether the photoelectric converter sampling is faulty and make processing.
28.如权利要求 27所述的磁卡式电度表, 其特征在于所述的数据处理装置 可以是中央控制装置的一部分。  28. The magnetic card type watt-hour meter according to claim 27, wherein said data processing device is a part of a central control device.
29.如权利要求 27所迷的磁卡式电度表, 其特征在于采用刷卡方式输入磁 卡信息。  29. The magnetic card type watt-hour meter as claimed in claim 27, characterized in that the magnetic card information is input by a card swiping method.
30.如权利要求 27所迷的磁卡式电度表, 其特征在于所述中央控制装置和 峰 /谷计费装置根椐从磁卡读取的峰期时间、谷期时间自动进行时间分段, 并按 由所述程序输入装置输入的所迷预编程序设定的峰期加价、谷期減价、平期平价 的计费模式进行计费并实时 i示。  30. The magnetic card type watt-hour meter according to claim 27, wherein the central control device and the peak / valley charging device automatically perform time segmentation based on peak time and valley time read from the magnetic card, The charging is performed according to the charging mode of peak price increase, valley price reduction, and flat price parity set by the pre-programmed program input by the program input device and displayed in real time.
31.如权利要求 27所述的磁卡式电度表, 其特征在于所述中央控制装置和 限流装置根据从磁卡读取的最大电流限量信息,自动完成电流限量供电。  31. The magnetic card type watt-hour meter according to claim 27, wherein the central control device and the current limiting device automatically complete the current limit power supply according to the maximum current limit information read from the magnetic card.
32.如权利要求 27所迷的磁卡式电度表, 其特征在于借助所迷辅采样器而 完成光电采榉器故障的自动检测。  32. The magnetic card type watt-hour meter as claimed in claim 27, characterized in that the automatic detection of the failure of the photoelectric beech device is completed by means of the auxiliary sampler.
33. 如权利要求 27所述的磁卡式电度表,其特征在于所迷显示装置可以详 细显示各种计费及控制情况。  33. The magnetic card type watt-hour meter according to claim 27, wherein the display device can display various charging and control conditions in detail.
PCT/CN1994/000045 1994-06-15 1994-06-15 Magnetic card type watthour meter and its calculating and controling system WO1995034822A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
AU69677/94A AU6967794A (en) 1994-06-15 1994-06-15 Magnetic card type watthour meter and its calculating and controling system
PCT/CN1994/000045 WO1995034822A1 (en) 1994-06-15 1994-06-15 Magnetic card type watthour meter and its calculating and controling system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN1994/000045 WO1995034822A1 (en) 1994-06-15 1994-06-15 Magnetic card type watthour meter and its calculating and controling system

Publications (1)

Publication Number Publication Date
WO1995034822A1 true WO1995034822A1 (en) 1995-12-21

Family

ID=4574920

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN1994/000045 WO1995034822A1 (en) 1994-06-15 1994-06-15 Magnetic card type watthour meter and its calculating and controling system

Country Status (2)

Country Link
AU (1) AU6967794A (en)
WO (1) WO1995034822A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0884702A2 (en) * 1997-05-23 1998-12-16 Tekit S.p.A. An electronic information system for the provision of a substitute canteen service for employees

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4240030A (en) * 1978-12-14 1980-12-16 Bateman Jess R Intelligent electric utility meter
WO1988004433A1 (en) * 1986-12-08 1988-06-16 Sloan Joseph W Prepayment metering system using encoded purchase cards
CN2132992Y (en) * 1992-07-15 1993-05-12 连志升 Magnetic card electric energy meter
CN2156514Y (en) * 1993-04-23 1994-02-16 陈培建 Magnetic disc digital electricity meter

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4240030A (en) * 1978-12-14 1980-12-16 Bateman Jess R Intelligent electric utility meter
WO1988004433A1 (en) * 1986-12-08 1988-06-16 Sloan Joseph W Prepayment metering system using encoded purchase cards
CN2132992Y (en) * 1992-07-15 1993-05-12 连志升 Magnetic card electric energy meter
CN2156514Y (en) * 1993-04-23 1994-02-16 陈培建 Magnetic disc digital electricity meter

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0884702A2 (en) * 1997-05-23 1998-12-16 Tekit S.p.A. An electronic information system for the provision of a substitute canteen service for employees
EP0884702A3 (en) * 1997-05-23 2000-09-20 Tekit S.p.A. An electronic information system for the provision of a substitute canteen service for employees

Also Published As

Publication number Publication date
AU6967794A (en) 1996-01-05

Similar Documents

Publication Publication Date Title
EP0599528B1 (en) Combination parking meter and electric energy dispensing apparatus and method
US4792677A (en) System for use with a utility meter for recording time of energy use
BG65868B1 (en) Prepayment system and method for electric power meters using contactless smart cards with automatic supply cut-off device
EP0210743A1 (en) Meter reading methods and apparatus
CN201796424U (en) Single-phase local charge control smart meter
WO1993017345A1 (en) Method and apparatus for electronic meter testing
JPS62150499A (en) Method and apparatus for correcting power demand data
MX2008015316A (en) Systems and methods for remote utility metering and meter monitoring.
EP0063893A2 (en) Energy controller
EP0981723B1 (en) Metering systems
WO1996003721A1 (en) Apparatus for metering and dispensing gas
WO1996003720A1 (en) Apparatus for metering and dispensing a commodity
WO1999042963A1 (en) Apparatus for prepayment water management
WO1995034822A1 (en) Magnetic card type watthour meter and its calculating and controling system
JPS58500785A (en) Circuit to monitor utility usage
EP0892967B1 (en) Metering system comprising a valve controlled by an input code
CN2286864Y (en) Gas intelligent controllor
CN2310312Y (en) IC card running water meter
CN2349552Y (en) Inter-connected intelligent gas meter
CN2390074Y (en) IC card prepayment intelligent valve for heating system
CN214202526U (en) Intelligent water service user terminal information sharing device for direct drinking water
CN2216251Y (en) Automatic tariff watt-hour meter
CN2360855Y (en) Internet intelligent watt-hour meter
CN214005152U (en) Self-service remote control washing equipment
RU117013U1 (en) DIGITAL ELECTRIC ENERGY METER

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AM AT AU BB BG BR BY CA CH CN CZ DE DK ES FI GB GE HU JP KP KR KZ LK LU LV MG MN MW NL NO NZ PL PT RO RU SD SE SK UA UZ VN

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE CH DE DK ES FR GB GR IE IT LU MC NL PT SE BF BJ CF CG CI CM GA GN ML MR NE SN TD TG

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WA Withdrawal of international application
REG Reference to national code

Ref country code: DE

Ref legal event code: 8642

122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: CA