Atlas Robotics
Lesson 8/9 · about 12 min

Technical architectures and weak points

The operational architecture says what the robot does; the systems architecture says which subsystems it has. The last level is the technical architecture: the specific algorithms, data structures and code organization. This lesson surveys what lives at that level, how to evaluate it, and where architectures typically break.

After this lesson you will

  • List the kinds of components in a technical architecture
  • Know four criteria for evaluating a technical architecture
  • Recognize typical weak points of each layer and of the boundaries between layers

What goes into a technical architecture

KindExamples (you will meet them in this course)
AlgorithmsHough transforms, genetic algorithms, neural networks, path planning, fuzzy logic, scheduling, resource allocation
Data structuresPotential fields, perceptual spaces, polar plots
Coordination and control of modulesVector summation, subsumption, voting, production rules
Displays and interfacesNatural language, gestures

A modern trend is a software-as-a-service flavour: modules are used rather than owned, independent of programming language, and stateless. In practice: subsystems draw algorithms from libraries dynamically; libraries hold logically equivalent routines that can be swapped; libraries can live off-board at a control centre, and robots can even use other agents' computing resources.

Four evaluation criteria

Support for modularityDecomposition along the functions specified by the systems architecture.
Niche targetabilityCan be adapted to specific application domains.
Ease of portabilityInfrastructure code is reusable in other domains.
RobustnessOften neglected beyond reactive systems' tendency to "do the right thing". How does the system react when it itself fails?

Injecting faults into a real architecture

The model below shows the main blocks of the Atlas robot (a hybrid architecture built on Nav2). Pick each fault to see where it happens (red) and where it is caught (green):

Lessons that apply to every kind of robot:

  • Silent sensor failures are the most dangerous. "I see nothing" is read as "there is nothing". A humanoid with a glare-blinded camera or a drone with jammed GPS can fail the same way. A separate layer monitoring sensor quality is needed.
  • Layer boundaries need a reporting channel. If the reactive layer is stuck but doesn't report it, the planning layer keeps sending the same old plan. This is the monitoring function of the deliberative layer.
  • Put safety as low as possible. Safety blocks should be simple, close to the hardware, independent of maps, networks or complex algorithms, and allowed to override every command from above. Just as pulling your hand off a hot stove doesn't go through the cortex.

Weak points by layer

WhereTypical weakness
Reactive layerLocal scope, poor coordination functions, unpredictable behavior
Deliberative layerWrong models, implicit assumptions (the closed world sneaking back), stale plans
Sensor data to symbolsMisrecognition, confusing one object for another
Between layersNo upward reporting, no execution monitoring
Interaction layerPeople don't understand what the robot is doing and intervene at the wrong time; the robot doesn't understand what people intend

Check yourself

What kinds of components go into a technical architecture?

Algorithms; data structures; algorithms for coordinating and controlling modules; displays and interfaces.

Four criteria for evaluating a technical architecture?

Support for modularity, niche targetability, ease of portability to other domains, robustness.

Why is a silent sensor failure more dangerous than one that stops the robot?

Because the system keeps running normally with no error; areas without data are treated as empty. A failure that stops the robot is noticed immediately.

The principle for placing safety blocks?

The more critical, the lower, simpler and closer to the hardware; independent of networks, maps or complex algorithms; able to override every command from upper layers.

Technical architectures and weak points · Module 1: Architectures: the software engineering of intelligence — Atlas Robotics