Project Synopsis
Project Synopsis
ABSTRACT
The goal of this project is to make a robot that can be used in houses for many useful purposes such as Cleaning, Serving, Security purpose, Automated hauling (carry dishes and small loads from room to room) and also for the hazard detection in the house. It can be also used to operate in industries where there is risk of chemical substances which can endanger the condition of human being. The robot has inbuilt vacuum cleaner that is used to clean the house automatically. So that once the command is provided to the robot it will do its job. Sensors are used to detect the obstacles while cleaning. The robot will have two arms like human being, and a gripper attached to the arm for picking and placing objects. It will also have a camera for security purpose, so that when a person is not in his house he can still watch what is happening in his home. Thus would act as a spy robot. The robots mobility would allow more areas in the home to be protected The robot can also be used for hazard detection such as release of L.P.G gas, Fire, Smoke etc. Every night the robot can make rounds to ensure that everything is okay.
1|Page
1. INTRODUCTION
1.1 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 synopsis also discusses the design concepts and realization of a housekeeping robot to perform picking and placing tasks.
2|Page
Efficiency Efficiency is all about carrying out tasks without waste. This could mean not wasting time not wasting materials not wasting energy
Repetitive Tasks
3|Page
manufacturing items, each item has to be made identically. When items are being
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
House Keeping Robot The main function of this unit is to automatically clean the house with the help of an inbuilt vacuum cleaner that is attached to the base of the robot. The basic block diagram of automatic vacuum cleaner is as shown below
The movement of the robot is achieved by using a D.C motor which is used in differential drive as explained below Differential drive is a method of controlling a robot with only two motorized wheels. What makes this algorithm important for a robot builder is that it is also the simplest control method for a robot. The term 'differential' means that robot turning speed is determined by the speed difference between both wheels, each on either side of your robot. to drive straight both wheels move forward at same speed to drive reverse both wheels move back at same speed to turn left the left wheel moves in reverse and the right wheel moves forward to turn right the right wheel moves in reverse and the left wheel moves forward The DC motors used in this robot is a permanent magnet geared DC Motors that has a speed of 60r.p.m and has a torque of 10kg-cm for a single DC motor. Thus we have a total torque of 20kg because of two motors.
7|Page
House Keeping Robot Once the clean mode is selected the microcontroller switches ON the vacuum cleaner with the help of a relay. The relay is interfaced with the microcontroller by the help of Darlington pair IC uln 2803. The robot identifies the obstacles with the help of an obstacle detection sensor which is nothing but the infrared sensor. Three sensors are used one is attached in the front and the either two sensors are attached in the right and left side of the robot. Whenever the sensor is interrupted by a wall or a obstacle it interrupts the microcontroller, now depending on the input from the sensor the corresponding motors are rotated to achieve the desired turn. For example when a front and right side sensors are interrupted the motor is driven to take a left turn by the microcontroller. In this way any type of movement can be achieved depending on the state of the sensor output. The clean mode can be started with the help of a voice command, or control from the handheld remote or through mobile phone. The time required for cleaning can also be set by the microcontroller.
8|Page
Degrees of Freedom (DOF):The degrees of freedom,or DOF, is a very important term to understand. Each degree of freedom is a joint on the arm, a place where it can bend or rotate or translate. we can typically identify the number of degrees of freedom by the number of actuators on the robot arm. The actuators are the servo motors which are responsible for the movement. The robotic arm with 4 DOF is as shown below:
The microcontroller drives the servo motor with the help of a driver which nothing but a buffer IC that is used to prevent the loading effect of the microcontroller since the source current of the microcontroller is very less as compared to current required by servo motor.
10 | P a g e
Servo Current Servo current operates the same as in a DC motor, except that you now also have a hard to predict feedback control system to contend with. If your DC motor is not at the specified angle, it will suddenly draw huge amounts of current to reach that angle. But there are other peculiarities as well. If you run an experiment with a servo at a fixed angle and hang precision weights from the servo horn, the measured current will not be what you expect. One would think that the current would increase at some fixed rate as the weights increased linearly. Instead you will get unpredictable curves and multiple rates.
11 | P a g e
Gear Types:More expensive servos come with metal gears for higher torque and longer life, followed by karbonite and then nylon gears for the cheapest. Nylon Gears - Nylon gears are most common in servos. They are extremely smooth with little or no wear factors. They are also very lightweight, but lack in durability and strength. Karbonite Gears - Karbonite gears are relatively new to the market. They offer almost 5 times the strength of nylon gears and also better wear resistance. Cycle times of well over 300,000 have been observed with these gears with virtually no wear. Servos with these gears are more expensive but what you get in durability is more than equaled. Metal Gears - Metal gears have been around for sometime now. Although the heaviest and having the highest wear rate of all gear types, they offer unparalleled strength. With a metal output shaft, side-loads can be much greater. Ever had a nylon output shaft crack? I have. In applications that are jarred around, metal gears are best. Unfortunately, due to wear, metal gears will eventually develop slight play in the geartrain. Accuracy will slowly be lost.
Velocity The servo turn rate, or transit time, is used for determining servo rotational velocity. This is the amount of time it takes for the servo to move a set amount, usually
12 | P a g e
Efficiency and Noise Due to noise and control circuitry requirements, servos are less efficient than DC motors uncontrolled. To begin with, the control circuitry typically drains 5-8mA just on idle. Secondly, noise can more than triple current draw during a holding position (not moving), and almost double current during rotation. Noise is often a major source of servo inefficiency and therefore should be avoided. Ever notice your servo jitter or vibrate? This is because your servo is rapidly jumping between two different angles due to interference. What causes this interference? Well the signal wire is no different than a long antennae, capable of accepting unwanted foreign signals and sending them straight to your servo as a command. A common interference source is usually from other nearby servos and/or servo wiring. How to prevent this problem? Keep your signal wire short, meaning do not add say 3+ feet of extension cables to your servo. If you have many servo wires going through one area, and it isn't feasible to keep them apart, then twist them together. Supposedly this reduces cross interference and I've heard it works, although I cannot
13 | P a g e
2.3 INPUT SECTION UNIT:The movement of the robot can be controlled either by voice command, or from the remote control, or by the mobile phone. It can also be controlled automatically with the help of the sensor attached to it. The different parts in the input section unit are as follows: Voice recognition module Robotic control through mobile using DTMF RF control
2.3.1
HM2007. 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 in a stand alone or CPU connected. The voice recognition module is completely assembled and easy to use programmable speech recognition circuit. Programmable, in the sense that you train the words (or vocal utterances) you want the circuit to recognize. This board allows you to experiment with many facets of speech recognition technology. It has 8 bit data out which is interfaced with the microcontroller. Some of interfacing applications which can be made are controlling robotics movements, Speech Assisted technologies, Speech to text translation, and many more.
14 | P a g e
Features Self-contained stand alone speech recognition circuit User programmable Up to 20 word vocabulary of duration two second each Non-volatile memory back up with 3V battery onboard. Would keep the speech recognition data in memory even when power is OFF Easily interfaced to control external circuits & appliances Specification: Input Voltage - 9 to 15 V DC Output Data - 8 bits at 5V Logic Level Using the System: The keypad and digital display are used to communicate with and program the HM2007 chip. The keypad is made up of 12 normally open momentary contact switches. When the circuit is turned on, 00 is on the digital display, the red LED (READY) is lit and the circuit waits for a command. Training Words for Recognition: Press 1 (display will show 01 and the LED will turn off) on the keypad, then press the TRAIN key ( the LED will turn on) to place circuit in training mode, for word one. Say the target word into the onboard microphone (near LED) clearly. The circuit
15 | P a g e
Testing Recognition: Repeat a trained word into the microphone. The number of the word should be displayed on the digital display. For instance, if the word directory was trained as word number 20, saying the word directory into the microphone will cause the number 20 to be displayed. Error Codes: The chip provides the following error codes. 55 = word to long 66 = word to short 77 = no match Clearing Memory: To erase all words in memory press 99 and then CLR. The numbers will quickly scroll by on the digital display as the memory is erased. Changing & Erasing Words: Trained words can easily be changed by overwriting the original word. For instances suppose word six was the word Capital and you want to change it to the word State. Simply retrain the word space by pressing 6 then the TRAIN key and saying the word State into the microphone. If one wishes to erase the word without replacing it with another word press the word number (in this case six) then press the CLR key. Word six is now erased.
16 | P a g e
Speaker Dependent / Speaker Independent: Speech recognition is divided into two broad processing categories; speaker dependent and speaker independent. Speaker dependent systems are trained by the individual who will be using the system. These systems are capable of achieving a high command count and better than 95% accuracy for word recognition. The drawback to this approach is that the system only responds accurately only to the individual who trained the system. This is the most common approach employed in software for personal computers. Speaker independent is a system trained to respond to a word regardless of who speaks. Therefore the system must respond to a large variety of speech patterns, inflections and enunciation's of the target word. The command word count is usually lower than the speaker dependent however high accuracy can still be maintain within processing limits. Industrial applications more often require speaker independent voice recognition systems. Recognition Style: In addition to the speaker dependent/independent classification, speech recognition also contends with the style of speech it can recognize. They are three styles 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 a half way point between isolated word and continuous speech recognition. It permits users to speak multiple words. The HM2007 can be set up to identify words or phrases 1.92 seconds in length. This reduces the word recognition dictionary number to 20. Continuous: This is the natural conversational speech we use to in everyday life. It is
19 | P a g e
2.3.2 Robotic control through mobile using DTMF:Conventionally, wireless controlled robots user circuits, which have a drawback of limited working range, limited frequency range and limited control. Use of mobile phones for robotic control can overcome these limitations. It provides the advantages of robust control, working range as large as the coverage area of the service provider, no interference with other controllers and up to twelve controls.
In the project the robot is controlled by a mobile phone that makes a call to the mobile phone attached to the robot. In the course of a call, if any button is pressed a tone corresponding to the button pressed is heard at the other end called Dual Tone Multiple frequency (DTMF) tone. The robot receives these tones with help of phone stacked in the robot. The received tone is processed by the microcontroller with the help
20 | P a g e
Dual-Tone Multi-Frequency (DTMF) Dual-tone multi-frequency (DTMF) signaling is used for telephone signaling over the line in the voice-frequency band to the call switching center. The version of DTMF used for telephone tone dialing is known by the trademarked term Touch-Tone, and is standardised by ITU-T Recommendation Q.23. Other multi-frequency systems are used for signaling internal to the telephone network.
Keypad
The DTMF keypad is laid out in a 44 matrix, with each row representing a low frequency, and each column representing a high frequency. Pressing a single key such as '1' will send a sinusoidal tone of the two frequencies 697 and 1209 hertz (Hz). The original keypads had levers inside, so each button activated two contacts. The multiple tones are the reason for calling the system multifrequency. These tones are then decoded by the switching center to determine which key was pressed.
1209 Hz 1 4 7 * 1336 Hz 2 5 8 0 1477 Hz 3 6 9 # 1633 Hz A B C D
The M-8870 is a full DTMF Receiver that integrates both band split filter and decoder functions into a single 18-pin DIP or SOIC package. Manufactured using
21 | P a g e
22 | P a g e
23 | P a g e
In the transmitter unit data is provided from the switches therefore the data is in parallel form so this data should be converted into serial form. This can be achieved with the help of an encoder, Hence Holtek encoder is used i.e. HT12E the output of the HT12E IC is in serial form. It has a 12bit data output which comprises of 8 address bits and four data bits. The serial data is then transmitted through the transmitter RF module TWS 434. The module uses the Amplitude shift keying of the digital data and is then transmitted in the space. The range of the transmission can be achieved at around 200 meters with the help of an antenna at a height of 30cm. In the Receiver unit the antenna receives the signal of the frequency 434Mhz, the receiver module RWS 434 converts the received signal into digital form which is then decoded into data bits with the help of an decoder IC HT12D. The decoder IC receives
24 | P a g e
2.4 Hazard detection unit:The main purpose of the hazard detection unit is to alert during some hazardous conditions such as release of LPG gas, fire, release of smoke etc. For this purpose different types of sensors are used in the robot.
Features: Low power consumption High sensitivity to gaseous air contaminants Long life and low cost Uses simple electrical circuit
26 | P a g e
2.4.2 Fire detection:The fire can be detected with the help of a thermistor PT 100, the Platinum resistance thermometers (PRTs) offer excellent accuracy over a wide temperature range (from-200 to +850 C). Standard Sensors are are available from many manufacturers with various accuracy specifications and numerous packaging options to suit most applications. Unlike thermocouples, it is not necessary to use special cables to connect to the sensor. The principle of operation is to measure the resistance of a platinum element. The most common type (PT100) has a resistance of 100 ohms at 0 C and 138.4 ohms at 100 C. There are also PT1000 sensors that have a resistance of 1000 ohms at 0 C. The relationship between temperature and resistance is approximately linear over a small temperature range: for example, if you assume that it is linear over the 0 to 100 C range, the error at 50 C is 0.4 C. For precision measurement, it is necessary to linearise the resistance to give an accurate temperature. The most recent definition of the relationship between resistance and temperature is International Temperature Standard 90 (ITS-90).
This linearisation is done automatically, in software, when using Pico signal conditioners. The linearisation equation is: Rt = R0 * (1 + A* t + B*t2 + C*(t-100)* t3) Where:
27 | P a g e
2.4.3 Smoke Detector:The smoke detector can built using a LDR and LED, normally light falls on the LDR. The LED and LDR are enclosed in a small box with a window present on it. When the smoke gets filled into this gap it interrupts the light falling on the LDR due to which the resistance of the LDR becomes very high and this provides a change in voltage to the microcontroller port and the microcontroller indicates by switching on the buffer.
In the above memory map, the area shaded in black is the visible display (For 16x2 display). For first line addresses for first 15 characters is from 00h to 0Fh. But for second line address of first character is 40h and so on up to 4Fh for the 16th character. So if you want to display the text at specific positions of LCD, we require to manipulate address and then to set cursor position accordingly. Character Generator RAM (CGRAM)-User defined character RAM In the character generator RAM, we can define our own character patterns by program. CG RAM is 64 bytes, allowing for eight 5*8 pixel, character patterns to be defined. However how to define this and use it is out of scope of this tutorial. So I will not talk any more about CGRAM Registers The HD44780 has two 8-bit registers, an instruction register (IR) and a data register (DR). The IR stores instruction codes. The DR temporarily stores data to be written into DDRAM or CGRAM and temporarily stores data to be read from DDRAM or CGRAM. Data written into the DR is automatically written into DDRAM or CGRAM
30 | P a g e
Busy Flag (BF) When the busy flag is 1, the LCD is in the internal operation mode, and the next instruction will not be accepted. When RS = 0 and R/W = 1 (see the table above), the busy flag is output to DB7 (MSB of LCD data bus). The next instruction must be written after ensuring that the busy flag is 0.
LCD Commands The LCDs internal controller accept several commands and modify the display accordingly. These commands would be things like: Clear screen Return home Shift display right/left
31 | P a g e
Entry mode set This command sets cursor move direction and display shift ON/OFF. There are 4 possible function set commands;04, 05, 06, and 07. This command changes the direction the cursor moves by setting the address counter to increment or decrement. This command is very important. If you do not understand it you may not see anything or what you actually wanted to see on LCD screen. I have created 4 animated gifs to demonstrate what the function set command is all about.
32 | P a g e
2.6 POWER SUPPLY UNIT:The power supply unit consists of battery and a regulator IC to provide constant voltage for all the circuits employed in the robot. It also provides supply to the Vacuum cleaner and all the motors.
33 | P a g e
34 | P a g e
3. MECHANICS
The chassis of the robot plays an important role in determining the performance of the robot, the chassis must be designed in such a way that it is light in weight, should have good rigidity as well. We selected aluminium for this purpose since it is light in weight and has a good rigidity, Aluminium is remarkable for the metal's low density and for its ability to resist corrosion due to the phenomenon of passivation. It is easy to work with Aluminium since it is easier to cut and drill holes. The frame of our project is done using aluminium where we used Langles of 1.5inch X 1.5inch of size as shown in figure The photograph of the chassis done by us is as shown below:
35 | P a g e
4. BIBLIOGRAPHY
Websites:
www.societyofrobots.com www.robotshop.com www.8051projects.info www.nskelectronics.com
en.wikipedia.org
www.8051projects.net www.engineersgarage.com www.alldatasheetsforu.com
36 | P a g e