Controlling a 3D Vehicle with Simulink Jeff Bender ME-114 12-22-06.

Slides:



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

1 1 Mechanical Design and Production Dept, Faculty of Engineering, Zagazig University, Egypt. Mechanical Design and Production Dept, Faculty of Engineering,
3) CircuitWorks Component Library
For System Dynamics & Control
 (x) f(x,u) u x f(x,  (x) x. Example: Using feed-forward, what should be canceled?
Getting started with Simulink An introductory tutorial ES205 Analysis and Design of Engineering Systems Rose-Hulman Institute of Technology © R. Layton.
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.
1 A Tool for System Simulation: SIMULINK Can be used for simulation of various systems: – Linear, nonlinear; Input signals can be arbitrarily generated:
Using Search Functionality. This tutorial will show you how to use the Search bar to find a zzusis portal function.
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.
SHORTCUTS. Overview Shortcuts are quick ways to get to the items you use often. You can put a shortcut to any program, document, or printer on your desktop.
Introduction to Orchestra Module 14 Introduction to Orchestra a Heterogenous Co-Simulation Environment.
Simulink ® From Simulink® 7 Getting Started Guide.
DC Motor Model Using Simscape Engr. Salim Lashari.
Head on Collision By Fabiola Carrasco ME 143 Professor Granda December 25, 2006.
LAB 1 MATLAB, dSPACE and Simulink
INTRODUCTION TO CONTROL SYSTEMS
CAMP-G/Matlab Vehicle Crash Test
Getting a video from the Internet Getting a video from the Internet (1 of 9) 1. Click the Web toolbar button on the Standard toolbar. 1.
Open Internet Explorer Go to: my.ccsd.net Type YOUR InterAct username and password. Then Submit Query.
DMU: Kinematics Workbench By: Michael Johnson Kyle Pflueger Paul Sowiniski.
Head-on Collision ME115 FALL 2006 Final Project Instructor: Professor Granda By Blong Xiong Department of Mechanical Engineering California State University,
Simulink SubSystems and Masking April 22, Copyright , Andy Packard. This work is licensed under the.
Move the mouse to the IE icon on the Quick Launch Bar and click to cut a small picture. This small picture is for locating the position of IE Quick Launch.
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.
Chapter 6.1 Notes Power. The time it takes to complete an activity is as important as the work required. Compare running up stairs to walking up stairs.
WS09-1 VND101, Workshop 09 MSC.visualNastran 4D Exercise Workbook Belted Cylinder.
ME 335 Boğaziçi University A Study on Motor Speed Control.
Controls. Given a set of desired Tool frame positions and orientations (that trace out a path over time, t ), there will be a corresponding required set.
Regensburg, 24. – Introduction to Simulink Pavel Karban University of West Bohemia, Faculty of Electrical Engineering, Department of Theory.
ME 115: Dynamics of Machinery Manuel Leija Christian Reyes.
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,
EE 460 Advanced Control and System Integration
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
Newton’s 2nd Law: Translational Motion
1 Motivation We wish to test different trajectories on the Stanford Test Track in order to gain insight into the effects of different trajectory parameters.
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.
Tutorial 7 Creating Animations. XP Objectives Learn about animation Create a timeline Add AP divs and graphics to a timeline Move and resize animation.
Getting started with MATLAB/Simulink
MSC vNastran 4D. Installation Guide Installation is very easy if you follow the readme.txt carefully. But since you will encounter a problem, I’ll explain.
Simulink by Dr. Amin Danial Asham. References  MATLAB Help  Telemark University College - Department of Electrical Engineering, Information Technology.
Microwave Office 2005 Training Linear Simulation – Low Noise Amplifier
Simulink  ? 1 Simulink  ( Simu lation and Link ) is an extension of Matlab Offers modeling, simulation, and analysis of dynamical systems; i.e., a system.
Problem 3 ME 115 Final – Troy Topping. Initial Construction A box with m = 1250 kg is input to simulate the forklift Only half the mass is used since.
MATLAB and SimulinkLecture 21 To days Outline Introduction to Simulink Block diagrams Building models Exercises on today’s topics.
M. De Cecco - Lucidi del corso di Robotica e Sensor Fusion Kinematic model of a differential drive robot.
Creating Flexible, Script-Controlled Autonomous Software Example Explanation.
Modeling First Order Systems in Simulink And Analyzing Step, Pulse and Ramp Responses SOEN385 Control Systems and Applications.
Getting started with Simulink
Simulink Modelling Tutorial In Simulink, it is very straightforward to represent a physical system or a model. In general, a dynamic system can be constructed.
AVTC Model Based Design Curriculum Development Project.
Getting started with Simulink An introductory tutorial.
WORKSHOP 1 CO-SIMULATION.
Single Tank System FV Desired liquid level: 5 cm (0.05 m)
Damped Forced Vibrations Analysis Using CAMP-G® and Simulink® Modeled Solutions to Problem (
ECEN/MAE 3723 – Systems I MATLAB Lecture 2.
Car Jumping ME 143 Zhiyu Gao.
Simulink Basics Reijo Vuohelainen
Licensed Electrical & Mechanical Engineer
GROpt.m (1) Copy the 7 files from GRopt.zip into one directory.
Fundamental Operation
Introduction to Orchestra
Getting Started With Simulink
Application of Vehicle Controls ME5670
VEX Drag Race Your name, date, hour.
Presentation transcript:

Controlling a 3D Vehicle with Simulink Jeff Bender ME

visualNastran 4D Process The completed SolidWorks assembly is transferred to Nastran using the visualNastran link in the SolidWorks program:

Additional Nastran Constraints Each wheel must be set to collide with the road A motor must be added to each wheel

Torque Control

Addition of Control Bar in Nastran The Torque Control bar in Nastran will be used by Matlab as an input parameter

Addition of Meter in Nastran The Angular Velocity Meter will be used by Matlab as an output parameter

Matlab Process The first step in Matlab is to open a new document in Simulink and then open the Simulink Library Browser New Document Simulink Library Browser

Matlab Process Add a “constant”, “sum”, “gain” and “vNPlant” from the Library Browser by clicking and dragging The constant is found under Sources The sum and gain are found under Math Operations The vNPlant is found under MSC.visualNastran 4D

Matlab Process Open the vNPlant by double clicking it and use the Browse function to open the appropriate Nastran file Add each of the Torque controls as inputs Add each of the Angular Velocities of the wheels in the y- direction

Matlab Operations A feedback loop will be created using data measured from the model as the input and values from the drive motor as the output. The output will adjust according to the target input value. There will be a large output when far away from the desired input value but the output will gradually reduce until the input matches the desired value.

Matlab Process Enter Target Value of 720 deg/sec and set damping to -400 Click on “Start Simulation” in the Simulink window

Results You can see the difference between the two models Car running with constant torque value Click on picture to see simulation Car running with Simulink Control Click on picture to see simulation

Velocity Control

Addition of Control Bar in Nastran Similar to the Torque Control bar, the Velocity Control Bar in Nastran will be used by Matlab as an input parameter The Rotational Velocity Control must be added to each motor

Addition of Meter in Nastran The Velocity Meter will be used by Matlab as an output parameter The Velocity Meter must be added to each wheel

Matlab Process As before, open a new Simulink file and add a “constant”, “sum”, “gain” and “vNPlant” from the Library Browser Open the vNPlant and use the Browse function to open the appropriate Nastran file Add each of the Rotational Velocity controls as inputs Add each of the Velocities of the wheels in the y-direction

Matlab Process Enter Target Value of 720 deg/sec and set damping to 0.5 and press the “Start Simulation” button

Results Click on picture to see Matlab simulation

Results Simulink increases and decreases the velocity of the wheels to compensate for the changing forward velocity with each rotation

Conclusion Simulink was successfully used to control the torque and velocity of a three dimensional vehicle. These techniques can be used to analyze many different three dimensional models