Chapter 18: Introductory Autonomy Concepts (Survey Only)

Lesson 1: What Makes a Robot “Autonomous”?

This lesson formalizes the intuitive idea of “autonomous robots” using the language of dynamical systems and feedback control. Building on your background in linear control and earlier chapters on sensing, computation, and the sense–think–act loop, we define autonomy as a property of a closed-loop robot–environment system, introduce basic autonomy metrics, and distinguish autonomy from simple automation or teleoperation.

1. Conceptual Overview of Autonomy

Informally, an autonomous robot can operate for extended periods without continuous human control, using its own sensing, computation, and actuation to achieve goals in a (possibly changing) environment. Unlike a purely automated machine that simply repeats a fixed script, an autonomous robot closes the loop using feedback from sensors to adapt its actions.

From a control-theoretic perspective, we can view the robot as a controller embedded inside the physical world. Let \( x_k \) denote the robot state at discrete time step \( k \), and \( e_k \) denote the environment state (objects, humans, obstacles, etc.). The combined “world state” is \( s_k = (x_k, e_k) \). The robot receives measurements \( y_k \) from its sensors and generates control inputs \( u_k \) (torques, wheel speeds, etc.).

\[ \begin{aligned} s_{k+1} &= F(s_k, u_k, d_k), \\ y_k &= H(s_k, v_k), \end{aligned} \]

where \( d_k \) and \( v_k \) represent disturbances and sensor noise. A robot is said to be acting autonomously over some time interval if its control inputs are generated by an internal policy based on its own measurements and internal memory, not directly commanded at each step by a human:

\[ u_k = \pi_k(y_0, y_1, \dots, y_k, g), \]

where \( g \) encodes the task goal (e.g., a desired pose or region) and \( \pi_k \) is the (possibly time-varying) decision rule implemented in the robot software.

flowchart TD
  G["Goal g (task specification)"] --> RINT["Robot internal policy pi_k"]
  ENV["Environment state s_k"] --> SENS["Sensors"]
  SENS --> OBS["Measurements y_k"]
  OBS --> RINT
  RINT --> ACT["Actuators, control input u_k"]
  ACT --> DYN["World dynamics F"]
  DYN --> ENV
  ENV --> SENS
        

This diagram is a specialization of the generic sense–think–act loop you have already seen, with emphasis on the policy \( \pi_k \) that makes the robot self-governing.

2. Autonomy vs. Automation vs. Teleoperation

In engineering practice, the words “autonomy”, “automation”, and “teleoperation” are often used loosely. Here we give simple mathematical characterizations using discrete-time control laws.

2.1 Teleoperation (no autonomy)

In teleoperation, a human operator acts as the controller. The robot executes commands but does not choose them:

\[ u_k = u_k^{\text{human}}. \]

The robot may close low-level loops (e.g., current or velocity control), but decision-level actions (where to go, what to grasp) come directly from the human at each step. The effective closed loop is “world–human–robot”, with the robot as an actuator device rather than an autonomous agent.

2.2 Scripted Automation (open-loop w.r.t. environment)

In simple automation, the robot executes a preprogrammed sequence of commands independent of its measurements:

\[ u_k = \bar{u}_k, \quad \text{for } k = 0,1,2,\dots \]

Here, \( \bar{u}_k \) is a fixed schedule. This is analogous to an open-loop control law in linear systems. Such a system can be very precise in a highly structured and predictable environment (e.g., a fixed assembly line), but is not robust to unmodeled changes (unexpected obstacles, human presence, part position variation).

2.3 Closed-Loop Autonomy

In autonomy, the control law depends explicitly on sensor information. The simplest case is a state-feedback law you have seen in linear control:

\[ \begin{aligned} x_{k+1} &= A x_k + B u_k, \\ u_k &= K x_k. \end{aligned} \]

Substituting the feedback law gives the autonomous closed-loop system

\[ x_{k+1} = (A + B K) x_k. \]

Once the gain matrix \( K \) and the initial condition \( x_0 \) are chosen, the trajectory is fully determined without further human input. This is an example of low-level autonomy. In robotics, we often require additional capabilities beyond stabilizing a fixed point: the robot must interpret sensor data, choose goals, and respect constraints while operating in a changing environment.

3. Robot–Environment Dynamics and Task Definitions

To reason about autonomy, we must specify both the dynamics and the task. Let \( x_k \in \mathbb{R}^n \) be the robot state, and suppose the robot dynamics are control-affine (you have seen this structure in linear control):

\[ x_{k+1} = f(x_k) + G(x_k) u_k + w_k, \]

where \( w_k \) represents disturbances. Sensors provide measurements \( y_k \):

\[ y_k = h(x_k) + v_k. \]

