A robot autonomous following system and autonomous following control method

Through the combination of UWB base station and image acquisition device, combined with PID control and dynamic window algorithm, the problem of low recognition accuracy and follow interruption of the autonomous following robot is solved, and the rapid and accurate identification and following of the target person is achieved, ensuring that the target person disappears when the target person disappears. You can then resume following status.

CN114326732BActive Publication Date: 2024-09-06WUXI LIZE INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111627851.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-28
Publication Date
2024-09-06
Estimated Expiration
2041-12-28

AI Technical Summary

Technical Problem

Existing autonomous following robots have low recognition accuracy when identifying guidance objects, and cannot continue to follow after the target person disappears from the field of view, resulting in interruption of following.

Method used

Using a combination of UWB base station, image acquisition device and control device, real-time position information, image information and point cloud information are obtained through UWB tags, the three-dimensional position coordinates of the target person are determined, and the real-time speed of the vehicle body is calculated through PID control and dynamic window algorithm and angular velocity to achieve fast and accurate identification and following, and perform target search and recovery tracking when the target person disappears.

Benefits of technology

It can quickly and accurately identify and follow the target person. It can follow the target person under the premise of autonomous obstacle avoidance, and try to find the target to restore the following state after the target person disappears, which improves the stability and reliability of following.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114326732B
    Figure CN114326732B
Patent Text Reader

Abstract

The present invention relates to the field of robot following technology, and specifically discloses a robot autonomous following system, which includes: a movable body, a UWB base station, an image acquisition device, a body driving device and a control device; the UWB base station is used to establish a communication connection with a corresponding UWB tag and obtain the real-time position information of the UWB tag; the image acquisition device is used to collect image information of the environment where the movable body is located and generate point cloud information; the control device can determine the target person and his real-time position coordinates, and can enter the state of searching for the target person when the real-time position coordinates are invalid, and can recover to the target following state; the body driving device can drive the movable body to follow the movement of the target person according to the real-time navigation information. The present invention also discloses an autonomous following control method. The robot autonomous following system provided by the present invention can improve the accuracy of target person identification and can recover when the following is interrupted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of robot following technology, and in particular to a robot autonomous following system and an autonomous following control method. Background Art

[0002] Robots are a typical embodiment of the development of modern sensor technology, artificial intelligence technology and automation technology. The development level of robot technology also represents the advanced development level of a country's manufacturing technology. Among them, mobile robots have developed the fastest and have been commercialized on a large scale. Based on the different actual application fields at work, the technologies used by various types of robots are also different. Autonomous following robots are one of them. This type of robot follows the guiding object and autonomously plans the path to avoid obstacles.

[0003] However, the currently existing autonomous following robot cannot quickly and accurately identify the target person when identifying and guiding the opposite direction. In addition, the currently existing autonomous following robot cannot continue to follow and causes the following interruption when the target person is lost within the field of vision. Summary of the invention

[0004] The present invention provides a robot autonomous following system and an autonomous following control method, which solve the problem of low accuracy in identifying a target person for autonomous following in the related art.

[0005] As a first aspect of the present invention, a robot autonomous following system is provided, which includes: a movable vehicle body, and a UWB base station, an image acquisition device, a vehicle body drive device and a control device arranged on the movable vehicle body, wherein the UWB base station, the image acquisition device and the vehicle body drive device are all communicatively connected with the control device;

[0006] The UWB base station is used to establish a communication connection with a corresponding UWB tag and obtain real-time location information of the UWB tag, wherein the UWB tag is worn by a target person;

[0007] The image acquisition device is used to acquire image information of the environment where the movable vehicle body is located, and generate point cloud information corresponding to the image information;

[0008] The control device can determine the target person and his real-time position coordinates according to the real-time position information of the UWB tag, the image information and the point cloud information, and can calculate and generate real-time speed navigation information of the movable vehicle body according to the real-time position coordinates, and can enter the state of searching for the target person when the real-time position coordinates are invalid, and can return to the state of following the target after the target person is found;

[0009] The vehicle driving device can drive the movable vehicle to follow the movement of the target person according to the real-time navigation information.

[0010] Furthermore, the control device comprises:

[0011] An extraction module, used to extract the portraits in the image information and determine the two-dimensional coordinate information of the extracted portraits, wherein a different ID is assigned to each portrait;

