Simulink

In: Other Topics

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

Similar Documents

Power Electronics

...point. In order to reduce high frequency noises, an averaging filter has been applied in the micro controller software. Different parameters such as temperature and electrical loading are simulated by MATLAB/SIMULINK software and also implemented with experimental unit on single cell. The simulation results of dynamic model as well as the implementation results indicate that the proposed control scheme works very well. 1. Introduction A large number of researches have been conducted to manage the control system for different types of fuel cell. Alfredo et al. [1] developed a control system for portable PEM fuel cell. The control system will guarantee the correct performance of the stack around is optimal operation point this means that the air flow and the stack temperature are controlled to correct value. Shaw et al. [2] presented a system that provides continues PEMFC electrical terminal monitoring under realistic load profiles. The data collected in this will ultimately establish electrical terminal diagnostics for fuel cell for reliable fuel cell operation. In this work, a single cell of PEM fuel cell is designed and fabricated using a MEA with 100 cm2 active area (10 cm × 10 cm). According to the modeling and simulation of the fuel cell system conducted in MATLAB/SIMULINK under different temperatures it can be concluded that the fuel cell performance is directly influenced by the temperature. A temperature control system has also been designed and fabricated in order to......

Words: 3037 - Pages: 13

Matlab Ders Notu

... MATLAB TANITIM • Matlab, araştırma ve mühendislik alanlarında karşılaşılan problemlere pratik ve hızlı sonuçlar sunmaktadır. • Bu nedenle Matlab, tüm dünyada binlerce endüstri, devlet ve akademik kurumlarda kullanılmaktadır. Özellikle tüm üniversitelerde yaygın olarak kullanılmaktadır. • Matlab kullanıcı şirketler arasında – Dünyada Boeing, DaimlerChrsyler, Motorola, NASA, Texas Instruments, Toyota ve Saab vb, – Ülkemizde ise Aselsan, Tofaş, Arçelik, Siemens, Alcatel, Garanti Bankası, Deniz Kuvvetleri, vb.. şirketler verilebilir. 5 MATLAB TANITIM Matlab programı altında kullanacağımız temel araçlar: - Komut Penceresi - Programlama (M-file  *.m) - Grafik (Figure  *.fig) - Grafik Arayüzlü Programlar (GUI  *.fig) - Simulink (Model  *.mdl) ve Blockset Modülleri - Toolbox (Araç Kutusu) Modülleri (Fuzzy, Neural,Statistic vb.) - Microsoft ExcelMatlab - Matlab Web-Server - xPC Target ve xPC Target Embedded - Stateflow, Real-Time Workshop, Real-Time Windows Target 6 3 MATLAB TANITIM • Matlab programı lisanslı bir yazılımdır bu nedenle ücretli olarak satın alınmalıdır. • Bir çok üstünlüklerine ve yaygın kullanım alanlarına oranla iki dezavantajı vardır: Yavaş çalışır. Fiyatı diğer eşdeğerlerine göre pahalıdır. 7 MATLAB TEMEL KULLANIM Matlab Kullanımında Temel Kurallar: • Programın dili ve yardım bilgileri tamamen ingilizcedir. • Komut temelli yazılımdır. • Küçük-büyük harf ayrımı vardır. Dicle ve dicle farklı algılanır. •......

Words: 1728 - Pages: 7

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

Words: 7147 - Pages: 29

Bouncing Ball Model: Use of Zero-Crossing Detection

...the third trial, by increasing the first initial velocity in 2.5 folds, the amplitude and the time offset is increased by approximately by 6.5 folds and 2.5 folds respectively. This illustrates that as the initial velocity of the ball incremented the amplitude and the time offset of the bouncing ball increase simultaneously. Figure 3: Simulink Model with 15 m/s velocity Figure 4: Velocity and Displacement plot with 15 m/s velocity Figure 5: Simulink Model with 15m/s velocity Figure 6: Velocity and Displacement plot with 20 m/s velocity Figure 7: Simulink Model with 50 m/s velocity Figure 8: Velocity and Displacement plot with 50 m/s velocity Initial Position Figure 9: Simulink Model with 10 m initial position Figure 10: Velocity and Displacement plot with 10 m initial position The height at which the rubber ball was dropped from initially was 10m as shown in Figure 2 and 3. At the 10m drop the graph showed a first bounce after 3.62 seconds which reached 0m(the ground) and bounced to a height of 13.74m at 5.3 seconds. It continued bouncing for about 12-13 times before coming to a stop. Figure 11: Simulink Model with 50 m initial position Figure 12: Velocity and Displacement plot with 50 m initial position When I changed the height from 10m to 30m as shown if Figure 4 and 5, the graphshowed the first bounce at 4.44 seconds which reached 0m and bounced to a height of 26.5m at 6.8 seconds. It continued bouncing for about 8-9 times before......

