Documente Academic
Documente Profesional
Documente Cultură
“FARMBOT”
PREPARED BY:
SRIJAN R. THAKUR (15012041066)
VATSAL M. PATEL (15012041054)
PARTH M. PATEL (16012042011)
“FARMBOT”
BY
SRIJAN R. THAKUR (15012041066)
VATSAL M. PATEL (15012041054)
PARTH M. PATEL (16012042011)
AT THE
U. V. PATEL COLLEGE OF ENGINEERING
GANPAT UNIVERSITY
GANPAT VIDYANAGAR – 384012 GUJARAT – INDIA 2018-19
CERTIFICATE
This is to certify that VATSAL M. PATEL the student of 8th semester Mechatronics
Engineering with Roll No. 15012041054, has satisfactorily completed the course in
“MAJOR PROJECT (2MC805)” within four walls of U. V. Patel College of
Engineering, Ganpat University in the year of 2018.
Date of Submission:
This is to certify that PARTH M. PATEL the student of 8th semester Mechatronics
Engineering with Roll No. 16012042011, has satisfactorily completed the course in
“MAJOR PROJECT (2MC805)” within four walls of U. V. Patel College of
Engineering, Ganpat University, Kherva in the year of 2018.
Date of Submission:
Our project has been a result of our own hard work but this project could not
have become a reality without the support and help of many of our friends and
faculty members. We take this opportunity to acknowledge their help and thank
them for their goodwill.
We would like to thank our Principal DR.KIRAN R AMIN and Head of
Department Prof. J.P.PATEL his unwavering support and kind co-operation. He
has been a great teacher and true mentor to us throughout our degree.
We would also like to thank our project guide Prof. D. K. Soni for his support
and conceptual help at various technical problems. We’ve had the opportunity of
being his students and have learnt a great deal from him. The very concept of the
project as well as its realization would not have been possible without him.
We would like to thank our Parents for supporting us and believing in this
project. Without their support none of this would never have been possible.
Lastly we would like to thank all the faculty members of Mechatronics
department for their support throughout the year.
Apart from our faculty members we’ve also gained a lot of experience and
expertise from interacting with our classmates and friends. We would like to
thank them all for being with us in this journey and making it memorable.
PROJECT ABSTRACT
The world’s population is growing and with that growth we must produce
more food. Due to the industrial and petrochemical revolutions, the
agriculture industry has kept up in food production, but only by
compromising the soil, the environment, our health, and the food
production system itself.
The increased production has largely come from incremental changes in
technology and economies of scale, but that trend is reaching a plateau.
Conventional agriculture methods are unsustainable and a paradigm shift is
need-ed.
FarmBot is automated precision farming machine and software package
designed from the ground up with today’s technologies. Similar to today’s
3D printers and CNC milling machines, FarmBot hardware employs linear
guides in the X, Y, and Z directions that allow for tooling such as plows, seed
injectors, watering nozzles, and sensors, to be precisely positioned and
used on the plants and soil.
The entire system is numerically controlled and thus fully automated from
the sowing of seeds to harvest. The hardware is designed to be simple,
scalable, and hackable. Using the open source web based software
package, the user can graphically design their farm to their desired
specifications and upload numerical control code to the hardware.
Other features of the software include storing and manipulating data maps,
a decision support system to facilitate data driven farm design, access to an
open data repository, and enterprise class analytics.
2. Table of Contents
Abstract....................................................................................................................7
Table of Contents.......................................................................................................8
Figures …….………………………………………………………………………………………………………..9
1. FarmBot..................................................................................................................10
1.1. Precision………........................................................................................................11
1.2. Combining Polycrop and Monocrop Efficiencies..................................................11
1.2.1. Monocrops.......................................................................................................12
1.2.2. Polycrops..........................................................................................................12
1.3. Data-Driven Agriculture.......................................................................................13
1.4. Automation..........................................................................................................14
1.5. Scalability.............................................................................................................14
1.6. Increased Space Efficiency...................................................................................14
1.7. Eliminated Soil Compaction.................................................................................15
1.8. Continuous Land Use...........................................................................................15
1.9. Variable Terraforming.........................................................................................16
2. Hardware................................................................................................................16
2.1. Geometry.............................................................................................................17
2.2. Electronic Components……………..........................................................................19
2.3 Mechanical Components………………………………………………………………………………27
3. Solid Model............................................................................................................34
4. Software…………………………………………………………………………………………………………36
4.1. Web Frontend.....................................................................................................36
4.2. Manual Control....................................................................................................37
4.3. Decision Support System.....................................................................................38
4.4. Mobile Applications.............................................................................................38
5. Data........................................................................................................................38
5.1. Plant Data............................................................................................................39
5.2. Soil Data...............................................................................................................39
5.3 Manual Input Data................................................................................................40
6. Cost Approximation……………………………………………………………………………………………41
7. Conclusions ……………………………………………………………………………………………………….43
8. References …………………………………………………………………………………………………………43
2. Figures
Figure 1.2.1 Mono crops…………………………………………………………………………………..12
Figure 1.2.2 Poly crops……………………………………………………………………………………..13
Figure 2 FarmBot hardware high level overview and coordinate system………….16
Figure 2.1 Tracks in relation to the other main components of FarmBot
Hardware………………………………………………………………………………………..17
Figure 2.1.1 Gantry in relation to the other main components of FarmBot
Hardware …………………………………………………………………………………….17
Figure 2.2.1 An Arduino Mega microcontroller ……………………………………………...19
Figure 2.2.2 NEMA 17 stepper motor …………………………………………………………….20
Figure 2.2.3 A Raspberry Pi 3B processor ……………………………………………………….21
Figure 2.2.4 Ramp 1.4V Shield ……………………………………………………………………….22
Figure 2.2.5 pH Sensor……………………………………………………………………………………23
Figure 2.2.6 Bore Scope Camera…………………………………………………………………….23
Figure 2.2.7 Mechanical End Stop Limit Switch………………………………………………23
Figure 2.2.8 Solenoid Valve……………………………………………………………………………24
Figure 2.2.9 Switch Mode Power Supply……………………………………………………….. 26
Figure 2.2.10 Stepper Motor Driver……………………………………………………………….27
Figure 2.3.1.1 V-Slot Extrusion Bar (2020)………………………………………………………28
Figure 2.3.1.2 V-Slot Extrusion Bar (2040)………………………………………………………29
Figure 2.3.1.3 V-Slot Extrusion Bar (2060)………………………………………………………30
Figure 2.3.2 Lead Screw ………………………………………………………………………………..31
Figure 2.3.3.1 Timing Belt (T6)………………………………………………………………………..31
Figure 2.3.3.2 GT2 B6 Stepper Motor Pulley……………………………………………………32
Figure 2.3.4 Coupling ………………………………………………………………………………………32
Figure 2.3.5 Anti-backlash Nut………………………………………………………………………32
Figure 2.3.6 Aluminium L-Section………………………………………………………………….33
Figure 2.3.7 Aluminium L- Clamp…………………………………………………………………..33
Figure 2.3.8 Allen Bolts & V-Nuts…………………………………………………………………..34
Figure 3 Rendered Image Of Solid Model……………………………………………………….35
Fig. 4.1.1 Mockup of the Dashboard tab showing four panes of interactive
Information ……………………………………………………………………………………36
Fig 4.2.2 Mockups of the Operations Agenda showing different filtering and the
editing process………………………………………………………………………………37
Figure 4.3 The Decision Support System combines data streams and makes data
driven decisions for every operation setting………………………………………………….38
1. FarmBot :
FarmBot is an open source and scalable automated precision farming machine
and software package designed from the ground up with today’s technologies.
Similar to today’s 3D printers and CNC milling machines, FarmBot hardware
(shown in Fig. 3.1) employs linear guides in the X, Y, and Z directions that allow
for tooling such as plows, seed injectors, watering nozzles, and sensors, to be
precisely positioned and used on the plants and soil.
The entire system is numerically controlled and thus fully automated from the
sowing of seeds to harvest. The hardware is designed to be scalable, simple,
and hackable.
Using the open source web based software package, the farmer can
graphically design their farm to their desired specifications and upload
numerical control code to the hardware.
Other software features include storing and manipulating data maps, a
decision support system to facilitate data driven design, access to open data
repositories, and enterprise class analytics. FarmBot has several distinct
advantage over today’s methods and technologies.
1.1 Precision
Agriculture equipment and technology has been steadily becoming more
accurate and precise with the advent of GPS and short range radio locationing,
tractor autopilot, computer vision, data mapping tools, and variable rate
tooling.
Rather than making incremental changes to existing equipment, FarmBot
takes a new approach at precision agriculture, tearing down everything from
the past and starting from the ground up.
By simply placing the tooling equipment on a set of tracks, rather than a free
-driving tractor, the system has the ability to be extremely precise and
reposition too lignin exact locations repeatedly overtime. This is done with
similar technology that
has been around for decades in printers, manufacturing equipment, and more
recently 3D printers and CNC milling machines.
Weeds can be eliminated without damaging desired plants through selective
burning, spraying of pesticides or tilling. A mockup top -view of
selective weeding is shown in Fig where FarmBot can actively avoid desired pl
ants when performing destructive operations.
Any type of plant packing structure can be created and managed including
traditional cubic packing, hexagonal packing and custom irregular structures.
Each plant can be watered, fertilized, and sprayed individually and precisely
with an optimized regimen that changes throughout the plant’s life cycle
Plant life cycles do not have to start and end at the same time. Instead, any op
en space can be immediately replanted.
1.2.1 Monocrops
The monocrop system reduced the farm ecosystem down to one plant
species in order for today’s tractors and tooling to perform operations easily,
reliably, quickly, with minimal human labor, and at minimal cost.
This system is very conducive to scaling up, which is why we usually see the
monocrop system implemented on very large farms with large tractors.
However, the monocrop has perhaps zero biological efficiency, requiring
many inputs to continue functioning.
Because the ecosystem is so simple, it is unstable, unsustainable, and
vulnerable to attack. Monocrops require more fertilizers, pesticides, energy,
and water than any other farming system ever invented and it is still a
struggle if not impossible to avoid depleting the top soil, polluting the ground
water and defending against insects and massive crop failure.
Figure 1.2.1 Monocrops, require the most inputs of any farming system but are very
machine efficient.
1.2.2 Polycrops
The polycrop benefits from superior biological efficiency. The polycrop shown
in Figure 3.2.2 increases diversity within the ecosystem in orderto be closer to
a naturally occurring system, thereby reducing the number of inputs needed.
Less fertilizer is needed with proper crop rotation and less pesticides and
water are needed with intercropping. The plants work together to form
synergistic relationships making the system more stable, resilient and
sustainable.
These biological efficiencies come at a cost though. No traditional farming
equipment exists that can perform operations on a wide range of plants at
same
time,so machine efficiency is sacrificed and more human labor is needed to te
nd the crop.
Figure 1.2.2. Polycrops, are very biologically efficient but require much more labor
due to a lack of large scale equipment for managing them
1.4. Automation
FarmBot will eventually become a completely automated system from the
point of adding bulk inputs such as seeds and water, to removing bulk
outputs like tomatoes.
FarmBot aims to eliminate the need for human labor to drive tractors, pull
weeds, harvest, and complete other operations.
As the software and data analysis improves, the job of the farmer to create a
farm layout and manage the operation of the FarmBot will also be eliminated
in favor of downloadable and automatically generated farm layouts.
By automating more of the processes, efficiency will be maximized
through constant monitoring, optimized decision making, the minimization of
waste and inputs, and the reduced need for human labor.
1.5. Scalability
FarmBot is designed with scalability in mind. The hardware design intention
allows scaling from a small garden sized machine all the way up to an
industrial farming operation. The same software will be used in all
applications with potential basic, intermediate, and advanced levels of
control depending on the user’s experience.
Because the system functions the same on every scale, FarmBot could disrupt
the economies of scale of big agriculture, making smaller scale, more local
farming more efficient for distribution channels and also increase resilience
against severe weather conditions.
2. Hardware
FarmBot hardware is very similar to 3D printer and CNC milling machine
hardware. Looking at Figure 5.1 for reference, you can see that there are two
fixed tracks extending in the X direction and a gantry that spans the tracks
and moves along them.
Mounted to the gantry is a cross slide that moves in the Y direction and
mounted to that is the tool mount that moves In the Z direction.
Tooling includes most traditional agriculture tooling that is specially adapted
for FarmBot use.
The tracks, gantry, cross-slide, and tool mount design intent allow for easy sca
ling in the X, Y, and Z directions.
2.1. Geometry
Tracks take the form of rails that are slightly elevated off the ground by supports and
small concrete foundations. Each rail acts as a linear guide, providing an interface for
the gantry to mechanically mate with and travel along. Each track has sufficient cross
sectional area and strength to resist deflection during high force operations such as
plowing. Tracks and their foundations scale in size and strength as the gantry size
and number of simultaneous operations increases.
The most basic FarmBot system needs at least two tracks in order for one gantry to
span between them .A three track system can exist that allows for two gantrie to
operate separately on their own sections of land while sharing a middle track. Four,
five, etc track systems may also exist with more gantries. Because of this scalability,
there are two types of tracks: single rail, and dual rail. Single rail tracks allow one
gantry to move across while dual rail tracks allow two gantries to share the same
track as in the three track system.
For small FarmBot systems, the tracks could be constructed from slot aluminum
extrusion for ease of manufacturing, flexible assembly, relative low cost,
expandability, and general availability. For larger applications, custom steel tracks
would likely be the material of choice for reduced cost, increased strength, and weld
ability. Large, pre-fabricated tracks the length of a semi-truck could be shipped in
and bolted or welded together on-site like railroad tracks.
Figure 2.1. Tracks in relation to the other main components of FarmBot hardware
2.1.1 Gantry
The gantry, highlighted in Figure is the structural component that bridges the
two tracks and moves in the X direction via an X direction drive system.
It serves as a line are guide for the cross slide and a base for the Y direction
drive system that moves the cross slide across the gantry in the Y direction. It
can also serve as a base for mounting, other equipment
such as seed bays, tools, electronics, inputs and sensors.
Figure 2.1.1. Gantry in relation to the other main components of FarmBot hardware
The gantry’s primary structure is an upside down square U shape. At each end
of the U, are linear guide systems such as wheels that allow the gantry to
move across the
tracks in the X-direction. The top of the U shape serves as the bridging compo
nent and the linear guide for the cross-slide.
The gantry must be very rigid and have tight tolerancing on the linear guide
interfaces. Significant flex or play will lead to less accuracy of the tool oor
location.
This can be especially important during high force operations that also require
high precision, such as selective tilling, where inaccuracy in excess of 1 cm
could damage desired plants.
Similar to tracks, the gantry will likely be constructed from T-slot aluminum ex
trusion for small scale applications and welded steel for larger scales.
2.2. Electronics
The onboard electronics used will be similar to those found in CNC milling
machines and 3D printers. Motors, servos, solenoids, valves, sensors and
other hardware will be controlled with a microcontroller and supplementary
power supply.
The microcontroller will ideally be open source and purchasable off the shelf
such as an Arduino. The microcontroller will need software that can interpret
numerical control code and subsequently drive the motors and other
equipment to compete operations.
There will also need to be a live Internet connection for transferring numerical
code as well as sensor data to and from the web backend
2.2.1 Microcontroller
An Arduino Mega microcontroller, pictured in figure will be used to control the
stepper motors, vacuum pump, stepper motors, and future electronics and
sensors.
This platform was chosen for its low cost, general availability, hackability,
expandability through shields, the expansive learning resources available, the
strong DIY community already using the platform, and the fact that it is open
source.
In addition Arduino programs are written in the C language and therefore
very familiar to many. Expansion shields likely to be used will include Wi-Fi, a
RAMPS stepper driver, and an SD card shield.
The firmware to be installed will likely be forked from an existing 3D printer
G-code interpreter and then modified for the FarmBot application.
The Raspberry Pi runs FarmBot OS, communicates with the web application
over ethernet or Wi-Fi, and talks to the Arduino Mega over a USB serial
connection.
This is the "host computer" of FarmBot. You might also call it FarmBot's brain.
The Raspberry Pi runs FarmBot OS, communicates with the web application
over ethernet or Wi-Fi, and talks to the Arduino over a USB serial connection.
Figure 2.2.3 A Raspberry Pi 3B processor
2.2.5 pH Sensor
“Smart Farming,” as I define it is using data to make more informed decisions
about the setup and operation of the farm. FarmBot will be able to use the
pH sensors and more to collect data about the soil and will notify the
farmware accordingly.
The Farmware will then take necessary actions related to the irrigation
patterns of the crops. Some of this data can be taken at many points on the
farm to create data maps.
2.3.3 V-Wheels
We have used V-Slot aluminium extrusion bars as our linear guides so we need
V-Wheels for our carriage. V-Wheels are noiseless and faster as compared to
linear bearing.
The only thing we need to take care of is if the wheels fit perfectly into the v-
slots or not. If wheel is not properly mounted then the movement over the
linear guides will not be as smooth as expected because all the carriage load
acts on them.
2.3.5 Coupling
A coupling is a device used to connect two shafts together at their ends for
the purpose of transmitting power. The primary purpose of couplings is to join
two pieces of rotating equipment while permitting some degree of
misalignment or end movement or both.
In a more general context, a coupling can also be a mechanical device that
serves to connect the ends of adjacent parts or objects. Couplings do not
normally allow disconnection of shafts during operation, however there
are torque limiting couplings which can slip or disconnect when some torque
limit is exceeded.
Selection, installation and maintenance of couplings can lead to reduced
maintenance time and maintenance cost.
Figure 2.3.5 Coupling
2.3.8 L-Clamps
We use the L-clamp to thoroughly join our v-extrusion frame at right angle
and to make the structure more rigid or fixed.
Fig 4.1.2Mockups of the Operations Agenda showing different filtering and the
editing process
The Operations Agenda as shown in Figure will show all scheduled operations
that the FarmBot will complete as well as a calendar. The operations are
created and modified when the user drags new plants in to the farm map or
edits the settings of already planted areas .
The user may use the search to filter and find specific operations and can click
to see details of that operation and make quick edits. Furthermore, the user
may change the selected date and the Farm Map will update to reflect the
predicted layout of the farm on that date.
This will allow the user to plan in advance the planting of crops as soon as
open space is available after a crop has been harvested
Figure 4.3 The Decision Support System combines data streams and makes data
driven decisions for every operation setting
pH Sensor 1 320/-
V-Wheels 16 2880/-
M5 T-Nut 90 810/-
M3 T-Nut 30 210/-
TOTAL - 28369/-
7. Conclusion
From this project we got to learn a lot of things. It was easy for us to acquire
the basic knowledge related electric hardware used in our project. We faced
many problems during the assembly of the project as everything needed to be
fixed properly making the entire structure more rigid. But it was an
outstanding learning experience. Overcoming the difficulties we faced we
have prepared this project through our hard work.
The Farmbot system is a very interesting connected object which has a
societal impact through a paradigm shift for local food production. It also has
many interests from a research perspective in the software engineering
community since it represents a fantastic experimental case study for various
open research problems in modern heterogeneous and distributed software
which interact directly with our physical environment.
8. References
https://en.wikipedia.org/wiki/FarmBot
https://en.wikipedia.org/wiki/File:FarmBot_Genesis