MATLAB and Simulink for Embedded Systems and Robotics Sean de Wolski Application Engineer

Similar documents
Schnell und effizient durch Automatische Codegenerierung

Introduction to MATLAB Gergely Somlay Application Engineer

Entwicklung und Testen von Robotischen Anwendungen mit MATLAB und Simulink Maximilian Apfelbeck, MathWorks

Product Development Flow Including Model- Based Design and System-Level Functional Verification

Introduction to Simulink & Stateflow. Coorous Mohtadi

Echtzeittesten mit MathWorks leicht gemacht Simulink Real-Time Tobias Kuschmider Applikationsingenieur

Data Analysis with MATLAB The MathWorks, Inc. 1

Eli Levi Eli Levi holds B.Sc.EE from the Technion.Working as field application engineer for Systematics, Specializing in HDL design with MATLAB and

Why Adopt Model-Based Design for Embedded Control Software Development?

How to program a Zumo Robot with Simulink

Multi-Konzeptionelle Verwendung von Low-Cost Hardware in der Lehre Dr.-Ing. Daniel Weida, MathWorks

Introduction to MATLAB for Data Analysis and Visualization

Integrating MATLAB into your C/C++ Product Development Workflow Andy Thé Product Marketing Image Processing Applications

Work with Arduino Hardware

OPC COMMUNICATION IN REAL TIME

Efficient and Faster PLC Software Development Process for Automotive industry. Demetrio Cortese IVECO Embedded Software Design

Caterpillar Automatic Code Generation

Lecture 3 - Model-based Control Engineering

DAQ in MATLAB HANS-PETTER HALVORSEN,

Lecture 9 Modeling, Simulation, and Systems Engineering

Introduction to Simulink

e d u c a t i o n NXT Solar Station

Converting Models from Floating Point to Fixed Point for Production Code Generation

MathWorks Products and Prices North America Academic March 2013

Additional Guides. TETRIX Getting Started Guide NXT Brick Guide

Embedded Vision on FPGAs The MathWorks, Inc. 1

A Case Study of Application Development and Production Code Generation for a Telematics ECU with Full Unified Diagnostics Services

Image and Video Processing with MATLAB

Numerical Methods in MATLAB

The second goal is to provide a list of tips, tricks, and best known methods that have been discovered over the life span of the course.

Learning Systems Software Simulation

Product Information CANape Option Simulink XCP Server

Tutorial for Programming the LEGO MINDSTORMS NXT

ERIKA Enterprise pre-built Virtual Machine

EE289 Lab Fall LAB 4. Ambient Noise Reduction. 1 Introduction. 2 Simulation in Matlab Simulink

OVERVIEW. Toolbox for Thermodynamic Modeling and Simulation with MATLAB /Simulink. Key Features:

Práctica 1: PL 1a: Entorno de programación MathWorks: Simulink

The NXT Generation. A complete learning solution

Set up and Blink - Simulink with Arduino

Making model-based development a reality: The development of NEC Electronics' automotive system development environment in conjunction with MATLAB

INDUSTRIAL CONTROL TECHNOLOGY. A Handbook for Engineers and Researchers. Peng Zhang. Beijing Normal University, People's Republic of China

What Is an Electric Motor? How Does a Rotation Sensor Work?

What s New in MATLAB and Simulink

Agilent Automotive Power Window Regulator Testing. Application Note

AUTOMATED DRIVING WITH ROS AT BMW.

CrossChasm Embedded Control Systems Whitepaper For Powertrain Design Teams

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

I can make just such ones if I had tools, and I could make tools if I had tools. -Eli Whitney

Final Year Projects at itm. Topics 2010/2011

Phi: The Golden Ratio

Leveraging the Android Accessory Protocol

Development of AUTOSAR Software Components within Model-Based Design

dspic30f4012 Microcontroller

Building a Simulink model for real-time analysis V Copyright g.tec medical engineering GmbH

E-learning for Graphical System Design Courses: A Case Study