Words: 3081 - Pages: 13

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

Words: 3882 - Pages: 16

Control of Bldc Motor

...proportional-integral-derivative (PID) controller and Fuzzy proportional-integral-derivative controller. This paper provides an overview of performance conventional PID controller and Fuzzy PID controller. It is difficult to tune the parameters and get satisfied control characteristics by using normal conventional PID controller. As the Fuzzy has the ability to satisfied control characteristics and it is easy for computing, In order to control the BLDC motor, a Fuzzy PID controller is designed as the controller of the BLDC motor. The experimental results verify that a Fuzzy PID controller has better control performance than the conventional PID controller. The modelling, control and simulation of the BLDC motor have MATLAB/SIMULINK. been done using the software package v ACKNOWLEDGEMENT I wish to express my deep sense of gratitude and hearted thanks to Dr.M.SARAVANAKUMAR, M.B.A., Ph.D., Regional Director, Anna University, Regional Centre Coimbatore, for providing necessary facilities in the university to complete my project work successful. I would like to thank Dr.S.N.DEEPA, M.E., Ph.D., and Head of the Department, Electrical and Electronics Engineering for her kind support and for providing necessary facilities to carry out the work. I would like to express my sincere thanks and deep sense of gratitude to my gifted guide Mr.P.HARI KRISHNAN, M.E., Assistant Professor, Department of Electrical and Electronics......

Words: 7692 - Pages: 31

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. Схема в......

Words: 957 - Pages: 4

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

Words: 1833 - Pages: 8

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 interaction with the physical system. Algorithms described in this report were successful and consistently produced the desired results. This report serves as a guide to the current working system and as background information on the inverted pendulum. Thesis Supervisor: David L. Trumper Title: Associate Professor of Mechanical Engineering 2 Table of Contents 1. Introduction ....................................................................................................... 1.1 Purpose ......................................................................................................... 1.2 Project Overview......

Words: 6866 - Pages: 28

Eng3104 Assignment3

...Vmin , starting with an initial condition of vc = 0 and assuming that the system never enters the discharging phase. Use the following methods to simulate the system: (i) Euler’s method in Simulink (ii) ode45 in Simulink (iii) ode23 in Simulink Note that for part (a), only moderate accuracy is required for the simulation (it is not necessary to precisely simulate vc unless its smallest value is very close to Vmin ). 3.2 Requirements For this assessment item, you must produce MATLAB code and Simulink modules which: 1. Simulate Eqs. (1)–(4) using the three methods listed in MATLAB. 2. Plots the simulated vc(t) for each method, clearly indicating the value of Vmin on each graph. Non-dimensionalise the value of time by multiplying by f ; non-dimensionalise the voltage using (vt − 2Vd ). Non-dimensionalisation allows you to compare cases of different scale directly because the results are proportional to the non-dimensionalising parameter. 3. Displays a message in the Command Window stating whether vc(t) is always greater than Vmin for each of the methods. 4. Simulates Eq. (1) using Simulink. 5. Produces a plot using Simulink showing when vc(t) reaches Vmin . 6. Displays within Simulink when vc(t) reaches Vmin . 7. Produces output to MATLAB so that MATLAB can report to the Command Window the simulated times for vc(t) to reach Vmin . 8. Has appropriate comments ......

Words: 2360 - Pages: 10

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

Words: 510 - Pages: 3

Endnote Analysis

