Electronic Projects, forums and more.

Go Back   Electronic Circuits Projects Diagrams Free > Electronic Content > Electronic Theory

Electronic Theory Basic principles, ideas, concepts, laws, and formulas behind electronics.

Reply
 
Thread Tools Search this Thread Display Modes
Old 27th March 2006, 12:02 PM
New Member
sanjivee is on a distinguished road
 
Send a message via Yahoo to sanjivee

Default control of stepper motor

On this page, I will explain about the operation principle of stepper motor.
There are many kind of stepper motors. Unipolar type, Bipolar type, Single-phase type, Multi-phase type... Single-phase stepper motor is often used for quartz watch.
On this page, I will explain the operation principle of the 2-phase unipolar PM type stepper motor.

In the PM type stepper motor, a permanent magnet is used for rotor and coils are put on stator. The stepper motor model which has 4-poles is shown in the figure on the left. In case of this motor, step angle of the rotor is 90 degrees.

As for four poles, the top and the bottom and either side are a pair. coil, coil and coil, coil correspond respectively. For example, coil and coil are put to the upper and lower pole. coil and coil are rolled up for the direction of the pole to become opposite when applying an electric current to the coil and applying an electric current to the coil. It is similar about and , too.
The turn of the motor is controlled by the electric current which pours into , , and . The rotor rotational speed and the direction of the turn can be controlled by this control.



Clockwise control
, , and are controlled in the following order.
Step angle
0 1 0 1 0°
1 0 0 1 90°
1 0 1 0 180°
0 1 1 0 270°

"0" means grounding.



Counterclockwise control
, , and are controlled in the following order.
Step angle
0 1 0 1 0°
0 1 1 0 -90°
1 0 1 0 -180°
1 0 0 1 -270°

"0" means grounding.

You can find by the figure, the rotor is stable in the middle of 2 poles of stator. When one side of the stator polarity is changed, the bounce by the magnetism occurs. As a result, the direction of rotor's turn is fixed.

The characteristic of stepper motor is the angle can be correctly controlled and to be stable rotates ( It is due to the reliability of the control signal ). Moreover, because the rotor is fixed by the magnetism in the stationary condition as shown in the principle, the stationary power(Stationary torque) is large. It suits the use to make stop at some angle.

--------------------------------------------------------------------------------

The motor which was used this time is 48 steps and the step angle is 7.5 degrees.
The way of controlling is the same as the previous example completely. It operates when controlling the electric current of coil, coil, coil and coil.


The case of the clockwise control is shown below.
The combination of , , and repeats four patterns.
Step angle
0 1 0 1 0.0°
1 0 0 1 7.5°
1 0 1 0 15.0°
0 1 1 0 22.5°
0 1 0 1 30.0°
1 0 0 1 37.5°
1 0 1 0 45.0°
0 1 1 0 52.5°
0 1 0 1 60.0°
1 0 0 1 67.5°
1 0 1 0 75.0°
0 1 1 0 82.5°
0 1 0 1 90.0°
1 0 0 1 97.5°
1 0 1 0 105.0°
0 1 1 0 112.5°
0 1 0 1 120.0°
1 0 0 1 127.5°
1 0 1 0 135.0°
0 1 1 0 142.5°
0 1 0 1 150.0°
1 0 0 1 157.5°
1 0 1 0 165.0°
0 1 1 0 172.5°
Step angle
0 1 0 1 180.0°
1 0 0 1 187.5°
1 0 1 0 195.0°
0 1 1 0 202.5°
0 1 0 1 210.0°
1 0 0 1 217.5°
1 0 1 0 225.0°
0 1 1 0 232.5°
0 1 0 1 240.0°
1 0 0 1 247.5°
1 0 1 0 255.0°
0 1 1 0 262.5°
0 1 0 1 270.0°
1 0 0 1 277.5°
1 0 1 0 285.0°
0 1 1 0 292.5°
0 1 0 1 300.0°
1 0 0 1 307.5°
1 0 1 0 315.0°
0 1 1 0 322.5°
0 1 0 1 330.0°
1 0 0 1 337.5°
1 0 1 0 345.0°
0 1 1 0 352.5°


Circuit drawing of Stepper Motor controller


--------------------------------------------------------------------------------

Pattern drawing of Stepper Motor controller
(Wiring side)

Last edited by ElectroMaster : 5th October 2006 at 12:37 AM.
sanjivee is offline   Reply With Quote
Old 3rd April 2006, 12:08 PM
Experienced Member
tkvenki is on a distinguished road
 
 
Send a message via Yahoo to tkvenki
Default

Good work sanjeevi
tkvenki is offline   Reply With Quote
Old 3rd April 2006, 05:57 PM
New Member
geezergeek is on a distinguished road
 
Default Stepper Motor controller

I don't see any image or file to download where you indicate the schematic is supposed to be. Am I doing something wrong? Please advise, TIA. Joe
geezergeek is offline   Reply With Quote
Old 7th April 2006, 12:41 PM
New Member
elcopart is on a distinguished road
 
Default

