CN103092207B - Robot maze search method - Google Patents

Robot maze search method Download PDF

Info

Publication number
CN103092207B
CN103092207B CN201310062309.9A CN201310062309A CN103092207B CN 103092207 B CN103092207 B CN 103092207B CN 201310062309 A CN201310062309 A CN 201310062309A CN 103092207 B CN103092207 B CN 103092207B
Authority
CN
China
Prior art keywords
robot
branch road
information
path
maze
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.)
Expired - Fee Related
Application number
CN201310062309.9A
Other languages
Chinese (zh)
Other versions
CN103092207A (en
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.)
Donghua University
National Dong Hwa University
Original Assignee
Donghua University
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 Donghua University filed Critical Donghua University
Priority to CN201310062309.9A priority Critical patent/CN103092207B/en
Publication of CN103092207A publication Critical patent/CN103092207A/en
Application granted granted Critical
Publication of CN103092207B publication Critical patent/CN103092207B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to a robot maze search method. When the robot searches a maze, metope information explored by the robot is expanded, and search path which is selected out through path selection principle is pre-deducted by a flood deduction method. The aim of the pre-deduction is that a plurality of paths which are unreachable to destination are eliminated before the robot walks, and so search time of the robot is reduced from two angels of eliminating invalid search paths and increasing effective information. According to the robot maze search method, mechanical operation speed of a robot with relative low speed is replaced by operation speed of a micro controller with high speed, and maze search efficiency is improved.

Description

