Download as pdf or txt
Download as pdf or txt
You are on page 1of 6

ANN for Hybrid State Estimation

In this scheme, an ANN based correction is developed. As in the case of EKF and UKF, ANN based state
estimation is also recursive in nature. Even though it has the same framework of Kalman filter based state
estimator, it is designed for eliminating the analytical and statistical linearization used in the case of EKF and UKF.
This structure is suggested because recurrent type of ANN is better for the complex dynamic system. The
schematic diagram of proposed ANNC is as given in Figure.

Process Noise, Measurement Noise,


Input, Output,
Process

Hold Sample

EBIDC Prediction
Model Innovation,

Set point
xk/k-1
ANN ITD
Correction
Function OTD

Estimator
Schematic representation of proposed ANNC

The detailed NARX structure used for the considered problem is given in figure and the other NARX parameters
used for this study are provided in Table.

The current output can be predicted as a function of present and past inputs and past outputs as given below, in
which Y and X represent the outputs and inputs of the network respectively and KNN is a nonlinear ANN function.
Y (k) = KNN{X (k), X (k-m), Y (k-1)… Y (k-n)} (1)
Values of Different ANN Parameters
Parameter Value
ANN Structure NARX
No. of hidden layers 1
Hidden Layer neurons 5
Hidden layer activation function ‘tan sigmoid’
Output layer activation function ‘purelin’
No of epochs 100
No of exogenous inputs 4
No. of delayed inputs 0
No of outputs 3
No. of feedback output delays 2
Training method Back propagation
Training function Levenberg–Marquardt
Performance Function Mean Square Error

1
A sequence of current and past input vectors (X (k), X (k-1), X (k-m)) are obtained by passing X (k) through an
input time delay unit, ITD (0: m). Similarly output time delay unit, OTD (1: n) provides a sequence of past output
vectors (Y (k-1), Y (k-n)). For the considered problem, the input and the output are
X(k )  [hˆ1 (k k  1), hˆ2 (k k  1), hˆ3 (k k  1),  (k k  1)]T Y(k )  [hˆ1 (k ), hˆ2 (k ), hˆ3 (k )]T respectively.

Similar to Kalman filter based state estimators and its nonlinear extensions; proper value for the initial state vector
is assumed for the prediction model. The input and output measurements are made from the process and the input
measurement are presented to the prediction model along with the assumed initial state vector in order to compute
the time updated values for states.
xˆ (k k  1)  F( xˆ(k  1), u(k )) (2)
With, xˆ(k  1)  xˆ(0)  E[ x(0)] , the assumed initial value of state vector.

This a priori state estimates, xˆ(k k  1) can be given to the output model so that a priori estimates of the output,
yˆ(k k  1) can be obtained as
yˆ (k k  1)  H  xˆ (k k  1)  (3)

The innovation between plant output, y(k ) and a priori output estimates, yˆ(k k  1) is calculated as
 (k k  1)  y(k )  yˆ (k k  1) (4)

In the correction step of the algorithm, the a priori state estimates will be corrected using this innovation with the
help of the ANN to obtain a posteriori estimates of states

Figure.2. NARX structure for the considered example

xˆ (k )  K NN ITD(xˆ (k k  1),  (k k  1)), OTD(xˆ(k )) (5)

2
These estimated states are fed back to the controller for calculating the new input signal to the plant. For the next iteration, a
posteriori estimate of state can be given to the prediction model (instead of assumed initial states as in the first iteration) along
with the new input measurement from the plant. This can be continued for the entire process run

Experimental Results and Performance Analysis


Real-time experimental validations were carried out on the experimental setup. In addition to the experimental setup, other
tools used, which were for the real time implementation are the software Lab VIEW and the NI DAQ pad (USB6251). In the
real system, the performance of the controller in regulatory operation and servo operation based on ISE and average
computation time per iteration is shown in figure. Response of the system in initial condition mismatch is shown. The response
of the system in +10% and -10% plant model parameter mismatch is given below. Results of hand valve faults which can occur
in real time application are given in Tables. The real time experimental results support the simulation results on performance.

