Professional Documents
Culture Documents
MSD Project Report 170648, 170549, 179597
MSD Project Report 170648, 170549, 179597
GROUP MEMBERS
Project Supervisor
Engr. Zargham Raza
December, 2019
Fruit Harvesting Robot for NERC 2020
Authors
Project supervisor
December, 2019
2
ACKNOWLEDGEMENT
Thanks to Allah almighty, who lavished us with the strength and courage to accomplish this
project successfully we pay our meek gratitude to our supervisor Engr. Zargham Raza and
other faculty members for their guidance and cheering throughout the project.
We do must acknowledge our other faculty members and seniors who encouraged us and
guided us to choose and perform work on this project.
3
Abstract
4
Table of Contents
Acknowledgement……………………………………………………………………………03
Abstract………………………………………………………………………………………04
Table of Contents…………………………………………………………………………….05
Objective……………………………………………………………………………………..06
Introduction…………………………………………………………………………………..06
Working Principle……………………………………………………………………………06
Block Diagram……………………………………………………………………………….09
Components used…………………………………………………………………………….09
Aluminium Base……………………………………………………………………...09
DC Gear Motors……………………………………………………………………...10
Ultrasonic sensors……………………………………………………………………11
Arduino Mega………………………………………………………………………..12
Robotic Arm………………………………………………………………………….12
Electromagnet………………………………………………………………………...13
Encoders……………………………………………………………………………...13
Accelerometer………………………………………………………………………..14
Control System……………………………………………………………………………….16
Flowchart……………………………………………………………………………………..16
CAD Model…………………………………………………………………………………..17
Code………………………………………………………………………………………….17
Conclusion……………………………………………………………………………………19
5
Theme Follower NERC 2020
Project Introduction:
The agricultural technology is developing rapidly, not only advancing the production
capabilities of farmers but also advancing robotics and automation technology for the
harvesting of crops saving a lot of time and effort of the farmers. This project is made for a
competition ‘NERC 2020’. The theme for NERC 2020 is an agricultural theme. The focus of
this theme is to create autonomous robots that can simulate the fruit harvesting tasks. There
will be two robots for this purpose: Harvester and Collector.
Our group has made the Harvester is a (9*9) autonomous robotic base with a Robotic arm
mounted on top. This Robotic arm will have to pluck the fruits (ping pong balls) from the
trees and these balls will be transferred to the container in the Collector base which will be
following the Harvester.
Objectives:
To design and Fabricate an autonomous robot for the fruit plucking job
Working Principle:
The working principle of the robot is according to the arena specifications and the
rules for the competition. In this theme there will be two robots. One robot is acting as the
harvester robot. Its job is to pluck the fruits (ping pong balls) from the trees. The second
robot is called collector bot. The collector robot will carry a container and will collect the
fruits from the harvester after it finishes harvesting fruits from one tree. After collecting all
the fruits from the harvester, the collector bot will reach to a parking spot. The first team to
successfully collect all the fruits and reach the parking spot will be declared the winner.
6
Figure 1: Arena top view
The entire arena is divided into 8x8 inch grids. Each grid is assigned a row and a
column number. This grid is not represented as lines on the arena. It is for reference
position only.
The harvester robot will start at the intersection of grid line (4,5) and (9,10) facing in
the direction of the arrow as marked in Figure 1. The collector robot will start at the
intersection of grid line (4,5) and (6,7). The starting position and orientation of the
harvester and the collector bot is fixed.
The harvester robot may follow the wall marked in the arena as black solid lines to
reach the location of trees. The tree T1 has 2 fruits (Ping-Pong balls), T2 has 3 fruits
and T3 has 4 fruit hanging with it. The harvester robot will pick these fruits from the
trees in a fixed ascending order (i.e. first from T1, then T2 and then T3).
An encoder is mounted to an electric motor that provides closed loop feedback signals
by tracking the speed and/or position of a motor shaft. These are usually for the purpose
of monitoring or controlling distance travelled.
7
We know the coordinates of starting point and the location of all the trees in the arena.
Using the encoders we can easily reach the target points.
Figure 2: Encoders
Manipulator fixed on the top is used to pluck balls from each tree. Three MG995
servos are used in manipulator all with 180 of rotation each. There are magnets pre loaded
in balls (fruits) attached with trees. These balls will be plucked by activating
electromegnetic coil i.e. connected with robotic arm. When ball is attached with coil,
manipulator will drop this ball to container of collector.
Figure 3: Electromagnet
8
Block Diagram:
Components used:
1. Aluminium Base:
Generally aluminum and steel are used in making the mobile robot structure because
of their cost and strength advantage. The base for this harvesting robot is made by
aluminium.
9
Figure 5: Top view of robot
2. DC Gear Motors:
To drive this wheeled robot, DC metal gear motors are used. DC gear motors consist
of an electric DC motor and a gearbox associated with it.
10
These gearboxes are used to reduce the speed of the DC motor, meanwhile increasing the DC
motor torque. Therefore we get lower speed and higher torque as required by using a gear
motor. As a result more stable and smooth drive is given to mobile robot.
3. Ultrasonic sensor:
Ultrasonic sensors use sound waves rather than light, making them ideal for stable
detection object. The general principle behind these devices is echolocation: an ultrasonic
signal is sent out, and the time for it to reflect and come back to it is measured, which, along
with the natural speed of sound in the medium, is used to find the distance between the sensor
and the obstacle.
11
4. Arduino Mega:
The Arduino Mega 2560 is a microcontroller board based on the ATmega2560. It has 54
digital input/output pins (of which 15 can be used as PWM outputs), 16 analog inputs, 4
UARTs (hardware serial ports), a 16 MHz crystal oscillator, a USB connection, a power jack,
an ICSP header, and a reset button
Microcontroller: ATmega2560
Operating Voltage: 5V
5. Robotic Arm:
12
6. Electromagnet:
7. Encoder:
A motor encoder is a rotary encoder mounted to an electric motor that provides closed loop
feedback signals by tracking the speed and/or position of a motor shaft. There are two main
types of rotary encoder: absolute and incremental. The output of an absolute encoder
indicates the current shaft position, making it an angle transducer. The output of an
incremental encoder provides information about the motion of the shaft, which typically is
processed elsewhere into information such as position, speed and distance.
For turns:
13
Figure 11: Encoder working
This accelerometer gives us exact heading of robot in degrees in this way we can check the
orientation of robot as whole arena is pre-defined so this approach will help us as an extra
check weather our robot is on correct position or not .
14
This accelerometer also works on I2C protocol /
15
Control System of Whole Model:
Flowchart:
16
CAD Model:
Code:
Connecting to Accelerometer
17
Connecting to Ultrasonic sensor
Connecting to Encoders:
18
Conclusion:
In this project, we have designed a fruit plucking harvester robot. This agricultural
robot makes the task of harvesting of crops very easy and saving a lot of time and effort of
the farmers. These types of robots are in top researches today because they are the future of
agricultural industries. They can increase the production capabilities of farmers as they will
save their time which they can use in other farming works.
19