ISSN ONLINE(2278-8875) PRINT (2320-3765)

All submissions of the EM system will be redirected to Online Manuscript Submission System. Authors are requested to submit articles directly to Online Manuscript Submission System of respective journal.

Position Control of Stepping Motor

Aniket B. Kabde1, A. Dominic Savio2
  1. PG Student [ICE], Dept. of ICE, SRM University, Chennai, Tamilnadu, India
  2. Assistant professor, Dept. of ICE, SRM University, Chennai, Tamilnadu, India
Related article at Pubmed, Scholar Google

Visit for more related articles at International Journal of Advanced Research in Electrical, Electronics and Instrumentation Engineering

Abstract

Position control of stepping motors plays a vital role as stepping motor is widely used for driving final control elements for controlling purpose of various systems, so the study for control technique applied to stepping motor becomes important. The mathematic model of the stepping motor and the structure of fuzzy logic controller used with PID controller are given with all necessary data, and the simulation model of fuzzy logic controller used with PID controller in MATLAB/simulink is also obtained. Finally, from the result it can be seen that the settling time of the system and the overshoot value is greatly reduced when the fuzzy logic controller with PID controller is used for the controlling purpose

Keywords

Rotor position, mathematical model, fuzzy logic, PID.

INTRODUCTION

Stepping motor is widely used in electrical and mechanical applications where torque at low speed, positioning accuracy, and high speed dynamic are determining factors. It can, thus, be found in numerous applications. For example in medical applications such as, accurate dosage with peristaltic pumps or pipettes and motion control in dialysis equipment. Also, in automotives the internal combustion engines contain several systems to control emissions and reduce NOx level. These systems always combine a stepper motor that drives efficiently integrated valves. In telecommunications, the stepper motor is used to actuate antennas and combiners to desired position. All these type of applications require a robust actuator that can withstand vibrations and must respond quickly and precisely to a signal position, also at the same time it should overcome a dynamic torque load. The stepping motor has the advantage over other kinds of motors because it works well in open loop since it carries out motion step by step when voltage impulses are applied to its phases. But, due to its inertia, the rotor oscillates around the final position before settling to final position. In addition to this the motor can lose steps if the variation of the load torque is fast.
The use of new programmable architecture like field-programmable gate arrays (FPGA) circuit allows us to get the micro-step movements. This smoothes the movement for rotor but leaves the open-loop control problem unsolved. To solve this problem, it is necessary to introduce a closed loop control technique to improve the performance of the motor and the robustness of the control. A first kind of solution was the introduction of mechanical sensors. This solution increases the size and the cost of the system so system becomes bulky. Furthermore from the analysis of past experience from automotive applications shows that mechanical measurement for position or speed suffers in hightemperature and high-vibration environment. Due to these limitations introduction of mechanical sensor is not suitable for this type of system. Hence the sensor-less control technique emerges. The digital closed loop principle was introduced for the position control by Fredriksen, Kuo and Takashi in the years 1969, 1970 and 1984 respectively. They used the closed loop algorithm in order to improve the stepping motor positioning accuracy. The use of selftuning regulator to control the stepper motor speed was introduced by Betin et al. The purpose of the self tuning regulator is to force the controller to adapt the motor operating conditions. But, this kind of control technique is difficult to be implemented in real time because it requires a large amount of floating-point computation, so the sampling period also gets increased.
This paper presents an application of sensor-less drive technology to a stepping motor drive system. The drive system is characterized by sensor-less detection of position of rotor and for this switching of the switches is controlled with help of switching frequency. As a result, the drive system can damp rotor natural vibration of the stepping motor and Desired position can be achieved.

MATHMATICAL MODEL AND ASSUMPTIONS

The motor considered in this paper is a two phases stepping motor and assumptions for the motor parameters is as follows.
1. Uniform air gap is present and poles are non salient poles.
2. Distribution of flux is sinusoidal.
3. Losses or iron and saturation is negligible.
4. Self inductance of windings is constant.
According to above assumptions, the mathematical model of the two- phase stepping motor is shown below in Fig.1.
image
The stepping motor can be described with the help of differential equations.
image
Where,
image
image

FUZZY LOGIC CONTROLLER

