To learn and understand the principle of operation of the stepper motors, to me is very important. A stepper motor is always the simplest, cheapest and lighter solution for accurate positioning systems. It this article, i will explain how the stepper motors are made, and how they work. It is necessary to have some very basic knowledge for the operation of DC motors to follow this article. I suggest you read first How DC Motors are made and how they work.
What is a stepper motor?
First of all, a stepper motor is a motor. This means, that it converts electrical power into mechanical power. The main difference between them and all the other motors, is the way they revolve. Unlike other motors, stepper motors does not continuously rotate! Instead, they rotate in steps (from which they got the name). Each step is a fraction of a full circle. This fraction depends mostly from the mechanical parts of the motor, and from the driving method. The stepper motors also differs in the way they are powered. Instead of an AC or a DC voltage, they are driven (usually) with pulses. Each pulse is translated into a degree of rotation. For example, an 1.8o stepper motor, will revolve its shaft 1.8o on every pulse that arrives. Often, due to this characteristic, stepper motors are called also digital motors.
First of all, you may want to see the videos with the 3d model of a stepper motor, that i explain how it is made and how it operates:
PART 1
PART 2
A very basic stepper motor
As all motors, the stepper motors consists of a stator an a rotor. The rotor carries a set of permanent magnets, and the stator has the coils. The very basic design of a stepper motor would be as follows:
There are 4 coils with 90o angle between each other fixed on the stator. The way that the coils are interconnected, will finally characterize the type of stepper motor connection. In the above drawing, the coils are not connected together. The above motor has 90o rotation step. The coils are activated in a cyclic order, one by one. The rotation direction of the shaft is determined by the order that the coils are activated. The following animation demonstrates this motor in operation. The coils are energized in series, with about 1sec interval. The shaft rotates 90o each time the next coil is activated:
Driving modes
In this section, i will explain the various ways that the coils are energized, and the results on the motors shaft.
Wave drive or Single-Coil Excitation
The first way is the one described previously. This is called Single-Coil Excitation, and means that only one coil is energized each time. This method is rarely used, generally when power saving is necessary. It provides less than half of the nominal torque of the motor, therefore the motor load cannot be high.
This motor will have 4 steps per full cycle, that is the nominal number of steps per cycle.
Full step drive
The second and most often used method, is the Full step drive. According to this method, the coils are energized in pairs. According to the connection of the coils (series or parallel) the motor will require double the voltage or double the current to operate that needs when driving with Single-Coil Excitation. Yet, it produces 100% the nominal torque of the motor.
This motor will have 4 steps per full cycle, that is the nominal number of steps per cycle.
Half stepping
This is a very interesting way to achieve double the accuracy of a positioning system, without changing anything from the hardware! According to this method, all coil pairs can be energized simultaneously, causing the rotor to rotate half the way as a normal step. This method can be single-coil or two-coil excitation as well. The following animations make this clear:
Single-Coil excitation
Two-Coil excitation
With this method, the same motor will have double the steps per revolutions, thus double the accuracy in positioning systems. For example, this motor will have 8 steps per cycle!
Microstepping
Microstepping is the most common method to control stepper motors nowadays. The idea of microstepping, is to power the coils of the motor NOT with pulses, but with a waveform similar to a sin waveform. This way, the positioning from one step to the other is smoother, making the stepper motor suitable to be used for high accuracy applications such as CNC positioning systems. Also, the stress of the parts connected on the motor, as well as the stress on the motor itself is significantly decreased. With microstepping, a stepper motor can rotate almost continuous, like simple DC motors.
The waveform that the coils are powered with, is similar to an AC waveform. Digital waveforms can also be used. here are some examples:
Powering with sine wave
Powering with digital signal
Powering with high resolution digital signal
The microstepping method is actually a power supply method, rather than coil driving method. Therefore, the microstepping can be applied with single-coil excitation and full step drive. The following animation demonstrated this method:
Although it seems that the microstepping increases the steps even further, usually this does not happen. In high accuracy applications, trapezoidal gears are used to increase the accuracy. This method is used to ensure smooth motion.
Dear sir,
Thank you for gave the information about stepper motor works.
I understood the principle of working with the help of animation.
Regards,
G.Parthiban, Kalpakkam.
At 20 October 2015, 11:46:29 user Mike D wrote: [reply @ Mike D]
Awesome, thank you. I did find it just a bit slow for me but that is because I knew some of this before coming here.
That said it has given me a great deal of new knowledge and insight that will help me connect up my first stepper motor and have it actually work.
Thank you again.
Great tutorial! I suggest you slow the animations down, perhaps leaving a 3 second interval between steps. As it is now, it is visually difficult to keep up with each step of the sequence and study how the current flows through each winding.
Thanks for your efforts.
Dear Giorgios,
Fantastic explanation and didatics! I disassembled a disquette drive and found a very strange looking motor inside. Now I know it`s a stepper motor. Could you please inform with what software you designed the 2 demo videos?
I have a bunch of stepper motors that have failed. When installed in the machine they just vibrate back and forth. I know it is the motor because when I put in a new motor they machine works just fine.
Do you think there is anyway to repair these stepper motors?
It is a Hybrid .9 degree NEMA 23. Do you think a coil shorted or is it something to do with the magnetism? Or??
Thanks
Russ
At 25 January 2013, 0:46:08 user Bojar wrote: [reply @ Bojar]
Your explanation makes this so clear...Thanks!
At 1 January 2013, 10:27:48 user swamy wrote: [reply @ swamy]
u explanation is just awesome.thanq for giving valuable inf.
VERY GOOD PRESENTATION FOR BASIC CONCEPT FOR STEPPER DRIVE.
PLEASE GUIDE US FOR BIPOLAR STEPPER DRIVE & UNIPOLAR DRIVE.
IS BIPOLAR DRIVE WORK ON UNIPOLAR.
WHAT IS THE DIFFERENCE IN BIPOLAR & UNIPOLAR
YOUR GUIDE LINE IN THESE MATTER WILL BE HGIHLY APPRECIATED.
At 24 September 2012, 23:36:38 user truk wrote: [reply @ truk]
OK that animation mid-page on the right finally clicked in for how real steppers work and how you can get to smaller steps. All the beginner diagrams only show 4 poles and compass style rotors with giant 90 deg steps. that animation is fantastic, thanks so much!
At 19 September 2012, 14:10:43 user brijesh wrote: [reply @ brijesh]
@Vimee Bakori first disconnect completely the wires from the motor. You will need either 4 multimeters, or 4 LEDs or other source of light. Then , you must see between each of the 4 wires and the ground a pulse. The pulse must follow the pattern of a full or half step as explained in this article.
At 16 August 2012, 13:35:39 user John wrote: [reply @ John]
Good Day and Many Congrats for your presentation!
One question pls...
In a step motor with 4 wires (1=R, 2=S, 3=T AND 4=COMMON ),
how can measure by multimeter the voltage in order to understand if signal is correct?
i.e. I can measure sometimes 31V Only to one of three cables, or only to 2 of 3, or to all 3 cables...
How is the constraction of 4 wire motor with common ?
You definitely were born to be a teacher. What a great elementary style tutor in stepper motors. I actually understand how they work now. Something I thought I would never understand.
@Stefan
1. Depends on the stepper. For example, one stepper may have 5 ohms coils. Then, you will measure 5 ohms between the sides of the coil, and 2.5 ohms between one side and the middle wire.
2. You don't need to recognize them, they are bipolar motors. Only bipolars have 4 wires.
3. As i said in point 1, a 5 (or 6) wires motor has 2 coils. So, you must find one big and one small resistance between the coils. When you measure the resistance and you find the "big" resistance, then you are sure that you are holding the ends of the coils. Now be careful!!! If the motor has 5 wires, this means that the middle coils are internally connected! What this means is that you may find a big resistance between the ends of ONE coil, or between the ends of the 2 coils!!! That will trick you. No matter what, big resistance comes only from end-side of coils. Small resistance (which is half the big resistance) means that one wire is the middle.
Hi there,very good explaining about the stepp motors and how they work.I have 3 questions about them.
1.If I messure resistance on the coils,what I will get?
2.I have 2 stepp motors,they have 4 wires.And how can I recognize them?
3.The common pin how I can recognize it from the others,is there any resistance or something like that so I can recognize it?
Thank you
I really appreciate your presentations. I happen to be a experimental biologist student, and wanted to understand dc and stepper motors so i could understand what is to be believed the mechanism of bacterial flagella.
Your information is priceless.
Don’t worry about your accent, should someone not like it they can look elsewhere for the knowledge they seek.
Thank you.
@Terje damn i saw your post in the forum and totally forgot to answer. I will answer in the forum asap.
http://pcbheaven.com/forum/index.php/topic,1159.0.html