Ultrasonic obstacle avoidance method and system for a self-moving device

By optimizing the timing of ultrasonic sensor transmission and reception in self-moving devices, the problem of sensor obstruction was solved, enabling flexible obstacle detection and efficient obstacle avoidance, optimizing the device's appearance design, and improving its intelligence.

CN116203967BActive Publication Date: 2026-11-20SHANGHAI SUNTEK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310310285.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-03-28
Publication Date
2026-11-20
Estimated Expiration
2043-03-28

AI Technical Summary

Technical Problem

The existing ultrasonic sensor settings for self-moving devices need to take into account the problem of shell obstruction, which makes it difficult to optimize the overall outline of the device. In addition, traditional collision-based obstacle avoidance is inefficient and lacks intelligence.

Method used

During the operation of the self-moving device, the ultrasonic sensor emits an ultrasonic signal and waits for a preset time before receiving the obstacle echo signal. The distance is determined based on the echo signal, and obstacle avoidance is performed when the distance is less than a threshold. The ultrasonic sensor is located in the middle of the body to flexibly avoid interference from the body.

Benefits of technology

It achieves normal obstacle detection, avoids interference from the fuselage to the ultrasonic detection, optimizes the overall outer contour design, and can identify dynamic and static obstacles, thus improving the intelligence and efficiency of obstacle avoidance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116203967B_ABST
    Figure CN116203967B_ABST
Patent Text Reader

Abstract

The application discloses an ultrasonic obstacle avoidance method and system for a self-moving device. The method comprises the following steps: controlling an ultrasonic sensor to emit an ultrasonic signal outward during the operation of the self-moving device; waiting for a preset time period after the emission is completed; starting to receive an obstacle echo signal of the ultrasonic signal and keeping the receiving for a first preset time period; wherein the preset time period is determined according to an echo time period of the ultrasonic signal reflected by the self-moving device, and the preset time period is longer than the echo time period of the ultrasonic signal reflected by the self-moving device; determining the distance between the detected obstacle and the self-moving device according to the obstacle echo signal; and controlling the self-moving device to perform an obstacle avoidance action when the distance is less than a preset distance threshold. The ultrasonic obstacle avoidance method and system can avoid the interference of the self-moving device body on the ultrasonic detection, realize normal detection of obstacles, and make the setting position of the ultrasonic sensor more flexible.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of automatic control equipment, and specifically relates to an ultrasonic obstacle avoidance method and system for self-moving equipment. Background Technology

[0002] Self-moving devices utilize artificial intelligence to perform tasks automatically. For example, lawnmower robots can automatically mow lawns and recharge themselves, completing lawn maintenance without user intervention. This significantly reduces the burden of lawn care and is therefore widely popular.

[0003] Traditional self-moving devices typically only initiate obstacle avoidance maneuvers after encountering an obstacle. For example, after contacting an obstacle, the self-moving device might reverse or turn to avoid it. However, such obstacle avoidance maneuvers take a considerable amount of time to execute, reducing efficiency. Moreover, collisions with certain types of obstacles, such as people, are undesirable, resulting in a poor user experience.

[0004] In recent years, some self-moving devices on the market have adopted ultrasonic non-contact obstacle avoidance. This involves emitting ultrasonic signals and receiving echo signals to determine the distance to obstacles, thus avoiding collisions. Typically, these self-moving devices have the ultrasonic sensor protruding from the top of the device, avoiding obstruction by the casing. However, this increases the overall height of the device, making it difficult to pass through low-profile passages. Other self-moving devices have a recessed casing in front of the ultrasonic sensor. This design significantly limits the casing's shape, negatively impacting its appearance and hindering optimal casing contour design.

[0005] Therefore, it is necessary to improve the existing technology to overcome the aforementioned defects. Summary of the Invention

[0006] Therefore, the present invention aims to solve the technical problem that the ultrasonic sensor of the existing self-moving device needs to be set up to take into account the obstruction of the housing, which is not conducive to the optimization of the overall outer contour of the device.

[0007] To address the aforementioned technical problems, this invention provides an ultrasonic obstacle avoidance method for self-moving devices, the method comprising the following steps:

[0008] S10. During the operation of the self-moving device, control the ultrasonic sensor to emit ultrasonic signals outward;

