Base station position determination method, mobile robot and computer readable storage medium

The mobile robot uses edge sensors to detect distance changes, record the location of mutation events, and judges the inlet size of the base station accommodating cavity, solving the problems of high cost and low efficiency of base station positioning in the prior art, and achieving efficient base station positioning.

CN118921626APending Publication Date: 2024-11-08MIDEA ROBOZONE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310505061.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-06
Publication Date
2024-11-08

AI Technical Summary

Technical Problem

In the prior art, the way mobile robots automatically return to the base station requires additional installation of infrared sensors, lidar or code scanning equipment, which is costly and inefficient, and is especially suitable for base station environments with large depths.

Method used

The mobile robot edge-side sensor performs edge-side actions, detects the detection distance change data to determine the mutation event when the mutation threshold reaches the mutation threshold, records the location information of two adjacent mutation events, and determines whether the entrance size condition of the base station accommodation cavity is met to determine the base station location.

Benefits of technology

No additional sensor installation is required to reduce costs and improve base station positioning efficiency, especially suitable for base station environments with large depths.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118921626A_ABST
    Figure CN118921626A_ABST
Patent Text Reader

Abstract

The present specification relates to a base station position determination method, a mobile robot, and a computer readable storage medium. The method comprises the steps of determining a first position point where the mobile robot is located when first reference information is obtained and a second position point where the mobile robot is located when second reference information is obtained in the process that the mobile robot executes an edge action through an edge sensor; wherein the first reference information and the second reference information are correspondingly obtained when two adjacent mutation events occur; the abrupt change event is a corresponding event when distance change data detected by an edge sensor reaches an abrupt change threshold value in the execution process of the edge action; and if the first position point and the second position point meet the entrance detection condition set for the entrance size of the accommodating cavity, determining the position of the base station based on the first position point and the second position point. According to the embodiment of the invention, the edge sensor of the mobile robot can be directly used for executing the edge action to determine the position of the base station, no additional sensor needs to be installed, and the cost is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present specification relates to the technical field of mobile robots, and in particular to a method for determining a base station position, a mobile robot, and a computer-readable storage medium. Background Art

[0002] Due to the convenience that mobile robots bring to people's lives, mobile robots have been widely used in social life. When a mobile robot detects that the battery is low or has completed the current task, it will automatically find a base station and return to the base station for charging.

[0003] In the related technology, there are generally the following ways to realize the automatic return of the mobile robot to the base station: the recharging method based on infrared sensors, the recharging method based on laser radar, and the recharging method based on scanning code. However, these methods require the installation of corresponding sensors separately, which is costly. Summary of the invention

[0004] The present 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 the present specification is to propose a method for determining the position of a base station, which can directly use the edge sensor of a mobile robot to perform edge action to determine the position of the base station without installing additional sensors, thereby reducing costs.

[0005] The second objective of this specification is to provide a base station location determination device.

[0006] The third objective of this specification is to provide a mobile robot.

[0007] A fourth objective of this specification is to provide a computer-readable storage medium.

[0008] To achieve the above-mentioned purpose, the first embodiment of the present specification proposes a method for determining the position of a base station. The base station is provided with a containing cavity, and the method for determining the position of the base station comprises: in the process of the mobile robot performing an edge action through an edge sensor, determining the first position point of the mobile robot when the first reference information is obtained and the second position point of the mobile robot when the second reference information is obtained; wherein, the first reference information and the second reference information are the corresponding information obtained when two adjacent mutation events occur; the mutation event is the event corresponding to the distance change data detected by the edge sensor reaching the mutation threshold during the execution of the edge action; if the first position point and the second position point meet the entrance detection conditions set for the entrance size of the containing cavity, the position of the base station is determined based on the first position point and the second position point.

[0009] In some embodiments of the present specification, the mutation threshold is set according to the depth dimension of the accommodating cavity in the depth direction; the depth direction is perpendicular to the entrance cross section of the accommodating cavity.

[0010] In some embodiments of the present specification, the depth dimension of the accommodating cavity in the longitudinal direction is not less than the longitudinal dimension of the mobile robot; the longitudinal dimension is the dimension of the mobile robot in the longitudinal direction when the mobile robot is docked in the accommodating cavity.

[0011] In some embodiments of the present specification, the first reference information is obtained when a first mutation event occurs; a method for determining the first mutation event includes: during the execution of the edge action, obtaining, by the edge sensor, first distance data corresponding to a first detection point and second distance data corresponding to a second detection point; wherein, the first detection point and the second detection point are adjacent detection points; the detection time of the first detection point is earlier than the detection time of the second detection point; if the distance change data between the first distance data and the second distance data reaches the mutation threshold, it is determined that the first mutation event has occurred.

[0012] In some embodiments of the present specification, if the distance change data between the first distance data and the second distance data reaches the mutation threshold, determining that the first mutation event has occurred includes: if the first distance data is less than the second distance data, and the distance change data reaches the mutation threshold, determining that the first mutation event has occurred.

