A following method of a robot, a robot, and a storage medium

By combining the surround-view wireless transceiver module and the surround-view camera module, the wireless and visual position information of the target object is acquired and fused to generate follow-up control commands, which solves the blind spot and environmental adaptability problems in the robot following solution and improves the stability and robustness of following.

CN123149997APending Publication Date: 2026-11-24SHIYUN TECHNOLOGY (TIANJIN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611373763.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-04
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

Existing robot automatic following solutions suffer from numerous blind spots, poor environmental adaptability, and insufficient following stability.

Method used

The system combines a surround-view wireless transceiver module with a surround-view camera module to acquire the wireless and visual position information of the target object. The information is then fused using an extended Kalman filter to generate follow control commands.

Benefits of technology

It achieves omnidirectional, blind-spot-free perception, improves the environmental robustness and stability of robot following, and reduces the risk of following failure caused by environmental factors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123149997A_ABST
    Figure CN123149997A_ABST
Patent Text Reader

Abstract

This disclosure provides a robot following method, a robot, and a storage medium. The robot is equipped with a surround-view wireless transceiver module and a surround-view camera module. The method includes: acquiring wireless position information of a target object to be followed by the robot in a world coordinate system through the surround-view wireless transceiver module; acquiring surround-view images through the surround-view camera module, and identifying the visual position information of the target object in the world coordinate system based on the surround-view images; fusing the wireless position information and the visual position information to obtain fused position information of the target object relative to the robot; generating a following control command for the robot based on the fused position information, and executing the following control command to achieve automatic following of the target object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of robotics, and more specifically, to a robot following method, a robot, and a computer-readable storage medium. Background Technology

[0002] Robotic autonomous following technology has significant application value in scenarios such as search and rescue, firefighting, inspection, and security. In these scenarios, robots need to perceive the position of the target object in real time and autonomously adjust their direction and speed to achieve continuous following. As application scenarios become increasingly complex, following systems need to simultaneously meet high requirements in terms of omnidirectional perception coverage, multi-sensor data fusion accuracy, and continuous following control.

[0003] Currently, robot automatic following solutions are mainly divided into three categories: The first is a single Ultra Wide Band (UWB) following solution, which typically uses a UWB base station with a field of view of about 120° and a target object tag for ranging and positioning. However, its coverage area is limited, and the base station and the tag are easily blocked, resulting in jumping of ranging data or even loss of positioning. The second is a single vision following solution, which uses a camera to collect images and recognize the target object to achieve following. However, this solution is significantly affected by lighting and extreme environments. Scenes such as low light, backlight, direct strong light, smoke, and dust will significantly reduce the recognition accuracy, and the target object is prone to being lost when it is blocked. The third is a vision and UWB fusion following solution, which typically uses a 360° vision camera with a 120° field of view UWB module. It uses vision to judge whether the UWB positioning data is abnormal. If there is an abnormality, it switches to vision following, and if there is normal, it uses UWB following. This solution is essentially a switching fusion, and it still inherits the inherent defects of vision and UWB solutions respectively. Moreover, the mode switching process is prone to following jitter, resulting in insufficient system stability.

[0004] Therefore, there is an urgent need for an automatic robot following solution that can achieve blind-spot-free perception, strong environmental robustness, and stable and reliable following. Summary of the Invention

[0005] One objective of this disclosure is to provide a technical solution for automatic robot following, in order to solve the problems of numerous blind spots, poor environmental adaptability, and insufficient following stability in existing following solutions.

[0006] One object of the present invention is to provide a new technical solution for a robot following method.

[0007] According to a first aspect of the present disclosure, a robot following method is provided, wherein the robot is equipped with a surround-view wireless transceiver module and a surround-view camera module; the method includes: The surround-view wireless transceiver module acquires the wireless position information of the target object being followed by the robot in the world coordinate system. The surround-view camera module acquires surround-view images, and the visual position information of the target object in the world coordinate system is identified based on the surround-view images. The wireless location information and the visual location information are fused to obtain the fused location information of the target object relative to the robot; The robot generates follow control instructions based on the fused location information, and executes the follow control instructions to automatically follow the target object.

[0008] Optionally, the surround-view wireless transceiver module includes a multi-element antenna array; obtaining the wireless position information of the target object in the world coordinate system through the surround-view wireless transceiver module includes: transmitting a wireless signal through the surround-view wireless transceiver module and receiving the response signal of the wireless tag carried by the target object to the wireless signal through the multi-element antenna array; obtaining the signal angle of arrival and wireless ranging value of the target object relative to the robot based on the wireless signal and the response signal; obtaining the first position information of the target object in the robot coordinate system based on the signal angle of arrival and the wireless ranging value; and obtaining the wireless position information of the target object in the world coordinate system based on the first position information.

[0009] Optionally, the robot is further equipped with an inertial measurement unit and an odometer. Obtaining the wireless position information of the target object in the world coordinate system based on the first position information includes: determining the current pose of the robot based on the inertial data collected by the inertial measurement unit and the mileage data collected by the odometer; and obtaining the wireless position information of the target object in the world coordinate system based on the current pose and the first position information.

[0010] Optionally, the method further includes: performing closed-loop correction on the current pose based on the wireless ranging value.

[0011] Optionally, the surround-view camera module includes multiple fisheye cameras; the step of acquiring surround-view images through the surround-view camera module and identifying the visual position information of the target object in the world coordinate system based on the surround-view images includes: performing distortion correction and stitching on the images acquired by the multiple fisheye cameras to generate a bird's-eye view centered on the robot; performing target object detection on the bird's-eye view using a target object detection algorithm to extract the foot pixels of the target object; and using the robot's current pose and camera extrinsic parameters, back-projecting the foot pixels onto the world coordinate system to obtain the visual position information of the target object in the world coordinate system.

[0012] Optionally, the method further includes: constructing the difference between the distance between the fused location information and the robot's wireless coordinates and the wireless ranging value as a geometric constraint residual; performing low-pass filtering on the geometric constraint residual; and estimating the odometry scale factor when the continuous duration of the low-pass filtered geometric constraint residual being greater than a set value exceeds a set duration and the target object is stationary, and multiplying the scale factor back to the odometry velocity online to eliminate scale drift.

[0013] Optionally, the following control command includes a longitudinal speed control command, a lateral speed control command, and a yaw rate control command; generating the robot's following control command based on the fused position information includes: determining the robot's position error and heading error based on the fused position information of the target object relative to the robot and the set following position information; calculating the robot's longitudinal speed and lateral speed based on the position error, and calculating the robot's yaw rate based on the heading error; generating the longitudinal speed control command based on the longitudinal speed, generating the lateral speed control command based on the lateral speed, and generating the yaw rate control command based on the yaw rate.

[0014] Optionally, the step of fusing the wireless location information and the visual location information to obtain the fused location information of the target object relative to the robot includes: fusing the wireless location information and the visual location information through extended Kalman filtering to obtain the fused location information.

[0015] Optionally, the step of fusing the wireless location information and the visual location information through extended Kalman filtering to obtain the fused location information includes: constructing a state vector using the position and velocity of the target object in the world coordinate system; predicting based on a robot motion model to obtain the prior state and prior covariance of the state vector; using the wireless location information as wireless observations, calculating wireless observation innovation and wireless Kalman gain, and updating the prior state and prior covariance to obtain the intermediate state and intermediate covariance of the state vector; using the visual location information as visual observations, using the intermediate state and intermediate covariance as priors, calculating visual observation innovation and visual Kalman gain, and updating to obtain the posterior state and posterior covariance of the state vector; using the position component in the posterior state as the second location information of the target object in the world coordinate system; and obtaining the fused location information of the target object relative to the robot based on the second location information.

[0016] Optionally, calculating the robot's longitudinal velocity based on the position error further includes: determining longitudinal velocity feedforward based on the velocity component in the posterior state; and superimposing the longitudinal velocity feedforward into the longitudinal velocity.

[0017] Optionally, the method further includes: obtaining the current distance between the target object and the robot based on the fused position information; if the current distance is less than a deceleration threshold, gradually reducing the longitudinal speed of the robot to zero by a set step size or a set number of times to prevent collision; and / or, determining the confidence level of the fused position information based on the posterior covariance; if the confidence level is lower than a preset confidence threshold, determining the robot's dawdling speed based on the last known speed estimate of the target object, and stopping following and performing a surround-view yaw sweep search after exceeding a loss time threshold; and / or, sending the following control command to a local obstacle avoidance layer for correction processing before execution; wherein the local obstacle avoidance layer detects obstacles in front of the robot based on surround-view occupancy grids or depth point clouds, and performs obstacle avoidance correction on the following control command; and / or, when the target object is detected to be stationary and the wireless ranging value of the target object relative to the robot obtained through the surround-view wireless transceiver module is stable, updating the position information of the target object in the world coordinate system based on the wireless position information.

[0018] Optionally, before fusing the wireless location information and the visual location information, the method further includes: interpolating the wireless location information to the sampling time corresponding to the panoramic image using a timestamp, thereby achieving time alignment between the wireless location information and the visual location information.

[0019] Optionally, before fusing the wireless location information and the visual location information, the method further includes: calculating the Euclidean distance between the wireless location information and the visual location information in the world coordinate system, and performing the step of fusing the wireless location information and the visual location information if the Euclidean distance is less than a set distance threshold.

[0020] Optionally, the method further includes initializing the robot, the initialization process including at least one of the following: bringing the robot to a stationary state and constructing a world coordinate system with the robot's current position as the origin based on the robot's current posture; bringing the robot to a stationary state and performing zero-bias calibration on the robot's inertial measurement unit; performing time alignment on the surround-view wireless transceiver module and the surround-view camera module; and performing coarse consistency calibration on the extrinsic parameters of the surround-view wireless transceiver module and the surround-view camera module.

[0021] According to a second aspect of the present disclosure, a robot is also provided, including a memory and a processor, the memory being used to store a computer program; the processor being used to execute the computer program to implement the method according to the first aspect of the present disclosure.

[0022] According to a third aspect of the present disclosure, a computer-readable storage medium is also provided, on which a computer program is stored, the computer program implementing the method according to the first aspect of the present disclosure when executed by a processor.

[0023] This embodiment of the present disclosure combines a surround-view wireless transceiver module and a surround-view camera module to acquire and fuse the wireless and visual position information of the target object, respectively. This fully utilizes the advantages of the two sensors, compensates for the performance defects of a single sensor, and obtains more reliable fused position information. Based on this, a follow control command is generated to achieve automatic following, which effectively improves the positioning accuracy and anti-interference capability of the target object, reduces the risk of follow failure caused by environmental factors, and improves the overall stability and environmental adaptability of the robot's automatic following.

[0024] Other features and advantages of the embodiments of this disclosure will become clear from the following detailed description of exemplary embodiments with reference to the accompanying drawings. Attached Figure Description

[0025] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments of the present disclosure and, together with the description, serve to explain the principles of the disclosure.

[0026] Figure 1 This is a schematic diagram of the structure of a robot to which the methods of the embodiments of this disclosure can be applied.

[0027] Figure 2 This is a flowchart illustrating a robot following method according to some embodiments.

[0028] Figure 3 This is a block diagram of a robot according to some embodiments. Detailed Implementation

[0029] Various exemplary embodiments of the present disclosure will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement, numerical expressions, and values ​​of the components and steps set forth in these embodiments do not limit the scope of the present disclosure.

[0030] The following description of at least one exemplary embodiment is merely illustrative and is not intended to limit the scope of this disclosure or its application or use.

[0031] Techniques, methods, and equipment known to those skilled in the art may not be discussed in detail, but where appropriate, such techniques, methods, and equipment should be considered part of the specification.

[0032] In all the examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limitations. Therefore, other examples of exemplary embodiments may have different values.

[0033] It should be noted that similar labels and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need to be discussed further in subsequent figures.

[0034] This disclosure relates to a robot automatic following scheme. Figure 1 This is a schematic diagram of the structure of a robot capable of applying the robot following method of the embodiments of this disclosure. For example... Figure 1 As shown, the robot 1000 is equipped with a surround-view wireless transceiver module 1100, a surround-view camera module 1200, an inertial measurement unit 1300 and an odometer 1400, a surround-view stitching processing module 1500, and a computing module 1600. The surround-view wireless transceiver module 1100 includes a radio frequency front-end and a multi-element antenna array, and the surround-view camera module 1200 includes a multi-channel fisheye camera.

[0035] The Surround View Wireless Transceiver Module 1100 can be equipped with various wireless ranging methods such as ultra-wideband, Bluetooth, Wi-Fi, and millimeter-wave radio frequency.

[0036] In applications such as search and rescue, firefighting, inspection, and security, robots need to perceive and autonomously follow the position of target objects in real time. Among related technologies, single wireless positioning solutions have a field of view of only 120°, resulting in blind spots. When the target object enters the blind spot, ranging jumps or positioning loss can easily occur. Single vision camera solutions show a significant decrease in recognition accuracy under extreme lighting or occlusion conditions such as low light, backlight, smoke, and dust, making it easy to lose track of the target object. When fusing two types of sensors, if the wireless field of view is still limited and there is a lack of effective correction for the robot's own positioning drift, the fusion system cannot consistently maintain high-precision target object position estimation across the entire omnidirectional range, leading to a decrease in following stability.

[0037] To address this, the present invention extends the horizontal field of view of the surround-view wireless transceiver module to 360° and the pitch field of view to 120°, and integrates it with the 360° surround-view camera module to achieve omnidirectional, blind-spot-free dual-surround-view fusion tracking. This fundamentally solves the problem of decreased tracking stability caused by sensor perception blind spots, positioning drift, or environmental interference of a single sensor.

[0038] The following combination Figure 1The robot is used to illustrate various embodiments of this disclosure.

[0039] <First Embodiment> Figure 2 This is a flowchart illustrating a robot following method according to some embodiments. For example... Figure 2 As shown, the robot following method in this embodiment may include the following steps S210 to S240.

[0040] Step S210: Obtain the wireless position information of the target object being followed by the robot in the world coordinate system through the surround-view wireless transceiver module.

[0041] In this embodiment, relying on the surround-view wireless transceiver device set on the robot, wireless interaction is performed with the wireless tag worn by the target object to calculate the relative distance and spatial angle between the two, thereby obtaining the first position information of the target object relative to the robot. The first position information is then mapped to a unified world coordinate system to obtain wireless position information.

[0042] The surround-view wireless transceiver module is a rigidly mounted wireless transceiver unit on the robot body. Unlike traditional directional wireless base stations, it possesses an omnidirectional field of view with a horizontal 360° and a pitch ±60° range, serving simultaneously as a ranging anchor point (base station function) and a communication node (node ​​function). This module achieves omnidirectional coverage by integrating a multi-element antenna array deployed circumferentially. This embodiment employs a surround-view wireless transceiver module, which eliminates the blind spots in the field of view of traditional wireless solutions at the source, ensuring that ranging and angle measurement can be completed for the target object in any orientation of the robot, and preventing positioning interruptions when the target object moves to the side or rear.

[0043] Before executing the following operation in this embodiment, the robot can be initialized. This initialization process may include at least the following: establishing a world coordinate system with the robot's center as the origin, the forward direction as the X-axis, and the vertical upward direction as the Z-axis. Subsequently, the robot updates its current pose in the world coordinate system in real time through an inertial measurement unit and an odometer during movement.

[0044] Wireless location information is the three-dimensional absolute coordinates of the target object in the world coordinate system. It is the final output of the wireless positioning link and is strictly consistent with the coordinate system of the visual positioning output.

[0045] In some embodiments, the surround-view wireless transceiver module includes a multi-element antenna array; acquiring the wireless position information of a target object in the world coordinate system through the surround-view wireless transceiver module includes: transmitting a wireless signal through the surround-view wireless transceiver module and receiving the response signal of the wireless tag carried by the target object to the wireless signal through the multi-element antenna array; obtaining the signal angle of arrival and wireless ranging value of the target object relative to the robot based on the wireless signal and the response signal; obtaining the first position information of the target object in the robot coordinate system based on the signal angle of arrival and the wireless ranging value; and obtaining the wireless position information of the target object in the world coordinate system based on the first position information.

[0046] This embodiment essentially involves the robot's surround-view wireless transceiver module interacting with the wireless signal of the wireless tag carried by the target object. First, it calculates two basic observations—relative distance and spatial angle—from the physical signal. Then, through two coordinate transformations (polar coordinate system → robot coordinate system → world coordinate system), it finally outputs the wireless position information of the target object in the world coordinate system.

[0047] A multi-element antenna array consists of multiple independent antenna elements evenly distributed along the horizontal circumference, which together form a 360° horizontal signal transmission and reception coverage range.

[0048] Wireless ranging is the straight-line spatial distance between the robot and the wireless tag carried by the target object. It is a high-precision distance measurement calculated based on the time of flight of the wireless signal.

[0049] The signal angle of arrival (AHA) is the spatial angle at which the response signal emitted by the target tag is incident on the surround-view wireless transceiver module, including the azimuth angle in the horizontal direction and the elevation angle in the vertical direction. The azimuth angle is the angle on the horizontal plane relative to the robot's direction of travel, covering a full circumference range of 0° to 360°; the elevation angle is the angle on the vertical plane relative to the horizontal plane, covering a pitch range of ±60°. Specifically, it can be obtained by using a phase interferometry algorithm to calculate the azimuth and elevation angles of the incident signal, based on the phase difference of the same signal received by multiple antenna elements, combined with the array geometry and pre-calibrated phase offset parameters.

[0050] The first position information is the three-dimensional Cartesian coordinates of the target object in the robot's body coordinate system, which is an intermediate calculation result of the wireless positioning link. Specifically, it can be the three-dimensional position vector calculated by substituting the wireless ranging value as the radial distance, the azimuth angle as the horizontal deflection angle, and the pitch angle as the vertical deflection angle into the standard formula for converting spherical coordinates to Cartesian coordinates.

[0051] In some instances, the robot coordinate system can be predefined. For example, it can be a system with the robot's center as the origin, the forward direction as the positive X-axis, the left side as the positive Y-axis, and the vertical upward direction as the positive Z-axis.

[0052] Specifically, the surround-view wireless transceiver module transmits non-sinusoidal narrow-pulse wireless signals according to a preset period. After receiving the signal, the wireless tag carried by the target object returns a response signal at the same frequency after a preset fixed time delay. Each element of the multi-element antenna array synchronously acquires this response signal, recording the receiving timestamp and sampling phase data of each signal. Based on the timestamp sequence of the transmitted and response signals, the actual flight time of the signal is calculated through a two-way bilateral ranging protocol. Combined with the constant of the speed of light, the wireless ranging value of the target object relative to the robot is calculated. Based on the phase difference of the received response signals of each element, phase compensation is performed using pre-stored array calibration parameters. The calculation yields the azimuth and pitch angles of the target object relative to the robot coordinate system. A local robot coordinate system is constructed with the robot's center as the origin. The wireless ranging value is used as the radial distance, the azimuth angle as the horizontal deflection angle, and the pitch angle as the vertical deflection angle. Through the transformation operation from spherical coordinates to rectangular coordinates, the first position information of the target object in the robot coordinate system is obtained. Based on the world coordinate system locked during the initialization phase, a homogeneous transformation matrix is ​​constructed in combination with the robot's current pose state. The first position information is multiplied by the homogeneous transformation matrix and mapped to the world coordinate system to obtain the wireless position information of the target object in the world coordinate system.

[0053] In these examples, ranging and angle measurement within a 360° range are achieved through a multi-element omnidirectional antenna. Then, position information in a unified coordinate system is output through two-level coordinate transformation. This can eliminate the blind spots of the field of view of traditional wireless base stations, achieve stable target object positioning of the robot in all directions, and output standardized world coordinates, providing a consistent spatial reference for subsequent fusion with visual data in the same coordinate system.

[0054] In some embodiments, the robot is further provided with an inertial measurement unit and an odometer, and obtains the wireless position information of the target object in the world coordinate system based on the first position information, including: determining the current pose of the robot based on the inertial data collected by the inertial measurement unit and the mileage data collected by the odometer; and obtaining the wireless position information of the target object in the world coordinate system based on the current pose and the first position information.

[0055] In this embodiment, the robot's pose in the world coordinate system is first calculated by combining the inertial measurement unit and the odometry. Then, the robot's pose is used as the transformation reference to map the first position information in the robot's local coordinate system to the unified world coordinate system. Finally, wireless position information with the same reference as visual positioning is output.

[0056] Specifically, the process can begin by performing zero-bias compensation and noise filtering on the raw inertial data collected by the inertial measurement unit (IMU). The robot's attitude angles and velocity increments are then calculated using an inertial integral algorithm, outputting high-frequency inertial estimation results. Simultaneously, kinematic calculations are performed on the step length and steering angle data output by the odometry system to obtain the robot's displacement and heading increments, outputting low-frequency odometry estimation results. A complementary filtering or extended Kalman filter architecture is then used to fuse and correct the high-frequency and low-frequency odometry estimation results. Odometry data is used to suppress the cumulative drift of the inertial integral, and inertial data is used to fill the time gaps in odometry sampling, thus calculating the robot's current pose in the world coordinate system, including its three-dimensional position and three-axis attitude. A homogeneous transformation matrix is ​​constructed based on the robot's current pose, where the rotation matrix is ​​calculated from the three-axis attitude angles, and the translation vector is composed of the robot's three-dimensional position coordinates. The first position information in the robot's coordinate system is used as the input vector, multiplied left by this homogeneous transformation matrix to complete the composite mapping of rotation and translation, obtaining the target object's wireless position information in the world coordinate system.

[0057] In some examples, the solution model for the first position information of the target object in the robot coordinate system is as follows: .in, Here is the wireless ranging value, and θ is the azimuth angle. The pitch angle.

[0058] Furthermore, the initial position information in the robot coordinate system can be converted into wireless position information in the world coordinate system using the following formula:

[0059] in, Indicates the current pose. Indicates the current pose position. This refers to the first position information of the target object in the robot coordinate system.

[0060] In these examples, the robot's pose is calculated by combining an airborne inertial measurement unit with a foot odometry, and the relative coordinates are converted to absolute coordinates based on this. This allows the robot to independently perform world-system positioning of the target object in scenarios without external positioning base stations or satellite signals, thus improving the environmental adaptability of the solution.

[0061] In some embodiments, the method further includes: performing closed-loop correction on the current pose based on the wireless ranging value.

[0062] This step is the core closed-loop calibration link in the robot self-localization link. Its core logic is to use the high-precision straight-line distance obtained by wireless ranging as an independent geometric constraint and introduce it into the open-loop trajectory calculation process of the combination of inertial measurement unit and odometry. By constructing the residual between the pose estimation result and the true distance measurement value, the accumulated error generated by the trajectory calculation is continuously corrected by filtering or optimization, and the long-term stable robot pose result is output.

[0063] Closed-loop pose correction, distinct from open-loop integration, is a pose estimation mechanism that utilizes external observations independent of trajectory estimation to correct the integrated pose result, forming a closed-loop "estimation-observation-correction" chain. Specifically, it can use wireless ranging values ​​as input, and iteratively adjust the trajectory-estimated pose state through extended Kalman filter update steps or graph optimization constraint edges, ensuring the pose estimation result closely matches the actual ranging constraints. Its function is to continuously suppress the cumulative error of inertial and odometry integration, preventing the robot's pose accuracy from continuously decreasing over time and guaranteeing positioning stability in long-term following scenarios.

[0064] Specifically, the closed-loop correction of the current pose based on the wireless ranging value is achieved through the following steps: First, obtain the robot's initial pose calculated from the current frame's trajectory; then, combine this with the fused position information of the target object to calculate the Euclidean distance between the robot and the target object in the world coordinate system. Next, subtract this Euclidean distance from the wireless ranging value of the current frame to construct a geometric constraint residual. Finally, determine the magnitude and duration of the geometric constraint residual. If the residual magnitude exceeds a set threshold and maintains the same direction of deviation for multiple consecutive frames, it is determined that the robot pose has accumulated drift, triggering the closed-loop correction process. The wireless ranging value is used as a distance observation and input into the extended Kalman filter for pose estimation. The observation innovation and Kalman gain are calculated to update and correct the robot pose state calculated from the trajectory, resulting in the corrected current pose. Finally, the corrected robot pose is fed back into the positioning link, synchronously updating the coordinate transformation reference of the target object's wireless and visual position information to ensure consistency of the spatial reference for subsequent fusion calculations.

[0065] Geometric constraint residuals are a core quantitative indicator for measuring robot pose estimation error. Specifically, they are the difference between the distance between the robot and the target object calculated based on the estimated pose and the distance measured wirelessly. Geometric constraint residuals can intuitively reflect the degree of pose drift. A consistently positive or consistently negative geometric constraint residual indicates a systematic deviation in pose, and is the core basis for triggering closed-loop correction and calculating the correction amount.

[0066] Odometry scale drift is a common systematic error in trajectory estimation. It refers to a fixed proportional deviation between the displacement obtained by odometer integration and the actual displacement. This deviation accumulates continuously with increasing travel distance and is usually caused by factors such as foot slippage, terrain deformation, and wheel wear. Specifically, in a scenario where the target object is stationary, the ratio of the average wireless distance measurement value to the average distance value estimated by the odometer can be used to obtain the scale factor deviation.

[0067] Sliding window pose optimization is a batch closed-loop correction method. It uses the poses of the most recent N consecutive frames as optimization nodes and odometry relative motion and wireless ranging constraints as optimization edges. The optimal pose trajectory within the window is solved by minimizing the global residual. The method involves a fixed sliding window length; for each new frame, the oldest frame is removed, constructing a factor graph containing odometry and wireless distance edges, and then performing nonlinear optimization. Its purpose is to take into account constraint information from multiple historical frames, resulting in a smoother and more continuous corrected pose trajectory. This avoids pose jitter caused by successive corrections in a single frame and better converges slowly varying system errors.

[0068] Furthermore, the corrected robot pose trajectory is fed back into the visual projection and extended Kalman filter prediction, and the corrected robot pose trajectory is used as the coordinate reference for subsequent processing.

[0069] In these examples, the drift state is determined by constructing geometric constraint residuals frame by frame, and the pose is corrected by wireless ranging based on extended Kalman filtering. This can suppress the cumulative error of trajectory estimation in real time without increasing the amount of computation. Moreover, the correction process is smooth and continuous without pose jumps, which can meet the low latency requirements of robot real-time following.

[0070] In some embodiments, the method may further include: constructing the difference between the distance between the fused location information and the robot's wireless coordinates and the wireless ranging value as a geometric constraint residual; performing low-pass filtering on the geometric constraint residual; and estimating the odometry scale factor when the continuous duration of the low-pass filtered geometric constraint residual being greater than a set value exceeds a set duration and the target object is stationary, and multiplying the scale factor back to the odometry velocity online to eliminate scale drift.

[0071] Specifically, constructing geometrically constrained residuals and estimating the scale factor to eliminate odometry scale drift can include: calculating the robot's wireless coordinates in the world coordinate system based on the extrinsic parameter offset of the wireless transceiver module relative to the robot's center and the robot's current pose; calculating the Euclidean distance between the fused position information of the target object and the robot's wireless coordinates, and subtracting this Euclidean distance from the wireless ranging value of the current frame to construct the original geometrically constrained residuals; performing first-order low-pass filtering on the original geometrically constrained residuals generated frame by frame to filter out single-frame measurement noise and instantaneous fluctuations, and outputting a smoothed residual sequence; and statistically analyzing the amplitude and duration of the smoothed residuals in real time. Simultaneously, based on the target object's velocity estimate and ranging fluctuation amplitude, it is determined whether the target object is stationary. When the smoothing residual is greater than the set residual threshold for a continuous duration exceeding the set duration threshold, and the target object is determined to be stationary, the odometry scale factor estimation process is triggered. The average wireless ranging value within the set statistical window is taken as the true distance benchmark, and the corresponding average distance value calculated by the odometry within the same window is calculated. The ratio of the two is used as the estimated odometry scale factor. The estimated odometry scale factor is multiplied back into the three-dimensional velocity component output by the odometry online, and the corrected velocity is used to participate in subsequent trajectory calculations to eliminate odometry scale drift from the source.

[0072] In some examples, geometric constraint residuals can be constructed using the following formula:

[0073] in, For geometrically constrained residuals, To integrate location information, This represents the robot's current pose and position. Let this be the robot's current pose. This is the transformation matrix from the coordinate system of the surround-view wireless transceiver module to the robot coordinate system. This is the wireless ranging value.

[0074] Ideally, the distance between the fused location information and the robot's wireless coordinates should equal the wireless ranging value. If A consistently large value indicates that the robot's current pose is drifting; if the target object is stationary... Jitter indicates the presence of non-line-of-sight (NLOS) or visual noise in the wireless signal.

[0075] Low-pass filtering is a preprocessing operation used to smooth and denoise the original geometric constraint residuals. It filters out measurement noise in a single frame and instantaneous jitter in the residuals caused by slight motion fluctuations of the target object. Specifically, it can employ a first-order low-pass filtering algorithm or a moving average filtering algorithm, setting a cutoff frequency or sliding window length to match the noise characteristics, and performing smoothing calculations on the original residual sequence output frame by frame. Its function is to distinguish between random measurement noise and systematic biases, avoiding false triggering of scale corrections due to residual fluctuations caused by single-frame wireless ranging jumps or slight shaking of the target object, thus ensuring the stability and reliability of scale factor estimation.

[0076] The target object stationary determination condition is used to ensure the stability of the estimation benchmark and avoid estimation deviations when the target object is in motion. Specifically, it can be determined by combining two dimensions: the velocity estimate of the target object output by the extended Kalman filter and the fluctuation range of the wireless ranging value. When the velocity estimate of the target object is lower than the velocity threshold and the fluctuation range of the ranging value is lower than the fluctuation threshold, the target object is determined to be stationary. Its function is to eliminate interference factors such as target object movement and instantaneous occlusion, ensure the reliability of the scale factor estimation benchmark, and prevent misestimation from causing a reverse deterioration in positioning accuracy.

[0077] In some examples, the odometer scale factor can be obtained using the following formula:

[0078] in, Odometer scale factor This is the average value of the wireless ranging values. This represents the average distance calculated from the odometer within the same window.

[0079] Online odometer velocity multiplication is the execution step of scale correction. It refers to multiplying the estimated scale factor into the velocity or displacement increment output by the odometer in real time to proportionally correct the original odometer output. Specifically, after the odometer calculates and outputs the body velocity value, the velocity component is multiplied by the currently effective scale factor, and the corrected velocity value is sent to the subsequent trajectory extrapolation stage. Its function is to eliminate scale drift at the odometer output. The correction effect is simultaneously applied to multiple downstream stages such as pose calculation, target object wireless coordinate transformation, and visual back-projection, improving the accuracy and consistency of the entire system.

[0080] In these examples, by constructing geometrically constrained residuals to quantify scale bias, combining low-pass filtering to remove instantaneous noise interference, and using the stationary target object as a reliable precondition for estimation, the scale factor is then corrected online from the odometry output. This can accurately identify and eliminate the systematic scale drift of the odometry at its source, avoid miscorrection caused by single-frame noise, and the correction effect can cover all downstream links that rely on the odometry, effectively improving the accuracy and stability of pose and positioning in long-term following scenarios.

[0081] In other examples, the scaling factor can also be estimated using a sliding window least squares fitting method: select multiple frames of data within a set window, use the cumulative displacement of each frame as the independent variable and the cumulative value of wireless ranging as the dependent variable, and obtain the optimal scaling factor through least squares fitting. This method is more robust than the mean-ratio method and can further reduce the impact of individual abnormal frames on the estimation results.

[0082] Step S220: Acquire panoramic images through the panoramic camera module, and identify the visual position information of the target object in the world coordinate system based on the panoramic images.

[0083] This embodiment constructs a 360° full-coverage visual perception field of view through a surround-view camera module, extracts the two-dimensional pixel coordinates of the target object through a target object detection algorithm, and finally combines the current pose of the robot inside and outside the camera to back-project the two-dimensional pixel coordinates to the three-dimensional world coordinate system, outputting visual position information with the same reference as wireless positioning.

[0084] The surround-view camera module is an omnidirectional imaging device composed of multiple vision acquisition units deployed around the robot's circumference. It serves as the hardware carrier for achieving 360° visual perception. Its function is to overcome the limitations of the limited field of view of traditional forward-facing cameras, achieving horizontal, omnidirectional, blind-spot-free image acquisition. Matching the 360° coverage capability of surround-view wireless, it prevents visual loss when the target object moves to the side or rear of the robot, ensuring continuous visual detection in all-around following scenarios.

[0085] In some embodiments, the surround-view camera module includes a multi-channel fisheye camera; acquiring surround-view images through the surround-view camera module and identifying the visual position information of the target object in the world coordinate system based on the surround-view images includes: performing distortion correction and stitching on the images acquired by the multi-channel fisheye camera to generate a bird's-eye view centered on the robot; performing target object detection on the bird's-eye view using a target object detection algorithm to extract the foot pixels of the target object; and using the robot's current pose and camera extrinsic parameters, back-projecting the foot pixels to the world coordinate system to obtain the visual position information of the target object in the world coordinate system.

[0086] This embodiment constructs omnidirectional visual coverage using a multi-channel fisheye camera array deployed circumferentially. After distortion correction and inverse perspective stitching, it is transformed into a unified bird's-eye view. Then, target object detection extracts the foot anchor points where the target object contacts the ground. Finally, combined with the robot's pose induced by the cameras, the pixel-to-3D world coordinate mapping is completed, outputting a standardized visual position observation. This step provides a wireless-independent visual positioning path. Furthermore, the "bird's-eye view + foot anchor points" positioning paradigm eliminates near-to-far distortion caused by perspective imaging and positioning errors due to human posture, ensuring absolute accuracy of visual positioning and providing reliable visual input for subsequent dual-source position fusion.

[0087] The multi-channel fisheye camera is the imaging hardware carrier of the surround-view vision module, consisting of multiple large-field-of-view fisheye lenses evenly distributed along the circumference of the robot. Specifically, one large-field-of-view fisheye camera can be rigidly installed in each of the four directions of the robot: front, rear, left, and right. The horizontal field of view of a single camera is not less than 180°, and there is an overlapping area between the fields of view of adjacent cameras. The intrinsic parameters and distortion coefficients of each camera are calibrated offline.

[0088] Distortion removal and stitching are preprocessing steps that transform multiple raw fisheye images into a unified panoramic image. Distortion removal corrects the optical distortion of the fisheye lens, while stitching merges the corrected images into a single panoramic image. Specifically, firstly, radial and tangential distortion correction is performed on each raw fisheye image using pre-calibrated distortion coefficients to restore a perspective image. Then, based on the extrinsic parameter calibration results of each camera, the registration transformation matrix between images is calculated, and pixel-weighted fusion is performed on overlapping areas to eliminate stitching gaps and brightness differences.

[0089] A bird's-eye view is a vertically tilted ground image generated through inverse perspective mapping, where pixel coordinates are linearly homographed to ground plane world coordinates. Specifically, it can be based on the assumption of a ground plane, using inverse perspective transformation to convert the perspective image's viewpoint into a vertically downward tilting view, with the robot's center as the coordinate origin, and unifying the mapping ratio between pixel equivalents and physical dimensions.

[0090] By generating a bird's-eye view, the perspective effect of near objects appearing larger and distant objects appearing smaller can be eliminated, making the pixel position of the target object linearly correspond to the real ground position, greatly simplifying the complexity of distance calculation, and eliminating the difference in viewpoints between cameras in different directions, so that the positioning accuracy of the target object remains consistent throughout the entire circumference.

[0091] Foot pixels are the pixel coordinates of the contact point between the target object and the ground, extracted during the target object detection process. They serve as anchor points for visual localization. Specifically, a target object detection model can identify the target object bounding box in a bird's-eye view, and the midpoint of the bottom of the bounding box can be used as the foot pixel; alternatively, a human keypoint detection model can identify keypoints on both ankles, and the average coordinates of these two points can be used as the foot anchor point. This avoids distance estimation errors caused by differences in target object height, limb movement, and posture changes when using the center of the human bounding box as the anchor point. Since the foot pixel is in direct contact with the ground, its back-projected spatial position more closely matches the target object's true ground coordinates, significantly improving the absolute accuracy and posture robustness of visual localization.

[0092] Pixel backprojection is a spatial mapping operation that converts two-dimensional pixel coordinates into three-dimensional world coordinates; it is the inverse process of camera imaging. Specifically, it can combine the camera intrinsic matrix, camera extrinsic matrix, and the robot's current pose to construct a homography transformation relationship from pixel coordinates to world coordinates, projecting the two-dimensional coordinates of the foot pixels onto the ground plane to obtain the three-dimensional position of the target object in the world coordinate system.

[0093] Specifically, the visual position information of the target object in the world coordinate system is obtained by acquiring images through multiple fisheye cameras, including: sending synchronous trigger signals to multiple fisheye cameras to control all cameras to expose and acquire images at the same time, obtaining the original fisheye images corresponding to each camera; performing distortion correction frame by frame on the original fisheye images based on the pre-stored intrinsic distortion coefficients of each camera to obtain perspective-corrected images that eliminate optical distortion; calculating the inverse perspective transformation matrix corresponding to each image based on the ground plane assumption and the extrinsic parameter calibration results of each camera; performing inverse perspective transformation on each perspective-corrected image to convert it into a ground projection map from a top-down perspective; and then, according to each phase... The relative position of the robot is used to register the projection image, and pixel-weighted fusion is performed on the overlapping areas to generate a global bird's-eye view with the center of the robot body as the origin. The global bird's-eye view is input into the trained target object detection neural network model, and the model outputs the detection box and confidence score of the target object. The bottom midpoint of the detection box is taken as the foot pixel point, and the pixel coordinates of the point in the bird's-eye view are output. Combining the robot's pose data, camera extrinsic matrix and camera intrinsic matrix of the current frame, a mapping matrix from pixel coordinates to the world coordinate system is constructed. The pixel coordinates of the foot pixel point are substituted into the mapping matrix for back projection operation to obtain the visual position information of the target object in the world coordinate system.

[0094] In these examples, a unified bird's-eye view is generated by synchronous acquisition, path-by-path distortion correction, and inverse perspective stitching. Then, the world coordinates are obtained by back-projection of the foot anchor points. Stable visual positioning in 360° omnidirectional direction can be achieved. This not only eliminates the positioning error caused by fisheye distortion and perspective deformation, but also reduces the interference of target object posture changes through foot anchor points. The output visual position and wireless position have a consistent spatial reference, which can be directly used for subsequent multi-source fusion calculations.

[0095] In some embodiments, before fusing the wireless location information and the visual location information, the method further includes: interpolating the wireless location information to the sampling time corresponding to the panoramic image through a timestamp, thereby achieving time alignment between the wireless location information and the visual location information.

[0096] This step is a time-domain standardization preprocessing step before multi-source location fusion. The core is to address the heterogeneous characteristics of the wireless transceiver module and the surround-view camera module, which have different sampling frequencies and asynchronous sampling times. Using the sampling time of the surround-view image as the alignment benchmark, the discrete wireless location sequence is continuously resampled using a timestamp interpolation algorithm so that the two location observations correspond to the same physical time.

[0097] Timestamp interpolation is a computational method that converts discretely sampled wireless location information sequences into continuously queryable location functions and calculates the location value at any specified time. Specifically, it can be based on wireless location information from two or more adjacent frames and their corresponding timestamps, using an interpolation algorithm to construct a time-location mapping relationship, and then substituting the target object's time to obtain the corresponding location information.

[0098] Time alignment refers to the standardization process that makes the observation data output by multiple sensors correspond to the same physical time. Here, it specifically refers to aligning wireless location information to the sampling time of the panoramic image.

[0099] Specifically, the wireless location information is interpolated to the sampling time corresponding to the surround view image to achieve time alignment. This includes: establishing a unified time base during the robot's initialization phase, using the hardware clock of the surround view wireless transceiver module as the main clock source, and marking each frame of wireless location information with a hardware timestamp; simultaneously marking each frame of surround view image with a soft timestamp corresponding to the main clock, thus unifying the time base of the two data streams; caching multiple consecutive frames of wireless location information and their corresponding timestamps to construct a time series of wireless location information; obtaining the sampling time timestamp corresponding to the current frame of surround view image as the target object time for interpolation; determining the position information of the target object time in the time series of wireless location information, selecting two adjacent frames of wireless location information before and after the target object time, and using a linear interpolation algorithm to calculate the wireless location information corresponding to the target object time, obtaining wireless location information aligned with the current visual frame time; pairing the aligned wireless location information obtained by interpolation with the current frame visual location information and sending it to the subsequent fusion processing stage; repeating the above interpolation process frame by frame to achieve time alignment of visual location information and wireless location information for all visual frames.

[0100] In these examples, time alignment of two data streams is achieved by first unifying the time base and then performing linear interpolation. This effectively eliminates the sampling time deviation of heterogeneous sensors with extremely low computational overhead, ensuring the time consistency of the fused input. Furthermore, linear interpolation is simple to implement and has low latency, making it suitable for the low-latency requirements of real-time robot following.

[0101] In other examples, the interpolation algorithm uses cubic spline interpolation instead of linear interpolation: a cubic spline curve is constructed based on the wireless location information of multiple consecutive frames, and the interpolated location information is calculated by substituting the target object's time. Compared with linear interpolation, it can better fit the continuous motion trajectory of the target object, reduce the interpolation error in high-speed motion scenarios, and improve the time alignment accuracy in dynamic following scenarios.

[0102] In some other examples, time synchronization is achieved by reverse alignment: using the wireless sampling time as a reference, adjacent visual frames are interpolated and resampled to obtain the visual position information corresponding to the wireless time. This method is suitable for application scenarios where the wireless is the main observation source and the fusion output frame rate matches the wireless sampling rate, and can flexibly adapt to different system architecture requirements.

[0103] In some embodiments, before fusing the wireless location information and the visual location information, the method further includes: calculating the Euclidean distance between the wireless location information and the visual location information in the world coordinate system, and performing the fusing process on the wireless location information and the visual location information if the Euclidean distance is less than a set distance threshold.

[0104] Euclidean distance in the world coordinate system is a standardized quantitative indicator that measures the spatial deviation between two position observations. It refers to the straight-line distance between the wireless and visual position information of a target object in three-dimensional space within the same world coordinate system. Specifically, it can be calculated by extracting the three-dimensional coordinate vectors of the two time-aligned position information and then calculating the Euclidean distance between the two points using the L2 norm of their vector difference.

[0105] The set distance threshold is a spatial threshold parameter used to determine whether two observations belong to the same target object, and it serves as the basis for data association. Specifically, it can be preset based on the combined positioning accuracy of the two types of sensors, the target object's movement speed, and the scene complexity, or it can be dynamically adjusted based on the real-time observation quality; the threshold is usually set slightly higher than the upper limit of the combined positioning error of the two sensors.

[0106] If the Euclidean distance is less than the set distance threshold, the two observations are determined to correspond to the same target object, the association verification passes, and the two location information is sent to the subsequent fusion processing stage; if the Euclidean distance is greater than or equal to the set distance threshold, the two observations are determined not to correspond to the same target object, the association verification fails, the dual-source fusion processing is not performed, and only the wireless location information is used as the valid basis for target object positioning.

[0107] In these examples, spatial correlation verification of two observations is achieved by determining the Euclidean distance in the world coordinate system, and the correlation result is used as the admission condition for fusion. This ensures from the source that the two observations participating in the fusion correspond to the same physical target object, effectively avoiding incorrect matching and invalid fusion in multi-target object scenarios. At the same time, the calculation method is simple and efficient, without bringing additional computing power burden to the real-time system, and taking into account both the accuracy and real-time performance of the tracking.

[0108] Step S230: The wireless location information and the visual location information are fused to obtain the fused location information of the target object relative to the robot.

[0109] In this embodiment, the location information calculated independently by wireless and visual methods is deeply fused at the location level through the optimal estimation algorithm to obtain fused location information that is more accurate and more resistant to interference than that of a single sensor, which is then directly supplied to the subsequent follow-up control module.

[0110] Position-level fusion is a hierarchical classification of multi-sensor fusion. It refers to performing fusion operations at the level where the position information of the target object is independently calculated by each sensor, which is different from raw data-level fusion and feature-level fusion. Specifically, it can take the position information of the target object in the world coordinate system obtained independently by wireless and visual sensors, respectively, as independent observation input to the fusion filter, and output a unified fused position information of the target object relative to the robot.

[0111] In some embodiments, fusing wireless location information and visual location information to obtain fused location information of the target object relative to the robot includes: fusing wireless location information and visual location information through extended Kalman filtering to obtain fused location information.

[0112] Extended Kalman filter (EKF) fusion is a recursive Bayesian state estimation method for nonlinear motion systems and is the core algorithm for dual-source position fusion in this scheme. It acquires state space information by constructing a state-space model of the target object's motion, describing the motion law using state transition equations, establishing a mapping relationship between position observations and state vectors using observation equations, and achieving optimal estimation of the target object's state through alternating prediction and update steps. EKF fusion effectively aggregates effective information from multiple independent observations, suppresses random noise from single-source sensors, and considers the temporal continuity of the target object's motion, outputting smooth and accurate position estimation results. Compared to static weighted fusion, it is more suitable for scenarios involving dynamic target object tracking.

[0113] In some embodiments, the wireless position information and visual position information are fused by extended Kalman filtering to obtain fused position information, including: constructing a state vector with the position and velocity of the target object in the world coordinate system; predicting based on the robot motion model to obtain the prior state and prior covariance of the state vector; using the wireless position information as wireless observations, calculating the wireless observation innovation and wireless Kalman gain, and updating the prior state and prior covariance to obtain the intermediate state and intermediate covariance of the state vector; using the visual position information as visual observations, using the intermediate state and intermediate covariance as priors, calculating the visual observation innovation and visual Kalman gain, and updating to obtain the posterior state and posterior covariance of the state vector; using the position component in the posterior state as the second position information of the target object in the world coordinate system; and obtaining the fused position information of the target object relative to the robot based on the second position information.

[0114] This embodiment presents a complete execution chain for extended Kalman filter fusion. Specifically, it uses the joint state of the target object's position and velocity in the world coordinate system as the estimation object, following a recursive filtering process of "state modeling—prior prediction—wireless observation update—visual observation update—result output." Optimal fusion of the two position information paths is achieved through dual-path serial observation updates, ultimately converting to obtain the relative fused position in the robot coordinate system. Its core features include a serial update mechanism, where the intermediate state and intermediate covariance output from the wireless update are directly used as prior inputs for the visual update, achieving cumulative correction of the two observation information paths. Simultaneously, world coordinate system modeling avoids target object state jumps caused by the robot's own motion, ensuring filter stability. Furthermore, the state vector synchronously includes a velocity component, allowing for direct velocity estimation of the target object while outputting the position, providing natural data support for the feedforward stage of downstream follower control.

[0115] The state vector is the core estimation object of the Extended Kalman Filter (EKF), representing the quantitative characterization of the target object's motion state. Specifically, it can be a 6-dimensional column vector composed of the target object's three-dimensional position coordinates and three-dimensional velocity components in the world coordinate system. The position components are directly observable state variables, while the velocity components are not directly observable but are indirectly estimated through temporal motion patterns. Using the state vector to achieve joint position-velocity modeling of the target object's motion not only supports prior predictions through the motion model but also synchronously outputs the target object's velocity, providing a direct data source for the velocity feedforward of subsequent follow-up control without requiring additional differential calculations, thus improving control response speed and smoothness.

[0116] The prior state and prior covariance are the outputs of the prediction step, representing the predicted state of the target object at the current moment based on historical motion patterns, without incorporating current observation information, and the uncertainty distribution of this predicted value. Specifically, it can be calculated by extrapolation using the state transition matrix based on the posterior state and posterior covariance of the previous moment, combined with the target object's motion model and inter-frame time interval, with process noise simultaneously included in the prior covariance. Its function is to connect the historical state with the current observation, providing a unified benchmark prior for subsequent updates from both observation paths; the prior covariance quantifies the uncertainty of the prediction result and is the core foundation for calculating the Kalman gain and allocating observation correction weights.

[0117] Wireless observation innovation refers to the difference between wireless observations and prior states after observation mapping, also known as residual, reflecting the degree of deviation between the observation results and the prediction results. Wireless Kalman gain is a coefficient that measures the correction weight of observations, determining the magnitude of the correction of the prior state by the observation innovation. Specifically, the observation innovation can be obtained by first calculating the difference between the wireless observations and prior states after mapping through the observation matrix, and then calculating the Kalman gain by combining the prior covariance, the observation matrix, and the wireless observation noise covariance. Its function is to quantify the contribution of wireless observations in the fusion; a larger gain indicates higher observation reliability and a larger correction magnitude to the state. Simultaneously, the innovation can be used for anomaly detection; if the innovation is too large, it can be judged as an anomaly, refusing to participate in the update and avoiding contamination of the filtered state.

[0118] Intermediate states and intermediate covariance are state estimation results after wireless observation updates, serving as intermediate transitional quantities in the serial update process. Specifically, based on the prior state and prior covariance, the prior state is corrected using the wireless Kalman gain and observational innovation to obtain the intermediate state; the covariance matrix is ​​updated synchronously to obtain the intermediate covariance. Its role is to bridge the gap between the preceding and following stages, both integrating wireless observation information and serving as prior input for visual observation updates. This allows visual updates to undergo secondary optimization based on wireless corrections, achieving the cumulative fusion of the two observation sources, rather than an independent, parallel, weighted combination.

[0119] The posterior state and posterior covariance are the final state estimates after all observations have been updated. They represent the optimal estimates that integrate all historical information with the current two observations. Specifically, an intermediate state and intermediate covariance can be used as new priors. A second state correction is performed using visual observation information and visual Kalman gain to obtain the final posterior state and posterior covariance. The position component in the posterior state corresponds to the fused position information of the target object, the velocity component corresponds to the velocity estimate of the target object, and the posterior covariance can be used to evaluate the confidence level of the fused position information, supporting subsequent logic such as target object loss determination and anomaly detection.

[0120] The fused position information is the three-dimensional position of the target object relative to the robot's body coordinate system, and it is the final output of the fusion process to the downstream control layer. Specifically, it can be obtained by transforming the target object's second position information in the world coordinate system to the robot's body coordinate system based on the robot's current pose through inverse rigid body transformation.

[0121] Specifically, fusing wireless and visual position information and outputting the relative fused position through extended Kalman filtering can be achieved through the following five steps. First, construct the filter state space: A 6-dimensional state vector is constructed using the target object's 3D position and 3D velocity in the world coordinate system. The state transition matrix and process noise covariance matrix corresponding to the constant velocity motion model are defined, and the observation matrix for extracting only the position component is set, thus completing the filter's state space modeling. Second, perform prior prediction: Obtain the posterior state and posterior covariance output from the previous time step. Combining the time interval between the current frame and the previous frame, the state and covariance are extrapolated using the state transition matrix to obtain the prior state and prior covariance at the current time step. The third step is to perform wireless observation updates: Using the spatiotemporally aligned wireless position information as wireless observations, the prior state is mapped to the observation space using the observation matrix. The difference between the observed and mapped values ​​is calculated to obtain the wireless observation innovation. The wireless Kalman gain is calculated by combining the prior covariance, the observation matrix, and the wireless observation noise covariance. The prior state is corrected using the Kalman gain and the observation innovation to obtain an intermediate state, and the covariance matrix is ​​updated synchronously to obtain the intermediate covariance. The fourth step is to perform visual observation updates: Using the spatiotemporally aligned visual position information as visual observations, the intermediate state and intermediate covariance obtained in the third step are used as new prior inputs. The calculation process for the observation innovation and Kalman gain is repeated, and a second state correction is performed to obtain the posterior state and posterior covariance at the current moment. The fifth step is to output the fusion results: The first three-dimensional position components are extracted from the posterior state vector as the second position information of the target object in the world coordinate system. An inverse homogeneous transformation matrix is ​​constructed using the robot's current pose data, and the second position information is mapped to the robot's body coordinate system to obtain the fused position information of the target object relative to the robot.

[0122] In these examples, a rigorous “prediction-wireless update-visual update” serial filtering process is used to accumulate and correct the two observations in an intermediate state, which can ensure the statistical optimality of the fusion result. At the same time, the joint position-velocity modeling in the world coordinate system not only ensures the stability of the filtering, but also outputs the velocity estimate of the target object synchronously, so that the fusion result has both high accuracy and high smoothness, providing high-quality position and velocity input for downstream follow-up control.

[0123] Step S240: Generate follow control instructions for the robot based on the fused position information, and execute the follow control instructions to achieve automatic following of the target object.

[0124] This embodiment uses the fused position information of the target object relative to the robot as feedback input. Combined with a preset desired following pose, it calculates the position and heading deviations. A motion control algorithm then calculates the robot's following control commands, which are sent to the robot's motion execution layer to drive the robot's body movement. This allows the robot to continuously maintain the set relative pose and follow the target object. This step directly determines the dynamic response speed, steady-state following accuracy, and motion smoothness of the automatic following. It also carries the responsibility for implementing safety constraints such as collision avoidance, obstacle avoidance, and loss tolerance, making it the final execution vehicle for achieving stable, safe, and smooth human-robot collaborative following.

[0125] Follow control commands are a standardized set of output commands for controlling the robot's motion state. They are the direct control quantities that drive the robot to perform follow actions, and typically include three categories: longitudinal velocity control commands, lateral velocity control commands, and yaw rate control commands. Their function is to transform abstract positional deviations into motion control quantities that the robot's motion execution layer can recognize, realizing the mapping from perception results to motion execution. The accuracy and smoothness of the commands directly determine the quality of the follow effect.

[0126] The desired following pose is the preset ideal position and orientation of the target object relative to the robot, serving as the reference for the target object in the following control. Specifically, it can be preset to various modes such as direct rearward following and side-rearward following, corresponding to different desired relative distances and azimuth angles, depending on the application scenario. The user can also adjust the following distance and azimuth in real time. Its function is to provide a target object reference for following control, ensuring the robot always maintains the set relative position to follow the target object. Different following pose modes can adapt to different operating scenarios; for example, side-rearward following can reduce sensory occlusion, while direct rearward following is suitable for narrow passage scenarios.

[0127] Specifically, let the expected following distance be... The expected position relative to the target object can be Where α is the lateral follow angle, which can take a value between 30° and 60°. For pure rearward following, α is 0°, i.e. .

[0128] Position error and heading error are the deviation input quantities of follow control. Position error includes longitudinal position error and lateral position error, reflecting the spatial deviation between the actual relative position of the target object and the desired position. Heading error reflects the angular deviation between the orientation of the target object and the robot's forward direction.

[0129] Specifically, the position error can be obtained by subtracting the target object's relative fusion position from the desired following position, and can be expressed as: Longitudinal position error A value greater than 0 indicates that the target object is farther away than expected, and the robot needs to move forward to catch up; lateral position error. A value greater than 0 indicates that the target object is to the left, and the robot needs to move to the left or turn to the left.

[0130] Furthermore, the heading error can be obtained by calculating the difference between the target object's relative azimuth angle and the robot's heading, which can be specifically expressed as:

[0131]

[0132] in, For heading error, Let be the horizontal coordinate of the target object relative to the robot. Let be the longitudinal coordinate of the target object relative to the robot. The azimuth angle of the target object relative to the robot.

[0133] Automatic following execution is the implementation phase of control commands. It refers to the robot's motion actuator receiving control commands and driving the robot body to complete the corresponding movements, continuously adjusting its position and orientation to match the target object's movement. Specifically, this can involve sending three types of speed control commands to the robot's motion control unit, using joint drives, gait adjustment, and other methods to achieve longitudinal movement, lateral translation, and yaw steering.

[0134] In some embodiments, the follow control command includes a longitudinal velocity control command, a lateral velocity control command, and a yaw rate control command. Generating the robot's follow control command based on fused position information includes: determining the robot's position error and heading error based on the fused position information of the target object relative to the robot and the set follow position information; calculating the robot's longitudinal velocity and lateral velocity based on the position error, and calculating the robot's yaw rate based on the heading error; generating a longitudinal velocity control command based on the longitudinal velocity, a lateral velocity control command based on the lateral velocity, and a yaw rate control command based on the yaw rate.

[0135] The three types of commands are standardized motion control quantities that follow the control output, corresponding to the robot's three degrees of freedom: forward / backward translation, left / right translation, and in-place turning. They serve as a universal control interface for omnidirectional mobile robots. Specifically, the velocity values ​​of the target object in the three dimensions can be calculated based on the position error, and after amplitude limiting and smoothing, corresponding control commands can be generated. The longitudinal velocity corresponds to the robot's forward / backward direction, the lateral velocity corresponds to the robot's left / right translation direction, and the yaw rate corresponds to the robot's turning rate around the vertical axis.

[0136] In this embodiment, a closed-loop follower control law can be used to calculate the longitudinal velocity, lateral velocity, and yaw rate.

[0137] A closed-loop follower control law is the rule for resolving position and heading errors into control commands. It typically employs a proportional-derivative (PD) control architecture, combining the proportional and derivative terms of the error to calculate the control output. Specifically, control parameters can be designed separately for the longitudinal, lateral, and yaw dimensions. The proportional term responds to the current error magnitude, while the derivative term suppresses the rate of change of the error, ensuring both control response speed and stability. Its function is to achieve closed-loop adjustment for following, ensuring that the position error converges to zero in steady state, while suppressing overshoot and oscillations during dynamic processes, balancing following accuracy and smoothness.

[0138] In this embodiment, calculating the robot's longitudinal velocity based on the position error further includes: determining the longitudinal velocity feedforward based on the velocity component in the posterior state; and superimposing the longitudinal velocity feedforward into the longitudinal velocity.

[0139] In this embodiment, the longitudinal velocity component of the target object in the extended Kalman filter posterior state is extracted as a feedforward control quantity. This feedforward quantity is then superimposed with the feedback velocity quantity calculated based on the position error to form the final longitudinal velocity command. Feedforward control, by matching the following speed in advance based on the target object's current motion speed, can significantly reduce the following distance deviation during acceleration and deceleration, improving the following response speed and distance control accuracy in dynamic scenarios. Simultaneously, it retains the steady-state error elimination capability of feedback control, balancing dynamic performance and steady-state accuracy.

[0140] Longitudinal velocity feedforward is a longitudinal velocity compensation quantity generated directly based on the target object's motion velocity, independent of position error, and belongs to open-loop feedforward control. It is obtained by extracting the longitudinal velocity component of the target object from the posterior state vector output by the extended Kalman filter, followed by gain adjustment and smoothing.

[0141] Specifically, longitudinal velocity It can be determined using the following formula:

[0142] in, For longitudinal position error gain, For longitudinal position error, Feedforward of the longitudinal velocity of the target object. For the longitudinal position differential gain, The longitudinal velocity component in the posterior state. This represents the robot's longitudinal velocity.

[0143] In these examples, by extracting the target object velocity from the filtered output as a feedforward quantity and superimposing it with the feedback velocity to form a composite control, the fused velocity information can be fully utilized to match the target object's motion velocity in advance, effectively making up for the lag defect of pure feedback control, significantly reducing the dynamic distance deviation during the target object's acceleration and deceleration process, while retaining the steady-state correction capability of feedback control, and taking into account both the steady-state accuracy and dynamic response performance of the follower.

[0144] Furthermore, lateral speed It can be determined using the following formula:

[0145] in, This is the gain for the lateral position error. This represents the lateral position error.

[0146] If the robot does not support pure lateral movement, then The error is converted into a heading error and a lateral speed control command is generated.

[0147] Furthermore, yaw rate It can be determined using the following formula:

[0148] in, For yaw position error gain, For heading error, The rate of change of heading error. This is the differential gain for yaw position.

[0149] In some embodiments, based on the obtained longitudinal velocity, lateral velocity, and yaw rate, the longitudinal velocity, lateral velocity, and yaw rate can be limited separately to restrict them to the corresponding limiting range.

[0150] In these examples, the calculation of three types of control commands is achieved through a proportional-derivative control architecture with decoupled dimensions. Combined with amplitude limiting and smoothing, it can effectively suppress motion jitter and speed changes while ensuring the following response speed. Moreover, the control parameters of each dimension can be independently optimized to adapt to different following scenarios and robot motion characteristics, thus balancing the accuracy of following and the smoothness of motion.

[0151] As can be seen from the above steps S210 to S240, this embodiment combines the surround-view wireless transceiver module and the surround-view camera module to obtain the wireless position information and visual position information of the target object respectively and fuses them. This can make full use of the advantages of the two sensors, make up for the performance defects of a single sensor, obtain more reliable fused position information, and then generate follow control commands to realize automatic following. This effectively improves the positioning accuracy and anti-interference ability of the target object, reduces the risk of follow failure caused by environmental factors, and improves the overall stability and environmental adaptability of the robot's automatic following.

[0152] In some embodiments, the method further includes: obtaining the current distance between the target object and the robot based on the fused position information; and, if the current distance is less than a deceleration threshold, gradually reducing the robot's longitudinal speed to zero according to a set step size or a set number of times to prevent collision.

[0153] Based on the fused relative position information of the target object, this embodiment calculates the current distance between the target object and the robot in real time. When the current distance shrinks to below the preset safe deceleration threshold, it does not directly perform emergency braking, but gradually reduces the longitudinal movement speed of the robot until zero according to a fixed speed step or a fixed number of control cycles, so as to avoid collisions while ensuring a smooth and controllable deceleration process.

[0154] This step is designed for close-range scenarios such as sudden deceleration, reverse movement, or stationary stop of the target object. It can effectively prevent physical collisions between the robot and the target object. At the same time, the gradual deceleration avoids motion shock, loss of posture control, and hardware damage caused by sudden speed changes. It is a core protection mechanism to ensure operational safety in human-robot collaborative operation scenarios.

[0155] Setting a step size and setting a number of cycles are two methods for progressive deceleration, used to control the smoothness of the deceleration process. In the set step size mode, the longitudinal speed is reduced by a fixed step value each control cycle until the speed reaches zero. In the set number of cycles mode, the total number of deceleration cycles is preset, and the current speed is uniformly reduced to zero linearly within that number of cycles. Its purpose is to avoid the sudden speed shock caused by abrupt braking, making the deceleration process continuous and smooth. This protects the robot's motion actuators and prevents risks such as slippage, tipping, and loss of posture caused by sudden braking, while also improving the smoothness of the human-robot following experience.

[0156] In some embodiments, if the robot continues to approach until the current distance is less than a stopping threshold, the robot is controlled to stop and fine-tune its orientation in place.

[0157] In some embodiments, the method further includes: determining the confidence level of the fused position information based on the posterior covariance; determining the robot's dawdling speed based on the last known velocity estimate of the target object when the confidence level is lower than a preset confidence level threshold; and stopping following and performing a look-around yaw sweep search after exceeding a loss time threshold.

[0158] This embodiment uses the posterior covariance of the extended Kalman filter output as the quantitative basis for the reliability of the fused position, and evaluates the confidence of the positioning result in real time. When the confidence is lower than the safety threshold and the perception quality of the target object is deemed insufficient, the following is not terminated directly. Instead, the robot is driven to move slowly forward based on the estimated velocity of the target object at the last effective moment, continuously attempting to recapture the target object. If effective perception is not restored after a set loss time, the robot stops moving and performs a yaw sweeping action, expanding the perception range by rotating the body circumferentially to actively search for the target object. This mechanism can effectively cope with instantaneous perception failure scenarios such as temporary wireless occlusion and brief visual loss, reduce accidental loss interruptions, and improve the continuity of the following process. At the same time, active sweeping search can significantly improve the probability of target object recapture, which is an important fault-tolerant support for ensuring the robustness of following in complex environments.

[0159] The confidence score of fused location information is an indicator that quantifies the reliability of the fused positioning result, reflecting the credibility of the current target object's location estimation result. Specifically, it can be obtained by extracting the covariance values ​​corresponding to the location components in the extended Kalman filter posterior covariance matrix, and then mapping the confidence score through the inverse or normalized covariance. The larger the covariance, the higher the uncertainty of the location estimation, and the lower the corresponding confidence score.

[0160] The last known velocity estimate of the target object refers to the velocity component in the last valid posterior state of the extended Kalman filter output before the target object perception fails. Specifically, during the normal following phase when the confidence level is above the threshold, the target object velocity estimate of each frame is cached in real time; when the confidence level is below the threshold and valid observation is interrupted, the most recently cached velocity value is taken as the last known velocity.

[0161] Surround-view yaw sweeping search is an active recapture action after a target object has been continuously lost. It refers to the robot yawing around its vertical axis, causing the surround-view perception module to scan the surrounding environment circumferentially to search for the target object. Specifically, it can control the robot to perform left-right reciprocating sweeping or full-circumference rotation at a set yaw angular velocity, while simultaneously continuously detecting the target object through the surround-view wireless transceiver module and surround-view camera module. Once the target object is detected, sweeping immediately stops and following resumes. Its function is to actively expand the perception coverage area after the target object is lost, breaking through the perception limitations of the robot's fixed orientation, significantly increasing the probability of target object recapture, and shortening the loss recovery time.

[0162] In these examples, by using posterior covariance-differentiated location confidence and combining a two-level loss handling mechanism of "slow-down fault tolerance - timeout search", we can effectively deal with the brief perception failure caused by momentary occlusion, reduce unnecessary follow-up interruptions, and at the same time improve the recapture probability by active look-around scanning when there is continuous loss, thus taking into account both the continuity of the follow-up process and the robustness in complex environments.

[0163] In some embodiments, the method further includes: sending the follow control command to a local obstacle avoidance layer for correction processing before execution; wherein the local obstacle avoidance layer detects obstacles in front of the robot based on the surround view occupancy grid or depth point cloud, and performs obstacle avoidance correction on the follow control command.

[0164] In this embodiment, the original follow command output by the follow control layer is used as the input to the local obstacle avoidance layer for the desired velocity. The local obstacle avoidance layer then detects surrounding obstacles in real time based on the occupancy grid or depth point cloud obtained from the surround view perception. Under the premise of satisfying collision-free and motion constraints, the original command is corrected in terms of velocity and direction, and finally a safe motion command is output for execution. This mechanism establishes the highest priority for obstacle avoidance safety from the architecture, enabling the robot to autonomously avoid static and dynamic obstacles along the way while following the target object, avoiding the collision risk caused by simply following the target object. At the same time, based on the omnidirectional obstacle detection capability of the surround view perception and matched with the 360° coverage characteristics of the dual surround view perception architecture, the robot can achieve all-around obstacle avoidance protection, significantly improving the safety and environmental adaptability of following operation in complex environments.

[0165] The local obstacle avoidance layer is a low-level safety control module independent of the follow control layer. It has the highest execution priority in the control stack, and its output is directly used as the final motion execution command.

[0166] The surround-view occupancy grid is a two-dimensional environmental grid map generated based on surround-view perception. It divides the ground space around the robot into grid cells of equal resolution, with each cell marked as free, occupied, or unknown. Specifically, it can project image sequences captured by a surround-view fisheye camera onto the ground plane using a visual mapping algorithm, or directly project depth point clouds onto a two-dimensional plane, and calculate the obstacle occupancy probability within each grid cell to generate a local grid map centered on the robot.

[0167] Depth point clouds are discrete sets of points that reflect the geometric information of the three-dimensional surface surrounding a robot. Each point contains three-dimensional spatial coordinates and distance information, and can represent the shape of obstacles at different heights. Specifically, they can be generated by acquiring data through depth cameras, LiDAR, or binocular stereo vision, covering the three-dimensional perception range around the robot. After point cloud filtering and ground segmentation, obstacle point clouds are extracted.

[0168] Obstacle avoidance correction refers to the process of adjusting the speed, direction, or stopping control of the follow control command based on real-time obstacle detection results. Specifically, obstacle avoidance algorithms such as the dynamic window method, artificial potential field method, or speed obstacle method can be used to solve for the optimal safe speed command, with the original follow command as the desired target object and collision-free and kinematic constraints as boundary conditions.

[0169] In these examples, the following logic and obstacle avoidance logic are decoupled through a hierarchical control architecture. The following instructions are dynamically corrected based on the obstacle detection results of the surround view perception. This can preserve the following intention to the greatest extent while ensuring collision-free safety. It establishes the principle of safety first at the architectural level and avoids excessive deviation from the following target object during obstacle avoidance, thus taking into account both the safety and continuity of the following operation.

[0170] In some embodiments, the method further includes: when the target object is detected to be stationary and the wireless ranging value of the target object relative to the robot obtained by the surround-view wireless transceiver module is stable, updating the position information of the target object in the world coordinate system according to the wireless position information.

[0171] This embodiment first determines that the target object is stationary and simultaneously confirms that the wireless ranging value remains stable without any jumps. When both conditions are met, the wirelessly calculated position, which has strong anti-interference capabilities and high ranging accuracy, is used as a reliable benchmark to perform directional updates and corrections on the target object's fused position in the world coordinate system. This mechanism utilizes the reliable window period of the target object's stationary state, leveraging the advantages of wireless ranging—its immunity to lighting and texture effects and its long-term stability—to anchor the global spatial position of the target object. This effectively eliminates the target object's position deviation caused by visual drift and accumulated filtering errors after long-term operation. Furthermore, position updates in static scenes do not introduce jumps in motion states, allowing for continuous correction of the slowly accumulated errors of the positioning system without affecting the smoothness of following, thus improving the absolute positioning accuracy in long-term following scenarios.

[0172] In some examples, the variance and range of the wireless ranging values ​​of multiple consecutive frames can be statistically analyzed. When the variance is lower than a set fluctuation threshold and the range is less than a set amplitude threshold, the wireless ranging value is determined to be stable, thus eliminating abnormal ranging scenarios such as multipath interference, signal obstruction, and instantaneous jumps.

[0173] Updating the target object's position information in the world coordinate system based on wireless location information can be achieved by using the wireless location information as a calibration benchmark to update and correct the posterior position state of the fusion filter, synchronously resetting the covariance corresponding to the position components, and completing the update of the target object's position information in the world coordinate system. After the update is completed, a calibration cooling-off period begins, during which the position update will not be triggered again.

[0174] In these examples, the calibration window period is strictly selected by the dual conditions of target object being stationary and ranging being stable. Combined with high-precision wireless observation, the target object's world position is updated in a directional manner. Without interfering with normal dynamic tracking, the global absolute position of the target object can be anchored using a stationary scene. This effectively offsets the cumulative positioning drift over long periods of operation and improves the long-term positioning accuracy of the system. At the same time, the cooling cycle mechanism avoids position fluctuations caused by frequent calibration, thus balancing accuracy optimization and operational stability.

[0175] When a stationary target object is detected and the wireless ranging value of the target object relative to the robot obtained through the surround-view wireless transceiver module is stable, a strong calibration is triggered. The target object's position information in the world coordinate system is updated based on the wireless position information, while the visual position information is only finely adjusted to prevent visual drift from dragging the coordinates of the stationary target object away. Through online positioning benchmark calibration, the robot's current pose estimation accuracy can be continuously maintained, ensuring the continuous stability of the following system in long-term, long-distance tasks.

[0176] In some embodiments, when the robot's posture is not horizontal, the velocity commands are projected onto the horizontal plane based on the robot's current pose, roll angle, and pitch angle.

[0177] When the robot and the target object are going up or down a slope, the expected distance is to be measured along the horizontal plane.

[0178] If the target object is going up or down stairs or steps, the robot can use surround view to detect the height of the steps and switch gait in advance, so as not to misjudge the distance due to changes in the height of the target object in the world coordinate system.

[0179] In some embodiments, the initialization process may include the following steps executed sequentially: hardware power-on and module power-on timing, wireless transceiver module self-test and parameter loading, surround view camera module self-test and intrinsic parameter loading, world coordinate system construction, handshake link establishment between the wireless transceiver module and the target object tag, coarse consistency calibration of the extrinsic parameters of the surround view wireless transceiver module and the surround view camera module, time alignment of the surround view wireless transceiver module and the surround view camera module, initial estimation of silent zero bias and noise, and initialization completion switching.

[0180] In this embodiment of hardware power-on and module power-up timing, the inertial measurement unit and odometer are started first according to a preset timing sequence, followed by the surround-view wireless transceiver module, and finally the surround-view camera module and surround-view stitching processing module (Field-Programmable Gate Array / Image Signal Processor, FPGA / ISP). After the computing module completes the operating system startup, it mounts shared memory and timestamp services.

[0181] In the embodiment of the surround-view wireless transceiver module self-test and parameter loading, after power-on, the surround-view wireless transceiver module performs RF self-calibration, estimates the phase offset of each array element and the antenna gain imbalance, and stores it in the local calibration table. It loads the preset channel, preamble length, TWR, or Time Difference of Arrival (TDoA) operating mode. It reads the fixed parameters of the robot body, including the extrinsic parameter offset of the surround-view wireless transceiver module relative to the robot body center and the installation Euler angles, and reports the surround-view wireless transceiver module readiness event to the main controller.

[0182] In the embodiment of the surround-view camera module self-test and internal parameter loading, multiple fisheye cameras are powered on sequentially, and the image signal processor performs black level correction and bad pixel removal. The intrinsic parameters and distortion coefficients of each camera, as well as the offline calibrated camera extrinsic parameters of the robot, are loaded from the onboard flash memory. The surround-view stitching service is initiated to generate an initial bird's-eye view single image centered on the robot.

[0183] In one embodiment of constructing the world coordinate system, the robot is kept stationary, and a world coordinate system with the robot's current position as the origin is constructed based on the robot's current posture. The world coordinate system is a global spatial reference coordinate system shared by the entire system. During the initialization phase, it is constructed with the robot's current position when stationary as the origin and the initial heading as the coordinate axis direction. Specifically, it can be constructed by reading the initial posture angles when the robot is stationary, with the robot's center of mass projected onto the ground as the origin, the initial forward direction as the positive X-axis, and the vertical upward direction as the positive Z-axis, thus constructing a right-handed three-dimensional coordinate system.

[0184] In the embodiment where the surround-view wireless transceiver module and the target object tag establish a handshake connection, the surround-view wireless transceiver module acts as the mobile master anchor, periodically transmitting broadcast beacons. Upon power-up, the wireless tag carried by the target object responds, and both parties complete time synchronization (based on their own wireless timestamps) and a first-frame TWR bidirectional ranging handshake to obtain the first-frame wireless ranging value. The master controller establishes a mapping relationship between the tag identifier and the target object index, marking the tag as a registered fusion target object.

[0185] In an embodiment that performs coarse calibration of the extrinsic parameters of the surround-view wireless transceiver module and the surround-view camera module, the robot is kept stationary, and an initial surround-view image is acquired through the surround-view camera module. When the initial surround-view image identifies a target object carrying a wireless tag, the first initial position of the target object in the world coordinate system identified by the initial surround-view image is compared with the second initial position of the target object in the world coordinate system obtained by the surround-view wireless transceiver module. If the distance deviation between the first initial position and the second initial position exceeds a set distance threshold, the extrinsic parameters of the surround-view wireless transceiver module and the surround-view camera module are recalibrated, or only the wireless position information is trusted until the difference converges.

[0186] In the embodiment of time alignment of the surround-view wireless transceiver module and the surround-view camera module, the surround-view wireless transceiver module and the surround-view camera module are time aligned by using the timestamp of the surround-view wireless transceiver module as the master clock and the camera frames as soft timestamps. An interpolation lookup table between the timestamps of the surround-view wireless transceiver module and the timestamps of the surround-view camera module is established as the fusion time base.

[0187] In the embodiment of silent zero bias and initial noise estimation, the robot is kept stationary, and the robot's inertial measurement unit is calibrated with zero bias; the surround-view wireless transceiver module continuously measures the distance and takes the variance as the initial observation noise covariance; the surround-view camera module repeatedly projects onto the stationary target object and takes the variance as the initial observation noise covariance; the position in the extended Kalman filter state vector is initialized with wireless position information, and the velocity is set to zero.

[0188] In the implementation of the initialization completion switch, the master controller issues an initialization completion event, and the system switches from the initialization state to the running state.

[0189] Through the above initialization process, it can be ensured that the parameters of each sensor, coordinate system reference, time alignment and noise model are all ready before entering the running state, providing reliable initial conditions for subsequent fusion positioning and following control, and avoiding positioning jumps in the cold start stage.

[0190] <Second Embodiment> This embodiment provides a robot. Figure 3 A schematic diagram of the robot's hardware structure is shown.

[0191] like Figure 3 As shown, the robot 300 includes a processor 310 and a memory 320. The memory can be used to store computer programs, and the processor can be used to retrieve the computer programs from the memory to execute any method embodiment of this disclosure. The processor can be one or more, and these processors can execute instructions individually or jointly. Similarly, the memory can be one or more, and these memories can store the aforementioned computer programs individually or jointly.

[0192] This disclosure also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the robot following method in any embodiment of this disclosure. Optionally, the computer-readable storage medium may be a non-transitory storage medium, but is not limited thereto; it may also be a temporary storage medium.

[0193] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.

[0194] This disclosure may be a system, method, and / or computer program product. A computer program product may include a computer-readable storage medium having a computer-readable program loaded thereon for causing a processor to implement any of the methods in the foregoing embodiments of this disclosure.

[0195] Computer-readable storage media can be tangible devices capable of holding and storing instructions for use by an instruction execution device. Computer-readable storage media may include, for example, electrical storage devices, magnetic storage devices, optical storage devices, electromagnetic storage devices, semiconductor storage devices, or any suitable combination thereof. More specific examples (a non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), static random access memory (SRAM), compact disc-read-only memory (CD-ROM), digital versatile disc (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or recessed protrusions storing instructions thereon, and any combination thereof. The computer-readable storage medium used herein is not to be interpreted as a transient signal itself, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through waveguides or other transmission media (e.g., light pulses through fiber optic cables), or electrical signals transmitted through wires.

[0196] The computer-readable program instructions described herein can be downloaded from computer-readable storage media to various computing / processing devices, or downloaded via a network, such as the Internet, local area network, wide area network, and / or wireless network, to an external computer or external storage device. The network may include one or more of copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers, and edge servers. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards them to computer-readable storage media in the respective computing / processing device.

[0197] Computer program instructions used to perform the operations of this disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, or source or object programs written in any combination of one or more programming languages, including object-oriented programming languages ​​(e.g., Smalltalk, C++, etc.) and conventional procedural programming languages ​​(e.g., "C" or similar languages). The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer may be connected to the user's computer via any type of network (e.g., a local area network or a wide area network), or it may be connected to an external computer (e.g., via the Internet using an Internet service provider). In some embodiments, electronic circuitry, such as programmable logic circuitry, field-programmable gate arrays, or programmable logic arrays, is personalized by utilizing state information from the computer-readable program instructions. This electronic circuitry can execute the computer-readable program instructions to implement various aspects of the embodiments of this disclosure.

[0198] Various aspects of this disclosure are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus, and computer program products according to embodiments of this disclosure. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.

[0199] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that, when executed by the processor of the computer or other programmable data processing apparatus, they create means for implementing the functions / actions specified in one or more blocks of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium that causes a computer, programmable data processing apparatus, and / or other device to operate in a particular manner; thus, the computer-readable medium storing the instructions comprises an article of manufacture that includes instructions for implementing aspects of the functions / actions specified in one or more blocks of the flowchart and / or block diagram.

[0200] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be performed on the computer, other programmable data processing apparatus, or other device to produce a computer-implemented process, thereby causing the instructions that execute on the computer, other programmable data processing apparatus, or other device to perform the functions / actions specified in one or more boxes of a flowchart and / or block diagram.

[0201] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of an instruction containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions. It should be noted that implementation in hardware, implementation in software, and implementation using a combination of software and hardware are all equivalent.

[0202] The various embodiments of this disclosure have been described above. These descriptions are exemplary and not exhaustive, and are not limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein. The scope of this disclosure is defined by the appended claims.

Claims

1. A robot following method, characterized in that, The robot is equipped with a surround-view wireless transceiver module and a surround-view camera module; the method includes: The surround-view wireless transceiver module acquires the wireless position information of the target object being followed by the robot in the world coordinate system. The surround-view camera module acquires surround-view images, and the visual position information of the target object in the world coordinate system is identified based on the surround-view images. The wireless location information and the visual location information are fused to obtain the fused location information of the target object relative to the robot; The robot generates follow control instructions based on the fused location information, and executes the follow control instructions to automatically follow the target object.

2. The method according to claim 1, characterized in that, The surround-view wireless transceiver module includes a multi-element antenna array; The step of obtaining the wireless location information of the target object in the world coordinate system through the surround-view wireless transceiver module includes: The wireless transceiver module transmits wireless signals and receives the response signals of the wireless tag carried by the target object to the wireless signals through the multi-element antenna array. Based on the wireless signal and the response signal, the signal angle of arrival and wireless ranging value of the target object relative to the robot are obtained; Based on the signal angle of arrival and the wireless ranging value, the first position information of the target object in the robot coordinate system is obtained; The wireless location information of the target object in the world coordinate system is obtained based on the first location information.

3. The method according to claim 2, characterized in that, The robot is also equipped with an inertial measurement unit and an odometer. The step of obtaining the wireless location information of the target object in the world coordinate system based on the first location information includes: The current pose of the robot is determined based on the inertial data collected by the inertial measurement unit and the mileage data collected by the odometer. Based on the current pose and the first position information, the wireless position information of the target object in the world coordinate system is obtained.

4. The method according to claim 3, characterized in that, The method further includes: The current pose is corrected using the wireless ranging value in a closed loop.

5. The method according to claim 3, characterized in that, The surround-view camera module includes a multi-channel fisheye camera; The step of acquiring panoramic images through the panoramic camera module and identifying the visual position information of the target object in the world coordinate system based on the panoramic images includes: The images acquired by the multi-channel fisheye cameras are distorted and stitched together to generate a bird's-eye view centered on the robot. The target object detection algorithm is used to detect target objects in the bird's-eye view and extract the foot pixels of the target objects. Using the robot's current pose and camera extrinsic parameters, the bottom pixels are back-projected onto the world coordinate system to obtain the visual position information of the target object in the world coordinate system.

6. The method according to claim 3, characterized in that, The method further includes: The difference between the distance between the fused location information and the robot's wireless coordinates and the wireless ranging value is constructed as the geometric constraint residual; The geometric constraint residuals are subjected to low-pass filtering. If the geometric constraint residual after low-pass filtering is greater than a set value for a continuous period exceeding the set duration, and the target object is stationary, the odometer scale factor is estimated, and the scale factor is multiplied back to the odometer speed online to eliminate scale drift.

7. The method according to claim 1, characterized in that, The follow control commands include longitudinal speed control commands, lateral speed control commands, and yaw rate control commands; The step of generating the robot's follow control command based on the fused position information includes: Based on the fused position information of the target object relative to the robot and the set following position information, the position error and heading error of the robot are determined; The robot's longitudinal and lateral velocities are calculated based on the position error, and the robot's yaw rate is calculated based on the heading error. The longitudinal speed control command is generated based on the longitudinal speed, the lateral speed control command is generated based on the lateral speed, and the yaw rate control command is generated based on the yaw rate.

8. The method according to claim 7, characterized in that, The process of fusing the wireless location information and the visual location information to obtain the fused location information of the target object relative to the robot includes: The wireless location information and the visual location information are fused by extended Kalman filtering to obtain the fused location information.

9. The method according to claim 8, characterized in that, The process of fusing the wireless location information and the visual location information using extended Kalman filtering to obtain the fused location information includes: The state vector is constructed using the position and velocity of the target object in the world coordinate system. Based on the robot motion model, the prior state and prior covariance of the state vector are obtained through prediction. Using the wireless location information as wireless observations, calculate wireless observation innovation and wireless Kalman gain, update the prior state and prior covariance, and obtain the intermediate state and intermediate covariance of the state vector. Using the visual position information as the visual observation value, and the intermediate state and intermediate covariance as the prior, the visual observation innovation and visual Kalman gain are calculated and updated to obtain the posterior state and posterior covariance of the state vector. The position component in the posterior state is used as the second position information of the target object in the world coordinate system; The fused position information of the target object relative to the robot is obtained based on the second position information.

10. The method according to claim 9, characterized in that, Calculating the robot's longitudinal velocity based on the position error further includes: Based on the velocity components in the posterior state, determine the longitudinal velocity feedforward; The longitudinal velocity feedforward is superimposed on the longitudinal velocity.

11. The method according to claim 9, characterized in that, The method further includes: Based on the fused position information, the current distance between the target object and the robot is obtained. If the current distance is less than a deceleration threshold, the robot's longitudinal speed is gradually reduced to zero according to a set step size or a set number of times to prevent collision; and / or, The confidence level of the fused position information is determined based on the posterior covariance. If the confidence level is lower than a preset confidence threshold, the robot's dawdling speed is determined based on the last known velocity estimate of the target object. Following stops and a surround-view yaw sweep search is performed after a loss time threshold is exceeded; and / or, The following control command is sent to the local obstacle avoidance layer for correction processing before execution; wherein, the local obstacle avoidance layer detects obstacles in front of the robot based on the surround-view occupancy grid or depth point cloud, and corrects the following control command for obstacle avoidance; and / or, When the target object is detected to be stationary and the wireless ranging value of the target object relative to the robot obtained by the surround-view wireless transceiver module is stable, the position information of the target object in the world coordinate system is updated according to the wireless position information.

12. The method according to claim 1, characterized in that, Before fusing the wireless location information and the visual location information, the method further includes: The wireless location information is interpolated to the sampling time corresponding to the panoramic image by using timestamps, thereby achieving time alignment between the wireless location information and the visual location information.

13. The method according to claim 1, characterized in that, Before fusing the wireless location information and the visual location information, the method further includes: Calculate the Euclidean distance between the wireless location information and the visual location information in the world coordinate system. If the Euclidean distance is less than a set distance threshold, perform the step of fusing the wireless location information and the visual location information.

14. The method according to claim 1, characterized in that, The method further includes initializing the robot, the initialization process including at least one of the following: The robot is brought to a standstill, and a world coordinate system is constructed with the robot's current position as the origin based on the robot's current posture. The robot is brought to a standstill, and the robot's inertial measurement unit is calibrated to zero bias. Time alignment is performed on the surround-view wireless transceiver module and the surround-view camera module; Perform a coarse consistency calibration on the external parameters of the surround-view wireless transceiver module and the surround-view camera module.

15. A robot, characterized in that, It includes a memory and a processor, the memory being used to store a computer program; the processor being used to execute the computer program to implement the method according to any one of claims 1-14.

16. A computer-readable storage medium, characterized in that, A computer program is stored on the computer-readable storage medium, which, when executed by a processor, implements the method according to any one of claims 1-14.