A kind of robot maze search method
Technical field
The invention belongs to field of artificial intelligence, particularly relate to a kind of robot maze search method.
Background technology
Intelligent robot is applied to the research exploring labyrinth and circumstances not known very universal, make a general survey of existing maze-searching algorithm, the way of the overwhelming majority is when robot has branch road to select, can according to the routing algorithm drafted, select wherein one carry out continuations exploration, until search terminal.And this type of algorithm has individual drawback, do not make full use of the searching route of information to robot that robot searched and be optimized.When there being branch road to select, then according to the routing algorithm drafted, select wherein one carry out continuations exploration, and whether this paths can reach terminal, does not judge according to existing data analysis in advance, can only be learnt by actual search.And the information be only confined to having explored is selected, and does not effectively expand these information, these all with serving unnecessary search, will affect the accuracy judged, and reduce search efficiency.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of robot maze search method, start with from the invalid searching route of rejecting and increase effective information two aspect, substitute robotic's travelling speed of relative low speeds with microcontroller arithmetic speed at a high speed, thus improve labyrinth search efficiency.
The technical solution adopted for the present invention to solve the technical problems is: provide a kind of robot maze search method, comprise the following steps:
(1) information that known and robot explore is expanded, when after the metope information searching lattice in maze lattice, utilize this metope information, the part or all of information of metope of each lattice of its surrounding is upgraded.Namely whether there is road according to current maze lattice left direction, show whether the maze lattice right direction of its left has road.In like manner can according under current maze lattice, whether right, upper direction have road, draw the upper direction of maze lattice below it, whether the lower direction of the left direction of right maze lattice and top maze lattice have road.Like this, although these four lattice were not searched for, obtained part even all metope information, for the judgement in later stage and routing provide more valid data;
(2) when there being branch road available, " flood deduction method " is utilized to deduce in advance to the branch road that routing algorithm is selected, reject infeasible path, after described " flood deduction method " namely chooses optimum branch road according to routing rule, before robot advances, deduce in advance along this branch road according to the information that Given information, robot explore and expand, if this branch road can deduce terminal, then this branch road is judged as advancing; If deduce less than terminal, then be judged as advancing, and all maze lattices of can not advancing of deducing are labeled as dead end, pick out hunting zone, then deduce in advance, till finding out the branch road that can advance according to next preferential branch road that routing rule is selected.
Also comprise in described step (2): the path that routing algorithm is selected once is filtered, gets rid of those infeasible paths, reduce hunting zone; What get rid of is only the path that those do not have possibility to reach home, and is all retained the path that all the other likely arrive.
In described step (2), " flood deduction method " is after routing algorithm chooses branch road, according to the partition information of array record, along this branch road simulation " flowing water ", and robot current location is labeled as peak, namely " flood " stream less than place, prevent its " adverse current "; If can " trickle " to terminal in this " flowing water " path, Ze Zhetiao road is judged as advancing; If " trickling " is less than terminal, then be judged as advancing, and all grid that " flood " institute " is flow through " are labeled as dead end, pick out hunting zone, then select next preferential branch road according to routing algorithm, and deduce, till finding out branch road of can advancing.
The implementation method of the described deduction described in step (2) is carry out based on the method for circle of equal altitudes method searching optimal path, makes the circle of equal altitudes from branch point to terminal, therefrom find out a path that can reach home according to the information recorded in array; If completed all coordinates etc. high level upgrade, still could not enough upgrade terminal etc. high level, then judge that branch road is unreachable for this reason; Deduction process must be deduced to " front ", etc. high level initialization time, by current robot position etc. high level be set to minimum value 0, starting point or branch point etc. high level be set to 1, the high level such as initial of all the other points is all set to 0xff, can ensure to deduce to " front ".
Beneficial effect
First the present invention expands the information that known and robot explore, thus draw more useful informations, " the flood deduction method " that can not only propose for the present invention provides valid data, also can provide more data for robot at selection optimal path etc., thus make selection more accurately or judge." the flood deduction method " that proposed can identify the dead end in labyrinth, thus reduces hunting zone, " to run " slowly speed with microcontroller arithmetic speed substitute machine people at a high speed,
Effective raising search efficiency.
Accompanying drawing explanation
Fig. 1 is Data expansion schematic diagram of the present invention.
Fig. 2 is routing algorithm process flow diagram of the present invention.
Fig. 3 is robot searches path schematic diagram of the present invention.
Embodiment
Below in conjunction with specific embodiment, set forth the present invention further.Should be understood that these embodiments are only not used in for illustration of the present invention to limit the scope of the invention.In addition should be understood that those skilled in the art can make various changes or modifications the present invention, and these equivalent form of values fall within the application's appended claims limited range equally after the content of having read the present invention's instruction.
Fig. 1 is Data expansion schematic diagram of the present invention: what store in MapBlock [x] [y] in figure is the metope information that actual search goes out, the information partly or completely of four palace lattice around these palace lattice is gone out according to this information easily extensible, and the information expanded is stored in array LogBlock, thus the information of four maze lattices around the information updating utilizing these to expand, for subsequent searches or spurt provide more effective informations.
Fig. 2 is routing algorithm process flow diagram of the present invention: the path selecting rule to select original route, deduces in advance successively, can reach terminal path until find according to priority orders according to " flood deduction method " before robot advances.
Fig. 3 is robot maze searching route schematic diagram: segment of curve is that robot searches the path of terminal from starting point first time, and dash area represents the dead end that searching period robot marks.Robot is explored from starting point to terminal, the dead end robot marked in routing rule figure is conveniently the front removal search of meeting all, and the algorithm after improving, then can identify these dead ends according to " flood deduction method ", thus reduction hunting zone, " to run " slowly speed with microcontroller arithmetic speed substitute machine people at a high speed, effectively improve search efficiency.
The present invention is divided into two large divisions: expanded search information and the invalid searching route of rejecting, lower mask body describes.
1, expanded search information
Assuming that the labyrinth environment of the exploration of robot is the square two dimension labyrinth of 16*16, in practical application, different set can be carried out according to different application environment.
Specific implementation way is divided into three steps:
The first step, two-dimensional array MapBlock [x] [y] and LogBlock [x] [y] of structure two 16*16, what MapBlock stored is the metope information that actual search goes out, what LogBlock stored is not only the metope information that actual search goes out, and also comprises the metope information deduced out.Wherein, x: horizontal ordinate, y: ordinate, bit3 ~ bit0 position represents the maze lattice left, down, right of changing coordinates respectively, whether upper direction has road, 0: this direction Wu Lu, 1: there is road in this direction, bit4 position is for marking this maze lattice whether actual search mistake, and for distinguishing supposition four thoroughly have road and true four thoroughly to have road (namely by metope information that actual search obtains);
Second step, carries out initialization to above-mentioned two arrays, and in MapBlock [x] [y], whole element is initialized as 0x00.In LogBlock [x] [y], the bit2 position (bottom margin in whole labyrinth) of all elements of x=0 is all set to 0; The bit0 position (top margin in whole labyrinth) of all elements of x=16 is all set to 0; All 0 is set to the bit3 position (border, left in whole labyrinth) of all elements of y=0; The bit1 position (border, right in whole labyrinth) of all elements of y=16 is all set to 0, represents that there is wall on surrounding border, labyrinth, Ji Wu road.All the other bit3 ~ bit0 positions are all set to 1, namely initially suppose that labyrinth is inner without any partition wall, progressively adding portion partition wall in the exploration and deduction process in later stage; Bit7 ~ bit4 position of all elements is all set to 0;
3rd step, carries out synchronous maintenance renewal to two arrays during robot searches, and MapBlock preserves the data of robot actual search; LogBlock not only copies the information that MapBlock records, and also comprises the extend information to MapBlock.Concrete extended method is as follows: such as, can be that 0(represents (x according to the bit2 position of MapBlock [x] [y], y) below lattice without road), infer that the bit0 position of LogBlock [x] [y-1] is that 0(represents (x, y-1) above lattice without road), in like manner can obtain the spreading result in its excess-three direction, schematic diagram as shown in Figure 2;
When after the metope information searching lattice, this maze lattice metope information can be utilized, the metope information of each lattice of its surrounding is upgraded, like this, although these four lattice were not searched for, obtained part even all metope information, for the judgement in later stage and routing provide more valid data.
2, invalid searching route is rejected
(1) filtered search path
In robot searches process, the path that routing algorithm is selected once is filtered.Whenever having branch road available, to the path that routing algorithm is selected, before robot advances, utilize " flood deduction method " to deduce in advance, Ruo Keda then advances; If unreachable, then by this branch road and the path that can be deduced out by this branch road, be all labeled as dead end.
The object of filtering gets rid of those infeasible paths, reduces hunting zone.What get rid of is only the path that those do not have possibility to reach home, and is all retained the path that all the other likely arrive.So, under the prerequisite reducing hunting zone, also can not omit any active path.Filter the time that the processor that exhausts runs much smaller than robot working time, negligible.Even if (do not get rid of any infeasible paths) the poorest when, also search time can not be increased.
(2) flood deduces method
Because whole deduction process is similar to flood trickling, at this, we are called " flood deduction method " visually.Its schematic diagram as shown in Figure 3, after routing algorithm chooses branch road, according to the partition information of LogBlock array record, along this branch road " trickling ", and note robot current location is labeled as peak, namely " flood " stream less than place, prevent its " adverse current ".If can " trickle " to terminal in this " flowing water " path, Ze Zhetiao road is judged as advancing; If " trickling " is less than terminal, then be judged as advancing, and all grid that " flood " institute " is flow through " by are just now labeled as dead end, pick out hunting zone, then select next preferential branch road according to routing algorithm, and deduce, till finding out branch road of can advancing.Its process flow diagram as shown in Figure 2.
The implementation method deduced can be modified based on the method for circle of equal altitudes method searching optimal path, because can the result deduced only need judgement reach home, so, as long as doing from branch point (the crossing coordinate of the branch road that robot is selected by routing algorithm according to the information recorded in LogBlock array, if this branch road judges to reach, be the next position coordinate of robot) to the circle of equal altitudes of terminal time, therefrom find out a path that can reach home, without the need to finding out optimal path.During program design, if terminal etc. high level be updated (initial etc. high level be maximal value: 0xff), immediately jump out circulation, perform the driving function of robot; If processor completed all coordinates etc. high level upgrade, still could not enough upgrade terminal etc. high level, then judge that branch road is unreachable for this reason.Deduction process should be noted don't fail to be deduced to " front ", namely the trend deduced can not pass by the coordinate of current robot, otherwise not only can strengthen the workload of deduction, and be not easy to mark dead end, during etc. high level initialization, by current robot position etc. high level be set to minimum value 0, starting point (branch point) etc. high level be set to 1, the high level such as initial of all the other points is all set to 0xff, can ensure to deduce to " front ".

