Every year, 24 billion tonnes of topsoil are lost to erosion, farms emit four billion tonnes of CO2 from fossil fuels, and two million tonnes of herbicides and pesticides leech into our environment. Agriculture consumes 90% of our freshwater. A third of humanity toils on farms, an enormous waste of human potential.
These problems can all be reduced with agricultural robotics and artificial intelligence. Robots enable no-till farming without plowing. Precise application of herbicides and pesticides can reduce the use of agricultural chemicals by 95%. Direct injection irrigation uses 90% less water than flood irrigation while reducing fertilizer consumption. Polyculture can replace monoculture to increase yields.
For my senior Capstone project, I have designed, built, and programmed an agricultural robot for sustainable agriculture.
Conventional farms apply fertilizer to entire fields. My robot injects fertilizer directly into the root zone of individual crop plants, reducing the need for fertilizer by 90% while eliminating runoff and inhibiting the growth of weeds.
Conventional farms use plowing to turn under weeds and weed seeds. But plowing leads to erosion and two billion tonnes of soil carbon loss every year to oxidation. An alternative is no-till farming which requires heavy use of herbicides. Using robotics for the precise application of herbicides can reduce the use of these problematic chemicals. Organic alternatives can be used since a robot can distinguish crops from weeds and only spray the weeds.
My robot uses a Delta robot arm to control the position of the actuator used for spraying, injecting, and dispensing seeds. A delta robot is not as precise as other robot arm geometries, but the positioning is much faster, and the millimeter-level accuracy is adequate for my application. The delta arm is controlled with G-Code, a standard programming language for industrial automation.
Although I will not complete my robot until May of 2022, it is mostly working. The motor control and navigation software are done and working. The vision system performs depth analysis and uses a neural network trained with TensorFlow to accurately discriminate between crop seedlings and weeds. I am currently building the end-effectors, including the sprayer, seed dispenser, and fluid injector.
I learned a tremendous amount by doing this project. I learned how to install Linux, interface to the PWM timers, use memory-mapped I/O, and write a device driver to read the motor encoders. I now understand pixel-level processing of images and learned to use neural nets with TensorFlow and Keras.
My robot has some limitations. It can only operate in good weather. It has limited battery capacity, which could be improved with solar power. Lights attached to the vision system would allow the robot to operate 24/7.
The application of robotics, computer vision, and artificial intelligence to sustainable agriculture is a fascinating subject and is an area where I believe I can make a significant contribution.