How a Liftable LDS LiDAR Builds and Remembers Maps for Multi-Level Homes

    A liftable LDS LiDAR scans the environment at multiple heights to reduce the blind spots of conventional fixed-height 2D LiDAR. This article explains the SLAM pipeline, multi-height data processing, lift mechanism design, obstacle-layer generation, multi-floor map management, extrinsic calibration, and synchronization requirements. It also outlines common failure modes and practical troubleshooting methods for split-level and multi-story homes.

    Introduction: The Limitations of Planar Scanning

    A conventional LDS LiDAR rotates at a fixed height and measures a single 2D cross-section. This is usually sufficient for single-level rooms with simple layouts. However, split-level homes, duplexes, high-legged furniture, and window sills can leave important features out of the scan. The resulting map may become distorted, localization may drift, and path planning may fail.

    A liftable LiDAR addresses this problem by moving vertically and scanning at multiple heights. Low objects and elevated structures can then be captured in different cross-sections. This article explains the approach from four perspectives: SLAM, mechanical design, multi-map management, and engineering calibration.

    1. How a Liftable LiDAR Builds a Map

    1.1 From Range Data to an Occupancy Grid

    The LiDAR emits laser pulses and receives reflected signals. Distance is calculated using time-of-flight (TOF) or phase-difference principles. Measurement accuracy varies by device model and surface reflectivity. Consumer-grade LDS products are typically accurate at the centimeter level, but the exact value should be taken from the relevant specification sheet. Engineering teams should also record actual errors under their own test conditions.

    After pose estimation and data association, the raw points are converted into a 2D occupancy grid. Each grid cell stores the probability that the area is occupied.

    1.2 Front-End Processing for Multiple Heights

    Scans collected at different heights from the same location can differ substantially. For example, when the LiDAR moves from 5 cm to 10 cm, the visible cross-sections of a coffee table base or sofa legs may change significantly.

    The front end should therefore group frames by height and use ICP or NDT matching only between frames with similar heights. Frames from different heights must first be aligned through 3D projection before registration, or they should be used only as inputs for ground segmentation and obstacle-layer generation.

    Pets and curtains moved by airflow are dynamic objects. Across multiple frames, they generally appear as short-lived noise and can often be filtered out.

    1.3 Loop Closure: Using Multi-Height Features Carefully

    In a 2D grid-based SLAM system, frames captured at different heights cannot be matched directly as if they represented the same viewpoint. Loop closure should be performed only when at least one of the following conditions is met:

    • The LiDAR is at the same height during both visits to the location; or
    • Multi-height data has already been aligned through 3D projection.

    Once these conditions are satisfied, cross-sectional features can be used as supporting evidence. This helps reduce false matches in visually similar areas such as plain white walls.

    After loop-closure constraints are added to the pose graph, tools such as g2o or GTSAM can perform nonlinear optimization to reduce accumulated drift in long corridors and ring-shaped floor plans. Optimization should be evaluated by checking whether residuals continue to decrease and whether the map dimensions match real-world measurements.

    2. Key Design Considerations for the Lift Mechanism

    2.1 Transmission and Position Feedback

    Common mechanical solutions include a stepper motor with a lead screw or a rack-and-pinion mechanism. Upper and lower limits are typically detected with optical switches or mechanical limit switches.

    After each vertical movement, an encoder or Hall sensor reports the current height. The system writes this value to the TF tree so that scans from different heights can be transformed into a common world coordinate system.

    Mechanical backlash directly affects scan quality. Guide shafts and bearings should be selected according to the load and vibration conditions, and the mechanism should be inspected regularly for excessive clearance.

    2.2 Safety Requirements

    A lift mechanism introduces risks such as pinching and falling components. The design should include:

    • Hardware upper and lower limit protection, with software limits as a second layer of protection;
    • Position holding or controlled lowering during power loss to prevent the LiDAR from falling freely;
    • Anti-pinch structures around the moving area and stall detection;
    • Clearly defined maximum load and maintenance intervals.

    2.3 Fixed LiDAR vs. Liftable Multi-Height LiDAR

    Comparison Fixed 2D LiDAR Liftable Multi-Height LiDAR
    Sensing range One horizontal plane Multiple height cross-sections
    Blind spots Low objects and elevated structures may be missed More height coverage, although transparent or dark surfaces may still cause blind spots
    Hardware complexity Low Higher, due to the motor, limit switches, and encoder
    Primary failure points Drift when scene features are insufficient Mechanical jamming and incorrect height readings

    3. Adding Obstacles to the Costmap

    Multi-height occupancy grids can be organized into height layers. The lower layer records the ground and low obstacles, while higher layers record features such as table edges and window sills.

    After fusion, the costmap generates obstacle layers according to the height range in which the robot can collide. The inflation radius is still determined by the robot’s footprint and operating speed. Height information helps determine whether a detected object requires avoidance.

    There are three major failure scenarios:

    1. Glass, mirrors, and dark carpets may produce weak or missing laser returns.
    2. If the lift stops at an incorrect height, data assigned to that layer may be misaligned.
    3. If an obstacle moves between scans, it may leave a ghost or residual trace.

    For troubleshooting, inspect the occupancy map for each individual layer first, then examine the fused costmap.

    4. Managing Multiple Maps for Multi-Level Homes

    4.1 Determining When to Switch Map Sessions

    Relying only on vertical acceleration to detect a floor transition is unreliable. Acceleration in an elevator or on stairs can resemble ordinary bumps, resulting in frequent misclassification.

    A more robust approach combines multiple conditions:

    1. Identify features around an elevator entrance or stairwell;
    2. Use a barometer to detect altitude changes, with the IMU helping determine motion status;
    3. Match the current scan against existing maps, and do not switch maps when the matching score is below the threshold;
    4. Require user confirmation for critical or ambiguous situations.

    When the result is uncertain, the system should keep the current map session and mark the floor as “unknown.” It can then perform global relocalization or request confirmation from the user.

    4.2 Map Metadata and Map Selection

    Each map should store the grid data, the LiDAR operating height, and an environmental signature. The signature may include the room area, a histogram of wall angles, and similar structural information.

    When the robot starts on the second floor, it first matches the signature against stored maps and then moves the lift mechanism to the corresponding height. If the signature does not match, the system should rebuild the map instead of forcing the old map to load.

    4.3 Cross-Floor Topology and State Transitions

    Maps for different floors can be connected through stairwell or elevator nodes. The planner first generates a route from the robot’s current position to the transition node on the current floor. After the floor transition, localization is initialized at the corresponding node on the next floor.

    A 2D map does not contain floor information by itself, so the system must maintain a separate node table.

    Search time depends on the number of nodes and processor performance. A topology can reduce the search space, but actual latency must be measured on the target processor.

    4.4 Troubleshooting Checklist for Cross-Floor Navigation

    • Localization initialization fails: Check whether there are enough features near the node. If necessary, collect new data around the transition area.
    • The wrong node is matched: Verify the correspondence between node coordinates and floor maps, and check whether the extrinsic parameters for both floors are consistent.
    • The wrong map is loaded: Check the height values and signatures in the map metadata, and confirm that the target floor’s map is being used.

    5. Extrinsic Calibration and Height Synchronization

    5.1 Extrinsic Calibration Procedure

    The LiDAR and robot body coordinate systems have both translation and rotation relationships. Because the lift mechanism changes the LiDAR’s position, these extrinsics vary with height.

    For calibration, rotate the robot in place at the lowest, middle, and highest positions. Capture static feature points at each position, then estimate the extrinsics for each height by minimizing reprojection error.

    Calibration checks should include:

    • The number of static frames collected at each height, determined through team testing;
    • Consistent rotation speed and number of rotations;
    • An optimization convergence criterion, such as residual changes falling below a defined threshold;
    • Acceptance testing against a wall or room with known dimensions;
    • Recalibration triggers, including replacement of belts or gears, lubrication, collisions, or reinstallation.

    Common errors include:

    • Failing to synchronize the height reading with the LiDAR frame;
    • Not updating extrinsic parameters when the height changes;
    • Concentrating calibration points on only one wall;
    • Starting data collection before the lift mechanism has stabilized.

    Incorrect calibration can cause curved walls or abnormal wall thickness in the map.

    5.2 Synchronizing Lifting and Scanning

    The lift motor should use a trapezoidal acceleration and deceleration profile to reduce impact during startup and stopping. Each LiDAR frame should include the current height value.

    The algorithm should prioritize frames with height labels for scan matching. Intermediate frames captured while the height is unstable should be discarded or assigned lower weights. This prevents an inclined scanning plane from creating a blurry map.

    The stability of the lifting speed should be measured on the actual platform. Recording the speed curve is recommended.