Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Stepper Motor Controller - Embedded System Design - Lecture Slides, Slides of Computer Science

These are the Lecture Slides of Embedded System Design which includes Hardware Design, Elevator Controller, Simple Elevator Controller, Try Capturing, Unit Control, Request Resolver, Sequential Program Model, Partial English Description, System Interface etc. Key important points are: Stepper Motor Controller, Rotates Fixed Number, Power Applied, Voltage Sequence, Controller Greatly Simplifies, Driver, Connected, Several Transistors, Buffers, Microcontroller

Typology: Slides

2012/2013

Uploaded on 03/22/2013

dhritiman
dhritiman 🇮🇳

4.7

(6)

107 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Stepper motor controller
Stepper motor: rotates fixed number
of degrees when given a “step”
signal
In contrast, DC motor just rotates when
power applied, coasts to stop
Rotation achieved by applying
specific voltage sequence to coils
Controller greatly simplifies this
Assume a STEP is a sequence of 5
commands, where each command
moves 1.5 degree.
1
Red A
White A
Yellow B
Black B’
MC3479P
1
5
4
3
2
7
8
6
16
15
14
13
12
11
10
9
Vd
A’
A
GND
Bias’/Set
Clk
O|C
Vm
B
B’
GND
Phase A’
CW’/CCW
Full’/Half Step
Sequence
A B
A’
B’
1 + + - -
2 - + + -
3 - - + +
4 + - - +
5 + + - -
Docsity.com
pf3

Partial preview of the text

Download Stepper Motor Controller - Embedded System Design - Lecture Slides and more Slides Computer Science in PDF only on Docsity!

Stepper motor controller

• Stepper motor: rotates fixed number

of degrees when given a “step”

signal

– In contrast, DC motor just rotates when

power applied, coasts to stop

• Rotation achieved by applying

specific voltage sequence to coils

• Controller greatly simplifies this

• Assume a STEP is a sequence of 5

commands, where each command

moves 1.5 degree.

Red A

White A’

Yellow B

Black B’

MC3479P

1

5

4

3

2

7 8

6

16 15 14 13 12 11 10 9

Vd A’ A

GND

Bias’/Set Clk O|C

Vm B B’

GND

Phase A’ CW’/CCW Full’/Half Step

Sequence A B A’ B’ 1 + + - - 2 - + + - 3 - - + +

4 + - - + 5 + + - -

Stepper motor with controller (driver)

2 A’

3 A

B 15

B’ 14

MC3479P

Stepper Motor

Driver 8051

P1.

P1.

Stepper

Motor

CLK

CW’/CCW

The output pins on the stepper motor driver do not provide enough current to drive the stepper motor. To amplify the current, a buffer is needed. One possible implementation of the buffers is pictured to the right. Q1 is an MJE3055T NPN transistor and Q2 is an MJE2955T PNP transistor. IN is connected to the 8051 microcontroller and OUT is connected to the stepper motor.

Q 1K

1K Q

+V

IN OUT

void main(void){

*/turn the motor forward */

cw=0; /* set direction

clk=0; /* pulse clock */

delay();

clk=1;

/*turn the motor backwards */

cw=1; /* set direction

clk=0; /* pulse clock */

delay();

clk=1;

/* main.c */

sbit clk=P1^1;

sbit cw=P1^0;

void delay(void){

int i, j;

for (i=0; i<1000; i++)

for ( j=0; j<50; j++)

i = i + 0;