Professional Documents
Culture Documents
Chapter 3
Chapter 3
CHAPTER 3
METHODOLOGY AND COMPONENTS
3.1. Methodology for Metal/Non-metal Detection with Pick and Place Robot Arm
Nowadays, pick and place robot arm is applied to industrial applications.
Methodology for pick and place robot arm can be provided by block diagram describe
as below.
Driver 1
M1
IR sensor
Driver 2
Controller M2
Inductive
sensor
Driver 3
M3
In Figure 3.1, block diagram of the metal/non-metal detection with pick and
place robot arm is described. Power supply is the main power source of the system to
provide 5 V DC to Arduino Uno. Infrared sensor is used to detect the object present or
absent in desired position. To sense the metallic object, inductive sensor is applied in
the system. These sensors are analog sensors and they are connected to the analog
pins of Arduino. This system consists of three stepper motors which are driven by
three easy motor drivers to get the require ampere.
Power LED
The ATmega328 has 32 kB of flash memory for storing code; it has also 2 kB
of SRAM and 1 kB of EEPROM. They operate at five volts. Each pin can provide or
receive a maximum of 40 mA and has an internal pull up resistor of 20-50 kilo ohms.
In addition, some pins have specialized functions:
External interrupts: 2 and 3. These pins can be configured to trigger an
interrupt on a low value, a rising or falling edge, or a change in value. Serial: 0(RX)
and 1(TX). Use to receive (RX) and transmit (TX) TTL serial chip. There is a built-in
LED connected to a digital pin 13. When the pin is HIGH value, the LED is on, when
the pin is LOW value, the LED is off.
interface that can be set to 5 V or 3.3 V. Connect a four wire stepper motor and a
microcontroller. Easy Driver drives bipolar motors, and motors wired as bipolar (i.e.
four, six, or eight wire stepper motors).
The features of easy driver stepper motor driver are described as below:
Power supply voltage from 6 V to 30 V. The higher the voltage, the higher
the torque at high speeds
The A3967 is a complete micro stepping motor driver with built-in translator.
It is designed to operate bipolar stepper motors in full-, half-, quarter-, and eighth-step
modes, with output drive capability of 30 V and (+,-) 750 mA. The A3967 includes a
fixed off-time current regulator that has the ability to operate in slow, fast, or mixed
current-decay modes.
The current decay control scheme results in reduced audible motor noise,
increased step accuracy, and reduced power dissipation. The translator is the key to
the easy implementation of the A3967. Internal circuit protection includes thermal
shutdown with hysteresis, under voltage lockout (UVLO) and crossover current
protection. The A3967 is supplied in a 24 pin SOIC with four internally fused pins
for enhanced thermal dissipation.
Types of
motors
DC motors AC motors
Series
wound
Shunt Compound Permanent Single Three
wound wound magnet phase phases
The rotor is the rotating shaft and the stator consists of electromagnets that
form the stationary part of the motor.
28
Stepper motors are a class of widely used engines in many applications such
as 3D printers. They are also widely used in robotics. They convert an electrical pulse
in a defined angular movement called steps. The stepper motors do not require
feedback loop to ensure precise movement.
Direction
Step
A1
A2
B1
B2
Step 1 Step 2
Phase A Phase A
Phase A Phase A
Step 3 Step 4
Phase A Phase A
At both the end of the axial magnet the end caps are provided, which contains
an equal number of teeth which are magnetized by the magnet. The Figure of the
cross section of the two end caps of the rotor is shown below.
A B
A1 B1
Figure 3.9. The Cross Section of the Two End Caps of Rotor [20]
The stator has eight poles, each of which has one coil and five numbers of
teeth. There are 40 poles on the stator, and each end cap has 50 teeth. As the stator
and rotor teeth are 40 and 50 respectively, the step angle is expressed as shown below.
(No of stator teeth−No of rotor teeth)×One revolution
step angle=
No of stator teeth×No of rotor teeth
(50−40 )×360∘
= =1 . 8∘
50×40
The rotor teeth are perfectly aligned with the stator teeth. The teeth of the two
end caps are displaced from each other by half of the pole pitch. As the magnet is
axially magnetized, all the teeth on the left and right end cap acquire polarity as south
and north pole respectively.
The coils on poles 1, 3, 5 and 7 are connected in series to form phase A.
Similarly, the coils on the poles 2, 4, 6 and 8 are connected in series to form phase B.
When phase is excited by supplying a positive current, the stator poles 1 and 5
becomes south poles and stator pole 3 and 7 becomes north poles.
4
Now, when the phase A is de-energized, 3 the rotor will
and phase B is excited,
turn by a full step angle of 1.8˚ in the anticlockwise direction. The phase A is now
energized negatively; the rotor moves further by 1.8˚ in the same anti-clockwise
direction. Further rotation of the rotor requires phase B to be excited negatively.
Thus, to produce anticlockwise motion of the rotor the phases are energized in
the following sequence +A, +B, -A, -B, +B, +A… For the clockwise rotation, the
sequence is +A, -B, +B, +A…
32
One of the main advantages of the hybrid stepper motor is that, if the
excitation of the motor is removed the rotor continues to remain locked in the same
position as before the removal of the excitation. This is because of the detent torque
produced by the permanent magnet. Hybrid stepper motor is used as unipolar or
bipolar.
Symbol Description
23 Motor size ; 2.3 inches
K Precision, Hybrid
M Step angel ; 1.8˚
K 2 and 4 phases
2 Motor length ; 2 inches
13 Windings
G8V With gear
Figure A
Red
Black
Yellow
infrared transmitter LED and IR receiver LED. IR transmitter LED produces infrared
ray to IR receiver LED. Therefore, IR sensor is used for detecting object to start the
robot program. If IR sensor detects the object, signal LED on. And then sends the
signal to Arduino Uno. IR LED will be continuously transmitted whenever an object
appears IR light is reflected back and this is sensed by a sensor which in turn signals
Arduino Uno to take necessary action.
An infrared sensor is an electronic device, that emits in order to sense some
aspects of the surroundings. The heat of an object can be measured by an IR sensor as
well as detects the motion. An IR sensor can be used to detect the objects and this is
the one of the common applications in real time.
IR sensor is provided secured communication due to line of sight or point-to-
point mode of communication. IR sensor has long duration due to low power
consumption. Infrared motion sensors can detect daytime and nighttime. IR sensor
does not require any contact with the product to be sensed. Response time of IR
sensor is faster than thermocouple. IR sensor provides good stability over time. No
corrosion and oxidation can affect the accuracy of sensor. IR sensor delivers high
repeatability. If IR sensor does not detect the object, the program will not be start.
Electrical field
Shield
Sensor electrodes
Adjustment RC oscillator
potentiometer
Signal
conditioning
Output stage
When a metallic object comes to contact with the field, an eddy current will
produce at the object surface. The eddy currents on the object absorb some of the
radiated energy from the sensors, resulting in a loss of energy and change of strength
of the oscillator. This way can know easily metal and non-metal object. Accurate
35
compared to other technologies. Inductive proximity sensor has switching mode and
can work in harsh environment condition.