Free Essay

Designing a Speed Control System of a Dc Motor Based on Pid Algorithm Using Matlab Simulink

In: Computers and Technology

Submitted By roydebopriya
Words 510
Pages 3
Designing a Speed Control system of a DC motor based on PID algorithm using MATLAB SIMULINK

DC motors have variable characteristics and are used extensively in variable-speed drives. DC motor can provide a high starting torque and it is also possible to obtain speed control over wide range.
Why do we need a speed motor controller?
For example, if we have a DC motor in a robot and we just apply a constant power to each motor on a robot, then the poor robot will never be able to maintain a steady speed. It will go slower over carpet, faster over smooth flooring, slower up hill, faster downhill, etc. So, it is important to make a controller to control the speed of DC motor in desired manner.
And that’s why we are now interested to design a control system named PID.
Now if we want to define the PID control system,then it will be like this

A block diagram of PID Control system

Now if we want to discuss about the algorithm behind this control system then,it constritutes of three basic part all comes from the following equation:

The Characteristics of P, I, and D Controllers
A proportional controller (

) will have the effect of reducing the rise time and will reduce but never eliminate

the steady-state error. An integral control (

) will have the effect of eliminating the steady-state error for a constant

or step input, but it may make the transient response slower. A derivative control (

) will have the effect of increasing

the stability of the system, reducing the overshoot, and improving the transient response.
The effects of each of controller parameters,


, and

on a closed-loop system are summarized in the table









Small Change








Small Change



No Change

Note that these correlations may not be exactly accurate, because


, and

are dependent on each other. In

fact, changing one of these variables can change the effect of the other two. For this reason, the table should only be used as a reference when you are determining the values for




For designing a good controller system the most important concerns are achieving:


PID control system design:

So,here what we have got as the output result:

Here the yellow line representing our desired speed and the purple line represents what we have achieved So if we can see we have achieved a constant speed with both stability & tracking.We have able to minimize etxreme acceleration that will always face without a good controlling system.That’s why here we earned robustness.
So finally we can say,this a good controlling system that we intended to design.

Let’s take a look at the comparison between these two:

Without PID

And here with PID
Here we can easily observe that on the first diagram we have lost robustness,tracking!!!
But on the second we have achieved both one.…...

Similar Documents

Free Essay

Speed Control of Induction Motor Using Fuzzy Logic and Pll

...Background AC induction motors are being applied today to a wider range of applications requiring variable speed as they are the leading elements to convert electrical energy into mechanical energy. They are being used as actuators in various industrial processes, robotics, house hold appliances (generally single phase induction motor) and other similar applications. The reason for its day by day increasing popularity can be primarily attributed to its robust construction, simplicity in design and cost effectiveness. Also, induction motors are proved to be more reliable than DC motor. Generally, variable speed drives for induction motor requires wide operating range of speed and fast torque response, regardless of the load variations. Also, the conventional controllers have to linearize the non-linear system of induction motor in order to calculate the parameters, which is almost impossible to obtain a perfect non-linear model. Hence the values of the parameters that are obtained from it are thereby approximate. This leads us to more advanced control methods to meet the real demand. To overcome the complexities of conventional controllers, fuzzy logic controller have been implemented in many motor applications. A Fuzzy Logic Controller (FLC) is incorporated for combination with Phase Locked Loop (PLL) for precise and robust speed of induction motor. The fuzzy logic controller is used to pull the motor speed into the locking range of PLL. When the speed error is......

Words: 1757 - Pages: 8

Free Essay

Fuzzy Control