A task is usually specified as reaching or maintaining a set of “good” states \( \mathcal{G} \subset \mathbb{R}^n \) while respecting constraints (safety, actuator limits):

\[ \begin{aligned} \mathcal{G} &\subset \mathbb{R}^n \quad \text{(goal set)}, \\ \mathcal{S} &\subset \mathbb{R}^n \quad \text{(safe set)}, \\ \mathcal{U} &\subset \mathbb{R}^m \quad \text{(admissible controls)}. \end{aligned} \]

A (possibly history-dependent) policy \( \pi_k \) is said to solve the task autonomously if, for all initial states \( x_0 \in \mathcal{S} \) from some domain of interest, the closed-loop system

\[ u_k = \pi_k(y_0, \dots, y_k, \mathcal{G}) \]

satisfies, with high probability or in a robust sense,

\[ \begin{aligned} x_k &\in \mathcal{S} \quad \text{for all } k, \\ x_k &\in \mathcal{G} \quad \text{for some finite } k. \end{aligned} \]

This definition emphasizes that autonomy is a property of the closed-loop behavior rather than of the hardware alone. The same mechanical platform can be teleoperated, scripted, or autonomous depending on the implemented policy.

4. Information, Internal State, and Memory

In many realistic tasks, the robot cannot measure the full state \( x_k \) directly. It must build some internal representation (an internal state) from its sensor history. Let \( z_k \) denote this internal state, updated from observations and previous internal state:

\[ \begin{aligned} z_{k+1} &= \phi(z_k, y_{k+1}), \\ u_k &= \psi(z_k, g). \end{aligned} \]

Here, \( \phi \) is an internal model (which could be as simple as a low-pass filter or as complex as a full estimator), and \( \psi \) maps the internal state to control. Even in purely deterministic linear control, you have seen a special case: the observer–based controller.

\[ \begin{aligned} \hat{x}_{k+1} &= A \hat{x}_k + B u_k + L (y_k - C \hat{x}_k), \\ u_k &= K \hat{x}_k. \end{aligned} \]

In this controller, the internal state \( z_k = \hat{x}_k \) is the estimated robot state. The robot is autonomous if it can maintain and update such internal state representations on its own, using sensors and computation, to achieve its goals.

Conceptually, higher “intelligence” in robotics often means richer internal state representations and more expressive policies \( \pi_k \), but the basic closed-loop structure remains the same.

5. Degrees and Dimensions of Autonomy

In practice, autonomy is rarely all-or-nothing. Instead, we speak about degrees of autonomy or levels of automation along several dimensions:

  • Decision autonomy: who selects goals, paths, and actions.
  • Perception autonomy: who interprets sensor data (e.g., does a human label objects?).
  • Execution autonomy: who handles low-level control and constraint enforcement.
  • Temporal autonomy: how long the robot can operate without human intervention.

A simple quantitative measure for decision autonomy over a discrete-time horizon \( k = 0,1,\dots,N-1 \) is the intervention-based autonomy index. Let \( \iota_k \) be an indicator of human intervention at time step \( k \):

\[ \iota_k = \begin{cases} 1, & \text{if a human overrides or directly chooses } u_k, \\ 0, & \text{otherwise.} \end{cases} \]

Then define the autonomy index over the interval as

\[ A_N = 1 - \frac{1}{N} \sum_{k=0}^{N-1} \iota_k. \]

We have \( 0 \leq A_N \leq 1 \). Extreme cases:

  • \( A_N = 0 \): human intervenes at every step (pure teleoperation).
  • \( A_N = 1 \): no interventions (fully autonomous over that horizon).

This simple metric ignores how “difficult” the decisions are, but it already reveals an important fact: autonomy depends not only on the controller design but also on the environment and operational practice.

flowchart LR
  T0["Teleoperation: A_N ~ 0"] --> MIX["Shared control: 0 < A_N < 1"]
  MIX --> FULL["Full autonomy: A_N ~ 1"]
        

More sophisticated metrics also consider task complexity (e.g., uncertainty, disturbance magnitude) and performance (success rates, safety margins). These will connect later to planning and learning methods in advanced courses.

6. Autonomy as Robust Goal Satisfaction

Using the safe set \( \mathcal{S} \) and goal set \( \mathcal{G} \) introduced earlier, we can characterize autonomy in terms of robust goal satisfaction. For simplicity, consider a deterministic disturbance-free system

\[ x_{k+1} = f(x_k, u_k), \quad u_k \in \mathcal{U}. \]

A feedback policy \( \pi(x) \) induces closed-loop dynamics

\[ x_{k+1} = f(x_k, \pi(x_k)). \]

For a given pair \( (\mathcal{S}, \mathcal{G}) \), define the winning set \( \mathcal{W} \):

