Getting started with MATLAB/Simulink

Slides:



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

Getting Started with Cadence Compiled by Ryan Johnson April 24, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT.
Using Macros and Visual Basic for Applications (VBA) with Excel
®® Microsoft Windows 7 Windows Tutorial 8 Connecting to Networks with Mobile Computing.
Creating a Form on a Web Page
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.
Lab 4 – Building your first model
Simulation of Created Design Documentation on the simulation process of a basic injector-separation channel model design.
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.
Getting Started with Cadence Prepared by Ryan Johnson, 2002  Open Orcad Capture under Engineering Software  Under FILE, choose NEW, PROJECT  The following.
Macros Tutorial Week 20. Objectives By the end of this tutorial you should understand how to: Create macros Assign macros to events Associate macros with.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
A Visual Introduction to PC SAS. Start SAS by double-clicking on the SAS icon...
Macros for Beginners Patrick Armatis University of Michigan-Dearborn.
Simulink ® From Simulink® 7 Getting Started Guide.
Building a Deployment The following screens demonstrate how to: 1. Create a new OpenHRE™ tailor-made deployment using a remote (sample) deployment Standard.
Analysis and Design of Power Electronic Circuits using Orcad
DC Motor Model Using Simscape Engr. Salim Lashari.
Good afternoon. My name is Jeferson Correa. I am a Ph. D
Learning. Microwave office Creators: Iman Radmanesh Amin Fehresti-sani.
Windows & The Internet. Objectives: Identify and use computer hardware Open and close a desired program Switch back and forth between open windows Create.
EPSII 59:006 Spring Topics Using TextPad If Statements Relational Operators Nested If Statements Else and Elseif Clauses Logical Functions For Loops.
1 After completing this lesson, you will be able to: View and open folders. Open, edit, and save files. Print files. Sort files. (continued)
Abdülkadir ERYILDIRIM Turgut Ozal University. The Objectives:  Open and Save New Project File  Create a Circuit Schematic  Get Place, Place Parts i.e.
Fundamentals of Power Electronics and Power System with MATLAB
XP New Perspectives on Introducing Microsoft Office XP Tutorial 1 1 Introducing Microsoft Office XP Tutorial 1.
Simulink ® Interface Course 13 Active-HDL Interfaces.
Turning Glowing Text into Animated Glowing Text Using Animation Shop.
HTML presentation Embedding Graphics in Web Pages n HTML uses an empty tag called the (image tag) n n n or n n n Note: all web production tools do insert.
MLC CAD Systems Introducing… Presented by: John McCord How to customize.
Visual Solutions, VisSim Overview VisSim program can be used to simulate some of the control problems in the DPCL. Review the following:
Title on all pages DC motor modeling with hands on experiments on DSP2 learning module (introductory lecture to mini project)
Simulink ® Interface Course 13 Active-HDL Interfaces.
Within Oracle Applications: Run a Standard Report.
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
Creating a Project with C++ Builder
HTML Concepts and Techniques Fourth Edition Project 7 Creating a Form on a Web Page.
Intro to Excel - Session 7.31 Tutorial 7 - Session 7.3 Developing an Excel Application.
Analyzing Data Using Access. Creating a new database To create a new database 1.Start Access. In the Task Pane, click Blank Database. 2.The File New Database.
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.
Introduction to Matlab Module #9 Page 1 Introduction to Matlab Module #9 – Simulink Topics 1.Simulink Textbook Reading Assignments Practice Problems.
DC Motor Speed Modeling in Simulink
XP New Perspectives on Microsoft Office FrontPage 2003 Tutorial 7 1 Microsoft Office FrontPage 2003 Tutorial 8 – Integrating a Database with a FrontPage.
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.
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.
Getting Started with GradeQuick. Logging In to GradeQuick Shortcut on the Start Menu First time users enter first initial last name like this (ccornwell)
Data-information stored in files on the disks and CDs in your computer system Why should we save a file when we create it on the computer?
Customizing Menus and Toolbars CHAPTER 12 Customizing Menus and Toolbars.
Internet Explorer. 2 Menu bar Command bar Back & forward buttons Search bar (type word or phrases )
Sorting Contacts with Categories Lunch and Learn.
IT Desktop Management Scheduling Appointments in MS Outlook December 2007 Prepared by Angela Mars IT Education and Training.
Copyright © 2007 by Pearson Education 1 UNIT 6A COMBINATIONAL CIRCUIT DESIGN WITH VHDL by Gregory L. Moss Click hyperlink below to select: Tutorial for.
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
Getting started with Simulink An introductory tutorial.
Example #7 Influence of core gap on the winding losses.
Setting up Solver Add-in for Excel
- Graphical extension to MATLAB for modeling and simulation of systems
What Should I Do if My Style Is Not Included?
Customizing the Quick Access Toolbar in Microsoft Office
WORKSHOP 7 PID TUNING.
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
OrCAD Capture Version 9.1 Parts Libraries.
Getting Started With Simulink
Adding Photo to Agent Profile
Microsoft Word Documents
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Presentation transcript:

Getting started with MATLAB/Simulink . Starting and running simulations in MATLAB/Simulink . Constructing Simulink models . Examples: Open-loop synchronous buck converter model Simulink file: buck_open_loop.mdl Buck converter and PWM subsystem models Closed-loop synchronous buck converter model with an analog controller Simulink file: buck_closed_loop.mdl Load transient model and simulations Simulink file: buck_closed_loop_load.mdl

1.1 Starting MATLAB/Simulink Start MATLAB: (double-click on the MATLAB shortcut) Open a file, in the MATLAB window menu: – Select file: buck_open_loop.mdl, then Open This opens a pre-configured Simulink model for an open-loop synchronous buck switching converter as shown on the next page . Converter parameters: . L = 4.1 μH, RL = 80 m . C = 376 μF, Resr = 5 m . fs = 100 KHz . Vg = 12 V, D = 0.42 . Load R = 1

Converter parameters: . L = 4.1 μH, RL = 80 m . C = 376 μF, Resr = 5 m . fs = 100 KHz . Vg = 12 V, D = 0.42 . Load R = 1

Transient Simulations in Simulink . Make your copy of the Simulink model for further edits In the current Simulink window: – File Save As File Name: enter my_buck_open_loop.mdl, then Save . Check or adjust simulation parameters: – Simulation Simulation parameters . This opens a window to adjust simulation parameters such as Start Time, Stop Time, solver options, step size, etc. . The default parameters and options are usually fine, except: – Enter appropriate Stop time (3 ms in this example) – Enter Max step size of about 1/100 of the switching period (0.1 μs in this example)

Starting Transient Simulation . In the current Simulink window: – Simulation . Start or click on the Start button in the toolbar

. In the my_buck_open_loop window, double-click on the PWM block to open the subsystem window . Double-click on the Saw-tooth waveform block to view or change the block parameters . Note that Time values [0 0.001e-5 1e-5] and the corresponding Output values [1 0 1] define the sawtooth waveform in the PWM (switching frequency is: 1/1e-5 = 100 KHz)

Adding a Step Load Transient Model

Exercise