[0012] A conversion module, used to convert the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information;

[0013] A comparison module, used for comparing the three-dimensional position information of the portrait obtained by conversion with the real-time position information of the UWB tag;

[0014] The determination module is used to determine the human image corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag as the target person, and determine the three-dimensional position information as the real-time position coordinates of the target person.

[0015] Furthermore, the control module further includes:

[0016] A first calculation module is used to perform PID control calculation to obtain the linear speed of the movable body according to the real-time position coordinates of the target person and the preset following distance between the movable body and the target person;

[0017] A second calculation module is used to determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angle range as the angular velocity of the movable vehicle body;

[0018] The third calculation module is used to determine the speed of the movable body according to the linear speed of the movable body and the angular speed of the movable body, and determine the speed of the movable body as the real-time speed navigation information of the movable body.

[0019] Furthermore, the control module further includes:

[0020] A judgment module, used for judging that the real-time location coordinates are invalid when the real-time location coordinates of the target person cannot be obtained;

[0021] A temporary target point generation module is used to use the latest target position of the target person stored in history as a temporary target point when the real-time position coordinates are invalid, and generate a temporary moving trajectory according to the temporary target point so that the movable vehicle body moves to the temporary target point;

[0022] A search module, used for generating a target search process of rotating in situ and matching the UWB tag in real time when the movable vehicle reaches the temporary target point, until the latest real-time location information of the UWB tag is obtained;

[0023] The recovery module is used to recover to the following state and re-execute the following process when the target search process obtains the latest real-time location information of the UWB tag.

[0024] Furthermore, the image acquisition device includes a ZED2 binocular camera.

[0025] Furthermore, the vehicle body driving device includes a driver and a driving motor connected to the driver, and the driver is communicatively connected to the control device.

[0026] As another aspect of the present invention, an autonomous following control method is provided, which is applied to the robot autonomous following system described above, wherein the method comprises:

[0027] Acquire real-time location information, image information, and point cloud information corresponding to the image information of the UWB tag;

[0028] Determine the target person and the real-time position coordinates of the target person according to the real-time position information, image information and point cloud information corresponding to the image information of the UWB tag;

[0029] Calculate and generate real-time speed navigation information of the movable vehicle body according to the real-time position coordinates;

[0030] When the real-time position coordinates are invalid, the state of searching for the target person is entered, and when valid real-time position coordinates are acquired again, the state of following the target is restored.

[0031] Further, determining the target person and the real-time position coordinates of the target person according to the real-time position information, image information and point cloud information corresponding to the image information of the UWB tag includes:

[0032] Extracting human portraits from the image information and determining two-dimensional coordinate information of the extracted human portraits, wherein a different ID is assigned to each human portrait;

[0033] Converting the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information;

[0034] Comparing the converted three-dimensional position information of the portrait with the real-time position information of the UWB tag;

[0035] The human image corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag is determined as the target person, and the three-dimensional position information is determined as the real-time position coordinates of the target person.

[0036] Further, the calculating and generating the real-time speed navigation information of the movable vehicle body according to the real-time position coordinates includes:

[0037] The linear speed of the movable vehicle body is obtained by performing PID control calculation according to the real-time position coordinates of the target person and the preset following distance between the movable vehicle body and the target person;

[0038] Determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angular range as the angular velocity of the movable vehicle body;

[0039] The speed of the movable body is determined according to the linear speed of the movable body and the angular speed of the movable body, and the speed of the movable body is determined as the real-time speed navigation information of the movable body.

[0040] Further, the step of entering a state of searching for a target person when the real-time position coordinates are invalid, and returning to a target following state when valid real-time position coordinates are acquired again, comprises:

[0041] When the real-time location coordinates of the target person cannot be obtained, the real-time location coordinates are determined to be invalid;

[0042] When the real-time position coordinates are invalid, the latest target position of the target person stored in history is used as a temporary target point, and a temporary moving trajectory is generated according to the temporary target point so that the movable vehicle body moves to the temporary target point;

[0043] When the movable vehicle body reaches the temporary target point, a target search process is generated that rotates in situ and performs UWB tag matching in real time until the latest real-time location information of the UWB tag is obtained;

