# Comparison of DC Motor Speed Control Performance using Fuzzy Logic and Model Predictive Control Method

Excerpt

## Abstract

The main target of this paper is to control the speed of DC motor by comparing the actual and the desired speed set point. The DC motor is designed using Fuzzy logic and MPC controllers. The comparison is made between the proposed controllers for the control target speed of the DC motor using square and white noise desired input signals with the help of Matlab/Simulink software. It has been realized that the design based on the fuzzy logic controller track the set point with the best steady state and transient system behavior than the design with MPC controller. Finally, the comparative simulation result prove the effectiveness of the DC motor with fuzzy logic controller.

Keywords: DC Motor, Fuzzy Logic Controller, MPC Controller

## 1. Introduction

A DC motor is any of a class of rotary electrical machine that converts direct current electrical power into mechanical energy. The maximum not unusual sorts rely on the forces produced by means of magnetic fields. Nearly all forms of DC motors have a few internal mechanism, both electromechanical and digital, to periodically change the path of modern-day in part of the motor.

DC motors had been the primary form of motor extensively used, as they might be powered from existing direct-modern lights energy distribution structures. A DC motor's pace may be controlled over an extensive variety, the usage of either a variable deliver voltage or by means of changing the power of current in its electrical windings. Small DC machines are used in gear, toys, and appliances. The established motor can function on direct modern however is a lightweight brushed motor used for transportable energy equipment and appliances. Larger DC motors are currently used in electrical motors, elevator and hoists, and in drives for metal rolling generators.

## 2. Mathematical model of a DC motor

The torque of the motor is directly proportional to the current and it is described as

Abbildung in dieser Leseprobe nicht enthalten

Where

Armature constant

The electromotive force, , is directly proportional to the angular speed of the motor,

Abbildung in dieser Leseprobe nicht enthalten

Where

Emf constant

By using Newton's laws, the mechanical system of the motor equations is derived as:

Abbildung in dieser Leseprobe nicht enthalten

Where,

Approximation for viscous friction.

The electrical system of the motor equations can be described by

Abbildung in dieser Leseprobe nicht enthalten

By using Laplace transform and substituting the value of i(s), we will get the differential equation for input Vapp(s) and the output is the speed of the motor (s)

Abbildung in dieser Leseprobe nicht enthalten

The parameters of the Dc motor is shown in Table 1 below.

Table 1 Dc motor parameters

Abbildung in dieser Leseprobe nicht enthalten

The Dc motor transfer function is

Abbildung in dieser Leseprobe nicht enthalten

## 3. Proposed Controllers Design

In this section, the design of the proposed controllers will be discussed.

### 3.1 Fuzzy Logic Control

Fuzzy Logic Control (FLC) or Fuzzy Linguistic Control is a knowledge primarily based control strategy that can be used

- While both a sufficient correct and but no longer unreasonably complicated model of the plant is unavailable, or
- When a (single) specific degree of overall performance isn't significant or realistic.

FLC model design is based totally on empirically received knowledge concerning the operation of the process. This expertise, cast into linguistic, or rule-based form, is the main of the FLC system. The rule base (know-how base) gives nonlinear transformations with none built-in dynamics.

### 3.11 Input and Output of fuzzy controller

The error and change of error input and the output of the fuzzy logic controller is shown in Figure 1, Figure 2 and Figure 3 respectively.

Abbildung in dieser Leseprobe nicht enthalten

Figure 1. Error input

Abbildung in dieser Leseprobe nicht enthalten

Figure 2. Change in error input

Abbildung in dieser Leseprobe nicht enthalten

Figure 3. Output

### 3.12 MPC Control

The model-primarily based predictive control (MPC) technique is also referred to as the moving horizon control or the receding horizon control. The MPC is built using control and optimization tools. The objective of this write-up is to introduce the designer to the linear MPC which refers back to the circle of relatives of MPC schemes in which linear model of the managed objects are used in the control regulation synthesis.

A model predictive controller makes use of, at each sampling instant, the plant's present input and output measurements, the plant's contemporary state, and the plant's model to

- Calculate, over a finite horizon, a future control collection that optimizes a given performance index and satisfies constraints on the control action;
- Use the primary control in the sequence as the plant's input.

## 4. Result and Discussion

Here in this section, the comparison of the Dc motor with the proposed controllers will be presented.

### 4.1 Comparison of Dc Motor with Fuzzy Logic and MPC Controllers for a Square Wave Input Signal

The Simulink model for the Dc motor with the proposed controllers for a square wave input reference speed (desired) is shown in Figure 4 below.

Abbildung in dieser Leseprobe nicht enthalten

Figure 4 Simulink model for the Dc motor with the proposed controllers for a square wave input reference speed (desired)

The output response of the actual speed of the proposed controllers for a square wave input reference speed is shown in Figure 5 below.

Abbildung in dieser Leseprobe nicht enthalten

Figure 5 Output response of the actual speed of the proposed controllers for a square wave input reference speed

Figure 5 shows us that the Dc motor with MPC controller have higher overshoot and long settling time than the Dc motor with fuzzy logic controller.

### 4.2 Comparison of Dc Motor with Fuzzy Logic and MPC Controllers for a White Noise Input Signal

The Simulink model for the Dc motor with the proposed controllers for a white noise input reference speed (desired) is shown in Figure 6 below.

Abbildung in dieser Leseprobe nicht enthalten

Figure 6 Simulink model for the Dc motor with the proposed controllers for a white noise input reference speed (desired)

The output response of the actual speed of the proposed controllers for a white noise input reference speed is shown in Figure 7 below.

[...]

Excerpt out of 6 pages

Details

Title
Comparison of DC Motor Speed Control Performance using Fuzzy Logic and Model Predictive Control Method
Author
Year
2020
Pages
6
Catalog Number
V542030
ISBN (eBook)
9783346164155
Language
English
Keywords
comparison, predictive, performance, motor, model, method, logic, fuzzy, control, speed
Quote paper
Mustefa Jibril (Author), 2020, Comparison of DC Motor Speed Control Performance using Fuzzy Logic and Model Predictive Control Method, Munich, GRIN Verlag, https://www.grin.com/document/542030 