You are on page 1of 6

See discussions, stats, and author profiles for this publication at: https://www.researchgate.

net/publication/301478340

Micro-controller Based 3-phase Sequence Indicator

Conference Paper · May 2016


DOI: 10.1109/ICIEV.2016.7759972

CITATIONS READS
0 26,848

5 authors, including:

Anwarul Islam Sifat Md. Nazmul Islam Sarkar


Victoria University of Wellington University of South Australia
10 PUBLICATIONS   63 CITATIONS    14 PUBLICATIONS   290 CITATIONS   

SEE PROFILE SEE PROFILE

Md Milon Uddin Pias Kumar Biswas


University of Texas at Tyler Purdue University
16 PUBLICATIONS   7 CITATIONS    9 PUBLICATIONS   16 CITATIONS   

SEE PROFILE SEE PROFILE

Some of the authors of this publication are also working on these related projects:

improved COOK stoves View project

A Locally Developed Solar Pump Controller View project

All content following this page was uploaded by Anwarul Islam Sifat on 03 November 2017.

The user has requested enhancement of the downloaded file.


Micro-controller Based 3-phase Sequence Indicator
Anwarul Islam Sifat∗† , Md. Nazmul Islam Sarkar† , Md. Milon Uddin† , Pias Biswas† , Muhammad Navid Anjum Aadit‡
† Institute
of Energy, University of Dhaka
‡ Bangladesh University of Engineering and Technology
∗ Email: sifat62@gmail.com

Abstract—Phase sequence is the order in which the rotated The sequential logic was implemented in a phase-angle
voltage or current generated by 3-phase system attain peak or monitoring system, which can simultaneously measure the
maximum value. Each sequence voltage is 120 degree apart. phase-angle between two signals and identifies their lead-lag
Therefore, the maximum value achieved by each sequence is at
the definite time interval. Based on this individual response time a characteristics once every cycle. It can also detect periodic and
new technique of phase detection system is discussed in this paper. aperiodic sequence of pulses once in each cycle [6].
An algorithm is developed in order to detect phase sequence. An indicator based on double dq synchronous reference
A micro-controller is used to incorporate the algorithm into it. frame, a novel three-phase magnitude-phase detection method
The simulation result is illustrated here to verify the proposed that can decouple the positive dq and negative dq-sequences
algorithm. A prototype device was built to compare the practical
and simulated result. and detect the magnitudes or phases of fundamental positive-
sequence component and negative-sequence component of
Index Terms—Phase Sequence Indicator, Phase Detection, 3- three-phase voltages or currents has been proposed [6].
phase Sequence, Micro-controller. In addition, based on the calculating method of unbalance
factor, phase angle difference of positive and negative se-
I. I NTRODUCTION quence component of three-phase voltage in the condition of
supply voltage unbalance can be attain. By measuring phase
The order in which the three phases attain their peak or angle, different positive and negative sequence could separate
maximum value and the three generated electrical voltages or [7].
currents rotate is called the phase sequence [1]. Each voltage is In simulation method, the frequency is calculated based on
separated from the next generated voltage by 120 degrees. The the time difference between signal of two circuits zero crossing
3-phase has only two possible sequences ABC or ACB, posi- time. It transfers the time difference into voltage or current
tive and negative sequence respectively [2]. In normal balanced to determine the frequency. This method requires specialized
condition, the 3-phase sequential order is positive i.e. ABC. In hardware to detect phase sequence.
unbalanced condition, this sequence changed and turned into Another method is a quick phase detection method. Here
negative sequence. Unbalanced loads or asymmetric faults will the sinusoidal pulses are converted into saw tooth waveform.
reduce the proportion of positive sequence current and will The phase sequence is detected by selecting the bipolarity of
produce negative sequence currents. This negative sequence the wave. This process mostly relies on the peak of input
components results the sequential order to change [3]. sinusoidal voltage.
At present, there are many phase sequence detection system. The correlation analysis method is based on analog to
They can be classified as computer code based sequence digital conversion of the sinusoidal signal. The signals are
detector, identify phase order by relative positioning of phase, sampled at maximum point. As the sampling points increase,
sequential logic to identify phase characteristic, phase angle the complexity of algorithm will simultaneously increase. It
measurement, double dq synchronous reference frame, sim- requires sophisticated hardware to detect accurately the phase
ulation method, quick phase detection method, correlation sequence.
analysis of phase sequence, and combination of zero crossing The combined system of zero crossing and wave trans-
and wave transformation method. formation method is operated by transforming the sinusoidal
A phase sequence detector is a system that compares self- signal into a square wave. The transformation is done by zero
generating code by hardware circuit with pre-defined specific crossing circuit. A test circuit was used here to obtain the
codes corresponding to positive and negative sequences for phase difference and pulse signals. The duty ratio of the signal
successful match in each measuring cycle [4]. Utilization of is the key to detecting the pulse. It is necessary to detect the
micro-controller and a simple sequence indication method will width of the high-level square wave to determine the duty ratio
be the general rule to find the proper phase sequence of any [8].
balanced multi-phase system. For the unbalanced multi-phase
system, a relative position of various phases with respect to II. M ETHODOLOGY
reference is determined by measuring the phase angle of each In this paper, a system is proposed for detecting negative
subsequent phase [5]. phase sequence based on the timing response of each phase. In
Voltage Divider Circuit

