Mode control method, self-moving device and storage medium

By responding to the steering signal and combining the steering length and the probability of blocking, switching the steering mode from the mobile device, solving the problem of poor steering efficiency from the mobile device, achieving more efficient steering and lower risk of blocking.

CN119002484APending Publication Date: 2024-11-22SHENZHEN MAMMOTION INNOVATION CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411081364.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-07
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The mobile device is not efficient during steering and mostly relies on the factory-configured steering mode, resulting in inefficient steering control.

Method used

Provide a mode control method, by responding to a steering signal, determine the operation information, if the preset condition is not met, the first steering mode is adopted, and the second steering mode is adopted, and the steering length and the shut-off probability are switched to the mode, Improve steering efficiency.

Benefits of technology

Through switching and matching of multiple steering modes, the steering flexibility and efficiency of self-mobile devices are improved, the possibility of blockage is reduced, and the wear on the lawn is reduced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119002484A_ABST
    Figure CN119002484A_ABST
Patent Text Reader

Abstract

The invention provides a mode control method, self-moving equipment and a storage medium, and the method comprises the steps: responding to a steering signal, and determining the operation information of the self-moving equipment; when the operation information does not meet the preset operation condition, steering according to a first steering mode; and when the operation information meets the preset operation condition, steering according to a second steering mode. According to the invention, the steering efficiency of the self-moving equipment can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of self-moving equipment, and in particular to a mode 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 (such as lawn mowers, cleaning machines, cruise machines, etc.) to perform operations can greatly improve work efficiency.

[0003] During operation, the self-propelled device is prone to turning in place. However, in the related art, when controlling the steering of the self-propelled device, the steering mode configured at the factory of the self-propelled device is mostly relied on, resulting in poor steering control efficiency. Summary of the invention

[0004] In view of the above, it is necessary to provide a mode control method, a self-moving device and a storage medium, which can solve the technical problem of poor steering control efficiency of the self-moving device.

[0005] In a first aspect, an embodiment of the present application provides a mode control method, which is applied to a self-moving device, and the mode control method includes: determining the operation information of the self-moving device in response to a turning signal; when the operation information does not meet the preset operation conditions, turning according to a first steering mode; when the operation information meets the preset operation conditions, turning according to a second steering mode.

[0006] Furthermore, in the above-mentioned mode control method provided in an embodiment of the present application, the self-moving device includes a first wheel group, and determining the operation information of the self-moving device includes: determining the turning length of the operation area where the self-moving device is located in a preset direction; determining the jam probability corresponding to the turning of the first wheel group in the operation area; and determining the operation information based on the turning length and the jam probability.

[0007] Further, in the above-mentioned mode control method provided in an embodiment of the present application, determining the jam probability corresponding to the turning of the first wheel group in the working area includes: determining the target attributes of the object to be operated in the working area; and determining the jam probability corresponding to the first wheel group based on the target attributes.

[0008] Furthermore, in the above-mentioned mode control method provided in an embodiment of the present application, the target attributes include density information and height information, and determining the stall probability corresponding to the first wheel group based on the target attributes includes: determining the stall probability corresponding to the target attribute based on a pre-set correspondence between the density information, the height information and the stall probability; or calling a preset stall probability determination model to process the density information and the height information to obtain the stall probability corresponding to the target attribute.

[0009] Furthermore, in the above-mentioned mode control method provided in an embodiment of the present application, the method also includes: when the turning length is greater than a preset length threshold and the stall probability is less than a preset probability threshold, determining that the operation information does not meet the preset operation condition; when the turning length is less than or equal to the preset length threshold, or the stall probability is greater than or equal to the preset probability threshold, determining that the operation information meets the preset operation condition.

[0010] Furthermore, in the above-mentioned mode control method provided in an embodiment of the present application, the self-moving device includes a first wheel group, and after turning according to the first steering mode, the method also includes: determining preset information of the first wheel group during the steering process; if it is determined based on the preset information that a jam has occurred, switching from the first steering mode to the second steering mode, and turning according to the second steering mode; if it is determined based on the preset information that a jam has not occurred, continuing to turn according to the first steering mode.

[0011] Furthermore, in the above-mentioned mode control method provided in the embodiment of the present application, the self-moving device also includes a first driving module, and the first driving module is used to drive the first wheel group to move, and the preset information of the first wheel group during the steering process is determined, including: determining the driving current and driving speed corresponding to the first driving module; when the driving current is greater than a preset current threshold, and / or the driving speed is less than a preset speed threshold, determining that the self-moving device is stalled; or determining a plurality of resistance values ​​generated by the contact between the first wheel group and the ground during the steering process; determining a resistance change value based on the plurality of resistance values; and when the resistance change value is greater than a preset change threshold, determining that the self-moving device is stalled.

[0012] Furthermore, in the above-mentioned mode control method provided in the embodiment of the present application, the self-moving device includes a main body, a first wheel group and a second wheel group, and the first wheel group and the second wheel group are respectively installed at the front and rear ends of the main body; if the first steering mode is adopted, the rotation center of the self-moving device is determined according to the axis connection line of the second wheel group; if the second steering mode is adopted, the rotation center of the self-moving device is determined according to the cross connection line of the first wheel group and the second wheel group.

[0013] In a second 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, wherein the processor implements any of the above-mentioned mode control methods when executing the computer program.

[0014] In a third aspect, an embodiment of the present application provides a mode control device, which is applied to a self-moving device, wherein the self-moving device includes a main body, a first wheel group and a second wheel group, wherein the first wheel group and the second wheel group are respectively mounted at the front and rear ends of the main body, and the mode control device includes: an operation information determination module, which is used to determine the operation information of the self-moving device in response to a turning signal; a first mode determination module, which is used to turn according to a first steering mode when the operation information does not meet a preset operation condition; and a second mode determination module, which is used to turn according to a second steering mode when the operation information meets the preset operation condition.

[0015] In a fourth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor in a mobile device, the mode control method described in any one of the above items is implemented.

[0016] In the mode control method of this embodiment, in response to the steering signal, the operation information of the self-moving device is determined; when the operation information does not meet the preset operation conditions, the steering is performed according to the first steering mode; when the operation information meets the preset operation conditions, the steering is performed according to the second steering mode. The above method provides multiple steering modes, and the multiple steering modes can be switched, which can improve the flexibility of the steering of the self-moving device; and the above method switches the steering mode according to the operation information of the self-moving device, so that the steering mode matches the operation information of the self-moving device, which can improve the steering efficiency of the self-moving device. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a schematic diagram of the structure of the self-moving device provided in the first embodiment of the present application.

