[go: up one dir, main page]

WO2025261195A1 - Method for controlling mobile device, and related device - Google Patents

Method for controlling mobile device, and related device

Info

Publication number
WO2025261195A1
WO2025261195A1 PCT/CN2025/099836 CN2025099836W WO2025261195A1 WO 2025261195 A1 WO2025261195 A1 WO 2025261195A1 CN 2025099836 W CN2025099836 W CN 2025099836W WO 2025261195 A1 WO2025261195 A1 WO 2025261195A1
Authority
WO
WIPO (PCT)
Prior art keywords
mobile device
preset
satellite positioning
distance
initial point
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
PCT/CN2025/099836
Other languages
French (fr)
Chinese (zh)
Inventor
魏基栋
王凯
罗元泰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Mammotion Innovation Co Ltd
Original Assignee
Shenzhen Mammotion Innovation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Mammotion Innovation Co Ltd filed Critical Shenzhen Mammotion Innovation Co Ltd
Publication of WO2025261195A1 publication Critical patent/WO2025261195A1/en
Pending legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/40Control within particular dimensions
    • G05D1/43Control of position or course in two dimensions
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/20Control system inputs
    • G05D1/24Arrangements for determining position or orientation
    • G05D1/242Means based on the reflection of waves generated by the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/20Control system inputs
    • G05D1/24Arrangements for determining position or orientation
    • G05D1/243Means capturing signals occurring naturally from the environment, e.g. ambient optical, acoustic, gravitational or magnetic signals
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/60Intended control result
    • G05D1/617Safety or protection, e.g. defining protection zones around obstacles or avoiding hazards
    • G05D1/622Obstacle avoidance
    • G05D1/633Dynamic obstacles
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/60Intended control result
    • G05D1/644Optimisation of travel parameters, e.g. of energy consumption, journey time or distance
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/60Intended control result
    • G05D1/648Performing a task within a working area or space, e.g. cleaning