...Fuzzy Control Kevin M. Passino Department of Electrical Engineering The Ohio State University Stephen Yurkovich Department of Electrical Engineering The Ohio State University An Imprint of Addison-Wesley Longman, Inc. Menlo Park, California • Reading, Massachusetts Don Mills, Ontaria • Sydney • Bonn • Harlow, England • Berkeley, California • Amsterdam • Mexico City ii Assistant Editor: Laura Cheu Editorial Assistant: Royden Tonomura Senior Production Editor: Teri Hyde Marketing Manager: Rob Merino Manufacturing Supervisor: Janet Weaver Art and Design Manager: Kevin Berry Cover Design: Yvo Riezebos (technical drawing by K. Passino) Text Design: Peter Vacek Design Macro Writer: William Erik Baxter Copyeditor: Brian Jones Proofreader: Holly McLean-Aldis Copyright c 1998 Addison Wesley Longman, Inc. All rights reserved. No part of this publication may be reproduced, or stored in a database or retrieval system, or transmitted, in any form or by any means, electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States of America. Printed simultaneously in Canada. Many of the designations used by manufacturers and sellers to distinguish their products are claimed as trademarks. Where those designations appear in this book, and AddisonWesley was aware of a trademark claim, the designations have been printed in initial caps or in all caps. MATLAB is a registered trademark of The......

Words: 211473 - Pages: 846

Free Essay

Control Architecture and Algorithms of Biped Robot

...Control Architecture and Algorithms of the Anthropomorphic Biped Robot Bip2000 Christine Azevedo and the BIP team INRIA - 655 Avenue de l’Europe 38330 Montbonnot, France ABSTRACT INRIA [1] and LMS [2] have designed and realized an anthropomorphic legged robot, BIP2000 (fig.1). A planar version achieves walking, and the whole robot is able to keep its balance on one foot while moving. The purpose of this paper is to present the principles and the architecture of the robot control we have used. After having presented the robotic system, and the software architecture, we will detail the principles of the robot control. We will finally present implementation issues and experimental results. Keywords: Robot Control, Biped Robots, Walking Machines. 1. DESCRIPTION OF THE SYSTEM The design of the robot was inspired from the human anthropometric data and his dynamic capabilities. We recall here only the main characteristics of BIP2000, the reader being referred to [5] and [9] for more details. Fig1. The Biped Robot BIP2000 Fig2. BIP without Pelvis 1.1 Mechanical Structure of BIP2000 Designed by the Laboratoire de Mécanique des Solides of Poitiers [2], the robot has 15 active joints (fig.3). It is able to walk forward thanks to the rotation of the ankles, knees and hips allowing the flexion/extension of the biped in the sagittal plane (fig.4). The ability of changing direction is given by the trunk, the pelvis and the 2 hips internal/external rotations. For the lateral......

Words: 2364 - Pages: 10

Free Essay

Train Control System

...Motion Of Train Control System Syed Zulfiqar Haider Bukhari(11TC51)1,Syed Noor-ul-Hassan Bukhari(11TC63)2 Department of Telecommunication Engineering, University College of Engineering & Technology, The Islamia University of Bahawalpur, Pakistan. engr.szhb@gmail.com1, syednoorulhassanbukhari@gmail.com2 Abstract— This project Automatic Street Light Control System aims at designing and executing the advanced development in embedded systems for energy saving of street lights by using light dependent resistor (LDR). Nowadays, human has become too busy and he is unable to find time even to switch the lights on or off. This can be seen more effectively in the case of street lights. The present system is like, the street lights will be switched on in the evening before the sun sets and they are switched off the next day morning after there is sufficient light on the roads. But the actual timing for these street lights to be switched on are when there is absolute darkness on the roads. This project gives the best solution for electrical power Keywords—: Small Toy train system (STTS), Small Toy Train System-Railway Track(STTS-RT) I. INTRODUCTION rain system has become very popular means for transportation of passengers and exchanging goods from one place to another in this modern era. Every developing country use the train system for these purposes. Thousands of people travel by the train system hundreds of miles far from one destination to another destination in a day. Even......

Words: 1226 - Pages: 5

Free Essay

Ward-Leonard Control System

