Professional Documents
Culture Documents
Construction of 0-3000 Watts Digital Wattmeter
Construction of 0-3000 Watts Digital Wattmeter
As technology advances and mid-high tech devices become more readily available to
engineering and technology students as well as hobbyists there is an increasing need for reliable,
cost effective test equipment. Digital AC wattmeters are one of these increasingly useful pieces
of equipment. There are currently many models of Digital AC Wattmeters available that have an
impressive amount of capability and functionality. These models are expensive, and often have
unnecessary capabilities considering the typical applications of undergraduate students and
hobbyists. This project arose from the need for an inexpensive, functionally appropriate
alternative to currently available Digital AC Wattmeters. It presents a detailed construction steps
followed to achieve this feat.
TABLE OF CONTENTS
Title Page
Certification
ii
Dedication
iii
Acknowledgement
iv
Abstract
Table of Content
vi
CHAPTER ONE
1.0
Introduction
1.1
Background of Study
1.2
Problem Statement
1.3
Objectives of Research
1.4
Justification of Study
1.5
Scope of Work
CHAPTER TWO
2.0
Literature Review
2.1
Wattmeter
2.2
Types of Wattmeters
2.2.1
Professional Wattmeters
2.2.2
Digital Wattmeters
ii
CHAPTER THREE
3.0
Research Methodology
3.1
3.2
3.2.1
3.2.2
3.2.3
11
3.3
15
3.4
3.5
17
3.6
Programming
18
3.6.1
Source Code
20
17
CHAPTER FOUR
4.0
26
4.1
Problems Solving
27
4.2
27
4.3
Remedies
28
CHAPTER FIVE
5.0
Conclusion
30
5.1
Recommendation
30
iii
REFERENCES
31
iv
CHAPTER ONE
1.0
INTRODUCTION
1.1
BACKGROUND OF STUDY
A wattmeter is a device which measures electrical power, a newer technologies have provided
the ability to produce digital; wattmeters, these meters usually have a digital display and are
portable, resulting in a more versatile and easy to use product. Because these devices are digital,
the analog approach is replaced with digital circuits to read in and compute measurements.
Digital devices offer the ability to read measurement of any frequency, and also compute many
different quantities. Digital wattmeters provide versatile capabilities and accurate readings in a
very short period of time
.
As stated previously, digital wattmeters can be found commercially; however, the groups device
will function on a smaller scale not accurately available and include additional functionality. The
available wattmeters on the market do not provide the ability to measure and display power
factor within the same design.
1.2
PROBLEM STATEMENT
Most electrical/electronic department in some tertiary institutions in the country still use aged
analog wattmeter to satisfy laboratory needs for its circuit labs. This device takes a considerable
amount of time to set up and use to obtain the desired measurements. In order to heighten the
load/stress on the students, there is need for a digital wattmeter which will allow measurement to
be taken faster, easier and more accurately than they can with the current equipment in use
during their power factor experiment, as part of the electronic circuits course.
1.3
OBJECTIVES OF RESEARCH
The objective of this project is to design a small, cheap and easily to produce 0-3000watt Digital
Wattmeter. This Wattmeter will replace the analog labs today. The device will have input and
output terminals for connecting the device to the system under analysis, as well as a digital
display to more accurately convey the measurements. The user will be able to incomputerate this
device within a circuit between the paper source and the load, and the device will in turn digitally
display the voltage absorbed and power factor of the load. The meter will also display voltage
and current.
1.4
JUSTIFICATION OF STUDY
1.5
SCOPE OF WORK
The scope of this work will be concerned only on digital Wattmeter ranging for 0-300 watt, how
it works the functions of digital Wattmeter, why is digital Wattmeter important in electrical labs,
the components use in building it and how they function.
This work is limited to the component and accessories as obtained from the current diagram
vi
CHAPTER TWO
2.0
LITERATURE REVIEW
2.1
WATTMETER
The wattmeter is an instrument for measuring the electric power (or the supply rate of electrical
energy) in watts of any given circuit. Watt is a derived unit of power in the International System
of Units (SI), named after the Scottish engineer James Watt (17361819). The unit defined as
one joule per second, measures the rate of energy conversion. Electric power is the rate at which
electrical energy is transferred by an electric circuit.
2.2
TYPES OF WATTMETERS
A wattmeter is used to measure the voltage in an electronic circuit. Originally only a tool of
professionals there are now many different types of the device available that are both cheap and
easy to use and available for home use. A wattmeter is generally used for checking on the power
supply of a given power-outlet in a house and for estimating the electricity costs of different
appliances. Like many technologies the device has gone digital.
2.2.1
PROFESSIONAL WATTMETERS
The power company still uses a basic wattmeter to measure the amount of power that your house
or apartment is consuming from the general power supply. The wattmeter measures both the
amount of energy consumed and records the time when it was consumed. Generally these electric
meters will be located somewhere outside a building so that a representative of the power
company can come by in person to see the readings of the device.
vii
2.2.2
DIGITAL WATTMETERS
According to Pearson Education Limited 2004, Wattmeter is an instrument for measuring the
electric power (or the supply rate of electrical energy in watts of any given circuit.
Digital Wattmeters have become available for home use and are capable of providing users with
information that is far superior to that which was provided by the Wattmeters of professionals
only twenty years ago. Instead of a very imprecise needle display, a digital Wattmeter measures
the current which is passing through its cables at a thousand times a second, measuring every
small change, and providing an average which is the true power supply.
According to Aaron Fogle and Pat Rice in Ohio Northern University 2012, a Wattmeter is a
device which measures electrical power, the meter can be analog or digital.
The Wattmeter is an instrument for measuring the electrical power (or the supply rate of
electrical energy); by Dr Sam Clay Ohio Northern University 2009.
viii
CHAPTER THREE
3.0
RESEARCH METHODOLOGY
Below is the flow diagram that illustrates the step-by-step processes that is been embarked on to
accomplish this project work. The flow diagram of the project includes; Articles and researches
related to the project study, block and schematic diagram of the project, flow chart and source
code and programmable prototype and functional prototype .The expected outputs of each
activity are also provided on the diagram as seen below.
Fi
gure 3.1: Flow chart diagram of the step-by-step process of the project work
3.1
The research work commenced by first gathering the needed information, which was useful in
understanding more about the project study. Looking for articles in the internet about the
microcontrollers and the ADC to be used in the project was a great help. Basic understanding on
how to use the ADC was also an important thing to be considered. Aside from getting
ix
information from the internet, the research work also involved reading other resources such as
reading related researches and publications. The research work also involved consulting some
experts in the field in order to get more information on the project work.
3.2
Based on the acquired information, we were able to design the circuit. Firstly, we constructed the
block and schematic diagrams of the entire system. Proteus simulator design suit is the software
used in the schematic circuit design since it provides a means of running the software in the
simulator before the real life circuit construction.
xi
xii
induces the current wave form (1mV = 10mAmp). The transformer then provides the current
wave signal a gain of 37. The signal is then conditioned by a precision rectifying circuit in figure
3.4 below. The voltage waveform inducing transformer is connected with its primary coil across
the source voltage creating a 37 to 1V scale wave form of the voltage signal as shown in figure 3
.4. The signal is then conditioned by a precision rectifying circuit. Below is the schematic circuit
diagram of the digital watt meter.
SIGNAL PROCESSING
The properly conditioned signals are read via the 0804 ADCs output interfaced to the 89C52
microcontroller chip and the digital wave forms are stored in the controllers memory. Once the
voltage and current signals have been converted to digital waveforms, software determines
magnitude and phase difference. Power is them calculated and displayed via the LCD display
xiii
screen. Figure 3.6 shows the flow chart diagram of the Digital Watt Meter software. The 89C52
microcontroller is programmed to execute these tasks using assembly language.
This is accomplished by multiplying the ADC step level by the equivalent AC current or voltage
level (i.e. by 5 ) and one current ADC step = .0021Amps, one voltage ADC step = .1773 volts.
By tracking the number of samples between AC voltage and current signals by the ADC, there
are 73.34 samples taken per 60Hz cycle. To calculate for the input active power in watts, the
following formula is used P = VI cos. Active power consist of active component which is in
phase with the applied voltage V i.e. I cos. It is also known as wattful component.
Mathematically
P = VI cos,
xiv
where;
V = A.C Voltage
I = A.C current
Cos = cosine of the angle of lead or lag
Then active power of the input A.C source is given as;
VA = cos = W.
From the above mathematical expressions, to get the actual power of any applied load to the
digital wattmeter, the microcontroller is programmed in such a way that current magnitude and
voltage magnitude of the applied load are compared, and arithmetic operation is then carried out
in memories A and B of the microcontroller by multiplying Voltage (V) and Current (I)
magnitude and their product is then programmed to displayed as power in Watts on the LCD.
xv
crystal oscillator. It is responsible for proper frequency timing operation of the Atmel AT89C52
microcontroller unit.
xvi
3.4
Two iron core transformers were are used to induce the current and voltage waveforms to the
system. Both transformers primary windings are rated at 220V and secondary windings are 6v
which provides a step gain of approximately 37.
The ADC 0804 chips gets rectified analog signals (i.e. current and voltage signals) from 741 OpAmp chips and converts these signals to digital waveforms which is required by the
microcontroller unit.
xvii
The ADC 0804 chips is an intermediate unit between the analog signal processing unit made up
of the 741 Op-Amp chips and the digital signal manipulation unit made up of the microcontroller
chip.
3.5
The power supply unit that is used to provide a 5volts regulated DC source for the Digital
wattmeter. This power supply unit is made up of some descrete electronics components and a
220V 6-0-6V step down centre tapped transformer. The descrete component used for the power
unit includes IN4007 rectifier diodes arranged in a bridge form to convert the 6V AC output from
the transformer's secondary to 6V DC, a 22F/6.3v electrolytic capacitor used to filter any AC
ripple left behind, and a 7805 voltage regulator IC which is used to regulate the 6V DC to 5V DC
which is required by the microcontroller unit for its proper operation. Figure 3.6 below shows the
schematic circuit diagram of the power supply unit.
3.6
PROGRAMMING
Programming of the system follows an orderly and systematic steps in order to arrive at a
successful program source code by first drafting out the program flow chart which shows each
xviii
lines of code and their functions, how program commands code flows in the internal memory of
the microcontroller unit. In actualizing the whole process, MIDE-51 development environment is
used to type the program source code, and after the source code have been successfully typed, a
folder is created and the typed assemble language source is then assembled inside the created
folder. This is done in order to convert the typed assemble language code to hex file which is to
be load to the microcontroller unit with the aid of a device called programmer kit.
xix
ACALL COMND
ACALL DELAY
MOV R0,#0CH
ACALL COMND
ACALL DELAY
START:
CLR P2.3
CLR P2.5
SETB P2.5
INTR: JB P2.7,INTR
CLR P2.3
SETB P2.4
CLR P2.4
xx
MOV A,P1
MOV B,P3
CPL A
CPL B
MUL AB
MUL A,#05
xxi
OUT10:CJNE A,#10,OUT11
ACALL 50WATTS
OUT11:CJNE A,#11,OUT12
xxii
ACALL 55WATTS
OUT12:CJNE A,#12,OUT13
ACALL 60WATTS
OUT13:CJNE A,#13,OUT14
ACALL 65WATTS
OUT14:CJNE A,#14,OUT15
ACALL 70WATTS
OUT15:CJNE A,#15,OUT16
ACALL 75WATTS
OUT16:CJNE A,#16,OUT17
ACALL 80WATTS
OUT17:CJNE A,#17,OUT18
ACALL 85WATTS
OUT18:CJNE A,#18,OUT19
ACALL 90WATTS
OUT19:CJNE A,#19,OUT20
ACALL 95WATTS
xxiii
OUT20:CJNE A,#20,OUT21
ACALL 100WATTS
OUT21:CJNE A,#21,OUT22
ACALL 105WATTS
OUT22:CJNE A,#22,OUT23
ACALL 110WATTS
OUT23:CJNE A,#23,OUT24
ACALL 115WATTS
OUT24:CJNE A,#24,OUT25
ACALL 120WATTS
OUT25:CJNE A,#25,OUT26
ACALL 125WATTS
OUT26:CJNE A,#26,OUT27
ACALL 130WATTS
OUT27:CJNE A,#27,OUT28
ACALL 135WATTS
OUT28:CJNE A,#28,OUT29
ACALL 140WATTS
OUT29:CJNE A,#29,OUT30
ACALL 145WATTS
OUT30:CJNE A,#20,OUT31
ACALL 150WATTS
OUT31:CJNE A,#31,OUT32
ACALL 155WATTS
OUT32:CJNE A,#32,OUT33
ACALL 160WATTS
OUT33:CJNE A,#33,OUT34
ACALL 165WATTS
OUT34:CJNE A,#34,OUT35
ACALL 170WATTS
OUT35:CJNE A,#35,OUT36
ACALL 175WATTS
*************************
DELAY ROUTINE
***********************
DELAY: MOV R3,#05
DELYA: MOV R2,#03
DELYB: MOV R1,#02
DJNZ R1,DELYA
DJNZ R1,DELYB
RET
END
xxv
CHAPTER FOUR
4.0
After the constructed of the digital wattmeter we run a test with the meter (digital wattmeter) to
check if it will give us an accurate result. Some load were plug in the meter and the following
results were gotten.
Load (Plug in)
60 watt bulb
75 watt television set
80 watt refrigerator
We did not get the exact voltage of the load due to some factors to be discussed.
There was a power loss in the transformer inside the wattmeter due to heat and vibration in the
transformer.
Also the voltage generated by Enugu Electricity Distribution Company (EEDC) is not up to the
amount they should generate and distribute, EEDC generate and distribute 150V 180V instead
of 220V 240V, this also contributed to us not getting the exact load (watts) in our results.
xxvi
4.1
PROBLEMS SOLVING
When constructing the projective discover or encounter some difficulties which draw us
POWER FAILURE: This was a huge setback for us during the construction of this
project, we had serious project, and because of there were no power for us to do our job
or the construction, it help in delaying us, and it was a setback on our own side.
BURNING OF COMPONENT: While constructing our project we discovered that most
of our components got burnt due to high voltage, components like the capacitors, etc and
most of the components when they are not in good condition and we use them, it got
4.3
REMEDIES
xxvii
Burning of component; what we did was to find out why our components was burning
and solved it, after which we replaced the component back and go on with our
construction.
Component failure; in order not to waste time when we had component was sample, we
last changed all the component that burnt bad and continue with our work.
xxviii
CHAPTER FIVE
5.0
CONCLUSION
In conclusion Digital Wattmeter is a device which measures electrical power, Digital Wattmeter
provides versatile capabilities and accurate readings in a very short period of time.
Digital Wattmeter is an instrument which is used to measure the power consumption of an
electric circuit or an appliance which is connected to the supply in terms of watts. Digital devices
offer the ability to record measurement at any frequency, and also compute many different
quantities.
Digital Wattmeter have become available for home use and are capable of providing users with
information that is far superior to that which was provided by the Wattmeters of professionals
only twenty years ago.
5.1
RECOMMENDATION
xxix
REFERENCES
C.A Canizares, F.C., Acvarado, C.L Demarco, I. Dobson, and W/F Long, (May 14, 2005)
Wattmeter Analysis. Version 1.3.4 Software and Document.
xxx