Model-Based Design of a Quadcopter Ryan Gordon

Similar documents
Model-Based Design for Controls The MathWorks, Inc. 1

Model-Based Design for High Integrity Software Development Mike Anthony Senior Application Engineer MathWorks Tucson, AZ USA

Development of AUTOSAR Software Components with Model-Based Design

Introduction to Simulink & Stateflow

EXPLORE ENROLL EXCEL 2017

2010 The MathWorks, Inc. Model-Based Design for High Integrity Software and Hardware

Simulink as Your Enterprise Simulation Platform

Machine Learning Simplified

Model Based Design in Automation

What s New in MATLAB and Simulink

What s New in MATLAB and Simulink

What s new in MATLAB and Simulink

Introduction to Simulink & Stateflow

Verification and virtual commissioning of configurable handling systems

PC-Based Validation of ECU Software

Development of AUTOSAR Software Components with Model-Based Design

What s New in MATLAB and Simulink

The Role of Real-Time Workshop Embedded Coder in Supporting Cummins Inc. Vision for Model Based Development

Model-Based Design with MATLAB and Simulink to shorten the design of a new infusion pump

Developing and Deploying Analytics for IoT Systems

What s New in MATLAB and Simulink

Novedades de las últimas versiones de MATLAB y Simulink

``Overview. ``The Impact of Software. ``What are Virtual Prototypes? ``Competitive Electronic Products Faster

Acceleration of Complex models simulation. May 24rd 2018

What s New in MATLAB and Simulink

How to build an autonomous anything

2015 The MathWorks, Inc. 1

Accelerating Xilinx All Programmable FPGA and SoC Design Verification with Blue Pearl Software

What s New in MATLAB and Simulink

How to build an autonomous anything

Frontload the design, V&V and certification of software-intensive mechatronic systems by adopting the Digital Twin approach

What s New in MATLAB and Simulink

How to build an autonomous anything

Introduction to MATLAB. EL1150, Lecture 1, HT 2014

Service and Support for Science IT

ThingSpeak - IoT Platform with MATLAB Analytics

The Impact of Modelling and Simulation in Airbus Product Development

IBM Grid Offering for Analytics Acceleration: Customer Insight in Banking

Applying Model-Based Design to Commercial Vehicle Electronics Systems

Predictive Maintenance with MATLAB and Simulink

Virtualizer: Next-Generation Virtual Prototyping. Marc Serughetti Director Product Marketing Virtual Prototyping

THE CHALLENGE OF ISO FOR COMPLEX SOFTWARE MODELS Oliver Collmann

Production Code Generation for Engine Control System

QUADCOPTER. Huginn. Group 1. Floris Driessen Martin van Leussen Art Senders Tijl van Vliet Steven van der Vlugt

Press Release. ETAS Rolls Out New Solutions for Simulink Users

Simulink as Your Enterprise Simulation Platform

020L: Superior SH2A Design Process using Model Based Design (MBD), Virtualization and Hardware-in- Loop (HIL) Systems Lab

MATLAB for Data Analytics The MathWorks, Inc. 1

Developing Analytics and Deploying IoT Systems

MathWorks Vision for Systematic Verification and Validation

Enterprise-Scale MATLAB Applications

DARPA Bay Area Hackfest

The Rise of Engineering-Driven Analytics. Richard Rovner VP Marketing

Introduction to Robotics Toolbox for MATLAB. Yang Shen Ph.D. Candidate, Bionics Lab, UCLA MAE 263B

AEM 5495 Spring Design, Build, Model, Simulate, Test and Fly Small Uninhabited Aerial Vehicles (UAVs)

Data Analysis with MATLAB Dr. Frank Graeber MathWorks Germany

LS1021A. in Industrial Safety Systems

Developing Prognostics Algorithms: Data-Based and Model-Based Approaches

Model-Based Design for ISO Applications. April 2010

Strategies for MATLAB and Simulink Upgrades

Utilization of Simulink Verification and Validation (V&V) and Simulink Design Verifier (SDV) for HVAC Controls Software

Application of MBD to Development of ECU Prototype for EPS

Testing Solutions for Hyper-Connected Apps

Introduction to Data Analytics with MATLAB

Teledyne DALSA Industrial Products. Embedded vision for industry

Your next transformation, one click away.

Data Analysis in the Internet of Things: IoT capabilities with MATLAB/Simulink

UAV & Quadcopter (Summer Training Program) 4 Weeks/30 Days

"The Ongoing Pursuit of an Integrated Toolset for Model- Based Design: Benefits and Challenges" Steve Houghton

