- freely available
Sensors 2013, 13(4), 4742-4759; doi:10.3390/s130404742
Published: 10 April 2013
Abstract: In this paper, an adaptive law with an integral action is designed and implemented on a DC motor by employing a rotary encoder and tachometer sensors. The stability is proved by using the Lyapunov function. The tracking errors asymptotically converge to zero according to the Barbalat lemma. The tracking performance is specified by a reference model, the convergence rate of Lyapunov function is specified by the matrix Q and the control action and the state weighting are restricted by the matrix Γ. The experimental results demonstrate the effectiveness of the proposed control. The maximum errors of the position and velocity with the integral action are reduced from 0.4 V and 1.5 V to 0.2 V and 0.4 V, respectively. The adaptive control with the integral action gives satisfactory performance, even when it suffers from input disturbance.
Various electromechanical motors have been used for industrial applications, e.g., electric motors, piezomotors and hydraulic actuators. Generally, it is necessary to enhance the motor performance with the feedback control based on state measurements. Khorrami et al., used linear motors to establish ultra-accurate high-speed six degree-of-freedom manipulation . To measure the angle and speed of motor shafts, rotary encoders and tachometer sensors have been widely used because of their high performance and reliability [2–4].
As digital angle-measuring sensors, rotary encoders consist of optics, mechanics and electronics. Compared to analog angle-measuring sensors, digital rotary encoders have simple structures while preserving high accuracy. In order to achieve accurate motion control, the velocity can be measured by using tachometer sensors which usually consist of tachogenerators and circuits. The tachogenerator can also give the voltage output which is proportional to the speed of the rotational motor.
To achieve precise motion, it is necessary to measure and input both the angle and the speed of motor shafts by employing a rotary encoder and tachometer sensors. Based on the angle and speed sensors, various controllers have been designed for motors [5,6]. Generally, motors can be controlled by conventional PID controllers. Nikulin and Frantsuzova presented a modified PD controller to ensure the desired system speed and damping vibrations . Chaiya and Kaitwanidvilai provided a robust PID controller which could control the motor speed , but PID controllers have limited performance in the presence of disturbances and uncertainties. Xu and Yang presented a simple and robust speed control scheme for a permanent magnet synchronous motor to enhance the performance robustness . Nouri et al., proposed a model-following adaptive controller for the speed control of a motor drive system . Melkote and Khorrami proposed adaptive control for direct drive brushless DC motors . Moreover, intelligent algorithms have also been investigated [12–15]. Fallahi and Azadi added neural network sliding mode control to enhance the adaptive control of motors . However, intelligent controllers are usually very complex. It is difficult for engineers to design and optimize intelligent controllers, e.g., Xu and Huang  designed an iterative learning controller (ILC), but found that the reference signal had to be pre-filtered in order to satisfy the complex initial conditions of ILC. Furthermore, several accurate models were identified at different voltage ranges, and the iterations were implemented offline.
This paper uses Model Reference Adaptive Control (MRAC), which is a convenient approach to satisfy the requirements of designers . The general idea of MRAC is to create a closed loop regulator with parameters that could be updated to match a desired response. The desired performance is specified by a stable reference model, and the parameters of the adaptive law are adjusted based on the errors between the reference model and the plant, as shown in Figure 1.
Though the adaptive control has shown its effectiveness in achieving robust performance without the knowledge of parameter values, a comprehensive design approach is still necessary for engineering applications. In order to obtain high-performance adaptive control in the presence of disturbances, this paper presents a comprehensive design approach in which both the bandwidth and damping ratio can be included in the proposed controller.
In this paper, two kinds of MRAC are designed and then used on a motor by employing a rotary encoder and tachometer sensors. The tracking error can converge to zero with the integral action in the presence of input disturbances. The experimental results are presented to investigate the effectiveness of the proposed control approach.
2. Adaptive Control Design without the Integral Action
2.1. Angle and Speed Sensors
Figure 2 shows the experimental setup. It consists of a DC motor, a computer with LabView software, a drive interface, an amplifier, a tachometer sensor and a rotary encoder. The tachometer sensor is used to measure the rotation speed of the motor shaft. The output voltage of the tachogenertor (i.e., tachometer generator—a device to measure the rotational rate of the motor shaft with the internally generated electrical signal generated by the motor shaft) is proportional to the motor speed. Then, the voltage is applied to the voltmeter in which the dial can be calibrated in speed units (i.e., usually in revolutions per minute (rpm)). In addition, a rotary encoder is used to measure the linear rotation angle of the motor draft. The rotary encoder can convert the ration angle to digital voltage. Thus, both the angle and speed can be measured and controlled.
After calibration, the generated voltage is a factor of the motor speed. Then, the motor speed can be fed to the adaptive controller. Next, Figure 3 is given to present the working principle of the rotary encoder in which phase A, phase B, and phase Z are the three-phase models to represent the output signal counts for an incremental encoder . The rotary encoder consists of the main grating, index grating, illuminant and photosensitive device. In this paper, an incremental encoder is used because of its simplification, small size and high-speed response. There is one impulse corresponding to every grating. The summation of impulses represents the angle position of the motor.
2.2. Adaptive Controller Design and Stability Proof
This section presents a design method of the adaptive control without the integral action. The stability proof is also presented. To achieve good tracking performance, a MRAC is designed to drive the tracking error to zero. Considering simplification, the transfer function in Equation (1) is used to give the motor dynamics:where K denotes the DC gain of the velocity transfer function, and τ denotes the time constant. τ are unknown parameters, but their signs can be tested in the experiment. The state space model of Equation (1) can be rewritten in Equation (2)where:
To specify the desired performance, this paper employs a stable reference model as shown in Equation (3), from which the domain and frequency index can be specified:where ξ is the damping ratio and ωn is the natural frequency of the reference model. The corresponding state space description can be given as:
Equation (4) can be further written as:
The following non-adaptive control law is used:where and are the exact gains of the controller Equation (5).
Then, the closed loop system can be given by:
The feedback control system achieves the performance as the matching condition below:
The exact control gains and guarantee that the closed loop system matches the reference model. Actually, the exact values of and are unknown. The controller in Equation (5) can be rewritten to:where and θr can be determined by the adaptation law in Equation (9): where θ* is a constant or the slow time-variant parameter (i.e., θ̇*=ϕ̇).
The adaptive control law is nonlinear, as shown in Figure 4.
To give the tracking performance, the parameter errors ϕx and ϕr are defined by:
Then, the closed loop system can be rewritten to:
Next, let e be the state error and e=xp−xm.
In the reference model in Equation (4), a stable matrix is used for Am that can satisfy the algebraic Riccati Equation (13) (i.e., for any symmetric positive definite matrix Q, there is a symmetric positive definite matrix P satisfying Equation (13)):
To prove the stability, a Lyapunov function candidate is used as follows:where Γ is a positive definite matrix.
The time derivative of the Lyapunov function candidate can be given:
Then, Equation (15) can be rewritten to:where g = sgn(|g|)|g|, ϕTx is a scalar.
Thus, the system is stable according to the Lyapunov theorem . Moreover, ‖e‖, ė, ‖ϕ‖, xn,θx and θr are bounded, and:
According to the Barbalat lemma  here V̇ [0,+∞] →R is a uniformly continuous function on [0,+∞]. Supposing exist and be finite. Then, there is .
Here ė is bounded. Furthermore:
According to the Barbalat lemma, the tracking error e is asymptotically stable and lim e = 0(i.e., lim(‖xm−xn‖) = 0).γ1 = 1 and γ2 = 0.5, and they are used in experiments.
2.3. Experimental Studies of Adaptive Control without the Integral Action
Experimental studies of the adaptive control are now presented. Firstly, ρ can be used to give the convergence rate of the adaptive law, as shown in Equation (18):
After several trials, the reference model is given:and the matrix Q is selected as:
The selection of Q means that the position tracking is more important than the velocity tracking. Moreover, the sampling interval h should be less than the max interval in order to handle the fastest adaptation rate :
The matrix P is solved by the ARE in Equation (13):and denoting Γ :
The tracking performance of the adaptive control is shown in Figures 5 and 6. It can be found that the tracking errors of angular position and velocity asymptotically converge to zero in one period, and the maximum tracking errors of position and velocity are 0.4 and 1.5, respectively.
To guarantee the stability of the adaptive control, it is necessary to demonstrate the boundness of θ̅. Figure 7 shows the responses of θ̅. It can be seen that the estimation of θ̅ = [θx1θx2θI] is bounded.
2.4. Investigations of Q and Γ
Q and Γ are two important parameters of the adaptive controller. Different values of Q and Γ are adopted to investigate their influences, here two group values of them are:where Q2 is larger than Q1.
The adaptation rates can be respectively estimated:where ρ is the adaptive rate, and ρ1 is faster than ρ2.
During experiments, the adaptive control using Q1 and Q2 have similar tracking errors, but the control signals are different. Figure 8 shows the voltages of the adaptive control. The control voltage of the adaptive control with (Q2, Γ2) is four time larger than that of the adaptive control with (Q1, Γ1), though there is no significant differences in the tracking errors.
3. Adaptive Control with the Integral Action
3.1. Adaptive Controller Design with the Integral Action and Stability Validation
To further investigate the adaptive control in the presence of disturbances, this section presents the adaptive control with integral action. The integral control action can be added to the adaptive law through Equation (20):where r is the reference signal and xI is a new state:
The augmented plant can be rewritten to:
Similar to Section 2.2, the control law can be given by:
Then the closed loop system can be given as:where:
According to the matching condition in Equation (7), the following equation can be given:
The reference model can be given:
Actually, the exact value of and cannot be known, so the corresponding estimated values of θx and θI are used instead. We note that ϕx and ϕI are the estimate errors as shown in Equation (28):and where θx(t) and are the estimated values and , respectively.
Substituting u into the plant model in Equation (22), the closed loop can be given:
Equation (29) can be rewritten to:
The error equation can be given
Choosing the Lyapunov function as Equation (32)
Then, the time derivative of V can be obtained:
Denote that the adaptive law is:
Then, P̅ can be gotten from the ARE Equation (35):where Q̅ is a positive definite symmetric matrix, so the following Equation (36) can be obtained:
It can be concluded that the closed loop is Lyapunov stable, and e̅ and φ̅ are bounded. As in Section 2.2, the tracking error e̅ is asymptotically stable.
The adaptive control law is shown as follows:where ϕ̅ ≈ θ̇, P can be computed through the ARE.
3.2. Reference Model Design
This section presents how to specify the requirements through the reference model Gm. Firstly, the third order model in Equation (39) is given to satisfy the matching condition of the adaptive integral control. To specify performance indexes such as the bandwidth and damping ratio, the reference model Gm can be approximated by the second order model Gm1:where ‖am‖≥3‖p1‖ (i.e., p1 and p̅1 are dominant poles which mainly contribute to the dynamic response of the reference model.)
To satisfy the matching conditions, the reference model is:
Compared with the transfer function in Equation (39), it is seen that:
The dynamics of the reference model should match the dynamics (i.e., natural frequency) of the motor system and the sampling capability. After testing several groups of values, ζ = 0.9, wn = 3 and am = 9 are chosen in this paper. Then, there are a21 = −57.6, a22 = −14.4 and a23 = −81. The reference model can be rewritten to:
The step responses of Gm1 and Gm are shown in Figure 9. It is seen that Gm1 contributes most of the response for the third order reference model Gm. The fast dynamics of the reference model is influenced by the part am/(s + am):
3.3. Experimental Studies on the Adaptive Control with Integral Action
In Section 2, it has been found that a large Q̅ results in fast convergence while needing strong action and fast sampling rate. In contrast, a small Q̅ results in slow convergence and cannot give better performance. A suitable Q̅ should be given to satisfy the convergence rate and hardware limitation.
After trials, Q̅ is adopted:
Then, P̅ can be computed:
In addition, Γ is adopted:
The experimental results of the position and velocity tracking are shown in Figures 10 and 11, respectively. The maximum tracking errors of position and rate are less than 0.2 V and 0.4 V, respectively.
As shown in Figure 12, the magnitude of the controller is less than 0.85 V, and there is no chatter phenomenon. Compared to the former adaptive control without the integral action, the case with the integral adaptive control can reduce the reference errors of position and velocity by as much as 50%. The experimental results demonstrate that the integral action is effective to improve the tracking performance.
3.4. Tracking Performance with Input Disturbance
In order to investigate the performance of the adaptive control, the input disturbance is considered in this section. The square wave disturbance with magnitude 1 is adopted. The reference is also square wave. During the experiment, the disturbance is added by using a LabView block as an input disturbance. The disturbance enters the close loop systems as the reference signal enters. The tracking errors of position and velocity are shown in Figure 13. It is seen that the maximum position and velocity tracking errors are less than 0.2 and 1, respectively. Also, it can be found that there is no difference between the two results of the position tracking errors shown in Figures 10 and 13, respectively. The position error is the most important one for the motor tracking in this paper, thus it can be concluded that the degradation of tracking performance is not significant. The experimental result indicates that the adaptive control with the integral action suppresses disturbance and tracks the reference simultaneously.
3.5. Comparison between Experiment and Simulation Results
Finally, a comparison between experiment and simulation results is presented in this paper. According to the motor manual, the time constant is 0.25. The DC gain is 5.2. Figure 14 shows the comparison between experiment and simulation results.
The simulation and experiment have similar responses. The tracking errors of the position and velocity from experiment study are larger than that from simulation study. In the three cases, all the tracking errors asymptotically converge (i.e., the stability can hold). The simulation of the proposed adaptive control with the integral action gives the best performance. The tracking error from simulation study can converge to zero, but the tracking errors from experiment study cannot converge to zero due to the friction, the sensor noise and the motor dead-zone. In the experiment study, the performance degradation is acceptable.
In order to accurately control motors, this paper employs both a rotary encoder and tachometer sensors to measure the angle-position and speed, respectively. Based on the measurements, two adaptive controllers are developed for the motor system. The stability and convergence are validated by the Lyapnov theorem and Barbalat lemma. Then, the control system is implemented by using Labview. Experimental results indicate that the tracking errors of the motor position and velocity asymptotically converge to their error ranges. In the presence of disturbances, the adaptive controller with integral action presents better performance than the case without integral action.
State estimation approaches are encouraged to investigate for possible output feedback control. In this paper, the proposed adaptive controllers needs full state information, but actually some states (e.g., motor velocity) are not provided. Thus, the state estimation must be designed in the possible output feedback control.
This work was supported by the National High Technology Research and Development Program of China (No. 2012AA120601), National Natural Science Foundation of China (No. 11202044, No. 11072044) and the Fundamental Research Funds for the Central Universities.
- Khorrami, F.; Ksishnamurthy, P.; Melkote, H. Modeling and Adaptive Nonlinear Control of Electric Motors; Springer: Berlin, Germany, 2003. [Google Scholar]
- Casey, N.F.; Laura, P.A.A. A review of the acoustic emission monitoring of wire rope. Ocean Eng. 1997, 24, 935–947. [Google Scholar]
- Casey, N.F.; Taylor, J.L.; Holford, K.M. Wire break detection during tensile fatigue testing of 40 mm wire rope. Br. J. Non-Destr. Test. 1985, 30, 338–341. [Google Scholar]
- Casey, N.F.; White, H.; Taylor, J.L. Frequency analysis of the signals generated by the failure of constituent wires of a wire rope. NDT Int. 1985, 56, 339–344. [Google Scholar]
- Hu, D.J.; Burg, T. Nonlinear Control of Electric Machinery; Maecel Dekker Inc.: New York, NY, USA, 1998. [Google Scholar]
- Wiberg, J. Controlling a Brushless DC Motor in a Shift by Wire System. MS.c Thesis, Linkoping University, Linkoping, Sweden, December 2003. [Google Scholar]
- Nikulin, G.L.; Frantsuzova, G.A. Synthesis of an electric-power steering control system, optoelectronics. Instrum. Data Process. 2008, 44, 454–458. [Google Scholar]
- Chaiya, U.; Kaitwanidvilai, S. Fixed-Structure Robust DC Motor Speed Control. Proceeding of the International Multiconference of Engineers and Computer Scientists, Hong Kong, China, 18–20 March 2009.
- Xu, D.G.; Yang, G. A simple and robust speed control scheme of permanent magnet synchronous motor. J. Control. Theory A 2004, 2, 165–168. [Google Scholar]
- Nouri, K.; Dhaouadi, R.; Braiek, N. Adaptive control of a nonlinear DC motor drive using recurrent neural networks. Appl. Soft Comput. 2008, 8, 371–382. [Google Scholar]
- Melkote, H.; Khorrami, F. Nonlinear adaptive control of direct drive brushless DC motors and applications to robotic manipulators. IEEE Trans. Mechatron. 1999, 4, 71–81. [Google Scholar]
- Chen, C.W. A fuzzy AHP-based fault diagnosis for semiconductor lithography process. Int. J. Innov. Comput. I 2011, 7, 805–816. [Google Scholar]
- Chen, C.W. Stability analysis and robustness design of nonlinear systems: An NN-based approach. Appl. Soft. Comput. 2011, 11, 2735–2742. [Google Scholar]
- Chen, C.W. Stabilization of adaptive neural network controllers for nonlinear structural systems using a singular perturbation approach. J. Vib. Control 2011, 17, 1241–1252. [Google Scholar]
- Chen, C.W. GA-based adaptive neural network controllers for nonlinear systems. Int. J. Innov. Comput. I 2010, 6, 1793–1803. [Google Scholar]
- Fallahi, M.; Azadi, S. Adaptive Control of a DC Motor Using Neural Network Sliding Mode Control. Proceedings of the International Multiconference of Engineers and Computer Scientists, Hong Kong, China, 18–20 March 2009.
- Xu, J.-X.; Huang, D.; Venkataramanan, V.; Tuong, H.T.C. Extreme Precise Motion Tracking of Piezoelectric Positioning Stage Using Sampled-Data Iterative Learning Control. Proceeding of 37th Annual Conference on IEEE Industrial Electronics Society (IECON 2011), Melbourne, Australia, 7 November 2011; pp. 3376–3381.
- Astrom, K.J.; Wittenmark, B. Adaptive Control, 2nd ed.; Addison Wesley: New York, NY, USA, 1994. [Google Scholar]
- Dursun, M.; Ozden, S. Design of Monitoring System for Linear Switched Reluctance Motor with Quadrature Encoder and Current Sensors. Proceedings of the 4th IEEE International Conference on Computer Science and Information Technology (ICCSIT 2011), Chengdu, China, 10 June 2011; pp. 543–546.
- Khail, H.K. Nonlinear Systems, 3rd ed.; Prentice Hall: London, UK, 2002. [Google Scholar]
© 2013 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution license ( http://creativecommons.org/licenses/by/3.0/).