[0018] Figure 2 A flowchart of a mode control method provided in an embodiment of the present application.

[0019] Figure 3 It is a flow chart of a method for determining job information provided in an embodiment of the present application.

[0020] Figure 4A It is a schematic diagram for determining the turning length provided in the first embodiment of the present application.

[0021] Figure 4BThis is a schematic diagram for determining the turning length provided in the second embodiment of the present application.

[0022] Figure 4C This is a schematic diagram for determining the turning length provided in the third embodiment of the present application.

[0023] Figure 5 It is a flow chart of a method for determining a stall probability provided in an embodiment of the present application.

[0024] Figure 6 It is a flow chart of a method for determining preset information provided in an embodiment of the present application.

[0025] Figure 7 It is a structural schematic diagram of the mode control device provided in an embodiment of the present application.

[0026] Figure 8 It is a schematic diagram of the structure of a self-moving device provided in the second embodiment of the present application.

[0027] Component Symbol

[0028] From mobile device 1

[0029] Body 11

[0030] First round group 12

[0031] First left side wheel 121

[0032] First right wheel 122

[0033] Second round group 13

[0034] Second left side wheel 131

[0035] Second right side wheel 132

[0036] The first driving module 14

[0037] The second driving module 15

[0038] Processor 16

[0039] Memory 17

[0040] Power Supply 18

[0041] Sensor 19

[0042] Operating organization 20

[0043] Communication module 21

[0044] Positioning module 22

[0045] Bus 23 DETAILED DESCRIPTION

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

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

[0048] 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 specific way.

[0049] The mode control method provided in the embodiment of the present application can be applied to one or more self-moving devices, which can be lawn mowers, cleaning machines, cruise machines, etc. The embodiment of the present application takes the lawn mower as an example for explanation, and combines Figure 1 The following is a schematic diagram of the structure of the self-moving device provided in the embodiment of the present application. Figure 1As shown, the self-moving device 1 includes a body 11, a first wheel group 12 and a second wheel group 13, and the first wheel group 12 and the second wheel group 13 are respectively installed at the front and rear ends of the body 11. In some embodiments, the body 11 can be generally a structure that is wide in the middle and narrow at the front and rear ends, the first wheel group 12 can be an omnidirectional wheel, and the second wheel group 13 can be a driving wheel. Among them, the omnidirectional wheel is a tire with at least two degrees of freedom. Compared with a conventional tire with only one degree of freedom, the increased degree of freedom of the omnidirectional wheel is located on the tire tread, that is, it can rotate by contacting the ground, and the rotating surface is at a certain angle with the rotating surface of the conventional tire with only one degree of freedom. The omnidirectional wheel may include but is not limited to a continuous switching wheel or a Mecanum wheel. The embodiment of the present application takes the omnidirectional wheel as an example of a continuous switching wheel, and the omnidirectional wheel includes a hub and a plurality of auxiliary wheels, and the plurality of auxiliary wheels are arranged on the hub at intervals. When the omnidirectional wheel moves forward, the hub rotates around the central axis of the omnidirectional wheel, and the hub drives the auxiliary wheel as a whole to rotate around the central axis of the omnidirectional wheel. When the omnidirectional wheel turns, the auxiliary wheel can rotate relative to the wheel hub with the wheel hub as the rotation axis. Based on this, the omnidirectional wheel has an increased degree of freedom relative to the driving wheel. The driving wheel is a conventional tire with only one degree of freedom, which rotates along the center line of the wheel axle.

[0050] In some embodiments, in combination Figure 8 The structural schematic diagram of the self-moving device shown in the figure, the self-moving device 1 includes a first drive module 14, a second drive module 15 and a processor 16, and the processor 16 can be connected to the first drive module 14 and the second drive module 15. The processor 16 is used to control the first drive module 14 to drive the first wheel group 12 to move, and the processor 16 is also used to control the second drive module 15 to drive the second wheel group 13 to move. In some embodiments, the first drive module 14 and the second drive module 15 may include but are not limited to wheel hub motors, ordinary motors with transmission systems, etc., which are not limited here.

[0051] In some embodiments, the first wheel group 12 includes a first left wheel 121 and a first right wheel 122, and the first driving module 14 includes a first left motor and a first right motor. The first left motor is used to drive the first left wheel 121, and the first right motor is used to drive the first right wheel 122. Similarly, the second wheel group 13 includes a second left wheel 131 and a second right wheel 132, and the second driving module 15 includes a second left motor and a second right motor. The second left motor is used to drive the second left wheel 131, and the second right motor is used to drive the second right wheel 132. Among them, the first left wheel 121, the second left wheel 131, the first right wheel 122 and the second right wheel 132 can be independently controlled, and their respective speeds are controlled by the processor 16. When the self-moving device 1 is moving straight, the speeds of the first left wheel 121, the second left wheel 131, the first right wheel 122 and the second right wheel 132 are consistent.

[0052] In some embodiments, the self-moving device 1 may be configured with a first steering mode and a second steering mode. In the first steering mode, the rotation center of the self-moving device 1 is on the axis line of the second wheel group 13 and is close to the center position of the axis line. For example, there is an axis line between the second left wheel 131 and the second right wheel 132, and the center position can be determined based on the axis line. The rotation center is within a preset range around the center position. In the second steering mode, the rotation center of the self-moving device 1 is on the cross line of the first wheel group 12 and the second wheel group 13 and is close to the intersection position of the cross line. For example, there is an axis line between the first left wheel 121 and the second right wheel 132, and there is an axis line between the first right wheel 122 and the second left wheel 131, and the intersection position is determined based on the two axis lines. The rotation center is within a preset range around the intersection position, wherein the preset range can be set according to actual needs and is not limited here.

[0053] In the self-moving device of the present embodiment, a plurality of steering modes are configured in the self-moving device, and the plurality of steering modes can be switched, which can improve the steering flexibility of the self-moving device.

[0054] In order to more clearly illustrate the mode control method provided by the embodiment of the present application, the present application will describe the technical solution of the present application in detail through specific embodiments below. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments.

[0055] like Figure 2, which is a flow chart of a mode control method provided by an embodiment of the present application. According to different requirements, the order of each step in the flow chart can be adjusted according to actual requirements, and some steps can be omitted. The method is applied to self-moving equipment (such as lawn mowers, cleaning machines, and cruise machines, etc.).

[0056] S11, in response to a turn signal, determining operation information of the self-moving device.