School of Engineering Consent Agenda December 10, 2014 School of Engineering Graduate Studies Committee

The SAMANTA platform. Emeritus Expert SNECMA. Department Prognostic Health Monitoring Systems SNECMA

SYSTEMS, CONTROL AND MECHATRONICS

MECE 102 Mechatronics Engineering Orientation

Water Hardness. Evaluation copy

REMOTE HOST PROCESS CONTROL AND MONITORING OF INDUSTRY APPLIANCES

PART I: WELCOME TO THE WONDERFUL WORLD OF ACCESSORIES CHAPTER 1: INTRODUCTION TO ANDROID OPEN ACCESSORY 3

Digital Literacy: Communicating, Collaborating and E- Safety, Multimedia, Music and Sound, Digital Imagery

NATIONAL SUN YAT-SEN UNIVERSITY

Software Development with Real- Time Workshop Embedded Coder Nigel Holliday Thales Missile Electronics. Missile Electronics

P300 Spelling Device with g.usbamp and Simulink V Copyright 2012 g.tec medical engineering GmbH

Simulink Getting Started Guide

Software Development Principles Applied to Graphical Model Development

TETRIX Add-On Extensions. Encoder Programming Guide (ROBOTC )

Implementation of Knock Based Security System

Module 2 Introduction to SIMULINK

Setting up a Local Interconnect Network (LIN) using dspace MicroAutoBox 1401/1501 Simulink Blocks

3D Position Tracking of Instruments in Laparoscopic Surgery Training

dspace DSP DS-1104 based State Observer Design for Position Control of DC Servo Motor

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

Center for Dynamic Data Analytics (CDDA) An NSF Supported Industry / University Cooperative Research Center (I/UCRC) Vision and Mission

fakultät für informatik informatik 12 technische universität dortmund Data flow models Peter Marwedel Informatik 12 TU Dortmund Germany

Publishing Geoprocessing Services Tutorial

Ingo Stürmer, Dietrich Travkin. Automated Transformation of MATLAB Simulink and Stateflow Models

Energy Recovery System for Excavators Meng (Rachel) Wang, Chad Larish Eaton Corporation

Master of Science (Electrical Engineering) MS(EE)

imc FAMOS 6.3 visualization signal analysis data processing test reporting Comprehensive data analysis and documentation imc productive testing

LEGO NXT-based Robotic Arm

Final Report. LEGO Robot Vehicle Afterschool Workshops: Transportation Engineering Problem Solving (K-12 Workforce Development, NCSU)

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

The integrated HMI-PLC

Programmable Logic Controllers Definition. Programmable Logic Controllers History

Praktikum: Lecture information. Content of this course. Description of our practical course. Introduction to our practical course

Model-based system-on-chip design on Altera and Xilinx platforms

Is a Data Scientist the New Quant? Stuart Kozola MathWorks

An Experimental Study on Pixy CMUcam5 Vision Sensor

Credit Risk Modeling with MATLAB

Classroom Activities for the Busy Teacher: EV3

INTERNAL REGULATIONS FOR THE BACHELOR OF SCIENCE DEGREE IN MECHATRONICS AND ROBOTICS ENGINEERING

Analog Devices RadioVerse technology: Simpler wireless system design

User experience and product-level performance testing in mobile devices.

2015 The MathWorks, Inc. 1

understanding sensors

Designing and Embodiment of Software that Creates Middle Ware for Resource Management in Embedded System

Technical Training Module ( 30 Days)

Transcription:

MATLAB and Simulink for Embedded Systems and Robotics Sean de Wolski Application Engineer 2014 The MathWorks, Inc. 1

Agenda for today MATLAB & SIMULINK Theory to Practice Trying out concepts from Controls, Signal Processing, Communications, Mapping, etc. Testing on low-cost hardware 2

Demo: Exploring Rover 3

Why an Embedded System? 4