Definitions

  • This application relates to the field of robotics technology, specifically to a control method for a mobile device and related equipment.
  • lawnmower robots In existing technologies, lawnmower robots often experience poor satellite positioning signals due to obstructions from buildings, trees, and other objects on the lawn, affecting their positioning accuracy. Therefore, it is urgent to address the problem of inaccurate satellite positioning caused by obstructions, which hinders the movement of lawnmower robots.
  • This application provides a control method and related equipment for a mobile device, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.
  • embodiments of this application provide a control method for a mobile device, the method comprising: controlling the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, controlling the mobile device to continue moving along the preset path for a first mileage or a first duration; after continuing to move along the preset path for the first mileage or the first duration, controlling the mobile device to move randomly; during the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, determining the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, the initial point being the initial position of the random movement of the mobile device; when the distance is less than a preset distance, controlling the mobile device to move to the initial point; and after returning to the initial point, controlling the mobile device to continue moving along the preset path.
  • control device for a mobile device.
  • the control device may include a first control unit, a determining unit, and a second control unit.
  • the first control unit is configured to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, it controls the mobile device to continue moving along the preset path for a first mile or a first duration.
  • the determining unit is configured to control the mobile device to move randomly after continuing to move along the preset path for the first mile or the first duration.
  • the mobile device when the mobile device moves to a position where the satellite positioning signal meets the preset condition, it determines the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, where the initial point is the initial position of the random movement of the mobile device.
  • the second control unit is configured to control the mobile device to move to the initial point when the distance is less than a preset distance; and after returning to the initial point, it controls the mobile device to continue moving along the preset path.
  • embodiments of this application provide a mobile device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the first aspect of embodiments of this application.
  • embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of embodiments of this application.
  • embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application.
  • the computer program product may be a software installation package.
  • the mobile device control method and related equipment described in this application control the mobile device to move along a preset path.
  • the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration.
  • the mobile device is controlled to move randomly.
  • the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal.
  • the initial point is the initial position of the random movement of the mobile device.
  • the mobile device When the distance is less than a preset distance, the mobile device is controlled to move to the initial point. After returning to the initial point, the mobile device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance.
  • the system then controls the mobile device to move randomly. This random movement doesn't require high-precision positioning; it simply uses sensors to identify and avoid obstacles, boundaries, and restricted areas. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path when the satellite positioning signal no longer meets the preset conditions.
  • the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning location. This solves the problem of inaccurate satellite positioning affecting the movement of the lawnmower robot when obstructed.
  • Figure 1A is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application.
  • Figure 1B is a schematic diagram illustrating the sky region in an environmental image provided in an embodiment of this application.
  • Figure 1C is a schematic diagram illustrating a maximum inscribed circle provided in an embodiment of this application.
  • Figure 1D is a schematic diagram illustrating a first position provided in an embodiment of this application.
  • Figure 1E is another schematic diagram illustrating a first position provided in an embodiment of this application.
  • Figure 1F is a schematic diagram illustrating a scenario of a control method for a mobile device provided in an embodiment of this application.
  • Figure 1G is a schematic diagram illustrating a scenario of a control method for a mobile device provided in an embodiment of this application.
  • FIG. 2 is a flowchart illustrating another mobile device control method provided in an embodiment of this application.
  • Figure 3 is a schematic diagram of the structure of a mobile device provided in an embodiment of this application.
  • Figure 4 is a block diagram of the functional units of a control device for a mobile device provided in an embodiment of this application.
  • the mobile device may include at least one of the following: lawnmower robot, mobile robot (robot with mobility function), smart car, etc., without limitation.
  • the mobile device may also be other robots with the relevant functions described in this application embodiment.
  • the mobile device may be equipped with a satellite positioning device, a non-satellite positioning device, and a camera.
  • the satellite positioning device can be used to achieve positioning using satellite positioning technology, such as real-time kinematic (RTK) technology.
  • the non-satellite positioning device can achieve positioning using non-satellite positioning technology.
  • RTK real-time kinematic
  • the camera can be used to capture environmental images.
  • the camera may include a rear-view camera with its lens facing the upper rear of the mobile device.
  • non-satellite positioning technologies may include at least one of the following: visual positioning, inertial measurement unit (IMU) positioning, visual-inertial odometry (VIO) positioning, etc., without limitation.
  • visual positioning inertial measurement unit (IMU) positioning
  • VIO visual-inertial odometry
  • FIG. 1A is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes the following steps.
  • the preset path can be a pre-planned path or a system default path.
  • the mobile device may include a lawnmower robot, which can be controlled to move along a planned path and perform lawnmowing operations within the work area.
  • a lawnmower robot which can be controlled to move along a planned path and perform lawnmowing operations within the work area.
  • satellite positioning technology is used to control the mobile device to move along the preset path within the work area.
  • non-satellite positioning technology is used to control the mobile device to move along the preset path within the work area.
  • the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path for a first mileage or a first duration.
  • preset conditions can be pre-set or defaulted to by the system.
  • the signal quality of satellite positioning signals affects the accuracy of satellite positioning, and preset conditions are used to evaluate signal quality. For example, if the signal strength of the satellite positioning signal is greater than a preset signal strength threshold, it means that the signal quality of the satellite positioning signal meets the preset conditions. Conversely, if the signal strength of the satellite positioning signal is less than or equal to the preset signal strength threshold, it means that the signal quality of the satellite positioning signal does not meet the preset conditions.
  • the preset signal strength threshold can be pre-set or defaulted to by the system.
  • satellite positioning signals can include real-time kinematic (RTK) signals.
  • RTK real-time kinematic
  • the first mileage can be preset or set by the system default, and the first duration can also be preset or set by the system default.
  • the first mileage can be understood as the distance the mobile device will travel within the preset extended mileage.
  • the first duration can be understood as the duration of continued travel. In one example, it can be preset that the distance traveled within the first duration will not exceed the preset extended mileage.
  • the preset extended mileage can be preset or set by the system default.
  • a mobile device when a mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is poor.
  • the device can be repositioned using visual inertial odometry to extend its lifespan, allowing the mobile device to move for a preset extended lifespan. It can be assumed that the mobile device's positioning is accurate within the preset extended lifespan.
  • the mobile device After continuing to move the first mileage or the first duration along the preset path, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device.
  • the mobile device can be controlled to move randomly within the work area. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined. The initial point is the initial position of the random movement of the mobile device.
  • the first mileage can be equal to the preset lifespan mileage. In this way, the number of times the mobile device switches to random movement during the movement along the preset path can be reduced, thereby improving the operating efficiency of the mobile device.
  • the preset distance can be set in advance or set by the system default.
  • the distance when the distance is less than a preset distance, it can be understood that the distance is still within the preset endurance range, and accurate positioning can still be achieved using non-satellite positioning technology. Since the satellite positioning signal at the current location meets preset conditions, satellite positioning can be achieved, controlling the mobile device to move to the initial point. If the distance between the current location and the initial point is within the preset endurance range, satellite positioning technology can be used to achieve positioning when the satellite positioning signal meets the preset conditions. If the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used to achieve positioning, thereby ensuring high-precision positioning during the journey from the current location to the initial point.
  • the initial point after returning to the initial point, since the initial point is within a preset range of mileage, the initial point can maintain high-precision positioning, and the mobile device can be controlled to continue moving along the preset path, thus maintaining high-precision positioning within a certain mileage range (preset range of mileage).
  • the mobile device when the distance is greater than or equal to the preset distance, the mobile device is controlled to move along a first direction so that the mobile device moves closer to the initial point.
  • the first direction can be preset or set by the system default.
  • the first direction can be southeast or northwest.
  • the mobile device when the distance is greater than or equal to a preset distance, it can be understood that the distance is no longer within the preset range of continued operation.
  • the mobile device is then controlled to move along a first direction. Moving along the first direction is to find a location where the satellite positioning signal meets the conditions and the distance is less than or equal to the preset distance more quickly.
  • the mobile device can be controlled to move in a first direction, that is, to move along that first direction to bring the mobile device closer to the initial point.
  • the satellite signal quality is detected. If the satellite signal quality meets the preset conditions, satellite positioning technology can be used for positioning, and it can be determined whether the mobile device's position is less than the preset distance from the initial point. If so, the mobile device is controlled to return to the initial point.
  • the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.
  • the first direction can be towards a circle centered on the initial point and with a preset distance as the radius. This ensures that the mobile device can move simultaneously within the working area and the circle, i.e., within the intersection of the circle and the working area. If the satellite signal quality at any location meets the preset conditions during the movement, high-precision positioning can be maintained based on the process from that location to the initial point. Therefore, controlling the mobile device to move towards a circle centered on the initial point and with a preset distance as the radius can ensure high-precision positioning within the effective radius of the initial point and the available range.
  • the mobile device can be controlled to move into a circle with the initial point as the center and the preset distance as the radius.
  • the mobile device during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the mobile device is controlled to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move along the first direction using non-satellite positioning technology.
  • the mobile device during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets preset conditions, it indicates that the satellite positioning signal is strong, and the mobile device can be controlled to move along the first direction using satellite positioning technology.
  • the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is weak, and the satellite positioning may be inaccurate. Therefore, non-satellite positioning technology can be used to locate the mobile device, and the movement of the mobile device along the first direction can be controlled using non-satellite positioning technology. In this way, continuous accurate positioning can be guaranteed, achieving accurate positioning within a preset service life range.
  • VIO Vauum-Independent Positioning
  • the robot moves within the area according to a preset strategy until the satellite signal quality improves (meeting preset conditions). Then, RTK positioning is used to calibrate the robot's position, and it returns to the initial point.
  • the preset strategy allows the robot to move in any direction, turn at the boundary of the area or the lawn, and avoid obstacles. This strategy ensures the robot remains within the designated area and quickly finds a location with strong satellite signal (meeting preset conditions) and close to the initial point.
  • the mobile device after the mobile device is controlled to enter the circle by the non-satellite positioning technology, if the remaining range is greater than 0, the mobile device is controlled to move within the circle by the non-satellite positioning technology so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition.
  • the remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction by the non-satellite positioning technology.
  • the mobile device's position is within a preset endurance range (i.e., the remaining endurance range is greater than 0), where the remaining endurance range is obtained based on the preset endurance range and the distance the mobile device moves along a first direction using non-satellite positioning technology.
  • the remaining endurance range preset endurance range - distance the mobile device moves along the first direction using non-satellite positioning technology. This ensures continued accurate positioning within the preset endurance range, allowing the mobile device to continue moving within the circle. This ensures that the mobile device detects a satellite positioning signal at its new position, meeting preset conditions. Therefore, this helps ensure the mobile device moves within the circle and quickly finds a position where the satellite positioning signal meets the preset conditions and is close to the initial point.
  • a mobile device enters the designated area and remains within the preset range (e.g., 100 meters) for non-satellite positioning, it will continue moving within the area until a satellite positioning signal is detected that meets preset conditions. Then, satellite positioning will be used to calibrate the device's position, and it will return to its initial point. Controlling the mobile device's movement within the designated area can be done as follows: the device can move in any direction, turn when reaching the boundary of the area or the edge of the lawn, and avoid obstacles. This allows the mobile device to remain within the designated area and more quickly find a location where the satellite positioning signal meets the preset conditions and is close to the initial point.
  • the preset range e.g. 100 meters
  • the method may further include: if the remaining range is less than or equal to 0, controlling the mobile device to move randomly; when the mobile device moves to a position where the satellite positioning signal meets the preset condition, performing the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal.
  • the remaining range of the mobile device is less than or equal to 0 when it is not within the preset range of the mobile device, it means that it is not within the preset range of the mobile device. Therefore, if it is not within the preset range of the mobile device, accurate positioning cannot be guaranteed, and it cannot be guaranteed that the mobile device can enter the range of the mobile device. So it moves randomly. However, it can continue to maintain the original direction of movement when it just exceeds the preset range of the mobile device. It will turn when the turning trigger condition is met. That is, the positioning can be considered relatively reliable when it just exceeds the preset range of the mobile device. Maintaining the original direction of movement can increase the probability of entering the range of the mobile device.
  • the triggering condition can be understood as follows: when the mobile device detects through its sensors that it is about to reach a boundary, restricted area, or obstacle, it can change its direction of movement to avoid leaving the work area, entering a restricted area, or colliding with the obstacle.
  • Sensors can include at least one of the following: cameras, ultrasonic sensors, infrared sensors, lidar, etc., without limitation.
  • the mobile device can also change its direction of movement when a first steering trigger condition is met. That is, when the sensor detects that the mobile device is about to reach a boundary, restricted area or obstacle, it can change its direction of movement to avoid the mobile device leaving the work area, entering a restricted area, or colliding with an obstacle.
  • environmental images in at least one direction can be captured by a camera, and the sky area can be identified through the environmental images. Since the sky area is not obstructed by obstacles, its corresponding ground projection position is likely to have good satellite positioning signal quality. Therefore, the relative positional relationship between the mobile device's position and the sky area's ground projection position can be determined. Then, the mobile device can be controlled to move in the direction of the sky area's ground projection position according to the relative positional relationship, thereby helping the mobile device to quickly find a position with good satellite positioning signal quality.
  • the first steering trigger condition and the second steering trigger condition can be the same or different, and the first set distance value and the second set distance value can be the same or different.
  • Each environmental image can contain k sky regions.
  • the largest inscribed circle of the sky region in the environmental image is selected. When the radius of this largest inscribed circle is greater than the preset radius, the coordinates of the center of this largest inscribed circle projected onto the ground are stored as the first position.
  • the entire area in the environment image will be the sky.
  • a sky area will be divided into multiple sky areas by these other objects, as shown in Figure 1B. Multiple sky areas can exist in the environment image.
  • the reason for choosing the center point is that the satellite signal at the center point is considered to be the best. Since the area around the sky is the non-sky area, satellite positioning is poor in this area due to the obstruction of surrounding obstacles. Choosing the center point can be understood to some extent as the location corresponding to the point is less affected by surrounding obstacles, and therefore has the best satellite signal.
  • a rectangle can represent the environmental image
  • an ellipse can represent the sky area
  • a circle can represent the largest inscribed circle of the sky area.
  • the mobile device can include a rear-view camera to capture the sky and obtain an environmental image.
  • the coordinates O' of the center O of the inscribed circle of the sky area in the environmental image projected onto the ground are stored as the first position.
  • the mobile device After the mobile device continues to move for a first mile or a first period of time, before moving randomly, it takes multiple images from different directions by rotating in place, identifies the sky region from the images, and determines the projected position of the sky region.
  • the projected position can be the projected coordinates of the center of the largest inscribed circle of the sky region on the ground.
  • the projected coordinates of the center of the tangent circle in the sky region on the ground can be determined as follows: Specifically, the method for determining the projected coordinates of the center of the tangent circle in the sky region on the ground can be as follows: By recognizing the spatial coordinates (X1, Y1, Z1) of the obstacle from the image, the offset ( ⁇ X, ⁇ Y) between the pixel coordinates of the obstacle and the pixel coordinates of the center of the inscribed circle in the sky region is calculated. Based on the offset and the spatial coordinates (X1, Y1, Z1) of the obstacle, the projected coordinates (X1+ ⁇ X’, Y1+ ⁇ Y’) of the center of the inscribed circle on the ground are determined. X1 and Y1 are ground coordinates, and Z1 is the altitude coordinate. ( ⁇ X’, ⁇ Y’) and the offset ( ⁇ X, ⁇ Y) have a preset mapping relationship.
  • point T represents the location of the obstacle, with its corresponding spatial coordinates being (X1, Y1, Z1); T’ represents the projection of the obstacle's location onto the ground, i.e., (X1, Y1, 0). Since projection processing is required, height can be ignored, and the spatial two-dimensional coordinates of point O are (X2, Y2). Therefore, the spatial two-dimensional coordinates of point O’ are also (X2, Y2).
  • the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.
  • the satellite positioning signal if the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is weak and the satellite positioning may be inaccurate. Therefore, non-satellite positioning technology can be used to locate the mobile device and control the mobile device to continue moving along the preset path. In this way, accurate positioning can be guaranteed and accurate positioning can be achieved within the preset lifespan. This can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
  • the height of the trees and the height of the houses in the work area can also be obtained; the preset radius is determined based on the height of the trees and the height of the houses.
  • tree height can refer to the average height of all trees, or it can refer to the height of a single tree.
  • House height can refer to the average height of all houses, or it can refer to the height of a single house.
  • a preset radius can be determined based on the height of the trees and houses. In this way, the corresponding preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.
  • the preset radius is calculated as (tree height / house height) ⁇ ⁇ /4.
  • the heights of trees or houses that may affect the signal within the work area can be obtained in advance, and the average height of these objects can be used to calculate the preset radius. In this way, the corresponding preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.
  • the mobile device after the mobile device changes its direction of movement, it continues to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, the mobile device is controlled to change its direction of movement again.
  • the mobile device after the mobile device changes its direction of movement, it can continue to monitor whether the second turning trigger condition is met. If the condition is met, the mobile device can change its direction of movement again. Otherwise, if the condition is not met, the mobile device can keep its direction of movement unchanged. In this way, it can be continuously ensured that the mobile device does not collide, fall into a pit, or go beyond the grass boundary, thus ensuring safety.
  • the following step when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the following step may be included: when the mobile device bypasses the area where the obstacle is located, the mobile device is then controlled to maintain its original direction of movement before bypassing the obstacle.
  • the obstacles may include at least one of the following: stones, trees, shrubs, steps, sculptures, stone tablets, signs, etc., without limitation.
  • the obstacle when a preset object is detected by the sensor, the obstacle can be bypassed.
  • the specific bypass method can be to turn or first determine the area of the obstacle, bypass the area, and then control the mobile device to continue moving within the lawn area. For example, it can maintain the original direction before bypassing the obstacle. In this way, it can ensure that the mobile device does not collide, fall into a pit, or go beyond the lawn boundary, thus ensuring safety.
  • the mobile device its sensors are activated to identify obstacles, potholes, and lawn boundaries. If an obstacle or pothole is encountered, it needs to be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent the device from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the device continues moving forward. Alternatively, it can turn directly in another direction upon encountering an obstacle or pothole.
  • the method of random movement is not limited, as long as the device avoids collisions, falls into potholes, and stays off-limits to ensure safety.
  • the lawnmower taking a lawnmower as a mobile device, the lawnmower is equipped with a rear-view camera with its lens facing the upper rear of the lawnmower.
  • the lawnmower can execute the control method of the mobile device according to the following steps, specifically steps S1-S5.
  • the robot can continue moving along the planned path by using visual positioning or IMU or VIO positioning. That is, after an RTK signal failure, the lawnmower robot can still move for a preset extended range of 100 meters (100 meters is an assumption, the actual range depends on the machine's performance). Within this preset extended range, the lawnmower robot can also obtain accurate positioning through VIO or other methods. In some embodiments, after an RTK signal failure occurs, the lawnmower robot is controlled to continue moving for the preset extended range, i.e., 100 meters.
  • the lawnmower robot detects that the satellite (RTK) signal meets the preset conditions during random movement, i.e. the signal quality is good, it determines the robot's current position through RTK positioning and determines the distance between the current position and the initial point (the initial point can be the starting point of random movement, or the initial point can be the position after moving the preset range of mileage). If the distance is less than the preset distance, it controls the lawnmower robot to return to the initial point (via RTK, VIO positioning when the satellite signal is poor (not meeting the preset conditions).
  • RTK satellite
  • the robot may or may not leave the planned path.
  • the lawnmower can be controlled to move in any direction.
  • an image can be captured by a rear-view camera to locate the sky area, and the relative positional relationship (relative distance and relative angle) between the lawnmower's position and the sky area's projection on the ground can be determined from the image. Then, the robot can move in the direction of the sky area's projection on the ground, allowing it to find a location with good satellite signal quality more quickly.
  • the camera or LiDAR
  • the camera is activated to identify obstacles, potholes, and lawn boundaries. If an obstacle or pothole is encountered, it must be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent the lawnmower from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the lawnmower continues moving forward. Alternatively, it can turn directly in another direction upon encountering an obstacle or pothole.
  • the method of random movement is not limited, as long as the lawnmower avoids collisions, potholes, and going off-limits, ensuring safety.
  • the lawnmower robot if the lawnmower robot encounters a poor RTK signal while moving along the planned path, it can extend its lifespan by using visual positioning or IMU/VIO positioning to continue moving along the planned path. That is, after encountering a poor RTK signal, the lawnmower robot can still move for a preset extended range of 100 meters. After moving this preset extended range, the lawnmower robot is controlled to move randomly from the initial point (point A). During random movement, if the lawnmower robot detects a satellite (RTK) signal that meets preset conditions, it uses RTK positioning to determine its current position (point B) and the distance between the current position (point B) and the initial point (point A).
  • RTK satellite
  • the lawnmower robot is controlled to return to the initial point (point A). After returning to the initial point (point A), the lawnmower robot continues to move along the planned path.
  • the preset distance is r. The distance between point A and point B lies within a circle centered at point A with radius r.
  • the lawnmower robot is controlled to move in a first direction (moving along this first direction to bring the lawnmower robot closer to the initial point).
  • the satellite signal quality is detected. If the signal quality is good, i.e., the signal meets the preset conditions, RTK positioning is performed, and it is determined whether the lawnmower robot's position is less than the preset distance from the initial point. If so, the lawnmower robot is controlled to return to the initial point.
  • the first direction can be the direction from point B' to point A, or the first direction can also be the W direction at point B', i.e., from position B' to the inside of the circle.
  • VIO positioning is used to extend its lifespan and continue moving into the circle. If, after entering the circle, the lawnmower remains within the preset lifespan of VIO positioning (e.g., 100 meters), then it moves within the circle according to a preset strategy until a satellite signal quality is detected that meets the preset conditions. Then, RTK positioning is performed to calibrate the lawnmower's position, and the lawnmower returns to the initial point.
  • the preset strategy controls the lawnmower to move in any direction, turn when reaching the boundary of the circle or the lawn boundary, and avoid obstacles when encountering them. Preset strategies can keep the lawnmower robot moving within the circle, allowing it to find a location with good satellite signal and closer to the starting point more quickly.
  • the lawnmower can continue moving along the planned path by using visual positioning or IMU or VIO positioning. That is, after the RTK signal is poor, the lawnmower can still move for a preset range of 100 meters. After moving the preset range, the lawnmower is controlled to move randomly from the initial point (point A). If the lawnmower detects that the satellite (RTK) signal meets the preset conditions during random movement, it determines the current position (point B') of the robot through RTK positioning and determines the distance between the current position (point B') and the initial point (point A). If this distance is greater than the preset distance (r), the lawnmower is controlled to move into a circle with the initial point (point A) as the center and the preset distance as the radius.
  • RTK satellite
  • the lawnmower If the lawnmower enters the designated area but is outside the preset lifespan (e.g., 100 meters) for VIO positioning, it will move randomly. During this random movement, the camera (or LiDAR) will be activated to identify obstacles, potholes, and lawn boundaries. If obstacles or potholes are encountered, the robot must be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent it from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the lawnmower will continue moving forward. Then, the process returns to step S4. Because the preset lifespan has been exceeded, the lawnmower cannot accurately locate itself and cannot guarantee movement within the designated area; therefore, random movement is selected.
  • the preset lifespan e.g. 100 meters
  • the mobile device control method described in this application controls the mobile device to move along a preset path.
  • the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly.
  • the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal.
  • the initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point.
  • the mobile device After returning to the initial point, the mobile device continues to move along the preset path.
  • the mobile device can still maintain accurate positioning within a certain distance before being controlled to move randomly again. This indicates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, the preset endurance range provided by non-satellite positioning technology can be utilized to the maximum extent. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring that satellite positioning calibration can be performed at that position.
  • the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on the accurate positioning position, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.
  • FIG 2 is a flowchart illustrating another control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes the following steps.
  • the mobile device After continuing to move the first mileage or the first duration along the preset path, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset condition, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device.
  • steps 201-206 above can be found in the relevant steps of a mobile device control method described in Figure 1A, and will not be repeated here.
  • the mobile device control method described in this application controls the mobile device to move along a preset path.
  • the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly.
  • the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal.
  • the initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point.
  • the mobile device After returning to the initial point, the mobile device continues to move along the preset path.
  • the mobile device When the distance is greater than or equal to the preset distance, the mobile device is controlled to move in a first direction to bring the mobile device closer to the initial point.
  • the mobile device can still maintain accurate positioning within a certain distance. Controlling the mobile device to move randomly again indicates that random movement does not require high-precision positioning; it can be achieved through sensing...
  • the device can identify and avoid obstacles, boundaries, and restricted areas. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path when the satellite positioning signal does not meet the preset conditions.
  • the mobile device can find a position where the satellite positioning signal meets the preset conditions, ensuring satellite positioning calibration at that position. If the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point. If the distance is greater than or equal to the preset distance, it can move closer to the initial point and search for a position within a certain range where the satellite positioning signal meets the preset conditions for calibration. Once the distance between the current position and the initial point is again within the preset endurance range, it returns to the initial point and calibrates the position of the initial point. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning position. This solves the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.
  • the program includes instructions for performing the following steps: controlling the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, controlling the mobile device to continue moving along the preset path for a first mile or a first duration; after continuing to move along the preset path for the first mile or the first duration, controlling the mobile device to move randomly; during the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal, the initial point being the initial position of the random movement of the mobile device; when the distance is less than a preset distance, controlling the mobile device to move to the initial point; after returning to the initial point, controlling the mobile device to continue moving along the preset path.
  • the above program further includes instructions for performing the following steps: when the distance is greater than or equal to the preset distance, controlling the mobile device to move along a first direction to bring the mobile device closer to the initial point.
  • the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.
  • the above program further includes instructions for performing the following steps: during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the mobile device is controlled to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move along the first direction using non-satellite positioning technology.
  • the above program further includes instructions for performing the following steps: after controlling the mobile device to enter the circle using the non-satellite positioning technology, if the remaining range is greater than 0, then controlling the mobile device to move within the circle using the non-satellite positioning technology, so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition, wherein the remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction using the non-satellite positioning technology.
  • the program further includes instructions for performing the following steps: after the mobile device changes its direction of movement, continue to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, control the mobile device to change its direction of movement again; or, after the mobile device changes its direction of movement, continue to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, control the mobile device to change its direction of movement again.
  • the first turning trigger condition includes detecting through a sensor that the distance between the mobile device and a preset area is less than a first preset distance value; and/or, the second turning trigger condition includes detecting through the sensor that the distance between the mobile device and the preset area is less than a second preset distance value; the preset area includes any of the following: a boundary, a restricted area, or an area containing obstacles.
  • the above-described procedure includes instructions for performing the following steps: acquiring environmental images in at least one direction using the camera of the mobile device, identifying a sky region using the environmental images, determining the relative positional relationship between the position of the mobile device and the projection position of the sky region on the ground; controlling the mobile device to move in the direction of the projection position of the sky region on the ground according to the relative positional relationship, and controlling the mobile device to change its movement direction when a second turning trigger condition is met.
  • the above program when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the above program further includes instructions for performing the following steps: when the mobile device bypasses the area where the obstacle is located, control the mobile device to maintain its original direction of movement before bypassing the obstacle.
  • the mobile device further includes a rear-view camera with its lens positioned diagonally above and behind the mobile device.
  • the mobile device described in this application is controlled to move along a preset path.
  • the mobile device moves to a location where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly.
  • the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal.
  • the initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point.
  • the mobile device After returning to the initial point, the mobile device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance. Then, the random movement of the mobile device can be controlled again. This demonstrates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring satellite positioning calibration at that location.
  • the distance between this location and the initial point is less than a preset distance, it means the distance between this location and the initial point is within the preset endurance range, guaranteeing the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning location. This solves the problem of inaccurate satellite positioning affecting the movement of the lawnmower robot when obstructed.
  • FIG. 4 is a functional unit block diagram of a control device 400 for a mobile device according to an embodiment of this application.
  • the control device 400 may include a first control unit 401, a determining unit 402, and a second control unit 403.
  • the first control unit 401 is used to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, it controls the mobile device to continue moving along the preset path for a first mileage or a first duration.
  • the determining unit 402 is used to control the mobile device to move randomly after continuing to move along the preset path for the first mileage or the first duration.
  • the mobile device determines the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, where the initial point is the initial position of the random movement of the mobile device.
  • the second control unit 403 is used to control the mobile device to move along a first direction when the distance is less than a preset distance, so that the mobile device moves closer to the initial point.
  • the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.
  • control device 400 of the mobile device is further configured to: after controlling the mobile device to enter the circle using the non-satellite positioning technology, if the remaining range is greater than 0, control the mobile device to move within the circle using the non-satellite positioning technology, so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition, wherein the remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction using the non-satellite positioning technology.
  • control device 400 of the mobile device is further specifically used to: if the remaining range is less than or equal to 0, control the mobile device to move randomly; when the mobile device moves to a position where the satellite positioning signal meets the preset condition, execute the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal.
  • the determining unit 402 in controlling the random movement of the mobile device, is specifically configured to: control the mobile device to move in any direction, and control the mobile device to change its direction of movement when a first turning trigger condition is met.
  • the determining unit 402 in controlling the random movement of the mobile device, is specifically configured to: acquire environmental images in at least one direction using the camera of the mobile device, identify a sky region using the environmental images, determine the relative positional relationship between the position of the mobile device and the projection position of the sky region on the ground; control the mobile device to move in the direction of the projection position of the sky region on the ground according to the relative positional relationship, and control the mobile device to change its movement direction when a second turning trigger condition is met.
  • control device 400 of the mobile device is further configured to: after the mobile device changes its direction of movement, continue to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, control the mobile device to change its direction of movement again; or, after the mobile device changes its direction of movement, continue to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, control the mobile device to change its direction of movement again.
  • the first turning trigger condition includes detecting through a sensor that the distance between the mobile device and a preset area is less than a first preset distance value; and/or, the second turning trigger condition includes detecting through the sensor that the distance between the mobile device and the preset area is less than a second preset distance value; the preset area includes any of the following: a boundary, a restricted area, or an area containing obstacles.
  • control device 400 of the mobile device when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the control device 400 of the mobile device is further configured to: when the mobile device bypasses the area where the obstacle is located, control the mobile device to maintain its original direction of movement before bypassing the obstacle.
  • the control device for the mobile device described in this application controls the mobile device to move along a preset path.
  • the device moves to a position where the satellite positioning signal does not meet preset conditions.
  • the device continues to move along the preset path for a first mile or a first duration.
  • the device moves randomly.
  • the distance between the current position of the mobile device and an initial point is determined based on the satellite positioning signal.
  • the initial point is the initial position of the random movement of the mobile device. If the distance is less than a preset distance, the device moves back to the initial point.
  • the device After returning to the initial point, the device continues to move along the preset path.
  • the mobile device can maintain accurate positioning within a certain distance before being controlled to move randomly. This indicates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, the preset endurance range provided by non-satellite positioning technology can be utilized to the maximum extent. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring that satellite positioning calibration can be performed at that position.
  • the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on the accurate positioning position, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.
  • each program module of the control device of the mobile device in this embodiment can be specifically implemented according to the methods in the above method embodiments.
  • the specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.
  • This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes a mobile device.
  • the disclosed system can be implemented in other ways.
  • the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods.
  • multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical or other forms.
  • the units described above as separate components may or may not be physically separate.
  • the components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
  • the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.
  • the integrated unit can be implemented in hardware or as a software functional unit.
  • the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD).
  • CMD computer-readable storage device
  • This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
  • the aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
  • the program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
  • a computer-readable storage device which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

Disclosed in the embodiments of the present application are a method for controlling a mobile device, and a related device. The method comprises: controlling a mobile device to move along a preset path; when the mobile device moves to a location where a satellite positioning signal does not meet a preset condition, controlling the mobile device to continue to move along the preset path for a first distance or a first duration; after the mobile device continues to move along the preset path for the first distance or the first duration, controlling the mobile device to move randomly, and during the random movement of the mobile device, when the mobile device moves to a location where the satellite positioning signal meets the preset condition, determining the distance between the current location of the mobile device and an initial point on the basis of the satellite positioning signal, wherein the initial point is an initial location of the random movement of the mobile device; when the distance is less than a preset distance, controlling the mobile device to move to the initial point; and after the mobile device returns to the initial point, controlling the mobile device to continue to move along the preset path.

