Escolar Documentos
Profissional Documentos
Cultura Documentos
c |
| ||
||
|
|
|
||||| |||
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||!!|"#|$%%&'&%&(|||
$|
(|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| )#| |$%%&'&*+(|||||||||||||||||
!|
$%%&'&,&(|
!"!#$"!"%""%
|
÷ ||| ÷
|
| ||
|
÷|÷
|
|÷
|
÷
|
||
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
!""""""""""|
V
This report has not been submitted to any other university or institution
for the award of any degree.
HOD : Under the guidance of :
V#/
~e feel honored to have worked under the able guidance of our Lect.
Mr. M.K. Soni.
~e are particularly grateful to Mr. Rajnish garg (HOD ECE) & Mr.
Amit Gupta (Sr. Lect. ECE) for there valuable advice and timely
suggestions in helping us overcome all sorts of problems.
~e extend our heartiest thanks to the entire staff members who gave
suggestions during the development of the project.
Ashish Goel(2206020)
Kanwal Singh(2206049)
Krishan Rangi(2206050)
|||||||||
| |
Y |
|
|Excellence is an attitude that the whole of the human race is born with.
It is the environment that makes sure that whether the result of this
attitude is visible or otherwise. A well planned, properly executed &
evaluated industrial training help a lot in inculcating a professional
attitude. It provides a linkage between the student and industry to
develop an awareness of industrial approach to problem solving, based
on board understanding of process & mode of operation of organization.
During this period, the student gets the real, firsthand experience for
working in the actual environment.
The quest for knowledge can never end. The deeper you
dig the greater this unexplored seems to be. No man can honestly say
that he has learned this world has to offer. ~e can¶t achieve anything
worthwhile in any field only on the basis of theoretical knowledge from
books.
| |
|
|
÷
|
04%| )| )0% #+'| .!| *%+ #+'| $*+ $| 0| *%01+ | &.!%|
+0.$#!% #0.| $| ''| )0% #+'| -.06'!2| .!| *%+ #+'|
**'#+ #0.| 20$| #.| 4#.| #| 6| +..| +)| !$#%!| %$&' $/|
)|
,#.0%| *%01+ | #$| .| 0& *& | 0| 0&%| 7*0$&%| 0| )| %'| .!|
**'#!|60%'!|0|'+ %0.#+$/||
|
|||||||||||||
)| #,| 0| )#$| %*0% | #$| 0| 3%#'(| +04%| 6) 4%| )$|
3.|!0.|!&%#.2|,-#.2|0| )|,#.0%|*%01+ /|
)|*%01+ |0|+8
0
¬ ~
| 2
3
¬2
!
4
"
¬2
5 ~
¬6
6
#
¬6
7 ~
¬a
a
20
9
2¬
¬0
# 22
¬3
$
26
¬4 "*$+| 27
¬5
2a
¬6
29
¬7 ,
30
¬a *
32
¬9
33
20 &-$
| 35
2¬
37
S.no.
22 TABLE
NAME PAGE
4¬ no.
24 à| |
46
25
| 47
26 &.*
4a
27 ,
/'(- 4a
2a
50
29
50
¬
~
--&-$01 6
2 23
4
7
3
2a
4
29
5
30
7
36
|
V
á
á
|
| á
!
!| "á
#
$
%| á
&
$|
' !
(| ) (
*|
*
+| ,
-
-| á.'
%-
&| /
$&
| / $
|
(
!| (
%| "
(!
à
1
&*
Y
|
|
VV0
VY
.!|
-|
¬| ¬ |
| ¬|
!##!|
INTRODUCTION
Two stepper Motors are used for moving and turning the robot.
Stepper motors with various specification are available in the
market. Here we have used 55SIM 25DAYG unipolar stepper
motors rated at ¬2V DC, with step angle of 7.5" per pulse. Each of
these stepper motors has five wires for connecting to the driver
circuit. Out of the five wires, four wires emerge from coils of the
stepper motors and the fifth is the centre-tapped common terminal.
Correct identification and connection of these wires is important
for successful assembly of the stepper motor.
m ||¬|
| ||
||
| |
|
Colour Identification
¬
The software uses wave-drive 4- step sequence technique for
rotating the motors. To run the motors, specific sequences of
pulses are given to the motor windings. Generally, there are three
types of digital signal sequence given to run the stepper motor. But
here, we have used a 4-step sequence as shown in Table II. The
advantage of this technique is that it consumes the least power.
Only one phase is energized at a time, which assures of positional
accuracy regardless of any winding imbalance in the motor.
m ||||
||!
|"
Clockwis Step ~indin ~indin ~indin ~indin Counter
-e # -g A L¬ -g B L2 -g C L3 -g D L4 Clockwis
-e
¬ ¬ 0 0 0
2 0 ¬ 0 0
3 0 0 ¬ 0
4 0 0 0 ¬
Since the motor rotates at 7.5 deg per step, it takes a total of 4a
steps to complete one rotation. The higher the step angle, the fewer
the pulses needed for complete rotation of the motor. Hence if the
speed of the robot is desired, use a motor with higher step angle,
and if more accurate position control is desired, you may use a
motor with lower step angle.
Direction control.:
To control the direction of motion, a combination of different
rotational directions of the two motors is used. If the left stepper
motor (SM¬) moves anticlockwise and the right stepper motor
(SM2) moves clockwise, the robot moves in forward direction.
Similarly, if SM¬ moves in clockwise direction and SM2 in anti-
clockwise, the robot will move in backward direction. If SM¬ and
SM2 move in clockwise direction, the robot will turn left. If SM¬
and SM2 move in anti-clockwise direction, the robot will turn
right.
Speed control .:
To control the speed of the robot, timer delays are used. The value
of the delay time for the timer can be increased or decreased by the
slider control provided in the software. The selected speed of the
robot (¬ through 999) is also displayed in the text box as shown in
Fig. 4.
Camera view.:
In this project, a camera is used as the visual sensor to control the
movement of the robot. For live viewing of the scene through the
camera fitted on the robot, a command button is provided in the
software. On clicking the button, the executable file of the camera
is run and the pictures can be viewed in another window. ~e have
used a 'Quantum Hi-Tech' camera. It has l0 level zoom for live
motion picture, special visual effects, night vision, microphone,
snapshot function etc.
Construction
Constructing this project is very simple. Just assemble the ICs and
resistors on any general-purpose PCB and mount the stepper
motors over any solid base with the help of suitable mechanical
parts. Put the camera on the base and fix it with the help of clam or
nuts and bolts.
Cut the PCB along the straight line shown in the integrated PCB
layout (Figs 5 and 6) to separate the power supply section. The
PCB layout for the power supply section is made separately so
that if you want to use a ¬2v battery you can remove it from the
interface-cum-driver section.
|
|,|# <7| #| |
||
!|0#|
0||2|
'|
5.|;|||
Tips for assembling the robot|
2.|Next, fix the wheels on the shaft of the motors. (Each of the
wheel has an amm plastic flange with threads and a metal nut
for securing it in position).
3.|Now, take the chassis or base plate. Identify its front, left, right
and rear sides. Secure the PCB and camera on the chassis plate.
5.|Insert the front castor-wheel bolt into the ¬0mm hole on the
chassis and secure it loosely with the help of its nut. Check the
chassis level. Use extra spacers over the threaded portion of
castor-wheel nut after removing the castor wheel. If the leveling
appears alright, tighten the castor wheel to the chassis.
OPTO-ISOLATOR OR OPTO-COUPLER
The optical path may be air or a dielectric waveguide. ~hen high noise
immunity is required an optical conductive shield can be integrated into
the optical path. The transmitting and receiving elements of an optical
isolator may be contained within a single compact module, for
mounting, for example, on a circuit board; in this case, the module is
often called an 2 or 2. The photosensor may be a
photocell, phototransistor, or an optically triggered SCR or TRIAC. This
device may in turn operate a power relay or contactor.
APPLICATIONS
4056!
0V
|A TTL signal operates from 0-5V, with everything between 0.0
and 0.aV considered "low" or off, and 2.2 to 5.0V being
considered "high" or on. The maximum power available on a TTL
signal depends on the type, but generally does not exceed 25m~
(~5mA @ 5V), so it is not useful for providing power to something
like a relay coil. On the output side the ULN2a03 is generally rated
at 50V/500mA, so it can operate small loads directly.
|Alternatively, it is frequently used to power the coil of one or more
relays, which in turn allow even higher voltages/currents to be
controlled by the low level signal. In electrical terms, the
ULN2a03 uses the low level (TTL) signal to switch on/turn off the
higher voltage/current signal on the output side.
Its features are summarized below:
|Output current (single output) 500mA MAX.
|High sustaining voltage output 50V MIN.
|Output clamp diodes.
|Inputs compatible with various types of logic
Y
The ULN2a03 comes in an ¬a-pin IC configuration and includes eight
(a) transistors.
A diode is a semiconductor device which allows current
to flow through it in only one direction. A diode is
specifically made to allow current to flow through it in
only one direction.
Some ways in which the diode can be used are listed here.
A diode can be used as a rectifier that converts AC to DC for a power
supply device.
Diodes can be used to separate the signal from radio frequencies.
Diodes can be used as an on/off switch that controls current.
This symbol is used to indicate a diode in a circuit diagram
|Rectification / Switching / Regulation Diode
The stripe stamped on one end of the diode
shows indicates the polarity of the diode.
The stripe shows the cathode side.
The devices shown in the picture are diodes
used for rectification. They are made to handle
relatively high currents. The device on top can
handle as high as 6A, and the one below it can
safely handle up to ¬A.
However, it is best used at about 70% of its
rating because this current value is a maximum rating. This diode is
typically used to protect the circuit from momentary voltage spikes.
|Light Emitting Diode ( LED )
-&7
¬/a 2 3
¬/4 2 6
56'~
562~
¬/2 3 9
56&~
|Metal film resistors
Metal film resistors are used when a higher tolerance (more accurate
value) is needed. They are much more accurate in value than carbon
film resistors. They have about ±0.05% tolerance. They have about
±0.05% tolerance. Ni-Cr (Nichrome) seems to be used for the
material of resistor. The metal film resistor is used for bridge circuits,
filter circuits, and low-noise analog signal circuits.
$%)#"4|
¬/a 2 3
¬/4 2 6
¬ 3.5 ¬2
56'~7
589
2 5 ¬5 562~7
589
5~7
-89
&~7
-89
|Variable resistors
There are two general ways in which variable resistors are used.
¬.|One is the variable resistor which value is easily changed, like the
volume adjustment of Radio.
2.|The other is semi-fixed resistor that is not meant to be| adjusted by
anyone but a technician.| Semi-fixed resistors are used to
compensate for the inaccuracies of the resistors, and to fine-tune a
circuit
The rotation angle of the variable resistor is usually about 300 degrees.
Some variable resistors must be turned many times to use the whole
range of resistance they offer.These are called "Potentiometers" or
"Trimmer Potentiometers."
|In the photograph| 7| the four
resistors at the center of the
photograph are the semi-fixed type.
The two resistors on the left are the
trimmer potentiometers.This
symbol is used to represent
variable resistor in circuit diagram
#
/
~hen using a capacitor, you must pay attention to the maximum voltage
which can be used. This is the "
# !
." The breakdown
voltage is the voltage that when exceeded will cause the dielectric
(insulator) inside the capacitor to break down and conduct. ~hen this
happens, the failure can be catastrophic.
The types of capacitors used in our project are:
|Ceramic Capacitors
m
5(( #
| | |
|||
|
|
||
| |||
||
(>(5;>m
. >
|
%, .7 ;.7|.### .|5#||
|
| .###| .| !| | %,| .| | | ;| 5.| | !|
55#;| )| !| | .| .7| ¬| | %| | !| .| !| |
0!||!|#2#;|!;||5.#||)|!)||||
!|!5|!|!||&|=|,4|!#!|||.||!|
!| .| !| | !| | | | #| )| | .| | !#|
0||!||||0|#|||5##||
| #<| | .###| | )| )#| | -| .!| | | |
!5!!7| ¬| .| !| |
>| )| !#!| | | | !| ;| |
#!||7|¬|.||!#|)|||!5!!|)!||
!!| | #| | 0!| )| | 5.#;| 5#.#|
5##!7||¬|.||!||!#|0|||
|##|||
| | !| !| 0| 5.#!| | | !| ;| | | ?|
!|
)| @!| | !5| | )| | ¬¬| .!| | %| .!| | .)| |
7|!||#;|#2!|/|.!||.|||#||57|)|
!|||)7|0|!|)||.0#;|||?.!|
!| !| | .| | 5| | | %, .7 ;.7| .### .| 5#|
||
|
|
| ##)| 0#| #!!| | | | | .| | | %, .7 ;.7|
.### .| 5#| | !| ;| .| | | .| ||
|5!|!#|.|!||||!#|#)|||..#7|
!|)##|!|)|)||0|!|2|||
|
|
!|?|0#|#!!||0!|!!!|||!!7|#|||
!!|| ¬|| %|
| |
Stepper motor
|
To make the motor shaft turn, first one electromagnet is given power,
which makes the gear's teeth magnetically attracted to the
electromagnet's teeth. ~hen the gear's teeth are thus aligned to the first
electromagnet, they are slightly offset from the next electromagnet. So
when the next electromagnet is turned on and the first is turned off, the
gear rotates slightly to align with the next one, and from there the
process is repeated. Each of those slight rotations is called a "step," with
an integer number of steps making a full rotation. In that way, the motor
can be turned by precise angle.
22 *
¬. Stepper motors are constant power devices.
4. Steppers exhibit more vibration than other motor types, as the discrete
step tends to snap the rotor from one position to another.
5. This vibration can become very bad at some speeds and can cause the
motor to lose torque.
,2
Permanent magnet motors use a permanent magnet (PM) in the rotor and
operate on the attraction or repulsion between the rotor PM and the
stator electromagnets. Variable reluctance (VR) motors have a plain iron
rotor and operate based on the principle of that minimum reluctance
occurs with minimum gap, hence the rotor points are attracted toward
the stator magnet poles. Hybrid stepper motors are named because they
use use a combination of PM and VR techniques to achieve maximum
power in a small package size.
There are two basic winding arrangements for the electromagnetic coils
in a two phase stepper motor: bipolar and unipolar.
2
A unipolar stepper motor has two windings per phase, one for each
direction of magnetic field. Since in this arrangement a magnetic pole
can be reversed without switching the direction of current, the
commutation circuit can be made very simple (eg. a single transistor) for
each winding. Typically, given a phase, one end of each winding is
made common: giving three leads per phase and six leads for a typical
two phase motor. Often, these two phase commons are internally joined,
so the motor has only five leads.
|
|
.#|!..|5|#!|
Static friction effects using an H-bridge have been observed with certain
drive topologies.
Because windings are better utilised, they are more powerful than a
unipolar motor of the same weight
22 *
A step motor can be viewed as a synchronous AC motor with the
number of poles (on both rotor and stator) increased, taking care that
they have no common denominator. Additionally, soft magnetic material
with many teeth on the rotor and stator cheaply multiplies the number of
poles (reluctance motor). Modern steppers are of hybrid design, having
both permanent magnets and soft iron cores
.
To achieve full rated torque, the coils in a stepper motor must reach their
full rated current during each step. ~inding inductance and reverse EMF
generated by a moving rotor tend to resist changes in drive current, so
that as the motor speeds up, less and less time is spent at full current --
thus reducing motor torque. As speeds further increase, the current will
not reach the rated value, and eventually the motor will cease to produce
torque.
Y
Y
22 *$&$32 $
Stepper motors nameplates typically give only the winding current and
occasionally the voltage and winding resistance. The rated voltage will
produce the rated winding current at DC: but this is mostly a
meaningless rating, as all modern drivers are current limiting and the
drive voltages greatly exceed the motor rated voltage.
A stepper's low speed torque will vary directly with current. How
quickly the torque falls off at faster speeds depends on the winding
inductance and the drive circuitry it is attached to, especially the driving
voltage.
22$
Industrial applications are in high speed pick and place equipment and
multi-axis machine CNC machines often directly driving lead screws or
ballscrews. In the field of lasers and optics they are frequently used in
precision positioning equipment such as linear actuators, linear stages,
rotation stages, goniometers, and mirror mounts. Other uses are in
packaging machinery, and positioning of valve pilot stages for fluid
control systems.
Commercially, stepper motors are used in floppy disk drives, flatbed
scanners, computer printers, plotters, slot machines, and many more
devices.
/ 8*
They are well known for their low manufacturing costs and flexibility.
Some, for example those used as online traffic cameras, are expensive,
rugged professional-grade hardware.
3-$
V$
&-$-2-&
|
One of these capacitors is connected across the DC output of the rectifier
diode(s) or bridge, this capacitor also providing an extra degree of
smoothing the output waveform.
| |
& &-
Regulator, usually having three legs, converts varying input voltage and
produces a constant regulated output voltage. They are available in a
variety of outputs.
The most common part numbers start with the numbers 7a or 79 and
finish with two digits indicating the output voltage. The number 7a
represents positive voltage. The 7aXX series of voltage regulators are
designed for positive input.
The LM7aXX series typically has the ability to drive current up to ¬A.
The component has three legs: Input leg which can hold up to 36VDC
Common leg (GND) and an output leg with the regulator's voltage. For
maximum voltage regulation, adding a capacitor in parallel between the
common leg and the output is usually recommended.
| |
|
YV V`
Etching is the process where the excess copper is removed to leave the
individual tracks or traces as they are sometimes called.
Many different chemical solutions can be used to etch circuit boards.
Ranging from slow controlled speed etches used for surface preparation
to the faster etches used for etching the tracks. Copper etching is
normally exothermic. Almost all etching solutions liberate toxic
corrosive fumes, extraction is highly recommended. All etchants are
corrosive and toxic, mainly due to the high metal content.
V3
It is an old favorite chemical very good at staining fingers, clothing, etc
brown. Etch rate can be very high but is dependant on solution
movement over the surface of the board and temperature. At 70C using
Spray etching, ¬oz copper is removed in a little under a minute, normal
etching temperature is more likely to be 45C.
~hen up to 5% of HCL is added, it increases etch rate, helps to stop
staining, and reduces the risk of the solution sludging. Ferric especially
with extra HCL makes a very good stainless steel etchant.
The basic etching reaction takes place in 3 stages. First the ferric ion
oxidizes copper to cuprous chloride, which is then further oxidized to
cupric chloride.
¬.|FeCl3 + Cu > FeCl2 + CuCl
2.| FeCl3 + CuCl > FeCl2 + CuCl2
As the cupric chloride builds up at further reaction takes place,
3.|CuCl2 + Cu > 2CuCl
The etch rate quickly falls off after about ¬7oz/gallon (¬00g/l of copper
has been etched for a typical solution containing 5.3lb/gallon (530g/l) of
ferric chloride.
Soldering is a process in which two or more metal items are joined
together by melting and flowing a filler metal into the joint, the filler
metal having a relatively low melting point. Soft soldering is
characterized by the melting point of the filler metal, which is below
400 °C (a00 °F). The filler metal used in the process is called solder.
The only tools that are essential to solder are a soldering iron and some
solder. There are, however, lots of soldering accessories available
|
|
The software
The software program for the user interface to control the robot
(Mobile robot.exe) is designed in Visual Basic 5.0. The core file
used by software is 'inpout32.dll,' which can be downloaded from
'www.logix4u.net' for free. The .dll file uses a kernel-mode driver.
Therefore this software works as good with NT-based ~indows
OS as with ~in XP and ~in 2000. A separate program module for
the inpout32.dll is used along with the main program of the mobile
robot For details about the .dll file, visit 'www.logix4u net'.
The software uses timer controls to produce delay in between the
counting sequence that controls the speed of the stepper motors.
The value of timer delay can be increased or decreased with the
help of timers defined in the source code. Data port (D0 through
D7) of parallel port LPT¬ with base address of 0x037a is used to
connect the PC to the motors. The base address is defined in the
source Program.
Install the webcam/camera driver software in your system and
ensure that the camera executable file is located under 'C' drive.
Here, for Quantum Hi-Tech camera, the executable file is
'amcap.exe.'
Run the Mobile robot.exe program. On clicking the 'View Picture'
button the program will get connected to *re executable file of the
webcam and run automatically. If you have any other webcam,
change the path and filename in the source code and make the
executable file of the same for running the application. Current
date and time and present status of the buttons pressed (move
forward and backward and turn right and left) are also displayed on
the screen at software runtime.
|||||||
||||||||||
m|#
|$ ||
|% |&|&&m|||||||||||||||||||
&| m&|||'(|
|
|
Private Sub Commandl _Click ( )
Unload Me
End sub
Timerl.Enabled = True
Timer2.Enabled = False
Timer3.Enabled = False
Timer4.Enabled = False
End sub
Timerl.Enabled = False
Timer2.Enabled = True
Timer3.Enab¬ed = False
Timer4.Enabled = False
End sub
Timer¬.Enabled= False
Timer2.Enabled = False
Timer3.Enabled = True
Timer4.Enabled = FaIse
End sub
Timer¬.Enabled= False
Timer2.Enabled = Fa¬se
Timer3.Enabled = Fa¬se
Timer4.Enabled = True
End sub
Timer¬.Enabled= False
Timer2.Enabled = Fa¬se
Timer3.Enabled = Fa¬se
Timer4.Enabled = Fa¬se
End sub
End sub
frmAbout . Show
End Sub
End Sub
End Sub
Static a As integer
b=2 ^ a
Out &H37a, ¬7 * b
a=a+¬
If a > 3 Then
a=0
End if
End Sub
Static a As integer
b=2 ^ a
If b = ¬ Then
Out &H37a , 24
ElseIf b = 2 Then
Out &H37a , 36
ElseIf b = 4 Then
Out &H37a , 66
ElseIf b = a Then
End If
a=a+¬
If a > 3 Then
a=0
End if
End Sub
Private sub Timer3 _Timer ( )
Static a As integer
b=2 ^ a
If b = a Then
Out &H37a , 24
ElseIf b = 4 Then
Out &H37a , 36
ElseIf b = 2 Then
Out &H37a , 66
ElseIf b = ¬ Then
End If
a=a+¬
If a > 3 Then
a=0
End if
End Sub
b = 2 ^ ( 3-a )
Out &H37a, ¬7 * b
a=a+¬
If a > 3 Then
a=0
End if
End Sub
Label9.caption = Times
Label¬3.caption = Dates
End sub
|
|
Y
V
. Burning of components
. Voltage fluctuations
V
|
0
1
/
| "20
.
13,
4 5
'
!| 23 0' 6 .
' 1 /7
7/ 4
'
%| '
8 2 3
8 0' +&$
. /6 1 . 4
'
$| 0.
9 18 # &&+
(|
'
*|
|