second workshop presentation

43
TECHNOLOGY ROBOTICS SOCIETY Indian Institute of Technology, Kharagpur

Upload: robotix-2011

Post on 16-Jul-2015

1.427 views

Category:

Education


0 download

TRANSCRIPT

Page 1: Second Workshop Presentation

TECHNOLOGY ROBOTICS SOCIETY

Indian Institute of Technology, Kharagpur

Page 2: Second Workshop Presentation

A TUTORIAL ON

ROBOTICS

Part III : Motors & Motor Drivers

Page 3: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

Basic Parts Of Our Mobile Robot

Locomotion system

Power supply system

Actuators

Sensory devices for feedback

Sensor Data processing unit

Control system

Page 4: Second Workshop Presentation

Potentiometer

Page 5: Second Workshop Presentation

Capacitors

Page 6: Second Workshop Presentation

LED

Page 7: Second Workshop Presentation

IR LED

Page 8: Second Workshop Presentation

Diodes

Page 9: Second Workshop Presentation

Current Flow in a Diode

Page 10: Second Workshop Presentation

Multimeter

Page 11: Second Workshop Presentation

Transformer

Page 12: Second Workshop Presentation

POWER SUPPLY (RECTIFIER

CIRCUIT)

Page 13: Second Workshop Presentation

IC7805

1 - Input 2 - Ground 3 - Output

Page 14: Second Workshop Presentation

THE RECTIFIER CIRCUIT

Page 15: Second Workshop Presentation

USES OF RECTIFIER CIRCUIT

Rectifier circuit is used to convert Alternating

Current to Direct Current.

We get Alternating Current as Power Supply in

our homes, but electronic components in

robots use Direct Current.

Page 16: Second Workshop Presentation

STEPS OF CONVERTING AC

TO DC

First the Transformer, converts 220V AC to

12V AC.

The Diodes rectify the current in a single

direction.

The Capacitor then normalizes the current.

The little distortions are further rectified by the

IC7805.

Page 17: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

End Actuators

They convert the electrical energy into

meaningful mechanical work

Mechanical output can be rotational or linear

(straight line)

Motors provide rotational motion

Electromagnets provide linear motion

Page 18: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

Motors are of various kinds

AC Motors : Not used much in robotics

Stepper Motors : For controlled rotation

DC Motors : Finds extensive general use

Servo Motors : DC motor with in built feedback

& error compensation

Page 19: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motors

As the name

suggests, a motor which

uses a DC (Direct

Current) power

Can run in both

directions

Speed Controllable

Page 20: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Working

A

-

+

DC MOTOR12

A

-

+

DC MOTOR12

V DC

V DC

Direction of rotation controlled by polarity of current / voltage

Speed of rotation controlled by average energy (power) fed to the motor

Page 21: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Specifications

Operating Voltage : Recommended voltage for powering the motor

Operating Current : Current drawn at a certain load on the shaft

Stall Current : Maximum current drawn, when motor not allowed to rotate

Stall Torque : Rotation force needed to hold the motor in stall condition

Page 22: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Characteristics

Free running torque & current are ideally zero

Increased load implies, increased

torque, current drawn & power consumption

Power supplied by a motor is the product of

output shaft’s rotational velocity & torque

Page 23: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Characteristics Cont...

DC Motors are high–speed, low-torque

devices

Using gears, the high speed of the motor is

traded off into torque

Page 24: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Characteristics Cont…

Zero speed at maximum load (stall torque)

Highest speed while free running (zero load)

Highest power at half speed & half load

50%

50%

20%

10%

40%

100%

80%

60%

90%

SPEED ------>

POWER

60%

90%

40%

70%

70%

30%

LOAD

20%

30%

100%

80%

10%

Page 25: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Drivers

These are current amplifying circuits

A low current control signal is converted into a proportionally higher current signal that can drive the motor

Power Transistors can switch high currents. The ICmax is usually of the order of Amps as compared to small signal transistors which have ICmax in mA

Page 26: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Direction Control

H – Bridge Circuit Diagram

S1

S3

S2

S4

M1 2

VCC

Power

Transistor

Switches

Page 27: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

H – Bridge Working

S1 S2 S3 S4 Current

Direction

Effect

1 0 0 1 1 to 2 Motor spins

forward

0 1 1 0 2 to 1 Motor spins