[0057] In at least one embodiment of the present application, a turn signal can be used to indicate that the self-mobile device is changing its direction of travel. The turn signal can be sent by a related device in the self-mobile device. For example, an angle sensor is provided in the self-mobile device, and the angle sensor is connected to the processor. The angle sensor is used to sense the direction of travel of the self-mobile device, and when the direction of travel changes, the angle sensor sends a turn signal to the processor. The processor responds to the turn signal and determines the operation information of the self-mobile device. In another embodiment, the turn signal can also be a signal sent by an electronic device to control the self-mobile device to change its direction of travel. After the self-mobile device receives the turn signal, the operation information is determined. The electronic device is connected to the self-mobile device, and the electronic device can be used to control the movement of the self-mobile device. The electronic device can be a computer, a tablet, a mobile phone, a server, a cloud server, a personal digital assistant (PDA), a game console, an interactive network television (IPTV), a smart wearable device, etc., without limitation.

[0058] In some embodiments, the operation information may include area information of the working area where the self-moving device is located and jam information of the self-moving device in the working area, wherein the area information may include information such as the turning length of the working area in a preset direction, and the preset direction may be perpendicular to the travel direction of the self-moving device; the jam information may include information such as the probability of the first wheel group being jammed when the self-moving device turns in the working area (for ease of description, hereinafter referred to as "jam probability") and other information.

[0059] In some embodiments, based on the area information of the working area where the self-moving device is located, it can be determined whether the current steering mode of the self-moving device (for example, the first steering mode or the second steering mode) can be turned normally in the working area, and when the current steering mode of the self-moving device cannot be turned normally in the working area, the current steering mode is switched in time.

[0060] In some embodiments, based on the jam information of the self-moving device in the working area, it can be determined whether the current steering mode of the self-moving device can turn normally in the working area, and when the current steering mode of the self-moving device cannot turn normally in the working area, the current steering mode is switched in time.

[0061] S12, when the operation information does not meet the preset operation conditions, steering according to the first steering mode.

[0062] In at least one embodiment of the present application, the self-moving device can be configured with a first steering mode and a second steering mode. In the first steering mode, the rotation center of the self-moving device is on the axis line of the second wheel set and close to the center position of the axis line. In the second steering mode, the rotation center of the self-moving device is on the intersection line of the first wheel set and the second wheel set and close to the intersection position of the intersection line.

[0063] In some embodiments, the default steering mode of the self-mobile device may be the first steering mode, and the preset operation condition is a preset operation condition for evaluating whether the first steering mode needs to be switched to the second steering mode. When the operation information does not meet the preset operation condition, it is determined that there is no need to switch the first steering mode to the second steering mode, and the steering is performed according to the first steering mode; when the operation information meets the preset operation condition, it is determined that the first steering mode needs to be switched to the second steering mode, and the steering is performed according to the second steering mode.

[0064] In some embodiments, when the operation information includes the area information of the operation area where the self-moving device is located and the stall information of the self-moving device in the operation area, the preset operation condition can be set according to the area information and the stall information. Exemplarily, the preset operation condition can be that the turning length is less than or equal to the preset length threshold, or the stall probability is greater than or equal to the preset probability threshold. Among them, the preset length threshold and the preset probability threshold can be set according to actual needs. For example, the preset length threshold can be determined based on the turning radius corresponding to the first turning mode of the self-moving device, and the preset probability threshold can be 80%, 85%, 90%, etc.

[0065] In some embodiments, when the operation information does not meet the preset operation conditions, steering is performed according to the first steering mode. When the self-moving device is turned according to the first steering mode, the rotation center of the self-moving device is on the axis line of the second wheel group and close to the center position of the axis line. The first drive module can drive the first wheel group to rotate relative to the ground and provide auxiliary power to overcome the resistance between the first wheel group and the ground when the first wheel group rotates relative to the ground. The second drive module can provide the main power for the self-moving device and can drive the self-moving device forward, turn or backward, etc. In some embodiments, the driving torque provided by the first drive module can be less than or equal to the driving torque provided by the second drive module.

[0066] When the self-moving device provided in the embodiment of the present application is in the first steering mode, the first driving module is used to drive the first wheel group to rotate relative to the ground, so that when the auxiliary wheels on the first wheel group are transformed from lateral sliding to lateral rolling during turning, the friction between the auxiliary wheels on the first wheel group and the ground can be greatly reduced; in addition, the second driving module does not need to increase the torque on the first wheel group due to turning or turning on the spot, but only needs to drive the first wheel group to move according to the torque during normal travel. Since the second driving module does not increase the torque when turning or turning on the spot, the damage to the lawn will not be increased due to the increase in torque, and the wear on the lawn can be greatly reduced.

[0067] S13, when the operation information meets the preset operation condition, steering is performed according to the second steering mode.

[0068] In at least one embodiment of the present application, when the operation information meets the preset operation conditions, if the self-moving device turns according to the first turning mode, there may be a problem of not being able to turn normally. For example, due to the narrow operation area, the turning radius corresponding to the first turning mode is large, resulting in the self-moving device being unable to turn normally; for another example, the self-moving device is blocked when turning according to the first turning mode, resulting in the inability to turn normally. Based on this, when the operation information meets the preset operation conditions, the self-moving device turns according to the second turning mode.

[0069] In some embodiments, when the self-moving device turns according to the second steering mode, the rotation center of the self-moving device is on the cross-line between the first wheel group and the second wheel group, and is close to the intersection of the cross-line. The first drive module can drive the first wheel group to rotate relative to the ground, and the second drive module can drive the second wheel group to rotate relative to the ground. The driving torque provided by the first drive module and the second drive module can be set according to actual needs and are not limited here. For example, the driving torque provided by the first drive module can be greater than the driving torque provided by the second drive module, or the driving torque provided by the first drive module can be equal to the driving torque provided by the second drive module, or the driving torque provided by the first drive module can be less than the driving torque provided by the second drive module.

[0070] In the mode control method of this embodiment, multiple steering modes can be switched, which can improve the steering flexibility of the self-moving equipment; and the steering mode is switched according to the operating information of the self-moving equipment, so that the steering mode matches the operating information of the self-moving equipment, which can improve the steering efficiency of the self-moving equipment.

[0071] In at least one embodiment of the present application, the operation information may include area information of the operating area where the self-moving device is located and jam information of the self-moving device in the operating area. Based on the area information of the operating area where the self-moving device is located and the jam information of the self-moving device in the operating area, it can be determined whether the self-moving device can turn normally in the operating area under the default first steering mode. Figure 3 1 is a flow chart of a method for determining operation information provided in an embodiment of the present application, and the method for determining operation information is applied to a self-moving device. Figure 3 As shown, the following steps are included:

[0072] S21, determining the turning length of the working area where the self-moving device is located in a preset direction.

[0073] In at least one embodiment of the present application, the preset direction may be perpendicular to the direction of travel of the self-moving device, and the turning length may include the length of the working area that can provide the self-moving device for turning. The determination of the turning length of the working area where the self-moving device is located in the preset direction may include: determining the position information and the direction of travel of the self-moving device; determining the working area of ​​the self-moving device based on the position information and the direction of travel; detecting whether there is an obstacle in the working area; if the detection result is that there is an obstacle in the working area, then determining the obstacle information corresponding to the obstacle, and determining the turning length of the working area perpendicular to the direction of travel based on the direction of travel and the obstacle information; if the detection result is that there is no obstacle in the working area, then determining the turning length of the working area perpendicular to the direction of travel based on the direction of travel. Wherein, the position information can be obtained by GPS positioning, Beidou system positioning, real-time kinematic (RTK) positioning, or multi-sensor fusion positioning, which is not limited in this application.

[0074] In some embodiments, the position information may include a first position corresponding to a first wheel group in a self-moving device and a second position corresponding to a second wheel group, and determining the position information of the self-moving device may include: determining a first position corresponding to the first wheel group in the self-moving device and a second position corresponding to the second wheel group.

[0075] In some embodiments, obstacles may include but are not limited to stones, rocks, trees, cars and other objects that prevent the self-moving device from turning normally. Obstacle information may include information such as the location of the obstacle. In some embodiments, a preset sensor may be used to collect detection data in the working area, and by analyzing the detection data, it is possible to determine whether there are obstacles in the working area and information such as the location of the obstacle. Among them, the preset sensor may include a depth sensor, an ultrasonic sensor, and an infrared sensor, etc., which are not limited here.

[0076] In some embodiments, before the self-moving device operates, it will predetermine the area to be operated (referred to as "area to be operated" in the embodiment of the present application). Determining the operating area of ​​the self-moving device based on the position information and the direction of travel may include: obtaining the area to be operated; determining the area boundary corresponding to the area to be operated based on the direction of travel; determining the operating area of ​​the self-moving device based on a first straight line passing through the first position perpendicular to the direction of travel, a second straight line passing through the second position perpendicular to the direction of travel, and the area boundary. The embodiment of the present application divides the area to be operated to obtain the operating area related to the steering process of the self-moving device, thereby avoiding the influence of irrelevant areas on the steering mode determination and improving the accuracy of the steering mode determination.

[0077] In some embodiments, if the detection result is that there is an obstacle in the working area, the obstacle information corresponding to the obstacle is determined, and the turning length of the working area perpendicular to the traveling direction is determined based on the traveling direction and the obstacle information. The determination of the turning length of the working area perpendicular to the traveling direction based on the traveling direction and the obstacle information may include: determining the area length of the working area perpendicular to the traveling direction; determining the obstacle length of the obstacle perpendicular to the traveling direction based on the obstacle information; and determining the turning length based on the area length and the obstacle length. According to the shape of the working area, the number of area lengths may be one or more, and the multiple area lengths are different. Correspondingly, the number of obstacle lengths may be one or more, and the multiple obstacle lengths are different. When the number of area lengths and obstacle lengths is multiple, the number of turning lengths is also multiple, and the shorter length may be selected as the determined turning length.

[0078] In some embodiments, before determining the lengths of multiple obstacles of the obstacle perpendicular to the direction of travel based on the obstacle information, the method may include: determining a regularly shaped obstacle based on the obstacle information. Exemplarily, taking the coordinates of the working area in the world coordinate system as an example, the horizontal coordinate of the obstacle is determined based on the obstacle information to obtain multiple horizontal coordinates, and the maximum horizontal coordinate and the minimum horizontal coordinate are determined from the multiple horizontal coordinates, and the difference between the maximum horizontal coordinate and the minimum horizontal coordinate is used as the obstacle length. The vertical coordinate of the obstacle is determined based on the obstacle information to obtain multiple vertical coordinates, and the maximum vertical coordinate and the minimum vertical coordinate are determined from the multiple vertical coordinates, and the difference between the maximum vertical coordinate and the minimum vertical coordinate is used as the obstacle width. A regularly shaped obstacle can be constructed according to the obstacle length and the obstacle width. The embodiment of the present application facilitates the determination of the obstacle length by constructing a regularly shaped obstacle, thereby improving the speed of determining the turning length.

[0079] In some embodiments, the obstacle length of the obstacle perpendicular to the travel direction based on the obstacle information may include: determining a third position of the obstacle with a regular shape close to the self-moving device and a target area boundary of the working area; and taking the length from the third position to the target area boundary perpendicular to the travel direction as the obstacle length. When determining the third position of the obstacle with a regular shape close to the self-moving device, the edge of the obstacle with a regular shape close to the self-moving device may be determined, and any position is selected from the determined edges as the third position. The number of the selected third positions may be set according to actual needs, and may be one or more, which is not limited here. The target area boundary may be determined by the positional relationship between the obstacle and the self-moving device. For example, if the obstacle is on the left side of the self-moving device, the area boundary on the left side of the working area perpendicular to the travel direction is taken as the target area boundary; for another example, if the obstacle is on the right side of the self-moving device, the area boundary on the right side of the working area perpendicular to the travel direction is taken as the target area boundary.

[0080] In some embodiments, determining the turning length based on the area length and the obstacle length may include: if the number of obstacles is 1, calculating the difference between the area length and the obstacle length, and using the difference as the turning length; if the number of obstacles is multiple, determining the positional relationship between the multiple obstacles, and processing the area length and the obstacle length according to the positional relationship to obtain the turning length.

[0081] In some embodiments, when the number of obstacles is 1, if the number of area lengths is multiple and the number of obstacle lengths is multiple, the number of differences is also multiple, and the smaller difference can be used as the turning length.

[0082] In some embodiments, when there are multiple obstacles, it is determined whether the multiple obstacles are on the same side or on different sides of the self-moving device. If the multiple obstacles are on the same side of the self-moving device, a first strategy is determined, and the first strategy is used to process the lengths of the multiple obstacles; if the multiple obstacles are on different sides of the self-moving device, a second strategy is determined, and the second strategy is used to process the lengths of the multiple obstacles. Among them, the first strategy and the second strategy can be set according to actual needs and are not limited here. Exemplarily, if multiple obstacles are on the same side of the self-moving device, for example, the number of obstacles is 2, and both are located on the left side of the self-moving device, based on this, the first strategy can include determining the obstacle length corresponding to each obstacle, and selecting the obstacle length with a longer length, calculating the difference between the area length and the selected obstacle length, and using the difference as the turning length. As another example, if multiple obstacles are on opposite sides of the self-moving device, for example, there are two obstacles, which are located on the left and right sides of the self-moving device respectively, based on this, the second strategy may include determining the obstacle length corresponding to each obstacle, calculating the sum of the lengths of multiple obstacles, and then calculating the difference between the area length and the sum of the obstacle lengths, and using the difference as the turning length.

