Free Essay

Simulink

In:

Submitted By zaidimisni88
Words 1059
Pages 5
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 – D = 0.5 and Red – D = 1)
4.0 Experiment 4 – Effect of Deadtime

Figure 4: Simulink setup for Experiment 4

Graph 10: Graph from value P = 0.02, I = 0.01, D = 0 and time delay 5

Graph 11: Graph from value P = 0.02, I = 0.01, D = 0 and time delay 7

Graph 12: Graph from value P = 0.02, I = 0.01, D = 0 and time delay 9

Graph 13: From combining Graph 10-12 to compare the result. From the simulation, the value of time delay in PID causes the graph change. Increasing the value of time delay makes the graph become more unstable. (Graph 10 – Blue, Graph 11 – Green and Graph 12 – Red)

5.0 Discussion
The PID control algorithm is made of three basic responses, Proportional (or gain), integral (or reset), and derivative. Proportional control applies an effort in proportion to how far you are from the set point. Integral control tries to even out the difference of the time spend on both sides of the line .Derivative acts as a brake or dampener on the control effort. The more the controller tries to change the value, the more it counteracts the effort.
PID controller also has all necessary dynamics which is fast reaction on change of controller input (D mode), increase in control signal to lead error towards zero (I mode) and suitable action inside control area to eliminate oscillation (P mode). In this experiment, the system use digital control system. In digital control system in simulink, adjust the sample time equal to 1 whereas in analog control system the sample time is equal to -1 and the save format for both systems is array. In a digital control system, an integral control systems computes the error from measured output and user input to a program and integrates the error using some standard integration algorithm, then generates an output control signal from the integration. For analog control system, it is mean by an integral control system integrates the error signal to generate the control signal. If the error signal is a voltage and the control signal is also a voltage, then a proportional control is just an analog integrator. Controllability is the ability of a process to achieve acceptable performance. Derivative in PID controller used for control the process in order to know how far PV, (measured process variable) from any instant in time. Other than that, the derivative action will stabilize the controlled response as shown in plotted graph, allowing higher gains and shorter the integral time constant to be used.
From Experiment 1, the integral and derivative value is remain fixed and by increasing the value of P which starting from 0.05, 0.1 and 0.2, the controller action become slower, which in turn slows down the process response. The graph also more stable when increasing the P value. Hence, it can be conclude that from Experiment 1, increasing the value for P in PID controller makes the system more stable.
From Experiment 2, the value for proportional and derivative time is remain fixed and only by decreasing the value of I from 0.01 to 0.001 and 0.0005, the controller action also become slower, which in turn slow down the process thus makes the graph more stable. Hence, it can be conclude that from Experiment 2, decreasing value for I in the PID controller makes the system more stable.

One of the effect adding and adjust the derivate action is that the overshoots on controlled responses can be restricted. As we know, the derivative action used to provide improvement in controlled responses not commonly used in the industrial process. Based on Experiment 3, we can conclude when there are increased of PV, so there are some changing in time. Hence, increasing the value of derivative time from 0 to 0.5 and 1 will make the graph more stable.
From Experiment 4, the PID controller must wait until the dead time has passed before it gets any feedback from the process. Dead time is the time taken for the PID to start getting any feedback from the process. Dead time will delay the time to take reading for PID controller. Hence, the increasing of dead time from 5 to 7 and 9 will increase the feedback from passed. The best thing to do for controlling this type of process is by reducing the dead time. Increasing the dead will produce the unstable graph as shown in Experiment 4. As suggestion, simply moving a probe closer to the valve may reduce the dead time.

Similar Documents

Free Essay

No Title

...Stateflow Default Report The MathWorks Stateflow Default Report : by The MathWorks Table of Contents 1. sf_car 000 Chart - shift_logic 000 List of Tables 1-1. Event Properties 000 1-2. Data Properties 000 Chapter 1. sf_car Table 1-1. Event Properties Name | Description | Parent | Scope | Trigger | DOWNSHIFT21 | | shift_logic [000] | LOCAL | EITHER_EDGE | DOWNSHIFT32 | | shift_logic [000] | LOCAL | EITHER_EDGE | DOWNSHIFT43 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT12 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT23 | | shift_logic [000] | LOCAL | EITHER_EDGE | UPSHIFT34 | | shift_logic [000] | LOCAL | EITHER_EDGE | Table 1-2. Data Properties Name | Description | Parent | Scope | Units | Range | Data Type | Tconfirm | | sf_car [000] | CONSTANT | | | double | Tconfirm | | shift_logic [000] | CONSTANT | | | double | down_threshold | | shift_logic [000] | LOCAL | | | double | gear | | shift_logic [000] | OUTPUT | int | 1...4 | double | tdn | | shift_logic [000] | LOCAL | | | double | throttle | | shift_logic [000] | INPUT | double | | double | tup | | shift_logic [000] | LOCAL | | | double | up_threshold | | shift_logic [000] | LOCAL | | | double | vehicle_speed | | shift_logic [000] | INPUT | double | | double | Chart - shift_logic Machine | sf_car | Charts | shift_logic [000] | Created By | Unknown | Version...

