CN202404154U - Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter - Google Patents

Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter Download PDF

Info

Publication number
CN202404154U
CN202404154U CN2011205795168U CN201120579516U CN202404154U CN 202404154 U CN202404154 U CN 202404154U CN 2011205795168 U CN2011205795168 U CN 2011205795168U CN 201120579516 U CN201120579516 U CN 201120579516U CN 202404154 U CN202404154 U CN 202404154U
Authority
CN
China
Prior art keywords
electric energy
energy meter
processing module
magnetic latching
latching relay
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 - Lifetime
Application number
CN2011205795168U
Other languages
Chinese (zh)
Inventor
杜宝龙
刘艳芳
冯震
张强
杜天乐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inner Mongolia Yungu Electric Power Science and Technology Co., Ltd.
Original Assignee
INNER MONGOLIA ZHENG'AN HENGTAI ELECTRIC POWER 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 INNER MONGOLIA ZHENG'AN HENGTAI ELECTRIC POWER TECHNOLOGY Co Ltd filed Critical INNER MONGOLIA ZHENG'AN HENGTAI ELECTRIC POWER TECHNOLOGY Co Ltd
Priority to CN2011205795168U priority Critical patent/CN202404154U/en
Application granted granted Critical
Publication of CN202404154U publication Critical patent/CN202404154U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

The utility model relates to a single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter and belongs to the technical field of electric meters. The prepayment wide-range electric energy meter comprises a microprocessor main chip, a main control chip power supply processing module and a measurement processing module, wherein the measurement processing module uses a 90E23 measurement chip, a current transformer is arranged between an 220V mains supply and the measurement processing module, the microprocessor main chip is connected with a magnetic latching relay, and the magnetic latching relay is connected with the 220V mains supply. A high-precision wide-range measurement chip is selected to effectively ensure the high, precise, accurate and wide measurement performance of the electric energy meter, and reduce the line loss; a 1-80A current transformer sampling device is selected on a current circuit to perform sampling, the sample data is processed by an analog low-pass filter and then sent to a sample switching circuit, physical layers of communication interfaces are independent from each other, and the damage of one communication interface does not affect other interfaces.

Description