MathWorks products MATLAB + Toolboxes Data Analysis and Visualization Statistical analysis Mathematical Modeling Signal Processing Etc. Simulink + Blocksets System modeling, simulation, testing and implementation Communication system design Physical system design hydraulic, mechanical, electrical, etc. Controller designing, tuning and implementation Etc. 5

MATLAB for Data Analysis and Visualization Access Files Explore & Discover Data Analysis & Modeling Share Reporting and Documentation Software Algorithm Development Outputs for Design Code & Applications Hardware Application Development Deployment Automate 6

Simulink The leading environment for modeling, simulating, and implementing dynamic and embedded systems Block-diagram environment Model, simulate and analyze multi-domain systems Accurately design, implement, and test: Control systems Signal processing systems Communications systems And other dynamic systems Platform for Model-Based Design 7

MATLAB & Simulink in industry Eurocopter: Helicopters Eaton: Hybrid Delivery Truck Caterpillar: Construction Machine IAV: CNG/LPG EMS GM: HVAC Delphi: Common Rail Diesel Dongfeng: BMS Honeywell: Flight Controls GM: Hybrid Powertrain Daimler: Vehicle Controller Lear: BCM Vodafone: Telematics 8 8

Targeting Hardware ANSI-C Code generation for embedded microprocessors MATLAB Coder Simulink Coder Embedded Coder HDL Code Generation for FPGAs and ASICs HDL Coder HDL Verifier PLC Code Generation Simulink PLC Coder 9

Simulink Hardware Support for Project- Based Learning Run Simulink models on low-cost target hardware With just a click, your model moves from Simulink onto hardware Supported target hardware Arduino Uno ($30), Mega 2560 ($65) LEGO MINDSTORMS NXT ($280) Raspberry Pi Model B ($35) BeagleBoard-xM ($150) PandaBoard ($180) Gumstix Overo hardware ($180) Available in Student Version 10

Demo: MATLAB Rover 11

We will discuss: Part 1: Simulink for Embedded Logic Design, Test and Implementation Part 2: Stateflow for designing Event-driven systems, asynchronous sequencing logic Part 3: MATLAB, Simulink and Stateflow working together Part 4: MATLAB for Data Analysis and Visualization Plotting data on maps 12

LEGO MINDSTORMS NXT Technology NXT Intelligent Brick 3 Actuator Ports 1 USB Port 4 Sensor Ports 13

Part 1: Embedded Logic Design, Test and Implementation Design complex dynamic behavior and program robot Task for robot: Maintain: Speed Obst. Dist. Stop if: Obst. Dist. < 20 cm Approach Model intelligent behavior in Simulink Program the robot using Hardware Support Package 14

Part 2: State Machine Design with Stateflow Designing event-driven systems and sequencing logic Task for robot: Exist in IDLE or MOVING States Change States based on obstruction distance Approach Design state machine using Stateflow Program robot 15

Part 3: Interfacing with MATLAB Interface MATLAB and Simulink Task: Control block parameters using MATLAB commands Log sensor data and save to MATLAB workspace Approach Use SET_PARAM command Use SINK blocks with model in EXTERNAL MODE 16

Part 4: Post-process data in MATLAB MATLAB for Data Analysis and Visualization Task: Display collected data on maps Approach Use tools in Mapping Toolbox 17

Demo: MATLAB Rover MATLAB GUI Simulink & Stateflow Change Model Parameters Tune Parameters View Logged Data Log Sensor Data Hardware Support Package for LEGO MINDSTORMS NXT USB & Bluetooth Analyze and Visualize Logged Data 18

Video Demo: Arduino Bumper Bot 19

Video Demo: Raspberry Pi Object Detection 20

Key takeaways MATLAB commands to remember >> targetinstaller >> simulink >> doc To learn more MATLAB and Simulink based Interactive Tutorials http://www.mathworks.com/academia/student_center/tutorials/ Supported hardware for project based learning: http://www.mathworks.com/academia/hardware-resources/ 21

2014 The MathWorks, Inc. 22