...engineering. A connectivity package is a collection of specific protection and control terminal software and information, an IED (Intelligent Electronic Devices). Connectivity package manager can help you choose a different system products and tools are properly connected version of the package. Connector Package Manager is included in products supporting the connectivity concept. Question 2 Use Matlab Simulink to calculate the fault currents for the system shown in Figure 13, when a 3-phase balanced fault is applied at TP20. The parameters of the system are listed in the table below. Note the voltage and current/capacity are in the unit of kV or kA/MVA to ensure a normal operation in Simulink. The calculated results can be scaled down accordingly to compare with the measurements in the lab. The base values used for PSS are Base Volt: 415/220/110 V (line voltage) Base power: 2kVA Base currents: 2.78/5.25/10.5 A Base impedance: 86/24.2/6.05 Ω. The Simulink model can be download from the blackboard of UoS. Fill out the parameters for each module in the Simulink file. The zero sequence impedance of line 2 can be taken as 3~4 times of current series one. The fault duration can be set as 15~20 cycles of the power frequency. The circuit breaker is open immediately after the fault. Commented [G3]: Inserted: s Commented [G4]: Inserted: ri System components Line volts (kV) 3-phase MVA Xpu Rpu Grid source 415 S.C.......

Words: 1347 - Pages: 6

Eng3104 Assignment3

...Vmin , starting with an initial condition of vc = 0 and assuming that the system never enters the discharging phase. Use the following methods to simulate the system: (i) Euler’s method in Simulink (ii) ode45 in Simulink (iii) ode23 in Simulink Note that for part (a), only moderate accuracy is required for the simulation (it is not necessary to precisely simulate vc unless its smallest value is very close to Vmin ). 3.2 Requirements For this assessment item, you must produce MATLAB code and Simulink modules which: 1. Simulate Eqs. (1)–(4) using the three methods listed in MATLAB. 2. Plots the simulated vc(t) for each method, clearly indicating the value of Vmin on each graph. Non-dimensionalise the value of time by multiplying by f ; non-dimensionalise the voltage using (vt − 2Vd ). Non-dimensionalisation allows you to compare cases of different scale directly because the results are proportional to the non-dimensionalising parameter. 3. Displays a message in the Command Window stating whether vc(t) is always greater than Vmin for each of the methods. 4. Simulates Eq. (1) using Simulink. 5. Produces a plot using Simulink showing when vc(t) reaches Vmin . 6. Displays within Simulink when vc(t) reaches Vmin . 7. Produces output to MATLAB so that MATLAB can report to the Command Window the simulated times for vc(t) to reach Vmin . 8. Has appropriate comments ......

Words: 2360 - Pages: 10

334 Lab

...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 gains analytically and validate the control by monitoring the motor response for different desired trajectories * To design a PID controller for the actual DC motor using Ziegler-Nichols’ method and compare the performance with that of the PD controller methods (i) WEEK 1 Firstly, the 64-bit MATLAB is launched. Using Simulink, a Simulink model is created based on the figure provided in the lab manual (week 1). The Simulink model has a step, motor transfer function and scope. Under “Solver Options”, the Type is changed to “Fixed stepped”, Solver is changed to “ode4(Runge-Kutta)” and the fixed step size is set to be 0.001. In the “Transfer Fcn” of the Simulink, the......

Words: 2499 - Pages: 10

Design and Implementation of Solar System Simulation

...grid, the effects on the grid may be quite severe. Therefore, the system operation and system stability under fault conditions should be examined when PV modules are interface with power grid. A micro PV system structure in which two PV modules connected in series is considered and it provides an output power of nearly 160 Watts. To address the micro PV system structure, this project work proposes a novel MPPT algorithm, which is based on the improved research on the characteristics of the PV array to track the global MPP even under non-uniform insulation. Battery charging and discharging is done using BDC (Bidirectional converter). BDC is operated in three modes namely; Buck Boost and Bidirectional. The algorithm was verified with MATLAB/SIMULINK that it can track the real MPP very fast when the temperature changes. The closed loop operation of proposed system is verified with MATLAB simulations including Load and source disturbances. Simulation of modern electrical systems using power electronics has always been a challenge because of the nonlinear behavior of power switches, their connection to continuous sub-systems and the design of discrete-time control (Blaabjerg, 2002). Nowadays, more and more complex systems are studied for designing efficient control strategies, such as renewable energy conversion systems (Bialasiewicz & Muljadi, 2006), whole traction systems and so on. It implies that an efficient simulation before practical control implantation is......

Words: 1799 - Pages: 8