EE 460 Advanced Control and System Integration

Slides:



Advertisements
Similar presentations
Distributor meeting October 2007
Advertisements

ECE 495: Integrated System Design I
1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
For System Dynamics & Control
1 In this lecture, you will learn the following. 1. Basics of real-time control engineering 2. Effects of fixed and unfixed (also probably unknown) sampling.
Simulink Overview: open simulink to open simulink Library Browser.
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
By: Mark Bright and Mike Donaldson.  Project Summary  System Block Diagram  Project Goals  4 Week Progress ◦ Engine side ◦ Thermo side.
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.
HossamTalaat - MATLAB Course - KSU - 21/1/24 1 IEEE Student Branch - College of Engineering - KSU Getting started with Simulink By Prof. Hossam Talaat.
Introduction to Orchestra Module 14 Introduction to Orchestra a Heterogenous Co-Simulation Environment.
Simulink ® From Simulink® 7 Getting Started Guide.
 Main Components:  Sensors  Micro controller  Motor drivers  Chasis.
DC Motor Model Using Simscape Engr. Salim Lashari.
DC motor model ETEC6419. Motors of Models There are many different models of DC motors that use differential equations. During this set of slides we will.
ME 270 Final Project Presentation Operational Amplifiers.
Modelling of a motor. Approaches to motor identification Go to the data sheets from the manufacturer and obtain the relevant motor performance characteristics.
Fundamentals of Power Electronics and Power System with MATLAB
Controlling a 3D Vehicle with Simulink Jeff Bender ME
LAB 1 MATLAB, dSPACE and Simulink
Title on all pages DC motor modeling with hands on experiments on DSP2 learning module (introductory lecture to mini project)
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
Proportional control Consider forward path gain A Feedback and Control If the size of the loop gain is large, that is if |A  >> 1, then or.
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.
M.S. Thesis Defense Jason Anderson Electrical and Computer Engineering Dept. Clemson University.
ME 335 Boğaziçi University A Study on Motor Speed Control.
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
WEBENCH Schematic Editor Hands On Problems
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,
Control systems KON-C2004 Mechatronics Basics Tapio Lantela, Nov 5th, 2015.
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
SPEED CONTROL OF ( SEDM ) ADOPTING CHOPPER CONVERTER AND PI CONTROLLER
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.
Simulink Simscape by Dr. Amin Danial Asham.
S-Functions in Simulink
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.
EE 401 Control Systems Analysis and Design Modeling an Electromechanical System The DC Servomotor Fri, Jan 29 EE 401: Control Systems Analysis and Design.
MATLAB and SimulinkLecture 21 To days Outline Introduction to Simulink Block diagrams Building models Exercises on today’s topics.
Automated Control Systems, 8/E by Benjamin C. Kuo and Farid Golnaraghi Copyright © 2003 John Wiley & Sons. Inc. All rights reserved. Figure 11-1 (p. 579)
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
Intelligent Control Grant Agreement No LLP UK-LEONARDO-LMP Project acronym: CLEM Project title: Cloud services for E-Learning in Mechatronics.
Getting started with Simulink An introductory tutorial.
Prototyping SoC-based Gate Drive Logic for Power Convertors by Generating code from Simulink models. Researchers Rounak Siddaiah, Graduate Student-University.
VAB™ for INFINITY Tutorial
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
- Graphical extension to MATLAB for modeling and simulation of systems
Arduino is an open-source platform for building electronics projects
Damped Forced Vibrations Analysis Using CAMP-G® and Simulink® Modeled Solutions to Problem (
Topics: ArduinoIO package Simulink with arduinoIO
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
WORKSHOP 3 GSE IMPORT.
Simulink Basics Reijo Vuohelainen
Contents Simulink model Grouping into subsystems Naming the subsystems
Workshop on INTRODUCTION OF MATLAB/SIMULINK TOOLS AND THEIR APPLICATION conducted by EEE/CCET 11/13/2018 workshop on 01/12/2010.
Topics: Arduino Target Package
سیمولینک کنترل خطی در متلب
Quanser Rotary Family Experiments
Fundamental Operation
Introduction to Orchestra
Getting Started With Simulink
Simulink Examples Ex1: Simulate the following equation Blocks needed:
Presentation transcript:

EE 460 Advanced Control and System Integration EE 460 Advanced Control and Sys Integration An Introduction to Simulink Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Modeling the QUANSER QUBE-Servo Let’s Develop a model of a DC servomotor in Simulink Motor with load Symbol Value (units) Description Rm 8.4 (Ohm) Armature resistance Lm 0.85x10-3 (H) Armature inductance Km 0.042 (V/(rad/s)) Back-EMF constant Kt 0.042 (Nm/A) Torque constant Jh 𝑚 ℎ 𝑟 ℎ 2 /2 (kg.m2) Load Hub Inertia ( 𝑚 ℎ =0.0106, 𝑟 ℎ =0.0111) Jd 𝑚 𝑑 𝑟 𝑑 2 /2 (kg.m2) Disk Inertia ( 𝑚 𝑑 =0.053, 𝑟 𝑑 =0.0248) Jm 4.0x10-6 (kg.m2) Rotor Inertia Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Modeling the QUANSER QUBE-Servo Build the Simulink Model Start MATLAB (run as admin) Open Simulink >> Simulink Create a Blank model New -> Simulink Model Select the Blocks from the Library Browser Continuous -> Transfer Fn Enter Numerator and Denominator coefficients Lm and Rm Change name of block Voltage to Currrent Add remaining blocks Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Modeling the QUANSER QUBE-Servo Define the values of the parameters in MATLAB Can use a *.m file Run the simulation Change model sim params You MUST run the *.m file first as it will define the model params used in the Simulink design!! Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Comparing the Simulation with Real Hardware Now let’s compare simulation with real hardware!! Change the input and output to ports Name the input port “Vin (V)” Name the output port “w (rad/s)” Create a subsystem from the model Add a “step” input Set the step time to 1 sec Set the simulation duration to “2” – i.e., two seconds Add a scope and check if it all works!! %% Students MUST run these two lines code >> C:\Program Files\Quanser\QUARC\quarc\quarc_setup >> mex -setup:'C:\Program Files\MATLAB\2014B\bin\win64\mexopts\winsdk-7.1_c.xml' C Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Comparing the Simulation with Real Hardware Now add the QUARC blocks to communicate with the real-time hardware From the Simulink Library Browser Add: QUARC Targets -> Data Acquisition -> Generic -> configuration HIL Initialize Double click on the icon and set Board Type: to qube_servo_usb QUARC Targets -> Data Acquisition -> Generic -> Intermediate I/O HIL Write Analog Double click on the icon and select Board Name -> HIL-1 Set the Simulation Mode -> External Wed, October 7 EE 460 Advanced Control and System Integration

EE 460 Advanced Control and System Integration Now Build ( ), Connect to Target ( ), and Run ( ) The disc should now spin Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Comparing the Simulation with Real Hardware Now add blocks to read the motor’s speed and compare with simulation Add QUARC Targets -> Data Acquisition -> Generic -> Timebases HIL Read Encoder Timebase Add QUARC Targets -> Discontinuities Inverse Modulus Double click and enter Modulus: 2^16 Add a Gain block with Gain: 2*pi/512/4 Add a low-freq differentiator Transfer function: 200s/(s+200) Add a 2:1 mux and then connect to a scope Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Comparing the Simulation with Real Hardware As before: Now Build, Connect to Target, and Run Wed, October 7 EE 460 Advanced Control and System Integration

An Intro. to Simulink Comparing the Simulation with Real Hardware Final Result Wed, October 7 EE 460 Advanced Control and System Integration