HossamTalaat - MATLAB Course - KSU - 17/08/14231 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink (part 2) By Prof. Hossam.

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,
Root Locus Diagrams Professor Walter W. Olson
© 2002 QxDesign, Inc. Building a PI controller This unit discusses Installation of Visual ModelQ The Visual ModelQ default model Placing and configuring.
For System Dynamics & Control
Experiment 17 A Differentiator Circuit
Using Microsoft ® Excel Formulas and Functions Start Microsoft ® Excel. Type data into cells as shown.
ENGR-25_Lec-25_SimuLink-1.ppt 1 Bruce Mayer, PE Engineering/Math/Physics 25: Computational Methods Bruce Mayer, PE Licensed Electrical.
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
© 2011 Xilinx, Inc. All Rights Reserved This material exempt per Department of Commerce license exception TSU Simulink Basics.
System Dynamics, Third Edition
Control Systems Engineering, Fourth Edition by Norman S. Nise Copyright © 2004 by John Wiley & Sons. All rights reserved. Figure C-1 (p. 907) MATLAB window.
HossamTalaat - MATLAB Course - KSU - 19/09/ IEEE Student Branch - College of Engineering - KSU Getting started with Power System Blockset By Prof.
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.
USING LINEAR ANALYSIS IN MATLAB FOR MEP 1422/1522 (MATLAB V7, R14) Dr. Nik Rumzi Nik Idris Dept. of Energy Conversion Fakulti Kejuruteraan Elektrik Universiti.
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.
A Differentiator Circuit.  All of the diagrams use a uA741 op amp. ◦ You are to construct your circuits using an LM 356 op amp.  There is a statement.
Experiment 17 A Differentiator Circuit
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
Introduction to Simulink Dr. Mohammed F. Alsayed.
LAB 1 MATLAB, dSPACE and Simulink
Section 3 Calculations National 4/5 Scratch Course.
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
Numerical Computation Lecture 2: Introduction to Matlab Programming United International College.
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.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
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.
Problem Transient Response By: Matt Lausmann ME 114 Granda Assignment #3.
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
Lab 1 : Introduction to LabView 1 Southern Methodist University Bryan Rodriguez.
OUTLINE Overview Numbers, variables and similar in Matlab
Introduction to Matlab and Simulink
Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems.
Introduction to MATLAB for Engineers Third Edition William J. Palm III Chapter 10 Simulink PowerPoint to accompany Copyright © The McGraw-Hill Companies,
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
Introduction to MATLAB II Steve Gu Jan 25, Outline Matrix Operation –Matrix functions –Element-wise operations Dynamic Systems –Classification –2nd.
EE3417 – Introduction to Simulink
Modeling of Power Converters using Matlab and Simulink
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.
SUNY-New Paltz Computer Simulation Lab Electrical and Computer Engineering Department SUNY – New Paltz “Lecture 12”
Using Microsoft® Excel This presentation is designed for Chapter 1, Section 1.2.
Getting started with MATLAB/Simulink
University of Baghdad College of engineering Ele. & Com. Dept. 3 rd Year Matlab Report of By Ahmed Alaa Part I Part II.
Simulink by Dr. Amin Danial Asham. References  MATLAB Help  Telemark University College - Department of Electrical Engineering, Information Technology.
Simulink  ? 1 Simulink  ( Simu lation and Link ) is an extension of Matlab Offers modeling, simulation, and analysis of dynamical systems; i.e., a system.
MATLAB and SimulinkLecture 21 To days Outline Introduction to Simulink Block diagrams Building models Exercises on today’s topics.
Simulink Mathematical Operations by Dr. Amin Danial Asham.
Modeling First Order Systems in Simulink And Analyzing Step, Pulse and Ramp Responses SOEN385 Control Systems and Applications.
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.
- Graphical extension to MATLAB for modeling and simulation of systems
National Mathematics Day
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Filters: Intuitive Understanding
Simulink Basics Reijo Vuohelainen
Licensed Electrical & Mechanical Engineer
سیمولینک کنترل خطی در متلب
Fundamental Operation
Getting Started With Simulink
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Modulation Lab 2 – 2019/1440 By: Elham Sunbu.
Digital Modulation Basics – Part 2
Presentation transcript:

HossamTalaat - MATLAB Course - KSU - 17/08/14231 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink (part 2) By Prof. Hossam Talaat