Description

移动设备的控制方法及相关设备Control methods and related equipment for mobile devices

本申请要求于2024年06月20日提交中国专利局,申请号为2024108020810,发明名称为“移动设备的控制方法及相关设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 2024108020810, filed on June 20, 2024, entitled “Control Method and Related Device for Mobile Device”, the entire contents of which are incorporated herein by reference.

技术领域Technical Field

本申请机器人技术领域,具体涉及一种移动设备的控制方法及相关设备。This application relates to the field of robotics technology, specifically to a control method for a mobile device and related equipment.

背景技术Background Technology

现有技术中,割草机器人在作业过程中,由于草坪上房屋、树木等遮挡,导致卫星定位信号较差,影响卫星定位精度。因此,如何解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题亟待解决。In existing technologies, lawnmower robots often experience poor satellite positioning signals due to obstructions from buildings, trees, and other objects on the lawn, affecting their positioning accuracy. Therefore, it is urgent to address the problem of inaccurate satellite positioning caused by obstructions, which hinders the movement of lawnmower robots.

发明内容Summary of the Invention

本申请实施例提供了一种移动设备的控制方法及相关设备,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。This application provides a control method and related equipment for a mobile device, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.

第一方面,本申请实施例提供一种移动设备的控制方法,所述方法包括:控制所述移动设备沿预设路径移动;当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长;在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置;在所述距离小于预设距离时,控制所述移动设备移动到所述初始点;在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。In a first aspect, embodiments of this application provide a control method for a mobile device, the method comprising: controlling the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, controlling the mobile device to continue moving along the preset path for a first mileage or a first duration; after continuing to move along the preset path for the first mileage or the first duration, controlling the mobile device to move randomly; during the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, determining the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, the initial point being the initial position of the random movement of the mobile device; when the distance is less than a preset distance, controlling the mobile device to move to the initial point; and after returning to the initial point, controlling the mobile device to continue moving along the preset path.

第二方面,本申请实施例提供一种移动设备的控制装置,所述移动设备的控制装置可以包括第一控制单元、确定单元和第二控制单元,其中,所述第一控制单元,用于控制所述移动设备沿预设路径移动;当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长;所述确定单元,用于在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置;所述第二控制单元,用于在所述距离小于预设距离时,控制所述移动设备移动到所述初始点;在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。Secondly, embodiments of this application provide a control device for a mobile device. The control device may include a first control unit, a determining unit, and a second control unit. The first control unit is configured to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet a preset condition, it controls the mobile device to continue moving along the preset path for a first mile or a first duration. The determining unit is configured to control the mobile device to move randomly after continuing to move along the preset path for the first mile or the first duration. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset condition, it determines the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, where the initial point is the initial position of the random movement of the mobile device. The second control unit is configured to control the mobile device to move to the initial point when the distance is less than a preset distance; and after returning to the initial point, it controls the mobile device to continue moving along the preset path.

第三方面,本申请实施例提供一种移动设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面中的步骤的指令。Thirdly, embodiments of this application provide a mobile device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the processor, and the programs include instructions for performing the steps in the first aspect of embodiments of this application.

第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program for electronic data interchange, wherein the computer program causes a computer to perform some or all of the steps described in the first aspect of embodiments of this application.

第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。Fifthly, embodiments of this application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps described in the first aspect of embodiments of this application. The computer program product may be a software installation package.

实施本申请实施例,具备如下有益效果:本申请所描述的移动设备的控制方法及相关设备,控制移动设备沿预设路径移动,当移动设备移动到卫星定位信号不满足预设条件的位置时,控制移动设备沿预设路径继续移动第一里程或第一时长;在沿预设路径继续移动第一里程或第一时长后,控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置,在距离小于预设距离时,控制移动设备移动到初始点,在回到初始点后,控制移动设备继续沿预设路径移动,进而,可以在卫星定位信号不满足预设条件时,移动设备还可以维持一定距离内的精准定位,再控制移动设备随机移动,随机移动不需要高精度的定位,通过传感器识别障碍物、边界、禁区并避开即可,因此,可以最大限度利用非卫星定位技术提供的预设可续命里程,使得移动设备在卫星定位信号不满足预设条件之后可以利用非卫星定位技术沿预设路径移动更远的距离,并在随机移动过程中找到卫星定位信号满足预设条件的位置,则可以保证在该位置进行卫星定位校准,在该位置与初始点之间的距离小于预设距离时,则说明该位置与初始点之间的距离在预设可续命里程内,则可以保证移动设备能准确到达初始点,并对初始点的位置进行校准,以使得移动设备可以再次基于精准的定位位置从初始点沿预设路径移动,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。Implementing the embodiments of this application has the following beneficial effects: The mobile device control method and related equipment described in this application control the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for a first mile or a first duration, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point. After returning to the initial point, the mobile device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance. The system then controls the mobile device to move randomly. This random movement doesn't require high-precision positioning; it simply uses sensors to identify and avoid obstacles, boundaries, and restricted areas. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path when the satellite positioning signal no longer meets the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring satellite positioning calibration at that location. If the distance between this location and the initial point is less than a preset distance, it means the distance between this location and the initial point is within the preset endurance range, ensuring the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning location. This solves the problem of inaccurate satellite positioning affecting the movement of the lawnmower robot when obstructed.

附图说明Attached Figure Description

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

图1A是本申请实施例提供的一种移动设备的控制方法的流程示意图。Figure 1A is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application.

图1B是本申请实施例提供的一种环境图像中的天空区域的演示示意图。Figure 1B is a schematic diagram illustrating the sky region in an environmental image provided in an embodiment of this application.

图1C是本申请实施例提供的一种最大内切圆的演示示意图。Figure 1C is a schematic diagram illustrating a maximum inscribed circle provided in an embodiment of this application.

图1D是本申请实施例提供的一种第一位置的演示示意图。Figure 1D is a schematic diagram illustrating a first position provided in an embodiment of this application.

图1E是本申请实施例提供的一种第一位置的另一演示示意图。Figure 1E is another schematic diagram illustrating a first position provided in an embodiment of this application.

图1F是本申请实施例提供的一种移动设备的控制方法的场景演示示意图。Figure 1F is a schematic diagram illustrating a scenario of a control method for a mobile device provided in an embodiment of this application.

图1G是本申请实施例提供的一种移动设备的控制方法的场景演示示意图。Figure 1G is a schematic diagram illustrating a scenario of a control method for a mobile device provided in an embodiment of this application.

图2是本申请实施例提供的另一种移动设备的控制方法的流程示意图。Figure 2 is a flowchart illustrating another mobile device control method provided in an embodiment of this application.

图3是本申请实施例提供的一种移动设备的结构示意图。Figure 3 is a schematic diagram of the structure of a mobile device provided in an embodiment of this application.

图4是本申请实施例提供的一种移动设备的控制装置的功能单元组成框图。Figure 4 is a block diagram of the functional units of a control device for a mobile device provided in an embodiment of this application.

具体实施方式Detailed Implementation

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present application.

本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first," "second," etc., in the specification, claims, and accompanying drawings of this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

本申请实施例中,移动设备可以包括以下至少一种:割草机器人、移动机器人(具备移动功能的机器人)、智能汽车等等,在此不做限定,或者,移动设备也可以是具备本申请实施例中所描述的相关功能的其他机器人。In this application embodiment, the mobile device may include at least one of the following: lawnmower robot, mobile robot (robot with mobility function), smart car, etc., without limitation. Alternatively, the mobile device may also be other robots with the relevant functions described in this application embodiment.

本申请实施例中,移动设备可以安装有卫星定位装置、非卫星定位装置以及摄像头,卫星定位装置可以用于采用卫星定位技术实现定位,如实时动态(Real-time kinematic,RTK)技术实现定位,非卫星定位装置可以采用非卫星定位技术实现定位。在一些实施例中,可以在卫星定位信号不满足预设条件的时候,通过非卫星定位装置采用非卫星定位技术实现定位,反之,在卫星定位信号满足预设条件的时候,通过卫星定位装置采用卫星定位技术实现定位。摄像头可以用于采集环境图像。该摄像头可以包括镜头朝向移动设备后上方的后视摄像头。In this embodiment, the mobile device may be equipped with a satellite positioning device, a non-satellite positioning device, and a camera. The satellite positioning device can be used to achieve positioning using satellite positioning technology, such as real-time kinematic (RTK) technology. The non-satellite positioning device can achieve positioning using non-satellite positioning technology. In some embodiments, when the satellite positioning signal does not meet preset conditions, positioning can be achieved using non-satellite positioning technology via the non-satellite positioning device; conversely, when the satellite positioning signal meets preset conditions, positioning can be achieved using satellite positioning technology via the satellite positioning device. The camera can be used to capture environmental images. The camera may include a rear-view camera with its lens facing the upper rear of the mobile device.

其中,非卫星定位技术可以包括以下至少一种:视觉定位、惯性测量单元(Inertial Measurement Unit,IMU)定位、视觉惯性里程计(Visual-Inertial Odometry,VIO)定位等等,在此不做限定。Among them, non-satellite positioning technologies may include at least one of the following: visual positioning, inertial measurement unit (IMU) positioning, visual-inertial odometry (VIO) positioning, etc., without limitation.

下面对本申请实施例进行详细介绍。The embodiments of this application will be described in detail below.

请参阅图1A,图1A是本申请实施例提供的一种移动设备的控制方法的流程示意图,如图所示,本移动设备的控制方法包括如下步骤。Please refer to Figure 1A, which is a flowchart illustrating a control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes the following steps.

101、控制所述移动设备沿预设路径移动。101. Control the mobile device to move along a preset path.

其中,预设路径可以为预先规划好的或者系统默认的规划路径。The preset path can be a pre-planned path or a system default path.

在一些实施例中,移动设备可以包括割草机器人,可以在作业区域内控制割草机器人沿规划路径移动和执行割草作业。当移动设备移动到卫星定位信号满足预设条件的位置时,采用卫星定位技术控制移动设备在作业区域内沿预设路径移动。当移动设备移动到卫星定位信号不满足预设条件的位置时,采用非卫星定位技术控制移动设备在作业区域内沿预设路径移动。In some embodiments, the mobile device may include a lawnmower robot, which can be controlled to move along a planned path and perform lawnmowing operations within the work area. When the mobile device moves to a location where the satellite positioning signal meets preset conditions, satellite positioning technology is used to control the mobile device to move along the preset path within the work area. When the mobile device moves to a location where the satellite positioning signal does not meet preset conditions, non-satellite positioning technology is used to control the mobile device to move along the preset path within the work area.

102、当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长。102. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path for a first mileage or a first duration.

在一些实施例中,预设条件可以预先设置或者系统默认。卫星定位信号的信号质量会影响卫星定位的精度,而预设条件则是用于评估信号质量,例如,卫星定位信号的信号强度大于预设信号强度阈值,则说明卫星定位信号的信号质量满足预设条件。反之,卫星定位信号的信号强度小于或等于预设信号强度阈值,则说明卫星定位信号的信号质量不满足预设条件。预设信号强度阈值可以预先设置或者系统默认。In some embodiments, preset conditions can be pre-set or defaulted to by the system. The signal quality of satellite positioning signals affects the accuracy of satellite positioning, and preset conditions are used to evaluate signal quality. For example, if the signal strength of the satellite positioning signal is greater than a preset signal strength threshold, it means that the signal quality of the satellite positioning signal meets the preset conditions. Conversely, if the signal strength of the satellite positioning signal is less than or equal to the preset signal strength threshold, it means that the signal quality of the satellite positioning signal does not meet the preset conditions. The preset signal strength threshold can be pre-set or defaulted to by the system.

其中,卫星定位信号可以包括实时动态(Real-time kinematic,RTK)信号。Among them, satellite positioning signals can include real-time kinematic (RTK) signals.

举例说明下,以移动设备为割草机器人为例,割草机器人在沿预设路径执行割草作业的过程中,如果RTK信号强,则利用RTK定位,使得割草机器人能够沿预设路径移动。To illustrate, taking a mobile device as a lawnmower robot, if the RTK signal is strong during the lawnmower robot's operation along a preset path, it can use RTK positioning to enable the lawnmower robot to move along the preset path.

其中,第一里程可以预先设置或者系统默认,第一时长可以预先设置或者系统默认。第一里程可以理解为移动设备在预设可续命里程内继续移动的里程。第一时长可以理解为继续移动的时长。在一示例中,可以预先设定在第一时长内移动的距离不超过预设可续命里程。预设可续命里程可以预先设置或者系统默认。The first mileage can be preset or set by the system default, and the first duration can also be preset or set by the system default. The first mileage can be understood as the distance the mobile device will travel within the preset extended mileage. The first duration can be understood as the duration of continued travel. In one example, it can be preset that the distance traveled within the first duration will not exceed the preset extended mileage. The preset extended mileage can be preset or set by the system default.

在一些实施例中,当移动设备移动到卫星定位信号不满足预设条件的位置时,则说明卫星定位信号差,则可以通过视觉惯性里程计定位进行续命,以允许移动设备移动预设可续命里程,可以认为预设可续命里程内,移动设备定位是准确的。In some embodiments, when a mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is poor. In this case, the device can be repositioned using visual inertial odometry to extend its lifespan, allowing the mobile device to move for a preset extended lifespan. It can be assumed that the mobile device's positioning is accurate within the preset extended lifespan.

103、在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置。103. After continuing to move the first mileage or the first duration along the preset path, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device.

其中,由于第一里程或第一时长对应的里程还在预设可续命里程内,则还可以通过非卫星定位技术实现精准的定位,在沿预设路径继续移动第一里程或第一时长后,则说明非卫星定位技术的精度已经不能满足移动设备的定位需求,则可以在作业区域内控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置。Since the mileage corresponding to the first mileage or the first duration is still within the preset extendable mileage, accurate positioning can still be achieved through non-satellite positioning technology. After moving along the preset path for the first mileage or the first duration, it indicates that the accuracy of non-satellite positioning technology can no longer meet the positioning requirements of the mobile device. Therefore, the mobile device can be controlled to move randomly within the work area. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined. The initial point is the initial position of the random movement of the mobile device.

在一些实施例中,为了使移动设备在卫星定位信号不满足预设条件后可以通过非卫星定位技术沿预设路径走更远的距离,可以让第一里程等于预设可续命里程,如此,还可以减少移动设备在沿预设路径移动过程中切换为随机移动的次数,从而提高移动设备的作业效率。In some embodiments, in order to enable the mobile device to travel a longer distance along a preset path using non-satellite positioning technology after the satellite positioning signal fails to meet the preset conditions, the first mileage can be equal to the preset lifespan mileage. In this way, the number of times the mobile device switches to random movement during the movement along the preset path can be reduced, thereby improving the operating efficiency of the mobile device.

104、在所述距离小于预设距离时,控制所述移动设备移动到所述初始点。104. When the distance is less than the preset distance, control the mobile device to move to the initial point.

其中,预设距离可以预先设置或者系统默认。The preset distance can be set in advance or set by the system default.

在一些实施例中,在距离小于预设距离时,则可以理解为距离还是处于预设可续命里程内,则还可以通过非卫星定位技术实现精准的定位。由于当前位置的卫星定位信号满足预设条件,则其可以实现卫星定位,而控制移动设备移动到初始点。当前位置与初始点之间的距离处于预设可续命里程内,则可以在卫星定位信号满足预设条件时,采用卫星定位技术实现定位。在卫星定位信号不满足预设条件,采用非卫星定位技术实现定位,从而,保证从当前位置到初始点的过程中保持高精度的定位。In some embodiments, when the distance is less than a preset distance, it can be understood that the distance is still within the preset endurance range, and accurate positioning can still be achieved using non-satellite positioning technology. Since the satellite positioning signal at the current location meets preset conditions, satellite positioning can be achieved, controlling the mobile device to move to the initial point. If the distance between the current location and the initial point is within the preset endurance range, satellite positioning technology can be used to achieve positioning when the satellite positioning signal meets the preset conditions. If the satellite positioning signal does not meet the preset conditions, non-satellite positioning technology is used to achieve positioning, thereby ensuring high-precision positioning during the journey from the current location to the initial point.

105、在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。105. After returning to the initial point, control the mobile device to continue moving along the preset path.

在一些实施例中,在回到初始点后,由于初始点处于预设可续命里程内,则初始点可以保持高精度的定位,可以控制移动设备继续沿预设路径移动,则在一定里程范围(预设可续命里程)内保持高精度的定位。In some embodiments, after returning to the initial point, since the initial point is within a preset range of mileage, the initial point can maintain high-precision positioning, and the mobile device can be controlled to continue moving along the preset path, thus maintaining high-precision positioning within a certain mileage range (preset range of mileage).

在一些实施例中,在所述距离大于或等于所述预设距离时,控制所述移动设备沿第一方向移动,以使所述移动设备靠近所述初始点。In some embodiments, when the distance is greater than or equal to the preset distance, the mobile device is controlled to move along a first direction so that the mobile device moves closer to the initial point.

