Home Stepper Motor Controller
Stepper Motor - Information, Advantages, Building a Stepper Motor Controller

Tags: Control | Electronic Circuit | Embedded | Embedded Systems | Motors | Stepper Motor

Thursday, 27 March 2008 17:47

Stepper Motor

Stepper motors (also called step motors) are electronic motors that offer precise rotation control . Stepper motors are very precise (an average stepper motor can turn in about 0.9 to 1.8 degrees in each direction) and in a relatively high rotational speed.

Stepper motors can be found in various types of hardware components: printers (the printer head moves left and right by using a stepper motor), scanners, computer hard disks, and so on.

 

 

 

 

Demonstration of a Stepper Motor

 In this video you can see a short demonstration of a stepper motor movement. Notice the fine control of the speed and direction -- it is achieved by the motors ability to move in very small steps.

 

 

 

Characteristics and Advantages of Stepper Motors

There are several characteristics of stepper motors which have made them the actuator of choice in a large number of applications:

  1. The device can be operated in an open-loop with a positioning accuracy of +-1 step. Thus to rotate in a certain angular distance, the motor can be commanded to rotate a certain number of steps and the mechanical element coupled to the shaft will move the required distance.
  2. Step motors exhibit high torque at small angular velocities. This is useful for accelerating a payload up to speed.
  3. Stepper motors have high holding torque -they have the property of being "self locking" when the rotor is stationary.
  4. Stepper motors are directly compatible with digital control techniques, and can be easily interfaced to a digital Step\Direction controller, a microprocessor, or a computer.
  5. Stepper motors exhibit excellent positioning accuracy, and even more important, errors are non-cumulative.
  6. Motor construction is simple and rugged. There are usually only two bearings, and the motor generally has a long maintenance-free life. For this reason, it is a cost-effective actuator.
Many of these advantages make the stepper motor useful in certain types of robots or machines. The price gap between Servo motors also gives stepper motors an advantage.

Disadvantages of Stepper Motors

The main disadvantage of stepper motors are the open-loop operation - the lack of feedback for the motor's position (Position Feedback) and it's speed (Velocity Feedback). This disadvantage has a critical effect on the ability to reach high precision and it reduces the general 'safety' of the system.

How is a Stepper Motor built?

Stepper motors have many coils placed in a circle shape. When current passes through one of the coils, it becomes magnetic (the electro-magnetic principle) and thus moves the motor shaft to it's direction. An example animation:

Single Coil Excitation

 

Types of Stepper Motors

There are two main kinds of stepper motors: Unipolar, and Bipolar. The difference between the two kinds is in the way the electromagnets are connected. The advantage of unipolar motors are their simplified control, but on the other hand, their torque (force) is less than that of bipolar motors.The advantage of bipolar motors is greater torque for the same size of motor, but on the other hand a more complex control circuit is needed, one that can change the direction of the current in every step.

There are hybrid motors which can work both in unipolar and bipolar modes, by using the motor's wires differently.

Controlling a Stepper Motor

As opposed to regular DC motors, controlling stepper motors is much more complex. Here there are no two leads that need to be connected to a power source in order to spin the motor. In order to move the motor in a certain direction, a Stepping Sequence should be generated. A stepping sequence is a controlled switching of the motors coils. When a coil is on, current flows through the coils wire's, and it becomes an electromagnet. Then the motor's head is being magnetized to the coil, and a movement is created.

 

