1. INTRODUCTION 1.1 HISTORY The notion of robots or robot-like automates can be traced back to medieval times. Although people of that era didn’t have a term to describe what we would eventually call a robot they were nevertheless imagining mechanisms that could perform human-like tasks. In medieval times, automatons, human-like figures run by hidden mechanisms, were used to impress peasant worshippers in church into believing in a higher power. The automatons, like the clock jack pictured here, created the illusion of self-motion (moving without assistance). The clock jack was a mechanical figure that could strike time on a bell with its axe. This technology was virtually unheard of in the 13th century. So imagine how awe inspiring an automaton was to someone just like you!
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
1. INTRODUCTION
1.1 HISTORY
The notion of robots or robot-like automates can be traced back to
medieval times. Although people of that era didn’t have a term to describe what
we would eventually call a robot they were nevertheless imagining mechanisms
that could perform human-like tasks.
In medieval times, automatons, human-like figures run by hidden
mechanisms, were used to impress peasant worshippers in church into believing
in a higher power.
The automatons, like the clock jack pictured here,
created the illusion of self-motion (moving without
assistance). The clock jack was a mechanical figure that could
strike time on a bell with its axe. This technology was virtually
unheard of in the 13th century. So imagine how awe inspiring
an automaton was to someone just like you!
In the 18th century, miniature automatons became
popular as toys for the very rich. They were made to look
and move like humans or small animals. The pretty
musician in the picture was built around 1890. She can turn
her head from side to side while playing the instrument
with her hands and keeping time with her foot.
In literature, humankind’s vivid imagination has
often reflected our fascination with the idea of creating artificial life. In 1818,
Mary Shelly wrote Frankenstein, a story about the construction of a human-like
creature.
For Shelly, a robot looked like man but had the ability to function like a
machine. It was built of human components, which could be held together by
nuts and bolts. Notice there are even clips to hold the top of the head together!
Shelly considered that a robot had to be bigger than a regular person and had to
have super human strength.
In 1921, Karel Capek, a Czech playwright, came up with an intelligent,
artificially created person, which he called “robot”. The word “robot” is Czech
for worker, and was gradually incorporated into the English language without
being translated. As you can see, even a hundred years after Shelly’s
Frankenstein, Capek’s idea of a robot is still one in which the creation
resembles the human form.
While the concept of a robot has been around for a very long time, it
wasn’t until the 1940’s that the modern day robot was born, with the arrival of
computers. The term robotics refers to the study and use of robots; it came
about in 1941 and was first adopted by Isaac Asimov, a scientist and writer.
It was Asimov who also proposed the following “Laws of Robotics” in
his short story Runaround:
1st law: A robot may not injure a human being or through inaction, allow a
human being to come to harm.
2nd law: A robot must obey the orders given it by human beings except where
such orders would conflict with the first law.
3rd law: A robot must protect its own existence as long as such protection does
not conflict with the First or Second Laws.
The robot really became a popular concept during the late 1950’s and
early 1960’s. With the automotive industry in full expansion at that time,
industrial robots were employed to help factory operators.
Industrial robots do not have the imaginative, human-like appearance that
we have been dreaming of throughout the ages. They are computer-controlled
manipulators, like arms and hands, which can weld or spray paint cars as they
roll down an assembly line.
1.2 NEED OF HOUSE KEEPING ROBOT:
Often, robots are used to do jobs that could be done by humans. However,
there are many reasons why robots may be better than humans in performing certain
tasks.
Speed
Robots may be used because they are FASTER than people at carrying out
tasks. This is because a robot is really a mechanism which is controlled by a computer
- and we know that computers can do calculations and process data very quickly.
Some robots actually MOVE more quickly than we can, so they can carry out a
task, such as picking up and inserting items, more quickly than a human can.
Hazardous (dangerous) Environments
Robots may be used because they can work in places where a human would be
in danger. For example, robots can be designed to withstand greater amounts of
heat
radiation,
chemical fumes
Than humans could.
Efficiency
Efficiency is all about carrying out tasks without waste. This could
mean
not wasting time
not wasting materials
not wasting energy
Repetitive Tasks
Sometimes robots are not really much faster than humans, but they are good at
simply doing the same job over and over again. This is easy for a robot, because once
the robot has been programmed to do a job once, the same program can be run many
times to carry out the job many times. And the robot will not get bored as a human
would.
Accuracy
Accuracy is all about carrying out tasks very precisely. In a factory
manufacturing items, each item has to be made identically. When items are being
assembled, a robot can position parts within fractions of a millimetre.
Adaptability
Adaptability is where a certain robot can be used to carry out more than one
task. A simple example is a robot being used to weld car bodies. If a different car
body is to be manufactured, the program which controls the robot can be changed.
The robot will then carry out a different series of movements to weld the new car
body.
1.3 SYSTEM OVERVIEW:
The different units present in House Keeping Robot are as follows:-
Automatic vacuum cleaner
Robotic arm and its control circuitry
Input section :
Voice recognition module
Robotic control through mobile using DTMF
RF control
Hazard detection unit.
Output section
LCD display
Buzzer
Voice recording and playback
Transmitter section.
Power supply unit.
1.4 BLOCK DIAGRAM:
1.4.1 Block Diagram of House Keeping Robot
1.4.2 Block Diagram of Transmitter Section:
MICROCONTROLLER
P89V51RD2
DTMF RECEIVER
& DECODER
RF RECEIV
ER
VOICE RECOGNITI
ON MODULE
OBSTACLE DETECTION SENSOR
M
MDC MOTOR DRIVER
H - BRIDGE
RELAY
DRIVER
VACCUM
CLEANER
ENCODERH12 E
INPUT FROM
SWITCHES
RF TRANSMI
TTER
1.4.2 Block Diagram of Servo Arm:
1.4.2 Block Diagram of Hazard Detection Unit:
MICROCONTROLLER
AT89S52
SERVOMOTOR DRIVER
SERVOMOTOR
FOR ROBOTIC
ARM
RF RECEIVE
R
MICROCONTROLLER
AT89S52
INPUT FROM
SENSORS LPG, FIRE SMOKE, TEMP.,
INPUT FROM
SWITCHES
LCD 16X2
GSM MODEMSIM 300
BUZZER
2. LITERATURE SURVEY
Even though the market size is still small at this moment, applied fields
of robots are gradually spreading from the manufacturing industry to the others
in recent years. One can now easily expect that applications of robots will
expand into the first and the third industrial fields as one of the important
components to support our society in the 21st century.
There also raises strong anticipations in many countries that robots for the
personal use will coexist with humans and provide supports such as the
assistance for the housework, care of the aged and the physically handicapped,
since Japan is the fastest aging society in the world.
Service robots are emerging from the laboratory as commercial products.
Floor cleaning, material transporting in radioactive and other hostile
environments and security robots are some of the facets of a service robot. This
project focuses on one such service robot for housekeeping purposes, the
concept and a design aspect of the developed robot is presented.
The design philosophy that emphasizes compromise and practicality in
design is being explained. This philosophy is used in the design and integration
of a housekeeping robot system and sensor systems to provide new functionality
for the user. The robot navigation problem is solved through a hybrid sensor
system. The developed robot system comprises of a mobile platform, hybrid
sensor system and a gripper system. This project report also discusses the
design concepts and realization of a housekeeping robot to perform picking and
placing tasks.
3. ELECTRONICS
3.1 Microcontroller P89V51RD2:
The P89V51RD2 is an 80C51 microcontroller with 64 kB Flash
and 1024 bytes of data RAM. A key feature of the P89V51RD2 is its X2 mode
option. The design engineer can choose to run the application with the
conventional 80C51 clock rate (12 clocks per machine cycle) or select the X2
mode (6 clocks per machine cycle) to achieve twice the throughput at the same
clock frequency.
Another way to benefit from this feature is to keep the same performance
by reducing the clock frequency by half, thus dramatically reducing the EMI.
The Flash program memory supports both parallel programming and in
serial In-System Programming (ISP). Parallel programming mode offers gang-
programming at high speed, reducing programming costs and time to market.
ISP allows a device to be reprogrammed in the end product under
software control. The capability to field/update the application firmware makes
a wide range of applications possible.
The P89V51RD2 is also In-Application Programmable (IAP), allowing
the Flash program memory to be reconfigured even while the application is
running.
Features:
1. 80C51 Central Processing Unit2. 5 V Operating voltage from 0 to 40 MHz3. 64 kB of on-chip Flash program memory with ISP (In-System
Programming) and4. IAP (In-Application Programming)5. Supports 12-clock (default) or 6-clock mode selection via software
or ISP
6. SPI (Serial Peripheral Interface) and enhanced UART7. PCA (Programmable Counter Array) with PWM and
Capture/Compare functions8. Four 8-bit I/O ports with three high-current Port 1 pins (16 mA
each)9. Three 16-bit timers/counters10. Programmable Watchdog timer (WDT)11. Eight interrupt sources with four priority levels12. Second DPTR register13. Low EMI mode (ALE inhibit)14. TTL- and CMOS-compatible logic levels
3.1.1 Pin Configuration of 89V51RD2:
3.1.2 Block diagram:
3.1.3 Pin Details:
89V51RD is 40 pin IC with four ports. Pin diagram of microcontroller is shown
in Fig.
VCC - - Supply voltage..
VSS - - Ground.
Port 0Port 0
Port 0 is an 8-bit open-drain bi-directional I/O port. As an output port, each pin
can sink eight TTL inputs. When 1s are written to port 0 pins, the pins can be used as
high impedance inputs. Port 0 may also be configured to be the multiplexed low
order address/data bus during accesses to external program and data memory. In this
mode P0 has internal pull-ups. Port 0 also receives the code bytes during Flash
programming, and outputs the code bytes during program verification. External pull-
ups are required during program verification.
Port 1 Port 1
Port 1 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 1 output
buffers can sink/source four TTL inputs. When 1s are written to Port 1 pins they are
pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 1 pins
that are externally being pulled low will source current (IIL) because of the internal
pull-ups. Port 1 also receives the low-order address bytes during Flash programming
and verification.
Port 2Port 2
Port 2 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 2 output
buffers can sink/source four TTL inputs. When 1s are written to Port 2 pins they are
pulled high by the internal pull-ups and can be used as inputs. As inputs, Port 2 pins
that are externally being pulled low will source current (IIL) because of the internal
pull-ups. Port 2 emits the high-order address byte during fetches from external
program memory and during accesses to external data memory that uses 16-bit
addresses (MOVX @ DPTR). In this application, it uses strong internal pull-ups
when emitting 1s. During accesses to external data memory that uses 8-bit addresses
(MOVX @ RI), Port 2 emits the contents of the P2 Special Function Register. Port 2
also receives the high-order address bits and some control signals during Flash
programming and verification.
Port 3Port 3
Port 3 is an 8-bit bi-directional I/O port with internal pull-ups. The Port 3
output buffers can sink/source four TTL inputs. When 1s are written to Port 3 pins
they are pulled high by the internal pull-ups and can be used as inputs. As inputs,
Port 3 pins that are externally being pulled low will source Current (IIL) because of
the pull-ups. Port 3 also serves the functions of various special features of the
AT89V51RD2 as listed:
P3.0 RXD (serial input port)
P3.1 TXD (serial output port)
P3.2 INT0 (external interrupt 0)
P3.3 INT1 (external interrupt 1)
P3.4 T0 (timer 0 external input)
P3.5 T1 (timer 1 external input)
P3.6 WR (external data memory write strobe)
P3.7 RD (external data memory read strobe)
Port 3 also receives some control signals for Flash programming and verification.
RST –RST –
Reset input. A high on this pin for two machine cycles while the oscillator is
running resets the device.
ALE/ PROGALE/ PROG
Address Latch Enable output pulse for latching the low byte of the address
during accesses to external memory. This pin is also the program pulse input
(PROG) during Flash programming. In normal operation ALE is emitted at a
constant rate of 1/6 the oscillator frequency, and may be used for external timing or
clocking purposes. Note, however, that one ALE pulse is skipped during each access
to external Data Memory. If desired, ALE operation can be disabled by setting bit 0
of SFR location 8EH. With the bit set, ALE is active only during a MOVX or
MOVC instruction. Otherwise, the pin is weakly pulled high. Setting the ALE-
disable bit has no effect if the microcontroller is in external execution mode.
PSENPSEN
Program Store Enable is the read strobe to external program memory. When the
89V51RD2FA is executing code from external program memory, PSEN is activated
twice each machine cycle, except that two PSEN activations are skipped during each
access to external data memory.
EA/VPP EA/VPP
External Access Enable. EA must be strapped to GND in order to enable the
device to fetch code from external program memory locations starting at 0000H up
to FFFFH. Note, however, that if lock bit 1 is programmed, EA will be internally
latched on reset. EA should be strapped to VCC for internal program executions.
This pin also receives the 12-volt programming enable voltage (VPP) during Flash
programming, for parts that require 12-volt VPP.
3.1.4 Oscillator and Clock Details:3.1.4 Oscillator and Clock Details:
XTAL1
Input to the inverting oscillator amplifier and input to the internal clock
operating circuit.
XTAL2
Output from the inverting oscillator amplifier.
3.1.5 Transmission in 89V51RD2::
89V51RD2 has a serial data communication circuit that uses register SBUF to
hold data. Register SCON controls data communication. Register PCON controls
data rates. Pins RxD (p3.0) and TxD(3.1) connect to serial data network. SBUF is
physically two registers, one is writing only i.e. to hold data to be transmitted out of
microcontroller via TxD. The other is read only and holds received data from an
external transmitting source via RxD.
Whenever a data byte is transmitted T1 flag is set and so program is interrupted
to transmit another byte of data. The main program is interrupted only serial port
interrupt is 1E SFR is enable.
The data transmission steps are:
Initially the T1 flag is reset.
Data to be transmitted must be written into SBUF.
As soon as data is transmitted the T1 flag is set and main program is
interrupted to execute ISR.
In the ISR T1 flag is reset .another data is written in SBUF register.
3.2 Microcontroller At89s52:
The AT89S52 is a low-power, high-performance CMOS 8-bit microcontroller
with 8K bytes of in-system programmable Flash memory. The device is
manufactured using Atmel’s high-density nonvolatile memory technology and is
compatible with the indus-try-standard 80C51 instruction set and pinout. The on-
chip Flash allows the program memory to be reprogrammed in-system or by a
conventional nonvolatile memory pro-grammer. By combining a versatile 8-bit
CPU with in-system programmable Flash on a monolithic chip, the Atmel
AT89S52 is a powerful microcontroller which provides a highly-flexible and
cost-effective solution to many embedded control applications.
Features:
1. 8K Bytes of In-System Programmable (ISP) Flash Memory –
Endurance: 10,000 Write/Erase Cycles
2. 4.0V to 5.5V Operating Range
3. Fully Static Operation: 0 Hz to 33 MHz
4. Three-level Program Memory Lock
5. 256 x 8-bit Internal
6. 32 Programmable I/O
7. Three 16-bit Timer/Counters
8. Eight Interrupt Sources
9. Full Duplex UART Serial Channel • Low-power Idle and Power-down
Modes
10. Interrupt Recovery from Power-down Mode
11. Watchdog Timer
12. Dual Data Pointer
3.2.1 Block Diagram:
3.3 ADC 0804:
Analog to digital converters find huge application as an intermediate
device to convert the signals from analog to digital form. These digital signals
are used for further processing by the digital processors. Various sensors like
temperature, pressure, gas etc. convert the physical characteristics into electrical
signals that are analog in nature.
ADC0804 is a very commonly used 8-bit analog to digital convertor. It is
a single channel IC, i.e., it can take only one analog signal as input. The digital
outputs vary from 0 to a maximum of 255. The step size can be adjusted by
setting the reference voltage at pin9. When this pin is not connected, the default
reference voltage is the operating voltage, i.e., Vcc. The step size at 5V is
19.53mV (5V/255), i.e., for every 19.53mV rise in the analog input, the output
varies by 1 unit. To set a particular voltage level as the reference value, this pin
is connected to half the voltage. For example, to set a reference of 4V (Vref),
pin9 is connected to 2V (Vref/2), thereby reducing the step size to 15.62mV
(4V/255).
ADC0804 needs a clock to operate. The time taken to convert the analog
value to digital value is dependent on this clock source. An external clock can
be given at the Clock IN pin. ADC 0804 also has an inbuilt clock which can be
used in absence of external clock. A suitable RC circuit is connected between
the Clock IN and Clock R pins to use the internal clock.
3.3.1 Pin Configuration of ADC 0804:
3.3.2 Pin Description:
Pin Function Name
No1 Activates ADC; Active low Chip select
2 Input pin; High to low pulse brings the data from internal registers to the output pins after conversion
Read
3 Input pin; Low to high pulse is given to start the conversion
Write
4 Clock Input pin; to give external clock. Clock IN
5 Output pin; Goes low when conversion is complete Interrupt
6 Analog non-inverting input Vin(+)
7 Analog inverting Input; normally ground Vin(-)
8 Ground(0V) Analog Ground
9 Input pin; sets the reference voltage for analog input Vref/2
10 Ground(0V) Digital Ground
11
8 bit digital output pins
D712 D613 D514 D415 D316 D217 D118 D019 Used with Clock IN pin when internal clock source is
usedClock R
20 Supply voltage; 5V Vcc
3.4 MT 8870 (DTMF Decoder IC):
The MT8870D/MT8870D-1 is a complete DTMF receiver integrating
both the bandsplit filter and digital decoder functions. The filter section uses
switched capacitor techniques for high and low group filters; the decoder uses
digital counting techniques to detect and decode all 16 DTMF tone pairs into a
4-bit code.
External component count is minimized by on chip provision of a
differential input amplifier, clock oscillator and latched three-state bus interface.
Features:
1. Complete DTMF Receiver
2. Low power consumption
3. Internal gain setting amplifier
4. Adjustable guard time
5. Central office quality
6. Power-down mode
7. Inhibit mode
8. Backward compatible with
MT8870C/MT8870C-1
3.4.1 Block diagram of MT8870:
3.4.2 Pin Configuration of MT8870:
3.4.3 Pin Functions of MT8870:
3.5 HT12E Encoder IC:
HT12E is an encoder integrated circuit of 212 series of encoders. They
are paired with 212 series of decoders for use in remote control system
applications. It is mainly used in interfacing RF and infrared circuits. The
chosen pair of encoder/decoder should have same number of addresses and data
format.
Simply put, HT12E converts the parallel inputs into serial output. It
encodes the 12 bit parallel data into serial for transmission through an RF
transmitter. These 12 bits are divided into 8 address bits and 4 data bits.
HT12E has a transmission enable pin which is active low. When a trigger
signal is received on TE pin, the programmed addresses/data are transmitted
together with the header bits via an RF or an infrared transmission medium.
HT12E begins a 4-word transmission cycle upon receipt of a transmission
enable. This cycle is repeated as long as TE is kept low. As soon as TE returns
to high, the encoder output completes its final cycle and then stops.