Control method, control device and computer readable medium of mobile robot
By dynamically adjusting the motion mode and ambient light color of the mobile robot and matching preset conditions based on environmental information, the problem of single motion mode in the prior art is solved, and adaptability and safety improvement in multiple scenarios is achieved.
Patent Information
- Application Number
- CN202211099093.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-06
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2042-09-06
AI Technical Summary
The existing mobile robots have a single motion mode, which is difficult to adapt to complex and changeable operating scenarios, resulting in the inability to effectively adjust the operating speed and acceleration in different environments.
By obtaining environmental information, switching or maintaining the motion mode of the mobile robot, including the first mode and the second mode, the mode switching is determined based on the environmental information matching preset conditions, and the controller cooperates with the environment detection unit to realize dynamic adjustment of the motion mode. And expand dangling obstacles in the raster map if necessary for increased safety.
It realizes the adaptability of mobile robots in various operating scenarios, improves the user experience, and dynamically adjusts the motion mode and ambient light color, improves the safety and operation efficiency of the robots in different environments.
Smart Images

Figure CN115617035B_ABST
Abstract
Description
Technical Field
[0001] The present invention generally relates to the field of robotics, and in particular to a control method, a control device and a computer-readable medium for a mobile robot. Background Art
[0002] A mobile robot is an autonomous system that has certain perception capabilities, can move autonomously in an environment with obstacles, and can complete certain tasks. Current mobile robots usually only have one movement mode, and the maximum operating speed of mobile robots is fixed, making it difficult to adapt to complex and changing operating scenarios.
[0003] The contents of the background technology section are merely the technologies known to the inventors and do not necessarily represent the prior art in the field. Summary of the invention
[0004] The present invention provides a control method, a control device and a computer-readable medium for a mobile robot, so as to solve the problem that the current mobile robot has a single motion mode and is difficult to adapt to various operation scenarios.
[0005] The present invention provides a control method for a mobile robot, comprising:
[0006] Obtain environmental information of the environment in which the mobile robot is located;
[0007] Switching or maintaining the motion mode of the mobile robot according to the environmental information;
[0008] Wherein, the motion mode of the mobile robot includes at least a first mode and a second mode;
[0009] The maximum operating speed of the mobile robot in the second mode is lower than the maximum operating speed in the first mode; and / or,
[0010] The maximum acceleration of the mobile robot in the second mode is lower than the maximum acceleration in the first mode; and / or,
[0011] The rotation speed of the mobile robot in the second mode is lower than the rotation speed in the first mode.
[0012] According to one aspect of the present invention, the environmental information includes one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, whether there are suspended obstacles, the number of suspended obstacles, the width of the channel in the target path, the number of robots, and the current time.
[0013] According to one aspect of the present invention, the step of switching or maintaining the motion mode of the mobile robot according to environmental information comprises:
[0014] matching the environmental information with a first preset condition corresponding to the first mode and a second preset condition corresponding to the second mode respectively;
[0015] According to the matching result and the current motion mode of the mobile robot, the motion mode of the mobile robot is maintained or switched.
[0016] According to one aspect of the present invention, the step of maintaining or switching the motion mode of the mobile robot according to the matching result and the current motion mode of the mobile robot comprises:
[0017] If the mobile robot is currently in the first mode and the environmental information matches the first preset condition, maintaining the mobile robot in the first mode;
[0018] If the mobile robot is currently in the first mode and the environmental information matches the second preset condition, switching the mobile robot to the second mode;
[0019] If the mobile robot is currently in the second mode and the environmental information matches the first preset condition, switching the mobile robot to the first mode;
[0020] If the mobile robot is currently in the second mode and the environmental information matches the second preset condition, the mobile robot is maintained in the second mode.
[0021] According to one aspect of the present invention, the step of switching the motion mode of the mobile robot comprises:
[0022] Get the current moving speed of the mobile robot;
[0023] Determine whether the current moving speed of the mobile robot is greater than a preset speed threshold;
[0024] If the current moving speed of the mobile robot is greater than the preset speed threshold, the mobile robot is controlled to stop moving;
[0025] Control the mobile robot to switch motion modes;
[0026] If the current moving speed of the mobile robot is less than or equal to the preset speed threshold, the mobile robot is controlled to directly switch the motion mode.
[0027] According to one aspect of the present invention, the mobile robot establishes a corresponding grid map according to the acquired environmental point cloud information in the first mode;
[0028] In the second mode, the mobile robot establishes a corresponding grid map according to the acquired environmental point cloud information, and determines whether there are suspended obstacles in the grid map. If there are suspended obstacles, the suspended obstacles in the grid map are additionally expanded according to a preset expansion coefficient.
[0029] According to one aspect of the present invention, the mobile robot is provided with an atmosphere light; the control method further comprises switching the light color of the atmosphere light according to the movement mode of the mobile robot.
[0030] The present invention also provides a control device for a mobile robot, comprising:
[0031] An environment detection unit configured to detect environmental information of an environment in which the mobile robot is located;
[0032] A controller is communicatively connected to the environment detection unit, and the controller is configured to execute the control method of the mobile robot as described in any one of claims 1-7.
[0033] According to one aspect of the present invention, the environment detection unit includes a visual detection module and / or a time module;
[0034] Among them, the visual detection module is configured to detect one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, the number of suspended obstacles, the channel width in the target path, and the number of robots in the environment where the mobile robot is located; the time module is configured to obtain the current time.
[0035] The present invention also provides a computer-readable medium having instructions stored thereon, and when the instructions are executed by a processor, the control method of the mobile robot as described in any one of claims 1 to 7 is implemented.
[0036] Compared with the prior art, the embodiments of the present invention provide a control method, a control device and a computer-readable medium for a mobile robot. By switching the motion mode of the mobile robot according to the environmental information of the environment in which the mobile robot is located, the mobile robot can be adapted to a variety of operating scenarios, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0038] Figure 1 A schematic diagram of a mobile robot according to an embodiment of the present invention is shown;
[0039] Figure 2 A flow chart showing a method for controlling a mobile robot according to an embodiment of the present invention is shown;
[0040] Figure 3 A flow chart showing a method for controlling a mobile robot according to a preferred embodiment of the present invention is shown;
[0041] Figure 4 A flow chart of a path planning method for a mobile robot according to an embodiment of the present invention is shown;
[0042] Figure 5 A control device for a mobile robot according to an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0043] In the following, only some exemplary embodiments are briefly described. As those skilled in the art will appreciate, the described embodiments may be modified in various ways without departing from the spirit or scope of the present invention. Therefore, the drawings and descriptions are considered to be exemplary and non-restrictive in nature.
[0044] In the description of the present invention, it should be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.
[0045] In the description of the present invention, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0046] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may include that the first and second features are in direct contact, or may include that the first and second features are not in direct contact but are in contact through another feature between them. Moreover, a first feature being "above", "above" and "above" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" and "below" a second feature includes that the first feature is directly above and obliquely above the second feature, or simply means that the first feature is lower in level than the second feature.
[0047] The disclosure below provides many different embodiments or examples to realize different structures of the present invention. In order to simplify the disclosure of the present invention, the parts and settings of specific examples are described below. Of course, they are only examples, and the purpose is not to limit the present invention. In addition, the present invention can repeat reference numbers and / or reference letters in different examples, and this repetition is for the purpose of simplicity and clarity, which itself does not indicate the relationship between the various embodiments and / or settings discussed. In addition, the present invention provides various specific examples of processes and materials, but those of ordinary skill in the art can appreciate the application of other processes and / or the use of other materials.
[0048] The embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0049] Figure 1 A mobile robot 100 is shown in one embodiment according to the present invention. Figure 2 A control method 200 of a mobile robot according to an embodiment of the present invention is shown. Figure 1 and Figure 2 Describe in detail.
[0050] like Figure 1 As shown, the mobile robot 100 may include a housing 110, a chassis 120 and a mobile unit 130, wherein the housing 110 may be used to carry items, the chassis 120 may be arranged at the bottom of the housing 110, and the mobile unit 130 is used to drive the chassis 120 to move. The mobile robot 100 may also include an environment detection unit, a function controller, a bottom layer controller and a component controller, wherein the environment detection unit is used to detect the environment information around the mobile robot 100, the function controller is used for the user to operate the mobile robot 100, the bottom layer controller is used for map generation and path planning, and the component controller is used to control the mobile unit 130 and the environment detection unit.
[0051] like Figure 1As shown, the control method 200 includes the following steps, which are described in detail below.
[0052] In step S210: obtain environmental information of the environment in which the mobile robot is located.
[0053] The environmental information may include one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, whether there are overhead obstacles, the number of overhead obstacles, the width of the channel in the target path, the number of robots, and the current time. For example, in this embodiment, the environmental information includes the number of people, the number of children, and the number of overhead obstacles.
[0054] The acquisition of environmental information can be achieved through the environmental detection unit of the mobile robot. The environmental detection unit may include a visual detection module and a time module, wherein the time module is used to obtain the current time, and the visual detection module includes one or more of a laser radar system, an ultrasonic sensor, and an infrared sensor. The visual detection module may collect one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, whether there are suspended obstacles, the number of suspended obstacles, the width of the channel in the target path, and the number of robots in the working area where the mobile robot is located. The underlying processor may use the environmental information collected by the visual detection module to model and construct an environmental map, and generate different map layers in the process of constructing the environmental map, such as a static layer, a dynamic obstacle layer, an ultrasonic layer map, a visual layer, etc., and fuse these layers to obtain a positioning map for the mobile robot to perform positioning and navigation.
[0055] The laser radar system can be set at the slit of the shell of the mobile robot, so that it is easy to send out laser signals to detect surrounding objects. The laser radar system can include an array of photoelectric receiving units and an array of laser emitting units. The laser radar system can rotate along a set plane, so that the array of photoelectric receiving units of the laser radar system can form a scanning cylinder, which increases the scanning area, facilitates the acquisition of the details of the object shape, and avoids the situation where the mobile robot bumps into obstacles. If the laser radar system only includes a single photoelectric receiving unit and a single laser emitting unit, the laser radar system can only measure the shape of an object in a circle after rotating along the set plane, and cannot obtain the shape of complex objects in time, which is easy to cause collisions and endanger personal and property safety. Optionally, the above-mentioned set plane can be a horizontal plane, which is convenient for the mobile robot to detect objects during movement. In addition, other set planes can be selected according to user needs, such as vertical planes, inclined planes, etc.
[0056] In step S220: the motion mode of the mobile robot is switched or maintained according to the acquired environmental information.
[0057] like Figure 1As shown, the mobile unit 130 of the mobile robot 100 may include at least two sets of driving wheels 131, each set of driving wheels 131 is respectively located on one side of the chassis 120, and the travel speed of the driving wheels 131 is controlled by the element controller. Specifically, among the driving wheels 131 of the mobile unit 130, at least one set is used as a left driving wheel, and at least one set is used as a right driving wheel.
[0058] The mobile robot may have two or more motion modes. In the present embodiment, the motion modes of the mobile robot include a first mode and a second mode, the maximum operating speed of the mobile robot in the second mode is lower than the maximum operating speed in the first mode, and / or the maximum acceleration of the mobile robot in the second mode is lower than the maximum acceleration in the first mode, and / or the rotation speed of the mobile robot in the second mode is lower than the rotation speed in the first mode. Among them, the maximum operating speed of the mobile robot in the second mode may be 75% of the maximum operating speed in the first mode, the time taken by the mobile robot to accelerate to a predetermined speed in the second mode may be 1.5 times the time taken to accelerate to the predetermined speed in the first mode, that is, the maximum acceleration of the mobile robot 100 in the second mode may be 66.75% of the maximum acceleration in the first mode; the rotation speed of the mobile robot 100 in the second mode may be 80% of the rotation speed in the first mode. For example, in this embodiment, the maximum operating speed of the mobile robot 100 in the first mode is 1.2m / s, the maximum acceleration is 0.4m / s, and the rotation speed is 0.125r / s. The maximum operating speed of the mobile robot 100 in the second mode is 0.9m / s, the maximum acceleration is approximately 0.267m / s, and the rotation speed is 0.1r / s.
[0059] According to one embodiment of the present invention, the mobile robot can obtain environmental point cloud information of the surrounding environment through a laser radar system (in other embodiments, the environmental point cloud information can also be obtained through a camera). In the first mode, the mobile robot can establish a corresponding grid map based on the obtained environmental point cloud information. The grid map can be the above-mentioned positioning map or a part of the above-mentioned positioning map. In the second mode, the mobile robot can establish a corresponding grid map based on the obtained environmental point cloud information, and determine whether there is a suspended obstacle in the grid map. If there is a suspended obstacle, the suspended obstacle in the grid map is additionally expanded according to a preset expansion coefficient, so that the mobile machine has a greater safety distance from the suspended obstacle when passing through the suspended obstacle, thereby improving the safety of the mobile robot. A suspended obstacle refers to an obstacle suspended in the air, such as a table corner. In a number of vertically adjacent grid cells in the grid map, there is an obstacle point cloud above a preset height, and there is no point cloud below the preset height, then the obstacle point cloud is a suspended obstacle.
[0060] In a specific implementation, multiple preset conditions may be set. For example, in this embodiment, a first preset condition and a second preset condition are set. The first preset condition may be, for example, that the number of people in the environment where the mobile robot is located is less than 11, the number of children is less than 1, and the number of suspended obstacles is less than 6, and the second preset condition may be, for example, that the number of people in the environment where the mobile robot is located is greater than 10, the number of children is greater than 0, or the number of suspended obstacles is greater than 5.
[0061] The acquired environmental information of the environment in which the mobile robot is located can be matched with the first preset condition and the second preset condition respectively, and the motion mode of the mobile robot can be maintained or switched according to the matching result and the current motion mode of the mobile robot, so that the mobile robot is suitable for the operation scene. The user can also switch the motion mode of the mobile robot by manually operating the function controller of the mobile robot to improve the user experience.
[0062] Specifically, if the mobile robot is currently in the first mode and the environmental information matches the first preset condition, the mobile robot is maintained in the first mode; if the mobile robot is currently in the first mode and the environmental information matches the second preset condition, the mobile robot is switched to the second mode; if the mobile robot is currently in the second mode and the environmental information matches the first preset condition, the mobile robot is switched to the first mode; if the mobile robot is currently in the second mode and the environmental information matches the second preset condition, the mobile robot is maintained in the second mode.
[0063] Among them, when switching the motion mode of the mobile robot, the current moving speed of the mobile robot can be obtained to determine whether the current moving speed of the mobile robot is greater than a preset speed threshold. If the current moving speed of the mobile robot is greater than the preset speed threshold, the mobile robot is controlled to stop moving, and after the mobile robot stops moving, the mobile robot is controlled to switch the motion mode; if the current moving speed of the mobile robot is less than or equal to the preset speed threshold, the mobile robot is controlled to directly switch the motion mode.
[0064] Optionally, the mobile unit 130 of the mobile robot 100 may also include at least two groups of driven wheels (not shown in the figure), wherein at least one group of driven wheels is used as left driven wheels, and at least one group of driven wheels is used as right driven wheels, and the left driven wheels and the right driven wheels are used to assist the left driving wheels and the right driving wheels in driving the shell 110 of the mobile robot 100 to move, thereby reducing the load pressure on the driving wheels 131.
[0065] According to an embodiment of the present invention, the control method 200 may further include: switching the light color of the atmosphere light according to the motion mode of the mobile robot.
[0066] Specifically, Figure 1As shown, the mobile robot 100 may be provided with an atmosphere light 140, which has a variety of light colors, and the light color of the atmosphere light 140 corresponds to the motion mode of the mobile robot 100. For example, in this embodiment, when the mobile robot 100 is in the first mode, the light color of the atmosphere light 140 is green, and when the mobile robot 100 is in the second motion mode, the light color of the atmosphere light 140 is red.
[0067] According to one embodiment of the present invention, Figure 1 As shown, a turn signal unit 150 is provided on the chassis 120, and each turn signal unit 150 includes at least one turn signal. The component controller can control the turn signal in the turn signal unit 150 to light up in a preset manner when the mobile robot 100 turns, so as to alert pedestrians. Optionally, the component controller is configured to control the turn signal in the turn signal unit 150 to light up in a preset manner when the speed difference between the drive wheels 131 on both sides of the chassis 120 (for example, the left drive wheel and the right drive wheel) is greater than a preset value. Optionally, the mobile robot 100 also includes a voice module, and the voice module is electrically connected to the component controller. The component controller is configured to control the voice module to issue a voice prompt message when the mobile robot 100 turns, so as to alert pedestrians and ensure the safety of pedestrians and the mobile robot 100.
[0068] Figure 3 A control method 300 of a mobile robot according to a preferred embodiment of the present invention is shown below. Figure 3 Detailed description.
[0069] In addition to the first mode and the second mode as described above, the mobile robot also has an intermediate mode. The maximum operating speed of the mobile robot in the intermediate mode is between the maximum operating speed in the first mode and the operating speed in the second mode, and / or the maximum acceleration of the mobile robot in the intermediate mode is between the maximum acceleration in the first mode and the maximum acceleration in the second mode, and / or the rotation speed of the mobile robot in the intermediate mode is between the rotation speed in the first mode and the rotation speed in the second mode. For example, in this embodiment, the maximum operating speed of the mobile robot in the first mode is 1.2m / s, the maximum acceleration is 0.4m / s, and the rotation speed is 0.125r / s. The maximum operating speed of the mobile robot in the intermediate mode is 1.05m / s, the maximum acceleration is about 0.33m / s, and the rotation speed is 0.113r / s. The maximum operating speed of the mobile robot in the second mode is 0.9m / s, the maximum acceleration is about 0.267m / s, and the rotation speed is 0.1r / s.
[0070] Optionally, the mobile robot can obtain environmental point cloud information of the surrounding environment through a laser radar system. In the first mode, the mobile robot can establish a corresponding grid map based on the obtained environmental point cloud information; in the intermediate mode and the second mode, the mobile robot can establish a corresponding grid map based on the obtained environmental point cloud information, and determine whether there are suspended obstacles in the grid map. If there are suspended obstacles, the suspended obstacles in the grid map are expanded according to a preset expansion coefficient, wherein the expansion coefficient of the mobile robot in the intermediate mode is lower than the expansion coefficient in the second mode.
[0071] like Figure 3 As shown, the control method 300 includes the following steps, which are described in detail below.
[0072] In step S310: obtaining environmental information of the environment in which the mobile robot is located, wherein the environmental information includes the number of people, the number of children, the number of animals, whether there are suspended obstacles, the number of suspended obstacles and the current time.
[0073] In step S320: the motion mode of the mobile robot is switched or maintained according to the acquired environmental information. The acquired environmental information may be scored, and the motion mode of the mobile robot may be switched or maintained according to the scoring result of the environmental information.
[0074] Specifically, each element in the environmental information can be scored, and the scores can be accumulated to obtain the score of the environmental information. For example, each person can be scored 10 points, each child can be scored 100 points, each animal can be scored 20 points, if there are suspended obstacles in the environment, 10 points can be scored, each suspended obstacle can be scored 20 points, if the current time is within the preset time period, 100 points can be scored, if the current time is outside the preset time period, no points will be scored, where the preset time period can be a peak traffic time period, such as 7 to 9 o'clock. If the acquired environmental information contains 3 people and 1 suspended obstacle, there are no children and animals, and the current time is not within the preset time period, then the score of the environmental information is 60 points.
[0075] In this embodiment, a first preset condition, a second preset condition and a third preset condition are provided. The first preset condition may be, for example, that the score of the environmental information is lower than 60, the second preset condition may be, for example, that the score of the environmental information is higher than 100, and the third preset condition may be, for example, that the score of the environmental information is between 60 and 100 (including 60 and 100).
[0076] After scoring the environmental information of the environment in which the mobile robot is located, the scoring of the environmental information can be matched with the first preset condition, the second preset condition, and the third preset condition respectively, and the motion mode of the mobile robot can be maintained or switched according to the matching result and the current motion mode of the mobile robot, so that the mobile robot can be applied to a variety of operation scenarios and improve the user experience. For example, when the mobile robot is in the first mode, if the scoring of the environmental information of the environment in which the mobile robot is located is 30 points, the mobile robot is maintained in the first mode, if the scoring of the environmental information of the environment in which the mobile robot is located is 80 points, the motion mode of the mobile robot is switched to the middle mode, and if the scoring of the environmental information of the environment in which the mobile robot is located is 120 points, the motion mode of the mobile robot is switched to the second mode.
[0077] Figure 4 A flow chart of a path planning method 400 for a mobile robot according to an embodiment of the present invention is shown, wherein each step may be performed as follows during operation: Figure 4 The steps are performed sequentially in the order shown, or multiple steps may be performed simultaneously according to actual conditions, which is not limited here. Each step of the path planning method is described in detail below.
[0078] In step S410: determining a positioning map of the current working area, wherein the positioning map is a map formed by the mobile robot mapping its environment.
[0079] Specifically, the bottom controller of the mobile robot can model the environment information collected by the environment detection unit to construct an environment map. In this embodiment, the environment information of the working area of the mobile robot is collected by the laser radar system, ultrasonic sensor and infrared sensor, and the bottom processor uses this environment information to create a map. In the process of creating the map, different map layers are generated, such as static layer, dynamic obstacle layer, ultrasonic layer map, visual layer, etc. These layers are fused to obtain a positioning map for the mobile robot to perform positioning and navigation.
[0080] In step S420: planning a route according to the positioning map. Step S420 includes:
[0081] Step S421: determining the current position and target position of the robot according to the positioning map;
[0082] Step S422: determining the location of the obstacle according to the positioning map;
[0083] Step S423: planning a path according to the current position, the target position and the obstacle position.
[0084] Specifically, in step S421, the target position is a position set by the user, or a position to be moved to determined by the processing system of the mobile robot, wherein the target position may be a position to be moved to next during the moving process, or a position to be finally reached by the mobile robot. The current position is the real-time position information of the mobile robot determined by the position sensor of the robot.
[0085] In step S422, the location map is used to determine the position of the obstacle on the location map. Through this implementation, the mobile robot can determine the position of the obstacle and plan the route without changing the navigation accuracy.
[0086] Step S430: moving according to the path.
[0087] Figure 5 FIG. 5 shows a control device 500 for a mobile robot according to an embodiment of the present invention. Figure 5 As shown, the control device 500 includes an environment detection unit 510 and a controller 520, wherein the environment detection unit 510 is configured to detect environmental information of the environment in which the mobile robot is located, and the controller 520 is communicatively connected to the environment detection unit 510, and the controller 520 is configured to execute the control method of the mobile robot as described above.
[0088] Specifically, the environment detection unit 510 includes a visual detection module 511 and / or a time module 512, wherein the time module 512 is used to obtain the current time, and the visual detection module 511 includes one or more of a lidar system, an ultrasonic sensor, and an infrared sensor. The visual detection module 511 can collect one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, whether there are suspended obstacles, the number of suspended obstacles, the channel width in the target path, and the number of robots in the working area where the mobile robot is located.
[0089] The present invention also provides a computer-readable medium. The computer-readable medium stores instructions, and when the instructions are executed by a processor, the control method of the mobile robot described above is implemented.
[0090] Finally, it should be noted that the above description is only an embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for a mobile robot, comprising: Acquiring environmental information of the environment in which the mobile robot is located, wherein the surrounding environment is detected by an environmental detection unit of the mobile robot to acquire the environmental information, wherein the environmental information includes one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, whether there are suspended obstacles, the number of suspended obstacles, the number of robots, and the current time; Switching or maintaining the motion mode of the mobile robot according to the environmental information; Wherein, the motion mode of the mobile robot includes at least a first mode and a second mode; The maximum operating speed of the mobile robot in the second mode is lower than the maximum operating speed in the first mode; and / or, The maximum acceleration of the mobile robot in the second mode is lower than the maximum acceleration in the first mode; and / or, The rotation speed of the mobile robot in the second mode is lower than the rotation speed in the first mode; Wherein, the mobile robot establishes a corresponding grid map according to the acquired environmental point cloud information in the first mode; Among them, the mobile robot establishes a corresponding grid map according to the acquired environmental point cloud information in the second mode, and determines whether there are suspended obstacles in the grid map. If there are suspended obstacles, the suspended obstacles in the grid map are additionally expanded according to a preset expansion coefficient.
2. The control method of the mobile robot according to claim 1, wherein: The environmental information also includes the channel width in the target path; Among them, in a number of vertically adjacent grid units of the grid map, there is an obstacle point cloud above a preset height, and there is no point cloud below the preset height, then the obstacle point cloud is a suspended obstacle.
3. The control method of the mobile robot according to claim 1, wherein: The step of switching or maintaining the motion mode of the mobile robot according to environmental information comprises: matching the environmental information with a first preset condition corresponding to the first mode and a second preset condition corresponding to the second mode respectively; According to the matching result and the current motion mode of the mobile robot, the motion mode of the mobile robot is maintained or switched.
4. The control method of the mobile robot according to claim 3, wherein: The step of maintaining or switching the motion mode of the mobile robot according to the matching result and the current motion mode of the mobile robot comprises: If the mobile robot is currently in the first mode and the environmental information matches the first preset condition, maintaining the mobile robot in the first mode; If the mobile robot is currently in the first mode and the environmental information matches the second preset condition, switching the mobile robot to the second mode; If the mobile robot is currently in the second mode and the environmental information matches the first preset condition, switching the mobile robot to the first mode; If the mobile robot is currently in the second mode and the environmental information matches the second preset condition, the mobile robot is maintained in the second mode.
5. The control method of the mobile robot according to claim 1, wherein: The step of switching the motion mode of the mobile robot comprises: Get the current moving speed of the mobile robot; Determine whether the current moving speed of the mobile robot is greater than a preset speed threshold; If the current moving speed of the mobile robot is greater than the preset speed threshold, the mobile robot is controlled to stop moving; Control the mobile robot to switch motion modes; If the current moving speed of the mobile robot is less than or equal to the preset speed threshold, the mobile robot is controlled to directly switch the motion mode.
6. The control method of the mobile robot according to claim 1, wherein: The mobile robot is provided with an atmosphere light; the control method further comprises switching the light color of the atmosphere light according to the movement mode of the mobile robot.
7. The control method of the mobile robot according to claim 1, wherein: The motion mode of the mobile robot also includes an intermediate mode; wherein the maximum operating speed of the mobile robot in the intermediate mode is between the maximum operating speed in the first mode and the operating speed in the second mode; and / or The maximum acceleration of the mobile robot in the intermediate mode is between the maximum acceleration in the first mode and the maximum acceleration in the second mode; and / or The rotation speed of the mobile robot in the intermediate mode is between the rotation speed in the first mode and the rotation speed in the second mode; Wherein, the mobile robot establishes a corresponding grid map according to the acquired environmental point cloud information in the intermediate mode, and determines whether there are suspended obstacles in the grid map, and if there are suspended obstacles, the suspended obstacles in the grid map are additionally expanded according to a preset expansion coefficient, wherein the expansion coefficient of the mobile robot in the intermediate mode is lower than the expansion coefficient in the second mode; wherein the maximum operating speed of the mobile robot in the second mode is 75% of the maximum operating speed in the first mode; The maximum acceleration of the mobile robot in the second mode is 66.75% of the maximum acceleration in the first mode; The rotation speed of the mobile robot in the second mode is 80% of the rotation speed in the first mode.
8. A control device for a mobile robot, comprising: an environment detection unit configured to detect environmental information of an environment in which the mobile robot is located, the environmental information including one or more of a number of people, a number of children, a number of animals, a number of dynamic obstacles, whether there are suspended obstacles, a number of suspended obstacles, a number of robots, and a current time; A controller is communicatively connected to the environment detection unit, and the controller is configured to execute the control method of the mobile robot as described in any one of claims 1-7.
9. The control device for a mobile robot according to claim 8, wherein: The environment detection unit includes a visual detection module and / or a time module; Among them, the visual detection module is configured to detect one or more of the number of people, the number of children, the number of animals, the number of dynamic obstacles, the number of suspended obstacles, the channel width in the target path, and the number of robots in the environment where the mobile robot is located; the time module is configured to obtain the current time.
10. A computer-readable medium having instructions stored thereon, wherein the instructions, when executed by a processor, implement the control method of the mobile robot according to any one of claims 1 to 7.
