CN202404155U - Single-phase external relay type prepayment wide-range electric energy meter - Google Patents

Single-phase external relay type prepayment wide-range electric energy meter Download PDF

Info

Publication number
CN202404155U
CN202404155U CN2011205795204U CN201120579520U CN202404155U CN 202404155 U CN202404155 U CN 202404155U CN 2011205795204 U CN2011205795204 U CN 2011205795204U CN 201120579520 U CN201120579520 U CN 201120579520U CN 202404155 U CN202404155 U CN 202404155U
Authority
CN
China
Prior art keywords
electric energy
energy meter
module
current
processing module
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
CN2011205795204U
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 CN2011205795204U priority Critical patent/CN202404155U/en
Application granted granted Critical
Publication of CN202404155U publication Critical patent/CN202404155U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model relates to a single-phase external 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 a mains supply and the measurement processing module, the microprocessor main chip is connected with an electromagnetic relay module, and the electromagnetic relay module is connected with an air switch and the air switch is connected with the 220V mains supply. A 1-100A anti-direct current component current transformer is selected on an L current circuit to perform sampling, and then the sample data is processed by an analog low-pass filter and then sent to a sample switching circuit. Simultaneously, in the current design, in order to satisfy the signal-noise ratio of the small current sampling and the precise measurement of the large current, 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 save resources.

Description

