Download presentation
Presentation is loading. Please wait.
Published byOsborn Stone Modified over 9 years ago
2
1
3
Eric Taseski, Yihe Huang, Ronak Mehta H-Bridges and Stepper Motors 2
4
Standard DC Motors Speed determined by voltage level. Motor Vcc 3 GND + - - +
5
Stopping No movement, holds position. 4 Motor Vcc GND STOP
6
Free Spinning Disconnected, does whatever it wants. 5 Motor Vcc GND
7
What if you want precision? 6
8
Stepper Motors! Precision movement via stepping Can count revolutions Can rotate continuously unlike a standard servo 7
9
How Stepper Motors Work Divides a full rotation into a number of steps. Move one ‘step’ at a time. 8
10
Stepper Motors 1. The horizontal pair is driven with power in one direction. This pulls the oppositely polarized teeth to align with them. 2. The horizontal pair is de-energized, and the vertical pair is energized. 3. The vertical pair is de- energized, and the horizontal pair is energized in the opposite direction. 4. The horizontal pair is de- energized, and the vertical pair is energized in the opposite direction. 9
11
How Stepper Motors Work 10
12
Stepper Modes: Wave Mode http://en.wikipedia.org/wiki/File:Drive.png A B C D (codeproject.com) 11
13
Stepper Modes: Full Step Mode http://en.wikipedia.org/wiki/File:Drive.png 12 A B C D (codeproject.com)
14
Stepper Modes: Half Step Mode http://en.wikipedia.org/wiki/File:Drive.png 13 A B C D (codeproject.com)
15
14 http://en.wikipedia.org/wiki/Stepper_motor
16
Stepper Motors Contd. http://www.pololu.com/catalog/product/1205/specs 15
17
How do we power them? 16
18
H-Bridges! Allows low voltage logic while driving external power to motors. Easily control current in both directions, allowing motors to move forwards and backwards. Useful for DC motors, stepper motors, servos, solenoids, etc. 17
19
H-Bridges Each half bridge is a transistor with an enable. LOW Voltage Input Control Logic HIGH Voltage Output Motor Voltage Logic Enable Motor Logic Input 18
20
H-Bridges 19 EN 1,2 EN 3,4 Input 1 Input 2 Input 3 Input 4 Output 1 Output 2 Output 3 Output 4 Vcc, Motor Supply Voltage GND
21
H-Bridge Pinout -EN pins enable output (1 EN pin per pair) -A’s are control inputs -Y’s are outputs -Vcc1 is circuit logic voltage -Vcc2 is the motor supply -Grounds go to ground http://www.ti.com/lit/ds/symlink/l293d.pdf 20
22
Full-Bridge with DC Motor 21 Motor + - Enable Input A Input B ENABLEInput AInput BResult 110Motor turns CW 101Motor turns CCW 10 or 1 Fast Stop 00 or 1 Free Spin 1 0 1 0 1 1 - +
23
How to wire up a stepper motor and the L293D Left side can be adapted to our SmartFusion kits. (codeproject.com) 22
24
Protips #1-4 1.Heatsinks, or drive low to all pins to not drive current 2.Non-negligible voltage drop across H-Bridge 3.Varying PWM Duty Cycles can be used on ENABLE to control voltage supplied (speed control) 4.Frequency response of motor Low PWM frequencies may create audible buzz or hum High PWM frequencies waste power 23
25
References L293D explanation with Stepper Motor details: http://www.codeproject.com/Articles/151763/Motor-Primer-and-the-L293D-Quad-Half-H-Driver Stepper motor configurations with microcontroller pins: http://www.8051projects.net/stepper-motor-interfacing/stepper-motor-connections.php Microstepping (not covered): http://homepage.cs.uiowa.edu/~jones/step/micro.html Different types of stepper motors explained: http://www.wimb.net/index.php?s=motion&page=52 Stepper wikipedia page: http://en.wikipedia.org/wiki/Stepper_motor H-Bridge wikipedia page: http://en.wikipedia.org/wiki/H_bridge Adafruit stepper with arduino tutorial: http://learn.adafruit.com/adafruit-arduino-lesson-16-stepper-motors/breadboard-layout L293D Datasheet: http://www.ti.com/lit/ds/symlink/l293d.pdf 24
26
Backup Slides 25
27
H-Bridge with DC Motor S1S2S3S4Result 1001Move CW 0110Move CCW 0000Free Spin 0101Brake 1010 1100Shoot-through 0011 1111 http://en.wikipedia.org/wiki/H_bridge 26
28
Microstepping Half stepping with sinusoidal transitions between steps allowing theoretically infinitesimally small step sizes. http://en.wikipedia.org/wiki/Stepper_motor 27
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.