[0083] In some embodiments, if the detection result is that there is no obstacle in the working area, the turning length of the working area perpendicular to the moving direction is determined based on the moving direction. The determining the turning length of the working area perpendicular to the moving direction based on the moving direction may include: determining multiple area lengths of the working area perpendicular to the moving direction; and selecting the shortest length from the multiple area lengths as the turning length.

[0084] In order to more clearly illustrate the method for determining the turning length, this application combines Figure 4A , Figure 4B as well as Figure 4C For example, the area to be operated is a regular rectangular area. Figure 4A Schematic diagram of determining the turning length provided in the first embodiment of the present application. Figure 4AAs shown, the area to be operated is a rectangle, and there is a corresponding area boundary I1 in the area to be operated. Assume that the traveling direction of the self-moving device is the Y-axis direction, and determine the two boundary lines of the area boundary I1 in the Y-axis direction. Based on the first position corresponding to the first wheel group, determine the first straight line passing through the first position in the X-axis direction, and based on the second position corresponding to the second wheel group, determine the second straight line passing through the second position in the X-axis direction, wherein the X-axis is perpendicular to the Y-axis. Based on the two boundary lines of the area boundary I1 in the Y-axis direction, the first straight line and the second straight line, determine the operating area. In some embodiments, considering that there are no obstacles in the operating area and the operating area is a regular rectangular area, based on this, the area length of the operating area perpendicular to the traveling direction (ie, the X-axis) is determined based on the traveling direction Y-axis of the self-moving device. In this way, the area length can include the length of the first straight line and the length of the second straight line, and the length of the first straight line is equal to the length of the second straight line, and the length of any one straight line is selected from the first straight line and the second straight line as the turning length.

[0085] Take the case where the area to be operated is an irregular area as an example. Figure 4B Schematic diagram of determining the turning length provided in the second embodiment of the present application. Figure 4B As shown, the area to be operated includes two rectangular areas of different areas, namely, area A to be operated and area B to be operated, and the self-moving device is moving from area A to be operated to area B to be operated. There is a corresponding area boundary I2 in the area to be operated. Assume that the moving direction of the self-moving device is the Y-axis direction, and determine the two boundary lines of the area boundary I2 in the Y-axis direction. Based on the first position corresponding to the first wheel group, determine the first straight line passing through the first position in the X-axis direction, and based on the second position corresponding to the second wheel group, determine the second straight line passing through the second position in the X-axis direction, wherein the X-axis is perpendicular to the Y-axis. Based on the two boundary lines, the first straight line and the second straight line of the area boundary I2 in the Y-axis direction, determine the operating area. In some embodiments, the working area is considered to be an irregular area and there are no obstacles in the working area. Based on this, the area length of the working area perpendicular to the travel direction (that is, the X-axis) is determined based on the Y-axis of the travel direction of the self-moving device. In this way, multiple area lengths can be obtained. For example, the multiple area lengths may include the length of a first straight line and the length of a second straight line, and the length of the first straight line is smaller than the length of the second straight line. The shorter length (that is, the length of the first straight line) is selected from the first straight line and the second straight line as the turning length.

[0086] Take the area to be operated as a regular rectangular area and the obstacles in the area to be operated as an example. Figure 4C Schematic diagram of determining the turning length provided in the third embodiment of the present application. Figure 4CAs shown, the area to be operated is a rectangle, and there is a corresponding area boundary I1 in the area to be operated. Assume that the traveling direction of the self-moving device is the Y-axis direction, and determine the two boundary lines of the area boundary I1 in the Y-axis direction. Based on the first position corresponding to the first wheel group, determine the first straight line passing through the first position in the X-axis direction, and based on the second position corresponding to the second wheel group, determine the second straight line passing through the second position in the X-axis direction, wherein the X-axis is perpendicular to the Y-axis. Based on the two boundary lines, the first straight line and the second straight line of the area boundary I1 in the Y-axis direction, determine the operation area. In the operation area, there are two obstacles, denoted as obstacle O1 and obstacle O2, respectively on the left and right sides of the self-moving device. In some embodiments, considering the existence of obstacles in the operation area, after the two obstacles are regularized in shape, the obstacle lengths of the two obstacles perpendicular to the traveling direction (ie, the X-axis) are determined respectively, and are denoted as obstacle length L1 and obstacle length L2. Then, based on the traveling direction Y-axis of the self-moving device, determine the area length of the operation area perpendicular to the traveling direction (ie, the X-axis), for example, the length of the first straight line is taken as the area length. Afterwards, the sum of the obstacle length L1 and the obstacle length L2 is calculated, the difference between the area length and the sum is calculated, and the difference is used as the turning length.

[0087] S22, determining a stall probability corresponding to the turning of the first wheel group in the working area.

[0088] In at least one embodiment of the present application, when the self-moving device is turning, there is a risk of the first wheel group being blocked. Taking the self-moving device as a lawn mower robot as an example, when the lawn mower robot is working on the grass, grass clippings will be stuck between the auxiliary wheels of the first wheel group, causing one of the auxiliary wheels to be stuck and unable to turn due to impurities and being dragged. In some embodiments, the blocking probability is used to evaluate the possibility of the first wheel group being blocked when turning in the working area. The higher the blocking probability, the greater the possibility of the first wheel group being blocked when turning in the working area; the lower the blocking probability, the smaller the possibility of the first wheel group being blocked when turning in the working area.

[0089] In some embodiments, the stall probability is related to the relevant attributes of the object to be operated. For example, the self-moving device is a lawn mowing robot, and the object to be operated is a lawn. Since the grass on the lawn grows differently in different areas, the stall probability corresponding to the lawn mowing robot is higher in places where the grass grows lushly; the stall probability corresponding to the lawn mowing robot is lower in places where the grass grows sparsely and is short. For example, the self-moving device is a cleaning robot, and the object to be operated is the ground. Due to the different distribution of garbage on the ground, the stall probability corresponding to the cleaning robot is higher in places where the amount of garbage is large and the garbage is large (for example, tissue paper, paper boxes, etc.); the stall probability corresponding to the cleaning robot is lower in places where the amount of garbage is small and the garbage is small (for example, paper scraps, dust, etc.).