[0009] S20. After the self-emission is completed, wait for a preset time, start receiving the obstacle echo signal of the ultrasonic signal and maintain receiving for a first preset time period; wherein, the preset time period is determined according to the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset time period is longer than the echo time period of the ultrasonic signal reflected by the self-moving device.

[0010] S30. Determine the distance between the detected obstacle and the self-moving device based on the obstacle echo signal;

[0011] S40. If the distance is less than a preset distance threshold, control the self-moving device to perform an obstacle avoidance action.

[0012] In one embodiment, after maintaining the reception of the obstacle echo signal for a first preset time period, the method further includes:

[0013] Control the ultrasonic sensor to stop receiving the obstacle echo signal and start intermittent timing;

[0014] If the intermittent timing is greater than or equal to the second preset time period, proceed to step S10; wherein the second preset time period is greater than or equal to zero.

[0015] In one embodiment, the method further includes:

[0016] Within a set time period t, determine the change in distance d between the detected obstacle and the ultrasonic sensor;

[0017] The detected obstacle is determined to be either a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device.

[0018] In one embodiment, determining whether the detected obstacle is a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device includes:

[0019] If the distance change value d and the travel distance v*t of the self-moving device satisfy a preset change condition, the detected obstacle is determined to be a dynamic obstacle; otherwise, the detected obstacle is determined to be a static obstacle.

[0020] In one embodiment, the method further includes:

[0021] The distance change rate q is determined based on the distance change value d and the set time period t; wherein, the distance change rate q = d / t;

[0022] The distance change rate q is used to predict the distance change over a preset time period in the future, and the travel speed of the self-moving device is controlled according to the predicted distance change.

[0023] In one embodiment, the number of ultrasonic sensors includes a plurality, wherein at least two ultrasonic sensors are arranged adjacent to each other, and the detection ranges of the two adjacent ultrasonic sensors partially overlap, and the emission angles of the ultrasonic signals of the two adjacent ultrasonic sensors are different.

[0024] In one embodiment, two adjacent ultrasonic sensors alternately transmit and receive ultrasonic signals.

[0025] In one embodiment, the preset durations for which the two adjacent ultrasonic sensors receive the obstacle echo signal are different.

[0026] In one embodiment, echo analysis is performed on the obstacle echo signal to determine the orientation of the detected obstacle relative to the self-moving device;

[0027] The direction of travel of the self-moving device is controlled based on the determined position of the detected obstacle relative to the self-moving device.

[0028] In one embodiment, the ultrasonic sensor is disposed in the middle region of the self-moving device in the front-to-back direction and is located on the upright wall of the self-moving device.

[0029] Furthermore, the present invention also provides an ultrasonic obstacle avoidance system for self-moving devices, comprising:

[0030] The transmission control module is used to control the ultrasonic sensor to emit ultrasonic signals during the operation of the self-moving device.

[0031] The echo receiving module waits for a preset time after transmission, then starts receiving the obstacle echo signal of the ultrasonic signal and maintains reception for a first preset time period; wherein, the preset time period is determined according to the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset time period is greater than or equal to the echo time period of the ultrasonic signal reflected by the self-moving device.

[0032] A distance determination module is used to determine the distance between the detected obstacle and the self-moving device based on the obstacle echo signal;

[0033] The obstacle avoidance control module is used to control the self-moving device to perform obstacle avoidance actions when the distance is less than a preset distance threshold.

[0034] The technical solution provided by this invention has the following advantages:

[0035] The ultrasonic obstacle avoidance method and system for self-moving devices provided by this invention involves controlling an ultrasonic sensor to emit ultrasonic signals during the operation of the self-moving device. After the emission is completed, the system waits for a preset time before receiving obstacle echo signals and maintaining reception for a first preset time period. The preset time period is determined based on the echo time period of the ultrasonic signals reflected by the self-moving device and is longer than the echo time period of the ultrasonic signals reflected by the self-moving device. The distance between the detected obstacle and the self-moving device is determined based on the obstacle echo signals. If the distance is less than a preset distance threshold, the self-moving device is controlled to perform an obstacle avoidance action. Therefore, ultrasonic signals reflected by the self-moving device's body are not received by the ultrasonic sensor, avoiding interference from the self-moving device's body obstructing ultrasonic detection, enabling normal obstacle detection. Furthermore, the ultrasonic sensor's placement is more flexible, facilitating optimization of the overall device's outline. Attached Figure Description

