810 likes | 1.06k Views
Nattee Niparnan. Robot Control. Behavior Based Robotic. Towards Autonomous Robot. A robot that can “think” how to perform the task. Autonomous?. Able to do things by itself. Robot Control System A system that decide what / when / how to do a particular thing to achieve the given task.
E N D
NatteeNiparnan Robot Control
Towards Autonomous Robot • A robot that can “think” how to perform the task
Autonomous? • Able to do things by itself. • Robot Control System • A system that decide what / when / how to do a particular thing to achieve the given task
Hierarchy of Control • Reductionism Follow the white rabbit Get dress walk to the pub talk choose a shirt wear a shirt Move a hand to wardrobe
Robot = ??? • “ A device that connects sensing to actuation in an intelligent way” Intelligent
Model-Based approach • Sense Plan Act
Model-Based approach • Understand the world • Planning according to the state of the world • Result in rules for actions • If … then … • If … then … • . • .
Robot Control Issue • Model of the world? • Robust?
Problem of model based • It seems reasonable • Does it work well in practice? • Model can hardly be realized • Model based is more appropriated with structured environment • Parallel nature? • GIGO issue
Problem of model based • Example, • Self Charging • Walk to beacon • Engage charger approach maneuver • Plug-in • stop • What if we are near the charger?
Problem of model based • What if we are near the charger? • Does our plan cover this case? • Coupling between requirement • Usually bug prone • Model based is sometime “computer oriented”
Computer vs. Robot • All computers are equivalent (turing machine) • Any two robots are different
Truth about Robot • Robots have sensors that measure the aspect of external worlds • Robots have actuators that can act on the robot and on the world • The output of a robot’s sensors always includes noise and other errors • The commands given to a mobile robot’s actuators are never executed faithfully.
Sensing • For us (human)… • For them (robot)…
Actuation • Electrical signal Physical quantity • Always has some error
Intelligence • Robot design + Robot’s Program + Robot’s environment = Robot’s Intelligence
Example • Collecting a puck and put it into light
Tasks • Show gizmo and collection tasks in Bsim • What we have as a low level command?
Behavior based control • What are used in Gizmo
Behavior based robotics • Reflexive • Shortest time from sense act • Carefully engineered the reflex to actually perform the task
Principle • World = what robot sees • Plan less • Check Act more • Be highly adaptable to change • Agility?
Lower Level Control • Given desired output • Find input that yield such output
System Input U Black Box (grey box) System Output Y
Control • We hardly understand our system • The mathematical model “approximately” describe the system • There always be some error • There might be some unknown rule!
Example • Do we know the speed of motor • If we apply some specific voltage? • Without actually measuring? • i.e., forward computation • We have all the theory, right?
So what? • If we don’t really understand the system • How do we calculate U for given Y? • I want my motor to spin at 200rpm • What voltage should I put? • Who knows?
The Solution • Control System • Open loop • Closed loop
Control System • Open loop
Open Loop • Just supply input • From the model • Example • Light bulb • Electric fan
Open Loop • Neglect input • Hence, does not adapt itself to the world • Very simple • Easily failed • Work perfectly if we know perfect model of the system • Which is not usually the case
Control System • Open loop
Control System • Closed loop
Feedback Control • Very important to accommodate error • We already did that all the time • Your body • Your brain • Your eco system
TrichotomyMeasurement • Yes • More • Less
Proportional Controller • Feedback with degree • Include error of the output • Multiply by the proportion of the error • i.e., gain of the control
Closed-Loop Control Example • Position Control
BSim • Gizmo task
Problems • Slow to adapt • Solve by increase gain
BSim again • Try to increase gain
Latency Problem • Result from the control does not actually reflect the current state • Lead to instability • Sometime to catastrophe