[0013] In some embodiments of the present specification, the second reference information is obtained when a second mutation event occurs; the occurrence time of the first mutation event is earlier than the occurrence time of the second mutation event; the method for determining the second mutation event includes: when it is determined that the first mutation time has occurred, the mobile robot keeps moving in a straight line and continues to perform the edge action; third distance data corresponding to the third detection point and fourth distance data corresponding to the fourth detection point are obtained through the edge sensor; wherein the third detection point and the fourth detection point are adjacent detection points; the detection time of the third detection point is earlier than the detection time of the fourth detection point; if the distance change data between the third distance data and the fourth distance data reaches the mutation threshold, it is determined that the second mutation event has occurred.

[0014] In some embodiments of the present specification, if the distance change data between the first distance data and the second distance data reaches the mutation threshold, determining that the second mutation event occurs includes: if the third distance data is greater than the fourth distance data, and the distance change data reaches the mutation threshold, determining that the second mutation event occurs.

[0015] In some embodiments of the present specification, the entrance size of the accommodating cavity includes a lateral entrance size; if the first position point and the second position point meet the entrance detection conditions set for the entrance size of the accommodating cavity, the position of the base station is determined based on the first position point and the second position point, including: if the difference between the distance between the first position point and the second position point and the lateral entrance size is within a preset size range, the position of the base station is determined based on the first position point and the second position point.

[0016] In some embodiments of the present specification, the mobile robot has a first posture corresponding to the first position point; the mobile robot has a second posture corresponding to the second position point; after determining the position of the base station based on the first position point and the second position point, the method also includes: determining the return posture of the mobile robot entering the base station according to the first posture and the second posture.

[0017] In some embodiments of the present specification, the first posture includes the first coordinates and the first orientation angle of the mobile robot at the first position point; the second posture includes the second coordinates and the second orientation angle of the mobile robot at the second position point; the back-to-station posture includes the back-to-station starting coordinates and the back-to-station orientation angle; the back-to-station posture of the mobile robot entering the base station is determined according to the first posture and the second posture, including: determining the back-to-station starting coordinates according to the center position between the first coordinates and the second coordinates; determining the back-to-station orientation angle according to the first orientation angle and the second orientation angle; wherein, when the mobile robot rotates from the position corresponding to the back-to-station starting coordinates to the back-to-station orientation angle, it can go straight into the base station.

[0018] In some embodiments of the present specification, the base station is arranged at the bottom of a household appliance or as a part of the household appliance; or the base station is arranged at the bottom of a piece of furniture or as a part of the furniture, or as a part of the household appliance or furniture.

[0019] To achieve the above-mentioned purpose, the second embodiment of the specification proposes a base station position determination device. The base station is provided with a containing cavity, and the base station position determination device includes: an event determination module, which is used to determine the first position point of the mobile robot when the first reference information is obtained and the second position point of the mobile robot when the second reference information is obtained during the process of the mobile robot performing the edge action through the edge sensor; wherein the first reference information and the second reference are the corresponding information obtained when two adjacent mutation events occur; the mutation event is the event corresponding to the distance change data detected by the edge sensor during the execution of the edge action reaching the mutation threshold. The position determination module is used to determine the position of the base station based on the first position point and the second position point if the first position point and the second position point meet the entrance detection conditions set for the entrance size of the containing cavity.

[0020] To achieve the above-mentioned purpose, the third aspect of the present specification proposes a mobile robot, which includes a memory, a processor, and a base station location determination program stored in the memory and executable on the processor. When the processor executes the program, it implements the base station location determination method as described in any one of the first aspects.

[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] To achieve the above-mentioned purpose, the fourth aspect of the present specification proposes a computer-readable storage medium on which a base station location determination program is stored. When the program is executed by a processor, a base station location determination method as described in any one of the first aspects is implemented.

[0023] Through the above-mentioned embodiments, when the mobile robot performs edge actions through the edge sensors, the occurrence of a mutation event is determined by the distance change data detected by the edge sensors. The first reference information and the second reference information obtained when two adjacent mutation events occur are recorded, and the first position point and the second position point of the mobile robot are located when the first reference information and the second reference information are obtained. When the first position point and the second position point meet the entrance detection conditions set for the entrance size of the base station accommodating cavity, the position of the base station can be determined based on the first position point and the second position point. The base station determination method of the embodiments of this specification does not require the installation of additional sensors, and the base station position can be determined by using the edge sensors that act along the edge, and for base stations with a larger depth, it has higher efficiency in determining the base station.

[0024] 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

[0025] Figure 1 This is a scenario example diagram of the base station location determination method proposed in the implementation mode of this specification.

[0026] Figure 2 It is a flow chart of a method for determining a base station location according to an embodiment of this specification.

[0027] Figure 3 This is a scene example diagram of a base station location determination method proposed in an implementation mode of this specification.

[0028] Figure 4 It is a structural block diagram of a base station location determination device according to an embodiment of this specification.

[0029] Figure 5 It is a structural block diagram of the mobile robot of the embodiment of this specification. DETAILED DESCRIPTION

