Title: Microprocessor and Microcontroller Based Systems
1Microprocessor and Microcontroller Based Systems
??? ???? ?????? ??????
The Islamic University of Gaza Faculty of
Engineering Electrical Engineering Department
EELE 4315 Fall 2010
- Instructor
Eng.Moayed N. EL Mobaied
Lecture 15
2Actuators for Robots
Actuators are used in order to produce mechanical
movement in robots.
- In this lecture we will present
- Actuators types
- Control method for
- DC motor
- AC motor
- Stepper motor
- Servos motor
3Actuator Types
4Electrical Actuator
5DC Motor
6AC Motor
7AC Motor
8Stepper Motor
9Stepper Motor
10Servos Motor
11Hydraulic Actuators
12Hydraulic Actuators
13Pneumatic Actuators
14Pneumatic Actuators
15Other Actuators
16DC motor control
- Controller H-bridge
- PWM control
17DC motor control
18H-Bridge
- DC motors only have two leads. The direction it
spins is determined by which terminal has power
applied and which is connected to ground. - An H-bridge consists of four switches (in our
case BJTs) and depending on which two are closed,
allow the motor to operate in either direction - We chose to use an L298 chip from
STMicroelectronics because it has two H-bridges
in one package.
19DC motor control PWM control
- A pulse-width modulated signal is a rectangular
waveform with a varying duty cycle. - A longer duty cycle means the voltage is on for
longer and the average voltage applied to the
motor is higher and vice versa. - Will be implemented using the PWM generator on
our microcontroller.
20Pulse-Width Modulation
21Stepper Motor (uni-polar)
22Stepper Motor
0001
0010
0100
1000
Stepping Sequences for Single Coil Excitation
Only one coil is active at a given instant of time
23Stepper Motor
Single Coil Excitation
24Stepper Motor (Single Coil Excitation)
25Stepper Motor (Double Coil Excitation)
1001
0011
0110
1100
Stepping Sequences for Double Coil Excitation
Two coils active at any given instant of time
26Stepper Motor (Double Coil Excitation)
27Stepper Motor (Driver circuit)
28Stepper Motor (Driver circuit)
29Stepper Motor (sequence)
30Stepper Motor (sequence)
31Servos motor
32Servos motor
- Do not confuse servos with servo motors
33Servos Motor
34Motors and Encoders
35Feedback measurement optical encoder
- direction
- resolution
light sensor
decode circuitry
light emitter
grating
36Optical Encoders
mask/diffuser
light sensor
decode circuitry
light emitter
grating
A diffuser tends to smooth these signals
Ideal
Real
37Optical Encoders
- direction
light sensor
- resolution
decode circuitry
light emitter
grating
38Optical Encoders
- direction
light sensor
- resolution
decode circuitry
light emitter
grating
A
A
A lags B
B
B
39Optical Encoders
- direction
light sensor
- resolution
decode circuitry
light emitter
grating
Phase lag between A and B is 90 degree
A
B
A leads B
40Design problems
Design 1 ( Stepper motor)
- Design controller for stepper motor
- Switch for on/off
- Switch for right/left rotation with single coil
excitation method. - Switch for right/left rotation with double coil
excitation method. - Switch for speed (1,2) selection.