[0044] When the target search process obtains the latest real-time location information of the UWB tag, it returns to the following state and executes the following process again.

[0045] The robot autonomous following system provided by the present invention can realize rapid and accurate identification of a target person through the cooperation of a UWB base station, a UWB tag, an image acquisition device and a control device, and can follow the target person at a set distance behind the target person under the premise of autonomous obstacle avoidance, and try to find the target person to restore to the following state when the target person disappears from the field of vision. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention but do not constitute a limitation of the present invention. In the accompanying drawings:

[0047] Figure 1 This is a schematic diagram of the structure of the robot autonomous following system provided by the present invention.

[0048] Figure 2 This is a result block diagram of the robot autonomous following system provided by the present invention.

[0049] Figure 3 This is a flow chart of the autonomous following control method provided by the present invention.

[0050] Figure 4 A flowchart of a specific implementation method of the recovery follow-up provided by the present invention. DETAILED DESCRIPTION

[0051] It should be noted that, in the absence of conflict, the embodiments of the present invention and the features in the embodiments may be combined with each other. The present invention will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0052] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiment of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiment of the present invention. Obviously, the described embodiment is only a part of the embodiment of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work should fall within the scope of protection of the present invention.

[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so as to describe the embodiments of the present invention described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0054] In this embodiment, a robot autonomous following system is provided. Figure 1 is a schematic diagram of the structure of a robot autonomous following system provided according to an embodiment of the present invention, Figure 2The structure diagram of the robot autonomous following system provided by the embodiment of the present invention is as follows: Figure 1 and Figure 2 As shown, it includes: a movable vehicle body 1, and a UWB base station 2, an image acquisition device 4, a vehicle body drive device 5 and a control device 6 arranged on the movable vehicle body 1, and the UWB base station 2, the image acquisition device 4 and the vehicle body drive device 5 are all connected to the control device 6 for communication;

[0055] The UWB base station 2 is used to establish a communication connection with a corresponding UWB tag and obtain real-time location information of the UWB tag, wherein the UWB tag is worn by a target person;

[0056] The image acquisition device 4 is used to acquire image information of the environment where the movable vehicle body 1 is located, and generate point cloud information corresponding to the image information;

[0057] The control device 6 can determine the target person and his real-time position coordinates according to the real-time position information of the UWB tag, the image information and the point cloud information, and can calculate and generate real-time speed navigation information of the movable vehicle body according to the real-time position coordinates, and can enter the state of searching for the target person when the real-time position coordinates are invalid, and can return to the target following state after the target person is found;

[0058] The vehicle driving device 5 can drive the movable vehicle to follow the movement of the target person according to the real-time navigation information.

[0059] The robot autonomous following system provided in the embodiment of the present invention can realize rapid and accurate identification of the target person through the cooperation of the UWB base station, the UWB tag, the image acquisition device and the control device, and can follow the target person at a set distance behind the target person under the premise of autonomous obstacle avoidance, and try to find the target to restore to the following state when the target person disappears from the field of vision.

[0060] It should be noted that the image acquisition device 4 in the embodiment of the present invention may specifically adopt a ZED2 binocular camera.

[0061] The vehicle body driving device 5 in the embodiment of the present invention may specifically include a driver and a driving motor connected to the driver, and the driver is in communication connection with the control device.

[0062] Preferably, the driver can be implemented by a ugv-type universal driver, for example, a Copley series digital universal servo driver of Jingmao Intelligent Technology Co., Ltd., specifically, a servo driver of model ACP-055-18 in the Copley series.

[0063] like Figure 1As shown, a bracket 3 is provided on the movable vehicle body 1 , and the image acquisition device 4 is installed on the bracket 3 .

[0064] In the embodiment of the present invention, the control device and the vehicle body driving device are both arranged inside the movable vehicle body. Figure 1 The control device 6 may specifically use NVIDIA Jetson Xavier as a main controller to achieve real-time performance.

[0065] Specifically, in an embodiment of the present invention, the control device includes:

[0066] An extraction module, used to extract the portraits in the image information and determine the two-dimensional coordinate information of the extracted portraits, wherein a different ID is assigned to each portrait;

[0067] A conversion module, used to convert the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information;

[0068] A comparison module, used for comparing the three-dimensional position information of the portrait obtained by conversion with the real-time position information of the UWB tag;

