Controlling a Robotic System with MATLAB and Simulink using a Desktop Computer By Sergio Biagioni

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

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

Schnell und effizient durch Automatische Codegenerierung

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

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

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

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

Introduction to MATLAB Gergely Somlay Application Engineer

Lecture 3 - Model-based Control Engineering

Data Analysis with MATLAB The MathWorks, Inc. 1

Introduction to Simulink & Stateflow. Coorous Mohtadi

Embedded Vision on FPGAs The MathWorks, Inc. 1

dspic30f4012 Microcontroller

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

Parallel Computing with MATLAB

Computer Scientist. Conduct research in latest computer and network security technologies for high assurance system security solutions

Introduction to Data Acquisition

How to program a Zumo Robot with Simulink

Medical Device Design: Shorten Prototype and Deployment Time with NI Tools. NI Technical Symposium 2008

High-Level Synthesis for FPGA Designs

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

Robotics and Engineering Design (SKN11) Syllabus

MAJORS: Computer Engineering, Computer Science, Electrical Engineering

A Computer Vision System on a Chip: a case study from the automotive domain

Performance Study based on Matlab Modeling for Hybrid Electric Vehicles

DESIGN OF A TOUCHLESS USER INTERFACE. Author: Javier Onielfa Belenguer Director: Francisco José Abad Cerdá

Introduction to MATLAB for Data Analysis and Visualization

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

Is a Data Scientist the New Quant? Stuart Kozola MathWorks

ELEC 5260/6260/6266 Embedded Computing Systems

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

Basics of Simulation Technology (SPICE), Virtual Instrumentation and Implications on Circuit and System Design

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

Dataflow Programming with MaxCompiler

Final Year Projects at itm. Topics 2010/2011

Advanced Electronic Platform Technologies Supporting Development of Complicated Vehicle Control Software

NIOS II Based Embedded Web Server Development for Networking Applications

Arduino Training - Basics of Micro-controllers Programming Basics

MathWorks Products and Prices North America Academic March 2013

Lecture 9 Modeling, Simulation, and Systems Engineering

Caterpillar Automatic Code Generation

Speeding up MATLAB and Simulink Applications

MECE 102 Mechatronics Engineering Orientation

The Design of DSP controller based DC Servo Motor Control System

Die wichtigsten Use Cases für MISRA, HIS, SQO, IEC, ISO und Co. - Warum Polyspace DIE Embedded Code-Verifikationslösung ist.

Cypress Semiconductor: Arduino Friendly PSoC Shield

FPGA Implementation of an Advanced Traffic Light Controller using Verilog HDL

9/14/ :38

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

How To Use First Robot With Labview

Development of AUTOSAR Software Components within Model-Based Design

Bringing Big Data Modelling into the Hands of Domain Experts

Design Data Management in Model-Based Design

Product Information CANape Option Simulink XCP Server

Supported Client Devices: - SIP/H.323 hardware and software end-points

CS 589 Project Smart Home Hub, Phase I Due before 9am on October 21, 2015

BUILD VERSUS BUY. Understanding the Total Cost of Embedded Design.

EEM870 Embedded System and Experiment Lecture 1: SoC Design Overview

Embedded Systems Engineering Certificate Program

Work with Arduino Hardware

White Paper Video Surveillance Implementation Using FPGAs

What s Left in E11? Technical Writing E11 Final Report

Nutaq. PicoDigitizer 125-Series 16 or 32 Channels, 125 MSPS, FPGA-Based DAQ Solution PRODUCT SHEET. nutaq.com MONTREAL QUEBEC

Electronic system-level development: Finding the right mix of solutions for the right mix of engineers.

ERIKA Enterprise pre-built Virtual Machine

Networking Remote-Controlled Moving Image Monitoring System

Android Controlled Based Interface

Electrics & Electronics

CrossChasm Embedded Control Systems Whitepaper For Powertrain Design Teams

DAQ in MATLAB HANS-PETTER HALVORSEN,

NATIONAL SUN YAT-SEN UNIVERSITY

MsC in Advanced Electronics Systems Engineering

Getting Started with RemoteFX in Windows Embedded Compact 7

Summer Internships 15

Analytic Modeling in Python

VON BRAUN LABS. Issue #1 WE PROVIDE COMPLETE SOLUTIONS ULTRA LOW POWER STATE MACHINE SOLUTIONS VON BRAUN LABS. State Machine Technology

Robot Control MRobot

Design Report. IniTech for

The Emerging Trends in Electrical and Computer Engineering

Martin C. Alcock, M. Sc. (Dist), MIEEE Embedded Systems Specialist

2015 The MathWorks, Inc. 1

KS3 Computing Group 1 Programme of Study hours per week

Application of Android OS as Real-time Control Platform**

White Paper Video and Image Processing Design Using FPGAs

Artificial Intelligence and Politecnico di Milano. Presented by Matteo Matteucci

3. NUMBER OF PARTICIPANTS TO BE ENROLLED

ON-LINE MATLAB-BASED EDUCATIONAL TOOLS FOR PROCESS CONTROL RELATED COURSES

