Go to GlobalSpec.com Home
Alert   Product Alerts
Keep current on the latest products, new suppliers, and technical articles of interest to you. (See Topics)

Stepper Motor Control Using the PIC16F684

From Microchip Technology, Inc.
 

 

AN906 Stepper Motor Control Using the PIC16F684 MICROSTEPPING Author: Reston Condit Microchip Technology Inc. Single stepping, or turning a stepping motor at its rated step size, results in less than smooth movement. Microstepping is a technique used to smooth the INTRODUCTION motor's movement between full steps and to improve the step resolution of the motor. Microstepping also This application note describes how to drive a bipolar improves the efficiency of the system, because the stepping motor with the PIC16F684. The Enhanced current in the windings of the motor is manipulated in a Capture Compare PWM (ECCP) module is used to controlled manner rather than being turned on and off implement a microstepping technique known as high- abruptly. torque microstepping. The microcontroller's 8 MHz A microstepping technique known as high torque internal oscillator allows the signals generated by the microstepping alternately varies the current in the two ECCP module to achieve frequencies above the windings of a stepping motor. Figure 1 shows a graph audible range. of the current in the windings vs. angular position using Note: Please refer to AN907: Stepping Motor this technique. Fundamentals for information on the types of stepper motors, microstepping and current limiting techniques. FIGURE 1: HIGH TORQUE MICROSTEPPING nt 1st Winding +3S +6S +9S Curre 2nd Winding Angular Position (S = rated step size) A brief description of what is happening is that one For instance, if a 5V stepping motor is rated at 1 amp, winding is powered while the current in the other wind- then modulating a 5V supply across the winding at 50% ing is gradually dropped to zero, reversed, and then will result in a current of 1/2 amp (assuming a low ramped up again. This sequence is then repeated for inductance motor). Equation 1 shows this relationship: the other winding. Note that the transition between a winding being energized in one direction and then EQUATION 1: energized in the other direction has a sinusoidal shape (refer to Figure 1). This shape gives the smoothest I = DĂ— IMAX


Product Announcements
ElectroCraft - .9 Degree Stepper for Precision Control
Lower Cost .9 Degree Stepper is Better Solution for Precision Control EADmotors' .9 degree stepping motor delivers optimum performance in contemporary medical equipment and other applications that... (read more)
Digi-Key Corporation - Texas Instruments’ Motor Driver at Digi-Key
From Digi-Key, Texas Instruments' DRV8811 provides an integrated stepper motor driver solution for printers, scanners, and other automated equipment applications. The device has two H-bridges drivers,... (read more)
Automationdirect.com - Stepper Motors, Drives, Power Supplies
The SureStep open-loop stepping system provides simple & accurate control of position & speed. 9 stepper motors, 3 stepper drives & 4 power supplies are offered. The motors handle a wide... (read more)
Beckhoff Automation LLC - Beckhoff I/O Modules Control Small Step Motors
The new Beckhoff KL2531 and KL2541 stepper motor terminals are a compact and cost-effective I/O alternative to traditional stepper controls. These advanced drive technology Bus Terminals integrate a... (read more)
Critical Velocity Enterprises, LLC - ST-1 Bi Polar Stepper Motor Drives.......
The ST-1 is a low cost bipolar stepper motor driver which can drive a bipolar or unipolar stepper motor of up to 2.5 Amps per phase in full, half, quarter or eighth step increments. The opto-isolated... (read more)
 

Topics of Interest
Chapter 8 introduces the stepper motor, and shows how to drive both unipolar and bipolar steppers in full step, half step and wave modes. It also covers the fundamentals of motor speed up through L/R... (Read More)
The shaft of a stepper motor moves between discrete rotary positions typically separated by a few degrees. Because of this precise position controllability, stepper motors are excellent for... (Read More)
The theory of torque production in the hybrid stepping motor, presented in Section 5.2, requires some modification if the motor is bifilar-wound. Each phase is split into two bifilar windings, which... (Read More)
5.2 Pull-out torque/speed characteristics for the hybrid motor 5.2.1 Circuit representation of the motor The pull-out torque is calculated by establishing a suitable model for the phase... (Read More)
Specialty Motors General Principles of Operation-Stepper A step or stepper motor is one in which electrical pulses are converted into mechanical movements. A standard DC motor, for example, rotates... (Read More)