Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments 1.9.1-9.5 Practice Problems.

Slides:



Advertisements
Similar presentations
1 Application Software Course Simulink By: Mahdi Akbari 2010.
Advertisements

1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
For System Dynamics & Control
Lecture 3: Signals & Systems Concepts
Chapter 4 Modelling and Analysis for Process Control
ENGR-25_Lec-25_SimuLink-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
LabVIEW Introduction Alan Jennings.
Simulink Overview: open simulink to open simulink Library Browser.
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
475 Wall Street, Princeton NJ Introduction to PSCAD © 2012 Nayak Corporation Inc. 1.
Comm Operator Introduction Serial Port Tool
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
SIMULINK Dr. Samir Al-Amer. SIMULINK SIMULINK is a power simulation program that comes with MATLAB Used to simulate wide range of dynamical systems To.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
1 Simulink Create a model in Simulink Run simulation from Simulink Invoke simulation from a MATLAB script Create a subsystem Create a testbed for testing.
Simulink ® From Simulink® 7 Getting Started Guide.
ME 270 Final Project Presentation Operational Amplifiers.
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
ECE 8443 – Pattern Recognition EE 3512 – Signals: Continuous and Discrete Objectives: First-Order Second-Order N th -Order Computation of the Output Signal.
Fundamentals of Power Electronics and Power System with MATLAB
Simulink ® Interface Course 13 Active-HDL Interfaces.
Introduction to Simulink Dr. Mohammed F. Alsayed.
Simulink ® Interface Course 13 Active-HDL Interfaces.
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
Control Theory Lab 4 Modeling of Physical-SİMULİNK.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2. Lecture Overview What is Simulink? How to use Simulink  Getting Start with Simulink  Building a model Example.
MATLAB for Engineers 4E, by Holly Moore. © 2014 Pearson Education, Inc., Upper Saddle River, NJ. All rights reserved. This material is protected by Copyright.
Very Short Simulink Tutorial In the Matlab command window write simulink. The window that has opened is the Simulink Library Browser. –It is used to choose.
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
Introduction to MATLAB for Engineers Third Edition William J. Palm III Chapter 10 Simulink PowerPoint to accompany Copyright © The McGraw-Hill Companies,
EE 460 Advanced Control and System Integration
SIMULINK-Tutorial 1 Class ECES-304 Presented by : Shubham Bhat.
Department of Mechanical Engineering, LSUSession VII MATLAB Tutorials Session VII Introduction to SIMULINK Rajeev Madazhy
DC Motor Speed Modeling in Simulink
Lecture 2: Measurement and Instrumentation. Time vs. Frequency Domain Different ways of looking at a problem –Interchangeable: no information is lost.
EE3417 – Introduction to Simulink
Modeling of Power Converters using Matlab and Simulink
Intro to Simulink April 15, Copyright , Andy Packard. This work is licensed under the Creative Commons.
Simulink Simulink is a graphical extension to MATLAB for modeling and simulation of systems. In Simulink, systems are drawn on screen as block diagrams.
INTRODUCTION TO SIMULINK by Yasmin Hanum Md Thayoob & Aidil Azwin Zainul Abidin.
Getting started with MATLAB/Simulink
Simulink  ? 1 Simulink  ( Simu lation and Link ) is an extension of Matlab Offers modeling, simulation, and analysis of dynamical systems; i.e., a system.
Introduction to Matlab Module #10 Page 1 Introduction to Matlab Module #10 – Creating Graphical User Interfaces Topics 1.Overview of GUI Development using.
MATLAB and SimulinkLecture 21 To days Outline Introduction to Simulink Block diagrams Building models Exercises on today’s topics.
Intro to Simulink Modified by Gary Balas 20 Feb 2011 Copyright , Andy Packard. This work is licensed under.
Óbudai Egyetem Dr. Neszveda József Open and Closed loop Control II. Block diagram model.
MATLAB (Matrix Algebra laboratory), distributed by The MathWorks, is a technical computing environment for high performance numeric computation and.
STEP-1 START PROTEUS Click on START button and you will get “ Proteus 7 professional “  Install Lab Center Proteus in the PC.  After Successful installation.
HossamTalaat - MATLAB Course - KSU - 17/08/14231 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink (part 2) By Prof. Hossam.
Getting started with Simulink
Simulink Modelling Tutorial In Simulink, it is very straightforward to represent a physical system or a model. In general, a dynamic system can be constructed.
Getting started with Simulink An introductory tutorial.
 Types of communication systems ◦ Coaxial (Wired) ◦ Microwave (Wireless) ◦ Satellite (Wireless) ◦ Cable (Wired) ◦ Cellular (Wireless)