[0069] The determination module is used to determine the human image corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag as the target person, and determine the three-dimensional position information as the real-time position coordinates of the target person.

[0070] It should be understood that when image information is acquired, the image information is first preprocessed to extract the human figure in the image information. For example, the FairMOT multi-target tracking algorithm may be used, which can extract the human frame from the image and give a corresponding ID.

[0071] The two-dimensional coordinate information of the portrait in the image information is converted into three-dimensional position information in the real scene to facilitate the identification of the target person and generate real-time speed navigation information for the movable vehicle body.

[0072] In the embodiment of the present invention, the machine vision-related algorithm can be used to convert the two-dimensional coordinate information into three-dimensional position information in the real scene. Since the positions of all people observed by the camera are obtained, the specific target person is identified by combining the position information of the UWB tag obtained by the UWB base station, wherein the UWB base station is placed on a movable vehicle body, and the target person carries a UWB tag, so that the UWB base station can return the position information of the target person wearing the UWB tag relative to the UWB base station. The position information of the UWB tag is compared and integrated with the three-dimensional position information in the previous text to obtain the position information of the target person.

[0073] In addition, considering that the real-time position information of the target person finally obtained by fusion is in the camera coordinate system, in order to facilitate the following of the movable body, the tf transformation under ROS can be used (since the camera is fixed on the movable body, the camera origin and the movable body origin only have three-axis translation transformation) to convert the position in the camera system to the coordinate system of the movable body.

[0074] In an embodiment of the present invention, the control module further includes:

[0075] A first calculation module is used to perform PID control calculation to obtain the linear speed of the movable body according to the real-time position coordinates of the target person and the preset following distance between the movable body and the target person;

[0076] A second calculation module is used to determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angle range as the angular velocity of the movable vehicle body;

[0077] The third calculation module is used to determine the speed of the movable body according to the linear speed of the movable body and the angular speed of the movable body, and determine the speed of the movable body as the real-time speed navigation information of the movable body.

[0078] It should be understood that after obtaining the real-time position information of the target person, as mentioned above, for the convenience of following, the position of the camera system is converted to the coordinate system of the movable body, so that the speed required for the next step of the movable body can be directly calculated. At the same time, the target points of multiple historical target persons are stored as historical reference trajectories.

[0079] In an embodiment of the present invention, after obtaining the position information in the unmanned vehicle coordinate system, the difference between the Euclidean distance between the target person and the movable vehicle body and the expected preset following distance behind the target person is used as the error in the following process, and the error is used as the input value of the linear speed PID control, and finally the required linear speed can be calculated.

[0080] For practical considerations, the idea of ​​dynamic window algorithm is adopted to calculate the dynamic window, and the linear velocity calculated by PID is limited with the linear velocity window as a constraint to obtain the final linear velocity. The dynamic window of angular velocity is used as an alternative velocity combination, and these velocity combinations are simulated for a fixed time. These simulated trajectories are uniformly evaluated through the evaluation function. The evaluation criteria need to consider obstacle avoidance and the quality of following. Finally, the best linear velocity is obtained. This set of calculated velocities is sent to the vehicle drive device so that the movable body can stably follow the target.

[0081] Specifically, when calculating the linear velocity, after obtaining the position information (x0, y0) of the target relative to the vehicle coordinate system (here, the moving direction of the movable vehicle is the x direction, and the left side of the vehicle is the y direction), assuming that the movable vehicle is expected to follow 2m behind the target person (let d=2), then at the current moment, there will be an error e in the forward direction, where e=x0-d. The PID control is performed through the error e to calculate the forward moving speed of the robot.

[0082] Specifically, when calculating the angular velocity, the calculation of the angular velocity during following adopts the idea of ​​a dynamic window, and the angular velocity range that can be reached from the current moment to the next cycle is calculated based on the current angular velocity. For example, if the acceleration at the current moment is w0, then the calculated window is [w1, w2] (where w1 is the minimum angular velocity and w2 is the maximum angular velocity). For this window, multiple speeds are discretized at fixed intervals, and multiple trajectories are simulated with these speeds. The trajectories formed by these speeds are uniformly evaluated. Evaluation criteria: the direction of the end point of the trajectory, the distance between the end point of the trajectory and the target, and the obstacle avoidance of the trajectory. In this way, multiple trajectories will receive corresponding scores, and the speed of the optimal trajectory will be selected as the angular velocity of the movable body.