其中,第一方向可以预先设置或者系统默认,例如,第一方向可以为东南方向或者西北方向。The first direction can be preset or set by the system default. For example, the first direction can be southeast or northwest.

在一些实施例中,在距离大于或等于预设距离时,则可以理解为距离已经不处于预设可续命里程内,控制移动设备沿第一方向移动,沿第一方向移动则是为了更快找到卫星定位信号满足条件且距离小于或等于预设距离的位置。In some embodiments, when the distance is greater than or equal to a preset distance, it can be understood that the distance is no longer within the preset range of continued operation. The mobile device is then controlled to move along a first direction. Moving along the first direction is to find a location where the satellite positioning signal meets the conditions and the distance is less than or equal to the preset distance more quickly.

举例说明下,如果距离大于等于预设距离,则可以控制移动设备朝向第一方向移动,即沿该第一方向移动使移动设备更靠近初始点。在移动过程中检测卫星信号质量,如果卫星信号质量满足预设条件,则可以采用卫星定位技术进行定位,并确定移动设备的位置是否距离初始点小于预设距离,如果是则控制移动设备回到初始点。For example, if the distance is greater than or equal to a preset distance, the mobile device can be controlled to move in a first direction, that is, to move along that first direction to bring the mobile device closer to the initial point. During the movement, the satellite signal quality is detected. If the satellite signal quality meets the preset conditions, satellite positioning technology can be used for positioning, and it can be determined whether the mobile device's position is less than the preset distance from the initial point. If so, the mobile device is controlled to return to the initial point.

在一些实施例中,所述第一方向为朝向以所述初始点为圆心、所述预设距离为半径的圈内的方向。In some embodiments, the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.

在一些实施例中,第一方向可以为朝向以初始点为圆心、预设距离为半径的圈内的方向,即保证移动设备可以同时在工作区域内和圈内移动,即该圈和工作区域的交集区域内移动,在移动过程中找到任一个位置的卫星信号质量满足预设条件,则可以基于该位置到初始点之间的过程中保持高精度的定位,因此,控制移动设备向以初始点为圆心、预设距离为半径的圈内移动,则可以保证在初始点为圆心以及可续命里程的有效半径范围内,保持高精度的定位。In some embodiments, the first direction can be towards a circle centered on the initial point and with a preset distance as the radius. This ensures that the mobile device can move simultaneously within the working area and the circle, i.e., within the intersection of the circle and the working area. If the satellite signal quality at any location meets the preset conditions during the movement, high-precision positioning can be maintained based on the process from that location to the initial point. Therefore, controlling the mobile device to move towards a circle centered on the initial point and with a preset distance as the radius can ensure high-precision positioning within the effective radius of the initial point and the available range.

举例说明下,可以在随机移动中,如果检测到卫星信号质量满足预设条件,移动设备与初始点的距离大于预设距离,则控制移动设备向以初始点为圆心、预设距离为半径的圈内前进。For example, during random movement, if the satellite signal quality is detected to meet preset conditions and the distance between the mobile device and the initial point is greater than a preset distance, the mobile device can be controlled to move into a circle with the initial point as the center and the preset distance as the radius.

在一些实施例中,在沿所述第一方向移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,通过卫星定位技术控制所述移动设备沿所述第一方向移动,当所述移动设备移动到卫星定位信号不满足所述预设条件的位置时,通过非卫星定位技术控制所述移动设备沿所述第一方向移动。In some embodiments, during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the mobile device is controlled to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move along the first direction using non-satellite positioning technology.

在一些实施例中,在沿第一方向移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,则说明卫星定位信号强,则可以通过卫星定位技术控制移动设备沿第一方向移动。当移动设备移动到卫星定位信号不满足预设条件的位置时,则说明卫星定位信号弱,则卫星定位可能不精准,进而,可以通过非卫星定位技术对移动设备进行定位,以通过非卫星定位技术控制移动设备沿第一方向移动,如此,可以保证延续精准定位,实现预设可续命里程内的精准定位。In some embodiments, during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets preset conditions, it indicates that the satellite positioning signal is strong, and the mobile device can be controlled to move along the first direction using satellite positioning technology. When the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is weak, and the satellite positioning may be inaccurate. Therefore, non-satellite positioning technology can be used to locate the mobile device, and the movement of the mobile device along the first direction can be controlled using non-satellite positioning technology. In this way, continuous accurate positioning can be guaranteed, achieving accurate positioning within a preset service life range.

举例说明下,以移动设备为割草机器人为例,在向圈内前进过程中,如果卫星信号好(满足预设条件),则通过卫星定位确定割草机位置以控制割草机器人向圈内前进,如果卫星(RTK)信号再次变差(不满足预设条件),则通过VIO定位续命继续往圈内前进。如果进入圈内后还在VIO定位续命预设可续命里程(如100米)内,则控制割草机器人在圈内按照预设策略移动,直到检测到卫星信号质量变好(满足预设条件),则进行RTK定位校准割草机器人位置后,控制割草机器人返回初始点。预设策略是控制割草机器人朝向任意方向前进,在到达圈的边界或者草坪边界时转向,在遇到障碍物时避障。预设策略可以使割草机器人仍然在圈内移动,更快找到卫星信号好(满足预设条件)且离初始点较近的位置。To illustrate, let's take a mobile device as a lawnmower robot. During its movement into the designated area, if the satellite signal is strong (meeting preset conditions), the robot's position is determined via satellite positioning to guide its movement. If the RTK (Real-Time Kinematic) signal weakens again (not meeting preset conditions), VIO (Vacuum-Independent Positioning) is used to extend its position and continue moving into the area. If, after entering the area, it remains within the preset extended range (e.g., 100 meters) for VIO positioning, the robot moves within the area according to a preset strategy until the satellite signal quality improves (meeting preset conditions). Then, RTK positioning is used to calibrate the robot's position, and it returns to the initial point. The preset strategy allows the robot to move in any direction, turn at the boundary of the area or the lawn, and avoid obstacles. This strategy ensures the robot remains within the designated area and quickly finds a location with strong satellite signal (meeting preset conditions) and close to the initial point.

在一些实施例中,在通过所述非卫星定位技术控制所述移动设备进入圈内之后,若剩余可续命里程大于0,则通过所述非卫星定位技术控制所述移动设备在圈内移动,以使得所述移动设备在移动后的位置检测到卫星定位信号满足所述预设条件,所述剩余可续命里程为基于预设可续命里程与通过所述非卫星定位技术控制所述移动设备沿所述第一方向移动的里程得到的。In some embodiments, after the mobile device is controlled to enter the circle by the non-satellite positioning technology, if the remaining range is greater than 0, the mobile device is controlled to move within the circle by the non-satellite positioning technology so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition. The remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction by the non-satellite positioning technology.

在一些实施例中,在移动设备进入圈内之后,当移动设备的位置处于预设可续命里程内,即剩余可续命里程大于0,其中,剩余可续命里程为基于预设可续命里程与通过非卫星定位技术控制移动设备沿第一方向移动的里程得到的。在一示例中,剩余可续命里程=预设可续命里程-通过非卫星定位技术控制移动设备沿第一方向移动的里程,可以保证延续精准定位,实现预设可续命里程内的精准定位,控制移动设备在圈内继续移动,以使得移动设备在移动后的位置检测到卫星定位信号满足预设条件,从而,有助于保证移动设备在圈内移动,更快找到卫星定位信号满足预设条件且离初始点较近的位置。In some embodiments, after the mobile device enters the circle, if the mobile device's position is within a preset endurance range (i.e., the remaining endurance range is greater than 0), where the remaining endurance range is obtained based on the preset endurance range and the distance the mobile device moves along a first direction using non-satellite positioning technology. In one example, the remaining endurance range = preset endurance range - distance the mobile device moves along the first direction using non-satellite positioning technology. This ensures continued accurate positioning within the preset endurance range, allowing the mobile device to continue moving within the circle. This ensures that the mobile device detects a satellite positioning signal at its new position, meeting preset conditions. Therefore, this helps ensure the mobile device moves within the circle and quickly finds a position where the satellite positioning signal meets the preset conditions and is close to the initial point.

举例说明下,如果移动设备进入圈内后,还在非卫星定位技术定位续命预设可续命里程(如100米)内,则控制移动设备在圈内继续移动,直到检测到卫星定位信号满足预设条件,则进行卫星定位校准移动设备位置后,控制移动设备返回初始点。控制移动设备在圈内移动可以按照如下方式进行:控制移动设备朝向任意方向前进,在到达圈的边界或者草坪边界时转向,在遇到障碍物时避障。即可以使移动设备仍然在圈内移动,更快找到卫星定位信号满足预设条件且离初始点较近的位置。For example, if a mobile device enters the designated area and remains within the preset range (e.g., 100 meters) for non-satellite positioning, it will continue moving within the area until a satellite positioning signal is detected that meets preset conditions. Then, satellite positioning will be used to calibrate the device's position, and it will return to its initial point. Controlling the mobile device's movement within the designated area can be done as follows: the device can move in any direction, turn when reaching the boundary of the area or the edge of the lawn, and avoid obstacles. This allows the mobile device to remain within the designated area and more quickly find a location where the satellite positioning signal meets the preset conditions and is close to the initial point.

在一些实施例中,在通过所述非卫星定位技术控制所述移动设备进入圈内之后或者所述移动设备未进入圈内时,还可以包括:若所述剩余可续命里程小于或等于0,控制所述移动设备随机移动,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,执行所述根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离的步骤。In some embodiments, after the mobile device is controlled to enter the circle by the non-satellite positioning technology or when the mobile device does not enter the circle, the method may further include: if the remaining range is less than or equal to 0, controlling the mobile device to move randomly; when the mobile device moves to a position where the satellite positioning signal meets the preset condition, performing the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal.

在一些实施例中,在移动设备进入圈内之后,当移动设备的位置不处于预设可续命里程内,即剩余可续命里程小于或等于0,则说明由于定位不准确,无法保持移动设备在圈内移动,因此,可以控制移动设备随机移动,当移动设备移动到卫星定位信号满足预设条件的位置时,执行所述确定所述移动设备的当前位置与初始点之间的距离的步骤。In some embodiments, after the mobile device enters the circle, if the location of the mobile device is not within the preset range of remaining range, i.e., the remaining range of remaining range is less than or equal to 0, it indicates that the mobile device cannot be kept moving within the circle due to inaccurate positioning. Therefore, the mobile device can be controlled to move randomly. When the mobile device moves to a location where the satellite positioning signal meets the preset conditions, the step of determining the distance between the current location of the mobile device and the initial point is executed.

在一些实施例中,在移动设备未进入圈内时,若剩余可续命里程小于或等于0,则说明不在预设可续命里程内,进而,如果不在预设可续命里程内,无法保证精准定位,无法保证移动设备能进入圈内,所以随机移动,但是,可以在刚超出预设可续命里程时,继续保持原移动方向,在满足转向触发条件时才转向,即“刚超出预设可续命里程时”可以默认定位相对可信,保持原移动方向可以更大可能进入圈内。In some embodiments, if the remaining range of the mobile device is less than or equal to 0 when it is not within the preset range of the mobile device, it means that it is not within the preset range of the mobile device. Therefore, if it is not within the preset range of the mobile device, accurate positioning cannot be guaranteed, and it cannot be guaranteed that the mobile device can enter the range of the mobile device. So it moves randomly. However, it can continue to maintain the original direction of movement when it just exceeds the preset range of the mobile device. It will turn when the turning trigger condition is met. That is, the positioning can be considered relatively reliable when it just exceeds the preset range of the mobile device. Maintaining the original direction of movement can increase the probability of entering the range of the mobile device.

其中,触发条件可以理解为移动设备通过传感器探测到移动设备即将到达边界、禁区或障碍物时,则可以改变移动方向,以避免移动设备离开作业区域,或者进入禁区,或者,与障碍物碰撞。传感器可以包括以下至少一种:摄像头、超声波传感器、红外传感器、超声波传感器、激光雷达等等,在此不做限定。The triggering condition can be understood as follows: when the mobile device detects through its sensors that it is about to reach a boundary, restricted area, or obstacle, it can change its direction of movement to avoid leaving the work area, entering a restricted area, or colliding with the obstacle. Sensors can include at least one of the following: cameras, ultrasonic sensors, infrared sensors, lidar, etc., without limitation.

其中,转向触发条件可以包括通过传感器探测到移动设备与预设区域之间的距离小于设定距离值,预设区域包括以下任一种:边界、禁区、障碍物所在区域,其中,设定距离值可以预先设置或者系统默认。通过传感器探测到移动设备与预设区域之间的距离小于设定距离值,则说明移动设备即将到达边界、禁区、障碍物所在区域。The turning trigger condition can include the sensor detecting that the distance between the mobile device and a preset area is less than a set distance value. The preset area includes any of the following: a boundary, a restricted area, or an area containing an obstacle. The set distance value can be preset or a system default. If the sensor detects that the distance between the mobile device and the preset area is less than the set distance value, it means that the mobile device is about to reach the boundary, restricted area, or obstacle area.

在其他实施例中,上述步骤103,控制所述移动设备随机移动,可以按照如下方式实施:控制所述移动设备沿任意方向移动,在满足第一转向触发条件时,控制所述移动设备改变移动方向。In other embodiments, step 103 above, controlling the mobile device to move randomly, can be implemented as follows: controlling the mobile device to move in any direction, and when the first turning trigger condition is met, controlling the mobile device to change its moving direction.

在一些实施例中,可以控制移动设备沿任意方向移动,例如,可以控制移动设备沿预设路径随机移动,如此,可以完成指定路径随机移动功能,又例如,也可以控制移动设备不沿预设路径随机移动,例如,随机移动可以不经过预设路径,或者,随机移动也可以经过预设路径,如此,可以完成不按照指定路径随机移动功能。In some embodiments, the mobile device can be controlled to move in any direction. For example, the mobile device can be controlled to move randomly along a preset path, thus completing the function of random movement along a specified path. Alternatively, the mobile device can be controlled not to move randomly along a preset path. For example, random movement may not pass through the preset path, or random movement may pass through the preset path, thus completing the function of random movement not following a specified path.

在一些实施例中,移动设备还可以在满足第一转向触发条件时,控制移动设备改变移动方向,即通过传感器探测到移动设备即将到达边界、禁区或障碍物时,则可以改变移动方向,以避免移动设备离开作业区域,或者进入禁区,或者,与障碍物碰撞。In some embodiments, the mobile device can also change its direction of movement when a first steering trigger condition is met. That is, when the sensor detects that the mobile device is about to reach a boundary, restricted area or obstacle, it can change its direction of movement to avoid the mobile device leaving the work area, entering a restricted area, or colliding with an obstacle.

其中,第一转向触发条件包括通过传感器探测到移动设备与预设区域之间的距离小于第一设定距离值,预设区域包括以下任一种:边界、禁区、障碍物所在区域。其中,第一设定距离值可以预先设置或者系统默认。通过传感器探测到移动设备与预设区域之间的距离小于第一设定距离值,则说明移动设备即将到达边界、禁区、障碍物所在区域。The first steering trigger condition includes the sensor detecting that the distance between the mobile device and a preset area is less than a first set distance value. The preset area includes any of the following: a boundary, a restricted area, or an area containing an obstacle. The first set distance value can be preset or a system default. If the sensor detects that the distance between the mobile device and the preset area is less than the first set distance value, it indicates that the mobile device is about to reach the boundary, restricted area, or obstacle area.

在一些实施例中,在所述移动设备改变移动方向后,继续监测是否满足所述第一转向触发条件;在满足所述第一转向触发条件时,控制所述移动设备再次改变移动方向。In some embodiments, after the mobile device changes its direction of movement, it continues to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, the mobile device is controlled to change its direction of movement again.

在一些实施例中,可以在移动设备改变移动方向后,继续监测是否满足第一转向触发条件,若满足,则移动设备可以再次改变移动方向,反之,若不满足,移动设备则可以保持移动方向不变,如此,可以不断保证移动设备不发生碰撞、不掉坑、不出草坪边界,保证安全。In some embodiments, after the mobile device changes its direction of movement, it can continue to monitor whether the first turning trigger condition is met. If the condition is met, the mobile device can change its direction of movement again. Otherwise, if the condition is not met, the mobile device can keep its direction of movement unchanged. In this way, it can be continuously ensured that the mobile device does not collide, fall into a pit, or go beyond the grass boundary, thus ensuring safety.

在一些实施例中,上述步骤控制所述移动设备随机移动,可以按照如下方式实施:通过所述移动设备的摄像头采集至少一个方向上的环境图像,通过所述环境图像识别天空区域,确定所述移动设备的位置与所述天空区域在地面投影位置之间的相对位置关系;控制所述移动设备根据所述相对位置关系朝所述天空区域在地面投影位置所在方向移动,在满足第二转向触发条件时,控制所述移动设备改变移动方向。In some embodiments, the above steps of controlling the random movement of the mobile device can be implemented as follows: capturing environmental images in at least one direction using the camera of the mobile device, identifying a sky region using the environmental images, determining the relative positional relationship between the position of the mobile device and the projection position of the sky region on the ground; controlling the mobile device to move in the direction of the projection position of the sky region on the ground according to the relative positional relationship, and controlling the mobile device to change its movement direction when a second turning trigger condition is met.