Regulatory Control Problem: Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0200 0.0193 0.1038

Servo Control Problem: Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0172 0.0144 0.1152

Initial Condition Mismatch: Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0214 0.0592 0.1017

Plant Model Parameter Mismatch (+10%): Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0045 0.0069 0.2112

Plant Model Parameter Mismatch (-10%): Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0122 0.0131 0.1037

Hand Valve Faults -Leakage: Controller Performance Comparison


Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0600 0.0077 0.0768

3
Hand Valve Faults -Clogging: Controller Performance Comparison
Avg. Computation
Controller ISE(h1) ISE(h2)
time per iteration (S)
Proposed 0.0082 0.0078 0.0943

CV 1(Proposed) SETPOINT1
0.33

Level (h )
1
0.3
0.27
0.24
50 100 150 200 250 300 350 400
(a)
0.33 CV 2(Proposed) SETPOINT2
Level (h )
2

0.3
0.27
0.24
100 200 300 400
(b)
Sampling Instants
Regulatory response of hybrid three tank system with ANNC (a) Level in Tank 1, (b) Level in tank 2
Level (h )

0.32
1

0.29
0.26 CV 1(Proposed) SETPOINT1
0.23
50 100 150 200
(a)
0.32
Level (h )
2

0.29
0.26 CV 2(Proposed) SETPOINT2
0.23
50 100 150 200
(b)
Sampling Instants
Servo response of hybrid three tank system with ANNC (a) Level in Tank 1, (b) Level in tank 2
0.38
Level (h )

CV 1 (Proposed) SETPOINT1
1

0.34
0.3
0.26
50 100 150 200 250 300 350 400
(a)
0.38
Level (h )

CV 2 (Proposed) SETPOINT2
2

0.34
0.3
0.26
50 100 150 200 250 300 350 400
(b)
Sampling Instants

4
Closed response of hybrid three tank system with ANNC (Initial Condition Mismatch ) (a) Level in Tank 1, (b) Level in Tank 2

0.32
CV 1 (Proposed) SETPOINT1

Level (h )
1
.3

0.28
50 100 150 200 250
(a)
0.32

Level (h )
2
CV 2 (Proposed) SETPOINT2
0.3
0.28
50 100 150 200 250
(b)
Sampling Instants
Closed response of hybrid three tank system with ANNC (Plant-Model mismatch +10% ) (a) Level in Tank 1, (b) Level in Tank 2

0.32
Level (h )

CV 1 (Proposed) SETPOINT1
1

0.3
0.28
0.26
50 100 150 200 250
(a)
0.32
Level (h )

CV 2 (Proposed) SETPOINT2
2

0.3
0.28
0.26
50 100 150 200 250
(b)
Sampling Instants
Closed response of hybrid three tank system with ANNC (Plant-Model mismatch -10% ) (a) Level in Tank 1, (b) Level in Tank 2

CV 1 (Proposed) SETPOINT1
Level (h )
1

0.28

0.26
100 200 300 400 500
(a)
Level (h )

CV 2 (Proposed) SETPOINT2
2

0.28

0.26
100 200 300 400 500
(b)
Sampling Instants
Closed response of hybrid three tank system with ANNC (Handvalve fault-Leakage ) (a) Level in Tank 1, (b) Level in Tank 2

5
0.35 CV 1 (Proposed) SETPOINT1

Level (h )
1
0.3

0.25
50 100 150 200 250
(a)
0.35

Level (h )
CV 2 (Proposed) SETPOINT2

2
0.3

0.25
100 200 300 400 500
(b)
Sampling Instants

Closed response of hybrid three tank system with ANNC (Handvalve fault-Clogging ) (a) Level in Tank 1, (b) Level in Tank 2

You might also like