A method and system for map correction using charging piles
By using offset coordinates at the charging pile location to correct the local map, the problem of map errors in pure inertial navigation robots is solved, and the accuracy of the robot's positioning and mapping is improved.
Patent Information
- Application Number
- CN202110054870.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-01-15
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2041-01-15
AI Technical Summary
Purely inertial navigation robots can easily cause position and mapping errors when running for a long time or in complex environments. Especially when the wheels slip, it is difficult to accurately correct the map.
By using a charging pile as the initial coordinate, the work area is divided into sub-areas. The robot establishes a local map in each sub-area, synchronizes it to the global map based on the offset coordinates, and uses an infrared emitting light to guide it back to the charging pile to obtain the offset. Coordinates, correct the grid coordinates on the local map to ensure the accuracy of positioning and mapping.
It is possible to correct the local map by offset coordinates when the position of the charging pile is fixed, which improves the robot's positioning and mapping accuracy and ensures the accuracy and consistency of the map.
Smart Images

Figure CN112859862B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robots, and in particular to a method and system for performing map correction using a charging pile. Background Art
[0002] A pure inertial navigation robot is a low-cost solution. This type of robot usually only has an odometer, a gyroscope, and an infrared sensor. After running for a long time, or when the wheels slip in a complex environment, etc., the robot's actual estimated position and map may have a large error compared to the actual situation. Summary of the invention
[0003] To solve the above problems, the present invention provides a method and system for map correction using a charging pile, which can realize error correction of a map built by a pure inertial navigation robot using only one charging pile, making the robot's positioning and mapping more accurate. The specific technical solutions of the present invention are as follows:
[0004] A method for map correction using a charging pile, the method comprising the following steps: S1, the robot uses the location of the charging pile as the initial coordinate to establish a global map, and then divides the working area into several sub-areas; S2, the robot starts from the charging pile, enters a sub-area to work, and simultaneously establishes a local map of the sub-area; S3, after the robot completes the work of a sub-area, it returns to the charging pile to obtain the offset coordinate amount, and then synchronizes the local map to the global map according to the offset coordinate amount; S4, the robot resets its current coordinates to the initial coordinates, and then returns to S2 to execute until the local maps of all sub-areas are synchronized to the global map to complete the map correction. The method described in the present invention uses a charging pile to correct the map. When the position of the charging pile is fixed, the coordinates of the grid on the local map are corrected according to the offset coordinate amount and then synchronized to the global map, which can make the robot's positioning and mapping more accurate.
[0005] Furthermore, in step S2, when the robot is working, it will build a grid on the local map and detect whether the wheel is slipping. If the wheel is not slipping, the robot will make a trust mark on the corresponding grid. If the wheel is slipping, the robot will make a distrust mark on the next grid after it gets rid of the slip. Different marks are put on the grid, and there is no need to adjust the trusted grid, otherwise it will affect the accuracy of the map.
[0006] Furthermore, in step S3, the robot returns to the charging pile under the guidance of the infrared emission light, and the current coordinates of the robot are recorded at the same time.
[0007] Furthermore, in step S3, the method for obtaining the offset coordinates is: the robot uses its current coordinates and the initial coordinates of the charging pile to calculate the distance between the two points. If the distance is less than a preset value, the offset coordinate is 0. If the distance is greater than or equal to the preset value, the robot uses its current coordinates to subtract the initial coordinates of the charging pile to obtain the offset coordinate. When the distance is less than the preset value, the local map is considered to be accurate and no resources need to be spent on adjustment.
[0008] Furthermore, in step S3, if the offset coordinate amount is 0, the method for synchronizing the local map to the global map is that the robot maps the grid coordinates on the local map to the global map one by one.
[0009] Furthermore, in step S3, if the offset coordinate amount is not 0, the method for synchronizing the local map to the global map is that the robot uses the coordinates of the grid with the untrusted mark minus the offset coordinate amount to obtain the calibration coordinates, and then maps the coordinates of the grid with the trusted mark and the calibration coordinates to the global map one by one. Adjusting the untrusted grid makes the robot's positioning and mapping more accurate.
[0010] A system for map correction using a charging pile, the system comprising a robot and a charging pile. The system of the present invention uses a charging pile to correct the map. When the charging pile is fixed, the coordinates of the grid on the local map are corrected according to the offset coordinates and then synchronized to the global map, so that the robot's positioning and mapping are more accurate.
[0011] Furthermore, the robot includes an odometer, a gyroscope and an infrared sensor; the charging pile includes an infrared emitting lamp, and the infrared emitting lamp includes a seat avoidance signal lamp, a left signal lamp, a right signal lamp and a middle signal lamp, wherein the seat avoidance signal lamp is arranged at the center of the charging pile, the left signal lamp is arranged at the left of the charging pile, the right signal lamp is arranged at the right of the charging pile, and the middle signal lamp is arranged in front of the charging pile. Using infrared signals to guide the robot to return to the seat is simple in structure and easy to implement.
[0012] Furthermore, there are two intermediate signal lights, both of which face the front of the charging pile, and there is an overlapping area in their infrared radiation ranges, and the overlapping area is used for the robot to align with the charging pile. The overlapping area allows the robot to better align with the charging pile, so that it can return to the seat accurately. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 The present invention is a flowchart of a method for performing map correction using a charging pile according to an embodiment of the present invention.
[0014] Figure 2A schematic diagram of a system for performing map correction using a charging pile according to an embodiment of the present invention.
[0015] Figure 3 A schematic diagram of a scenario of using a charging pile to perform map correction according to an embodiment of the present invention. DETAILED DESCRIPTION
[0016] The technical solutions in the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings in the embodiments of the present invention. It should be understood that the specific embodiments described below are only used to explain the present invention and are not used to limit the present invention.
[0017] The robot carrier of the present invention is equipped with a gyroscope for detecting a rotation angle, an odometer for detecting a travel distance, and a sensor capable of detecting the distance to a wall. The sensor for detecting the distance to the wall may be an ultrasonic distance sensor, an infrared intensity detection sensor, an infrared distance sensor, a physical switch collision detection sensor, a capacitance or resistance change detection sensor, etc.
[0018] like Figure 1 As shown, a method for map correction using a charging pile includes the following steps: S1, the robot uses the location of the charging pile as the initial coordinate to establish a global map, and then divides the working area into several sub-areas; S2, the robot starts from the charging pile, enters a sub-area to work, and establishes a local map of the sub-area at the same time; S3, after the robot completes the work in a sub-area, it returns to the charging pile to obtain the offset coordinates, and then synchronizes the local map to the global map according to the offset coordinates; S4, the robot resets its current coordinates to the initial coordinates, and then returns to S2 to execute until the local maps of all sub-areas are synchronized to the global map to complete the map correction. The method described in this embodiment uses a charging pile to correct the map. When the position of the charging pile is fixed, the coordinates of the grid on the local map are corrected according to the offset coordinates and then synchronized to the global map, which can make the robot's positioning and mapping more accurate.
[0019] As one embodiment, in step S2, when the robot is working, it will create a grid on the local map and detect whether the wheels are slipping. If the wheels are not slipping, the robot will make a trust mark on the corresponding grid. If the wheels are slipping, the robot will make a distrust mark on the next grid after it gets rid of the slip. The method described in this embodiment marks different marks on the grid, and there is no need to adjust the trusted grid, otherwise it will affect the accuracy of the map.
[0020] As one embodiment, in step S3, the robot returns to the charging pile under the guidance of the infrared transmitter light, and the current coordinates of the robot are recorded at the same time.
[0021] As one embodiment, in step S3, the method for obtaining the offset coordinates is: the robot uses its current coordinates and the initial coordinates of the charging pile to calculate the distance between the two points. If the distance is less than a preset value, the offset coordinate is 0. If the distance is greater than or equal to the preset value, the robot uses its current coordinates to subtract the initial coordinates of the charging pile to obtain the offset coordinate. In the method described in this embodiment, when the distance is less than the preset value, the local map is considered to be accurate and no resources need to be spent on adjustment.
[0022] As one embodiment, in step S3, if the offset coordinate amount is 0, the method for synchronizing the local map to the global map is that the robot maps the grid coordinates on the local map to the global map one by one.
[0023] As one embodiment, in step S3, if the offset coordinate amount is not 0, the method for synchronizing the local map to the global map is that the robot uses the coordinates of the grid with the untrust mark minus the offset coordinate amount to obtain the calibration coordinates, and then maps the coordinates of the grid with the trust mark and the calibration coordinates to the global map one by one. The method described in this embodiment adjusts the untrusted grid to make the robot's positioning and mapping more accurate.
[0024] like Figure 2 As shown, a system for map correction using a charging pile includes a robot and a charging pile. The method described in this embodiment uses a charging pile to correct the map. When the charging pile is fixed, the coordinates of the grid on the local map are corrected according to the offset coordinate amount and then synchronized to the global map, which can make the robot's positioning and mapping more accurate.
[0025] As one embodiment, the robot includes an odometer, a gyroscope and an infrared sensor; the charging pile includes an infrared emitting lamp, and the infrared emitting lamp includes a seat avoidance signal lamp, a left signal lamp, a right signal lamp and a middle signal lamp, wherein the seat avoidance signal lamp is arranged at the center of the charging pile, the left signal lamp is arranged at the left side of the charging pile, the right signal lamp is arranged at the right side of the charging pile, and the middle signal lamp is arranged in front of the charging pile. The method described in this embodiment uses infrared signals to guide the robot to return to the seat, and has a simple structure and is easy to implement.
[0026] As one embodiment, there are two middle signal lights, both of which face the front of the charging pile, and their infrared radiation ranges have an overlapping area, which is used for the robot to align with the charging pile. In the method described in this embodiment, the overlapping area allows the robot to better align with the charging pile, so that it can return to the seat accurately.
[0027] The method of the present invention is described in detail below with reference to the accompanying drawings.
[0028] like Figure 2 There are 5 infrared emitting lamps on the charging pile 10 shown, among which the semicircular signal range is generated by the avoidance signal lamp 11, with a radius of about 0.5-0.7 meters. This range will be represented by a specific infrared code value, such as 0x80. On the left side of the charging pile is the left signal lamp 12, with a radiation range between 1-3 meters, which can be represented by 0x81, and the right signal lamp 13 can be represented by 0x82. There are two middle signal lamps 14 in front of the charging pile, with a radiation range of about 4 meters. The two middle signal lamps 14 are one on the left and one on the right, which can be represented by 0x84 and 0x88 respectively, and an overlapping area will be formed in the middle, which can be represented by 0x8c. The robot 20 can find the position of the charging pile 10 by parsing the specific infrared code value through its infrared sensor 23, and then use the overlapping area to align the robot with the charging pile 10 to achieve accurate return to the seat. It should be noted that the signal distribution of the infrared signal lamp can be adjusted by the angle of the structural member and the emission intensity.
[0029] Figure 3 A scenario in which a cleaning robot 20 cleans a certain environment is envisioned. In summary, any scenario can be abstracted Figure 3 The other scenes can be regarded as special cases. For example, some scenes may not have a left or right side, and some may not have a front or back side. The position of the charging pile 10 can be regarded as the center of the scene. It should be noted that in the method described in the present invention, the position of the charging pile 10 is fixed, that is, the position of the charging pile 10 cannot be changed during the implementation of the method of the present invention. In addition, Figure 3 The area in is a pre-established cleaning logic partition, and the cleaning robot 20 will clean each sub-area one by one according to the set order, and at this time the cleaning robot 20 has established a global map.
[0030] After receiving the cleaning command on the charging pile 10, the sweeping robot 20 records the initial coordinates (0,0) of the charging pile 10, and then sets out from the charging pile 10 to the sub-area 1 for cleaning. While cleaning, the sweeping robot 20 will establish a local map of the sub-area, and a grid will be established on the local map. The grid is represented by small grids one by one on the map, which are used to represent a specific location on the map. On the grid, a grid credibility will be established for subsequent adjustment of the coordinate offset. The specific method is as follows: When the sweeping robot 20 is cleaning, it will constantly determine whether the wheels are slipping. If it is determined that the wheels are not slipping, then mark 0 on the corresponding grid. If it is determined that the wheels are slipping, wait until the sweeping robot 20 gets rid of the slipping, and mark 1 on the grid where it walks next. Among them, 0 represents a trust mark and 1 represents a distrust mark. When the sweeping robot 20 finishes cleaning a sub-area, each grid is also marked with trust and distrust, and then the robot 20 navigates back to the charging pile 10. The robot 20 uses the infrared sensor 23 to search for infrared radiation emitted by the charging pile 10, and keeps approaching the charging pile 10 in order to find the superposition area with the infrared code value of 0x8c. Using this superposition area, the sweeping robot 20 can accurately dock with the charging pile 10. After successfully returning to the charging pile 10, the robot 20 records its current coordinates. It needs to be emphasized again that the actual position of the charging pile 10 has not changed, otherwise the robot 20 will record the wrong coordinates, affecting the subsequent map correction.
[0031] Assuming the current coordinates of robot 20 are (X, Y), then robot 20 performs the calculation: dis = √(X-0) 2 +(Y-0) 2, get the distance between the initial position of the charging pile 10 and the current position of the robot 20, and then compare the distance with the preset value. In the present invention, the preset value is the length of two fuselages. If the distance is less than the length of the two fuselages, it is considered that this is an error within a reasonable range, and there is no need to correct the coordinates of the grid. The coordinates on the grid are directly mapped one by one to the global map to complete the map correction. If the distance is greater than or equal to the length of the two fuselages, it means that the coordinates on the grid need to be remapped. First, the initial coordinates (0,0) of the charging pile 10 are subtracted from the current coordinates (X, Y) of the robot 20 to obtain the offset coordinates X and Y, and then the coordinates of the grid with the untrusted mark are subtracted from the offset coordinates to obtain the adjusted calibration coordinates. Assuming that the coordinates of the grid with the untrusted mark are (Xs, Ys), the adjusted calibration coordinates are (Xs-X, Ys-Y). Then, the robot 20 maps the calibration coordinates and the grid coordinates with the trust mark 0 to the global map to complete the correction. The ratio of the local map to the global map is 1:1. Then, the sweeping robot 20 is forced to reset its current coordinates (X, Y) to the initial coordinates (0, 0) of the charging pile 10, and then starts from the charging pile 10 again, goes to sub-area 2 to clean and executes the same method until all sub-areas are cleaned. It should be noted that the map correction method described in the present invention is applicable to pure inertial navigation robots, and each time the robot cleans a sub-area, it will return to the charging pile for map correction to correct the errors in robot positioning and mapping in a timely manner.
[0032] Obviously, the above-mentioned embodiments are only some embodiments of the present invention, rather than all embodiments, and the technical solutions between the various embodiments can be combined with each other. In addition, if the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside" and the like appear in the embodiments, the orientation or position relationship indicated is based on the orientation or position relationship shown in the accompanying drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation or be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention. If the terms "first", "second", "third" and the like appear in the embodiments, it is to facilitate the distinction of related features, and cannot be understood as indicating or implying their relative importance, order or number of technical features.
[0033] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for map correction using a charging pile, characterized in that: The method comprises the following steps: S1, the robot uses the location of the charging pile as the initial coordinate to establish a global map, and then divides the working area into several sub-areas; S2, the robot starts from the charging pile and enters a sub-area to work, while building a local map of the sub-area; S3, after the robot completes the work in a sub-area, it returns to the charging pile to obtain the offset coordinates, and then synchronizes the local map to the global map according to the offset coordinates; S4, the robot resets its current coordinates to the initial coordinates, and then returns to S2 to execute until the local maps of all sub-areas are synchronized to the global map to complete the map correction; Among them, the location of the charging pile is fixed; In step S2, when the robot is working, it will establish a grid on the local map and detect whether the wheel is slipping. If the wheel is not slipping, the robot will make a trust mark on the corresponding grid. If the wheel is slipping, the robot will make a distrust mark on the next grid after it gets rid of the slipping. Wherein, in step S3, the method for obtaining the offset coordinates is: the robot uses its current coordinates and the initial coordinates of the charging pile to calculate the distance between the two points. If the distance is less than a preset value, the offset coordinate is 0; if the distance is greater than or equal to the preset value, the robot uses its current coordinates minus the initial coordinates of the charging pile to obtain the offset coordinates; Among them, in step S3, if the offset coordinate amount is not 0, the method for synchronizing the local map to the global map is that the robot uses the coordinates of the grid with the untrusted mark minus the offset coordinate amount to obtain the calibration coordinates, and then maps the coordinates of the grid with the trusted mark and the calibration coordinates to the global map one by one.
2. A method for map correction using a charging pile according to claim 1, characterized in that: In step S3, the robot returns to the charging station under the guidance of the infrared light, and the current coordinates of the robot are recorded at the same time.
3. The method for map correction using a charging pile according to claim 1, characterized in that: In step S3, if the offset coordinate amount is 0, the method for synchronizing the local map to the global map is that the robot maps the grid coordinates on the local map to the global map one by one.
4. A system for performing map correction using a charging pile, used to implement any of the methods for performing map correction using a charging pile as described in claims 1-3, characterized in that: The system includes a robot and a charging pile.
5. A system for map correction using a charging pile according to claim 4, characterized in that: The robot includes an odometer, a gyroscope and an infrared sensor; the charging pile includes an infrared emitting lamp, and the infrared emitting lamp includes a seat avoidance signal lamp, a left signal lamp, a right signal lamp and a middle signal lamp, wherein: The seat avoidance signal light is arranged at the center of the charging pile, the left signal light is arranged at the left side of the charging pile, the right signal light is arranged at the right side of the charging pile, and the middle signal light is arranged in front of the charging pile.
6. A system for map correction using a charging pile according to claim 5, characterized in that: There are two intermediate signal lights, both of which face directly in front of the charging pile, and there is an overlapping area in their infrared radiation ranges, and the overlapping area is used for the robot to align with the charging pile.
Citation Information
Patent Citations
Detection method for robot skidding, map building method and chip
CN107348910A
Detecting method of barrier collision by intelligent robot and mapping method
CN107443430A
Unmanned-supermarket sanitary automated cleaning method
CN107456163A
Movement control method and device of mobile robot
CN107544507A
Method for predicting and controlling walking of robot
CN107807643A