...Ward-Leonard Motor Generation System Introduction: A control system generally controls, regulates, and updates its output continuously based on present inputs, nature of the system, and the past outputs. In other words, there is a feedback mechanism that is inherent in the system, and is called a closed loop control system. For example, adding an emitter resistance to a common emitter amplifier, results in a negative feedback mechanism in the amplifier system – if the output current increases, the input voltage decreases accordingly so as to reduce the output current; if the output current decreases, then the input voltage increases in order to raise the output current level. Negative feedback thus ensures that the output is always controlled to stay within an optimal range. Similarly other systems may exhibit a positive feedback mechanism. In either case, a control system can be represented as follows: Figure 1: Control System representation In Figure 1, G represents the forward loop function and Fb represents the feedback function. In case the Fb function is absent, the system is reduced to an open loop system. The most popular representation of control systems is using the ‘Block Diagram’ approach (Balakrishnan, 1988). Each component in the system is represented as a block, with its role represented as a mathematical function. From the block diagram representation, the overall function of the system, called the transfer function, is obtained. The transfer......

Words: 2302 - Pages: 10

Free Essay

Wireless Dc Motor Speed and Direction Control Using Rf Communication

...An Industry-oriented Mini-Project Report on WIRELESS DC MOTOR SPEED AND DIRECTION CONTROL USING RF COMMUNICATION Submitted to Department of Electronics and Communication Engineering Mahaveer Institute of Science and Technology (Approved by AICTE) and affiliated to JAWAHARLAL NEHRU TECHNOLOGICAL UNIVERSITY Hyderabad, (A.P.). in partial fulfillment of the Requirement for the award of Degree of BACHELOR OF TECHNOLOGY in Electronics & Communication Engineering Submitted By K. Vinay 08E31A04C8 GUIDE MINI-PROJECT COORDINATOR HEAD OF DEPT. Mr. Sridhar Chitta Mr. M. Nagaraju Naik Dr. B. Visvesvara Rao . MAHAVEER INSTITUTE OF SCIENCE & TECHNOLOGY Vyasapuri, Bandlaguda, Post: Keshavgiri, Hyderabad – 500 005 2011 - 2012 CERTIFICATE This is to certify that the mini project work titled WIRELESS DC MOTOR SPEED AND DIRECTION CONTROL USING RF COMMUNICATION, which is being submitted By K. Vinay 08E31A04C8 in partial fulfilment for the award of Degree of Bachelor of Technology in Electronics and Communication Engineering to the Mahaveer Institute of Science and Technology, affiliated to Jawaharlal Nehru Technological University and is a bonafide record of work carried out by them under our supervision. The results embodied in this mini-project report have not been submitted to any other University or Institute for the award of any degree or diploma. Project Guide Project Coordinator ......

Words: 1425 - Pages: 6

Free Essay

Wireless Speed Control of Motor Using Rf

