Modeling Position Tracking System with Stepper Motor

DOI : 10.17577/IJERTV2IS2405

Download Full-Text PDF Cite this Publication

Text Only Version

Modeling Position Tracking System with Stepper Motor

Shreeji S. Shetp, Pankaj Kr. Gupta2, J. K. Hota3

Abstract

The position tracking system is used in many applications like pointing an antenna towards a desired direction in order to minimize de-pointing losses or moving the telescope to track an star. The stepper motor is used in many positioning systems and constant speed devices where high speed is not required. Modeling and simulation of the electromechanical behavior of stepper motor and overall tracking system is important to analyze the behavior of overall tracking system in different conditions. MATLAB is used for modeling and simulation of position tracking system. Stepper motor is modeled using differential equations and its behavior is observed by solving these equations numerically. The complete tracking system is modeled which includes modeling of potentiometer, pulse and direction generator, sequence generator and gear reduction (if speed reduction or more resolution in position is required) along with stepper motor and simulation results are presented for different conditions.

Keywords: stepper motor, tracking system, MATLAB, modeling

  1. Introduction

    To track position of a body or target mechanical operation is required. This requires electromechanical devices like motor to position the body as commanded. Conventionally DC and AC motors are used but, with that it is difficult to determine exact position of the load or motor speed or how much motion has been produced, unless external encoders or sensors are used. Also stopping of motion requires clutches or brakes to be used, whereas stepper motor moves one step per one pulse. Starting and stopping operation is stepper motors inbuilt characteristics. Speed of the tracking system depends on pulse rate which decides excitation change of stepper phases. [1][2]

    Stepper motor is the device that translates an electrical command signal to change in position of a rotor shaft. This

    position change is linear and discrete in quantity. [1] Three basic types Variable reluctance stepper motor, Permanent magnet stepper motor and Hybrid stepper motor have been considered while modeling. Hybrid stepper motor comes with small step angles and 0.9 . More resolution is achieved by using gear reduction or by micro stepping.

    For this work, two phase stepper motor is modeled and method to extend it to 4 and 6 phase is also explained. Here, for modeling, stepper motor with step size is considered with gear reduction to achieve resolution up to .00625 .

    A position tracking system model is proposed and simulated for different step rates in MATLAB and its responses are presented in the later sections.

    The details of stepper motor modeling are given in section

  2. The stepper motor specifications and simulation results are presented in section 3. In section 0, tracking system model details are presented. The simulation results for tracking system are discussed in section 5.

  1. Stepper Motor Model

    Figure 1: Stepper Motor Winding Model [1] [2]

    A stepper motor with 2 phases (2 windings A and B) having winding resistance R, winding inductance L, N rotor teeth, Jr rotor inertia, Dr viscous damping coefficient, Kd detent torque constant can be modeled by,

    =

    =

    method.

    For variable reluctance and hybrid stepper motor

    Jr* gives total load acceleration torque TA.

    Va and Ia are the winding voltage and winding current of winding A. Similarly, Vb and Ib are the winding voltage and winding current of winding B.

    These model equations can be solved by runge kutta

    Figure 2 : Step response of stepper motor: Current, applied voltage, angular velocity and step

    Where, L0 & L1 are minimum & maximum inductance respectively.

    In modeling gear ratio 160:1 is considered. So when rotor moves the load moves

    So, resolution of the system is .0063 .

    Here to model 2 phase stepper motor we are taking two phases exactly out of phase (90 ). So, we have taken sin (N ) and cos (N ). If we want to model 3 or 4 phase stepper motor, we should take them and out of phase. So for 3 phase stepper motor we will take sin (N ), sin (N +60 ) and sin (N +120 ).[3]

  2. Stepper Motor Model parameters and Simulation results

    Parameters

    Value

    Motor_Maximum_current I0

    2

    No of Rotor Teeth N

    180

    Winding Resistance R

    46

    Winding Inductance L

    0.0828+0.0828*si

    n( )

    Motor_Torque_Constant Km

    0.15

    Detent_Torque_constant Kd

    0.10*Km*I0

    Viscous_Friction_coefficient B

    0.00

    Motor and load Inertia J

    1.6*10^-6

    Load Torque Tl

    0.0

    The response of stepper motor modeled above for single step is shown in Figure 2. It can be seen that current in windings takes some time to build up and then remains constant over the one step time. Angular velocity also increases and at the end of step timing it becomes zero. This means after each step rotor comes to one detent position. The settling time for one step is .05 seconds as shown in Error! Reference source not found.. It also shows that its step angle is 0.00625 .

    Figure 3 : step response of the modeled stepper motor

  3. Tracking System Model

    A tracking system consists of following elements as shown in Figure 4:

    Sequencer:

    It generates appropriate sequence for excitation change according to direction pulse on occurrence of the pulse.

    Stepper motor:

    It takes excitation change in account and moves the rotor one step in accordance with the sequence. It keeps RMS current constant with changing its direction as the excitation changes.

    The above mentioned system is modeled as below:

    If the error voltage received is positive then direction signal will be 1 and if negative then -1.

    Then the sequence is generated by taking

    Where, Pre_Motor_posi is present motor position. Hence, multiplication of voltage source of 28 volt with position dependent constant generates proper sequencing.

    As stepper motor operation is step per pulse, maximum error possible is half the step size, because the error is non- cumulative for multistep operation. Speed of the tracking can be changed by changing pulse rate.

    ref

    Dir A+

    Translator

    Translator

    A-

    pulse Sequencer

    Ia Stepper Ib

  4. Simulation results and discussion

    Case 1: The simulation result for 4 steps at 10 steps/sec is

    B+ Motor

    B-

    Antenna &

    Gear

    Gear

    Platform

    shown in Figure 5 and following are the observations:

    Feedback

    Figure 3 : stepper motor based position tracking system

    Translator:

    Translator takes error voltage as input and decides direction of rotation, clock wise or anti clock wise. Also it generates pulses to inform sequencer to take next sequence of excitation.

    Figure 4 : 4 steps at 10steps/sec

    /tr>

    In Figure 5

    Reference position

    0.025

    initial antenna position

    0.0

    present antenna position

    0.024999674603542

    error in tracking

    3.253964580007818e-07

    Figure 5 : 4 steps at 20steps/sec

    Case 2: The simulation result for 4 steps at 20 steps/sec is shown in Figure 6 and Following are the observations:

    In Figure 6

    Reference position

    0.025

    initial antenna position

    0.0

    present antenna position

    0.025019105435733

    error in tracking

    1.910543573300019e-

    05

    Case 3: The simulation result for 4 steps at 100 steps/sec is shown in Figure 7 and Following are the observations:

    In Figure 7

    Reference position

    0.025

    initial antenna position

    0.0

    present antenna position

    0.0242

    error in tracking

    -7.5097e-004

    Figure 7 shows the response of modeled tracking system at different step rates. At the speed of 10steps/sec(Figure 5) and

    20steps/sec (Figure 6) after each step rotor comes to detent position, where its speed is zero and in next step again its speed is build up to move next step and at the end of one step movement, it reaches to zero. After reaching to one detent position current becomes constant until the excitation change occurs. In Figure 7 as the step rate is increased, it loses synchronization so at the end of commanded 4 steps motion also it keeps on moving as its speed is not becoming zero.

    Figure 6 : 4 steps at 100 steps/sec

    Case 4: Figure 8 shows that the model is working for both clockwise and anti clockwise rotation. In clockwise direction also we get error less than 2mDeg, and the rotor stops after reaching the reference position if operated at low step rate.

    Figure 7 : clockwise rotation of antenna position at 20steps/sec

    In Figure 8

    Reference position

    0.018750000000000

    initial antenna position

    0.050000000000000

    present antenna position

    0.018730894675182

    error in tracking

    1.910532481800079e-05

  5. Conclusion

    Stepper motor is modeled using differential equations and then numerically solved by Runge Kutta method. Stepper motor performances for different step rates are tested. At higher step rates it loses synchronization and keeps on moving even after completing the required motion. The proposed tracking system operated within certain step rates operates well for both the direction. Tracking system using stepper motor is modeled and tracking error is calculated for clockwise and anticlockwise rotation, which is in the range of

    .0002 or less than that. Proposed Tracking system can be used for tracking moving object where higher accuracy is requirement.

  6. Acknowledgment

    I would like to thank Mrs. Sima Gosai, Asst. Professor at

    L.D. College of engineering for supporting me in direct or indirect means.

  7. References

  1. James Grimbleby, Stepping motor operation, Lecture notes from university of reading.

  2. Dr. Kevin Craig, Step motor operation, Lecture notes from Ransselaer Polytechnic Institute.

  3. Alexandru Morar, Stepper motor model for dynamic simulation, ACTA ELECTRONICA, Vol. 44, Number 2, 2003.

Leave a Reply