Asme Tut
Asme Tut
Asme Tut
Competition
Tutorial
Overview:
Objective
Algorithm
Gripping Mechanism for picking up the object
Motors used (eg. DC motors ,Stepper motor )
Power source for the motors
Sensors (eg. Metal , IR , Bump )
AVR Atmega 16
External links
Objective: We have to design, build, and test a system capable of rapidly and
accurately sorting the four waste materials noted above into distinct waste
containers. This system must operate autonomously and be capable of both
material identification and waste handling.
Pick up an object
If yes,
If no, check its size
use electromagnet
The DC brushless motor eliminates the brushes, but is more costly and requires
much more complicated drive electronics to operate.
Stepper motor
Stepper motors consist of a permanent magnet rotating shaft, called the rotor,
and electromagnets on the stationary portion that surrounds the motor, called
the stator. Figure 1 illustrates one complete rotation of a stepper motor. At
position 1, we can see that the rotor is beginning at the upper electromagnet,
which is currently active (has voltage applied to it). To move the rotor clockwise
(CW), the upper electromagnet is deactivated and the right electromagnet is
activated, causing the rotor to move 90 degrees CW, aligning itself with the
active magnet. This process is repeated in the same manner at the south and
west electromagnets until we once again reach the starting position.
Figure 1
Figure 2
There are several types of stepper motors. 4-wire stepper motors contain only
two electromagnets; however the operation is more complicated than those
with three or four magnets, because the driving circuit must be able to reverse
the current after each step. For our purposes, we will be using a 6-wire motor.
Unlike our example motors which rotated 90 degrees per step, real-world
motors employ a series of mini-poles on the stator and rotor to increase
resolution. Although this may seem to add more complexity to the process of
driving the motors, the operation is identical to the simple 90 degree motor we
used in our example. An example of a multipole motor can be seen in Figure 3. In
position 1, the north pole of the rotor's permanent magnet is aligned with the
south pole of the stator's electromagnet. Note that multiple positions are
aligned at once. In position 2, the upper electromagnet is deactivated and the
next one to its immediate left is activated, causing the rotor to rotate a precise
amount of degrees. In this example, after eight steps the sequence repeats.
Figure 3
The specific stepper motor we are using for our experiments (ST-02: 5VDC, 5
degrees per step) has 6 wires coming out of the casing. If we follow Figure 5, the
electrical equivalent of the stepper motor, we can see that 3 wires go to each
half of the coils, and that the coil windings are connected in pairs. This is true for
all four-phase stepper motors.
The motors used for making the robot are DC motors. They usually need current
near 1 A to run properly. So rechargeable batteries of proper current rating must
be used. The following link gives the various batteries available that can be used
in robotics.
SENSORS
METAL DETECTOR
The metal detector circuit shown here must represent the limits of simplicity for
a metal detector, yet the design works surprisingly well. It uses just one 40106
hex Schmitt inverter IC, a capacitor and a search coil – and of course the
batteries. A lead from IC1b pin 4 needs to be attached to a medium wave radio
aerial, or it should be wrapped around the radio. It can be used even like those
hand held metal detectors.
As shown, the metal detector gives a respectable range for beat frequency
operation (bfo) up to 90mm for a bottle-top. In fact, for the ultimate in
simplicity, capacitor C1 may be omitted. In this way the author achieved am
amazing 150mm range for the bottle-top. However, with the frequency then
being raised to more than 4MHz, instability becomes a significant problem.
As shown, the circuit oscillates at around 230kHz. One may also experiment with
the frequency by changing the value of C1. A Faraday shield may be added to
reduce ground effect and capacitive coupling, and this is wired to 0V.
Since the inductor resists rapid changes voltage, the charging of C1 is slightly
delayed as the logic level at IC1a pin 2 changes. This sets up a rapid oscillation,
which is picked up by a MW radio. Any changes in the inductance of the search
coil (through the presence of metal) bring about a change to the oscillator
frequency. Although 230kHz is out of range of the Medium Wave band, an MW
radio will clearly pick up harmonics of this frequency.
Metal detector calibration
The making of search coil L1 allows a lot of room for error and is far from critical.
The author used seventy turns 30 s.w.g. (0,315mm) enamelled copper wire on a
120mm diameter former.
The metal detector is set up by tuning the MW radio to pick up a whistle. Not
every such harmonic works well, and the most suitable one needs to be found.
The presence of metal will clearly change the tone of the whistle.
To check whether your IR LED is working or not, simply view the LED using a
phone's camera or any digital camera available, and the LED can be seen
glowing.
But, if you have bought a ready made one, then you shouldn't have any problem
with it. If, in any case you are facing problems, you are free to post it on the our
forum.
These generally work till distances of 25 cm.
The above sensor is a quite complicated one, it works on a single frequency. i.e.
TSOP sensor.
Now, In the current problem statement, we can attach many spaced sensors in
one direction of the bot , so that knowing the distance between the sensors we
can calculate the desired size of the object .
BUMP SENSOR
A bump sensor is probably one of the easiest ways of letting your robot know it's
touched something. The simplest way to do this is to fix a micro switch to the
front of your robot in a way so that when it collides the switch will get pushed in,
making an electrical connection. Normally the switch will be held open by an
internal spring.
Micro switches are easy to connect to micro controllers because they are either
off or on, making them digital. All micro controllers are digital, so this is a match
made in heaven. Micro switch 'bump' sensors are easily connected to the
Robocore, simply plug them into any free digital socket and away you go.
The following diagram shows a typical circuit for a micro switch bump sensor.
The resistor is important because it holds the signal line at ground while the
switch is off. Without it the signal line is effectively 'floating' because there is
nothing connected to it, and may cause unreliable readings as the processor tries
to decide if the line is on or off.
If you dont get these microswitches you can make one easily , using a spring
mechanism.
AVR
Contacts :
Sagar Agrawal Aayush Agarwal
+91 9775193881 +91 9735485110
Sagar.agrawal@ktj.in aayush.agarwal@ktj.in