[0090] S23, determining the operation information based on the turning length and the stall probability.

[0091] In at least one embodiment of the present application, at least one or more of the turning length and the stall probability are used as the operation information.

[0092] In the mode control method provided in the embodiment of the present application, the turning length of the working area where the self-moving device is located in the preset direction and the stall probability corresponding to the turning of the first wheel group in the working area are used as working information, and the turning mode of the self-moving device is determined based on the turning length and the stall probability, which can improve the passing rate of the self-moving device turning in a narrow area and reduce the probability of the self-moving device being stalled when turning. In at least one embodiment of the present application, the stall probability is related to the relevant attributes of the object to be operated, and the stall probability of the self-moving device can be determined based on the relevant attributes of the object to be operated. Figure 5 1 is a flow chart of a method for determining a stall probability provided in an embodiment of the present application, and the method for determining a stall probability is applied to a self-moving device. Figure 5 As shown, the following steps are included:

[0093] S31, determining the target attributes of the object to be operated in the operation area.

[0094] In at least one embodiment of the present application, different self-moving devices have corresponding objects to be operated. For example, the object to be operated corresponding to the lawn mowing robot is the grass, and the object to be operated corresponding to the cleaning robot is the ground. In one embodiment, a mapping relationship between the self-moving device and the object to be operated can be preset, and by querying the mapping relationship, the object to be operated corresponding to the self-moving device can be determined.

[0095] In some embodiments, each object to be operated has a pre-set target attribute, and the target attribute is related to the probability of the self-moving device being blocked during operation. The target attribute may include density information and height information, the density information is used to indicate the density of the object to be operated, and the height information is used to indicate the height of the object to be operated. For example, the self-moving device is a lawn mowing robot, and the object to be operated is grass. The density information may be the amount of grass in the operation area, and the height information may be the height of the grass in the operation area.

[0096] In some embodiments, determining the density information of the objects to be operated in the working area may include: using an image acquisition device to shoot vertically above the working area to obtain a first area image; determining the number of objects to be operated in the first area image; determining the working area of ​​the working area; and determining the density information of the objects to be operated based on the number and the working area. In some embodiments, after acquiring the first area image, the first area image may also be preprocessed. Exemplarily, the preprocessing may include color correction of the first area image to enhance relevant color information so as to better identify the objects to be operated. For example, green information is enhanced in the first area image to better identify grass plants. In some embodiments, the ratio of the number to the working area may be calculated and used as the density information of the objects to be operated.

[0097] In some embodiments, determining the height information of the object to be worked on in the working area may include: selecting a reference object with a known actual height in the working area; using an image acquisition device to shoot vertically above the working area to obtain a second area image; obtaining the reference object height of the reference object in the second area image and the object height of the object to be worked on in the second area image; based on the actual height of the reference object, the reference object height and the object height, the height information of the object to be worked on can be determined.

[0098] S32: Determine the stall probability corresponding to the first wheel set based on the target attribute.

[0099] In at least one embodiment of the present application, a correspondence between the density information, the height information and the stall probability may be preset, and the stall probability corresponding to the target attribute may be determined by querying the correspondence.

[0100] In other embodiments, a preset stall probability determination model is called to process the density information and the height information to obtain the stall probability corresponding to the target attribute. Wherein, the probability determination model can be a neural network model, for example, the probability determination model can be a convolutional neural network (CNNs) model, a recurrent neural network (RNNs) model, and a generative adversarial network (GANs) model, etc., which are not limited here. The training method of the probability determination model can include a supervised training method and an unsupervised training method. The embodiment of the present application takes the training method of the probability determination model as a supervised training method as an example for explanation. When training the probability determination model, the density information and height information of the object to be operated in the operating area are used as input data, and labels are added to the density information and the height information to identify the stall probability corresponding to the density information and the height information. The stall probability corresponding to the density information and the height information is used as output data to train the stall probability determination model. During the training process, the stall probability determination model adjusts the weight and bias of the model based on the accuracy of the model output result, so as to obtain a detection model with an accuracy greater than a preset accuracy threshold, wherein the preset accuracy threshold can be set according to actual needs, for example, the preset accuracy threshold can be 95%, 98%, etc. The training process of the model can refer to the relevant technology and will not be described in detail here.

[0101] The embodiment of the present application determines the stall probability corresponding to the first wheel group in combination with target attributes such as density information and height information of the objects to be operated in the operation area, which can improve the accuracy of stall probability determination and then improve the accuracy of steering mode determination.

[0102] In at least one embodiment of the present application, when determining whether the operation information meets the preset operation condition, the method may include: when the turning length is greater than the preset length threshold and the stall probability is less than the preset probability threshold, determining that the operation information does not meet the preset operation condition; when the turning length is less than or equal to the preset length threshold, or the stall probability is greater than or equal to the preset probability threshold, determining that the operation information meets the preset operation condition. Wherein, the preset length threshold and the preset probability threshold can be set according to actual needs, for example, the preset length threshold can be determined according to the turning radius corresponding to the first turning mode of the self-moving device, and the preset probability threshold can be 80%, 85%, 90%, etc. In some embodiments, each turning mode of the self-moving device has a corresponding turning radius, and different turning modes have different turning radiuses. Take the turning mode of the self-moving device including the first turning mode and the second turning mode as an example for explanation, the first turning mode corresponds to the first turning radius, the second turning mode corresponds to the second turning radius, and the first turning radius is greater than the second turning radius. The embodiment of the present application determines a preset length threshold value based on the turning radius corresponding to the first turning mode, and compares the turning length with the preset length threshold value. If the turning length is less than or equal to the preset length threshold value, it indicates that the self-moving device cannot turn according to the first turning mode in the working area, and the first turning mode needs to be switched to the second turning mode to improve the passability of the self-moving device in different working areas. In addition, when the probability of stalling is greater than or equal to the preset probability threshold value, the present application switches the first turning mode to the second turning mode in a timely manner, which can reduce the problem of impurities such as grass clippings or soil stuck between the auxiliary wheels, and avoids the situation where a certain auxiliary wheel is dragged because it is stuck by impurities and cannot turn, thereby reducing the degree of grass grinding on the basis of ensuring normal steering.

