Designing Checkpoints for AMRs: Criteria for Smooth Resumption After an Abnormal Stop
This article covers checkpoint design that lets Autonomous Mobile Robots (AMRs) resume operation safely after an abnormal stop, including self-localization uncertainty, relocalization, and examples of non-volatile memory use from a technical perspective.
Background: Why Resumption Decisions Are Required After an AMR Abnormal Stop
AMRs navigate autonomously based on self-localization, which means they need a mechanism that can automatically determine the conditions under which resumption can be secure after an abnormal stop. A resumption decision that overlooks positional uncertainty can lead to serious accidents such as collisions and misdelivery, so a careful preparation is required from the design stage.
Self-Localization Uncertainty and the “Kidnapped Robot Problem” (KRP)
AMRs estimate their position using SLAM (Simultaneous Localization and Mapping) based on data from sensors such as LiDAR and cameras—a process that inherently involves a degree of uncertainty. In robotics, a situation where, for some reason, the estimated position deviates significantly from the actual position is known as the “Kidnapped Robot Problem,” which is a classic challenge for assessing the robustness of position estimation. Even methods that maintain many hypotheses, such as Monte Carlo localization, cannot always detect such a discrepancy immediately, so this possibility cannot be ignored in resumption design.
Position Offset After an Abnormal Stop and the Difficulty of Deciding to Resume
When an AMR performs an emergency stop, factors such as wheel slippage, movement due to inertia, or temporary sensor obstruction can cause a discrepancy between the robot’s estimated position and its actual physical location. If the system relies on pre-stop data to resume operation, the robot may begin moving from an incorrect location, compromising the accuracy of path planning and obstacle avoidance. Conversely, restarting the localization process from scratch every time would delay recovery and lower uptime, creating a different problem, so criteria suited to the situation are needed.
Safety Risks Stemming from Incorrect Resumption Decisions
If a resumption decision is wrong while a position offset remains, the AMR resumes travel without realizing that its perceived position differs from its actual position. Moving off while misjudging its position relative to people or equipment can lead directly to collisions or contact, a particularly serious safety risk for AMRs that operate in the same space as people. In systems with poorly designed resumption logic, avoiding these risks may require inserting overly cautious restart procedures every time, which can reduce productivity.
Technical Requirements for Resuming After an Abnormal Stop
Designing for resumption after an abnormal stop involves technical requirements that differ from position estimation at normal startup. The design must focus on three key aspects: how to preserve the system’s state immediately prior to the stop, what criteria to use to determine whether it is safe to resume, and how to maintain data consistency across power cycles or restarts. These requirements become especially critical in high-urgency scenarios.
The Need for Immediacy in Preserving Internal State
The internal state at the moment an abnormal stop occurs, such as the estimated position, travel speed, and recent sensor observations, is important information for deciding whether to resume. However, the stop process itself is urgent and leaves very little time to spare, so saving this information with the same procedure as normal logging risks power being lost before the write completes. The system must be capable of reliably saving its internal state within the extremely brief window between the initiation of the stop command and the moment the robot comes to a complete halt.
Relocalization Accuracy and Criteria for Resuming Operations
To determine whether it is safe to resume, the system must compare its position data from just before the stop with new sensor data acquired upon restart. It must then evaluate how reliably the relocalization process has reconfirmed the robot’s position. Tiered criteria can balance safety and recovery speed: if the matching result falls within a certain error range, normal travel resumes; if it deviates significantly, the robot first performs a reduced-speed verification run or re-estimates its position using nearby landmarks.
Ensuring State Consistency Across Power Loss and Reboots
Depending on the cause of an abnormal stop, the AMR’s control system itself may experience a power loss or a restart. When this happens, all volatile memory state is lost — so any information needed for a resumption decision must be stored in a form that survives power loss. It is important to design not only for the data to persist but also for a mechanism to verify its integrity, so that incomplete data from a power loss during a write is never used for a resumption decision.
Checkpoint Design Approach
Supporting a safe resumption of operations after an abnormal stop requires a design that addresses three key aspects: what information to record as a checkpoint, where and how to store it, and how to integrate it with existing navigation control systems. Examining these perspectives carefully in combination leads to effective resumption decisions. It is important to keep these three points in mind from the early design stage.
Defining Checkpoint Information
Information to be recorded as a checkpoint includes the estimated self-position and its associated confidence level, recent travel speed and heading, identifiers for map segments or landmarks currently being referenced, and the progress of tasks that were underway just before the stop. By storing this data collectively, the system can make resumption decisions based not just on location, but also on the context in which the stop occurred. The types and granularity of the recorded information should be determined based on the specific requirements of the logic used to make resumption decisions.
Immediate Checkpoint Storage Using Non-Volatile Memory
To ensure that checkpoint information is reliably preserved, a design that immediately writes data from volatile memory to non-volatile memory is effective. In the servo controllers used for industrial robots, mechanisms are already in place to trigger an alarm if a write error occurs in non-volatile memory—a practice that underscores the importance of designing systems that guarantee the successful completion of data writes. An AMR checkpoint design likewise requires a combination of memory and control mechanisms that can complete critical write operations before the power supply becomes unstable and can detect write errors.
Decisions regarding resumption based on checkpoints should not be isolated as a standalone function; rather, they must be integrated into the recovery mechanisms already present in the navigation stack. In ROS-based navigation stacks, recovery behaviors—such as clearing costmaps, rotating, or reversing—are managed via behavior trees, which trigger a sequence of escalating recovery actions whenever a failure occurs. By incorporating checkpoint verification results as an input for this recovery mechanism, the system can make flexible, context-aware decisions about whether or how to resume operations.
Key Considerations for Implementing Checkpoints in AMRs
Implementing checkpoint functionality in an AMR requires careful consideration of various factors, ranging from the physical characteristics of the memory and processing load to how to handle cases where resumption fails. Ultimately, achieving a balance between safety and operational uptime depends on a series of precise, implementation-level design choices. The characteristics of the chosen memory also influence other design decisions.
Balancing Write Speed and Reliability in Memory Selection
The non-volatile memory used for storing checkpoints must offer both the write speed necessary to handle sudden events—such as an emergency stop—and the reliability required to verify that data has been written successfully. While flash memory is advantageous for high-capacity storage, the erase operations that accompany writes can make it unsuitable for immediate writes in an emergency. In contrast, FeRAM (FRAM, Ferroelectric RAM) offers both high-speed writes and high write endurance, making it a well-suited choice for storing frequently generated checkpoints.
Trade-off Between Checkpoint Frequency and Processing Load
Increasing the frequency of checkpoint recording reduces the amount of data lost in the event of an abnormal stop and improves the accuracy of resumption decisions. However, this also increases memory write operations, which may consume computational resources and power that would otherwise be available for core tasks such as motion control or self-localization. In practical system design, it is necessary to balance accuracy and processing load—for example, by dynamically adjusting the checkpoint recording interval based on factors like travel speed or the rate of change in the surrounding environment.
Fallback Design for Resumption Failures
Even when a resumption decision is based on a checkpoint, there may be cases where the relocalization result fails to reach a sufficient level of reliability. In such scenarios, rather than forcing the system to resume normal operation, the design should incorporate a tiered fallback strategy. This might include switching to a reduced-speed verification run, or bringing the system to a complete stop—ensuring the immediate surroundings are safe—while prioritizing notification to an operator. Instead of relying on a binary “yes/no” decision for resumption, implementing a hierarchical set of alternative actions enhances the overall safety of the AMR.
RAMXEED FeRAM Product Lineup