DynaFusion Training Catalog

Automated Guided Vehicles: Complete End-to-End Solutions Jana Kocianova & Craig Henry Manufacturing in America March 20-21, 2019

Building smart products: best practices for multicore software development

Model-Sharing in the service of Innovation for the Automotive Industry

Thermal Modeling for Buildings. Karla Vega University of California, Berkeley Fall 2009

La Modélisation et la Simulation au service de l Innovation

European initiative on predictable integration of Embedded Systems. Vincent Seignole (THALES Communications)

Sharing and Deploying MATLAB Programs

CFD Workflows + OS CLOUD with OW2 ProActive

Oracle Planning and Budgeting Cloud Service

Advances in PI System Streaming Analytics and Other External Calculation Engines

Data Analytics for Engineers

Focus on Cardiac Devices. with

Model Driven Approaches to Firmware Development in Selex ES. 21 Jan. 2015

IBM Developer Days for the Modern Java Developer IBM Corporation

Startups Accelerating Going to Production With Altium

Implementing a control application on an FPGA Platform

C3 Products + Services Overview

Introducing. Data analysis & Machine learning Machine vision Powerful script language Custom instrument drivers

The Rise of Engineering-Driven Analytics

Learning Inference. Performance Tools. Analysing Machine. with Arm. #ArmTechCon. Stephen Barton Product Manager Arm

SCADE Suite 6.4. Technical Data Sheet. Software Prototyping and Design

Verification & Validation of an Autonomous Quadcopter System

The Digital Twin and its Effect on Automation Efficiencies Colm Gavin Factory Automation Digitalization Specialist Manufacturing in America March

Automation framework for converting legacy application to AUTOSAR System using dspace SystemDesk

Agilent VEE Pro. Better Tests, Faster

Automated Service Builder

Certifiable Production Code Development

Model Based Controls Moving Beyond Software Domain MAC 2015

Transcription:

Model-Based Design of a Quadcopter Ryan Gordon 2015 The MathWorks, Inc. 1

Algorithm System Req. Model-Based Design Adoption Grid Virtual V&V System Validation Fully leveraged MBD Closed-Loop Simulation HW-in-the-Loop Simulation Simulation-based Development Graphical Specification Design Prototyping Graphical Programming Simulation Real-Time Test Production 2

Algorithm System Req. Model-Based Design Adoption Grid Graphical Specification Simulation Real-Time Test Production 3

Algorithm System Req. Model-Based Design Adoption Grid Closed-Loop Simulation Graphical Specification Simulation Real-Time Test Production 4

Algorithm System Req. Model-Based Design Adoption Grid Virtual V&V Closed-Loop Simulation Graphical Specification Simulation Real-Time Test Production 5

Algorithm System Req. Model-Based Design Adoption Grid Virtual V&V System Validation Closed-Loop Simulation HW-in-the-Loop Simulation Graphical Specification Design Prototyping Simulation Real-Time Test Production 6

Algorithm System Req. Model-Based Design Adoption Grid Virtual V&V System Validation Fully leveraged MBD Closed-Loop Simulation HW-in-the-Loop Simulation Simulation- based Development Graphical Specification Design Prototyping Graphical Programming Simulation Real-Time Test Production 7

Algorithm System Req. Model-Based Design Adoption Grid Virtual V&V System Validation Fully leveraged MBD Closed-Loop Simulation HW-in-the-Loop Simulation Simulation-based Development Graphical Specification Design Prototyping Graphical Programming Simulation Real-Time Test Production 8

Algorithm System Req. Model-Based Design Adoption Grid 1. Where are you? 2. Which path(s) do you want to take? Virtual V&V System Validation Fully leveraged MBD Closed-Loop Simulation HW-in-the-Loop Simulation Simulation-based Development Your Graphical Organization Specification??? Design Prototyping Graphical Programming Simulation Real-Time Test Production 9

Demo Agenda Build Quadcopter Simulation with SimMechanics Build Control System with Simulink Control Design Deploy to Hardware with Embedded Coder and Custom Targtet 10

Demo Agenda Build Quadcopter Simulation with SimMechanics Build Control System with Simulink Control Design Deploy to Hardware with Embedded Coder and Custom Targtet 11

Introduction to Simulink Block-diagram environment Model, simulate, and analyze multidomain systems Design, implement, and test: Control systems Signal processing systems Communications systems Other dynamic systems Platform for Model-Based Design 12