backward

1 1 0 0 - Braking Occurs

0 0 0 0 - Free running

Page 28: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

Electronic Direction Control

H – Bridge Circuit Diagram

GND

VCC

NOT GATE

12Q1 Q3

A- +

DC MOTOR

12

LQ4Q2

R

NOT GATE

12

Page 29: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Speed Control Circuit

Input is the operating voltage & control signal

Output is a part of the operating voltage depending upon the control signal

A

-

+

DC MOTOR12

OPERATINGVOLTAGE

VOLTAGE

CONTROL

CIRCUIT

CONTROL SIGNAL

Page 30: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

DC Motor Speed Control Cont…

Controlling the current by passing it through a

variable resistor is not advisable as it is

extremely energy inefficient

A trick is done to achieve reduced average

power

Power is supplied to the motor in short

intermittent bursts, as explained further

Page 31: Second Workshop Presentation

Duty Cycle Fundamentals

8s5s

2s

9s

100%

80%

4s

10s

100% Duty Cycle

40%

60%

7s8s4s

VOLTAGE

------>

40%

40% Duty Cycle

80%

5s9s

20%

1s

80% Duty Cycle

2s 3s3s

20%

6s

TIME------>

4s

20% Duty Cycle

VOLTAGE

------>

8s

2s

100%

9s

VOLTAGE

------>

20%

10s7s

80%

60%

1s

80%

7s

100%

9s6s

1s

5s 5s

TIME------>

40%

60%

TIME------>

VOLTAGE

------>

6s3s 10s7s

6s10s

2s 1s

60%

40%

3s

20%

4s

100%

TIME------>

8s

Page 32: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

Duty Cycle Cont…

The time period (τ) is the duration after the

voltage waveform repeats itself

Duty Cycle is the % time of τ, the voltage is

equal to the operating voltage

The average voltage is equal to the ‘Duty Cycle’ % of the Operating Voltage

Page 33: Second Workshop Presentation

Copyright © Robotix Team, IIT Kharagpur

Pulse Width Modulation

PWM is a technique using which we can modify the duty cycle of a waveform depending upon an input control voltage

This forms the backbone of our speed control circuit

It can be easily implemented using the popular multipurpose IC 555, used widely for hobby electronics

Page 34: Second Workshop Presentation

Analogous to human sensory organs

Eyes, ears, nose, tongue, skin

Sensors help the robot knowing its surroundings better

Improves its actions and decision making ability

Provides feedback control

Sensors

Page 35: Second Workshop Presentation

LDR - Light Dependent Resistor

Made of cadmium sulphide

Resistance between two terminals vary depending on the intensity of light

Can be used to differentiate contrast colours

Page 36: Second Workshop Presentation

Comparator

VX > VY Z = 1

VX < VY Z = 0

+

-

X

Y

Z

Page 37: Second Workshop Presentation

Sensor Interfacing

Light Sensing Module using LED-LDR combination

Page 38: Second Workshop Presentation

Sensor Interfacing

Bump Detector Module

Page 39: Second Workshop Presentation

Shaft Encoder

Shaft Encoders are used to measure the rotation of

motor shaft. The holes / sectors are counted

Page 40: Second Workshop Presentation

An Example - Line Follower

A line follower is a robot

capable of tracking a line

drawn on a surface

Optical sensors capture the

line position at the front end

of the robot

The robot is steered to keep

it always over the line

Page 41: Second Workshop Presentation

Block Layout of Line Follower

Optical Sensor Array

Steering Controller

Left Motor Right Motor

Page 42: Second Workshop Presentation

Line Following Algorithm

All the sensors are assigned

some weight such as

Sensor 1 = a1 = 3

Sensor 2 = a2 = 2

Sensor 3 = a3 = 1

Sensor 4 = a4 = -1

Sensor 5 = a5 = -2

Sensor 6 = a6 = -3

Page 43: Second Workshop Presentation

Monday (9th August 2010)

Section 1-4 5:30 PM – 8:30 PM

Section 5-7 8:30PM - 10:30PM

Tuesday(10th August 2010)

Section 8-11 5:30 PM – 8:30 PM

Section 11-14 8:30PM - 10:30PM

Wednesday(11th August 2010)

Free Slot 5:30PM onwards

ROBOTIX Interviews