robotc project pp[1]
TRANSCRIPT
-
8/7/2019 RobotC Project PP[1]
1/14
-
8/7/2019 RobotC Project PP[1]
2/14
Presented ByArianna Dubauskas,
Johanan Toth, & Tavier Wright
-
8/7/2019 RobotC Project PP[1]
3/14
Robot is to follow a givenblackline path using the lightsensor with the best time possibleutilizing looping or repeating
programing.
It will display messages indicatingits position whether it is straight,
turning left, turning right, or lost.
Once at the end of the path orinstructed stop, the robot willbrake ulitizing the touch sensor.
Goals of the Program
-
8/7/2019 RobotC Project PP[1]
4/14
Types of Errors
Changes Light environment
Changes in the light intensity of the line (room lightlevel, robot shade, )
Other Common Error : Unreliable sensor values
Inaccurate surface
Loosing the line
-
8/7/2019 RobotC Project PP[1]
5/14
PID Control
P Proportional Band = 100/gain
I Integral = 1/reset (units of time)
D Derivative = rate (future change)
PID stands for a proportionalintegralderivative
http://opt/scribd/conversion/tmp/scratch6726/l%20%22Phttp://opt/scribd/conversion/tmp/scratch6726/l%20%22Ihttp://opt/scribd/conversion/tmp/scratch6726/l%20%22Dhttp://opt/scribd/conversion/tmp/scratch6726/l%20%22Dhttp://opt/scribd/conversion/tmp/scratch6726/l%20%22Ihttp://opt/scribd/conversion/tmp/scratch6726/l%20%22P -
8/7/2019 RobotC Project PP[1]
6/14
PID Control
Error term of PID equation: how fastare we drifting from the center?
Integral term of PID equation: how farare we from centerline?
Derivative term of PID equation: is thedrift rate accelerating or decelerating?
-
8/7/2019 RobotC Project PP[1]
7/14
PID Control
-
8/7/2019 RobotC Project PP[1]
8/14
PID Control
It is a controller, and it is a control loopfeedback mechanism that we used todetermine the "error" values as the difference
between a measured process variable and adesired setpoint. The proportional valuedetermines the reaction to the current error, theintegral value determines the reaction based on
the sum of recent errors, and the derivativevalue determines the reaction based on the rateat which the error has been changing.
-
8/7/2019 RobotC Project PP[1]
9/14
PID Control
-
8/7/2019 RobotC Project PP[1]
10/14
PID Control
-
8/7/2019 RobotC Project PP[1]
11/14
Logic of Program
-
8/7/2019 RobotC Project PP[1]
12/14
-
8/7/2019 RobotC Project PP[1]
13/14
Gather Data
Graphs determining threhold senistive of light,
value for sensor
Determing tape size
Working speeds
Controling the light envirnment
-
8/7/2019 RobotC Project PP[1]
14/14
Video