Words: 670 - Pages: 3

Free Essay

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

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

Words: 510 - Pages: 3

Free Essay

A Dsp Controller

...Abstract—This paper presents a framework for rapid remote experiment implementation in the field of automatic control. The proposed solution is based on in-house developed embedded control hardware and two commercially available software packages. MATLAB/Simulink is used for rapid experiment control algorithm development, while LabVIEW is used for the user front-end and remote control. A combination of presented hardware and software solutions enables the rapid and easy creation of different interactive remote control experiments. Using this solution, a digital-signal-processor-based remote control laboratory for teaching purposes has been realized. This remote laboratory enables the remote users to easily interact with a set of physical control experiments through the Internet. In the friendly user interface, the remote user can change predefined system parameters and observe system response in textual, graphical, or video format. In addition, this remote laboratory includes a booking system, which enables remote users to book experiments in advance. Index Terms—Automatic control, booking system, dc motors, digital signal processor (DSP), embedded systems, engineering education, LabVIEW, MATLAB, real-time workshop (RTW), remote laboratories, simulink. I. I NTRODUCTION FFICIENT learning in the engineering field requires a mixture of theoretical and practical exercises. Therefore, laboratory experiments play, and will certainly play, an important role in control-engineering education [1]....

Words: 7147 - Pages: 29

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 No.710012428003 ...

Words: 7692 - Pages: 31

Free Essay

Human Step Detection and Counting with a Microphone (June 2015)

...such as footsteps and that is done for various reasons such as security or just for lightning a lamp automatically. We developed a Simulink model in Matlab to simulate a system that analyses the footsteps of three 25 years old men. Those men had different heights and weights. The data were recorded and analyzed using filtering and conditioning blocks of Matlab. The System collected 3 sets of steps. The first set had 5 steps with 5 detections. The second set had 8 steps with 3 detection and the third set had 4 steps with 1 detections. In total, there were 17 steps where 9 steps were detected. I. C. Procedure During the first part of the experiment, the footsteps were recorded on the main corridor of the first floor of the house 21, located in the University of Kristianstad. We also recorded the steps at our respective houses. The experiment was carried on a floor without carpet to allow a better collection of the data. This procedure was repeated several times, until satisfactory data without much noisy could be acquired. INTRODUCTION T HE objective of this work was to detect the steps of a person using a microphone array embedded in our computer together with the Simulink library of Matlab. We have some background of the idea after reading a few articles regarding this type of experiments. Fig. 1. Simulink models used to record the steps In the articles we read, the experiment was connected to fall detection. Whereas we experimented...

Words: 1833 - Pages: 8

Free Essay

334 Lab

...ethical behavior in engineering practice and the seriousness of plagiarism. I am pleased to confirm that this work is our own independent effort. All of the data processing and graph preparation is our own. We prepared the written text in this report independently and we did not copy the work of anyone else into our report. Signature #1: JEEVAN SUPARMANIAM Lab Manual & Title Sheet | | 5% | MATLAB Development | | 10% | Notebook Review | | 10% | Post Lab Oral Presentation | | 25% | Results | | 25% | Discussion of Results | | 15% | Quality | | 10% | Total Score | | 100% | Objectives Week 1 * To model DC motor velocity as first and second order systems and simulate with Simulink * To simulate PD closed loop controller using Simulink Week 2 * To develop an understanding of the basic Quanser Inc., QuaRC Software servo motor software and hardware setup and connections * To quantify the values of K and τ from the experimental data using the MATLAB curve fitting toolbox and from the time series graph * To develop an understanding of how the system responds to different input signals Week 3 (&4) * To study the transient characteristics of a typical second order system and evaluate model or system responses * To analyze the effects of proportional-, derivative- and integral- control individually and in combination on the closed loop response of motor * To solve a position control problem by calculating the PD controller...

Words: 2499 - Pages: 10

Free Essay

Eng3104 Assignment3

...ENG3104 Assignment3 Click Link Below To Buy: http://hwcampus.com/shop/eng3104-assignment3/ Assessment: Assignment 3 Due: 2015 Marks: 300 1 (worth 40 marks) 1.1 Introduction To assess how useful the wind power could be as an energy source, use the file ass2data.xls to calculate the total energy available in the wind for each year of data. 1.2 Requirements For this assessment item, you must produce MATLAB code which: 1. Calculates the total energy for each of the years. 2. Reports to the Command Window the energy for each year. 3. Briefly discusses whether there is any trend in the results for annual energy production. 4. Has appropriate comments throughout. You must also calculate the total energy for the first four hours of power data (i.e. over the first five data entries) by hand to verify your code; submit this working in a pdf file. Your MATLAB code must test (verify) whether the computed value of energy is the same as calculated by hand. 1.3 Assessment Criteria Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method/code will receive full marks. Quality of the code 5 marks Quality of header(s) and comments...