[0103] In at least one embodiment of the present application, when the self-moving device is changing its direction of travel, the steering mode of the self-moving device can be determined based on the relationship between the operating information of the self-moving device and the preset operating conditions. If the steering mode of the self-moving device is the first steering mode, then during the process of the self-moving device turning according to the first steering mode, it is still necessary to monitor whether the first wheel group is blocked during the steering process, and when a blockage occurs, the first steering mode is promptly switched to the second steering mode. If the steering mode of the self-moving device is the second steering mode, then during the process of the self-moving device turning according to the second steering mode, the possibility of the first wheel group being blocked is low, and there is no need to monitor whether the first wheel group is blocked during the steering process. Figure 6 1 is a flow chart of a method for determining preset information provided in an embodiment of the present application, and the method for determining preset information is applied to a mobile device. Figure 6 As shown, the following steps are included:

[0104] S41, determining preset information of the first wheel set during the steering process.

[0105] In at least one embodiment of the present application, the preset information may include a driving current and a driving speed corresponding to the first driving module, and the driving current and the driving speed may be used to evaluate whether the first wheel set is blocked. The preset information may also include a plurality of resistance values ​​generated by the first wheel set contacting the ground during the steering process, and the plurality of resistance values ​​may be used to evaluate whether the first wheel set is blocked.

[0106] S42: If it is determined based on the preset information that a stall occurs, switch from the first steering mode to the second steering mode, and perform steering according to the second steering mode.

[0107] In at least one embodiment of the present application, if the preset information includes a driving current and a driving speed corresponding to the first driving module, the method further includes: when the driving current is greater than a preset current threshold, and / or the driving speed is less than a preset speed threshold, determining that the self-moving device is stalled. The preset current threshold and the preset speed threshold can be set according to actual needs and are not limited here.

[0108] In some embodiments, if the preset information includes multiple resistance values ​​generated when the first wheel group contacts the ground during steering, the method further includes: determining a resistance change value based on the multiple resistance values; and determining that the self-moving device is stalled when the resistance change value is greater than a preset change threshold. The resistance change value may include the difference between the resistance value generated when the first wheel group of the self-moving device contacts the ground at the current moment and the resistance value generated when the first wheel group of the self-moving device contacts the ground at the previous moment. If the difference is greater than the preset change threshold, it is determined that the self-moving device is stalled. The preset change threshold can be set according to actual needs and is not limited here.

[0109] S43: If it is determined based on the preset information that no stall has occurred, continue steering according to the first steering mode.

[0110] In at least one embodiment of the present application, if the preset information includes a driving current and a driving speed corresponding to the first driving module, the method further includes: when the driving current is less than or equal to a preset current threshold, and / or the driving speed is greater than or equal to a preset speed threshold, determining that the self-moving device is not stalled.

[0111] In some embodiments, if the preset information includes multiple resistance values ​​generated when the first wheel group contacts the ground during steering, the method further includes: when the resistance change value is less than or equal to a preset change threshold, determining that the self-moving device is not stuck.

[0112] In the mode control method provided in the embodiment of the present application, during the process of the self-moving device turning according to the first steering mode, it is determined whether the first wheel group is stuck by monitoring the preset information of the first wheel group during the steering process, and when a jam occurs, the first steering mode is promptly switched to the second steering mode, thereby avoiding damage to the lawn when the self-moving device is stuck, greatly reducing the wear and tear on the lawn, and ensuring that the self-moving device can turn normally.

[0113] In at least one embodiment of the present application, before turning according to the first turning mode or the second turning mode, the method may further include: determining the turning environment information of the self-moving device, and determining the turning position of the self-moving device based on the turning environment information. The turning environment information is used to represent the environment information of the self-moving device during the turning process, and the turning environment information may include but is not limited to the distance value between the self-moving device and the two boundary lines in the working area in the direction perpendicular to the moving direction of the self-moving device (for the convenience of description, the two boundary lines are respectively recorded as the first boundary line and the second boundary line in this application, and the corresponding distance values ​​are respectively referred to as "first distance value" and "second distance value") and the distance value between the self-moving device and the obstacles in the working area in the direction perpendicular to the moving direction of the self-moving device (for the convenience of description, the application is referred to as "third distance value"), etc.

[0114] In some embodiments, the number of the first distance value and the second distance value may be one or more depending on the shape of the working area. If the number of the first distance value and the second distance value is more than one, the shorter distance value may be selected from the multiple first distance values ​​as the determined first distance value, and the shorter distance value may be selected from the multiple second distance values ​​as the determined second distance value.

[0115] In some embodiments, the number of obstacles may be one or more. If there are more than one obstacles in the working area, the obstacle closest to the self-moving device is determined, and the distance between the self-moving device and the obstacle in a direction perpendicular to the moving direction of the self-moving device is determined as the third distance value.

[0116] In some embodiments, when determining the turning position of the self-moving device based on the turning environment information, the shorter distance value can be selected from the first distance value and the second distance value. The embodiment of the present application takes the shorter distance value of the first distance value as an example to detect whether the first distance value is less than the first distance threshold; if the detection result is that the first distance value is less than the first distance threshold, the self-moving device moves a preset distance in the direction away from the first boundary line corresponding to the first distance value, and the position after the movement is used as the turning position of the self-moving device. Among them, the first distance threshold and the preset distance can be set according to actual needs and are not limited here.

[0117] In some embodiments, when determining the turning position of the self-moving device based on the turning environment information, it is also possible to detect whether the third distance value is less than the second distance threshold; if the detection result is that the third distance value is less than the second distance threshold, the self-moving device moves a preset distance in the direction away from the obstacle corresponding to the third distance value, and the position after the move is used as the turning position of the self-moving device. Among them, the second distance threshold and the preset distance can be set according to actual needs and are not limited here. The embodiment of the present application determines the turning environment information of the self-moving device before turning according to the first steering mode or the second steering mode, and determines the turning position of the self-moving device based on the steering environment information, which can prevent the self-moving device from exceeding the boundary line of the working area or colliding with an obstacle during the turning process, thereby improving the steering effect of the self-moving device.

[0118] See also Figure 7 , Figure 7 2 is a schematic diagram of the structure of the mode control device provided in the embodiment of the present application. In some embodiments, the mode control device 20 may include a plurality of functional modules composed of computer program segments. The computer programs of the various program segments in the mode control device 20 may be stored in the memory of the mobile device and executed by at least one processor to execute (see Figure 2 Description) mode control functionality.

[0119] In this embodiment, the mode control device 20 can be divided into multiple functional modules according to the functions it performs. The functional modules may include: an operation information determination module 201, a first mode determination module 202, and a second mode determination module 203. The module referred to in this application refers to a series of computer program segments that can be executed by at least one processor and can complete fixed functions, which are stored in a memory. In this embodiment, the functions of each module will be described in detail in subsequent embodiments.

[0120] The operation information determination module 201 may be configured to determine the operation information of the self-moving device in response to a turn signal.

