Todd Atkins Tatkins@mathworks - College Of Engineering

2y ago
37 Views
2 Downloads
1.57 MB
32 Pages
Last View : Today
Last Download : 3m ago
Upload by : Camille Dion
Transcription

Introduction to SimulinkTodd Atkinstatkins@mathworks.com1

OutlineWhat is Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models4

Simulink Applications5

SimulinkSimulink is a software package formodeling, simulating, and analyzingdynamical systems Block diagram editing Nonlinear simulation Hybrid (continuous and discrete) models Asynchronous (non-uniform sampling)simulation Fully integrated with MATLAB, MATLABtoolboxes and blocksets.6

Simulink Accurately design, implement, andtest:––––––Control systemsSignal Processing systemsCommunications systemsEmbedded systemsPhysical systemsother Dynamical systems7

Model Based Design with Simulink Modeling and simulation– Multidomain Dynamic Systems– Nonlinear Systems– Continuous-time , Discrete-time, Multi-Rate systems Plant and Controller Design–––– Rapidly model what-if scenariosCommunicate design ideasEmbody performance specificationsSelect/Optimize control architecture and parametersImplementation– Automatic code generation– Rapid prototyping for HIL, SIL– Verification and validation8

Bell Helicopter Develops the First CivilianTiltrotor, Using Model-Based DesignChallengeTo design and build the BA609, the first and fastestcommercially available tiltrotor aircraft in the worldThe BA609, flying in airplane mode.SolutionUse Model-Based Design with MATLAB, Simulink,and Real-Time Workshop software to model, simulate,test, and verify designs"Simulations and a rapid, iterativeResultsthe unknowns and ensure that we Full collaboration with suppliers via Simulink models Flight control system code generated automaticallyfrom models 40% improvement in design and development time Flawless first flight, which went exactly likethe simulationapproach enabled us to minimizehad established enough marginthat when we ran into a surprise wecould continue to have a safe flighttest program—and run it withunprecedented efficiency.”David KingBell HelicopterLink to technical article10

OutlineWhy Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models11

Launching Simulink12

Simulink Library Browser13

Finding Blocks14

Getting Help Context sensitive helpSimulink documentation15

Demoy 4 sin(t ) 10Working with a simple modelChanging block parametersLabeling blocks and signalsRunning a simulationDefining parameters with MATLAB variablesSaving/opening a model16

OutlineWhy Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models17

How Simulink Works Engine provides variable-step and fixedstep ODE solversBlock Diagram representation ofdynamic systemsBlocks define governing equationsSignals are propagated between blocksover timesignal18

Simulink Solvers Solver?– Determines solution at current time step– Determines the next simulation time step Solver options: Fixed-Step Ode1 Ode2 Ode3 Ode4 Ode5 Ode8Variable-Step Ode45 Ode23 Ode113 Ode15s Ode23s Ode23t Ode23tb19

OutlineWhy Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models24

Creating Subsystem Context menu - Create SubsystemSubsystem portsInside a subsystem How to undo ‘Create Subsystem’? 26

Subsystems Why?– Reduce blocks displayed in a model window– Keep functionally related block together– Establish hierarchical block diagram29

Model Referencing One model in another- parent and tion/ModularizationIP protectionMultiple referencingAcceleration30

Block Library Collection of blocksPrototype block vs Reference blockLibrary Links– Disable link– Restore link– Break link Other features– Display in Simulink Library Browser– Add documentation31

OutlineWhy Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models32

‘Continuous’ Library33

Continuous systems: Time-DomainRepresentation using Integrator Blockx' (t ) 3x(t ) u (t )34

Continuous systems: Frequency-DomainRepresentation using Transfer Function BlockX (s )1x' (t ) 3x(t ) u (t ) U (s ) s 3Transfer function:sx 3x ux u/(s-3)x/u 1/(s-3)35

Simulink Demo: Foucault PendulumModel with VRML Visualizationsldemo foucault vr.mdl38

Other Demos for Continuous Systems39