[0030] 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.

[0031] At present, mobile robots are widely used in people's social life, bringing great convenience to people's lives. When the mobile robot detects that the battery is low or has completed the current task, it will automatically find the base station and return to the base station for charging. In the related technology, there are generally the following ways to realize the automatic return of the mobile robot to the base station: the recharging method based on infrared sensors, the recharging method based on laser radar, and the recharging method based on scanning code.

[0032] However, due to the large size or functional requirements of some mobile robots, the depth of their base stations is set relatively large. For example, the sweeping robot in home life. In order to reduce manual cleaning work to a greater extent, some current sweeping robots have dual functions of sweeping and mopping. The base station of the sweeping and mopping robot not only needs to provide charging functions, but also needs to provide water supply and cleaning rag functions. Therefore, the base station of the sweeping and mopping robot may be connected to the waterway in the home and be set at the bottom of the home appliance or sink equipment. It has a large depth and can accommodate a large range or all of the body of the sweeping robot.

[0033] The related technologies use infrared sensors, lidars, or code scanning to recharge, which not only require the installation of corresponding sensors to realize the recharging function, but also have high costs. And for the above-mentioned type of base stations, the recharging method in the related technology will be limited in terms of field of view angle, ray emission angle, etc., resulting in difficulty in sensor layout and low efficiency in finding base stations. Therefore, this specification proposes a base station location determination method, a mobile robot, and a computer-readable storage medium. It is possible to rely on edge sensors that can perform edge tasks on mobile robots to find base stations without the need to install additional sensors, which can reduce costs while also improving the efficiency of determining base stations.

[0034] This specification provides a scenario example of a method for determining the location of a base station by taking the example of a sweeping and mopping robot with a base station arranged at the bottom of a washing machine. Figure 1 In the mobile robot (sweeping robot) shown in FIG. Figure 1 As shown, the scenario example includes a mobile robot 110, a washing machine 120, and a base station 130 disposed at the bottom of the washing machine 120. Among them, the positions of the base station 130 and the washing machine 120 are relatively fixed. The base station 130 is provided with a accommodating cavity, and the points A and B shown in the figure are two points at the bottom of the washing machine, and are also the boundary points on the left and right sides of the base station accommodating cavity. The accommodating cavity can fully or partially accommodate the mobile robot 110. The mobile robot 110 is equipped with an edge sensor for performing edge tasks, such as the edge cleaning task of the sweeping robot. The edge sensor is generally a ranging sensor, which is arranged on the side of the mobile robot 110. It can measure the distance between the side of the mobile robot and the obstacle, so as to achieve the purpose of efficient edge cleaning.

[0035] For example, when the mobile robot 110 needs to determine the location of the base station, it performs an edge action through the edge sensor to measure the distance between the body and the edge obstacle. When the distance change data detected by the edge sensor reaches the mutation threshold, it is determined that a mutation event occurs. A mutation event can also be understood as a situation in which the mobile robot detects a sudden change in distance when passing a certain position during the process of performing the edge action. Figure 1, the mobile robot 110 moves from right to left to perform the edge action. When passing the washing machine point A position to measure the distance, it is detected that the distance from the fuselage to the obstacle suddenly increases, for example, the distance from the A point position suddenly changes to 100mm as shown in the figure. If the distance change data here reaches the mutation threshold, it can be determined that a mutation event has occurred, and the first reference information obtained when this mutation event occurs and the first position point (PoseA) where the mobile robot 110 is located are recorded. Among them, the first reference information includes the distance data measured during the occurrence of this mutation event. The mobile robot 110 continues to move to the left to perform the edge action. When passing the washing machine point B position to measure the distance, it is detected that the distance from the fuselage to the obstacle suddenly decreases, for example, the distance from 100mm to 10mm at the B point position is shown in the figure. If the distance change data here also reaches the mutation threshold, it can be determined that a mutation event has occurred again, and the second reference information obtained when this mutation event occurs and the second position point (PoseB) where the mobile robot 110 is located are recorded. Among them, the second reference information includes the distance data measured during the occurrence of this mutation event. The mutation event that occurs when the first reference information is obtained may be regarded as the first mutation event, and the mutation event that occurs when the second reference information is obtained may be regarded as the second mutation event.

[0036] Determine whether the first position point (PoseA) and the second position point (PoseB) meet the entrance detection conditions set for the entrance size of the accommodation cavity. For example, determine whether the difference between the straight-line distance between the first position point and the second position point and the lateral entrance size of the accommodation cavity is within a preset size range. If so, it can be determined that the first mutation event and the second mutation event occurred on both sides of the base station accommodation cavity, so that the base station position can be inferred based on the first position point and the second position point.

[0037] Figure 2 is a flow chart of a method for determining a base station location according to an embodiment of this specification. Figure 2 , the base station location determination method comprises the following steps:

[0038] S210, in the process of the mobile robot performing an edge action through an edge sensor, determining a first position point at which the mobile robot is located when first reference information is acquired and a second position point at which the mobile robot is located when second reference information is acquired.