Stepping Sequences

 There are 4 kinds of stepping sequences: Full Stepping (also called Single Stepping, Double Stepping, Half Stepping, and Micro Stepping.

Controlling a Stepper Motor using the "Single Step" stepping method

This is the most basic method - turning on a single electromagnet every time.

Step Number
Coil 1
Coil 2
Coil 3
Coil 4
1OnOffOffOff
2 OffOn OffOff
3 OffOffOn Off
4 OffOffOffOn

 

animation:

 

הנעת מנוע צעד בשיטת צעד מלא

 

This sequence requires the least amount of energy and generates the smoothest movement.

Controlling a Step Motor using the "Double-Step" stepping method

In this method two coils are turned on simultaneously.

מספר צעד Coil 1
Coil 2
Coil 3
Coil 4
1OnOnOffOff
2 OffOn OnOff
3 OffOffOn On
4 OnOffOff

On

 

animation:

 

הנעת מנוע צעד בשיטת צעד כפול

 

 This method does not generate a smooth movement as the previous method, and it requires double the current, but as return it generates double the torque.

Controlling a Stepper Motor using the "Half-Step" stepping method

מספר צעד Coil 1
Coil 2
Coil 3
Coil 4
1OnOffOffOff
2 OnOn OffOff
3 OffOnOff Off
4 OffOnOnOff
5 Off
Off
On Off
6 Off
Off
On
On
7 Off
Off
OffOn
8On
Off
OffOn

 

Animation:

 

הנעת מנוע צעד בשיטת חצאי צעדים

 

This method doubles the basic precision (in degrees) the motor can move at. For example, is the motor can move in 1.8 degrees for each step, than using Half-Stepping it is possible to move the motor in 0.9 degrees/step. The disadvantage in this control method is that in half of the sequence, double the current is required (when two coils are on instead of one).

Building a Stepper Motor Controller Circuit

The easiest way to control a stepper motor is using a Step/Direction controller. This kind of controller gets only two inputs - the desired direction of the rotation (1=clockwise, 0=counterclockwise), and an indication of whether to step or stay in the current position(step=1, step=0, accordingly). The controller itself then generates the stepping sequences, as described in the previous section.

 The controller uses powerful MOSFET transistors to switch the current to the coils.

The controller has 5 inputs and 6 outputs:

  • 2 inputs for logic voltage source (5v, ground)
  • 2 inputs for the motors voltage source (up to 50v 10ampere, ground) 
  • 2 inputs for controlling the step and direction
  • 5 outputs for connecting the step motors

Electronic Circuit Schematic for Stepper Motor Controller Circuit


Stepper Motor Controller Schematics

CAD Model

Here you can see a simple computer CAD model of the controller - it uses a simple micro-controller that generates the stepping sequence, and 4 powerful MOSTFET transistors.

בקר מנוע צעד

 


Links



Add this page to your favorite Social Bookmarking websites
Reddit! Del.icio.us! Mixx! Free and Open Source Software News Google! Live! Facebook! StumbleUpon! TwitThis Joomla Free PHP


Comments
Add New
Guest  - can you upload that Hex file please   |Y-m-d H:i:s
It'll be wonderfull if you can upload the Hex file then I can build this stepper controller.

Thanks in Advance
Guest  - abt the stepper circuit.   |Y-m-d H:i:s
Hi,
this stepper circuit is very impressive.as u said if it is capable of delivering 55volts and 20A,then this is the most powerfull circuit i ever seen.
can u give me some more details.imean values of resistor,N-channel mosfet and where to place the capacitor.
and pls provide the HEX flle for the chip.iam using the same stepper like u.
thanks once again for the circuit.
Guest  - COde   |Y-m-d H:i:s
Is there any code to go with this circuit?
Guest  - some aditional information req.   |Y-m-d H:i:s
Is your Common-Connection on Ground ?
Add a schematic to your Site of the Stepper-Pins.

I have create an Stepper-Driver too, but I use for one Stepper-Motor 4 N-Chanel and 4 P-Chanel MosFETs.
Each N+P-Mosfet is connected to a smal Driver.

I use an ATmega micro-controller with serial Interface (RS232/USB)
Write comment
Name:
Email:
 
Title:
 

!joomlacomment 4.0 Copyright (C) 2009 Compojoom.com . All rights reserved."

Last Updated on Wednesday, 03 June 2009 22:38
 

Automatic Tagging

bipolar stepper motor driver 16f877 - mosfet step motor - cnc sematic control fets - diy motor controller driver - motor step direction code - position control circuit of five phase stepper motor by atmega16 - stepper motor controller schematic circuit - stepper single step - stepper motors advantages disadvantages - stepper motor control schematics atmega32 - 20a unipolar stepper driver - left and right movement from stepper motor - atmega32 schematic - cnc stepper motor controoller schematics - pic 16f877 cnc hex file circuit - stepper motor advantages and disadvantages - disadvantages of 3axis stepper motor - microstepping motor controller schematic - stepper motor control with pic high current micro stepping fet diy - stepper motor control circuit advantage disadvantages

Related Articles