1 Application Software Course Simulink By: Mahdi Akbari 2010.

Slides:



Advertisements
Similar presentations
Writing and Editing Tools Lesson 6. Objectives 1. Use AutoComplete, AutoCorrect, AutoText, and smart tags. 2. Check spelling and grammar. 3. Use the Thesaurus.
Advertisements

Module 1: BLOCK 1 / MAIN MENU
1 WORKING WITH 2007 WORD Part 1 Developed October 2007 with lots of help from.
Getting Started with Microsoft Office 2007
Chapter 1 The Study of Body Function Image PowerPoint
BASIC SKILLS AND TOOLS USING ACCESS
The Reinberger Childrens Library Center Step-by-step instructions for capturing a MARC record and adding a 658 Tag to a record.
Tutorial 3 – Creating a Multiple-Page Report
Tutorial 9 – Creating On-Screen Forms Using Advanced Table Techniques
XP New Perspectives on Microsoft Office Word 2003 Tutorial 2 1 Microsoft Office Word 2003 Tutorial 2 – Editing and Formatting a Document.
XP New Perspectives on Microsoft Office Word 2003 Tutorial 7 1 Microsoft Office Word 2003 Tutorial 7 – Collaborating With Others and Creating Web Pages.
Mike Scott University of Texas at Austin
Word Lesson 6 Working with Graphics
Microsoft®.
Office 2003 Introductory Concepts and Techniques M i c r o s o f t Windows XP Project An Introduction to Microsoft Windows XP and Office 2003.
The Advantage Series © 2004 The McGraw-Hill Companies, Inc. All rights reserved Working with Access Microsoft Office Access 2003 Chapter 1.
Excel Functions. Part 1. Introduction 2 An Excel function is a formula or a procedure that is performed in the Visual Basic environment, outside the.
Key Applications Module Lesson 11 — Using Microsoft Office 2003
Microsoft Office 2010 Basics and the Internet
How To Use Google Forms to Create A Test Quick Easy Self-Graded!! Instant Reports.
Data Structures Using C++
© Paradigm Publishing, Inc Access 2010 Level 1 Unit 1Creating Tables and Queries Chapter 2Creating Relationships between Tables.
Creating Tables in a Web Site
Microsoft Access.
Vanderbilt Business Objects Users Group 1 Reporting Techniques & Formatting Beginning & Advanced.
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
Google Picasa Simple Sharing & Photo Editing May 2011Moore Memorial Library Public Computer Center | Greene, NY1.
Lesson 2 Navigating LabVIEW
XP New Perspectives on Introducing Microsoft Office 2003 Tutorial 1 1 Using Common Features of Microsoft Office 2003 Tutorial 1.
INTRODUCTION Lesson 1 – Microsoft Word Word Basics
Pasewark & Pasewark Microsoft Office 2003 : Introductory 1 INTRODUCTORY MICROSOFT WORD Lesson 4 – Formatting Text.
Microsoft Office Illustrated Fundamentals Unit C: Getting Started with Unit C: Getting Started with Microsoft Office 2010 Microsoft Office 2010.
Microsoft Office Word is an example of ____ software. a. Database b
Chapter 11: The X Window System Guide To UNIX Using Linux Third Edition.
VOORBLAD.
© Paradigm Publishing, Inc Excel 2013 Level 1 Unit 2Enhancing the Display of Worksheets Chapter 8 Adding Visual Interest to Workbooks.
Benchmark Series Microsoft Excel 2013 Level 2
4 Oracle Data Integrator First Project – Simple Transformations: One source, one target 3-1.
© 2012 National Heart Foundation of Australia. Slide 2.
Step-by-Step: Add a Graphical Hyperlink USE the Special Events Final presentation that is still open from the previous exercise. 1.Go to slide 4, and click.
Formatting and Editing Skills
INTRODUCTORY MICROSOFT WORD Lesson 7 – Working With Documents
Pasewark & Pasewark Microsoft Office XP: Introductory Course 1 INTRODUCTORY MICROSOFT WORD Lesson 8 – Increasing Efficiency Using Word.
25 seconds left…...
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® PowerPoint 2010 © 2011 The McGraw-Hill Companies,
©Brooks/Cole, 2001 Chapter 12 Derived Types-- Enumerated, Structure and Union.
PSSA Preparation.
A lesson approach © 2011 The McGraw-Hill Companies, Inc. All rights reserved. a lesson approach Microsoft® PowerPoint 2010 © 2011 The McGraw-Hill Companies,
Benchmark Series Microsoft Excel 2010 Level 1
Benchmark Series Microsoft Excel 2013 Level 2
 Use the Left and Right arrow keys or the Page Up and Page Down keys to move between the pages. You can also click on the pages to move forward.  To.
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.
Simulink ® From Simulink® 7 Getting Started Guide.
Introduction to Simulink Dr. Mohammed F. Alsayed.
1 The EDIT Program The Edit program is a full screen text editor that allows you to: Create text files Create text files Edit an existing text files Edit.
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.
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,
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
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.
Simulink  ? 1 Simulink  ( Simu lation and Link ) is an extension of Matlab Offers modeling, simulation, and analysis of dynamical systems; i.e., a system.
XP Tutorial 3 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Organizing Files with Windows Explorer Tutorial 3.
 The clipboard is a temporary storage area  The cut or copy commands place information on the CLIPBOARD  There are two types of clipboards: – System.