[0039] The first reference information and the second reference information are information corresponding to two adjacent mutation events; a mutation event is an event corresponding to when the distance change data detected by the edge sensor reaches a mutation threshold during the execution of the edge action.

[0040] S220: If the first position point and the second position point satisfy the entrance detection condition set for the entrance size of the accommodation cavity, determine the position of the base station based on the first position point and the second position point.

[0041] In the embodiments of this specification, the base station is provided with a housing cavity, which can fully or partially accommodate the mobile robot. When the mobile robot needs to return to the base station for charging, it enters the housing cavity to achieve docking with the base station power supply. The entrance size of the base station housing cavity is known and pre-stored in the mobile robot.

[0042] When the mobile robot triggers a recharging condition, such as receiving a recharging instruction or its battery is low and needs to return to the base station for charging, the mobile robot needs to first determine the location of the base station and then return to the base station for charging.

[0043] Specifically, when the mobile robot needs to determine the base station, the edge sensor is activated to perform the edge action. During the movement of the mobile robot along the edge, the edge sensor can measure the distance between the body and the obstacle according to the preset detection frequency. When the distance change data detected by the edge sensor reaches the mutation threshold, it is determined that a mutation event occurs.

[0044] Since the accommodating cavity of the base station has a certain depth, when the mobile robot passes by the base station, it can definitely detect two mutation events in which the distance change data changes, and the two mutation events are adjacent.

[0045] Therefore, when the mobile robot performs edge motion and two adjacent mutation events are determined to occur, the first reference information and the second reference information corresponding to the two mutation events are recorded, wherein the reference information includes the distance data detected and recorded during the mutation event.

[0046] At the same time, the first position point where the mobile robot is located when the first reference information is acquired and the second position point where the mobile robot is located when the second reference information is acquired are determined and recorded.

[0047] By judging whether the first position point and the second position point meet the entrance detection conditions set for the entrance size of the accommodating cavity, it is judged whether the first mutation event and the second mutation event occur when passing through the base station. In the case where the first position point and the second position point meet the entrance detection conditions, it can be determined that the first mutation event and the second mutation event occur when the mobile robot passes through the boundaries on both sides of the base station accommodating cavity. Therefore, the position of the base station can be inferred based on the first position point and the second position point. Exemplarily, if the difference between the straight-line distance between the first position point and the second position point and the lateral entrance size of the accommodating cavity is within a preset size range, it can be determined that the first position point and the second position point meet the entrance detection conditions.

[0048] Through the above-mentioned embodiments, when the mobile robot performs edge actions through the edge sensors, the occurrence of a mutation event is determined by the distance change data detected by the edge sensors. The first reference information and the second reference information corresponding to the occurrence of two adjacent mutation events are recorded, and the first position point and the second position point of the mobile robot when the two mutation events occur are recorded at the same time. When the first position point and the second position point meet the entrance detection conditions set for the entrance size of the base station accommodating cavity, the position of the base station can be determined based on the first position point and the second position point. The base station determination method of the embodiments of this specification does not require the installation of additional sensors, and the position of the base station can be determined by using the edge sensors that act along the edge, and for base stations with a larger depth, it has higher efficiency in determining the base station.

[0049] In some embodiments of the present specification, the mutation threshold is set according to the depth dimension of the accommodating cavity in the depth direction; the depth direction is perpendicular to the entrance cross section of the accommodating cavity.

[0050] In order to more accurately determine two adjacent mutation events occurring on both sides of the base station cavity, a mutation threshold can be set according to the depth dimension of the cavity in the depth direction. The depth direction is perpendicular to the entrance cross-section of the cavity and can be understood as the depth of the base station. To illustrate the setting of the mutation threshold, if the depth dimension of the base station cavity is 90mm, considering the error measured by the edge sensor, the mutation threshold can be set to 85mm. When the mobile robot performs edge action, the edge sensor detects that the distance change data reaches 85mm, and determines that a mutation event has occurred.

[0051] In some embodiments of the present specification, the depth dimension of the accommodating cavity in the depth direction is not less than the longitudinal dimension of the mobile robot. The longitudinal dimension is the dimension of the mobile robot in the depth direction when it is docked in the accommodating cavity.

[0052] For example, for a sweeping robot that can wash and mop at home, its base station needs to provide not only a charging function, but also a water connection to provide a cleaning function. In this case, the base station can generally be set under a household appliance with water connection conditions. And the space of the accommodating cavity should be able to fully accommodate the mobile robot. That is, the depth dimension of the accommodating cavity in the depth direction is not less than the longitudinal dimension of the mobile robot. The longitudinal dimension is the dimension of the mobile robot in the depth direction when it is docked in the accommodating cavity.

[0053] In addition, a base station whose accommodating cavity depth is greater than the longitudinal dimension of the mobile robot is more suitable for the base station determination method of the embodiment of this specification. The mutation threshold is better defined, so that the mobile robot can more easily determine the occurrence of the emergency event corresponding to the acquisition of the first reference information and the acquisition of the second reference information.