Single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter
Technical field
The utility model relates to a kind of single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter, belongs to the ammeter field.
Background technology
Fast development along with electronic information technology; A hundred flowers blossom for the electronic electric energy meter new technology; The advantage of products such as information acquisition, antitheft electricity, pre-payment, many rates, automatic data logging highlights; But along with the rapid growth of need for electricity such as all trades and professions, family and power load, for satisfying the accuracy of electric energy metrical, using high precision, wide-range electric energy meter to replace the electric energy meter of traditional standard is inexorable trend.
The current specification of single-phase electronic energy meter in the market generally has 5 (30) A, 10 (60) A, 20 (80) A etc., and when electric current during at 5%Ib~Imax, electric energy metrical is inaccurate; Usually, single-phase electric energy meter adopts current sampling device, promptly adopts the current sample of the copper-manganese sheet that has on the magnetic latching relay in measuring; Such copper-manganese precision is not very high, and this copper-manganese of development is difficult to accomplish linear consistance in the dynamic range of broad, simultaneously; Be subject to the influence of the impedance variations of relay, and relay is prone to along with variation of temperature under the situation of super-high-current; The temperature of copper-manganese increases on the relay; And then, change in resistance is then linear very difficult consistent between the electric current with greatly at little electric current.
In addition, because the dynamic range of the scope of current specification and metering section A/D sampling is less, the narrower defective of range causes the electrical energy meter electricity traffic specification more; Have to the more current specification of electric energy meter regulation, multiple current specification electric energy meter BOM, welding, packaging technology file need constantly adjustment; The kind of checkout equipment and the tank farm stock of quantity and product standby redundancy have been increased.The managing process of restriction Utilities Electric Co. and manufacturing enterprise; In electricity consumption work, be difficult to avoid stealing, line loss problem.
Summary of the invention
The purpose of the utility model is to provide a kind of low line loss, produces fast, and the linear splendid ultra wide-range single-phase electric energy meter of single-phase built-in magnetic latching relay formula of metering.
Technical solution
The utility model comprises: the microprocessor master chip; Main control chip power supply processing module, metering processing module; The metering processing module adopts the 90E23 computation chip; Be provided with current transformer between 220V mains supply and the metering processing module, the microprocessor master chip is connected with magnetic latching relay, and magnetic latching relay is connected with the 220V mains supply.
Said microprocessor master chip adopts the STM8 microprocessor.
Said current transformer adopts 1-80A current transformer, the electric current of current transformer: 1-80A, secondary output current: 0.33mA, grade: 0.1Class, resistance: 10 Ω.
Said magnetic latching relay model, maximum contact current: 100A, nominal voltage: 9VDC, DC voltage 250VDC during the 100A electric current.
The utility model is with regard to the effective problem that has solved little electric current and the accurate metering of heavy load electricity consumption; The wide-range of electric energy meter can reach: electric current 20mA~100A, and Utilities Electric Co. only purchases 1 (100) A specification electric energy meter simultaneously, promptly satisfies the user to different power load demands; Can reduce the tank farm stock of backing sheet; Simplify the specification and the quantity of checkout equipment, take into account each phase new technology, possess the advantage of measuring accuracy height, broad quantum simultaneously in one.
Originally can compatible state accurate electric energy meter and market, the Inner Mongol wide-range specification advantage of network mark, and the ultra wide-range of accomplishing 20mA-100A, a electric energy meter that metering is linear splendid.And can satisfy the centralized meter-reading system demand of electric system forefront, Inner Mongol.The important feature that the utility model is different from other like products has:
1) adopts a mutual inductor sample device and magnetic latching relay combination set such as Figure 25 that develops through particular form, make to the utlity model has splendid metering linearity;
2) can cover the electric energy meter of various current specification,, need for Electrical Safety simultaneously to adapt to different power load user's requests;
3) the shared BOM of plurality of specifications electric energy meter has been simplified production.
4) 5000: 1 meter dynamic range dynamic ranges have been realized;
5) 100 times of ultra wide-ranges are at measures range: 20mA~100A;
6) double verification under the little current conditions, can shorten the shunt running test period;
7) the practical computation chip price of the utility model is excellent honest and clean, a kind of specification, starting material unification, and product differentiation brings profit to increase;
8) replaceable be in serviceable life in a large number at the beginning of, the electric energy meter in mid-term, in order to avoid a large amount of wastings of resources;
9) little load metering threshold moves down, and reduces line loss, increases economic efficiency;
10) simplify bid, calibration, dispensing, on-the-spot installation, debugging and management;
11) tank farm stock of reduction Utilities Electric Co. backing sheet.
Table-1 meter dynamic range linear data
Figure BSA00000662283900021
Figure BSA00000662283900031
Table-2 temperature coefficient test datas
Figure BSA00000662283900041
Description of drawings:
Fig. 1 is the utility model principle of work block diagram;
Fig. 2 is the utility model computation chip theory diagram;
Fig. 3 is the utility model main control chip circuit connection diagram;
Fig. 4 is the utility model outer memory module circuit connection diagram;
Fig. 5 is the utility model IC-card interface circuit connection layout;
Fig. 6 is the utility model battery voltage detection module and clock battery detection circuit connection layout;
Fig. 7 is the built-in magnetic latching relay module control circuit of a utility model connection layout;
Fig. 8 is real this usefulness novel electric power line interface, and the master chip power supply is handled, RS 485 power supplys are handled, measure power supply processing module and metering module circuit connection diagram;
Fig. 9 is the utility model SPI serial port four ray mode circuit module connection layout;
Figure 10 is the utility model electric pulse output circuit connection layout;
Figure 11 is the utility model L phase current mutual inductor connection terminal and N phase current mutual inductor connection terminal;
Figure 12 is the utility model software overall workflow block diagram;
Figure 13 is the utility model master routine workflow block diagram;
Figure 14 is the utility model communication module workflow block diagram;
Figure 15 is the utility model metering module workflow block diagram;
Figure 16 is the utility model Task per second processing module workflow block diagram;
Figure 17 is the utility model Task per second processing module workflow block diagram;
Figure 18 is the utility model millisecond task processing module workflow block diagram;
Figure 19 is the utility model minute task processing module workflow block diagram;
Figure 20 is the utility model card task processing module workflow block diagram.
Embodiment
Embodiment 1
See Fig. 1; The little processing main chip 1 of the utility model adopts the STM8 microprocessor; Microprocessor master chip 1 respectively with RS485 communication module 2, infrared communication module 3, LCD LCD MODULE 4, outer memory module 5, cover tegillum detection module 6, sound and light alarm module 7, clock battery module 8, pulse outputting unit module 9, main control chip power supply processing module 11, metering processing module 12, carrier communication module 15, circulation greatly and show that detection module 16, IC-card interface module 17, SAM encipherment protection module 18 are connected, main control chip power supply processing module 11, measure power supply processing module 13, RS485 power supply processing module 19 is connected with the 220V mains supply respectively; Be provided with current transformer sampling apparatus 14 between 220V mains supply and the metering processing module 12, microprocessor master chip 1 is connected with magnetic latching relay 10, and magnetic latching relay 10 is connected with the 220V mains supply.
Metering processing module 12 adopts the IDT90E23 computation chip, and metering power supply processing module 13 provides WV for 90E23 metering processing module 12; RS485 communication module 2 is connected with RS485 power supply processing module 19, and RS 485 power supply processing modules 19 provide WV for RS485 communication module 2.
Current transformer sampling apparatus 14 adopts the closed homogeneous iron core current transformer of 1-80A, model: the electric current of current transformer: 1-80A, secondary output current: 0.33mA, grade: 0.1Class, resistance: 10 Ω.
Magnetic latching relay 10 adopts model to be: maximum contact current: 100A, nominal voltage: 9VDC, DC voltage 250VDC during the 100A electric current.
Metering processing module 12 is to carry out the communication between microprocessor master chip 1 and the metering processing module 12 through four ray mode SPI serial communication patterns, and accomplishes metering calibration function;
The implementation of L line function of measuring:
Current transformer sampling apparatus 14 is connected with metering processing module 12; The current input terminal of current transformer sampling apparatus 14 is connected with the IN1 end of metering processing module; Current transformer sampling apparatus 14 current output terminals are connected with the IN2 end of metering processing module; Measure the current signal after the sampling after the inner adjustment of processing module 12, the digital processing, accomplish the consistance of metering 20mA~100A overall linear;
Magnetic latching relay 10 working methods:
Microprocessor master chip module 1 is connected with the 220V mains supply through magnetic latching relay 10; Judge through program when microprocessor master chip 1, detect electric weight outside power supply administration's regulation electricity consumption scope, in the time of need cutting off the power supply to the user; Then judge through program; To the electric energy meter indication of operating a switch, at this moment, magnetic latching relay module 10 is in off-state; Pay the fees when the user carries out electricity consumption, then judge through program, close a floodgate to electric energy meter and indicate, at this moment, magnetic latching relay 10 is in closure state.
1) hardware main circuit modular circuit connects and principle of work:
With reference to Fig. 2: the metering processing module that the utility model adopts has following characteristic:
In 5000: 1 dynamic range, only need the single-point calibration active energy, reactive energy need not calibration;
The electric parameter metering function: the fiducial error of voltage/current effective value, average gaining merit/idle/applied power, frequency, power factor and phase angle is all less than ± 0.5%;
Forward and reverse gaining merit/reactive energy all has independently electric energy register;
Programmable starting and shunt running power threshold;
Under the anti-stealing electricity function, L and the setting able to programme of N linear heat generation rate compare threshold.
Other characteristic
3.3V single power supply, operating voltage range: 2.8V~3.6V; 3.0V guarantee the measuring accuracy of chip in the~3.6V voltage range; Chip numeral input pin can be compatible the 5V system;
Crystal oscillator frequency: 8.192MHz; Built-in chip type 10pF electric capacity need not external electric capacity.
With reference to Fig. 3: electric energy meter adopts STM08GC101CB series microprocessor main control chip 1; Be the MCU of a 8 byte super low-power consumptions; Up to the flash memory of 128KB, the EEPROM of 4KB includes real-time clock, LCD, timer, serial port, I2C, SPI serial port, A/D, D/A conversion; 1~5 pin of microprocessor main control chip 1 is respectively: BLCK is the backlight control pin, links to each other with the pin of R62 among Fig. 8; UP follows to show the button control pin; TZ-LED is the control pin of tripping operation indicator signal; SPK is a warning/program button control pin; SWIM is that carrier wave resets/the programming Control pin.
6 pin NRST are the control pins of programming/reset, and through ingenious design, select for use a chip VDA3510NTA that resets to carry out software reset and programming Control, guarantee that the operating of MCU normally resets;
7~8 pin XT21 are connected with the 16M crystal oscillator with XT22, and starting of oscillation capacitor C 22 and the C19 of two 22P provides the concussion of 16M, to guarantee the normal communication of electric energy meter; XT1, XT2 are connected with the input and output pin of 32768HZ crystal oscillator, and the starting of oscillation electric capacity of two 8P provides the real-time clock vibration of 32768HZ;
The LVD power sense circuit; Disposed one 103 decoupling capacitance C13 in the circuit, the divider resistance of a 12K, a pull-up resistor R31; Guarantee to accomplish a power sense circuit, microprocessor master chip module 1 is in normal operating conditions when LVD is in 1.6V~1.8V;
S0~S17 and COM1~COM7 are respectively the horizontal and vertical data path of LCDs, see Fig. 7 liquid crystal display circuit for details;
The SP end of 59 pin of microprocessor master chip module 1 is connected with the resistance R 42 of a 1.2K, through the LTV-816S optocoupler, carries out the Switching Power Supply of high level, has accomplished period switching/pulse per second (PPS) output/requirement cycle output;
I2CSCL and I2CSDA are respectively serial clock input and serial data I/O end, accomplish the communication with outer memory module;
With reference to Fig. 4: outer memory module 5, M24C128-RMN6TP chip, the universal serial bus of ISP DLL comprise two signal: I2CSCL, I2CSDA.The pull-up resistor that adds two 20K equally is in high level when guaranteeing to be in input state;
SCL send clock signal, and SDA send data-signal.Through the cooperation of SCL and SDA, can transmit different commands to programmed logic.Programmed logic is responsible for these command conversion are become required data and the address of EEPROM programming, and control EEPROM does different operation, realization EEPROM programming.
With reference to Fig. 5: IC-card interface module 17 circuit; Adopt the anti-module combinations of attacking of a normally closed IC-card seat MUP-C810 and a PTCM5-05B301-501/300-600 to use, carry out IC-card and carry out whole plug-in card adding density test and function such as powering up with SAM encipherment protection module 19 systems.
With reference to Fig. 6: adopt BAV70 to do amplitude limit, formed battery voltage detection circuit and clock battery circuit module;
With reference to Fig. 7: the magnetic latching relay 10 of this employing 100A has been accomplished control relay circuit, and will use two NPN switch controlled, is connected the control break-make with normally closed contact T6C with the normally opened contact T7C of relay;
Principle of work: this circuit is the significant design part of this utility model, and magnetic latching relay 10 its contact opening and closing states are that the magnetic force that is produced by permanent-magnet steel keeps at ordinary times.When the contact of relay needs folding condition (when switching on or off load), only need to use just (instead) dc pulse voltage drive coil, relay is just accomplished the state exchange that relay leaves and closes in moment.At this moment power attenuation is generally less than 1W.When usually the contact was in hold mode, coil need not continue energising, and it is constant to only depend on the magnetic force of permanent-magnet steel just can keep the state of relay.
The outlet loop of magnetic latching relay 10 has false action-proof, contact arc quenching protection circuit is arranged and be convenient to the safety practice of on-the-spot test, and the contact maximum current is 120A; Control coil voltage is divided into DC9V; DC12V etc.One appliance life 5000 times; Mechanical life 100000 times; Be that contact endurance can guarantee that the switching maximum current is not less than 1000 times.Therefore, have power saving, stable performance, volume is little, load-bearing capacity is big, than the characteristics of general electromagnetic relay superior performance.
With reference to Fig. 8: have metering processing module 12, power line interface, metering power supply processing module 13, main control chip power supply processing module 12 and RS 485 power supply processing modules 19 among this figure;
Metering processing module 12 has adopted the 90E23 chip of a special use, and wherein MMD1 and MMD0 configuration quantitative model can be realized through software setting.
4 pin/RSTJ is said 90E23 chip reset pin, and this pin connects the 0.1uF capacitor filtering over the ground.Also can directly link to each other in the application with the output pin of MCU.Compatibility 5V system.
7,8 pin I2P, I2N are respectively N line current signal input anode, negative terminal, and when channel gain was 1 times, the signal input range was 120uVrms~600mVrms;
10,11 pin I1P, I1N are respectively L line current signal input anode, negative terminal, and when channel gain was 24 times, the signal input range was 5uVrms~25mVrms;
15,16 pin VP, VN are respectively voltage signal input anode, negative terminal, and the signal input range is 120uVrms~600mVrms;
WarnOut is a gross error warning pin, and when measuring parameter check errors and voltage decompression, gross error warning pin WarnOut exports high level;
CF1 is active energy pulse output, and electrical energy pulse output width is the high level of 80ms, the output current up 10mA of this pin;
IRQ interrupts output pin, when the system state word register (SysStatus, 01H) in one or long numeric data be set, IRQ exports high level.(IRQ automatically replies level for SysStatus, 01H) middle no effective set value when the system state word register;
OSCI, OSCO are input, the output terminals of metering processing module 12 external crystal, and the built-in 10pF electric capacity of crystal chip that between bipod, to connect a frequency be 8.192MHz need not external electric capacity, has the advantage of saving resource so simultaneously;
/ CS is the chip selection signal of SPI serial communication interface, and in four line SPI interface modes of standard, each read-write operation all must follow once/the height conversion of CS pin, before the SPI operation is accomplished/and the CS pin must keep low level.
This pin of SCLK is as the SPI interface clock.The last data of SDI are imported at the rising edge of SCLK, and the data of SDO are in the negative edge output of SCLK;
Read sequence, at first SDI puts high zone bit read operation, and SDI input subsequently 7 is a register address, and these register 16 bit data are exported on SDO then.
Write sequence, at first SDI puts low zone bit write operation, and the last input 7 of SDI subsequently is a register address, imports 16 then and is data.
The SPI interface has overtime and protective effect, and in the read-write process, if SCLK remains unchanged above 6ms, read-write operation can be ended, and when write operation, gets into high-impedance state.
If/CS puts low or two sign ons between surpass 24 SCLK cycles, wrongly write and can not enable, read operation meeting 24 SCLK cycles of withdrawing cash accomplish.
When read operation, if the address is invalid, readout is complete 0.When write operation,, have no register to be written into if the address is invalid.
2) power supply processing section:
The 220V mains supply connects a transformer FY-DP-2818B04A through low-voltage power line, and then transformer 2 pin have been drawn metering power supply processing module 13, the voltage worker RS485 power module 19 and main control chip power module 11 of secondary coil coupling.
Adopted a three-terminal voltage-stabilizing module HT7533 in the metering power supply processing module 13, the power supply of voltage stabilizing output 3.3V supplies metering processing module 12 operate as normal;
6,7 of transformer secondary output coil connects two BAV99 rectification output 12V; Pass through filtering again; Latter two parallelly connected filter capacitor connect the DC/DC module MC34063AP1 that power consumption is minimum; The inductance that connects a 220uH again, the voltage of a 5V of last voltage stabilizing output supplies the main control chip operate as normal;
4,5 pin of transformer secondary output coil are through a limiter diode, and again through a three-terminal voltage-stabilizing module LM78L05, output 5V voltage supplies 4RS 485 communication modules 2 operate as normal after the voltage stabilizing;
With reference to Fig. 9: this figure is a SPI serial communication port circuit design, has adopted 5 LTV-816S photo-couplers, has carried out the isolation of signal, guarantees safety, the reliability of electric energy meter;
With reference to Figure 10: meritorious electric pulse output module, adopted 2 LTV-816S photo-couplers in this circuit, CF is the active energy pulse output end.
With reference to Figure 11: be respectively L phase current mutual inductor sample circuit and N phase current mutual inductor sample circuit, accomplish the collection of metering signal, finally accomplished metering processing module 10 current sample functions through parameter configuration.
3) the functions of modules description is handled in metering:
◆ the metering starting power generally is not more than the corresponding power of 5%Ib, therefore, reach starting power but under the lower-powered state chip do not guarantee the accuracy of measuring.
◆ chip can the starting power of standard starting in 1.2 times of corresponding starting time, the starting time is the interval time of two continuous electrical energy pulses.
◆ this metering module has metering of N line and anti-stealing electricity function
Quantitative model can be through comparing threshold values
Compare the threshold values mode:
Under anti-electricity-theft pattern, the comparative approach of power difference is:
If current is the metering of L line, when
Figure BSA00000662283900101
Switch to the metering of N line, otherwise still keep the metering of L line.
If current is the metering of N line, when
Figure BSA00000662283900102
Switch to the metering of L line, otherwise still keep the metering of N line.
◆ power special processing and measurement and zero passage output function hour
Cross zero output
During sampled voltage signal zero passage, the ZX pin of chip output width is the zero cross signal of 5ms.The zero passage way of output can (MMode 2BH) be configured to positive zero passage/negative zero passage/full zero passage by Zxcon [1:0] position.
The zero cross signal of chip output can help in the system applies MCU in the operation of zero passage instantaneous time, as relay operate a switch, carrier wave sends.
Metering processing module 13 reset functions
This circuit has hysteresis loop comparator formula electric source monitoring circuit, but in the voltage range of regulation chip operate as normal.
Have two kinds of reset modes: hardware reset and software reset.
Hardware reset: it is effective that chip has external reset pin
Figure BSA00000662283900103
signal low level, and low level pulse length should be greater than 200us.
The software reset: chip has software reset's register, and (SoftReset 00H), writes 789AH to this register, and metering processing module 12 promptly automatically resets.
The calibration mode
According to introducing the error principle, the calibration of electric energy error adopts first calibration-gain to calibrate the method for angular difference again.In the dynamic range of the whole metering of electric energy meter, only need the single-point calibration in the design.
Yet face considers that under unloaded or little current conditions because of electric energy meter can cause external disturbance with transformer to current sampling circuit such as copper-manganese resistance, chip provides the calibration of power imbalance.
4) software overall workflow:
With reference to Figure 12:
Program begins to carry out, and gets into the RAM initialization then, then gets into the clock initialization, and entering system then detects LVD voltage, and when detecting low pressure, electric energy meter will be set up the sign that has a power failure.
Then system gets into and interrupts initialization, if power-up state, then power on I/O initialization and communication initialization can be done by system; If power-down state, then power down I/O initialization can be done by system.
Subsequently, system gets into the initialization of temperature clock correction, timer initialization successively, enables to interrupt, and arrives this, and hardware initialization is partly accomplished;
Next, if power-down state then gets into the power down process program, if power-up state then gets into the handling procedure that powers on.
The contents processing that powers on is following:
The rising of systemic circulation wait voltage (LVD>1.4V), apparent entirely during this again if surpass 50 milliseconds of driving liquid crystal, as if LVD<1.0V, system reset; After voltage raise, initialization showed entirely, and then system can check internal data, if initialization internal data after the internal data mistake was delayed time 5 seconds; Electric energy meter system can be handled remaining sum (wallet synchronously) in then connecing down, and initialization relay output then, the output of initialization relay, initialization RTC are during as if the RTC mistake; Can show ERR-08, then, electric energy meter system is done electrographic recording; And inspection ESAM security module, if when detecting ESAM and makeing mistakes, then can show ERR-02.
Then, system can check alarm condition, then calculates rate, and then initialization computation chip, and inspection programmed recording arrives this, and software initialization is accomplished, and then gets into major cycle;
System is in service in major cycle, at first handles a millisecond task, then handles half Task per second, handles minute task, communication task, button task once more, infraredly wakes task up, handles the incident of uncapping, handles the plug-in card task, repeats major cycle at last once more.
Master routine is partly with reference to Figure 13:
After the device power, at first get into system initialization module, to each pin, parameter default settings; In initialization module, at first house dog is provided with, again the millisecond identifier is judged, if the millisecond sign is provided with; Then carry out millisecond task and handle, then carry out half second sign and be provided with, if the millisecond sign is not provided with; Directly withdraw from, sign was provided with in double second;
If sign was provided with in double second, then carry out Task per second and handle, successively clock is carried out, tariff period is checked, then uses electric treatment; If double second sign is not provided with, then withdraw from;
Double second sign judged once more, if the interpretation of half second sign is passed through, then carry out minute manager of task place, otherwise the entry communication sign judged; If to the communications identification setting, then entry communication is handled, and interrupts judging otherwise carry out button; If button is provided with, then carries out button and handle, otherwise withdraw from;
Then carry out the next program time of uncapping and judge, if there is switch events to take place, the processing of then uncapping is declared if the plug-in card incident is judged otherwise carry out the plug-in card incident;
If the generation of plug-in card incident is arranged, then IC-card is handled, otherwise, to withdraw from, redirect turns back to the millisecond sign to be judged, like the workflow of above.
The communication processing section is with reference to Figure 14:
In RS485 communication module 2 is handled, at first, serial port is carried out interrupt response, then the serial port data are received; Then, 2 times of RS485 communication module are judged that event occurs as if determining through the RS485 serial communication interface, then the communication frames form detected judgement; Otherwise, withdraw from, carry out infrared communication module 3 time of carrying out and judge that event occurs through infrared communication module 3 if detect; Then carry out the communication frames format detection and judge, otherwise, withdraw from, carry out carrier communication module 15 incidents and judge; If detect carrier communication module 15 incidents, then the communication frames form is judged, otherwise is withdrawed from, jump to each channel certainly negate to answer;
1) when not detecting the communication frames form, each channel certainly negative response, finish up to each communication;
2) when detecting the communication frames form, then each channel communication state shows and is provided with, and then the calibration instruction is judged, if need the calibration operation, then RS485 communication module 2 carries out communication and handles, and accomplishes the calibration function; If do not need calibration operation, then get into parameter judgement be set, need parameter to carry out order to be set, then to carry out the parameter setting operation, otherwise withdraw from, jump to the read data operation if determine, then each channel carry out sure negative response, each communication finishes.
The metering processing section is with reference to Figure 15:
In metering processing module 12, at first carry out timing interruption pulse scanning, then carry out step-by-step counting, 3200 pulses of every generation are then measured after processing module 12 samples, and the metering resident spends electric weight with 1.Successively, can carry out step-by-step counting in the metering processing module 12 always, and to electric weight, amount of money conversion; Computation chip also carries out communication through four ray mode SPI serial ports and CPU, carries out the processing such as collection, calculating, conversion and storage of data, then carries out shunt running and judges; Have shunt running if determine the electric energy meter metering, then electric energy meter can carry out the anti-shunt running processing of step-by-step counting, then gets into direction of current and oppositely judges; If electric energy meter does not have the shunt running phenomenon, then directly get into direction of current and oppositely judge;
1) is oppositely as if determining direction of current, then carries out current reversal and show that the total electric weight of reverse rate is then calculated in current reversal time-delay then, then calculates total electricity consumption, and increases the processing of the electricity consumption amount of money, gets into data preservation, back-up processing state at last;
2) if determine direction of current not oppositely, then electric energy meter begins the computational costs electric weight, calculates total electricity consumption, increases the electricity consumption amount of money then, carries out data preservation, back-up processing at last.
3) in calibration, according to introducing error by principle, electric energy meter adopts first calibration-gain, calibrates the method for angular difference again.In the dynamic range of the whole metering of electric energy meter, only need the single-point calibration in the design;
4) consider under unloaded or little current conditions that because of electric energy meter can cause external disturbance with transformer to this case appearance loop of electric current such as copper-manganese resistance, chip provides the calibration of power imbalance.
The Task per second processing section
With reference to Figure 16: after device power, at first get into the time-delay that powers on and handled in 1 minute, judge then whether 10 seconds delay times arrive?
If 10 seconds delay times arrive, then carry out Next Command, got into the battery voltage detection operation, if not determining 10 seconds delay times does not arrive, then turn back to the 1 minute processing command of time-delay that powers on once more; If 10 seconds delay times arrive; Then carry out Next Command, got into the battery voltage detection operation, then computation chip is handled; Then carry out electric current successively and hide processing, current/voltage display process, the input of uncapping; Ultimate guarantee is every when taking turns cycle detection, take down notes during the state of equipment stable, state accidental modification when having avoided equipment extraneous or that cause because of self reason initial.
With reference to Figure 17: after device power, at first, obtain the current time; Anti-shunt running setting is then carried out relay error-detecting, ESAM error-detecting, temperature detection to electric energy meter successively, judge then whether the address change delay time of electric energy meter arrives? If delay time does not arrive; Then carry out and judged whether low pressure, the detection of boosting; Otherwise withdraw from, carrier module carries out reset operation, then judges the low pressure detection of boosting;
1) if determining electric energy meter has implemented low pressure and boost and detect action, then relay status is reset, and then judges whether to have overvoltage and detects, otherwise directly get into judgement overvoltage sense command;
2) if electric energy meter has the overvoltage detecting operation, then can show the overvoltage error condition, judge then whether overpower factor transfinites,
3) if having determined overpower factor transfinites and detect action, then can show the power factor overrun, otherwise withdraw from; Carry out next sense command, i.e. trend inverse detection, likewise; Up to judging that the time-delay of password mistake detects; Have password mistake time-delay detecting operation if determine electric energy meter, then electric energy meter is to the password authentification fault processing and carry out the state display operation, otherwise directly ties this part.
Minute task processing section is with reference to Figure 18:
In minute task processing module, at first, carry out a minute task identification clear operation, then electric energy meter obtains current tariff period operation, then carries out the rate period switching judging,
1) when carrying out rate section cut-out processing with strength, then preserve the tariff period action, then upgrade current tariff period operation, upgrade current rate electricity price processing, then judge whether to freeze day for the moon?
2) if freeze day by the moon, then preserve of that month freezing data operation, then carry out next judgement, promptly regularly freeze to judge, otherwise, directly withdraw from, jump to and regularly freeze to judge;
3) if having determined timing freezes, then preserve regularly freezing data, then carry out day freezing operation judges, otherwise directly withdraw from, the redirect execution day freezes to judge;
4) if be judged as when freezing day, then electric energy meter can be carried out and preserve a day freezing data operation, then carries out and freezes zero point to judge, otherwise withdraw from, and directly redirect is carried out and freezed zero point to judge;
5), then preserve freezing data operation at zero point if determine when freezing zero point; Otherwise finish minute task operating.Millisecond task processing section is with reference to Figure 19:
In the Task per second processing module; Carry out low pressure detection, button detection, infrared processing delay operation successively, then carry out 50 milliseconds of zone bit detecting operations, then relay is handled delay operation and judge; If determine the relay processing deferred action is arranged; Then electric energy meter begins the relay control and treatment, handles the time-delay judgement otherwise directly get into hummer
Handle deferred action when having determined hummer, then electric energy meter has got into the operation of hummer control and treatment, otherwise; Carry out the hummer time-delay once more and judge, if determining electric energy meter has under the hummer delay process situation, then electric energy meter carries out communication countdown processing; Otherwise, withdraw from.Then directly button is judged whether be pressed,, then button is carried out delay process if be pressed; If button is not pressed, then electric energy meter incoming carrier communication detection state then carries out the operation of plug-in card input, the task termination of last millisecond.
The card operational processes is partly with reference to Figure 20:
In IC-card interface module 17, at first, electric energy meter is judged the plug-in card state, does detection have or not the plug-in card signal?
1) if the indication of plug-in card signal is arranged, then electric energy meter gets into the demonstration of plug-in card state, and then ESAM/IC sticks into horizontal reset; Then carry out, whether IC-card discerns judgement, if IC-card is identified; Subsequently, judge whether to select master file? If need to select master file, then upgrade the electricity consumption data manipulation; Then carry out Card Type and judge if determine Card Type, judge that then inside recognizes whole passing through?
2) if the unidentified IC-card that arrives then withdraws from, directly jump to card operating mistake state and show; If in the time of need not selecting master file, equally directly withdraw from, jump to card operating mistake state and show
3) when not determining Card Type, then electric energy meter can display card operating mistake state
4) when internal authentication passes through, then carry out non-public key authentication and judge, otherwise, directly show authentication error information;
5) do not have non-public key authentication when determining, then electric energy meter can demonstrate authentication error information.
6) when having determined non-public key authentication, then electric energy meter can upgrade the electricity consumption data manipulation, and then ammeter can be operated successful information by display card, finishes this part operation at last.
When the utility model adopts three-phase wide-range electric energy meter, only need be when being designed into power unit, it is three-phase supply that the individual event power supply expands, the expansion of individual event carrier wave gets final product for the three-phase carrier wave.Working method is identical with the foregoing description 1.