Claims (3)

1. a robot maze search method, is characterized in that, comprises the following steps:
(1) information that known and robot explore is expanded, when after the metope information searching lattice in maze lattice, utilize this metope information, the part or all of information of metope of each lattice of its surrounding is upgraded, like this, although these four lattice were not searched for, obtained part even all metope information, for the judgement in later stage and routing provide more valid data;
(2) when there being branch road available, " flood deduction method " is utilized to deduce in advance to the branch road that routing algorithm is selected, reject infeasible path, after described " flood deduction method " namely chooses optimum branch road according to routing rule, before robot advances, deduce in advance along this branch road according to the information that Given information, robot explore and expand, if this branch road can deduce terminal, then this branch road is judged as advancing; If deduce less than terminal, then be judged as advancing, and all maze lattices of can not advancing of deducing are labeled as dead end, pick out hunting zone, then deduce in advance, till finding out the branch road that can advance according to next preferential branch road that routing rule is selected; In this step, " flood deduction method " is after routing algorithm chooses branch road, according to each lattice metope information of array record on this branch road, along this branch road simulation " flowing water ", and robot current location is labeled as peak, namely " flood " stream less than place, prevent its " adverse current "; If can " trickle " to terminal in this " flowing water " path, Ze Zhetiao road is judged as advancing; If " trickling " is less than terminal, then be judged as advancing, and all grid that " flood " institute " is flow through " are labeled as dead end, pick out hunting zone, then select next preferential branch road according to routing algorithm, and deduce, till finding out branch road of can advancing.
2. a kind of robot maze search method according to claim 1, is characterized in that, also comprises: once filter the path that routing algorithm is selected, get rid of those infeasible paths in described step (2), reduces hunting zone; What get rid of is only the path that those do not have possibility to reach home, and is all retained the path that all the other likely arrive.
3. a kind of robot maze search method according to claim 1, it is characterized in that, the implementation method of the deduction in described step (2) is carry out based on the method for circle of equal altitudes method searching optimal path, make the circle of equal altitudes from branch point to terminal according to the information recorded in array, therefrom find out a path that can reach home; If completed all coordinates etc. high level upgrade, still could not enough upgrade terminal etc. high level, then judge that branch road is unreachable for this reason; Deduction process must be deduced to " front ", etc. high level initialization time, by current robot position etc. high level be set to minimum value 0, starting point or branch point etc. high level be set to 1, the high level such as initial of all the other points is all set to 0xff, can ensure to deduce to " front ".
CN201310062309.9A 2013-02-27 2013-02-27 Robot maze search method Expired - Fee Related CN103092207B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310062309.9A CN103092207B (en) 2013-02-27 2013-02-27 Robot maze search method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310062309.9A CN103092207B (en) 2013-02-27 2013-02-27 Robot maze search method

