Sie sind auf Seite 1von 4

3rd International Conference on Electrical & Computer Engineering

ICECE 2004, 28-30 December 2004, Dhaka, Bangladesh

AN AT89C51 MICROCONTROLLER BASED CONTROL CIRCUIT


FOR DUAL THREE PHASE CONTROLLED RECTIFIER
K. M. Rahman1, M. A. Choudhury2 and Tofayel Ahmed Zulfikar3
1
Department of Mechatronics, International Islamic University Malaysia
Jalan Gombak, 53100 Kuala Lumpur Malaysia, Email:kazi@iiu.edu.my
2
Department of Electrical and Electronic Engineering
Bangladesh University of Engineering and Technology, Dhaka-1000, Bangladesh
Email: mac@eee.buet.ac.bd
3
Subdivisional Engineer Ghorashal Power Plant BPDB, Ghorashal, Bangladesh

transition in phase angle control, (iv) Startup control,


ABSTRACT (v) Phase sequence check, field excitation check and
A new concept of building the controller of a over-current protection. If the pulse pattern
thyristor based three-phase dual converter is generation and other control tasks are to be
presented in this paper. The controller is undertaken by a single processor, an ultra high speed
implemented using mixed mode digital-analog processor is needed because of the real-time nature of
circuitry to achieve optimized performance. The real- the system [6]. Moreover, special design interfaces
time six state pulse patterns needed for the converter are required for sensing excitation loss and phase
are generated by a specially designed ROM based sequence checks. This makes the system
circuit synchronized to the power frequency by a implementation costly.
phase-locked-loop. The phase angle and other In this paper, a new approach is proposed where a
necessary commands for the converter are managed hybrid type circuit generates the real time pulses for
by an AT89C51 microcontroller. The proposed the converter and a processor supervises the
architecture offers 128-steps in the phase angle controller functionality. The processor sets the phase
control, a resolution sufficient for most converter angle, monitors the current, phase sequence,
applications. Because of the hybrid nature of the excitation condition and external control inputs for
implementation, the controller can change phase start, stop, speed change and speed reversal
angles online smoothly. The computation burden on operations. For compact and cost effective design,
the microcontroller is nominal and hence it can easily instead of using a general purpose microprocessor
undertake the tasks of monitoring diagnostic data like along with peripheral interfaces, a single
overload, loss of excitation and phase sequence. Thus microcontroller chip may be used for the
a full fledged system is realizable with only one implementation. All the necessary controls of a
microcontroller chip, making the control system vertical lathe machine driven from a 55kW dc shunt
economic, reliable and efficient. motor are incorporated in the proposed design using
1. INTRODUCTION AT89C51 microcontroller. It is observed that the
AT89C51 driven from a 20MHz clock along with the
Thyristor based three-phase controlled rectifiers are hybrid controller can efficiently accommodate all the
widely used in the industry for controlling dc motor control functions in the full operating range of the
drives. Controlled rectifiers offering power converter.
conversion from ac to dc are reliable and have higher
lifetime compared to other converters. DC motors 2. THE CONTROLLED RECTIFIER
have higher torque than ac motors and hence are
The dual-converter is designed with SKKT92
suitable for variable speed and speed reversing silicon-controlled-rectifier (SCR) modules. Because
applications requiring high torques [1]-[2]. Although of application specific design, only one converter
the operation of controlled rectifiers is simple, the (either the forward converter, P or reverse converter,
realization of the converter control circuit is complex
N) operate at a time. The P converter gives positive
in nature [3]-[5]. The control circuit needs the basic output voltage Vs, whereas, the N converter gives
functionalities like (i) Six state pulse generation and negative output voltage. The structure of the dual
gate drive isolation, (ii) Synchronization of the converter is shown in Fig. 1.
control pulses to the power frequency, (iii) Smooth

ISBN 984-32-1804-4 347


Forward (P) converter Reverse (N) converter
va = Vm sin ωt
+

T1 T3 T5 T1* T3* T5*


A ~ B ~ C ~ ~ A ~ B ~ C
Vs 0 π/6 2π/6 π/2 2π/3 5π/6 π 7π/6 8π/6 3π/2 5π/3 11π/6 2π
T4 T6 T2 T4* T6* T2*