\[ \mathcal{W} = \left\{ x_0 \in \mathcal{S} \;\middle|\; \exists \text{ feedback policy } \pi \text{ such that } x_k \in \mathcal{S} \ \forall k,\; x_k \in \mathcal{G} \text{ for some finite } k \right\}. \]

Intuitively, \( \mathcal{W} \) is the set of initial conditions from which the robot can autonomously achieve the task without leaving the safe set. The larger \( \mathcal{W} \) is (for a fixed robot and environment), the “more capable” the robot is for that task. Enhancing autonomy often means enlarging \( \mathcal{W} \) through better sensing, more powerful actuators, or more sophisticated decision logic.

In advanced courses, you will see algorithmic tools (from reachability, game theory, and planning) used to compute or approximate \( \mathcal{W} \). Here, it is enough to recognize that autonomy is tightly tied to robustness of closed-loop performance across a range of initial conditions and environments.

7. Preview of Architectural Questions (High-Level Only)

Later lessons in this chapter will discuss reactive, deliberative, and hybrid architectures. At this stage, you only need the high-level idea:

  • Reactive autonomy: policies \( \pi_k \) depend mostly on the most recent measurements (like static or low-memory feedback). Typical in fast, reflex-like behaviors.
  • Deliberative autonomy: policies use internal models of the environment and future consequences of actions. Requires explicit internal state and planning over time.
  • Hybrid autonomy: combines fast reactive layers with slower planning layers, sharing information through internal state variables.

In all cases, autonomy is realized as some structured policy \( \pi_k \) implemented in software on top of the physical system you have studied in previous chapters (mechanics, actuators, sensors, computing, and software architecture).

8. Problems and Solutions

Problem 1 (Teleoperation vs. Autonomy):
Consider a mobile robot whose dynamics can be approximated by the discrete-time linear system \( x_{k+1} = A x_k + B u_k \). In scenario (a), a human operator uses a joystick to choose \( u_k \) at every time step. In scenario (b), the robot uses the state-feedback law \( u_k = K x_k \) to track a fixed reference state \( x_{\text{ref}} \) by regulating the error \( e_k = x_k - x_{\text{ref}} \). Classify each scenario as teleoperation, automation, or autonomy, and justify your answer using the closed-loop equations.

Solution:
In scenario (a), the control input is \( u_k = u_k^{\text{human}} \), determined directly by a human at each time step. The robot behaves like a remote actuator; this is teleoperation. The closed-loop system is effectively

\[ x_{k+1} = A x_k + B u_k^{\text{human}}, \]

where the “controller” is external to the robot. In scenario (b), we have the feedback law \( u_k = K e_k = K (x_k - x_{\text{ref}}) \). The closed-loop dynamics become

\[ \begin{aligned} x_{k+1} &= A x_k + B K (x_k - x_{\text{ref}}) \\ &= (A + B K) x_k - B K x_{\text{ref}}. \end{aligned} \]

Once \( K \) and \( x_{\text{ref}} \) are chosen, the robot regulates itself towards the reference without further human input. This is autonomous regulation (low-level autonomy), not mere teleoperation. It is more than open-loop automation because the control law depends on the state \( x_k \) (feedback).

Problem 2 (Open-loop vs. Closed-loop Execution):
A pick-and-place manipulator is programmed with a sequence of joint commands \( \bar{u}_0, \bar{u}_1, \dots, \bar{u}_{N-1} \) such that, in a perfectly repeatable setting, the end-effector follows a desired path. The robot does not read any sensors during execution. Explain why this behavior is not autonomous according to the policy definition \( u_k = \pi_k(y_0, \dots, y_k, g) \). How would adding joint encoders and a simple feedback controller change this classification?

Solution:
In the described program, the control inputs are purely time-dependent:

\[ u_k = \bar{u}_k. \]

The policy \( \pi_k \) does not depend on any measurements \( y_i \); in fact the robot does not read sensors. This is open-loop automation. Any deviation (e.g., a part slightly shifted on the conveyor) cannot be corrected. If we equip the robot with joint encoders and implement a feedback law

\[ u_k = \pi_k(y_k, g), \]

where \( y_k \) encodes measured joint angles and \( g \) encodes a desired trajectory or pose, then the robot can react to differences between the desired and measured states. It becomes an autonomous regulator for that motion, at least at the low level.

Problem 3 (Autonomy Index Calculation):
During a 100-step experiment, a mobile robot operates under shared control. Human interventions (overrides) occur at time steps \( k = 5, 6, 7, 20, 21, 50, 80, 81, 82, 83 \). Compute the autonomy index \( A_{100} \). Interpret the result.

Solution:
There are 10 time steps with human intervention, so

