Introduction To Simulink - Vitoantoniobevilacqua.it

2y ago
40 Views
4 Downloads
1.63 MB
14 Pages
Last View : 1d ago
Last Download : 3m ago
Upload by : Luis Wallis
Transcription

POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineeringIntroduction to SimulinkEng. Domenico BuongiornoProf. Vitoantonio Bevilacqua

Simulink Simulink is a graphical programming environment for modeling, simulatingand analyzing multidomain dynamical systems. Its primary interface is a graphical block diagramming tool and acustomizable set of block libraries. It offers tight integration with the rest of the MATLAB environment and caneither drive MATLAB or be scripted from it. Simulink is widely used in automatic control and digital signal processing formultidomain simulation and Model-Based Design.POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

Why Simulink? Simulink, makes simulations easier to achieve, by using blocks thatcorrespond to codes you do not see. With Simulink, the model of the system you want to simulate is morereadable, because it is represented by graphics. You can use Matlab to simulate a system, but you have to program your ownroutines added to the ones that are provided by Matlab. Simulink easily allows to simulate hybrid systems that include both continuousand discrete blocks.POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

Why Simulink? Simulink easily allows to design andsimulate complex state machines and flowcharts. Coupled with another of MathWorks’sproducts, Simulink can automaticallygenerate C source code for real-timeimplementation of systems. Simulink Real-Time (formerly known as xPC Target), together with x86-basedreal-time systems, is an environment for simulating and testing Simulink andStateflow models in real-time on the physical system.POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

Why Simulink? Simulink also supports specific embedded targets (e.g. Arduino, Raspberry).POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

RLC Series Circuit: Step Response𝑉𝑖𝑛 𝑡 𝑅𝑖 𝑡 𝐿𝑑𝑖(𝑡)𝑑𝑡𝑉𝑜𝑢𝑡 𝑡 𝑉𝐶 𝑡 1𝐶 𝑉𝐶 (𝑡)𝑡 0 𝑖 𝜏 𝑑𝜏State Variables: 𝑋𝐴 𝑡 𝑉𝑐 𝑡 𝑋𝐵 𝑡 𝑖 𝑡Initial state conditions 𝑋𝐴 0 0 𝑉 𝑋𝐵 0 0 𝐴POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineeringElectrical parameters: 𝑉𝑖𝑛 𝑡 5 𝑉 𝑅 2Ω 𝐿 2𝐻 𝐶 0.5 𝐹

RLC Series Circuit: Step Response𝑉𝑖𝑛 𝑡 𝑅𝑖 𝑡 𝐿𝑑𝑖(𝑡)𝑑𝑡𝑉𝑜𝑢𝑡 𝑡 𝑉𝐶 𝑡 1𝐶𝑋ሶ𝐴 1𝐶 𝑉𝐶 (𝑡)𝑡 0 𝑖 𝜏 𝑑𝜏𝑋𝐵 (𝑡)POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineeringState Variables: 𝑋𝐴 𝑡 𝑉𝑐 𝑡 𝑋𝐵 𝑡 𝑖 𝑡𝑋ሶ 𝐵 (𝑡) 1( 𝑉𝑖𝑛 𝑡 𝑅𝑋𝐵 (𝑡) 𝑋𝐴 𝑡 )𝐿

RLC Series Circuit: Step ResponsePOLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

RLC Series Circuit: Bode plot with Matlab𝑉𝑜𝑢𝑡 (𝑠)1𝐺 𝑠 𝑉𝑖𝑛 (𝑠)𝐿𝐶𝑠 2 𝑅𝐶𝑠 1POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering R 2; L 2; C 0.5; H tf([1],[L*C R*C 1]); bode(H)

RLC Series Circuit: Resonance𝑉𝑜𝑢𝑡 (𝑠)1𝐺 𝑠 𝑉𝑖𝑛 (𝑠)𝐿𝐶𝑠 2 𝑅𝐶𝑠 1 R 0.4; L 2; C 0.5; H tf([1],[L*C R*C 1]); bode(H)𝜔𝑅 POLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering1𝐿𝐶

RLC Series Circuit: ResonancePOLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

RLC Series Circuit: ResonancePOLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

PID TuningPOLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

thank you!Email: a@poliba.itPOLYTECHNIC UNIVERSITY OF BARIDEI - Department of Electrical and InformationEngineering

Engineering POLYTECHNIC UNIVERSITY OF BARI Why Simulink? Simulink Real-Time (formerly known as xPC Target), together with x86-based real-time systems, is an environment for simulating and testing Simulink and Stateflow models in real-time on the physical system. Simulink easily allows to de

Related Documents:

ES360 Introduction to Controls Engineering MATLAB and SIMULINK Help Page 2 of 6 Starting SIMULINK SIMULINK can be started by: 1) Opening a SIMULINK model file (model files use the .mdl extension). 2) Starting MATLAB and clicking on the icon in the tool bar. The SIMULINK Library Browser SIMULINK

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

Test Driven Development powered by MATLAB and Simulink 45 Model-Based Design –Simulink and Stateflow Manage Requirements –Simulink Requirements Author and Execute Tests –Simulink Test Measure Test Completeness –Simulink Coverage Refactor and Verify Compliance –Simulink Check

Simulink and LEGO MINDSTORMS EV3 9 P a g e Project 1: Explore Simulink and LEGO MINDSTORMS EV3 P1.1 Get Started: Program EV3 Status Light with Simulink Motivation At the end of this project you will be able to program an EV3 brick from Simulink. Objective Create first model in Simulink Check hardware and software installation

Luigi Biagiotti Systems and Control Theory Introduction to Simulink-- 2 Simulink introduction Simulink (Simulation and Link) is an extension of MATLAB that offers modeling, simulation, and analysis of dynamical systems under a graphical user interface (GUI) environment. Simulink is based on block diagrams of Dynamic SystemsFile Size: 1MB

Introduction to Simulink 1.1 Objective The objective of Experiment #1 is to familiarize the students with simulation of power electronic circuits in Matlab/Simulink environment. Please follow the instructions in the laboratory manual. 1.2 Simulink Basics Tutorial Simulink is a graphical e

4) Simulink . Simulink is a program for simulating signals and dynamic systems. As an extension of Matlab, Simulink adds many features specific to the simulation of dynamic systems while retaining all of Matlab’s general purpose functionality. Simulink has two phases of use: mode

Python figures out the variable types on its own. Monday, October 19, 2009. Basic Datatypes Integers (default for numbers) z 5 / 2 # Answer is 2, integer division. Floats x 3.456 Strings Can use “” or ‘’ to specify. “abc” ‘abc’ (Same thing.) Unmatched can occur within the string. “matt’s” Use triple double-quotes for multi-line strings or .