-
g1
Fig. 1 Thyristor based dual converter structure.
Three phase mains are connected to the ac inputs A, g2
B and C for phase-A, phase-B and phase-C
g3
respectively. Considering a phase sequence of ABC,
the phase angle control range is π/6 ≤ α ≤ 2π/3. g4
Within the operating control range (π/6 ≤ α ≤ 2π/3),
two thyristors (one from the top row and the other g5
from the bottom row) of the converter conducts the
dc output load current. The overlapping of g6
conduction of two thyristors are π/6. For three phase
Fig. 2 Six state pulses for the ac/dc converter.
ac input voltages given in (1), the firing angle α is
calculated considering the positive zero crossing of 3. PROPOSED CONTROLLER
phase A voltage va as the reference.
3.1 Hybrid Circuit for Six-State Pulse Generation
v a = Vm sin(ωt ) The proposed scheme is shown in Fig. 3. A total of
vb = Vm sin(ωt − 2π / 3) 128 different shifted patterns are stored in EPROMs.
vc = Vm sin(ωt − 4π / 3) To have exactly π/3 radians shifting in the six-state
(1) real time pulses, the stored pattern are chosen to be a
Considering inductive load, the output voltage is multiple of 6. In the proposed design each pattern has
given by, 6x64=384 bits.
~ ~ 3 Phase Supply Vs
ZCD Phase
3 α+π / 3 LPF


Phase A Detector
Va = vab d (ωt )
π α
Vcc

Increase P0.2 RUN P0.0 ~ ~ ~ + -

3 α+π / 3 Decrease P0.3 PSEQ P3.0

= ∫
Vm sin(ωt − 5π / 6)d (ωt ) Overload P0.4 Divide
Fopen P3.1 VCO Forward Reverse
Excitation P0.5 by 384
π α (2)
Phase A
Phase B
P0.6
P0.7
O/L P3.2
9
Converter Converter

7 A0-A8
A9-A15 6 Forward
Simplification of (2) yields, Direction P2.0-P2.6 D0-D5
P3.3 Amplifier
Position P3.4 Stored PWM
Mode P0.1 CE
P3.5 Pattern Reverse
(CC/CS) Amplifier
V 3 3 F/R P3.6

Va = m cos(α − π / 6)
Isolation
AT89C51
π (3) P1.0-P1.7
8
ADC0804
+Vcc

DB0-DB7 Position
Potentiometer
From (3), it is evident that the converter gives
Fig. 3 Proposed control scheme using hybrid circuit
maximum dc output of Vm 3 3 / π at α = π / 6 and
for generating synchronized six-state pulses for the
zero dc output at α = 2π / 3 , giving a control range of ac/dc converter.
π/2 radians. Six state pulses, each spaced at π/3 The centre frequency of the PLL-VCO is set to
radians are required for the converter. For the P 384*50=19.2 kHz considering the nominal supply
converter, the pulse sequences are g1, g2, g3, g4, g5 frequency to be 50Hz. The PLL takes few cycles to
and g6 for the thyristors T1,, T2, T3, T4, T5 and T6. For synchronize with the supply frequency. Hence the
inductive load, each thyristor may conduct for π converter should not be turned ON during the capture
radians. Hence the gate pulse of a thyristor should be period; otherwise, there will be unwanted high
extended for duration of π radians once fired. Typical voltage output from the converter. To ensure error
firing pulses for the converter are shown in Fig. 2. free operation, the AT89C51 sends a disable signal at
For the reverse converter, the pulse sequences are P0:1 line connected to the PWM EPROM and the
same as the forward converter, however, the gating associate firing circuitry during the first few cycles.
signals g1, g2, g3, g4, g5 and g6 are applied to the The AT89C51 microcontroller supervises the
thyristors T*1, T*2, T*3, T*4, T*5 and T*6. operation of the controller and makes necessary