[0036] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0037] Figure 1 This is a schematic flowchart of an ultrasonic obstacle avoidance method for a self-moving device provided in an embodiment of the present invention.

[0038] Figure 2 This invention is adopted in one embodiment scenario. Figure 1 A three-dimensional structural diagram of the self-moving device using the ultrasonic obstacle avoidance method is shown.

[0039] Figure 3 for Figure 2 A simplified structural diagram of the ultrasonic sensor detection range of the self-moving device is shown.

[0040] Figure 4 This is a schematic diagram of the module structure of an ultrasonic obstacle avoidance system for self-moving devices according to an embodiment of the present invention. Detailed Implementation

[0041] The technical solution of the present invention will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. The present invention will be described in detail below with reference to the accompanying drawings and embodiments. It should be noted that, unless otherwise specified, the embodiments and features in the embodiments of the present invention can be combined with each other.

[0042] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0043] In this invention, unless otherwise stated, directional terms such as "upper," "lower," "top," and "bottom" are generally used in relation to the direction shown in the accompanying drawings, or in relation to the vertical, perpendicular, or gravitational direction of the component itself; similarly, for ease of understanding and description, "inner" and "outer" refer to the inner and outer contours of each component itself, but the above directional terms are not intended to limit this invention.

[0044] Example 1

[0045] Traditional self-moving devices typically only take obstacle avoidance actions after encountering an obstacle, meaning their obstacle avoidance scheme is collision-based. This type of obstacle avoidance scheme is only triggered when the self-moving device and the obstacle undergo a mechanical collision, resulting in low efficiency and poor intelligence.

[0046] To address these issues, many manufacturers are dedicated to researching non-contact obstacle avoidance solutions. For example, ultrasonic non-contact obstacle avoidance has recently emerged on the market. Typically, this type of self-moving device places the ultrasonic sensor protruding from the top of the device, thus avoiding obstruction by the device's body. However, this increases the overall height of the device, making it difficult to pass through low-profile passages. Other self-moving devices feature an inward-recessed housing in front of the ultrasonic sensor. This design significantly limits the housing's shape and negatively impacts its appearance, hindering optimal housing contour design.

[0047] To address the aforementioned problems in the existing technology, this embodiment provides an ultrasonic obstacle avoidance method for self-moving devices. Please refer to... Figure 1 The ultrasonic obstacle avoidance method, in its specific implementation, may include the following:

[0048] S10. During the operation of the self-moving device, control the ultrasonic sensor to emit ultrasonic signals outward;

[0049] S20. After the transmission is completed, wait for a preset time, start receiving the obstacle echo signal of the ultrasonic signal and maintain receiving for a first preset time period.

[0050] S30. Determine the distance between the detected obstacle and the self-moving device based on the obstacle echo signal;

[0051] S40. If the distance is less than a preset distance threshold, control the self-moving device to perform an obstacle avoidance action.

[0052] The aforementioned "preset duration" is determined based on the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset duration is longer than the echo time period of the ultrasonic signal reflected by the self-moving device.

[0053] Figure 2 A three-dimensional structural diagram of a self-moving device employing the aforementioned ultrasonic obstacle avoidance method in an implementation scenario is shown. For illustrative purposes, this embodiment applies this solution to... Figure 2 The self-moving device shown is for illustrative purposes only and should not be construed as a limitation of the present invention.

[0054] exist Figure 2 In the illustrated implementation scenario, the self-moving device 100 includes a body 15, a moving mechanism 13, and several ultrasonic sensors (12, 14, 16, 18). The moving mechanism 13 is located at the bottom of the body 15 and is used to move the body 15 on the working surface. The moving mechanism 13 has a wheeled structure, including a rear wheel 134 and a front wheel 132. There are two front wheels 132 and two rear wheels 134. The front wheels 132 are driven wheels, and the rear wheels 134 are driving wheels. The rear wheels 134 are connected to a drive motor (not shown) and are driven to rotate, thereby moving the body 15 on the working surface.

