CN101710153A - Embedded electric energy meter with harmonic measurement function and measurement method thereof - Google Patents

Embedded electric energy meter with harmonic measurement function and measurement method thereof Download PDF

Info

Publication number
CN101710153A
CN101710153A CN200910258672A CN200910258672A CN101710153A CN 101710153 A CN101710153 A CN 101710153A CN 200910258672 A CN200910258672 A CN 200910258672A CN 200910258672 A CN200910258672 A CN 200910258672A CN 101710153 A CN101710153 A CN 101710153A
Authority
CN
China
Prior art keywords
electric
module
harmonic
data
energy meter
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.)
Pending
Application number
CN200910258672A
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.)
Anhui Xinlong Electrical Co Ltd
Original Assignee
Anhui Xinlong Electrical 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 Anhui Xinlong Electrical Co Ltd filed Critical Anhui Xinlong Electrical Co Ltd
Priority to CN200910258672A priority Critical patent/CN101710153A/en
Publication of CN101710153A publication Critical patent/CN101710153A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Measurement Of Current Or Voltage (AREA)

Abstract

The invention discloses an embedded electric energy meter with a harmonic measurement function and a measurement method thereof. The meter is characterized in that: the meter comprises an electric measurement module, an LCD drive module, an LCD screen, a storage module and a microprocessor module, wherein the electric measurement module acquires and measures external three-phase voltage and current, and sends measurement data to the microprocessor module; the LCD drive module drives the LCD screen; the LCD screen displays measurement data and harmonic components output by the microprocessor module; the storage module stores system set parameters, accumulated electricity value and standard check value of an electric measurement module; and the microprocessor module reads electricity data, and calculates harmonic voltage and harmonic current by Fourier transform. By adopting the structure and the method, voltage and current acquired by the electric measurement module are processed by the microprocessor module through fast Fourier transform, so that third-31st harmonic voltage and harmonic current are obtained and displayed on the LCD screen. The electric energy meter has the advantages of increasing the harmonic measurement precision of the electricity instrument to 1 percent, simplifying the design structure of hardware and enhancing using reliability of products.

Description

