CN112068552A - Mobile robot autonomous drawing construction method based on CAD drawing - Google Patents

Mobile robot autonomous drawing construction method based on CAD drawing Download PDF

Info

Publication number
CN112068552A
CN112068552A CN202010831869.6A CN202010831869A CN112068552A CN 112068552 A CN112068552 A CN 112068552A CN 202010831869 A CN202010831869 A CN 202010831869A CN 112068552 A CN112068552 A CN 112068552A
Authority
CN
China
Prior art keywords
map
robot
mapping
path
cad
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
Application number
CN202010831869.6A
Other languages
Chinese (zh)
Inventor
李良源
杨晓东
骆增辉
王利红
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Saite Intelligent Technology Co Ltd
Original Assignee
Guangzhou Saite Intelligent Technology Co Ltd
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 Guangzhou Saite Intelligent Technology Co Ltd filed Critical Guangzhou Saite Intelligent Technology Co Ltd
Priority to CN202010831869.6A priority Critical patent/CN112068552A/en
Publication of CN112068552A publication Critical patent/CN112068552A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F30/00Computer-aided design [CAD]
    • G06F30/10Geometric CAD
    • G06F30/13Architectural design, e.g. computer-aided architectural design [CAAD] related to design of buildings, bridges, landscapes, production plants or roads

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Geometry (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Civil Engineering (AREA)
  • Computational Mathematics (AREA)
  • Mathematical Analysis (AREA)
  • Mathematical Optimization (AREA)
  • Pure & Applied Mathematics (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Structural Engineering (AREA)
  • Architecture (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Remote Sensing (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

A mobile robot self-drawing construction method based on CAD drawings comprises the following steps: generating a grid map by the CAD vector map according to the marked size in the same proportion, and processing the grid map into a navigation prior map; drawing an expected mapping route on a navigation prior map, and sampling discrete path points on the mapping route to generate a dense final mapping route; the robot carries out positioning and tracking a planned mapping path based on a navigation prior map, autonomously avoids obstacles in the walking process and builds a map in real time; and the robot returns to the end point of the map building path, and the built map is generated and stored. The method utilizes the CAD map as the navigation prior map to plan the mapping path of the robot in advance, can control the movement track of the robot, avoids the influence of non-referential property and randomness of the robot on the mapping quality in the autonomous mapping walking process, improves the controllability and the high efficiency of the autonomous mapping, has strong practicability and is easy to realize.

Description

Mobile robot autonomous drawing construction method based on CAD drawing
Technical Field
The invention relates to the technical field of map construction, in particular to a mobile robot autonomous map construction method based on CAD drawings.
Background
In the field of mobile robots, the positioning and navigation of the robot cannot leave a map, so that the robot must scan and detect a working environment in advance to construct the map and provide reference for the subsequent work of the robot. The map building is a process that the robot moves in the environment, environment information is detected through a sensor carried by the robot, contour information of the environment is recorded, and a map is finally generated. Generally, a map is constructed by scanning a manually operated robot in an environment, and then a map is generated, and the method consumes a large amount of labor cost, so that the mobile robot autonomous map construction method becomes a research hotspot in the field of recent mobile robots. The conventional autonomous mapping method is mainly exploration-type mapping, namely, a robot moves in a search-type manner within a specified range and finally generates a map, for example, SLAM technology, which is synchronous positioning and mapping construction, moves in an unknown environment under the condition of no scene prior information, performs self-positioning through multi-feature matching according to sensor detection data and pose estimation and constructs an incremental map.
Disclosure of Invention
The invention aims to overcome the defects of the prior art and provide the mobile robot autonomous drawing construction method based on the CAD drawing, which has strong controllability and high efficiency.
The invention is realized by the following technical scheme:
a mobile robot self-drawing construction method based on CAD drawings comprises the following steps:
s1, converting the CAD drawing into a grid map, and then processing into a navigation prior map;
s2, planning a mapping path of the robot based on the navigation prior map;
s3, positioning and tracking a planned mapping path by the robot based on the navigation prior map, and automatically avoiding obstacles and building a map in real time in the walking process;
and S4, the robot arrives at the end point of the map building path, generates and stores the built map, and completes the self-map building task.
The CAD drawing is a vector map, and the scheme performs navigation positioning based on a 2D grid map, so that the CAD drawing needs to be converted into the 2D grid map. Compared with a vector diagram, the grid map is a rectangular pattern consisting of a series of pixels, has a simple data structure, is convenient for space analysis and surface simulation, has strong appearance and is suitable for robot positioning.
The 2D grid map generated from the CAD drawing can be used primarily for navigation, and due to construction errors and environmental improvement, the map cannot be used for accurate navigation, and it is feasible to use the map as a prior navigation map for drawing. On the premise of a prior map, the motion trail of the robot for automatically constructing the map can be controlled by drawing the mapping path, so that the efficient and controllable automatic map construction is realized.
Further, the specific method of the step S1 is as follows: and generating a grid map in the same proportion according to the marked size of the CAD drawing, and processing the grid map into a navigation prior map by adding partial obstacles or erasing partial obstacles and other processing modes. Since information (including obstacles) in the actual scene may come in and go out of the CAD map, the grid map converted from the CAD map needs to be processed in actual application to better meet the situation in the actual scene.
Further, the specific method of the step S2 is as follows: drawing an expected drawing route on a navigation prior map according to a drawing task of the robot, wherein the drawing principle of the drawing route is that a drawing path passes through a scene to be scanned, and the drawing task of the robot can be covered by the drawing route; and sampling the drawn mapping route to generate a final robot mapping path.
The 2D grid map is generated by CAD drawings in the same proportion, each pixel of the 2D grid map can correspond to real world coordinates in the environment, namely the pixel coordinates can be converted to obtain world coordinates, the drawing route is composed of path points, and discrete path points on the drawing route under the world coordinate system can be obtained by capturing the pixel coordinates covered by the path points on the 2D grid map drawing route.
Because the distances between the path points are different in size during drawing, the path points may be too sparse when the path points are directly used, and further, discrete path points on the mapping route need to be sampled to generate a dense final path for accurate control, and the specific sampling method is as follows: connecting two adjacent path points on the mapping route into a straight line, if the distance of the straight line is greater than 5cm, inserting one path point on the straight line, if the distance between the two adjacent path points after the path point is inserted is still less than 5cm, continuing to insert one path point until the distances between all the two adjacent path points are less than or equal to 5cm, and connecting all the path points on the mapping route to obtain the mapping route of the robot.
Further, the step S3 specifically includes the following steps:
s31, positioning the robot in a navigation prior map through a sensor carried by the robot;
s32, navigating the robot to the starting point of the map building path, and starting an automatic map building task mode;
s33, the robot builds a map in real time in the process of tracking the driving according to the positioning and tracking map building path in the navigation prior map, and continues to track the map building path after avoiding obstacles until the robot drives to the end point of the map building path.
Further, the sensor for positioning by the robot is a laser radar or a vision sensor.
The CAD map is used as the navigation prior map of the robot, the mapping path of the robot can be planned in advance through the prior map so as to control the motion trail of the robot for automatically mapping, the influence of no reference and randomness of the robot on the integrity and quality of mapping in the process of automatically mapping and walking can be avoided, the controllability and the efficiency of automatically mapping are improved, and the practicability is strong; the CAD data format map is the most frequently stored and used map by a building department and a surveying and mapping department, and particularly for buildings, the building construction map, the floor distribution map and the like are mostly CAD drawings, and are rich in resources and easy to obtain, so that the technical scheme of the invention has strong practicability and easy realization, is particularly suitable for autonomous robot map building in building construction places, indoor spaces and the like, and greatly reduces the map building cost; by sampling and repairing the mapping route, path points on the mapping route are dense, the mapping route is more accurate and controllable, the path tracking and positioning of the robot are facilitated, and the quality of the self-mapping is further improved.
Drawings
FIG. 1 is a schematic flow chart of the present invention.
Fig. 2 is an original CAD drawing in an embodiment of the invention.
FIG. 3 is a schematic diagram of a prior map generated from an original CAD drawing and a mapping path according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a map finally generated by the robot in the embodiment of the present invention.
Reference numerals: 1-construction of a graph route.
Detailed Description
A mobile robot self-drawing construction method based on CAD drawings is disclosed, as shown in FIG. 1, and comprises the following steps:
1. generating navigation prior map from CAD drawing
(1) And generating a 2D grid map according to the dimension marked on the CAD drawing in the same scale. Taking a 2D grid map with a pixel size of 5cm as an example, if the labeled dimension of the CAD drawing is (104.2m × 52.8m), the size of the generated navigation prior map is 2084 × 1056 pixels. The invention can be applied to the invention after a structure diagram, a layout diagram and the like drawn by various software (such as AutoCAD, Solidworks, CeropCt and the like) are converted into a CAD format, and the prior art can be adopted for converting a vector diagram into a grid diagram, for example, the prior art can be adopted for converting a CAD drawing into a gray diagram with a pgm format by using Photoshop software, wherein black represents an obstacle, white represents a feasible region and gray represents an unknown region. Or adopting the following processing method: converting the CAD drawing into drawing data in a DXF format, reading a group code and an associated value in the drawing data in the DXF format, and performing information screening and data extraction according to different segment names in a file, so as to extract image information in the drawing data in the DXF format according to the group code and the associated value; and establishing a coordinate system according to drawing data in the DXF format, and determining the coordinate position of the image in the coordinate system.
(2) And processing the generated 2D grid map, for example, adding partial obstacles or erasing partial obstacles, and processing the grid map into a navigation prior map. Since information (including obstacles) in the actual scene may come in and go out of the CAD map, the grid map converted from the CAD map needs to be processed in actual application to better meet the situation in the actual scene. The obstacle adding means that obstacles existing in the actual environment are reflected on the map, the obstacle erasing means that obstacles which do not exist in the actual environment are erased from the map, and the obstacle adding and erasing means that the generated map is more matched with the actual environment so as to be more beneficial to navigation based on the map. The obstacles herein refer to objects in the actual environment, such as walls, pillars, doors, seats, etc.
Taking the original CAD plane distribution map of a certain building floor in fig. 2 as an example, firstly, labels which do not exist in the CAD map are deleted, only building outlines and the like are reserved, the labels can be introduced into Photoshop software and converted into a 2D grid map according to the steps, then, the grid map is subjected to obstacle measurement erasing and increasing, so that the grid map is more in line with the actual environment, and the processed navigation prior map is shown in fig. 3.
2. Planning and drawing path on prior map
(1) According to a mapping task of the robot, drawing an expected mapping route 1 on a navigation prior map, wherein the principle of drawing the mapping route 1 is that a mapping path passes through a scene needing to be scanned, and the mapping route 1 can cover the mapping task of the robot.
(2) Connecting two adjacent path points on the mapping route 1 into a straight line, if the distance of the straight line is greater than 5cm, inserting one path point on the straight line, if the distance between the two adjacent path points after the path point is inserted is still less than 5cm, continuing to insert one path point until the distances between all the two adjacent path points are less than or equal to 5cm, and connecting all the path points on the mapping route to form a dense final path, namely the mapping route 1 of the robot.
3. Robot carries out location and trails the mapping route of drawing based on priori map
(1) The robot carries out positioning in a navigation priori map through a laser radar, a vision sensor and the like which are carried by the robot. The robot positioning technology is the most basic link for the robot to realize autonomous positioning navigation, is the position of the robot relative to a global coordinate and the posture of the robot per se in a two-dimensional working environment, has more research and application in this respect, and is not described herein any more. The robot positioning based on the prior map can adopt the existing robot positioning technology, for example, the laser SLAM technology with relatively mature theory and product can be adopted, the point cloud information of an object is collected by means of a laser radar, and the change of the relative movement distance and the posture of the laser radar is calculated by matching and comparing two pieces of point clouds at different moments, so that the robot is positioned.
(2) And the robot navigates to the starting point of the mapping path and starts an autonomous mapping mode.
(3) The robot tracks the mapping path in real time in the driving process according to the positioning track mapping path in the navigation prior map, and continues to track the mapping path after avoiding obstacles until the robot drives to the end point of the mapping path. The method for real-time map construction has more prior arts, such as mapping-based map construction technology, cartographer-based map construction technology and the like can be used in the invention, or other researches on the real-time map construction method can be carried out on the basis of the technical scheme of the invention, so that the steps of real-time map construction are simplified, and the quality of real-time map construction is improved.
4. The robot returns to the end point of the mapping path and generates a map
(1) The robot walks to the end of the map building path and saves the built map as shown in fig. 4.
(2) The robot completes the task of self-drawing construction.
The above detailed description is specific to possible embodiments of the present invention, and the embodiments are not intended to limit the scope of the present invention, and all equivalent implementations or modifications that do not depart from the scope of the present invention are intended to be included within the scope of the present invention.

Claims (6)

1. A mobile robot self-drawing construction method based on CAD drawings is characterized by comprising the following steps:
s1, converting the CAD drawing into a grid map, and then processing into a navigation prior map;
s2, planning a mapping path of the robot based on the navigation prior map;
s3, positioning and tracking a planned mapping path by the robot based on the navigation prior map, and automatically avoiding obstacles and building a map in real time in the walking process;
and S4, the robot arrives at the end point of the map building path, generates and stores the built map, and completes the self-map building task.
2. The mobile robot self-drawing construction method based on CAD drawing paper of claim 1, wherein the concrete method of step S1 is: and generating a grid map in the same scale according to the marked size of the CAD drawing, and processing the grid map into a navigation prior map by adding partial obstacles or erasing partial obstacles.
3. The mobile robot self-drawing construction method based on CAD drawing paper of claim 1, wherein the concrete method of step S2 is: drawing an expected mapping route on a navigation prior map according to the mapping task of the robot, wherein the mapping route can cover the mapping task of the robot; and sampling the drawn mapping route to generate a final robot mapping path.
4. The mobile robot self-drawing method based on the CAD drawing as recited in claim 3, wherein the method for sampling the drawing route is as follows: connecting two adjacent path points on the mapping route into a straight line, if the distance of the straight line is greater than 5cm, inserting one path point in the straight line, if the distance between the two adjacent path points after the path point is inserted is still less than 5cm, continuing to insert one path point until the distances between all the two adjacent path points are less than or equal to 5cm, and connecting all the path points on the mapping route to obtain the mapping route of the robot.
5. The mobile robot self-drawing construction method based on the CAD drawing as recited in claim 1, wherein the step S3 specifically comprises the steps of:
s31, positioning the robot in a navigation prior map through a sensor carried by the robot;
s32, navigating the robot to the starting point of the map building path, and starting an automatic map building task mode;
s33, the robot builds a map in real time in the process of tracking the driving according to the positioning and tracking map building path in the navigation prior map, and continues to track the map building path after avoiding obstacles until the robot drives to the end point of the map building path.
6. The mobile robot autonomous construction method based on CAD drawing paper of claim 5, characterized in that, the sensor for robot positioning is laser radar or vision sensor.
CN202010831869.6A 2020-08-18 2020-08-18 Mobile robot autonomous drawing construction method based on CAD drawing Pending CN112068552A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010831869.6A CN112068552A (en) 2020-08-18 2020-08-18 Mobile robot autonomous drawing construction method based on CAD drawing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010831869.6A CN112068552A (en) 2020-08-18 2020-08-18 Mobile robot autonomous drawing construction method based on CAD drawing

Publications (1)

Publication Number Publication Date
CN112068552A true CN112068552A (en) 2020-12-11

Family

ID=73662099

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010831869.6A Pending CN112068552A (en) 2020-08-18 2020-08-18 Mobile robot autonomous drawing construction method based on CAD drawing

Country Status (1)

Country Link
CN (1) CN112068552A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113793379A (en) * 2021-08-12 2021-12-14 视辰信息科技(上海)有限公司 Camera pose solving method, system, equipment and computer readable storage medium
CN114608549A (en) * 2022-05-10 2022-06-10 武汉智会创新科技有限公司 Building measurement method based on intelligent robot

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992964A (en) * 2017-11-24 2018-05-04 北京金风科创风电设备有限公司 Map path generation method, device, system and storage medium
CN110132291A (en) * 2019-05-16 2019-08-16 深圳数翔科技有限公司 Grating map generation method, system, equipment and storage medium for harbour
CN110268354A (en) * 2019-05-09 2019-09-20 珊口(深圳)智能科技有限公司 Update the method and mobile robot of map
CN111459166A (en) * 2020-04-22 2020-07-28 北京工业大学 Scene map construction method containing position information of trapped people in post-disaster rescue environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107992964A (en) * 2017-11-24 2018-05-04 北京金风科创风电设备有限公司 Map path generation method, device, system and storage medium
CN110268354A (en) * 2019-05-09 2019-09-20 珊口(深圳)智能科技有限公司 Update the method and mobile robot of map
CN110132291A (en) * 2019-05-16 2019-08-16 深圳数翔科技有限公司 Grating map generation method, system, equipment and storage medium for harbour
CN111459166A (en) * 2020-04-22 2020-07-28 北京工业大学 Scene map construction method containing position information of trapped people in post-disaster rescue environment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113793379A (en) * 2021-08-12 2021-12-14 视辰信息科技(上海)有限公司 Camera pose solving method, system, equipment and computer readable storage medium
CN114608549A (en) * 2022-05-10 2022-06-10 武汉智会创新科技有限公司 Building measurement method based on intelligent robot

Similar Documents

Publication Publication Date Title
CN110531759B (en) Robot exploration path generation method and device, computer equipment and storage medium
Klein et al. Imaged-based verification of as-built documentation of operational buildings
Borrmann et al. A mobile robot based system for fully automated thermal 3D mapping
Thomson et al. Mobile laser scanning for indoor modelling
US8588471B2 (en) Method and device of mapping and localization method using the same
CN108297115B (en) Autonomous repositioning method for robot
CN109059942A (en) A kind of high-precision underground navigation map building system and construction method
CN104062973A (en) Mobile robot SLAM method based on image marker identification
Rajendra et al. Evaluation of Partially Overlapping 3D Point Cloud's Registration by using ICP variant and CloudCompare.
CN109470233B (en) Positioning method and device
CN111552764B (en) Parking space detection method, device, system, robot and storage medium
CN110109134A (en) A method of the broken line based on 2D laser radar range extracts Maximum-likelihood estimation
CN109528089A (en) A kind of walk on method, apparatus and the chip of stranded clean robot
Prieto et al. As-is building-structure reconstruction from a probabilistic next best scan approach
Hähnel et al. Probabilistic matching for 3d scan registration
CN112068552A (en) Mobile robot autonomous drawing construction method based on CAD drawing
Kim et al. UAV-UGV cooperative 3D environmental mapping
Khoshelham Smart heritage: challenges in digitisation and spatial information modelling of historical buildings
Qu et al. Usage of 3D point cloud data in BIM (building information modelling): Current applications and challenges
CN114608549A (en) Building measurement method based on intelligent robot
CN114413909A (en) Indoor mobile robot positioning method and system
Liu et al. An enhanced lidar inertial localization and mapping system for unmanned ground vehicles
JP2007193850A (en) Change region recognition apparatus
Tiozzo Fasiolo et al. Combining LiDAR SLAM and deep learning-based people detection for autonomous indoor mapping in a crowded environment
Bassier et al. Evaluation of data acquisition techniques and workflows for Scan to BIM

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510000 201, building a, No.19 nanxiangsan Road, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: GUANGZHOU SAITE INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 510000 Room 303, 36 Kaitai Avenue, Huangpu District, Guangzhou City, Guangdong Province

Applicant before: GUANGZHOU SAITE INTELLIGENT TECHNOLOGY Co.,Ltd.