[0054] In some embodiments of the present specification, the first reference information is obtained when the first mutation event occurs; the method for determining the first mutation event includes: during the execution of the edge action, obtaining the first distance data corresponding to the first detection point and the second distance data corresponding to the second detection point through the edge sensor. The first detection point and the second detection point are adjacent detection points; the detection time of the first detection point is earlier than the detection time of the second detection point. If the distance change data between the first distance data and the second distance data reaches the mutation threshold, it is determined that the first mutation event occurs.

[0055] When the mobile robot performs edge motion, it continuously emits ranging laser or ranging infrared light to obstacles through the edge sensor to measure the distance. Therefore, the point where the ranging beam hits the obstacle can be used as the detection point. When the first mutation event occurs, the distance data corresponding to the multiple detection points used to detect the occurrence of the first mutation event are used as the first reference information.

[0056] For example, see Figure 1 , the mobile robot moves from right to left to perform the edge action, and the first mutation event occurs when passing through point A. Then the first mutation event can be determined in the following way: according to the preset detection frequency when the mobile robot performs the edge action, the edge sensor will shoot a ranging beam to the point A position to obtain the distance data from the fuselage to point A. The point A position is recorded as the first detection point, and the distance data from the fuselage to point A is the first distance data. Then, as the mobile robot moves, the next ranging beam of the edge sensor will hit the point a position, and the point a position is located on the innermost side wall of the accommodating cavity. The point a position is recorded as the second detection point, and the distance data from the fuselage to point a is the second distance data. Point A and point a are adjacent detection points, and the detection time of point A is earlier than the detection time of point a.

[0057] The difference between the first distance data and the second distance data can be used as the distance change data between the two. Figure 1 The base station shown has a preset mutation threshold of 85mm. The first distance data detected from the fuselage to point A is 10mm, and the second distance data from the fuselage to point a is 100mm. The distance change data between the first distance data and the second distance data is 90mm, and 90mm reaches the mutation threshold of 85mm, so it can be determined that the first mutation event has occurred. Among them, the distance data 10mm corresponding to the first detection point and the distance data 100mm corresponding to the second detection point are the first reference information obtained when the first mutation event occurs.

[0058] In some embodiments of the present specification, if the distance change data between the first distance data and the second distance data reaches a mutation threshold, determining that a first mutation event has occurred includes: if the first distance data is less than the second distance data and the distance change data reaches the mutation threshold, determining that the first mutation event has occurred.

[0059] Since the accommodating cavity of the base station has depth, when the mobile robot performs the edge action and passes through the base station, whether it passes through the base station from right to left or from left to right, the distance data from the fuselage to the obstacle must change from small to large, and then from large to small. Therefore, when determining the conditions for the occurrence of the first mutation event, the condition that the first distance data is less than the second distance data can be added. In this way, some mutation events that do not meet the requirements of passing through the accommodating cavity of the base station can be excluded, the storage of irrelevant data can be reduced, and at the same time, the detection accuracy and efficiency can be improved.

[0060] In some embodiments of the present specification, the second reference information is obtained when the second mutation event occurs; the method for determining the second mutation event includes: when it is determined that the first mutation time occurs, the mobile robot keeps moving in a straight line and continues to perform the edge action. The third distance data corresponding to the third detection point and the fourth distance data corresponding to the fourth detection point are obtained by the edge sensor. Among them, the third detection point and the fourth detection point are adjacent detection points; the detection time of the third detection point is earlier than the detection time of the fourth detection point. If the distance change data between the third distance data and the fourth distance data reaches the mutation threshold, it is determined that the second mutation event occurs.

[0061] The first mutation event occurs earlier than the second mutation event. After the first mutation event is determined to have occurred, the mobile robot continues to move forward in a straight line and performs edge motion. When passing through the base station housing cavity, the distance data measured by the edge sensor is definitely greater than the first distance data. When passing through another boundary of the housing cavity, the occurrence of the second mutation event can be detected.

[0062] For example, see Figure 1 After the mobile robot passes point A, it detects the occurrence of the first mutation event, maintains a straight line and continues to perform edge motion to detect the distance. In the part passing through the accommodating cavity, the distance data measured by its edge sensor is greater than the first distance data. According to the detection frequency preset by the mobile robot, the ranging beam of the edge sensor hits the position of point b on the inner wall of the accommodating cavity and is recorded as the third detection point, and the distance data from the fuselage to point b is recorded as the third distance data. As the mobile robot moves to the left, the next ranging beam of the edge sensor hits point B. The position of point B is recorded as the fourth detection point, and the distance data from the fuselage to point B is the fourth distance data. Point b and point B are adjacent detection points, and the detection time of point b is earlier than the detection time of point B.

[0063] The difference between the third distance data and the fourth distance data is the distance change data between the two. Figure 1 The base station shown has a preset mutation threshold of 85mm. The third distance data detected from the fuselage to point b is 100mm, and the fourth distance data from the fuselage to point B is 10mm. The distance change data between the third distance data and the fourth distance data is 90mm, and 90mm reaches the mutation threshold of 85mm, so it can be determined that the second mutation event has occurred. Among them, the third distance data 100mm corresponding to the third detection point and the fourth distance data 10mm corresponding to the fourth detection point are used as the second reference information obtained when the second mutation event occurs.

[0064] In some embodiments of the present specification, if the distance change data between the first distance data and the second distance data reaches a mutation threshold, determining that a second mutation event has occurred includes: if the third distance data is greater than the fourth distance data and the distance change data reaches the mutation threshold, determining that the second mutation event has occurred.

[0065] Similarly, when the mobile robot performs the edge action and passes the base station, whether it passes the base station from right to left or from left to right, the distance data from the body to the obstacle must change from small to large, and then from large to small. Therefore, when determining the conditions for the occurrence of the second mutation event, the condition that the third distance data is greater than the fourth distance data can be added.

[0066] In some embodiments of the present specification, the entrance size of the accommodating cavity includes a transverse entrance size. If the first position point and the second position point meet the entrance detection condition set for the entrance size of the accommodating cavity, determining the position of the base station based on the first position point and the second position point includes: if the difference between the distance between the first position point and the second position point and the transverse entrance size is within a preset size range, determining the position of the base station based on the first position point and the second position point.

[0067] After determining the first mutation event and the second mutation event, further judgment is required to determine whether the first mutation event and the second mutation event occur when passing through the receiving cavity. Therefore, the entrance detection condition is pre-set for the transverse entrance dimension of the entrance dimension of the receiving cavity. The transverse entrance dimension of the receiving cavity can be understood as Figure 1 The horizontal distance between points A and B is shown.

[0068] When the first mutation event occurs, the first position point recorded by the mobile robot may be the coordinate position of the center point of the mobile robot in the preset map. Similarly, the second position point recorded when the second mutation event occurs is also the coordinate position of the center point of the mobile robot in the preset map. It can be understood that the straight-line distance from the first position point to the second position point is theoretically equal to the distance between point A and point B in the horizontal direction. Considering the measurement error of the mobile robot, a preset size range can be set.

[0069] When the difference between the distance between the first position point and the second position point and the lateral entrance size is within the preset size range, it can be determined that the first mutation event and the second mutation event occurred when passing through the base station accommodating cavity, that is, the position of the base station can be inferred based on the first position point and the second position point, combined with the first distance and the third distance, and the horizontal distance between the center point of the mobile robot and the ranging sensor.

[0070] In some embodiments of the present specification, the mobile robot has a first posture corresponding to the first position point. The mobile robot has a second posture corresponding to the second position point. After determining the position of the base station based on the first position point and the second position point, the base station position determination method further includes: determining the return posture of the mobile robot entering the base station according to the first posture and the second posture.

[0071] The purpose of determining the base station position is to be able to enter the base station for charging or cleaning, etc. Therefore, after determining the base station position, the return posture of the mobile robot entering the base station can also be determined based on the first position point and the second position point of the base station position.

[0072] When the mobile robot determines that the first mutation event occurs, it can record the first posture of the mobile robot at the first position; when the mobile robot determines that the second mutation event occurs, it can record the second posture of the mobile robot at the second position. The posture may include coordinate position and orientation angle. Then, based on the position of the base station, the return posture of entering the base station is determined according to the first posture and the second posture.

[0073] In some embodiments of the present specification, determining the return posture of the mobile robot entering the base station according to the first posture and the second posture includes: determining the return starting coordinate according to the center position between the first coordinate and the second coordinate. Determining the return orientation angle according to the first orientation angle and the second orientation angle. Wherein, when the mobile robot rotates to the return orientation angle at the position corresponding to the return starting coordinate, it can go straight into the base station.

[0074] The first posture includes the first coordinates and the first orientation angle of the mobile robot at the first position. The second posture includes the second coordinates and the second orientation angle of the mobile robot at the second position. The return posture includes the return starting coordinates and the return orientation angle.

[0075] The mobile robot usually enters the storage chamber from the central axis of the base station storage chamber, which can reduce the possibility of collision with the side wall of the storage chamber. Therefore, the starting coordinates of the return station are usually set on the central axis of the storage chamber. For the sweeping robot in the home, its charging device is usually set at the rear end, so the return station orientation angle is usually the azimuth angle of the mobile robot with its back to the base station along the central axis of the storage chamber.