A kind of embedded electric energy meter and measuring method thereof with harmonic measurement function
Technical field
The claimed technical scheme of the present invention relates to a kind of embedded electric energy meter and measuring method thereof with harmonic measurement function.
Background technology
An ideal power system is to power with the burning voltage of single constant frequency and regulation amplitude.But in fact, because in recent years along with the continuous development of science and technology, the nonlinear element that the appearance of the application of the utilization of high-power converter and regulator, D.C. high voltage transmission in electric system, a large amount of nonlinear-loads and electric power system itself exist etc., make that the voltage waveform distortion in the system is more and more serious, electric system has been caused very big harm, as: make the element loss increase in the electric power system, the serviceable life of reducing consumer, interference communications system etc.When serious even can also make device damage, control malfunctioningly automatically, protective relaying maloperation is done, thereby causes power outage etc. and other problem.So-called " knowing yourself as well as the enemy; you can fight a hundred battles with no danger of defeat ", therefore, realize the comprehensive regulation to mains by harmonics, just must make the source of harmonic wave and the distribution situation of electrical network harmonic trend under various different running method clear, with restriction and the harmonic carcellation of taking appropriate measures, thereby improve electric power system power supply quality and the safety and economic operation of guaranteeing system.Existing embedded electric energy meter does not have harmonic measurement function.
Summary of the invention
Technical matters to be solved by this invention is, the problem that does not have harmonic measurement function for the power measure meters that solves traditional design, a kind of embedded electric energy meter and measuring method thereof with harmonic measurement function is provided, the electric current and voltage that electric energy meter collects is handled through microprocessor, obtain 3-31 subharmonic voltage, harmonic current, and it is presented on the liquid crystal display.
For solving the problems of the technologies described above, technical scheme of the present invention is a kind of embedded electric energy meter with harmonic measurement function, it is characterized in that comprising; The electric-power metering module is used for outside three-phase voltage electric current is gathered measurement, and sends continuous data to microprocessor module; The LCD driver module is used to drive LCD display; LCD display is used to the continuous data and the harmonic component that show that microprocessor module is exported; Load module is used for value and/or button input value to microprocessor module collection input switch amount; Output module is used for exporting and carry out combined floodgate, separating brake, the warning of CT overcurrent etc. to relay; Memory module is used for the storage demand that system is provided with parameter, accumulative total electric degree value and electric-power metering module standard proof test value; Microprocessor module is used for initialization system, response timer and interrupts, reads electric quantity data, calculates harmonic voltage and harmonic current, storage are provided with data, show control operation such as electric quantity data by Fourier transform.
Described electric energy meter also comprises: communication interface modules, adopt the RS485 level, and the MODBUS agreement realizes the data communication of above-mentioned electric energy meter and host computer.
Described microprocessor module reads the data of electric-power metering module by the SPI interface, comprising: outside voltage, electric current, power, power factor and electric degree value.
Described microprocessor module model is LPC2136, and electric-power metering module model is ATT7022C.
A kind of measuring method with embedded electric energy meter of harmonic measurement function is characterized in that described method comprises the steps:
The initialization apparatus step is used for the LPC2136 input/output port being distributed and definition the initialization assignment of global variable, timer 0 interrupts initialization, the communication vector interrupts initialization, and the baud rate initialization is provided with, and the electric weight chip reads initialization and EEPROM drives initialization etc.;
The timer interrupt step is used for regularly reading keyboard collection value, reads input switch amount collection value, the reading and adding up in real time, the control of panel run indicator of electric degree value;
The read step of electric quantity data, by the SPI input/output port of microprocessor module LPC2136, thereby parameter values such as the good voltage of its internal calculation, electric current, power, power factor, electric degree and electric current and voltage A/D sampled value are read in control to electric quantity metering chip ATT7022C;
The actuation step of eeprom memory, I2C square of bus by microprocessor module LPC2136 controlled EEPROM CAT1025J, thereby with voltage, the electrorheological ratio that is provided with, address, communication baud rate equivalence, and accumulative total electric degree value, electric-power metering chip ATT7022 standard proof test value deposits in, so that dead electricity is forever preserved.
Data displaying, by the control of microprocessor module LPC2136 to LCD, can correctly be presented at panel on through computing the energy data that from computation chip ATT7022C, reads, simultaneously with the A/D sampled value of electric current and voltage 1.2K speed by Fast Fourier Transform (FFT), calculate the harmonic component of 31 electric current and voltages, and display it;
Serial ports interrupts judging execution in step: be used for judging whether carry out communication, if execution communication, when host computer wakes this machine up, then this machine preserve immediately accordingly on-the-spot, receive frame data after, microprocessor carries out CRC check to receiving data, if check results is correct, illustrate that the reception data are entirely true, the instruction of microprocessor responds host computer, the query function sign indicating number goes to carry out functions such as remote signalling, remote measurement, remote control according to function code.
A kind of embedded electric energy meter and measuring method thereof with harmonic measurement function, owing to adopt said structure and method, the electric current and voltage that electric-power metering modules A TT7022C is collected carries out Fast Fourier Transform (FFT) (FFT) software processes through micro treatment module LPC2136, obtain 3-31 subharmonic voltage, harmonic current, and it is presented on the liquid crystal display.This electric energy meter can bring up to 1% with the harmonic measure precision of power instrument, has simplified hardware design structure simultaneously, has improved the dependability energy of product.
Description of drawings
Fig. 1 is a kind of embedded electric energy meter circuit structure block diagram with harmonic measurement function of the present invention;
Fig. 2 is a kind of measuring method main program flow chart with embedded electric energy meter of harmonic measurement function of the present invention;
Fig. 3 is an initialize routine process flow diagram shown in Figure 2;
Fig. 4 is the electric quantity metering chip program process flow diagram that reads shown in Figure 2;
In Fig. 1,1, microprocessor module; 2, electric-power metering module; 3, communication interface modules; 4, LCD driver module; 5, LCD display; 6, memory module; 7, load module; 8, output module.
Embodiment
Contrast accompanying drawing below, by description to embodiment, to a kind of embedded electric energy meter with harmonic measurement function, and a kind of measuring method with embedded electric energy meter of harmonic measurement function is described in further detail, with help those skilled in the art to design of the present invention, technical scheme have more complete, understand accurately.
As shown in Figure 1, the present invention adopts microprocessor module 1 to cooperate electric-power metering module 2 to be designed to embedded electric energy meter, this embedded electric energy meter is that core is passed through its SPI input/output port with the microprocessor, read the voltage of collection outside good among the computation chip ATT7022C, electric current, power, power factor, the electric degree equivalence, and with these value process data processing, by LCD driver module 4 it is presented on the LCD display 5, microprocessor connects four buttons respectively simultaneously, be used for the screen upset of video data and adjust the setting of parameter and these parameters are stored in memory module 6, microprocessor links to each other with host computer by communication interface module 3, the RS485 level is adopted in network communication, the MODBUS agreement, microprocessor directly is connected with output module 8 with load module 7 in addition, gather the value of the switching value of input, carry out simultaneously and close a floodgate, separating brake, CT overcurrent warning etc.
What the technical scheme of embedded electric energy meter of the present invention adopted is through Fast Fourier Transform (FFT) (FFT), and the non-sinusoidal cuve signal decomposition is become essential part and its multiple, and harmonic wave is sinusoidal wave, and each harmonic wave all has different frequencies, amplitude and phase angle.Harmonic wave can be divided into even and odd, the 3rd, 5,7 numbering be odd harmonic, and 2,4,6,8 etc. be even-order harmonic, generally speaking, the hazard ratio even-order harmonic that odd harmonic causes is more bigger.In the three-phase system of balance, because symmetric relation, even-order harmonic has been eliminated, and has only odd harmonic to exist.For the three phase rectifier load, the harmonic current that occurs is 6n ± 1 subharmonic, for example 5,7,11,13,17,19 etc., so, this embedded electric energy meter shows by the electric current and voltage value that the FFT conversion decomposites up to 31 order harmonic components the parameters of electric power value of measuring mainly by FFT by LCD display.
As shown in Figure 2, Fig. 2 is a main program flow chart of the present invention, step 1 is for beginning action, and step 2 be an initialization action, i.e. the definition of microprocessor input/output port, interrupt register, global variable, timer 0, EEPROM are interrupted, serial communication interruption, baud rate are provided with etc. carries out initialization.In step 3, judge and open look-at-me, interrupt for being if open, then enter step 4 and carry out interruption subroutine, if not or execution of step 3 enter step 5 and read the computation chip value and the value of reading is carried out data processing, thereby obtain correct voltage, electric current, power, the electric degree equivalence, in step 5, read the charge value among the computation chip ATT7022C and the A/D conversion value of electric current and voltage, in step 6, each charge value of reading calculated simultaneously the A/D conversion value is carried out Fast Fourier Transform (FFT), thereby calculate the harmonic component up to 31 times of electric current and voltage, the numerical value that reaches the harmonic wave after FFT changes that to read each charge value in step 7 shows, in step 8, judge whether simultaneously by parameter key is set, if, then enter parameter setting and parameter storage in the step 9, if not, then return step 3 circulation and carry out this system program.
As shown in Figure 3, Fig. 3 is the initialize routine process flow diagram, step 11 is for beginning action, in step 12, at first define the input and output pin of microprocessor, in step 13, EEPROM CAT1025JI is interrupted carrying out initialization setting and definition, the time constant of timer is set in step 14 then, in step 15, serial communication is provided with, define communication baud rate simultaneously.Read the proof test value of computation chip in step 16 from EEPROM, the storing value of electric degree and parameter setting values etc. are provided with priority of interrupt and open interruption in step 17, arrive step 18 master routine at last.
As shown in Figure 4, Fig. 4 reads process flow diagram for computation chip, step 21 is for beginning action, in step 22, add standard signal computation chip is carried out verification, in step 23, proof test value is deposited among the EEPROM, in step 24, read the value of computation chip, carry out the numerical value conversion then, in step 25,, in step 26, send panel to show numerical value with the transforming numerical Fast Fourier Transform (FFT).
In view of above-mentioned project organization, native system is with initialization apparatus, timer interrupt response, reading of electric quantity data, the EEPROM storage is provided with data, the demonstration of electric quantity data, the response that the communication serial ports interrupts etc. integrally combines effectively, thereby realize all functions of power instrument, because electric weight process chip ATT7022C that has adopted and the A/D switching rate function of 1.2K thereof, by Fast Fourier Transform (FFT), thereby can obtain harmonic component up to 31 electric current and voltages, make that simultaneously measuring accuracy is greatly improved, and the ARM7 microprocessor model of using is the LPC2136 of PHILIPS company, the processing speed that has improved software greatly is the fast Fourier arithmetic speed particularly, simplified project organization, strengthen the jamproof function of chip, improved reliability of products.
In conjunction with the accompanying drawings the present invention has been carried out exemplary description above; obviously specific implementation of the present invention is not subjected to the restriction of aforesaid way; as long as the various improvement of having adopted method design of the present invention and technical scheme to carry out; or directly apply to other occasion without improvement, all within protection scope of the present invention.

