Top Banner
1 © 2015 The MathWorks, Inc. Connecting to hardware and rapid prototyping Nicolas Gautier Application Engineer
9

Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

Feb 25, 2018

Download

Documents

trinhthu
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

1© 2015 The MathWorks, Inc.

Connecting to hardware and rapid

prototyping

Nicolas Gautier

Application Engineer

Page 2: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

2

Have you ever had to design, implement

and tune a controller running on a piece of

hardware?

Page 3: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

3

Challenges:

• Designing a robust controller

• Tune controller for optimal performance

Solutions:

• Rapid prototyping

• Plant modelling

Benefits:

• One-click deployment

• No need for hand-written C/C++

• Same model throughout the design process

Page 4: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

4

Connecting, deploying to hardware• Fully supported hardware

targets

• Over 400 third-party partners

• FileExchange submissions

• Support for custom targets

Page 5: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

5

Controlling the quadcopter

Page 6: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

6

Thrust estimation

Page 7: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

7

Benefits of plant model

• Parametric sweeps

• Failure injection

• Design optimization

Page 8: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

8

Rapid prototyping workflow

• Change model architecture,

Deploy

• Thrust estimation

• Query data

• Parametrize plant

Page 9: Connecting to hardware and rapid prototyping - MATLABmatlabexpo.com/uk/2016/proceedings/connecting-to... · Connecting to hardware and rapid prototyping Nicolas Gautier ... Embedded

9

• MATLAB®

• Simulink ®

• Simulink Projects

• Embedded Coder ®

• Simscape Multibody ®

Find the model at:

https://github.com/Parrot-Developers/RollingSpiderEdu

Modelling Physical Systems in Simscape: Steve Miller, introductory

Track