其中,相对位置关系可以包括相对距离和相对角度。The relative positional relationship can include relative distance and relative angle.

在一些实施例中,可以通过摄像头采集至少一个方向上的环境图像,通过环境图像识别天空区域,由于天空区域不被障碍物遮挡,其对应的地面投影位置大概率卫星定位信号质量好,因此,可以确定移动设备的位置与天空区域在地面投影位置之间的相对位置关系,再控制移动设备根据相对位置关系朝天空区域在地面投影位置所在方向移动,从而,有助于移动设备快速找到卫星定位信号质量好的位置。In some embodiments, environmental images in at least one direction can be captured by a camera, and the sky area can be identified through the environmental images. Since the sky area is not obstructed by obstacles, its corresponding ground projection position is likely to have good satellite positioning signal quality. Therefore, the relative positional relationship between the mobile device's position and the sky area's ground projection position can be determined. Then, the mobile device can be controlled to move in the direction of the sky area's ground projection position according to the relative positional relationship, thereby helping the mobile device to quickly find a position with good satellite positioning signal quality.

在一些实施例中,移动设备还可以在满足第二转向触发条件时,控制移动设备改变移动方向,即通过传感器探测到移动设备即将到达边界、禁区或障碍物时,则可以改变移动方向,以避免移动设备离开作业区域,或者进入禁区,或者,与障碍物碰撞。In some embodiments, the mobile device can also change its direction of movement when the second steering trigger condition is met. That is, when the sensor detects that the mobile device is about to reach a boundary, restricted area or obstacle, it can change its direction of movement to avoid the mobile device leaving the work area, entering the restricted area, or colliding with the obstacle.

其中,第二转向触发条件包括通过传感器探测到移动设备与预设区域之间的距离小于第二设定距离值,预设区域包括以下任一种:边界、禁区、障碍物所在区域。其中,第二设定距离值可以预先设置或者系统默认。通过传感器探测到移动设备与预设区域之间的距离小于第二设定距离值,则说明移动设备即将到达边界、禁区、障碍物所在区域。The second steering trigger condition includes the sensor detecting that the distance between the mobile device and a preset area is less than a second set distance value. The preset area includes any of the following: a boundary, a restricted area, or an area containing an obstacle. The second set distance value can be preset or be a system default. If the sensor detects that the distance between the mobile device and the preset area is less than the second set distance value, it indicates that the mobile device is about to reach the boundary, restricted area, or obstacle area.

其中,第一转向触发条件与第二转向触发条件可以相同也可以不同,第一设定距离值与第二设定距离值可以相同也可以不同。The first steering trigger condition and the second steering trigger condition can be the same or different, and the first set distance value and the second set distance value can be the same or different.

举例说明下,可以通过后视摄像头拍摄环境图像以找到天空区域,通过环境图像确定移动设备的位置和天空区域在地面投影位置之间的相对位置关系(相对距离和相对角度),然后,朝天空区域在地面的投影位置所在方向前进,可以使割草机更快找到卫星信号质量好的位置。For example, a rear-view camera can capture images of the environment to locate the sky area. The relative position (relative distance and relative angle) between the mobile device's location and the sky area's projection on the ground can be determined from the environmental images. Then, by moving in the direction of the sky area's projection on the ground, the lawnmower can find a location with good satellite signal quality more quickly.

在一些实施例中,在环境图像中存在至少一个天空区域时,则可以选取天空区域的最大内切圆的半径大于预设半径的天空区域,再确定移动设备的位置与该天空区域在地面投影位置之间的相对位置关系。其中,预设半径可以预先设置或者系统默认,预设半径是为了保证天空区域足够大,足够开阔。剔除一些较小的天空区域。在一示例中,移动设备在沿预设路径继续移动第一里程或第一时长后,且在随机移动之前,移动设备的摄像头原地旋转拍摄至少一个方向上的环境图像,识别环境图像中的天空区域,或者,移动设备的摄像头跟随移动设备原地旋转拍摄至少一个方向上的环境图像,其中,每个环境图像中可以有k个天空区域,分别针对每个环境图像去提取第一位置,进而,第一位置也可以为有一个或多个,k为自然数,例如,k为0、1、2等等,并取环境图像中的天空区域的最大内切圆,在该最大内切圆的半径大于预设半径时,将该最大内切圆的圆心投影在地面上的坐标存储为第一位置。In some embodiments, when at least one sky region exists in the environmental image, a sky region with a radius greater than a preset radius can be selected, and the relative positional relationship between the mobile device's position and the sky region's ground projection position can be determined. The preset radius can be pre-set or a system default; it ensures the sky region is large and open enough. Smaller sky regions are eliminated. In one example, after the mobile device continues moving along a preset path for a first mile or a first duration, and before random movement, the mobile device's camera rotates in place to capture environmental images in at least one direction, identifying the sky region in the environmental images. Alternatively, the mobile device's camera follows the mobile device's rotation in place to capture environmental images in at least one direction. Each environmental image can contain k sky regions. A first position is extracted for each environmental image; there can be one or more first positions, where k is a natural number (e.g., k = 0, 1, 2, etc.). The largest inscribed circle of the sky region in the environmental image is selected. When the radius of this largest inscribed circle is greater than the preset radius, the coordinates of the center of this largest inscribed circle projected onto the ground are stored as the first position.

举例说明下,假若环境中无物体遮挡,则环境图像中整个区域将会是天空区域,由于环境中存在其他物体(例如房屋、树木)遮挡,会造成一个天空区域被该其他物体隔断成为多个天空区域,如图1B所示,环境图像中可以存在多个天空区域。For example, if there are no objects obstructing the view in the environment, the entire area in the environment image will be the sky. However, if there are other objects (such as houses or trees) obstructing the view, a sky area will be divided into multiple sky areas by these other objects, as shown in Figure 1B. Multiple sky areas can exist in the environment image.

其中,取圆心是因为可以认为圆心位置的卫星信号最好,由于天空区域的周围即为非天空区域,这部分区域由于周围障碍物的遮挡,导致卫星定位较差,而取圆心则可以在一定程度上理解为圆点所对应的位置受周围障碍物影响较小,因此,卫星信号最好。The reason for choosing the center point is that the satellite signal at the center point is considered to be the best. Since the area around the sky is the non-sky area, satellite positioning is poor in this area due to the obstruction of surrounding obstacles. Choosing the center point can be understood to some extent as the location corresponding to the point is less affected by surrounding obstacles, and therefore has the best satellite signal.

举例说明下,如图1C所示,其中,矩形可以代表环境图像,椭圆形表示天空区域,圆形则可以表示天空区域的最大内切圆。如图1D所示,移动设备可以包括后视摄像头,利用后视摄像头对天空进行拍摄,得到环境图像,取环境图像的天空区域的内切圆的圆心O投影在地面的坐标O’存储为第一位置。For example, as shown in Figure 1C, a rectangle can represent the environmental image, an ellipse can represent the sky area, and a circle can represent the largest inscribed circle of the sky area. As shown in Figure 1D, the mobile device can include a rear-view camera to capture the sky and obtain an environmental image. The coordinates O' of the center O of the inscribed circle of the sky area in the environmental image projected onto the ground are stored as the first position.

举例说明下,移动设备在继续移动第一里程或第一时长后,随机移动之前,通过原地旋转拍摄多个方向图像,从图像中识别到天空区域并确定天空区域的投影位置,例如,该投影位置可以是天空区域的最大内切圆的圆心在地面的投影坐标。For example, after the mobile device continues to move for a first mile or a first period of time, before moving randomly, it takes multiple images from different directions by rotating in place, identifies the sky region from the images, and determines the projected position of the sky region. For example, the projected position can be the projected coordinates of the center of the largest inscribed circle of the sky region on the ground.

在一些实施例中,可以参照如下方式确定天空区域内切圆圆心在地面的投影坐标,其中,确定天空区域内切圆圆心在地面的投影坐标的方式具体可以为:通过图像识别障碍物的空间坐标(X1,Y1,Z1),计算障碍物的像素坐标与天空区域的内切圆的圆心的像素坐标之间的偏移量(ΔX,ΔY),根据偏移量和障碍物的空间坐标(X1,Y1,Z1),确定内切圆圆心在地面的投影坐标(X1+ΔX’,Y1+ΔY’)。X1,Y1是地面坐标,Z1是高度坐标。(ΔX’,ΔY’)与偏移量(ΔX,ΔY)具有预设的映射关系。In some embodiments, the projected coordinates of the center of the tangent circle in the sky region on the ground can be determined as follows: Specifically, the method for determining the projected coordinates of the center of the tangent circle in the sky region on the ground can be as follows: By recognizing the spatial coordinates (X1, Y1, Z1) of the obstacle from the image, the offset (ΔX, ΔY) between the pixel coordinates of the obstacle and the pixel coordinates of the center of the inscribed circle in the sky region is calculated. Based on the offset and the spatial coordinates (X1, Y1, Z1) of the obstacle, the projected coordinates (X1+ΔX’, Y1+ΔY’) of the center of the inscribed circle on the ground are determined. X1 and Y1 are ground coordinates, and Z1 is the altitude coordinate. (ΔX’, ΔY’) and the offset (ΔX, ΔY) have a preset mapping relationship.

举例说明下,结合图1D和图1E,点T为障碍物的位置,其对应的空间坐标即(X1,Y1,Z1);T’为障碍物的位置对应在地面上的投影,即(X1,Y1,0)。由于最终需要投影处理,则可以忽略高度,点O对应的空间二维坐标即(X2,Y2),因此,点O’的空间二维坐标也即(X2,Y2),偏移量(ΔX,ΔY)可以按照如下方式计算得到,即:ΔX=点O的像素坐标的X分量-点T的像素坐标的X分量,ΔY=点O的像素坐标的Y分量-点T的像素坐标的Y分量,进而,通过预设的映射关系,可以根据像素坐标的偏移量(ΔX,ΔY)得到空间坐标的偏移量(ΔX’,ΔY’),然后,可以得到点O’的坐标为(X1+ΔX’,Y1+ΔY’)。For example, referring to Figures 1D and 1E, point T represents the location of the obstacle, with its corresponding spatial coordinates being (X1, Y1, Z1); T’ represents the projection of the obstacle's location onto the ground, i.e., (X1, Y1, 0). Since projection processing is required, height can be ignored, and the spatial two-dimensional coordinates of point O are (X2, Y2). Therefore, the spatial two-dimensional coordinates of point O’ are also (X2, Y2). The offsets (ΔX, ΔY) can be calculated as follows: ΔX = X component of pixel coordinates of point O - X component of pixel coordinates of point T, ΔY = Y component of pixel coordinates of point O - Y component of pixel coordinates of point T. Furthermore, through a preset mapping relationship, the spatial coordinate offsets (ΔX’, ΔY’) can be obtained from the pixel coordinate offsets (ΔX, ΔY). Then, the coordinates of point O’ can be obtained as (X1 + ΔX’, Y1 + ΔY’).

在一些实施例中,在卫星定位信号不满足所述预设条件的情况下,通过非卫星定位技术对所述移动设备进行定位,以控制所述移动设备沿所述预设路径继续移动。In some embodiments, if the satellite positioning signal does not meet the preset conditions, the mobile device is located using non-satellite positioning technology to control the mobile device to continue moving along the preset path.

在一些实施例中,在卫星定位信号不满足预设条件的情况下,则说明卫星定位信号弱,则卫星定位可能不精准,进而,可以通过非卫星定位技术对移动设备进行定位,以控制移动设备沿预设路径继续移动,如此,可以保证延续精准定位,实现预设可续命里程内的精准定位,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。In some embodiments, if the satellite positioning signal does not meet the preset conditions, it indicates that the satellite positioning signal is weak and the satellite positioning may be inaccurate. Therefore, non-satellite positioning technology can be used to locate the mobile device and control the mobile device to continue moving along the preset path. In this way, accurate positioning can be guaranteed and accurate positioning can be achieved within the preset lifespan. This can solve the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.

在一些实施例中,在所述移动设备的作业区域存在树木以及房屋时,还可以获取所述作业区域的树木高度以及房屋高度;根据所述树木高度和所述房屋高度确定所述预设半径。In some embodiments, when there are trees and houses in the work area of the mobile device, the height of the trees and the height of the houses in the work area can also be obtained; the preset radius is determined based on the height of the trees and the height of the houses.

其中,在移动设备的作业区域存在树木以及房屋时,树木高度可以指所有树木的平均高度,或者,也可以指其中一棵树木的高度。房屋高度可以指所有房屋的平均高度,也可以指其中一个房屋的高度。When trees and houses are present in the operating area of a mobile device, tree height can refer to the average height of all trees, or it can refer to the height of a single tree. House height can refer to the average height of all houses, or it can refer to the height of a single house.

在一些实施例中,在移动设备的作业区域存在树木以及房屋时,则可以根据树木高度和房屋高度确定预设半径,如此,可以基于实际环境,确定相应的预设半径,有助于提升识别开阔区域的准确度。In some embodiments, when trees and houses are present in the operating area of the mobile device, a preset radius can be determined based on the height of the trees and houses. In this way, the corresponding preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.

在一些实施例中,上述步骤,根据所述树木高度和所述房屋高度确定所述预设半径,可以按照如下方式实施:按照如下公式确定所述预设半径:预设半径=树木高度/房屋高度×π/4。In some embodiments, the above step of determining the preset radius based on the tree height and the house height can be implemented as follows: the preset radius is determined according to the following formula: preset radius = tree height / house height × π / 4.

在一些实施例中,预设半径=树木高度/房屋高度×π/4。例如,可以预先获取作业区域内会影响信号的树木或房屋的高度,求这些物体的高度平均值,用于计算预设半径,如此,可以基于实际环境,确定相应的预设半径,有助于提升识别开阔区域的准确度。In some embodiments, the preset radius is calculated as (tree height / house height) × π/4. For example, the heights of trees or houses that may affect the signal within the work area can be obtained in advance, and the average height of these objects can be used to calculate the preset radius. In this way, the corresponding preset radius can be determined based on the actual environment, which helps to improve the accuracy of identifying open areas.

在一些实施例中,在所述移动设备改变移动方向后,继续监测是否满足所述第二转向触发条件;在满足所述第二转向触发条件时,控制所述移动设备再次改变移动方向。In some embodiments, after the mobile device changes its direction of movement, it continues to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, the mobile device is controlled to change its direction of movement again.

在一些实施例中,可以在移动设备改变移动方向后,继续监测是否满足第二转向触发条件,若满足,则移动设备可以再次改变移动方向,反之,若不满足,移动设备则可以保持移动方向不变,如此,可以不断保证移动设备不发生碰撞、不掉坑、不出草坪边界,保证安全。In some embodiments, after the mobile device changes its direction of movement, it can continue to monitor whether the second turning trigger condition is met. If the condition is met, the mobile device can change its direction of movement again. Otherwise, if the condition is not met, the mobile device can keep its direction of movement unchanged. In this way, it can be continuously ensured that the mobile device does not collide, fall into a pit, or go beyond the grass boundary, thus ensuring safety.

在一些实施例中,在所述预设区域包括障碍物所在区域时,在所述控制所述移动设备改变移动方向之后,还可以包括如下步骤:在所述移动设备绕过所述障碍物所在区域时,再控制所述移动设备保持绕所述障碍物之前的原方向移动。In some embodiments, when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the following step may be included: when the mobile device bypasses the area where the obstacle is located, the mobile device is then controlled to maintain its original direction of movement before bypassing the obstacle.

其中,障碍物可以包括以下至少一种:石头、树木、灌木、台阶、雕塑、石碑、指示牌等等,在此不做限定。The obstacles may include at least one of the following: stones, trees, shrubs, steps, sculptures, stone tablets, signs, etc., without limitation.

在一些实施例中,可以通过传感器识别到预设物体时,则可以绕开障碍物,具体的绕开方式可以是转向或者先确定障碍物的区域范围,绕开该区域范围,再控制移动设备在草坪范围内继续移动,例如,可以保持绕障碍物之前的原方向移动,如此,可以保证移动设备不发生碰撞、不掉坑、不出草坪边界,保证安全。In some embodiments, when a preset object is detected by the sensor, the obstacle can be bypassed. The specific bypass method can be to turn or first determine the area of the obstacle, bypass the area, and then control the mobile device to continue moving within the lawn area. For example, it can maintain the original direction before bypassing the obstacle. In this way, it can ensure that the mobile device does not collide, fall into a pit, or go beyond the lawn boundary, thus ensuring safety.

