SPEED AND DIRECTION CONTROL OF STEPPER MOTOR USING PC

AIM:

The main aim of this project is to design Speed and Direction Control of Stepper Motor Using PC Keyboard via Com Port.

PURPOSE:

Computer controlled stepper motors are one of the most versatile forms of positioning systems. Open loop control ofstepper motors suffers from a major disadvantage that the rotation of the rotor becomes oscillatory and unstable incertain speed ranges. This project presents the micro stepping technique which overcomes the problem of instabilityand at the same time provides high accuracy for micro stepping applications. This technique improves electronicallyresolution of the stepper motors and suppresses oscillations due to effects of mechanical resonance. This has greatlyenhanced its usefulness in modern control applications.

BLOCK DIAGRAM:

MAIN SECTION:

Power Supply:

DESCRIPTION:

In this project the microcontroller which forms the heart of the project, plays an important role in establishing communication between the pc and the microcontroller. In this system a unipolar stepper motor is used (which is used widely in all kinds of floppy drives and CD drives) the use of single microcontroller to control the speed, direction and rotation angle of a stepper motor by sending pulse sequences to the motor winding in response to the control commands.

Commands executed by the code in this application include: single step the motor rotates in a clockwise or counterclockwise direction (i. e. rotate the rotor through a certain number of degrees) when the corresponding key is pressed from the computer keyboard. This is a general purpose application for which a degree of adjustment or programmability is required to meet the needs of specific processes and their performances. This project consists of a stepper motor and a driver IC ULN 2003 that will drive the motor, However the Microcontroller lacks sufficient current to drive the stepper motor windings, so driver ULN2003 (U3) is used to energize the stator, based on the instructions typed by the user in the pc the stepper motor will rotate. In the pc we will type a command and based on the command the stepper motor will work.

SOFTWARES:

  1. Embedded C
  2. Express PCB
  3. Kiel IDE
  4. Uc-Flash or ISP

HARDWARE USED:

  1. Micro Controller
  2. Power Supply
  3. Stepper motor
  4. ULN2003
  5. MAX 232

RESULT:

Hence, the implementation of micro stepping for a standard stepper motor is presented in this paper. The key feature of this controller lies in its flexibility to provide for high position resolution operation of a given stepper motor control system. In the case of retrofitting an existing standard stepper motor controller to a high position resolution controller, the technique presented here appears to be an excellent consideration. The controller is capable of controlling multiple stepper motors simultaneously with very precise resolution.

Head office: 2nd floor, Solitaire plaza, beside Image Hospital, Ameerpet, Hyderabad, E-Mail: , Ph: 9885112363 / 040 44433434 1