[0055] The working surface of an automated mobile device varies depending on its product type. When the automated mobile device is an automatic lawnmower, the working surface is the lawn. When it's a cleaning robot, the working surface is the floor of a room that needs cleaning. When it's a nanny robot, the working surface is the floor of the workplace it serves.

[0056] In this application scenario Figure 2 The self-moving device 100 shown is an automatic lawnmower. Its body 15 has a cutting element (not shown) at the bottom. When the automatic lawnmower moves on the lawn, the cutting element rotates to trim and cut the lawn that it has passed.

[0057] An ultrasonic sensor is used to emit ultrasonic signals and receive echo signals reflected back from obstacles. Please refer to the following: Figure 3 In this implementation scenario, there are four ultrasonic sensors: sensors 12, 14, 16, and 18. Of course, the number of ultrasonic sensors can also be two, for example, only ultrasonic sensors 12 and 18 can be used, omitting sensors 14 and 16. Similarly, only ultrasonic sensors 14 and 16 can be used, omitting sensors 12 and 18. The number of ultrasonic sensors can also be other, such as three, five, or more. Each ultrasonic sensor is a transceiver integrated unit, meaning the transmitting and receiving modules of the ultrasonic sensor are integrated into one unit.

[0058] The ultrasonic obstacle avoidance method for self-moving devices provided in this embodiment determines a preset duration based on the echo time period of the ultrasonic signal reflected by the self-moving device. After the transmission is completed, it waits for the preset duration before starting to receive the obstacle echo signal of the ultrasonic signal and maintaining reception for a first preset time period. The distance between the detected obstacle and the self-moving device is determined based on the obstacle echo signal. If the distance is less than a preset distance threshold, the self-moving device is controlled to perform an obstacle avoidance action. In this way, the ultrasonic signal reflected by the self-moving device body will not be received by the ultrasonic sensor, which can avoid the interference of the self-moving device body on the ultrasonic detection, realize the normal detection of obstacles, and make the ultrasonic sensor placement more flexible, which is conducive to the optimization of the overall outer contour of the device. In a specific implementation scenario, the body 15 includes a shell with a side wall, and the ultrasonic sensor is located on the side wall of the self-moving device 100. The ultrasonic sensor is set on the side wall, which does not increase the overall height of the body, and therefore does not reduce the passability of the self-moving device. In the front-rear direction of the body 15, the ultrasonic sensor is located in the middle area of ​​the self-moving device body.

[0059] Please refer to this carefully. Figure 3 Each ultrasonic sensor has a center line, and the detection area of ​​the ultrasonic signal is roughly frustum-shaped with this center line as the center. The angle of this center line relative to the fuselage 15 determines the emission angle of the ultrasonic sensor. In the above implementation scenario, ultrasonic sensors 12 and 14, and ultrasonic sensors 16 and 18 are arranged adjacent to each other, that is, two pairs of ultrasonic sensors are arranged adjacent to each other. The detection ranges of the two adjacent ultrasonic sensors partially overlap, the emission angles of the ultrasonic signals of the two adjacent ultrasonic sensors are different, and the center line of one ultrasonic sensor is not parallel to the center line of the other ultrasonic sensor. Of course, only one pair of adjacent ultrasonic sensors can be arranged, or more pairs can be arranged; there is no limitation here.

[0060] Thus, by placing two ultrasonic sensors in adjacent positions, the range of the area blocked by the casing will be different due to the different emission angles. Therefore, the detection blind spot caused by the casing can be compensated.

[0061] In one embodiment, the preset durations for receiving obstacle echo signals from two adjacent ultrasonic sensors are different. That is, the echo time periods of the two ultrasonic sensors reflected by the body 15 are different, which can compensate for the detection blind spots caused by the preset duration settings.

[0062] To suppress mutual interference between two adjacent ultrasonic sensors, in one specific implementation scenario, the two adjacent ultrasonic sensors alternately transmit and receive ultrasonic signals. In this way, the transmission and reception of the two adjacent ultrasonic sensors are alternated, preventing a situation where one transmitted ultrasonic wave is received by the other, thus avoiding false detections.