\[ \sum_{k=0}^{99} \iota_k = 10. \]

The autonomy index is

\[ A_{100} = 1 - \frac{1}{100} \cdot 10 = 1 - 0.1 = 0.9. \]

Thus the robot acted autonomously for 90% of the time steps. This indicates relatively high autonomy but with some critical situations requiring human assistance.

Problem 4 (Winning Set and Robust Autonomy):
Consider the scalar system \( x_{k+1} = x_k + u_k \) with control constraint \( u_k \in [-1, 1] \). Let the safe set be \( \mathcal{S} = [-5, 5] \) and the goal set be \( \mathcal{G} = [-1, 1] \). Show that the set of states from which there exists a feedback policy that keeps the state within \( \mathcal{S} \) and reaches \( \mathcal{G} \) in finite time is exactly \( \mathcal{W} = [-5, 5] \). Give an explicit (simple) policy.

Solution:
For any \( x_k \in [-5,5] \), we can move towards the origin while respecting the control bound. Consider the policy

\[ u_k = -\operatorname{sat}(x_k), \]

where \( \operatorname{sat}(x) \) is the standard saturation function

\[ \operatorname{sat}(x) = \begin{cases} 1, & \text{if } x \geq 1, \\ x, & \text{if } -1 < x < 1, \\ -1, & \text{if } x \leq -1. \end{cases} \]

Then \( u_k \in [-1,1] \) for all \( x_k \), and \( x_{k+1} = x_k - \operatorname{sat}(x_k) \) moves the state closer to the origin whenever \( |x_k| \geq 1 \). Starting from any initial condition in \( [-5,5] \), the state sequence monotonically approaches \( [-1,1] \) in finite time and never leaves \( [-5,5] \). Therefore, the winning set equals \( \mathcal{W} = [-5,5] \).

Problem 5 (Internal State and Autonomy):
A robot has a range sensor that returns the distance to the closest obstacle in front at each step: \( y_k \in \mathbb{R}_{\geq 0} \). Consider two policies:

  • (A) \( u_k = \pi^{(A)}(y_k) \), which depends only on the current measurement.
  • (B) \( z_{k+1} = \alpha z_k + (1-\alpha) y_{k+1} \) with \( u_k = \pi^{(B)}(z_k) \), where \( 0 < \alpha < 1 \).

Explain why policy (B) can be seen as using an internal state. Discuss qualitatively why such internal state can improve autonomy in the presence of sensor noise.

Solution:
In policy (A), the control input is a function of the instantaneous measurement only; there is no memory. In policy (B), the variable \( z_k \) is updated recursively and depends on the entire history of measurements via exponential smoothing:

\[ z_k = (1-\alpha) \sum_{j=0}^{k} \alpha^{k-j} y_j. \]

Thus \( z_k \) is an internal state representing a filtered estimate of the obstacle distance. By smoothing out noise and transient spikes, the robot can make more reliable decisions (e.g., when to stop or turn), enhancing its ability to maintain safety autonomously without frequent human corrections.

9. Summary

In this lesson, we grounded the intuitive idea of robot autonomy in the mathematics of dynamical systems and feedback control. We modeled the robot–environment interaction as a closed-loop system, distinguished teleoperation and open-loop automation from genuine autonomy, and introduced simple autonomy metrics and the concept of a winning set for tasks defined by safe and goal sets. We also emphasized the role of internal state and memory in enabling robust autonomous behavior under partial information and noise. Subsequent lessons will explore how different software architectures realize such policies and how planning and learning extend these ideas.

10. References

  1. Åström, K.J., & Murray, R.M. (2008). Feedback Systems: An Introduction for Scientists and Engineers. Princeton University Press.
  2. LaValle, S.M. (2006). Planning Algorithms. Cambridge University Press. (Chapters on feedback motion planning and closed-loop systems.)
  3. Tabuada, P. (2009). Verification and Control of Hybrid Systems: A Symbolic Approach. Springer. (Formal treatment of safety, reachability, and winning sets.)
  4. Alur, R., Henzinger, T.A. (1999). Reactive modules. Formal Methods in System Design, 15(1), 7–48.
  5. Nilsson, N.J. (1984). Shakey the robot. Technical Note 323, SRI International. (Foundational autonomous robot architecture.)
  6. Brooks, R.A. (1986). A robust layered control system for a mobile robot. IEEE Journal on Robotics and Automation, 2(1), 14–23.
  7. Milner, R. (1989). Communication and Concurrency. Prentice Hall. (Theoretical foundations for modeling interacting autonomous agents.)
  8. Basar, T., & Olsder, G.J. (1999). Dynamic Noncooperative Game Theory. SIAM. (Game-theoretic foundations for autonomous decision-making in interactive environments.)