[0076] For example, see Figure 3 , if the first pose of the first position point is PoseA:(X0,Y0,θ0), and the second pose of the second position point is PoseB:(X1,Y1,θ1). Where θ0 represents the first orientation angle, (X0,Y0) represents the first coordinate; θ1 represents the second orientation angle, and (X1,Y1) represents the second coordinate. Assume that the first position point and point A have the same Y coordinate, and the second position point and point B have the same Y coordinate. Then the center position C' of the first coordinate and the second coordinate can be determined. The center position C' is located on the central axis of the accommodating cavity, or is within a certain deviation range from the Y coordinate of the central axis. Since the mobile robot is close to the base station when moving along the edge, the coordinates of point C after the center position C' moves a certain distance away from the base station on the Y axis can be used as the starting coordinates of the return to the station. After determining the return to the station orientation angle based on the first orientation angle θ0 and the second orientation angle θ1, the return to the station pose of the mobile robot at point C is determined to be PoseC:(X,Y,θ). When the mobile robot rotates to the return-to-station orientation angle θ at the position corresponding to the return-to-station starting coordinates (X, Y), it can move backward and straight into the base station.

[0077] In some embodiments of the present specification, the base station 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. The household appliance includes a clothes processing device.

[0078] The base station determination method of the embodiment of this specification is applicable to the case where the base station has a large depth. For example, the base station of a sweeping robot that washes and mops in the home life can be set at the bottom of the household appliance, and the household appliance can be a clothing processing device, such as a washing machine. By setting the base station at the bottom of the washing machine, the water path of the washing machine can be connected, making the base station more convenient for the cleaning work of the sweeping robot. In the case that the base station of the mobile robot does not need to be connected to the water path, the base station can also be set in other household appliances in the home, such as refrigerators, dishwashers, televisions, air purifiers, water purifiers, air conditioners, steaming and baking equipment, sinks, integrated stoves, etc.

[0079] In some embodiments, the base station may also be a part of a household appliance; or when the base station of the mobile robot does not need to be connected to a waterway, the base station may also be set at the bottom of a piece of furniture or be a part of the furniture.

[0080] Among them, the household appliances may include clothing processing equipment, which may be washing machines, dryers, and integrated washing and drying machines. The household appliances may also be any one of refrigerators, dishwashers, televisions, air purifiers, water purifiers, air conditioners, steaming and baking equipment, sinks, integrated stoves, etc. The furniture may be any one of shoe cabinets, TV cabinets, bookcases, bathtubs, fish tanks, cabinets, toilets, fixed tables and chairs, bars, washbasins, etc.

[0081] For the above embodiments, please refer to Figure 4 The embodiment of this specification also proposes a base station location determination device. The base station is provided with a receiving cavity, and the base station location determination device includes:

[0082] The event determination module 410 is used to determine the first position point of the mobile robot when the first reference information is obtained and the second position point of the mobile robot when the second reference information is obtained during the process of the mobile robot performing the edge action through the edge sensor.

[0083] The first reference information and the second reference information are information corresponding to two adjacent mutation events; a mutation event is an event corresponding to when the distance change data detected by the edge sensor reaches a mutation threshold during the execution of the edge action.

[0084] The position determination module 420 is used to determine the position of the base station based on the first position point and the second position point if the first position point and the second position point meet the entrance detection condition set for the entrance size of the accommodation cavity.

[0085] According to the base station position determination device of the embodiment of this specification, when the mobile robot performs edge actions through the edge sensors, the occurrence of a mutation event is determined by the distance change data detected by the edge sensors. The first reference information and the second reference information corresponding to the occurrence of two adjacent mutation events are recorded, and the first position point and the second position point of the mobile robot when the two mutation events occur are recorded at the same time. When the first position point and the second position point meet the entrance detection conditions set for the entrance size of the base station accommodating cavity, the position of the base station can be determined based on the first position point and the second position point. The base station determination method of the embodiment of this specification does not require the installation of additional sensors, and the base station position can be determined by using the edge sensors that act along the edge, and for base stations with a larger depth, it has higher efficiency in determining the base station.

[0086] For the specific definition of the base station location determination device, please refer to the definition of the base station location determination method above, which will not be repeated here. Each module in the above-mentioned base station location determination 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.

[0087] Corresponding to the above embodiments, this specification also proposes a mobile robot.

[0088] Figure 5 is a block diagram of a mobile robot according to an embodiment of the present specification. Figure 5 As shown, the mobile robot 500 includes a memory 504, a processor 502, and a base station location determination program 506 stored in the memory 504 and executable on the processor 502. When the processor 502 executes the base station location determination program 506, the base station location determination method of any of the above-mentioned embodiments is implemented.

[0089] In some embodiments of the present specification, a base station corresponding to the mobile robot is arranged at the bottom of a household appliance, and the household appliance includes a clothing processing device.

[0090] According to the mobile robot of the embodiment of this specification, when the processor 502 executes the base station position determination program 506, there is no need to install additional sensors. The base station position can be determined by using edge sensors that move along the edge, and for base stations with a greater depth, it is more efficient in determining the base station.

[0091] Corresponding to the above embodiments, the embodiments of this specification also propose a computer-readable storage medium, on which a base station location determination program is stored. When the base station location determination program is executed by a processor, the base station location determination method as described in any one of the first aspects is implemented.

[0092] According to the computer-readable storage medium of the embodiment of this specification, when the base station determination program is executed by the processor, there is no need to install additional sensors. The base station location can be determined by using edge sensors that move along the edge, and for base stations with a greater depth, it is more efficient in determining the base station.