Stepp Motor Driver.
Attached Images
File Type: pdf k179.pdf (125.8 KB, 744 views)
elcopart is offline   Reply With Quote
Old 25th June 2006, 02:13 AM
New Member
xplus is on a distinguished road
 
Default

Good work

think you
__________________
I do you see X Plus
xplus is offline   Reply With Quote
Old 29th June 2006, 04:48 PM
Experienced Member
bibinjohn is on a distinguished road
 
Default

Here are some links for controlling stepper motor using AVR microcontroller

http://booksbybibin.14.forumer.com/viewtopic.php?t=10
http://booksbybibin.14.forumer.com/viewtopic.php?t=9
bibinjohn is offline   Reply With Quote
Old 1st August 2006, 10:20 AM
New Member
florin is on a distinguished road
 
 
Default Stepper

This design implements a simple stepper motor controller using a PIC16F84.

The two buttons cause the motor to rotate clockwise or anticlockwise
using a standard two-coil drive pattern.

The ULN2003A darlington driver provides the interface between the low
current PIC outputs and the stepper motor coils.

Code:
LIST p=16F84 ; PIC16F844 is the target processor #include "P16F84.INC" ; Include header file CBLOCK 0x10 ; Temporary storage pos dc1 dc2 ENDC LIST p=16F84 ; PIC16F844 is the target processor #include "P16F84.INC" ; Include header file CBLOCK 0x10 ; Temporary storage ENDC ORG 0 entrypoint goto start ORG 4 intvector goto intvector start clrw ; Zero. movwf PORTB ; Ensure PORTB is zero before we enable it. bsf STATUS,RP0 ; Select Bank 1 movlw 0xF0 ; Set port B bits 0-3 as outputs movwf TRISB ; Set TRISB register. bcf STATUS,RP0 ; Select Bank 0 movlw 3 ; Initialize the motor position movwf pos movwf PORTB call delay clrf PORTB ; Motor drive off ;Main loop loop btfss PORTA,0 ; Test clockwise button call stepcw btfss PORTA,1 ; Test anti-clockwise button call stepccw goto loop ;Rotate one step clockwise stepcw bcf STATUS,C ; Clear the carry flag btfsc pos,3 ; Set carry if this bit set bsf STATUS,C rlf pos,W ; Pick up and rotate the motor's current position andlw 0x0F ; Mask to lower nibble movwf pos movwf PORTB ; Drive the outputs call delay ; Wait clrf PORTB ; Clear the output return ;Rotate one step counter clockwise stepccw bcf STATUS,C ; Clear the carry flag btfsc pos,0 bsf pos,4 rrf pos,W ; Pick up and rotate the motor's current position andlw 0x0F ; Mask to lower nibble movwf pos movwf PORTB ; Drive the outputs call delay ; Wait clrf PORTB ; Clear the output return ; This routine implements the delay between steps, ; and thus controls the motor speed. delay movlw 18 ; Outer loop iteration count movwf dc1 dl1 clrf dc2 ; Initialize inner loop dl2 nop nop decfsz dc2,F goto dl2 decfsz dc1,F goto dl1 return END
florin is offline   Reply With Quote
Old 2nd August 2006, 07:10 AM
New Member
chamilrohana is on a distinguished road
 
Default

But i cannot see the diagrams








Quote:
Originally Posted by sanjivee
Operation principle of stepper motor

On this page, I will explain about the operation principle of stepper motor.
There are many kind of stepper motors. Unipolar type, Bipolar type, Single-phase type, Multi-phase type... Single-phase stepper motor is often used for quartz watch.
On this page, I will explain the operation principle of the 2-phase unipolar PM type stepper motor.

In the PM type stepper motor, a permanent magnet is used for rotor and coils are put on stator. The stepper motor model which has 4-poles is shown in the figure on the left. In case of this motor, step angle of the rotor is 90 degrees.

As for four poles, the top and the bottom and either side are a pair. coil, coil and coil, coil correspond respectively. For example, coil and coil are put to the upper and lower pole. coil and coil are rolled up for the direction of the pole to become opposite when applying an electric current to the coil and applying an electric current to the coil. It is similar about and , too.
The turn of the motor is controlled by the electric current which pours into , , and . The rotor rotational speed and the direction of the turn can be controlled by this control.



Clockwise control
, , and are controlled in the following order.
Step angle
0 1 0 1 0°
1 0 0 1 90°
1 0 1 0 180°
0 1 1 0 270°

"0" means grounding.



Counterclockwise control
, , and are controlled in the following order.
Step angle
0 1 0 1 0°
0 1 1 0 -90°
1 0 1 0 -180°
1 0 0 1 -270°

"0" means grounding.

You can find by the figure, the rotor is stable in the middle of 2 poles of stator. When one side of the stator polarity is changed, the bounce by the magnetism occurs. As a result, the direction of rotor's turn is fixed.

The characteristic of stepper motor is the angle can be correctly controlled and to be stable rotates ( It is due to the reliability of the control signal ). Moreover, because the rotor is fixed by the magnetism in the stationary condition as shown in the principle, the stationary power(Stationary torque) is large. It suits the use to make stop at some angle.