348
diagnostics. The AT89C51 is programmed according scan pulses in a fundamental period in synchronism
to the following algorithm: with the phase-A voltage reference. The phase
detector PD2 of CD4046 is used that produces in-
Controller Algorithm phase pulses at Cin with the reference at Sin when the
1) Initialize the reference voltage output Vref. Set PLL is in locked condition. The Q9 and Q10 lines of
Vout = 0; Vδ = 0. Disable EPROM output. the 14-bit binary counter (CD4040) are connected to
2) Check the field circuit at P0.5. If field circuit is an AND gate. The output of the AND gate is
open goto step 17, else goto step 3. connected to the asynchronous RESET input of
3) Check the phase sequence from the signals at CD4040. Thus the CD4040 is reset after a count
pins P0.6 and P0.7. If phase sequence is not value of 384. The inverted Q9 signal is connected to
correct, disable the EPROM then goto step 16. the phase detector input (Cin pin of CD4046). The
4) Delay for some time so that the PLL can lock the waveform at Cin pin of CD4046 has a duty cycle of
input supply frequency. 66% in locked condition.
4049
5) Check the mode of operation at pin P3.5. If
constant motor speed is needed (mode=0), then
set Vchange = 0, otherwise read the ADC data Cin VCO OUT Clock Q9
connected at port P1 and set Vchange = ADC data. Phase A
Sin
Q10

6) Check the direction of rotation at pin P3.3. If reference CD4046 P2 CD4040

direction changes while motor runs, reset speed Rx


VCO IN
to zero first and wait some time. Choose the Ry
Reset

appropriate converter (Forward or Reverse) at R1 C2


Q1-Q9 A0-A8
9
pin P3.6. Rz Cx Cx

7) Check the field circuit. If field circuit is open, C1


disable the EPROM and goto step 17, otherwise, Fig. 4 Phase locked loop (PLL) circuit and the scan
goto step 8. counter for the control circuitry.
8) Check for inching motion request at P3.4. If
inching motion is requested, disable the EPROM 3.3 Protection Circuits
output and set Vout = 0, otherwise keep Vout as 3.3.1 Overload Protection
before.
9) Keep track of the number of cycles counter, K. If To protect the converter thyristors and the dc load
K = Kmax, goto step 10, otherwise, goto step 13. from over-current, two phase current from the ac side
10) Set K = 1. Check the speed requests at pins P0.2 is monitored. Since the converter operate in full-
(increase) and P0.3 (decrease). If speed increase bridge mode, during fault in any phase of the
is requested, increase Vref. If speed decrease is converter, the fault current returns through the other
requested, decrease Vref. two phases. Hence, the current monitored on any two
11) If Vref > Vout, increase Vout. If Vref < Vout, decrease phases can sense the overload if any. In the proposed
Vout. scheme, the overload protection circuit monitors the
12) If Vchange > Vδ, increase Vδ. If Vchange < Vδ, phase currents of A and B. Two current transformers
decrease Vδ. isolate the live lines and the secondary sides are fed
13) Set the phase angle α corresponding to Vout + Vδ to a bridge rectifier. The output of the bridge rectifier
and send the phase angle data to the EPROM is connected to a low resistance R1. A pulsating
connected at port P2. Enable the EPROM. voltage is generated across R1 proportional to the
14) Check the overload status pin P0.4. If overload maximum current of the A or B phases that is filtered
detected, disable the EPROM and then goto step with a large capacitor C. After filtering, the output
18, otherwise, goto step 15. becomes a dc voltage that is applied to an opto-
15) Check for the start of a new cycle. If a new cycle isolator (4N35) through a potentiometer. The
is detected, increment K, otherwise, keep K as potentiometer sets the overload limit.
before. goto step 5. D3
Vcc
D1 D5
16) Send blink signal at P3.0. Loop at this step. R3
A R2
17) Send blink signal at P3.1. Loop at this step. R1 C
18) Send blink signal at P3.2. Loop at this step. B D4 D6 D2 P0.4

74LS14
3.2 The Phase Locked Loop (PLL) Circuit 4N35

The PLL circuit is shown in Fig. 4 and is the crucial Fig. 5 Overload protection incorporated from two
part of the controller. It is designed to generate 384 phases of the ac side.

349
Rectifier Output Voltage
The output of 4N35 is buffered with inverters to 600