Claims (4)

1. single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter; Comprise: the microprocessor master chip, main control chip power supply processing module, metering processing module is characterized in that; The metering processing module adopts the 90E23 computation chip; Be provided with current transformer between 220V mains supply and the metering processing module, the microprocessor master chip is connected with magnetic latching relay, and magnetic latching relay is connected with the 220V mains supply.
2. single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter according to claim 1 is characterized in that, the microprocessor master chip adopts the STM8 microprocessor.
3. single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter according to claim 1 is characterized in that, said current transformer adopts the 1-80A current transformer; The electric current of current transformer: 1-80A; Secondary output current: 0.33mA, grade: 0.1Class, resistance: 10 Ω.
4. single-phase built-in magnetic latching relay formula pre-payment wide-range electric energy meter according to claim 1 is characterized in that said magnetic latching relay model, maximum contact current: 100A, nominal voltage: 9VDC, DC voltage 250VDC during the 100A electric current.
CN2011205795168U 2011-12-23 2011-12-23 Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter Expired - Lifetime CN202404154U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011205795168U CN202404154U (en) 2011-12-23 2011-12-23 Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011205795168U CN202404154U (en) 2011-12-23 2011-12-23 Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter

Publications (1)

Publication Number Publication Date
CN202404154U true CN202404154U (en) 2012-08-29