Claims (5)

1. the embedded electric energy meter with harmonic measurement function is characterized in that comprising;
The electric-power metering module is used for outside three-phase voltage electric current is gathered measurement, and sends continuous data to microprocessor module;
The LCD driver module is used to drive LCD display;
LCD display is used to the continuous data and the harmonic component that show that microprocessor module is exported;
Load module is used for value and/or button input value to microprocessor module collection input switch amount;
Output module is used for exporting and carry out combined floodgate, separating brake, the warning of CT overcurrent to relay;
Memory module is used for the storage demand that system is provided with parameter, accumulative total electric degree value and electric-power metering module standard proof test value;
Microprocessor module is used for initialization system, response timer and interrupts, reads electric quantity data, calculates harmonic voltage and harmonic current, storage are provided with data, show the electric quantity data control operation by Fourier transform.
2. a kind of embedded electric energy meter with harmonic measurement function according to claim 1 is characterized in that described electric energy meter also comprises:
Communication interface modules adopts the RS485 level, and the MODBUS agreement realizes the data communication of above-mentioned electric energy meter and host computer.
3. a kind of embedded electric energy meter according to claim 1 with harmonic measurement function, it is characterized in that, microprocessor module reads the data of electric-power metering module by the SPI interface, comprising: outside voltage, electric current, power, power factor and electric degree value.
4. a kind of embedded electric energy meter with harmonic measurement function according to claim 1 is characterized in that described microprocessor module model is LPC2136, and electric-power metering module model is ATT7022C.
5. one kind according to the described measuring method with embedded electric energy meter of harmonic measurement function of claim 1-3, it is characterized in that described method comprises the steps:
The initialization apparatus step is used for the LPC2136 input/output port being distributed and definition the initialization assignment of global variable, timer 0 interrupts initialization, the communication vector interrupts initialization, and the baud rate initialization is provided with, and the electric weight chip reads initialization and EEPROM drives initialization etc.;
The timer interrupt step is used for regularly reading keyboard collection value, reads input switch amount collection value, the reading and adding up in real time, the control of panel run indicator of electric degree value;
The read step of electric quantity data, by the SPI input/output port of microprocessor module LPC2136, thereby parameter values such as the good voltage of its internal calculation, electric current, power, power factor, electric degree and electric current and voltage A/D sampled value are read in control to electric quantity metering chip ATT7022C;
The actuation step of eeprom memory, I2C square of bus by microprocessor module LPC2136 controlled EEPROM CAT1025J, thereby with voltage, the electrorheological ratio that is provided with, address, communication baud rate equivalence, and accumulative total electric degree value, electric-power metering chip ATT7022 standard proof test value deposits in, so that dead electricity is forever preserved.
Data displaying, by the control of microprocessor module LPC2136 to LCD, can correctly be presented at panel on through computing the energy data that from computation chip ATT7022, reads, simultaneously with the A/D sampled value of electric current and voltage 1.2K speed by Fast Fourier Transform (FFT), calculate the harmonic component of 31 electric current and voltages, and display it;
Serial ports interrupts judging execution in step: be used for judging whether carry out communication, if execution communication, when host computer wakes this machine up, then this machine preserve immediately accordingly on-the-spot, receive frame data after, microprocessor carries out CRC check to receiving data, if check results is correct, illustrate that the reception data are entirely true, the instruction of microprocessor responds host computer, the query function sign indicating number goes to carry out functions such as remote signalling, remote measurement, remote control according to function code.
CN200910258672A 2009-12-12 2009-12-12 Embedded electric energy meter with harmonic measurement function and measurement method thereof Pending CN101710153A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910258672A CN101710153A (en) 2009-12-12 2009-12-12 Embedded electric energy meter with harmonic measurement function and measurement method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910258672A CN101710153A (en) 2009-12-12 2009-12-12 Embedded electric energy meter with harmonic measurement function and measurement method thereof

