Control method of self-moving device, self-moving device and storage medium
By using positioning devices and floating structures in self-mobile devices, determining the marking area and controlling the equipment avoidance, the problem of excessive avoidance area in traditional technology is solved, and the work efficiency and durability of the equipment are improved.
Patent Information
- Application Number
- CN202410615142.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-25
- Filing Date
- 2024-05-17
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2044-05-17
AI Technical Summary
During the movement process, traditional mobile devices cannot effectively detect or avoid the size of obstacles, resulting in excessive avoidance area, resulting in missing work areas and affecting work efficiency.
The position data and effective cutting width are obtained by the positioning device, the marking area is determined, and the mobile device is controlled to drive away from the area at a preset angle to reduce the missing area.
It effectively reduces the missing area of the working area of the mobile device when encountering obstacles, improves working efficiency, and reduces the collision damage of the fuselage through an elastically deformable floating structure, improving the durability and safety performance of the device.
Smart Images

Figure CN119024827A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of robot control technology, and in particular to a control method for a self-moving device, a self-moving device, and a storage medium. Background Art
[0002] As the pace of human life accelerates, autonomous devices are increasingly used around the world, such as automatic vacuum cleaners and mops for room cleaning, and automatic lawn mowers for garden repairs. Autonomous devices move in the work area to achieve driving or operations in the work area.
[0003] In traditional technology, obstacles are detected during the movement of the self-moving device and the obstacles are avoided. However, since many obstacles are temporary or the size of the obstacles cannot be detected, the avoidance area is often too large, and the non-obstacle working area is missed. Summary of the invention
[0004] In order to solve the above technical problems, the present application provides a control method, a self-moving device and a storage medium for a self-moving device, which can reduce the area of the working area missed by the self-moving device when encountering obstacles and improve the working efficiency of the self-moving device.
[0005] In a first aspect, the present application provides a control method for a self-moving device, the self-moving device comprising a positioning device and a cutter disc, the method comprising:
[0006] Get the running status from the mobile device;
[0007] When the running state is the first state, the position data is obtained; the first state corresponds to the detection of an obstacle in the driving direction of the self-moving device; the position data includes: the current position of the positioning device;
[0008] Determine a marking area based on the position data and the effective cutting width; the width of the marking area is less than or equal to the effective cutting width;
[0009] Control the mobile device to leave the marked area at a preset angle.
[0010] The control method of the self-moving device detects the running state of the self-moving device to determine whether there is an obstacle in the driving direction. When the obstacle is detected in the driving direction of the self-moving device, the position data and the effective cutting width are obtained, and the marking area is determined based on the current position of the positioning device and the effective cutting width of the self-moving device, and then the self-moving device is controlled to leave the marking area. By determining the marking area by the current position of the positioning device and the effective cutting width of the self-moving device, the area of the working area missed by the self-moving device can be reduced when encountering an obstacle, thereby improving the working efficiency of the self-moving device.
[0011] In some embodiments, the length of the marking area is less than or equal to a first distance, and the first distance corresponds to the distance from the current position of the positioning device to the front end of the mobile device body.
[0012] In some of the embodiments, the front end of the body of the mobile device has an elastically deformable floating structure.
[0013] In some of the embodiments, when the self-moving device contacts an obstacle, the marking starting point of the marking area corresponds to: a floating distance offset from the current position of the positioning device toward the obstacle; the floating distance is determined by the compression distance of the floating structure when the self-moving device contacts the obstacle.
[0014] In some embodiments, before determining the marking area based on the position data and the effective cutting width, the method further includes:
[0015] Obtain the motion state of the mobile device; the motion state includes: turn left, turn right, and go straight;
[0016] Based on the motion state of the self-moving device, the central axis of the marked area is determined.
[0017] In some embodiments, determining the central axis of the marking area based on the motion state of the self-moving device includes:
[0018] If the movement state is straight, the central axis of the self-moving device is used as the central axis of the marking area;
[0019] If the motion state is left turn, obtain a first straight line parallel to the central axis of the self-moving device, and use the first straight line as the central axis of the marking area; wherein the vertical distance between the first straight line and the central axis of the self-moving device is equal to the diameter of the cutter head, and the first straight line is located on the left side of the self-moving device;
[0020] If the motion state is right turn, obtain a second straight line parallel to the central axis of the self-moving device, and use the second straight line as the central axis of the marking area; wherein the vertical distance between the second straight line and the central axis of the self-moving device is equal to the diameter of the cutter disc, and the second straight line is located on the right side of the self-moving device.
[0021] In some embodiments, obtaining the motion state of the mobile device includes:
[0022] Obtaining wheel speeds of multiple wheels of a mobile device; the wheel speeds include: wheel rotation speed and wheel direction;
[0023] The motion state of the self-moving device is determined based on the wheel speeds of the plurality of wheels.
[0024] In some embodiments, the running state further includes: a second state; the method further includes:
[0025] When the operating state is the second state, the self-moving device is controlled to travel and / or work along a preset path; the second state corresponds to detecting that there is no obstacle in the driving direction of the self-moving device.
[0026] In a second aspect, the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is used to execute the method described in the above embodiment.
[0027] In a third aspect, the present application provides a self-moving device, which is suitable for performing at least one work task in a working area, including: a body; a driving component connected to the body and used to drive the self-moving device to move; a positioning device connected to the body and configured to collect position data; the position data includes: the current position of the positioning device; a control circuit, coupled at least to the driving component and the positioning device; wherein the control circuit is at least configured to execute the method described in the above embodiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] By describing the embodiments of the present application in more detail in conjunction with the accompanying drawings, the above and other purposes, features and advantages of the present application will become more apparent. The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the present application and do not constitute a limitation of the present application. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0029] Figure 1 A schematic diagram showing a flow chart of a method for controlling a mobile device provided by an embodiment of the present application is shown;
[0030] Figure 2 A schematic diagram of the structure of a self-moving device provided by an embodiment of the present application is shown;
[0031] Figure 3 A schematic diagram showing the effective cutting width corresponding to a self-moving device with a single blade disc according to an embodiment of the present application is shown;
[0032] Figure 4 A schematic diagram of a driving path for self-mobile equipment to make up for the obstacles after encountering an obstacle in one embodiment of the present application is shown;
[0033] Figure 5 A schematic diagram of a driving path for detecting temporary obstacles from a mobile device according to an embodiment of the present application is shown;
[0034] Figure 6 A schematic diagram of a marking area when the motion state of a mobile device is straight-moving according to an embodiment of the present application is shown;
[0035] Figure 7A schematic diagram of a marking area when the motion state of a mobile device is a left turn according to an embodiment of the present application is shown;
[0036] Figure 8 A schematic diagram of a marking area when the motion state of a mobile device is a right turn according to an embodiment of the present application is shown;
[0037] Fig. 9 A schematic diagram showing a mobile device driving and / or working in a working area according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0038] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] The self-moving device is suitable for performing at least one work task in the working area, and generally includes a fuselage and a driving component, a sensor component, a working component and a control circuit connected to the fuselage. The control circuit is coupled with the driving component, the sensor component and the working component, and controls the actions of the driving component and the working component according to the sensor data output by the sensor component. The sensor component may include a visual component, a positioning device, a collision sensor component, a lifting detection component, etc. The driving component generally includes a driving motor and a driving wheel connected to the driving motor, and may optionally include a driven wheel to drive the self-moving device to move together with the driving wheel. The working component may include at least one of a blade for mowing, a blowing working head for blowing fallen leaves, and a snow sweeping working head for sweeping snow.
[0040] When a traditional self-moving device is driving or working in a working area, in some scenarios, due to the presence of inherent obstacles or temporary obstacles in the driving direction of the self-moving device, the self-moving device can limit the marking area based on the detected obstacles, and control the self-moving device not to enter the marking area to avoid the self-moving device from colliding with obstacles during driving. Since the self-moving device can only detect the existence of obstacles in front during driving, but cannot detect the specific size of the obstacles, a larger marking area is often configured. However, when the actual size of the obstacle is small, there may be a large non-obstacle area in the marking area, resulting in a large operation omission area. For example, when the self-moving device is a lawn mower, the lawn mower cannot mow the non-obstacle area (grassland) in the marking area. When the actual obstacle in the marking area is small, the grass area in the marking area is large, and the lawn mower does not operate in the marking area, which is easy to cause a large grass omission range. However, if the marking area is too small, it is easy to cause the self-moving device to frequently collide with obstacles, so that the self-moving device is trapped in the obstruction range of the obstacle, affecting the working efficiency of the self-moving device.
[0041] Figure 1 FIG. 1 is a flow chart of a control method for a self-moving device provided by an exemplary embodiment of the present application. For example, the control method in the embodiment of the present application is applied to a self-moving device, the self-moving device includes a positioning device and a cutter head, and the self-moving device is configured to travel and / or work in a working area. Figure 1 As shown, the control method in the embodiment of the present application includes steps S110 to S140.
[0042] Step S110, obtaining the operating status of the mobile device.
[0043] In this embodiment, the operating state of the self-moving device may include but is not limited to: a first state and a second state. The first state corresponds to detecting that an obstacle exists in the driving direction of the self-moving device, and the second state corresponds to detecting that no obstacle exists in the driving direction of the self-moving device.
[0044] In this embodiment, obstacles may include but are not limited to: inherent obstacles and temporary obstacles, etc. Among them, inherent obstacles may include but are not limited to: trees, electric poles, billboards, rockery, etc. Temporary obstacles may include but are not limited to: vehicles, pedestrians, other self-moving equipment, etc.
[0045] In this embodiment, the default operating state of the self-moving device when it is started is the second state. In the working area, when an obstacle is detected in the driving direction of the self-moving device, the operating state of the self-moving device is switched from the second state to the first state.
[0046] In this embodiment, when the operating state of the self-moving device is the first state, but when it is detected in real time that there is no obstacle in the driving direction of the self-moving device, the operating state of the self-moving device is switched from the first state to the second state.
[0047] Step S120, when the running state is the first state, obtaining position data; the first state corresponds to detecting that there is an obstacle in the driving direction of the self-moving device; the position data includes: the current position of the positioning device.
[0048] like Figure 2 FIG. 1 is a schematic diagram of the structure of a lawn mower provided in Embodiment 1 of the present application. The lawn mower shown in the figure is used to intelligently mow the lawn. Figure 2 As shown, the lawn mower may include a floating structure 210, a cutting assembly 220 and a moving assembly 230. The cutting assembly 220 is used for mowing grass.
[0049] In this embodiment, the cutting assembly 220 may include but is not limited to one or more cutter discs. When the lawn mower is operating in a working area, the cutter discs rotate to cut grass.
[0050] In this embodiment, the mobile component 230 is installed on the body of the lawn mower to support the lawn mower to move on the grass. The present application does not specifically limit the structure of the mobile component 230. For example, the mobile component 230 may be a crawler, a roller, etc.
[0051] In one embodiment, the moving component 230 may include two rear drive wheels and two front driven wheels. It is understandable that the moving component 230 may also be composed of two front drive wheels and two rear driven wheels, or four drive wheels, or one rear drive wheel and one front driven wheel.
[0052] In this embodiment, the positioning device is installed on the body of the mobile device, and the installation position may include but is not limited to: in front of the body, above the body, behind the body, below the body, etc. Figure 3 As shown, when the self-moving device is a lawn mower, the positioning device can be installed above the body of the lawn mower.
[0053] In another embodiment, the positioning device may also be installed inside the body of the mobile device.
[0054] In this embodiment, the positioning device may be an RTK (Real-time kinematic) module, which is used to detect the current position of the mobile device in real time.
[0055] In this embodiment, the self-moving device can detect in real time whether there is an obstacle in the driving direction of the self-moving device through a Hall sensor and / or an ultrasonic sensor.
[0056] Step S130, determining a marking area based on the position data and the effective cutting width; the width of the marking area is less than or equal to the effective cutting width.
[0057] Exemplarily, the self-moving device may be a lawn mower, which may include a plurality of blade discs, such as a double-blade disc lawn mower, a triple-blade disc lawn mower, and the like.
[0058] In this embodiment, the effective cutting width of the self-moving device can be determined based on the positional relationship of the multiple cutter discs of the self-moving device and the cutter disc diameter of each cutter disc. Figure 3 As shown, when the self-moving device is a single-disc mower and the diameter of the disc is d centimeters, the effective cutting width of the self-moving device is equal to the diameter of the disc d centimeters. When the self-moving device is a double-disc mower, the diameters of the two discs are both d centimeters, and the two discs are arranged side by side and adjacent to each other in a direction perpendicular to the central axis of the self-moving device, the effective cutting width is 2d centimeters. And so on, no further description is given.
[0059] By making the width of the marking area less than or equal to the effective cutting width, the width of the marking area is limited to a range within the effective cutting width, which is beneficial for the lawn mower to detect obstacles and mow the working area adjacent to the marking area during the zigzag driving process.
[0060] Step 140: Control the mobile device to leave the marked area at a preset angle.
[0061] In this embodiment, if Figure 4 As shown, there is an obstacle at position 1 in the working area. When the operating state is the first state, the self-moving device determines the marking area based on the position data and the effective cutting width, and controls the self-moving device to leave the marking area at a preset angle.
[0062] In this embodiment, if Figure 4 As shown, there is an obstacle at position 1 in the working area. When the self-mobile equipment drives and / or works in the working area according to the preset path, it contacts the obstacle and determines the marked area corresponding to the obstacle. The direction can be turned around to continue mowing the entire working area until the original preset path is completed, and then it drives to position 2 to carry out supplementary mowing of the area to be mowed behind the obstacle.
[0063] In another embodiment, Figure 5 As shown in the figure, there is an obstacle at position 1 in the working area. The self-moving device can also bypass the obstacle at a preset angle. Since the obstacle may be a temporary obstacle, after the self-moving device arrives at position 2 from position 1, it drives from position 2 to the marked area and performs obstacle detection on the marked area again, which is conducive to reducing the impact of temporary obstacles on the self-moving device. When the obstacle still exists, such as Figure 4 As shown, the self-moving device can perform mowing operations along the path of position 2 - position 3 - position 4 - position 5.
[0064] By setting a preset deflection angle and driving away from the marked area, it is possible to avoid repeated collisions of the mobile device with obstacles in front of the fuselage.
[0065] The control method of the self-moving device detects the running state of the self-moving device to determine whether there is an obstacle in the driving direction. When the obstacle is detected in the driving direction of the self-moving device, the position data and the effective cutting width are obtained, and the marking area is determined based on the current position of the positioning device and the effective cutting width of the self-moving device, and then the self-moving device is controlled to leave the marking area. By determining the marking area by the current position of the positioning device and the effective cutting width of the self-moving device, the area of the working area missed by the self-moving device can be reduced when encountering an obstacle, thereby improving the working efficiency of the self-moving device.
[0066] In some embodiments, the length of the marking area may be less than or equal to a first distance, where the first distance corresponds to the distance from the current position of the positioning device to the front end of the mobile device body.
[0067] In some embodiments, the front end of the body of the self-mobile device has an elastically deformable floating structure.
[0068] In this embodiment, when the self-moving device contacts an obstacle, the floating structure will generate elastic deformation.
[0069] By installing an elastically deformable floating structure at the front end of the fuselage, the degree of damage to the fuselage when it collides or contacts with an obstacle can be reduced, thereby improving the durability and safety performance of the self-moving equipment.
[0070] In some embodiments, when the self-moving device contacts an obstacle, the marking starting point of the marking area corresponds to: a floating distance offset from the current position of the positioning device toward the obstacle; the floating distance is determined by the compression distance of the floating structure when the self-moving device contacts the obstacle.
[0071] In this embodiment, since the floating structure has the characteristic of being elastically deformable, when the self-moving device contacts an obstacle, the floating structure will generate a compression distance.
[0072] In this embodiment, an elastically deformable floating device is installed in front of the self-moving device. When the self-moving device contacts an obstacle, the marking starting point of the marking area corresponds to: the floating distance offset from the current position of the positioning device to the direction of the obstacle. For example, the floating distance can be 10 centimeters. When the self-moving device contacts the obstacle, the marking starting point of the marking area can correspond to: the displacement of 10 centimeters from the current position of the positioning device to the direction of the obstacle (the direction in which the self-moving device travels).
[0073] In another embodiment, no elastically deformable floating device is installed in front of the self-moving device. When the self-moving device contacts an obstacle, the marking starting point of the marking area may be the current position of the positioning device.
[0074] Through the above method, when the self-moving device contacts an obstacle, the length of the marking area can be limited to the shortest distance between the positioning device and the obstacle, which can effectively reduce the area of the marking area, which is beneficial to reducing the area of the working area missed by the self-moving device and improving the working efficiency of the self-moving device.
[0075] In some embodiments, before determining the marking area based on the position data and the effective cutting width, the above method may also include: obtaining the motion state of the self-moving device; the motion state includes: turning left, turning right, and going straight; based on the motion state of the self-moving device, determining the central axis of the marking area.
[0076] In one implementation of this embodiment, if the motion state is straight ahead, the marked area is determined to be directly in front of the mobile device; if the motion state is turn left, the marked area is determined to be on the left side of the mobile device; if the motion state is turn right, the marked area is determined to be on the right side of the mobile device.
[0077] In this embodiment, when the self-moving device contacts an obstacle, the wheel speeds of multiple wheels of the current self-moving device can be obtained through ODO (Odometer), and the motion state of the current self-moving device can be determined based on the wheel speeds of the multiple wheels. The wheel speed may include: wheel rotation speed and wheel direction.
[0078] Through the above method, the positional relationship between the marked area and the self-moving device can be determined based on the motion state of the self-moving device, which is conducive to more accurate positioning of the marked area, reducing the area of the omitted working area, and improving the working efficiency of the self-moving device.
[0079] In some embodiments, Figure 6 As shown, if the motion state is straight, determining that the marking area is directly in front of the self-moving device may include: using the central axis of the self-moving device as the central axis of the marking area.
[0080] In this embodiment, one or more cutter discs in the self-moving device can be symmetrically distributed along the central axis of the self-moving device. When the movement state is straight, the central axis of the self-moving device is used as the central axis of the marking area, and the marking area can be accurately positioned in front of the multiple cutter discs.
[0081] In another embodiment, Figure 6As shown, when one or more cutter discs in the self-moving device are asymmetrically distributed along the central axis of the self-moving device, the central axis of the cutter disc area corresponding to the self-moving device is obtained and the central axis of the cutter disc area is used as the central axis of the marking area. The central axis of the cutter disc area is parallel to the central axis of the self-moving device.
[0082] The above method is helpful to accurately position the marked area in front of the cutter disc area, and can more accurately position the marked area, thereby reducing the area of the omitted working area and improving the working efficiency of the self-moving device.
[0083] In some embodiments, Figure 7 As shown, if the motion state is a left turn, determining that the marking area is on the left side of the self-moving device can include: obtaining a first straight line parallel to the central axis of the self-moving device, and using the first straight line as the central axis of the marking area; wherein the vertical distance between the first straight line and the central axis of the self-moving device is equal to the diameter of the cutter disc, and the first straight line is located on the left side of the self-moving device.
[0084] In this embodiment, the self-moving device has a cutter disc, and when the cutter discs are symmetrically distributed along the central axis of the self-moving device, a first straight line parallel to the central axis of the self-moving device is obtained, and the first straight line is used as the central axis of the marking area.
[0085] In another embodiment, when the self-moving device has one or more cutter discs, and the multiple cutter discs are symmetrically distributed along the central axis of the self-moving device, the vertical distance between the first straight line and the central axis of the self-moving device is equal to the effective cutting width.
[0086] In another embodiment, when one or more cutter discs in the self-moving device are asymmetrically distributed along the central axis of the self-moving device, a first straight line parallel to the central axis of the cutter disc region is obtained, and the first straight line is used as the central axis of the marking region, wherein the vertical distance between the first straight line and the central axis of the cutter disc region is equal to the effective cutting width.
[0087] Through the above method, when the obstacle is not in the left front of the self-moving device, it is helpful to accurately position the marked area on the left side of the self-moving device, which is beneficial for the self-moving device to subsequently mow the working area in the right front of the fuselage, and is beneficial for reducing the missed grass area in the obstacle scene and improving the working efficiency of the lawn mower.
[0088] In some embodiments, Figure 8 As shown, if the motion state is a right turn, determining that the marking area is on the right side of the self-moving device can include: obtaining a second straight line parallel to the central axis of the self-moving device, and using the second straight line as the central axis of the marking area; wherein the vertical distance between the second straight line and the central axis of the self-moving device is equal to the diameter of the cutter disc, and the second straight line is located on the right side of the self-moving device.
[0089] In this embodiment, the self-moving device has a cutter disc, and when the cutter discs are symmetrically distributed along the central axis of the self-moving device, a second straight line parallel to the central axis of the self-moving device is obtained, and the second straight line is used as the central axis of the marking area.
[0090] In another embodiment, when the self-moving device has one or more cutter discs, and the multiple cutter discs are symmetrically distributed along the central axis of the self-moving device, the vertical distance between the second straight line and the central axis of the self-moving device is equal to the effective cutting width.
[0091] In another embodiment, when one or more cutter discs in the self-moving device are asymmetrically distributed along the central axis of the self-moving device, a second straight line parallel to the central axis of the cutter disc region is obtained, and the second straight line is used as the central axis of the marking region, wherein the vertical distance between the second straight line and the central axis of the cutter disc region is equal to the effective cutting width.
[0092] Through the above method, when the obstacle is not in the left front of the self-moving device, it is helpful to accurately position the marked area on the left side of the self-moving device, which is beneficial for the self-moving device to subsequently mow the working area in the right front of the fuselage, and is beneficial for reducing the missed grass area in the obstacle scene and improving the working efficiency of the lawn mower.
[0093] In some embodiments, the operating state may also include: a second state; the above method may also include: when the operating state is the second state, controlling the self-moving device to travel and / or work along a preset path; the second state corresponds to detecting that there are no obstacles in the driving direction of the self-moving device.
[0094] In this embodiment, the preset path may be a bow-shaped path within the working area.
[0095] In another embodiment, Fig. 9 As shown, when the self-moving device travels and / or works along the boundary of the working area along a preset path, the boundary of the working area does not serve as an obstacle.
[0096] The present application also provides a self-moving device, which is suitable for performing at least one work task in a working area, including: a body; a driving component connected to the body and used to drive the self-moving device to move; a positioning device connected to the body and configured to collect position data; the position data includes: the current position of the positioning device; a control circuit, coupled at least to the driving component and the positioning device; wherein the control circuit is at least configured to execute the method described above.
[0097] The above-mentioned self-moving device determines whether there is an obstacle in the driving direction by detecting the operating status of the self-moving device. When an obstacle is detected in the driving direction of the self-moving device, the marking area is determined by the current position of the positioning device and the effective cutting width of the self-moving device. When encountering an obstacle, the area of the working area missed by the self-moving device can be reduced, thereby improving the working efficiency of the self-moving device.
[0098] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions. When the computer program instructions are executed by a processor, the processor executes the steps in the method according to various embodiments of the present application described above in this specification, which will not be repeated here.
[0099] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0100] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the method according to various embodiments of the present application described above in this specification, which will not be repeated here.
[0101] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0102] The basic principles of the present application are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present application are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present application. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, not for limitation, and the above details do not limit the present application to being implemented by adopting the above specific details.
[0103] The block diagrams of the devices, apparatuses, equipment, and systems involved in this application are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagram. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including", "comprising", "having", etc. are open words, referring to "including but not limited to", and can be used interchangeably with them. The words "or" and "and" used here refer to the words "and / or" and can be used interchangeably with them, unless the context clearly indicates otherwise. The words "such as" used here refer to the phrase "such as but not limited to", and can be used interchangeably with them.
[0104] It should also be noted that in the apparatus, device and method of the present application, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present application.
[0105] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present application. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present application. Therefore, the present application is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0106] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present application to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A control method for a self-moving device, the self-moving device comprising a positioning device and a cutter disc, characterized in that: The method comprises: Obtaining the operating status of the mobile device; When the running state is the first state, obtaining position data; the first state corresponds to detecting that there is an obstacle in the driving direction of the self-moving device; the position data includes: the current position of the positioning device; Determine a marking area based on the position data and the effective cutting width; the width of the marking area is less than or equal to the effective cutting width; The self-moving device is controlled to drive away from the marked area at a preset angle.
2. The method according to claim 1, characterized in that The length of the marking area is less than or equal to a first distance, and the first distance corresponds to the distance from the current position of the positioning device to the front end of the mobile device body.
3. The method according to claim 1, characterized in that The front end of the body of the self-moving device has an elastically deformable floating structure.
4. The method according to claim 3, characterized in that When the self-moving device contacts the obstacle, the marking starting point of the marking area corresponds to: a floating distance offset from the current position of the positioning device in the direction of the obstacle; the floating distance is determined by the compression distance of the floating structure when the self-moving device contacts the obstacle.
5. The method according to claim 1, characterized in that Before determining the marking area based on the position data and the effective cutting width, the method further includes: Acquire the motion state of the self-moving device; the motion state includes: turning left, turning right, and going straight; Based on the motion state of the self-moving device, a central axis of the marking area is determined.
6. The method according to claim 5, characterized in that The determining the central axis of the marking area based on the motion state of the self-moving device includes: If the movement state is straight, the central axis of the self-moving device is used as the central axis of the marking area; If the motion state is a left turn, a first straight line parallel to the central axis of the self-moving device is obtained, and the first straight line is used as the central axis of the marking area; wherein the vertical distance between the first straight line and the central axis of the self-moving device is equal to the diameter of the cutter head, and the first straight line is located on the left side of the self-moving device; If the movement state is a right turn, obtain a second straight line parallel to the central axis of the self-moving device, and use the second straight line as the central axis of the marking area; wherein the vertical distance between the second straight line and the central axis of the self-moving device is equal to the diameter of the cutter disc, and the second straight line is located on the right side of the self-moving device.
7. The method according to claim 5, characterized in that The obtaining of the motion state of the mobile device includes: Obtaining wheel speeds of multiple wheels of the self-moving device; the wheel speeds include: wheel rotation speed and wheel direction; The motion state of the self-moving device is determined based on the wheel speeds of the plurality of wheels.
8. The method according to claim 1, characterized in that The operating state also includes: a second state; the method also includes: When the operating state is the second state, the self-moving device is controlled to travel and / or work along a preset path; the second state corresponds to detecting that there is no obstacle in the driving direction of the self-moving device.
9. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and the computer program is used to execute the method according to any one of claims 1 to 10.
10. A self-moving device, the self-moving device being suitable for performing at least one work task in a work area, characterized in that: include: body; A driving assembly connected to the body and used to drive the self-moving device to move; a positioning device connected to the fuselage and configured to collect position data; The position data includes: the current position of the positioning device; a control circuit coupled to at least the drive assembly and the positioning device; Wherein, the control circuit is at least configured to execute the method described in any one of claims 1 to 10.
Citation Information
Patent Citations
Intelligent mowing system and autonomous mapping method thereof
CN113126613A
Path planning method for sweeper and sweeper
CN113219985A
Method for controlling self-moving device to move, electronic device and storage medium
CN114942630A
Course correction method and device of self-moving equipment and self-moving equipment
CN115562287A
Self-moving device and automatic moving and working method therefor
WO2021052468A1