[0063] Since the detection ranges of two adjacent ultrasonic sensors partially overlap, let's define the detection range of one ultrasonic sensor in a pair as the first detection range and the detection range of the other as the second detection range. The overlapping portion of the first and second detection ranges is called the overlapping detection range. The portion of the first detection range minus the overlapping detection range is called the first independent detection range, and the portion of the second detection range minus the overlapping detection range is called the second independent detection range. By jointly analyzing the echo signals from the two ultrasonic sensors, we can determine whether an obstacle is located within the overlapping detection range, the first independent detection range, or the second independent detection range, thereby identifying the obstacle's orientation relative to the machine.

[0064] Therefore, in one embodiment, the method further includes: performing echo analysis on obstacle echo signals from multiple ultrasonic sensors to determine the orientation of the detected obstacle relative to the self-moving device;

[0065] The direction of travel of the self-moving device is controlled based on the determined position of the detected obstacle relative to the self-moving device.

[0066] In this way, the relative position of obstacles to the machine can be identified more accurately, thereby enabling more precise obstacle avoidance maneuvers to be formulated.

[0067] The self-moving device 100 is also equipped with a control unit and a timing circuit. The control unit controls the transmission and reception of ultrasonic signals, and the timing circuit records the transmission and reception times. During operation, the control unit controls the ultrasonic sensor to transmit ultrasonic signals. After transmission, it waits for a preset time before initiating the reception of the obstacle echo signal and maintaining reception for a first preset time period.

[0068] The transmission of ultrasonic signals is relatively short, typically on the order of milliseconds. After transmission, the mobile device does not immediately activate its receiving module to receive the echo signal. Instead, it waits for a preset time before activating the receiving module to receive the obstacle echo signal. Thus, even if ultrasonic waves are reflected back within the preset time, the receiving module does not receive them, effectively shielding against interference.

[0069] Since the preset duration is determined based on the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset duration is longer than the echo time period of the ultrasonic signal reflected by the self-moving device 100, the ultrasonic obstacle avoidance method provided by this invention can shield the interference signal of the ultrasonic wave reflected by the body 15 of the self-moving device 100. Even if part of the body 15 is located on the transmission path of the ultrasonic sensor, it will not affect the ultrasonic sensor's detection of obstacles, and the ultrasonic sensor can still reliably detect obstacles.

[0070] The control unit determines the distance between the detected obstacle and the self-moving device based on the obstacle echo signal. If the distance is less than a preset distance threshold, the control unit controls the self-moving device to perform an obstacle avoidance maneuver to avoid the obstacle before a collision. The aforementioned "obstacle avoidance maneuver" may include one of the following actions: turning, deceleration, U-turn, or reversing. It may also include a combination of two or more of the above actions. The combination of obstacle avoidance actions varies depending on the specific obstacle, and will not be listed in detail here.

[0071] The ultrasonic obstacle avoidance method provided in this application involves controlling an ultrasonic sensor to emit ultrasonic signals during the operation of a self-moving device. After emission, the device waits for a preset time before receiving obstacle echo signals and maintaining reception for a first preset time period. The preset time period is determined based on the echo time period of the ultrasonic signals reflected by the self-moving device and is longer than the echo time period. The distance between the detected obstacle and the self-moving device is determined based on the obstacle echo signals. If the distance is less than a preset distance threshold, the self-moving device performs an obstacle avoidance action. Therefore, ultrasonic signals reflected by the self-moving device are not received by the ultrasonic sensor, avoiding interference from the device's body obstructing ultrasonic detection and enabling normal obstacle detection. The ultrasonic sensor placement is also more flexible.

[0072] In one embodiment, after maintaining the reception of the obstacle echo signal for a first preset time period, the method further includes:

[0073] The ultrasonic sensor is controlled to stop receiving obstacle echo signals and start intermittent timing;

[0074] If the intermittent timing is greater than or equal to the second preset time period, proceed to step S10.

[0075] For ease of explanation, the time to complete one transmission and the corresponding reception is defined as one detection cycle. The aforementioned "intermittent timing" is understood as the start timing of the next detection cycle. That is, after completing one transmission and one reception, an intermittent timing is performed. If the intermittent timing exceeds the second preset time period, the next detection cycle begins, i.e., the process jumps to step S10 above.

[0076] The second preset time period is greater than or equal to zero. The ultrasonic sensor can either immediately start transmitting the ultrasonic signal for the next detection cycle after stopping receiving the obstacle echo signal (i.e., execute step S10), or wait for the second preset time period before starting the transmission of the ultrasonic signal for the next detection cycle.