WORKSHOP 1 CO-SIMULATION.
VAB™ for INFINITY Tutorial
- Graphical extension to MATLAB for modeling and simulation of systems
ECE 1270: Introduction to Electric Circuits
State Space Representation
SIMULINK LOGIKA DAN PEMROGRAMAN KOMPUTER Wayan Nata Septiadi, ST
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Simulink Basics Reijo Vuohelainen
Licensed Electrical & Mechanical Engineer
OptiSystem-MATLAB data formats (Version 1.0)
Automatic Control System
OptiSystem-MATLAB data interchange model and features
Fundamental Operation
Getting Started With Simulink
State Space Analysis UNIT-V.
State Space Method.
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Presentation transcript:

Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems 1.9.1, 9.3, 9.6, 9.31

Introduction to Matlab Module #9 Page 2 1) Simulink Starting Simulink - type simulink at the prompt >> simulink - File – New – Model - Model files are saved as.mdl - The Simulink Library contains built in components that can drag-n-dropped in your library file

Introduction to Matlab Module #9 Page 3 1) Simulink Starting Simulink - Simulations can be setup using the pull-down menu: Simulation –Configuration Settings - This is similar to a SPICE simulation where you specify start time, stop time, step size.

Introduction to Matlab Module #9 Page 4 1) Simulink Starting Simulink - The Scope block can be used to view the analog diagrams of signals within the block diagram. - Connections are made by clicking-and-holding on the block ports and dragging to the destination block OR by selecting the source block, holding the cntl-key, then clicking on the destination block - Parameters of each block can be set by double-clicking on the component - A simulation is ran by pressing the Play button

Introduction to Matlab Module #9 Page 5 1) Simulink Starting Simulink - after the simulation ends, you can double-click on the Scope block to see the waveform.

Introduction to Matlab Module #9 Page 6 1) Simulink Calculus Operations, Feedback, and Gain - The summing component is used for positive and negative feedback. - The polarity of the feedback is set in the “List of Signs” parameter by listing +’s and –’s. - Calculus operations are entered using their Laplace Transform symbols Differentiation = s Integration= 1/s - Multiple signals can be viewed on the scope using the “Bus Creator” component

Introduction to Matlab Module #9 Page 7 1) Simulink Transfer Functions can be used to describe behavior.

Introduction to Matlab Module #9 Page 8 1) Simulink Digital Circuits Can Be Modeled

Introduction to Matlab Module #9 Page 9 1) Simulink Outputting to the Workspace - The Sinks/To Workspace block provides a way to send the output of Simulink to a variable in Matlab - When using the To Workspace block, you should change the variable name to something descriptive and change the “Save Format” as Array - The Signal Routing/Mux block provides a way to send multiple variables to the workspace - The Sources/Clock block provides a way to record the time.

Introduction to Matlab Module #9 Page 10 1) Simulink Plotting Solutions to Differential Equations - The solution to differential eqs can be plotted by building up the equation graphically. Ex) plot the solution to this equation from 0 < t < 6 where and - first, we need to rearrange the expression so that it is in a form of y(t) = ….. ↓ ↓

Introduction to Matlab Module #9 Page 11 1) Simulink Plotting Solutions to Differential Equations - The cosine block is created using the sine block with a phase shift of pi/2 - The amplitudes and frequencies for the sine and cosine are entered within the source blocks - The initial condition y(0) = 4 is set in the “Integrator1” block - The initial condition y’(0) = 1 is set in the “Integrator2” block

Introduction to Matlab Module #9 Page 12 1) Simulink Plotting Solutions to Linear Equations ex) - We can rearrange variables to get expressions in terms of x - We enter these expressions into simulink and produce output functions of a linear ramp of x (-10 to 10 in ramp and sim time) - The intersection of the lines represents the solution (x=7, y=4)

Introduction to Matlab Module #9 Page 13 1) Simulink Subsystems - repetitive functions can be put into subsystems with a unique symbol. - there are two methods to make subsystems 1) Dragging the Subsystem block from the library 2) Creating a block diagram first that contains ports and then encapsulating it and creating an automatic subsystem block of everything encapsulated. Ex) - Create a block diagram and insert input/output ports - Select everything, right-click, create subsystem

Introduction to Matlab Module #9 Page 14 1) Simulink Subsystems - The subsystem can be copied/pasted - The subsystem can be pushed into by double clicking on it - there are two methods to make subsystems 1) Dragging the Subsystem block from the library 2) Creating a block diagram first that contains ports and then encapsulating it and creating an automatic subsystem block of everything encapsulated. Ex)