Family

ID=46701794

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011205795168U Expired - Lifetime CN202404154U (en) 2011-12-23 2011-12-23 Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter

Country Status (1)

Country Link
CN (1) CN202404154U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830279A (en) * 2012-09-14 2012-12-19 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and power consumption collector
CN106018950A (en) * 2016-07-04 2016-10-12 深圳市鎏科技有限公司 Integrated prepayment intelligent control system
CN107257126A (en) * 2017-05-15 2017-10-17 华立科技股份有限公司 Can protective relay electric energy meter high current trip method
CN109406849A (en) * 2019-01-07 2019-03-01 江苏安科瑞电器制造有限公司 A kind of acquisition control module and method of multi-user pre-payment electric energy meter

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102830279A (en) * 2012-09-14 2012-12-19 北京华鑫志和科技有限公司 Data processing device used for electric energy meter and power consumption collector
CN106018950A (en) * 2016-07-04 2016-10-12 深圳市鎏科技有限公司 Integrated prepayment intelligent control system
CN107257126A (en) * 2017-05-15 2017-10-17 华立科技股份有限公司 Can protective relay electric energy meter high current trip method
CN109406849A (en) * 2019-01-07 2019-03-01 江苏安科瑞电器制造有限公司 A kind of acquisition control module and method of multi-user pre-payment electric energy meter