Fig. 1. 3-phase Negative Sequence.

a 3 phase supply each phase achieve its peak at different time


interval. A micro controller is used in this method to check
every phase in assigned time interval and to detect which peak
voltage responds first. An Algorithm was developed based
on the response of peak voltage i.e. A, B and C. In the Fig. 2. Design Block Diagram.
programing, conditional loop is applied to detect different
combination of positive and negative sequence.
three analog pin assigned for ADC. The maximum voltage
III. M OTIVE OF N EGATIVE S EQUENCE or reference voltage is selected, in this case it is +1.3v -1v.
In the test sequence parameter, every rising voltage measured
The negative sequence set is balanced with three equal
after 5ms delay. The maximum sampling frequency is 50Hz,
magnitudes of quantities at 120 degrees apart but with the
so according to Nyquist criterion it becomes 250= 100Hz. The
phase rotation or sequence reversed, i.e. a, c, b. If the positive
phase sequence is tested by 3-phase function,
sequence is a, c, b as in some power systems, then negative
sequence will be a, b, c. For the negative sequence set, again Phase12 (); Phase23 (); Phase31 ();
the sequence currents or sequence voltages always exist in
three’s, never alone or in pairs [9]. An appropriate flag is assigned to each phase. The test
sequence functions are executing under an infinite loop. LED
Unbalanced voltages usually occur due to variation of loads.
(Light Emitting Diode) is assigned according to flag output.
When the load of on one or more within the phases is different
from the other(s), unbalanced voltages will appear. This can V. P ROGRAMING L OGIC I MPLEMENTATION
be due to different impedances, or type and value of loading
on each phase. Single phasing, which is the complete loss of a To detect the phase sequence PIC18f452 micro-controller is
phase, is the ultimate voltage unbalance condition for a three used; by using its ADC (Analog to Digital Converter) module,
phase circuit [10].

IV. P HASE S EQUENCE D ETECTION S YSTEM


The sequence detection system begins with build up a
voltage divider circuit. Then a dc power supply circuit is
build up for constant supply to micro-controller. An algorithm
is developed in order to sense the negative sequence of 3-
phase supply. The algorithm is customized as Micro-controller
requirement. The objective is to design & build a micro-
controller based (PIC18F452) digital phase sequence indicator
that can determine the phase sequence of 3-phase power
system and compatible with global utility grid frequencies
[11].

A. Design Procedure
From the national grid of Bangladesh, the supply voltage
is approximately 200 to 214V, the MCU or micro-controller
unit is not able to operate in such a high voltage. Therefore, it
has to be optimized to approx. 2V by a star connected 3-phase
resistor divider circuit. In summary, to set up the logic to detect
negative sequence, PIC18f452 ADC module must initialized.
As three consecutive rising voltages are there to detect so Fig. 3. Flow Chart of Programing Logic Implementation.
AN6*

AN5*
AN7*

AN4

AN3

AN2

AN0
AN1
111

110

101

100

011

010

001

000
CHS<2:0>

V SS
V DD
PCFG<3:0>
(Input Voltage)
VAIN

V REF +

V REF -
Reference
Voltage

Fig. 6. Phase B and C Input Signal.


Converter
10-bit
A/D

To check ABC sequence: For AB sequence, AN0 port has