Discrete Systems System that takes an input sequence ofsamples and outputs a sequence of samplesSamplingy[k ] 0.1x[k ] x[k 1]x[k 1] 0.5 x[k ] u[k ]x[n]Systemy[n]40

‘Discrete’ Library41

Discrete system example Second order FIR filterx[k ] ax[k 2]y[k ] 242

SummaryWhy Simulink?Working with SimulinkHow Simulink worksComponentizing modelsContinuous and discrete models48

More on Simulink Simulink Tutorials Demos and Webinars Documentation49

Introduction to Simulink Todd Atkins tatkins@mathworks.com. 4 Outline What is Simulink? Working with Simulink. How Simulink works. Continuous and discrete models Componentizing models. 5 Simulink Applications. 6 Simulink

Related Documents:

ATKINS CARB COUNTER 3 1 How to Use the Atkins Carb Counter 3 Atkins & Other Low-Carb Specialty Foods 6 Baking Ingredients 7 (Atkins 20 or Atkins 40) you’re on.Beef, Lamb, Pork & Other Meats 9 Beverages & Alcoholic Beverages 12 Breads, Crackers, Tortillas & Wraps 14 Candy & Chewing Gum 15 Cereals 17 blood sugar. Fiber and sugar Condiments & SeasoningsFile Size: 375KBPage Count: 30Explore furtherAtkins diet - Carbohydrate Counter Chartwww.atkins-diet-advisor.com/carbohydr Carbohydrate Counter - The Original Online Carb Counterwww.carbohydrate-counter.orgCarb Counter - Search Over 6000 Foodscarb-counter.orgCarb Counting Food List - Nebraska Medicinewww.nebraskamed.comCarbohydrate Food List - Michigan Medicinewww.med.umich.edu/1libr/MEND/CarbLis Recommended to you b

Elizabeth Todd Grimsley Brown Her Todd Ancestors Tuesday, February 18, 2020 2 Robert Samuel Todd, Sr. married Ann Jean Smith. They had two sons, John and David Levi Todd. Ann died and was buried in Ireland. 1723 Birth of David Levi Todd (1723-1775) David Levi Todd, the second son of Robert and Ann Jean Smith Todd, was born in

pers that have been published about the Atkins Diet. The ones that have received most public attention are those directly comparing the Atkins Diet to a “low-fat” diet. Of the nine research papers1-9 I was able to obtain and review that directly compare the Atkins Diet with a “low-fat” diet, four4,6-8 were funded by the Robert C. Atkins .

subscribe@mathworks.com Subscribing user registration service@mathworks.com Order status, license renewals, passcodes info@mathworks.com Sales, pricing, and general information Control System Toolbox User’s Guide COPYRIGHT 1992 - 1999 by The MathWorks, Inc. The software described in this document is furnished under a license agreement.

comp.soft-sys.matlab Newsgroup support@mathworks.com Technical support . info@mathworks.com Sales, pricing, and general information 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. Mail 3 Apple Hill Drive Natick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web sit

comp.soft-sys.matlab Newsgroup support@mathworks.com Technical support . info@mathworks.com Sales, pricing, and general information 508-647-7000 Phone 508-647-7001 Fax The MathWorks, Inc. Mail 3 Apple Hill Drive Natick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web sit

service@mathworks.com Order status, license renewals, passcodes info@mathworks.com Sales, pricing, and general information 508-647-7000 (Phone) 508-647-7001 (Fax) The MathWorks, Inc. 3 Apple Hill Drive Natick, MA 01760-2098 For contact information about worldwide offices, see the MathWorks Web site. Neural Network Toolbox User's Guide

ASTM E 989-06 (2012), Classification for Determination of Impact Insulation Class (IIC) ASTM E 2235-04 (2012) Standard Test Method for Determination of Decay Rates for Use in Sound Insulation Test Methods Test Procedure All testing was conducted in the VT test chambers at Intertek-ATI located in York, Pennsylvania. The microphones were calibrated before conducting the tests. The airborne .