[0083] Therefore, the speed of the movable body in the following state can be obtained by the above method.

[0084] In an embodiment of the present invention, the control module further includes:

[0085] A judgment module, used for judging that the real-time location coordinates are invalid when the real-time location coordinates of the target person cannot be obtained;

[0086] A temporary target point generation module is used to use the latest target position of the target person stored in history as a temporary target point when the real-time position coordinates are invalid, and generate a temporary moving trajectory according to the temporary target point so that the movable vehicle body moves to the temporary target point;

[0087] A search module, used for generating a target search process of rotating in situ and matching the UWB tag in real time when the movable vehicle reaches the temporary target point, until the latest real-time location information of the UWB tag is obtained;

[0088] The recovery module is used to recover to the following state and re-execute the following process when the target search process obtains the latest real-time location information of the UWB tag.

[0089] In the embodiment of the present invention, when some unpredictable circumstances cause the target to be lost in the field of vision, the coordinate information before the target is lost is searched from the previously accessed historical target personnel point list, and the point is used as the temporary target of the unmanned vehicle, and the movable vehicle body is controlled to move to the point with the help of the dynamic window navigation algorithm. Then it rotates in place to find the target person, and when the target person returns to the field of vision, the unmanned vehicle returns to the following state.

[0090] It should be understood that when the movable vehicle is following, due to some special circumstances, such as the target turning, dynamic obstacle blocking, etc., the target person may disappear from the field of view of the image acquisition device. At this time, the control device on the movable vehicle attempts to use the recovery mechanism to bring the target person back into the field of view to return to the following state.

[0091] The movable vehicle saves the coordinate information of a certain number of target personnel that it has received while following. When the target personnel is lost, the control device uses the latest target position that was saved as a temporary target point and controls the movable vehicle to reach this temporary target point first. After the movable vehicle arrives, it rotates in place to search for the target, and the rotation direction depends on the angle information returned by the UWB. When the target returns to the field of view, the robot returns to the following state.

[0092] In summary, the robot autonomous following system provided by the embodiment of the present invention can realize the identification and following of the target person, and can also try to find the target person after the target person is lost to restore the following state. The hardware required by the system is small in size, light in weight, easy to use, and the platform is simple and easy to understand, which is suitable for subsequent functional expansion.

[0093] As another embodiment of the present invention, an autonomous following control method is provided, which is applied to the robot autonomous following system described above, wherein: Figure 3 As shown, the method includes:

[0094] S110, acquiring real-time location information, image information, and point cloud information corresponding to the image information of the UWB tag;

[0095] It should be understood that specifically, the real-time position information of the UWB tag received by the UWB base station is obtained, and the image information collected by the image acquisition device and the point cloud information corresponding to the generated image information are obtained.

[0096] S120, determining the target person and the real-time position coordinates of the target person according to the real-time position information, image information and point cloud information corresponding to the image information of the UWB tag;

[0097] Specifically, it may include:

[0098] Extracting human portraits from the image information and determining two-dimensional coordinate information of the extracted human portraits, wherein a different ID is assigned to each human portrait;

[0099] Converting the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information;

[0100] Comparing the converted three-dimensional position information of the portrait with the real-time position information of the UWB tag;

[0101] The human image corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag is determined as the target person, and the three-dimensional position information is determined as the real-time position coordinates of the target person.

[0102] S130, calculating and generating real-time speed navigation information of the movable vehicle body according to the real-time position coordinates;

[0103] Specifically, it may include:

[0104] The linear speed of the movable vehicle body is obtained by performing PID control calculation according to the real-time position coordinates of the target person and the preset following distance between the movable vehicle body and the target person;

[0105] Determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angular range as the angular velocity of the movable vehicle body;

[0106] The speed of the movable body is determined according to the linear speed of the movable body and the angular speed of the movable body, and the speed of the movable body is determined as the real-time speed navigation information of the movable body.

[0107] S140: When the real-time position coordinates are invalid, the state of searching for the target person is entered, and when valid real-time position coordinates are acquired again, the state of following the target is restored.