举例说明下,在移动设备随机移动过程中,开启移动设备的传感器识别障碍物、凹坑、草坪边界等。如果遇到障碍物、凹坑等时需要绕开后再继续前进,在到达草坪边界后,可以转向,避免移动设备走出草坪边界。在未识别到前方有障碍物、凹坑、草坪边界等情况时,控制移动设备继续前进。当然,也可以在遇到障碍物或凹坑时直接转向,朝向另一个方向前进。随机移动的方式不限定,只需要保证移动设备不发生碰撞、不掉坑、不出草坪边界,保证安全。For example, during random movement of the mobile device, its sensors are activated to identify obstacles, potholes, and lawn boundaries. If an obstacle or pothole is encountered, it needs to be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent the device from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the device continues moving forward. Alternatively, it can turn directly in another direction upon encountering an obstacle or pothole. The method of random movement is not limited, as long as the device avoids collisions, falls into potholes, and stays off-limits to ensure safety.

举例说明下,以移动设备为割草机器人为例,割草机器人上安装镜头朝向割草机器人后上方的后视摄像头,割草机器人可以按照如下步骤执行移动设备的控制方法,具体如下步骤S1-S5。For example, taking a lawnmower as a mobile device, the lawnmower is equipped with a rear-view camera with its lens facing the upper rear of the lawnmower. The lawnmower can execute the control method of the mobile device according to the following steps, specifically steps S1-S5.

S1、割草机器人在沿规划路径执行割草作业的过程中,如果(卫星)RTK信号强,即RTK信号满足预设条件,则利用RTK定位,以使割草机器人能够沿规划路径移动。S1. When the lawn mowing robot is performing lawn mowing operations along the planned path, if the (satellite) RTK signal is strong, that is, if the RTK signal meets the preset conditions, then RTK positioning is used to enable the lawn mowing robot to move along the planned path.