...Almost all machines in industries are operated using electrical motors. Among them most of the motors are DC motors. DC series motor is specially used for traction, electric locomotive, trolley systems, crane and conveyer belt. All these works require frequent speed control for the preparation of job. We could gear the motor for the proper speed, but this is usually beyond scope of what we can accomplish in the basement workshop or we could measure the current that the motor draws and determine a series resistor value according to ohms law to insert to “drop” the motor supply voltage and slow the motor down. The problem with this approach is that if load on the motor increases, the motors operating current also increases, creating a larger voltage drop across that series resistor and supplying less voltage to the motor terminals when it is needed the most. This “vicious circle” usually results in the motor stalling at high load conditions. So what we need is a controller that will give the motor a kick of supply voltage for a variable amount of time to achieve the proper speed without the series dropping effect. A PWM (Pulse width modulation) wave can be used to control the speed of the motor. CHAPTER 2 WIRELESS COMMUNICATIONS Wireless communication is the transfer of information over distance without the use of electrical conductors or “wire”. The distances involved maybe short (a few meters as in television remote control) or long (thousands or millions of kilometers......

Words: 3592 - Pages: 15

Premium Essay

Solar System

...a Stirling Engine Solar Power Generation System Using Simulink Mehdi Zareian Jahromi∗ , Mohammad Mehdi Hosseini Bioki† , and Roohollah Fadaeinedjad‡ , Member IEEE ∗† Electrical ‡ Electrical and Computer Engineering Department, Kerman Graduate University of Technology, Kerman,Iran. and Computer Engineering Department, Kerman Graduate University of Technology, Kerman,Iran. Telephone: +98-3426226517, Fax: +98-3426226618, Email: ‡ International Center for Science, High Technology and Environmental Sciences, Kerman, Iran. could be especially useful in developing countries since they will run on any fuel, including biomass; or when incorporated in parabolic dish systems, they can use solar energy. Cogeneration is possible using the cooling water that maintains the cold sink, so heat-and-power systems for homes are provided. With higher efficiencies, their quiet vibration-free operation, very low emissions when burning natural gas, simplicity, and potentially high reliability could make the Stirling engines an attractive alternative in the near future [6]. Simulation and modeling can be used to evaluate the operation of the solar Stirling engine based power generation systems. Considerable research has been performed on the modeling and control of Stirling engine systems. Most of this research, however, has been done using mechanical and thermal models of Stirling engines that neglects the electrical parts of the system [5], [7], [8]. In this research, however,...

Words: 3882 - Pages: 16

Premium Essay

Torsional Mechanism System

...Dynamics and Control ENGD3038 | Position and Speed Control of 1DoF Torsional Mechanical System | Name: Elina Ioannou P12201589 Lecturer: Prof. Bogumil Ulanicki | De Montfort University 2/24/2015 | ContentsPage Introduction………………………………………………………………………………….3 Parameters of the open loop 1DoF torsional system…………………….4 Position Proportional Control plotting data………………………………….6 Parameters of transient responses and their affect by gain Kp……..11 Position Proportional control with velocity feedback plotting data.15 Parameter of transient responses and their affect by gain Kd……….20 Speed Proportional feedback control……………………………………………23 The response of closed loop system due to increase of Kp values…24 Derivation of Closed loop system transfer function (fig. 2.2.2)………25 Changes of the location of poles due to changes of Kp and Kd Values……………………………………………………………………………………………25 Conclusion……………………………………………………………………………………..28 References……………………………………………………………………………………..29 Introduction All rotating machinery systems experience torsional oscillations to some degree during start up, shut down and continuous operation. Consequently, the evaluation and analysis of the torsional response characteristics of rotating and reciprocating equipment represent the reliability of a system. The Control and Dynamics Laboratory 1 was carried out to measure and investigate the dynamic characteristics of a......

Words: 2493 - Pages: 10

Free Essay

Control of Bldc Motor

...DESIGN OF FUZZY PID CONTROLLER FOR SPEED CONTROL OF BLDC MOTOR PHASE I REPORT Submitted by ARJUN M Register No. 710012428003 in partial fulfilment for the award of the degree of MASTER OF ENGINEERING in CONTROL AND INSTRUMENTATION DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING ANNA UNIVERSITY REGIONAL CENTRE, COIMBATORE COIMBATORE-641 047 DECEMBER 2013 ii ANNA UNIVERSITY REGIONAL CENTRE, COIMBATORE COIMBATORE-641 047 DEPARTMENT OF ELECTRICAL AND ELECTRONICS ENGINEERING PROJECT WORK PHASE I DECEMBER 2013 This is to certify that the project entitled DESIGN OF FUZZY PID CONTROLLER FOR SPEED CONTROL OF BLDC MOTOR is the bonafide record of project work done by ARJUN M Register No: - 710012428003 Of M.E. (CONTROL AND INSTRUMENTATION) during the year 2013-2014 Head of the Department Dr.S.N.DEEPA, M.E., Ph.D., Project Guide Mr.P.HARI KRISHNAN, M.E., Submitted for the Project Viva-Voce examination held on Internal Examiner External Examiner iii DECLARATION I affirm that the project titled DESIGN OF FUZZY PID CONTROLLER FOR SPEED CONTROL OF BLDC MOTOR being submitted in partial fulfilment for the award of Master of Engineering (M.E.) in Control and Instrumentation is the original work carried out by me. It has not formed the part of any other project work submitted for award of any degree or diploma, either in this or any other University. Signature of the Candidate ARJUN M Register......

Words: 7692 - Pages: 31

Premium Essay

Speed Control Induction Motor

...Speed Control of Induction Motor using Fuzzy Logic Approach A PROJECT THESIS SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENTS FOR THE DEGREE OF Bachelor of Technology In Electrical Engineering By Varuneet Varun (Roll 108EE011) G. Bhargavi (Roll 108EE026) Suneet Nayak (Roll 108EE044) Under Supervision of Prof. Kanungo Barada Mohanty Department of Electrical Engineering National Institute of Technology, Rourkela Rourkela- 769008, Odisha © 2011 - 2012 National Institute of Technology Rourkela Certificate This is to certify that the work contained in this thesis, titled “SPEED CONTROL OF INDUCTION MOTOR USING FUZZY LOGIC APPROACH” submitted by Varuneet Varun, G. Bhargavi and Suneet Nayak is an authentic work that has been carried out by them under my supervision and guidance in partial fulfillment for the requirement for the award of Bachelor of Technology Degree in Electrical Engineering at National Institute of Technology, Rourkela. To the best of my knowledge, the matter embodied in the thesis has not been submitted to any other University/ Institute for the award of any Degree or Diploma. Place: Rourkela Date: 11th May, 2012 Dr. Kanungo Barada Mohanty Associate Professor Department of Electrical Engineering National Institute of Technology Rourkela – 769008 i Acknowledgment We are grateful to The Department of Electrical Engineering for giving us the opportunity to carry out this project, which is an......

Words: 17434 - Pages: 70

Free Essay


...1.0 Experiment 1: Effect of Controller Gain (P-value) Figure 1: Simulink setup for Experiment 1 Graph 1: Graph from value P = 0.005, I = 0.01 and D = 0 Graph 2: Graph from increasing value of P = 0.01 and fixed value of I = 0.01 and D = 0 Graph 3: Graph from increasing value of P = 0.02 and fixed value of I = 0.01 and D = 0 Graph 4: From combining Graph 1-3 to compare the result. From the simulation, the value of P in PID causes the graph change. Increasing the value of P makes the graph become more stable. (Graph 1 – Blue, Graph 2 – Green and Graph 3 – Red) 2.0 Experiment 2 – Effect of Integral Time (I-value) Figure 2: Simulink setup for Experiment 2 Graph 5: Graph from value P = 0.005, I = 0.01 and D = 0 Graph 6: Graph from decreasing value of I = 0.001 and fixed value of P = 0.05 and D = 0 Graph 7: Graph from decreasing value of I = 0.0005 and fixed value of P = 0.05 and D = 0 Graph 8: From combining Graph 5-7 to compare the result. From the simulation, the value of I in PID causes the graph change. Decreasing the value of I makes the graph become more stable. (Graph 5 – Blue, Graph 6 – Green and Graph 7 – Red) 3.0 Experiment 3 – Effect of Derivative Time (D-value) Figure 3: Simulink setup for Experiment 3 Graph 9: From combining the graph from the experiment to compare the result. From the simulation, the value of D in PID causes the graph change. Increasing the value of D makes the graph become more stable. (Blue – D = 0, Pink –......

Words: 1059 - Pages: 5

Free Essay

Systems Controls

...ABSTRACT The objective of the controls laboratory is to use multiple methods to characterize parameters of a DC motor and compare these experimental methods to theory. By determining system parameters accurately, closed loop control can be used to optimize systems not only involving DC motors but essentially any mechanical system. Gains for several controllers were calculated and the effect of adding mass to the flywheel of the motor was investigated. Initially, the dead-zone and saturation voltages were obtained for the motor, to define the operating range. To determine system parameters (namely the time constant Tm and motor gain Km) two methods were investigated: step voltage response and frequency response. Using the step response, the steady-state speed of the DC motor was recorded for incremented input voltages and plotted. The slope of the linear regression of this plot is an estimation of the motor gain. The plot can be found at the end of this abstract. Additionally, for each input voltage a characteristic speed was determined by taking the product of the steady-state speed ωss and (1-e-1). Since the time constant is defined as the time taken for the exponent to be negative one (i.e. e-1), the characteristic speed occurs at the time constant. The time constant was obtained for each input voltage and averaged. To determine these parameters using frequency response, the input voltage was incremented over a range of frequencies. For each input frequency, the amplitude...

Words: 838 - Pages: 4

Premium Essay

Design and Implementation of Solar System Simulation

...CHAPTER ONE INTRODUCTION 1.1 Background Gigantic population and comprehensive electrical energy consumption have made power crisis one of the gravest national problems in the developing countries like Nigeria. Excessive demand of power is always difficult to meet and as a result national economy is being hampered severely due to this deregulation of electricity. Alternative power sources that can deliver output currents in absence of grid supply are now automatic choices in home grid-connected system. In urban areas, IPS (Instant Power Supply) system is being used massively to cope up with load shedding. Increasing interest and investment in renewable energy give rise to rapid development of high penetration solar energy. There are multiple ways to interface PV arrays with the power grid. Solar energy has become a promising alternative source because it has many advantages such as abundance, pollution free and renewability. The solar photovoltaic (PV) power will play an important role in alleviating the energy crisis and reducing the environmental pollution and has a bright prospect of applications. Due to the nonlinear relationship between the current and the voltage of the photovoltaic cell, it can be observed that there is a unique maximum power point (MPP) at a particular environment, and this peak power point keeps changing with solar illumination and ambient temperature. In recent years, a large number of techniques have been proposed for maximum power point......

Words: 1799 - Pages: 8

Free Essay

Kendali Kecepatan Motor Dc Menggunakan Sistem Kendali Pid

...analog, diantaranya yaitu aksi kontrol proporsional, aksi kontrol integral dan aksi kontrol derivative . Masing-masing aksi kontrol ini mempunyai keunggulan-keunggulan tertentu, dimana aksi kontrol proporsional mempunyai keunggulan risetime yang cepat, aksi kontrol integral mempunyai keunggulan untuk memperkecil error , dan aksi kontrol derivative mempunyai keunggulan untuk memperkecil derror atau meredam overshot/undershot. Untuk system orde satu, pengaturan konstanta – konstanta PID cukup mudah untuk dilakukan. Namun untuk system orde dua dan di atasnya , pengaturan konstanta-konstanta PID sangat sulit dan memerlukan tenaga ahli atau berpengalaman dalam melakukannya. Pada makalah ini akan dibahas penggunaan sistem kontrol PID dengan menggunakan logika fuzzy pada motor DC. 1.2 Perumusan Masalah Dalam perkembangan saat ini, alat-alat pada suatu industri membutuhkan suatu sistem kontrol dengan kecepatan tinggi dan keakuratan data output, maka pemakaian aksi kontrol PID mungkin masih dianggap kurang memuaskan . Sebab jika menggunakan aksi kendali PID didapatkan jika suatu kontroler di set sangat sensitif, maka overshot/undershot yang dihasilkan akan semakin peka, sehingga osilasi yang ditimbulkan akan lebih tinggi , sedangkan bila kontroler di set kurang peka maka terjadinya overshot/undershot dapat diperkecil, tetapi waktu yang dibutuhkan akan semakin lama, dan ini akan menjadikan suatu masalah dalam suatu proses industri. Oleh karena itu dikembangkan metoda......

Words: 2176 - Pages: 9