Single-phase external relay pre-payment wide-range electric energy meter
Technical field
The utility model relates to a kind of single-phase external relay pre-payment wide-range electric energy meter, belongs to the ammeter field.
Background technology
The current specification of electric energy meter is the important parameter of identification user electric load, and along with the high speed development of power industry, the development of electric energy widespread use is also rapidly unusual, and electric power resource is worsening shortages also.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 single-phase electric energy meter generally 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; Especially when electric current during at 5%Ib~Imax, the electric energy metrical processing module can not accurately be measured.
Summary of the invention
The purpose of the utility model is to provide measuring accuracy high, broad quantum, current specification unification, the single-phase external relay pre-payment wide-range electric energy meter of convenient management.
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, is provided with current transformer between 220V mains supply and the metering processing module, and the microprocessor master chip is connected with the electromagnetic relay module; The electromagnetic relay module is connected with air switch, and air switch is connected with the 220V mains supply.
Said microprocessor master chip adopts the STM8 microprocessor.
Said current transformer employing 1-100A adds the closed homogeneous iron core current transformer of anti-DC component, frequency: 50/60Hz, electric current: 1-100A, secondary output current: 0.333mA, grade: 0.1Class, resistance: 18 Ω.
It is 5A that said electromagnetic relay module adopts electric current, and voltage is the strong sensitive electromagnetic relay of 12V.
The important feature that the utility model is different from other like products has:
1) the built-in electromagnetic relay module can be saved cost of products;
2) the built-in electromagnetic relay module can be saved resource;
3) the metering section current sample adopts anti-DC component mutual inductor, and the current error of sampling and phase error linear one are straightforward can be good;
4) can cover the electric energy meter of various current specification,, need for Electrical Safety simultaneously to adapt to different power load user's requests;
5) the shared BOM of plurality of specifications electric energy meter has been simplified production.
6) 5000: 1 meter dynamic range dynamic ranges have been realized;
7) 100 times of ultra wide-ranges are at measures range: 20mA~100A;
8) double verification under the little current conditions, can shorten the shunt running test period;
9) 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;
10) 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;
11) little load metering threshold moves down, and reduces line loss, increases economic efficiency;
12) simplify bid, calibration, dispensing;
13) tank farm stock of reduction Utilities Electric Co. backing sheet is simplified on-the-spot installation, debugs and is managed.
In brief, the utility model can compatible state the accurate electric energy meter of network mark and the wide-range specification advantage of market, Inner Mongol specific (special) requirements, 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 L line loop independently ADC that samples in the utility model design proposal, the current transformer that the L current return selects 1-100A to add anti-DC component is sampled, and behind simulation low-pass filter, delivers to the sample conversion circuit then.Simultaneously in current design for satisfying the signal to noise ratio (S/N ratio) of little current sampling, the accurate measurement of big electric current selects the computation chip of high precision, wide-range effectively to ensure the height of electric energy meter, essence, accurate, wide metering performance, has saved resource.
Table-1 meter dynamic range linear data
Figure BSA00000662281500021
Figure BSA00000662281500031
Table-2 temperature coefficient test datas
Figure BSA00000662281500032
Figure BSA00000662281500041
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 utility model built-in electromagnetic relay module control circuit connection layout;
Fig. 8 is real this usefulness novel electric power line interface, and the master chip power supply is handled, 485 power supplys are handled, measure power supply processing module and metering module circuit connection diagram;
Fig. 9 is the utility model S PI 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 money figure.
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 12, metering processing module 13, carrier communication module 16, circulation greatly and show detection module 17, IC-card interface module 18, SAM encipherment protection module 19, main control chip power supply processing module 12 with measure power supply processing module 14, RS 485 power supply processing modules 20 are connected with the 220V mains supply respectively; Be provided with current transformer 15 between 220V mains supply and the metering processing module 13, microprocessor master chip 1 is connected with electromagnetic relay module 10, and electromagnetic relay module 10 is connected with air switch 11, and air switch 11 is connected with the 220V mains supply.
Metering processing module 13 adopts the IDT90E23 computation chip, and metering power supply processing module 14 provides WV for 90E23 metering processing module 13; RS485 communication module 2 is connected with RS 485 power supply processing modules 20, and RS 485 power supply processing modules 20 provide WV for RS485 communication module 2.
Current transformer 15 employing 1-100A add the closed homogeneous iron core current transformer of anti-DC component, model: DCT-150/60Hz 1 (100) A/0.333mA 0.1Class 18 Ω.
Electromagnetic relay module 10 adopts model to be: HF32F-009-ZSLQ, and promptly electric current is 5A, voltage is the strong sensitive electromagnetic relay of 12V.
Metering processing module 13 is to carry out the communication between microprocessor master chip 1 and the metering processing module 13 through four ray mode SPI serial communication patterns, and accomplishes metering calibration function;
The implementation of L line function of measuring:
Current transformer device 15 is connected with metering processing module 13; The current input terminal of current transformer device 15 is connected with the IN1 end of metering processing module; Current transformer device 15 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 13, the digital processing, accomplish the consistance of metering 20mA~100A overall linear;
Electromagnetic relay module 10 working methods:
Microprocessor master chip module 1 is connected with electromagnetic relay module 10, and electromagnetic relay module 10 is connected with external air switching device 11, has then accomplished relay module 10 control circuits.
Judge that when microprocessor master chip 1 passes through program 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 electromagnetic relay module 10 is in off-state, then the external air switch 11 of electromagnetic relay module 10 controls breaks off; , the user pays the fees electromagnetic relay module 10 closures then, external air switch 11 closures of electromagnetic relay module 10 controls when carrying out electricity consumption.
1) hardware main circuit modular circuit connects and principle of work:
With reference to Fig. 2: the metering 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;
The metering method configuration of L line and N line: anti-electricity-theft pattern (more high-power), L pattern (fixed L line), L+N pattern (single-phase three-wire is suitable for) and flexible modes (specifying) through register;
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 18 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: electromagnetic relay module 10 adopts strong sensitive-type 5A, 12V, model: 10HF32F-009-ZSLQ; And control through software, when program command needs under the off-position, then electromagnetic relay module 10 is broken off; Control air outside switch 11 fill orders are broken off air switch 11;
Normally opened contact T7C connects the collector of NPN switch transistor T 7, and promptly the JK1H through electromagnetic relay module 10 and JK3 are connected the input and output pin of external air switch 11 respectively, and then the break-make of electromagnetic relay module 10 is controlled external air switch 11.
The principle of work of electromagnetic relay module 11 and application:
As long as add certain voltage at electromagnetic relay module 11 coil two ends; Will flow through certain electric current in the coil; Thereby generation galvanomagnetic effect; Armature will overcome the pulling force of return spring under the effect of electromagnetic attracting force inhales to iron core, thereby drives the moving contact and stationary contact (normally opened contact) adhesive of armature.Behind coil blackout, the suction of electromagnetism also disappears thereupon, and armature will return original position at the reacting force of spring, and moving contact and original stationary contact (normally closed contact) are discharged.Adhesive like this, release, thus reached the conducting in circuit, the purpose of cut-out.
Can realize low-voltage weak current control high voltage heavy current, advantage such as relay has that action is fast, working stability, long service life, volume are little.Can also realize far distance controlled and automatic control etc., the important effect of play more and more in therefore living in modern times.
With reference to Fig. 8: have metering processing module 13, power line interface, metering power supply processing module 14, main control chip power supply processing module 12 and RS 485 power supply processing modules 20 among this figure;
Metering processing module 13 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 13 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 14, the voltage worker RS485 power module 20 and main control chip power module 12 of secondary coil coupling.
Adopted a three-terminal voltage-stabilizing module HT7533 in the metering power supply processing module 14, the power supply of voltage stabilizing output 3.3V supplies metering processing module 13 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, the collection of metering signal is accomplished in L, the sampling of N line current in the existing circuit, accomplishes current sample 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 BSA00000662281500101
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 BSA00000662281500102
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 BSA00000662281500103
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 13 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, consider that under unloaded or little current conditions because of electric energy meter can cause external disturbance with transformer to current sampling circuit, 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 16 incidents and judge; If detect carrier communication module 16 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 13, 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 13 samples, and the metering resident spends electric weight with 1.Successively, can carry out step-by-step counting in the metering processing module 13 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 18, 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 electric energy meter 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 same as the previously described embodiments.

