Control method and apparatus for preventing self-propelled device from falling
By using cliff sensors and drive modules in self-propelled equipment to generate task activity restricted areas, and controlling the equipment to perform tasks outside the restricted area, the risk of falling caused by cliff sensor failure or shielding is solved, and the intelligence level and safety of the equipment are improved.
Patent Information
- Application Number
- PCT/CN2024/084856
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-29
- Filing Date
- 2024-03-29
- Publication Date
- 2024-10-03
AI Technical Summary
When self-propelled equipment encounters a cliff sensor failure or is blocked when performing tasks, it cannot trigger normally, resulting in the risk of falling and causing irreparable harm.
By using cliff sensors and drive modules in self-propelled equipment, environmental data are collected to generate environmental maps, marking inaccessible areas, and combining historical trigger records to determine task activity restricted areas, and control the equipment to perform preset tasks outside the restricted areas to avoid falling.
It effectively reduces the risk of falling of self-propelled equipment when the cliff sensor fails or is covered, improves the intelligence level of the equipment and reduces user losses.
Smart Images

Figure CN2024084856_03102024_PF_FP_ABST
Abstract
Description
Control method and device for preventing self-propelled equipment from falling
[0001] This application claims priority to the Chinese patent application filed with the China Patent Office on March 29, 2023, with application number CN202310325162.1 and invention name “Control method and device for preventing self-propelled equipment from falling”, the entire contents of which are incorporated by reference into this application. Technical Field
[0002] The present application relates to the technical field of self-propelled equipment, and in particular to a method and device for preventing a self-propelled equipment from falling. Background Art
[0003] With the advancement of technology and the pursuit of a more comfortable lifestyle, people are increasingly demanding autonomous vehicles, and their expectations and requirements are also increasing. To prevent autonomous vehicles from falling when encountering steps, stairs, or height differences while performing their tasks, cliff sensors are often installed on autonomous vehicles. When the autonomous vehicle reaches terrain with a certain height difference, it can immediately stop the vehicle and continue moving forward, effectively preventing damage from falls.
[0004] However, during the operation of the self-propelled device, if the cliff sensor fails or is blocked, the cliff sensor will not be triggered normally. In this case, the self-propelled device will be at risk of falling, causing irreparable damage.
[0005] Application Contents
[0006] In view of this, the present application provides a control method and device for preventing self-propelled equipment from falling, the main purpose of which is to reduce the risk of self-propelled equipment falling during work projects and improve the intelligence level of self-propelled equipment.
[0007] According to one aspect of the present application, a control method for preventing a self-propelled device from falling is provided, which is applied to a self-propelled device with a built-in cliff sensor. The method includes:
[0008] Determining, based on at least one task execution result of the self-propelled device in the working environment, an environmental map corresponding to the working environment and a historical triggering record of the cliff sensor in the working environment, wherein the environmental map is marked with an inaccessible area;
[0009] Determining a restricted area for mission activities of the self-propelled device based on the inaccessible area and the historical trigger record;
[0010] The self-propelled device is controlled to perform a preset task outside the task activity restricted area.
[0011] Optionally, determining, based on at least one task execution result of the self-propelled device in the working environment, an environmental map corresponding to the working environment and a historical triggering record of the cliff sensor in the working environment includes:
[0012] Obtaining an environmental map of the working environment generated by the self-propelled device during at least one task execution result, wherein the environmental map is generated by collecting environmental data using sensors configured on the self-propelled device and then extracting external environmental features from the environmental data;
[0013] At least one historical triggering record of a cliff sensor provided on the self-propelled device is extracted according to at least one task execution result of the self-propelled device in a working environment.
[0014] Optionally, determining the mission activity restricted area of the self-propelled device based on the inaccessible area and the historical trigger record includes:
[0015] Determine whether there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record;
[0016] If so, the unreachable area mark is updated in the environment map as a mission activity restricted area of the self-propelled device.
[0017] Optionally, after determining the restricted area for mission activities of the self-propelled device based on the inaccessible area and the historical trigger record, the method further includes:
[0018] The task activity restricted area is displayed to the user in the environment map, and the position and / or size of the task activity restricted area in the environment map is adjusted in response to an area adjustment instruction sent by the user.
[0019] Optionally, controlling the self-propelled device to perform the preset task outside the task activity restricted area includes:
[0020] In response to determining, based on the current position coordinates of the self-propelled device, that the current position coordinates coincide with the outline coordinates of the task activity restricted area, controlling the self-propelled device to execute the preset task according to the anti-fall trajectory;
[0021] Among them, the anti-fall trajectory includes: the self-propelled device takes the overlapping contour coordinate point as the starting point and moves in any direction away from the task activity restricted area, or, takes the overlapping contour coordinate point as the starting point and moves along the edge of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area.
[0022] Optionally, the method further includes:
[0023] According to the current task execution results of the self-propelled device in the working environment, the inaccessible area in the environmental map is updated, and after obtaining the trigger point coordinates of the cliff sensor being triggered, the task activity restricted area in the environmental map is adjusted according to the updated inaccessible area and the trigger point coordinates, and the self-propelled device is controlled to perform the preset task outside the adjusted task activity restricted area.
[0024] According to another aspect of the present application, a self-propelled device is provided, which has a built-in cliff sensor and a drive module, including:
[0025] A map acquisition module, used to collect environmental data in the working environment of the self-propelled device;
[0026] The control module is used to generate an environmental map with inaccessible areas marked based on the environmental data, and generate a task activity restricted area for the self-propelled device in combination with the historical trigger records of the cliff sensor, and control the drive module to drive the self-propelled device to perform a preset task outside the task activity restricted area.
[0027] Optionally, the control module includes: a generating unit;
[0028] The generating unit is configured to extract external environment features from the environmental data, and construct an environmental map of the working environment based on the external environment features, wherein the environmental map is marked with inaccessible areas.
[0029] Optionally, the control module includes: a determination unit and an update unit;
[0030] The determining unit is configured to determine whether there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record;
[0031] The updating unit is configured to update the unreachable area mark as a task activity restricted area of the self-propelled device in the environment map when it is determined that there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record.
[0032] Optionally, the control module further includes: a first adjustment unit;
[0033] The first adjustment unit is configured to display the task activity restricted area to the user in the environment map, and adjust the position and / or size of the task activity restricted area in the environment map in response to an area adjustment instruction sent by the user.
[0034] Optionally, the control module further includes: a control unit;
[0035] The control unit is configured to control the self-propelled device to execute the preset task according to the anti-fall trajectory in response to determining, based on the current position coordinates of the self-propelled device, that the current position coordinates coincide with the outline coordinates of the task activity restricted area;
[0036] Among them, the anti-fall trajectory includes: the self-propelled device takes the overlapping contour coordinate point as the starting point and moves in any direction away from the task activity restricted area, or, takes the overlapping contour coordinate point as the starting point and moves along the edge of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area.
[0037] Optionally, the control module further includes: a second adjustment unit;
[0038] The second adjustment unit is used to update the inaccessible area in the environmental map according to the current task execution result of the self-propelled device in the working environment, and after obtaining the trigger point coordinates of the cliff sensor being triggered, adjust the task activity restricted area in the environmental map according to the updated inaccessible area and the trigger point coordinates, and control the self-propelled device to perform the preset task outside the adjusted task activity restricted area.
[0039] According to another aspect of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the control method for preventing the self-propelled device from falling is implemented.
[0040] According to another aspect of the present application, a computer device is provided, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor implements the above-mentioned anti-fall control method for self-propelled equipment when executing the computer program.
[0041] By means of the above technical solution, the present application provides a method and device for preventing a self-propelled device from falling. The method and device can first determine the corresponding environmental map of the working environment and the historical trigger records of the cliff sensor provided on the self-propelled device in the working environment based on the results of at least one task execution of the self-propelled device in the working environment; further generate the task activity restricted area of the self-propelled device based on the inaccessible areas marked in the environmental map and the historical trigger records; and finally control the self-propelled device to perform the preset task outside the task activity restricted area. Through the technical solution in the present application, the self-propelled device can be controlled based on the task activity restricted area by generating the task activity restricted area, effectively reducing the risk of falling of the self-propelled device when the cliff sensor fails or the cliff sensor is blocked, thereby improving the intelligence of the self-propelled device and reducing user losses.
[0042] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0044] FIG1 is a schematic flow chart showing a method for controlling a self-propelled device to prevent a fall, according to an embodiment of the present application;
[0045] FIG2 is a flow chart showing another method for controlling a self-propelled device to prevent a fall, according to an embodiment of the present application;
[0046] FIG3 shows a schematic diagram of an example of anti-fall control for a self-propelled device provided in an embodiment of the present application;
[0047] FIG4 shows a schematic structural diagram of a self-propelled device provided in an embodiment of the present application;
[0048] FIG5 shows a schematic diagram of the physical structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0049] The present application will be described in detail below with reference to the accompanying drawings and in combination with embodiments. It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of the present application can be combined with each other.
[0050] In order to reduce the risk of falling of self-propelled equipment during operation and improve the intelligence level of self-propelled equipment, the present application provides a control method for preventing falling of self-propelled equipment, as shown in Figure 1, the method includes:
[0051] 101. Determine an environment map corresponding to the working environment and a historical triggering record of the cliff sensor in the working environment based on at least one task execution result of the self-propelled device in the working environment, wherein the environment map is marked with an inaccessible area.
[0052] Among them, the self-propelled device refers to a functional self-propelled device that can be used to perform preset tasks and is equipped with a cliff sensor. The preset tasks vary depending on the specific application scenarios. For example, when the preset task is a cleaning task, the self-propelled device can specifically be a cleaning robot that can be used to perform cleaning tasks, such as a sweeping robot, a mopping robot, etc. In this embodiment and subsequent embodiment steps, the technical solution in this application is described using the self-propelled device as a cleaning robot as an example, but it does not constitute a specific limitation on the technical solution in this application. The working environment can be the working area when the self-propelled device performs the preset task, such as home, office, shopping mall, etc.
[0053] During operation, the autonomous device collects real-time environmental data about its surroundings. Based on this data, it generates an environmental map corresponding to the operating environment, or makes real-time corrections to previously generated environmental maps. Finally, the device intelligently executes specific pre-set tasks based on the generated environmental map. The environmental map includes inaccessible areas, which are areas that the autonomous device cannot reach due to obstacles. For example, if an obstacle prevents the autonomous device from entering the other area when it reaches the boundary between two areas, but the device's sensors can detect the other area, then this area is considered inaccessible. Furthermore, to prevent the autonomous device from falling during operation, a cliff sensor is often installed at the bottom of the device. This sensor immediately stops the device from moving forward when it encounters terrain with a certain height difference relative to a preset height plane corresponding to the space where the autonomous device is located, effectively preventing the device from falling and being damaged. In this scenario, when the autonomous device reaches the boundary of an area with a descending cliff, the cliff sensor detects the presence of the cliff and stops moving forward toward the descending cliff area. However, the sensor on it will sense the existence of the downward cliff area, so this area is also an "unreachable area". Among them, the cliff sensor specifically refers to an infrared pair of tubes including a transmitter and a receiver. When the signal emitted by the transmitter tube cannot be received by the receiver tube in time, it will be judged that the trigger point is far away from the self-propelled device, that is, there is a "cliff" with a height difference. For this embodiment, based on the results of at least one task execution of the self-propelled device in the working environment, at least one environmental map generated by the self-propelled device during the working process and at least one historical trigger record of the cliff sensor set on the self-propelled device can be determined, so as to determine the task activity restricted area where the self-propelled device has a potential fall risk based on the unreachable area on the environmental map and the historical trigger record.
[0054] The execution subject of this application may be a control device of a self-propelled device, which may be configured inside the self-propelled device or on a client or server. It may determine the environmental map planned by the self-propelled device in the working environment, and the historical trigger records of the cliff sensors provided on the self-propelled device, based on the results of at least one task execution by the self-propelled device in the working environment. It may then generate a task activity restricted area for the self-propelled device based on the inaccessible area and the historical trigger records. Finally, it may control the self-propelled device to perform a preset task outside the task activity restricted area.
[0055] 102. Determine the restricted area for mission activities of self-propelled equipment based on inaccessible areas and historical trigger records.
[0056] Among them, the task activity restricted area refers to the non-working area that the self-propelled device automatically avoids when performing a preset task. For this embodiment, the purpose of determining the task activity restricted area is that, if the cliff sensor set on the self-propelled device fails or is blocked and cannot be triggered normally, and thus cannot judge the cliff area in real time, the self-propelled device can be effectively prevented from falling according to the generated task activity restricted area. While ensuring the normal operation of the self-propelled device, the risk of falling of the self-propelled device in the working process is reduced, and the intelligence level of the self-propelled device is improved.
[0057] In this embodiment, because the unreachable area is determined by the autonomous device in real time during task execution, changes in obstacles in the working environment can cause the unreachable area to change at any time. For example, if a bedroom door opens and closes, it will cause the bedroom to change from an unreachable area to an accessible area. Therefore, simply generating a task activity restricted area based on historically determined unreachable areas can easily affect task execution effectiveness. Due to the unique detection principle of cliff sensors, cliff sensors use infrared (photoelectric) sensors. The infrared sensor emits a beam of light or infrared rays at an object. If no echo is received at a suitable distance, it can be determined that the autonomous device has entered a dangerous area. If the light (echo) is detected, it can be confirmed that the device is in a safe area. If the cliff sensor fails or is not working, making it unable to detect the cliff area, at least one historical trigger record of the cliff sensor can be determined based on at least one task execution result of the autonomous device in the working environment. The task activity restricted area of the autonomous device can then be generated based on at least one historical trigger record. However, historical trigger records can only reflect the cliff areas under historical conditions and cannot truly and accurately represent the triggering results at the current moment. Therefore, generating task activity restricted areas based solely on historical trigger records is also not accurate enough and can easily affect the effect of task execution. In summary, in order to accurately perform anti-fall control on self-propelled equipment and ensure that self-propelled equipment can better perform tasks, in this application, by combining inaccessible areas and historical trigger records, a more accurate task activity restricted area can be determined from multiple dimensions. That is, the task activity restricted area needs to be an inaccessible area that is marked once or multiple times in the environmental map, and it also needs to be a record of being triggered by a cliff sensor (identified as a cliff area by the cliff sensor) in the historical stage.
[0058] 103. Control the self-propelled equipment to perform preset tasks outside the mission activity restricted area.
[0059] For this embodiment, after determining the mission activity restricted area, the self-propelled device can be controlled to execute the preset mission based on the mission activity restricted area. Even if the cliff sensor of the self-propelled device is not triggered, the self-propelled device will automatically avoid the mission activity restricted area to avoid the risk of falling.
[0060] The anti-fall control method for self-propelled devices in this embodiment can first determine the corresponding environmental map of the working environment and the historical trigger records of the cliff sensors set on the self-propelled device in the working environment based on the results of at least one task execution by the self-propelled device in the working environment; further generate the task activity restricted area of the self-propelled device based on the inaccessible areas marked in the environmental map and the historical trigger records; and finally control the self-propelled device to perform the preset task outside the task activity restricted area. The technical solution of this application can generate a task activity restricted area and control the self-propelled device based on the task activity restricted area, effectively reducing the risk of falling of the self-propelled device when the cliff sensor fails or the cliff sensor is blocked, thereby improving the intelligence of the self-propelled device and reducing user losses.
[0061] Furthermore, as a refinement and expansion of the specific implementation of the above embodiment, in order to fully illustrate the specific implementation process in this embodiment, another method for preventing a self-propelled device from falling is provided, as shown in FIG2 , the method comprising:
[0062] 201. Obtain an environmental map of a working environment generated by the self-propelled device in at least one task execution result, wherein the environmental map is marked with an inaccessible area.
[0063] In a specific application scenario, in order to achieve precise positioning control of the self-propelled device, a plurality of sensors may be provided on the main body of the self-propelled device. The plurality of sensors are used to collect environmental data around the main body of the self-propelled device, so as to extract external environmental features based on the environmental data, and construct an environmental map of the space corresponding to the preset height plane of the main body of the self-propelled device based on the external environmental features. Among them, the sensors may include laser radar, visual camera, gyroscope, odometer, etc. Specifically, the self-propelled device may use sensors such as laser radar, visual camera, gyroscope, odometer, etc. to map a SLAM / VSLAM map of a certain height plane of the space where the main body of the self-propelled device is located. The SLAM / VSLAM map has two-dimensional plane coordinates (XY) and a height information (Z). Z is usually the floor height, i.e., 0, i.e., the height of the preset height plane is 0, or it may be other actual detection heights of the sensor, which is not specifically limited here. For this embodiment, inaccessible areas may be further extracted from the environmental map, wherein the inaccessible areas must meet the requirement of being inaccessible once or multiple times after complete cleaning.
[0064] 202. Extract at least one historical triggering record of a cliff sensor provided on the self-propelled device based on at least one task execution result of the self-propelled device in the working environment.
[0065] In this embodiment, the results of at least one mission execution by the autonomous device in the working environment can be first obtained. This at least one mission execution result includes at least one historical trigger record of the cliff sensor being triggered during normal operation. This historical trigger record can, to a certain extent, reflect the cliff areas in the working environment. Therefore, in this embodiment, when the cliff sensor is faulty or non-operating, making it impossible to detect cliff areas, at least one historical trigger record of the cliff sensor installed on the autonomous device can be extracted. By combining the at least one historical trigger record with the inaccessible areas marked on the environmental map, the restricted area for the autonomous device's mission activities can be further determined.
[0066] 203. Determine the restricted area for mission activities of self-propelled equipment based on inaccessible areas and historical trigger records.
[0067] For this embodiment, in a specific application scenario, when determining the restricted zone for mission activities of the self-propelled device based on the inaccessible area and historical trigger records, the trigger points for the cliff area can be first extracted based on the historical trigger records. The trigger points can then be matched with the regional points in the inaccessible area, i.e., to determine whether the inaccessible area is also identified as a cliff area by the cliff sensor. If the trigger points are successfully matched with the regional points in the inaccessible area, it can be determined that the inaccessible area is highly likely to be an area with a height difference, and thus the area can be marked as a restricted zone for mission activities of the self-propelled device. Accordingly, step 203 of the embodiment can specifically include: determining whether there is any regional point in the inaccessible area that matches the trigger point corresponding to the historical trigger record; if so, updating the inaccessible area mark in the environmental map as a restricted zone for mission activities of the self-propelled device.
[0068] In specific application scenarios, in order to avoid misidentification, when generating a task activity restricted area for a self-propelled device, the area can also be displayed in a user-visible form, which can be edited and deleted by the user. Accordingly, the embodiment steps can also include: displaying the task activity restricted area to the user in the environmental map, and adjusting the position and / or size of the task activity restricted area in the environmental map in response to the area adjustment instruction sent by the user.
[0069] 204. In response to determining, based on the current position coordinates of the self-propelled device, that the current position coordinates coincide with the outline coordinates of the mission activity restricted area, control the self-propelled device to execute the preset mission according to the anti-fall trajectory.
[0070] In specific application scenarios, when the cliff sensor fails or is blocked and cannot be triggered normally, the anti-fall trajectory of the self-propelled device can be planned in real time according to the current position coordinates of the self-propelled device, so as to control the self-propelled device to move in a direction away from the mission activity restricted area based on the anti-fall trajectory. Correspondingly, as shown in Figure 3, as an optional method, the anti-fall trajectory may include a first anti-fall trajectory: first determine the contour coordinate point A where the current position coordinates of the self-propelled device coincide with the task activity restricted area, and further plan the first anti-fall trajectory to be A-B1, A-C1,..., A-N1: the self-propelled device takes the coincident contour coordinate point A as the starting point and moves in any direction (B1, C1,..., N1) away from the task activity restricted area; as another optional method, the anti-fall trajectory may include a second anti-fall trajectory: first determine the contour coordinate point A where the current position coordinates of the self-propelled device coincide with the task activity restricted area, and further plan the second anti-fall trajectory to be A-B2, A-C2,..., A-N2: take the coincident contour coordinate point A as the starting point and move along the edge direction (B2, C2,..., N2) of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area. It should be noted that FIG3 only provides several optional tracks of the first anti-fall track and the second anti-fall track for example, and the movable anti-fall track of the self-propelled device is not limited thereto.
[0071] Accordingly, as the autonomous device executes its pre-set tasks, the unreachable areas marked on the environmental map can be updated as the work environment changes. For example, when the autonomous device was executing its pre-set tasks in the original work environment, if it detected the bedroom door was closed before cleaning it, it would mark the bedroom as an unreachable area during the execution of that historical task. If, during a subsequent task, the bedroom door changes from closed to open, the bedroom can be updated from an unreachable area to a reachable area based on the autonomous device's current task execution results in the work environment. Conversely, the bedroom will be updated from a reachable area to an unreachable area.
[0072] In specific application scenarios, since the task activity restricted area is determined based on the inaccessible area in the environmental map and the historical trigger records of the cliff sensor, it is easy to have incorrect planning and omission planning of the task activity restricted area. Therefore, after the cliff sensor resumes normal operation, after obtaining the coordinates of the trigger point where the cliff sensor is triggered, the task activity restricted area in the environmental map can be further adjusted based on the updated inaccessible area and the trigger point coordinates to ensure the authenticity and accuracy of the planned task activity restricted area, and further accurately control the self-propelled equipment to perform the preset task outside the adjusted task activity restricted area. Through the steps of this embodiment, on the one hand, the trigger result and the pre-generated task activity restricted area can be bidirectionally verified and optimized, thereby improving the recognition performance of the self-propelled equipment for the cliff area; on the other hand, the task activity restricted area can be dynamically adjusted based on the real-time trigger result of the cliff sensor, so that the real-time trigger result can conform to the environmental layout of the working environment in real time.
[0073] Accordingly, when adjusting the task activity restricted zone in the environment map based on the updated unreachable area and trigger point coordinates, as an optional method, an unreachable area that has been marked as unreachable in the environment map once or multiple times (the unreachable area has been marked as unreachable at least once in the historical task execution results and the current task execution results) can be first determined. After obtaining the coordinates of the trigger point where the cliff sensor was triggered, any unreachable area whose coordinates coincide with the trigger point coordinates can be determined. It is further determined whether the unreachable area has been marked as a task activity restricted zone (i.e., whether there is a historical trigger record for the unreachable area). If not, the unreachable area is determined as a newly added task activity restricted zone. For example, if area A has been marked as an unreachable area once or multiple times in the environment map, but there is no historical trigger record for the cliff sensor, then in step 203 of the embodiment, area A will not be determined as a task activity restricted zone. When the cliff sensor resumes normal operation, if the coordinates of the trigger point that was triggered are obtained in area A, given that area A has been marked as an unreachable area once or multiple times in the environment map, area A can be updated and determined as a task activity restricted zone.
[0074] In addition, as another optional method, a cliff sensor can be used to identify whether a trigger point still exists in the determined task activity restricted area. If it is determined that the original task activity restricted area no longer has a trigger point (such as the cliff area in the original task activity restricted area has been eliminated), the task activity restricted area can be further deleted from the environment map. For example, if it is determined that the original task activity restricted area no longer has a trigger point, a prompt message indicating that an abnormality exists in the task activity restricted area can be displayed to the user in the environment map, so that the task activity restricted area in the environment map can be adjusted in response to the area adjustment instruction sent by the user (such as deleting the task activity restricted area). For example, area B is marked as an unreachable area in the environment map once or multiple times, and there is a historical trigger record of the cliff sensor. Therefore, in step 203 of the embodiment, area B will be determined as a task activity restricted area. When the cliff sensor resumes normal operation, if it detects that the coordinates of the triggered point no longer exist in area B, a prompt message indicating that there is an abnormality in the task activity restricted area determined in area B can be displayed to the user in the environment map to prompt the user to confirm whether there is a cliff area in area B. If it is determined that there is indeed no cliff area in area B, the mark of area B as the task activity restricted area can be cancelled in the environment map based on the area adjustment instruction sent by the user, and area B can be restored to a normal task execution area.
[0075] By means of the above-mentioned control method for preventing self-propelled equipment from falling, the environmental map of the space where the self-propelled equipment is located in the working environment corresponding to the preset height plane and the historical trigger records of the cliff sensor set on the self-propelled equipment in the working environment can be first determined based on the results of at least one task execution of the self-propelled equipment in the working environment; further, the task activity restricted area of the self-propelled equipment is generated based on the inaccessible areas marked in the environmental map and the historical trigger records; finally, the self-propelled equipment is controlled to perform the preset task outside the task activity restricted area. Through the technical solution in this application, it is possible to comprehensively determine the cliff areas with height differences in the working environment from multiple dimensions, thereby improving the accuracy of cliff area identification, effectively reducing the risk of falling of the self-propelled equipment when the cliff sensor fails or the cliff sensor is blocked, thereby improving the intelligence of the self-propelled equipment and minimizing user losses.
[0076] Furthermore, as an implementation of the method shown in FIG. 1 and FIG. 2 , an embodiment of the present application provides a self-propelled device having a built-in cliff sensor 31 and a driving module 32 , as shown in FIG. 4 , including: a map acquisition module 33 , a control module 34 ;
[0077] A map acquisition module 33, which can be used to collect environmental data in the working environment of the self-propelled device;
[0078] The control module 34 can be used to generate an environmental map with inaccessible areas marked based on environmental data, and generate a task activity restricted area for the self-propelled device in combination with the historical trigger records of the cliff sensor, and control the driving module to drive the self-propelled device to perform a preset task outside the task activity restricted area.
[0079] In a specific application scenario, as shown in FIG4 , the control module 34 includes: a generating unit 341 ;
[0080] The generating unit 341 may be configured to extract external environment features from the environmental data, and construct an environmental map of the working environment based on the external environment features, wherein the environmental map may include inaccessible areas.
[0081] In a specific application scenario, as shown in FIG4 , the control module 34 includes: a determination unit 342 , an update unit 343 ;
[0082] The determination unit 342 may be configured to determine whether there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record;
[0083] The updating unit 343 may be configured to update the unreachable area mark as a task activity restricted area for the self-propelled device in the environment map when it is determined that there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record.
[0084] In a specific application scenario, the control module 34 further includes: a first adjustment unit 344;
[0085] The first adjustment unit 344 may be configured to display the task activity restricted area to the user in the environment map, and adjust the position and / or size of the task activity restricted area in the environment map in response to an area adjustment instruction sent by the user.
[0086] In a specific application scenario, as shown in FIG4 , the control module 34 further includes: a control unit 345 ;
[0087] The control unit 345 may be configured to control the self-propelled device to execute a preset task according to the anti-fall trajectory in response to determining that the current position coordinates of the self-propelled device coincide with the outline coordinates of the task activity restricted area based on the current position coordinates of the self-propelled device;
[0088] Among them, the anti-fall trajectory includes: the self-propelled device takes the overlapping contour coordinate point as the starting point and moves in any direction away from the task activity restricted area, or, takes the overlapping contour coordinate point as the starting point and moves along the edge of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area.
[0089] In a specific application scenario, as shown in FIG4 , the control module 34 further includes: a second adjustment unit 346 ;
[0090] The second adjustment unit 346 can be used to update the inaccessible area in the environmental map according to the current task execution result of the self-propelled device in the working environment, and after obtaining the trigger point coordinates of the cliff sensor being triggered, adjust the task activity restricted area in the environmental map according to the updated inaccessible area and the trigger point coordinates, and control the self-propelled device to perform the preset task outside the adjusted task activity restricted area.
[0091] It should be noted that for other corresponding descriptions of the functional units involved in the self-propelled device provided in this embodiment, reference can be made to the corresponding descriptions in Figures 1 and 2, which will not be repeated here.
[0092] Based on the above method as shown in Figures 1 to 2, this embodiment also provides a non-volatile storage medium on which computer-readable instructions are stored. When the computer-readable instructions are executed by the processor, the above control method for preventing the self-propelled device from falling as shown in Figures 1 to 2 is implemented.
[0093] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, USB flash drive, mobile hard disk, etc.), and includes a number of instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of the present application.
[0094] Based on the above-mentioned method shown in Figures 1 to 2 and the self-propelled device embodiment shown in Figure 4, in order to achieve the above-mentioned purpose, this embodiment also provides a computer device, as shown in Figure 5, which includes a processor (processor) 41, a communication interface (Communications Interface) 42, a memory (memory) 43, and a communication bus 44. Among them: the processor 41, the communication interface 42, and the memory 43 communicate with each other through the communication bus 44. The communication interface 44 is used to communicate with other devices such as network elements of a client or other servers. The processor 41 is used to execute a program, and specifically can execute the relevant steps in the above-mentioned self-propelled device anti-fall control method embodiment. Specifically, the program may include a program code, and the program code includes computer operation instructions. The processor 41 may be a processor CPU, or a specific integrated circuit ASIC (Application Specific Integrated Circuit), or may be configured as one or more integrated circuits.
[0095] Optionally, the computer device may further include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a Wi-Fi module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a Wi-Fi interface), etc.
[0096] Those skilled in the art will understand that the computer device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0097] The non-volatile storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the computer device and supports the execution of information processing programs and other software and / or programs. The network communication module is used to enable communication between components within the non-volatile storage medium and with other hardware and software within the information processing device.
[0098] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus a necessary general hardware platform, or by hardware.
[0099] By applying the technical solution of this application, compared with the current existing technology, this application can first determine the environmental map of the space where the self-propelled device is located in the working environment corresponding to the preset height plane, and the historical trigger records of the cliff sensor set on the self-propelled device in the working environment based on the results of at least one task execution of the self-propelled device in the working environment; further generate the task activity restricted area of the self-propelled device based on the inaccessible areas marked in the environmental map and the historical trigger records; and finally control the self-propelled device to perform the preset task outside the task activity restricted area. The technical solution of this application can effectively reduce the risk of falling of the self-propelled device when the cliff sensor fails or the cliff sensor is blocked, thereby effectively improving the intelligence level of the self-propelled device and reducing user losses.
[0100] Those skilled in the art will understand that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily required to implement the present application. Those skilled in the art will understand that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the implementation scenario description, or can be changed accordingly and located in one or more devices different from the implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple sub-modules.
[0101] The serial numbers of the above application are for descriptive purposes only and do not represent the advantages or disadvantages of the implementation scenarios. The above disclosure only discloses several specific implementation scenarios of the present application, but the present application is not limited thereto. Any changes that can be conceived by those skilled in the art should fall within the scope of protection of the present application.
Claims
1. A control method for preventing a self-propelled device from falling, applied to a self-propelled device with a built-in cliff sensor, wherein: include: Determine, according to at least one task execution result of the self-propelled device in the working environment, an environment map corresponding to the working environment and a historical triggering record of the cliff sensor in the working environment, wherein the environment map is marked with an inaccessible area; Determine a restricted area for mission activities of the self-propelled device based on the inaccessible area and the historical trigger record; The self-propelled device is controlled to perform a preset task outside the task activity restricted area.
2. The method according to claim 1, wherein: The determining, based on at least one task execution result of the self-propelled device in the working environment, an environment map corresponding to the working environment and a historical triggering record of the cliff sensor in the working environment includes: Obtaining an environmental map of the working environment constructed and generated by the self-propelled device in at least one task execution result, wherein the environmental map is constructed and generated by collecting environmental data using sensors configured on the self-propelled device and extracting external environmental features from the environmental data; At least one historical triggering record of a cliff sensor provided on the self-propelled device is extracted according to at least one task execution result of the self-propelled device in the working environment.
3. The method according to claim 1, wherein: The step of determining the task activity restricted area of the self-propelled device based on the inaccessible area and the historical trigger record includes: Determine whether there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record; If so, the unreachable area mark is updated in the environment map as a mission activity restricted area for the self-propelled device.
4. The method according to claim 1, wherein: After determining the task activity restricted area of the self-propelled device according to the inaccessible area and the historical trigger record, the method further includes: The task activity restricted area is displayed to the user in the environment map, and the position and / or size of the task activity restricted area in the environment map is adjusted in response to an area adjustment instruction sent by the user.
5. The method according to claim 1, wherein: The controlling the self-propelled device to perform the preset task outside the task activity restricted area includes: In response to determining, based on the current position coordinates of the self-propelled device, that the current position coordinates coincide with the contour coordinates of the task activity restricted area, controlling the self-propelled device to execute the preset task according to the anti-fall trajectory; Among them, the anti-fall trajectory includes: the self-propelled device takes the overlapping contour coordinate point as the starting point and moves in any direction away from the task activity restricted area, or takes the overlapping contour coordinate point as the starting point and moves along the edge of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area.
6. The method according to claim 1, wherein: The method further comprises: According to the current task execution result of the self-propelled device in the working environment, the inaccessible area in the environmental map is updated, and after the trigger point coordinates of the cliff sensor are obtained, the task activity restricted area in the environmental map is adjusted according to the updated inaccessible area and the trigger point coordinates, and the self-propelled device is controlled to perform the preset task outside the adjusted task activity restricted area.
7. A self-propelled device, with a built-in cliff sensor and a drive module, wherein: include: A map acquisition module, used to collect environmental data in the working environment of the self-propelled device; The control module is used to generate an environmental map with inaccessible areas marked according to the environmental data, generate a task activity restricted area for the self-propelled device in combination with the historical trigger records of the cliff sensor, and control the drive module to drive the self-propelled device to perform a preset task outside the task activity restricted area.
8. The self-propelled device according to claim 7, wherein: The control module includes: a generating unit; The generating unit is used to extract external environment features from the environmental data, and construct an environmental map under the working environment according to the external environment features, wherein the environmental map is marked with inaccessible areas.
9. The self-propelled device according to claim 7, wherein: The control module includes: a determination unit and an update unit; The determining unit is used to determine whether there is any area point in the unreachable area that matches the trigger point corresponding to the historical trigger record; The updating unit is used to determine whether there is a corresponding historical trigger record in the unreachable area. When any area point that matches the corresponding trigger point is recorded, the unreachable area mark is updated in the environment map as a task activity restricted area of the self-propelled device.
10. The self-propelled device according to claim 7, wherein: The control module further includes: a first adjustment unit; The first adjustment unit is used to display the task activity restricted area to the user in the environment map, and adjust the position and / or size of the task activity restricted area in the environment map in response to an area adjustment instruction sent by the user.
11. The self-propelled device according to claim 7, wherein: The control module further comprises: a control unit; The control unit is used to control the self-propelled device to perform the preset task according to the anti-fall trajectory in response to judging that the current position coordinates coincide with the contour coordinates of the task activity restricted area according to the current position coordinates of the self-propelled device; Among them, the anti-fall trajectory includes: the self-propelled device takes the overlapping contour coordinate point as the starting point and moves in any direction away from the task activity restricted area, or takes the overlapping contour coordinate point as the starting point and moves along the edge of the task activity restricted area to other areas in the environmental map that do not belong to the task activity restricted area.
12. The self-propelled device according to claim 7, wherein: The control module further includes: a second adjustment unit; The second adjustment unit is used to update the inaccessible area in the environmental map according to the current task execution result of the self-propelled device in the working environment, and after obtaining the trigger point coordinates where the cliff sensor is triggered, adjust the task activity restricted area in the environmental map according to the updated inaccessible area and the trigger point coordinates, and control the self-propelled device to perform the preset task outside the adjusted task activity restricted area.
13. A storage medium, wherein at least one executable instruction is stored in the storage medium, and the executable instruction enables a processor to execute the control method for preventing a self-propelled device from falling as claimed in any one of claims 1 to 6.
14. A computer device comprising a storage medium, a processor, and a computer program stored in the storage medium and executable on the processor, wherein: When the processor executes the computer program, the control method for preventing a self-propelled device from falling according to any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Control method and device for preventing self-walking equipment from falling
CN116360442A
Path planning method and device for robot, and electronic equipment
CN109240303A
Sweeping control method and device for sweeping robot
CN110338708A
Robot obstacle avoidance method and device and storage medium
CN111427357A
Method and device for robot to execute cleaning work and computer readable storage medium
CN111568307A