[0077] In specific implementation scenarios, such as when an automated mobile device moves autonomously on a work surface, it may encounter moving obstacles, such as people or animals, as well as stationary obstacles, such as fences or rocks. Current automated mobile devices, when formulating obstacle avoidance strategies, only consider the distance to the obstacle. Given the same measured distance, the obstacle avoidance actions for both moving and stationary obstacles are often identical. However, these moving obstacles may be in real-time. If the obstacle avoidance actions for moving obstacles are the same as those for stationary obstacles, and the corresponding avoidance actions are not differentiated, the automated mobile device may continue to execute the previously planned obstacle avoidance actions even when the moving obstacle has moved away, leading to reduced efficiency and poor intelligence. Alternatively, if the moving obstacle approaches too quickly, the previously planned obstacle avoidance actions may fail to accurately avoid it, resulting in obstacle avoidance failure.

[0078] To address the aforementioned issues, one embodiment of this application further identifies both static and dynamic obstacles, thereby enabling targeted obstacle avoidance maneuvers to avoid obstacles while minimizing disruption to the normal movement planning of the mobile device. In this embodiment, the method also includes the following:

[0079] Within a set time period t, determine the change in distance d between the detected obstacle and the ultrasonic sensor;

[0080] The obstacle is determined to be either a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device.

[0081] The distance change d between the detected obstacle and the ultrasonic sensor is determined within a preset time t. This distance change d is determined by the travel speed v of the self-moving device and the speed of the corresponding obstacle. Therefore, the detected obstacle can be determined as either a dynamic or static obstacle by using this distance change d and the travel speed v of the self-moving device.

[0082] Thus, the method provided in this embodiment can also distinguish between dynamic and static obstacles, and formulate dynamic obstacle avoidance schemes for dynamic obstacles. This can better balance the normal walking plan of the mobile device and the obstacle avoidance action, and accurately avoid the dynamic obstacle while suppressing the impact on the normal walking plan.

[0083] In one specific embodiment, the step of "determining whether the detected obstacle is a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device" may include the following:

[0084] If the distance change value d and the travel distance v*t of the self-moving device satisfy a preset change condition, the detected obstacle is determined to be a dynamic obstacle; otherwise, the detected obstacle is determined to be a static obstacle.

[0085] Specifically, let the change in the position of the obstacle be D, then D = dv*t. If D is greater than the preset change threshold, the corresponding obstacle is determined to be a dynamic obstacle. If D is less than or equal to the preset change threshold, the detected obstacle is determined to be a static obstacle.

[0086] Furthermore, based on the change in obstacle position D, it can be determined whether the obstacle is moving relatively away or relatively close. When the obstacle is judged to be moving relatively away, the obstacle avoidance speed of the self-moving device can be decelerated more smoothly, as long as a certain distance is maintained from the dynamic obstacle. When the obstacle is judged to be moving relatively close, the self-moving device needs to reduce its speed more quickly to avoid collision with the dynamic obstacle. After reducing speed, a strategy of adjusting direction can also be adopted.

[0087] In one specific embodiment, the method further includes:

[0088] The distance change rate q is determined based on the distance change value d and the set time period t.

[0089] The distance change rate q is used to predict the distance change over a preset time period in the future, and the speed of the self-moving device is controlled based on the predicted distance change.

[0090] The distance change rate q is the average rate of change of the distance change value d over a set time period t, expressed as: q = d / t. The magnitude of the distance change rate q is determined by the speed of the self-moving device and the speed of the moving obstacle. A larger distance change rate q indicates a faster moving obstacle, and a smaller distance change rate indicates a slower moving obstacle. Therefore, the relative distance change trend between the self-moving device and the moving obstacle can be determined based on the distance change rate q.

[0091] Furthermore, the distance change rate q is used to predict the distance change over a preset time, and the travel speed of the self-moving device is controlled based on the predicted distance change. Thus, the obstacle avoidance action takes into account the movement trend of dynamic obstacles, enabling more accurate obstacle avoidance and reducing the impact on the self-moving device's travel planning.

[0092] The ultrasonic obstacle avoidance method provided in this application avoids interference from the ultrasonic sensor by the ultrasonic signal reflected by the self-moving device body, thus preventing the interference of the self-moving device body on the ultrasonic detection, while achieving normal obstacle detection.