[0093] 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.

[0094] 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.

[0095] 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.

[0096] 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.

[0097] 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.

[0098] 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.

[0099] 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.

[0100] 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 method for determining a base station location, characterized in that: The base station is provided with an accommodating cavity, and the method comprises: In the process of the mobile robot performing an edge action through the edge sensor, determine the first position point of the mobile robot when the first reference information is obtained and the second position point of the mobile robot when the second reference information is obtained; wherein the first reference information and the second reference are corresponding information obtained when two adjacent mutation events occur; the mutation event is an event corresponding to the distance change data detected by the edge sensor reaching a mutation threshold during the execution of the edge action; If the first position point and the second position point satisfy the entrance detection condition set for the entrance size of the accommodating cavity, the position of the base station is determined based on the first position point and the second position point.

2. The method according to claim 1, characterized in that: The mutation threshold is set according to the depth dimension of the accommodating cavity in the depth direction; the depth direction is perpendicular to the entrance cross section of the accommodating cavity.

3. The method according to claim 1 or 2, characterized in that: The depth dimension of the accommodating cavity in the depth direction is not less than the longitudinal dimension of the mobile robot; the longitudinal dimension is the dimension of the mobile robot in the depth direction when the mobile robot is docked in the accommodating cavity.

4. The method according to claim 1 or 2, characterized in that: When a first mutation event occurs, obtaining the first reference information; The method for determining the first mutation event comprises: During the execution of the edge action, first distance data corresponding to a first detection point and second distance data corresponding to a second detection point are acquired by the edge sensor; wherein the first detection point and the second detection point are adjacent detection points; and the detection time of the first detection point is earlier than the detection time of the second detection point; If the distance change data between the first distance data and the second distance data reaches the mutation threshold, it is determined that the first mutation event occurs.

5. The method according to claim 4, characterized in that If the distance change data between the first distance data and the second distance data reaches the mutation threshold, determining that the first mutation event occurs includes: If the first distance data is smaller than the second distance data, and the distance change data reaches the mutation threshold, it is determined that the first mutation event occurs.

6. The method according to claim 4, characterized in that The second reference information is obtained when a second mutation event occurs; the occurrence time of the first mutation event is earlier than the occurrence time of the second mutation event; and the method for determining the second mutation event includes: When it is determined that the first mutation time occurs, the mobile robot keeps moving in a straight line and continues to perform the edge action; Acquire third distance data corresponding to a third detection point and fourth distance data corresponding to a fourth detection point through the edge sensor; wherein the third detection point and the fourth detection point are adjacent detection points; and the detection time of the third detection point is earlier than the detection time of the fourth detection point; If the distance change data between the third distance data and the fourth distance data reaches the mutation threshold, it is determined that the second mutation event occurs.

7. The method according to claim 6, characterized in that If the distance change data between the first distance data and the second distance data reaches the mutation threshold, determining that the second mutation event occurs includes: If the third distance data is greater than the fourth distance data, and the distance change data reaches the mutation threshold, it is determined that the second mutation event occurs.

8. The method according to claim 1, characterized in that The entrance size of the accommodating cavity includes a lateral entrance size; if the first position point and the second position point meet the entrance detection condition set for the entrance size of the accommodating cavity, determining the position of the base station based on the first position point and the second position point includes: If the difference between the distance between the first position point and the second position point and the lateral entrance size is within a preset size range, the position of the base station is determined based on the first position point and the second position point.

9. The method according to claim 1, characterized in that: The mobile robot has a first posture corresponding to the first position point; the mobile robot has a second posture corresponding to the second position point; After determining the position of the base station based on the first position point and the second position point, the method further includes: The back-to-station posture of the mobile robot entering the base station is determined according to the first posture and the second posture.

10. The method according to claim 9, characterized in that The first posture includes a first coordinate and a first orientation angle of the mobile robot at the first position point; the second posture includes a second coordinate and a second orientation angle of the mobile robot at the second position point; The return-to-station posture includes the return-to-station starting coordinates and the return-to-station orientation angle; Determining a return posture of the mobile robot entering the base station according to the first posture and the second posture includes: Determine the return start coordinates according to the center position between the first coordinates and the second coordinates; The return-to-station orientation angle is determined according to the first orientation angle and the second orientation angle; wherein, when the position corresponding to the return-to-station starting coordinates is rotated to the return-to-station orientation angle, the mobile robot can go straight into the base station.

11. The method according to claim 1 or 2, 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. A mobile robot, characterized in that: The method comprises a memory, a processor and a base station location determination program stored in the memory and executable on the processor. When the processor executes the program, the base station location determination method as described in any one of claims 1 to 11 is implemented.

13. The mobile robot according to claim 12, 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.

14. A computer-readable storage medium, characterized in that: A base station location determination program is stored thereon, and when the program is executed by a processor, a base station location determination method as described in any one of claims 1-11 is implemented.