Recharging method, mobile robot and computer readable storage medium
By detecting the preset situation during the recharge process and moving it to the back-station backup point, recharge is performed again based on the base station signal, the problem of abnormal situations during the recharge process of the deep-station base station is solved, and the success rate of recharge is improved stability.
Patent Information
- Application Number
- CN202310498138.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-05
- Publication Date
- 2024-11-08
AI Technical Summary
When a mobile robot enters a deep base station, abnormal situations are prone to occur during the recharge process, such as collision and slippage, resulting in a lower success rate of recharge.
By detecting the preset situation, the mobile robot moves to the back-station backup point, and re-executes the back-stopping action based on the base station return signal. It uses radar scanning and edge sensors to determine the relative position relationship, and selects the appropriate route and backup point to reduce abnormal situations. occur.
It improves the success rate of mobile robot recharge, ensures the efficiency and stability of recharge function, and reduces the occurrence of abnormal situations interrupting the workflow.
Smart Images

Figure CN118915709A_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the technical field of mobile robots, and in particular to a recharging method, a mobile robot, and a computer-readable storage medium. Background Art
[0002] At present, mobile robots are increasingly used in social life. One of the most important functions of mobile robots is the ability to automatically recharge. However, due to the different functions and models of mobile robots, the base station structures are also very different. For base stations with shallow depths, if the mobile robot encounters an abnormality when docking with the base station and cannot dock, it can directly move forward and exit the station and try to dock again. However, for base stations with deep depths, the above docking method may cause the mobile robot to collide with other abnormal situations, resulting in a low success rate of returning to the base station. Summary of the invention
[0003] This specification aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of this specification is to propose a recharging method that can directly control the mobile robot to move to the back-up point for recharging again when encountering a preset situation when the mobile robot performs a recharging action, thereby improving the recharging success rate.
[0004] The second purpose of this specification is to provide a recharging device.
[0005] The third objective of this specification is to provide a mobile robot.
[0006] A fourth objective of this specification is to provide a computer-readable storage medium.
[0007] To achieve the above purpose, the first embodiment of the specification proposes a recharging method. The method includes: if a preset situation is detected during the process of the mobile robot performing the recharging action, the mobile robot is controlled to move from the current position to the back-to-station backup point; wherein, when located at the back-to-station backup point, the mobile robot can receive a base station recharging signal; based on the base station recharging signal, the mobile robot is controlled to re-execute the recharging action.
[0008] In some embodiments of the present specification, if a preset situation is detected during the mobile robot performing a backcharging action, the mobile robot is controlled to move from the current position to a back-to-station backup point, including: if a preset situation is detected during the mobile robot performing a backcharging action, determining the relative position relationship between the mobile robot and the base station; and controlling the mobile robot to move from the current position to the back-to-station backup point according to the relative position relationship.
[0009] In some embodiments of the present specification, controlling the mobile robot to move to the back-to-station backup point based on the relative position relationship includes any one of the following methods: if the relative position relationship indicates that the mobile robot has not entered the base station, controlling the mobile robot to move to the back-to-station backup point; or if the relative position relationship indicates that at least part of the mobile robot is located in the base station, controlling the mobile robot to perform an exit action until the mobile robot is outside the base station, and continuing to control the mobile robot to move to the back-to-station backup point.
[0010] In some embodiments of the present specification, controlling the mobile robot to perform an exit action includes: during the execution of the exit action, if a collision is detected in the mobile robot, determining that the collision occurred in a first orientation; controlling the mobile robot to move a preset distance to a second orientation, and continuing to perform the exit action; wherein the first orientation and the second orientation correspond to different sides of the mobile robot, respectively.
[0011] In some embodiments of the present specification, the relative position relationship between the mobile robot and the base station is determined by any one of the following methods: acquiring radar scanning data, and determining the relative position relationship based on the radar scanning data; wherein the radar scanning data is obtained by controlling the mobile robot to perform a rotational scan at the current position; and / or controlling the mobile robot to perform edge motions through edge sensors and obtaining corresponding distance data, and determining the relative position relationship based on the distance data.
[0012] In some embodiments of the present specification, the number of sampling points generated by the rotation scanning process is N; determining the relative position relationship based on the radar scanning data includes: determining the number M of sampling points whose distance is less than a distance threshold; wherein the distance threshold is set according to the size of the accommodating cavity of the base station; if the ratio of M to N is not less than the ratio threshold, determining that the relative position relationship is that at least part of the mobile robot is located in the base station; if the ratio of M to N is less than the ratio threshold, determining that the relative position relationship is that the entire mobile robot is not located in the base station.
[0013] In some embodiments of the present specification, the method for determining the return-to-station backup point includes: determining the position of the mobile robot when it starts docking with the base station as the initial backup point; recording the target position of the mobile robot during the docking process with the base station as the intermediate backup point; wherein the base station signal received by the mobile robot at the target position meets a preset signal condition; and determining the return-to-station backup point based on the initial backup point and the intermediate backup point.
[0014] In some embodiments of the present specification, determining the return-to-station backup point based on the initial backup point and the intermediate backup point includes: performing straight line fitting based on the initial backup point and the intermediate backup point to obtain a target straight line for representing the center line of the base station; and determining the return-to-station backup point in the target straight line whose distance from the base station meets a preset distance condition.
[0015] In some embodiments of the present specification, determining the return-to-station backup point based on the initial backup point and the intermediate backup point includes: selecting any backup point to be evaluated from the initial backup point and the intermediate backup point, and determining the confidence corresponding to the backup point to be evaluated based on the base station signal quality corresponding to the backup point to be evaluated, the distance between the backup point to be evaluated and an obstacle, and the distance between the backup point to be evaluated and the base station; and determining, among the initial backup point and the intermediate backup point, the return-to-station backup point whose confidence meets the backup point screening conditions.
[0016] In some embodiments of the present specification, the method further includes: during the entry process of executing the recharging action, if a collision is detected in the mobile robot, determining that the collision occurs in a first position; controlling the mobile robot to move a preset distance to a second position, and continuing to execute the entry action; wherein the first position and the second position correspond to different sides of the mobile robot, respectively.
[0017] In some embodiments of the present specification, the base station is disposed at the bottom of a household appliance or is a part of the household appliance; or the base station is disposed at the bottom of a piece of furniture or is a part of the furniture.
[0018] In some embodiments of the present specification, the household appliance includes a clothing processing device.
[0019] To achieve the above purpose, the second embodiment of the specification proposes a recharging device. The device includes: a moving module, which is used to control the mobile robot to move from the current position to the back-to-station backup point if a preset situation is detected during the mobile robot's back-to-station backup point; wherein, when the mobile robot is located at the back-to-station backup point, it can receive a base station recharging signal. The recharging module is used to control the mobile robot to re-execute the recharging action based on the base station recharging signal.
[0020] To achieve the above-mentioned purpose, the third aspect of the present specification proposes a mobile robot, including a memory, a processor, and a mobile robot recharging program stored in the memory and executable on the processor, wherein when the processor executes the program, the mobile robot recharging method described in any one of the first aspects is implemented.
[0021] In some embodiments of the present specification, the base station corresponding to the mobile robot is arranged at the bottom of the household appliance or as a part of the household appliance; or the base station is arranged at the bottom of the furniture or as a part of the furniture.
[0022] In some embodiments of the present specification, the household appliance includes a clothing processing device.
[0023] To achieve the above-mentioned purpose, the fourth aspect of the present specification proposes a computer-readable storage medium on which a recharging program for a mobile robot is stored. When the program is executed by a processor, the recharging method as described in any one of the first aspects is implemented.
[0024] Through the above-mentioned embodiments, if a preset situation is detected during the process of the mobile robot performing a recharging action, the mobile robot is controlled to move from the current position to the back-to-station backup point; wherein, when located at the back-to-station backup point, the mobile robot can receive a base station recharging signal; based on the base station recharging signal, the mobile robot is controlled to re-execute the recharging action. The recharging method of the embodiments of this specification reduces the occurrence of other abnormal situations when the mobile robot has an abnormality and needs to re-execute the recharging action. This makes the recharging function more efficient and stable, reduces the occurrence of other abnormal situations interrupting the workflow of the mobile robot, and improves the success rate of recharging.
[0025] Additional aspects and advantages of the present specification will be given in part in the description below and in part will become apparent from the description below or will be learned through the practice of the present specification. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 is a scene example diagram of the recharging method in an embodiment of this specification;
[0027] Figure 2 is a flow chart of a recharging method according to an embodiment of this specification;
[0028] Figure 3 It is a schematic diagram of the location of the back-to-site backup point in one embodiment of the present specification;
[0029] Figure 4 is a schematic diagram of a mobile robot exiting a station according to an embodiment of the present specification;
[0030] Figure 5 is a structural block diagram of a recharging device according to an embodiment of this specification;
[0031] Figure 6 It is a structural block diagram of the mobile robot of the embodiment of this specification. DETAILED DESCRIPTION
[0032] The embodiments of the present specification are described in detail below, and 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 to be used to explain the present specification, and should not be construed as limiting the present specification.
[0033] Mobile robots are now increasingly used in social life, for example, mobile robots for household cleaning, food delivery robots in hotels, guide robots in shopping malls, etc. Due to the different functions, models, and appearances of mobile robots, the structures of their base stations are also very different.
[0034] Take a mobile robot used for household cleaning as an example. For a typical sweeping robot, its base station only needs to provide charging function for the sweeping robot, so the base station structure of the sweeping robot is relatively small and shallow. After the sweeping robot returns to the base station, only part of the body is located in the depth of the base station. When the sweeping robot returns to the base station, if it encounters an abnormal situation, such as slipping, it can directly move forward and exit the station, and then try the next docking again after exiting the station.
[0035] However, at present, there are still cleaning robots that can sweep and mop the floor. The base station of this cleaning robot not only needs to provide it with a charging function, but also needs to clean the rag for the cleaning robot. Therefore, the base station of the cleaning robot is generally deep and can fully accommodate the body of the mobile robot. And in order to prevent sewage from flowing out when cleaning the rag, the base station may also be equipped with a water tank, so that the base station is generally higher than the horizontal ground. When the cleaning robot returns to the base station, it needs to climb a certain slope. In this case, the above-mentioned simple method of returning to the base station may not be applicable. When encountering abnormal situations, going directly out of the station may cause other abnormalities to occur, such as colliding with the two side walls in the depth of the base station, etc., resulting in the process of returning to the base station being interrupted. Therefore, in order to improve the success rate of the mobile robot returning to the base station, this specification proposes a recharging method, a mobile robot, and a computer-readable storage medium.
[0036] This specification takes the base station of the cleaning robot as an example to propose a scenario example of a recharging method for a mobile robot. Figure 1 , this recharge method is applied to Figure 1 Mobile robots in Figure 1As shown in the figure, the height of the base station in this scenario example is slightly higher than the horizontal ground, and the base station is deep enough to completely accommodate the body of the mobile robot. When the mobile robot performs the recharging action and docks with the base station, it needs to climb the slope first, and after entering the base station entrance, it needs to move a certain distance before docking with the base station. Under this base station structure, when the mobile robot enters the station, it may slip due to difficulty in climbing the slope, or slip due to foreign objects when moving in the station. In the event of an abnormality, the mobile robot usually needs to leave the station first and then enter the station for docking.
[0037] Exemplarily, during the process of the mobile robot performing the recharging action, a preset situation is detected, and the mobile robot is controlled to move from the current position to the back-to-station backup point. When the mobile robot is at the back-to-station backup point, the mobile robot can receive the back-to-station signal. Among them, the preset situation in this scenario example can be that a slip event has occurred and the mobile robot cannot continue to move toward the base station. In this case, the relative position relationship between the mobile robot and the base station can be determined first, and the relative position relationship can include that the body of the mobile robot is not at all in the base station and that the body of the mobile robot is at least partially in the base station. A corresponding back-to-station backup point is predetermined for the base station. When the mobile robot is at the back-to-station backup point, it can receive the back-to-station signal. For different relative position relationships, different moving routes can be determined to move the mobile robot from the current position to the back-to-station backup point.
[0038] After the mobile robot moves to the back-up point and receives the base station recharging signal, the mobile robot can be controlled to re-execute the recharging action based on the base station recharging signal to dock with the base station. The embodiments of this specification can first determine the relative position relationship when the mobile robot encounters a preset situation when performing the recharging action, and control the mobile robot to move to the back-up point to recharge again based on the relative position relationship, thereby improving the recharging success rate.
[0039] Figure 2 This is a flow chart of the recharging method of the embodiment of this specification. Figure 2 , the recharge methods include:
[0040] S210, if a preset situation is detected during the process of the mobile robot performing the recharging action, the mobile robot is controlled to move from the current position to the back-up point;
[0041] Among them, when located at the return station backup point, the mobile robot can receive the base station recharging signal.
[0042] S220, based on the recharging signal from the base station, controlling the mobile robot to re-execute the recharging action.
[0043] Specifically, the preset situations detected by the mobile robot during the recharging action are mainly abnormal situations that occur during the entry process. Abnormal situations include: slipping, getting stuck, etc. For example, when the mobile robot backs up to enter the station, the body has not yet entered the base station. Due to the rear wheels of the climbing mobile robot being lifted, a slipping event occurs, and it is unable to continue to enter the base station for docking. Or after entering the base station, the mobile robot encounters foreign objects during the process of moving toward the base station, causing slippage, and is unable to reach the docking position with the base station. Situations similar to the above that cause the mobile robot to be unable to continue to move toward the base station can all be considered preset situations.
[0044] When the mobile robot detects a preset situation during the recharging process, the mobile robot can be directly controlled to move from the current position to the back-to-station backup point. When the mobile robot is at the back-to-station backup point and receives a recharging signal from the base station, the mobile robot is controlled to re-execute the recharging action based on the base station recharging signal.
[0045] Among them, the base station corresponds to a return backup point. When the mobile robot is at the return backup point, it can receive a base station return signal sent by the base station. The return backup point is determined based on factors such as the specific structure, location, and signal characteristics of the base station (for example, the type of signal transceiver device, signal strength distribution). The return backup point can be pre-stored in the mobile robot in the form of coordinates in the operation map. More specifically, it can also be pre-stored in the mobile robot in the form of the coordinate position in the operation map plus a preset orientation angle. When the mobile robot is at the coordinate position represented by the return backup point and turns to the preset orientation angle in the return backup point, the recharge action can be performed directly. Among them, the return backup points are stored one by one.
[0046] Through the above embodiments, when the mobile robot detects a preset situation during the recharging process, that is, when the mobile robot encounters an abnormal situation and cannot continue to enter the station, the mobile robot can be directly controlled to move to the back-to-station backup point. The recharging action is re-executed based on the base station recharging signal received at the back-to-station backup point. The embodiments of this specification make the recharging function of the mobile robot more efficient and stable when encountering an abnormal situation, thereby improving the success rate of recharging.
[0047] In some embodiments of the present specification, if a preset situation is detected during the mobile robot performing a backcharging action, the mobile robot is controlled to move from the current position to the back-to-station backup point, including: if a preset situation is detected during the mobile robot performing a backcharging action, determining the relative position relationship between the mobile robot and the base station; and controlling the mobile robot to move from the current position to the back-to-station backup point according to the relative position relationship.
[0048] In the event of a preset situation of the mobile robot, in order to enable the mobile robot to quickly perform the recharging action again, the mobile robot can be controlled to move from the current position to the back-to-station backup point. Generally, the fastest way for the mobile robot to move in a straight line from the current position to the back-to-station backup point is to move in a straight line. However, due to the different structures of base stations, the mobile robot may fall or collide with the side wall of the base station during straight-line movement, resulting in the interruption of the task and the inability to perform the recharging action again.
[0049] Therefore, in the embodiment of the present specification, when the mobile robot detects a preset situation during the recharging operation, the relative position relationship between the mobile robot and the base station can be determined first. The relative position relationship can include that the body of the mobile robot is completely not in the base station, and the body of the mobile robot is at least partially in the base station.
[0050] According to the different relative position relationships between the mobile robot and the base station, different moving routes can be set to enable the mobile robot to move from the current position to the back-to-base backup point, so as to reduce the occurrence of abnormal situations in the mobile robot.
[0051] After the mobile robot moves to the back-to-station backup point, it can first adjust its own posture to accurately receive the base station recharging signal and achieve a posture that can accurately dock with the base station. Exemplarily, the base station recharging signal can be an infrared signal emitted by the base station. If the back-to-station backup point stored by the mobile robot includes a preset orientation angle, the mobile robot can be controlled to rotate to the preset orientation angle first. Then, starting from the preset orientation angle, the infrared signals on the left and right sides emitted by the base station are received to fine-tune the angle. When the received base station recharging signal reaches the preset accuracy, the recharging action is re-executed with the current posture to dock with the base station.
[0052] Through the above embodiments, during the process of the mobile robot performing the recharging action, if a preset situation is detected. The mobile robot first determines the relative position relationship between it and the base station, and determines the route from the current position to the back-to-station backup point based on the relative position relationship. When arriving at the back-to-station backup point and receiving the base station recharging signal, the recharging action is re-executed according to the base station recharging signal. The recharging method of the embodiment of the present specification reduces the occurrence of other abnormal situations when the mobile robot encounters an abnormality and needs to re-execute the recharging action. The recharging function is made more efficient and stable, the occurrence of other abnormal situations that interrupt the workflow of the mobile robot is reduced, and the success rate of recharging is improved.
[0053] In some embodiments of the present specification, the mobile robot is controlled to move to a back-to-station backup point based on a relative position relationship, including any one of the following methods: if the relative position relationship indicates that the mobile robot has not entered the base station, the mobile robot is controlled to move to the back-to-station backup point; or if the relative position relationship indicates that at least part of the mobile robot is located inside the base station, the mobile robot is controlled to perform an exit action until the mobile robot is outside the base station, and the mobile robot is continued to be controlled to move to the back-to-station backup point.
[0054] In some cases, when the mobile robot moves from the current position to the back-to-backup point, due to the different deployment environments of the base stations, the mobile robot may fall or collide with the side wall of the base station during straight-line movement, resulting in mission interruption. Therefore, in order to reduce the occurrence of abnormal situations in this process, the path for the mobile robot to move to the back-to-backup point can be determined based on the relative position relationship.
[0055] Exemplarily, if the relative position relationship indicates that the mobile robot has not entered the base station, that is, the entire mobile robot is not located in the base station, and its body is completely outside the base station. In this case, since the entire body of the mobile robot is outside the base station, and the back-to-station backup point is generally located in the area directly in front of the base station, the probability of abnormal situations such as collisions in the mobile robot is small. Therefore, the mobile robot can be controlled to move along a straight line between the current position and the back-to-station backup point to the back-to-station backup point to save movement time. It should be noted that if the mobile robot is provided with a body collision plate (such as a collision plate in front of the body), "not entering" can be understood as the collision plate in front of the body is completely outside the accommodation cavity of the base station. And the mobile robot is located on the climbing board and does not enter the base station, that is, it is located outside the base station. If the mobile robot is provided with a docking component for docking with the base station, "not entering" can be understood as the docking component is completely outside the accommodation cavity of the base station.
[0056] See also Figure 3 ,Ideally, the back-to-site backup point should be on the center line of the area directly in front of the base station, e.g. Figure 3 The dotted line in is the center line of the base station. Figure 3 Point A in the figure is the return point on the center line. However, when determining the return point, there may be some deviation, resulting in the return point not being on the center line. Figure 3 In this case, if the current mobile robot is at least partially inside the base station, if the mobile robot moves in a straight line from the current position to the backup point, the mobile robot may collide with the side wall of the base station, resulting in the interruption of the recharging task.
[0057] Therefore, if the relative position relationship indicates that at least part of the mobile robot is located inside the base station, the mobile robot can be controlled to perform an exit action until the mobile robot is outside the base station. The exit action generally controls the mobile robot to move along the center line to the outside of the base station. When it is determined that the body of the mobile robot is not located inside the base station at all, the mobile robot is controlled to move along the straight line between the current position and the return backup point to the return backup point.
[0058] In some embodiments of the present specification, controlling a mobile robot to perform an exit action includes: during the process of performing the exit action, if a collision is detected in the mobile robot, determining that the collision occurs in a first position. Controlling the mobile robot to move a preset distance to a second position, and continuing to perform the exit action. The first position and the second position are located on two sides of the mobile robot, respectively.
[0059] See also Figure 4 , because some base stations are set deep, the mobile robot needs to move a certain distance in a straight line in the base station before it can dock with the base station. In this case, when controlling the mobile robot to perform the exit action, the mobile robot may collide with the two side walls of the base station due to problems such as movement deviation. In case of collision, a collision plate can be configured on the mobile robot, and a collision sensor can be configured on the collision plate. When the mobile robot collides, the collision direction can be determined by the collision sensor on the collision plate, for example, it can be determined that a collision occurred in the left front of the mobile robot.
[0060] When the mobile robot is performing an exit action, if the collision sensor detects that the mobile robot has collided, it is determined that the collision occurred at the first position. Figure 4 The direction indicated by the arrow near the side wall of the base station is the first direction. According to the collision sensor, it can be determined that the left front position of the mobile robot has collided with the side wall of the base station. At this time, the mobile robot can be controlled to move to the second direction by a preset distance and continue to perform the exit action. The second direction and the first direction should be located on both sides of the mobile robot. For example, continue to refer to Figure 4 , if a collision occurs in the left front of the mobile robot, the second orientation may be toward the right front, that is, when a collision occurs in the left front of the mobile robot, the mobile robot may be controlled to move toward the right front by a preset distance. If a collision occurs in the right front of the mobile robot, the mobile robot may be controlled to move toward the left front by a preset distance.
[0061] If the collision sensor detects that the left and right sides of the mobile robot collide, a fault is reported and the mobile robot is controlled to stop moving. If it is detected that the relative position relationship between the mobile robot and the base station indicates that the body of the mobile robot is completely outside the base station, the mobile robot is controlled to move to the back-to-station backup point to prepare for the next docking with the base station.
[0062] In some embodiments of the present specification, the relative position relationship between the mobile robot and the base station is determined by any of the following methods: obtaining radar scanning data, and determining the relative position relationship according to the radar scanning data. The radar scanning data is obtained by controlling the mobile robot to perform rotation scanning at the current position. And / or controlling the mobile robot to perform edge motion through an edge sensor, and obtaining corresponding distance data, and determining the relative position relationship according to the distance data.
[0063] Usually, mobile robots are equipped with laser radar, which is mostly used when the mobile robot determines the operation map. The laser radar can determine the distance between the mobile robot and the obstacle. Therefore, when the mobile robot determines the relative position relationship between it and the base station, it can use the configured laser radar to determine it.
[0064] Exemplarily, the mobile robot is controlled to rotate at the current position to obtain radar scanning data obtained by the laser radar during the rotation process. According to the distance data corresponding to each sampling point in the radar scanning data, it is determined whether the mobile robot is in the base station at the current position, that is, the relative position relationship between the mobile robot and the base station is determined. It should be noted that due to the appearance design of some mobile robots, when they rotate in place in the base station, they will collide with the side wall of the base station. Therefore, the laser radar can be flexibly configured to rotate the laser radar to scan and obtain radar scanning data.
[0065] In another way, the distance data from the mobile robot to the surrounding obstacles can be obtained by using the edge motion of the mobile robot, so as to determine the relative position relationship between the mobile robot and the base station.
[0066] Generally, the edge sensor is configured in front of the mobile robot. Exemplarily, by performing edge actions with the edge sensor, the distance data from the mobile robot to the two side walls of the base station can be obtained. If the mobile robot is currently completely inside the base station, both distance data should be less than the preset spacing threshold. The preset spacing threshold is determined according to the size of the base station. For example, the dimension between the two side walls of the base station is 80cm, because the distance from the mobile robot to the side wall of the base station will definitely not be greater than 80cm, so the preset distance threshold can be determined to be 80cm. If the distance data detected by the edge sensor is greater than 80cm, it can be considered that the mobile robot is completely outside the base station or at least partially outside the base station.
[0067] By using the laser radar or edge sensor already configured on the mobile robot to determine the relative position relationship, the hardware cost of the mobile robot can be reduced.
[0068] In some embodiments of the present specification, the number of sampling points generated by the rotation scanning process is N. Determining the relative position relationship according to the radar scanning data includes: determining the number M of sampling points whose distance is less than a distance threshold. The distance threshold is set according to the size of the accommodation cavity of the base station. If the ratio of M to N is not less than the ratio threshold, it is determined that the relative position relationship is that at least part of the mobile robot is located in the base station. If the ratio of M to N is less than the ratio threshold, it is determined that the relative position relationship is that the entire mobile robot is not located in the base station.
[0069] It is understandable that if the mobile robot is completely or partially located in the base station, after the mobile robot rotates 360 degrees in place, the radar scanning data obtained by the laser radar scanning, at least some of the sampling points are hit on the three inner walls of the base station, and the distance corresponding to these sampling points should be less than the distance threshold. The distance threshold is set according to the size of the accommodating cavity of the base station. The larger the proportion of sampling points with a distance less than the distance threshold, the closer the body of the mobile robot is located in the base station.
[0070] Specifically, if the number of sampling points generated by the laser radar during the rotation scanning process is N according to the preset transmission frequency. The number M of sampling points whose distance is less than the distance threshold is determined. A ratio threshold is preset, and the relative position relationship between the mobile robot and the base station can be determined by the size relationship between the ratio of M to N and the ratio threshold. If the ratio of M to N is not less than the ratio threshold, the relative position relationship is determined to be that at least part of the mobile robot is located in the base station. If the ratio of M to N is less than the ratio threshold, the relative position relationship is determined to be that the entire mobile robot is not located in the base station.
[0071] Exemplarily, the preset ratio threshold is one quarter. If the preset emission frequency is to emit a laser beam for every rotation of 1 degree, the number of sampling points N generated after the mobile robot rotates in place for one circle is 360. Determine the number M of sampling points whose distance is less than the distance threshold among the 360 sampling points. Assume that M is 300. The ratio between M and N is five sixths. The ratio of M to N is not less than the ratio threshold, which proves that five sixths of the sampling points are hit on the inner wall of the base station. Therefore, it can be determined that the relative position relationship between the mobile robot and the base station is that at least part of the mobile robot is located inside the base station.
[0072] The ratio threshold may be determined based on the specific structure of the base station and empirical values from multiple tests on the base station.
[0073] The mobile robot can use any of the above two methods to determine the relative position relationship. It can also be combined with the above two methods according to the installation position of the laser radar and the edge sensor on the mobile robot to more accurately determine the extent of the mobile robot's exit.
[0074] In some embodiments of the present specification, the method for determining the back-to-station backup point includes: determining the position of the mobile robot at the time of docking with the base station as the initial backup point. Recording the target position of the mobile robot during docking with the base station as the intermediate backup point. The base station signal received by the mobile robot at the target position meets the preset signal condition. The back-to-station backup point is determined according to the initial backup point and the intermediate backup point.
[0075] Specifically, after the mobile robot approaches the base station to a certain distance, the docking task with the base station is started. The position at which the mobile robot starts docking with the base station is recorded as the initial backup point, and the initial position of the mobile robot at the initial backup point is recorded. Then, the mobile robot moves toward the base station, and as it gets closer and closer to the base station, the mobile robot will receive the base station signal more and more accurately. In this process, the target position at which the mobile robot receives the base station signal that meets the preset signal conditions is recorded, and the target position is used as the intermediate backup point. Exemplarily, if the base station signal is an infrared signal, the base station sends out two precise alignment infrared signals on the left and right. The target position at which the mobile robot accurately receives the two precise alignment infrared signals on the left and right is recorded, and the target position is recorded as the intermediate backup point. It can be understood that in the process of the mobile robot approaching the base station, multiple intermediate backup points can be determined.
[0076] The return backup point is determined based on the initial backup point and the intermediate backup point. When the mobile robot is at the return backup point, it rotates to the preset position to make the docking with the base station more accurate.
[0077] In some embodiments of the present specification, determining the back-to-site backup point according to the initial backup point and the intermediate backup point includes any one of the following methods:
[0078] A straight line is fitted based on the initial backup point and the intermediate backup point to obtain a target straight line representing the center line of the base station. A back-to-station backup point whose distance from the base station meets a preset distance condition is determined in the target straight line. Or
[0079] Select any backup point to be evaluated from the initial backup point and the intermediate backup point, and determine the confidence level of the backup point to be evaluated based on the base station signal quality, the distance between the backup point to be evaluated and the obstacle, and the distance between the backup point to be evaluated and the base station. From the initial backup point and the intermediate backup point, determine the return backup point whose confidence level meets the backup point screening conditions.
[0080] The following methods are used to determine the return backup point based on the initial backup point and the intermediate backup point:
[0081] First, a straight line is fitted based on the initial backup point and the intermediate backup point to obtain a target straight line representing the center line of the base station. In the target straight line, a back-to-station backup point whose distance from the base station meets the preset distance condition is determined.
[0082] The initial backup point and the intermediate backup point will fall around a straight line. Under rational circumstances, the initial backup point and the intermediate backup point should both be on the center line of the base station. Therefore, when determining the return-to-station backup point, a straight line fitting can be performed based on the initial backup point and the intermediate backup point to obtain a target straight line used to represent the center line of the base station. It is understandable that the target straight line may have a certain deviation from the actual center line of the base station. However, as long as the deviation is within the allowable range, the target straight line can represent the center line of the base station. In the target straight line, determine the return-to-station backup point whose distance from the base station meets the preset distance condition. Among them, the preset distance condition is set according to the specific conditions of the mobile robot and the base station, and is a distance suitable for the mobile robot to dock with the base station.
[0083] Second, select any backup point to be evaluated from the initial backup point and the intermediate backup point, and determine the confidence corresponding to the backup point to be evaluated according to the base station signal quality corresponding to the backup point to be evaluated, the distance between the backup point to be evaluated and the obstacle, and the distance between the backup point to be evaluated and the base station. Among the initial backup point and the intermediate backup point, determine the return backup point whose confidence meets the backup point screening conditions. It should be noted that the base station signal quality corresponding to the backup point to be evaluated, the distance between the backup point to be evaluated and the obstacle, and the distance between the backup point to be evaluated and the base station can be set with equal weights, such as 1 / 3 each, or unequal weights can be set. For example, the weight of the base station signal quality corresponding to the backup point to be evaluated is 2 / 5, the weight of the distance between the backup point to be evaluated and the obstacle is 2 / 5, and the weight of the distance between the backup point to be evaluated and the base station is 1 / 5.
[0084] Specifically, a better backup point can also be selected from the initial backup point and the intermediate backup point as the return backup point based on the cost function. Considering some factors that may affect the docking of the mobile robot with the base station, the cost function that can be considered may include but is not limited to: the base station signal quality corresponding to the backup point to be evaluated, the distance between the backup point to be evaluated and the obstacle, and the distance between the backup point to be evaluated and the base station. Among them, the backup point to be evaluated is any point in the initial backup point and the intermediate backup point. Therefore, based on the above cost function, the confidence corresponding to each backup point to be evaluated can be determined. The backup point screening conditions are set in advance. For example, the backup point screening conditions can be determined based on the base station signal quality meeting the preset signal conditions, the distance to the obstacle being greater than the mobile robot body size, and the distance to the base station meeting the preset distance conditions. Then, among the initial backup point and the intermediate backup point, the return backup point whose confidence meets the backup point screening conditions is determined.
[0085] In some embodiments of the present specification, the recharging method further includes: during the process of entering the station when performing the recharging action, if a collision is detected in the mobile robot, determining that the collision occurs in a first position. Controlling the mobile robot to move a preset distance to a second position and continue to perform the station entry action. The first position and the second position are located on both sides of the mobile robot respectively.
[0086] During the process of the mobile robot entering the station to perform the recharging action, the mobile robot may also collide with the two side walls of the base station. The handling method is the same as the collision situation during the process of the mobile robot leaving the station to perform the recharging action. If the collision of the mobile robot is detected by the collision sensor, it is determined that the collision occurs in the first direction. The mobile robot is controlled to move a preset distance to the second direction.
[0087] Since the mobile robot usually moves backward and straight, and completes docking with the base station through the docking device at the tail, the first position where the mobile robot collides during the station entry process is usually the left rear or right rear of the mobile robot. The first position and the second position are located on both sides of the mobile robot respectively.
[0088] For example, if a collision is detected by a collision sensor at the left rear during the process of the mobile robot entering the station, the mobile robot is controlled to move a preset distance to the right rear and then continue to execute the station entry action.
[0089] In some practicable embodiments, when the mobile robot is performing the station entry action, it can be determined in time whether the return track deviation occurs by checking whether the straight line between the mobile robot and the return backup point deviates from the center line of the base station. If the track deviation occurs, the mobile robot will be paused in time and the position will be adjusted to the normal return docking track to perform the station entry action.
[0090] According to the above embodiments, a series of abnormal situations when the mobile robot enters and exits the station when performing the recharging action are taken into consideration, and solutions are proposed for different abnormal situations, which can reduce the interruption of the workflow due to abnormal situations when the mobile robot performs the recharging action. The one-time docking success rate of the mobile robot and the comprehensive success rate of recharging are guaranteed, making the recharging function of the mobile robot more efficient and stable.
[0091] In some embodiments of the present specification, the base station is disposed at the bottom of the household appliance.
[0092] For mobile robots that can be used for household cleaning and can be used for washing and mopping, the base station is generally fixed and cannot be moved. This type of base station generally needs to be connected to the waterway in the home, which can make the cleaning work of the mobile robot more convenient. Considering the utilization of household space resources, the base station can be integrated with household appliances. For example, the base station is integrated at the bottom of the washing machine. If there is no need to connect the waterway, it can also be integrated at the bottom of household appliances such as refrigerators, dishwashers, televisions, air purifiers, water purifiers, air conditioners, steaming and baking equipment, dishwashing sinks, integrated stoves, etc.
[0093] In this way, the external dimensions of the base station will be constrained by the general dimensions of household appliances, and usually the feet of household appliances will be adjusted during installation. After the base station is integrated, the feet will generally be below the base station, causing the base station to be slightly higher than the horizontal ground. In summary, the height of the base station from the ground will be higher than that of a conventional base station, and the mobile robot needs to climb a slope to enter the station; the depth of the base station is deeper than that of a conventional base station, and the base station cannot protrude from the outer contour of the household appliance, and the mobile robot has a longer travel distance in the station. The above will cause abnormal conditions such as slipping and collision when the mobile robot enters the station, and abnormal conditions such as collision when leaving the station. The regression method provided in the embodiment of the specification proposes solutions to these abnormal conditions. Therefore, the recharging method of the embodiment of this specification is very suitable for application scenarios where the base station is set at the bottom of the household appliance.
[0094] For the above embodiments, please refer to Figure 5 The embodiment of this specification also proposes a recharging device. The recharging device includes:
[0095] The relative position determination module 510 is used to determine the relative position relationship between the mobile robot and the base station if a preset situation is detected during the process of the mobile robot performing the recharging action.
[0096] Among them, the base station corresponds to a back-to-site backup point.
[0097] The moving module 520 is used to control the mobile robot to move from the current position to the back-to-station backup point according to the relative position relationship, so that the mobile robot can receive the base station back-to-station signal.
[0098] The recharging module 530 is used to control the mobile robot to re-execute the recharging action based on the base station recharging signal.
[0099] According to the recharging device of the embodiment of this specification, when the mobile robot is performing a recharging action, if a preset situation is detected. The mobile robot first determines the relative position relationship between it and the base station, and determines the route from the current position to the back-to-station backup point based on the relative position relationship. When arriving at the back-to-station backup point and receiving the base station recharging signal, the recharging action is re-executed according to the base station recharging signal. The recharging method of the embodiment of this specification reduces the occurrence of other abnormal situations when the mobile robot encounters an abnormality and needs to re-execute the recharging action. The recharging function is made more efficient and stable, the occurrence of other abnormal situations that interrupt the workflow of the mobile robot is reduced, and the success rate of recharging is improved.
[0100] For the specific definition of the recharging device of the mobile robot, please refer to the definition of the recharging method of the mobile robot above, which will not be repeated here. Each module in the above-mentioned recharging device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0101] Corresponding to the above embodiments, this specification also proposes a mobile robot.
[0102] Figure 6 is a block diagram of a mobile robot according to an embodiment of the present specification. Figure 6 As shown, the mobile robot 600 includes a memory 604, a processor 602, and a recharging program 606 stored in the memory 604 and executable on the processor 602. When the processor 602 executes the recharging program 606, the recharging method of any of the above-mentioned embodiments is implemented.
[0103] In the embodiments of this specification, the base station corresponding to the mobile robot is arranged at the bottom of the household appliance.
[0104] In an embodiment of the present specification, the household appliance includes a clothes treating appliance.
[0105] According to the mobile robot of the embodiment of the present specification, when the processor 602 executes the recharging program 606, it reduces the occurrence of other abnormal situations when the mobile robot has an abnormality and needs to re-execute the recharging action. This makes the recharging function more efficient and stable, reduces the occurrence of other abnormal situations interrupting the workflow of the mobile robot, and improves the success rate of recharging.
[0106] Corresponding to the above embodiments, the embodiments of this specification further propose a computer-readable storage medium, on which a recharging program of the mobile robot is stored. When the recharging program is executed by the processor, a recharging method as in any one of the above embodiments is implemented.
[0107] According to the computer-readable storage medium of the embodiment of this specification, when the recharging program is executed by the processor, it reduces the occurrence of other abnormal situations when the mobile robot has an abnormality and needs to re-execute the recharging action. This makes the recharging function more efficient and stable, reduces the occurrence of other abnormal situations interrupting the workflow of the mobile robot, and improves the success rate of recharging.
[0108] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0109] It should be understood that various parts of this specification can be implemented in hardware, software, firmware or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.
[0110] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of this specification. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0111] In the description of this specification, 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", "axial", "radial", "circumferential" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this specification and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on this specification.
[0112] In addition, the terms "first", "second", etc. used in the embodiments of this specification are only used for descriptive purposes and should not be understood as indicating or implying relative importance, or implicitly indicating the number of technical features indicated in this embodiment. Therefore, the features defined by the terms "first", "second", etc. in the embodiments of this specification can explicitly or implicitly indicate that the embodiment includes at least one of the features. In the description of this specification, the word "multiple" means at least two or two or more, such as two, three, four, etc., unless otherwise clearly and specifically defined in the embodiments.
[0113] In this specification, unless otherwise clearly specified or limited in the embodiments, the terms "install", "connect", "connect" and "fix" etc. appearing in the embodiments should be understood in a broad sense. For example, the connection can be a fixed connection, a detachable connection, or an integrated connection. It can be understood that it can also be a mechanical connection, an electrical connection, etc.; of course, it can also be a direct connection, or an indirect connection through an intermediate medium, or 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 this specification can be understood according to the specific implementation situation.
[0114] In this specification, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or 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" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0115] Although the embodiments of the present specification have been shown and described above, it is understood that the above embodiments are exemplary and are not to be construed as limitations on the present specification. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present specification.
Claims
1. A recharging method, characterized in that: The method comprises: If a preset situation is detected during the process of the mobile robot performing the recharging action, the mobile robot is controlled to move from the current position to the back-to-station backup point; wherein, when located at the back-to-station backup point, the mobile robot can receive the back-to-station signal; Based on the base station recharging signal, the mobile robot is controlled to re-execute the recharging action.
2. The method according to claim 1, characterized in that If a preset situation is detected during the process of the mobile robot performing the recharging action, the mobile robot is controlled to move from the current position to the back-up point, including: If a preset situation is detected during the process of the mobile robot performing the recharging action, a relative position relationship between the mobile robot and the base station is determined; The mobile robot is controlled to move from the current position to a back-up point according to the relative position relationship.
3. The method according to claim 2, characterized in that The controlling the mobile robot to move to the back-to-station backup point according to the relative position relationship includes any one of the following methods: If the relative position relationship indicates that the mobile robot has not entered the base station, controlling the mobile robot to move to the back-to-base backup point; or If the relative position relationship indicates that at least part of the mobile robot is located in the base station, the mobile robot is controlled to perform an exit action until the mobile robot is outside the base station, and the mobile robot is continuously controlled to move to the return backup point.
4. The method according to claim 3, characterized in that The controlling the mobile robot to perform an exit action comprises: During the process of executing the exit action, if a collision of the mobile robot is detected, determining that the collision occurs at a first position; The mobile robot is controlled to move a preset distance to a second position and continue to perform the exit action; wherein the first position and the second position correspond to different sides of the mobile robot respectively.
5. The method according to claim 2, characterized in that: The relative position relationship between the mobile robot and the base station is determined by any one of the following methods: Acquire radar scanning data, and determine the relative position relationship according to the radar scanning data; wherein the radar scanning data is obtained by controlling the mobile robot to perform rotation scanning at the current position; and / or The mobile robot is controlled to perform edge motion through the edge sensor, and corresponding distance data is obtained, and the relative position relationship is determined according to the distance data.
6. The method according to claim 5, characterized in that The number of sampling points generated in the rotation scanning process is N; and determining the relative position relationship according to the radar scanning data includes: Determine the number M of sampling points whose distance is less than a distance threshold; wherein the distance threshold is set according to the size of the accommodation cavity of the base station; If the ratio of M to N is not less than the ratio threshold, determining that the relative position relationship is that at least a portion of the mobile robot is located within the base station; If the ratio of M to N is less than the ratio threshold, it is determined that the relative position relationship is that the entire mobile robot is not located within the base station.
7. The method according to any one of claims 1 to 6, characterized in that: The method for determining the back-to-site backup point includes: Determine the position of the mobile robot at the time of docking with the base station as the initial backup point; Recording the target position of the mobile robot during docking with the base station as an intermediate backup point; wherein the base station signal received by the mobile robot at the target position meets a preset signal condition; The back-to-site backup point is determined according to the initial backup point and the intermediate backup point.
8. The method according to claim 7, characterized in that The determining the back-to-site backup point according to the initial backup point and the intermediate backup point includes: A straight line fitting is performed based on the initial backup point and the intermediate backup point to obtain a target straight line for representing the center line of the base station; and the back-to-station backup point whose distance from the base station meets a preset distance condition is determined in the target straight line.
9. The method according to claim 7, characterized in that: The determining the back-to-site backup point according to the initial backup point and the intermediate backup point includes: Select any backup point to be evaluated from the initial backup point and the intermediate backup point, and determine the confidence corresponding to the backup point to be evaluated according to the base station signal quality corresponding to the backup point to be evaluated, the distance between the backup point to be evaluated and the obstacle, and the distance between the backup point to be evaluated and the base station; among the initial backup point and the intermediate backup point, determine the return backup point whose confidence meets the backup point screening condition.
10. The method according to any one of claims 1 to 6, characterized in that: The method further comprises: During the inbound process of executing the recharging action, if a collision of the mobile robot is detected, determining that the collision occurs at a first position; The mobile robot is controlled to move a preset distance to a second position and continue to perform a station entry action; wherein the first position and the second position correspond to different sides of the mobile robot respectively.
11. The method according to any one of claims 1 to 6, characterized in that The base station is arranged at the bottom of the household appliance or is a part of the household appliance; or The base station is arranged at the bottom of the furniture or as a part of the furniture.
12. The method according to claim 11, characterized in that The household appliance includes a clothes treating device.
13. A mobile robot, characterized in that: It includes a memory, a processor, and a recharging program for a mobile robot stored in the memory and executable on the processor. When the processor executes the program, it implements the recharging method for the mobile robot as described in any one of claims 1 to 12.
14. The mobile robot according to claim 13, characterized in that: The base station corresponding to the mobile robot is arranged at the bottom of the household appliance or is a part of the household appliance; or The base station is arranged at the bottom of the furniture or as a part of the furniture.
15. The mobile robot according to claim 14, characterized in that: The household appliance includes a clothes treating device.
16. A computer-readable storage medium, characterized in that: A recharging program of the mobile robot is stored thereon, and when the program is executed by the processor, the recharging method as described in any one of claims 1-12 is implemented.
