My Master of Science thesis \u201cSpline optimization: Spline optimization using a genetic algorithm in AGV system\u201d, written at Atostek, examines spline optimization from the point of view of robot vehicle route optimization. Because the thesis was made for the mathematics department of Tampere University, it focuses on the mathematical basis for the optimization. The objective was to see if genetic algorithms are suitable for finding the optimal shape for the spline when the system has multiple different restrictions.<\/strong><\/p>\nIntroduction: Robot vehicles and predefined routes<\/h3>\n
The use of robots and robot vehicles is increasing in the industrial sector. Automatic guided vehicles (AGVs) can be considered to be one kind of robot vehicles because they can operate independently without a driver. These vehicles are needed, for example, at automatic warehouses where they handle routine transportation of goods. We want to make sure that handling of goods is as efficient as possible. Therefore vehicle routes should be optimal. AGV navigation can be handled in multiple ways, such as laser triangulation or floor wiring. Common for all navigation methods is that routes require mapping.<\/p>\n
One way to define routes is to use splines, which are polynomial curves. A route network can be constructed by combining multiple splines between pickup and delivery points. An AGV follows the predefined routes by taking commands from its operating system. This study focuses on optimizing those predefined routes.<\/p>\n
In all cases of complex route networks with multiple restrictions, finding an optimal route by hand is difficult, whereas using an algorithm for optimizing the AGV route between two given points makes the process quick and efficient.<\/p>\n
<\/p>\n
Fig 1. Robot controlling system, where the robot drives a predefined route by taking commands from its control system.<\/span><\/em><\/p>\nUsing splines to model routes has several advantages. Splines are easy to create and handle as they are constructed by using a recursion formula. Also, their shape is easy to modify because it is defined by using control points. Other properties that make it possible for splines to be used to describe vehicle routes are discussed in more detail in my thesis.<\/span><\/p>\nFinding the optimal route for a robot by using a genetic algorithm<\/h3>\n
A genetic algorithm is a heuristic algorithm that mimics the process of natural selection in nature. In this study, this algorithm was applied to the optimization process. This algorithm has four main phases, which are: Initialization phase<\/strong>, Final phase<\/strong>, Selection phase<\/strong>, and Reproduction phase<\/strong>.<\/em><\/p>\nIn the Initialization phase, the starting population is created by using the first \u201ccandidate\u201d. In this context this means that we generate multiple routes between the starting and ending points. For the route generation, we use the original route of the robot and only modify its control points.<\/p>\n
The second phase is the so-called Final phase. This phase name is a bit misleading. In this phase, all algorithm end criteria are checked and if one of the end criteria is met, the algorithm stops. This phase must always be executed after a population evaluation in order to stop the algorithm as soon as the optimal solution is found and before a new population is generated.<\/p>\n
The third phase is the Selection phase. In this phase, every candidate is evaluated and then the best candidates from the population are selected as the basis for a new population. In this context this means that the speed graph of each route is evaluated, each drive time is calculated and all collisions to obstacles are detected. After the evaluation, the population\u2019s routes are sorted according to their evaluated fitness value. To determine the fitness value, the drive time of routes plus the penalties for their restriction violations is used.<\/p>\n
The fourth phase is the Reproduction phase, which contains a new population creation process. In this process, new candidates are created by using the candidates of the previous population. We create new routes by taking random routes from the previous population and combining them to form new routes. The figure 2 illustrates the optimization process of the algorithm.<\/p>\n
<\/p>\n
Fig 2. Genetic algorithm process in current robot route optimization context.<\/span><\/em><\/p>\nThe phases 2-4 are repeated until one of the end criteria is met. After one of the end criteria is met, the best candidate of the last population is the optimal solution. Genetic algorithms are best suited for solving combinatorial problems, but they can also be applied to other kinds of mathematical problems such as this.\u00a0<\/span><\/p>\nResults of the study<\/h3>\n
In this study, we created an algorithm able to optimize the robot route according to drive time. In many cases, the algorithm found a much better route for the robot than the original route was. The conclusion is that the genetic algorithm used was well-suited for this problem and for optimizing the spline.<\/p>\n
There are a few weaknesses in using a genetic algorithm for solving this kind of problems. The failings are discussed in more detail in the thesis. Because of them, other approaches to the solving of this optimization problem are also introduced in the thesis.<\/p>\n
The developed algorithm has multiple other applications, as well. For example, the algorithm can be applied to finding the fastest route between two given points. This study gives a basis for all kinds of spline optimization. By changing the algorithm so that it takes new restrictions into account it can be applied to many other problems. The only precondition is that the optimized property can be defined by a spline.<\/p>\n
\n\n
<\/div>\n
\n
Viljami M\u00e4nnikk\u00f6<\/strong>
\nSoftware designer<\/em><\/p>\n<\/div>\n<\/div>\n","protected":false},"excerpt":{"rendered":"Master of Science thesis \u2022 Author: Viljami M\u00e4nnikk\u00f6 \u2022 Read more My Master of Science thesis \u201cSpline optimization: Spline optimization using a genetic algorithm in AGV system\u201d, written at Atostek, examines spline optimization from the point of view of robot vehicle route optimization. Because the thesis was made for the mathematics department of Tampere University,…<\/p>\n","protected":false},"author":4,"featured_media":6613,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"inline_featured_image":false,"footnotes":""},"categories":[31,27],"tags":[138,137,132,139],"class_list":["post-6623","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-articles","category-news","tag-master-of-science","tag-study","tag-thesis","tag-university","entry","has-media"],"_links":{"self":[{"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/posts\/6623"}],"collection":[{"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/comments?post=6623"}],"version-history":[{"count":0,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/posts\/6623\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/media\/6613"}],"wp:attachment":[{"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/media?parent=6623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/categories?post=6623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atostek.com\/en\/wp-json\/wp\/v2\/tags?post=6623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}