In a fuzzy logic controller usually the control signal is generated with the help of knowledge-base and a fuzzy logic inference mechanism with the system. The knowledge-base consists of a defined series of if..then type of rules. The four principal components of a fuzzy logic controller can be given as:
1. Fuzzification interface.
2. Knowledge-base.
3. Decision-making logic.
4. Defuzzification interface.
Fig.2 shows the principal elements of a fuzzy logic controller.
image
Each block in fuzzy controller performs specific functions. Output from process is taken which is usually set of data this data needs to be fuzzified for further processing so the fuzzification interface is used for this purpose. Knowledge base and decision making logic works together to calculate required control action to get the desired output from the system. The control signal of fuzzy logic controller needs to be converted back to normal form so for that defuzzification interface is used.
image
For the process of fuzzyfication here triangular membership functions are used (see Fig.3 and Fig 4). In this type of membership function used there is mapping of the input variable value to the fuzzy logic controller value and every input label. These functions specify the membership function that corresponds to the input variable value in the different fuzzy sets defined by the input labels. For membership function specification [0,1] interval is used, and for membership functions normalization [-1, 1] interval is used .It is important to note that every function has its own Scaling Factor and if the Scaling Factor is modified the corresponding mapping changes, so the membership function distribution is modified .
image
For the defuzzification process only a singleton membership function was used for the two output linguistic variables. This function is also normalized into the interval [-1, 1]. Fig.5 shows an example of the kind of function used.
image
The Rule-Base is specified in Table 1. These rules were created using previous information of the stepping motors dynamics, principally the rotor position characteristics. This rule base will be help in taking decisions according to the situation of the system. Every time error and the change in error of the system is taken into account and the particular rule will be used for controlling purpose so as to achieve desired position of the motor shaft.
The rule base for the fuzzy logic controller is given below.
image
( NB = negative big, NM = negative medium, NS = negative small, ZN = negative zero, ZO = zero, ZP = positive zero, PS = positive small, PM = positive medium, PB = positive big )

THE FUZZY-PID CONTROLLER AND MATLAB\SIMULINK MODEL

Now a days because of the simplicity of operation, ease of design and high robustness the conventional proportional– integral–derivative (PID) controllers used most extensively in the industries for controlling the processes. As for nonlinear systems, higher order and time-delayed linear systems, and particularly complex systems that have no precise mathematical models, fuzzy logic controller is not depended on mathematical models and is one of promising control technique used for current applications. As it is difficult to obtain the mathematical models for tracking system, and to get high tracking precision the fuzzy logic controller and PID control is used together.
The MATLAB\simulink model of the system is obtained and shown below.
image

RESULTS AND ANALYSIS

Above model is used for the simulation purpose. Here the input signal given to the system is the step-function signal with the amplitude of 1, and the sampling time is 1ms.At particular time the disturbance with its amplitude of 1 is applied to controller. From this model following results are obtained. The output results of this simulation are shown below.
image
The output in fig.7 shows the error and the change in error. Here X-axis denotes the time and Y-axis denotes the error amplitude. Here the change in error may be high or low. According to this error fuzzy logic controller with PID will try to suppress the error in the system.
image
Fig. 8 shows how the output of fuzzy controller is changing with respect to time. Here X-axis denotes the time and Yaxis denotes the amplitude of the output. When error changes with respect to time then output of the fuzzy controller changes rapidly so as to suppress error. Initially output of the controller is high but after particular time it gets reduced and settles near to zero value.
image
Proportional-integral-derivative (PID) parameters will get changed according to change in error so initially when error is high the control action required to minimize the error is also high (see Fig.9) as the controller minimizes the error so the control action also get minimized and get settled near zero value.
image
Finally with the help of fuzzy logic controller and PID the desired position of stepping motor can be achieved (see Fig.10).Initially the response shows the overshoots and in some cases it can be oscillatory. But the controller minimizes the error and position gets settled to desired value.

CONCLUSION

In this work the fuzzy logic controller with PID is used to improve the system response and with the help of simulation is can be seen that the single step position response of the stepping motor is improved with this control technique. For this simulation is done in MATLAB/simulink. Result shows that how error changes with time and to minimize the error controller takes proper control action. The settling time and overshoot is also reduced. So the desired position of stepping motor can be achieved using this control technique.

ACKNOWLEDGMENT

I would like to thank Mr. J Sam Jeba Kumar, Asst. Professor, department Of ICE at SRM University for supporting me in direct or indirect means.

References