Publications (1)

Publication Number Publication Date
CN101710153A true CN101710153A (en) 2010-05-19

Family

ID=42402949

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910258672A Pending CN101710153A (en) 2009-12-12 2009-12-12 Embedded electric energy meter with harmonic measurement function and measurement method thereof

Country Status (1)

Country Link
CN (1) CN101710153A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510023A (en) * 2011-09-29 2012-06-20 安徽鑫龙电器股份有限公司 Switch cabinet status indicator with busbar temperature measurement, and measuring method thereof
CN103389411A (en) * 2013-07-24 2013-11-13 江苏斯菲尔电气股份有限公司 Multifunctional watt-hour meter and electric energy data recovery method thereof
CN103760935A (en) * 2013-12-31 2014-04-30 安徽鑫龙电器股份有限公司 Switch cabinet dynamic indicating device and control method thereof
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN105445546A (en) * 2015-12-31 2016-03-30 杭州海兴电力科技股份有限公司 Fiber access type electric energy meter with function of harmonic detection
CN105844901A (en) * 2016-05-23 2016-08-10 光科技股份有限公司 Security energy efficiency monitoring terminal based on tamper-proof technology and monitoring method of security energy efficiency monitoring terminal
CN106253788A (en) * 2016-08-22 2016-12-21 安徽工程大学机电学院 There is motor controller and the method for harmonic wave observing and controlling function
CN107390027A (en) * 2017-07-27 2017-11-24 许文远 A kind of electric harmonic detector
CN110346663A (en) * 2019-07-04 2019-10-18 广东科瑞德电气科技有限公司 A kind of method of electric locomotive by pyroelectric monitor terminal fault recording
CN110579734A (en) * 2019-07-29 2019-12-17 广西电网有限责任公司 Method for analyzing electric energy quality of single-phase electric energy meter and single-phase electric energy meter
CN113985266A (en) * 2021-10-28 2022-01-28 中国计量大学现代科技学院 Centralized load identification method for multiple intelligent electric meters
CN117665451A (en) * 2023-12-01 2024-03-08 国网四川省电力公司营销服务中心 High-precision electric energy measurement system

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102510023A (en) * 2011-09-29 2012-06-20 安徽鑫龙电器股份有限公司 Switch cabinet status indicator with busbar temperature measurement, and measuring method thereof
CN103389411A (en) * 2013-07-24 2013-11-13 江苏斯菲尔电气股份有限公司 Multifunctional watt-hour meter and electric energy data recovery method thereof
CN103760935A (en) * 2013-12-31 2014-04-30 安徽鑫龙电器股份有限公司 Switch cabinet dynamic indicating device and control method thereof
CN105334383B (en) * 2015-10-21 2018-06-22 宁波三星医疗电气股份有限公司 A kind of electricity data storage method of electric energy meter
CN105334383A (en) * 2015-10-21 2016-02-17 宁波三星医疗电气股份有限公司 Electric quantity data storage method for electric energy meter
CN105445546A (en) * 2015-12-31 2016-03-30 杭州海兴电力科技股份有限公司 Fiber access type electric energy meter with function of harmonic detection
CN105445546B (en) * 2015-12-31 2018-08-21 杭州海兴电力科技股份有限公司 A kind of intelligent acess formula electric energy meter with harmonic detection function
CN105844901A (en) * 2016-05-23 2016-08-10 光科技股份有限公司 Security energy efficiency monitoring terminal based on tamper-proof technology and monitoring method of security energy efficiency monitoring terminal
CN106253788A (en) * 2016-08-22 2016-12-21 安徽工程大学机电学院 There is motor controller and the method for harmonic wave observing and controlling function
CN107390027A (en) * 2017-07-27 2017-11-24 许文远 A kind of electric harmonic detector
CN110346663A (en) * 2019-07-04 2019-10-18 广东科瑞德电气科技有限公司 A kind of method of electric locomotive by pyroelectric monitor terminal fault recording
CN110579734A (en) * 2019-07-29 2019-12-17 广西电网有限责任公司 Method for analyzing electric energy quality of single-phase electric energy meter and single-phase electric energy meter
CN110579734B (en) * 2019-07-29 2021-09-21 广西电网有限责任公司 Method for analyzing electric energy quality of single-phase electric energy meter and single-phase electric energy meter
CN113985266A (en) * 2021-10-28 2022-01-28 中国计量大学现代科技学院 Centralized load identification method for multiple intelligent electric meters
CN113985266B (en) * 2021-10-28 2024-02-09 中国计量大学现代科技学院 Centralized load identification method for multiple intelligent electric meters
CN117665451A (en) * 2023-12-01 2024-03-08 国网四川省电力公司营销服务中心 High-precision electric energy measurement system

