Escolar Documentos
Profissional Documentos
Cultura Documentos
1. INTRODUCTION
The past three decades have seen the introduction of a technology that has radically changed the way in which we analyze and control the world around us. Born of parallel developments in computer architecture and integrated circuit fabrication, the microprocessor or CPU on chip first became a commercial reality in 1971. Microcontrollers are hidden inside the surprising number of products now-a-days. Here, we present project synopsis for building up a Microcontroller Based Universal Power Meter. The report starts off with the Basic Block Diagram of the system and its description. The blocks shown are much generalized and can represent a general microcontroller application block. Then the details of every block are given later in hardware description. In this we have included the circuit diagrams and features of the different ICs we are using. Next we explain the software part of the project. This mainly deals with the calculations and interfacing of different chips with the controller. This needs a number of subroutines. And at last we will show, what we are looking in future regarding the topic and thus give an idea how the application of digital metering can change a number of things. The power measurement technique used in current time is electrodynamic type power meter which absorb some energy to work so it is not very much accurate and they are costly also and there is no theft detection technique used into that type of energy meter. Electronic meters are very complex so we are going to design a microcontroller based power meter.
2. PROJECT OBJECTIVE
Our objective is to design a microcontroller based universal power meter which is less complex and cheap with increased performance.
E.I. DEPARTMENT, SRMGPC, Lucknow 1
3. PROPOSED METHODOLOGY
When a purely sinusoidal wave is used then by converting the signal into its DC form, would make the calculations of power much easier. But the actual wave is seldom purely sinusoidal and therefore assuming it DC would lead to wrong answers. So we take various samples over the wave by using Analog to Digital Converter (ADC). Thus by performing different calculations on this digitized signal, we can achieve better accuracy which not only depends on the ADC selected, but also the accuracy maintained in the calculations.
BLOCK DIAGRAM
This system consists of three main blocks as shown 1. Data acquisition 2. Data manipulation 3. Displaying the parameters
4. HARDWARE REQUIREMENTS
4.1 MICROCONTROLLER
We are using the Atmega 16 microcontroller this is a low-power microcontroller based on the AVR enhanced RISC Architecture. By executing powerful instructions in a single clock cycle, the ATmega16 achieves throughputs approaching 1 MIPS per MHz allowing the system designer to optimize power consumption versus processing speed.
FEATURES
1. High-performance, Low-power Atmel AVR 8-bit Microcontroller. 2. Advanced RISC Architecture. 3. 32 x 8 General Purpose Working Registers Fully Static Operation up to 16 MIPS throughput at 16 MHz On-chip 2-cycle Multiplier 4. High Endurance Non-volatile Memory segments. 5. 16 Kbytes of In-System Self-programmable Flash program memory. 6. 512 Bytes EEPROM 1 Kbyte Internal SRAM 7. Write/Erase Cycles: 10,000 Flash/100,000 In-System Programming by On-chip Boot Program. 8. Programming Lock for Software Security JTAG (IEEE std. 1149.1 Compliant). 9. Programming of Flash, EEPROM and Lock Bits through the JTAG Interface.
PIN DIAGRAM
4.4 VOLTAGE SENSING CIRCUIT As show in the circuit, the signal gets converted as follows
1. The voltage transformer converts the 230V to 5V. 2. The op-amp circuit gives us a DC shift of 2.5V DC and a voltage signal. 3. This wave then goes to the sample and hold circuit, whose output is connected to the ADC. 4. The ADC samples the signal and stores them in microcontrollers memory.
5. Software Development
5.1 RMS OF VOLTAGE AND CURRENT
This subroutine finds out RMS voltage and current. In this routine we have proceeded in following way1. First all the instantaneous samples are squared and added. 2. Then mean of the final addition is found. 3. Final RMS is obtained by taking square-root of the mean value. Vrms = {( V1 + V2 +V3 +..................+Vn )/ n } Irms = ( { (I1 + I2 +I3 +..................+In )/ n }
2 2 2 2 2 2 2 2
6. THE FLOWCHARTS
The flowcharts show us how the data should flow in a logical manner so as to achieve the desired result. We can thus develop the program more easily with the reference of its flowchart. Here we present the different flowcharts required for the functioning.
11
12
13
7.APPLICATION
The application area of the microcontroller based power meter is very vast. We can use this into the power plants, house hold usage and the laboratories purposes.
8.ADVANTAGES
1.Less loading error 2.High accurcy 3.Less complex 4.Cheaper than conventional wattmeter 5.Theft detection 6. More reliable
9. LIMITATIONS
1.External power supply is required. 2.Not used for very high voltages. 3.If supply is bypassed then this theft can not be detected.
14
10. REFERENCES
[1] A Single Phase Microcontroller Based Energy Meter, P.A.V Loss, M.M. Lamego, G.C.D. Sousa and J.L.F Vieira, IEEE instrumentation and Measurement, Technology Conference, St. Paul, Minessota, USA, May 18-21,1998 [2] The Scientist and Engineer's Guide to Digital Signal Processing Second Edition by Steven W. Smith [3] Ramakant A. Gaykawad Op-amp And Linear Integrated Circuits [4] [5] www.nationalinstruments.com Adel S. Sedra & Kenneth C. Smith fifth edition Microelectronics Circuits New York Oxford University Press.
15