--------------------------------------------------------------------------------

The motor which was used this time is 48 steps and the step angle is 7.5 degrees.
The way of controlling is the same as the previous example completely. It operates when controlling the electric current of coil, coil, coil and coil.


The case of the clockwise control is shown below.
The combination of , , and repeats four patterns.
Step angle
0 1 0 1 0.0°
1 0 0 1 7.5°
1 0 1 0 15.0°
0 1 1 0 22.5°
0 1 0 1 30.0°
1 0 0 1 37.5°
1 0 1 0 45.0°
0 1 1 0 52.5°
0 1 0 1 60.0°
1 0 0 1 67.5°
1 0 1 0 75.0°
0 1 1 0 82.5°
0 1 0 1 90.0°
1 0 0 1 97.5°
1 0 1 0 105.0°
0 1 1 0 112.5°
0 1 0 1 120.0°
1 0 0 1 127.5°
1 0 1 0 135.0°
0 1 1 0 142.5°
0 1 0 1 150.0°
1 0 0 1 157.5°
1 0 1 0 165.0°
0 1 1 0 172.5°
Step angle
0 1 0 1 180.0°
1 0 0 1 187.5°
1 0 1 0 195.0°
0 1 1 0 202.5°
0 1 0 1 210.0°
1 0 0 1 217.5°
1 0 1 0 225.0°
0 1 1 0 232.5°
0 1 0 1 240.0°
1 0 0 1 247.5°
1 0 1 0 255.0°
0 1 1 0 262.5°
0 1 0 1 270.0°
1 0 0 1 277.5°
1 0 1 0 285.0°
0 1 1 0 292.5°
0 1 0 1 300.0°
1 0 0 1 307.5°
1 0 1 0 315.0°
0 1 1 0 322.5°
0 1 0 1 330.0°
1 0 0 1 337.5°
1 0 1 0 345.0°
0 1 1 0 352.5°


Circuit drawing of Stepper Motor controller


--------------------------------------------------------------------------------

Pattern drawing of Stepper Motor controller
(Wiring side)
chamilrohana is offline   Reply With Quote
Old 4th August 2006, 11:52 AM
New Member
harshpix is on a distinguished road
 
Default

Circuit drawing of Stepper Motor controller


--------------------------------------------------------------------------------

Pattern drawing of Stepper Motor controller
(Wiring side)

Where r all those schematics, u mentioned?

आपने "Circuit drawing of Stepper Motor controller" लिखा तो है पर circuit diagram कहाँ है?
harshpix is offline   Reply With Quote
Old 8th August 2006, 04:48 AM
New Member
manwani is on a distinguished road
 
Default

good work and very nice project that ever i see
manwani is offline   Reply With Quote
Old 24th August 2006, 07:59 AM
New Member
Vortex_ is on a distinguished road
 
Default

Hi people

I am hardly looking for stepper motor control tuttorial for pic 16 f62x.

Glaad for help
Vortex_ is offline   Reply With Quote
Old 24th August 2006, 11:54 AM
akg
Experienced Member
akg is on a distinguished road
 
 
Default

Quote:
Originally Posted by Vortex_
Hi people

I am hardly looking for stepper motor control tuttorial for pic 16 f62x.

Glaad for help
have u looked at www.winpicprog.co.uk tutorials
__________________
Gods own Country
Incredible !ndia

www.flickr.com/photos/_akg/

"Give a man a fish, and he will eat for a day. Teach that man to fish, and he will eat for a lifetime."
akg is offline   Reply With Quote
Old 24th August 2006, 02:53 PM
Experienced Member
HiTech is a glorious beacon of lightHiTech is a glorious beacon of lightHiTech is a glorious beacon of lightHiTech is a glorious beacon of light
 
 
Default

Quote:
Originally Posted by Vortex_
Hi people

I am hardly looking for stepper motor control tuttorial for pic 16 f62x.

Glaad for help
Now, how in the world does one come up with a useful answer to that question, huh?
Why should I look hard when he's hardly looked for it himself!
__________________
Don't make me reach through this monitor to slap you a good one!
HiTech is offline   Reply With Quote
Old 25th August 2006, 09:42 PM
New Member
Meesam is on a distinguished road
 
Default

Anybody please tell me how to identify the cables of a stepper motor. I mean which will be connected to which pin of which port of MCU. Also please help me how to connect some toy tires to the motor. I am not looking for a rover like thing but want to actually test whether a motor can be really tested for speed and direction. I'll be thankful for that.
Meesam is offline   Reply With Quote
Old 26th September 2006, 12:07 AM
Experienced Member
goblin_techies is infamous around these partsgoblin_techies is infamous around these parts
 
 
Default good day dudes!

im sorry for spamming your thread....

im kinda new here...
we have a project (interfacing stepper motor unto computer (PC)) by using the programming language turbo-c....anyone pls help me
or pls send me some links
goblin_techies is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


All times are GMT. The time now is 12:02 PM.




Electronic Circuits  |  Radio Controlled
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0