RobotAutonomy Programming Using Simulink
RobotAutonomy Programming Using Simulink
By Jose Avendano
2
BEST Robotics IR Sensor Kit
3
BEST Robotics Infrared (IR) Sensor
▪ 2 Sensor components
Receiver
Beam
Field
Projection Area
Of
View
Transmitter Receiver
4
Sensor Detections
1. IR Beam cannot be
obstructed
✔
IR Beam must be within
X
2.
detection distance
X
5
Sensor Testing
✔ X 6
Sensor Sensitivity
▪ Adjust potentiometer to
change sensitivity
▪ Somewhere in the middle
(not either extreme) is the
highest sensitivity
7
Sensor Sensitivity
8
Sensor Application 1
Object Detection
9
Object Detection
✔X
10
Object Detection
11
Simulink Example 1
Object Detection
12
Simulink Example: Move Until Object is Detected
13
Sensor Application 2
Line Following
14
Line Detection
15
Line Detection
16
Line Following
17
Simulink Example 2
Line Following
18
Sensor Application 3
Wheel Encoders
19
Motor/Wheel Encoders
▪ Resolution of encoder
depends on number of
detections per rotation
21
Simulink Example 3
Wheel Encoders
22
Autonomy Integration
23
Intro to SimBot
24
SimBot Components
A
A. 1 Servo Motor
B. 3 DC Motors B
– Left Wheel
– Right Wheel
– Arm
C
C. 2 Contact switches
D. 2 Potentiometers D
E. 1 InfraRed (IR) Sensor
25
Fetching an object Autonomously
26
Simulink Example 4
Trigger Autonomous Behavior
27
Simulink Example 5
Sequencing Commands
28
MathWorks Student Competitions
Mobile Robotics Tutorials
▪ Control of robot motion
▪ PID Controllers
▪ Line Following
▪ Obstacle Detection
▪ Path Navigation
29
Robot Autonomy and Control Webinar
30