The utility model content
The purpose of this utility model is, a kind of three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer is provided.Reliability and stability when the utility model can not only guarantee to use, and it is low to have a production cost, and circuit connects simple and the higher characteristics of measuring accuracy.
The technical solution of the utility model: based on the three-phase kilowatt-hour meter of MSP430 single-chip microcomputer, it is characterized in that: comprise MSP430 single-chip microcomputer with power circuit module and LCD display module, communication interface module, memory module, the keyboard input module that is connected with the MSP430 single-chip microcomputer, the ADC in the MSP430 single-chip microcomputer is connected with three-phase voltage sample circuit module and three-phase current sample circuit module.
In the aforesaid three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, described power circuit module is a three-phase resistance-capacitance depressurization circuit forms power supply power circuit module jointly as power circuit module or three-phase resistance-capacitance depressurization circuit and transformer reduction voltage circuit.
Described three-phase voltage sample circuit module is connected with the analog input end of MSP430 single-chip microcomputer with three-phase current sample circuit module.
In the aforesaid three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, described communication interface module comprises infrared communication interface module, RS232 serial communication interface module and RF wireless communication interface module.
In the aforesaid three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, described MSP430 single-chip microcomputer also is provided with LED pulse pilot lamp, and LED pulse pilot lamp comprises green, yellow, the red LED lamp of indicating A, B, the output of C three-phase pulse respectively.
In the aforesaid three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, described MSP430 single-chip microcomputer also is provided with meritorious, idle impulse output circuit module.
In the aforesaid three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, described memory module is an EEPROM (Electrically Erasable Programmable Read Only Memo), can preserve electric quantity data and logout information.
Compared with prior art, the utility model is a kind of three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, utilize the MSP430 single-chip microcomputer analog to digital conversion, digital signal processing, electric energy metrical, LCD display driver, hardware RTC clock and hardware USCI communication module to be integrated in one, it is simple to make periphery circuit design and circuit connect, production cost reduces, measuring accuracy improves, and is highly suitable in the civilian ammeter and promotes.But also has the extremely strong restructural property made, promptly under the prerequisite that does not change hardware circuit, improve systemic-function by changing software, thereby the design item that solves each different function requirements all needs original software and hardware is made the problem of corresponding adjustment, all brings great convenience for user and producer.The utility model has also improved economy greatly when having guaranteed reliability and stability, reduce the production cost of producer, accelerates China's power grid construction.
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.Three-phase kilowatt-hour meter based on the MSP430 single-chip microcomputer, constitute as shown in Figure 1, it is characterized in that: comprise MSP430 single-chip microcomputer 1 with power circuit module 9 and LCD display module 2, communication interface module, memory module 3, the keyboard input module 4 that is connected with MSP430 single-chip microcomputer 1, the ADC in the MSP430 single-chip microcomputer 1 is connected with three-phase voltage sample circuit module 11 and three-phase current sample circuit module 10.
Described MSP430 single-chip microcomputer 1 is the MSP430F47197 single-chip microcomputer that Texas Instrument produces, and it has following characteristic:
1, system's dominant frequency can provide higher sample frequency and quicker operation speed up to 16MHz;
2, built-in separate 7 tunnel 16 second order es--Δ mode converter, the electric current of can sample simultaneously three-phase current, three-phase voltage and center line, the anti-stealing electricity function of realization current imbalance;
3, have 4 road USCI communication modules, support communication interfaces such as UART, SPI, I2C, be convenient to communication and function expansion with peripheral hardware, adopt the hardware serial communication, can alleviate the load of CPU, make it be mainly used in the management of Signal Processing and electric flux;
4, integrated nearly 160 sections lcd driver satisfies the application of most three-phase kilowatt-hour meter;
5, the hardware multiplier of 32 of built-in 32 x is finished the calculating of power and electric weight;
6, have the hardware RTC module in automatic identification leap year, the temperature sensor of connecting inner can be calibrated RTC;
7, comprise the Flash space of 120KB and the ram space of 4KB.
Described three-phase voltage sample circuit module 11 is connected with the analog input end of MSP430 single-chip microcomputer 1 with three-phase current sample circuit module 10.
Described three-phase voltage sample circuit module 11 as shown in Figure 2, A phase voltage line is connected to LINE VA end, carry out step-down through resistance R 38, R41, R44 and R53 and receive the neutral line, the last AC signal that produces certain pressure reduction at resistance R 53 two ends, through RC low-pass filter R50, C13 and R47, C14, the most undesired signal of differential mode capacitor C41 filtering is after in the voltage transitions passage of analog input end input ADC.
Described three-phase current sample circuit module 10 as shown in Figure 3, external signal is incorporated in the current sampling circuit by current transformer, LSP7 and LSP8 connect the secondary of current transformer, D8 and D9, D10 and D17 carry out clamper to "+", "-" terminal voltage of current signal respectively, D30 carries out clamper to the AC differential voltage of signals, and magnetic bead L11 and L12 are the high frequency interference on the filtered signal line.Resistance R 10 is that (resistance R 7 and R8 are the pull-up resistors as common end grounding for the pull-up resistor of current transformer, these two kinds of wherein a kind of modes of pull-up resistor choosing get final product), be the current flowing resistance R10 of mutual inductor secondary coil, produce certain pressure reduction at the resistance two ends, this difference is exactly the signal of input analog-to-digital converter, resistance R 11 and capacitor C 9 and R12 and C10 constitute the RC low-pass filter, respectively the high frequency interference on the filtering differential signal line.Processing through the front, on resistance R 10, obtain amplitude certain, disturb less AC signal, pass through RC low-pass filter and differential mode capacitor C11 again, can the most interference of filtering, enter analog to digital converter (ADC) analog input end be cleaner signal.
Described power circuit module 9 is three-phase resistance-capacitance depressurization circuit forms power supply power circuit module jointly as power circuit module or three-phase resistance-capacitance depressurization circuit and transformer reduction voltage circuit.Because the electric current of the utility model when work is bigger, one tunnel three-phase resistance-capacitance depressurization circuit can not provide enough electric currents to supply its operate as normal, so need three the road to work simultaneously during resistance-capacitance depressurization, perhaps increase the transformer reduction voltage circuit, as a kind of optional power source design.According to the needs that reality is used, can select power work mode or the transformer step-down and the common power work mode of three-phase resistance-capacitance depressurization of three-phase resistance-capacitance depressurization, by the short circuit of shorting stub on the power panel is selected different mode of operations.Circuit Fault on Secondary Transformer power supply deferent segment is provided with shorting stub, does not represent only to be provided by three-phase resistance-capacitance depressurization circuit the power supply of work during short circuit; Representing during short circuit provides the power supply except three-phase resistance-capacitance depressurization circuit, and the transformer reduction voltage circuit also provides working power.
Described communication interface module comprises infrared communication interface module 7, connects the RS232 serial communication interface module 8 and the RF wireless communication interface module 6 of power circuit module 9; Infrared communication interface module 7 is connected with the USCI_A0 of MSP430 single-chip microcomputer 1, and RS232 serial communication interface module 8 is connected with the USCI_A1 of MSP430 single-chip microcomputer 1, and RF wireless communication interface module 6 is connected with the USCI_B0 of MSP430 single-chip microcomputer 1; Infrared communication interface module 7 is mainly used in the visit of checking meter, diagnostics access and visit is set, and RS232 serial communication interface module 8 is mainly used in calibration, and RF wireless communication interface module mainly realizes the remote automatic meter reading function.Because the carrier frequency of infrared communication is 38KHz, so the TimerA0 timer that adopts MSP430 to carry produces the carrier frequency of the PWM ripple of 38KHz as infrared communication.
Described MSP430 single-chip microcomputer 1 also is provided with LED pulse pilot lamp 5, and LED pulse pilot lamp comprises green, yellow, the red LED lamp of indicating A, B, the output of C three-phase pulse respectively; Described MSP430 single-chip microcomputer 1 also is provided with meritorious, idle impulse output circuit module 12.
Described memory module 3 is EEPROM (Electrically Erasable Programmable Read Only Memo), can preserve electric quantity data and logout information.
The utlity model has forward active energy, reverse active energy, four-quadrant reactive energy function of measuring; Have the time-sharing measurement function, can add up, store active energy, the reactive energy of day part respectively by the corresponding period; Has phase-splitting metering active energy function; The parameter of ammeter can be provided with.
LCD display module of the present utility model adopts the segment encode LCD display of 8 of two row, every row; Has the self check Presentation Function, to check the show pen section; Display mode is divided into following automatically and shows and button demonstration dual mode; Programming is provided with the circulation content displayed as required, and electric flux shows that number is 6 integers, 2 decimals.Can show total active power, reactive power, applied power; Active power, reactive power, applied power, voltage, electric current, frequency and the power factor (PF) that can show phase-splitting; Can show current time and date.
The utility model can be measured A, B, C voltage in three phases, current effective value in real time; Measure the frequency and the power factor of A, B, C three-phase in real time; Measure active power, reactive power and the applied power of A, B, C three-phase in real time; Measure current temperature in real time.