the1st peak value, and then AN1 port has the second peak
Fig. 4. PIC18f452 Internal 10-bit ADC Module Block Diagram [12].
value. let consider,

AN0 = FLAG1 = 1
the 3-phase voltage is measured. Proper conditional logic is AN1 = FLAG1 = 0
given to micro-controller to detect the phase sequence from
measured voltage. In case of examining the 3-phase sequence For BC sequence, AN0 port has the1st peak value, and then
i.e. ABC or ACB, it is divided into, AN1 has the second peak value. Consider,

Phase AB (); Phase BC (); Phase CA (); AN1 = FLAG2 = 1


AN4 = FLAG2 = 0
In programing code, AB sequence is assigned to FLAG 1, BC
sequence is assigned to FLAG 2 and CA is sequence assigned For CA sequence, AN4 port has the1st peak value, and then
to FLAG 3. Similarly, in micro-controller, AB sequence is AN0 has the second peak value. Consider,
assigned to port AN0 & AN1, BC sequence is assigned to
port AN1 & AN4 and CA sequence is assigned to port AN4 AN4 = FLAG3 = 1
& AN0. AN0 = FLAG3 = 0

Fig. 5. Phase A and B Input Signal. Fig. 7. Phase C and A Input Signal.
Now if we want to check ABC sequence the logic will be
implement as follows:
IF (Flag1==1&& Flag2==1&& Flag3==1)
OUTPUT ”Positive Sequence”

VI. S IMULATION A ND R ESULT


Circuit components requirements are 3-phase supply, Re-
sistor 1M, 100K, 10K, Diodes D1N4002, LED RED (ACB);
GREEN (ABC). In figure 8, the schematic diagram of 3-phase
indicator circuit is illustrated.

Fig. 10. Equivalent Circuit Diagram of Single-phase Circuit.

86.9k
= 200 × = 15.99V
86.9k + 1M
Here C = A = 15.99
Voltage at point B:
10K
= 15.99 × = 1.64V
86.93k + 10k
The output of voltage divider circuit: In micro-controller unit,
from the figure 11, the voltage is measured in a simulation
oscilloscope and we observed it to be 2.5V. The input analog
Fig. 8. Schematic Diagram of 3-phase Sequence Detector.

The device divided into three major components. Star con-