Getting started with Simulink An introductory tutorial.
Introduction to Matlab
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Simulink Basics Reijo Vuohelainen
Getting Started With Simulink
Presentation transcript:

1 Application Software Course Simulink By: Mahdi Akbari 2010

2 What Is Simulink? Simulink is a software package for modeling, simulating, and analyzing dynamical systems. It supports linear and nonlinear systems, modeled in continuous time, sampled time, or a hybrid of the two.

3 How to open simulink Click on this item

4 create a model To create the model, first type simulink in the MATLAB command window. On Microsoft Windows, the Simulink Library Browser appears.

6 Open new window Simulink opens a new model window. Click on New Model button

7 Model Editor

8 View Command History Back =(Displays the previous view in the view history.Forward ) forward=( Displays the next view in the view history.Go To Parent ) Go To Parent=Opens, if necessary, the parent of the current subsystem and brings its window to the top of the desktop.

9 Building a Simple Model This example shows you how to build a model using many of the model building commands and actions you will use to build your own models The model integrates a sine wave and displays the result, along with the sine wave. The block diagram of the model looks like this

10 Create example model To create this model, you will need to copy blocks into the model from the following Simulink block libraries: 1.Sources library (the Sine Wave block) 2.Sinks library (the Scope block) 3.Continuous library (the Integrator block) 4.Signals & Systems library (the Mux block)

11 first expand the Library Browser tree to display the blocks in the Sources library. Do this by clicking first on the Simulink node to display the Sources node Sources node to display the Sources library blocks. Finally right click on the Sine Wave node to select the Sine Wave

12 Copy the rest of the blocks in a similar manner from their respective libraries into the model window

13 With all the blocks copied into the model window, the model should looksomething like this. Now its time to connect the blocks. Hold down the mouse button and move the cursor to the top input port of the Mux block. Notice that the line is dashed while the mouse button is down and that the cursor shape changes to double-lined cross hairs as it approaches the Mux block.

14 Now release the mouse button. The blocks are connected Press and hold down the Ctrl key. Press the mouse button, then drag the pointer to the Integrator blocks input port or over the Integrator block itself.

15 Finish making block connections. When youre done, your model should look something like this.

16

17 Now, open the Scope block to view the simulation output. Keeping the Scope window open, set up Simulink to run the simulation for 10 seconds. the simulation parameters by choosing Parameters from the Simulation menu. On the dialog box that appears notice that the Stop time is set to 10.0 (its default value)

Simulation > Configuration Parameters

Sine Wave block Double click

20 Choose Start from the Simulation menu and watch the traces of the Scope blocks input.

21 Model Viewing Shortcuts

22 Zooming Block Diagrams Select Zoom In from the View menu (or type r) to enlarge the view.Select Zoom Out from the View menu (or type v) to shrink the view. Select Fit System To View from the View menu (or press the space bar) to fit the diagram to the view. Select Normal from the View menu (or type 1) to view the diagram at actual size.

23 colors Simulink allows you to specify the foreground and background colors of any block select Screen color from the Simulink Format menu

24 Connecting Blocks Connecting Two Blocks To auto connect two blocks: Select the source block. Hold down Ctrl and left-click the destination block.Simulink connects the source block to the destination block

25 Connecting Groups of Source Blocks Simulink can connect a group of source blocks to a destination block or a source block to a group of destination blocks.To connect a group of source blocks to a destination block: Select the source blocks. Hold down Ctrl and left-click the destination block.

26 connect a source block to a group of destination blocks Select the destination blocks. Hold down Ctrl and left-click the source block.

27 Moving a Line Segment To move a line segment: Position the pointer on the segment you want to move. Press and hold down the left mouse button. Drag the pointer to the desired location.

28 Inserting Blocks in a Line To insert a block in a line: Position the pointer over the block and press the left mouse button. Drag the block over the line in which you want to insert the block. Release the mouse button to drop the block on the line. Simulink inserts the block where you dropped it.

29 Disconnecting Blocks To disconnect a block from its connecting lines, hold down the Shift key, then drag the block to a new location.

30 Creating Subsystems As your model increases in size and complexity, you can simplify it by grouping blocks into subsystems. Using subsystems has these advantages: It helps reduce the number of blocks displayed in your model window. It allows you to keep functionally related blocks together

31 Creating a Subsystem by Adding the Subsystem Block To create a subsystem before adding the blocks Copy the Subsystem block from the Ports & Subsystems library into your model. Open the Subsystem block by double-clicking it. In the empty Subsystem window, create the subsystem. For example, the subsystem shown includes a Sum block and inport and Outport blocks to represent input to and output from the subsystem.

32 Creating a Subsystem by Grouping Existing Blocks If your model already contains the blocks you want to convert to a subsystem, you can create the subsystem by grouping those blocks: Enclose the blocks and connecting lines that you want to include in the subsystem within a bounding box. You cannot specify the blocks to be grouped by selecting them individually or by using the Select All command. Choose Create Subsystem from the Edit menu. If you open the Subsystem block, Simulink displays the underlying system, as shown below.