Presentation is loading. Please wait.

Presentation is loading. Please wait.

 Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using.

Similar presentations


Presentation on theme: " Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using."— Presentation transcript:

1  Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using 8254 chip.  Assume we use the frequency of the clock in microprocessor is 8MHz  When the torque on the stepper is negative it will rotate counter clockwise (CCW) and when the torque is positive the stepper will rotate clockwise(CW).  The low signal in the output (Q) is the negative torque, and the high signal is the positive torque

2 8MHz to run the 8254 The signal out from CNT0 enter into the PRE The signal out from CNT1 enter into the CLR The signal out from Q from the JK F-F controls the stepper motor The stepper motor

3 We use CLR as reference, so What is the mode we used here? We used mode 2, because we have repeated pulses We can’t use 8Mhz to run the stepper motor so, we use the number (30,720), then (8MHz/(30,720)=260Hz). 260Hz is small and fit in one byte When the signal of preset is coming the stepper will start work,the questions is, it will rotate CW or CCw or what? When the new pulse becomes from CLR the output from Flip- Flop becomes zero As we can see the +ve Torque is equal to the –ve torque => the stepper will stop and will not work Here+ve Torque is greater than the – ve torque =>the stepper motor will move CW Here+ve Torque is less than the –ve torque =>the stepper motor will move CCW

4  The stepper motor will stop, move CW or move CCW according the width of the output signal, this technique is called Pulse width modulation(PWM).


Download ppt " Stepper motors are used in a wide variety of applications like Floppy Disc, Printer, Plotter(X-Y- Z positioning).  We control the stepper motor using."

Similar presentations


Ads by Google