Codesign: The World Of Practice

µfup: A Software Development Process for Embedded Systems

KEEP IT SYNPLE STUPID

Best Practices for Verification, Validation, and Test in Model- Based Design

Digital Systems Based on Principles and Applications of Electrical Engineering/Rizzoni (McGraw Hill

IT 3202 Internet Working (New)

AUTOMATED DRIVING WITH ROS AT BMW.

Integrating Legacy Code / Models with Model Based Development Using Rhapsody

Master Specialization in Digital Design: Design and Programming of Embedded Systems

Architectures and Platforms

Transcription:

Controlling a Robotic System with MATLAB and Simulink using a Desktop Computer By Sergio Biagioni 2015 The MathWorks, Inc. 1

Agenda MathWorks Support for Student Competitions Advantage of MATLAB and Simulink for Robotics Demo: Ball Tracking with MATLAB and Simulink How to deploy MATLAB and Simulink to a Desktop Computer 2

MathWorks Support of Student Competitions MathWorks supports student competition teams by providing them with software and training. Student competitions inspire the next generation of innovators to put their classroom knowledge to practical use, solving real-world problems with software and hardware used by professional engineers. mathworks.com/academia/student-competitions 3

Robotics Student Competitions AUVSI Foundation RoboBoat RoboSub RobotX IGVC RoboCup 4

Why use MATLAB and Simulink to deploy algorithms in competitions? Tools used by industry One design environment to design algorithms, model a vehicle and deploy algorithms to hardware. Model-Based Design 5

Model-Based Design: Introduction Sensor Models DESIGN Control Algorithms Model-Based Design uses block diagrams and simulations to mathematically model the system behavior. Embedded Software Dynamic Models Sensor Models Control Algorithms Dynamic Models Embedded Software 6

Model-Based Design: Mobile Robot Examples Sim.I.am Mobile Robot Simulation with MATLAB File Exchange ID: 40860 Mobile Robot Simulation for Collision Avoidance with Simulink File Exchange ID: 47208 7

Model-Based Design: Mobile Robot Examples 8

Model-Based Design for Competitions RESEARCH DESIGN REQUIREMENTS Start the design process early. Design without hardware Design without testing facilities Environmental Models Executable Desktop Computer Mechanical Control Algorithms Supervisory Logic IMPLEMENTATION C, C++ INTEGRATION Electrical VHDL, Verilog MCU DSP FPGA ASIC TEST & VERIFICATION Automatically generate code from the simulation model for implementing directly on targets: Desktop Computer Microcontrollers FPGA's 9

Model Based Design in Competitions Path Planning Controller Acoustic and Image Processing Algorithms MATLAB Executable MATLAB ROS Node Desktop Computer Desktop Computer 10

Resources for MathWorks Support MathWorks Supported Student Competitions If your competition is not on the list of supported competitions, and you would like software support, send email to: academicsupport@mathworks.com http://www.mathworks.com/academia/student-competitions/ 11

Demo: Ball Tracking with MATLAB and Simulink 12

Hardware Layout Microsoft Kinect for Windows Standard Laptop Lynxmotion Rover with DC Motors and Encoders Arduino Mega 2560 Arduino Ethernet Shield Sabertooth Motor Controller 13

Hardware and Software Layout Kinect Color Depth MATLAB or MATLAB Simulink I/O External C/C++ Desktop Computer Arduino imaq.videodevice From Video Device writeposition dsp.udpsender UDP Send Motor Controller and Motors 14

Demo 1: MATLAB with MATLAB Support Package for Arduino Kinect MATLAB MATLAB I/O Color Depth Desktop Computer imaq.videodevice writeposition Arduino Motor Controller and Motors 15

http://www.mathworks.com/hardware-support/ 16

Demo 2: MATLAB or Simulink with Executable Deployment Kinect MATLAB or Simulink External C++ Color Depth Desktop Computer Arduino imaq.videodevice From Video Device dsp.udpsender UDP Send Motor Controller and Motors 17

Deployment Options Both MATLAB and Simulink can be used to deploy algorithms to a Desktop Computer The three deployment options are: MATLAB Simulink Run in MATLAB or Simulink Run code in MATLAB Run code in Simulink Generate Executable Algorithm Export buildexecutable using codegen and PackNGo Generate C/C++ code only, use external IDE to build buildexecutable using slbuild and PackNGo Generate C/C++ code only, use external IDE to build 18

Algorithm Export http://www.mathworks.com/products/matlab-coder/ http://www.mathworks.com/products/simulink-coder/ 19

Getting Started Guide for AUVSI Foundation Competitions Contains examples showing how to deploy MATLAB and Simulink to a Desktop Computer 20

Overview of Getting Started Guide Included topics Video Acquisition Communication i.e. udp MATLAB Acceleration Deployment to Executable Included functionality buildexecutable - converts MATLAB and Simulink to deployable executable with one function call Simulink Soft Real-Time block dec2ascii - decimal to ascii function Others 21

MathWorks Robotics http://www.mathworks.com/products/robotics/ 22