[0121] The first mode determination module 202 may be configured to perform steering according to a first steering mode when the operation information does not meet a preset operation condition.

[0122] The second mode determination module 203 may be configured to perform steering according to a second steering mode when the operation information meets the preset operation condition.

[0123] It can be understood that the mode control device 20 and the mode control method of the above embodiment belong to the same inventive concept, and the specific implementation method of each module in the mode control device 20 corresponds to the steps of the mode control method in the above embodiment, which will not be repeated in this application.

[0124] The module division described above is a logical function division, and there may be other division methods in actual implementation. In addition, the functional modules in each embodiment of the present application may be integrated in the same processing unit, or each module may exist physically separately, or two or more modules may be integrated in the same unit. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional modules.

[0125] Figure 8 Schematic diagram of the structure of the self-moving device provided in the second embodiment of the present application. Figure 8 As shown, the self-moving device 1 also includes a memory 17, a power supply 18, a sensor 19, an operating mechanism 20, a communication module 21, a positioning module 22, and a bus 23 arranged on the body 11. The processor 16 is coupled to the first driving device 14, the second driving device 15, the memory 17, the power supply 18, the sensor 19, the operating mechanism 20, the communication module 21, and the positioning module 22 through the bus 23.

[0126] The memory 17 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 16, 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.

[0127] 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 16. The non-volatile memory may include a disk storage device and a flash memory.

[0128] The memory 17 is used to store one or more computer programs. The one or more computer programs are configured to be executed by the processor 16. The one or more computer programs include a plurality of instructions, and when the plurality of instructions are executed by the processor 16, the mode control method executed on the mobile device 1 can be implemented.

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

[0130] The processor 16 may include one or more processing units, for example, the processor 16 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a processor, 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.

[0131] The processor 16 provides computing and control capabilities. For example, the processor 16 is used to execute a computer program stored in the memory 17 to implement the above-mentioned mode control method.

[0132] The power source 18 is used to power the self-moving device. In one embodiment of the present application, the power source 18 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.

[0133] The sensor 19 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 19 may include one or more sensors such as a laser radar, a camera, an infrared sensor, and an encoder.

[0134] The operating mechanism 20 is used to perform corresponding operating tasks, such as mowing, deicing, cruising, cleaning, and spraying pesticides. In some embodiments of the present application, the operating mechanism 20 may include a motor, a transmission mechanism, a cutter disc, and other mechanisms. When the self-moving device is a lawn mower, 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.

[0135] The communication module 21 is used to realize communication between the mobile device and other devices. In one embodiment of the present application, the communication module 21 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).

[0136] The positioning module 22 is used to determine the position of the mobile device. In some embodiments of the present application, the positioning module 22 may include one or more positioning modules 22 of the type of global positioning system (GPS), inertial navigation system, real-time kinematic (RTK) carrier phase differential system, etc.

[0137] The bus 23 is at least used to provide a channel for mutual communication between the first driving device 14, the second driving device 15, the memory 17, the processor 16, the power supply 18, the sensor 19, the operating mechanism 20, the communication module 21, and the positioning module 22 in the mobile device 1.

[0138] 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 from colliding with an obstacle in front of the self-moving device. The steering assembly may be used to adjust the driving direction of the driving wheel.

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

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

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

[0142] The above embodiments 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, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These 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 mode control method, applied to a self-moving device, characterized in that: The mode control method comprises: In response to the turn signal, determining operation information of the self-moving device; When the operation information does not meet the preset operation conditions, steering according to the first steering mode; When the operation information meets the preset operation condition, steering is performed according to the second steering mode.

2. The mode control method according to claim 1, characterized in that: The self-moving device includes a first wheel group, and determining the operation information of the self-moving device includes: Determine the turning length of the working area where the self-moving device is located in a preset direction; Determine a stall probability corresponding to the turning of the first wheel group in the working area; The operation information is determined based on the turning length and the stall probability.

3. The mode control method according to claim 2, characterized in that: The determining of the stall probability corresponding to the turning of the first wheel group in the working area includes: Determine the target attribute of the object to be operated in the operation area; Based on the target attribute, the stall probability corresponding to the first wheel set is determined.

4. The mode control method according to claim 3, characterized in that: The target attribute includes density information and height information, and determining the stall probability corresponding to the first wheel set based on the target attribute includes: Determine the stall probability corresponding to the target attribute according to a preset correspondence between the density information, the height information and the stall probability; or A preset stall probability determination model is called to process the density information and the height information to obtain a stall probability corresponding to the target attribute.

5. The mode control method according to claim 2, characterized in that: The method further comprises: When the turning length is greater than a preset length threshold and the stall probability is less than a preset probability threshold, determining that the operation information does not meet the preset operation condition; When the turning length is less than or equal to the preset length threshold, or the stall probability is greater than or equal to the preset probability threshold, it is determined that the operation information meets the preset operation condition.

6. The mode control method according to claim 1, characterized in that: The self-propelled device includes a first wheel set, and after turning according to the first turning mode, the method further includes: Determining preset information of the first wheel set during the steering process; If it is determined based on the preset information that a stall occurs, switching from the first steering mode to the second steering mode, and steering according to the second steering mode; If it is determined based on the preset information that no stall has occurred, steering continues according to the first steering mode.

7. The mode control method according to claim 6, characterized in that: The self-moving device further includes a first driving module, the first driving module is used to drive the first wheel group to move, and the determining of preset information of the first wheel group during the steering process includes: Determine the driving current and driving speed corresponding to the first driving module; when the driving current is greater than a preset current threshold, and / or the driving speed is less than a preset speed threshold, determine that the self-moving device is stalled; or Determine a plurality of resistance values ​​generated by the first wheel group contacting the ground during the steering process; determine a resistance change value based on the plurality of resistance values; and determine that the self-moving device is stalled when the resistance change value is greater than a preset change threshold.

8. The mode control method according to claim 1, characterized in that: The self-moving device comprises a body, a first wheel set and a second wheel set, wherein the first wheel set and the second wheel set are respectively mounted at the front and rear ends of the body opposite to each other. If the first steering mode is adopted, the rotation center of the self-moving device is determined according to the axis line of the second wheel set; If the second steering mode is adopted, the rotation center of the self-moving device is determined according to the intersection line of the first wheel group and the second wheel group.

9. A self-propelled device, characterized in that: The self-equipped device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the mode control method according to any one of claims 1 to 8 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed by a processor in a mobile device, implements the mode control method according to any one of claims 1 to 8.

Citation Information

Cited By

  • Mode control method, autonomous mobile device and storage medium

    WO2026032129A1