Difference between revisions of "Lawn Mower Roboter"
(Created page with "=Introduction= Nowadays there is technology and smart devices everywhere around us. Almost no one could imagine living without his Smartphone, Smart-TV or other devices. So i...") |
|||
Line 36: | Line 36: | ||
===Steps=== | ===Steps=== | ||
+ | |||
+ | The steps that the robot is going in total till the min_height of the grass is reached. | ||
===Consumed_power=== | ===Consumed_power=== | ||
+ | |||
+ | For the cosumed_power following assumptions are made: one steps needs one power unit and additionally the cutting_length divided by ten. So, the formula for the consumed_power is steps*(1+(cutting_length / 10)). | ||
==Algorithms== | ==Algorithms== | ||
+ | |||
+ | All algorithms are performed till the grass reaches the min_height entered by the user. | ||
+ | |||
+ | ===Move_horizontally=== | ||
+ | |||
+ | The robot goes in horizontal lines through the field. When it reaches the end of the field it jumps into the next line. When it hits a tree, it goes around it and continues in the previous line. | ||
+ | |||
+ | ===Move_vertically=== | ||
+ | |||
+ | The robot goes in vertical lines through the field. When it reaches the end of the field it jumps into the next line. When it hits a tree, it goes around it and continues in the previous line. | ||
+ | |||
+ | ===Move_randomly=== | ||
+ | |||
+ | The robot faces a random patch and moves into its direction. When it hits a tree, the end of the field or the station it changes its direction to another random patch. | ||
+ | |||
+ | ===Move_randomly_intelligent=== | ||
+ | |||
+ | The robot faces a random patch at the beginning and moves into its direction. Always when the robot hits the end of the field or the station it changes its direction to a patch which has not the min_height yet. When it hits a tree, it changes its direction to another random patch. | ||
==Limitations== | ==Limitations== |
Revision as of 22:03, 20 January 2021
Introduction
Nowadays there is technology and smart devices everywhere around us. Almost no one could imagine living without his Smartphone, Smart-TV or other devices. So it became even normal, that 'roboter' vacuum our flat or cut the grass in our garden without any need of active human participation. This article and simulation will be about these Lawn Mower Roboters and how they can move efficiently through our gardens.
Problem definition
But even if all these smart tools and devices can be so helpful and save us much time, there is always the aspect of consuming power. It should always be the goal of a device to consume as little energy as possible, because on the one hand the owner saves money and on the other hand it more environment friendly. So, this is the goal of this simulation: to find the most efficient algorithm for the Lawn Mower Roboter regarding the power consumption.
Method
Regarding the shown tools during this semester for simulations, NetLogo 6.1.1 was chosen for this simulation because of the ability to visualize this kind of simulation.
Model
The Setup
The field of the simulation is 20x20 patches large. There are three kinds of agents: the robot, the station and trees. These agents are placed when the setup button is pressed. The station is the place where the robot starts his moving and the place where it goes back after finishing it. It is always placed at the patch with the highest x- and y-coordinate and marked as a red patch. Trees are seen as obstacles for the robot and placed randomly and the patch is coloured with a bright brown (brown + 3).
Parameters
All these parameters can be changed by the user through input fields.
Amount of trees
The number of trees that should be placed in the field.
Cutting_length
The ‘amount’ of grass that is cut when the robot lawns a patch once. In fact, it is the number that the green of the patch gets brighter when the robot steps on it once. It can not be higher than the difference of Min_height and Max_height.
Min_height/Max_Height
The minimum/maximum height of grass that is wished by the user. In fact, these are the numbers that are added to the color green. Because of the limitations of colors, they can not be higher than 4 or less than -4 and of course the Max_height has to be less or at least equal to Min_height. (Note: Subtracting a number of a color makes it darker.)
Measurements
Steps
The steps that the robot is going in total till the min_height of the grass is reached.
Consumed_power
For the cosumed_power following assumptions are made: one steps needs one power unit and additionally the cutting_length divided by ten. So, the formula for the consumed_power is steps*(1+(cutting_length / 10)).
Algorithms
All algorithms are performed till the grass reaches the min_height entered by the user.
Move_horizontally
The robot goes in horizontal lines through the field. When it reaches the end of the field it jumps into the next line. When it hits a tree, it goes around it and continues in the previous line.
Move_vertically
The robot goes in vertical lines through the field. When it reaches the end of the field it jumps into the next line. When it hits a tree, it goes around it and continues in the previous line.
Move_randomly
The robot faces a random patch and moves into its direction. When it hits a tree, the end of the field or the station it changes its direction to another random patch.
Move_randomly_intelligent
The robot faces a random patch at the beginning and moves into its direction. Always when the robot hits the end of the field or the station it changes its direction to a patch which has not the min_height yet. When it hits a tree, it changes its direction to another random patch.