Comparative Analysis of Speed Control Techniques of DC Motors with Matlab

DOI : 10.17577/IJERTV4IS050798

Download Full-Text PDF Cite this Publication

Text Only Version

Comparative Analysis of Speed Control Techniques of DC Motors with Matlab

Suranjana Bharadwaj

Dept. of Electrical Engineering

Girijananda Chowdhury Institute of Management and Technology Guwahati, India

Abstract In this paper, various speed control techniques for a dc shunt motor namely conventional method without using any controller, using a PID controller and speed control by Fuzzy Logic Controller have been discussed and a comparative analysis have been done between them. The models have been developed using MATLAB SIMULINK and the comparative analysis is based on the speed responses obtained by simulation of the models.

Keywords Speed Control, PID Controller, Fuzzy logic Controller, MATLAB, SIMULINK

I INTRODUCTION

DC motor is a power actuator which converts electrical energy into mechanical energy. DC motor is used in applications where wide speed ranges are required. The greatest advantage of dc motors is speed control. The term speed control stands for intentional change of the drive speed to a value required for performing the specific work process. Speed control is either done manually by the operator or by means of some automatic control device. DC motors are most suitable for wide range speed control and are therefore used in many adjustable speed drives. Since speed is directly proportional to armature voltage and inversely proportional to magnetic flux produced by the poles, adjusting the armature voltage or the field current will change the rotor speed. Thus the conventional speed control techniques include the control of speed by three methods

  1. By varying the flux per pole. This is known as flux control method.

  2. By varying the resistance in the armature circuit. This is known as armature control method.

  3. By varying the applied voltage V. This is known as voltage control method.

    Other than these, various controllers are used to have a better speed response of the DC motor.

    Proportional-Integral-Derivative (PID) controller has been used for several decades in industries for process control applications. The combination of proportional, integral and derivative control action is called PID control action. PID controllers are commonly used to regulate the time-domain behavior of many different types of dynamic plants. These controllers are extremely popular because they can usually provide good closed-loop response characteristics. Though they give satisfactory results, an

    overshoot is observed and the settling time is more. Therefore manual tuning of PID controller is necessary.

    For further improvement of the speed response characteristics of the DC motor, another controller called Fuzzy Logic Controller (FLC) has been developed. Fuzzy logic control is a linguistic control algorithm which uses general statements instead of the mathematical equations to define the control scheme of the responses. Due to this technique, a wide range of values are included in the set which leads to better rise time, less speed fluctuations and overshoots. With fuzzy logic controller, manual tuning is eliminated and intelligent tuning takes the centre stage with satisfactory performance.

    DC motors is used in many industrial applications such as electric vehicles, steel rolling mills, electric cranes and robotic manipulators due to precise, wide, simple and continuous control characteristics.

    II MODELLING OF DC MOTOR

    The expression for speed of a DC motor is given as N= [V-Ia(Ra + R)]/k

    Therefore speed of DC motor can be varied by controlling the following quantities:

    1. External resistance in armature circuit R

    2. Flux per pole

    3. Voltage of the armature V

Fig1: DC Motor Model

Here we assume that the input of the system is that voltage source (V) applied to the motor's armature, while the output is the rotational speed of the shaft d()/dt. The rotor and shaft are assumed to be rigid. We further assume a viscous friction model, that is, the friction torque is proportional to shaft angular velocity.

In general, the torque generated by a DC motor is proportional to the armature current and the strength of the magnetic field. In this example we will assume that the magnetic field is constant and therefore, that the motor torque is proportional to only the armature current i by a constant Kt. This is referred to as an armature- controlled motor.

The armature voltage equation is given by:

Va = Eb +IaRa + La (dIa/dt) (1) The torque balance equation will be given by:

Tm = Jm(d/dt) + Bm + TL (2)

The overall transfer function of the above considered motor is given by,

(s)/Va(s) = k/ (LaJms2 + RaJms + k22 ) (3)

For the DC motor with certain given parameters, the overall transfer function of the system is obtained as:

