CN116449379A - AGV positioning method and device based on special shape recognition - Google Patents
AGV positioning method and device based on special shape recognition Download PDFInfo
- Publication number
- CN116449379A CN116449379A CN202310228675.0A CN202310228675A CN116449379A CN 116449379 A CN116449379 A CN 116449379A CN 202310228675 A CN202310228675 A CN 202310228675A CN 116449379 A CN116449379 A CN 116449379A
- Authority
- CN
- China
- Prior art keywords
- shape
- special
- characteristic information
- data
- agv
- Prior art date
- Legal status (The legal status 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 status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/70—Arrangements for image or video recognition or understanding using pattern recognition or machine learning
- G06V10/74—Image or video pattern matching; Proximity measures in feature spaces
- G06V10/75—Organisation of the matching processes, e.g. simultaneous or sequential comparisons of image or video features; Coarse-fine approaches, e.g. multi-scale approaches; using context analysis; Selection of dictionaries
- G06V10/757—Matching configurations of points or features
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/006—Theoretical aspects
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
- G01S17/02—Systems using the reflection of electromagnetic waves other than radio waves
- G01S17/06—Systems determining position data of a target
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01S—RADIO 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/00—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00
- G01S7/48—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00
- G01S7/4802—Details of systems according to groups G01S13/00, G01S15/00, G01S17/00 of systems according to group G01S17/00 using analysis of echo signal for target characterisation; Target signature; Target cross-section
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/60—Electric or hybrid propulsion means for production processes
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Remote Sensing (AREA)
- Radar, Positioning & Navigation (AREA)
- Computer Networks & Wireless Communication (AREA)
- Electromagnetism (AREA)
- Theoretical Computer Science (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Medical Informatics (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Artificial Intelligence (AREA)
- Health & Medical Sciences (AREA)
- Length Measuring Devices By Optical Means (AREA)
Abstract
本发明公开了一种基于特殊形状识别改进AGV定位方法,包括:根据智能搬运机器人AGV的实际工作环境,获取实际环境的激光数据,设置实际工作环境中的目标物体为待识别的特殊物体形状;预处理特殊物体形状并提取形状的特征信息,基于特征信息重新进行编码排序,组成特殊物体形状的唯一变量;预处理激光数据并提取激光数据的特征信息,基于唯一变量,通过特征匹配模型进行匹配准确率的计算,选取计算得到的最高准确率作为最终定位结果。本发明通过计算匹配准确率,使得智能搬运机器人AGV在复杂、变动频繁的场景下,能够通过识别特殊形状物体,实现精度定位,无需增加任何硬件以及现场部署工作,成本低且提高了定位精度。
The invention discloses an improved AGV positioning method based on special shape recognition, comprising: according to the actual working environment of an intelligent handling robot AGV, acquiring laser data of the actual environment, and setting a target object in the actual working environment as a special object shape to be identified; Preprocess the shape of special objects and extract the feature information of the shape, re-encode and sort based on the feature information to form the unique variable of the shape of the special object; preprocess the laser data and extract the feature information of the laser data, based on the unique variable, match through the feature matching model For the calculation of the accuracy rate, the highest accuracy rate calculated is selected as the final positioning result. By calculating the matching accuracy rate, the present invention enables the intelligent handling robot AGV to realize precise positioning by identifying special-shaped objects in complex and frequently changing scenes, without adding any hardware and on-site deployment work, and the cost is low and the positioning accuracy is improved.
Description
技术领域technical field
本发明涉及智能移动机器人的技术领域,尤其涉及一种基于特殊形状识别改进AGV定位方法及装置。The invention relates to the technical field of intelligent mobile robots, in particular to an improved AGV positioning method and device based on special shape recognition.
背景技术Background technique
激光雷达技术广泛应用在智能搬运机器人(Automated Guided Vehicle)AGV、无人驾驶等领域,基于激光雷达技术的AGV凭借其较高的稳定性,较高的定位精度,以及对场景依赖性小的特性,广泛应用在货物运输、快递运输等领域。激光雷达主要应用于AGV的自身定位,目前主流的定位方式是基于反光板的三角定位算法。但这种算法有着天然的局限性,要求反光板有着较严格的布局,无法保证AGV在复杂、变动频繁场景下的精准定位,从而导致AGV定位的不精确。Lidar technology is widely used in intelligent handling robot (Automated Guided Vehicle) AGV, unmanned driving and other fields. AGV based on Lidar technology relies on its high stability, high positioning accuracy, and small dependence on the scene. , Widely used in cargo transportation, express transportation and other fields. LiDAR is mainly used for the self-positioning of AGV. The current mainstream positioning method is the triangulation positioning algorithm based on the reflector. However, this algorithm has natural limitations and requires a strict layout of the reflector, which cannot guarantee the precise positioning of the AGV in complex and frequently changing scenes, resulting in inaccurate positioning of the AGV.
发明内容Contents of the invention
本部分的目的在于概述本发明的实施例的一些方面以及简要介绍一些较佳实施例。在本部分以及本申请的说明书摘要和发明名称中可能会做些简化或省略以避免使本部分、说明书摘要和发明名称的目的模糊,而这种简化或省略不能用于限制本发明的范围。The purpose of this section is to outline some aspects of embodiments of the invention and briefly describe some preferred embodiments. Some simplifications or omissions may be made in this section, as well as in the abstract and titles of this application, to avoid obscuring the purpose of this section, abstract and titles, and such simplifications or omissions should not be used to limit the scope of the invention.
鉴于上述现有存在的问题,提出了本发明。In view of the above existing problems, the present invention is proposed.
因此,本发明提供了一种基于特殊形状识别改进AGV定位方法及装置解决现有的激光定位技术无法保证AGV在复杂、变动频繁场景下的精准定位问题。Therefore, the present invention provides an improved AGV positioning method and device based on special shape recognition to solve the problem that the existing laser positioning technology cannot guarantee the precise positioning of the AGV in complex and frequently changing scenarios.
为解决上述技术问题,本发明提供如下技术方案:In order to solve the above technical problems, the present invention provides the following technical solutions:
第一方面,本发明实施例提供了一种基于特殊形状识别改进AGV定位方法,包括:In the first aspect, the embodiment of the present invention provides an improved AGV positioning method based on special shape recognition, including:
根据智能搬运机器人AGV的实际工作环境,获取所述实际环境的激光数据,设置所述实际工作环境中的目标物体为待识别的特殊物体形状;According to the actual working environment of the intelligent handling robot AGV, the laser data of the actual environment is obtained, and the target object in the actual working environment is set as a special object shape to be recognized;
预处理所述特殊物体形状并提取所述形状的特征信息,基于所述特征信息重新进行编码排序,组成特殊物体形状的唯一变量;Preprocessing the shape of the special object and extracting the feature information of the shape, and re-encoding and sorting based on the feature information to form the unique variable of the shape of the special object;
预处理所述激光数据并提取所述激光数据的特征信息,基于所述唯一变量,通过特征匹配模型进行匹配准确率的计算,选取计算得到的最高准确率作为最终定位结果。Preprocessing the laser data and extracting the feature information of the laser data, calculating the matching accuracy rate through the feature matching model based on the unique variable, and selecting the highest calculated accuracy rate as the final positioning result.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:预处理所述特殊物体形状,包括:As a preferred solution of the improved AGV positioning method based on special shape recognition in the present invention, wherein: preprocessing the special object shape includes:
对输入的特殊物体形状进行错误检测;False detection of input special object shapes;
基于所述目标物体的实际形状将所述特殊物体形状的组成划分为直线L类和圆弧C类,分别提取所述类别的特征信息。Based on the actual shape of the target object, the composition of the special object shape is divided into a straight line L type and an arc C type, and feature information of the types is extracted respectively.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:提取所述形状的特征信息,包括:As a preferred solution of the improved AGV positioning method based on special shape recognition described in the present invention, wherein: extracting the feature information of the shape includes:
所述直线L类特征信息FL,表示为:The feature information F L of the straight line L class is expressed as:
A*x+B*y+C=0A*x+B*y+C=0
其中,A为第一系数,B为第二系数,A和B不同时为0,x为第一变量,y为第二变量;Among them, A is the first coefficient, B is the second coefficient, A and B are not 0 at the same time, x is the first variable, and y is the second variable;
所述圆弧C类特征信息FC,表示为:The feature information F C of the class C of the arc is expressed as:
(x-a)2+(y-b)2=r2 (xa) 2 +(yb) 2 =r 2
其中,(a,b)为圆心,r为圆半径,x为第一变量,y为第二变量。Among them, (a, b) is the center of the circle, r is the radius of the circle, x is the first variable, and y is the second variable.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:所述特征信息重新进行编码排序,组成特殊物体形状的唯一变量,包括:As a preferred solution of the improved AGV positioning method based on special shape recognition in the present invention, wherein: the feature information is re-encoded and sorted to form the only variable of the shape of a special object, including:
根据实际物体形状特征进行排序得到唯一变量,表示为:Sorting according to the shape characteristics of the actual object to obtain the unique variable, expressed as:
T={FL1,FC2,FL2,FC1}T={F L1 ,F C2 ,F L2 ,F C1 }
其中,FL1为第一直线特征信息,FL2为第二直线特征信息,FC1为第一圆弧特征信息,FC2为第二圆弧特征信息。Wherein, F L1 is the first straight line feature information, F L2 is the second straight line feature information, F C1 is the first circular arc feature information, and F C2 is the second circular arc feature information.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:去除激光数据中的噪点;As a preferred solution of the improved AGV positioning method based on special shape recognition described in the present invention, wherein: the noise in the laser data is removed;
所述噪点数据的去除是基于激光雷达的原始数据,利用去除噪点处理函数完成去噪。The removal of the noise data is based on the original data of the laser radar, and the denoising is completed by using a denoising processing function.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:提取激光数据中的直线、圆弧特征,包括:As a preferred solution of the improved AGV positioning method based on special shape recognition described in the present invention, wherein: extracting the straight line and arc features in the laser data includes:
基于所述处理后的激光数据,利用findLine函数提取激光点云中描述直线的数据;Based on the processed laser data, use the findLine function to extract the data describing the straight line in the laser point cloud;
利用findCurve函数提取激光点云中描述圆弧的数据。Use the findCurve function to extract the data describing the arc in the laser point cloud.
作为本发明所述的基于特殊形状识别改进AGV定位方法的一种优选方案,其中:通过特征匹配模型计算准确率,包括:As a preferred solution of the improved AGV positioning method based on special shape recognition described in the present invention, wherein: the accuracy rate is calculated by the feature matching model, including:
通过唯一变量与所述直线特征信息以及所述圆弧特征信息基于实际匹配模型Model计算匹配准确率;Calculate the matching accuracy rate based on the actual matching model Model through the unique variable and the straight line feature information and the arc feature information;
基于所述激光数据与唯一变量的匹配顺序方式,根据排列组合结果,对准确率进行排序;Sorting the accuracy rate based on the matching order of the laser data and the unique variable, and according to the permutation and combination results;
当组合准确率最高时,则选取所述组合作为最终匹配结果,并计算所述最终匹配的定位精度得到最终高精度定位结果。When the combined accuracy rate is the highest, the combination is selected as the final matching result, and the positioning accuracy of the final matching is calculated to obtain the final high-precision positioning result.
第二方面,本发明实施例提供了一种基于特殊形状识别改进AGV定位装置,包括,In the second aspect, the embodiment of the present invention provides an improved AGV positioning device based on special shape recognition, including:
数据获取设置模块,用于根据智能搬运机器人AGV的实际工作环境,获取所述实际环境的激光数据,设置所述实际工作环境中的目标环境为待识别的特殊物体形状;The data acquisition setting module is used to obtain the laser data of the actual environment according to the actual working environment of the intelligent handling robot AGV, and set the target environment in the actual working environment as a special object shape to be recognized;
形状分析模块,用于预处理所述特殊物体形状并提取所述形状的特征信息,基于所述特征信息重新进行编码排序,组成特殊物体形状的唯一变量;The shape analysis module is used for preprocessing the shape of the special object and extracting the feature information of the shape, and re-encoding and sorting based on the feature information to form the unique variable of the shape of the special object;
形状识别模块,用于预处理所述激光数据并提取所述激光数据的特征信息,基于所述唯一变量,通过特征匹配模型进行匹配准确率的计算,选取计算得到的最高准确率作为最终定位结果。The shape recognition module is used to preprocess the laser data and extract the feature information of the laser data. Based on the unique variable, the feature matching model is used to calculate the matching accuracy rate, and the highest calculated accuracy rate is selected as the final positioning result. .
第三方面,本发明实施例提供了一种计算设备,包括:In a third aspect, an embodiment of the present invention provides a computing device, including:
存储器和处理器;memory and processor;
所述存储器用于存储计算机可执行指令,所述处理器用于执行所述计算机可执行指令,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如本发明任一实施例所述的基于特殊形状识别改进AGV定位方法。The memory is used to store computer-executable instructions, and the processor is used to execute the computer-executable instructions. When the one or more programs are executed by the one or more processors, the one or more The processor implements the improved AGV positioning method based on special shape recognition as described in any embodiment of the present invention.
第四方面,本发明实施例提供了一种计算机可读存储介质,其存储有计算机可执行指令,该计算机可执行指令被处理器执行时实现所述基于特殊形状识别改进AGV定位方法。In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer-executable instructions, and when the computer-executable instructions are executed by a processor, the improved AGV positioning method based on special shape recognition is implemented.
与现有技术相比,本发明的有益效果:本发明通过计算匹配准确率,使得智能搬运机器人AGV在复杂、变动频繁的场景下,能够通过识别特殊形状物体,实现精度定位,无需增加任何硬件以及现场部署工作,成本低且提高了定位精度。Compared with the prior art, the beneficial effect of the present invention is that by calculating the matching accuracy rate, the present invention enables the intelligent handling robot AGV to realize precise positioning by identifying objects with special shapes in complex and frequently changing scenes without adding any hardware As well as on-site deployment work, the cost is low and the positioning accuracy is improved.
附图说明Description of drawings
为了更清楚地说明本发明实施例的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其它的附图。其中:In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without any creative effort. in:
图1为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的整体流程图;Fig. 1 is an overall flowchart of an improved AGV positioning method and device based on special shape recognition according to an embodiment of the present invention;
图2为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的形状分析模块流程图;Fig. 2 is a flow chart of the shape analysis module of an improved AGV positioning method and device based on special shape recognition described in an embodiment of the present invention;
图3为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的形状识别模块流程图;Fig. 3 is a flow chart of a shape recognition module based on a special shape recognition improved AGV positioning method and device according to an embodiment of the present invention;
图4为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的特殊形状示例图;Fig. 4 is a special shape example diagram of an improved AGV positioning method and device based on special shape recognition according to an embodiment of the present invention;
图5为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的匹配准确率的数据图;Fig. 5 is a data diagram of the matching accuracy rate of an improved AGV positioning method and device based on special shape recognition according to an embodiment of the present invention;
图6为本发明一个实施例所述的一种基于特殊形状识别改进AGV定位方法及装置的定位精度对比图。Fig. 6 is a comparison diagram of positioning accuracy of an improved AGV positioning method and device based on special shape recognition according to an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明的上述目的、特征和优点能够更加明显易懂,下面结合说明书附图对本发明的具体实施方式做详细的说明,显然所描述的实施例是本发明的一部分实施例,而不是全部实施例。基于本发明中的实施例,本领域普通人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明的保护的范围。In order to make the above-mentioned purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation modes of the present invention will be described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Example. Based on the embodiments of the present invention, all other embodiments obtained by ordinary persons in the art without creative efforts shall fall within the protection scope of the present invention.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是本发明还可以采用其他不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本发明内涵的情况下做类似推广,因此本发明不受下面公开的具体实施例的限制。In the following description, a lot of specific details are set forth in order to fully understand the present invention, but the present invention can also be implemented in other ways different from those described here, and those skilled in the art can do it without departing from the meaning of the present invention. By analogy, the present invention is therefore not limited to the specific examples disclosed below.
其次,此处所称的“一个实施例”或“实施例”是指可包含于本发明至少一个实现方式中的特定特征、结构或特性。在本说明书中不同地方出现的“在一个实施例中”并非均指同一个实施例,也不是单独的或选择性的与其他实施例互相排斥的实施例。Second, "one embodiment" or "an embodiment" referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present invention. "In one embodiment" appearing in different places in this specification does not all refer to the same embodiment, nor is it a separate or selective embodiment that is mutually exclusive with other embodiments.
本发明结合示意图进行详细描述,在详述本发明实施例时,为便于说明,表示器件结构的剖面图会不依一般比例作局部放大,而且所述示意图只是示例,其在此不应限制本发明保护的范围。此外,在实际制作中应包含长度、宽度及深度的三维空间尺寸。The present invention is described in detail in conjunction with schematic diagrams. When describing the embodiments of the present invention in detail, for the convenience of explanation, the cross-sectional view showing the device structure will not be partially enlarged according to the general scale, and the schematic diagram is only an example, which should not limit the present invention. scope of protection. In addition, the three-dimensional space dimensions of length, width and depth should be included in actual production.
同时在本发明的描述中,需要说明的是,术语中的“上、下、内和外”等指示的方位或位置关系为基于附图所示的方位或位置关系,仅是为了便于描述本发明和简化描述,而不是指示或暗示所指的装置或元件必须具有特定的方位、以特定的方位构造和操作,因此不能理解为对本发明的限制。此外,术语“第一、第二或第三”仅用于描述目的,而不能理解为指示或暗示相对重要性。At the same time, in the description of the present invention, it should be noted that the orientation or positional relationship indicated by "upper, lower, inner and outer" in the terms is based on the orientation or positional relationship shown in the accompanying drawings, and is only for the convenience of describing the present invention. The invention and the simplified description do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and thus should not be construed as limiting the present invention. In addition, the terms "first, second or third" are used for descriptive purposes only, and should not be construed as indicating or implying relative importance.
本发明中除非另有明确的规定和限定,术语“安装、相连、连接”应做广义理解,例如:可以是固定连接、可拆卸连接或一体式连接;同样可以是机械连接、电连接或直接连接,也可以通过中间媒介间接相连,也可以是两个元件内部的连通。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本发明中的具体含义。Unless otherwise specified and limited in the present invention, the term "installation, connection, connection" should be understood in a broad sense, for example: it can be a fixed connection, a detachable connection or an integrated connection; it can also be a mechanical connection, an electrical connection or a direct connection. A connection can also be an indirect connection through an intermediary, or it can be an internal communication between two elements. Those of ordinary skill in the art can understand the specific meanings of the above terms in the present invention in specific situations.
实施例1Example 1
参照图1~4,为本发明的一个实施例,该实施例提供了一种基于特殊形状识别改进AGV定位方法,包括:Referring to Figures 1 to 4, it is an embodiment of the present invention, which provides an improved AGV positioning method based on special shape recognition, including:
S1:根据智能搬运机器人AGV的实际工作环境,获取实际环境的激光数据,设置实际工作环境中的目标物体为待识别的特殊物体形状;S1: According to the actual working environment of the intelligent handling robot AGV, obtain the laser data of the actual environment, and set the target object in the actual working environment as a special object shape to be recognized;
S2:预处理特殊物体形状并提取形状的特征信息,基于特征信息重新进行编码排序,组成特殊物体形状的唯一变量;S2: Preprocess the shape of the special object and extract the feature information of the shape, re-encode and sort based on the feature information, and form the only variable of the shape of the special object;
更进一步的,预处理特殊物体形状,包括:Further, preprocessing special object shapes, including:
对输入的特殊物体形状进行错误检测;False detection of input special object shapes;
基于目标物体的实际形状将特殊物体形状的组成划分为直线L类和圆弧C类,分别提取类别的特征信息。Based on the actual shape of the target object, the composition of the special object shape is divided into straight line L and arc C, and the feature information of each category is extracted.
应说明的是,错误检测是对待识别的特殊物体形状进行重叠和平滑度以及其他不符合识别标准的检测。It should be noted that false detection refers to the detection of overlap and smoothness of the shape of the special object to be recognized and other detections that do not meet the recognition standards.
更进一步的,提取形状的特征信息,包括:Further, the feature information of the shape is extracted, including:
直线L类特征信息FL,表示为:The feature information F L of the straight line L class is expressed as:
A*x+B*y+C=0A*x+B*y+C=0
其中,A为第一系数,B为第二系数,A和B不同时为0,x为第一变量,y为第二变量;Among them, A is the first coefficient, B is the second coefficient, A and B are not 0 at the same time, x is the first variable, and y is the second variable;
圆弧C类特征信息FC,表示为:The feature information F C of the arc C class is expressed as:
(x-a)2+(y-b)2=r2 (xa) 2 +(yb) 2 =r 2
其中,(a,b)为圆心,r为圆半径,x为第一变量,y为第二变量。Among them, (a, b) is the center of the circle, r is the radius of the circle, x is the first variable, and y is the second variable.
具体的,特征信息重新进行编码排序,组成特殊物体形状的唯一变量,包括:Specifically, the feature information is re-encoded and sorted to form the unique variable of the shape of a special object, including:
根据实际物体形状特征进行排序得到唯一变量,表示为:Sorting according to the shape characteristics of the actual object to obtain the unique variable, expressed as:
T={FL1,FC2,FL2,FC1}T={F L1 ,F C2 ,F L2 ,F C1 }
其中,FL1为第一直线特征信息,FL2为第二直线特征信息,FC1为第一圆弧特征信息,FC2为第二圆弧特征信息。Wherein, F L1 is the first straight line feature information, F L2 is the second straight line feature information, F C1 is the first circular arc feature information, and F C2 is the second circular arc feature information.
S3:预处理激光数据并提取激光数据的特征信息,基于唯一变量,通过特征匹配模型进行匹配准确率的计算,选取计算得到的最高准确率作为最终定位结果;S3: Preprocessing the laser data and extracting the feature information of the laser data, based on the unique variable, performing the calculation of the matching accuracy rate through the feature matching model, and selecting the calculated highest accuracy rate as the final positioning result;
更进一步的,预处理激光数据,包括:去除激光数据中的噪点;Furthermore, preprocessing the laser data includes: removing noise in the laser data;
噪点数据的去除是基于激光雷达的原始数据,利用去除噪点处理函数完成去噪。The removal of noise data is based on the original data of lidar, and the denoising is completed by using the denoising processing function.
更进一步的,提取激光数据中的直线、圆弧特征,包括:Furthermore, the features of straight lines and arcs in the laser data are extracted, including:
基于处理后的激光数据,利用findLine函数提取激光点云中描述直线的数据;Based on the processed laser data, use the findLine function to extract the data describing the straight line in the laser point cloud;
利用findCurve函数提取激光点云中描述圆弧的数据。Use the findCurve function to extract the data describing the arc in the laser point cloud.
更进一步的,通过特征匹配模型计算准确率,包括:Furthermore, the accuracy rate is calculated through the feature matching model, including:
通过唯一变量与直线特征信息以及圆弧特征信息基于实际匹配模型Model计算匹配准确率;Calculate the matching accuracy rate based on the actual matching model Model through the unique variable and the feature information of the straight line and the arc feature information;
基于激光数据与唯一变量的匹配顺序方式,根据排列组合结果,对准确率进行排序;Based on the matching order of laser data and unique variables, the accuracy rate is sorted according to the permutation and combination results;
当组合准确率最高时,则选取组合作为最终匹配结果,并计算最终匹配的定位精度得到最终高精度定位结果。When the combination accuracy is the highest, the combination is selected as the final matching result, and the positioning accuracy of the final matching is calculated to obtain the final high-precision positioning result.
上述为本实施例的一种基于特殊形状识别改进AGV定位方法的示意性方案。需要说明的是,该基于特殊形状识别改进AGV定位装置的技术方案与上述的基于特殊形状识别改进AGV定位方法的技术方案属于同一构思,本实施例中基于特殊形状识别改进AGV定位装置的技术方案未详细描述的细节内容,均可以参见上述基于特殊形状识别改进AGV定位方法的技术方案的描述。The above is a schematic solution of an improved AGV positioning method based on special shape recognition in this embodiment. It should be noted that the technical solution for improving the AGV positioning device based on special shape recognition and the above-mentioned technical solution for improving the AGV positioning method based on special shape recognition belong to the same concept. In this embodiment, the technical solution for improving the AGV positioning device based on special shape recognition For details that are not described in detail, please refer to the above description of the technical solution for improving the AGV positioning method based on special shape recognition.
本实施例中基于特殊形状识别改进AGV定位装置,包括:In this embodiment, the AGV positioning device is improved based on special shape recognition, including:
数据获取设置模块,用于根据智能搬运机器人AGV的实际工作环境,获取实际环境的激光数据,设置实际工作环境中的目标环境为待识别的特殊物体形状;The data acquisition setting module is used to obtain the laser data of the actual environment according to the actual working environment of the intelligent handling robot AGV, and set the target environment in the actual working environment as the shape of the special object to be recognized;
形状分析模块,用于预处理特殊物体形状并提取形状的特征信息,基于特征信息重新进行编码排序,组成特殊物体形状的唯一变量;The shape analysis module is used to preprocess the shape of special objects and extract the feature information of the shape, and re-encode and sort based on the feature information to form the only variable of the shape of special objects;
形状识别模块,用于预处理激光数据并提取激光数据的特征信息,基于唯一变量,通过特征匹配模型进行匹配准确率的计算,选取计算得到的最高准确率作为最终定位结果。The shape recognition module is used to preprocess the laser data and extract the feature information of the laser data. Based on the unique variable, the feature matching model is used to calculate the matching accuracy rate, and the highest calculated accuracy rate is selected as the final positioning result.
在一个可选的实施例中,形状分析模块提取所选特殊物体形状的特征信息,并将特征信息上传至形状识别模块,形状识别模块接收信息结合激光点云数据,计算多组匹配模型的准确率,选取数值最高的一个作为最终的高精度定位结果。In an optional embodiment, the shape analysis module extracts the characteristic information of the shape of the selected special object, and uploads the characteristic information to the shape recognition module, and the shape recognition module receives the information and combines the laser point cloud data to calculate the accuracy of multiple matching models. rate, select the one with the highest value as the final high-precision positioning result.
本实施例还提供一种计算设备,适用于基于特殊形状识别改进AGV定位方法的情况,包括:This embodiment also provides a computing device, which is suitable for improving the AGV positioning method based on special shape recognition, including:
存储器和处理器;存储器用于存储计算机可执行指令,处理器用于执行计算机可执行指令,实现如上述实施例提出的基于特殊形状识别改进AGV定位方法。Memory and processor; the memory is used to store computer-executable instructions, and the processor is used to execute computer-executable instructions to implement the improved AGV positioning method based on special shape recognition as proposed in the above-mentioned embodiment.
该计算机设备可以是终端,该计算机设备包括通过系统总线连接的处理器、存储器、通信接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的通信接口用于与外部的终端进行有线或无线方式的通信,无线方式可通过WIFI、运营商网络、NFC(近场通信)或其他技术实现。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。The computer equipment may be a terminal, and the computer equipment includes a processor, a memory, a communication interface, a display screen and an input device connected through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, an operator network, NFC (Near Field Communication) or other technologies. The display screen of the computer device may be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device may be a touch layer covered on the display screen, or a button, a trackball or a touch pad provided on the casing of the computer device , and can also be an external keyboard, touchpad, or mouse.
本实施例还提供一种存储介质,其上存储有计算机程序,该程序被处理器执行时实现如上述实施例提出的实现基于特殊形状识别改进AGV定位方法。This embodiment also provides a storage medium, on which a computer program is stored, and when the program is executed by a processor, the implementation of the improved AGV positioning method based on special shape recognition as proposed in the above embodiment is realized.
本实施例提出的存储介质与上述实施例提出的数据存储方法属于同一发明构思,未在本实施例中详尽描述的技术细节可参见上述实施例,并且本实施例与上述实施例具有相同的有益效果。The storage medium proposed in this embodiment and the data storage method proposed in the above embodiment belong to the same inventive concept, the technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same benefits as the above embodiment Effect.
实施例2Example 2
参照图1~6,为本发明的一个实施例,通过对比试验,进行科学验证。Referring to Figures 1-6, it is an embodiment of the present invention, which is scientifically verified through comparative experiments.
从AGV实际工作环境中,选取一个物体的外形作为特殊形状,形状分析模块提取所选特殊形状的特征信息,如图4所示,所选形状由特征信息FL,FC组成,分别为FL1,FL2,FC1,FC2,按照形状特征排列顺序,T={FL1,FC2,FL2,FC1}。From the actual working environment of the AGV, select the shape of an object as a special shape, and the shape analysis module extracts the feature information of the selected special shape, as shown in Figure 4. The selected shape is composed of feature information F L and F C , respectively F L1 , F L2 , F C1 , F C2 , according to the order of shape features, T={F L1 , F C2 , F L2 , F C1 }.
形状识别模块先对激光数据进行预处理,去除激光雷达数据中的噪点,The shape recognition module first preprocesses the laser data to remove the noise in the laser radar data,
LaserData=remove_outliers(raw_data),LaserData = remove_outliers(raw_data),
其中,raw_data是激光雷达的原始数据,包含噪点数据,remove_outliers是去除噪点处理函数,LaserData是处理之后的激光数据。Among them, raw_data is the original data of the lidar, including noise data, remove_outliers is the noise removal processing function, and LaserData is the laser data after processing.
然后,寻找激光数据中的直线、圆弧特征:Then, look for straight line and arc features in the laser data:
Data_line=findLine(LaserData),Data_line = findLine(LaserData),
其中,Data_line表示激光点云中描述直线的数据。Among them, Data_line represents the data describing the straight line in the laser point cloud.
Data_curve=findCurve(LaserData),Data_curve = findCurve(LaserData),
其中,Data_curve表示激光点云中描述圆弧的数据。Among them, Data_curve represents the data describing the arc in the laser point cloud.
建立匹配模型,计算准确率:Build a matching model and calculate the accuracy:
precision_rate=Model(T,Data_line,Data_curve,loc_accuracy),precision_rate = Model(T, Data_line, Data_curve, loc_accuracy),
其中,T是上述能唯一描述实际形状的变量,Data_line是直线特征数据,Data_curve是圆弧特征数据,loc_accuracy表示计算出的定位精度,Model是实际的匹配模型。Among them, T is the above-mentioned variable that can uniquely describe the actual shape, Data_line is the linear feature data, Data_curve is the arc feature data, loc_accuracy indicates the calculated positioning accuracy, and Model is the actual matching model.
把激光数据和形状变量T带入模型,计算匹配准确率;如图5所示,实际场景下会计算多组数据,选取结果较好的一组作为最终结果,并准确率进行排序,选取最高的一个组合作为最终结果,排序结果如下所示:Bring the laser data and the shape variable T into the model to calculate the matching accuracy; as shown in Figure 5, multiple sets of data will be calculated in the actual scene, and the group with better results will be selected as the final result, and the accuracy will be sorted, and the highest will be selected A combination of is used as the final result, and the sorting results are as follows:
precision_rate1=Model(T,Data_line1,Data_curve1,loc_accuracy1),precision_rate1=Model(T,Data_line1,Data_curve1,loc_accuracy1),
precision_rate2=Model(T,Data_line2,Data_curve2,loc_accuracy2),precision_rate2=Model(T,Data_line2,Data_curve2,loc_accuracy2),
precision_rate3=Model(T,Data_line3,Data_curve3,loc_accuracy3),precision_rate3=Model(T,Data_line3,Data_curve3,loc_accuracy3),
......
p_rate_final=sort(precision_rate1,precision_rate2,precision_rate3,...)p_rate_final=sort(precision_rate1,precision_rate2,precision_rate3,...)
其中,p_rate_final准确率最高,对应的定位精度作为最终高精度定位结果。Among them, p_rate_final has the highest accuracy rate, and the corresponding positioning accuracy is used as the final high-precision positioning result.
结合图6可以看出,和传统方法相比,本发明的AGV在复杂、变动频繁的场景下,可通过识别特殊形状物体,来提高定位精度且定位精度远高于传统方法。通过形状分析模块对环境中物体形状进行预处理、提取特征、重新编码,形状识别模块建立匹配模型,把重新编码结果和激光数据带入匹配模型,计算匹配准确率;多组数据带入匹配模型会得到多个准确率,进行排序,选取高的那组作为最终结果,本发明无需增加任何硬件也不需要现场部署工作,操作方便,成本低,提高了定位精度,具有广泛的实际意义。It can be seen from Figure 6 that compared with the traditional method, the AGV of the present invention can improve the positioning accuracy by identifying objects with special shapes in complex and frequently changing scenes, and the positioning accuracy is much higher than the traditional method. The shape analysis module preprocesses, extracts features, and recodes the shape of objects in the environment. The shape recognition module establishes a matching model, and brings the recoding results and laser data into the matching model to calculate the matching accuracy rate; multiple sets of data are brought into the matching model. Multiple accuracy rates will be obtained, sorted, and the higher group is selected as the final result. The present invention does not need to add any hardware and does not require on-site deployment work. It is easy to operate, low in cost, improves positioning accuracy, and has extensive practical significance.
应说明的是,以上实施例仅用以说明本发明的技术方案而非限制,尽管参照较佳实施例对本发明进行了详细说明,本领域的普通技术人员应当理解,可以对本发明的技术方案进行修改或者等同替换,而不脱离本发明技术方案的精神和范围,其均应涵盖在本发明的权利要求范围当中。It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention without limitation, although the present invention has been described in detail with reference to the preferred embodiments, those of ordinary skill in the art should understand that the technical solutions of the present invention can be carried out Modifications or equivalent replacements without departing from the spirit and scope of the technical solutions of the present invention shall be covered by the claims of the present invention.
Claims (10)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310228675.0A CN116449379A (en) | 2023-03-10 | 2023-03-10 | AGV positioning method and device based on special shape recognition |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310228675.0A CN116449379A (en) | 2023-03-10 | 2023-03-10 | AGV positioning method and device based on special shape recognition |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN116449379A true CN116449379A (en) | 2023-07-18 |
Family
ID=87126731
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310228675.0A Pending CN116449379A (en) | 2023-03-10 | 2023-03-10 | AGV positioning method and device based on special shape recognition |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN116449379A (en) |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160188996A1 (en) * | 2014-12-26 | 2016-06-30 | Here Global B.V. | Extracting Feature Geometries for Localization of a Device |
| CN106774334A (en) * | 2016-12-30 | 2017-05-31 | 云南昆船智能装备有限公司 | The las er-guidance AGV navigation locating methods and device of a kind of many laser scanners |
| CN108801268A (en) * | 2018-06-27 | 2018-11-13 | 广州视源电子科技股份有限公司 | Target object positioning method and device and robot |
| CN108873001A (en) * | 2018-09-17 | 2018-11-23 | 江苏金智科技股份有限公司 | A kind of accurate method for judging robot localization precision |
| CN110866927A (en) * | 2019-11-21 | 2020-03-06 | 哈尔滨工业大学 | A robot positioning and composition method based on EKF-SLAM algorithm combined with vertical foot point and line features |
| CN111578946A (en) * | 2020-05-27 | 2020-08-25 | 杭州蓝芯科技有限公司 | Laser navigation AGV repositioning method and device based on deep learning |
| WO2021016803A1 (en) * | 2019-07-29 | 2021-02-04 | 深圳市大疆创新科技有限公司 | High definition map positioning method and system, platform and computer-readable storage medium |
| CN112363158A (en) * | 2020-10-23 | 2021-02-12 | 浙江华睿科技有限公司 | Pose estimation method for robot, and computer storage medium |
| CN112405549A (en) * | 2021-01-22 | 2021-02-26 | 苏州盈科电子有限公司 | Robot positioning method and device |
| CN113409410A (en) * | 2021-05-19 | 2021-09-17 | 杭州电子科技大学 | Multi-feature fusion IGV positioning and mapping method based on 3D laser radar |
| CN113884093A (en) * | 2020-07-02 | 2022-01-04 | 苏州艾吉威机器人有限公司 | AGV mapping and positioning method, system, device and computer readable storage medium |
| CN115272227A (en) * | 2022-07-26 | 2022-11-01 | 苏州深酷机器人有限公司 | Detection method and system based on point cloud shape feature |
-
2023
- 2023-03-10 CN CN202310228675.0A patent/CN116449379A/en active Pending
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20160188996A1 (en) * | 2014-12-26 | 2016-06-30 | Here Global B.V. | Extracting Feature Geometries for Localization of a Device |
| CN106774334A (en) * | 2016-12-30 | 2017-05-31 | 云南昆船智能装备有限公司 | The las er-guidance AGV navigation locating methods and device of a kind of many laser scanners |
| CN108801268A (en) * | 2018-06-27 | 2018-11-13 | 广州视源电子科技股份有限公司 | Target object positioning method and device and robot |
| CN108873001A (en) * | 2018-09-17 | 2018-11-23 | 江苏金智科技股份有限公司 | A kind of accurate method for judging robot localization precision |
| WO2021016803A1 (en) * | 2019-07-29 | 2021-02-04 | 深圳市大疆创新科技有限公司 | High definition map positioning method and system, platform and computer-readable storage medium |
| CN110866927A (en) * | 2019-11-21 | 2020-03-06 | 哈尔滨工业大学 | A robot positioning and composition method based on EKF-SLAM algorithm combined with vertical foot point and line features |
| CN111578946A (en) * | 2020-05-27 | 2020-08-25 | 杭州蓝芯科技有限公司 | Laser navigation AGV repositioning method and device based on deep learning |
| CN113884093A (en) * | 2020-07-02 | 2022-01-04 | 苏州艾吉威机器人有限公司 | AGV mapping and positioning method, system, device and computer readable storage medium |
| CN112363158A (en) * | 2020-10-23 | 2021-02-12 | 浙江华睿科技有限公司 | Pose estimation method for robot, and computer storage medium |
| CN112405549A (en) * | 2021-01-22 | 2021-02-26 | 苏州盈科电子有限公司 | Robot positioning method and device |
| CN113409410A (en) * | 2021-05-19 | 2021-09-17 | 杭州电子科技大学 | Multi-feature fusion IGV positioning and mapping method based on 3D laser radar |
| CN115272227A (en) * | 2022-07-26 | 2022-11-01 | 苏州深酷机器人有限公司 | Detection method and system based on point cloud shape feature |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112560862B (en) | Text recognition method and device and electronic equipment | |
| WO2022166400A1 (en) | Method, apparatus and device for processing three-dimensional point cloud, and storage medium | |
| JP2021197154A (en) | Form image recognition method and device, electronic apparatus, storage medium, and computer program | |
| CN113971723B (en) | Method, device, equipment and storage medium for constructing three-dimensional map in high-precision map | |
| CN114691148B (en) | Model reasoning acceleration method, device, electronic equipment and storage medium | |
| CN114003613A (en) | High-precision map lane line updating method and device, electronic equipment and storage medium | |
| CN114063858B (en) | Image processing method, device, electronic device and storage medium | |
| CN106600700B (en) | Three-dimensional model data processing system | |
| CN114283343B (en) | Map updating method, training method and device based on remote sensing satellite image | |
| CN113780098A (en) | Character recognition method, character recognition device, electronic equipment and storage medium | |
| CN113570727A (en) | Scene file generation method and device, electronic equipment and storage medium | |
| US12190445B2 (en) | High-precision map construction method, apparatus and electronic device | |
| CN115481268A (en) | Parallel line wall data identification method, device, equipment and storage medium | |
| CN114911811B (en) | Map data updating method and device and electronic equipment | |
| CN110827393B (en) | Image processing method, image processing device, storage medium and electronic equipment | |
| CN113987098A (en) | High-precision map road boundary updating method and device, electronic equipment and storage medium | |
| CN112529984B (en) | Method, device, electronic equipment and storage medium for drawing polygon | |
| CN116449379A (en) | AGV positioning method and device based on special shape recognition | |
| CN115601518B (en) | Method, device, electronic device and storage medium for high-precision map point cloud registration | |
| CN116524372A (en) | Method, system, electronic equipment and storage medium for acquiring ground object information | |
| CN117541825A (en) | Similar pole tower identification and matching method and system based on three-dimensional point cloud matching algorithm | |
| CN117095207A (en) | Chip image labeling method, device, computing equipment and storage medium | |
| CN112948517B (en) | Area position calibration method, device and electronic equipment | |
| CN115624747A (en) | Method, device and equipment for processing topographic data and storage medium | |
| CN114429509A (en) | Newly added road discovery method and device and electronic equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination |