Stepping Sequence

Discussion in 'General Electronics Chat' started by p30tec, Jan 6, 2013.

  1. p30tec

    Thread Starter New Member

    Jan 6, 2013
    5
    0
    Hello
    I need stepper motor Stepping Sequence for microstepping
    How can I find 512th , 256th , 128th , 64th , 32th , 16th , 8th , 4th Stepping Sequence ?? I search for books and articles but not found

    128th , 64th , 32th is most important for me
     
  2. R!f@@

    AAC Fanatic!

    Apr 2, 2009
    8,750
    759
    Did you google them ?
     
    p30tec likes this.
  3. p30tec

    Thread Starter New Member

    Jan 6, 2013
    5
    0
    Yes , I google them and nothing found , I found only full and half Stepping Sequence

    [​IMG]
    [​IMG]
     
    Last edited: Jan 6, 2013
  4. p30tec

    Thread Starter New Member

    Jan 6, 2013
    5
    0
    any book or article ?
     
  5. ScottWang

    Moderator

    Aug 23, 2012
    4,853
    767
    You may search : microstepping motor, I'm not sure is that what you want or not, but that kind of setpping motor can be separated to more setp.
     
    p30tec likes this.
  6. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    Look at this:
    http://www.ti.com/lit/an/slva416/slva416.pdf
     
    p30tec likes this.
  7. p30tec

    Thread Starter New Member

    Jan 6, 2013
    5
    0
    No , I don't need it , Let me Explain more
    I want to design a microstepping Stepper motor driver using micro controller and need Stepping Sequence

    For example in Full step mode Stepping Sequence is
    [​IMG]
    and we have 4 entries in table

    I need 64 entries in a table for Stepping Sequence for 16th Step
    And
    I need 128 entries in a table for Stepping Sequence for 32th Step
    And
    ...
     
  8. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    The table shows full on/off states for the coils. If you look at the link - fig. 2
    you will see the individual coils are turned on in partial steps, not on/off.
    The table would have numbers to represent fractions of on/off levels.

    Why not use the method in the link?
     
  9. GopherT

    AAC Fanatic!

    Nov 23, 2012
    6,006
    3,763
    Micro-stepping a motor is a micro-controller trick, not a simple table. The trick usually involves pulse-width modulation (Pwm) of a pair of wires to fight the two normal states and hover in between. You have to pick your Pwm frequency carefully. Too high and the coil inductance (LR filter) will truely average your input and you will lose holding torque (and heat your motor through induction). Too low and you will start shuttering and defeat the micro stepping goal.

    The micro steps are essentially a coil pair slowly transistioning with duty cycle of A and C going from 0 to 100% duty cycle while b and D go dorm 100% duty cycle to 0. You can pick 8 discrete steps from 0 to 100 for 32 micro steps or 16 if you want 64. All is possible with a Microcontroller.

    There may be other ways but that was how a very smart 3D printer code handled micro stepping. It really slows your maximum speed but you can also disable micro stepping for long movements, albeit with less precision.
     
    Last edited: Jan 6, 2013
  10. p30tec

    Thread Starter New Member

    Jan 6, 2013
    5
    0
    oh , I think you dont understand my question
    STMD(An AVR-Based Microstepping Bipolar Chopper Stepper Motor Driver) is very similar to my design , Visit http://avrstmd.com/ plz
    In this design micro controller generate Stepping Sequence and For power switching, National Semiconductor’s LMD18245T 3A, 55V DMOS Full-Bridge Motor driver chips are used

    here is an example of Stepping Sequence

    ; Stepping Sequence for Full Step Drive (1 Phase On Wave Drive)
    ; 90 degrees electrical per full step

    Code ( (Unknown Language)):
    1. seq_full_wave:              ; 4 entries in table
    2.     .db 0b11, 0b00001111    ;   0 degrees
    3.     .db 0b10, 0b11110000    ;  90 degrees
    4.     .db 0b00, 0b00001111    ; 180 degrees
    5.     .db 0b01, 0b11110000    ; 270 degrees
    Also for 16th step

    Code ( (Unknown Language)):
    1. ; Stepping Sequence for Sixteenth Step Drive with Torque Compensation                                          
    2. ; 90 degrees electrical per full step / 16 microsteps per full step = 5.625 degrees electrical per microstep                                           
    3.  
    4. seq_sixteenth:              ; 64 entries in table
    5.     .db 0b11, 0b00001111    ;   0.000 degrees
    6.     .db 0b11, 0b00011111    ;   5.625 degrees
    7.     .db 0b11, 0b00111111    ;  11.250 degrees
    8.     .db 0b11, 0b01001110    ;  16.875 degrees
    9.     .db 0b11, 0b01101110    ;  22.500 degrees
    10.     .db 0b11, 0b01111101    ;  28.125 degrees
    11.     .db 0b11, 0b10001100    ;  33.750 degrees
    12.     .db 0b11, 0b10101100    ;  39.375 degrees
    13.     .db 0b11, 0b10111011    ;  45.000 degrees
    14.     .db 0b11, 0b11001010    ;  50.625 degrees
    15.     .db 0b11, 0b11001000    ;  56.250 degrees
    16.     .db 0b11, 0b11010111    ;  61.875 degrees
    17.     .db 0b11, 0b11100110    ;  67.500 degrees
    18.     .db 0b11, 0b11100100    ;  73.125 degrees
    19.     .db 0b11, 0b11110011    ;  78.750 degrees
    20.     .db 0b11, 0b11110001    ;  84.375 degrees
    21.     .db 0b10, 0b11110000    ;  90.000 degrees
    22.     .db 0b10, 0b11110001    ;  95.625 degrees
    23.     .db 0b10, 0b11110011    ; 101.250 degrees
    24.     .db 0b10, 0b11100100    ; 106.875 degrees
    25.     .db 0b10, 0b11100110    ; 112.500 degrees
    26.     .db 0b10, 0b11010111    ; 118.125 degrees
    27.     .db 0b10, 0b11001000    ; 123.750 degrees
    28.     .db 0b10, 0b11001010    ; 129.375 degrees
    29.     .db 0b10, 0b10111011    ; 135.000 degrees
    30.     .db 0b10, 0b10101100    ; 140.625 degrees
    31.     .db 0b10, 0b10001100    ; 146.250 degrees
    32.     .db 0b10, 0b01111101    ; 151.875 degrees
    33.     .db 0b10, 0b01101110    ; 157.500 degrees
    34.     .db 0b10, 0b01001110    ; 163.125 degrees
    35.     .db 0b10, 0b00111111    ; 168.750 degrees
    36.     .db 0b10, 0b00011111    ; 174.375 degrees
    37.     .db 0b00, 0b00001111    ; 180.000 degrees
    38.     .db 0b00, 0b00011111    ; 185.625 degrees
    39.     .db 0b00, 0b00111111    ; 191.250 degrees
    40.     .db 0b00, 0b01001110    ; 196.875 degrees
    41.     .db 0b00, 0b01101110    ; 202.500 degrees
    42.     .db 0b00, 0b01111101    ; 208.125 degrees
    43.     .db 0b00, 0b10001100    ; 213.750 degrees
    44.     .db 0b00, 0b10101100    ; 219.375 degrees
    45.     .db 0b00, 0b10111011    ; 225.000 degrees
    46.     .db 0b00, 0b11001010    ; 230.625 degrees
    47.     .db 0b00, 0b11001000    ; 236.250 degrees
    48.     .db 0b00, 0b11010111    ; 241.875 degrees
    49.     .db 0b00, 0b11100110    ; 247.500 degrees
    50.     .db 0b00, 0b11100100    ; 253.125 degrees
    51.     .db 0b00, 0b11110011    ; 258.750 degrees
    52.     .db 0b00, 0b11110001    ; 264.375 degrees
    53.     .db 0b01, 0b11110000    ; 270.000 degrees
    54.     .db 0b01, 0b11110001    ; 275.625 degrees
    55.     .db 0b01, 0b11110011    ; 281.250 degrees
    56.     .db 0b01, 0b11100100    ; 286.875 degrees
    57.     .db 0b01, 0b11100110    ; 292.500 degrees
    58.     .db 0b01, 0b11010111    ; 298.125 degrees
    59.     .db 0b01, 0b11001000    ; 303.750 degrees
    60.     .db 0b01, 0b11001010    ; 309.375 degrees
    61.     .db 0b01, 0b10111011    ; 315.000 degrees
    62.     .db 0b01, 0b10101100    ; 320.625 degrees
    63.     .db 0b01, 0b10001100    ; 326.250 degrees
    64.     .db 0b01, 0b01111101    ; 331.875 degrees
    65.     .db 0b01, 0b01101110    ; 337.500 degrees
    66.     .db 0b01, 0b01001110    ; 343.125 degrees
    67.     .db 0b01, 0b00111111    ; 348.750 degrees
    68.     .db 0b01, 0b00011111    ; 354.375 degrees
    As you can see in seq_sixteenth table we have a Stepping Sequence for 16th Step Drive , I need more than 16th step , 32th 64th 128th
     
  11. tubeguy

    Well-Known Member

    Nov 3, 2012
    1,157
    197
    Your post shows the different binary numbers / fractions of full steps.
    Wave Drive is shown in the TI Link.
     
Loading...