Professional Documents
Culture Documents
Programming
Supervision and control architectures
Robotics 1 1
Robot programming
! real-time operating system
! sensory data reading
! motion control execution
! world modeling
! physical/cognitive interaction with the robot
! fault detection
! error recovery to correct operative conditions
! programming language (data structure + instruction set)
Robotics 1 3
Robot-oriented programming
! second generation languages: structured programming
with characteristics of an interpreted language (interactive
programming environment)
! typical instructions of high-level languages are present
(e.g., logical branching and while loops)
! ad-hoc structured robot programming languages (more common)
! development of robotic libraries in standard languages (preferred)
! access to the action level
! handle more complex applications where the robot needs to
cooperate/synchronize with other machines in a work cell
! examples of languages: VAL II (Unimation), AML (IBM),
PDL 2 (Comau), KRL (KUKA)
Robotics 1 4
KUKA user interfaces
Robotics 1 5
KRL language
" basic instruction set:
DO
end-effector
orientation
PTP motion
CONST orientation
(linear in RPY angles)
Robotics 1 7
KRL language
" multiple coordinate frames (in Cartesian space) and jogging
of robot joints
Robotics 1 8
KUKA Ethernet RSI
Robot Sensor Interface
ZBASE
Robotics 1 10
Example of RSI use -2
video
Robotics 1 11
Example of RSI use -3
Robotics 1 12
Fast Research Interface (FRI)
for KUKA Light Weight Robot (LWR-IV)
available
at DIAG
Robotics Lab
since Sep 2012
Robotics 1 13
Kinematic control using the FRI
KUKA Light Weight Robot (LWR-IV)
" joint velocity commands that mimic second-order control laws (defined in
terms of acceleration or torques), exploiting task redundancy of the robot
" discrete-time implementation is simpler and still very accurate
video
Robotics 1 14
Other uses of the FRI
Omega-7
haptic device "haptic feedback to the user
Robotics 1 15
Robot research software
" a (partial) list of open source robot software
" for simulation and/or real-time control
" for interfacing with devices and sensors
" research oriented
Player/Stage playerstage.sourceforge.net
" networked robotics server (running on Linux, Mac OS X) as an
abstraction layer supporting a variety of hardware + 2D robot
simulation environment
" Gazebo: 3D robot simulator (with ODE physics engine and
OpenGL rendering), now an independent project
VREP (edu version) www.coppeliarobotics.com
" each object/model controlled via an embedded script, a plugin,
a ROS node, a remote API client, or a custom solution
" controllers written in C/C++, Python, Java, Matlab, ...
Robotics 1 16
Robot research software (contd)
Robotics 1 17
Task-oriented programming
Robotics 1 18
Functional control architecture
reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. . . operator
. action
global memory
S M D
interface
level
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 19
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. . . operator
S M D
interface
acquisition, processing
leveland
integration of sensory data
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 20
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge MODELING MODULES
decision
processing models strategies
a priori knowledge about
task
robotD + environment system,
S M
level
. . updated using information
. operator
from sensory modules
. action
global memory
S M D
interface
level
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 21
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
DECISION MODULES task
M
decompositionS (in time and space) D level
. . level . operator
of tasks into actions of lower
. processing action
global memory
interface
level
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 22
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. GLOBAL. MEMORY . operator
data and information relevant
. action
global memory
interface
level
of robot + environment state)
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 23
Functional architecture: Modules
horizontal decomposition reference model
sensor knowledge decision
processing models strategies
task
S M D
level
. OPERATOR
. INTERFACE
. operator
allows intervention by an action
.
global memory
interface
level
functional hierarchy
. S M D
primitives
level
. . .
. S M D
servo
level
sensors actuators
Robotics 1 24
Reference model: Levels
TEMPORAL CONSTRAINTS
user) analyzed and decomposed into actions (based
INFORMATION COMPLEXITY
Robotics 1 25
A functional architecture
for industrial robots
D action
reference frames
request state path points
interpolation modes
camera
S M D
primitives
. ..
qdes qdes qdes
data control algorithm
request state
S M D
servo
data actuator
commands
force velocity position
Robotics 1 26
A functional architecture
for industrial robots
D action
vertical decomposition
reference frames
request
ACTION LEVEL state path points
interpolation modes
camera
interpreter
S of high-levelMcommands D
primitives
task decomposition made by human . ..
qdes qdes qdes
operator data control algorithm
no sensory and modeling modules
request state
(unless a multi-modal cognitive
S M D
human-robot interaction is possible) servo
data actuator
commands
force velocity position
Robotics 1 27
A functional architecture
for industrial robots
D action
vertical decomposition
reference frames
request state path points
interpolation modes
camera
S M D
primitives
. ..
qdes qdes qdes
data control algorithm
PRIMITIVESLEVEL
request state
S: (only for an active interaction with the environment)
world geometry,
S interactionMstate D
servo
M: direct and inverse kinematics, dynamic models
D: command encoding, path generation, trajectory
interpolation, data
kinematic inversion, analysis ofactuator
servo
state, emergency handling commands
force velocity position
Robotics 1 28
A functional architecture
for industrial robots
D action
vertical decomposition
reference frames
SERVO
request LEVELstate path points
interpolation modes
S: signal conditioning,
camera internal state of manipulator, state of
S M D
interaction with environment primitives
M: direct kinematics, Jacobian, inverse dynamics q q. ..q
des des des
D: command encoding, data micro-interpolation, error control
handling,
algorithm
digital control laws, servo interface
request state
S M D
servo
data actuator
commands
force velocity position
Robotics 1 29
Interaction among modules
task execution
motor control
horizontal
perception
modeling
planning
sensors actuators activation
(sequential)
Robotics 1 30
LAAS architecture
! alternative example by
LAAS/CNRS in Toulouse
! five levels
! decision
! execution (synchronization)
Functional
functional (modules)
Level
R. Alami et al.
An Architecture for Autonomy,
Int. J. of Robotics Research, 1998
Robotics 1 31
Development of architectures -1
! hierarchical system
! initial localization
! off-line planning
! on-line motion control
! possible acquisition/update of
a model of the environment
= map (at a slow time scale)
Robotics 1 32
Development of architectures -2
Robotics 1 33
Development of architectures -3
! hybrid system
! SLAM = simultaneous
localization and mapping
! navigation/exploration on
the current model (map)
! sensory data fusion
! on-line motion control
Robotics 1 34
IPA robotic cell for garbage collection
and separation for recycling
video
semi-automatic version
at Fraunhofer IPA
Stuttgart, 1997
Robotics 1 35
Sensory module
in fully automatic version
operation principle
of the structured light sensor
Robotics 1 36
Sensory data interpretation
shadow
cone
Robotics 1 37
Sensory data interpretation
object O 2
object O1
line 1
S 11 S 12 S 13
conveyor processing
belt S 21 order
direction S 22 S 23
of motion line 2
object O 3
Robotics 1 38
Decision module
h 1 h 2 h 3 h 4 ... vector of height
samples
x y z
Classification results
Robotics 1 39
Modeling module
Robotics 1 40
Functional architecture of the IPA cell
D actions
reference frames
camera request state path points
+ laser interpolation modes
S M D
compute h
primitives
current model
on each of objects localization
line scan on conveyor classification
data pdes
request state
S M D
servo
object
present in
gripper
data actuator
force
commands
(gripper) velocity position
Robotics 1 41
Test results
video
Robotics 1 44
Hardware architecture
TEACH SYSTEM includes: one/multiple
PENDANT
EXTERNAL KEYBOARD microprocessor(s), local/shared
MEMORY RAM, EPROM, interrupt handler,
BUS
TEACH
PENDANT KEYBOARD
EXTERNAL
MEMORY
MONITOR
I/O SYSTEM
STRUCTURED
VISION
CAMERA + LASER
BUS
!BUS VME
!BUS VME
User
User
interface Board
interface Board
modules BIT 3
modules BIT 3
!Vision - PC
MATROX SONY XC
Board
Control RS232 GENESIS 8500 CE
BUS AT
Board PC Vision
BIT 3
BIT 3
PC
MATROX SONY XC
GENESIS 8500 CE
!BUS AT
!Control - PC (RTAI-Linux)
Robotics 1 47