Publications (2)

Publication Number Publication Date
CN103092207A CN103092207A (en) 2013-05-08
CN103092207B true CN103092207B (en) 2015-06-03

Family

ID=48204906

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310062309.9A Expired - Fee Related CN103092207B (en) 2013-02-27 2013-02-27 Robot maze search method

Country Status (1)

Country Link
CN (1) CN103092207B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104142684A (en) * 2014-07-31 2014-11-12 哈尔滨工程大学 Maze searching method for miniature micromouse robot
CN107292107A (en) * 2014-12-02 2017-10-24 厦门飞游信息科技有限公司 A kind of map road-seeking method, equipment and computing terminal
CN107423360B (en) * 2017-06-19 2020-01-24 广东中冶地理信息股份有限公司 Maze solving method based on path central line
CN108460500A (en) * 2018-05-04 2018-08-28 成都信息工程大学 Based on the optimum path planning method for improving Flood-Fill algorithms
CN110320920A (en) * 2019-08-06 2019-10-11 北京中海远景科技有限公司 A kind of double-movement robot maze paths planning method based on reduction algorithm
CN113325856B (en) * 2021-05-31 2022-07-08 中国船舶工业集团公司第七0八研究所 UUV optimal operation path planning method based on countercurrent approximation strategy
CN114129263B (en) * 2021-11-29 2023-07-25 武汉联影智融医疗科技有限公司 Surgical robot path planning method, system, equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1888995A (en) * 2006-07-10 2007-01-03 北京工业大学 Intelligent maze robot
US7571411B2 (en) * 2006-01-12 2009-08-04 International Business Machines Corporation Methods and apparatus for providing flexible timing-driven routing trees
CN102841974A (en) * 2011-06-24 2012-12-26 镇江华扬信息科技有限公司 Game path searching simplification method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04260965A (en) * 1990-10-17 1992-09-16 Fujitsu Ltd Method for searching route between two points

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571411B2 (en) * 2006-01-12 2009-08-04 International Business Machines Corporation Methods and apparatus for providing flexible timing-driven routing trees
CN1888995A (en) * 2006-07-10 2007-01-03 北京工业大学 Intelligent maze robot
CN102841974A (en) * 2011-06-24 2012-12-26 镇江华扬信息科技有限公司 Game path searching simplification method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于IEEE标准的电脑鼠走迷宫的智能算法研究;王斌等;《电子设计工程》;20110630;第19卷(第12期);第44页左栏第19-26行,表1,图5 *
自适应泛洪的迷宫路径优化算法研究;林俊等;《计算机应用研究》;20121231;第29卷(第12期);第4473页右栏第44行-4474页左栏第2行 *