[0093] Example 2

[0094] Please see Figure 4 The present invention also provides an ultrasonic obstacle avoidance system 200 for self-moving equipment. The ultrasonic obstacle avoidance system 200 includes a transmission control module 220, a reception control module 240, a distance determination module 260, and an obstacle avoidance control module 280.

[0095] The transmission control module 220 controls the ultrasonic sensor to emit ultrasonic signals during the operation of the self-moving device. The receiving control module 240 waits a preset time after transmission to initiate the reception of obstacle echo signals and maintain reception for a first preset time period; the preset time period is determined based on the echo time period of the ultrasonic signals reflected by the self-moving device, and the preset time period is greater than or equal to the echo time period of the ultrasonic signals reflected by the self-moving device. The distance determination module 260 determines the distance between the detected obstacle and the self-moving device based on the obstacle echo signals. The obstacle avoidance control module 280 controls the self-moving device to perform obstacle avoidance actions when the distance is less than a preset distance threshold.

[0096] In some embodiments, the ultrasonic obstacle avoidance system 200 further includes an echo analysis module for performing echo analysis on the obstacle echo signal to determine the orientation of the detected obstacle relative to the self-moving device; and an obstacle avoidance control module 280 for controlling the travel direction of the self-moving device according to the determined orientation of the detected obstacle relative to the self-moving device.

[0097] In some embodiments, the distance determination module 260 further includes a dynamic and static obstacle recognition module, which is used to determine the distance change value d between the detected obstacle and the ultrasonic sensor within a set time period t, and determine whether the detected obstacle is a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device.

[0098] Furthermore, the dynamic and static obstacle recognition module uses the following method to determine whether the detected obstacle is a dynamic obstacle or a static obstacle: if the distance change value d and the travel distance v*t of the self-moving device meet the preset change conditions, then the detected obstacle is determined to be a dynamic obstacle; otherwise, the detected obstacle is determined to be a static obstacle.

[0099] Specifically, let the change in the position of the obstacle be D, then D = dv*t. If D is greater than the preset change threshold, the corresponding obstacle is determined to be a dynamic obstacle. If D is less than or equal to the preset change threshold, the detected obstacle is determined to be a static obstacle.

[0100] In some embodiments, the dynamic and static obstacle recognition module is further configured to determine the distance change rate q based on the distance change value d and a set time period t; wherein the distance change rate q = d / t, and the distance change amount over a future preset time period is predicted based on the distance change rate q. The obstacle avoidance control module 280 is configured to control the travel speed of the self-moving device's obstacle avoidance action based on the predicted distance change amount.

[0101] The aforementioned transmission control module 220, reception control module 240, distance determination module 260, and obstacle avoidance control module 280 can be integrated into the control unit or set as separate independent modules; no restriction is imposed here.

[0102] The ultrasonic obstacle avoidance system 200 provided in this embodiment corresponds to the ultrasonic obstacle avoidance method described in the above embodiments. The functions of each module in the ultrasonic obstacle avoidance system 200 in this embodiment are described in detail in the corresponding method embodiments, which can be referred to each other, and will not be repeated here.

[0103] The ultrasonic obstacle avoidance system 200 described in this embodiment can be applied to the implementation scenario of the self-moving device 100 in the above embodiment 1. The content of the relevant self-moving device 100 can be found in the above embodiment 1, and will not be repeated here.

[0104] Obviously, the embodiments described above are merely some, not all, embodiments of the present invention. Based on the embodiments of the present invention, those skilled in the art can make other variations or modifications without creative effort, and all such variations or modifications should fall within the scope of protection of the present invention.

Claims