[0108] Specifically, it may include:

[0109] When the real-time location coordinates of the target person cannot be obtained, the real-time location coordinates are determined to be invalid;

[0110] When the real-time position coordinates are invalid, the latest target position of the target person stored in history is used as a temporary target point, and a temporary moving trajectory is generated according to the temporary target point so that the movable vehicle body moves to the temporary target point;

[0111] When the movable vehicle body reaches the temporary target point, a target search process is generated that rotates in situ and performs UWB tag matching in real time until the latest real-time location information of the UWB tag is obtained;

[0112] When the target search process obtains the latest real-time location information of the UWB tag, it returns to the following state and executes the following process again.

[0113] like Figure 4 The figure shows a flowchart of a specific implementation method of recovery following.

[0114] When some unpredictable circumstances cause the target to be lost in the field of vision, the coordinate information before the target is lost is searched from the previously accessed historical target point list, and the point is used as the temporary target of the unmanned vehicle. The unmanned vehicle moves to the point with the help of the dynamic window navigation algorithm. Then it rotates in place to find the target person. When the target returns to the field of vision, the unmanned vehicle returns to the following state.

[0115] The specific implementation process of the autonomous following control method provided by the embodiment of the present invention is described in detail below.

[0116] First, the system is initialized, the movable vehicle body and on-board sensors are started, and the sensors pre-process the data;

[0117] Secondly, the ZED2 binocular stereo camera collects images and generates point cloud information corresponding to the image information;

[0118] Third, extract the portraits in the image information and assign different IDs to each portrait; call the point cloud data in ZED2, extract the point cloud in the frame, filter the point cloud, extract the outline of the person, calculate the centroid coordinates of the human point cloud, and then call the location information returned by the UWB tag of the target person, perform Kalman filtering on the two, and obtain the real-time location coordinates of the target person;

[0119] Fourth, the following task is started according to the real-time position coordinates of the target person. In the following state, the linear speed is calculated according to the real-time position of the target person using PID control. The dynamic window method is used to provide a dynamic window of angular velocity. The linear speed suitable for maintaining the following state and avoiding obstacles is selected from the window. The calculated linear speed and angular velocity are sent down to enable the movable vehicle to follow the target person.

[0120] Fifth, when the target person disappears from the field of vision, the previously accessed target motion trajectory point is used as the navigation target of the movable vehicle body. After reaching the target, it rotates in place to search for the target to restore the following state.

[0121] In summary, the autonomous following control method provided by the embodiment of the present invention can realize rapid and accurate identification of the target person, and can follow the target person at a set distance behind the target person under the premise of autonomous obstacle avoidance, and try to find the target to restore to the following state when the target person disappears from the field of vision.

[0122] The specific implementation process of the autonomous following control method provided in the embodiment of the present invention can refer to the description of the robot autonomous following system in the previous text, which will not be repeated here.

[0123] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.

Claims

1. A robot autonomous following system, characterized in that: include: A movable vehicle body, and a UWB base station, an image acquisition device, a vehicle body drive device and a control device arranged on the movable vehicle body, wherein the UWB base station, the image acquisition device and the vehicle body drive device are all in communication connection with the control device; The UWB base station is used to establish a communication connection with a corresponding UWB tag and obtain real-time location information of the UWB tag, wherein the UWB tag is worn by a target person; The image acquisition device is used to acquire image information of the environment where the movable vehicle body is located, and generate point cloud information corresponding to the image information; The control device can determine the target person and his real-time position coordinates according to the real-time position information of the UWB tag, the image information and the point cloud information, and can calculate and generate real-time speed navigation information of the movable vehicle body according to the real-time position coordinates, and can enter the state of searching for the target person when the real-time position coordinates are invalid, and can return to the state of following the target after the target person is found; The vehicle driving device can drive the movable vehicle to follow the movement of the target person according to the real-time speed navigation information; The control device comprises: A first calculation module is used to perform PID control calculation to obtain the linear speed of the movable body according to the real-time position coordinates of the target person and the preset following distance between the movable body and the target person; A second calculation module is used to determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angular velocity range as the angular velocity of the movable vehicle body; a third calculation module, configured to determine the speed of the movable body according to the linear speed of the movable body and the angular speed of the movable body, and determine the speed of the movable body as the real-time speed navigation information of the movable body; The control device comprises: A judgment module, used for judging that the real-time location coordinates are invalid when the real-time location coordinates of the target person cannot be obtained; A temporary target point generation module is used to use the latest target position of the target person stored in history as a temporary target point when the real-time position coordinates are invalid, and generate a temporary moving trajectory according to the temporary target point so that the movable vehicle body moves to the temporary target point; A search module, used for generating a target search process of rotating in situ and performing UWB tag matching in real time when the movable vehicle body reaches the temporary target point, until the latest real-time location information of the UWB tag is obtained; A recovery module, used to restore to the following state and re-execute the following process when the target search process obtains the latest real-time location information of the UWB tag; Wherein, the control device further includes: An extraction module, used to extract the portraits in the image information and determine the two-dimensional coordinate information of the extracted portraits, wherein a different ID is assigned to each portrait; A conversion module, used to convert the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information; A comparison module, used for comparing the three-dimensional position information of the portrait obtained by conversion with the real-time position information of the UWB tag; The determination module is used to determine the human image corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag as the target person, and determine the three-dimensional position information as the real-time position coordinates of the target person.