Similar Documents

Publication Publication Date Title
CN202404153U (en) Single-phase sampling type prepayment wide-range energy meter with manganin shunt
CN205720336U (en) A kind of modernization intelligent electric meter device
CN201060513Y (en) Three-phase smart card type prepaid multifunctional electric energy meter
CN202404154U (en) Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter
BG65868B1 (en) Prepayment system and method for electric power meters using contactless smart cards with automatic supply cut-off device
CN106230484A (en) Wisdom electric energy terminal and control method thereof
CN105182065A (en) Electricity information acquisition system based on intelligent electric meter
CN202404155U (en) Single-phase external relay type prepayment wide-range electric energy meter
CN202384827U (en) Uninterruptible power system (UPS) maintenance instrument
Patil et al. Intelligent energy meter with advanced billing system and electricity theft detection
CN104502649B (en) Low-power consumption single-phase intelligent power meter
CN202373979U (en) Intelligent reactive power compensation and power parameter display integrated control device
CN105675946A (en) Double-controlled intelligent single-phase electric energy meter with malignant load identification function
CN106297032A (en) A kind of intelligent power saving water management machine and control method thereof
CN202177678U (en) Circuit for detecting terminal outside primary measurement captive test (CT) secondary side connection state
CN201828608U (en) Three-phase intelligent electric energy meter
CN201562317U (en) Three-phase three-wire CPU card intelligent electric energy meter
CN206331037U (en) A kind of three-phase self-adapting intelligent ammeter
CN204330838U (en) A kind of low-power consumption single-phase intelligent electric energy meter
CN206039715U (en) Prepayment water meter device based on near field communication technology
Rashed et al. Improving the reliability of energy supply utilizing smart energy meter system based on GSM: case study in Pakistan
CN108168641A (en) A kind of intelligence pre-payment IC Card Water-Instrument
CN202372571U (en) Remote carrier wave single-phase cost control intelligent electric energy meter
CN105425029A (en) Low-power-consumption single-phase smart electric energy meter
CN208335372U (en) The wireless intelligent water meter of counterflow-preventing

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee
CP01 Change in the name or title of a patent holder

Address after: 014040 the Inner Mongolia Autonomous Region Tiexi Donghe District of Baotou city haud Trade Square southwest 3 Building No. 19

Patentee after: Inner Mongolia Yungu Electric Power Science and Technology Co., Ltd.

Address before: 014040 the Inner Mongolia Autonomous Region Tiexi Donghe District of Baotou city haud Trade Square southwest 3 Building No. 19

Patentee before: Inner Mongolia Zheng'an Hengtai Electric Power Technology Co., Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20120829