• Tidak ada hasil yang ditemukan

Modelling and Fuzzy Control of DC Drive

N/A
N/A
Protected

Academic year: 2024

Membagikan "Modelling and Fuzzy Control of DC Drive"

Copied!
5
0
0

Teks penuh

(1)

14-th European Simulation Multiconference ESM 2000, May 23-26, Ghent, pp186-190.

Modelling and Fuzzy Control of DC Drive

Bogumila Mrozek, Zbigniew Mrozek,

Cracow University of Technology, 24 Warszawska Str, PL 31-155 KRAKOW, Poland,

[email protected], [email protected]

KEYWORDS

Control systems, DC drive, fuzzy control, model, MATLAB, NCD Blockset, Power System Blockset ABSTRACT

An industrial DC drive (22kW) with fuzzy controller is simulated. Two models (linear and nonlinear) and two controllers (PID and fuzzy) are investigated. Using fuzzy controller for DC drive operation was successful.

INTRODUCTION

Two mathematical models of a DC drive are used. The first model is build as linear transfer function of converter and DC motor. The second model is build using advanced blocks from Power System Blockset (PSB) library. The library is an extension of MATLAB/Simulink environment from The MathWorks Inc. Using fuzzy logic and PSB library model seems to be new and promising approach to control of an electric drive.

LINEAR MODEL OF DC DRIVE

A linear and nonlinear model of DC drive will be used.

The linear model consists of two parts:

converter/rectifier and DC motor. A linear model of DC motor (figure 1) was build using Simulink blocks.

There are two inputs (voltage and load) and two outputs (angular motor velocity and current). Its parameters are computed automatically from nominal catalogue data: motor power, voltage, current, speed, etc). It is very convenient to use nominal motor data as rotor inductance and resistance. DC motor constant and other internal motor parameters are difficult to find.

dw/dt dI/dt voltage

load

2 velocity

1 current

f(u) f(u) Mux

1/s Integrator2

1/s Integrator1

2 1

Fig. 1 Linear model of DC motor (custom subsystem MotorDC)

Converter/rectifieris described as first order inertia kp(s)

Gconv = --- Tmip·s +1

where:

kp -gain of converter/rectifier

Tmip -mean dead time of converter/rectifier

The dead time Tmip may vary from zero to one-half the period of an AC source (0.01s for 50 Hz) [Devan, 1984]. It is assumed that six-phase thyristor bridge with mean dead time Tmip=1.67ms is used in the converter.

A classic DC drive with two PID controllers is presented on figure 8. It was assumed to neglect a derivative signal and to use PI operation of a current controller only. Parameters of the current controller were derived from the model parameters using rules of module and symmetry. Then Nonlinear Control Design Blockset (NCD) was used for automatic tuning of the controller parameters (fig.2), to minimise the transient overshot.

(2)

Fig. 2. Using NCD Blockset for tuning parameters of PI controller in the current loop

Simple transfer function model of motor current vs.

voltage was used

kia

Gmot = --- Ta·s +1

where:

kia - gain of DC motor

Ta - armature circuit time constant

0 0.5 1 1.5 2 2.5

0 20 40 60 80

<Ia>

0 0.5 1 1.5 2 2.5

-10 0 10 20 30 40

Time

<ws>

Fig. 3 Current (upper red) and angular velocity (lower blue) of DC motor. Simulink and linear model

were used for simulation.

Similar procedure was used to find parameters of velocity controller. The simulation results (DC motor current and angular velocity vs. time) are presented on figure 3. This is raw simulation as linear model has very low granularity: AC component of current and switching of currents in thyristor bridge are neglected.

Only envelope of transients can be seen on simulation

USING POWER SYSTEM BLOCKSET TO MODEL THE DC DRIVE

An advanced set of linear and nonlinear blocks can be found in Power System Blockset. Three AC sources, three-phase six-pulse converter, pulse generator and DC motor are taken from the library. They are used to prepare high quality model of three-phase DC drive (see figure 9).

0 0.5 1 1.5

0 20 40 60 80

<Ia>

0 0.5 1 1.5

-10 0 10 20 30 40

Time

<Ws>

Fig. 4. Simulated current signal (red) and angular velocity (blue) using Simulink and Power System

Blockset (see also fig. 5)

0 0.02 0.04 0.06 0.08 0.1 0

20 40 60

80 <Ia>

Fig. 5. Detail of simulated current signal using Simulink and Power System Blockset

The three-phase bridge converter is the most frequently used motor control system. Two of six thyristors conduct at any time instant. Gating of each thyristor

(3)

pulse controlled rectifier. The three-phase six-pulse rectifier is also capable of inverter operation in the fourth quadrant.

Electrical phenomena of thyristor bridge and DC motor are modelled very exactly. Simulation results (figure 4 and 5) are almost exact with real measurement data on industrial object, but computation is slow comparing to linear model.

FUZZY CONTROLLER OF DC DRIVE

The fuzzy controller is presented on figure 10.

Advanced model using Power System Blockset is used, but transfer function model can also be useful for preliminary tuning of controller parameters.

Linguistic variables and rules

There are two fuzzy variables (error and INTEG error) and seven linguistic variables (from big negative to big positive). The fuzzy controller attributes are:

type: 'mamdani' andMethod: 'prod' orMethod: 'max'

defuzzMethod: 'centroid' impMethod: 'prod'

aggMethod: 'max' input: [1x2 struct]

output: [1x1 struct]

rule: [1x25 struct]

The membership functions (pimf and gausmf are used)and rules are design tools that give opportunity to model a control surface and controller properties. It is obvious that using this attributes one can more precisely fulfil a quality criterion in full operational range. The control surface (figure 6) is defined with 25 rules.

