Professional Documents
Culture Documents
BLOCK DIAGRAM
HARDWARE
Resistor :
A resistor is an electronic component which, as the name suggests, resists the flow of
electrical current. For a fixed applied voltage, the higher the value of resistor, the more it
will resist the flow of current. i.e. less current will flow. This relationship is proportional and
linear within normal working limits and forms the basis of the most common calculation in
electronics, namely Ohms Law. Ohms law is shown below
V=IxR
where V= voltage in volts, I=current in amps and R=resistance in ohms
Capacitor :
Capacitor (also referred to as a condenser) is a device that stores energy in the electric
field created between a pair of conductors on which equal but opposite electric charges
have been placed.
Typical designs consist of two electrodes or plates, each of which stores an opposite
charge. These two plates are conductive and are separated by an insulator or dielectric.
The charge is stored at the surface of the plates, at the boundary with the dielectric.
Because each plate stores an equal but opposite charge, the total charge in the device is
always zero.
When electric charge accumlates on the plates, an electric field is created in the region
between the plates that is proportional to the amount of accumulated charge. This electric
field creates a potential difference V = Ed across the plates of this simple parallel-plate
capacitor
Transformer :
The winding wires are either made off to terminals mounted on the clamps or the wire may
leave the coil by 'flying leads'.
The magnetic flux runs around the two side limbs and combines in the centre limb which is
twice the cross sectional area of a single side limb, thus keeping flux density constant. The
flux lines that are indicated in red in the diagram at right would follow a slightly tighter
path near the corner fixing holes, than my graphic skills can reproduce.
DC MOTOR
It is electromagnetic device which has two windings i. e. field winding & armature
winding. It cause
Rotation in clockwise and anticlock wise direction according to power supply given to it.it
also consist of brushes .
Microcontroller AT89S52
Features
Compatible with MCS-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory
Endurance: 1000 Write/Erase Cycles
4.0V to 5.5V Operating Range
Fully Static Operation: 0 Hz to 33 MHz
This microcontroller has Two 16-bit Timer/Counters which can be controlled by the user
software. There are Six Interrupt Sources for program and hardware control.
For interfacing with other serial device a Programmable Serial control is also available.
This microcontroller can operate from 0 Hz (dc) to 24 MHz.
Three-level Program Memory Lock are available for protection of source code. i.e. if the
suitable lock-bits are set the internal program cannot be read by the user. This processor
also supports Low-power Idle and Power-down Modes
HM2007 is a single chip CMOS voice recognition LSI circuit with the on-chip
analog front end,
voice analysis, recognition process and system control functions. A 40
isolated-word voice
recoanition system can be composed of external microphone, keyboard, 64K
SRAM and some
other components. Combined with the microprocessor, an intellengent
recognition system can
be built.
FEATURES
Single chip voice recognition CMOS LSL
GENERAL DESCRIPTION
The AS6C6264 is a 65,536-bit low power CMOS static random access memory
organized as 8,192 words by 8 bits. It is fabricated using very high
performance, high reliability CMOS technology. Its standby current is stable
within the range of operating temperature.
The AS6C6264 is well designed for low power application, and
particularly well suited for battery back-up nonvolatile memory application.
The AS6C6264 operates with wide range power supply.
This device converts BCD input data into control signals for 7-segment
displays.
Mode of operation:
The
BCD code is fed to inputs A through D, and after
decoding in the IC, provides 7segment display (a f) segment control data. The outputs are opencollector, but with an internal 2ki2 pull-up resistor.
The decoder outputs are active-high and have a
maximum low-level output sink current of 6 mA. If
higher currents are required, especially for multiplex
operation, additional external transistors are
required.
There is no internal latch.
The top horizontal segment
(a) of the number 6and the bottom horizontal segment
(d)
of the number 9 are not displayed. For normal operation, the pins LT (lamp
test, and BI/RBO (ripple blanking output, pin 4) are pulled high
(RBI =
ripple blanking input,
can be either level).
All segments can be checked by taking LT low.
This should activate all segments, i.e. a figure 8
should be displayed. Leading zeros in multi-digit
displays are suppressed by linking the BI/RBO output
of one digit with the RBI input of the place below it.
As suppression of the zero in the least significant
digit is not normally desirable, the RBI of this
stage is left open. Trailing zeros after the decimal
point can be suppressed in a similar manner. As all
segments are switched off when BI/RBO is low, a
display intensity control can be implemented by
applying a pulse-modulated signal to this pin.
DRIVER
IC
CIRCUIT DESCRIPTION:
Speech recognition will become the method of choice for controlling appliances, toys,
tools and computer. At it most basic level speech controlled appliances and tools allows
the user
to perform the parallel task (i.e. hands and eyes are busy elsewhere) while working with
tool or
appliances.
The heart of the circuit is the HM2007 speech recognition IC. The IC can recognize 20
words
each word length of 1.92 sec.
The HM2007 is a CMOS voice recognition LSI (Large scale integration) circuit. The chip
contains an analog front end, voice analysis, regulation, and system control functions. The
chip
may be used stand alone or CPU connected.
The circuit diagram shows how a circuit can be interface with the data bus of speech
recognition
system. It will show messages and error code on LCD. It will operate relays and motor as
per
data from speech circuit.
As shown in the circuit diagram the heart of the VCR is the microcontroller IC. Port No.2 of
microcontroller is configuring as input and Port No 3 is configuring as Output. 8 bit parallel
information from the VR Module is directly connected to the Port 2 of the controller IC. One
more IC ULN2803 is connected to port No 3. ULN2803 is a driver IC having current capacity
of
500 mA. We cant directly connect any load to microcontroller because the current caring
capacity of ports is very low.
Here we employed two DC motors, one for forward and backward and another one is for
direction i.e right and left movements. Operation of DC motor is very simple. If we change
the
direction of current through the coils of the motor then direction of motor also change. So
to
change direction of current we make a bridge circuit of power transistors. So for forward
direction we turn on Q1 and Q4 simultaneously while Q2 and Q3 remains OFF. During
reverse
direction we turn on Q2 and Q3 while Q1 and Q4 make OFF.
P1.5 is act as input Port. To record voice in the module at that time make this port pin zero
through switch. When P1.5 is zero then robot remains silence even if user commands it.
Overall circuit requires 5 volt and 12 volts. So we make inbuilt regulated power supply. IC
7805
is used to convert unregulated 12 volts to regulated 5volts. 12 volts is supplied to the ULN
2803
and power transistor for the proper operation of both
motors.
WORKING
OPERATION:
Voice operated robot is based on the DSP (Digital signal processing).The heart
of this project is the voice recognition IC which converts the voice signal into 8 bit digital
output.
As per the sound wave this ic make slices of incoming voice signal through the microphone
and
convert the voice information into digital values. This process is same as the ADC (Analog
to
Digital converter), but the overall process is little bit different.
User can be able to save up to 8 no's of information in the system i.e voice commands.
The chip
has/ module has inbuilt eeprom ic.When anyone speak the same command as stored in
the
memory the output line gives the 8 bit data. This 8 bit information is sent to the
microcontroller
for further processing. At 89s52 is used in these projects. Microcontroller is programmed
for that
55=word to long.
66=word to short.
77=no match
Clearing MemoryTo erase all the words in the memory press 99 and then CLR. The number is quickly
scroll
on the display as memory is erased.
Changing the wordsTrained word can easily be changed by overwriting the original word.
Independent RecognitionThe speech recognition system is speaker dependent, meaning that the voice that trained
the
system has highest recognition accuracy. But you can simulate independent speech
recognition.
To make it speaker independent one can use more than one word space for each target
word.
HomonymsHomonyms
are the words that sound alike. For instance the word bat, cat, sat and fat sound alike.
Because of their like sounding nature they confuse the speech recognition system. When
choosing target words for system do not use homonyms.
The voice with stress and excitementStress an excitement alters ones voice. This affects the accuracy of the circuit recognition.
These
factor keep in mind to achieve the high accuracy possible from the circuit. This becomes
increasingly important when the speech recognition circuit is taken out of the lab and put
to work
in outside worlds.
Recognition styleIn addition to speaker dependent /independent classification, speech recognition also
contends
with the style of speech it can recognize. There are three style of speech: isolated,
connected and
continuous.
Isolated: Words are spoken separately or isolated. This is the most common speech
recognition
system available today. The user must pause between each word or command spoken.
Connected: This is half way point between isolated and continuous speech recognition. It
permits
user to speak multiple words. The HM2007 can be set up to identify words or phrase 1.92
sec in
length. This reduces the word recognition dictionary to 20.
Continuous: This is the natural conventional speech we use in every day life. It is
extremely
difficult for a recognizer to sift through the sound as the word tends to merge together.
The first step in the process of designing any electronic circuit, is the construction
of the layout of that electronic circuit for the circuit board. This preliminary and for most
objective is necessary to avoid further confusion in the rest of proceeding.
By using above procedure we have to make the circuit most compact but with
designer look we have to most careful while working with high frequency which is very
much existent in out project because the problem coupling between PCB tracks is very
critical and hence to solve this problem ground tracks between two signal tracks of a
double side PCB whose one side acts as a ground. This help in decoupling the signal or
eliminating the instability and interference
LAYOUT PLANNING :
The layout of PCB has to in co-operate all possible information and components on the
circuit board, as given in the circuit diagram. After that one can proceed to artwork
preparation
LAYOUT SCALE :
Depending upon the accuracy in the layout artwork is done according to scale selected.
Scales selected may be 1:1, 2:1 or4:1 which is four times or sixteen times of the actual
PCB.The layout is best prepared using the same scale.
LAYOUT PROCEDURE:
While preparing any layout of an electronic circuit the first rule is to be remembered is
not to start the desingning of the layout unless and until an absolutely clear and is not
available. Another important note is to prepare a before a hand PCB layout from
component side. This minimizes any further complication. Among the larger ones are
placed first and the space in between is filled with smaller ones. All components are not
necessary if they have to be replaced.
To take distance between terminal leads of each component.
To take size of the components into considera
Smaller components like ICs resistance etc. are placed in the center of the layout
and bigger component like electronic capacitor are placed in the outskirts. All
components are placed in such a manner that disordering is possible. This they
help in fast testing of circuit.
LAYOUT SKETCH:
The end product of layout designing is a pencil sketch on the copper clad sheet and
conductor draw in which is labeled as layout sketch which contain of reluctant
information for preparation of artwork.
ARTWORK PREPARATION:
The preparation of artwork is considered as the first step in preparation of PCB,
different procedure is available to prepare a good network. Some of them are listed below.
Use of paint or marker for preparation of artwork.
Use of black tape on transparent base toil
Use of PCB drifting aid
Screen-printing.
ETCHING:
After the artwork is prepared on the circuit board, all excessive copper on the
copper clad sheet is to be removed, only copper tracks remaining on the copper clad. The
copper clad sheets are the once on etching tape of paint is applied.
During the etching process it is understood that the process happen vertically
however practically, the etching action is always side ways.
ECHENTS:
Among the etchents uses ferric chloride (Fecl3) is the most common etchents
used because of its hygroscopic non-volatile and good solubility with wafer. The
following reaction takes place during the etching process.
Fecl3 + CuFecl2 +cucl
Due to high corrosiveness of fecl3 etching is faster.
RINSING:
After etching is done fecl2 contaminated surface should be cleaned. The
usual practice follow rinsing by wafer and cleaning by oxalic acid. A vigorous final wafer
rinse
has to follow.
DRILLING:
Drilling mechanical holes is also an important operation. Drilling is done by
using drill bits from 0.8mm to 2mm as per components, drilling can be done by using hand
drill or an electric drill. To compensate for the lumination a drill bit 0.04mm bigger than the
hole diameter is chosen.
SOLDERING
:
Soldering is the stage for completion of any circuit. It is the process in which the alloy of
tin
and lead is heated of about 300 to melt and set itself around the components lead surface.
There are two types of soldering techniques:
Manual Soldering
Wave Soldering
Manual soldering is the technique which is operated by us for soldering very few
components whereas wave soldering is used to solder mass number of components. Wave
soldering is done by special machines.
Care should be taken that flux or solder paste is applied to surface where soldering
SOFTWARE
PROGRAMMING IS DONE FIRSTLY IN C-PROGRAMMING & AFTER THAT IT
IS CONVERTED INTO ASSEMBLY LANGUAGE PROGRAMME(ALP) MEANS HEX FILE USING
UNIVERSAL PROGRAMMER.
Rob
;--------------------------------------------------code
;-------------------------------------------------------.area CSEG
(CODE)
;-----------------------------------------------------------;Allocation info for local variables in function 'delay'
;-----------------------------------------------------------;t
Allocated to registers r2 r3
;i
Allocated to registers r4 r5
;j
Allocated to registers r6 r7
;-----------------------------------------------------------;
rob.c:15: void delay(unsigned int t)
;
;
function delay
;
_delay:
r2 = 0x02
ar3 = 0x03
ar4 = 0x04
ar5 = 0x05
ar6 = 0x06
ar7 = 0x07
ar0 = 0x00
ar1 = 0x01
mov
mov
r2,dpl
r3,dph
rob.c:18: for(i=0;i<t;i++)
mov
r4,#0x00
mov
r5,#0x00
00104$:
$;
clr
c
mov
a,r4
subb
a,r2
mov
a,r5
subb
a,r3
jnc
00108
rob.c:19: for(j=0;j<10;j++);
mov
r6,#0x0A
mov
r7,#0x00
00103$:
dec
cjne
$dec
r6
r6,#0xff,00117
r7
00117$:
$;
mov
a,r6
orl
a,r7
jnz
00103
rob.c:18: for(i=0;i<t;i++)
inc
r4
cjne
r4,#0x00,00104
$inc
r5
sjmp
00104
$00108$:
ret
;-----------------------------------------------------------;Allocation info for local variables in function
'run_mode' ;----------------------------------------------------------;i
Allocated to registers r2 r3
;-----------------------------------------------------------;
rob.c:22: void run_mode()
;
;
function
run_mode
rob
;
_run_mode:
;
rob.c:25: for(i=0;i<100;i++)
mov
mov
r2,#0x00
r3,#0x00
clr
mov
subb
mov
subb
jc
$ljmp
c
a,r2
a,#0x64
a,r3
a,#0x00
00121
00114
00111$:
$00121$:
;
rob.c:27: switch(SPDAT)
mov
a,_P2
mov
r4,a
add
a,#0xff - 0x08
jnc
00122
$ljmp
00109
$00122$:
mov
a,r4
add
a,r4
add
a,r4
mov
dptr,#00123
$jmp
@a+dptr
00123$:
ljmp
00109
$ljmp
00101
$ljmp
00102
$ljmp
00103
$ljmp
00104
$ljmp
00105
$ljmp
00106
$ljmp
00107
$ljmp
00108
$;
rob.c:29: case 0x01:
00101$:
;
rob.c:31: P3=FRWRD;
mov
_P3,#0xFC
;
rob.c:32: delay(200);
mov
dptr,#0x00C8
push
ar2
push
ar3
lcall
_delay
;
rob.c:33: P3=STOP;
mov
_P3,#0xFF
rob.c:34: delay(200);
mov
dptr,#0x00C8
lcall
_delay
pop
ar3
pop
ar2
rob.c:35: break;
ljmp
00113
rob.c:37: case 0x02:
$;
00102$:
;
rob.c:39: P3=RVRS;
mov
_P3,#0xF3
;
rob.c:40: delay(200);
mov
dptr,#0x00C8
push
ar2
push
ar3
lcall
_delay
rob.c:41: P3=STOP;
mov
_P3,#0xFF
;
rob.c:42: delay(200);
mov
dptr,#0x00C8
lcall
_delay
pop
ar3
pop
ar2
;
rob.c:43: break;
ljmp
00113
$;
rob.c:45: case 0x03:
00103$:
;
rob.c:47: P3=STOP;
mov
_P3,#0xFF
;
rob.c:48: delay(50);
mov
dptr,#0x0032
push
ar2
push
ar3
lcall
_delay
;
rob.c:51: P3=LFT;
mov
_P3,#0xCF
;
rob.c:52: delay(500);
mov
dptr,#0x01F4
lcall
_delay
;
rob.c:53: P3_0=0;
clr
_P3_0
;
rob.c:54: P3_1=0;
clr
_P3_1
;
;
rob.c:55: delay(500);
mov
dptr,#0x01F4
lcall
_delay
rob.c:56: P3=STOP;
mov
_P3,#0xFF
rob.c:57: delay(200);
mov
dptr,#0x00C8
lcall
_delay
pop
ar3
pop
ar2
rob.c:58: break;
ljmp
00113
rob.c:60: case 0x04:
$;
00104$:
;
rob.c:62: P3=STOP;
mov
_P3,#0xFF
;
rob.c:63: delay(50);
mov
dptr,#0x0032
push
ar2
push
ar3
lcall
_delay
;
rob.c:66: P3=RGHT;
mov
_P3,#0x3F
;
rob.c:67: delay(500);
mov
dptr,#0x01F4
lcall
_delay
;
rob.c:68: P3_0=0;
clr
_P3_0
;
rob.c:69: P3_1=0;
clr
_P3_1
;
rob.c:70: delay(500);
mov
dptr,#0x01F4
lcall
_delay
;
rob.c:71: P3=STOP;
mov
_P3,#0xFF
;
rob.c:72: delay(200);
rob
mov
dptr,#0x00C8
lcall
_delay
pop
ar3
pop
ar2
;
rob.c:73: break;
ljmp
00113
$;
rob.c:75: case 0x05:
00105$:
;
rob.c:77: P3=STOP;
mov
_P3,#0xFF
;
rob.c:78: break;
ljmp
00113
$;
rob.c:80: case 0x06:
00106$:
;
rob.c:82: P3=FRWRD;
mov
_P3,#0xFC
;
rob.c:83: delay(300);
mov
dptr,#0x012C
push
ar2
push
ar3
lcall
_delay
;
rob.c:84: P3=STOP;
mov
_P3,#0xFF
;
rob.c:85: delay(300);
mov
dptr,#0x012C
lcall
_delay
;
rob.c:86: P3=RVRS;
mov
_P3,#0xF3
;
rob.c:87: delay(300);
mov
dptr,#0x012C
lcall
_delay
;
rob.c:88: P3=STOP;
mov
_P3,#0xFF
;
rob.c:89: delay(300);
mov
dptr,#0x012C
lcall
_delay
;
rob.c:90: P3=RGHT;
mov
_P3,#0x3F
;
rob.c:91: delay(300);
mov
dptr,#0x012C
lcall
_delay
;
rob.c:92: P3=STOP;
mov
_P3,#0xFF
;
rob.c:93: delay(300);
mov
;
;
dptr,#0x012C
lcall
_delay
rob.c:94: P3=FRWRD;
mov
_P3,#0xFC
rob.c:95: delay(300);
mov
dptr,#0x012C
;
;
;
;
lcall
_delay
rob.c:96: P3=STOP;
mov
_P3,#0xFF
rob.c:97: delay(300);
mov
dptr,#0x012C
lcall
_delay
rob.c:98: P3=RVRS;
mov
_P3,#0xF3
rob.c:99: delay(300);
mov
dptr,#0x012C
lcall
_delay
rob.c:100: P3=STOP;
mov
_P3,#0Xff
end;
ADVANTAGES
Self contained stand alone speech recognition circuit.
User programmable
Up to 20 vocabulary words of duration 20 sec each.
Multi lingual
Non volatile memory back up with 3v battery on board will keep speech recognition data
inmemory even after power off.
APPLICATION:
There are several areas of application of speech recognition technology.
Speech controlled appliances and toys.
Speech assisted computer games
Speech assisted virtual reality
Telephone assistance system
Voice recognition security
Speech to speech translation
FUTURE SCOPE:
This type of speech recognition system is not very accurate for continuous speech.
Continuous
speech recognition systems are on the market but they all are in continuous development.
In
future we can develop such a system which will give the output with high degree of
accuracy.
Then this type of system is very useful for the following type of application where true
means of
automation needed for encryption.
Medical Industry.
Process plants.
Shopping malls , ETicket system.
Banks and postal department
BIBLOGRAPHY
Microcontroller
http://www.atmel.com
Basic Electronics
http://www.kpsec.freeuk.com/
Williamson Labs
Nice animated tutorials, articles and project ideas.
http://www.williamson-labs.com/home.htm
Small Robot Sensors
http://www.andrew.cmu.edu/user/rjg/websensors/robot_sensors2.html
Robotics India
An Indian site devoted to robotics. Must see
http://www.roboticsindia.com/
Seattle Robotics Society
http://www.seattlerobotics.org