Modelling And Fuzzy Control Of Dc Drive

  • April 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Modelling And Fuzzy Control Of Dc Drive as PDF for free.

More details

  • Words: 1,520
  • Pages: 5
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

f(u)

ABSTRACT

voltage 1

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.

2 load

dI/dt

1/s

Integrator1 Mux f(u)

dw/dt

1/s

Integrator2

1 current

2 velocity

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

INTRODUCTION

Converter/rectifier is described as first order inertia kp(s) Gconv = -------------Tmip·s +1 where: kp -gain of converter/rectifier Tmip -mean dead time of converter/rectifier

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.

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.

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.

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.

186

USING POWER SYSTEM MODEL THE DC DRIVE

BLOCKSET

TO

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).

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

80

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

60 40 20 0

0

0.5

1

1.5

1

1.5

<Ws> 40

80

30

60

20 10

40

0

20 0

-10 0

0.5

1

1.5

2

0

0.5 Time

2.5

Fig. 4. Simulated current signal (red) and angular velocity (blue) using Simulink and Power System Blockset (see also fig. 5)

<ws> 40 30 20



10

80

0 -10

60 0

0.5

1

1.5 Time

2

2.5

40

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

20 0

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 output.

0

0.02

0.04

0.06

0.08

0.1

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 initiates a pulse of load current; therefore this is a six187

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.

ust

5 0 10

-5

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.

0

1

0 INTEGerror

-1

-10 error

Fig. 6. Fuzzy control surface

Linguistic variables and rules

80 60

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.

40 20 0

0

0.02

0.04 0.06 time

0.08

0.1

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.

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).

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

188

Run inidcdr 22kW

Reg_N Reg_I

Speed reference sp_ref

nz*

regPI

SP_ramp

tfi.s+1

Controller_n

RI-RN

+ -

1

Ia*

filtr

regPI

ia-ws1

kp(s)

ust ust

Tmip.s+1 converter

Controller_I

MotorDC

<ws>

MotorDC <ws>

Load torque kia ki kom kw

Fig. 8 DC drive with PI controllers in current and velocity loop. Linear transfer function models are used

A

K

B

A

pulses

v

v

Vb

sp_ref

Ia(A) & w

CTL

RN nz*

regPI

SP_ramp Control ler_n

RI ia*

1 tfi.s+1 fil tr

+ -

regPI

ust

Controller_I 8.0

Run dcdrpar 22kW

kia ki kom kw

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)

189

A-

DC_Motor

Pul se_generator

Vc

Speed reference

w0

Pout

vcb Va1

0 w0

CB

v

w

TL

BA

vba + -

A+

AC

vac + -

Jobl=2.7

Load torque

6 - pul se Converter

synchroni zati on signals

i -

i1

C

+ -

+

A

K

B

pulses

Load torque

0 w0

w0

A-

DC_Motor

AC

vac + v -

Ia(A) & w

BA Pout

vba

CB

+ v -

CTL

vcb Vb

A

w

TL

6 - pulse Converter

synchronization signals

Va1

A+

i1

C

+ v -

Jobl=2.7

i -

+

Pulse_generator

Vc

kia ki

RN Speed nz* reference sp_ref

SP_ramp

regPI

ia*

RI e

1 tfi.s+1

Controller_n

1 INTEGerror

e

filtr Sum

ust

Mux

s Integrator

Fuzzy Controller_I

Run inidcdr 22kW

8.0 kom kw

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)

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.

REFERENCES 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. 1.

190

Related Documents