2. The robot autonomous following system according to claim 1, characterized in that: The image acquisition device includes a ZED2 binocular camera.

3. The robot autonomous following system according to claim 1, characterized in that: The vehicle body driving device includes a driver and a driving motor connected to the driver, and the driver is communicatively connected to the control device.

4. An autonomous following control method, applied to the robot autonomous following system according to any one of claims 1 to 3, characterized in that: The method comprises: Acquire real-time location information, image information, and point cloud information corresponding to the image information of the UWB tag; Determine the target person and the real-time position coordinates of the target person according to the real-time position information, image information and point cloud information corresponding to the image information of the UWB tag; Calculate and generate real-time speed navigation information of the movable vehicle body according to the real-time position coordinates; When the real-time position coordinates are invalid, the state of searching for the target person is entered, and when valid real-time position coordinates are acquired again, the state of following the target is restored.

5. The method according to claim 4, characterized in that The method of determining the target person and the real-time position coordinates of the target person according to the real-time position information, image information and point cloud information corresponding to the image information of the UWB tag includes: Extracting human portraits from the image information and determining two-dimensional coordinate information of the extracted human portraits, wherein a different ID is assigned to each human portrait; Converting the two-dimensional coordinate information of the portrait into three-dimensional position information in a real scene according to the point cloud information corresponding to the image information; Comparing the converted three-dimensional position information of the portrait with the real-time position information of the UWB tag; The human figure corresponding to the three-dimensional position information that is consistent with the real-time position information of the UWB tag is determined as the target person, and the three-dimensional position information is determined as the real-time position coordinates of the target person.

6. The method according to claim 4, characterized in that The step of calculating and generating the real-time speed navigation information of the movable vehicle body according to the real-time position coordinates includes: The linear speed of the movable vehicle body is obtained by performing PID control calculation according to the real-time position coordinates of the target person and the preset following distance between the movable vehicle body and the target person; Determine the current angular velocity information of the movable vehicle body according to the real-time position coordinates of the target person, calculate the angular velocity range that can be reached in the next cycle according to the current angular velocity information, and select the optimal speed in the angular velocity range as the angular velocity of the movable vehicle body; The speed of the movable body is determined according to the linear speed of the movable body and the angular speed of the movable body, and the speed of the movable body is determined as the real-time speed navigation information of the movable body.

7. The method according to claim 4, characterized in that The method of entering a state of searching for a target person when the real-time position coordinates are invalid, and restoring to a target following state when valid real-time position coordinates are acquired again, comprises: When the real-time location coordinates of the target person cannot be obtained, the real-time location coordinates are determined to be invalid; When the real-time position coordinates are invalid, the latest target position of the target person stored in history is used as a temporary target point, and a temporary moving trajectory is generated according to the temporary target point so that the movable vehicle body moves to the temporary target point; When the movable vehicle body reaches the temporary target point, a target search process is generated that rotates in situ and performs UWB tag matching in real time until the latest real-time location information of the UWB tag is obtained; When the target search process obtains the latest real-time location information of the UWB tag, it returns to the following state and executes the following process again.