Computer engineering · also Robotics, Control systems
Real-time computing on robots
In engineering, real-time means a result is only correct if it arrives before its deadline. A missed deadline is a failure in a hard real-time task, such as a motor current loop, but merely undesirable in a soft real-time task, such as showing video to an operator. Microcontrollers give predictable timing, while single-board computers with a full operating system offer far more computing power but less predictable timing, called jitter. Many robots split the work: fast, safety-critical loops on a microcontroller, heavy perception and planning on a larger computer, each layer running at its own rate.
Why it mattersIf a robot's main computer freezes, a microcontroller that notices the missing commands can still stop the motors safely.