# Discrete Model Reference Adaptive Control System for Automatic Profiling Machine

Authors: Peng Song; Guo-kai Xu; Xiu-chun Zhao
Journal: Journal of Control Science and Engineering
 (2012)

---

## Abstract

Automatic profiling machine is a movement system that has a high degree of parameter variation and high frequency of transient process, and it requires an accurate control in time. In this paper, the discrete model reference adaptive control system of automatic profiling machine is discussed. Firstly, the model of automatic profiling machine is presented according to the parameters of DC motor. Then the design of the discrete model reference adaptive control is proposed, and the control rules are proven. The results of simulation show that adaptive control system has favorable dynamic performances.


---

## Body

## 1. Introduction

Automatic profiling machine is a movement system which has a high degree of parameter variation and high frequency of transient process, and it requires an accurate control in time. The traditional linear control methods, such as PID, cannot meet present needs or requirements of advanced performance. The adaptive control not only solves the problem that the control plant cannot be observed directly, but also improved the abilities of resisting interference [1]. The applications of adaptive control to movement system are widespread [2–4], but it is infrequent in automatic profiling machine. A practical adaptive controlling scheme is proposed for automatic profiling machine in [5]. In this paper, a discrete model reference adaptive control (MRAC) method is applied to automatic profiling machine. The discrete control method is convenient for program and contributes to application of adaptive control theory in practice.


## 2. The Mathematics Model

The control system is double closed-loop control system whose current loop is PI control and speed loop is MRAC. The DC motor parameters [6] of automatic profiling machine are shown in Table 1. The equivalent plant of speed loop is consisted of current loop and motor, and the transfer function is
(1)G(s)=2377011.5s2+2252.87s+5747.23.Table 1
The parameters of DC motor.
Parameter
Unit
Value
Rated voltage
V
100
Rated current
A
6
Rated speed
r/min
1000
Motor constant
V/r/min
0.1
Electromagnetic time constant
s
0.00246
Mechanical time constant
s
0.078


## 3. The Design of MRAC System

The difference equation of the plant is(2)A(z-1)y(k)=z-1B(z-1)u(k),
where
(3)A(z-1)=1-∑i=1nai^z-i,B(z-1)=∑i=0mbi^z-i,y(k) and u(k) are the output and input of the plant, respectively; z-1 is delay operator; k is the discrete-time variable.The difference equation of the reference model is(4)Am(z-1)ym(k)=z-1Bm(z-1)r(k),
where
(5)Am(z-1)=1-∑i=1naiz-i,Bm(z-1)=∑i=0mbiz-i,ym(k) and r(k)are the output and input of the reference model.The output error and its prediction are given by(6)e(k)=y(k)-ym(k),e∘(k)=y∘(k)-ym(k),
where e∘(k) and the other variables with “∘” represent the predictions.The structure of the adaptive control system is shown in Figure1 where
(7)H(z-1)=∑i=1nhi(k)z-i+1,G(z-1)=∑i=0mgi(k)z-i,F(z-1)=∑i=1nfi(k)z-i+1.Figure 1
Block diagram of MRAC system.From Figure1, the following relationship can be obtained
(8)Bm(z-1)r(k)=H(z-1)ym(k)+F(z-1)e(k)+G(z-1)u(k).Introduc (8) into (4):
(9)Am(z-1)ym(k)=z-1[H(z-1)ym(k)+F(z-1)e(k)+G(z-1)u(k)].Subtract (9) from (2):
(10)A(z-1)e(k)=[Am(z-1)-A(z-1)-z-1H(z-1)]ym(k)+[z-1B(z-1)-z-1G(z-1)]u(k)-z-1F(z-1)e(k).According to the Hyperstability theory, the discrete system control laws [1] are
(11)hiI(k)=hiI(k-1)+λie(k)ym(k-i),hiP(k)=μie(k)ym(k-i),
where
(12)i=1,2,…,n;λi>0;μi≥-λi2,giI(k)=giI(k-1)+ρie(k)u(k-i-1),giP(k)=σie(k)u(k-i-1),
where
(13)i=1,2,…,m;ρi>0;σi≥-ρi2,fiP(k)=qie(k)e(k-i),fiI(k)=fiI(k-1)+lie(k)e(k-i),
where
(14)i=1,2,…,n;li>0;qi≥-li2.E
(
k
) cannot be found directly in the operations above, so it can be replaced by e∘(k). According to (10), e(k) becomes
(15)e(k)=∑i=1n[ai^-fi(k)]e(k-i)+∑i=1n[ai-ai-hi(k^)]ym(k-i)+∑i=0m[bi^-gi(k)]u(k-i-1).The prediction error can be gained:(16)e°(k)=∑i=1n[ai^-fiI(k-1)]e(k-i)+∑i=1n[ai-ai-hiI(k^-1)]ym(k-i)+∑i=0m[bi^-giI(k-1)]u(k-i-1).Subtract (16) from (15) and link (11)~(13); the function becomes
(17)e(k)-e∘(k)=-[∑i=1n(li+qi)e2(k-i)+∑i=0n(λi+μi)ym2(k-i)+∑i=0m(ρi+σi)u2(k-i-1)]e(k).
Equation (17) becomes (18) by calculating,(18)e(k)=e∘(k)(1+∑i=1n(li+qi)e2(k-i)+∑i=0n(λi+μi)ym2(k-i)+∑i=0m(ρi+σi)u2(k-i-1)).


## 4. Simulation Studies

The reference model takes the form as follows:(19)z-1Bm(z-1)Am(z-1)=0.1475z-1+0.1451z-21-1.95z-1+0.9512z-2.Make simulation according to the analysis above by SIMULINK. The structure of the adaptive control system is shown in Figure2, and the parameters value are shown in Table 2.Table 2
Parameter values of MRAC system.
Parameter
Value
Parameter
Value
h
1
I
(
0
)
0
h
2
I
(
0
)
0
λ
1
0.1
λ
2
0.01
g
1
I
(
0
)
1
g
2
I
(
0
)
0
ρ
1
3000
ρ
2
0.01
f
1
I
(
0
)
0
f
2
I
(
0
)
0
l
1
1
l
2
0.1Figure 2
Simulation block diagram of MRAC system.The simulation results are shown in Figures3–5. To make a calculation, the percentage overshoot is 6%, the rise time is 1 s, the settling time is 2 s (Δ=0.02).  Figure 3 is shown that the maximal error value is less than 40 r/min, so the control plant could better track reference model. Input the interference signal into the front of plant transfer function between 10 s and 20 s. The simulation results (in Figure 4) indicate that the control plant could be stable in 2 seconds. Input white noise into the reference input of plant not the reference input of model, and the result is shown in Figure 5. Obviously the figure has no visible variation. So the control system has better abilities of resisting interference.Output figures of simulation.
(a)
Reference model
(b)
Control plant
(c)
Error figureOutput figure with interference signal.
(a)
Control plant
(b)
Interference signal
(c)
Error figureFigure 5
Output figures with white noise.


## 5. Conclusion

The discrete model reference adaptive control system of automatic profiling machine is discussed in this paper. The results of simulation show that adaptive control system has favorable dynamic performance. The discrete design method is easy to realize by computer. The work in this paper will lay a foundation for the application of adaptive control in practice.



---

*Source: 964242-2012-07-18.xml*