(s)/Va(s) = 0.5/ (0.002s2 + 0.050s + 0.629) (4)

Using the above transfer function the SIMULINK model of dc motor has been designed as below:

Fig2: SIMULINK Model for DC Motor

The design requirements of the systems may vary from one system to another. For our case, we want a fast response of the system to an error. The overshoot of the system should not be higher than 5% and the settling time should be smaller than 2 seconds.

The main design requirements are as follows; Settling time should be less than 2 seconds; Overshoot of the system should be less than 5%; Steady state error should be less than 1%

III INCORPORATING PI CONTROLLER IN SIMULINK MODEL OF DC MOTOR

The combination of proportional, integral and derivative control action is called PID control action. PID controllers are commonly used to regulate the time-domain behavior of many different types of dynamic plants.

These controllers are extremely popular because they can usually provide good closed-loop response characteristics.

The block diagram incorporation PID controller to the existing dc motor model is shown below:

Fig3: SIMULINK Model of DC Motor with PID controller

Here by varying the values of the parameters of the PID controller Kp, Kd and Ki, different responses are obtained for the system.

III FUZZY LOGIC CONTROLLER (FLC)

Fuzzy logic is a method of rule-based decision making used for expert systems and process control that emulates the thought process of human beings. The basis of fuzzy logic is fuzzy set theory which was developed by Lotfi Zadeh in the 1960s.

Generally, a fuzzy system has four modules.

  1. Fuzzification

  2. Fuzzy Inference

  3. Rule base

  4. Defuzzification

The process of converting a numerical variable (real number or crisp variables) into a linguistic variable (fuzzy number) is called Fuzzification. In others words, means the assigning of linguistic value, defined by relative small number of membership functions to variable.

Under inference, the truth value for the premise of each rule is computed, and applied to the conclusion part of each rule. This results in one fuzzy subset to be assigned to each output variable for each rule. Mostly MIN or PRODUCT is used as inference rules. In MIN inference, the output membership function is clipped off at a height

For the rule bases a classic interpretation of Mamdani was used. Under rule base, rules are constructed for

outputs. The rules are in If Then format and formally the If side is called the conditions and the Then side is called the conclusion. A rule base controller is easy to understand and easy to maintain for a non- specialist end user and an equivalent controlle could be implemented using conventional techniques.

Defuzzification is a process in which crisp output is obtained by the fuzzy output. Two of the most common techniques are the CENTROID and MAXIMUM methods. In the CENTROID method, the crisp value of the output variable is computed by finding the variable value of the centre of gravity of the membership function for the fuzzy value. In the MAXIMUM method, one of the variable values at which the fuzzy subset has its maximum truth.

Here we have considered two inputs to the fuzzy controller, input1(e) and input2(ce). We consider the output as output1. We have used three triangular membership functions for each of the input and output variables namely: Low(L), Medium(M), High(H). The input1 variables range from 0 to 0.2, input2 variables range from 0 to 0.8, output1 variable range from 0 to 0.8.

The fuzzy rules are now defined as If (input1 is L) and (input2 is L) then (output1 is L) which can be depicted in the rule table below:

Table1: Fuzzy Inference Rule Table

e/ec

L

M

H

L

L

M

M

M

L

M

H

H

M

M

H

IV SIMULINK MODEL OF DC MOTOR WITH FLC

For the purpose of advanced speed control, we implement the FLC in SIMULINK. The SIMULINK model is shown below.

Fig4: SIMULINK Model of a DC Motor with FLC

V RESULTS OBTAINED

For the purpose of comparative analysis of the various speed responses of the DC motors, we simulate all the three Simulink models i.e. without using any controller, using PI controller and using FLC. Then we combine all the three responses in a single plot.

By considering a 1rad/sec step reference, the response obtained by the DC motor speed analysis is shown below:

Fig5: Speed Responses Combined on a Single Plot

From the graph, the following results can be obtained

Table2: Comparative Analysis