Words: 2360 - Pages: 10

Free Essay

Inverted Pendulem

...Department of Mechanical Engineering Standup and Stabilization of the Inverted Pendulum by Andrew K. Stimac Submitted to the Department of Mechanical Engineering on May 5, 1999, in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Mechanical Engineering. Abstract The inverted pendulum is a common, interesting control problem that involves many basic elements of control theory. This thesis investigates the standup routine and stabilization at the inverted position of a pendulum-cart system. The standup routine uses strategic cart movements to add energy to the system. Stabilization at the inverted position is accomplished through linear state feedback. Methods are implemented using the Matlab Simulink environment, with a dSPACE DSP controller board for...

Words: 6866 - Pages: 28

Free Essay

Kmesfksdl; Mlsd;

...Министерство образования и науки Российской Федерации Федеральное государственное автономное образовательное учреждение высшего образования «НАЦИОНАЛЬНЫЙ ИССЛЕДОВАТЕЛЬСКИЙ ТОМСКИЙ ПОЛИТЕХНИЧЕСКИЙ УНИВЕРСИТЕТ» ______________________________________________________________ Энергетический институт Направление подготовки 140400 Электроэнергетика и электротехника Кафедра электропривода и электрооборудования ОТЧЕТ ПО ЛАБОРАТОРНОЙ РАБОТЕ №4 Тема работы | «СРЕДА ВИЗУАЛЬНОГО МОДЕЛИРОВАНИЯ MATLAB/SIMULINK»Вариант 10 | Студент Группа | ФИО | Подпись | Дата | 5А34 | Жали Рустем Кайратулы | | 11.05.2015 | Проверил преподаватель: ФИО | Подпись | Дата | Воронина Наталья Алексеевна | | 11.05.2015 | Томск – 2015 г. Цель работы:изучение возможностей среды визуального моделирования «MATLAB/Simulink» для моделирования электротехнических устройств. Задание 1. В среде МatlabSimulink получить графики переходных процессов на входе и выходе модели заданной принципиальной схемы при питании от источника переменного напряжения на холостом ходу. Пусть задана принципиальная схема фильтра низких частот, изображенная на рис.1. Рисунок 1. Схема фильтра Фильтр имеет следующие параметры: L1=5 мГнR1=1 ОмC1=10 мкФL2=10 мГнR2=100 ОмC2=0.1 мкФRн=9 кОм. В среде МatlabSimulink получить графики переходных процессов на входе и выходе модели заданной принципиальной схемы при питании от источника переменного напряжения на холостом ходу: Рисунок 2. Схема в МatlabSimulink ...

Words: 957 - Pages: 4

Free Essay

Bouncing Ball Model: Use of Zero-Crossing Detection

...Group Simulation Model Analysis Bouncing Ball Model: Use of Zero-Crossing Detection 2012 Executive Summary In the system of a bouncing ball there are many factors which influence how the ball bounces. The 5 main components which affect how high the ball will bounce include the initial position of the ball, the initial velocity of the ball, the elasticity of the ball, the gravity of the selected area, and also the temperature of the material in which the ball was made from. These 5 major components of the basic system determine how high the ball bounces and how much energy was lost in the process of bouncing as well as allowing us to determine the relationship between these components and how each of these affects the overall system as a whole. However by changing these components of the system, it will dramatically change the overall results. In the system of a bouncing ball there already at secondary school level, illustrates Newton’s laws of motion and concepts of gravitational energy and kinetic energy with examples of objects dropped or thrown vertically and contains investigative activities about falling objects, the physics and mathematics. The fives main components which affect how high the ball will bounce they are initial position, the initial velocity, the elasticity, the gravity and the temperature of the material in which the ball was made from. These five major components of the basic system determine how high the ball bounces and how much energy...

Words: 3081 - Pages: 13

Free Essay

Eng3104 Assignment3