Claims (4)

1. single-phase external relay pre-payment wide-range electric energy meter comprises: microprocessor master chip, main control chip power supply processing module, metering processing module; It is characterized in that; The metering processing module adopts the 90E23 computation chip, is provided with current transformer between 220V mains supply and the metering processing module, and the microprocessor master chip is connected with the electromagnetic relay module; The electromagnetic relay module is connected with air switch, and air switch is connected with the 220V mains supply.
2. single-phase external relay 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 external relay pre-payment wide-range electric energy meter according to claim 1; It is characterized in that; Said current transformer adopts 1 one 100A to add the closed homogeneous iron core current transformer of anti-DC component, model: DCT-150/60Hz1 (100) A/0.333mA 0.1Class 18 Ω.
4. single-phase external relay pre-payment wide-range electric energy meter according to claim 1 is characterized in that, said electromagnetic relay module adopts model to be: HF32F-009-ZSLQ, and promptly electric current is 5A, voltage is the strong sensitive electromagnetic relay of 12V.
CN2011205795204U 2011-12-23 2011-12-23 Single-phase external relay type prepayment wide-range electric energy meter Expired - Lifetime CN202404155U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011205795204U CN202404155U (en) 2011-12-23 2011-12-23 Single-phase external relay type prepayment wide-range electric energy meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011205795204U CN202404155U (en) 2011-12-23 2011-12-23 Single-phase external relay type prepayment wide-range electric energy meter

Publications (1)

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

Family

ID=46701795

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011205795204U Expired - Lifetime CN202404155U (en) 2011-12-23 2011-12-23 Single-phase external relay type prepayment wide-range electric energy meter

Country Status (1)

Country Link
CN (1) CN202404155U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN104849523A (en) * 2015-05-15 2015-08-19 威胜集团有限公司 Single-phase watt-hour meter temperature compensation method
CN110441570A (en) * 2019-07-19 2019-11-12 中国电力科学研究院有限公司 A kind of Power Quality Monitor Device and method having Load-Aware function

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103679062A (en) * 2013-12-23 2014-03-26 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN103679062B (en) * 2013-12-23 2017-02-08 上海贝岭股份有限公司 Intelligent electric meter main control chip and security encryption method
CN104849523A (en) * 2015-05-15 2015-08-19 威胜集团有限公司 Single-phase watt-hour meter temperature compensation method
CN104849523B (en) * 2015-05-15 2017-06-09 威胜集团有限公司 The temperature compensation of single-phase electric energy meter
CN110441570A (en) * 2019-07-19 2019-11-12 中国电力科学研究院有限公司 A kind of Power Quality Monitor Device and method having Load-Aware function

Similar Documents

Publication Publication Date Title
CN202404153U (en) Single-phase sampling type prepayment wide-range energy meter with manganin shunt
CN101281664B (en) Low-power consumption handhold RFID patrol apparatus as well as method for implementing low-power consumption
CN202886463U (en) Intelligent electric energy meter with functions of electric leakage remote monitoring and protection
CN101876693B (en) Electric energy metering chip-based terminal calibration system
CN202404154U (en) Single-phase built-in magnetic latching relay type prepayment wide-range electric energy meter
CN101707018B (en) Electric energy metering verification simulating system
CN202404155U (en) Single-phase external relay type prepayment wide-range electric energy meter
CN103699029B (en) A kind of energy consumption data acquisition terminal
CN104502649B (en) Low-power consumption single-phase intelligent power meter
CN103313365B (en) Long-distance Control metering system
CN202384827U (en) Uninterruptible power system (UPS) maintenance instrument
CN200996971Y (en) Composite electric-energy managing system of load control and multiplexing time-sharing charging
CN201828608U (en) Three-phase intelligent electric energy meter
CN205983670U (en) Electric intelligent valve accuse water gauge is prevented falling in low -power consumption
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
CN105425029A (en) Low-power-consumption single-phase smart electric energy meter
CN206039715U (en) Prepayment water meter device based on near field communication technology
CN102435802A (en) Energy-saving detection device and method for energy performance contracting
CN202057425U (en) An intelligent long-distance temperature acquisition and transmission module
Rashed et al. Improving the reliability of energy supply utilizing smart energy meter system based on GSM: case study in Pakistan
CN208335372U (en) The wireless intelligent water meter of counterflow-preventing
CN204945239U (en) Electric quantity loss compensate for malfunctions device under the online substitute mode of a kind of gate energy meter
Mohamed et al. Enhanced Smart Water Meter Efficiency Based on Mounting Position Selection and Extended Battery Life Time
CN203339802U (en) Special transformer acquisition terminal

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