SimPowerSystems SimMechanics SimHydraulics SimDriveline SimElectronics Introduction to SimMechanics Enables multibody simulation of 3D mechanical systems Construct model using bodies, joints, and forces Model matches structure of system No need to derive and program equations Simscape MATLAB, Simulink Primary uses System-level analysis Control development in Simulink 13

Equations of Motion thetadotdot = -g/l*sin(theta) 14

Demo Agenda Build Quadcopter Simulation with SimMechanics Build Control System with Simulink Control Design Deploy to Hardware with Embedded Coder and Custom Targtet 15

Introduction to Simulink Control Design Automatically tune gains of PID controllers Rapidly perform advanced linear analysis and control design for plants modeled in Simulink u + Controller Plant A x + B u = 0 y 16

Demo Agenda Build Quadcopter Simulation with SimMechanics Build Control System with Simulink Control Design Deploy to Hardware with Embedded Coder and Custom Targtet 17

Intro to Automatic Code Generation 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 18

Usage of Embedded Coder Generate C Code Merge with Existing Code-Base (manual integration) Shared Library / DLL (ie: integrating with another application) Target specific platform, stand-alone execution 19

Usage of Embedded Coder Generate C Code Merge with Existing Code-Base (manual integration) Shared Library / DLL (ie: integrating with another application) Custom-Target Target specific platform, stand-alone execution 20

What the user sees: Build-Tool Chain Interface Custom Hardware Custom Compiler/Toolchain 21

How we generated a full program executable Controller Model w/driver Blocks Sensor Drivers (Rate Gyro, Accelerometer, Ultrasound height) Generated Algorithm Code Actuator Drivers (LEDs, Propellers) Written manually by hand Written manually by hand Tuning With External Mode Linux Operating System Scheduler Used External Mode API from Embedded Coder 22

External Mode a) Visualize signals/values of generated code in Simulink as executable is running b) Change values of parameters in real-time. No re-compilation to change a single gain value Out-of-the-box support: -Support for UNIX / Windows PC and WindRiver VxWorks -Transport layers included: Serial RS-232, TCP/IP -Can customize your own transport layer, API available for this 23

External Mode Demo 24

Video of External Mode 25

HW connectivity support 26

Pixhawk Target Open source hardware for all sorts of the amateur/commercial micro-uavs Highly customizable hardware. Can be used with quad-copter, hexa-copter or fixed wing UAVs Runs a Real-Time Operating System (NuttX) on ARM Cortex-M. Simulink code generation target written by Steve Kuznicki (Pilot Engineering). Tested with a hexacopter AR Drone and Pixhawk Target Support package coming soon! 27

Resources 28

Community, Support, and Add-Ons http://www.mathworks.com Seminars Webinars Workshops Videos Examples Technical Support Pilot Engineering Training Consulting Book Program File Exchange MATLAB Answers Apps Hardware support packages 29

Improved productivity and effectiveness Accessing data Exploring, analyzing, and visualizing data interactively Automating common tasks Debugging and optimizing code Sharing results Discovering new features and capabilities 30

Technical Support Resources support@mathworks.com Over 100 support engineers All with MS degrees (EE, ME, CS) Local support in North America, Europe, and Asia Comprehensive, product-specific Web support resources High customer satisfaction 95% of calls answered within three minutes 70% of issues resolved within 24 hours 80% of customers surveyed rate satisfaction at 80-100% 31

MATLAB Central Open exchange for the MATLAB and Simulink user community 70,000 visits per day File Exchange Access more than 10,000 free files, including functions, apps, examples, and models MATLAB Answers Ask MATLAB questions or search more than 18,000 community-answered questions. Newsgroup Web forum for technical discussions about MATLAB and Simulink 1,400 posts per day Blogs Read commentary from engineers who design, build, and support MATLAB and Simulink. Based on average 2011 data 32

Training Services Exploit the full potential of MathWorks products Flexible delivery options: Public training available worldwide Onsite training with standard or customized courses Web-based training with live, interactive instructor-led courses Self-paced interactive online training More than 30 course offerings: Introductory and intermediate training on MATLAB, Simulink, Stateflow, code generation, and Polyspace products Specialized courses in control design, signal processing, parallel computing, code generation, communications, financial analysis, and other areas 33

Continuous Improvement Consulting Services Accelerate your return on investment A global team of experts supporting every stage of tool and process integration Process and Technology Standardization Process and Technology Automation Process Assessment Advisory Services Component Deployment Full Application Deployment Jumpstart Migration Planning Research Advanced Engineering Product Engineering Teams Supplier Involvement 34

Questions? 35