connecting to hardware and rapid prototyping · almost real-time target "2.0 dan ananderi...
TRANSCRIPT
![Page 1: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/1.jpg)
1© 2015 The MathWorks, Inc.
Connecting to hardware and rapid
prototyping
Nicolas Gautier
Application Engineer
![Page 2: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/2.jpg)
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 · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/3.jpg)
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 · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/4.jpg)
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 · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/5.jpg)
5
Controlling the quadcopter
![Page 6: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/6.jpg)
6
Thrust estimation
![Page 7: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/7.jpg)
7
Benefits of plant model
• Parametric sweeps
• Failure injection
• Design optimization
![Page 8: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/8.jpg)
8
Rapid prototyping workflow
• Change model architecture,
Deploy
• Thrust estimation
• Query data
• Parametrize plant
![Page 9: Connecting to hardware and rapid prototyping · Almost Real-Time Target "2.0 Dan ananderi Generic custom target ror almost real-time simulation on windcwvs. linux. and Solaris, (hardware](https://reader033.vdocument.in/reader033/viewer/2022053011/5f0eb1d57e708231d4407b1d/html5/thumbnails/9.jpg)
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