RESULTS AND CONCLUSION

Simulation output for fuzzy controller is similar to PI controller output presented on figure 4 – unless one consider how controller react for external disturbation.

The investigation showed that even simple fuzzy controller used to control DC drive operation (fig. 10) is more precise and faster than of PI controller (compare fig. 7 with fig. 5).

-10 0

10

0 -1 1

-5 0 5

error INTEGerror

ust

Fig. 6. Fuzzy control surface

0 0.02 0.04 0.06 0.08 0.1

0 20 40 60 80

time

<Ia>

Fig. 7. Detail of simulation results (motor current).

Fuzzy controller (here) react faster than PI (see fig.

5)

FINAL REMARKS

Both simple transfer function model and the advanced set of linear and nonlinear blocks from Power System Blockset are useful for tuning the DC drive control system. Advanced models build with Power System Blockset blocks are suitable for preliminary verification of control system, as AC component of current and switching phenomena of thyristor bridge are not neglected. The fuzzy controller is more difficult to design comparing with PID controller but has more design parameters and is more suitable to fulfil nonlinear quality criterion in all operational range – as seen on figure 6. For real time operation a discrete fuzzy algorithm can be implemented on microcomputer, DSP or ASIC chip, which is more suitable for industrial application.

ACKNOWLEDGEMENTS

This work was supported by Cracow University of Technology, grant F-3/147/DS/2000.

(4)

Ia*

- +

sp_ref

kom kw

kia ki

ia-ws1 tfi.s+1

1

filtr Tmip.s+1

kp(s)

converter Run

inidcdr 22kW

Speed reference SP_ramp

RI-RN

MotorDC MotorDC Load torque

regPI Controller_n

regPI

Controller_I <ws>

<ws>

<Ia>

ust ust

Reg_I

nz*

Reg_N

Fig. 8 DC drive with PI controllers in current and velocity loop.

Linear transfer function models are used

synchronization signals

- ust

+

Jobl=2.7

0 w0

+ - v vcb + - v vba + - v vac

sp_ref

kom kw kia ki

+ i - i1

tfi.s+1 1 filtr Vc

Vb Va1

Run dcdrpar 22kW

Speed reference SP_ramp

RN RI

AC

BA

CB

CTL Pout

Pulse_generator

Load torque

Ia(A) & w A+

TL w0

w

A-

DC_Motor

regPI Controller_n

regPI

Controller_I 8.0 A

B C pulses

K

A

6 - pulse Converter

ia*

nz*

Fig. 9. DC drive with PI controllers in current and velocity loops.

Power System Blockset is used to build advanced drive model (upper part of block diagram)

(5)

synchronization signals

Jobl=2.7

0 w0

+ - v vcb + - v vba + - v vac

sp_ref

kom kw kia ki

+ i- i1

tfi.s+1 1

filtr Vc

Vb Va1

Sum

Run inidcdr 22kW

Speed reference SP_ramp

RN RI

AC

BA

CB

CTL Pout

Pulse_generator

Mux

Load torque

1 s Integrator

Ia(A) & w

Fuzzy Controller_I

A+

TL

w0 w

A-

DC_Motor

regPI Controller_n

8.0 A

B C pulses

K

A

6 - pulse Converter

ia*

nz*

INTEGerror e

e

ust

Fig.10. DC drive with fuzzy controller in current loop.

Power System Blockset is used to build advanced drive model (upper part of block diagram)

REFERENCES

1. B. Mrozek, Design and testing control system for DC-drive using Simulink and Power System Blockset (in Polish), 2-nd National Conference Methods and Computer System...,pp 185-190, Kraków, Oct. 1999, Poland.

2. B. Mrozek, Z. Mrozek MATLAB 5.x SIMULINK 2.x User Guide (in Polish); PLJ Warszawa 1998.

3. Devan S.B. et al. Power Semiconductor Drives, J.Wiley&Sons, 1984.

4. Fuzzy Logic Toolbox User’s Guide, The MathWorks, Inc. 1995 – 1998

5. Nonlinear Control Design Blockset User’s Guide 1993 - 1997 The MathWorks, Inc.

6. Power System Blockset User’s Guide, TEQSIM International Inc., a sublicense of Hydro-Québec, and The MathWorks, Inc.

1984 – 1998.

Referensi

Dokumen terkait

Therefore, the design of this system consists of the PID controller and the transfer function of the DC motor that obtained from the real experiment (ELECTRO-MECHANICAL

cascade control system consists of DC motor, DC-DC converter, curent controller and. speed

Experiments were done for testing speed of fuzzy logic control process in any server type and condition, and also the experiments were done for testing the DC motor speed control

Eka Suci Rahayu Particle Swarm Optimization PSO Tuning of PID Control with on DC Motor used is trial-error conventional control [28], but for this method, it is difficult to adjust

Nagarajan Performance Estimation and Control Analysis of AC-DC/DC-DC Hybrid Multi-Port Intelligent Controllers Based Power Flow Optimizing Using STEM Strategy and RPFC Technique The

"Co-ordinated tuning of PSS with TCSC damping controller through advanced adaptive PSO for a multi-machine power system", 2013 International Conference on Energy Efficient Technologies

The FL-PID controller response for controlling the voltage of DC microgrid with the fluctuations in microgrid real power due to the change in demand and PV power is shown in Fig.. The

Xi, ―Analysis and design considerations of a load and line independent zero voltage switching full bridge DC/DC converter topology,‖ IEEE Trans.. Mohan, ―Novel soft-switching DC-DC