Rise Time(s)

Settling Time(s)

% Overshoot

Steady-state value

Without any controller

0.121

0.337

3.46

0.795

With PID

0.4183

1.417

4.8

1

With FLC

0.120

0.3748

3.7

1

V CONCLUSION

This work finally gives a comparative analysis between the Simulink responses obtained for speed of a dc motor without controller, with PI controller and with FLC. After observing the responses we can finally draw the following conclusions:

  1. The settling time of the fuzzy logic controller is lower as compared to the PID controller. Though the settling time without the use of any controller is better than the fuzzy logic controller, it does not attain the steady state value of the step reference of 1rad/sec. As such its steady state error is very high which does not satisfy the design requirements.

  2. The percentage overshoot of the Fuzzy logic controller is the lowest. The lower overshoot leads to lesser vibrations and variations in the attainment of the desired speed response by the fuzzy logic controller.

  3. The rise time is the lowest for the Fuzzy logic controller. This leads to the fast response to the desired value.

  4. The PID and Fuzzy logic controller attains the steady state value of 1, thus eliminating the steady state error.

The PID controller though reduces the steady state error, shows significant overshoot and higher settling time. The Fuzzy Logic Controller has the least settling time and the overshoot value is reduced to acceptable limits. Thus we can conclude that the Fuzzy Logic Controller shows the best speed response characteristics. It shows higher flexibility, control, better dynamic and static performance compared with conventional controller and PID controller. Moreover it satisfies the design parameters as mentioned above with conventional controller and PID controller. Moreover, it satisfies the design parameters as mentioned above. Thus Fuzzy Logic Controller is the preferred choice for the controlling the speed response of the DC Motor.

REFERENCES

  1. Rekha Kushwah, Sulochana Wadhwani, Speed Control of Separately Excited DC Motor using Fuzzy Logic Controller, International Journal of Engineering Trends and Technology (IJETT) – Volume4 Issue6- June 2013

  2. Rahul Malhotra, Tejbeer Kaur, Gurpreet Singh Deol, DC Motor Control Using Fuzzy Logic Controller, International Journal of Advanced Engineering Sciences and Technologies Vol No. 8, Issue No. 2, 291 – 296

  3. Essam Natsheh, Khalid A. Buragga, Comparison between Conventional and Fuzzy Logic PID Controllers for Controlling DC Motors, IJCSI International Journal of Computer Science Issues,

    Vol. 7, Issue 5, September 2010

  4. Dr.Ch.Chengaiah, K.Venkateswarlu, Comparative Study On Dc Motor Speed Control Using Various Controllers, International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering, Vol. 3, Issue 1, January 2014

  5. Philip A. Adewuyi, DC Motor Speed Control: A Case between PID Controller and Fuzzy Logic Controller, International Journal Of Multidisciplinary Sciences And Engineering, Vol. 4, No. 4, May 2013

  6. Ashfaq Hussain, Electrical Machines Dhanpat Rai Publications

  7. Nagrath and Gopal, Control Systems Engineering New Age Publication

  8. Smarajit Ghosh, Control Systems Pearson Education

Appendix

Meaning of the different parameters used are Va is the armature voltage (Volts)

Eb is back emf the motor (Volts)

Ia is the armature current (Ampere) Ra is the armature resistance (Ohm) La is the armature inductance (Henry)

Tm is the mechanical torque developed (Nm)

Jm is moment of inertia (Kg/m²)

Bm is friction coefficient of the motor (Nms) is angular velocity

The default values of the parameters are

Armature resistance (Ra) = 0.5 Armature inductance (La) = 0.02 H Armature voltage (Va) = 200 V Mechanical inertia (Jm) = 0.1 Kg.m2

Friction coefficient (Bm) = 0.008 N.m/rad/sec Back emf constant (k) = 1.25 V/rad/sec

Motor torque constant (k) = 0.5 Nm/A Ki=100

Kd=10 Kp=100

Step response=1 rad/sec

Leave a Reply