Movement control method, self-moving device and storage medium
By planning the moving path from the mobile device, it moves along the sub-path extension direction within the work area, the irregular indentation problem caused by the straight path is solved, and the cleanliness and aesthetics of the work area are maintained.
Patent Information
- Application Number
- CN202410970426.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-18
- Publication Date
- 2024-11-08
AI Technical Summary
When the mobile device passes through the working area along a straight path during the movement, irregular indentation is likely to be left, affecting the cleanliness and aesthetics of the working area.
By planning the moving path, it extends in the extension direction of the sub-path in the work area, ensuring that the moving path is consistent with the extension direction of the work path, and avoiding the occurrence of irregular indentations.
Effectively maintain the neatness and aesthetics of the working area, ensure that the indentation generated during movement is consistent with the indentation during operation, and avoid the occurrence of irregular indentation.
Smart Images

Figure CN118915743A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of self-moving equipment, relates to navigation technology, and in particular to a mobile control method, a self-moving equipment and a storage medium. Background Art
[0002] With the continuous advancement of science and technology and the rapid development of artificial intelligence, the use of self-moving equipment (for example, mowing robots, cleaning robots, food delivery robots, etc.) to replace manual work can greatly improve work efficiency.
[0003] Self-moving devices can work according to a pre-planned work path, but they often need to pause the current work and move from the current position to the target position. For example, the self-moving device is low on power during the operation and needs to go to the charging position for charging. In related technologies, self-moving devices often move directly along a straight path between the current position and the target position. If the straight path passes through the work area, it will leave an indentation in the work area, thereby affecting the cleanliness and aesthetics of the work area. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a mobile control method, a self-moving device and a storage medium to solve the problem that when a self-moving device moves through a work area along a straight path between a current position and a target position, an indentation is left in the work area, thereby affecting the cleanliness and aesthetics of the work area.
[0005] In a first aspect, an embodiment of the present application provides a mobile control method, which is applied to a self-moving device, and the method includes: in response to a mobile control instruction, planning a moving path of the self-moving device according to the current position and target position of the self-moving device, wherein the paths of the mobile path within the working area all extend along the target direction, wherein the working path of the self-moving device for the working area includes multiple sub-paths, and the multiple sub-paths extend along the target direction; the self-moving device moves from the current position to the target position along the mobile path.
[0006] In a possible implementation, the operation path is a path used by the mobile device when it last operated in the operation area.
[0007] In a possible implementation, the method further includes: the self-moving device moves along the working path and performs the working task; while moving along the working path and performing the working task, acquiring the movement control instruction.
[0008] In a possible implementation manner, the multiple sub-paths are parallel to each other and arranged at intervals.
[0009] In a possible implementation manner, the sub-path is a straight line path or a wavy line path.
[0010] In a possible implementation manner, the moving path includes a path located in the working area and extending along the target direction and a path extending along a region boundary of the working area.
[0011] In one possible implementation, planning the moving path of the self-moving device includes: determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position, wherein the at least one intermediate position is located at the area boundary of the working area.
[0012] In one possible implementation, if the current position is located in the working area and the target position is located at the boundary of the area, determining the path between the current position and at least one intermediate position and the path between the at least one intermediate position and the target position includes: determining a first intermediate position extending from the current position along the target direction to the boundary of the area, determining a first path based on the current position and the first intermediate position; determining a second path based on the first intermediate position and the target position; and determining the moving path based on the first path and the second path.
[0013] In a possible implementation, if the current position and the target position are both located within the working area, determining the path between the current position and at least one intermediate position and the path between the at least one intermediate position and the target position includes: determining a first intermediate position extending from the current position along the target direction to the boundary of the area; determining a second intermediate position extending from the target position along the target direction to the boundary of the area; determining a first path based on the current position and the first intermediate position, determining a second path based on the first intermediate position and the second intermediate position, determining a third path based on the second intermediate position and the target position, and determining the moving path based on the first path, the second path, and the third path.
[0014] In a possible implementation, if the current position is located in the working area and the target position is located outside the working area, determining the path between the current position and at least one intermediate position and the path between the at least one intermediate position and the target position includes: determining a first intermediate position extending from the current position along the target direction to the area boundary; determining the intersection position of the connecting path between the target position and the area boundary and the area boundary; determining a first path based on the current position and the first intermediate position, determining a second path based on the first intermediate position and the intersection position, and determining the moving path based on the first path, the second path, and the connecting path.
[0015] In a possible implementation, if the current position is outside the working area and the target position is within the working area, determining the path between the current position and at least one intermediate position and the path between the at least one intermediate position and the target position includes: determining a first intermediate position where the target position extends along the target direction to the area boundary; determining the intersection position of the connecting path between the current position and the area boundary and the area boundary; determining a first path based on the intersection position and the first intermediate position, determining a second path based on the first intermediate position and the target position, and determining the moving path based on the first path, the second path, and the connecting path.
[0016] In one possible implementation, if the current position is located at the boundary of the area and the target position is located within the working area, determining the path between the current position and at least one intermediate position and the path between the at least one intermediate position and the target position includes: determining a first intermediate position extending from the target position along the target direction to the boundary of the area, determining a first path based on the current position and the first intermediate position; determining a second path based on the first intermediate position and the target position; and determining the moving path based on the first path and the second path.
[0017] In a second aspect, an embodiment of the present application provides a mobile control method applied to a self-moving device, the method comprising: in response to a mobile control instruction, the self-moving device moves from a current position along a mobile path to a target position; wherein the mobile path within the working area includes a first mobile path extending along a target direction and a second mobile path extending along a boundary of an obstacle; the working path of the self-moving device for the working area includes multiple sub-paths, and the multiple sub-paths extend along the target direction.
[0018] In a possible implementation, the operation path is a path used by the mobile device when it last operated in the operation area.
[0019] In a possible implementation manner, the moving path includes the first moving path, the second moving path, and a third moving path, and the third moving path extends along an area boundary of the working area.
[0020] In a third aspect, an embodiment of the present application provides a mobile control method, which is applied to a self-moving device, and the method includes: in response to a mobile control instruction, the self-moving device moves along a target direction, wherein the working path of the self-moving device for the working area includes multiple sub-paths, and the multiple sub-paths extend along the target direction; if the self-moving device reaches a first boundary during the process of moving along the target direction, the self-moving device moves along the first boundary until the self-moving device meets the condition of moving along the target direction, and continues to move along the target direction after the condition is met; if the self-moving device reaches a second boundary during the process of moving along the target direction, the self-moving device moves along the second boundary to the target position, or the self-moving device moves along the second boundary to an intermediate position, and then moves from the intermediate position along the target direction to the target position.
[0021] In a possible implementation, the operation path is a path used by the mobile device when it last operated in the operation area.
[0022] In a possible implementation, the first boundary is a boundary of an obstacle in the working area, and the self-moving device moves along the first boundary until the self-moving device meets the condition of moving along the target direction, including: the self-moving device moves along the first boundary to bypass the obstacle, and determines that the self-moving device meets the condition of moving along the target direction.
[0023] In a possible implementation manner, the second boundary is a boundary of the working area.
[0024] In a fourth aspect, an embodiment of the present application provides a mobile control method, which is applied to a self-moving device, and the method includes: in response to a mobile control instruction, according to the current position and target position of the self-moving device, planning a moving path for the self-moving device to move from the current position to the target position, wherein the paths of the moving path within the working area all extend along the target direction, wherein the working path of the self-moving device for the working area includes multiple sub-paths, and the multiple sub-paths extend along the target direction; the self-moving device moves along the moving path; if the self-moving device determines that there is an obstacle ahead during the movement, it moves based on a detour path to bypass the obstacle; after the self-moving device bypasses the obstacle, the moving path of the self-moving device is re-planned, and the self-moving device moves to the target position along the re-planned moving path, and the paths of the re-planned moving path within the working area all extend along the target direction.
[0025] In a possible implementation, the operation path is a path used by the mobile device when it last operated in the operation area.
[0026] In one possible implementation, the replanning of the moving path of the self-moving device includes: planning the moving path of the self-moving device from the position where the self-moving device is after bypassing the obstacle to the target position based on the position where the self-moving device is after bypassing the obstacle and the target position.
[0027] In a fifth aspect, an embodiment of the present application provides a self-moving device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the mobile control method as described above is implemented.
[0028] In a sixth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor in a mobile device, the mobile control method as described above is implemented.
[0029] The mobile control method, self-moving device and storage medium provided in the embodiments of the present application extend the path of the moving device within the working area along the extension direction of the sub-path when the self-moving device moves from the current position to the target position, so that the extension direction of the indentation generated by the self-moving device during the movement is consistent with the extension direction of the indentation generated during the operation, thereby avoiding irregular indentations generated by the self-moving device during the movement and effectively maintaining the cleanliness and aesthetics of the working area. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0031] Figure 1 It is a schematic diagram of an operation area provided in one embodiment of the present application.
[0032] Figure 2 It is a schematic diagram of the hardware structure of a mobile device provided in one embodiment of the present application.
[0033] Figure 3 It is a flow chart of a mobile control method provided in one embodiment of the present application.
[0034] Figure 4 This is another schematic diagram of the working area provided in one embodiment of the present application.
[0035] Figure 5 This is another schematic diagram of the working area provided in one embodiment of the present application.
[0036] Figure 6 It is a flow chart of planning a moving path for a mobile device to move from a current location to a target location provided by an embodiment of the present application.
[0037] Figure 7 It is a schematic diagram of a working area provided in another embodiment of the present application.
[0038] Figure 8 It is a flowchart of planning a moving path for a mobile device to move from a current location to a target location provided by another embodiment of the present application.
[0039] Fig. 9 It is a schematic diagram of a working area provided in another embodiment of the present application.
[0040] Fig.10 It is a flowchart of planning a moving path for a mobile device to move from a current location to a target location provided by another embodiment of the present application.
[0041] Fig.11 It is a schematic diagram of a working area provided in another embodiment of the present application.
[0042] Fig.12 It is a flowchart of planning a moving path for a mobile device to move from a current location to a target location provided by another embodiment of the present application.
[0043] Fig.13 It is a schematic diagram of a working area provided in another embodiment of the present application.
[0044] Fig.14 It is a flowchart of planning a moving path for a mobile device to move from a current location to a target location provided by another embodiment of the present application.
[0045] Fig.15 It is a schematic diagram of a working area provided in another embodiment of the present application.
[0046] Fig.16 This is a flow chart of a mobile control method provided by another embodiment of the present application.
[0047] Fig.17 This is a flow chart of a mobile control method provided by another embodiment of the present application.
[0048] Fig.18 It is a schematic diagram of a working area provided in another embodiment of the present application. DETAILED DESCRIPTION
[0049] In order to make the objectives, technical solutions and advantages of the present application clearer, the present application is described in detail below with reference to the accompanying drawings and specific embodiments.
[0050] It should be noted that in this application, "at least one" means one or more, and "more than one" means two or more than two. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.
[0051] In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a concrete way. The following embodiments and features in the embodiments may be combined with each other without conflict.
[0052] With the continuous advancement of science and technology and the rapid development of artificial intelligence, the use of self-moving equipment (for example, mowing robots, cleaning robots, food delivery robots, etc.) to replace manual work can greatly improve work efficiency.
[0053] Self-moving devices can work according to a pre-planned work path, but they often need to pause the current work and move from the current position to the target position. For example, the self-moving device is low on power during the operation and needs to go to the charging position for charging. In related technologies, self-moving devices often move directly along a straight path between the current position and the target position. If the straight path passes through the work area, it will leave an indentation in the work area, thereby affecting the cleanliness and aesthetics of the work area.
[0054] See also Figure 1 FIG. 1 is a schematic diagram of an operation area provided by an embodiment of the present application. For example, the self-moving device is a lawn mower robot, and the operation area is a lawn. When the lawn mower robot performs a lawn mowing operation, it will leave an indentation on the lawn. To ensure the neatness and beauty of the lawn, the lawn mower robot usually performs the lawn mowing operation according to a preset lawn mowing path, thereby leaving a regular shape of indentation on the lawn, such as Figure 1 The "bow"-shaped indentation shown, at this time the preset mowing path is also in the shape of a "bow". When the power of the mowing robot is low during operation, it needs to go to the charging station for charging, or after completing the operation, it needs to go to the centralized parking area for parking, and it needs to move from the current position to the target position. In related technologies, the mowing robot usually moves along a straight path between the current position and the target position, that is, the shortest path. If the straight path passes through the lawn, the moving path of the mowing robot is different from the operating path. In this way, irregular indentations will be left on the lawn, thereby affecting the cleanliness and aesthetics of the lawn.
[0055] In order to avoid leaving indentations in the working area and affecting the cleanliness and aesthetics of the working area when the self-moving device moves through the working area along a straight path between the current position and the target position, an embodiment of the present application provides a movement control method. When the self-moving device moves from the current position to the target position, the path of the moving path within the working area is extended along the extension direction of the sub-path, so that the extension direction of the indentation generated by the self-moving device during the movement is consistent with the extension direction of the indentation generated during the operation, thereby avoiding irregular indentations generated by the self-moving device during the movement and effectively maintaining the cleanliness and aesthetics of the working area.
[0056] See also Figure 2 FIG. 1 is a schematic diagram of the hardware structure of a self-moving device provided in an embodiment of the present application. The mobile control method in the embodiment of the present application is applied to Figure 2In the self-moving device 1 shown, the self-moving device 1 includes a body and a memory 11, a processor 12, a power supply 13, a sensor 14, an operating mechanism 15, a communication module 16, a positioning module 17, a driving wheel 18 and a bus 19 arranged on the body. The processor 12 is respectively coupled to the memory 11, the power supply 13, the sensor 14, the operating mechanism 15, the communication module 16, the positioning module 17, and the driving wheel 18 through the bus 19. The self-moving device 1 is an electronic device with a self-moving function, such as a lawn mowing robot, a cleaning robot, a food delivery robot, etc.
[0057] The memory 11 may include one or more random access memories (RAM) and one or more non-volatile memories (NVM). The random access memory can be directly read and written by the processor 12, and can be used to store executable programs (such as machine instructions) of the operating system or other running programs, and can also be used to store user and application data. The random access memory may include static random-access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), etc.
[0058] The non-volatile memory may also store executable programs and user and application data, etc., and may be loaded into the random access memory in advance for direct reading and writing by the processor 12. The non-volatile memory may include a disk storage device and a flash memory.
[0059] The memory 11 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 12. The one or more computer programs include a plurality of instructions, and when the plurality of instructions are executed by the processor 103, the path planning method executed on the mobile device 1 can be implemented.
[0060] In other embodiments, the self-mobile device 1 further includes an external memory interface for connecting to an external memory to expand the storage capacity of the self-mobile device 1 .
[0061] The processor 12 may include one or more processing units, for example, the processor 12 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0062] The processor 12 provides computing and control capabilities. For example, the processor 12 is used to execute a computer program stored in the memory 11 to implement the above-mentioned path planning method.
[0063] The power source 13 is used to power the self-moving device. In one embodiment of the present application, the power source 13 may include any one or more power supply devices such as a battery, a fuel generator, a solar power generation module, a wind power generation module, etc.
[0064] The sensor 14 is used to obtain information for the mobile device 1, such as obtaining environmental information and movement information of the mobile device 1. In an embodiment of the present application, the sensor 14 may include one or more sensors such as a laser radar, a camera, an infrared sensor, and an encoder.
[0065] The operating mechanism 15 is used to perform corresponding operating tasks, such as mowing, cruising, sweeping, and spraying pesticides. In some embodiments of the present application, the operating mechanism 15 may include a motor, a transmission mechanism, and a cutter disc. In some embodiments of the present application, the motor can drive the cutter disc to rotate through the transmission mechanism to achieve the mowing function. The motor can also control the movement of the blade to adjust the mowing height and mowing area.
[0066] The communication module 16 is used to realize communication between the mobile device and other devices. In one embodiment of the present application, the communication module 16 can exchange data with other devices based on wired communication and / or wireless communication. The above-mentioned wireless communication can include one or more combinations of communication modes such as Bluetooth communication, Wi-Fi communication, and Near Field Communication (NFC).
[0067] The positioning module 17 is used to determine the position of the mobile device. In some embodiments of the present application, the positioning module 17 may include one or more positioning modules of the type of global positioning system (GPS), inertial navigation system, real-time kinematic (RTK) carrier phase differential system, etc.
[0068] The driving wheel 18 is used to realize the movement of the self-moving device. In some embodiments of the present application, the driving wheel 18 can realize the movement function of the self-moving device according to the control of the processor 12. In some embodiments of the present application, the driving wheel 18 may include a left driving wheel and a right driving wheel.
[0069] The bus 19 is at least used to provide a channel for mutual communication among the memory 11 , the processor 12 , the power supply 13 , the sensor 14 , the operating mechanism 15 , the communication module 16 , the positioning module 17 , and the driving wheel 18 in the mobile device 1 .
[0070] In other embodiments of the present application, the self-moving device 1 may further include an anti-collision part and a steering assembly, etc. The anti-collision part may be used to prevent the driving wheel 18 from colliding with an obstacle in front of the self-moving device. The steering assembly may be used to enable the driving wheel 18 to adjust the driving direction.
[0071] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the self-moving device 1. In other embodiments of the present application, the self-moving device 1 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0072] See also Figure 3 FIG. 1 is a flow chart of a mobile control method provided by an embodiment of the present application. The mobile control method can be applied to Figure 2 The self-moving device 1 shown. The moving control method comprises the following steps:
[0073] S101, in response to a movement control instruction, a movement path of the self-moving device is planned according to the current position and the target position of the self-moving device, wherein the movement path within the working area extends along the target direction.
[0074] In one embodiment of the present application, the operation path of the self-mobile device is first obtained, and the self-mobile device moves along the operation path in the operation area and performs the operation task. When moving along the operation path and performing the operation task, the mobile control instruction is obtained. The operation path covers the operation area, thereby ensuring that the self-mobile device covers the operation area to perform the operation. The operation path is the path used by the self-mobile device when it last operated in the operation area. Among them, the most recent time refers to the time that is closest in time to the moment when the mobile control instruction is obtained. If the self-mobile device obtains the mobile control instruction in the process of performing the operation task, the path used by the self-mobile device when it last operated in the operation area is the path used when the current operation task is performed.
[0075] In one embodiment of the present application, the operation path includes a plurality of sub-paths, which are parallel to each other, arranged at intervals, and extend along the target direction. The sub-paths may be straight paths or wavy paths. For example, Figure 1 As shown, multiple sub-paths are in a bow shape and extend horizontally. The present application embodiment does not limit the shape and extension direction of the operation path. For example, the target direction can also be perpendicular, parallel, or at a certain angle to the area boundary of the operation area.
[0076] In one embodiment of the present application, the area boundary is a range within a preset threshold from the boundary of the working area defined in the working map. The moving path within the area boundary does not belong to the path within the working area. For example, the preset threshold can be 20cm, 25cm, 30cm or other distance values. The working map is used to store and represent the area information where the self-moving equipment needs to operate. The area information includes, but is not limited to: the boundary of the working area, the moving path, obstacle information, terrain features, and environmental features, which can assist the self-moving equipment to operate efficiently and accurately in the working area.
[0077] In another embodiment of the present application, the operation area may also include multiple sub-operation areas, and the mobile device adopts a different operation path in each sub-operation area. In this case, the operation area refers to one of the sub-operation areas. In this case, the area boundary is the boundary corresponding to the sub-operation area, not the boundary of the operation area. For example, see Figure 4 As shown, another schematic diagram of the operation area provided by an embodiment of the present application is shown. The sub-operation area within the dotted frame adopts a "bow"-shaped operation path, and the sub-area outside the dotted frame adopts a "return"-shaped operation path. The working area can be the sub-operation area within the dotted line, and the dotted line can be the boundary of the sub-operation area.
[0078] In one embodiment of the present application, the moving path includes a path located in the working area and extending along the target direction and a path extending along the regional boundary of the working area. If the working area is a lawn, when the self-moving device moves along the path extending along the regional boundary, the aesthetics of the lawn is less affected. Planning the moving path of the self-moving device includes: determining a path between the current position and at least one intermediate position and a path between at least one intermediate position and the target position. Wherein, at least one intermediate position is located at the regional boundary of the working area.
[0079] See also Figure 5 FIG. 2 is another schematic diagram of an operation area provided by an embodiment of the present application. In an embodiment of the present application, the current position A is located in the operation area, and the target position B is located at the boundary of the area. For example, the target position is the location of a charging station for a self-mobile device.
[0080] See also Figure 6 , which is a flow chart of planning a moving path for a mobile device to move from a current location to a target location, provided by an embodiment of the present application.
[0081] S201, determining a first intermediate position extending from a current position to a region boundary along a target direction, and determining a first path based on the current position and the first intermediate position.
[0082] In one embodiment of the present application, the current position extends along the target direction to the first intermediate position C of the region boundary, and a path between the current position A and the first intermediate position C is determined as the first path L1. The path between the current position A and the first intermediate position C may be the shortest path between the current position A and the first intermediate position C.
[0083] S202: Determine a second path based on the first intermediate position and the target position.
[0084] In one embodiment of the present application, a path between the first intermediate position C and the target position B is determined as the second path L2, wherein the path between the first intermediate position C and the target position B is the shortest path between the first intermediate position C and the target position B along the region boundary.
[0085] S203: Determine a moving path based on the first path and the second moving path.
[0086] In one embodiment of the present application, the first path L1 and the second path L2 constitute a moving path for the moving device to move from a current position to a target position.
[0087] It can be understood that if the target position B and the current position A can be connected to form a path extending along the target direction, that is, the target position B is the same as the first intermediate position C, the moving path of the mobile device from the current position along the target direction to the target position is the first path L1.
[0088] See also Figure 7 , which is a schematic diagram of an operation area provided by another embodiment of the present application. Both the current position A and the target position B are located in the operation area. For example, the target position is the location of a charging station for a self-mobile device or another operation position in the operation area.
[0089] See also Figure 8 FIG. 1 is a flowchart of another embodiment of the present application for planning a moving path for a mobile device to move from a current location to a target location.
[0090] S301, determining a first intermediate position extending from the current position to the region boundary along a target direction.
[0091] In one embodiment of the present application, the current position extends along the target direction to a first middle position C of the region boundary.
[0092] S302: Determine a second middle position where the target position extends along the target direction to the region boundary.
[0093] In an embodiment of the present application, the target position extends along the target direction to a second middle position D of the region boundary.
[0094] S303, determine a first path based on the current position and the first intermediate position, determine a second path based on the first intermediate position and the second intermediate position, determine a third path based on the second intermediate position and the target position, and determine a moving path based on the first path, the second path and the third path.
[0095] In one embodiment of the present application, a path between the current position A and the first intermediate position C is determined as the first path L1. A path between the first intermediate position C and the second intermediate position D is determined as the second path L2. A path between the second intermediate position D and the target position B is determined as the third path L3. The first path L1, the second moving path L2, and the third path L3 constitute a moving path for the self-moving device to move from the current position to the target position.
[0096] It is understandable that if the target position B and the current position A can be connected to form a path extending along the target direction, the mobile device can directly move from the current position A to the target position B along the target direction without moving along the area boundary.
[0097] See also Fig. 9FIG. 1 is a schematic diagram of an operation area provided by another embodiment of the present application. The current position A is located in the operation area, and the target position B is located outside the operation area. For example, the target position is the location of a charging station for a self-mobile device.
[0098] See also Fig.10 FIG. 1 is a flowchart of another embodiment of the present application for planning a moving path for a mobile device to move from a current location to a target location.
[0099] S401, determining a first intermediate position extending from the current position to the region boundary along the target direction.
[0100] In one embodiment of the present application, the current position extends along the target direction to a first middle position C of the region boundary.
[0101] S402: Determine the intersection position of the connection path between the target position and the region boundary and the region boundary.
[0102] In one embodiment of the present application, the intersection position of the connecting path L between the target position B and the region boundary and the region boundary is as follows: Fig. 9 Position E shown.
[0103] S403, determining a first path based on the current position and the first intermediate position, determining a second path based on the first intermediate position and the intersection position, and determining a moving path based on the first path, the second path and the connecting path.
[0104] In one embodiment of the present application, a path between the current position A and the first intermediate position C is determined as the first path L1. A path between the first intermediate position C and the intersection position E is determined as the second path L2. The first path L1, the second moving path L2, and the connecting path between the intersection position E and the target position B constitute a moving path for the mobile device to move from the current position to the target position.
[0105] It can be understood that if the target position B and the intersection position E can be connected to form a path extending in the target direction, that is, the intersection position E is the same as the first intermediate position C, then the self-moving device does not need to move along the area boundary, but moves directly from the intersection position E to the target position B along the path extending in the target direction.
[0106] See also Fig.11 , which is a schematic diagram of an operation area provided by another embodiment of the present application. The current position A is outside the operation area, and the target position B is inside the operation area. For example, the current position is the location of a charging station for a self-mobile device or the end point of another operation area.
[0107] See also Fig.12FIG. 1 is a flowchart of another embodiment of the present application for planning a moving path for a mobile device to move from a current location to a target location.
[0108] S501, determining a first middle position extending from a target position to a region boundary along a target direction.
[0109] In an embodiment of the present application, the target position extends along the target direction to a first middle position C of the region boundary.
[0110] S502: Determine the intersection position of the connection path between the current position and the region boundary and the region boundary.
[0111] In one embodiment of the present application, the intersection position of the connection path L between the current position A and the region boundary and the region boundary is as follows: Fig.11 Position E shown.
[0112] S503, determining a first path based on the intersection position and the first intermediate position, determining a second path based on the first intermediate position and the target position, and determining a moving path based on the first path, the second path and the connecting path.
[0113] In one embodiment of the present application, a path between the intersection position E and the first intermediate position C is determined as the first path L1. A path between the first intermediate position C and the target position B is determined as the second path L2. The first path L1, the second moving path L2, and the connecting path between the current position A and the intersection position E constitute a moving path for the self-moving device to move from the current position to the target position.
[0114] It can be understood that if the target position B and the intersection position E can be connected to form a path extending along the target direction, that is, the intersection position E is the same as the first intermediate position C, the self-moving device does not need to move along the area boundary, but moves directly from the intersection position E to the target position B along the path extending in the target direction.
[0115] See also Fig.13 , which is a schematic diagram of an operation area provided by another embodiment of the present application. The current position A is located at the boundary of the area, and the target position B is located within the operation area. For example, the current position is the location of a charging station for a self-mobile device.
[0116] See also Fig.14 FIG. 1 is a flowchart of another embodiment of the present application for planning a moving path for a mobile device to move from a current location to a target location.
[0117] S601, determining a first intermediate position extending from a target position to a region boundary along a target direction, and determining a first path based on a current position and the first intermediate position.
[0118] In one embodiment of the present application, the target position is determined to extend along the target direction to a first intermediate position C of the region boundary, and a path between the current position A and the first intermediate position C is determined as a first path L1.
[0119] S602: Determine a second path based on the first intermediate position and the target position.
[0120] In one embodiment of the present application, the path between the first intermediate position C and the target position B is determined as the second path L2.
[0121] S603: Determine a moving path based on the first path and the second moving path.
[0122] In one embodiment of the present application, the first path L1 and the second path L2 constitute a moving path for the mobile device to move from a current location to a target location.
[0123] It is understandable that if the current position A and the target position B can be connected to form a path extending along the target direction, that is, the current position A is the same as the first intermediate position C, the moving path of the mobile device from the current position to the target position is the second path L2.
[0124] S102, the mobile device moves from the current position to the target position along the moving path.
[0125] In one embodiment of the present application, after the planning of the moving path is completed, the moving path is loaded into the operation map of the self-moving device, and the self-moving device moves from the current position to the target position along the moving path based on the operation map.
[0126] In one embodiment of the present application, the method further includes: planning multiple movement paths for the mobile device to move from the current position to the target position according to the current position and the target position, determining the shortest movement path among the multiple movement paths as the target movement path, and moving the mobile device from the current position to the target position along the target movement path. Among them, the paths of the multiple movement paths within the working area all extend along the target direction.
[0127] For example, the target position is located at the area boundary, and the current position of the self-mobile device is located in the working area. In this way, two moving paths can be determined, one of which moves from the current position along the target direction to the left to the area boundary, and then moves along the area boundary to the target position, and the other moving path moves from the current position along the target direction to the right to the area boundary, and then moves along the area boundary to the target position.
[0128] In the above embodiment of the present application, when the self-moving device moves from the current position to the target position, the portion of the moving path within the working area extends along the target direction, that is, the extension direction of the moving path is the same as the extension direction of the sub-path, so that the self-moving device will not leave irregular indentations in the working area, effectively maintaining the neatness and beauty of the working area. For example, when the working area is a lawn, the self-moving device will not leave irregular stripes on the lawn, maintaining the neatness and beauty of the lawn.
[0129] In another embodiment of the present application, the path of the moving path in the working area includes a first moving path extending along the target direction and a second moving path extending along the boundary of the obstacle. The moving path may also include a third moving path extending along the area boundary of the working area.
[0130] In one embodiment of the present application, if an obstacle is detected while the self-moving device is moving from the current position to the target position along the moving path, for example, the obstacle may be a stone, a tree, a pothole, a restricted area, a restricted area, etc., the self-moving device moves along the boundary of the obstacle to bypass the obstacle. During the movement of the self-moving device along the boundary of the obstacle, a preset distance is separated from the obstacle. For example, the preset distance is 5 cm, 8 cm, 10 cm or other distance values. In this way, the path of the moving path within the working area can also extend along the boundary of the obstacle. After bypassing the obstacle, the self-moving device continues to move along the moving path to the target position.
[0131] See also Fig.15 FIG. 1 is a schematic diagram of an operation area provided by another embodiment of the present application. For example, when a self-moving device moves along a target direction and detects an obstacle, it moves along the boundary of the obstacle to bypass the obstacle. At the same time, the indentation produced by the self-moving device moving along the boundary of the obstacle fits the boundary of the obstacle to avoid affecting the aesthetics of the operation area. The line between the position of the self-moving device after bypassing the obstacle and the position when the obstacle is detected can be extended along the target direction (such as Fig.15 ), or it may not extend along the target direction (as shown in Fig.18 As shown), after bypassing the obstacle, the self-mobile device continues to move along the target direction to the region boundary, moves along the region boundary to the target position, extends along the target direction to the position of the region boundary, and then moves along the target direction to the target position.
[0132] In one embodiment of the present application, if the self-moving device reaches the target position during the movement, the self-moving device stops moving. For example, the current position or the target position of the self-moving device is within the working area, and the self-moving device moves along the target direction. If the self-moving device reaches the target position during the movement along the target direction, the self-moving device stops moving.
[0133] In one embodiment of the present application, if the self-mobile device reaches the regional boundary during the process of moving in the target direction, the self-mobile device turns. For example, when the self-mobile device moves to the regional boundary along the target direction, the self-mobile device turns to move along the regional boundary until it can continue to move to the target position along the target direction, or until it moves to the target position (when the target position is located at the regional boundary). For example, the current position and target position of the self-mobile device are both located in the operating area, the self-mobile device moves to the regional boundary along the target direction, then turns to move along the regional boundary to the position where the target position extends to the regional boundary along the target direction, and then turns again to move to the target position along the target direction. For another example, the current position of the self-mobile device is located in the operating area, the target position is located at the regional boundary, the self-mobile device moves to the regional boundary along the target direction, and then turns to move to the target position along the regional boundary.
[0134] In one embodiment of the present application, if the mobile device detects an obstacle during movement, the mobile device turns. For example, when the mobile device detects an obstacle while moving in a target direction, the mobile device turns to move along the boundary of the obstacle until the mobile device bypasses the obstacle and continues to move in the target direction.
[0135] In the above-mentioned embodiment of the present application, when the self-moving device moves from the current position to the target position, when no obstacle is detected, the portion of the moving path within the working area extends along the target direction, that is, the extension direction of the moving path is the same as the extension direction of the sub-path. In this way, the self-moving device will not leave irregular indentations in the working area, effectively maintaining the neatness and aesthetics of the working area. When the self-moving device detects an obstacle, the moving path extends along the boundary of the obstacle, thereby bypassing the obstacle and avoiding collision with the obstacle and causing damage. At the same time, the indentation produced by the self-moving device moving along the boundary of the obstacle fits the boundary of the obstacle to avoid affecting the aesthetics of the working area.
[0136] See also Fig.16 FIG. 1 is a flow chart of a mobile control method provided by another embodiment of the present application. The mobile control method can be applied to Figure 2 The self-moving device 1 shown. The moving control method comprises the following steps:
[0137] S701, in response to a movement control instruction, the mobile device moves along a target direction.
[0138] S702: If the mobile device reaches a first boundary while moving along the target direction, the mobile device moves along the first boundary until the mobile device meets a condition for moving along the target direction, and continues to move along the target direction after the condition is met.
[0139] In one embodiment of the present application, the first boundary is a boundary of an obstacle in the working area. The self-moving device moves along the first boundary to bypass the obstacle, and determines that the self-moving device meets the condition of moving along the target direction.
[0140] S703, if the mobile device reaches the second boundary while moving along the target direction, the mobile device moves along the second boundary to the target position, or the mobile device moves along the second boundary to the middle position, and then moves from the middle position along the target direction to the target position.
[0141] In one embodiment of the present application, the second boundary is a region boundary of the operating area. If the target position is located at the region boundary, the self-moving device can move to the target position along the second boundary. If the target position is located in the operating area, the self-moving device moves to the middle position along the second boundary, and then moves from the middle position to the target position along the target direction.
[0142] See also Fig.17 FIG. 1 is a flow chart of a mobile control method provided by another embodiment of the present application. The mobile control method can be applied to Figure 2 The self-moving device 1 shown. The moving control method comprises the following steps:
[0143] S801, in response to the movement control instruction, planning the movement path of the self-moving device according to the current position and the target position of the self-moving device, and the movement path within the working area extends along the target direction.
[0144] S802, the mobile device moves along the moving path.
[0145] The specific implementation of S801-S802 is the same as that of S101-S102, and will not be repeated here.
[0146] S803: If the mobile device determines that there is an obstacle ahead during the movement, the mobile device moves along a detour path to bypass the obstacle.
[0147] In one embodiment of the present application, if the mobile device detects an obstacle during movement, a preset obstacle avoidance algorithm is used to determine a detour path, and the device moves along the detour path to bypass the obstacle. For example, the preset obstacle avoidance algorithm may be a Detour obstacle avoidance algorithm, a fast search random tree algorithm, a model predictive control algorithm, a sensor-based obstacle avoidance algorithm, etc.
[0148] S804, after the mobile device bypasses the obstacle, the moving path of the mobile device is replanned, and the mobile device moves to the target position along the replanned moving path, and the paths of the replanned moving path within the working area all extend along the target direction.
[0149] In one embodiment of the present application, after the mobile device bypasses the obstacle, the position of the mobile device after bypassing the obstacle is obtained, and based on the position of the mobile device after bypassing the obstacle and the target position, a moving path of the mobile device from the position after bypassing the obstacle to the target position is planned.
[0150] See also Fig.18 Shown is a schematic diagram of the working area provided by another embodiment of the present application. When the current position of the self-moving device is position A, and it moves along the target direction until an obstacle is detected, after the obstacle is bypassed based on the detour path, the line between position A' where the self-moving device is located and position A does not extend along the target direction. In this way, it is necessary to re-plan the moving path of the self-moving device, that is, based on the position of the self-moving device after bypassing the obstacle and the target position, plan the moving path of the self-moving device from the position where it is after bypassing the obstacle to the target position. Among them, planning the moving path of the self-moving device from the position where it is after bypassing the obstacle to the target position is the same as the method of planning the moving path from the current position to the target position in the above-mentioned embodiment of the present application, and will not be repeated here.
[0151] In the above-mentioned embodiment of the present application, when the self-moving device moves from the current position to the target position, when no obstacle is detected, the portion of the moving path within the working area extends along the target direction, that is, the extension direction of the moving path is the same as the extension direction of the sub-path, so that the self-moving device will not leave irregular indentations in the working area, effectively maintaining the neatness and aesthetics of the working area. When the self-moving device detects an obstacle, it bypasses the obstacle based on the detour path and replans the moving path, and the portion of the replanned moving path within the working area also extends along the target direction, thereby maintaining the neatness and aesthetics of the working area.
[0152] An embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. The computer program includes program instructions. The method implemented when the program instructions are executed can refer to the methods in the above-mentioned embodiments of the present application.
[0153] The computer-readable storage medium may be the internal memory of the self-mobile device described in the above embodiment, such as the hard disk or memory of the self-mobile device. The computer-readable storage medium may also be an external storage device of the self-mobile device, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the self-mobile device.
[0154] In one embodiment of the present application, the computer-readable storage medium may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function, etc.; the data storage area may store data created based on the use of the self-mobile device, etc.
[0155] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0156] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0157] In the embodiments provided in the present application, it should be understood that the disclosed devices / terminal equipment and methods can be implemented in other ways. For example, the device / terminal equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0158] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A mobile control method, applied to a self-moving device, characterized in that: The method comprises: In response to the movement control instruction, a movement path of the self-moving device is planned according to the current position and the target position of the self-moving device, wherein all paths of the movement path within the working area extend along the target direction, wherein the working path of the self-moving device for the working area includes a plurality of sub-paths, and the plurality of sub-paths extend along the target direction; The self-moving device moves from the current position to the target position along the moving path.
2. The mobile control method according to claim 1, characterized in that: The operation path is a path used by the self-moving device when performing an operation in the operation area the last time.
3. The mobile control method according to claim 2, characterized in that: The method further comprises: The self-moving device moves along the working path and performs the working task; When moving along the working path and performing the working task, the moving control instruction is obtained.
4. The mobile control method according to claim 1, characterized in that: The multiple sub-paths are parallel to each other and arranged at intervals.
5. The mobile control method according to claim 4, characterized in that: The sub-path is a straight line path or a wavy line path.
6. The mobile control method according to any one of claims 1 to 5, characterized in that: The movement path includes a path located in the work area and extending along the target direction and a path extending along an area boundary of the work area.
7. The mobile control method according to claim 1, characterized in that: The planning of the moving path of the self-moving device includes: A path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position are determined, wherein the at least one intermediate position is located at an area boundary of the work area.
8. The mobile control method according to claim 7, characterized in that: If the current position is located in the working area and the target position is located at the boundary of the area, determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position includes: Determine a first intermediate position extending from the current position to the boundary of the area along the target direction, and determine a first path based on the current position and the first intermediate position; determining a second path based on the first intermediate position and the target position; The movement path is determined based on the first path and the second path.
9. The mobile control method according to claim 7, characterized in that: If the current position and the target position are both located in the operation area, determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position includes: Determine a first intermediate position extending from the current position to the boundary of the region along the target direction; Determine a second intermediate position extending from the target position to the boundary of the region along the target direction; A first path is determined based on the current position and the first intermediate position, a second path is determined based on the first intermediate position and the second intermediate position, a third path is determined based on the second intermediate position and the target position, and the moving path is determined based on the first path, the second path and the third path.
10. The mobile control method according to claim 7, characterized in that: If the current position is located in the working area and the target position is located outside the working area, determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position includes: Determine a first intermediate position extending from the current position to the boundary of the region along the target direction; Determine the intersection position of the connection path between the target position and the region boundary and the region boundary; A first path is determined based on the current position and the first intermediate position, a second path is determined based on the first intermediate position and the intersection position, and the moving path is determined based on the first path, the second path, and the connecting path.
11. The mobile control method according to claim 7, characterized in that: If the current position is outside the working area and the target position is within the working area, determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position includes: Determine a first intermediate position of the target position extending along the target direction to the boundary of the region; Determine the intersection position of the connection path between the current position and the region boundary and the region boundary; A first path is determined based on the intersection position and the first intermediate position, a second path is determined based on the first intermediate position and the target position, and the moving path is determined based on the first path, the second path, and the connecting path.
12. The mobile control method according to claim 7, characterized in that: If the current position is located at the region boundary and the target position is located in the operation region, determining a path between the current position and at least one intermediate position and a path between the at least one intermediate position and the target position includes: Determine a first intermediate position extending from the target position to the boundary of the region along the target direction, and determine a first path based on the current position and the first intermediate position; determining a second path based on the first intermediate position and the target position; The movement path is determined based on the first path and the second path.
13. A mobile control method, applied to a self-moving device, characterized in that: The method comprises: In response to the movement control instruction, the self-moving device moves from the current position to the target position along the movement path; Among them, the moving path located in the working area includes a first moving path extending along the target direction and a second moving path extending along the boundary of the obstacle; the working path of the self-moving device for the working area includes multiple sub-paths, and the multiple sub-paths extend along the target direction.
14. The mobile control method according to claim 13, characterized in that: The operation path is a path used by the self-moving device when performing an operation in the operation area the last time.
15. The mobile control method according to claim 13 or 14, characterized in that: The moving path includes the first moving path, the second moving path, and a third moving path, and the third moving path extends along an area boundary of the working area.
16. A mobile control method, applied to a self-moving device, characterized in that: The method comprises: In response to the movement control instruction, the self-moving device moves along the target direction, wherein the working path of the self-moving device for the working area includes a plurality of sub-paths, and the plurality of sub-paths extend along the target direction; If the self-moving device reaches a first boundary during the process of moving along the target direction, the self-moving device moves along the first boundary until the self-moving device meets the condition of moving along the target direction, and continues to move along the target direction after the condition is met; If the self-moving device reaches the second boundary while moving along the target direction, the self-moving device moves along the second boundary to the target position, or the self-moving device moves along the second boundary to an intermediate position, and then moves from the intermediate position along the target direction to the target position.
17. The mobile control method according to claim 16, characterized in that: The operation path is a path used by the self-moving device when performing an operation in the operation area the last time.
18. The mobile control method according to claim 16, characterized in that: The first boundary is a boundary of obstacles in the working area, and the self-moving device moves along the first boundary until the self-moving device meets the condition of moving along the target direction, including: The self-moving device moves along the first boundary until bypassing the obstacle, and determines that the self-moving device meets the condition of moving along the target direction.
19. The mobile control method according to any one of claims 16 to 18, characterized in that: The second boundary is an area boundary of the operation area.
20. A mobile control method, applied to a self-moving device, characterized in that: The method comprises: In response to the movement control instruction, a movement path of the self-moving device is planned according to the current position and the target position of the self-moving device, wherein all paths of the movement path within the working area extend along the target direction, wherein the working path of the self-moving device for the working area includes a plurality of sub-paths, and the plurality of sub-paths extend along the target direction; The self-moving device moves along the moving path; If the self-moving device determines that there is an obstacle ahead during the movement, the self-moving device moves based on a detour path to bypass the obstacle; After the self-moving device bypasses the obstacle, the moving path of the self-moving device is replanned, and the self-moving device moves to the target position along the replanned moving path. The paths of the replanned moving path within the working area all extend along the target direction.
21. The mobile control method according to claim 20, characterized in that: The operation path is a path used by the self-moving device when performing an operation in the operation area the last time.
22. The mobile control method according to claim 20, characterized in that: The replanning of the moving path of the self-moving device includes: According to the position of the self-moving device after bypassing the obstacle and the target position, a moving path of the self-moving device from the position of the self-moving device after bypassing the obstacle to the target position is planned.
23. A self-propelled device, characterized in that: The self-mobile device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the self-mobile device implements the mobile control method as described in any one of claims 1 to 22.
24. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor in a mobile device, the mobile control method according to any one of claims 1 to 22 is implemented.
Citation Information
Cited By
Movement control method, self-moving device, and storage medium
WO2026017115A1