Similar Documents

Publication Publication Date Title
CN101710153A (en) Embedded electric energy meter with harmonic measurement function and measurement method thereof
CN101514999B (en) Electric power measurement multifunctional instrument system and method for measurement
CN102262200B (en) Portable power quality and fault recording integrated device
CN201440158U (en) Power quality monitoring and analyzing device
CN104062617B (en) Combining unit meter characteristic filed detection system and method thereof
CN103926462A (en) Rapid harmonic wave analyzing method and device of power system
CN201562011U (en) Embedded electric energy meter with harmonic wave measurement function
CN102510023A (en) Switch cabinet status indicator with busbar temperature measurement, and measuring method thereof
CN102856929B (en) Automatic quasi-synchronization real-time power generator monitoring method and system
CN102645581B (en) Low-tension electricity metering device
CN105301449A (en) Portable line loss measuring and calculating apparatus for power distribution network
CN202230173U (en) Self-adaptive multi-harmonic-source positioning device
CN204479980U (en) A kind of intelligent wireless control system of water pump
CN203069704U (en) Capacitor operation monitoring and early warning instrument
CN204576148U (en) A kind of microcomputer rotation speed signal device for genset
CN202334375U (en) Off-grid intelligent photovoltaic controller
CN102386809A (en) Off-grid intelligent photovoltaic controller
CN203054081U (en) A subentry metering device of electricity used in buildings
CN202586344U (en) Power-saving device having power-saving rate verification system
CN105954582A (en) Electric energy quality monitoring and metering device
CN203014490U (en) Intelligent monitor of transformer substation
CN202856461U (en) Intelligent controlled power distribution device
CN202435423U (en) Simple CAN (controller area network) analyzer
CN103454493A (en) Power quality detection system and operation method thereof
CN202649306U (en) Three-phase electrical parameter measuring device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20100519