S2、若在沿规划路径移动过程中出现RTK信号差的情况,则通过视觉定位或采用IMU或VIO定位进行续命,继续沿规划路径移动,即在出现RTK信号差后割草机器人还可以移动100米(100米是假设,具体根据机器性能而定)的预设可续命里程,在预设可续命里程内,割草机器人还可以通过VIO等方式获得精准的定位。在一些实施例中,出现RTK信号差的情况后,控制割草机器人继续移动预设可续命里程,即100米。S2. If an RTK signal failure occurs during movement along the planned path, the robot can continue moving along the planned path by using visual positioning or IMU or VIO positioning. That is, after an RTK signal failure, the lawnmower robot can still move for a preset extended range of 100 meters (100 meters is an assumption, the actual range depends on the machine's performance). Within this preset extended range, the lawnmower robot can also obtain accurate positioning through VIO or other methods. In some embodiments, after an RTK signal failure occurs, the lawnmower robot is controlled to continue moving for the preset extended range, i.e., 100 meters.

S3、移动完预设可续命里程(比如100米)后(此时VIO定位已不可靠),控制割草机器人随机移动。S3. After moving to the preset range of remaining range (e.g., 100 meters) (at which point VIO positioning is no longer reliable), control the lawnmower robot to move randomly.

S4、在随机移动时如果割草机器人发现卫星(RTK)信号满足预设条件,即信号质量好,则通过RTK定位确定机器人当前的位置,确定当前的位置与初始点(初始点可以为随机移动的起点,或者,初始点可以为移动完预设可续命里程的位置)之间的距离,如果该距离小于预设距离,则控制割草机器人回到初始点(通过RTK,在卫星信号差(不满足预设条件)时VIO定位)。S4. If the lawnmower robot detects that the satellite (RTK) signal meets the preset conditions during random movement, i.e. the signal quality is good, it determines the robot's current position through RTK positioning and determines the distance between the current position and the initial point (the initial point can be the starting point of random movement, or the initial point can be the position after moving the preset range of mileage). If the distance is less than the preset distance, it controls the lawnmower robot to return to the initial point (via RTK, VIO positioning when the satellite signal is poor (not meeting the preset conditions).

S5、回到初始点后,控制割草机器人继续沿规划路径移动。S5. After returning to the initial point, control the lawnmower robot to continue moving along the planned path.

在一些实施例中,在随机移动过程中,可以离开规划路径,也可以不离开规划路径。例如,可以控制割草机器人朝向任意一个方向前进。或者,也可以通过后视摄像头拍摄图像找到天空区域,通过图像确定割草机器人位置和天空区域在地面投影位置之间的相对位置关系(相对距离和相对角度),然后朝天空区域在地面的投影位置所在方向前进,可以使割草机器人更快找到卫星信号质量好的位置。In some embodiments, during random movement, the robot may or may not leave the planned path. For example, the lawnmower can be controlled to move in any direction. Alternatively, an image can be captured by a rear-view camera to locate the sky area, and the relative positional relationship (relative distance and relative angle) between the lawnmower's position and the sky area's projection on the ground can be determined from the image. Then, the robot can move in the direction of the sky area's projection on the ground, allowing it to find a location with good satellite signal quality more quickly.

在随机移动过程中,开启摄像头(或激光雷达)识别障碍物、凹坑、草坪边界等,如果遇到障碍物、凹坑等时需要绕开后再继续前进,在到达草坪边界后,可以转向,避免割草机器人走出草坪边界。在未识别到前方有障碍物、凹坑、草坪边界等情况时,控制割草机器人继续前进。当然,也可以在遇到障碍物或凹坑时直接转向,朝向另一个方向前进。随机移动的方式不限定,只需要保证割草机器人不发生碰撞、不掉坑、不出草坪边界,保证安全。During random movement, the camera (or LiDAR) is activated to identify obstacles, potholes, and lawn boundaries. If an obstacle or pothole is encountered, it must be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent the lawnmower from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the lawnmower continues moving forward. Alternatively, it can turn directly in another direction upon encountering an obstacle or pothole. The method of random movement is not limited, as long as the lawnmower avoids collisions, potholes, and going off-limits, ensuring safety.

举例说明下,如图1F所示,割草机器人在沿规划路径执行割草作业的过程中,若在沿规划路径移动过程中出现RTK信号差的情况,则通过视觉定位或采用IMU或VIO定位进行续命,继续沿规划路径移动,即在出现RTK信号差后割草机器人还可以移动100米的预设可续命里程,移动完预设可续命里程后,控制割草机器人在初始点(A点)随机移动,在随机移动时如果割草机器人发现卫星(RTK)信号满足预设条件,则通过RTK定位确定机器人当前的位置(B点),确定当前的位置(B点)与初始点(A点)之间的距离,如果该距离小于预设距离,则控制割草机器人回到初始点(A点),回到初始点(A点)后,控制割草机器人继续沿规划路径移动。其中,预设距离为r。点A与点B之间的距离在以点A为圆心,r为半径的圈内。For example, as shown in Figure 1F, if the lawnmower robot encounters a poor RTK signal while moving along the planned path, it can extend its lifespan by using visual positioning or IMU/VIO positioning to continue moving along the planned path. That is, after encountering a poor RTK signal, the lawnmower robot can still move for a preset extended range of 100 meters. After moving this preset extended range, the lawnmower robot is controlled to move randomly from the initial point (point A). During random movement, if the lawnmower robot detects a satellite (RTK) signal that meets preset conditions, it uses RTK positioning to determine its current position (point B) and the distance between the current position (point B) and the initial point (point A). If this distance is less than a preset distance, the lawnmower robot is controlled to return to the initial point (point A). After returning to the initial point (point A), the lawnmower robot continues to move along the planned path. The preset distance is r. The distance between point A and point B lies within a circle centered at point A with radius r.

其中,如果上述当前的位置与初始点之间的距离大于等于预设距离,则控制割草机器人朝向第一方向移动(沿该第一方向移动使割草机器人更靠近初始点)。在移动过程中检测卫星信号质量,如果信号质量好,即信号满足预设条件,则进行RTK定位,并确定割草机器人的位置是否距离初始点小于预设距离,如果是则控制割草机器人回到初始点。例如,如图1G所示,第一方向可以为点B’指向点A的方向,或者,第一方向也可以为点B’处的W方向,即由位置B’指向圈内。Specifically, if the distance between the current position and the initial point is greater than or equal to a preset distance, the lawnmower robot is controlled to move in a first direction (moving along this first direction to bring the lawnmower robot closer to the initial point). During the movement, the satellite signal quality is detected. If the signal quality is good, i.e., the signal meets the preset conditions, RTK positioning is performed, and it is determined whether the lawnmower robot's position is less than the preset distance from the initial point. If so, the lawnmower robot is controlled to return to the initial point. For example, as shown in Figure 1G, the first direction can be the direction from point B' to point A, or the first direction can also be the W direction at point B', i.e., from position B' to the inside of the circle.

其中,“如果当前的位置与初始点之间的距离大于等于预设距离,则控制割草机器人朝向第一方向移动”包括:比如,可以在随机移动中,如果检测到卫星信号满足预设条件,割草机器人与初始点的距离大于预设距离,则控制割草机器人向以初始点为圆心、预设距离为半径的圈内前进。在向圈内前进过程中,如果卫星信号满足预设条件,则通过卫星定位确定割草机器人位置以控制割草机器人向圈内前进,如果卫星(RTK)信号再次变差,即信号不满足预设条件,则通过VIO定位续命继续往圈内前进。如果进入圈内后还在VIO定位续命预设可续命里程(如100米)内,则控制割草机器人在圈内按照预设策略移动,直到检测到卫星信号质量满足预设条件,则进行RTK定位校准割草机器人位置后,控制割草机器人返回初始点。预设策略是控制割草机器人朝向任意方向前进,在到达圈的边界或者草坪边界时转向,在遇到障碍物时避障。预设策略可以使割草机器人仍然在圈内移动,更快找到卫星信号好且离初始点较近的位置。The clause "If the distance between the current position and the initial point is greater than or equal to a preset distance, then control the lawnmower to move in the first direction" includes: For example, during random movement, if a satellite signal is detected that meets preset conditions and the distance between the lawnmower and the initial point is greater than a preset distance, then the lawnmower is controlled to move into a circle with the initial point as the center and the preset distance as the radius. During this movement, if the satellite signal meets the preset conditions, the lawnmower's position is determined via satellite positioning to control its movement into the circle. If the satellite (RTK) signal deteriorates again, i.e., the signal no longer meets the preset conditions, then VIO positioning is used to extend its lifespan and continue moving into the circle. If, after entering the circle, the lawnmower remains within the preset lifespan of VIO positioning (e.g., 100 meters), then it moves within the circle according to a preset strategy until a satellite signal quality is detected that meets the preset conditions. Then, RTK positioning is performed to calibrate the lawnmower's position, and the lawnmower returns to the initial point. The preset strategy controls the lawnmower to move in any direction, turn when reaching the boundary of the circle or the lawn boundary, and avoid obstacles when encountering them. Preset strategies can keep the lawnmower robot moving within the circle, allowing it to find a location with good satellite signal and closer to the starting point more quickly.

举例说明下,如图1G所示,割草机器人在沿规划路径执行割草作业的过程中,若在沿规划路径移动过程中出现RTK信号差的情况,则通过视觉定位或采用IMU或VIO定位进行续命,继续沿规划路径移动,即在出现RTK信号差后割草机器人还可以移动100米的预设可续命里程,移动完预设可续命里程后,控制割草机器人在初始点(A点)随机移动,在随机移动时如果割草机器人发现卫星(RTK)信号满足预设条件,则通过RTK定位确定机器人当前的位置(B’点),确定当前的位置(B’点)与初始点(A点)之间的距离,如果该距离大于预设距离(r),控制割草机器人向以初始点(点A)为圆心、预设距离为半径的圈内前进。For example, as shown in Figure 1G, if the RTK signal is poor while the lawnmower is performing lawnmowing operations along the planned path, it can continue moving along the planned path by using visual positioning or IMU or VIO positioning. That is, after the RTK signal is poor, the lawnmower can still move for a preset range of 100 meters. After moving the preset range, the lawnmower is controlled to move randomly from the initial point (point A). If the lawnmower detects that the satellite (RTK) signal meets the preset conditions during random movement, it determines the current position (point B') of the robot through RTK positioning and determines the distance between the current position (point B') and the initial point (point A). If this distance is greater than the preset distance (r), the lawnmower is controlled to move into a circle with the initial point (point A) as the center and the preset distance as the radius.

如果进入圈内后不在VIO定位续命预设的续命里程(如100米)内,则控制割草机器人随机移动,在随机移动过程中,开启摄像头(或激光雷达)识别障碍物、凹坑、草坪边界等,如果遇到障碍物、凹坑等时需要绕开后再继续前进,在到达草坪边界后,可以转向,避免割草机器人走出草坪边界。在未识别到前方有障碍物、凹坑、草坪边界等情况时,控制割草机器人继续前进。然后返回执行步骤S4。由于超过了预设可续命里程,割草机器人无法精准定位,不能保证在圈内移动,因此选择随机移动。If the lawnmower enters the designated area but is outside the preset lifespan (e.g., 100 meters) for VIO positioning, it will move randomly. During this random movement, the camera (or LiDAR) will be activated to identify obstacles, potholes, and lawn boundaries. If obstacles or potholes are encountered, the robot must be avoided before continuing. Upon reaching the lawn boundary, it can turn to prevent it from going off-limits. If no obstacles, potholes, or lawn boundaries are detected ahead, the lawnmower will continue moving forward. Then, the process returns to step S4. Because the preset lifespan has been exceeded, the lawnmower cannot accurately locate itself and cannot guarantee movement within the designated area; therefore, random movement is selected.

如果仍未进入圈内时则不在VIO定位续命预设的续命里程(如100米)内,同样进入随机移动模式,在随机移动过程中,开启摄像头(或激光雷达)识别障碍物、凹坑、草坪边界等,如果遇到障碍物、凹坑等时需要绕开后再继续前进,在到达草坪边界后,可以转向,避免割草机器人走出草坪边界。在未识别到前方有障碍物、凹坑、草坪边界等情况时,控制割草机器人继续前进。当然,也可以在遇到障碍物或凹坑时直接转向,朝向另一个方向前进。然后返回执行步骤S4。由于超过了预设的续命里程,割草机器人无法精准定位,不能保证割草机器人进入圈内,因此选择随机移动。If the robot is still not within the designated area, it will not be within the preset lifespan (e.g., 100 meters) for VIO positioning and will enter random movement mode. During random movement, the camera (or LiDAR) will be activated to identify obstacles, potholes, lawn boundaries, etc. If obstacles or potholes are encountered, the robot must be avoided before continuing. Upon reaching the lawn boundary, the robot can turn to prevent it from going off the lawn. If no obstacles, potholes, or lawn boundaries are detected ahead, the robot will continue moving forward. Alternatively, it can turn directly in another direction when encountering obstacles or potholes. Then, return to step S4. Because the preset lifespan has been exceeded, the robot cannot accurately locate itself and cannot guarantee that it will enter the designated area; therefore, random movement is selected.

本申请所描述的移动设备的控制方法,控制移动设备沿预设路径移动,当移动设备移动到卫星定位信号不满足预设条件的位置时,控制移动设备沿预设路径继续移动第一里程或第一时长;在沿预设路径继续移动第一里程或第一时长后,控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置,在距离小于预设距离时,控制移动设备移动到初始点,在回到初始点后,控制移动设备继续沿预设路径移动,进而,可以在卫星定位信号不满足预设条件时,移动设备还可以维持一定距离内的精准定位,再控制移动设备随机移动,则说明随机移动不需要高精度的定位,通过传感器识别障碍物、边界、禁区并避开即可,因此,可以最大限度利用非卫星定位技术提供的预设可续命里程,使得移动设备在卫星定位信号不满足预设条件之后可以利用非卫星定位技术沿预设路径移动更远的距离,并在随机移动过程中找到卫星定位信号满足预设条件的位置,则可以保证在该位置进行卫星定位校准,在该位置与初始点之间的距离小于预设距离时,则说明该位置与初始点之间的距离在预设可续命里程内,则可以保证移动设备能准确到达初始点,并对初始点的位置进行校准,以使得移动设备可以再次基于精准的定位位置从初始点沿预设路径移动,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。The mobile device control method described in this application controls the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets preset conditions, the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point. After returning to the initial point, the mobile device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance before being controlled to move randomly again. This indicates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, the preset endurance range provided by non-satellite positioning technology can be utilized to the maximum extent. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring that satellite positioning calibration can be performed at that position. When the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on the accurate positioning position, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.

请参阅图2,图2是本申请实施例提供的另一种移动设备的控制方法的流程示意图,如图所示,本移动设备的控制方法包括如下步骤。Please refer to Figure 2, which is a flowchart illustrating another control method for a mobile device provided in an embodiment of this application. As shown in the figure, the control method for this mobile device includes the following steps.

201、控制所述移动设备沿预设路径移动。201. Control the mobile device to move along a preset path.

202、当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长。202. When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, control the mobile device to continue moving along the preset path for a first mileage or a first duration.

203、在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置。203. After continuing to move the first mileage or the first duration along the preset path, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset condition, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device.

204、在所述距离小于预设距离时,控制所述移动设备移动到所述初始点。204. When the distance is less than the preset distance, control the mobile device to move to the initial point.

205、在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。205. After returning to the initial point, control the mobile device to continue moving along the preset path.

206、在所述距离大于或等于所述预设距离时,控制所述移动设备沿第一方向移动,以使所述移动设备靠近所述初始点。206. When the distance is greater than or equal to the preset distance, control the mobile device to move along the first direction so that the mobile device moves closer to the initial point.

其中,上述步骤201-步骤206的具体描述可以参见图1A所描述的一种移动设备的控制方法的相关步骤,在此不再赘述。The specific descriptions of steps 201-206 above can be found in the relevant steps of a mobile device control method described in Figure 1A, and will not be repeated here.

本申请所描述的移动设备的控制方法,控制移动设备沿预设路径移动,当移动设备移动到卫星定位信号不满足预设条件的位置时,控制移动设备沿预设路径继续移动第一里程或第一时长;在沿预设路径继续移动第一里程或第一时长后,控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置,在距离小于预设距离时,控制移动设备移动到初始点,在回到初始点后,控制移动设备继续沿预设路径移动,在距离大于或等于预设距离时,控制移动设备移动向第一方向移动,以使移动设备靠近初始点,进而,可以在卫星定位信号不满足预设条件时,移动设备还可以维持一定距离内的精准定位,再控制移动设备随机移动,则说明随机移动不需要高精度的定位,通过传感器识别障碍物、边界、禁区并避开即可,因此,可以最大限度利用非卫星定位技术提供的预设可续命里程,使得移动设备在卫星定位信号不满足预设条件之后可以利用非卫星定位技术沿预设路径移动更远的距离,并在随机移动过程中找到卫星定位信号满足预设条件的位置,则可以保证在该位置进行卫星定位校准,在该位置与初始点之间的距离小于预设距离时,则说明该位置与初始点之间的距离在预设可续命里程内,则可以保证移动设备能准确到达初始点,在距离大于或等于预设距离时,则可以靠近初始点,并在一定范围内寻找卫星定位信号满足预设条件的位置,以进行校准,再次在当前位置与初始点之间的距离在预设可续命里程内,返回初始点,并对初始点的位置进行校准,以使得移动设备可以再次基于精准的定位位置从初始点沿预设路径移动,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。The mobile device control method described in this application controls the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets preset conditions, the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point. After returning to the initial point, the mobile device continues to move along the preset path. When the distance is greater than or equal to the preset distance, the mobile device is controlled to move in a first direction to bring the mobile device closer to the initial point. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance. Controlling the mobile device to move randomly again indicates that random movement does not require high-precision positioning; it can be achieved through sensing... The device can identify and avoid obstacles, boundaries, and restricted areas. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path when the satellite positioning signal does not meet the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring satellite positioning calibration at that position. If the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point. If the distance is greater than or equal to the preset distance, it can move closer to the initial point and search for a position within a certain range where the satellite positioning signal meets the preset conditions for calibration. Once the distance between the current position and the initial point is again within the preset endurance range, it returns to the initial point and calibrates the position of the initial point. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning position. This solves the problem of inaccurate satellite positioning when obstructed, which affects the movement of the lawnmower robot.

与上述实施例一致地,请参阅图3,图3是本申请实施例提供的一种移动设备的结构示意图,如图所示,该移动设备包括处理器、存储器、通信接口以及一个或多个程序,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,本申请实施例中,上述程序包括用于执行以下步骤的指令:控制所述移动设备沿预设路径移动;当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长;在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置;在所述距离小于预设距离时,控制所述移动设备移动到所述初始点;在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。Consistent with the above embodiments, please refer to Figure 3, which is a schematic diagram of the structure of a mobile device provided in an embodiment of this application. As shown in the figure, the mobile device includes a processor, a memory, a communication interface, and one or more programs. The one or more programs are stored in the memory and configured to be executed by the processor. In this embodiment, the program includes instructions for performing the following steps: controlling the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, controlling the mobile device to continue moving along the preset path for a first mile or a first duration; after continuing to move along the preset path for the first mile or the first duration, controlling the mobile device to move randomly; during the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal, the initial point being the initial position of the random movement of the mobile device; when the distance is less than a preset distance, controlling the mobile device to move to the initial point; after returning to the initial point, controlling the mobile device to continue moving along the preset path.

在一些实施例中,上述程序还包括用于执行以下步骤的指令:在所述距离大于或等于所述预设距离时,控制所述移动设备沿第一方向移动,以使所述移动设备靠近所述初始点。In some embodiments, the above program further includes instructions for performing the following steps: when the distance is greater than or equal to the preset distance, controlling the mobile device to move along a first direction to bring the mobile device closer to the initial point.

在一些实施例中,所述第一方向为朝向以所述初始点为圆心、所述预设距离为半径的圈内的方向。In some embodiments, the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.

在一些实施例中,上述程序还包括用于执行以下步骤的指令:在沿所述第一方向移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,通过卫星定位技术控制所述移动设备沿所述第一方向移动,当所述移动设备移动到卫星定位信号不满足所述预设条件的位置时,通过非卫星定位技术控制所述移动设备沿所述第一方向移动。In some embodiments, the above program further includes instructions for performing the following steps: during movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the mobile device is controlled to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move along the first direction using non-satellite positioning technology.

在一些实施例中,上述程序还包括用于执行以下步骤的指令:在通过所述非卫星定位技术控制所述移动设备进入圈内之后,若剩余可续命里程大于0,则通过所述非卫星定位技术控制所述移动设备在圈内移动,以使得所述移动设备在移动后的位置检测到卫星定位信号满足所述预设条件,所述剩余可续命里程为基于预设可续命里程与通过所述非卫星定位技术控制所述移动设备沿所述第一方向移动的里程得到的。In some embodiments, the above program further includes instructions for performing the following steps: after controlling the mobile device to enter the circle using the non-satellite positioning technology, if the remaining range is greater than 0, then controlling the mobile device to move within the circle using the non-satellite positioning technology, so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition, wherein the remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction using the non-satellite positioning technology.

在一些实施例中,在通过所述非卫星定位技术控制所述移动设备进入圈内之后或者所述移动设备未进入圈内时,上述程序还包括用于执行以下步骤的指令:若剩余可续命里程小于或等于0,控制所述移动设备随机移动,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,执行所述根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离的步骤。In some embodiments, after the mobile device is controlled to enter the circle by the non-satellite positioning technology or when the mobile device is not entered into the circle, the above program further includes instructions for performing the following steps: if the remaining range is less than or equal to 0, control the mobile device to move randomly; when the mobile device moves to a position where the satellite positioning signal meets the preset condition, perform the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal.

在一些实施例中,在所述控制所述移动设备随机移动方面,上述程序包括用于执行以下步骤的指令:控制所述移动设备沿任意方向移动,在满足第一转向触发条件时,控制所述移动设备改变移动方向。In some embodiments, in terms of controlling the random movement of the mobile device, the above-described procedure includes instructions for performing the following steps: controlling the mobile device to move in any direction, and controlling the mobile device to change its direction of movement when a first turning trigger condition is met.

在一些实施例中,上述程序还包括用于执行以下步骤的指令:在所述移动设备改变移动方向后,继续监测是否满足所述第一转向触发条件;在满足所述第一转向触发条件时,控制所述移动设备再次改变移动方向;或者,在所述移动设备改变移动方向后,继续监测是否满足所述第二转向触发条件;在满足所述第二转向触发条件时,控制所述移动设备再次改变移动方向。In some embodiments, the program further includes instructions for performing the following steps: after the mobile device changes its direction of movement, continue to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, control the mobile device to change its direction of movement again; or, after the mobile device changes its direction of movement, continue to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, control the mobile device to change its direction of movement again.

在一些实施例中,所述第一转向触发条件包括通过传感器探测到所述移动设备与预设区域之间的距离小于第一设定距离值;和/或,所述第二转向触发条件包括通过所述传感器探测到所述移动设备与所述预设区域之间的距离小于第二设定距离值;所述预设区域包括以下任一种:边界、禁区、障碍物所在区域。In some embodiments, the first turning trigger condition includes detecting through a sensor that the distance between the mobile device and a preset area is less than a first preset distance value; and/or, the second turning trigger condition includes detecting through the sensor that the distance between the mobile device and the preset area is less than a second preset distance value; the preset area includes any of the following: a boundary, a restricted area, or an area containing obstacles.

在一些实施例中,在所述控制所述移动设备随机移动方面,上述程序包括用于执行以下步骤的指令:通过所述移动设备的摄像头采集至少一个方向上的环境图像,通过所述环境图像识别天空区域,确定所述移动设备的位置与所述天空区域在地面投影位置之间的相对位置关系;控制所述移动设备根据所述相对位置关系朝所述天空区域在地面投影位置所在方向移动,在满足第二转向触发条件时,控制所述移动设备改变移动方向。In some embodiments, regarding the random movement of the mobile device, the above-described procedure includes instructions for performing the following steps: acquiring environmental images in at least one direction using the camera of the mobile device, identifying a sky region using the environmental images, determining the relative positional relationship between the position of the mobile device and the projection position of the sky region on the ground; controlling the mobile device to move in the direction of the projection position of the sky region on the ground according to the relative positional relationship, and controlling the mobile device to change its movement direction when a second turning trigger condition is met.

在一些实施例中,在所述预设区域包括障碍物所在区域时,在所述控制所述移动设备改变移动方向之后,上述程序还包括用于执行以下步骤的指令:在所述移动设备绕过所述障碍物所在区域时,再控制所述移动设备保持绕所述障碍物之前的原方向移动。In some embodiments, when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the above program further includes instructions for performing the following steps: when the mobile device bypasses the area where the obstacle is located, control the mobile device to maintain its original direction of movement before bypassing the obstacle.

在一些实施例中,所述移动设备还包括后视摄像头,所述后视摄像头的镜头朝向所述移动设备的斜后上方设置。In some embodiments, the mobile device further includes a rear-view camera with its lens positioned diagonally above and behind the mobile device.

本申请所描述的移动设备,控制移动设备沿预设路径移动,当移动设备移动到卫星定位信号不满足预设条件的位置时,控制移动设备沿预设路径继续移动第一里程或第一时长;在沿预设路径继续移动第一里程或第一时长后,控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置,在距离小于预设距离时,控制移动设备移动到初始点,在回到初始点后,控制移动设备继续沿预设路径移动,进而,可以在卫星定位信号不满足预设条件时,移动设备还可以维持一定距离内的精准定位,再控制移动设备随机移动,则说明随机移动不需要高精度的定位,通过传感器识别障碍物、边界、禁区并避开即可,因此,可以最大限度利用非卫星定位技术提供的预设可续命里程,使得移动设备在卫星定位信号不满足预设条件之后可以利用非卫星定位技术沿预设路径移动更远的距离,并在随机移动过程中找到卫星定位信号满足预设条件的位置,则可以保证在该位置进行卫星定位校准,在该位置与初始点之间的距离小于预设距离时,则说明该位置与初始点之间的距离在预设可续命里程内,则可以保证移动设备能准确到达初始点,并对初始点的位置进行校准,以使得移动设备可以再次基于精准的定位位置从初始点沿预设路径移动,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。The mobile device described in this application is controlled to move along a preset path. When the mobile device moves to a location where the satellite positioning signal does not meet preset conditions, the mobile device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a location where the satellite positioning signal meets preset conditions, the distance between the current position of the mobile device and the initial point is determined based on the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. When the distance is less than a preset distance, the mobile device is controlled to move to the initial point. After returning to the initial point, the mobile device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet the preset conditions, the mobile device can still maintain accurate positioning within a certain distance. Then, the random movement of the mobile device can be controlled again. This demonstrates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, it can maximize the use of the preset endurance range provided by non-satellite positioning technology. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring satellite positioning calibration at that location. When the distance between this location and the initial point is less than a preset distance, it means the distance between this location and the initial point is within the preset endurance range, guaranteeing the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on a precise positioning location. This solves the problem of inaccurate satellite positioning affecting the movement of the lawnmower robot when obstructed.

图4是本申请实施例中所涉及的一种移动设备的控制装置400的功能单元组成框图。该移动设备的控制装置400可以包括第一控制单元401、确定单元402和第二控制单元403,其中,所述第一控制单元401,用于控制所述移动设备沿预设路径移动;当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长;所述确定单元402,用于在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置;所述第二控制单元403,用于在所述距离小于预设距离时,控制所述移动设备沿第一方向移动,以使所述移动设备靠近所述初始点。Figure 4 is a functional unit block diagram of a control device 400 for a mobile device according to an embodiment of this application. The control device 400 may include a first control unit 401, a determining unit 402, and a second control unit 403. The first control unit 401 is used to control the mobile device to move along a preset path; when the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, it controls the mobile device to continue moving along the preset path for a first mileage or a first duration. The determining unit 402 is used to control the mobile device to move randomly after continuing to move along the preset path for the first mileage or the first duration. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, it determines the distance between the current position of the mobile device and an initial point based on the satellite positioning signal, where the initial point is the initial position of the random movement of the mobile device. The second control unit 403 is used to control the mobile device to move along a first direction when the distance is less than a preset distance, so that the mobile device moves closer to the initial point.

在一些实施例中,所述第一方向为朝向以所述初始点为圆心、所述预设距离为半径的圈内的方向。In some embodiments, the first direction is the direction toward a circle centered at the initial point and with the preset distance as the radius.

在一些实施例中,所述移动设备的控制装置400还具体用于:在沿所述第一方向移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,通过卫星定位技术控制所述移动设备沿所述第一方向移动,当所述移动设备移动到卫星定位信号不满足所述预设条件的位置时,通过非卫星定位技术控制所述移动设备沿所述第一方向移动。In some embodiments, the control device 400 of the mobile device is further specifically used to: during the movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, control the mobile device to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, control the mobile device to move along the first direction using non-satellite positioning technology.

在一些实施例中,所述移动设备的控制装置400还具体用于:在通过所述非卫星定位技术控制所述移动设备进入圈内之后,若剩余可续命里程大于0,则通过所述非卫星定位技术控制所述移动设备在圈内移动,以使得所述移动设备在移动后的位置检测到卫星定位信号满足所述预设条件,所述剩余可续命里程为基于预设可续命里程与通过所述非卫星定位技术控制所述移动设备沿所述第一方向移动的里程得到的。In some embodiments, the control device 400 of the mobile device is further configured to: after controlling the mobile device to enter the circle using the non-satellite positioning technology, if the remaining range is greater than 0, control the mobile device to move within the circle using the non-satellite positioning technology, so that the mobile device detects a satellite positioning signal at the position after moving, which satisfies the preset condition, wherein the remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction using the non-satellite positioning technology.

在一些实施例中,在通过所述非卫星定位技术控制所述移动设备进入圈内之后或者所述移动设备未进入圈内时,所述移动设备的控制装置400还具体用于:若所述剩余可续命里程小于或等于0,控制所述移动设备随机移动,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,执行所述根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离的步骤。In some embodiments, after the mobile device is controlled to enter the circle by the non-satellite positioning technology or when the mobile device is not entered into the circle, the control device 400 of the mobile device is further specifically used to: if the remaining range is less than or equal to 0, control the mobile device to move randomly; when the mobile device moves to a position where the satellite positioning signal meets the preset condition, execute the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal.

在一些实施例中,在所述控制所述移动设备随机移动方面,所述确定单元402具体用于:控制所述移动设备沿任意方向移动,在满足第一转向触发条件时,控制所述移动设备改变移动方向。In some embodiments, in controlling the random movement of the mobile device, the determining unit 402 is specifically configured to: control the mobile device to move in any direction, and control the mobile device to change its direction of movement when a first turning trigger condition is met.

在一些实施例中,在所述控制所述移动设备随机移动方面,所述确定单元402具体用于:通过所述移动设备的摄像头采集至少一个方向上的环境图像,通过所述环境图像识别天空区域,确定所述移动设备的位置与所述天空区域在地面投影位置之间的相对位置关系;控制所述移动设备根据所述相对位置关系朝所述天空区域在地面投影位置所在方向移动,在满足第二转向触发条件时,控制所述移动设备改变移动方向。In some embodiments, in controlling the random movement of the mobile device, the determining unit 402 is specifically configured to: acquire environmental images in at least one direction using the camera of the mobile device, identify a sky region using the environmental images, determine the relative positional relationship between the position of the mobile device and the projection position of the sky region on the ground; control the mobile device to move in the direction of the projection position of the sky region on the ground according to the relative positional relationship, and control the mobile device to change its movement direction when a second turning trigger condition is met.

在一些实施例中,所述移动设备的控制装置400还具体用于:在所述移动设备改变移动方向后,继续监测是否满足所述第一转向触发条件;在满足所述第一转向触发条件时,控制所述移动设备再次改变移动方向;或者,在所述移动设备改变移动方向后,继续监测是否满足所述第二转向触发条件;在满足所述第二转向触发条件时,控制所述移动设备再次改变移动方向。In some embodiments, the control device 400 of the mobile device is further configured to: after the mobile device changes its direction of movement, continue to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, control the mobile device to change its direction of movement again; or, after the mobile device changes its direction of movement, continue to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, control the mobile device to change its direction of movement again.

在一些实施例中,所述第一转向触发条件包括通过传感器探测到所述移动设备与预设区域之间的距离小于第一设定距离值;和/或,所述第二转向触发条件包括通过所述传感器探测到所述移动设备与所述预设区域之间的距离小于第二设定距离值;所述预设区域包括以下任一种:边界、禁区、障碍物所在区域。In some embodiments, the first turning trigger condition includes detecting through a sensor that the distance between the mobile device and a preset area is less than a first preset distance value; and/or, the second turning trigger condition includes detecting through the sensor that the distance between the mobile device and the preset area is less than a second preset distance value; the preset area includes any of the following: a boundary, a restricted area, or an area containing obstacles.

在一些实施例中,在所述预设区域包括障碍物所在区域时,在所述控制所述移动设备改变移动方向之后,所述移动设备的控制装置400还具体用于:在所述移动设备绕过所述障碍物所在区域时,再控制所述移动设备保持绕所述障碍物之前的原方向移动。In some embodiments, when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the control device 400 of the mobile device is further configured to: when the mobile device bypasses the area where the obstacle is located, control the mobile device to maintain its original direction of movement before bypassing the obstacle.

本申请所描述的移动设备的控制装置,控制移动设备沿预设路径移动,当移动设备移动到卫星定位信号不满足预设条件的位置时,控制移动设备沿预设路径继续移动第一里程或第一时长;在沿预设路径继续移动第一里程或第一时长后,控制移动设备随机移动,在移动设备随机移动过程中,当移动设备移动到卫星定位信号满足预设条件的位置时,根据卫星定位信号确定移动设备的当前位置与初始点之间的距离,初始点为移动设备随机移动的初始位置,在距离小于预设距离时,控制移动设备移动到初始点,在回到初始点后,控制移动设备继续沿预设路径移动,进而,可以在卫星定位信号不满足预设条件时,移动设备还可以维持一定距离内的精准定位,再控制移动设备随机移动,则说明随机移动不需要高精度的定位,通过传感器识别障碍物、边界、禁区并避开即可,因此,可以最大限度利用非卫星定位技术提供的预设可续命里程,使得移动设备在卫星定位信号不满足预设条件之后可以利用非卫星定位技术沿预设路径移动更远的距离,并在随机移动过程中找到卫星定位信号满足预设条件的位置,则可以保证在该位置进行卫星定位校准,在该位置与初始点之间的距离小于预设距离时,则说明该位置与初始点之间的距离在预设可续命里程内,则可以保证移动设备能准确到达初始点,并对初始点的位置进行校准,以使得移动设备可以再次基于精准的定位位置从初始点沿预设路径移动,可以解决受到遮挡时卫星定位不准确,影响割草机器人移动的问题。The control device for the mobile device described in this application controls the mobile device to move along a preset path. When the mobile device moves to a position where the satellite positioning signal does not meet preset conditions, the device continues to move along the preset path for a first mile or a first duration. After continuing to move along the preset path for the first mile or a first duration, the device moves randomly. During this random movement, when the mobile device moves to a position where the satellite positioning signal meets preset conditions, the distance between the current position of the mobile device and an initial point is determined based on the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. If the distance is less than a preset distance, the device moves back to the initial point. After returning to the initial point, the device continues to move along the preset path. Thus, even when the satellite positioning signal does not meet preset conditions, the mobile device can maintain accurate positioning within a certain distance before being controlled to move randomly. This indicates that random movement does not require high-precision positioning. It can simply identify and avoid obstacles, boundaries, and restricted areas using sensors. Therefore, the preset endurance range provided by non-satellite positioning technology can be utilized to the maximum extent. This allows the mobile device to move a greater distance along a preset path after the satellite positioning signal fails to meet the preset conditions. During random movement, it can find a position where the satellite positioning signal meets the preset conditions, ensuring that satellite positioning calibration can be performed at that position. When the distance between this position and the initial point is less than the preset distance, it means that the distance between this position and the initial point is within the preset endurance range, ensuring that the mobile device can accurately reach the initial point and calibrate its position. This allows the mobile device to move again from the initial point along the preset path based on the accurate positioning position, which can solve the problem of inaccurate satellite positioning when obstructed, affecting the movement of the lawnmower robot.

可以理解的是,本实施例的移动设备的控制装置的各程序模块的功能可根据上述方法实施例中的方法具体实现,其具体实现过程可以参照上述方法实施例的相关描述,此处不再赘述。It is understood that the functions of each program module of the control device of the mobile device in this embodiment can be specifically implemented according to the methods in the above method embodiments. The specific implementation process can be referred to the relevant descriptions in the above method embodiments, which will not be repeated here.

本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括移动设备。This application also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the methods described in the above method embodiments, wherein the computer includes a mobile device.

本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括移动设备。This application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the methods described in the above method embodiments. The computer program product may be a software installation package, and the computer may include a mobile device.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统,可通过其它的方式实现。例如,以上所描述的系统实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,系统或单元的间接耦合或通信连接,可以是电性或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed system can be implemented in other ways. For example, the system embodiments described above are merely illustrative; for instance, the division of the units described above is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between systems or units may be electrical or other forms.

上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the integrated units described above are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage device, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.

以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.

Claims (14)

一种移动设备的控制方法,其特征在于,所述方法包括:A method for controlling a mobile device, characterized in that the method includes: 控制所述移动设备沿预设路径移动;Control the mobile device to move along a preset path; 当所述移动设备移动到卫星定位信号不满足预设条件的位置时,控制所述移动设备沿所述预设路径继续移动第一里程或第一时长;When the mobile device moves to a location where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to continue moving along the preset path for a first mileage or a first duration. 在沿所述预设路径继续移动所述第一里程或所述第一时长后,控制所述移动设备随机移动,在所述移动设备随机移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离,所述初始点为所述移动设备随机移动的初始位置;After continuing to move the first mileage or the first duration along the preset path, the mobile device is controlled to move randomly. During the random movement of the mobile device, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the distance between the current position of the mobile device and the initial point is determined according to the satellite positioning signal. The initial point is the initial position of the random movement of the mobile device. 在所述距离小于预设距离时,控制所述移动设备移动到所述初始点;When the distance is less than a preset distance, control the mobile device to move to the initial point; 在回到所述初始点后,控制所述移动设备继续沿所述预设路径移动。After returning to the initial point, the mobile device is controlled to continue moving along the preset path. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, characterized in that the method further comprises: 在所述距离大于或等于所述预设距离时,控制所述移动设备沿第一方向移动,以使所述移动设备靠近所述初始点。When the distance is greater than or equal to the preset distance, the mobile device is controlled to move along the first direction so that the mobile device is closer to the initial point. 根据权利要求2所述的方法,其特征在于,所述第一方向为朝向以所述初始点为圆心、所述预设距离为半径的圈内的方向。According to the method of claim 2, the first direction is the direction toward the circle with the initial point as the center and the preset distance as the radius. 根据权利要求3所述的方法,其特征在于,所述方法还包括:The method according to claim 3, characterized in that the method further comprises: 在沿所述第一方向移动过程中,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,通过卫星定位技术控制所述移动设备沿所述第一方向移动,当所述移动设备移动到卫星定位信号不满足所述预设条件的位置时,通过非卫星定位技术控制所述移动设备沿所述第一方向移动。During the movement along the first direction, when the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the mobile device is controlled to move along the first direction using satellite positioning technology; when the mobile device moves to a position where the satellite positioning signal does not meet the preset conditions, the mobile device is controlled to move along the first direction using non-satellite positioning technology. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method according to claim 4, characterized in that the method further comprises: 在通过所述非卫星定位技术控制所述移动设备进入圈内之后,若剩余可续命里程大于0,则通过所述非卫星定位技术控制所述移动设备在圈内移动,以使得所述移动设备在移动后的位置检测到卫星定位信号满足所述预设条件,所述剩余可续命里程为基于预设可续命里程与通过所述非卫星定位技术控制所述移动设备沿所述第一方向移动的里程得到的。After the mobile device is controlled to enter the circle using the non-satellite positioning technology, if the remaining range is greater than 0, the mobile device is controlled to move within the circle using the non-satellite positioning technology so that the mobile device can detect a satellite positioning signal at the position after moving, which satisfies the preset condition. The remaining range is obtained based on the preset range and the mileage by which the mobile device moves along the first direction using the non-satellite positioning technology. 根据权利要求5所述的方法,其特征在于,在通过所述非卫星定位技术控制所述移动设备进入圈内之后或者所述移动设备未进入圈内时,所述方法还包括:The method according to claim 5, characterized in that, after the mobile device is controlled to enter the circle by the non-satellite positioning technology or when the mobile device has not entered the circle, the method further includes: 若所述剩余可续命里程小于或等于0,控制所述移动设备随机移动,当所述移动设备移动到卫星定位信号满足所述预设条件的位置时,执行所述根据卫星定位信号确定所述移动设备的当前位置与初始点之间的距离的步骤。If the remaining range is less than or equal to 0, the mobile device is controlled to move randomly. When the mobile device moves to a position where the satellite positioning signal meets the preset conditions, the step of determining the distance between the current position of the mobile device and the initial point based on the satellite positioning signal is executed. 根据权利要求1-6任一项所述的方法,其特征在于,所述控制所述移动设备随机移动,包括:The method according to any one of claims 1-6, characterized in that controlling the random movement of the mobile device includes: 控制所述移动设备沿任意方向移动,在满足第一转向触发条件时,控制所述移动设备改变移动方向。The mobile device is controlled to move in any direction, and when the first turning trigger condition is met, the mobile device is controlled to change its moving direction. 根据权利要求1-6任一项所述的方法,其特征在于,所述控制所述移动设备随机移动,包括:The method according to any one of claims 1-6, characterized in that controlling the random movement of the mobile device includes: 通过所述移动设备的摄像头采集至少一个方向上的环境图像,通过所述环境图像识别天空区域,确定所述移动设备的位置与所述天空区域在地面投影位置之间的相对位置关系;The mobile device captures environmental images from at least one direction using its camera, identifies a sky region using the environmental images, and determines the relative positional relationship between the mobile device's location and the sky region's projection on the ground. 控制所述移动设备根据所述相对位置关系朝所述天空区域在地面投影位置所在方向移动,在满足第二转向触发条件时,控制所述移动设备改变移动方向。The mobile device is controlled to move in the direction of the projection of the sky area on the ground according to the relative position relationship. When the second turning trigger condition is met, the mobile device is controlled to change the direction of movement. 根据权利要求7或8所述的方法,其特征在于,所述方法还包括:The method according to claim 7 or 8, characterized in that the method further comprises: 在所述移动设备改变移动方向后,继续监测是否满足所述第一转向触发条件;在满足所述第一转向触发条件时,控制所述移动设备再次改变移动方向;After the mobile device changes its direction of movement, it continues to monitor whether the first steering trigger condition is met; when the first steering trigger condition is met, it controls the mobile device to change its direction of movement again. 或者,or, 在所述移动设备改变移动方向后,继续监测是否满足所述第二转向触发条件;在满足所述第二转向触发条件时,控制所述移动设备再次改变移动方向。After the mobile device changes its direction of movement, it continues to monitor whether the second steering trigger condition is met; when the second steering trigger condition is met, it controls the mobile device to change its direction of movement again. 根据权利要求7-9任一项所述的方法,其特征在于,所述第一转向触发条件包括通过传感器探测到所述移动设备与预设区域之间的距离小于第一设定距离值;The method according to any one of claims 7-9, wherein the first steering triggering condition includes detecting, by a sensor, that the distance between the mobile device and the preset area is less than a first preset distance value; 和/或,And/or, 所述第二转向触发条件包括通过所述传感器探测到所述移动设备与所述预设区域之间的距离小于第二设定距离值;The second steering trigger condition includes the sensor detecting that the distance between the mobile device and the preset area is less than a second preset distance value; 所述预设区域包括以下任一种:边界、禁区、障碍物所在区域。The preset area includes any of the following: a boundary, a restricted area, or an area containing obstacles. 根据权利要求10所述的方法,其特征在于,在所述预设区域包括障碍物所在区域时,在所述控制所述移动设备改变移动方向之后,所述方法还包括:According to the method of claim 10, when the preset area includes the area where the obstacle is located, after controlling the mobile device to change its direction of movement, the method further includes: 在所述移动设备绕过所述障碍物所在区域时,再控制所述移动设备保持绕所述障碍物之前的原方向移动。When the mobile device bypasses the area where the obstacle is located, it is then controlled to maintain its original direction of movement before bypassing the obstacle. 一种移动设备,其特征在于,包括处理器、存储器,所述存储器用于存储一个或多个程序,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-11任一项所述的方法中的步骤的指令。A mobile device is characterized by comprising a processor and a memory for storing one or more programs and configured to be executed by the processor, the programs comprising instructions for performing the steps of the method as claimed in any one of claims 1-11. 根据权利要求12所述的移动设备,其特征在于,所述移动设备还包括后视摄像头,所述后视摄像头的镜头朝向所述移动设备的斜后上方设置。The mobile device according to claim 12, wherein the mobile device further includes a rear-view camera, the lens of which is disposed facing obliquely upward and rearward of the mobile device. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-11任一项所述的方法。A computer-readable storage medium, characterized in that it stores a computer program for electronic data interchange, wherein the computer program causes a computer to perform the method as described in any one of claims 1-11.
PCT/CN2025/099836 2024-06-20 2025-06-09 Method for controlling mobile device, and related device Pending WO2025261195A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410802081.0A CN118605534A (en) 2024-06-20 2024-06-20 Control method of mobile device and related device
CN202410802081.0 2024-06-20

Publications (1)

Publication Number Publication Date
WO2025261195A1 true WO2025261195A1 (en) 2025-12-26

Family

ID=92557564

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2025/099836 Pending WO2025261195A1 (en) 2024-06-20 2025-06-09 Method for controlling mobile device, and related device

Country Status (2)

Country Link
CN (1) CN118605534A (en)
WO (1) WO2025261195A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118605534A (en) * 2024-06-20 2024-09-06 深圳库犸科技有限公司 Control method of mobile device and related device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101160535A (en) * 2005-04-17 2008-04-09 天宝导航有限公司 Enhanced GNSS signal processing
CN107291077A (en) * 2016-04-12 2017-10-24 苏州宝时得电动工具有限公司 Automatic working system, self-moving device and control method thereof
WO2021093474A1 (en) * 2019-11-12 2021-05-20 苏州宝时得电动工具有限公司 Lawn mower navigation method and apparatus, and lawn mower
CN116466724A (en) * 2023-04-25 2023-07-21 浙江亚特电器股份有限公司 Mobile positioning method and device of robot and robot
CN118605534A (en) * 2024-06-20 2024-09-06 深圳库犸科技有限公司 Control method of mobile device and related device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101160535A (en) * 2005-04-17 2008-04-09 天宝导航有限公司 Enhanced GNSS signal processing
CN107291077A (en) * 2016-04-12 2017-10-24 苏州宝时得电动工具有限公司 Automatic working system, self-moving device and control method thereof
WO2021093474A1 (en) * 2019-11-12 2021-05-20 苏州宝时得电动工具有限公司 Lawn mower navigation method and apparatus, and lawn mower
CN116466724A (en) * 2023-04-25 2023-07-21 浙江亚特电器股份有限公司 Mobile positioning method and device of robot and robot
CN118605534A (en) * 2024-06-20 2024-09-06 深圳库犸科技有限公司 Control method of mobile device and related device

Also Published As

Publication number Publication date
CN118605534A (en) 2024-09-06

Similar Documents

Publication Publication Date Title
US11537142B2 (en) Method for robot repositioning
CN112740274B (en) System and method for VSLAM scale estimation using optical flow sensors on robotic devices
TWI558525B (en) Robot and its control method
CN111694358B (en) Method and device for controlling transfer robot, and storage medium
CN115519586B (en) Cliff detection method for robot, and storage medium
WO2025261195A1 (en) Method for controlling mobile device, and related device
CN114564022B (en) A robot collision handling method and device
US12535819B2 (en) Self-moving device, moving trajectory adjusting method, and computer-readable storage medium
CN115454077B (en) Automatic mower, control method thereof and computer readable storage medium
CN116719067B (en) Method and apparatus for detecting reference station position variation, and readable storage medium
CN118276585A (en) Automatic obstacle avoidance target recognition method for robots
CN111700553B (en) Obstacle avoidance method, device, robot and storage medium
CN112698643A (en) Method and system for docking charging device by robot, robot and computer storage medium
CN118642497B (en) Control method of mobile equipment and related equipment
CN116466724A (en) Mobile positioning method and device of robot and robot
US11865724B2 (en) Movement control method, mobile machine and non-transitory computer readable storage medium
CN118625810A (en) Control method of mobile device and related device
CN111897337B (en) Obstacle avoidance control method and control system for a robot walking along an edge
US12414665B2 (en) Collided position determination method, computer-readable storage medium, and robot
WO2025031066A1 (en) Base station position change detection method, device, and readable storage medium
CN118605535A (en) Control method of mobile device and related device
WO2025261298A1 (en) Control methods for mobile device and related device
WO2025261300A1 (en) Control method for mobile device, and related device
CN115755912A (en) Obstacle avoidance control method, device, equipment and storage medium
CN115016460A (en) Mobile robot, control method and device thereof, and computer-readable storage medium