Beruflich Dokumente
Kultur Dokumente
Process Control
Prof. Kannan M. Moudgalya
IIT Bombay
Monday, 5 August 2013
t (hr) y(t)
4 7.1
5 8.9
6 11.2
1. Formulate this as a least squares problem to
determine the model parameters K and .
2. Solve the above least squares problem and
determine K and . (30 marks)
y(t) = K[t + et/ ]
7/32 Process Control Least squares method for curve fitting
Solution
After sufficiently long time, the model is:
K(t ) = y(t)
Kt + C = y(t)
4K + C = 7.1
5K + C = 8.9
6K + C = 11.2
a11 a12 b1
a21 a22 x1
= b2
x2
a31 a32 b3
A plane
A plane
Choose one:
1. Make Ax outside A plane, to coincide with b
2. Approximate b by a vector lying on the A plane
3. Cannot solve this problem, even approximately
Ans: 2, project b on to the A plane
16/32 Process Control Least squares method for curve fitting
b
Ax0
A plane
Ax0
A plane
I Approximate x with x0
I such that Ax0 ' b
I Ax0 is closest to b
I Closest
18/32 means Process
what? Control Least squares method for curve fitting
For best Ax ' b, minimize error, e
b
e = Ax0 b
Ax0
A plane
19/32 Process Control Least squares method for curve fitting
How does smallest e help calculate x0?
b
e = Ax0 b
Ax0
A plane
Ax0
A plane
I AT1 (Ax0 b) = 0
I AT (Ax b) = 0
2 T 0
A1 0
I
T (Ax0 b) = 0
A2
I AT (Ax0 b) = 0
I AT Ax0 = AT b
I x0 = (AT A)1 AT b
Ax = b
with
4 1 7.1
K
A = 5 1 , x= , b = 8.9
C
6 1 11.2
4 1
4 5 6 77 15
AT A = 5 1 =
1 1 1 15 3
6 1
1 3 15
(AT A)1 =
6 15 77
We obtain,
K = 2.05, K = 1.18
= 0.577
Ax0
A plane
30/32 Process Control Least squares method for curve fitting
What we learnt today