1. An ultrasonic obstacle avoidance method for self-moving devices, characterized in that, The method includes the following steps: S10. During the operation of the self-moving device, control the ultrasonic sensor to emit ultrasonic signals outward; S20. After the self-emission is completed, wait for a preset time, start receiving the obstacle echo signal of the ultrasonic signal and maintain receiving for a first preset time period; wherein, the preset time period is determined according to the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset time period is longer than the echo time period of the ultrasonic signal reflected by the self-moving device. S30. Determine the distance between the detected obstacle and the self-moving device based on the obstacle echo signal; S40. If the distance is less than a preset distance threshold, control the self-moving device to perform an obstacle avoidance action; The self-moving device includes a housing with side walls. An ultrasonic sensor is disposed on the side wall of the self-moving device, and the ultrasonic sensor is located in the middle region of the self-moving device in the front-rear direction. The number of ultrasonic sensors includes multiple sensors, of which at least two ultrasonic sensors are disposed adjacent to each other, and the detection ranges of the two adjacent ultrasonic sensors partially overlap. The ultrasonic signals emitted by the two adjacent ultrasonic sensors are at different angles, and the preset durations for the two adjacent ultrasonic sensors to receive the obstacle echo signals are different.

2. The ultrasonic obstacle avoidance method according to claim 1, characterized in that, After maintaining the reception of the obstacle echo signal for a first preset time period, the method further includes: Control the ultrasonic sensor to stop receiving the obstacle echo signal and start intermittent timing; If the intermittent timing is greater than or equal to the second preset time period, proceed to step S10; wherein the second preset time period is greater than or equal to zero.

3. The ultrasonic obstacle avoidance method according to claim 1, characterized in that, The method further includes: Within a set time period t, determine the change in distance d between the detected obstacle and the ultrasonic sensor; The detected obstacle is determined to be either a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device.

4. The ultrasonic obstacle avoidance method according to claim 3, characterized in that, The step of determining whether the detected obstacle is a dynamic obstacle or a static obstacle based on the distance change value d and the travel speed v of the self-moving device includes: If the distance change value d and the travel distance v*t of the self-moving device satisfy a preset change condition, the detected obstacle is determined to be a dynamic obstacle; otherwise, the detected obstacle is determined to be a static obstacle.

5. The ultrasonic obstacle avoidance method according to claim 4, characterized in that, The method further includes: The distance change rate q is determined based on the distance change value d and the set time period t; wherein, the distance change rate q = d / t; The distance change rate q is used to predict the distance change over a preset time period in the future, and the travel speed of the self-moving device is controlled according to the predicted distance change.

6. The ultrasonic obstacle avoidance method according to claim 1, characterized in that, Two adjacent ultrasonic sensors alternately transmit and receive ultrasonic signals.

7. The ultrasonic obstacle avoidance method according to claim 1, characterized in that, The method further includes: Echo analysis is performed on the obstacle echo signal to determine the orientation of the detected obstacle relative to the self-moving device; The direction of travel of the self-moving device is controlled based on the determined position of the detected obstacle relative to the self-moving device.

8. An ultrasonic obstacle avoidance system for self-moving equipment, characterized in that, include: The transmission control module is used to control the ultrasonic sensor to emit ultrasonic signals during the operation of the self-moving device. The echo receiving module waits for a preset time after transmission, then starts receiving the obstacle echo signal of the ultrasonic signal and maintains reception for a first preset time period; wherein, the preset time period is determined according to the echo time period of the ultrasonic signal reflected by the self-moving device, and the preset time period is greater than or equal to the echo time period of the ultrasonic signal reflected by the self-moving device. A distance determination module is used to determine the distance between the detected obstacle and the self-moving device based on the obstacle echo signal; An obstacle avoidance control module is used to control the self-moving device to perform obstacle avoidance actions when the distance is less than a preset distance threshold. The self-moving device includes a housing with side walls. An ultrasonic sensor is disposed on the side wall of the self-moving device, and the ultrasonic sensor is located in the middle region of the self-moving device in the front-rear direction. The number of ultrasonic sensors includes multiple sensors, of which at least two ultrasonic sensors are disposed adjacent to each other, and the detection ranges of the two adjacent ultrasonic sensors partially overlap. The ultrasonic signals emitted by the two adjacent ultrasonic sensors are at different angles, and the preset durations for the two adjacent ultrasonic sensors to receive the obstacle echo signals are different.

Citation Information

Patent Citations

  • Automatic mobile equipment and ultrasonic obstacle avoidance method thereof

    CN108733041A

  • Method and device for controlling lawn mower, and lawn mower

    CN110389578A

  • Method for detecting moving state of obstacle in real time by mobile robot in environment

    CN111413964A

  • Method for improving detection performance of ultrasonic sensor

    CN111679281A