1 / 4

Example on 8254 Motor Control

Example on 8254 Motor Control. 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

yvon
Download Presentation

Example on 8254 Motor Control

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Example on 8254Motor Control • 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. The stepper motor 8MHz to run the 8254 The signal out from CNT0 enter into the PRE The signal out from Q from the JK F-F controls the stepper motor The signal out from CNT1 enter into the CLR

  3. We can’t use 8Mhz to run thestepper motor so, we use thenumber (30,720), then (8MHz/(30,720)=260Hz). 260Hz is small and fit in one byte We use CLR as reference, so What is the mode we used here? We used mode 2, because we have repeated pulses When the signal of preset is coming the stepper will start work,the questions is , it will rotate CW or CCw or what? As we can see the +ve Torque is equal to the –ve torque => the stepper will stop and will not work When the new pulse becomes from CLR the output from Flip-Flop becomes zero 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. Example on 8254Motor Control • 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).

More Related