...ENG3104 Assignment3 Click Link Below To Buy: http://hwcampus.com/shop/eng3104-assignment3/ Assessment: Assignment 3 Due: 2015 Marks: 300 1 (worth 40 marks) 1.1 Introduction To assess how useful the wind power could be as an energy source, use the file ass2data.xls to calculate the total energy available in the wind for each year of data. 1.2 Requirements For this assessment item, you must produce MATLAB code which: 1. Calculates the total energy for each of the years. 2. Reports to the Command Window the energy for each year. 3. Briefly discusses whether there is any trend in the results for annual energy production. 4. Has appropriate comments throughout. You must also calculate the total energy for the first four hours of power data (i.e. over the first five data entries) by hand to verify your code; submit this working in a pdf file. Your MATLAB code must test (verify) whether the computed value of energy is the same as calculated by hand. 1.3 Assessment Criteria Your code will be assessed using the following scheme. Note that you are marked based on how well you perform for each category, so the correct answer determined in a basic way will receive half marks and the correct answer determined using an excellent method/code will receive full marks. Quality of the code 5 marks Quality of header(s) and comments...

Words: 2360 - Pages: 10

Premium Essay

Synchronous Machine Case Study

...Transient Behavior of Synchronous machine using Matlab/Simulink Babita Chauhan1 , Rachit Saxena2 M.tech scholar, Electrical,RCEW,Jaipur,India1 Assistant professor, Electrical,RCEW,Jaipur,India2 Abstract –The requirement of electricity is increasing at an alarming rate but the running demand of power is ahead of its supply. More the demand more generation. Due to increase generation, synchronism between different parts of power system has become difficult. In this research paper firstly the behavioral study of synchronous machine with PID controller and discrete filter is carried out of transfer by aid transfer function and In the second step point-by-point method using simulink show the transient behavior of the synchronous machine. The...

Words: 1397 - Pages: 6

Premium Essay

Endnote Analysis

...ELEC5208 Intelligent Electricity Networks Pre-lab 2 SCADA System - Faults in Unloaded System Question 1 Due to the Micom meters and replays in the PSS1, Micom S10 is used as the IED user software. Please take some research to find if there is any other IED user software used in current electric utilities to implement system automation, such as from ABB, Schneider, etc. Present another three examples, compare and comment on their features. Are there any special features required for distribution system comparing with transmission system? Answer: 1. The first example comes from Schneider Electric. The software is called microcom S1 studio Microcom S1 Studio Schneider Electric universal IED support software, to provide users with all of the IED configuration and record global data access. The studio is set automation products computer software S1 significant progress. The studio makes the user's life provides an integrated configuration and monitoring tools more easily. It integrates intuitive file management facilities and flexible user interface. The software provides access to PX20, PX30 and PX40 Series MICOM protection IED, and other IED. Features include: a.File management b.Send and extract the settings file c.Event extraction and analysis and fault recording d.Real time measurement visualization e.Programmable scheme logic editor f.Device text editor g.Bay Configurations h.IEC 61850 IED configuration MICOM S1 Studio software by providing...

Words: 1347 - Pages: 6

Free Essay

Matlab Ders Notu

...MATLAB Giriş Mehmet Siraç ÖZERDEM EEM - Dicle Üniversitesi Bilgisayar Programlama MATLAB TANITIM MATLAB NEDİR? MATLAB®(MATrix LABoratory – Matris Laboratuarı), temel olarak teknik ve bilimsel hesaplamalar için yazılmış yüksek performansa sahip bir yazılımdır. 1970’lerin sonunda Cleve Moler tarafından yazılan Matlab programının tipik kullanım alanları: – Matematiksel (nümerik ve sembolik) hesaplama işlemleri – Algoritma geliştirme ve kod yazma yani programlama – Lineer cebir,istatistik,Fourier analizi,filtreleme,optimizasyon,sayısal integrasyon vb. konularda matematik fonksiyonlar – 2D ve 3D grafiklerinin çizimi – Modelleme ve simülasyon (benzetim) – Grafiksel arayüz oluşturma – Veri analizi ve kontrolü – Gerçek dünya şartlarında uygulama geliştirme şeklinde özetlenebilir. 2 1 MATLAB TANITIM - Matlab, ABD menşeli The Mathworks Inc. şirketinin tescilli adıdır. Web adresi: http://www.mathworks.com - Matlab’in Türkiye temsilcisi Bursa merkezli Figes firmasıdır. Web adresi: http://www.figes.com.tr 3 MATLAB TANITIM MATLAB, matematik-istatistik, optimizasyon, neural network, fuzzy, işaret ve görüntü işleme, kontrol tasarımları, yöneylem çalışmaları, tıbbi araştırmalar, finans ve uzay araştırmaları gibi çok çeşitli alanlarda kullanılmaktadır. MATLAB, kullanıcıya hızlı bir analiz ve tasarım ortamı sağlar. • Matlab programını C/C++ diline dönüştürebilir, • 20. dereceden bir denklemin köklerini bulabilir, • 100x100 boyutlu bir matrisin...

Words: 1728 - Pages: 7

Premium Essay

Solar System

...Simulation of 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: rfadaein@ieee.org ‡ 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...

Words: 3882 - Pages: 16