Obstacle avoidance control method and system for library handling robot
By using the comprehensive application of ultrasonic and openmv modules combined with infrared sensing modules in the library environment, the obstacle avoidance problem of robots in the library is solved, efficient identification and avoidance of specific obstacles is achieved, and the safety and operating efficiency of the robots are improved. .
Patent Information
- Application Number
- CN202211019711.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-24
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-08-24
AI Technical Summary
It is difficult for existing obstacle avoidance algorithm robots to efficiently identify and avoid specific obstacles in the library environment, and cannot complete obstacle avoidance in a targeted manner, especially in the complex environment of the library.
Using the comprehensive application of multi-azimuth ultrasonic ranging modules and openmv camera modules, combined with the human body infrared sensing module, specific obstacle avoidance behaviors for different library environments are obtained through on-site inspections, including ultrasonic ranging, lateral movement and light reminders, etc. Steps to identify and avoid obstacles.
It achieves fast and effective obstacle avoidance in the library environment, reduces the error rate, and has better recognition and avoidance effects on bookcases, foot chairs and human body obstacles in the library, reducing safety hazards and ensuring the safety of the book robot. of normal operation.
Smart Images

Figure CN116000913B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of robot control, and in particular relates to an obstacle avoidance control method and system for a library transport robot. Background Art
[0002] Most of the existing obstacle avoidance algorithm robots are simple obstacle avoidance behaviors for ordinary environments, such as identifying ordinary walls and obstacles, or are high-cost robots suitable for complex environments. They do not have specific obstacle avoidance behaviors for libraries, and cannot use specific recognition methods to identify and effectively complete obstacle avoidance. Summary of the Invention
[0003] This invention proposes an obstacle avoidance control method and system for a library handling robot. This system, based on field research in libraries, identifies specific robot behaviors for different library environments and during line patrols. This system primarily utilizes ultrasonic waves from multiple locations, along with a front-facing OpenMV module and an infrared detection module. The ultrasonic ranging module generates ultrasonic waves using an ultrasonic generator. A receiving probe then receives the ultrasonic waves reflected from obstacles and calculates the distance to the obstacle based on the time difference between the reflected and received waves. The system then combines a human infrared sensor module and OpenMV to identify the obstacle's location and movement, and implements efficient obstacle avoidance actions based on this processed information.
[0004] In order to achieve the above object, the present invention provides the following technical solutions:
[0005] An obstacle avoidance control method for a library transport robot is characterized by comprising the following steps:
[0006] A robot is provided, the robot comprising an ultrasonic ranging module, an openmv camera module and a human body sensing module, the ultrasonic ranging module comprising a left front module, a right front module, a front module, a left module and a right module;
[0007] Step S1: When the distance measured by the module directly in front is less than or equal to the set value, it indicates that there is an obstacle ahead. When there are no obstacles measured by the left and right modules, and the distance measured by the right module is less than or equal to the distance measured by the left module, the robot moves to the left and proceeds to step S21. If the distance measured by the right module is greater than the distance measured by the left module, the robot moves to the right and proceeds to step S31.
[0008] Step S21: When there is no obstacle ahead and the distance measured by the right front module is greater than half the width of the vehicle body, the vehicle moves forward. If the distance directly ahead decreases to a set value and the distance measured by the left module is greater than the set value, the vehicle moves laterally to the left. If the maximum lateral movement distance is not exceeded, the vehicle moves forward until there is no obstacle ahead and the distance measured by the front right module is greater than the set value.
[0009] Step S22: When the distance measured by the right module is greater than 1.5 times the set value, it moves horizontally to the right;
[0010] Step S23: When the right module distance is equal to the set value, there is no obstacle ahead, and the vehicle has not returned to the line, the vehicle moves forward until the right measured distance is greater than 1.5 times the set value, then moves horizontally to the right until the vehicle returns to the line and continues patrolling.
[0011] Step S31: When there is no obstacle ahead and the distance measured by the left front module is greater than half the width of the vehicle body, the vehicle moves forward. If the distance directly ahead decreases to a set value and the distance measured by the right side module is greater than the set value, the vehicle moves laterally to the right. If the maximum lateral movement distance is not exceeded, the vehicle moves forward until there is no obstacle ahead and the distance measured by the front left side module is greater than the set value.
[0012] Step S32: until the measured distance of the left module is greater than 1.5 times the set value, then move horizontally to the left;
[0013] Step S33: until the left module distance is equal to the set value, there is no obstacle in front, and it has not returned to the line, move forward until the left measured distance is greater than 1.5 times the set value, move horizontally to the left, until it returns to the line, and continue to patrol the line.
[0014] Furthermore, the cross-shaped obstacle includes a full cross-shaped obstacle, a half cross-shaped obstacle, a right-angle obstacle and a rectangular obstacle.
[0015] Furthermore, the human body sensing module is an infrared detection module.
[0016] Furthermore, the openmv camera module is used to identify the movement and stillness of obstacles in front.
[0017] Furthermore, the set value represents a safety distance in the corresponding direction, and the safety distance is generally set to 10cm-20cm.
[0018] Furthermore, the maximum distance of the lateral movement is set to half of the distance between two obstacles.
[0019] Furthermore, when the ultrasonic ranging module is used to identify a rapidly approaching object, the robot promptly moves a distance to the side for safe emergency avoidance and increases the intensity of the light reminder.
[0020] Furthermore, the openmv camera module is used to identify the movement and stillness of obstacles in front.
[0021] The control method and system of the present invention have at least the following beneficial technical effects:
[0022] (1) It can easily pass through the paths between bookcases, and uses ultrasonic mixed with openmv vision to identify obstacles for fast and effective obstacle avoidance. The error rate is much lower than that of existing technical solutions. It has a better obstacle avoidance effect for most obstacles such as footrests, stools and protruding walls between library bookcases.
[0023] (2) For students or teachers who are retrieving books and other obstacles, the library has parking waiting, light reminder and detour solutions that are adapted to the library environment. While not affecting the retrieval of books, the library robot minimizes the impact and experience of students or teachers in retrieving books.
[0024] (3) Compared with the existing scheme, we have added a response to the possible collision with students or teachers who are not paying attention to the book robot while looking down at their mobile phones or reading books. We use a human body sensing module, ultrasound and openmv hybrid recognition to better identify the distance and direction of students or teachers, so as to make corresponding reminders and quick and safe avoidance actions, reduce safety hazards and ensure the normal operation of the book robot.
[0025] (4) For the special case of the book robot retrieving books: the book is blocked by an obstacle in front of the bookcase where the book is located, making it impossible to retrieve the book. For this special case, our book robot first uses the human body sensing module to determine whether there is someone in front of the bookcase. If there is, it will light up and display a message asking for help on the screen, giving full play to the role of students and teachers in helping to retrieve the book or remove the obstacle. If there is no student or teacher, the book will be ignored and the book information will be marked. When the book is placed, the message that the book cannot be retrieved will be transmitted. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] The present invention is further described with reference to the accompanying drawings. However, the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative effort.
[0027] Figure 1 The figure is a flow chart of an obstacle avoidance control method for a library transport robot according to an embodiment of the present invention.
[0028] Figure 2 This is a schematic diagram of the module arrangement on the chassis of a library handling robot according to an embodiment of the present invention. DETAILED DESCRIPTION
[0029] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. Examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended only to explain the present invention and are not to be construed as limiting the present invention.
[0030] Example
[0031] like Figure 1 As shown, the obstacle avoidance control method for a library transport robot provided by the present invention comprises the following steps:
[0032] A robot is provided, the robot comprising an ultrasonic ranging module, an openmv camera module and a human body sensing module, the ultrasonic ranging module comprising a left front module, a right front module, a front module, a left module and a right module;
[0033] Step S1: When the distance measured by the module directly in front is less than or equal to the set value, it indicates that there is an obstacle ahead. When there are no obstacles measured by the left and right modules, and the distance measured by the right module is less than or equal to the distance measured by the left module, the robot moves to the left and proceeds to step S21. If the distance measured by the right module is greater than the distance measured by the left module, the robot moves to the right and proceeds to step S31.
[0034] Step S21: When there is no obstacle ahead and the distance measured by the right front module is greater than half the width of the vehicle body, the vehicle moves forward. If the distance directly ahead decreases to a set value and the distance measured by the left module is greater than the set value, the vehicle moves laterally to the left. If the maximum lateral movement distance is not exceeded, the vehicle moves forward until there is no obstacle ahead and the distance measured by the front right module is greater than the set value.
[0035] Step S22: When the distance measured by the right module is greater than 1.5 times the set value, it moves horizontally to the right;
[0036] Step S23: When the right module distance is equal to the set value, there is no obstacle ahead, and the vehicle has not returned to the line, the vehicle moves forward until the right measured distance is greater than 1.5 times the set value, then moves horizontally to the right until the vehicle returns to the line and continues patrolling.
[0037] Step S31: When there is no obstacle ahead and the distance measured by the left front module is greater than half the width of the vehicle body, the vehicle moves forward. If the distance directly ahead decreases to a set value and the distance measured by the right side module is greater than the set value, the vehicle moves laterally to the right. If the maximum lateral movement distance is not exceeded, the vehicle moves forward until there is no obstacle ahead and the distance measured by the front left side module is greater than the set value.
[0038] Step S32: until the measured distance of the left module is greater than 1.5 times the set value, then move horizontally to the left;
[0039] Step S33: until the left module distance is equal to the set value, there is no obstacle in front, and it has not returned to the line, move forward until the left measured distance is greater than 1.5 times the set value, move horizontally to the left, until it returns to the line, and continue to patrol the line.
[0040] like Figure 2 As shown, the robot includes an ultrasonic ranging module, an openmv camera module and a human body sensing module. The ultrasonic ranging module includes a left front module, a right front module, a front module, a left module and a right module.
[0041] Specifically, the cross-shaped obstacles include full cross-shaped obstacles, half cross-shaped obstacles, right-angle obstacles and rectangular obstacles.
[0042] Specifically, the human body sensing module is an infrared detection module.
[0043] Specifically, the openmv camera module is used to identify the movement and stillness of obstacles in front.
[0044] Specifically, the set value represents the safety distance in the corresponding direction, and the safety distance is generally set to 10cm-20cm.
[0045] Specifically, the maximum distance of the lateral movement is set to half of the distance between the two bookshelves.
[0046] Specifically, when the ultrasonic ranging module is used to identify a rapidly approaching object, the robot promptly moves a distance to the side for safe emergency avoidance and increases the intensity of the light reminder.
[0047] If someone is trying to get a book between the bookshelves, the robot might not be able to get through. Without disturbing students or teachers, the system uses flashing lights to remind them and uses the car's display to indicate when the obstacle is moving. If the obstacle doesn't move, it waits five seconds and then takes a detour.
[0048] There are footrests or large mobile bookcase carts between the bookcases. The system uses cross-shaped obstacle avoidance recognition to perform specific obstacle avoidance maneuvers. If the ultrasonic triangulation (three ultrasonic modules at the front and sides) indicates that the route ahead is smaller than the vehicle body, the system replans the route and uses a different route for patrol. If a book is on a bookcase next to an obstacle, the system retrieves other books first, then returns and rechecks. If the obstacle is still there, the book is ignored and marked. If someone is nearby, the display will display a prompt, asking them to help retrieve the book or clear the obstacle.
[0049] The bookcase areas on each floor vary in size and are relatively dispersed. The system assigns robots to different areas, using a "one (reception robot) to many (book retrieval robots)" model to reduce the workload and burden of each robot.
[0050] To determine whether the obstacle is a person or an object, the system uses a human body sensing module (i.e., infrared detection module) or a front openmv module to identify the movement of the obstacle in front. If the obstacle is moving and conforms to the shape of a human body, it means that a person is moving.
[0051] Students looking at their phones or reading could collide with the robot while it's moving. The system will flash warning lights and display pedestrian avoidance information on the robot's display. When ultrasonic sensors detect a rapidly approaching object, they will promptly move sideways for a safe, emergency avoidance maneuver and increase the intensity of the warning lights.
[0052] In summary, the technical solution of the present invention uses ultrasonic waves mixed with OpenMV visual recognition to quickly and effectively avoid obstacles, with a much lower error rate than existing technical solutions. It has better obstacle avoidance effects for most obstacles between library bookcases, such as footrests, stools, and potentially protruding walls. The present invention also adds a response to potential collisions with students or teachers who are not paying attention to the book robot while it is in motion. By using a human body sensing module, ultrasonic waves, and OpenMV hybrid recognition, the robot can better identify the distance and direction of students or teachers, thereby providing corresponding reminders and quick and safe avoidance actions, reducing safety hazards and ensuring the normal operation of the book robot.
[0053] The obstacle avoidance control method for a library handling robot provided in the above-mentioned embodiments of the present invention focuses on employing different approaches to address various situations, based on the specific library environment and the characteristics of the robot. Field investigations were conducted in libraries to determine the specific behavior of the robot during patrol operations, tailored to different actual library environments. This approach primarily utilizes ultrasonic waves from multiple locations, along with the combined application of an OpenMV module and an infrared detection module. The ultrasonic ranging module generates ultrasonic waves using an ultrasonic generator, which then receives the ultrasonic waves reflected by obstacles using a receiving probe. The distance to the obstacle is calculated based on the time difference between the reflected and received ultrasonic waves. The human infrared sensing module and OpenMV are then combined to identify the obstacle's position and movement, and efficient obstacle avoidance actions are performed accordingly based on this processed information.
[0054] It should be particularly pointed out that in other embodiments of the present invention, within the scope of the above description, different specific selections of steps, parameters, strategies, modules and models can achieve the technical effects of the present invention, so they will not be listed one by one.
[0055] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the claims and their equivalents.
Claims
1. An obstacle avoidance control method for a library handling robot, characterized in that: The method comprises the following steps: setting a robot, the robot comprising an ultrasonic ranging module, an openmv camera module and a human body sensing module, the ultrasonic ranging module comprising a left front module, a right front module, a front module, a left module and a right module; Step S1: Line patrol movement. When the distance measured by the module directly in front is less than or equal to the set value, it indicates that there is an obstacle in front. When there is no obstacle measured by the left and right modules, and the distance measured by the right module is less than or equal to the distance measured by the left module, it moves horizontally to the left and goes to step S21. If the distance measured by the right module is greater than the distance measured by the left module, it moves horizontally to the right and goes to step S31. Step S21: When there is no obstacle in front and the distance measured by the right front module is greater than the half width of the vehicle body, move forward. If the distance in front becomes smaller than the set value and the distance measured by the left module is greater than the set value, move sideways to the left. When the maximum lateral movement distance is not exceeded, move forward until there is no obstacle in front and the distance measured by the front right module is greater than the set value. Step S22: When the measured distance of the right module is greater than 1.5 times the set value, it moves horizontally to the right; Step S23: When the right module distance is equal to the set value, there is no obstacle in front, and it has not returned to the line, move forward until the right measured distance is greater than 1.5 times the set value, move to the right side, until it returns to the line, and continue to patrol the line; Step S31: When there is no obstacle in front and the distance measured by the left front module is greater than the half width of the vehicle body, move forward. If the distance in front becomes smaller than the set value and the distance measured by the right module is greater than the set value, move sideways to the right. When the maximum lateral movement distance is not exceeded, move forward until there is no obstacle in front and the distance measured by the front left module is greater than the set value. Step S32: until the measured distance of the left module is greater than 1.5 times the set value, then move horizontally to the left; Step S33: until the left module distance is equal to the set value, there is no obstacle in front, and it has not returned to the line, move forward until the left measured distance is greater than 1.5 times the set value, move horizontally to the left, until it returns to the line, and continue to patrol the line.
2. The obstacle avoidance control method for a library handling robot according to claim 1, characterized in that: The obstacles include full cross obstacles, half cross obstacles, right-angle obstacles and rectangular obstacles.
3. The obstacle avoidance control method for a library handling robot according to claim 1, characterized in that: The human body sensing module is an infrared detection module.
4. The obstacle avoidance control method for a library handling robot according to claim 1, characterized in that: The openmv camera module is used to identify the movement and stillness of obstacles in front.
5. The obstacle avoidance control method for a library handling robot according to claim 1, characterized in that: The set value represents the safety distance in the corresponding direction, and the safety distance is generally set to 10cm-20cm.
6. The obstacle avoidance control method for a library handling robot according to claim 1, characterized in that: The maximum distance of the lateral movement is set to half the distance between two obstacles.
7. The obstacle avoidance control method for a library handling robot according to claim 4, characterized in that: When the ultrasonic ranging module is used to identify a rapidly approaching object, the robot promptly moves to the side for a certain distance to perform a safe emergency avoidance and increases the intensity of the light reminder.
8. An obstacle avoidance control system for a library transport robot implementing the control method according to any one of claims 1 to 7, characterized in that: The openmv camera module is used to identify the movement and stillness of obstacles in front.
Citation Information
Patent Citations
Low-cost autonomous obstacle avoidance method for mobile robot
CN105487536A
Obstacle detection system for work vehicle
WO2019187883A1
