WO2022257196A1 - Autonomous mobile apparatus positioning method based on point cloud map dynamic loading - Google Patents

Autonomous mobile apparatus positioning method based on point cloud map dynamic loading Download PDF

Info

Publication number
WO2022257196A1
WO2022257196A1 PCT/CN2021/102443 CN2021102443W WO2022257196A1 WO 2022257196 A1 WO2022257196 A1 WO 2022257196A1 CN 2021102443 W CN2021102443 W CN 2021102443W WO 2022257196 A1 WO2022257196 A1 WO 2022257196A1
Authority
WO
WIPO (PCT)
Prior art keywords
map
point cloud
error
point
modules
Prior art date
Application number
PCT/CN2021/102443
Other languages
French (fr)
Chinese (zh)
Inventor
蒋涛
蔡明希
许林
邹艳玲
张林帅
李晨
Original Assignee
成都信息工程大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 成都信息工程大学 filed Critical 成都信息工程大学
Publication of WO2022257196A1 publication Critical patent/WO2022257196A1/en

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/10Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration
    • G01C21/12Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning
    • G01C21/16Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation
    • G01C21/165Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments
    • G01C21/1652Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 by using measurements of speed or acceleration executed aboard the object being navigated; Dead reckoning by integrating acceleration or speed, i.e. inertial navigation combined with non-inertial navigation instruments with ranging devices, e.g. LIDAR or RADAR
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/38Electronic maps specially adapted for navigation; Updating thereof
    • G01C21/3804Creation or updating of map data
    • G01C21/3807Creation or updating of map data characterised by the type of data
    • G01C21/3811Point data, e.g. Point of Interest [POI]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/38Electronic maps specially adapted for navigation; Updating thereof
    • G01C21/3804Creation or updating of map data
    • G01C21/3807Creation or updating of map data characterised by the type of data
    • G01C21/383Indoor data
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/86Combinations of lidar systems with systems other than lidar, radar or sonar, e.g. with direction finders
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications
    • G01S17/89Lidar systems specially adapted for specific applications for mapping or imaging
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/393Trajectory determination or predictive tracking, e.g. Kalman filtering
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/46Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being of a radio-wave signal type
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/45Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement
    • G01S19/47Determining position by combining measurements of signals from the satellite radio beacon positioning system with a supplementary measurement the supplementary measurement being an inertial measurement, e.g. tightly coupled inertial
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S7/00Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
    • G01S7/48Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
    • G01S7/497Means for monitoring or calibrating
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0231Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means
    • G05D1/0246Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means
    • G05D1/0248Control of position or course in two dimensions specially adapted to land vehicles using optical position detecting means using a video camera in combination with image processing means in combination with a laser
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0268Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
    • G05D1/027Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means comprising intertial navigation means, e.g. azimuth detector
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course or altitude of land, water, air, or space vehicles, e.g. automatic pilot
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0268Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means
    • G05D1/0274Control of position or course in two dimensions specially adapted to land vehicles using internal positioning means using mapping information stored in a memory device

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Automation & Control Theory (AREA)
  • Electromagnetism (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Optics & Photonics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Multimedia (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

An autonomous mobile apparatus positioning method based on point cloud map dynamic loading. The method comprises: step one, calibration, involving: performing online calibration and alignment on an inertial measurement unit (IMU) and a lidar by means of constructing an error model of the IMU; step two, constructing a map, involving: setting a point cloud loading rule, a mobile platform carrying the calibrated lidar and the calibrated IMU to record bags, and performing map construction on the bags on the basis of a loam algorithm of downsampling; step three, performing modular partitioning processing on the constructed map, so as to obtain a plurality of block maps that can be loaded by a robot, wherein a loading area is reserved between adjacent block maps; and step four, performing map mapping. By means of the method, a positioning deviation caused by a human error during the movement and matching of a carrier can be eliminated, and an initial loading speed is greatly increased, thereby ensuring that a movement speed and a matching speed of an inspection robot during the movement process remain stable, and realizing the reliability of full-time positioning.

Description

基于点云地图动态加载的自主移动装置定位方法Localization method of autonomous mobile device based on dynamic loading of point cloud map 技术领域technical field
本发明涉及复杂环境机器人巡检领域。更具体地说,本发明涉及一种用在工业厂区、农业园区及特征较为明显的结构化环境中的基于点云地图动态加载的自主移动装置定位方法。The invention relates to the field of complex environment robot inspection. More specifically, the present invention relates to an autonomous mobile device positioning method based on dynamic loading of point cloud maps used in industrial factories, agricultural parks and structured environments with relatively obvious features.
背景技术Background technique
在工业厂区、农业园区及特征较为明显的结构化环境中,由于GPS信号被遮挡,导致单一传感器的定位效果较差,局限性大,无法满足亚厘米级的精密定位要求。为解决此类问题,常采用多传感器融合的定位方式。但这种方式也会带来新的问题,如IMU信号偏移,没有得到GPS的校正而导致累计误差越来越大;激光雷达在此类特征明显的环境中无用的重复点多,传统激光点云地图过大,点云重复,导致加载速度缓慢,匹配速度无法满足巡检要求,从而导致定位失真,引发事故。In industrial factories, agricultural parks, and structured environments with obvious characteristics, because the GPS signal is blocked, the positioning effect of a single sensor is poor, and the limitations are large, which cannot meet the sub-centimeter level precision positioning requirements. In order to solve such problems, the positioning method of multi-sensor fusion is often used. However, this method will also bring new problems, such as IMU signal offset, which has not been corrected by GPS, resulting in an increasing cumulative error; lidar has many useless repetitive points in such an environment with obvious characteristics, and traditional laser The point cloud map is too large and the point cloud is repeated, resulting in slow loading speed and matching speed that cannot meet the inspection requirements, resulting in distorted positioning and accidents.
发明内容Contents of the invention
本发明的一个目的是解决至少上述问题和/或缺陷,并提供至少后面将说明的优点。An object of the present invention is to solve at least the above problems and/or disadvantages and to provide at least the advantages as will be described hereinafter.
为了实现根据本发明的这些目的和其它优点,提供了一种基于点云地图动态加载的自主移动装置定位方法,包括:In order to achieve these objects and other advantages according to the present invention, a method for positioning autonomous mobile devices based on dynamic loading of point cloud maps is provided, including:
步骤一,标定,通过构建惯性传感器IMU的误差模型,将IMU与激光雷达Lidar进行在线标定与对准;Step 1, calibration, by constructing the error model of the inertial sensor IMU, online calibration and alignment of the IMU and Lidar;
步骤二,构建地图,设置点云加载规则,移动平台搭载标定后的激光雷达与IMU录制bag包,对bag包基于降采样的loam算法进行地图构建;Step 2: Construct the map, set the point cloud loading rules, record the bag package with the calibrated lidar and IMU on the mobile platform, and construct the map of the bag package based on the loam algorithm of downsampling;
步骤三,对构建后的地图进行模块化分区处理,以得到多个可供机器人加载的区块地图,且相邻的区块地图之间预留加载区;Step 3: Modular partition processing is performed on the constructed map to obtain multiple block maps that can be loaded by the robot, and a loading area is reserved between adjacent block maps;
步骤四,地图映射,将模块化地图与下载的GPS地图进行映射,以得到 可供机器人行走的栅格化地图。Step 4, map mapping, maps the modularized map with the downloaded GPS map to obtain a rasterized map for the robot to walk.
优选是的,在步骤一中,所述在线标定与对准包括:Preferably, in step 1, the online calibration and alignment include:
S10,建立IMU标定误差模型;S10, establishing an IMU calibration error model;
S11,对误差模型的误差项进行激励;S11, stimulating the error term of the error model;
S12,对误差项进行可观测性分析;S12, performing an observability analysis on the error term;
S13,采用扩展卡尔曼滤波算法对误差项的分量参数进行估计,以得到对应的标定矩阵;S13, using the extended Kalman filter algorithm to estimate the component parameters of the error term to obtain a corresponding calibration matrix;
S14、将Lidar与IMU进行联合标定,以得到能加入到地图构建的补偿矩阵。S14. Jointly calibrate the Lidar and the IMU to obtain a compensation matrix that can be added to map construction.
优选是的,在S10中,标定误差模型的建立被配置为包括:Preferably, in S10, the establishment of the calibration error model is configured to include:
建立陀螺误差模型如下:The gyro error model is established as follows:
Figure PCTCN2021102443-appb-000001
Figure PCTCN2021102443-appb-000001
式中,ε n=[ε E ε N ε U] T代表陀螺误差ε n在导航坐标系下的分量,并分别指代东、北、天向的误差;
Figure PCTCN2021102443-appb-000002
为载体坐标系到导航坐标系下的转换矩阵;
Figure PCTCN2021102443-appb-000003
为陀螺输出,其分量表示陀螺x轴、y轴、z轴的输出;陀螺刻度因子误差矩阵δK G=diag[δK Gx δK Gy δK Gz],其分量表示陀螺x轴、y轴、z轴的刻度因子误差;ε b=[ε bx ε by ε bz] T为陀螺随机常值误差,其分量表示陀螺x轴、y轴、z轴的常值误差;
In the formula, ε n =[ε E ε N ε U ] T represents the component of the gyro error ε n in the navigation coordinate system, and refers to the errors of east, north and sky respectively;
Figure PCTCN2021102443-appb-000002
is the transformation matrix from the carrier coordinate system to the navigation coordinate system;
Figure PCTCN2021102443-appb-000003
is the gyro output, and its components represent the output of the gyro x-axis, y-axis, and z-axis; the gyro scale factor error matrix δK G =diag[δK Gx δK Gy δK Gz ], and its components represent the output of the gyro x-axis, y-axis, and z-axis Scale factor error; ε b =[ε bx ε by ε bz ] T is the random constant value error of the gyroscope, and its components represent the constant value errors of the gyroscope’s x-axis, y-axis, and z-axis;
建立陀螺安装误差矩阵如下:Establish the gyro installation error matrix as follows:
Figure PCTCN2021102443-appb-000004
Figure PCTCN2021102443-appb-000004
其中,矩阵的分量表示陀螺x轴、y轴、z轴的安装误差;Among them, the components of the matrix represent the installation errors of the gyroscope's x-axis, y-axis, and z-axis;
基于加速度计的刻度因子误差δK A、安装误差矩阵δA、随机常值误差
Figure PCTCN2021102443-appb-000005
构建加速度计的测量误差模型如下:
Accelerometer-based scale factor error δK A , installation error matrix δA, random constant error
Figure PCTCN2021102443-appb-000005
The measurement error model of the accelerometer is constructed as follows:
Figure PCTCN2021102443-appb-000006
Figure PCTCN2021102443-appb-000006
通过测量误差模型中的分量指代参数与陀螺误差模型以建立对应的标定误差模型。The corresponding calibration error model is established by referring to the parameters in the measurement error model and the gyroscope error model.
优选是的,在S11中、所述误差项激励是通过选择惯性传感器的运动轨迹设置和/或姿态变化,对标定误差模型进行误差项激励;Preferably, in S11, the error term excitation is to perform error term excitation on the calibration error model by selecting the motion trajectory setting and/or attitude change of the inertial sensor;
在S12中,可观测性分析的实现是基于选择的激励方式确定其可观测度,通过最优插值的方法得出状态变量的能量密度谱,并根据描述的误差构建卡尔曼滤波Kalman滤波方程得以实现;In S12, the implementation of observability analysis is to determine the observability based on the selected excitation method, obtain the energy density spectrum of the state variable through the optimal interpolation method, and construct the Kalman filter Kalman filter equation according to the described error. accomplish;
在S13中,使用扩展卡尔曼滤波算法分析系统方程、量测方程的模型特征,构建观测量并通过状态向量作为输出,通过时间更新和量测更新,完成对未知状态或内参的估计;In S13, use the extended Kalman filter algorithm to analyze the model characteristics of the system equation and the measurement equation, construct the observed quantity and use the state vector as the output, and complete the estimation of the unknown state or internal parameters through time update and measurement update;
在S14中,通过Lidar与IMU的联合标定,得出Lidar的外参,通过S13中得到的IMU内参换算出Lidar与IMU之间的变换R-T参数,通过IMU自身误差校准矩阵和联合标定获得的参数矩阵,对参数矩阵进行求逆操作获得能加入到地图构建中的补偿矩阵。In S14, through the joint calibration of Lidar and IMU, the external parameters of Lidar are obtained, and the conversion R-T parameters between Lidar and IMU are obtained through the conversion of IMU internal parameters obtained in S13, and the parameters obtained through IMU’s own error calibration matrix and joint calibration Matrix, inverting the parameter matrix to obtain a compensation matrix that can be added to the map construction.
优选是的,在步骤二中,所述点云加载规则被配置为包括:Preferably, in step 2, the point cloud loading rule is configured to include:
基于Loam的映射原理,在滑动窗口时采用循环的方式将网格中所有的立方体连接成大点云,进而通过话题发布出完整的地图;Based on the mapping principle of Loam, all the cubes in the grid are connected into a large point cloud in a circular manner when sliding the window, and then a complete map is released through the topic;
其中,在循环中,通过加入一个初始值为0的常量以判断是否小于当前点云数量,若否,则进入循环,对激光云环绕进行累加,且每次循环后初始常量也增加一位;当常量值不小于当前点云数量,则跳出循环;Among them, in the loop, by adding a constant with an initial value of 0 to determine whether it is less than the current number of point clouds, if not, enter the loop to accumulate the laser cloud surround, and the initial constant is also increased by one bit after each loop; When the constant value is not less than the current number of point clouds, jump out of the loop;
所述降采样被配置为包括:The downsampling is configured to include:
在Loam算法中,采用过滤尺寸的方式减小点云文件体积,降低特征的维度并保留有效信息;In the Loam algorithm, the size of the filter is used to reduce the volume of the point cloud file, reduce the dimension of the feature and retain the effective information;
其中,所述过滤尺寸的方式是在地图保存第一帧扫到的点云后,在每一帧在加入到地图之后进行判断,是否有点与上一帧的点的重叠率达到50%及以上,若有则删除,若无则保留。Wherein, the way of filtering the size is to save the point cloud scanned in the first frame in the map, and then judge whether the overlap rate between the point and the point in the previous frame reaches 50% or more after each frame is added to the map , delete if present, and keep if absent.
优选是的,在步骤三中,地图的模块化分区处理被配置为包括:Preferably, in step 3, the modularized partition processing of the map is configured to include:
S30,确定对地图进行大致划分的模块数量;S30, determine the number of modules for roughly dividing the map;
S31,确定模块之间缓冲区的大小;S31. Determine the size of the buffer between modules;
S32,根据预定的划分规则对地图进行模块化划分,以使每一块模块中的点云数量与预设值相差不超过10%,且模块与模块之间的预留区域满足缓冲 区的大小。S32. Carry out modular division of the map according to predetermined division rules, so that the difference between the number of point clouds in each module and the preset value does not exceed 10%, and the reserved area between modules meets the size of the buffer.
优选是的,在S30中,地图的区域数量划分是基于地图中所包含的所有点云数量,计算原始加载时间与划分模块数的关系以获得:Preferably, in S30, the division of the number of regions of the map is based on the number of all point clouds contained in the map, and the relationship between the original loading time and the number of divided modules is calculated to obtain:
在S31中,基于巡检机器人的行驶速度,以及每一块点云模块在工控机上加载所需时间,在每两块相邻模块中间设置下一个模块化地图加载的区域长度作为缓冲区;In S31, based on the driving speed of the inspection robot and the time required for each point cloud module to be loaded on the industrial computer, the length of the area loaded by the next modular map is set between every two adjacent modules as a buffer zone;
在S32中,所述划分规则包括:In S32, the division rules include:
S320,基于S30中得到的模块数量对地图进行区域划分,同时将地图中的每个拐角设置为独立模块,不另作划分;S320, dividing the map into regions based on the number of modules obtained in S30, and setting each corner in the map as an independent module without further division;
S321,选取多个模块作为起始点,以通过扩散的方式在相邻模块之间构建缓冲区。S321. Select a plurality of modules as starting points, so as to construct a buffer zone between adjacent modules in a diffusion manner.
优选是的,所述缓冲区的构建方式被配置为包括:Preferably, the construction method of the buffer is configured to include:
S3210,以各拐角作为起始点,将完全加载时间设定为S,则在拐角数大S+1的地图中,选取相对位置更小的几个拐角作为起始点;而对于拐角数小于S+1的地图,则在选取了所有的拐角之后进行数量判断以确定起始点;S3210, take each corner as the starting point, set the full loading time as S, then in the map with the number of corners larger than S+1, select several corners with smaller relative positions as the starting point; and for the number of corners less than S+1 1 map, after selecting all the corners, carry out quantity judgment to determine the starting point;
S3211,对各选取的起始点同时向外扩散,设地图的点云数量为N,则在扩散框选的点云数量达到
Figure PCTCN2021102443-appb-000007
时,触发扩散极限,停止框选;
S3211, spread outwards at the same time for each selected starting point, set the number of point clouds on the map as N, then the number of point clouds selected in the diffusion frame reaches
Figure PCTCN2021102443-appb-000007
When , the diffusion limit is triggered and the frame selection is stopped;
S3212,对扩散获得的模块数量与目标数量进行比对,若其差值为1,则在两相距最远的模块中间选取新起点,进行二次扩散,并在二次扩散框选的点云数量达到
Figure PCTCN2021102443-appb-000008
时或虽点云数量没有达到,但是扩散半径与其相邻两模块任一扩散半径之间的预留距离等于3米时,触发停止;
S3212, compare the number of modules obtained by diffusion with the target number, and if the difference is 1, select a new starting point between the two farthest modules, perform secondary diffusion, and frame the selected point cloud in the secondary diffusion quantity reached
Figure PCTCN2021102443-appb-000008
or when the number of point clouds is not reached, but the reserved distance between the diffusion radius and any diffusion radius of two adjacent modules is equal to 3 meters, the trigger stops;
其中,所述新起点的位置为
Figure PCTCN2021102443-appb-000009
且l为两相距最远的模块起始点的距离,r 1和r 2分别为两模块的扩散半径;
Wherein, the position of the new starting point is
Figure PCTCN2021102443-appb-000009
And l is the distance between the starting points of the two farthest modules, r 1 and r 2 are the diffusion radii of the two modules respectively;
S3213,将所有的圆按半径整合为矩形,采用K-Means聚类算法、概率贪婪的方法保留模块中定量的点云;S3213, integrate all the circles into rectangles according to the radius, and use the K-Means clustering algorithm and the method of probability greed to retain the quantitative point cloud in the module;
S3214,对各相邻模块边界之间的距离进行计算,若其结果大于3米,就进行扩张,若扩张达到20%任无法满足要求,则进行定量偏移,以使间隔距离满足要求;S3214, calculate the distance between the boundaries of each adjacent module, if the result is greater than 3 meters, then expand, if the expansion reaches 20% and cannot meet the requirements, perform quantitative offset, so that the interval distance meets the requirements;
若其结果小于3米,则强制平均删除两模块直接相应的点云,以留出足够的缓冲区域。If the result is less than 3 meters, the corresponding point clouds of the two modules are forced to be averaged to leave enough buffer area.
优选是的,在步骤四中,栅格化地图的构建方式被配置为包括:Preferably, in Step 4, the rasterized map construction method is configured to include:
S41、下载22级高德地图,提取出下载的高德地图上与本地图重合部分的值作为分辨率高的栅格地图,通过地图分辨率与地图相应的位置变换,计算其中各自的偏移量,并保存至yaml文件中;S41. Download the 22-level Gaode map, extract the value of the overlapped part of the downloaded Gaode map and this map as a high-resolution grid map, and calculate the respective offsets by transforming the map resolution and the corresponding position of the map amount, and save it to the yaml file;
S42、从栅格地图上截取出与点云地图相对应的部分,根据yaml文件中的转换关系将其映射到点云地图中。S42. Cut out the part corresponding to the point cloud map from the grid map, and map it into the point cloud map according to the conversion relationship in the yaml file.
优选是的,还包括:Preferably, it also includes:
步骤五,在机器人的巡检操作中,当其行驶在任一模块上时,则工控机加载当前模块和与之相连的两块缓冲区;Step five, during the inspection operation of the robot, when it is driving on any module, the industrial computer loads the current module and the two buffers connected to it;
当机器人行驶到任一缓冲区时,则判断与其相连的两块模块地图是否完成加载,若否,则加载地图,若是,则停止判断,并在缓冲区行驶完毕跨入下一模块区域时,删除上一模块区域及其单边缓冲区,对下一缓冲区进行加载,保持系统的匹配速度,循环往复直到遍历所有地图。When the robot travels to any buffer zone, it judges whether the two module maps connected to it have been loaded, if not, then loads the map, if so, stops the judgment, and when the buffer zone finishes driving and enters the next module area, Delete the previous module area and its unilateral buffer, load the next buffer, maintain the matching speed of the system, and repeat until all maps are traversed.
本发明至少包括以下有益效果:其一,本发明通过在建立高精度点云地图之前,需要对激光雷达和IMU进行标定,统一坐标系,保证后期定位的精确性;The present invention at least includes the following beneficial effects: First, the present invention needs to calibrate the laser radar and IMU before establishing a high-precision point cloud map, and unify the coordinate system to ensure the accuracy of later positioning;
其二,本发明在使用高精度算法建立地图时,通过降采样剔除掉重复的点,减小地图文件的体积,保证加载速度;Second, when the present invention uses a high-precision algorithm to build a map, it eliminates repeated points through down-sampling, reduces the volume of the map file, and ensures the loading speed;
其三,本发明根据巡检机器人的行驶速度及点云地图的疏密程度等约束条件对点云地图进行区域划分,设置合理的加载规则,提高点云匹配速度。Third, the present invention divides the point cloud map into regions according to constraints such as the driving speed of the inspection robot and the density of the point cloud map, sets reasonable loading rules, and improves the point cloud matching speed.
本发明的其它优点、目标和特征将部分通过下面的说明体现,部分还将通过对本发明的研究和实践而为本领域的技术人员所理解。Other advantages, objectives and features of the present invention will partly be embodied through the following descriptions, and partly will be understood by those skilled in the art through the study and practice of the present invention.
附图说明Description of drawings
图1为INS的误差类型;Figure 1 shows the error types of INS;
图2为本发明在线标定基本步骤;Fig. 2 is the basic steps of online calibration of the present invention;
图3为本发明采用姿态变化设置进行激励的处理流程图;Fig. 3 is the processing flowchart of the present invention adopting attitude change setting to stimulate;
图4为原始loam算法算法构建的地图结构;Fig. 4 is the map structure constructed by the original loam algorithm algorithm;
图5为本发明采用降采样的loam算法处理后构建的地图结构;Fig. 5 is the map structure constructed after the loam algorithm processing of the present invention adopts down-sampling;
图6为本发明采用模块化处理后的地图;Fig. 6 is the map after the present invention adopts modular processing;
图7为本发明映射后得到的对应栅格地图;Fig. 7 is the corresponding grid map obtained after the mapping of the present invention;
其中,图4-7均对实际效果图作了反相处理。Among them, Figures 4-7 are the inversion processing of the actual renderings.
具体实施方式Detailed ways
下面结合附图对本发明做进一步的详细说明,以令本领域技术人员参照说明书文字能够据以实施。The present invention will be further described in detail below in conjunction with the accompanying drawings, so that those skilled in the art can implement it with reference to the description.
本发明提出了一种基于点云地图模块化加载快速匹配的定位策略。在建立高精度点云地图之前,需要对激光雷达和IMU进行标定,统一坐标系;其次,使用高精度算法建立地图时,通过降采样剔除掉重复的点,减小地图文件的体积;随后,将标准GPS点坐标映射到点云地图中;最后,根据巡检机器人的行驶速度及点云地图的疏密程度等约束条件对点云地图进行区域划分,设置合理的加载规则。The invention proposes a positioning strategy based on point cloud map modular loading and fast matching. Before building a high-precision point cloud map, it is necessary to calibrate the lidar and IMU and unify the coordinate system; secondly, when using a high-precision algorithm to build a map, the repeated points are eliminated through downsampling to reduce the size of the map file; then, The standard GPS point coordinates are mapped to the point cloud map; finally, the point cloud map is divided into regions according to the constraints such as the driving speed of the inspection robot and the density of the point cloud map, and reasonable loading rules are set.
本发明提出的基于点云地图模块化加载快速匹配的定位策略包括:The positioning strategy based on point cloud map modular loading and fast matching proposed by the present invention includes:
1.标定1. Calibration
惯性导航系统INSNS系统是利用安装在载体上的惯性测量装置(如加速度计和陀螺仪等)敏感载体的运动,输出载体的姿态和位置信息。INS系统完全自主,保密性强,并且机动灵活,具备多功能参数输出,但是存在误差随时间迅速积累的问题,导航精度随时间而发散,不能单独长时间工作,必须不断加以校准(即建立相应的标定用误差模型)。The inertial navigation system INSNS system is to use the inertial measurement device (such as accelerometer and gyroscope, etc.) installed on the carrier to sense the movement of the carrier, and output the attitude and position information of the carrier. The INS system is completely autonomous, highly confidential, and flexible, and has multi-function parameter output, but there is a problem that errors accumulate rapidly with time, and navigation accuracy diverges with time. Calibration error model).
析研究惯性传感器的误差,其中包括系统误差和随机误差,建立传感器误差的数学模型,利用此模型对输出的原始数据进行修正,提高原始数据的准确度,其中INS输出的误差类型如图1所示,其中系统误差为传感器自带的误差,其参数可由出差的文件中得到,在构建模型时可直接使用,而随机误差是由于安装或其它外在因素造成的误差,需要对其参数进行估计,完成标定或配准。Analyze and study the errors of inertial sensors, including systematic errors and random errors, establish a mathematical model of sensor errors, use this model to correct the output original data, and improve the accuracy of the original data. The error types output by INS are shown in Figure 1 The system error is the error that comes with the sensor, and its parameters can be obtained from the business trip file, which can be used directly when building the model, while the random error is the error caused by installation or other external factors, and its parameters need to be estimated , to complete the calibration or registration.
如图2所示,对INS进行在线标定与对准,其具体步骤包括:As shown in Figure 2, the online calibration and alignment of the INS, the specific steps include:
建立陀螺误差模型如下:The gyro error model is established as follows:
Figure PCTCN2021102443-appb-000010
Figure PCTCN2021102443-appb-000010
式中,ε n=[ε E ε N ε U] T代表陀螺误差ε n在导航坐标系下的分量,并分别指代东、北、天向的误差;
Figure PCTCN2021102443-appb-000011
为载体坐标系到导航坐标系下的转换矩阵;
Figure PCTCN2021102443-appb-000012
为陀螺输出,其分量表示陀螺x轴、y轴、z轴的输出;陀螺刻度因子误差矩阵δK G=diag[δK Gx δK Gy δK Gz],其分量表示陀螺x轴、y轴、z轴的刻度因子误差;ε b=[ε bx ε by ε bz] T为陀螺随机常值误差,其分量表示陀螺x轴、y轴、z轴的常值误差;
In the formula, ε n =[ε E ε N ε U ] T represents the component of the gyro error ε n in the navigation coordinate system, and refers to the errors of east, north and sky respectively;
Figure PCTCN2021102443-appb-000011
is the transformation matrix from the carrier coordinate system to the navigation coordinate system;
Figure PCTCN2021102443-appb-000012
is the gyro output, and its components represent the output of the gyro x-axis, y-axis, and z-axis; the gyro scale factor error matrix δK G =diag[δK Gx δK Gy δK Gz ], and its components represent the output of the gyro x-axis, y-axis, and z-axis Scale factor error; ε b =[ε bx ε by ε bz ] T is the random constant value error of the gyroscope, and its components represent the constant value errors of the gyroscope’s x-axis, y-axis, and z-axis;
陀螺安装误差矩阵为:The gyro installation error matrix is:
Figure PCTCN2021102443-appb-000013
Figure PCTCN2021102443-appb-000013
分量表示陀螺x轴、y轴、z轴的安装误差。根据上述定义,可构建完整的陀螺误差模型。The component represents the installation error of the gyroscope's x-axis, y-axis, and z-axis. According to the above definition, a complete gyro error model can be constructed.
结合加速度计的刻度因子误差δK A、安装误差矩阵δA、随机常值误差
Figure PCTCN2021102443-appb-000014
构建加速度计的测量误差模型为:
Combining the scale factor error δK A of the accelerometer, the installation error matrix δA, the random constant error
Figure PCTCN2021102443-appb-000014
The measurement error model of the accelerometer is constructed as follows:
Figure PCTCN2021102443-appb-000015
Figure PCTCN2021102443-appb-000015
式中,其分量指代参数与陀螺误差模型类似通过建立的标定误差模型,选择合适的激励、估计方法即可完成对上述误差项的标定。In the formula, its components refer to parameters similar to the gyroscope error model. By establishing a calibration error model and selecting appropriate excitation and estimation methods, the calibration of the above error items can be completed.
误差项激励,即通过特定的方式,使某项误差所引起的系统误差被合理放大,从而方便后续操作过程。适当的激励方式,可以提高某些误差参数的可观测性,激励效果的优良程度,很大程度地影响标定效果。激励方式的选取有运动轨迹设置、姿态变化设置等。初步拟定姿态变化的方式进行误差项激励,采用姿态变化设置作为激励方式的步骤如图3所示。Error item incentives, that is, through a specific method, the system error caused by a certain error is reasonably amplified, so as to facilitate the subsequent operation process. Appropriate incentive methods can improve the observability of certain error parameters, and the excellence of the incentive effect greatly affects the calibration effect. The selection of the excitation mode includes motion trajectory setting, attitude change setting and so on. The method of attitude change is preliminarily drawn up for error item excitation, and the steps of adopting attitude change setting as the excitation method are shown in Figure 3.
可观测性与误差项激励紧密相关,一般以可观测度定义捷联惯导系统误差项在机动方式下是否被激励。通过设置合理的运动轨迹,利用可观测性分 析确定其可观测度,通过最优插值的方法得出状态变量的能量密度谱,并根据描述的误差构建Kalman滤波方程,从而实现可观测性分析。The observability is closely related to the excitation of the error term. Generally, the observability is used to define whether the error term of the SINS is excited in the maneuvering mode. By setting a reasonable trajectory, using observability analysis to determine its degree of observability, the energy density spectrum of the state variable is obtained through the optimal interpolation method, and the Kalman filter equation is constructed according to the described error, so as to realize the observability analysis.
参数估计,通常使用Kalman滤波方法通过分析系统方程、量测方程的模型特征,构建合理的观测量并通过状态向量作为输出,通过时间更新和量测更新,完成对未知状态或参数的估计。Kalman滤波虽然具有广泛的应用,但其主要解决针对于线性系统的问题,对于非线性滤波问题,需要进行深入的改进研究,本课题拟采用扩展卡尔曼滤波(Extended Kalman Filter,EKF),考虑平衡误差项简化繁琐的计算。完成之后,固定安装,使用激光雷达与IMU进行联合标定,得出Lidar的外参,通过上一步得到的IMU内参换算出Lidar与IMU之间的变换R-T参数。For parameter estimation, the Kalman filter method is usually used to analyze the model characteristics of the system equation and the measurement equation, construct a reasonable observation quantity and use the state vector as an output, and complete the estimation of the unknown state or parameter through time update and measurement update. Although Kalman filtering has a wide range of applications, it mainly solves the problems of linear systems. For nonlinear filtering problems, in-depth improvement research is needed. This topic intends to use Extended Kalman Filter (EKF), considering the balance The error term simplifies tedious calculations. After the completion, fix the installation, use the lidar and IMU for joint calibration, get the external parameters of the Lidar, and convert the R-T parameters between the Lidar and the IMU through the conversion of the IMU internal parameters obtained in the previous step.
通过IMU自身误差校准矩阵和联合标定获得的参数矩阵进行求逆操作获得补偿矩阵,并将矩阵加入到地图构建中,至此地图构建的准备工作就已经完成了。The compensation matrix is obtained through the inverse operation of the IMU's own error calibration matrix and the parameter matrix obtained by joint calibration, and the matrix is added to the map construction. So far, the preparation for map construction has been completed.
2.地图构建2. Map construction
传统的loam算法能够建立较为完善的点云地图,但是存在载体加载区域过小,存在重复点过多等问题。首先要对算法进行改进。The traditional loam algorithm can establish a relatively complete point cloud map, but there are problems such as too small carrier loading area and too many repeated points. First, the algorithm must be improved.
第一步,设置合理的点云加载规则。Loam的映射原理是通过滑动窗口的方法来保存机器人周围累积的点云地图。在开始时,机器人的初始位置会初始化一个3D网格,这个网格中的每一个立方体都由一个点云表示。对于每个传入的扫描,映射操作只会更新当前位置周围的一小块立方体区域,更新后的区域会连接到一个大点云,最后进行下采样处理并通过话题将其发布出来。当机器人在网格中自由移动时,一旦接近网格的任意边界,网格就会向相应的反方向移动,从而丢失在网格的另一边累积的地图立方体。网格的大小是由Loam算法中的构造函数LaserMapping规定的。原始规定为50*50*50米的区域。如果盲目的扩大区域,会导致整个算法耗费大量内存,严重时甚至会直接崩溃。所以可以设置一个循环来将所有的立方体连接成大点云,而非当前更新区域,从而通过话题发布出完整的地图。通过加入一个初始值为0的常量,用其来判断是否小于当前点云数量,若否,则进入循环,对激光云环绕进行累加,一次循环后初始常量也增加一位。以此循环,若该常量不 小于当前点云数量,则跳出循环。如此操作,既增大了网格区域,又避免了内存耗散。The first step is to set reasonable point cloud loading rules. The mapping principle of Loam is to save the point cloud map accumulated around the robot through the sliding window method. At the beginning, the initial position of the robot initializes a 3D mesh, and each cube in this mesh is represented by a point cloud. For each incoming scan, the mapping operation only updates a small cube area around the current position, and the updated area is connected to a large point cloud, which is finally down-sampled and published through the topic. As the robot moves freely in the grid, once it approaches any boundary of the grid, the grid moves in the corresponding opposite direction, thus losing the map cubes accumulated on the other side of the grid. The size of the grid is specified by the constructor LaserMapping in the Loam algorithm. The original regulation is an area of 50*50*50 meters. If the area is expanded blindly, the entire algorithm will consume a large amount of memory, and even crash directly in severe cases. So you can set up a loop to connect all the cubes into a big point cloud instead of the current update area, so as to publish the complete map through the topic. By adding a constant with an initial value of 0, use it to judge whether it is less than the current number of point clouds. If not, enter a loop to accumulate the laser cloud surround. After a loop, the initial constant also increases by one bit. In this loop, if the constant is not less than the current number of point clouds, then jump out of the loop. In this way, the grid area is increased and memory consumption is avoided.
第二步,进行降采样。以上操作虽然在一定程度上避免了内存耗散,但因为点云的无序性以及数量成几何倍增加,依然会占据较大内存。为缓解加载压力,对点云进行降采样操作。通过采用合适的过虑尺寸以减小点云文件体积,降低特征的维度并保留有效信息,一定程度上避免过拟合,便于传输和加载。过滤尺寸设计为如下规则:地图保存第一帧扫到的点云随后的每一帧在加入到地图之后进行判断,是否有点与上一帧的点的重叠率达到50%及以上,若有则删除,若无则保留。通常降采样后体积可以降到原来的一半以下,而特征并不会减少。同时由于后期采用的匹配算法NDT的特性,进行降采样操作后并不会影响最终的匹配定位效果。在建图过程中不断的读入点云文件,然后进行降采样操作,最后再保存到新文件中。The second step is downsampling. Although the above operations avoid memory dissipation to a certain extent, they still occupy a large amount of memory due to the disorder of the point cloud and the exponential increase in the number. In order to alleviate the loading pressure, the point cloud is down-sampled. By using an appropriate filter size to reduce the size of the point cloud file, reduce the dimension of the feature and retain effective information, avoid over-fitting to a certain extent, and facilitate transmission and loading. The filter size is designed as the following rules: the map saves the point cloud scanned in the first frame, and each subsequent frame is judged after being added to the map, whether the point overlap rate with the point in the previous frame reaches 50% or more, and if so, then Delete, or keep if none. Usually after downsampling, the volume can be reduced to less than half of the original, but the features will not be reduced. At the same time, due to the characteristics of the matching algorithm NDT used in the later stage, the final matching and positioning effect will not be affected after the down-sampling operation. During the process of building the map, the point cloud file is continuously read, then downsampled, and finally saved to a new file.
第三步,使用移动平台搭载完成标定的激光雷达与IMU在结构化道路中匀速移动,唤醒雷达与IMU,录制相应的bag包,路径形成回环后结束录制。The third step is to use the mobile platform to carry the calibrated lidar and IMU to move at a constant speed in the structured road, wake up the radar and IMU, record the corresponding bag package, and end the recording after the path forms a loop.
第四步,使用加入了降采样的loam算法对前一步的bag包进行地图构建。The fourth step is to use the loam algorithm with downsampling to construct the map of the bag package in the previous step.
如图4所示,在未进行降采样操作的情况下,直接使用bag包数据进行建图,可以看到地图只保留了大约原图的四分之一的大小,且点云杂乱,关键区域重叠严重。As shown in Figure 4, when the downsampling operation is not performed, the bag data is directly used for map construction. It can be seen that the map only retains about a quarter of the size of the original image, and the point cloud is messy, and the key areas The overlap is severe.
如图5所示,通过修改之后的算法进行建图,地图顺利加载齐全,回环道路显示的十分明显,各区域点云规模统一,稀疏程度均匀,所占内存也只有图4地图的三分之一,加载速度得到了显著提升。As shown in Figure 5, the modified algorithm was used to construct the map, the map was successfully loaded and the loop road was clearly displayed, the point cloud size of each area was uniform, the degree of sparseness was uniform, and the memory occupied was only one-third of that of the map in Figure 4. One, the loading speed has been significantly improved.
3.地图模块化处理3. Map modular processing
将建立好的地图进行分区处理。第一步,确定大致划分区域数量。统计本地图所包含的所有点云数量,并求得其原始加载时间与划分区域数的关系。如,一地图的点云数量为N,在工控机上的完全加载时间平均为S秒左右,为保证每一模块在工控机上的理想化加载速度不超过1秒,即最小需要把地图平均分为S+1个模块进行动态加载。Partition the created map. The first step is to determine the approximate number of areas to be divided. Count the number of all point clouds contained in this map, and obtain the relationship between its original loading time and the number of divided regions. For example, the number of point clouds in a map is N, and the average full loading time on the industrial computer is about S seconds. In order to ensure that the ideal loading speed of each module on the industrial computer does not exceed 1 second, that is, the minimum map needs to be divided into S+1 modules are dynamically loaded.
第二步,确定缓冲区域的大小。在每两块相邻模块中间必须预留加载区域作为缓冲区域。每一模块都会与两块缓冲区域相连接,当机器人行驶到了 其中一块缓冲区时,立即判断与其相连的两块模块地图是否完成加载,若否,则加载地图,若是,则停止判断。总而言之,缓冲区域就是用来保证模块地图平稳而完整加载。为保证巡检机器人在校园,工厂等限速区域,在保证安全的情况下能不失真的完成地图匹配,故采用其最大限制行驶速度5km/h,折算后约为1.5m/s。每一模块的理想加载时耗为1秒,为确保机器人尚未行驶出加载区域时,下一模块就已经完成加载,故取预留时间为其加载时间的两倍,即为2秒,所以缓存区域的跨度取1.5*2=3米。The second step is to determine the size of the buffer area. A loading area must be reserved between every two adjacent modules as a buffer area. Each module is connected to two buffer areas. When the robot reaches one of the buffer areas, it immediately judges whether the maps of the two modules connected to it have been loaded. If not, load the map. If so, stop judging. All in all, the buffer area is used to ensure that the module map is loaded smoothly and completely. In order to ensure that the inspection robot can complete map matching without distortion in the speed-limited areas such as campuses and factories, the maximum speed limit is 5km/h, which is about 1.5m/s after conversion. The ideal loading time for each module is 1 second. In order to ensure that the next module has been loaded before the robot drives out of the loading area, the reserved time is twice the loading time, which is 2 seconds. Therefore, the cache The span of the area is 1.5*2=3 meters.
第三步,划分地图。选取各起始点。为保证巡检机器人在行驶过程中的安全,每个拐角均为独立模块,不另作划分。故可以将起始点选在较为特殊的拐角处。对于拐角数大于S+1的地图,则选取相对位置更小的几个拐角,对于拐角数小于S+1的地图,则在选取了所有的拐角之后再进行数量判断。以图5为例,具体操作如下:分别选取4个拐角点为起始点,同时开始向外扩散,当所框选的点云数量达到
Figure PCTCN2021102443-appb-000016
时,触发扩散极限,停止框选。此时,获得的模块与目标数相差为1,在两相距最远的模块中间选取新的起始点,起始点的位置选择为
Figure PCTCN2021102443-appb-000017
其中,l为两相距最远的模块起始点的距离,r1和r2分别为两模块的扩散半径。当前模块的扩散停止条件有两个,其一是当所框选的点云数量达到
Figure PCTCN2021102443-appb-000018
时触发停止,其二是点云数量没有达到,但是其扩散半径与其相邻两模块任一扩散半径之间的预留距离等于3米时,触发停止。两个条件满足任一即可。随后,将所有的圆按半径整合为矩形。此时,使用改进的K-Means聚类算法对其优化。K-Means要求在定量选择了中心点之后,计算每个数据点到中心点的距离,数据点距离哪个中心点最近就划分到哪一类中。计算每一类中中心点作为新的中心点。重复以上步骤,直到每一类中心在每次迭代后变化不大为止。所以在已经选定中心点和完成了初步聚类的情况下,一直进行迭代,通过概率贪婪的方式选择保留的点云。距离中心点越近的点被保留的概率就会越大,而距离中心点越远的点被保留的概率就会越小。通过概率贪婪的操作既保留了优质的点,又避免了陷入局部最优。概率贪婪的具体操作为:穷举中心点C 1与其他点之间的距离并求出 其和,每一个点被保留的概率为:
Figure PCTCN2021102443-appb-000019
用此操作保留住模块中定量的点云。最后,计算模块边界两两之间的距离,若大于3米,即进行扩张,若扩张达到20%任无法满足要求,则进行定量偏移,使得间隔距离满足要求。若小于3米,则强制平均删除两模块直接相应的点云,留出足够的缓冲区域。最终,保证每一模块的点云数量与预设值的相差度不超过10%,且每一预留区域均满足3米间隔的要求,即可完成地图构建。
The third step is to divide the map. Pick each starting point. In order to ensure the safety of the inspection robot during driving, each corner is an independent module and will not be divided separately. Therefore, the starting point can be selected at a special corner. For a map with a number of corners greater than S+1, several corners with smaller relative positions are selected; for a map with a number of corners less than S+1, the quantity judgment is performed after all corners are selected. Taking Figure 5 as an example, the specific operation is as follows: select four corner points as the starting point, and start to spread outward at the same time, when the number of selected point clouds reaches
Figure PCTCN2021102443-appb-000016
When , the diffusion limit is triggered and the frame selection is stopped. At this time, the difference between the obtained module and the target number is 1, and a new starting point is selected between the two farthest modules, and the position of the starting point is selected as
Figure PCTCN2021102443-appb-000017
Among them, l is the distance between the starting points of the two farthest modules, and r1 and r2 are the diffusion radii of the two modules respectively. There are two diffusion stop conditions for the current module, one is when the number of selected point clouds reaches
Figure PCTCN2021102443-appb-000018
The second is that the number of point clouds has not reached, but the reserved distance between its diffusion radius and any diffusion radius of two adjacent modules is equal to 3 meters, and the trigger stops. Either of the two conditions is satisfied. Then, integrate all the circles into rectangles by radius. At this point, it is optimized using the improved K-Means clustering algorithm. K-Means requires that after the central point is quantitatively selected, the distance from each data point to the central point is calculated, and the data point is classified into the category which is closest to the central point. Calculate the center point of each class as the new center point. Repeat the above steps until the center of each class does not change much after each iteration. Therefore, after the center point has been selected and the preliminary clustering has been completed, the iterations have been carried out, and the retained point cloud is selected in a probabilistic greedy manner. The closer to the center point, the greater the probability of being retained, and the farther away from the center point, the smaller the probability of being retained. The probabilistic greedy operation not only retains high-quality points, but also avoids falling into local optimum. The specific operation of probabilistic greed is: exhaustively enumerate the distance between the center point C 1 and other points and calculate the sum. The probability of each point being retained is:
Figure PCTCN2021102443-appb-000019
Use this operation to preserve the quantitative point cloud in the module. Finally, calculate the distance between two pairs of module boundaries. If it is greater than 3 meters, then expand it. If the expansion reaches 20% and cannot meet the requirements, perform quantitative offset to make the separation distance meet the requirements. If it is less than 3 meters, the corresponding point clouds of the two modules are forced to be deleted on average to leave a sufficient buffer area. Finally, ensure that the difference between the number of point clouds of each module and the preset value does not exceed 10%, and each reserved area meets the requirement of 3-meter intervals, and then the map construction can be completed.
在实际操作中,所述地图的构建还可包括:第一步划分大致区域。将建好的地图以点云稀疏程度为最大依据来进行划分。为保证巡检机器人在行驶过程中的安全,故每个拐角均为独立模块,不另作划分。保证每一块模块中的点云数量相差不超过10%,以追求模块化加载时的各时间均匀。如本地图根据点云稀疏程度被均匀的划分为五块区域,以不同颜色区分。第二步,计算巡检机器人的行驶距离。在每两块相邻模块中间必须预留加载区域,即为图6中黑色区域。在校园,工厂等限速区域,机器人行驶速度通常为5km/h,折算后约等于1.5m/s。每一块点云模块在工控机上加载所需时间为1s左右,故为保证安全驾驶,预留2s的加载时间,确保机器人尚未行驶出加载区域时,下一模块就已经完成加载。所以,地图中设置加载区域长度为3m,当机器人行驶到加载区域时,系统开始判别是否加载与当前加载区域相邻的两块区域,若否,则开始加载下一区域模块,若是,则停止判断,继续运行。当此加载区域行驶完毕之后,删除上一模块,保持系统的匹配速度,如此循环往复。In actual operation, the construction of the map may further include: dividing a rough area in the first step. The built map is divided based on the sparseness of the point cloud. In order to ensure the safety of the inspection robot during driving, each corner is an independent module and will not be divided separately. Ensure that the number of point clouds in each module differs by no more than 10%, in order to pursue the uniformity of each time when the module is loaded. For example, this map is evenly divided into five areas according to the point cloud sparseness, which are distinguished by different colors. The second step is to calculate the driving distance of the inspection robot. A loading area must be reserved between every two adjacent modules, which is the black area in Figure 6. In speed-limited areas such as campuses and factories, the driving speed of the robot is usually 5km/h, which is about 1.5m/s after conversion. It takes about 1 second to load each point cloud module on the industrial computer. Therefore, to ensure safe driving, a loading time of 2 seconds is reserved to ensure that the loading of the next module has been completed before the robot drives out of the loading area. Therefore, the length of the loading area is set to 3m in the map. When the robot travels to the loading area, the system starts to judge whether to load two areas adjacent to the current loading area. If not, it starts loading the next area module. If so, it stops. Judgment, keep running. When the loading area is completed, the previous module is deleted to maintain the matching speed of the system, and so on.
4.地图映射4. Mapping
下载22级高德地图,提取出下载的高德地图上与本地图重合部分,值作为分辨率高的栅格地图。选取一特殊点作为原点,此点一般选择为左下角。通过地图分辨率与地图相应的位置变换,计算其中各偏移量,并保存至yaml文件中,最后得到的栅格地图如图7所示。Download the 22-level Gaode map, extract the part of the downloaded Gaode map that overlaps with this map, and use the value as a high-resolution grid map. Select a special point as the origin, which is generally selected as the lower left corner. Through the map resolution and the corresponding position transformation of the map, the offsets are calculated and saved in the yaml file. The finally obtained grid map is shown in Figure 7.
再从制作完成的栅格地图上截取出与点云地图相对应的部分,根据yaml文件中的转换关系将其映射到点云地图中。Then cut out the part corresponding to the point cloud map from the completed grid map, and map it to the point cloud map according to the conversion relationship in the yaml file.
至此,一副完整的包含gps信号的切割完成的模块化激光点云地图就创 建完成。So far, a complete cut modular laser point cloud map containing GPS signals has been created.
5.机器人基于地图的巡检操作5. Robot inspection operation based on map
所构建地图如图6所示。当机器人行驶在任一模块上时,工控机只加载当前模块和与之相连的两块缓冲区,当其行驶到任一缓冲区时,立即判断与其相连的两块模块地图是否完成加载,若否,则加载地图,若是,则停止判断。待机器人跨入下一区域时,删除上一区域及其单边缓冲区,加载下一缓冲区,如此循环往复,直到遍历所有的模块。采用本发明的基于点云地图模块化加载快速匹配的定位策略或方法具有以下优点:The constructed map is shown in Figure 6. When the robot travels on any module, the industrial computer only loads the current module and the two buffers connected to it. When it travels to any buffer, it immediately judges whether the maps of the two modules connected to it have been loaded. , then load the map, and if so, stop judging. When the robot enters the next area, delete the previous area and its unilateral buffer, load the next buffer, and so on, until all modules are traversed. Adopting the positioning strategy or method based on point cloud map modular loading and fast matching of the present invention has the following advantages:
1.激光雷达与IMU进行标定,消除人为误差,致使地图偏差减小,墙体构建更为完整,致使载体在移动匹配时因人为误差导致的定位偏差被消除了。1. LiDAR and IMU are calibrated to eliminate human error, resulting in reduced map deviation and more complete wall construction, which eliminates the positioning deviation caused by human error when the carrier moves and matches.
2.对地图进行降采样与模块化划分处理,致使地图构建完整,特征增多,干扰减少,内存减小,且极大的提高了初始加载速度。原本需要5秒钟的加载时间的一副地图,现在仅需1秒钟就可以完成加载,且精度不仅没有被降低,还提升了一个档次。保证巡检机器人在移动过程中的移动速度与匹配速度保持稳定,实现全时定位的可靠性。2. The map is down-sampled and modularized, resulting in a complete map construction, increased features, reduced interference, reduced memory, and greatly improved the initial loading speed. A map that originally took 5 seconds to load can now be loaded in only 1 second, and the accuracy has not been reduced, but has also been raised to a higher level. Ensure that the moving speed and matching speed of the inspection robot remain stable during the movement process, and realize the reliability of all-time positioning.
以上方案只是一种较佳实例的说明,但并不局限于此。在实施本发明时,可以根据使用者需求进行适当的替换和/或修改。The above solution is only an illustration of a preferred example, but not limited thereto. When implementing the present invention, appropriate replacements and/or modifications can be made according to user requirements.
这里说明的设备数量和处理规模是用来简化本发明的说明的。对本发明的应用、修改和变化对本领域的技术人员来说是显而易见的。The number of devices and processing scales described here are used to simplify the description of the present invention. Applications, modifications and variations to the present invention will be apparent to those skilled in the art.
尽管本发明的实施方案已公开如上,但其并不仅仅限于说明书和实施方式中所列运用。它完全可以被适用于各种适合本发明的领域。对于熟悉本领域的人员而言,可容易地实现另外的修改。因此在不背离权利要求及等同范围所限定的一般概念下,本发明并不限于特定的细节和这里示出与描述的图例。Although embodiments of the present invention have been disclosed above, it is not limited to the applications set forth in the specification and examples. It can be fully applied to various fields suitable for the present invention. Additional modifications can readily be made by those skilled in the art. Therefore, the invention should not be limited to the specific details and examples shown and described herein, without departing from the general concept defined by the claims and their equivalents.

Claims (10)

  1. 一种基于点云地图动态加载的自主移动装置定位方法,其特征在于,包括:A positioning method for autonomous mobile devices based on dynamic loading of point cloud maps, characterized in that it includes:
    步骤一,标定,通过构建惯性传感器IMU的误差模型,将IMU与激光雷达Lidar进行在线标定与对准;Step 1, calibration, by constructing the error model of the inertial sensor IMU, online calibration and alignment of the IMU and Lidar;
    步骤二,构建地图,设置点云加载规则,移动平台搭载标定后的激光雷达与IMU录制bag包,对bag包基于降采样的loam算法进行地图构建;Step 2: Construct the map, set the point cloud loading rules, record the bag package with the calibrated lidar and IMU on the mobile platform, and construct the map of the bag package based on the loam algorithm of downsampling;
    步骤三,对构建后的地图进行模块化分区处理,以得到多个可供机器人加载的区块地图,且相邻的区块地图之间预留加载区;Step 3: Modular partition processing is performed on the constructed map to obtain multiple block maps that can be loaded by the robot, and a loading area is reserved between adjacent block maps;
    步骤四,地图映射,将模块化地图与下载的GPS地图进行映射,以得到可供机器人行走的栅格化地图。Step 4, map mapping, map the modularized map with the downloaded GPS map to obtain a rasterized map for the robot to walk.
  2. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在步骤一中,所述在线标定与对准包括:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 1, wherein in step 1, the online calibration and alignment include:
    S10,建立IMU标定误差模型;S10, establishing an IMU calibration error model;
    S11,对误差模型的误差项进行激励;S11, stimulating the error term of the error model;
    S12,对误差项进行可观测性分析;S12, performing an observability analysis on the error term;
    S13,采用扩展卡尔曼滤波算法对误差项的分量参数进行估计,以得到对应的标定矩阵;S13, using the extended Kalman filter algorithm to estimate the component parameters of the error term to obtain a corresponding calibration matrix;
    S14、将Lidar与IMU进行联合标定,以得到能加入到地图构建的补偿矩阵。S14. Jointly calibrate the Lidar and the IMU to obtain a compensation matrix that can be added to map construction.
  3. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在S10中,标定误差模型的建立被配置为包括:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 1, wherein in S10, the establishment of the calibration error model is configured to include:
    建立陀螺误差模型如下:The gyro error model is established as follows:
    Figure PCTCN2021102443-appb-100001
    Figure PCTCN2021102443-appb-100001
    式中,ε n=[ε E ε N ε U] T代表陀螺误差ε n在导航坐标系下的分量,并分别指代东、北、天向的误差;
    Figure PCTCN2021102443-appb-100002
    为载体坐标系到导航坐标系下的转换矩阵;
    Figure PCTCN2021102443-appb-100003
    为陀螺输出,其分量表示陀螺x轴、y轴、z轴的输 出;陀螺刻度因子误差矩阵δK G=diag[δK Gx δK Gy δK Gz],其分量表示陀螺x轴、y轴、z轴的刻度因子误差;ε b=[ε bx ε by ε bz] T为陀螺随机常值误差,其分量表示陀螺x轴、y轴、z轴的常值误差;
    In the formula, ε n =[ε E ε N ε U ] T represents the component of the gyro error ε n in the navigation coordinate system, and refers to the errors of east, north and sky respectively;
    Figure PCTCN2021102443-appb-100002
    is the transformation matrix from the carrier coordinate system to the navigation coordinate system;
    Figure PCTCN2021102443-appb-100003
    is the gyro output, and its components represent the output of the gyro x-axis, y-axis, and z-axis; the gyro scale factor error matrix δK G =diag[δK Gx δK Gy δK Gz ], and its components represent the output of the gyro x-axis, y-axis, and z-axis Scale factor error; ε b =[ε bx ε by ε bz ] T is the random constant value error of the gyroscope, and its components represent the constant value errors of the gyroscope’s x-axis, y-axis, and z-axis;
    建立陀螺安装误差矩阵如下:Establish the gyro installation error matrix as follows:
    Figure PCTCN2021102443-appb-100004
    Figure PCTCN2021102443-appb-100004
    其中,矩阵的分量表示陀螺x轴、y轴、z轴的安装误差;Among them, the components of the matrix represent the installation errors of the gyroscope's x-axis, y-axis, and z-axis;
    基于加速度计的刻度因子误差δK A、安装误差矩阵δA、随机常值误差
    Figure PCTCN2021102443-appb-100005
    构建加速度计的测量误差模型如下:
    Accelerometer-based scale factor error δK A , installation error matrix δA, random constant error
    Figure PCTCN2021102443-appb-100005
    The measurement error model of the accelerometer is constructed as follows:
    Figure PCTCN2021102443-appb-100006
    Figure PCTCN2021102443-appb-100006
    通过测量误差模型中的分量指代参数与陀螺误差模型以建立对应的标定误差模型。The corresponding calibration error model is established by referring to the parameters in the measurement error model and the gyroscope error model.
  4. 如权利要求2所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在S11中、所述误差项激励是通过选择惯性传感器的运动轨迹设置和/或姿态变化,对标定误差模型进行误差项激励;The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 2, characterized in that in S11, the error item is excited by selecting the motion track setting and/or attitude change of the inertial sensor, and the calibration The error model is used to stimulate the error term;
    在S12中,可观测性分析的实现是基于选择的激励方式确定其可观测度,通过最优插值的方法得出状态变量的能量密度谱,并根据描述的误差构建卡尔曼滤波Kalman滤波方程得以实现;In S12, the implementation of observability analysis is to determine the observability based on the selected excitation method, obtain the energy density spectrum of the state variable through the optimal interpolation method, and construct the Kalman filter Kalman filter equation according to the described error. accomplish;
    在S13中,使用扩展卡尔曼滤波算法分析系统方程、量测方程的模型特征,构建观测量并通过状态向量作为输出,通过时间更新和量测更新,完成对未知状态或内参的估计;In S13, use the extended Kalman filter algorithm to analyze the model characteristics of the system equation and the measurement equation, construct the observed quantity and use the state vector as the output, and complete the estimation of the unknown state or internal parameters through time update and measurement update;
    在S14中,通过Lidar与IMU的联合标定,得出Lidar的外参,通过S13中得到的IMU内参换算出Lidar与IMU之间的变换R-T参数,通过IMU自身误差校准矩阵和联合标定获得的参数矩阵,对参数矩阵进行求逆操作获得能加入到地图构建中的补偿矩阵。In S14, through the joint calibration of Lidar and IMU, the external parameters of Lidar are obtained, and the conversion R-T parameters between Lidar and IMU are obtained through the conversion of IMU internal parameters obtained in S13, and the parameters obtained through IMU’s own error calibration matrix and joint calibration Matrix, inverting the parameter matrix to obtain a compensation matrix that can be added to the map construction.
  5. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在步骤二中,所述点云加载规则被配置为包括:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 1, wherein in step 2, the point cloud loading rule is configured to include:
    基于Loam的映射原理,在滑动窗口时采用循环的方式将网格中所有的立方体连接成大点云,进而通过话题发布出完整的地图;Based on the mapping principle of Loam, all the cubes in the grid are connected into a large point cloud in a circular manner when sliding the window, and then a complete map is released through the topic;
    其中,在循环中,通过加入一个初始值为0的常量以判断是否小于当前点云数量,若否,则进入循环,对激光云环绕进行累加,且每次循环后初始常量也增加一位;当常量值不小于当前点云数量,则跳出循环;Among them, in the loop, by adding a constant with an initial value of 0 to determine whether it is less than the current number of point clouds, if not, enter the loop to accumulate the laser cloud surround, and the initial constant is also increased by one bit after each loop; When the constant value is not less than the current number of point clouds, jump out of the loop;
    所述降采样被配置为包括:The downsampling is configured to include:
    在Loam算法中,采用过滤尺寸的方式减小点云文件体积,降低特征的维度并保留有效信息;In the Loam algorithm, the size of the filter is used to reduce the volume of the point cloud file, reduce the dimension of the feature and retain the effective information;
    其中,所述过滤尺寸的方式是在地图保存第一帧扫到的点云后,在每一帧在加入到地图之后进行判断,是否有点与上一帧的点的重叠率达到50%及以上,若有则删除,若无则保留。Wherein, the way of filtering the size is to save the point cloud scanned in the first frame in the map, and then judge whether the overlap rate between the point and the point in the previous frame reaches 50% or more after each frame is added to the map , delete if present, and keep if absent.
  6. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在步骤三中,地图的模块化分区处理被配置为包括:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 1, characterized in that, in step 3, the modular partition processing of the map is configured to include:
    S30,确定对地图进行大致划分的模块数量;S30, determine the number of modules for roughly dividing the map;
    S31,确定模块之间缓冲区的大小;S31. Determine the size of the buffer between modules;
    S32,根据预定的划分规则对地图进行模块化划分,以使每一块模块中的点云数量与预设值相差不超过10%,且模块与模块之间的预留区域满足缓冲区的大小。S32. Carry out modular division of the map according to a predetermined division rule, so that the difference between the number of point clouds in each module and the preset value does not exceed 10%, and the reserved area between modules satisfies the size of the buffer zone.
  7. 如权利要求6所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在S30中,地图的区域数量划分是基于地图中所包含的所有点云数量,计算原始加载时间与划分模块数的关系以获得:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 6, wherein in S30, the area number division of the map is based on the number of all point clouds contained in the map, and the calculation of the original loading time and Divide the relationship on the number of modules to obtain:
    在S31中,基于巡检机器人的行驶速度,以及每一块点云模块在工控机上加载所需时间,在每两块相邻模块中间设置下一个模块化地图加载的区域长度作为缓冲区;In S31, based on the driving speed of the inspection robot and the time required for each point cloud module to be loaded on the industrial computer, the length of the area loaded by the next modular map is set between every two adjacent modules as a buffer zone;
    在S32中,所述划分规则包括:In S32, the division rules include:
    S320,基于S30中得到的模块数量对地图进行区域划分,同时将地图中的每个拐角设置为独立模块,不另作划分;S320, dividing the map into regions based on the number of modules obtained in S30, and setting each corner in the map as an independent module without further division;
    S321,选取多个模块作为起始点,以通过扩散的方式在相邻模块之间构建缓冲区。S321. Select a plurality of modules as starting points, so as to construct a buffer zone between adjacent modules in a diffusion manner.
  8. 如权利要求7所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,所述缓冲区的构建方式被配置为包括:The autonomous mobile device positioning method based on dynamic loading of point cloud maps according to claim 7, wherein the construction method of the buffer zone is configured to include:
    S3210,以各拐角作为起始点,将完全加载时间设定为S,则在拐角数大S+1的地图中,选取相对位置更小的几个拐角作为起始点;而对于拐角数小于S+1的地图,则在选取了所有的拐角之后进行数量判断以确定起始点;S3210, take each corner as the starting point, set the full loading time as S, then in the map with the number of corners larger than S+1, select several corners with smaller relative positions as the starting point; and for the number of corners less than S+1 1 map, after selecting all the corners, carry out quantity judgment to determine the starting point;
    S3211,对各选取的起始点同时向外扩散,设地图的点云数量为N,则在扩散框选的点云数量达到
    Figure PCTCN2021102443-appb-100007
    时,触发扩散极限,停止框选;
    S3211, spread outwards at the same time for each selected starting point, set the number of point clouds on the map as N, then the number of point clouds selected in the diffusion frame reaches
    Figure PCTCN2021102443-appb-100007
    When , the diffusion limit is triggered and the frame selection is stopped;
    S3212,对扩散获得的模块数量与目标数量进行比对,若其差值为1,则在两相距最远的模块中间选取新起点,进行二次扩散,并在二次扩散框选的点云数量达到
    Figure PCTCN2021102443-appb-100008
    时或虽点云数量没有达到,但是扩散半径与其相邻两模块任一扩散半径之间的预留距离等于3米时,触发停止;
    S3212, compare the number of modules obtained by diffusion with the target number, and if the difference is 1, select a new starting point between the two farthest modules, perform secondary diffusion, and frame the selected point cloud in the secondary diffusion quantity reached
    Figure PCTCN2021102443-appb-100008
    or when the number of point clouds is not reached, but the reserved distance between the diffusion radius and any diffusion radius of two adjacent modules is equal to 3 meters, the trigger stops;
    其中,所述新起点的位置为
    Figure PCTCN2021102443-appb-100009
    Figure PCTCN2021102443-appb-100010
    为两相距最远的模块起始点的距离,r 1和r 2分别为两模块的扩散半径;
    Wherein, the position of the new starting point is
    Figure PCTCN2021102443-appb-100009
    and
    Figure PCTCN2021102443-appb-100010
    is the distance between the starting points of the two farthest modules, r 1 and r 2 are the diffusion radii of the two modules respectively;
    S3213,将所有的圆按半径整合为矩形,采用K-Means聚类算法、概率贪婪的方法保留模块中定量的点云;S3213, integrate all the circles into rectangles according to the radius, and use the K-Means clustering algorithm and the method of probability greed to retain the quantitative point cloud in the module;
    S3214,对各相邻模块边界之间的距离进行计算,若其结果大于3米,就进行扩张,若扩张达到20%任无法满足要求,则进行定量偏移,以使间隔距离满足要求;S3214, calculate the distance between the boundaries of each adjacent module, if the result is greater than 3 meters, then expand, if the expansion reaches 20% and cannot meet the requirements, perform quantitative offset, so that the interval distance meets the requirements;
    若其结果小于3米,则强制平均删除两模块直接相应的点云,以留出足够的缓冲区域。If the result is less than 3 meters, the corresponding point clouds of the two modules are forced to be averaged to leave enough buffer area.
  9. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方法,其特征在于,在步骤四中,栅格化地图的构建方式被配置为包括:The autonomous mobile device positioning method based on point cloud map dynamic loading according to claim 1, characterized in that, in step 4, the construction method of the rasterized map is configured to include:
    S41、下载22级高德地图,提取出下载的高德地图上与本地图重合部分的值作为分辨率高的栅格地图,通过地图分辨率与地图相应的位置变换,计算其中各自的偏移量,并保存至yaml文件中;S41. Download the 22-level Gaode map, extract the value of the overlapped part of the downloaded Gaode map and this map as a high-resolution grid map, and calculate the respective offsets by transforming the map resolution and the corresponding position of the map amount, and save it to the yaml file;
    S42、从栅格地图上截取出与点云地图相对应的部分,根据yaml文件中的转换关系将其映射到点云地图中。S42. Cut out the part corresponding to the point cloud map from the grid map, and map it into the point cloud map according to the conversion relationship in the yaml file.
  10. 如权利要求1所述的基于点云地图动态加载的自主移动装置定位方 法,其特征在于,还包括:The autonomous mobile device location method based on point cloud map dynamic loading as claimed in claim 1, is characterized in that, also comprises:
    步骤五,在机器人的巡检操作中,当其行驶在任一模块上时,则工控机加载当前模块和与之相连的两块缓冲区;Step five, during the inspection operation of the robot, when it is driving on any module, the industrial computer loads the current module and the two buffers connected to it;
    当机器人行驶到任一缓冲区时,则判断与其相连的两块模块地图是否完成加载,若否,则加载地图,若是,则停止判断,并在缓冲区行驶完毕跨入下一模块区域时,删除上一模块区域及其单边缓冲区,对下一缓冲区进行加载,保持系统的匹配速度,循环往复直到遍历所有地图。When the robot travels to any buffer zone, it judges whether the two module maps connected to it have been loaded, if not, then loads the map, if so, stops the judgment, and when the buffer zone finishes driving and enters the next module area, Delete the previous module area and its unilateral buffer, load the next buffer, maintain the matching speed of the system, and repeat until all maps are traversed.
PCT/CN2021/102443 2021-06-09 2021-06-25 Autonomous mobile apparatus positioning method based on point cloud map dynamic loading WO2022257196A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110643205.1A CN113375664B (en) 2021-06-09 2021-06-09 Autonomous mobile device positioning method based on dynamic loading of point cloud map
CN202110643205.1 2021-06-09

Publications (1)

Publication Number Publication Date
WO2022257196A1 true WO2022257196A1 (en) 2022-12-15

Family

ID=77573200

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/102443 WO2022257196A1 (en) 2021-06-09 2021-06-25 Autonomous mobile apparatus positioning method based on point cloud map dynamic loading

Country Status (3)

Country Link
CN (1) CN113375664B (en)
LU (1) LU502363B1 (en)
WO (1) WO2022257196A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114019511A (en) * 2021-09-30 2022-02-08 南京市德赛西威汽车电子有限公司 Navigation position correction method based on millimeter wave vehicle-mounted radar scene recognition
KR102557058B1 (en) * 2021-11-24 2023-07-19 (주)카네비모빌리티 LiDAR data transmission reduction method, reconstruction method, and apparatus therefor

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190219700A1 (en) * 2017-11-17 2019-07-18 DeepMap Inc. Iterative closest point process based on lidar with integrated motion estimation for high definition maps
CN110927740A (en) * 2019-12-06 2020-03-27 合肥科大智能机器人技术有限公司 Mobile robot positioning method
CN112014857A (en) * 2020-08-31 2020-12-01 上海宇航系统工程研究所 Three-dimensional laser radar positioning and navigation method for intelligent inspection and inspection robot
CN112082565A (en) * 2020-07-30 2020-12-15 西安交通大学 Method, device and storage medium for location and navigation without support
CN112347840A (en) * 2020-08-25 2021-02-09 天津大学 Vision sensor laser radar integrated unmanned aerial vehicle positioning and image building device and method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018013538A1 (en) * 2016-07-13 2018-01-18 Discovery Robotics Apparatus and methods for providing a reconfigurable robotic platform
CN106598052A (en) * 2016-12-14 2017-04-26 南京阿凡达机器人科技有限公司 Robot security inspection method based on environment map and robot thereof
CN109214248B (en) * 2017-07-04 2022-04-29 阿波罗智能技术(北京)有限公司 Method and device for identifying laser point cloud data of unmanned vehicle
CN110260866A (en) * 2019-07-19 2019-09-20 闪电(昆山)智能科技有限公司 A kind of robot localization and barrier-avoiding method of view-based access control model sensor
CN112526995A (en) * 2020-12-02 2021-03-19 中国计量大学 Hanging rail type inspection robot system and detection method thereof
CN112528979B (en) * 2021-02-10 2021-05-11 成都信息工程大学 Transformer substation inspection robot obstacle distinguishing method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190219700A1 (en) * 2017-11-17 2019-07-18 DeepMap Inc. Iterative closest point process based on lidar with integrated motion estimation for high definition maps
CN110927740A (en) * 2019-12-06 2020-03-27 合肥科大智能机器人技术有限公司 Mobile robot positioning method
CN112082565A (en) * 2020-07-30 2020-12-15 西安交通大学 Method, device and storage medium for location and navigation without support
CN112347840A (en) * 2020-08-25 2021-02-09 天津大学 Vision sensor laser radar integrated unmanned aerial vehicle positioning and image building device and method
CN112014857A (en) * 2020-08-31 2020-12-01 上海宇航系统工程研究所 Three-dimensional laser radar positioning and navigation method for intelligent inspection and inspection robot

Also Published As

Publication number Publication date
CN113375664A (en) 2021-09-10
LU502363B1 (en) 2022-12-13
CN113375664B (en) 2023-09-01

Similar Documents

Publication Publication Date Title
Chiang et al. Seamless navigation and mapping using an INS/GNSS/grid-based SLAM semi-tightly coupled integration scheme
WO2022257196A1 (en) Autonomous mobile apparatus positioning method based on point cloud map dynamic loading
Becker et al. Drift reduction in strapdown airborne gravimetry using a simple thermal correction
CN112229405B (en) Unmanned aerial vehicle target motion estimation method based on image tracking and laser ranging
CN111399023B (en) Inertial basis combined navigation filtering method based on lie group nonlinear state error
CN111189442B (en) CEPF-based unmanned aerial vehicle multi-source navigation information state prediction method
US20230116869A1 (en) Multi-sensor-fusion-based autonomous mobile robot indoor and outdoor navigation method and robot
US20230406320A1 (en) Method for detecting surface gradient of unstructured road based on lidar
KR20220052312A (en) Vehicle positioning method, apparatus and autonomous driving vehicle
WO2024041156A1 (en) Vehicle positioning calibration method and apparatus, computer device, and storage medium
Gao et al. An integrated land vehicle navigation system based on context awareness
CN113252038A (en) Course planning terrain auxiliary navigation method based on particle swarm optimization
CN115900708A (en) Robot multi-sensor fusion positioning method based on GPS (global positioning system) guided particle filter
Jensen et al. Mass estimation of ground vehicles based on longitudinal dynamics using loosely coupled integrated navigation system and CAN-bus data with model parameter estimation
US11965752B2 (en) Methods and systems using digital map data
CN114323003A (en) Underground mine fusion positioning method based on UMB, IMU and laser radar
Fu et al. An improved integrated navigation method based on RINS, GNSS and kinematics for port heavy-duty AGV
EP4220079A1 (en) Radar altimeter inertial vertical loop
CN111486841A (en) Unmanned aerial vehicle navigation positioning method based on laser positioning system
CN115856922A (en) Loosely-coupled land combined navigation method and device, computer equipment and medium
Noureldin et al. a Framework for Multi-Sensor Positioning and Mapping for Autonomous Vehicles
CN113850915A (en) Vehicle tracking method based on Autoware
Ready et al. Inertially aided visual odometry for miniature air vehicles in gps-denied environments
CN113483762A (en) Pose optimization method and device
Wachsmuth et al. Development of an error-state Kalman Filter for Emergency Maneuvering of Trucks

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: 21944702

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE