A kind of intelligent electric energy meter
Technical field
The utility model patent relates to a kind of intelligent electric energy meter, relates in particular to a kind of single-phase intelligent electric energy meter that is used for national grid.
Background technology
Existing single-phase electric energy meter mainly partly is made up of display module, communication module, Keyboard Control module, MCU module, electric energy meter chip module, clock module, memory module and front-end circuit conditioning module.The front-end circuit conditioning module adopts the current mode voltage transformer (VT) of a rated transformation ratio, current module adopts the current transformer of a rated transformation ratio, utilize the sample resistance sampled signal, signal after conversion is received by the electric energy meter chip with the form of differential mode voltage, the resistance of sample resistance is by the maximal value decision of measured signal, then after chip conversion with voltage, electric current, power, signals such as electric energy are passed to the work of all chips of MCU module controls, by the demonstration that reaches calculating and module, display module adopts Liquid Crystal Module, the normal energy value that shows current measurement of liquid crystal, date, time, can pass through the Keyboard Control display voltage, current effective value, power etc.; Communication module adopts related chip to realize communicating by letter between electric energy meter and the PC.And accept PC host computer synchro control and communicate with, clock module adopts clock chip, for electric energy meter provides time reference, for realizing that many rates lay the first stone, memory module adopts storage chip, for system provides data storage, can accomplish not obliterated data of power down, the real time record of electric system parameter can also be realized, purpose can be realized electric parameter meterings such as electric energy, demonstration and acquisition process.
The computation chip that existing design proposal is used, function is fixed, and program is to be solidificated in chip internal, and the user can't change the function of chip as required, therefore uses underaction.
Common single-phase electric energy meter, because the chip that uses power consumption is inadequately little and other hardware technologies are perfect inadequately, its precision can be not high enough, energy-conservation inadequately, but also have the situation of can sneaking current.
The utility model content
The purpose of this utility model is, a kind of intelligent electric energy meter is provided.It is simple in structure, and volume is little, the precision height, and cost is low, low-power consumption.
The technical solution of the utility model: a kind of intelligent electric energy meter, it is characterized in that: comprise main control chip, main control chip links to each other with button with CPU card, relay drive unit, ESAM (embedded-type security control module), LCD display, computation chip, RS485 communication module, infrared communication module, EEPROM (EEPROM (Electrically Erasable Programmable Read Only Memo)), RTC (real-time timepiece chip) respectively, and described main control chip links to each other with main control chip by the SPI communication module.
In the aforesaid intelligent electric energy meter, described main control chip is the MSP430F44X1 series monolithic of TI company.This chip cut down a lot of unnecessary hardware, so cost reduces greatly on the basis of MSP430F44X series.
In the aforesaid intelligent electric energy meter, described computation chip is the CSG550 chip of Lleida company.This computation chip can not only be realized the calculating of electric energy, in real time other electrical quantitys of detection of grid, voltage, electric current, frequency and power factor etc. strictly according to the facts.
In the aforesaid intelligent electric energy meter, described RTC is the clock chip RX8025T of band temperature compensation.
Compared with prior art, the utility model hardware configuration is simple, and volume is small and exquisite, stable performance, and power consumption is lower.
Description of drawings
Fig. 1 is a structural representation of the present utility model;
Fig. 2 is the infrared communication part synoptic diagram of the utility model embodiment;
Fig. 3 is the RS485 communication section synoptic diagram of the utility model embodiment;
Fig. 4 is the structural representation of the CSG550 chip of the utility model embodiment.
Embodiment
Below in conjunction with drawings and Examples the utility model is further described, but not as the foundation to the utility model restriction.
Embodiment.A kind of intelligent electric energy meter, as shown in Figure 1, comprise main control chip 1, main control chip 1 links to each other with CPU card 8, relay drive unit 9, ESAM, LCD display 2, computation chip 3, RS485 communication module 4, infrared communication module 5, EEPROM, RTC and button 6 respectively, and described main control chip 1 links to each other with main control chip 1 by SPI communication module 7.The MSP430F4481 single-chip microcomputer (MSP430F44X1 series) that described main control chip 1 is a TI company.Described computation chip 3 is CSG550 chip (its structure as shown in Figure 4).In order to guarantee the accuracy of clock, select the clock chip RX8025T of the band temperature compensation of EPSON company, do not lose in order to make the significant data after the power down, selected the EEPROM of CAT company to be used for freezing data information, really realized the permanent preservation of data.
1, power unit can design as following mode.
Line voltage divides three tunnel outputs after the transformer step-down, for main control chip 1, CPU card 8, LCD display 2, computation chip 3, RS485 communication module 4, infrared communication module 5, EEPROM, RTC work to 3.6V (after diode is depressured to 3.3V) in first via voltage stabilizing; The second tunnel voltage stabilizing behind the 5V for being the RS485 communicating circuit work of core by MAX3085; Third Road and electrical network mainly are that voltage stabilizing is arrived 3.3V for computation chip CSG550 work altogether, realize function of measuring.
2, infrared communication part circuit design as shown in Figure 2.
Infrared communication comprises the transmission and reception two parts of data, the transmission of data is by Q1, Q2, D1 etc. partly form, when data send, deliver to Q2 by the pwm signal that frequency of MCU generation is 38KHz, Q2 will control the through and off of infrared transmitting tube D1 in the mode of switch, but the continuity of break-make depends on the Q1 by the transmission data-signal control of MCU and decides, Q1 when being 0 ends when the data of a certain position, Q2 will not have opening of being fettered and disconnected, control by pwm signal fully, so the carrier signal of 38KHz is sent, the take over party draws " 0 " signal by decoding; Otherwise, if certain position is when be " 1 ", the Q1 conducting, Q2 will be bound by cut-off state, and D1 will keep with off state at this moment, and the take over party then decodes " 1 " signal, thereby really realizes the transmission of infrared communication data.Receiving unit is directly selected the infrared receiving module RPM7238-H8R of ROHM company for use, realizes the reception operation of infrared data.Physical circuit is seen accompanying drawing 3.
3, RS485 communication part circuit design as shown in Figure 3.
The hardware corridor of RS485 communication, its conversion chip are that MAX3085 and main control chip 1 are realized isolating fully by the light lotus root, guarantee reliability of data transmission.When main control equipment is in receiving mode, TXD is in standby mode (high level state), this moment, Q2 was in cut-off state, enable MAX3085 /the RE pin is a low level, make it be in receiving mode, when the differential signal at the A of data transmission port, B two ends changes, immediately obtain embodying, produce corresponding high-low level thereupon at RO, this level state is transferred to main control chip 1 by light lotus root U1 handles, thus a reception of realization data!
When main control chip 1 will send a high level, light lotus root U2 is in cut-off state, this moment, MAX3085 still was in receiving mode, so this moment, A, the B of transmit port were input state, the potential difference (PD) at its two ends depends on external condition fully, because the A end is connected to VCC by pull-up resistor R30, the B end is received VSS by pull down resistor R32.This moment, A>B was sent to peripheral hardware with one " 1 " seemingly; Otherwise when main control chip 1 will send a low level, light lotus root U2 was in conducting state, and this moment, the DE of MAX3085 handled high level state, made MAX3085 be in " Send " pattern of standard, and the low level that DI is held sends to peripheral hardware.
4, electric energy metrical partial design
Electric energy metrical part, acp chip adopt/satisfy the CSG550 of State Grid Corporation of China's technical requirement, and this chip can be gathered two-way electric current and one road voltage simultaneously, and can measure the frequency in the electrical network simultaneously, and parameters such as power are a desirable electric energy computation chips.Adopt the SPI communication modes, guaranteed the terseness of hardware.Electrical energy pulse also is directly to be drawn out to electric energy meter shell terminals from this circuit, realizes electric energy error correction and check and correction!