Method and apparatus for controlling mobile robot, and mobile robot
By collecting point cloud data through the information collection equipment carried by the mobile robot, updating the map and adjusting the driving path, it solves the problem of redundant navigation path planning caused by the untimely update of the information retained by the mobile robot map, and improves work efficiency.
Patent Information
- Application Number
- PCT/CN2023/141290
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-14
- Filing Date
- 2023-12-22
- Publication Date
- 2024-10-17
AI Technical Summary
The map retention information that mobile robots rely on for driving is not updated in time, resulting in redundant navigation path planning and increased time and energy costs.
The current point cloud data is collected through the information collection equipment mounted on the mobile robot. When it is determined that the target object disappears, the corresponding information is deleted from the initial map, an updated map is generated, the driving path is updated based on the new map, and the robot is controlled to carry the object according to the latest path.
Real-time map updating of mobile robot path planning is realized, redundant path planning is reduced, and work efficiency is improved.
Smart Images

Figure CN2023141290_17102024_PF_FP_ABST
Abstract
Description
Mobile robot control method and device, mobile robot
[0001] This disclosure claims priority to the Chinese patent application filed with the State Intellectual Property Office of China on April 14, 2023, with application number 202310404877.6 and invention name “Control method and device of mobile robot, mobile robot”, the entire contents of which are incorporated by reference into this disclosure. Technical Field
[0002] The present disclosure relates to the field of robot control technology, and in particular to a control method and device for a mobile robot, and a mobile robot. Background Art
[0003] Currently, in the control of mobile robots, it is impossible to eliminate the information of moving objects recorded by them. Therefore, when they drive to the location of the recorded moving object again, they will still pass through it by taking a detour, resulting in longer driving path planning and driving time, which in turn increases time and energy costs.
[0004] In the above-mentioned related technologies, the information retained in the map that the mobile robot relies on for driving is not updated in a timely manner, which easily leads to redundant planning of the navigation path. No effective solution has been proposed so far.
[0005] Summary of the Invention
[0006] The embodiments of the present disclosure provide a control method and device for a mobile robot, and a mobile robot, so as to at least solve the technical problem in related technologies that the information retained in the map on which the mobile robot relies for driving is not updated in a timely manner, which easily leads to redundant planning of the navigation path.
[0007] According to one aspect of an embodiment of the present disclosure, a control method for a mobile robot is provided, comprising: collecting current point cloud data within a predetermined range of the mobile robot by an information collection device carried by the mobile robot; when it is determined that a target object disappears according to the current point cloud data, deleting information corresponding to the target object from a first map to obtain a second map, wherein the target object is an object that needs to be avoided on an initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle; updating the initial driving path according to the second map to obtain an latest driving path; and controlling the mobile robot to transport the object to a target position according to the latest driving path.
[0008] Optionally, the current point cloud data within the predetermined range of the mobile robot is collected by an information collection device carried by the mobile robot, including: while the mobile robot is driving along the initial driving path, triggering the information collection device to collect the current point cloud data within the predetermined range of the mobile robot at a predetermined frequency.
[0009] Optionally, determining that the target object disappears based on the current point cloud data includes: inputting the current point cloud data into an information detection model to process the current point cloud data using the information detection model, wherein the information detection model is trained by machine learning using multiple sets of training data, and each of the training data includes: point cloud data and a detection value corresponding to the point cloud data, the point cloud data being the input of the information detection model, and the detection value being the output of the information detection model; obtaining the output result of the information detection model; and determining that the target object disappears when the output result is consistent with the detection value corresponding to the disappearance of the target object.
[0010] Optionally, before inputting the current point cloud data into the information detection model, the control method of the mobile robot also includes: generating multiple groups of point cloud data in the training data based on the characteristic information of the target object, wherein the characteristic information includes at least: the type of the target object, the size of the target object; generating the point cloud data to represent a first detection value when the target object disappears in the map, and generating the point cloud data to represent a second detection value when the target object does not disappear in the map; determining the point cloud data, the first detection value and the second detection value as multiple groups of training data; training the multiple groups of training data to obtain the information detection model.
[0011] Optionally, when it is determined that the target object disappears based on the current point cloud data, the information corresponding to the target object is deleted from the first map to obtain a second map, including: deleting the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; projecting the target point cloud data into a distance image, and separating the planar point cloud data and non-planar point cloud data in the target point cloud data from the distance image; performing corner point and surface point feature extraction on the non-planar point cloud data to obtain feature data of the non-planar point cloud data; and performing feature matching on the feature data of multiple consecutive frames of point cloud data to obtain the second map.
[0012] Optionally, feature matching is performed on feature data of multiple consecutive frames of point cloud data to obtain the second map, including: obtaining travel prediction information of the odometer of the mobile robot and posture prediction information of the second map; and correcting the third map obtained by feature matching according to the travel prediction information and the posture prediction information to obtain the second map.
[0013] Optionally, controlling the mobile robot to transport the object to the target position according to the latest driving path includes: when determining that the mobile robot moves to the object according to the latest driving path, controlling the image acquisition device to capture an object image of the object; determining feature information of the object based on the object image, wherein the feature information of the object includes at least: the size of the object, the position information of the object and the placement information of the object; determining the relative position information between the mobile robot and the object based on the feature information; after controlling the mobile robot to load the object according to the relative position information, controlling the mobile robot to transport the object to the target position according to the latest driving path.
[0014] Optionally, controlling the mobile robot to load the object according to the relative position information includes: after controlling the mobile robot to travel to the bottom of the object according to the relative position information, calibrating the object and the transport component carried by the mobile robot according to the relative position information; and using the calibrated transport component to load the object into the cargo area of the mobile robot.
[0015] According to another aspect of the embodiment of the present disclosure, a control device for a mobile robot is also provided, including: an acquisition unit, configured to acquire current point cloud data within a predetermined range of the mobile robot through an information acquisition device carried by the mobile robot; a processing unit, configured to delete information corresponding to the target object from a first map when it is determined that the target object disappears according to the current point cloud data, to obtain a second map, wherein the target object is an object that needs to be avoided on an initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data acquisition cycle; an updating unit, configured to update the initial driving path according to the second map to obtain the latest driving path; and a control unit, configured to control the mobile robot to transport the object to the target position according to the latest driving path.
[0016] Optionally, the acquisition unit includes: a trigger module, configured to trigger the information acquisition device to collect current point cloud data within a predetermined range of the mobile robot at a predetermined frequency while the mobile robot is driving along the initial driving path.
[0017] Optionally, the processing unit includes: a processing module, configured to input the current point cloud data into an information detection model, so as to process the current point cloud data using the information detection model, wherein the information detection model is obtained through machine learning training using multiple sets of training data, and each of the training data includes: point cloud data and a detection value corresponding to the point cloud data, the point cloud data is the input of the information detection model, and the detection value is the output of the information detection model; an acquisition module, configured to obtain the output result of the information detection model; a first determination module, configured to determine that the target object disappears when the output result is consistent with the detection value corresponding to the disappearance of the target object.
[0018] Optionally, the control device of the mobile robot also includes: a first generation module, configured to generate multiple groups of point cloud data in the training data according to the feature information of the target object before inputting the current point cloud data into the information detection model, wherein the feature information includes at least: the type of the target object and the size of the target object; a second generation module, configured to generate a first detection value when the point cloud data represents that the target object disappears in the map, and to generate a second detection value when the point cloud data represents that the target object does not disappear in the map; a second determination module, configured to determine that the point cloud data, the first detection value and the second detection value are multiple groups of training data; an acquisition module, configured to train multiple groups of training data to obtain the information detection model.
[0019] Optionally, the processing unit includes: a deletion module, configured to delete the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; a separation module, configured to project the target point cloud data into a distance image, and separate the planar point cloud data and non-planar point cloud data in the target point cloud data from the distance image; an extraction module, configured to perform corner point and surface point feature extraction on the non-planar point cloud data to obtain feature data of the non-planar point cloud data; and a matching module, configured to perform feature matching on the feature data of multiple consecutive frames of point cloud data to obtain the second map.
[0020] Optionally, the matching module includes: a first acquisition sub-module, configured to obtain the travel prediction information of the odometer of the mobile robot and the posture prediction information of the second map; a second acquisition sub-module, configured to correct the third map obtained by feature matching according to the travel prediction information and the posture prediction information to obtain the second map.
[0021] Optionally, the control unit includes: a control module, configured to control the image acquisition device to capture the object image of the object when determining that the mobile robot moves to the object according to the latest driving path; a third determination module, configured to determine the feature information of the object based on the object image, wherein the feature information of the object includes at least: the size of the object, the position information of the object and the placement information of the object; a fourth determination module, configured to determine the relative position information between the mobile robot and the object based on the feature information; a control module, configured to control the mobile robot to transport the object to the target position according to the latest driving path after controlling the mobile robot to load the object according to the relative position information.
[0022] Optionally, the control module includes: a control submodule, configured to control the mobile robot to move to the bottom of the object according to the relative position information, and then calibrate the object and the transport components carried by the mobile robot according to the relative position information; and a loading submodule, configured to use the calibrated transport components to load the object into the cargo area of the mobile robot.
[0023] According to another aspect of the embodiments of the present disclosure, a mobile robot is provided, which uses any one of the above-described control methods for a mobile robot.
[0024] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored program, wherein the program executes any one of the above-mentioned methods for controlling a mobile robot.
[0025] According to another aspect of the embodiments of the present disclosure, a processor is further provided, wherein the processor is configured to run a program, wherein the program executes any one of the above-mentioned methods for controlling a mobile robot when running.
[0026] In an embodiment of the present disclosure, the current point cloud data within a predetermined range of the mobile robot is collected by an information collection device carried by the mobile robot; when it is determined based on the current point cloud data that the target object has disappeared, the information corresponding to the target object is deleted from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle; the initial driving path is updated according to the second map to obtain the latest driving path; and the mobile robot is controlled to transport the object to the target position according to the latest driving path. The control method of the mobile robot provided by the present disclosure realizes the real-time update of the map based on which the mobile robot performs path planning, so as to delete the information corresponding to the objects on the mobile robot's driving path that no longer need to be avoided or given way, reduce the purpose of redundant path planning generated by the mobile robot, and achieve the technical effect of improving the working efficiency of the mobile robot, thereby solving the technical problem in the related art that the information retained in the map that the mobile robot relies on for driving is not updated in a timely manner, which easily generates redundant planning for the navigation path. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of this application. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation of the present disclosure. In the drawings:
[0028] FIG1 is a hardware structure block diagram of a mobile terminal of a method for controlling a mobile robot according to an embodiment of the present disclosure;
[0029] FIG2 is a flow chart of a method for controlling a mobile robot according to an embodiment of the present disclosure;
[0030] FIG3 is a flow chart of an optional method for controlling a mobile robot according to an embodiment of the present disclosure;
[0031] FIG4 is a schematic diagram of a control device of a mobile robot according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the embodiments described are only part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments of the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative efforts should fall within the scope of protection of the present disclosure.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure 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 numbers used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or 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.
[0034] As described in the background, related art mobile robots are unable to delete information about moving objects, resulting in a detour when the robot returns to the same location. This can lead to lengthy route planning and driving times, increasing time and energy costs. The present disclosure provides a control method and apparatus for a mobile robot, a mobile robot, a computer-readable storage medium, and a processor.
[0035] The technical solutions in the embodiments of the present disclosure will be described clearly and completely below with reference to the accompanying drawings in the embodiments of the present disclosure.
[0036] The method embodiments provided in the embodiments of the present disclosure can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, FIG1 is a hardware structure block diagram of a mobile terminal of a control method for a mobile robot in an embodiment of the present disclosure. As shown in FIG1 , the mobile terminal may include one or more (only one is shown in FIG1 ) processors 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 configured to store data, wherein the mobile terminal may also include a transmission device 106 and an input and output device 108 configured for communication functions. It will be understood by those skilled in the art that the structure shown in FIG1 is only for illustration and does not limit the structure of the mobile terminal. For example, the mobile terminal may also include more or fewer components than those shown in FIG1 , or have a configuration different from that shown in FIG1 .
[0037] The memory 104 can be configured to store computer programs, such as software programs and modules of application software, such as the computer program corresponding to the control method of the mobile robot in the embodiment of the present disclosure. The processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, thereby implementing the above-mentioned method. The memory 104 may include high-speed random access memory and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely located relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of such networks include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof. The transmission device 106 is configured to receive or transmit data via a network. Specific examples of such networks may include a wireless network provided by the mobile terminal's telecommunications provider. In one example, the transmission device 106 includes a network interface controller (NIC), which can be connected to other network devices via a base station to enable communication with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module configured to communicate with the Internet wirelessly.
[0038] According to an embodiment of the present disclosure, a method embodiment of a method for controlling a mobile robot is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0039] FIG2 is a flow chart of a method for controlling a mobile robot according to an embodiment of the present disclosure. As shown in FIG2 , the method for controlling a mobile robot includes the following steps:
[0040] Step S202 : collecting current point cloud data within a predetermined range of the mobile robot through an information collection device carried by the mobile robot.
[0041] Optionally, the mobile robot here can be an automatic guided vehicle (AGV) used to transport goods in a factory, or a robot with other functions.
[0042] Optionally, the information collection device here may be a laser radar, for example, a multi-line laser radar, or other types of information collection devices, which are not specifically limited here.
[0043] In an optional embodiment, when a mobile robot is required to perform a cargo handling task, an instruction may be sent to the mobile robot to trigger a multi-line laser radar carried by the mobile robot to collect point cloud data within a predetermined range.
[0044] In step S204, when it is determined that the target object disappears based on the current point cloud data, the information corresponding to the target object is deleted from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map. The first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle.
[0045] Optionally, the target object may be a person ahead of the mobile robot on its route or cargo that it needs to transport. For example, when the mobile robot last performed a transport task, cargo was still present at position A; the cargo at position A may have been transported away by other mobile robots at the next moment. The cargo at position A is an object that the mobile robot needs to avoid according to its initial route. In this case, the location information corresponding to the cargo at position A needs to be deleted from the map used to generate the initial route, so that the mobile robot no longer needs to bypass position A during travel, thereby reducing the number of detours required by the mobile robot and improving its work efficiency.
[0046] In addition, in the embodiment of the present disclosure, after obtaining the second map, the second map can be uploaded to a cloud server for backup to facilitate subsequent data tracing.
[0047] In addition, after obtaining the second map, the second map can be synchronized to other mobile robots to facilitate subsequent collaborative work between multiple robots.
[0048] Step S206: Update the initial driving path according to the second map to obtain the latest driving path.
[0049] In this embodiment, the initial driving path can be updated according to the updated map, so that the detour sections are reduced in the latest driving path, and the mobile robot can reach the location of the goods to be transported with the highest efficiency according to the latest driving path.
[0050] Step S208: Control the mobile robot to move the object to the target location according to the latest driving path.
[0051] In this embodiment, the mobile robot can be controlled to carry the object to the target location according to the latest driving path.
[0052] As can be seen from the above, in the embodiment of the present disclosure, the current point cloud data within the predetermined range where the mobile robot is located can be collected by the information collection device carried by the mobile robot; when it is determined that the target object disappears according to the current point cloud data, the information corresponding to the target object is deleted from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated according to historical data, and the historical data is data collected in the previous data collection cycle; the initial driving path is updated according to the second map to obtain the latest driving path; the mobile robot is controlled to transport the object to the target position according to the latest driving path, thereby realizing real-time updating of the map based on which the mobile robot performs path planning, so as to delete the information corresponding to the objects on the driving path of the mobile robot that no longer need to be avoided or given way, thereby reducing the redundant path planning generated by the mobile robot and achieving the technical effect of improving the working efficiency of the mobile robot.
[0053] Therefore, the technical solution provided by the embodiment of the present disclosure solves the technical problem in the related art that the information retained in the map that the mobile robot relies on for driving is not updated in a timely manner, which easily leads to redundant planning of the navigation path.
[0054] According to the above-mentioned embodiment of the present disclosure, collecting the current point cloud data within the predetermined range of the mobile robot by the information collection device carried by the mobile robot may include: while the mobile robot is driving according to the initial driving path, triggering the information collection device to collect the current point cloud data within the predetermined range of the mobile robot at a predetermined frequency.
[0055] In this embodiment, while the mobile robot is traveling along its current path, the multi-line laser radar is triggered to collect point cloud data within a predetermined range of the mobile robot at a predetermined frequency, i.e., the current point cloud data. The predetermined frequency may be determined based on the mobile robot's speed, thereby improving the efficiency of point cloud data acquisition and enabling better acquisition of point cloud data.
[0056] According to the above-mentioned embodiment of the present disclosure, determining that a target object disappears based on current point cloud data includes: inputting the current point cloud data into an information detection model to process the current point cloud data using the information detection model, wherein the information detection model is trained by machine learning using multiple sets of training data, and each training data includes: point cloud data and detection values corresponding to the point cloud data, the point cloud data being the input of the information detection model, and the detection values being the output of the information detection model; obtaining the output result of the information detection model; and determining that the target object disappears when the output result is consistent with the detection value corresponding to the disappearance of the target object.
[0057] In this embodiment, some data sets of relevant moving objects collected by multi-line lidar, such as people or goods, can be created, and the collected data sets can be added to the target detection algorithm for deep learning training and the validity of the constructed data sets can be verified, and the trained deep learning model, that is, the information detection model, can be exported.
[0058] In the disclosed embodiments, point cloud data serves as the input to the information detection model, and the detection values corresponding to the point cloud data serve as the output. Specifically, the point cloud data is input into a basic network model, which is then trained to generate the aforementioned information detection model. This information detection model can be used to quickly determine whether an object or person has disappeared from the mobile robot's path, further improving the robot's operational efficiency.
[0059] In the above embodiment of the present disclosure, before inputting the current point cloud data into the information detection model, the control method of the mobile robot may further include: generating point cloud data in multiple sets of training data based on feature information of the target object, wherein the feature information includes at least: the type of the target object, the size of the target object; generating point cloud data to represent a first detection value when the target object disappears in the map, and generating point cloud data to represent a second detection value when the target object does not disappear in the map; determining the point cloud data, the first detection value and the second detection value as multiple sets of training data; training the multiple sets of training data to obtain an information detection model.
[0060] In this embodiment, sample point cloud data for training an information detection model can be generated based on objects that may appear on the driving path of the mobile robot; at the same time, sample detection values corresponding to when the sample point cloud data disappears in the map are generated, and the sample point cloud data and sample detection values are used as multiple sets of training data. The basic network model is trained using the multiple sets of training data here to obtain an information detection model.
[0061] It should be noted that the basic network model here can be a convolutional neural network model, a recurrent neural network model, etc., without specific limitation here.
[0062] According to the above-mentioned embodiment of the present disclosure, when it is determined that the target object disappears based on the current point cloud data, the information corresponding to the target object is deleted from the first map to obtain a second map, including: deleting the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; projecting the target point cloud data into a distance image, and separating the planar point cloud data and non-planar point cloud data in the target point cloud data from the distance image; performing corner point and surface point feature extraction on the non-planar point cloud data to obtain feature data of the non-planar point cloud data; and performing feature matching on the feature data of multiple consecutive frames of point cloud data to obtain the second map.
[0063] In this embodiment, the point cloud data corresponding to the disappeared object or person can be deleted from the current point cloud data collected by the multi-line laser radar carried by the mobile robot to obtain the target point cloud data; then the target point cloud data is projected into a distance map, and the ground points and non-ground points in the target point cloud data are separated from the distance map, and the remaining non-ground point cloud data are clustered; then the segmented point cloud data is subjected to corner point and surface point feature extraction, and feature matching is performed between the corner points and surface points between consecutive frames to find the posture transformation matrix between consecutive frames, further process the features, and then align them in the global point cloud map to obtain the above-mentioned second map, that is, the updated map.
[0064] According to the above-mentioned embodiment of the present disclosure, feature matching is performed on feature data of multiple consecutive frames of point cloud data to obtain a second map, including: obtaining travel prediction information of the odometer of the mobile robot and posture prediction information of the second map; and correcting the third map obtained by feature matching according to the travel prediction information and the posture prediction information to obtain the second map.
[0065] In this embodiment, the final pose estimation can be output through the odometer estimation made by the multi-line radar and the pose estimation of the constructed map, and finally the constructed map is output.
[0066] Specifically, optimization can be performed on the two frames of point cloud data detected by the multi-line radar. These frames overlap. Since the radar pose is fixed from the first frame, subsequent keyframes are estimated based on this pose, with an overall error estimate performed every fixed number of frames. As shown in the figure, adjacent keyframes overlap significantly. Odometry is estimated based on the poses of the adjacent point clouds to obtain an odometry estimate.
[0067] Furthermore, the pose estimation described above is based on the poses of several adjacent keyframes, which are stitched together to form a map to obtain the pose of the local map. After all keyframes have completed a complete loop, a comprehensive map optimization is performed to complete the final pose estimation and map construction. A keyframe is a frame of data that meets a sufficient number of features.
[0068] According to the above-mentioned embodiment of the present disclosure, controlling a mobile robot to transport an object to a target position according to a latest driving path includes: when determining that the mobile robot moves to the object according to the latest driving path, controlling an image acquisition device to capture an object image of the object; determining feature information of the object based on the object image, wherein the feature information of the object includes at least: the size of the object, the position information of the object, and the placement information of the object; determining the relative position information between the mobile robot and the object based on the feature information; after controlling the mobile robot to load the object according to the relative position information, controlling the mobile robot to transport the object to the target position according to the latest driving path.
[0069] In this embodiment, when it is determined that the mobile robot moves to the object according to the latest driving path, the image acquisition device can be controlled to capture the object image of the object; after determining the feature information of the object based on the object image, the relative position information between the mobile robot and the object is determined based on the feature information, so that the mobile robot can be controlled to load the object according to the relative position information, and then the mobile robot can be controlled to transport the object to the target position according to the latest driving path, thereby completing the cargo transportation task.
[0070] According to the above-mentioned embodiment of the present disclosure, controlling a mobile robot to load an object according to relative position information includes: after controlling the mobile robot to travel to the bottom of the object according to the relative position information, calibrating the object and the transport components carried by the mobile robot according to the relative position information; and using the calibrated transport components to load the object into the cargo area of the mobile robot.
[0071] In this embodiment, the mobile machine is an AGV cart as an example. When the AGV cart arrives near the object, the depth camera starts working and is adjusted to the depth camera to obtain the object features, observe and evaluate to determine the spatial size, position and placement information of the object, calculate the spatial coordinate information (i.e., relative position information) between the cart and the object, and drive the cart to the bottom of the object, calibrate the object and the cart transport frame, raise the transport frame, lift the object and move the cart to the designated location, so that large and heavy container objects can be better loaded, effectively overcoming the defects of using grippers for objects larger than large and heavy containers, which wastes manpower and has safety hazards.
[0072] The following is a detailed description of the control method for a mobile robot provided by an embodiment of the present disclosure, with reference to the accompanying drawings. In this embodiment, the mobile machine is an AGV. FIG3 is a flow chart of an optional control method for a mobile robot according to an embodiment of the present disclosure. As shown in FIG3, during the driving process of the AGV, a moving object is detected by a target detection algorithm. The point cloud related to the moving object is removed according to the detected area. The point cloud is projected into a range image through a semantic segmentation operation using a multi-line laser Lego_loam algorithm to separate ground points and non-ground points. The remaining point cloud is clustered, and edge point and surface point feature extraction is performed on the segmented point cloud. Feature matching is performed between edge points and surface points between consecutive frames. The pose transformation matrix between consecutive frames is found, the features are further processed, and then aligned in a global point cloud map. Finally, a map is output to establish a map. After the map is established, path planning is performed. The robot arrives at the target location according to the received target location information. The current frame of the multi-line laser radar is matched with the position of the surrounding environment to locate the robot in real time and understand the position of the vehicle.
[0073] When the AGV arrives near an object, the depth camera starts working and is adjusted to obtain the object's features. It observes and evaluates the object's spatial size, position, and placement information, calculates the spatial coordinate information between the AGV and the object, drives the AGV to the bottom of the object, calibrates the object and the AGV transport frame, raises the transport frame, lifts the object, moves the AGV, and transports it to the designated location.
[0074] Through the control method of the mobile robot provided by the above embodiment of the present disclosure, the path planning of the mobile robot is completed by removing the information of dynamic objects and then building a map through an optimization algorithm; and the position and posture of the box are obtained through the image acquisition device, the spatial coordinates and rotation information between the mobile robot and the box are calculated, the body rotation is completed and the designated position is reached to carry the object. The above method effectively solves the following problems: 1) The information retained in the map of the moving object produces redundant planning for the navigation path; 2) The method of using grippers for objects larger than large and heavy containers is not suitable. On the one hand, by eliminating the information of the moving object, it will not affect the mapping of the trolley, and there will be no detour after driving to this position again, which optimizes the driving distance and driving time; on the other hand, it makes the lifting of large and heavy objects more convenient and reduces safety hazards.
[0075] It should be noted that for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that this application is not limited by the order of the actions described, because according to this application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by this application.
[0076] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.
[0077] According to an embodiment of the present disclosure, a mobile robot control device for implementing the above-mentioned mobile robot control method is also provided. FIG4 is a schematic diagram of the mobile robot control device according to an embodiment of the present disclosure. As shown in FIG4 , the device includes: an acquisition unit 41, a processing unit 43, an update unit 45, and a control unit 47. The mobile robot control device is described below.
[0078] The collecting unit 41 is configured to collect current point cloud data within a predetermined range of the mobile robot through an information collecting device carried by the mobile robot.
[0079] The processing unit 43 is configured to delete the information corresponding to the target object from the first map when it is determined based on the current point cloud data that the target object disappears, and obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle.
[0080] The updating unit 45 is configured to update the initial driving path according to the second map to obtain the latest driving path.
[0081] The control unit 47 is configured to control the mobile robot to carry the object to the target location according to the latest driving path.
[0082] It should be noted here that the above-mentioned acquisition unit 41, processing unit 43, update unit 45 and control unit 47 correspond to steps S202 to S208 in the above-mentioned embodiment. The four units and the corresponding steps implement the same instances and application scenarios, but are not limited to the contents disclosed in the above-mentioned embodiment.
[0083] It can be seen from the above that in the scheme recorded in the above embodiments of the present disclosure, the acquisition unit can be used to collect current point cloud data within a predetermined range of the mobile robot through the information acquisition device carried by the mobile robot; then the processing unit is used to delete the information corresponding to the target object from the first map when it is determined that the target object disappears based on the current point cloud data, and obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle; then the update unit is used to update the initial driving path according to the second map to obtain the latest driving path; finally, the control unit is used to control the mobile robot to transport the object to the target position according to the latest driving path, thereby realizing real-time updating of the map based on which the mobile robot performs path planning, so as to delete the information corresponding to objects on the driving path of the mobile robot that no longer need to be avoided or given way, thereby reducing the redundant path planning generated by the mobile robot, and achieving the technical effect of improving the working efficiency of the mobile robot.
[0084] Therefore, the technical solution provided by the embodiment of the present disclosure solves the technical problem in the related art that the information retained in the map that the mobile robot relies on for driving is not updated in a timely manner, which easily leads to redundant planning of the navigation path.
[0085] In an optional embodiment, the acquisition unit includes: a trigger module, which is configured to trigger the information acquisition device to collect current point cloud data within a predetermined range of the mobile robot at a predetermined frequency while the mobile robot is driving along the initial driving path.
[0086] In an optional embodiment, the processing unit includes: a processing module, configured to input the current point cloud data into the information detection model to process the current point cloud data using the information detection model, wherein the information detection model is obtained through machine learning training using multiple sets of training data, and each training data includes: point cloud data and detection values corresponding to the point cloud data, the point cloud data is the input of the information detection model, and the detection value is the output of the information detection model; an acquisition module, configured to obtain the output result of the information detection model; a first determination module, configured to determine that the target object disappears when the output result is consistent with the detection value corresponding to the disappearance of the target object.
[0087] In an optional embodiment, the control device of the mobile robot also includes: a first generation module, configured to generate point cloud data in multiple sets of training data based on feature information of the target object before inputting the current point cloud data into the information detection model, wherein the feature information includes at least: the type of the target object and the size of the target object; a second generation module, configured to generate point cloud data to represent a first detection value when the target object disappears in the map, and to generate point cloud data to represent a second detection value when the target object does not disappear in the map; a second determination module, configured to determine that the point cloud data, the first detection value and the second detection value are multiple sets of training data; and an acquisition module, configured to train the multiple sets of training data to obtain the information detection model.
[0088] In an optional embodiment, the processing unit includes: a deletion module, configured to delete the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; a separation module, configured to project the target point cloud data into a distance image, and separate the planar point cloud data and non-planar point cloud data in the target point cloud data from the distance image; an extraction module, configured to perform corner point and surface point feature extraction on the non-planar point cloud data to obtain feature data of the non-planar point cloud data; and a matching module, configured to perform feature matching on the feature data of multiple consecutive frames of point cloud data to obtain a second map.
[0089] In an optional embodiment, the matching module includes: a first acquisition submodule, configured to obtain the travel prediction information of the odometer of the mobile robot and the posture prediction information of the second map; a second acquisition submodule, configured to correct the third map obtained by feature matching according to the travel prediction information and the posture prediction information to obtain the second map.
[0090] In an optional embodiment, the control unit includes: a control module, configured to control the image acquisition device to capture an object image of the object when determining that the mobile robot moves to the object according to the latest driving path; a third determination module, configured to determine feature information of the object based on the object image, wherein the feature information of the object includes at least: the size of the object, the position information of the object and the placement information of the object; a fourth determination module, configured to determine the relative position information between the mobile robot and the object based on the feature information; and a control module, configured to control the mobile robot to transport the object to the target position according to the latest driving path after controlling the mobile robot to load the object according to the relative position information.
[0091] In an optional embodiment, the control module includes: a control submodule, configured to control the mobile robot to move to the bottom of the object according to the relative position information, and then calibrate the object and the transport components carried by the mobile robot according to the relative position information; a loading submodule, configured to use the calibrated transport components to load the object into the cargo area of the mobile robot.
[0092] According to another aspect of the embodiments of the present disclosure, a mobile robot is provided, which uses any one of the above-mentioned methods for controlling a mobile robot.
[0093] According to another aspect of the embodiments of the present disclosure, a computer-readable storage medium is further provided, the computer-readable storage medium including a stored program, wherein the program executes any one of the above-mentioned methods for controlling a mobile robot.
[0094] Optionally, in this embodiment, the computer-readable storage medium may be located in any one of the computer terminals in a computer terminal group in a computer network, or in any one of the communication devices in a communication device group.
[0095] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: collecting current point cloud data within a predetermined range of the mobile robot through an information collection device carried by the mobile robot; when it is determined that the target object disappears based on the current point cloud data, deleting the information corresponding to the target object from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on the initial driving path of the mobile robot, and the initial driving path is generated based on the first map, and the first map is generated based on historical data, and the historical data is data collected in the previous data collection cycle; updating the initial driving path according to the second map to obtain the latest driving path; and controlling the mobile robot to transport the object to the target position according to the latest driving path.
[0096] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: while the mobile robot is driving along the initial driving path, triggering the information acquisition device to collect current point cloud data within a predetermined range of the mobile robot at a predetermined frequency.
[0097] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: inputting the current point cloud data into the information detection model to process the current point cloud data using the information detection model, wherein the information detection model is obtained through machine learning training using multiple sets of training data, and each training data includes: point cloud data and detection values corresponding to the point cloud data, the point cloud data is the input of the information detection model, and the detection value is the output of the information detection model; obtaining the output result of the information detection model; and determining that the target object disappears when the output result is consistent with the detection value corresponding to the disappearance of the target object.
[0098] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for performing the following steps: generating point cloud data in multiple sets of training data based on feature information of the target object, wherein the feature information includes at least: the type of the target object, the size of the target object; generating point cloud data to represent a first detection value when the target object disappears in the map, and generating point cloud data to represent a second detection value when the target object does not disappear in the map; determining the point cloud data, the first detection value, and the second detection value as multiple sets of training data; training the multiple sets of training data to obtain an information detection model.
[0099] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: deleting the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; projecting the target point cloud data into a distance image, and separating the planar point cloud data and non-planar point cloud data in the target point cloud data from the distance image; performing corner point and surface point feature extraction on the non-planar point cloud data to obtain feature data of the non-planar point cloud data; and performing feature matching on the feature data of multiple consecutive frames of point cloud data to obtain a second map.
[0100] Optionally, in this embodiment, the computer-readable storage medium is configured to store program code for executing the following steps: obtaining the travel prediction information of the odometer of the mobile robot and the posture prediction information of the second map; and correcting the third map obtained by feature matching according to the travel prediction information and the posture prediction information to obtain the second map.
[0101] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: when determining that the mobile robot moves to the object according to the latest driving path, controlling the image acquisition device to capture an object image of the object; determining feature information of the object based on the object image, wherein the feature information of the object includes at least: the size of the object, the position information of the object, and the placement information of the object; determining the relative position information between the mobile robot and the object based on the feature information; after controlling the mobile robot to load the object according to the relative position information, controlling the mobile robot to transport the object to the target position according to the latest driving path.
[0102] Optionally, in this embodiment, the computer-readable storage medium is configured to store program codes for executing the following steps: after controlling the mobile robot to travel to the bottom of the object according to the relative position information, calibrating the object and the transport components carried by the mobile robot according to the relative position information; and using the calibrated transport components to load the object into the cargo area of the mobile robot.
[0103] According to another aspect of the embodiments of the present disclosure, a processor is further provided, which is used to run a program, wherein the program executes any one of the above-mentioned methods for controlling a mobile robot when running.
[0104] The serial numbers of the above-mentioned embodiments of the present disclosure are for description only and do not represent the advantages or disadvantages of the embodiments.
[0105] In the above embodiments of the present disclosure, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0106] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only exemplary. For example, the division of the units can be a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0107] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0108] In addition, the functional units in the various embodiments of the present disclosure may be integrated into a single processing unit, or each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0109] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk.
[0110] The above is only a preferred embodiment of the present disclosure. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present disclosure. These improvements and modifications should also be regarded as within the scope of protection of the present disclosure.
Claims
1. A control method for a mobile robot, wherein: include: Collecting current point cloud data within a predetermined range of the mobile robot through an information collection device carried by the mobile robot; When it is determined according to the current point cloud data that the target object disappears, information corresponding to the target object is deleted from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on an initial driving path of the mobile robot, the initial driving path is generated based on the first map, the first map is generated based on historical data, and the historical data is data collected in a previous data collection cycle; updating the initial driving path according to the second map to obtain a latest driving path; The mobile robot is controlled to carry the object to a target location according to the latest driving path.
2. The control method of the mobile robot according to claim 1, wherein: The current point cloud data within a predetermined range of the mobile robot is collected by an information collection device carried by the mobile robot, including: When the mobile robot is traveling along the initial driving path, the information collection device is triggered to collect the current point cloud data within a predetermined range of the mobile robot at a predetermined frequency.
3. The control method of the mobile robot according to claim 1, wherein: Determining, according to the current point cloud data, that the target object disappears, includes: Input the current point cloud data into an information detection model to process the current point cloud data using the information detection model, wherein the information detection model is trained by machine learning using multiple sets of training data, each of the training data includes: point cloud data and a detection value corresponding to the point cloud data, the point cloud data is the input of the information detection model, and the detection value is the output of the information detection model; Obtaining an output result of the information detection model; When the output result is consistent with the detection value corresponding to when the target object disappears, it is determined that the target object disappears.
4. The control method of the mobile robot according to claim 3, wherein: Before inputting the current point cloud data into the information detection model, the method further includes: Generating a plurality of groups of point cloud data in the training data according to feature information of the target object, wherein the feature information at least includes: the type of the target object and the size of the target object; generating a first detection value when the point cloud data represents that the target object disappears in the map, and generating a second detection value when the point cloud data represents that the target object does not disappear in the map; Determine the point cloud data, the first detection value, and the second detection value as a plurality of sets of training data; Training is performed on multiple groups of the training data to obtain the information detection model.
5. The control method of the mobile robot according to claim 1, wherein: When it is determined according to the current point cloud data that the target object disappears, deleting information corresponding to the target object from the first map to obtain a second map, including: Deleting the point cloud data corresponding to the target object from the current point cloud data to obtain target point cloud data; Projecting the target point cloud data into a range image, and separating the planar point cloud data and non-planar point cloud data in the target point cloud data from the range image; Extracting corner points and surface points from the non-planar point cloud data to obtain feature data of the non-planar point cloud data; Feature matching is performed on feature data of multiple consecutive frames of point cloud data to obtain the second map.
6. The control method of the mobile robot according to claim 5, wherein: Performing feature matching on feature data of multiple consecutive frames of point cloud data to obtain the second map includes: Acquire travel prediction information of the odometer of the mobile robot and position prediction information of the second map; The third map obtained by feature matching is corrected according to the travel prediction information and the posture prediction information to obtain the second map.
7. The control method of a mobile robot according to any one of claims 1 to 6, wherein: Controlling the mobile robot to carry the object to a target location according to the latest driving path includes: When it is determined that the mobile robot moves to the object according to the latest driving path, controlling an image acquisition device to acquire an object image of the object; Determining feature information of the object according to the object image, wherein the feature information of the object at least includes: size of the object, position information of the object and placement information of the object; Determine the relative position information between the mobile robot and the object according to the feature information; After controlling the mobile robot to load the object according to the relative position information, controlling the mobile robot to carry the object to the target position according to the latest driving path.
8. The control method of the mobile robot according to claim 7, wherein: Controlling the mobile robot to load the object according to the relative position information comprises: After controlling the mobile robot to move to the bottom of the object according to the relative position information, calibrating the object and a transport component carried by the mobile robot according to the relative position information; The object is loaded into the cargo area of the mobile robot using the calibrated transport component.
9. A control device for a mobile robot, wherein: include: A collection unit is configured to collect current point cloud data within a predetermined range of the mobile robot through an information collection device carried by the mobile robot; a processing unit configured to, when it is determined according to the current point cloud data that the target object disappears, delete information corresponding to the target object from the first map to obtain a second map, wherein the target object is an object that needs to be avoided on an initial driving path of the mobile robot, the initial driving path is generated based on the first map, the first map is generated based on historical data, and the historical data is data collected in a previous data collection cycle; an updating unit, configured to update the initial driving path according to the second map to obtain a latest driving path; The control unit is configured to control the mobile robot to carry the object to the target location according to the latest driving path.
10. A mobile robot, wherein: The mobile robot uses the mobile robot control method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Static map generation method and device, computer equipment and storage medium
CN112799095A
Robot obstacle map construction method and device, robot and storage medium
CN113358110A
Path planning method and device, storage medium, chip and robot
CN113741438A
Intelligent robot vision sensor control system and method
CN114603561A
Transfer robot path planning method and system based on remote operation and medium
CN114637303A