HossamTalaat - MATLAB Course - KSU - 17/08/14232 Step-by-Step Model Construction Design of a First order L.P.F. Theoretical Background

HossamTalaat - MATLAB Course - KSU - 17/08/14233 Required Construct a Simulink Model that describes the dynamic performance of a L.P.F. Use an original low frequency signal x with a noise high frequency signal y: x=100 sin(120  t) y= 10 sin(4000  t).

HossamTalaat - MATLAB Course - KSU - 17/08/14234 Step I Insert a “sine wave” input from Sources. Copy it to have another one. Double click each one to adjust its parameters (Amplitude and Freq.). Edit the Block name. Right-click to adjust foreground color.

HossamTalaat - MATLAB Course - KSU - 17/08/14235 Step II Insert a “scope” from Sinks. Double click it then select parameters icon to set “no. of axes” = 2. Use mouse to connect each of the sine wave outputs to one of the scope inputs. Name the two signals.

HossamTalaat - MATLAB Course - KSU - 17/08/14236 Step III Use the icon on toolbar to start simulation. Double-click the scope to check the signals. If the obtained plots are not as expected select simulation parameters and adjust the stop time (say 0.05), the max step (say ), the min and initial steps (say ) and relative accurracy (say 1e- 6).

HossamTalaat - MATLAB Course - KSU - 17/08/14237 Step IV Insert a “sum” from Math. Connect the output of each sine to on of the sum inputs. Connect the output of sum to a scope. Start simulation and verify if the plot is as expected..

HossamTalaat - MATLAB Course - KSU - 17/08/14238 Step V Insert a transfer function ”T.F.” from continuous. Set its parameters such that the numerator =1 and denominator = s +1. Name it L.P.F Connect the output of sum to the input of the T.F.

HossamTalaat - MATLAB Course - KSU - 17/08/14239 Step VI Insert a scope and name it “filtered signal”. Connect the output of T.F. to the scope input. Start simulation then verify the obtained plot. Change the time constant to ,.001 and.01 and comment.

HossamTalaat - MATLAB Course - KSU - 17/08/ Step VII Insert a scope and name it “filtered signal”. Connect the output of T.F. to the scope input. Start simulation then verify the obtained plot. Change the time constant to ,.001 and.01 and comment.

HossamTalaat - MATLAB Course - KSU - 17/08/ Step VIII Insert a scope with 2 inputs to compare the filtered and unfiltered signals.

HossamTalaat - MATLAB Course - KSU - 17/08/ Step IX Select the L.P.F. block. From edit select “Create subsystem”. Name it L.P.F. Double click to verify. Set the numerator to “k” (gain) and the denominator to Ts +1 (T is the time constant).

HossamTalaat - MATLAB Course - KSU - 17/08/ Step X Close the subsystem From edit select “Mask the subsystem”. In the “Initialization” tab under prompt write Gain and under variable k. Click Add then write Time Constant and T. Double click the subsystem and set k and T as required.

HossamTalaat - MATLAB Course - KSU - 17/08/ Find the Roots of a Second Order Equation Theoretical Background The roots of are

HossamTalaat - MATLAB Course - KSU - 17/08/ Required Construct a Simulink subsystem that calculates the two roots. The input to the subsystem is the three constants A, B, C. The outputs of the subsystem are the two roots.

HossamTalaat - MATLAB Course - KSU - 17/08/ Step I Insert 4 constant blocks from “Sources” 3 for A,B&C and 1 for (-2). Insert two product blocks from Math. Double click each one to adjust its parameters as the shown function. Connect as shown

HossamTalaat - MATLAB Course - KSU - 17/08/ Step II Insert 2 “Math function” from Math and adjust one to a square the other to square root. Insert a “sum” from Math. Connect as shown

HossamTalaat - MATLAB Course - KSU - 17/08/ Step III Insert 2 “sum” from Math and adjust them as shown. Insert 2 “display” from “Sinks”. Connect as shown

HossamTalaat - MATLAB Course - KSU - 17/08/ Step IV Select the whole system except the three input constants and the 2 output display. Select Create subsystem from Edit Name the new subsystem “Roots of 2 nd order Equation”. Name the inputs and outputs of the Subsystem

HossamTalaat - MATLAB Course - KSU - 17/08/ End of tutorial