nected 3-phase voltage divider circuit micro-controller unit and
indicator apparatus. The star connected voltage divider circuit
is consisted of three resistors in parallel and a diode connected
in series with a resistor. Same circuit arrangement is done
for remaining two phases. Let us consider the single-phase
equivalent circuit of three-phase voltage divider and at point
A, the voltage can be calculated as follows:
Fig. 11. Output Signal of Voltage Divider Circuit.
Here, Diode resistance = 0.655 M
100k × (0.655M + 10k) signal is fed to micro-controller on across of 10K resistor to
Here, Requivalent = = 86.93k
100k + (0.655M + 10k) port AN0, AN1 and AN4, which are the input voltage node
Therefore, at point C (Figure 10) the voltage would be as we can see from the block diagram (Figure 4) of internal
ADC module. Then we see that this AN0, AN1 and AN4 pins
are connected to the input channel of ADC, which is software
selectable.
In the indicator apparatus section, two LEDs were used.
They are Green and Red; both are connected to micro-
controller RD7 and RD6 analog pin respectively. According to
logic, this will show as well as indicate the phase sequence of
3-phase supply. In figure 8, a 3-phase supply is fed into micro-
controller and it successfully determines its phase sequence as
an indicator shows result as below:
IF (Flag1==1&& Flag2==1&& Flag3==1)
OUTPUT HIGH at Pin RD7 //Positive Sequence
Fig. 9. Single-phase Equivalent Circuits of 3-phase Voltage Divider. ELSE IF (Flag1==0&& Flag2==1&& Flag3==1)
OUTPUT HIGH at Pin RD7 //Positive Sequence C. Controlling and Indication Unit
IF (Flag1==1&& Flag2==0&& Flag3==1) This unit consists of micro-controller, an external clock
OUTPUT HIGH at Pin RD7 //Positive Sequence source and two indicator LEDs.
ELSE OUTPUT HIGH at Pin RD6 //Negative Sequence
VIII. C ONCLUSION
As the input voltage is of negative sequence, the output RED
LED indicates negative sequence. The purpose of this 3-phase negative phase sequence in-
From the experimental hardware implementation, it is ob- dicator was to transform the protection system into smart
served that the prototype can reliably detects phase sequence protection system. In existing power system protection, a
of a 50 Hz 3-phase system with a voltage range of 6 to 220 protective relay plays an important role. Most of the re-
V. Since this is, a micro-controller based embedded system lays are electromechanical. The phase sequence indicator
the program code can be reconfigured to make the working can implement by using a current transformer to sense the
frequency flexible for a range from one to 1400 Hz by faulty condition. For this purpose, a vast system arrangement
either increasing the sample size or by changing the program should be needed. Introducing a micro-controller can solve this
to sample and analyze at the same time. In a simulation, problem. It also reduces installation and maintenance budget.
the detection system works on system clock of 32.768 kHz Integrating the existing protection scheme with this system
where the prototype model works on 4MHz clock. For this will transform the protection system into a smart protection
configuration the there were some anomaly in output was system. In actual implementation the proposed system faces
observed. some difficulty to detect the given phase sequence due to
heating, lose connection, variable supply voltage, and a system
VII. H ARDWARE I MPLEMENTATION clock. Future work will investigate to solve these issues.
The prototype hardware installation of 3-phase sequence ACKNOWLEDGMENT
indicator has three major units (Figure 12):
The authors would like to thank Institute of Energy and
A. 3-phase Voltage Divider Unit Stamford University Bangladesh for allowing to use their
It consists of resistor-diode divider network. It reduces the laboratory facilities.
supply of 220 volt to 2 volt approximately. R EFERENCES
B. DC Power Supply Unit [1] B. Theraja, A. Theraja, U. Patel, S. Uppal, J. Panchal, B. Oza, V. Thakar,
M. Patel, and R. Patel, “A textbook of electrical technology vol ii,”
The micro-controller runs on 5-volt DC supply. This unit Chand & Co., New Delhi, 2005.
provides necessary DC volt for the operation of micro- [2] A. Kulka, “Sensorless digital control of grid connected three phase
converters for renewable sources,” 2008.
controller. It consists of 7805 IC (integrated Circuit), polar- [3] S. Marx and D. Bender, “An introduction to symmetrical components,
ized/ non-polarized capacitor, resistor and LED. system modeling and fault calculation,” 2013.
[4] P. Kundu and A. Das, “Microprocessor-based system for identification
of phase sequence and detection of phase unbalance of three-phase ac
supply,” Journal of Scientific and Industrial Research, vol. 68, no. 7, p.
597, 2009.
[5] A. A. Shinde, “Micro-controller based multi-phase sequence detection
system,” in M Tech Credit seminar report, IIT Bombay, 2003.
[6] A. Kumar and B. Garudachar, “Lead-lag phase-angle monitor and phase-
sequence detector using sequential circuits,” Industrial Electronics and
Control Instrumentation, IEEE Transactions on, no. 4, pp. 434–437,
1976.
[7] M. Wenchuan, Z. Shuo, S. Nan, W. Shuwen, B. Yu, and L. Shumin,
“Detection methods of unbalance factor and phase angle difference
of positive and negative sequence component of three-phase voltage,”
in Power and Energy Engineering Conference (APPEEC), 2012 Asia-
Pacific. IEEE, 2012, pp. 1–4.
[8] Y. Chen, H. Lian, Q. Qiu, and Q. Tian, “Research and development
of new style phase detector for high voltage switchgear based on
phase difference,” in Electricity Distribution (CICED), 2014 China
International Conference on. IEEE, 2014, pp. 1109–1113.
[9] “Symmetrical component in 3-phase system,” http://circuitlearning.
blogspot.com/2013/05/symmetrical-components-in-3-phase.html/,
accessed: 2015-02-26.
[10] “Unbalanced voltage and electric motor,” http://elongo.com/pdfs/
voltages.pdf/, accessed: 2015-04-30.
[11] B. Wright, J. Wyatt, K. VandenBerge, C. Clemens, and R. Lush, “A
micro-controller based 3-phase 600 v universal phase sequence tester.”
[12] P. Datasheet, “Microchip,” Microchip Technology Inc, 2002.

Fig. 12. Phase Sequence Indicator (prototype) Hardware Implementation.

View publication stats

You might also like