WO2023165329A1 - Map update method for autonomous mobile device, autonomous mobile device, and storage medium - Google Patents
Map update method for autonomous mobile device, autonomous mobile device, and storage medium Download PDFInfo
- Publication number
- WO2023165329A1 WO2023165329A1 PCT/CN2023/075986 CN2023075986W WO2023165329A1 WO 2023165329 A1 WO2023165329 A1 WO 2023165329A1 CN 2023075986 W CN2023075986 W CN 2023075986W WO 2023165329 A1 WO2023165329 A1 WO 2023165329A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- forbidden
- height
- mobile device
- target
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 62
- 238000003860 storage Methods 0.000 title claims abstract description 13
- 230000007613 environmental effect Effects 0.000 claims description 25
- 230000001960 triggered effect Effects 0.000 claims description 2
- 230000008859 change Effects 0.000 abstract description 14
- 230000000007 visual effect Effects 0.000 description 16
- 238000001514 detection method Methods 0.000 description 8
- 238000010586 diagram Methods 0.000 description 6
- 238000009434 installation Methods 0.000 description 6
- 230000002093 peripheral effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000013473 artificial intelligence Methods 0.000 description 2
- 229910044991 metal oxide Inorganic materials 0.000 description 2
- 150000004706 metal oxides Chemical class 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000010408 sweeping Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004140 cleaning Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 230000005484 gravity Effects 0.000 description 1
- 238000011065 in-situ storage Methods 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000010813 municipal solid waste Substances 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 238000005406 washing Methods 0.000 description 1
Classifications
-
- A—HUMAN NECESSITIES
- A47—FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
- A47L—DOMESTIC WASHING OR CLEANING; SUCTION CLEANERS IN GENERAL
- A47L11/00—Machines for cleaning floors, carpets, furniture, walls, or wall coverings
- A47L11/24—Floor-sweeping machines, motor-driven
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05D—SYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
- G05D1/00—Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
- G05D1/02—Control of position or course in two dimensions
Definitions
- the disclosure belongs to the technical field of automatic control, and in particular relates to a map updating method of a self-moving device, a self-moving device and a storage medium.
- Self-moving equipment refers to equipment that can move automatically without manual driving in the target area. Since there may be obstacles affecting the movement of the self-mobile device in the target area, if the self-mobile device collides with the obstacle during the moving process, the work efficiency will be reduced.
- the traditional self-mobile device When the traditional self-mobile device enters the target area for the first time, it will pre-generate the area map of the target area according to the position information of the obstacles in the target area, and control the self-mobile device according to the pre-generated area map during the subsequent work process. move.
- the obstacles may be moved, which will lead to the problem that the pre-generated area map does not match the actual environment of the work area, and the accuracy of the obstacle position information in the area map is not high.
- the present disclosure provides a map update method of a self-mobile device, a self-mobile device and a storage medium, which can solve the problem that obstacles may be moved after the area map is generated by the self-mobile device, which will cause the difference between the pre-generated area map and the working area.
- the actual environment does not match, and the accuracy of the obstacle position information in the area map is not high.
- the disclosure provides the following technical solutions:
- a method for updating a map from a mobile device comprising:
- the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area;
- the area map is updated based on the difference between the first altitude and the second altitude.
- the updating the area map based on the difference between the first height and the second height includes:
- the updating the area map based on the second height includes:
- the second height is less than or equal to a preset height, deleting the forbidden position and the first height in the area map;
- the preset height is determined based on the surface height of the moving surface on which the mobile device is located.
- the target sub-area is determined based on the forbidden position
- the method before acquiring the sub-area information of the target sub-area in the target area, the method further includes:
- the acquiring sub-area information of a target sub-area in the target area includes:
- the acquiring other forbidden positions and third heights of other forbidden areas in the target sub-area based on the sub-area information includes:
- the sub-area position For each sub-area position in the target sub-area, if the sub-area position is not the no-go position, if the position height of the sub-area position is greater than the preset height, the sub-area position will be The position in the area map is determined as the other forbidden position, and the height of the position is determined as the third height.
- the area map also includes an obstacle type corresponding to the forbidden position, and the obstacle type includes a movable type and an immovable type; in the case of moving to the target position, the method further includes:
- the step of detecting the second height at the forbidden position is triggered to be executed.
- a self-moving device in a second aspect, includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to realize the self-moving provided by the first aspect
- the map of the device is more new method.
- a computer-readable storage medium wherein a program is stored in the storage medium, and when the program is executed by a processor, the program is used to implement the method for updating a map from a mobile device provided in the first aspect.
- the beneficial effects of the present disclosure at least include: by controlling the self-mobile device to move in the target area according to the area map, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; when moving to the target position In the case of , detect the second height of the forbidden position; wherein, the distance between the target position and the forbidden position is less than the preset value; update the area map based on the difference between the first height and the second height; it can solve the problem of generating the area from the mobile device After the map, obstacles may be moved, resulting in the problem that the accuracy of obstacle position information in the area map is not high; due to the detection of the second height of the no-go area, and updating the area map based on the difference between the first height and the second height , the area map can be updated according to the change of the height of the prohibited area, therefore, the accuracy of the information of the prohibited area in the area map can be improved.
- the area map is updated based on the second height, and the information of the forbidden area in the target area can be updated in time. Make the area map consistent with the actual environment of the target area, and improve the accuracy of the area map.
- the method of updating the area map based on the second height is determined according to whether the second height is greater than the preset threshold, the first height can be updated to the second height when the second height indicates that the prohibited position is still an impassable position ; In the case that the second height indicates that the prohibited position is a passable position, delete the prohibited position and the first height from the area map. Therefore, the area map update method can be selected according to the size of the second height to improve the accuracy of the area map sex.
- the area map is updated based on the second height, other prohibited positions and third heights of other prohibited areas in the target sub-area are obtained, and other prohibited positions and third heights are recorded in the area map.
- Height in the case of a change in the forbidden area, it can be further determined whether the traffic situation in the target sub-area has changed, and in the case of a change in the traffic situation in the target sub-area, the area map can be updated. Therefore, the area map can be made Conforms to the actual environment of the target area and improves the accuracy of the area map.
- the forbidden area generated after the obstacle moves may be located near the forbidden area generated before the obstacle moves, therefore, it will be compared with The sub-area adjacent to the sub-area where the forbidden position is located is determined as the target sub-area, which can narrow the search range of the forbidden area and improve the update efficiency of the regional map.
- the sub-area information includes the height of each position in the target sub-area, it is possible to determine the other prohibited positions of other prohibited areas in the sub-area and the third position of other prohibited areas in the sub-area according to the height of each position in the sub-area. Height to update the area map and improve the accuracy of the area map.
- the area map is updated based on the location of the sub-area and the height of the location, so the accuracy of the area map can be improved.
- the detection of the forbidden position is only performed when the type of obstacle corresponding to the forbidden position is a movable type
- the second height step above can improve the efficiency of area map update while saving computing resources from mobile devices.
- FIG. 1 is a schematic structural diagram of a mobile device provided by an embodiment of the present disclosure
- FIG. 2 is a schematic diagram of a map updating method from a mobile device provided by an embodiment of the present disclosure
- Fig. 3 is a schematic diagram of an area map provided by an embodiment of the present disclosure.
- Fig. 4 is a block diagram of an apparatus for updating a map from a mobile device provided by an embodiment of the present disclosure
- Fig. 5 is a block diagram of an electronic device provided by an embodiment of the present disclosure.
- orientation words such as “up, down, top, bottom” usually refers to the direction shown in the drawings, or refers to the vertical, vertical Or in the direction of gravity; similarly, for the convenience of understanding and description, “inner and outer” refer to the inner and outer relative to the outline of each component itself, but the above-mentioned orientation words are not used to limit the utility model.
- Line laser sensor It is a sensor that includes a laser generating component, a cylindrical objective lens, and a photosensitive component; when in use, the line laser sensor uses a cylindrical objective lens to expand the laser beam generated by the laser generating component into a strip, and the laser beam is generated on the target object. Diffuse reflection, the reflected light is imaged on the photosensitive component, and the position and shape of the target can be measured by checking the position and shape of the image.
- Fig. 1 is a schematic structural diagram of a mobile device provided by an embodiment of the present disclosure.
- self-moving devices include but are not limited to: sweeping machines, floor washing machines, sweeping and dragging all-in-one machines and other devices with automatic moving functions. This embodiment does not limit the type of self-moving devices.
- the mobile device at least includes a housing 110, an environment sensor 120 and a controller (not shown in the figure).
- the casing 110 is the casing of the mobile device.
- the shape of the casing 110 can be a regular geometric body, such as a circle, a square, or other shapes according to the actual application scene. This embodiment does not limit the shape of the casing 110. Make a limit.
- the casing 110 mainly plays a role of protection and support.
- the casing 110 can be integrally formed, or can be a detachable structure, and this embodiment does not limit the implementation of the casing 110 .
- the structure of the housing 110 is generally flat, such as a disc shape, and the shape of the housing 110 is not limited in this embodiment.
- the environment sensor 120 is located on the casing and is used for collecting environment information.
- the environment sensor 120 may be a visual sensor, a laser sensor or a collision sensor, wherein the visual sensor includes but is not limited to: a charge coupled device (Charge Coupled Device, CCD), a metal oxide semiconductor device (Complementary Metal Oxide Semiconductor, CMOS), etc., a wire Laser sensors include but are not limited to: single-line laser radar, multi-line laser radar, etc., and the type of the environment sensor 120 is not limited in this embodiment.
- the environment sensor 120 includes a line laser sensor, and correspondingly, the environment information is a sensing signal collected by the line laser sensor.
- the environment sensor 120 includes a vision sensor, and correspondingly, the environment information is image information collected by the vision sensor.
- the environmental sensor 120 may be located on the top and/or side of the housing 110, and the collection range of the environmental sensor includes but is not limited to: from the front of the traveling direction of the mobile device, from the left side of the traveling direction of the mobile device, and/or From the right side of the traveling direction of the mobile device, this embodiment does not limit the specific installation location and collection range of the environmental sensor 120 .
- the environment sensor 120 is connected with the controller to collect environment information under the control of the controller.
- the controller may be a micro-control unit installed inside the mobile device, or any component with a control function, and this embodiment does not limit the type of the controller.
- the controller is used to: control the self-mobile device to move in the target area according to the area map, and the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; In the case of , detect the second height at the prohibited position; wherein, the distance between the target position and the prohibited position is less than a preset value; update the area map based on the difference between the first height and the second height.
- detecting the second height at the prohibited position includes: determining the second height based on environmental information collected by the environmental sensor 120 at the prohibited position.
- the self-moving device may also include other components, such as a battery pack, a side brush, etc., and this embodiment does not list all the components included in the self-moving device here.
- the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; when moving to the target position , detect the second height on the forbidden position; wherein, the distance between the target position and the forbidden position is less than a preset value; update the area map based on the difference between the first height and the second height; can solve the problem after the area map is generated from the mobile device , the obstacle may be moved, resulting in the problem that the accuracy of the obstacle position information in the area map is not high; since the second height of the no-go area is detected, and the area map is updated based on the difference between the first height and the second height, it can be The area map is updated according to the height change of the prohibited area, so the accuracy of the information of the prohibited area in the area map can be improved.
- FIG. 2 A method for updating a map from a mobile device provided in this embodiment is shown in FIG. 2 .
- the method is used in the self-mobile device shown in FIG. 1 as an example for illustration. In other embodiments, it can also be executed by other devices connected to the self-mobile device, such as: remote control of cleaning devices through mobile phones, computers, tablet computers and other devices.
- the executive body is limited.
- the map update method from the mobile device at least includes the following steps:
- Step 201 controlling the mobile device to move within the target area according to the area map.
- the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area.
- a forbidden area refers to an area where a mobile device cannot pass through, for example, an area where obstacles are located.
- the forbidden position refers to the position of the forbidden area.
- the no-go location includes an edge location of the no-go area.
- the first height refers to the height of the forbidden position recorded in the area map.
- the first height may be determined when the area map is constructed; or it may be determined when the area map is updated last time. This embodiment does not limit the source of the first height recorded in the area map.
- controlling the self-mobile device to move in the target area according to the area map includes: controlling the self-mobile device to move along the forbidden position.
- controlling the self-mobile device to move along the forbidden position includes: generating a moving track along the edge based on the forbidden position; controlling the self-mobile device to move in the target area according to the moving track along the side.
- generating the edge-along movement track based on the forbidden position includes: moving the forbidden position away from the forbidden area by a preset offset distance to obtain the edge-along movement track.
- the preset offset distance prevents the self-mobile device from colliding with obstacles, and the environment sensor installed on the self-mobile device can collect the environmental information of the forbidden position.
- control the self-mobile device to move in the target area according to the area map for example: generate the shortest working track of the self-mobile device based on the forbidden position; control the self-mobile device to move in the target area according to the shortest working track Movement, this embodiment does not limit the manner in which the mobile device is controlled to move within the target area according to the area map.
- Step 202 in the case of moving to the target position, detect the second height of the forbidden position.
- the distance between the target position and the prohibited position is smaller than a preset value, so that the prohibited position is within the collection range of the environmental sensor on the mobile device.
- the preset value is determined according to the farthest information collection distance of the environmental sensor.
- the preset value is smaller than the furthest information collection distance of the environmental sensor. For example, if the furthest information collection distance of the environmental sensor is 50 centimeters, the preset value is less than 50 centimeters.
- the second height refers to: the current height of the forbidden position.
- detecting the second height of the no-go position includes: determining the current position of the self-mobile device during the movement of the self-mobile device in the target area; In this case, detect the second height of the forbidden position.
- ways to determine the current location of the mobile device include but are not limited to the following:
- the first method acquire the posture information of the mobile device during the movement; determine the current position of the mobile device based on the posture information.
- the attitude information includes: the distance and direction angle from the position at each moment of the mobile device relative to the position at the previous moment.
- the attitude information is collected from an attitude sensor installed in the mobile device.
- the attitude sensor may be an odometer, or may also be an inertial sensor, and this embodiment does not limit the type of the attitude sensor.
- the second type obtaining the current environment information of the current location of the mobile device; determining the current location of the mobile device based on the similarity between the current environment information and the pre-collected location environment information of different locations in the target area.
- the pre-collected environmental information of different locations in the target area is pre-stored in the self-mobile device.
- the environmental information can be collected by a visual sensor.
- the environmental information is the image information of the current location; or, it can also be collected by a laser sensor.
- the environmental information is the laser sensor signal collected at the current location. This example does not limit the collection equipment of environmental information and the type of environmental information.
- determining the current location of the self-mobile device based on the similarity between the current environment information and the pre-collected location environment information of different locations in the target area includes: determining the location corresponding to the location environment information with the highest similarity to the current environment information Determined as from the current location of the mobile device.
- the third method acquiring the wireless positioning signal of the current location of the mobile device; determining the current location of the mobile device based on the wireless positioning signal.
- the wireless positioning signal may be a satellite positioning signal, a WiFi signal, a Bluetooth signal, or an ultra-wideband (Ultra Wide Band, UWB) signal, and this embodiment does not limit the type of the wireless positioning signal.
- UWB Ultra Wide Band
- determining the second height of the forbidden position based on the environmental information includes but is not limited to the following situations:
- the environment sensor includes a line laser sensor.
- the environment information is a sensing signal obtained by reflecting the line laser from the forbidden position collected by the line laser sensor.
- determining the second height of the forbidden position based on the environmental information includes: determining the signal distance between the sudden change signal corresponding to the moving surface where the mobile device is located and the sudden change signal corresponding to the forbidden position in the sensing signal; determining the height based on the signal distance The second height of the no-go position.
- the abrupt change signal is used to indicate the position where the height changes within the sensing range of the line laser sensor.
- the line laser emitted by the line laser sensor forms a preset angle with the horizontal plane, and the preset angle is not equal to zero.
- the line laser is not parallel to the horizontal plane, so that it will not only scan the information of one height of the forbidden position, so as to more comprehensively ensure the scanning to the forbidden position.
- the line laser is perpendicular to the horizontal plane, that is, the preset angle is 90 degrees.
- determining the second height of the prohibited position based on the signal distance includes: determining the second height of the prohibited position based on the signal distance and a preset angle.
- determining the second height of the prohibited position based on the environmental information includes: determining the projection height of the prohibited position on the image sensing component of the visual sensor based on the image information; obtaining the distance between the visual sensor and the prohibited position; , the distance between the lens of the visual sensor and the image sensing component and the distance between the visual sensor and the prohibited position determine the second height of the prohibited position.
- the distance between the lens of the visual sensor and the image sensing component is pre-stored in the mobile device.
- obtaining the distance between the visual sensor and the prohibited location includes: obtaining the distance from the mobile device to the prohibited location; determining the visual sensor and the prohibited location based on the distance from the mobile device to the prohibited location and the installation position of the visual sensor distance.
- obtaining the distance between the edge of the self-mobile device and the prohibited position includes: obtaining current location information of the mobile device; and determining the distance between the mobile device and the prohibited position based on the current position information of the mobile device.
- the current location information is represented by the centroid position of the self-mobile device, and correspondingly, the distance between the self-mobile device and the forbidden position is the distance between the centroid position of the self-mobile device and the forbidden position.
- the visual sensor when collecting the environmental information of the forbidden location, is facing the forbidden location. distance, including: obtaining the installation distance between the installation position of the vision sensor and the centroid position of the mobile device; The difference between the distance of the walking position and the installation distance is determined as the distance between the vision sensor and the forbidden position.
- the installation distance is pre-stored in the mobile device.
- the height of the forbidden position is determined based on the projection height, the distance between the image sensing component and the lens of the visual sensor, and the distance between the visual sensor and the forbidden position, expressed by the following formula:
- H is the second height of the forbidden position
- L is the distance between the visual sensor and the forbidden position
- h is the projection height
- f is the distance between the lens of the visual sensor and the image sensing component.
- Step 203 updating the area map based on the difference between the first height and the second height.
- updating the area map based on the difference between the first height and the second height includes: updating the area map based on the second height when the second height is different from the first height; In the same case, the area map is not updated.
- updating the area map based on the second height includes: updating the first height in the area map to the second height when the second height is greater than the preset height; In the case of , delete the forbidden position and the first height in the area map.
- the preset height is determined based on the surface height of the mobile surface on which the mobile device is located.
- the difference between the preset height and the surface height is less than or equal to the maximum height that can be crossed by the mobile device.
- the difference between the preset height and the surface height is equal to the maximum height that the self-mobile device can cross, and at this time, the self-mobile device cannot pass through a position whose height is greater than the preset height.
- the self-mobile device still cannot pass through from the no-go position. Therefore, only the height of the no-go area needs to be updated at this time, that is, the first The altitude is updated to the second altitude to update the area map.
- the self-mobile device can pass from the forbidden position, and the forbidden position is no longer an impassable position at this time, therefore, it is necessary to set the forbidden position in the area map and the first height removed to update the area map.
- it in order to further determine whether the traffic situation in the vicinity of the no-go area changes, therefore, after updating the area map based on the second height, it also includes: obtaining the target sub-area in the target area The sub-area information of the target sub-area is determined based on the forbidden position; based on the sub-area information, other forbidden positions and the third height of other forbidden areas in the target sub-area are obtained; other forbidden areas are recorded in the area map location and third height.
- prohibited areas refer to: prohibited areas not recorded in the area map.
- Other forbidden positions refer to the positions of other forbidden areas.
- other forbidden locations include other forbidden The edge position of the region.
- the third height refers to: the height of other forbidden positions.
- the method before acquiring the sub-area information of the target sub-area in the target area, the method further includes: determining the target sub-area based on the forbidden position.
- the ways of determining the target sub-area based on the prohibited location include but are not limited to the following:
- the first method divide the target area into at least two sub-areas; determine the sub-areas adjacent to the sub-area where the prohibited position is located as the target sub-area.
- adjacent sub-regions means: two sub-regions have a common edge, or two sub-regions have a common vertex.
- the second type take the prohibited position as the centroid, and generate a target sub-area of a preset shape according to a preset size.
- the preset size and preset shape are pre-stored in the self-mobile device.
- the preset shape can be a circle, and in this case, the preset size is the radius; or, it can also be a square, and in this case, the preset size is the length of the diagonal line. This embodiment does not specify the type of the preset shape and the preset size.
- the preset shape is a circle, with the forbidden position as the centroid, and the target sub-area of the preset shape is generated according to the preset size, including: taking the forbidden position as the center and the preset size as the radius In the circular area, the area other than the area where the obstacle is located is determined as the target sub-area.
- generating a preset-shaped target sub-area according to a preset size includes: moving the forbidden position to a direction away from the forbidden area by a preset size to obtain the boundary position of the target area ; Determine the area between the forbidden position and the boundary position of the target area as the target sub-area.
- the third method divide the target area into at least two sub-areas; determine the sub-area where the prohibited position is located as the target sub-area.
- the study is determined as the target sub-area.
- the target sub-area may also be determined in other manners, and this embodiment does not limit the manner of determining the target sub-area.
- the sub-area information includes location height.
- acquiring the sub-area information of the target sub-area in the target area includes: controlling the collection of the location heights of each position in the target sub-area from the mobile device.
- controlling the self-mobile device to collect the height of each position in the target sub-area includes: controlling the self-mobile device to move within the target sub-area; the height of each location.
- controlling the collection of the altitude of each position in the target sub-area from the mobile device includes: controlling the self-mobile device to rotate in situ; determining each position in the target sub-area based on the environmental information of the target sub-area collected during the rotation set height.
- obtaining other forbidden positions and third heights of other forbidden areas in the target sub-area based on the sub-area information includes: for each sub-area position in the target sub-area, if the sub-area position is not In the case of a prohibited position, if the position height of the sub-area position is greater than the preset height, the position of the sub-area position in the area map is determined as another prohibited position, and the height of the position is determined as the third height.
- the area map also includes the obstacle type corresponding to the forbidden position
- the obstacle type includes movable type and immovable type
- the method also includes: the obstacle corresponding to the forbidden position
- the type is a movable type
- the obstacle type corresponding to the forbidden position is an immovable type, do not perform the detection of the second height on the forbidden position. height steps.
- the movable type refers to the obstacle type whose position can be changed, such as: tables, chairs, trash cans, slippers, wires and other obstacles.
- the immovable type refers to the type of obstacle with a fixed position, such as: walls, fixed cabinets and other obstacles.
- the detection of the second height at the prohibited position is performed only when the type of obstacle corresponding to the prohibited position is a movable type
- the steps can improve the efficiency of area map update and save computing resources from mobile devices at the same time.
- a in Figure 3 is the initial map of the target area, the shaded part is the forbidden area, and there are four obstacles formed by obstacle 1, obstacle 2, obstacle 3 and obstacle 4 in the target area Forbidden area, where obstacle 1 is a movable obstacle.
- b in Fig. 3 is the updated area map formed after the obstacle 1 is moved. Since the no-go area generated after the obstacle 1 moves (the no-go area corresponding to the obstacle 1 in b in Figure 3) is located in the no-go area generated before the obstacle 1 moves (the no-go area corresponding to the obstacle 1 in the a of Fig. Therefore, when it is determined that the forbidden area changes, the target sub-area is generated based on the forbidden position, which can narrow the search range of the forbidden area and improve the update efficiency of the area map.
- the method for updating the map of the self-mobile device includes: controlling the self-mobile device to move in the target area according to the area map, and the area map is marked with prohibited positions and prohibited areas in the target area.
- the first height of the area in the case of moving to the target position, detect the second height of the prohibited position; wherein, the distance between the target position and the prohibited position is less than a preset value; update based on the difference between the first height and the second height Area map; it can solve the problem that obstacles may be moved after the area map is generated from the mobile device, resulting in low accuracy of obstacle position information in the area map; due to the detection of the second height of the forbidden area, and based on the first
- the difference between the first height and the second height updates the area map, and the area map can be updated according to the height change of the prohibited area, so the accuracy of the information of the prohibited area in the area map can be improved.
- the area map is updated based on the second height, and the information of the forbidden area in the target area can be updated in time. Make the area map consistent with the actual environment of the target area, and improve the accuracy of the area map.
- the method of updating the area map based on the second height is determined according to whether the second height is greater than the preset threshold, the first height can be updated to the second height when the second height indicates that the prohibited position is still an impassable position ; In the case that the second height indicates that the prohibited position is a passable position, delete the prohibited position and the first height from the area map. Therefore, the area map update method can be selected according to the size of the second height to improve the accuracy of the area map sex.
- the area map is updated based on the second height, other prohibited positions and third heights of other prohibited areas in the target sub-area are obtained, and other prohibited positions and third heights are recorded in the area map.
- Height in the case of a change in the forbidden area, it can be further determined whether the traffic situation in the target sub-area has changed, and in the case of a change in the traffic situation in the target sub-area, the area map can be updated. Therefore, the area map can be made Conforms to the actual environment of the target area and improves the accuracy of the area map.
- the forbidden area generated after the obstacle moves may be located near the forbidden area generated before the obstacle moves, therefore, it will be compared with The sub-area adjacent to the sub-area where the forbidden position is located is determined as the target sub-area, which can narrow the search range of the forbidden area and improve the update efficiency of the regional map.
- the sub-area information includes the height of each position in the target sub-area, it is possible to determine the other prohibited positions of other prohibited areas in the sub-area and the third position of other prohibited areas in the sub-area according to the height of each position in the sub-area. Height to update the area map and improve the accuracy of the area map.
- the area map is updated based on the location of the sub-area and the height of the location, so the accuracy of the area map can be improved.
- the detection of the forbidden position is only performed when the type of obstacle corresponding to the forbidden position is a movable type
- the second height step above can improve the efficiency of area map update while saving computing resources from mobile devices.
- This embodiment provides an apparatus for updating a map from a mobile device, as shown in FIG. 4 .
- the device is applied to the controller of the self-mobile device shown in FIG. 1 , and the device includes at least the following modules: a movement control module 410 , an altitude detection module 420 and a map update module 430 .
- a mobile control module 410 configured to control the self-mobile device to move within the target area according to the area map;
- the height detection module 420 is used to detect the second height of the forbidden position when moving to the target position
- a map updating module 430 configured to update the area map based on the difference between the first height and the second height.
- the map updating device of the self-mobile device when the map updating device of the self-mobile device provided in the above-mentioned embodiment updates the map of the self-mobile device, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, it can be divided into The above function allocation is accomplished by different functional modules, that is, the internal structure of the map update device of the self-mobile device is divided into different functional modules to complete all or part of the functions described above.
- the device for updating the map of the self-mobile device provided by the above-mentioned embodiment and the embodiment of the method for updating the map of the self-mobile device belong to the same concept, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
- the electronic device may be the self-mobile device in FIG. 1 .
- the electronic device includes at least a processor 501 and a memory 502 .
- the processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like.
- Processor 501 can adopt at least one hardware form in DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish.
- Processor 501 may also include a main processor and a coprocessor, and the main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit, central processing unit); the coprocessor is Low-power processor for processing data in standby state.
- CPU Central Processing Unit, central processing unit
- the coprocessor is Low-power processor for processing data in standby state.
- the processor 501 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content to be displayed on the display screen.
- the processor 501 may also include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
- AI Artificial Intelligence, artificial intelligence
- Memory 502 may include one or more computer-readable storage media, which may be non-transitory.
- the memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices.
- the non-transitory computer-readable storage medium in the memory 502 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 501 to realize the self-moving provided by the method embodiment of the present disclosure.
- the device's map update method is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 501 to realize the self-moving provided by the method embodiment of the present disclosure.
- the electronic device may optionally further include: a peripheral device interface and at least one peripheral device.
- the processor 501, the memory 502, and the peripheral device interface may be connected through a bus or a signal line.
- Each peripheral device can be connected with the peripheral device interface through a bus, a signal line or a circuit board.
- peripheral devices include but are not limited to: radio frequency circuits, touch screens, audio circuits, and power supplies.
- the electronic device may also include fewer or more components, which is not limited in this embodiment.
- the present disclosure also provides a self-mobile device, which includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement the method for updating the map of the self-mobile device in the above method embodiment .
- the present disclosure also provides a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the method for updating a map from a mobile device in the above method embodiment.
Landscapes
- Engineering & Computer Science (AREA)
- Aviation & Aerospace Engineering (AREA)
- Radar, Positioning & Navigation (AREA)
- Remote Sensing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
A map update method for an autonomous mobile device, an autonomous mobile device, and a storage medium. The method comprises: controlling the autonomous mobile device to move in a target area according to an area map (201), a forbidden position of a forbidden area in the target area and the first altitude of the forbidden area being marked in the area map; measuring a second altitude of the forbidden area when moving to a target position (202); and updating the area map on the basis of a difference between the first altitude and the second altitude (203). The problem that after the autonomous mobile device generates the area target, an obstacle may be moved, causing that the accuracy of position information of the obstacle in the area map is not high can be solved; and the second altitude of the forbidden area is measured, the area map is updated on the basis of the difference between the first altitude and the second altitude, the area map can be updated according to the change in the altitude of the forbidden area, and therefore, the accuracy of information of the forbidden area in the area map can be improved.
Description
本公开要求如下专利申请的优先权:于2022年03月03日提交中国专利局、申请号为202210208734.3、发明名称为“自移动设备的地图更新方法、自移动设备及存储介质”的中国专利申请;上述专利申请的全部内容通过引用结合在本公开中。This disclosure claims the priority of the following patent application: a Chinese patent application submitted to the China Patent Office on March 3, 2022, with the application number 202210208734.3, and the title of the invention is "map update method from mobile device, self-mobile device and storage medium" ; the entire content of the above patent application is incorporated by reference in this disclosure.
本公开属于自动控制技术领域,具体涉及一种自移动设备的地图更新方法、自移动设备及存储介质。The disclosure belongs to the technical field of automatic control, and in particular relates to a map updating method of a self-moving device, a self-moving device and a storage medium.
自移动设备是指可以在目标区域内无需人工驱动即可实现自动移动的设备。由于目标区域中可能存在影响自移动设备移动的障碍物,自移动设备在移动过程中如果与障碍物发生碰撞,则会导致工作效率降低的问题。Self-moving equipment refers to equipment that can move automatically without manual driving in the target area. Since there may be obstacles affecting the movement of the self-mobile device in the target area, if the self-mobile device collides with the obstacle during the moving process, the work efficiency will be reduced.
传统的自移动设备在第一次进入目标区域工作时,会根据目标区域中障碍物的位置信息预先生成目标区域的区域地图,并在之后的工作过程中控制自移动设备按照预先生成的区域地图移动。When the traditional self-mobile device enters the target area for the first time, it will pre-generate the area map of the target area according to the position information of the obstacles in the target area, and control the self-mobile device according to the pre-generated area map during the subsequent work process. move.
然而,在自移动设备生成区域地图后,障碍物可能会被移动,这就会导致预先生成的区域地图与工作区域的实际环境不符,区域地图中障碍物位置信息的准确性不高的问题。However, after the area map is generated from the mobile device, the obstacles may be moved, which will lead to the problem that the pre-generated area map does not match the actual environment of the work area, and the accuracy of the obstacle position information in the area map is not high.
发明内容Contents of the invention
本公开提供了自移动设备的地图更新方法、自移动设备及存储介质,可以解决在自移动设备生成区域地图后,障碍物可能会被移动,这就会导致预先生成的区域地图与工作区域的实际环境不符,区域地图中障碍物位置信息的准确性不高的问题。本公开提供如下技术方案:The present disclosure provides a map update method of a self-mobile device, a self-mobile device and a storage medium, which can solve the problem that obstacles may be moved after the area map is generated by the self-mobile device, which will cause the difference between the pre-generated area map and the working area. The actual environment does not match, and the accuracy of the obstacle position information in the area map is not high. The disclosure provides the following technical solutions:
第一方面,提供一种自移动设备的地图更新方法,所述方法包括:In a first aspect, a method for updating a map from a mobile device is provided, the method comprising:
控制所述自移动设备按照区域地图在目标区域内移动,所述区域地图标记有所述目标区域内禁行区域的禁行位置和禁行区域的第一高度;controlling the self-mobile device to move in the target area according to the area map, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area;
在移动至目标位置的情况下,检测所述禁行位置的第二高度;其中,所述目标位置与所述禁行位置的距离小于预设值;In the case of moving to the target position, detecting the second height of the forbidden position; wherein, the distance between the target position and the forbidden position is less than a preset value;
基于所述第一高度和所述第二高度的差异更新所述区域地图。The area map is updated based on the difference between the first altitude and the second altitude.
可选地,所述基于所述第一高度和所述第二高度的差异更新所述区域地图,包括:
Optionally, the updating the area map based on the difference between the first height and the second height includes:
在所述第二高度与所述第一高度不相同的情况下,基于所述第二高度更新所述区域地图。Where the second altitude is different from the first altitude, updating the area map based on the second altitude.
可选地,所述基于所述第二高度更新所述区域地图,包括:Optionally, the updating the area map based on the second height includes:
在所述第二高度大于预设高度的情况下,将所述区域地图中的所述第一高度更新为所述第二高度;In the case that the second height is greater than a preset height, updating the first height in the area map to the second height;
在所述第二高度小于或等于预设高度的情况下,将所述区域地图中的所述禁行位置和所述第一高度删除;In the case that the second height is less than or equal to a preset height, deleting the forbidden position and the first height in the area map;
其中,所述预设高度基于所述自移动设备所在移动表面的表面高度确定。Wherein, the preset height is determined based on the surface height of the moving surface on which the mobile device is located.
可选地,所述基于所述第二高度更新所述区域地图之后,还包括:Optionally, after updating the area map based on the second height, it further includes:
获取所述目标区域内目标子区域的子区域信息,所述目标子区域基于所述禁行位置确定;Acquiring sub-area information of a target sub-area within the target area, the target sub-area is determined based on the forbidden position;
基于所述子区域信息获取所述目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,所述其它禁行区域是指所述区域地图中未记录的禁行区域;Based on the sub-area information, other forbidden positions and third heights of other forbidden areas in the target sub-area are obtained, and the other forbidden areas refer to forbidden areas that are not recorded in the area map area;
在所述区域地图中记录所述其它禁行位置和所述第三高度。Recording the other forbidden positions and the third altitude in the area map.
可选地,所述获取所述目标区域内目标子区域的子区域信息之前,还包括:Optionally, before acquiring the sub-area information of the target sub-area in the target area, the method further includes:
将所述目标区域划分为至少两个子区域;将所述禁行位置所在的子区域相邻的子区域确定为所述目标子区域;Dividing the target area into at least two sub-areas; determining a sub-area adjacent to the sub-area where the forbidden position is located as the target sub-area;
或者,or,
以所述禁行位置为形心,按照预设尺寸生成预设形状的目标子区域。Taking the forbidden position as a centroid, generate a target sub-area with a preset shape according to a preset size.
可选地,所述获取所述目标区域内目标子区域的子区域信息,包括:Optionally, the acquiring sub-area information of a target sub-area in the target area includes:
控制所述自移动设备采集所述目标子区域中各个位置的位置高度,所述子区域信息包括所述位置高度。Controlling the self-mobile device to collect the position heights of each position in the target sub-area, where the sub-area information includes the position heights.
可选地,所述基于所述子区域信息获取所述目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,包括:Optionally, the acquiring other forbidden positions and third heights of other forbidden areas in the target sub-area based on the sub-area information includes:
对于所述目标子区域中的每个子区域位置,在所述子区域位置不是所述禁行位置的情况下,若所述子区域位置的位置高度大于预设高度,则将所述子区域位置在所述区域地图中的位置确定为所述其它禁行位置、将所述位置高度确定为所述第三高度。For each sub-area position in the target sub-area, if the sub-area position is not the no-go position, if the position height of the sub-area position is greater than the preset height, the sub-area position will be The position in the area map is determined as the other forbidden position, and the height of the position is determined as the third height.
可选地,所述区域地图还包括所述禁行位置对应的障碍物类型,所述障碍物类型包括可移动类型和不可移动类型;在移动至目标位置的情况下,所述方法还包括:Optionally, the area map also includes an obstacle type corresponding to the forbidden position, and the obstacle type includes a movable type and an immovable type; in the case of moving to the target position, the method further includes:
在所述禁行位置对应的障碍物类型为所述可移动类型的情况下,触发执行所述检测所述禁行位置上的第二高度的步骤。In a case where the obstacle type corresponding to the forbidden position is the movable type, the step of detecting the second height at the forbidden position is triggered to be executed.
第二方面,提供一种自移动设备,所述自移动设备包括处理器和存储器;所述存储器中存储有程序,所述程序由所述处理器加载并执行以实现第一方面提供的自移动设备的地图更
新方法。In a second aspect, a self-moving device is provided, the self-moving device includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to realize the self-moving provided by the first aspect The map of the device is more new method.
第三方面,提供一种计算机可读存储介质,所述存储介质中存储有程序,所述程序被处理器执行时用于实现第一方面提供的自移动设备的地图更新方法。In a third aspect, a computer-readable storage medium is provided, wherein a program is stored in the storage medium, and when the program is executed by a processor, the program is used to implement the method for updating a map from a mobile device provided in the first aspect.
本公开的有益效果至少包括:通过控制自移动设备按照区域地图在目标区域内移动,区域地图标记有目标区域内禁行区域的禁行位置和禁行区域的第一高度;在移动至目标位置的情况下,检测禁行位置的第二高度;其中,目标位置与禁行位置的距离小于预设值;基于第一高度和第二高度的差异更新区域地图;可以解决在自移动设备生成区域地图后,障碍物可能会被移动,导致区域地图中障碍物位置信息的准确性不高的问题;由于检测禁行区域的第二高度,并且基于第一高度和第二高度的差异更新区域地图,可以根据禁行区域高度变化情况更新区域地图,因此,可以提高区域地图中禁行区域信息的准确性。The beneficial effects of the present disclosure at least include: by controlling the self-mobile device to move in the target area according to the area map, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; when moving to the target position In the case of , detect the second height of the forbidden position; wherein, the distance between the target position and the forbidden position is less than the preset value; update the area map based on the difference between the first height and the second height; it can solve the problem of generating the area from the mobile device After the map, obstacles may be moved, resulting in the problem that the accuracy of obstacle position information in the area map is not high; due to the detection of the second height of the no-go area, and updating the area map based on the difference between the first height and the second height , the area map can be updated according to the change of the height of the prohibited area, therefore, the accuracy of the information of the prohibited area in the area map can be improved.
另外,在第二高度与第一高度不相同的情况下,确定目标区域中的禁行区域发生改变,此时,基于第二高度更新区域地图,可以及时更新目标区域中禁行区域的信息,使区域地图与目标区域的实际环境相符,提高区域地图的准确性。In addition, when the second height is not the same as the first height, it is determined that the forbidden area in the target area has changed. At this time, the area map is updated based on the second height, and the information of the forbidden area in the target area can be updated in time. Make the area map consistent with the actual environment of the target area, and improve the accuracy of the area map.
另外,由于根据第二高度是否大于预设阈值确定基于第二高度更新区域地图的方式,可以在第二高度指示禁行位置仍为不可通行位置的情况下,将第一高度更新为第二高度;在第二高度指示禁行位置为可通行位置的情况下,从区域地图中删除禁行位置和第一高度,因此,可以根据第二高度的大小选择区域地图更新方式,提高区域地图的准确性。In addition, because the method of updating the area map based on the second height is determined according to whether the second height is greater than the preset threshold, the first height can be updated to the second height when the second height indicates that the prohibited position is still an impassable position ; In the case that the second height indicates that the prohibited position is a passable position, delete the prohibited position and the first height from the area map. Therefore, the area map update method can be selected according to the size of the second height to improve the accuracy of the area map sex.
另外,由于在基于第二高度更新区域地图之后,获取目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,并在区域地图中记录其它禁行位置和第三高度,可以在禁行区域发生改变的情况下,进一步确定目标子区域内的通行情况是否发生改变,在目标子区域内的通行情况发生改变的情况下,更新区域地图,因此,可以使区域地图与目标区域的实际环境相符,提高区域地图的准确性。In addition, after the area map is updated based on the second height, other prohibited positions and third heights of other prohibited areas in the target sub-area are obtained, and other prohibited positions and third heights are recorded in the area map. Height, in the case of a change in the forbidden area, it can be further determined whether the traffic situation in the target sub-area has changed, and in the case of a change in the traffic situation in the target sub-area, the area map can be updated. Therefore, the area map can be made Conforms to the actual environment of the target area and improves the accuracy of the area map.
另外,在障碍物移动导致禁行区域改变时,由于障碍物移动的距离可能很小,障碍物移动后产生的禁行区域可能位于障碍物移动前产生的禁行区域的附近,因此,将与禁行位置所在子区域相邻的子区域确定为目标子区域,可以缩小禁行区域的搜索范围,提高区域地图的更新效率。In addition, when the movement of the obstacle causes the forbidden area to change, since the moving distance of the obstacle may be very small, the forbidden area generated after the obstacle moves may be located near the forbidden area generated before the obstacle moves, therefore, it will be compared with The sub-area adjacent to the sub-area where the forbidden position is located is determined as the target sub-area, which can narrow the search range of the forbidden area and improve the update efficiency of the regional map.
另外,由于子区域信息包括目标子区域中各个位置的高度,因此,可以根据子区域中各个位置的位置高度确定子区域中的其它禁行区域的其它禁行位置和其它禁行区域的第三高度,以对区域地图进行更新,提高区域地图的准确性。In addition, since the sub-area information includes the height of each position in the target sub-area, it is possible to determine the other prohibited positions of other prohibited areas in the sub-area and the third position of other prohibited areas in the sub-area according to the height of each position in the sub-area. Height to update the area map and improve the accuracy of the area map.
另外,由于在子区域位置不是禁行位置,且位置高度大于预设高度的情况下,基于子区域位置和位置高度更新区域地图,因此,可以提高区域地图的准确性。
In addition, since the location of the sub-area is not a prohibited location and the height of the location is greater than the preset height, the area map is updated based on the location of the sub-area and the height of the location, so the accuracy of the area map can be improved.
另外,由于只有可移动类型的障碍物形成禁行区域的禁行位置和第一高度才可能发生改变,所以在禁行位置对应的障碍物类型为可移动类型的情况下才执行检测禁行位置上的第二高度的步骤,可以提高区域地图更新的效率,同时节省自移动设备的计算资源。In addition, since the forbidden position and the first height of the forbidden area formed by movable obstacles can only be changed, the detection of the forbidden position is only performed when the type of obstacle corresponding to the forbidden position is a movable type The second height step above can improve the efficiency of area map update while saving computing resources from mobile devices.
为了更清楚地说明本公开具体实施方式或现有技术中的技术方案,下面将对具体实施方式或现有技术描述中所需要使用的附图作简单地介绍,显而易见,下面描述中的附图是本公开的一些实施方式,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the accompanying drawings that need to be used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the accompanying drawings in the following description These are some implementations of the present disclosure. For those skilled in the art, other drawings can also be obtained according to these drawings without creative work.
图1是本公开一个实施例提供的自移动设备的结构示意图;FIG. 1 is a schematic structural diagram of a mobile device provided by an embodiment of the present disclosure;
图2是本公开一个实施例提供的自移动设备的地图更新方法的示意图;FIG. 2 is a schematic diagram of a map updating method from a mobile device provided by an embodiment of the present disclosure;
图3是本公开一个实施例提供的区域地图的示意图;Fig. 3 is a schematic diagram of an area map provided by an embodiment of the present disclosure;
图4是本公开一个实施例提供的自移动设备的地图更新装置的框图;Fig. 4 is a block diagram of an apparatus for updating a map from a mobile device provided by an embodiment of the present disclosure;
图5是本公开一个实施例提供的电子设备的框图。Fig. 5 is a block diagram of an electronic device provided by an embodiment of the present disclosure.
下面将结合附图对本公开的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。下文中将参考附图并结合实施例来详细说明本公开。需要说明的是,在不冲突的情况下,本公开中的实施例及实施例中的特征可以相互组合。The technical solutions of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Apparently, the described embodiments are some of the embodiments of the present disclosure, rather than all of them. Hereinafter, the present disclosure will be described in detail with reference to the accompanying drawings and embodiments. It should be noted that, in the case of no conflict, the embodiments in the present disclosure and the features in the embodiments can be combined with each other.
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the specification and claims of the present disclosure and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence.
在公开中,在未作相反说明的情况下,使用的方位词如“上、下、顶、底”通常是针对附图所示的方向而言的,或者是针对部件本身在竖直、垂直或重力方向上而言的;同样地,为便于理解和描述,“内、外”是指相对于各部件本身的轮廓的内、外,但上述方位词并不用于限制本实用新型。In the disclosure, unless stated to the contrary, the use of orientation words such as "up, down, top, bottom" usually refers to the direction shown in the drawings, or refers to the vertical, vertical Or in the direction of gravity; similarly, for the convenience of understanding and description, "inner and outer" refer to the inner and outer relative to the outline of each component itself, but the above-mentioned orientation words are not used to limit the utility model.
首先,对本公开实施例涉及的若干名词进行介绍。First, several terms involved in the embodiments of the present disclosure are introduced.
线激光传感器:是一种包括激光产生组件、柱面物镜和光感组件的传感器;线激光传感器在使用时采用柱面物镜将激光产生组件产生的激光光束扩大为条状,激光在目标物上产生漫反射,反射光在光感组件上成像,可以通过检查成像的位置、形状的变化来测量目标物位置和形状。
Line laser sensor: It is a sensor that includes a laser generating component, a cylindrical objective lens, and a photosensitive component; when in use, the line laser sensor uses a cylindrical objective lens to expand the laser beam generated by the laser generating component into a strip, and the laser beam is generated on the target object. Diffuse reflection, the reflected light is imaged on the photosensitive component, and the position and shape of the target can be measured by checking the position and shape of the image.
图1是本公开一个实施例提供的自移动设备的结构示意图。其中,自移动设备包括但不限于:扫地机、洗地机、扫拖一体机等具有自动移动功能的设备,本实施例不对自移动设备的类型作限定。根据图1可知,该自移动设备至少包括壳体110、环境传感器120和控制器(图中未示意)。Fig. 1 is a schematic structural diagram of a mobile device provided by an embodiment of the present disclosure. Wherein, self-moving devices include but are not limited to: sweeping machines, floor washing machines, sweeping and dragging all-in-one machines and other devices with automatic moving functions. This embodiment does not limit the type of self-moving devices. It can be known from FIG. 1 that the mobile device at least includes a housing 110, an environment sensor 120 and a controller (not shown in the figure).
壳体110为自移动设备的外壳,壳体110的形状可以是规则的几何体,比如圆形,方形,或者,也可以根据实际的应用场景设置成其他形状,本实施例不对壳体110的形状作限定。The casing 110 is the casing of the mobile device. The shape of the casing 110 can be a regular geometric body, such as a circle, a square, or other shapes according to the actual application scene. This embodiment does not limit the shape of the casing 110. Make a limit.
壳体110主要起保护和支撑作用。壳体110可以一体成型,或者为可拆分结构,本实施例不对壳体110的实现方式作限定。The casing 110 mainly plays a role of protection and support. The casing 110 can be integrally formed, or can be a detachable structure, and this embodiment does not limit the implementation of the casing 110 .
壳体110的结构大致呈扁平状,比如为圆盘形,本实施例不对壳体110的形状作限定。The structure of the housing 110 is generally flat, such as a disc shape, and the shape of the housing 110 is not limited in this embodiment.
环境传感器120位于壳体上,用于采集环境信息。环境传感器120可以为视觉传感器、激光传感器或者碰撞传感器,其中,视觉传感器包括但不限于:电荷耦合器件(Charge Coupled Device,CCD)、金属氧化物半导体器件(Complementary Metal Oxide Semiconductor,CMOS)等,线激光传感器包括但不限于:单线激光雷达、多线激光雷达等,本实施例不对环境传感器120的类型作限定。The environment sensor 120 is located on the casing and is used for collecting environment information. The environment sensor 120 may be a visual sensor, a laser sensor or a collision sensor, wherein the visual sensor includes but is not limited to: a charge coupled device (Charge Coupled Device, CCD), a metal oxide semiconductor device (Complementary Metal Oxide Semiconductor, CMOS), etc., a wire Laser sensors include but are not limited to: single-line laser radar, multi-line laser radar, etc., and the type of the environment sensor 120 is not limited in this embodiment.
在一个示例中,环境传感器120包括线激光传感器,相应地,环境信息为线激光传感器采集的传感信号。In an example, the environment sensor 120 includes a line laser sensor, and correspondingly, the environment information is a sensing signal collected by the line laser sensor.
在另一个示例中,环境传感器120包括视觉传感器,相应地,环境信息为视觉传感器采集的图像信息。In another example, the environment sensor 120 includes a vision sensor, and correspondingly, the environment information is image information collected by the vision sensor.
可选地,环境传感器120可以为一个,或者也可以为至少两个,本实施例不对环境传感器120的数量作限定。Optionally, there may be one environmental sensor 120 , or there may be at least two environmental sensors 120 , and this embodiment does not limit the number of environmental sensors 120 .
可选地,环境传感器120可以位于壳体110的顶部、和/或侧面,环境传感器的采集范围包括但不限于:自移动设备的行进方向前方、自移动设备的行进方向左侧、和/或自移动设备的行进方向右侧,本实施例不对环境传感器120的具体安装位置和采集范围作限定。Optionally, the environmental sensor 120 may be located on the top and/or side of the housing 110, and the collection range of the environmental sensor includes but is not limited to: from the front of the traveling direction of the mobile device, from the left side of the traveling direction of the mobile device, and/or From the right side of the traveling direction of the mobile device, this embodiment does not limit the specific installation location and collection range of the environmental sensor 120 .
环境传感器120与控制器相连,以在控制器的控制下采集环境信息。The environment sensor 120 is connected with the controller to collect environment information under the control of the controller.
控制器可以为自移动设备内部安装的微控制单元,或者任何具有控制功能的组件,本实施例不对控制器的类型作限定。The controller may be a micro-control unit installed inside the mobile device, or any component with a control function, and this embodiment does not limit the type of the controller.
本实施例中,控制器用于:控制自移动设备按照区域地图在目标区域内移动,区域地图标记有目标区域内禁行区域的禁行位置和禁行区域的第一高度;在移动至目标位置的情况下,检测禁行位置上的第二高度;其中,目标位置与禁行位置的距离小于预设值;基于第一高度和第二高度的差异更新区域地图。
In this embodiment, the controller is used to: control the self-mobile device to move in the target area according to the area map, and the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; In the case of , detect the second height at the prohibited position; wherein, the distance between the target position and the prohibited position is less than a preset value; update the area map based on the difference between the first height and the second height.
可选地,检测禁行位置上的第二高度,包括:基于环境传感器120采集的禁行位置上的环境信息确定第二高度。Optionally, detecting the second height at the prohibited position includes: determining the second height based on environmental information collected by the environmental sensor 120 at the prohibited position.
在实际实现时,自移动设备还可以包括其它组件,比如:电池包、边刷等,本实施例在此不对自移动设备包括的组件一一进行列举。In actual implementation, the self-moving device may also include other components, such as a battery pack, a side brush, etc., and this embodiment does not list all the components included in the self-moving device here.
本实施例中,通过控制自移动设备按照区域地图在目标区域内移动,区域地图标记有目标区域内禁行区域的禁行位置和禁行区域的第一高度;在移动至目标位置的情况下,检测禁行位置上的第二高度;其中,目标位置与禁行位置的距离小于预设值;基于第一高度和第二高度的差异更新区域地图;可以解决在自移动设备生成区域地图后,障碍物可能会被移动,导致区域地图中障碍物位置信息的准确性不高的问题;由于检测禁行区域的第二高度,并且基于第一高度和第二高度的差异更新区域地图,可以根据禁行区域高度变化情况更新区域地图,因此,可以提高区域地图中禁行区域信息的准确性。In this embodiment, by controlling the self-mobile device to move in the target area according to the area map, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area; when moving to the target position , detect the second height on the forbidden position; wherein, the distance between the target position and the forbidden position is less than a preset value; update the area map based on the difference between the first height and the second height; can solve the problem after the area map is generated from the mobile device , the obstacle may be moved, resulting in the problem that the accuracy of the obstacle position information in the area map is not high; since the second height of the no-go area is detected, and the area map is updated based on the difference between the first height and the second height, it can be The area map is updated according to the height change of the prohibited area, so the accuracy of the information of the prohibited area in the area map can be improved.
下面对本公开提供的自移动设备的地图更新方法进行详细介绍。The method for updating a map from a mobile device provided by the present disclosure will be described in detail below.
本实施例提供的一种自移动设备的地图更新方法,如图2所示。本实施例以该方法用于图1所示的自移动设备中为例进行说明。在其它实施例中,也可以由与自移动设备通信相连的其它设备执行,如:通过手机、计算机、平板电脑等设备远程控制清洁设备实现,本实施例不对其它设备的实现方式以及各个实施例的执行主体作限定。该自移动设备的地图更新方法至少包括以下几个步骤:A method for updating a map from a mobile device provided in this embodiment is shown in FIG. 2 . In this embodiment, the method is used in the self-mobile device shown in FIG. 1 as an example for illustration. In other embodiments, it can also be executed by other devices connected to the self-mobile device, such as: remote control of cleaning devices through mobile phones, computers, tablet computers and other devices. The executive body is limited. The map update method from the mobile device at least includes the following steps:
步骤201,控制自移动设备按照区域地图在目标区域内移动。Step 201, controlling the mobile device to move within the target area according to the area map.
其中,区域地图标记有目标区域内禁行区域的禁行位置和禁行区域的第一高度。Wherein, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area.
禁行区域是指:自移动设备无法从其中通行的区域,比如:障碍物所在区域。A forbidden area refers to an area where a mobile device cannot pass through, for example, an area where obstacles are located.
禁行位置是指:禁行区域的位置。在一个示例中,禁行位置包括禁行区域的边缘位置。The forbidden position refers to the position of the forbidden area. In one example, the no-go location includes an edge location of the no-go area.
第一高度是指:区域地图中记载的禁行位置的高度。第一高度可以是区域地图构建时确定出来的;或者也可以是上一次区域地图更新时确定出来的,本实施例不对区域地图中记载的第一高度的来源作限定。The first height refers to the height of the forbidden position recorded in the area map. The first height may be determined when the area map is constructed; or it may be determined when the area map is updated last time. This embodiment does not limit the source of the first height recorded in the area map.
为了提高地图更新的效率,控制自移动设备按照区域地图在目标区域内移动,包括:控制自移动设备沿禁行位置移动。In order to improve the efficiency of map updating, controlling the self-mobile device to move in the target area according to the area map includes: controlling the self-mobile device to move along the forbidden position.
可选地,控制自移动设备沿禁行位置移动,包括:基于禁行位置生成沿边移动轨迹;控制自移动设备按照沿边移动轨迹在目标区域内移动。Optionally, controlling the self-mobile device to move along the forbidden position includes: generating a moving track along the edge based on the forbidden position; controlling the self-mobile device to move in the target area according to the moving track along the side.
在一个示例中,基于禁行位置生成沿边移动轨迹,包括:将禁行位置向远离禁行区域的方向移动预设偏移距离,得到沿边移动轨迹。
In an example, generating the edge-along movement track based on the forbidden position includes: moving the forbidden position away from the forbidden area by a preset offset distance to obtain the edge-along movement track.
其中,预设偏移距离使得自移动设备不与障碍物发生碰撞,且自移动设备上安装的环境传感器可以采集到禁行位置的环境信息。Wherein, the preset offset distance prevents the self-mobile device from colliding with obstacles, and the environment sensor installed on the self-mobile device can collect the environmental information of the forbidden position.
在实际实现时,也可以采用其他方式控制自移动设备按照区域地图在目标区域内移动,比如:基于禁行位置生成自移动设备的最短工作轨迹;控制自移动设备按照最短工作轨迹在目标区域内移动,本实施例不对控制自移动设备按照区域地图在目标区域内移动的方式作限定。In actual implementation, other methods can also be used to control the self-mobile device to move in the target area according to the area map, for example: generate the shortest working track of the self-mobile device based on the forbidden position; control the self-mobile device to move in the target area according to the shortest working track Movement, this embodiment does not limit the manner in which the mobile device is controlled to move within the target area according to the area map.
步骤202,在移动至目标位置的情况下,检测禁行位置的第二高度。Step 202, in the case of moving to the target position, detect the second height of the forbidden position.
其中,目标位置与禁行位置的距离小于预设值,以使禁行位置位于自移动设备上环境传感器的采集范围内。Wherein, the distance between the target position and the prohibited position is smaller than a preset value, so that the prohibited position is within the collection range of the environmental sensor on the mobile device.
可选地,预设值根据环境传感器的最远信息采集距离确定。在一个示例中,预设值小于环境传感器的最远信息采集距离。比如:环境传感器的最远信息采集距离为50厘米,则预设值小于50厘米。Optionally, the preset value is determined according to the farthest information collection distance of the environmental sensor. In an example, the preset value is smaller than the furthest information collection distance of the environmental sensor. For example, if the furthest information collection distance of the environmental sensor is 50 centimeters, the preset value is less than 50 centimeters.
第二高度是指:禁行位置的当前高度。The second height refers to: the current height of the forbidden position.
可选地,在移动至目标位置的情况下,检测禁行位置的第二高度,包括:在自移动设备在目标区域移动过程中,确定自移动设备的当前位置;在当前位置为目标位置的情况下,检测禁行位置的第二高度。Optionally, in the case of moving to the target position, detecting the second height of the no-go position includes: determining the current position of the self-mobile device during the movement of the self-mobile device in the target area; In this case, detect the second height of the forbidden position.
可选地,确定自移动设备的当前位置的方式包括但不限于以下几种:Optionally, ways to determine the current location of the mobile device include but are not limited to the following:
第一种:获取自移动设备在移动过程中的姿态信息;基于姿态信息确定自移动设备的当前位置。The first method: acquire the posture information of the mobile device during the movement; determine the current position of the mobile device based on the posture information.
其中,姿态信息包括:自移动设备每一时刻位置相对于上一时刻位置的距离以及方向角。Wherein, the attitude information includes: the distance and direction angle from the position at each moment of the mobile device relative to the position at the previous moment.
可选地,姿态信息是自移动设备中安装的姿态传感器采集的。姿态传感器可以为里程计,或者,也可以为惯性传感器,本实施例不对姿态传感器的类型作限定。Optionally, the attitude information is collected from an attitude sensor installed in the mobile device. The attitude sensor may be an odometer, or may also be an inertial sensor, and this embodiment does not limit the type of the attitude sensor.
第二种:获取自移动设备当前位置的当前环境信息;基于当前环境信息与预先采集的目标区域中不同位置的位置环境信息的相似度确定自移动设备的当前位置。The second type: obtaining the current environment information of the current location of the mobile device; determining the current location of the mobile device based on the similarity between the current environment information and the pre-collected location environment information of different locations in the target area.
其中,预先采集的目标区域中不同位置的环境信息预先存储在自移动设备中。Wherein, the pre-collected environmental information of different locations in the target area is pre-stored in the self-mobile device.
可选地,环境信息可以通过视觉传感器采集,此时,环境信息为当前位置的图像信息;或者,也可以通过激光传感器采集,此时,环境信息为当前位置采集的激光传感信号,本实施例不对环境信息的采集设备及环境信息的类型作限定。Optionally, the environmental information can be collected by a visual sensor. At this time, the environmental information is the image information of the current location; or, it can also be collected by a laser sensor. At this time, the environmental information is the laser sensor signal collected at the current location. This example does not limit the collection equipment of environmental information and the type of environmental information.
在一个示例中,基于当前环境信息与预先采集的目标区域中不同位置的位置环境信息的相似度确定自移动设备的当前位置,包括:将与当前环境信息相似度最高的位置环境信息对应的位置确定为自移动设备的当前位置。
In an example, determining the current location of the self-mobile device based on the similarity between the current environment information and the pre-collected location environment information of different locations in the target area includes: determining the location corresponding to the location environment information with the highest similarity to the current environment information Determined as from the current location of the mobile device.
第三种:获取自移动设备当前位置的无线定位信号;基于无线定位信号确定自移动设备的当前位置。The third method: acquiring the wireless positioning signal of the current location of the mobile device; determining the current location of the mobile device based on the wireless positioning signal.
可选地,无线定位信号可以是卫星定位信号、WiFi信号、蓝牙信号、超宽带(Ultra Wide Band,UWB)信号,本实施例不对无线定位信号的类型作限定。Optionally, the wireless positioning signal may be a satellite positioning signal, a WiFi signal, a Bluetooth signal, or an ultra-wideband (Ultra Wide Band, UWB) signal, and this embodiment does not limit the type of the wireless positioning signal.
可选地,基于环境信息确定禁行位置的第二高度包括但不限于以下几种情况:Optionally, determining the second height of the forbidden position based on the environmental information includes but is not limited to the following situations:
第一种情况,环境传感器包括线激光传感器,相应地,环境信息为线激光传感器采集的禁行位置对线激光反射后得到的传感信号。此时,基于环境信息确定禁行位置的第二高度,包括:确定传感信号中自移动设备所在移动表面对应的突变信号与禁行位置对应的突变信号之间的信号距离;基于信号距离确定禁行位置的第二高度。In the first case, the environment sensor includes a line laser sensor. Correspondingly, the environment information is a sensing signal obtained by reflecting the line laser from the forbidden position collected by the line laser sensor. At this time, determining the second height of the forbidden position based on the environmental information includes: determining the signal distance between the sudden change signal corresponding to the moving surface where the mobile device is located and the sudden change signal corresponding to the forbidden position in the sensing signal; determining the height based on the signal distance The second height of the no-go position.
其中,突变信号用于指示线激光传感器传感范围内高度发生变化的位置。Among them, the abrupt change signal is used to indicate the position where the height changes within the sensing range of the line laser sensor.
可选地,线激光传感器发射的线激光与水平面成预设角度,预设角度不等于0。换言之,线激光不与水平面平行,这样不会只扫描到禁行位置一个高度的信息,从而更全面地保证扫描到禁行位置。在一个示例中,线激光垂直于水平面,即预设角度为90度。Optionally, the line laser emitted by the line laser sensor forms a preset angle with the horizontal plane, and the preset angle is not equal to zero. In other words, the line laser is not parallel to the horizontal plane, so that it will not only scan the information of one height of the forbidden position, so as to more comprehensively ensure the scanning to the forbidden position. In one example, the line laser is perpendicular to the horizontal plane, that is, the preset angle is 90 degrees.
相应的,基于信号距离确定禁行位置的第二高度,包括:基于信号距离和预设角度确定禁行位置的第二高度。Correspondingly, determining the second height of the prohibited position based on the signal distance includes: determining the second height of the prohibited position based on the signal distance and a preset angle.
第二种情况:环境传感器包括视觉传感器,相应地,环境信息为禁行位置的图像信息。此时,基于环境信息确定禁行位置的第二高度,包括:基于图像信息确定禁行位置在视觉传感器的图像传感组件上的投影高度;获取视觉传感器与禁行位置的距离;基于投影高度、视觉传感器的镜头与图像传感组件之间的距离和视觉传感器与禁行位置的距离确定禁行位置的第二高度。The second case: the environment sensor includes a vision sensor, and accordingly, the environment information is the image information of the forbidden position. At this time, determining the second height of the prohibited position based on the environmental information includes: determining the projection height of the prohibited position on the image sensing component of the visual sensor based on the image information; obtaining the distance between the visual sensor and the prohibited position; , the distance between the lens of the visual sensor and the image sensing component and the distance between the visual sensor and the prohibited position determine the second height of the prohibited position.
其中,视觉传感器的镜头与图像传感组件之间的距离预先存储在自移动设备中。Wherein, the distance between the lens of the visual sensor and the image sensing component is pre-stored in the mobile device.
可选地,获取视觉传感器与禁行位置的距离,包括:获取自移动设备与禁行位置的距离;基于自移动设备与禁行位置的距离和视觉传感器的安装位置确定视觉传感器与禁行位置的距离。Optionally, obtaining the distance between the visual sensor and the prohibited location includes: obtaining the distance from the mobile device to the prohibited location; determining the visual sensor and the prohibited location based on the distance from the mobile device to the prohibited location and the installation position of the visual sensor distance.
可选地,获取自移动设备边缘与禁行位置之间的距离,包括:获取自移动设备的当前位置信息;基于自移动设备的当前位置信息确定自移动设备与禁行位置之间的距离。Optionally, obtaining the distance between the edge of the self-mobile device and the prohibited position includes: obtaining current location information of the mobile device; and determining the distance between the mobile device and the prohibited position based on the current position information of the mobile device.
在一个示例中,当前位置信息用自移动设备的形心位置表示,相应地,自移动设备与禁行位置之间的距离为自移动设备形心位置与禁行位置之间的距离。In an example, the current location information is represented by the centroid position of the self-mobile device, and correspondingly, the distance between the self-mobile device and the forbidden position is the distance between the centroid position of the self-mobile device and the forbidden position.
在一个示例中,在采集禁行位置的环境信息时,视觉传感正对禁行位置,此时,基于自移动设备与禁行位置的距离和视觉传感器的安装位置确定视觉传感器与禁行位置的距离,包括:获取视觉传感器的安装位置与自移动设备的形心位置间的安装距离;将自移动设备与禁
行位置的距离与安装距离的差值确定为视觉传感器与禁行位置的距离。In one example, when collecting the environmental information of the forbidden location, the visual sensor is facing the forbidden location. distance, including: obtaining the installation distance between the installation position of the vision sensor and the centroid position of the mobile device; The difference between the distance of the walking position and the installation distance is determined as the distance between the vision sensor and the forbidden position.
其中,安装距离预先存储在自移动设备中。Wherein, the installation distance is pre-stored in the mobile device.
可选地,基于投影高度、图像传感组件与视觉传感器镜头之间的距离和视觉传感器与禁行位置的距离确定禁行位置的高度,通过下式表示:Optionally, the height of the forbidden position is determined based on the projection height, the distance between the image sensing component and the lens of the visual sensor, and the distance between the visual sensor and the forbidden position, expressed by the following formula:
其中,H为禁行位置的第二高度;L为视觉传感器与禁行位置的距离;h为投影高度;f视觉传感器的镜头与图像传感组件之间的距离。Among them, H is the second height of the forbidden position; L is the distance between the visual sensor and the forbidden position; h is the projection height; f is the distance between the lens of the visual sensor and the image sensing component.
步骤203,基于第一高度和第二高度的差异更新区域地图。Step 203, updating the area map based on the difference between the first height and the second height.
可选地,基于第一高度和第二高度的差异更新区域地图,包括:在第二高度与第一高度不相同的情况下,基于第二高度更新区域地图;在第一高度与第二高度相同的情况下,不更新区域地图。Optionally, updating the area map based on the difference between the first height and the second height includes: updating the area map based on the second height when the second height is different from the first height; In the same case, the area map is not updated.
可选地,基于第二高度更新区域地图,包括:在第二高度大于预设高度的情况下,将区域地图中的第一高度更新为第二高度;在第二高度小于或等于预设高度的情况下,将区域地图中的禁行位置和第一高度删除。Optionally, updating the area map based on the second height includes: updating the first height in the area map to the second height when the second height is greater than the preset height; In the case of , delete the forbidden position and the first height in the area map.
其中,预设高度基于自移动设备所在移动表面的表面高度确定。Wherein, the preset height is determined based on the surface height of the mobile surface on which the mobile device is located.
可选地,预设高度与表面高度的差值小于或等于自移动设备所能逾越的最大高度。Optionally, the difference between the preset height and the surface height is less than or equal to the maximum height that can be crossed by the mobile device.
在一个示例中,预设高度与表面高度的差值等于自移动设备所能逾越的最大高度,此时,自移动设备无法从高度大于预设高度的位置通过。In an example, the difference between the preset height and the surface height is equal to the maximum height that the self-mobile device can cross, and at this time, the self-mobile device cannot pass through a position whose height is greater than the preset height.
由于在第二高度大于预设高度的情况下,虽然禁行区域的高度发生改变,但是自移动设备仍无法从禁行位置通行,因此,此时仅需更新禁行区域的高度,即将第一高度更新为第二高度,以更新区域地图。Since when the second height is greater than the preset height, although the height of the no-go area changes, the self-mobile device still cannot pass through from the no-go position. Therefore, only the height of the no-go area needs to be updated at this time, that is, the first The altitude is updated to the second altitude to update the area map.
由于在第二高度小于或等于预设高度的情况下,自移动设备可以从禁行位置通行,此时禁行位置不再是不可通行位置,因此,此时需要在区域地图中将禁行位置和第一高度删除,以更新区域地图。Since when the second height is less than or equal to the preset height, the self-mobile device can pass from the forbidden position, and the forbidden position is no longer an impassable position at this time, therefore, it is necessary to set the forbidden position in the area map and the first height removed to update the area map.
在确定出禁行区域发生变化的情况下,为了进一步确定禁行区域的附近区域的通行情况是否发生变化,因此,在基于第二高度更新区域地图之后,还包括:获取目标区域内目标子区域的子区域信息,目标子区域基于禁行位置确定;基于子区域信息获取目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度;在区域地图中记录其它禁行位置和第三高度。In the case that it is determined that the no-go area changes, in order to further determine whether the traffic situation in the vicinity of the no-go area changes, therefore, after updating the area map based on the second height, it also includes: obtaining the target sub-area in the target area The sub-area information of the target sub-area is determined based on the forbidden position; based on the sub-area information, other forbidden positions and the third height of other forbidden areas in the target sub-area are obtained; other forbidden areas are recorded in the area map location and third height.
其中,其它禁行区域是指:区域地图中未记录的禁行区域。Wherein, other prohibited areas refer to: prohibited areas not recorded in the area map.
其它禁行位置是指:其它禁行区域的位置。在一个示例中,其它禁行位置包括其它禁行
区域的边缘位置。Other forbidden positions refer to the positions of other forbidden areas. In one example, other forbidden locations include other forbidden The edge position of the region.
第三高度是指:其它禁行位置的高度。The third height refers to: the height of other forbidden positions.
可选地,获取目标区域内目标子区域的子区域信息之前,还包括:基于禁行位置确定目标子区域。Optionally, before acquiring the sub-area information of the target sub-area in the target area, the method further includes: determining the target sub-area based on the forbidden position.
可选地,基于禁行位置确定目标子区域的方式包括但不限于以下几种:Optionally, the ways of determining the target sub-area based on the prohibited location include but are not limited to the following:
第一种:将目标区域划分为至少两个子区域;将禁行位置所在的子区域相邻的子区域确定为目标子区域。The first method: divide the target area into at least two sub-areas; determine the sub-areas adjacent to the sub-area where the prohibited position is located as the target sub-area.
其中,子区域相邻是指:两个子区域有公共边,或者,两个子区域有公共顶点。Wherein, adjacent sub-regions means: two sub-regions have a common edge, or two sub-regions have a common vertex.
第二种:以禁行位置为形心,按照预设尺寸生成预设形状的目标子区域。The second type: take the prohibited position as the centroid, and generate a target sub-area of a preset shape according to a preset size.
其中,预设尺寸和预设形状预先存储在自移动设备中。预设形状可以为圆形,此时,预设尺寸为半径;或者,也可以为正方形,此时,预设尺寸为对角线长度,本实施例不对预设形状和预设尺寸的类型。Wherein, the preset size and preset shape are pre-stored in the self-mobile device. The preset shape can be a circle, and in this case, the preset size is the radius; or, it can also be a square, and in this case, the preset size is the length of the diagonal line. This embodiment does not specify the type of the preset shape and the preset size.
在一个示例中,预设形状为圆形,以禁行位置为形心,按照预设尺寸生成预设形状的目标子区域,包括:将以禁行位置为圆心,以预设尺寸为半径的圆形区域内,除障碍物所在区域以外的区域确定为目标子区域。In an example, the preset shape is a circle, with the forbidden position as the centroid, and the target sub-area of the preset shape is generated according to the preset size, including: taking the forbidden position as the center and the preset size as the radius In the circular area, the area other than the area where the obstacle is located is determined as the target sub-area.
在另一个示例中,以禁行位置为形心,按照预设尺寸生成预设形状的目标子区域,包括:将禁行位置向远离禁行区域的方向移动预设尺寸,得到目标区域边界位置;将禁行位置与目标区域边界位置之间的区域确定为目标子区域。In another example, using the forbidden position as the centroid, generating a preset-shaped target sub-area according to a preset size includes: moving the forbidden position to a direction away from the forbidden area by a preset size to obtain the boundary position of the target area ; Determine the area between the forbidden position and the boundary position of the target area as the target sub-area.
第三种:将目标区域划分为至少两个子区域;将禁行位置所在的子区域确定为目标子区域。The third method: divide the target area into at least two sub-areas; determine the sub-area where the prohibited position is located as the target sub-area.
比如:将划分为客厅、餐厅、卧室、书房四个子区域,禁行区域位于书房中,则将书房确定为目标子区域。For example: if the system is divided into four sub-areas of living room, dining room, bedroom, and study, and the forbidden area is located in the study, then the study is determined as the target sub-area.
在实际实现时,也可以根据其他方式确定目标子区域,本实施例不对目标子区域的确定方式作限定。In actual implementation, the target sub-area may also be determined in other manners, and this embodiment does not limit the manner of determining the target sub-area.
可选地,子区域信息包括位置高度。此时,获取目标区域内目标子区域的子区域信息,包括:控制自移动设备采集目标子区域中各个位置的位置高度。Optionally, the sub-area information includes location height. At this time, acquiring the sub-area information of the target sub-area in the target area includes: controlling the collection of the location heights of each position in the target sub-area from the mobile device.
在一个示例中,控制自移动设备采集目标子区域中各个位置的高度,包括:控制自移动设备在目标子区域内移动;基于在移动过程中采集的目标子区域的环境信息确定目标子区域中各个位置的高度。In an example, controlling the self-mobile device to collect the height of each position in the target sub-area includes: controlling the self-mobile device to move within the target sub-area; the height of each location.
在另一个示例中,控制自移动设备采集目标子区域中各个位置的高度,包括:控制自移动设备原地旋转;基于在旋转过程中采集的目标子区域的环境信息确定目标子区域中各个位
置的高度。In another example, controlling the collection of the altitude of each position in the target sub-area from the mobile device includes: controlling the self-mobile device to rotate in situ; determining each position in the target sub-area based on the environmental information of the target sub-area collected during the rotation set height.
可选地,基于子区域信息获取目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,包括:对于目标子区域中的每个子区域位置,在子区域位置不是禁行位置的情况下,若子区域位置的位置高度大于预设高度,则将子区域位置在区域地图中的位置确定为其它禁行位置、将位置高度确定为第三高度。Optionally, obtaining other forbidden positions and third heights of other forbidden areas in the target sub-area based on the sub-area information includes: for each sub-area position in the target sub-area, if the sub-area position is not In the case of a prohibited position, if the position height of the sub-area position is greater than the preset height, the position of the sub-area position in the area map is determined as another prohibited position, and the height of the position is determined as the third height.
可选地,区域地图还包括禁行位置对应的障碍物类型,障碍物类型包括可移动类型和不可移动类型,在移动至目标位置的情况下,方法还包括:在禁行位置对应的障碍物类型为可移动类型的情况下,触发执行检测禁行位置上的第二高度的步骤;在禁行位置对应的障碍物类型为不可移动类型的情况下,不执行检测禁行位置上的第二高度的步骤。Optionally, the area map also includes the obstacle type corresponding to the forbidden position, the obstacle type includes movable type and immovable type, and in the case of moving to the target position, the method also includes: the obstacle corresponding to the forbidden position When the type is a movable type, trigger the execution of the step of detecting the second height on the forbidden position; in the case that the obstacle type corresponding to the forbidden position is an immovable type, do not perform the detection of the second height on the forbidden position. height steps.
其中,可移动类型是指:位置可以发生改变的障碍物类型,比如:桌子、椅子、垃圾桶、拖鞋、电线等障碍物。Among them, the movable type refers to the obstacle type whose position can be changed, such as: tables, chairs, trash cans, slippers, wires and other obstacles.
不可移动类型是指:位置固定不变的障碍物类型,比如:墙体,固定的橱柜等障碍物。The immovable type refers to the type of obstacle with a fixed position, such as: walls, fixed cabinets and other obstacles.
由于只有可移动类型的障碍物形成的禁行位置和第一高度才可能发生改变,所以在禁行位置对应的障碍物类型为可移动类型的情况下才执行检测禁行位置上的第二高度的步骤,可以提高区域地图更新的效率,同时节省自移动设备的计算资源。Since only the prohibited position and the first height formed by movable obstacles can change, the detection of the second height at the prohibited position is performed only when the type of obstacle corresponding to the prohibited position is a movable type The steps can improve the efficiency of area map update and save computing resources from mobile devices at the same time.
为了更清楚的说明本公开提供的自移动设备的地图更新方法,以下举一个示例进行说明。In order to more clearly illustrate the method for updating the map from the mobile device provided by the present disclosure, an example is given below for illustration.
如图3所示,图3中的a为目标区域的初始地图,阴影部分为禁行区域,目标区域中存在障碍物1、障碍物2、障碍物3和障碍物4四个障碍物形成的禁行区域,其中障碍物1为可移动障碍物。图3中的b为障碍物1被移动后形成的更新后区域地图。由于障碍物1移动后产生的禁行区域(图3中的b中障碍物1对应的禁行区域)位于障碍物1移动前产生的禁行区域(图3中的a中障碍物1对应的禁行区域)的附近,因此,在确定出禁行区域发生变化的情况下,基于禁行位置生成目标子区域,可以缩小禁行区域的搜索范围,提高区域地图的更新效率。As shown in Figure 3, a in Figure 3 is the initial map of the target area, the shaded part is the forbidden area, and there are four obstacles formed by obstacle 1, obstacle 2, obstacle 3 and obstacle 4 in the target area Forbidden area, where obstacle 1 is a movable obstacle. b in Fig. 3 is the updated area map formed after the obstacle 1 is moved. Since the no-go area generated after the obstacle 1 moves (the no-go area corresponding to the obstacle 1 in b in Figure 3) is located in the no-go area generated before the obstacle 1 moves (the no-go area corresponding to the obstacle 1 in the a of Fig. Therefore, when it is determined that the forbidden area changes, the target sub-area is generated based on the forbidden position, which can narrow the search range of the forbidden area and improve the update efficiency of the area map.
综上所述,本实施例提供的自移动设备的地图更新方法,包括:控制自移动设备按照区域地图在目标区域内移动,区域地图标记有目标区域内禁行区域的禁行位置和禁行区域的第一高度;在移动至目标位置的情况下,检测禁行位置的第二高度;其中,目标位置与禁行位置的距离小于预设值;基于第一高度和第二高度的差异更新区域地图;可以解决在自移动设备生成区域地图后,障碍物可能会被移动,导致区域地图中障碍物位置信息的准确性不高的问题;由于检测禁行区域的第二高度,并且基于第一高度和第二高度的差异更新区域地图,可以根据禁行区域高度变化情况更新区域地图,因此,可以提高区域地图中禁行区域信息的准确性。
To sum up, the method for updating the map of the self-mobile device provided by this embodiment includes: controlling the self-mobile device to move in the target area according to the area map, and the area map is marked with prohibited positions and prohibited areas in the target area. The first height of the area; in the case of moving to the target position, detect the second height of the prohibited position; wherein, the distance between the target position and the prohibited position is less than a preset value; update based on the difference between the first height and the second height Area map; it can solve the problem that obstacles may be moved after the area map is generated from the mobile device, resulting in low accuracy of obstacle position information in the area map; due to the detection of the second height of the forbidden area, and based on the first The difference between the first height and the second height updates the area map, and the area map can be updated according to the height change of the prohibited area, so the accuracy of the information of the prohibited area in the area map can be improved.
另外,在第二高度与第一高度不相同的情况下,确定目标区域中的禁行区域发生改变,此时,基于第二高度更新区域地图,可以及时更新目标区域中禁行区域的信息,使区域地图与目标区域的实际环境相符,提高区域地图的准确性。In addition, when the second height is not the same as the first height, it is determined that the forbidden area in the target area has changed. At this time, the area map is updated based on the second height, and the information of the forbidden area in the target area can be updated in time. Make the area map consistent with the actual environment of the target area, and improve the accuracy of the area map.
另外,由于根据第二高度是否大于预设阈值确定基于第二高度更新区域地图的方式,可以在第二高度指示禁行位置仍为不可通行位置的情况下,将第一高度更新为第二高度;在第二高度指示禁行位置为可通行位置的情况下,从区域地图中删除禁行位置和第一高度,因此,可以根据第二高度的大小选择区域地图更新方式,提高区域地图的准确性。In addition, because the method of updating the area map based on the second height is determined according to whether the second height is greater than the preset threshold, the first height can be updated to the second height when the second height indicates that the prohibited position is still an impassable position ; In the case that the second height indicates that the prohibited position is a passable position, delete the prohibited position and the first height from the area map. Therefore, the area map update method can be selected according to the size of the second height to improve the accuracy of the area map sex.
另外,由于在基于第二高度更新区域地图之后,获取目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,并在区域地图中记录其它禁行位置和第三高度,可以在禁行区域发生改变的情况下,进一步确定目标子区域内的通行情况是否发生改变,在目标子区域内的通行情况发生改变的情况下,更新区域地图,因此,可以使区域地图与目标区域的实际环境相符,提高区域地图的准确性。In addition, after the area map is updated based on the second height, other prohibited positions and third heights of other prohibited areas in the target sub-area are obtained, and other prohibited positions and third heights are recorded in the area map. Height, in the case of a change in the forbidden area, it can be further determined whether the traffic situation in the target sub-area has changed, and in the case of a change in the traffic situation in the target sub-area, the area map can be updated. Therefore, the area map can be made Conforms to the actual environment of the target area and improves the accuracy of the area map.
另外,在障碍物移动导致禁行区域改变时,由于障碍物移动的距离可能很小,障碍物移动后产生的禁行区域可能位于障碍物移动前产生的禁行区域的附近,因此,将与禁行位置所在子区域相邻的子区域确定为目标子区域,可以缩小禁行区域的搜索范围,提高区域地图的更新效率。In addition, when the movement of the obstacle causes the forbidden area to change, since the moving distance of the obstacle may be very small, the forbidden area generated after the obstacle moves may be located near the forbidden area generated before the obstacle moves, therefore, it will be compared with The sub-area adjacent to the sub-area where the forbidden position is located is determined as the target sub-area, which can narrow the search range of the forbidden area and improve the update efficiency of the regional map.
另外,由于子区域信息包括目标子区域中各个位置的高度,因此,可以根据子区域中各个位置的位置高度确定子区域中的其它禁行区域的其它禁行位置和其它禁行区域的第三高度,以对区域地图进行更新,提高区域地图的准确性。In addition, since the sub-area information includes the height of each position in the target sub-area, it is possible to determine the other prohibited positions of other prohibited areas in the sub-area and the third position of other prohibited areas in the sub-area according to the height of each position in the sub-area. Height to update the area map and improve the accuracy of the area map.
另外,由于在子区域位置不是禁行位置,且位置高度大于预设高度的情况下,基于子区域位置和位置高度更新区域地图,因此,可以提高区域地图的准确性。In addition, since the location of the sub-area is not a prohibited location and the height of the location is greater than the preset height, the area map is updated based on the location of the sub-area and the height of the location, so the accuracy of the area map can be improved.
另外,由于只有可移动类型的障碍物形成禁行区域的禁行位置和第一高度才可能发生改变,所以在禁行位置对应的障碍物类型为可移动类型的情况下才执行检测禁行位置上的第二高度的步骤,可以提高区域地图更新的效率,同时节省自移动设备的计算资源。In addition, since the forbidden position and the first height of the forbidden area formed by movable obstacles can only be changed, the detection of the forbidden position is only performed when the type of obstacle corresponding to the forbidden position is a movable type The second height step above can improve the efficiency of area map update while saving computing resources from mobile devices.
本实施例提供一种自移动设备的地图更新装置,如图4所示。本实施例以该装置应用于图1所示的自移动设备的控制器中,该装置包括至少以下几个模块,移动控制模块410、高度检测模块420和地图更新模块430。This embodiment provides an apparatus for updating a map from a mobile device, as shown in FIG. 4 . In this embodiment, the device is applied to the controller of the self-mobile device shown in FIG. 1 , and the device includes at least the following modules: a movement control module 410 , an altitude detection module 420 and a map update module 430 .
移动控制模块410,用于控制自移动设备按照区域地图在目标区域内移动;A mobile control module 410, configured to control the self-mobile device to move within the target area according to the area map;
高度检测模块420,用于在移动至目标位置的情况下,检测禁行位置的第二高度;The height detection module 420 is used to detect the second height of the forbidden position when moving to the target position;
地图更新模块430,用于基于第一高度和第二高度的差异更新区域地图。
A map updating module 430, configured to update the area map based on the difference between the first height and the second height.
相关细节参考上述方法和设备实施例。For relevant details, refer to the above method and device embodiments.
需要说明的是:上述实施例中提供的自移动设备的地图更新装置在进行自移动设备的地图更新时,仅以上述各功能模块的划分进行举例说明,在实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将自移动设备的地图更新装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的自移动设备的地图更新装置与自移动设备的地图更新方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the map updating device of the self-mobile device provided in the above-mentioned embodiment updates the map of the self-mobile device, it only uses the division of the above-mentioned functional modules for illustration. In practical applications, it can be divided into The above function allocation is accomplished by different functional modules, that is, the internal structure of the map update device of the self-mobile device is divided into different functional modules to complete all or part of the functions described above. In addition, the device for updating the map of the self-mobile device provided by the above-mentioned embodiment and the embodiment of the method for updating the map of the self-mobile device belong to the same concept, and its specific implementation process is detailed in the method embodiment, and will not be repeated here.
本实施例提供一种电子设备,如图5所示。电子设备可以为图1中自移动设备。该电子设备至少包括处理器501和存储器502。This embodiment provides an electronic device, as shown in FIG. 5 . The electronic device may be the self-mobile device in FIG. 1 . The electronic device includes at least a processor 501 and a memory 502 .
处理器501可以包括一个或多个处理核心,比如:4核心处理器、8核心处理器等。处理器501可以采用DSP(Digital Signal Processing,数字信号处理)、FPGA(Field-Programmable Gate Array,现场可编程门阵列)、PLA(Programmable Logic Array,可编程逻辑阵列)中的至少一种硬件形式来实现。处理器501也可以包括主处理器和协处理器,主处理器是用于对在唤醒状态下的数据进行处理的处理器,也称CPU(Central Processing Unit,中央处理器);协处理器是用于对在待机状态下的数据进行处理的低功耗处理器。在一些实施例中,处理器501可以在集成有GPU(Graphics Processing Unit,图像处理器),GPU用于负责显示屏所需要显示的内容的渲染和绘制。一些实施例中,处理器501还可以包括AI(Artificial Intelligence,人工智能)处理器,该AI处理器用于处理有关机器学习的计算操作。The processor 501 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and the like. Processor 501 can adopt at least one hardware form in DSP (Digital Signal Processing, digital signal processing), FPGA (Field-Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, programmable logic array) accomplish. Processor 501 may also include a main processor and a coprocessor, and the main processor is a processor for processing data in a wake-up state, also known as a CPU (Central Processing Unit, central processing unit); the coprocessor is Low-power processor for processing data in standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit, image processor), and the GPU is used for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence, artificial intelligence) processor, where the AI processor is used to process computing operations related to machine learning.
存储器502可以包括一个或多个计算机可读存储介质,该计算机可读存储介质可以是非暂态的。存储器502还可包括高速随机存取存储器,以及非易失性存储器,比如一个或多个磁盘存储设备、闪存存储设备。在一些实施例中,存储器502中的非暂态的计算机可读存储介质用于存储至少一个指令,该至少一个指令用于被处理器501所执行以实现本公开中方法实施例提供的自移动设备的地图更新方法。Memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include high-speed random access memory and non-volatile memory, such as one or more magnetic disk storage devices and flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one instruction, and the at least one instruction is used to be executed by the processor 501 to realize the self-moving provided by the method embodiment of the present disclosure. The device's map update method.
在一些实施例中,电子设备还可选包括有:外围设备接口和至少一个外围设备。处理器501、存储器502和外围设备接口之间可以通过总线或信号线相连。各个外围设备可以通过总线、信号线或电路板与外围设备接口相连。示意性地,外围设备包括但不限于:射频电路、触摸显示屏、音频电路、和电源等。In some embodiments, the electronic device may optionally further include: a peripheral device interface and at least one peripheral device. The processor 501, the memory 502, and the peripheral device interface may be connected through a bus or a signal line. Each peripheral device can be connected with the peripheral device interface through a bus, a signal line or a circuit board. Schematically, peripheral devices include but are not limited to: radio frequency circuits, touch screens, audio circuits, and power supplies.
当然,电子设备还可以包括更少或更多的组件,本实施例对此不作限定。Of course, the electronic device may also include fewer or more components, which is not limited in this embodiment.
可选地,本公开还提供一种自移动设备,自移动设备包括处理器和存储器;存储器中存储有程序,程序由处理器加载并执行以实现上述方法实施例的自移动设备的地图更新方法。
Optionally, the present disclosure also provides a self-mobile device, which includes a processor and a memory; a program is stored in the memory, and the program is loaded and executed by the processor to implement the method for updating the map of the self-mobile device in the above method embodiment .
可选地,本公开还提供有一种计算机可读存储介质,计算机可读存储介质中存储有程序,程序由处理器加载并执行以实现上述方法实施例的自移动设备的地图更新方法。Optionally, the present disclosure also provides a computer-readable storage medium, in which a program is stored, and the program is loaded and executed by a processor to implement the method for updating a map from a mobile device in the above method embodiment.
以上所述实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above-mentioned embodiments can be combined arbitrarily. To make the description concise, all possible combinations of the technical features in the above-mentioned embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, should be considered as within the scope of this specification.
以上所述实施例仅表达了本公开的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本公开构思的前提下,还可以做出若干变形和改进,这些都属于本公开的保护范围。因此,本公开专利的保护范围应以所附权利要求为准。
The above-mentioned embodiments only express several implementation modes of the present disclosure, and the descriptions thereof are relatively specific and detailed, but should not be construed as limiting the scope of the patent for the invention. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present disclosure, and these all belong to the protection scope of the present disclosure. Therefore, the scope of protection of the disclosed patent should be based on the appended claims.
Claims (15)
- 一种自移动设备的地图更新方法,其特征在于,所述方法包括:A method for updating a map from a mobile device, characterized in that the method comprises:控制所述自移动设备按照区域地图在目标区域内移动,所述区域地图标记有所述目标区域内禁行区域的禁行位置和禁行区域的第一高度;controlling the self-mobile device to move in the target area according to the area map, the area map is marked with the forbidden position of the forbidden area in the target area and the first height of the forbidden area;在移动至目标位置的情况下,检测所述禁行位置的第二高度;其中,所述目标位置与所述禁行位置的距离小于预设值;In the case of moving to the target position, detecting the second height of the forbidden position; wherein, the distance between the target position and the forbidden position is less than a preset value;基于所述第一高度和所述第二高度的差异更新所述区域地图。The area map is updated based on the difference between the first altitude and the second altitude.
- 根据权利要求1所述的方法,其中,所述控制所述自移动设备按照区域地图在目标区域内移动包括:The method according to claim 1, wherein the controlling the mobile device to move within the target area according to the area map comprises:基于所述禁行位置生成沿边移动轨迹;generating a moving track along the edge based on the forbidden position;控制所述自移动设备按照所述沿边移动轨迹在目标区域内移动。Controlling the self-moving device to move within the target area according to the edge-along movement track.
- 根据权利要求2所述的方法,其中,所述基于所述禁行位置生成沿边移动轨迹,包括:将所述禁行位置向远离禁行区域的方向移动预设偏移距离,得到沿边移动轨迹。The method according to claim 2, wherein said generating a moving track along a side based on said forbidden position comprises: moving said forbidden position to a direction away from a forbidden area by a preset offset distance to obtain a moving track along a side .
- 根据权利要求1所述的方法,其中,所述控制所述自移动设备按照区域地图在目标区域内移动包括:The method according to claim 1, wherein the controlling the mobile device to move within the target area according to the area map comprises:基于所述禁行位置生成所述自移动设备的最短工作轨迹;generating the shortest working trajectory of the self-mobile device based on the forbidden position;控制所述自移动设备按照最短工作轨迹在目标区域内移动。The self-mobile device is controlled to move within the target area according to the shortest working track.
- 根据权利要求1所述的方法,其中,所述预设值根据环境传感器的最远信息采集距离确定。The method according to claim 1, wherein the preset value is determined according to the farthest information collection distance of the environmental sensor.
- 根据权利要求1所述的方法,其中,根据以下至少一种方式确定所述自移动设备的当前位置:The method according to claim 1, wherein the current location of the self-mobile device is determined according to at least one of the following methods:获取所述自移动设备在移动过程中的姿态信息;基于所述姿态信息确定自移动设备的当前位置;Obtaining posture information of the self-mobile device during movement; determining a current position of the self-mobile device based on the posture information;获取所述自移动设备当前位置的当前环境信息;基于所述当前环境信息与预先采集的目标区域中不同位置的位置环境信息的相似度确定自移动设备的当前位置;Acquiring the current environment information of the current location of the self-mobile device; determining the current location of the self-mobile device based on the similarity between the current environment information and the pre-collected location environment information of different positions in the target area;获取所述自移动设备当前位置的无线定位信号;基于所述无线定位信号确定自移动设备的当前位置。Acquiring the wireless positioning signal of the current location of the mobile device; determining the current location of the mobile device based on the wireless positioning signal.
- 根据权利要求1所述的方法,其中,所述基于所述第一高度和所述第二高度的差异更新所述区域地图,包括:The method of claim 1, wherein said updating said area map based on the difference between said first altitude and said second altitude comprises:在所述第二高度与所述第一高度不相同的情况下,基于所述第二高度更新所述区域地图。Where the second altitude is different from the first altitude, updating the area map based on the second altitude.
- 根据权利要求7所述的方法,其中,所述基于所述第二高度更新所述区域地图,包括:The method of claim 7, wherein said updating said area map based on said second altitude comprises:在所述第二高度大于预设高度的情况下,将所述区域地图中的所述第一高度更新为所述 第二高度;In the case that the second height is greater than a preset height, update the first height in the area map to the second height;在所述第二高度小于或等于预设高度的情况下,将所述区域地图中的所述禁行位置和所述第一高度删除;In the case that the second height is less than or equal to a preset height, deleting the forbidden position and the first height in the area map;其中,所述预设高度基于所述自移动设备所在移动表面的表面高度确定。Wherein, the preset height is determined based on the surface height of the moving surface on which the mobile device is located.
- 根据权利要求7所述的方法,其中,所述基于所述第二高度更新所述区域地图之后,还包括:The method according to claim 7, wherein, after updating the area map based on the second height, further comprising:获取所述目标区域内目标子区域的子区域信息,所述目标子区域基于所述禁行位置确定;Acquiring sub-area information of a target sub-area within the target area, the target sub-area is determined based on the forbidden position;基于所述子区域信息获取所述目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,所述其它禁行区域是指所述区域地图中未记录的禁行区域;Based on the sub-area information, other forbidden positions and third heights of other forbidden areas in the target sub-area are obtained, and the other forbidden areas refer to forbidden areas that are not recorded in the area map area;在所述区域地图中记录所述其它禁行位置和所述第三高度。Recording the other forbidden positions and the third altitude in the area map.
- 根据权利要求9所述的方法,其中,所述获取所述目标区域内目标子区域的子区域信息之前,还包括:The method according to claim 9, wherein, before acquiring the sub-area information of the target sub-area in the target area, further comprising:将所述目标区域划分为至少两个子区域;将所述禁行位置所在的子区域相邻的子区域确定为所述目标子区域;Dividing the target area into at least two sub-areas; determining a sub-area adjacent to the sub-area where the forbidden position is located as the target sub-area;或者,or,以所述禁行位置为形心,按照预设尺寸生成预设形状的目标子区域。Taking the forbidden position as a centroid, generate a target sub-area with a preset shape according to a preset size.
- 根据权利要求9所述的方法,其中,所述获取所述目标区域内目标子区域的子区域信息,包括:The method according to claim 9, wherein said obtaining the sub-area information of the target sub-area in the target area comprises:控制所述自移动设备采集所述目标子区域中各个位置的位置高度,所述子区域信息包括所述位置高度。Controlling the self-mobile device to collect the position heights of each position in the target sub-area, where the sub-area information includes the position heights.
- 根据权利要求11所述的方法,其中,所述基于所述子区域信息获取所述目标子区域中其它禁行区域的其它禁行位置和其它禁行区域的第三高度,包括:The method according to claim 11, wherein said obtaining other forbidden positions and third heights of other forbidden areas in the target sub-area based on the sub-area information comprises:对于所述目标子区域中的每个子区域位置,在所述子区域位置不是所述禁行位置的情况下,若所述子区域位置的位置高度大于预设高度,则将所述子区域位置在所述区域地图中的位置确定为所述其它禁行位置、将所述位置高度确定为所述第三高度。For each sub-area position in the target sub-area, if the sub-area position is not the no-go position, if the position height of the sub-area position is greater than the preset height, the sub-area position will be The position in the area map is determined as the other forbidden position, and the height of the position is determined as the third height.
- 根据权利要求1至12任一项所述的方法,其中,所述区域地图还包括所述禁行位置对应的障碍物类型,所述障碍物类型包括可移动类型和不可移动类型;在移动至目标位置的情况下,所述方法还包括:The method according to any one of claims 1 to 12, wherein the area map further includes the obstacle type corresponding to the forbidden position, and the obstacle type includes a movable type and an immovable type; In the case of the target location, the method further includes:在所述禁行位置对应的障碍物类型为所述可移动类型的情况下,触发执行所述检测所述禁行位置上的第二高度的步骤。In a case where the obstacle type corresponding to the forbidden position is the movable type, the step of detecting the second height at the forbidden position is triggered to be executed.
- 一种自移动设备,其特征在于,所述自移动设备包括处理器和存储器;所述存储器 中存储有程序,所述程序由所述处理器加载并执行以实现如权利要求1至13任一项所述的自移动设备的地图更新方法。A self-mobile device, characterized in that the self-mobile device includes a processor and a memory; the memory There is a program stored in it, and the program is loaded and executed by the processor to realize the map update method from the mobile device according to any one of claims 1 to 13.
- 一种计算机可读存储介质,其特征在于,所述存储介质中存储有程序,所述程序被处理器执行时用于实现如权利要求1至13任一项所述的自移动设备的地图更新方法。 A computer-readable storage medium, characterized in that a program is stored in the storage medium, and when the program is executed by a processor, it is used to implement the map update from the mobile device according to any one of claims 1 to 13 method.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210208734.3 | 2022-03-03 | ||
CN202210208734.3A CN116736837A (en) | 2022-03-03 | 2022-03-03 | Map updating method for self-mobile device, self-mobile device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2023165329A1 true WO2023165329A1 (en) | 2023-09-07 |
Family
ID=87882905
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/075986 WO2023165329A1 (en) | 2022-03-03 | 2023-02-14 | Map update method for autonomous mobile device, autonomous mobile device, and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN116736837A (en) |
WO (1) | WO2023165329A1 (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110338708A (en) * | 2019-06-21 | 2019-10-18 | 华为技术有限公司 | A kind of the cleaning control method and equipment of sweeping robot |
US20190332114A1 (en) * | 2018-04-26 | 2019-10-31 | Maidbot, Inc. | Robot Contextualization of Map Regions |
CN110709790A (en) * | 2017-03-02 | 2020-01-17 | 罗博艾特有限责任公司 | Method for controlling autonomous mobile robot |
CN111469127A (en) * | 2020-04-14 | 2020-07-31 | 北京海益同展信息科技有限公司 | Cost map updating method and device, robot and storage medium |
CN112137509A (en) * | 2020-09-24 | 2020-12-29 | 江苏美的清洁电器股份有限公司 | Virtual forbidden zone setting method and device and cleaning robot |
-
2022
- 2022-03-03 CN CN202210208734.3A patent/CN116736837A/en active Pending
-
2023
- 2023-02-14 WO PCT/CN2023/075986 patent/WO2023165329A1/en unknown
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110709790A (en) * | 2017-03-02 | 2020-01-17 | 罗博艾特有限责任公司 | Method for controlling autonomous mobile robot |
US20190332114A1 (en) * | 2018-04-26 | 2019-10-31 | Maidbot, Inc. | Robot Contextualization of Map Regions |
CN110338708A (en) * | 2019-06-21 | 2019-10-18 | 华为技术有限公司 | A kind of the cleaning control method and equipment of sweeping robot |
CN111469127A (en) * | 2020-04-14 | 2020-07-31 | 北京海益同展信息科技有限公司 | Cost map updating method and device, robot and storage medium |
CN112137509A (en) * | 2020-09-24 | 2020-12-29 | 江苏美的清洁电器股份有限公司 | Virtual forbidden zone setting method and device and cleaning robot |
Also Published As
Publication number | Publication date |
---|---|
CN116736837A (en) | 2023-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US12042926B2 (en) | Cleaning robot | |
US12061486B2 (en) | Area cleaning planning method for robot walking along boundary, chip and robot | |
KR102235270B1 (en) | Moving Robot and controlling method | |
US10660496B2 (en) | Cleaning robot and method of controlling the cleaning robot | |
US20220244739A1 (en) | Cleaning partition planning method for robot walking along boundry, chip and robot | |
US11751744B2 (en) | Moving robot and controlling method | |
US20200241554A1 (en) | Environmental information update apparatus, environmental information update method, and program | |
EP3987995B1 (en) | Method for expanding working area based on laser map, chip and robot | |
WO2022017341A1 (en) | Automatic recharging method and apparatus, storage medium, charging base, and system | |
CN113001544B (en) | Robot control method and device and robot | |
CN113961007A (en) | Self-moving device, obstacle information acquisition method, and storage medium | |
CN116243270A (en) | Target object detection method and device, medium and electronic equipment | |
WO2023165329A1 (en) | Map update method for autonomous mobile device, autonomous mobile device, and storage medium | |
WO2023078323A1 (en) | Self-moving device, obstacle detection method of self-moving device, and storage medium | |
WO2023179393A1 (en) | Region division method, device, and storage medium | |
WO2023045749A1 (en) | Charging device, self-moving device, charging method and system, and storage medium | |
WO2023071967A1 (en) | Self-moving device, method for determining obstacle edge of self-moving device, and medium | |
CN115474863B (en) | Obstacle detection method, obstacle detection device, medium and cleaning robot | |
WO2023155556A1 (en) | Self-moving device, method for controlling self-moving device, and device and storage medium | |
WO2023160428A1 (en) | Map generation method for self-moving device, self-moving device, and storage medium | |
US12147240B2 (en) | Method for expanding working area based on laser map, chip and robot | |
TWI816387B (en) | Method for establishing semantic distance map and related mobile device | |
WO2023109347A1 (en) | Relocalization method for self-moving device, device, and storage medium | |
KR20230011698A (en) | Moving Robot | |
CN116136693A (en) | Method, equipment and storage medium for determining foot drop point of leg robot |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23762730 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |