line follower robot 5th semster

19
Table of Contents Ways to Implement • Overview • Algorithm • Sensors • Control • Drive Working Principle Analogue To Digital converter Circuit Diagram

Upload: aqeel-shoukat

Post on 25-Jun-2015

3.664 views

Category:

Education


6 download

DESCRIPTION

presentation on line follower robot. using pic 18f452

TRANSCRIPT

Page 1: Line follower robot 5th semster

Table of Contents• Ways to Implement• Overview• Algorithm• Sensors• Control• Drive• Working Principle• Analogue To Digital converter• Circuit Diagram

Page 2: Line follower robot 5th semster

Following Lines• Basic algorithm• Many ways to implement design

Page 3: Line follower robot 5th semster

Research & Development

Page 4: Line follower robot 5th semster

The Robot

Page 5: Line follower robot 5th semster

Overview• Sensory systems

o Data input systems; Collect information of outside world

• Data processing/motor controlo Systems to interpret input signals and decide

what to do

• Drive systemso Output systems for machine; Implement

signals from motor controller

Page 6: Line follower robot 5th semster

Photoresistors• Resistance is inversely

proportional to light levels• Cheapest of the three types

of photoconductive devices• Have the slowest reaction

rate of all photodetectors

Page 7: Line follower robot 5th semster

Data Processing &Motor Control

• Algorithm• Programmable logic device•Microcontroller

Page 8: Line follower robot 5th semster

Line Following Algorithm

• Robot direction is determined by what the robot “sees”o If line is centered in front of robot, go forwardo If line is left of center, turn lefto If line is right of center, turn righto If no line is detected, circle until line is found

Page 9: Line follower robot 5th semster

Line Following Algorithm

• Straight• Left• Right• Circle

Page 10: Line follower robot 5th semster

Programmable Logic Device (PLD)

• Relatively inexpensive• Can easily implement finite state automata• Has limited program capacity• Has limited program capabilities

Page 11: Line follower robot 5th semster

Microcontroller• Costlier than PLD• Relatively easy to program• Memory can be expanded, if needed

Page 12: Line follower robot 5th semster

Drive Systems•DC motor• Stepper motor• Servo motor

Page 13: Line follower robot 5th semster

DC (Toy) Motors• Abundant and cheap• Easy to implement• Provide no feedback

regarding motor speed or position

Page 14: Line follower robot 5th semster

DC Motor• Cheap• Will be run continuously• Does not need advanced features of servo

Page 15: Line follower robot 5th semster

WORKING MODEL• The sensors receive an analog sig Follower robot is a

mobile machine that can follow a path. The path can be a visible black line on a white surface.

• The sensors receive an analog signal that depends on the intensity of light reflected by the black line of emitted beam by the LEDs.

• These signals are sent to the ADC comparator which creates digital signals that are sent to Microcontroller.

• The microcontroller gives instructions to motor to perform work.

Page 16: Line follower robot 5th semster

Emitter Circuit

Page 17: Line follower robot 5th semster

ADC/Comparator

Page 18: Line follower robot 5th semster

Circuit Diagram

Page 19: Line follower robot 5th semster

Micro Controller Code• int msg[8]={0x09,0x08,0x09,0x08,0x01,0x01,0x01,0x00};• int zee;• void main()• { • TRISB=0b00000111;• TRISD=0b00000000;

• while(1) //repeat forever• {• zee=PORTB&0x07; //• PORTD=msg[zee] ;//select the desired value from array msg based on sensors

//position• delay_ms(1);• //provide delay• }

• }