Voltage (V)
generate TTL logic level voltage that feds the P0.4 400
pin of AT89C51. Figure 5 shows the over-current 200 Phase A Phase B Phase C
protection circuit used in the proposed scheme. 0
Vcc
D1 D3
Phase C D5 0 1 2 3 4 5 6
R1 R2 Angle (Rad)
Neutral D6
D4 D2 P0.5 Fig. 7 Three phase voltages and controlled rectifier
74LS14 output voltage for a phase angle of 600, the rms
4N35
phase voltage is 240V.
Field (-) Field (+)

Fig. 6 Loss of excitation (field) protection taking 5. CONCLUSION


feedback from the field circuit current. A new technique for designing the controller of a
converter is reported in this paper. The controller is
3.3.2 Loss of Excitation Protection
implemented using mixed analog digital and memory
For shunt type dc motor drives, the field current is circuitry centered on a single chip microcontroller.
different from the armature current. The field circuit Because of the hybrid type of implementation, the
should be checked before supplying current to the controller offers high performance at low cost, and
armature; otherwise, short circuit current may flow hence is suitable for commercial and industrial
damaging the armature commutators and the applications.
converter thyristors. The output of the field circuit ACKNOWLEDGEMENT
bridge-rectifier (D1-D4) as shown in Fig. 6 is This work was supported by Bangladesh Power
connected to two series diodes (D5-D6) before Development Board (BPDB).
applying to the motor field. During steady state, dc
current flows in the motor field if the field circuit is REFERENCES
in good condition and its mains have proper supply [1] J. Chaisson and M. Bodson, “Nonlinear control of a
voltage. The dc voltage across D5-D6 will be VE = shunt DC motor,” IEEE Trans. Automatic Control, vol.
2Vth, where Vth is the threshold voltage of the series 38, pp. 1662-1666, 1993.
diodes D5 and D6. The diodes D5 and D6 are silicon [2] Luo Fang Lin, Liu Zou Zong and D. Tien, “Nonlinear
power diodes, hence, during conduction VE will be field weakening controller of a separately excited dc
about 1.4V. The output VE is connected to an opto- motor,” Proc. of the Int. Conf. on Energy Management
and Power Delivery, EMPD’98 Singapore, pp. 552-
isolator 4N35 and the isolated output of 4N35 is 557, 3-5 March 1998.
buffered and fed to pin P0.5 of AT89C51. Thus with [3] H. M. El-Bolok, “A microprocessor-based novel
presence of field excitation, the opto-isolator scheme for constant angle triggering of thyristors under
produces a logic 0 level voltage at P0.5 of AT89C51. a variable frequency anode supply,” IEEE Tran. Ind.
Electron., vol. IE-34, pp. 471-474, Nov. 1987.
4. RESULTS [4] Eui-Ho Song and Bong-Hwan Kwon, “A direct digital
The proposed converter and the controller are built control for phase-controlled rectifier,” IEEE Tran. Ind.
and tested in the laboratory. The converter is also Electron., vol. 38, pp. 337-343, Oct. 1991.
tested as part of the 55kW dc shunt motor drive of a [5] Mirbod and A. El-Amawy, “A general purpose
microprocessor based control circuit for a three phase
vertical lathe machine of Ghorashal Power Plant
controlled rectifier bridge,” IEEE Tran. Ind. Electron.,
Workshop. The controller functions properly as per vol. IE-33, pp. 310-317, Aug. 1986.
theoretical expectations and offer smooth operation [6] K. M. Rahman, “Analysis of microcomputer based
during steady state and dynamic conditions. The three phase controlled rectifier for separately excited dc
protection features are also tested during the running motor drive,” Proc. of Int. Conf. on Computer and
conditions and found to work well. Reversal of Information Technology, ICCIT’99, pp. 75-79, 3-5
speed, increase or decrease of speed, constant cutting December, 1999.
and constant motor speed operations are also tested
and verified at both full load and no load conditions.
Simulation output of a typical three phase ac input
voltages and the rectifier output voltage are shown in
Fig. 7 for a firing angle of 600.

350

Das könnte Ihnen auch gefallen