1 best national conference 2011 making the most of best robotics library for simulink greg young...
TRANSCRIPT
![Page 1: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/1.jpg)
1
BEST National Conference 2011BEST National Conference 2011
Making the Most ofBEST Robotics Library for Simulink
Greg Young
Auburn UniversityThursday Jul 21, 2011
![Page 2: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/2.jpg)
Why MathWorks?Why MathWorks?
BEST National Corporate Partner 2011
STEMEducation
Inspire students to pursue STEM careers.Give students access to industry standard tools.Provide simple, yet powerful programming tools.Introduce students to state-of-the-art design methods.
Jul 21, 2011 Copyright © 2011 BEST Robotics, Inc. All rights reserved.
![Page 3: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/3.jpg)
What They DoWhat They Do
Technical Computing- Data Acquisition- Data Analysis- Mathematical Modeling- Algorithm Development- Parallel Computing- Desktop & Web Deployment
Simulation and Model-Based Design- System Design and Simulation- Physical Modeling- Discrete-Event Simulation- Embedded Code Generation- Rapid Prototyping- HDL Code Generation and Verification- Verification, Validation and Test
Technology
Science
Engineering
Mathematics
Simulink
![Page 4: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/4.jpg)
Simulink BenefitsSimulink Benefits
• Simple Programming Interface- graphical drag and drop
• More Efficient Design Flow- Parallel development- No waiting for robot be be built
• Simulation and Debug- Test your program without hardware- What-if scenarios are easy
• Advanced Control with StateFlow
![Page 5: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/5.jpg)
Simulink BenefitsSimulink Benefits
• Simple Programming Interface- graphical drag and drop
• More Efficient Design Flow- Parallel development- No waiting for robot be be built
• Simulation and Debug- Test your program without hardware- What-if scenarios are easy
• Advanced Control with StateFlow
![Page 6: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/6.jpg)
ProgrammingProgramming
Your RobotJoystick Control
2 Stick (Tank Style) control of wheels.1 Button Gripper using servos.
Robot Program / Behavior
![Page 7: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/7.jpg)
TerminologyTerminology
• Blocks – a pre-defined command or function
• Library – a group of blocks from which to choose
• Simulink Model – the robot program
• Simulate/Run – test the program’s behavior on the computer
• Generate Code – auto generation of C code from the Simulink model
• Compile & Download – put the program on the robot
![Page 8: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/8.jpg)
Creating a Robot ProgramCreating a Robot Program
Compile/Download
![Page 9: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/9.jpg)
DemonstrateDemonstrate
[Demonstration]• show how quickly this behavior can be modeled.• only a few clicks
![Page 10: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/10.jpg)
Simulink BenefitsSimulink Benefits
• Simple Programming Interface- graphical drag and drop
• More Efficient Design Flow- Parallel development- No waiting for robot be be built
• Simulation and Debug- Test your program without hardware- What-if scenarios are easy
• Advanced Control with StateFlow
![Page 11: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/11.jpg)
Efficient Design FlowEfficient Design Flowte
st &
iter
ate
Old workflow New workflow
Robot
RobotTeam
test
& it
erat
e Robot Robot
Team
Locomotion Arm/Gripper Sensors
robot sharing
program program
![Page 12: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/12.jpg)
Simulink BenefitsSimulink Benefits
• Simple Programming Interface- graphical drag and drop
• More Efficient Design Flow- Parallel development- No waiting for robot be be built
• Simulation and Debug- Test your program without hardware- What-if scenarios are easy
• Advanced Control with StateFlow
![Page 13: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/13.jpg)
What is Simulation?What is Simulation?
Model ofBehavior
Simulation is the imitation of some real thing, state of affairs, or process.
The act of simulating something generally entails representing certain key characteristics or behaviours of a selected physical or abstract system.
What if we do this? Imitate the robot behavior What will the robot do?
Stimulus Response
![Page 14: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/14.jpg)
DemonstrateDemonstrate
[Demonstration]• show simulation blocks (stimulus/response)
- sliders- gamepad block- toggle block- display- scope- field simulator- stateflow highlighting (later)
•What-if scenarios (e.g., wheel size)• Subsystems (grouping blocks)
![Page 15: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/15.jpg)
Simulink BenefitsSimulink Benefits
• Simple Programming Interface- graphical drag and drop
• More Efficient Design Flow- Parallel development- No waiting for robot be be built
• Simulation and Debug- Test your program without hardware- What-if scenarios are easy
• Advanced Control with StateFlow
![Page 16: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/16.jpg)
DemonstrateDemonstrate
[Demonstration]• show 2010 example
- reading the 2010 Field Data port- semi-autonomous operations
![Page 17: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/17.jpg)
Additional ResourcesAdditional Resources Weekly training webinars
See http://www.bestinc.org Announcements
BEST Robotics website http://www.bestinc.org Menu: Participants -> Resources
Within Simulink – BEST UI Direct Mathworks technical support button
Mathworks Representatives Sandeep Hiremath, [email protected] Todd Atkins, [email protected]
![Page 18: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/18.jpg)
Making the Most ofMaking the Most ofMathWorks SimulinkMathWorks Simulink
Thank You For Attending
Questions?
Don’t forget to fill out your session survey
![Page 19: 1 BEST National Conference 2011 Making the Most of BEST Robotics Library for Simulink Greg Young Auburn University Thursday Jul 21, 2011](https://reader035.vdocument.in/reader035/viewer/2022062805/5697bfc31a28abf838ca57f5/html5/thumbnails/19.jpg)
Creating a Robot ProgramCreating a Robot Program
LibraryModel
Behavior SimulationDesign BlocksStimulus (Source) BlocksResponse (Sink) Blocks
Simulink Model Testing without hardware
iteration
Generate CodeCompile/Download
**workflow slide****belong here??****use Sandeep’s slide?**