Mobile Robotics · Study deck

Classical Control Architectures for Mobile Robots

You already know one classical robot controller.

Motor Max is your guide for this deck.

reactive-controldeliberative-controlpotential-fields
Motor Max, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Classify a robot controller along proximal-distal and reactive-deliberative axes
  • Trace sensor values through a small neural or rule-based reactive controller
  • Compare potential fields, motor schemas, and subsumption by composition and failure mode
  • Select an architecture from latency, observability, planning, and safety requirements
iotclass.org

Major section

Overview: Put Every Controller on Two Axes

This chapter does not re-teach that mature treatment.

  • A planner selects and sequences behaviors using a model of possible future states.
  • That latency budget determines whether a local reflex must remain in the immediate control path or whether a planner has time to compare future trajectories.
iotclass.org

Major section

Practitioner: Build Behaviors, Then Define Their Arbitration

Production rules need explicit priority, mutual exclusion, timeouts, and a safe default.

  • The method is compact and naturally reactive.
  • Its characteristic failure is a local minimum: forces can cancel at a point that is not the goal.
  • Narrow passages can also make repulsion dominate the useful forward component.
  • The stack makes priority visible.

Why it matters

Otherwise source order becomes accidental arbitration.

iotclass.org

Major section

Practitioner: Build Behaviors, Then Define Their Arbitration (continued)

Otherwise source order becomes accidental arbitration.

  • A defensible implementation records a stuck detector and an escape policy instead of treating the summed vector as guaranteed progress.
  • Composition can be weighted, gated, or priority based.
  • Whatever the mechanism, the weights and overrides are part of the safety argument.
iotclass.org

Major section

Practitioner: Build Behaviors, Then Define Their Arbitration (continued)

A silent numeric sum is not an operational policy until you can explain which behavior wins and why.

  • Subsumption architecture, associated with Brooks (1986), stacks behaviors so a higher layer can suppress or inhibit a lower layer while preserving the lower layer as a working fallback.
  • Explore Select new space to visit when lower-level safety and motion remain available.
  • Maintain motion safety Stop or limit actuators when perception is stale, drivers saturate, or a hard limit opens.
iotclass.org

Major section

Lab: Interrupt-To-Actuator Feedback Loop

A digital sensor interrupt records an edge and timestamp.

  • The interrupt handler does not drive the motor; it places a compact event in a bounded handoff slot.
  • The lab passes only when normal feedback is observable and every injected fault reaches the same bounded failsafe.

Try it: Lab: Interrupt-To-Actuator Feedback Loop in the chapter

iotclass.org

Major section

Under the Hood: From Weighted Neurons to Safe Arbitration

The source example uses $f(x)=\tanh(x)$ and connects eight sensor inputs to two motor outputs.

  • The transfer function bounds each neuron output, but it does not by itself bound the physical command.
  • Rule based Named sensor conditions select turn or stop actions.
  • Architecture selection is therefore an observability decision too.
iotclass.org

Major section

Summary

The comparison also exposes the real trade: fast local response, inspectable composition, predictive capability, and safe arbitration must fit the same physical timing envelope.

  • Neural and Braitenberg controllers can create fast proximal reactions, while rules and motor schemas expose named behaviors.
  • Potential fields compose attractive and repulsive vectors but can become trapped in local minima.

Why it matters

That separation prevents a named behavior from being mistaken for a plan and keeps the engineering review focused on the path from evidence to motor command.

iotclass.org

Deck summary

Key takeaways

This chapter does not re-teach that mature treatment.

  • Production rules need explicit priority, mutual exclusion, timeouts, and a safe default.
  • Otherwise source order becomes accidental arbitration.
  • A silent numeric sum is not an operational policy until you can explain which behavior wins and why.
  • A digital sensor interrupt records an edge and timestamp.
iotclass.org

Retrieval practice

Recall check 1 of 3

Motor Max says: answer from memory, then check your reasoning.

Q1A controller evaluates named avoid-obstacle and move-to-goal behaviors every cycle, combines their outputs, and does not simulate future trajectories. How should it be classified?

ADistal and reactive: it uses named behavioral blocks but acts from the current estimate without a future-state plan.
BProximal and deliberative: sensor inputs drive goal-directed choices through weighted behavior outputs.
CProximal and reactive: the controller responds to current sensor estimates within its control cycle.
DDistal and deliberative because having more than one behavior is itself a plan.
Show answer

Answer: A Classify sensing abstraction and planning horizon separately.

iotclass.org

Retrieval practice

Recall check 2 of 3

Motor Max says: answer from memory, then check your reasoning.

Q2A potential-field robot stops between two obstacles even though the goal is still ahead. What is the best diagnosis and response?

AThe attractive and repulsive vectors may have formed a local minimum; detect lack of progress and invoke a defined escape behavior.
BThe robot has become holonomic; disable lateral motion to restore the field.
CThe field is deliberative and needs a longer prediction horizon to finish its existing plan.
DIncrease every repulsive force equally, which guarantees the remaining vector points to the goal.
Show answer

Answer: A Potential fields turn local geometry into a vector command, but summed forces can cancel away from the goal.

iotclass.org

Retrieval practice

Recall check 3 of 3

Motor Max says: answer from memory, then check your reasoning.

Q3A tanh neural controller always emits values between -1 and 1. Why is a separate actuator safety envelope still required?

AThe bounded neuron output still needs physical scaling, slew limits, saturation handling, and a defined response to stale or out-of-domain inputs.
BBecause tanh becomes unbounded when more than eight sensors are connected.
CBecause a proximal controller cannot be reactive until it contains a path planner.
DBecause a potential-field stage could combine obstacle avoidance and goal attraction before the bounded neural signal is sent to the motors.
Show answer

Answer: A Control safety lives at the physical interface.

iotclass.org

Print reference

Answers

Answer key.

  1. A · Classify sensing abstraction and planning horizon separately.
  2. A · Potential fields turn local geometry into a vector command, but summed forces can cancel away from the goal.
  3. A · Control safety lives at the physical interface.
iotclass.org