Also Published As

Publication number Publication date
CN103092207A (en) 2013-05-08

Similar Documents

Publication Publication Date Title
CN103092207B (en) Robot maze search method
CN110006429A (en) A kind of unmanned boat path planning method based on depth optimization
CN109163722B (en) Humanoid robot path planning method and device
CN107990903B (en) Indoor AGV path planning method based on improved A-x algorithm
CN107340768B (en) Path planning method of intelligent robot
CN113110522B (en) Robot autonomous exploration method based on composite boundary detection
CN107913039A (en) Block system of selection, device and robot for clean robot
CN113485375B (en) Indoor environment robot exploration method based on heuristic bias sampling
CN107357295B (en) Path searching method and chip based on grid map and robot
US20200125105A1 (en) Method for Creating Grid Map of Intelligent Robot
Janchiv et al. Complete coverage path planning for multi-robots based on
CN111309004A (en) Mobile robot path planning method based on improved jumping point search algorithm
CN104007763A (en) Method for fixed electronic nose nodes and mobile robot to search for smell source cooperatively
CN108268042A (en) A kind of path planning algorithm based on improvement Visual Graph construction
CN106202335A (en) A kind of big Data Cleaning Method of traffic based on cloud computing framework
CN108663050A (en) A kind of paths planning method guiding RRT algorithms based on simulation of plant growth
CN107544502A (en) A kind of Planning of Mobile Robot under known environment
CN104899329A (en) Method for carrying out parcel four-direction searching by adopting minimum outer rectangular frame
CN113110471A (en) Equipment operation path planning method and device, computer equipment and storage medium
CN112923944A (en) Automatic driving path planning method and system and computer readable storage medium
Jiang et al. Global path planning of mobile robot based on improved JPS+ algorithm
CN103337084B (en) A kind of line map spot automatic generation method based on man-made features feature
CN116501064A (en) Path planning and obstacle avoidance method for photovoltaic power station cleaning robot
CN108445894A (en) A kind of secondary paths planning method considering unmanned boat movenent performance
CN112486182B (en) Sweeping robot for realizing unknown environment map construction and path planning and use method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150603

Termination date: 20180227

CF01 Termination of patent right due to non-payment of annual fee