Professional Documents
Culture Documents
net/publication/284735115
CITATIONS READS
3 4,840
5 authors, including:
Md Zahurul Islam
Bangladesh University of Engineering and Technology
31 PUBLICATIONS 100 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
Label-Free Identification of Biological Cells and Viruses Using Laser Light Scattering View project
All content following this page was uploaded by Md Zahurul Islam on 04 July 2018.
Development of a Microcontroller-Based AC
Voltage Controller with Soft Start Capability
Arifur Rahman*, Nayeem Ansari, Nazneen Ahmed, Kazi Mujibur Rahman and Md. Zahurul Islam
Department of Electrical and Electronic Engineering
Bangladesh University of Engineering and Technology, Dhaka-1205, Bangladesh
*
arifurrahman.mail@gmail.com
I. INTRODUCTION
PWM-based AC voltage controllers are widely used in UPS
and high power flexible AC transmission systems. This
varying voltage output is used for dimming street lights,
varying heating temperature in homes and industry, speed
control of fans and winding machines and many other
applications. These systems need switching elements which
can bear high voltage.
Frequently, high power MOSFETS are used as the
switching element. Their advantage is that they generate less Fig. 1 Functional block diagram of the voltage controller
lower-order harmonics. They have the physical limitation of
maximum blocking voltage; excessive heating is also an issue III. HARDWARE IMPLEMENTATION
for MOSFET based controllers. Amongst other options, an
A. Voltage Control Mechanism
anti-parallel pair of SCRs has the advantage over a TRIAC in
controlling highly inductive loads. Although TRIACs have the 2
R12 1 1
U4
6 1
R1 2
PWM+
advantage of a comparatively simpler gate circuit, TRIACs 165 660
have lower dv/dt ratings than SCRs and are available in only 2 4
K
MOC3021
V1 SCR-
control at high power as they are available in higher ratings.
A
VSINE R2
D9 100
R11 R9
LOAD
2
2 1 1 6 1 2
PWM-
angle control method. This method generates more harmonic 165 660
L1
distortions [2]. Moreover synchronization with AC supply is 2
MOC3021
4 50mH
be isolated from each other. This is achievved through optical C. PWM Generation
coupling provided by MOC3021 optoccouplers [4]. The To control the SCRs the PW WM signals must fulfil certain
mechanism is shown in Fig. 3. criteria: 1) The PWM signals mustm be inverted (space comes
gate current
before mark), 2) The frequenncy of the PWM must match
A K
exactly with the supply, 3) The T phase information of the
DIODE D1
supply must be available and 4) 4 The PWM frequencies must
SCR
5P4M
be twice the frequency of the AC C supply.
R1
2
660
1 An AVR microcontroller, ATmega32,
A was used for the
purpose of PWM generation [5]. Even though it is possible to
gate current
drive the two SCRs with thee same PWM signal, a slight
mismatch in timing can result in unwanted triggering in the
Fig. 3 Path of gate current when optocoupleer is turned on next half cycle. Two PWMs woorking in an interleaved manner
eliminates the risk of such trigggering. Thus during the positive
B. Synchronization half cycle the PWM controllingg the reverse SCR is set to be
The PWM signals must match accurately in phase and zero and during the negative haalf cycle the PWM controlling
frequency with the AC supply line. Evven a very small the forward SCR is set to zeroo. Fig. 6 shows the two PWM
deviation in frequency can gradually lead too the PWM signals signal generated and the resultaant output voltage alongside the
becoming out of phase with the supply. A modified zero supply voltage.
crossing detector is used for the purpose of
o synchronization. 400
Resultant Output Voltage
-200
7
74HC14
R2 D4 -400
1 2 A K 0 50 100 150 200 250 300 350
1 2
4N35
K
1 6
D3 R3 Synchronization 1
DIODE 5
SUPPLY 10k
KA
0.5
2
Pulse
D2 0
2
4
DIODE
D1
A
-0.5
K A OPTOCOUPLER-NPN 0 50 100 150 200 250 300 350
0.5
the supply voltage respective to the clock of the and KI respectively. The total error is also subjected to an
microcontroller is also displayed. overall gain of K. The new target output voltage is thus
determined as,
4
IV. ALGORITHM AND EXECUTION The value of the target firing angle required to achieve the
When the device is started up it automatically measures the particular value of RMS output voltage Vtarget is determined.
value of Ttotal and Terror. From Fig. 5 it is apparent that the For this purpose a look-up table of 64 data point is stored in
rising edge of the synchronization pulse arrives at Terror time the microcontroller. For any point that does not match with
earlier than the end of the positive half cycle. Thus every the desired value linear interpolation is used. The target duty
rising edge means that there Terror time left until the negative cycle D is thus obtained from the target firing angle. Fig. 8
clock cycle begins. If TPWM is the time starting from the shows the flowchart for determining target duty cycle.
beginning of the PWM cycle then on every positive edge TPWM
should be equal to (Ttotal/2-Terror).
The two PWMs necessary are not generated separately.
Rather, the same PWM is fed through two different pins of the
microcontroller to deliver them to the respective SCR drive
circuit at the appropriate time. After the end of each PWM
cycle the pins are swapped. The flow chart of the
synchronization process is shown in the Fig. 7.
0.5
RMS voltage(V)
150
0.4
0.3
100
0.2
0.1
50
0
0 50 100 150 200 250 300 350 400 450 500
Frequency (Hz)
0
0 20 40 60 80 100 120 140 160 180 Fig. 13 Power spectrum for 120˚ firing angle
Firing angle(degree)
Fig. 9 RMS output voltage vs. firing angle Power Spectrum for 150 degree firing angle
1
0.9
Output Power Vs. Duty Cycle
250 0.8
0.7
0.5
Output Power(V)
150 0.4
0.3
100 0.2
0.1
50 0
0 50 100 150 200 250 300 350 400 450 500
Frequency (Hz)
0
0 10 20 30 40 50 60 70 80 90 100 Fig. 14 Power spectrum for 150˚ firing angle
Duty Cycle(%)
70
60
different situations and is capable of responding to automation.
Efficiency(%)
50
Moreover, the device can be extended to work in a high power
40
environment by simply replacing the SCR pair with a couple
30 of high power SCRs. Filtering techniques could be applied to
20 improve the design to reduce the harmonic content. However
10 the presence of lower order harmonics makes the filtering
0
0 20 40 60 80 100 120 140 160 180 200 difficult. Alternatively an adaptive range selector could be
Output Power(V)
implemented that forces the firing angle to be less than 900 by
Fig. 11 Efficiency vs. output power reducing the input voltage by selecting from multiple
transformers when necessary.
0.6
pp.317-387.
[3] Nang, K.H. and L.O. Lwin, “Microcontroller based single phase
0.5 automatic voltage regulator”, 3rd IEEE International Conference on
0.4 Computer Science and Information Technology (ICCSIT), Myanmar,
0.3
2010.
[4] MOC3021 Optoisolators, Texus Instruements, datasheet available at:
0.2
http://www.ti.com/product/moc3021
0.1 [5] “Atmega32 Microcontroller data sheet”. Available:
0
http://www.atmel.com/images/doc2503.pdf
0 50 100 150 200 250 300
Frequency (Hz)
350 400 450 500
[6] Guillermo Rico, “Tech Tip: Effective or RMS Voltage of a Sinusoid,”
the Technology Interface, Spring 2006.
Fig. 12 Power spectrum for 90˚ firing angle [7] “Atmega8 Microcontroller data sheet”. Available:
http://www.atmel.com/devices/ATMEGA8.aspx