Determination of Discrete Time Transfer Function models

System identification is carried out to identify the transfer function between the input signal to the system and output from the system. Firstly, a transfer function with unknown parameters is assumed. The system is given a known input and its response is obtained and then the values of the unknown parameters is chosen such that the sum of squares of the errors is minimized. Here, the error is the difference between the actual output and the output predicted by the transfer function model assumed. For the given SBHS system, we assume a second order transfer function:

$\displaystyle G(z)=\frac{b_{1}+b_{2}z^{-1}}{1+a_{1}z^{-1}+a_{2}z^{-2}}z^{-d}$ (7.1)

The unknown parameters $ a_1, a_2, b_1, b_2$ and $ d$ are to be obtained through the response of the system to the known inputs. $ a_1, a_2, b_1, b_2$ are real numbers and $ d$ is the plant delay which is an integer. For these model parameters estimation, we use a pseudo random binary sequence (PRBS) input. Since the optimization over discrete variables ($ d$ in this case) is a very difficult routine for computers, we assume a value for $ d$ and then optimize over $ a_1, a_2, b_1, b_2$. The optimization problem, then, becomes:

$\displaystyle (\hat{b_1}, \hat{b_2}, \hat{a_1}, \hat{a_2})=\underset{b_1, b_2, a_1, a_2}{argmin}\sum_{i=0}^{N}(y(k)-\hat{y}(k))^{2}$ (7.2)

Here, $ y(k)$ is the output obtained from the system- so it is known. $ \hat{y(k)}$ is the estimated output using $ y$ the model assumed, which can be written as a difference equation:

$\displaystyle \hat{y}(k) = -a_1\hat{y}(k - 1) - a_2\hat{y}(k - 2) + b_1 u(k - d) + b_2 u(k - 1 - d)$ (7.3)

Figure 7.6: PRBS first order fit
Image prbs-1-fit

Figure 7.7: PRBS first order model
Image prbs-1-model

rokade 2017-04-23