Harmonic Detection Using Microcontroller PDF
Harmonic Detection Using Microcontroller PDF
Abstract--- Harmonic distortion meter is an instruments that This paper is organized as follows:
measure harmonic distortion or phase position or simply has Section 1- Introduction and need of harmonics detection.
been designed for measuring the quality of AC supply. Section 2- Explains Solution based on phase lock loop and
Harmonic distortion is a common problem in power systems,
its drawbacks. Section 3- Detection of harmonics using
data processing equipment and adjustable speed drives. In
communications applications, harmonic distortion meters
DFT and its advantages. Section 4- Hardware and circuit
are used to determine when the original frequency required for its working. Section 5- Gives the conclusions
transmitted is split into multiple frequencies due to of the present work.
irregularities in the line. Harmonic distortion meters are
important for analyzing the quality of power coming into a II. PHASE LOCK LOOP & ITS DRAWBACKS
system and for determining what is causing the problem.
Keywords--- DFT, microcontroller (ATMEGA16), Harmonic The various harmonics in a power system are typically
detection. measured with a heterodyne receiver if we are using
analog methods or by a FFT (Fast Fourier Transform)
when digital methods are being used. The harmonics can
I. INTRODUCTION be analyzed over a wide range of frequencies by means of
these methods. However, since the circuit configurations
This thesis basically employs a device which shows a
that are needed can become very complicated, the
method for finding the amplitude of the fundamental
equipment tends to be too expensive for practical use. This
frequency and the 3rd harmonic of AC voltage signals.
paper presents a novel harmonic meter using a PLL (Phase
The technique is consummate for identifying the
Locked Loop) circuit. By means of the phase feedback
distortions in the AC voltages .For example electronic
loop, a reference sinusoidal wave is locked on to the input
devices having nonlinear characteristics being used at
signal along with the harmonics that we wish to measure,
home and office are mostly computer based equipment
and hence the corresponding harmonic component in the
with a low power factor switch mode power supply. These
input signal is easily detected. The effectiveness of the
power supply sections include charging capacitors which
proposed harmonic meter is confirmed by experiment.
draw current at peak voltages. Thus for a given feeder
having finite impedance there can be a voltage drop near
Disadvantage comes to play in case of wrong manual
the peak voltage resulting in flattened top distortion of AC
tuning for detection of sinusoidal signal for desired
voltage. To identify these distortions we analyze the
frequency. Multiple frequencies just in case of 2 nd order
output signal in the frequency domain by utilizing
and 3rd order require use of separate phase detectors which
efficient digital processing techniques. In this thesis a
makes it complex and needs fine adjustments. In total
feature based method is developed to efficiently perform
harmonics distortion computation a separate logic is
the frequency synthesis and further perform correlation
required hence hardwired circuit here in inapplicable in
between the output signal and a varying sinusoid signal
case of reading manipulations and processing. In this idea
we are using a microcontroller which enrich the above
condition by making soft coding approach and hence can
be used in performing discrete Fourier transform results.
An 8 bit RISC microcontroller ATMEGA16 can provide
us 16MIPS of processing power using 16Mhz of clock
crystal, along with that it contains a 8 channel 10 bit ADC
which suits our application.
106
ISSN 2249-6343
International Journal of Computer Technology and Electronics Engineering (IJCTEE)
Volume 2, Issue 3, June 2012
HD = *100
Bridge
Xin [32]
Rectifier
Capture 32
samples.
Amplitude of
Determining
each
The amplitude for each harmonic can be computed from Bv & Cv for
harmonics-
equation 4. 1st &3rd
Harmonics.
107
ISSN 2249-6343
International Journal of Computer Technology and Electronics Engineering (IJCTEE)
Volume 2, Issue 3, June 2012
High quality power supply has a perfect sinusoidal If an electrical quantity is made to vary directly in
signal with constant frequency and amplitude. On the proportion to this value (temperature etc) then what we
other hand, the use of nonlinear devices and the have is Analogue signal. Now we have
time-varying loads in the electric power system is we have brought a physical quantity into electrical
widespread and is growing with even bigger pace. Such domain. The electrical quantity in most case is voltage. To
devices and loads are consuming distorted current from bring this quantity into digital domain we have to convert
the power system grid.To preserve high power quality, the this into digital form. For this a ADC or analog to digital
most important indices, such as harmonics, sags, swells, converter is needed. Most modern MCU including AVRs
short interruptions, imbalances, and flickers, ideally has an ADC on chip. An ADC converts an input voltage
have to be eliminated. Inrecent years, researchers have into a number. An ADC has a resolution. A 10 Bit ADC
been developing tools for accurate power quality has a range of 0-1023. (2^10=1024) The ADC also has a
analysis, as well as devices for mitigation of power Reference voltage (ARef). When input voltage is GND the
supply imperfections. output is 0 and when input voltage is equal to ARef the
output is 1023. So the input range is 0-ARef and digital
output is 0-1023.
108
ISSN 2249-6343
International Journal of Computer Technology and Electronics Engineering (IJCTEE)
Volume 2, Issue 3, June 2012
REFERENCES
[1] Isamu Yamamoto, Keiju Matsui, Kazuo Tsuboi , A Harmonic meter
using a phase- lock- loop , Chubu University, Dep. Electrical Eng.
Kasugai ,487-8501, Japan(2001). E-Mail:keiju@isc.chubu.ac.jp.
109