Wednesday, November 1, 2017

State Space representation


I'm trying to change this filter transfer function to state space representation


yt=1+b1z11+a1z1+a2z2ut


I tried writing it as time series


yt+a1yt1+a2yt2=ut+b1ut1



Here is where I am not sure how to continue, I wrote an expression


xt=11+a1z1+a2z2ut1


such that


yt=(1+b1z1)xt+1=xt+1+b1xt


and


(1+a1z1+a2z2)xt=ut1


The idea was to get:


xt=ut1a1xt1a2xt2 (1)


xt+1=uta1xta2xt1 (2)


renaming



xt+1=xa,t+1


xt=xb,t+1


and write my state equations as


[xa,t+1xb,t+1]=[a1a210][xa,txb,t]+[10]ut


from (2) my states are


xa,t=xt


xb,t=xt1


But my problem comes when I want to state my output equation, which is


yt=xt+1+b1xt


but xt+1 is not one of my states so I'm not being able to express my output equation in terms of xa,t and xb,t



I would appreciate any hint on where I am making the mistake, thanks for your help.



Answer



You can just write (2) in yt, so it becomes


yt=[b1a1a2][xa,txb,t]+[1]ut


Actually, this representation is called controllable canonical form. However, your system is not strictly proper, so you need to split it as


G(z)=z2+b1zz2+a1z+a2=1+(b1a1)za2z2+a1z+a2


See how the coefficients appear?


No comments:

Post a Comment

periodic trends - Comparing radii in lithium, beryllium, magnesium, aluminium and sodium ions

Apparently the of last four, MgX2+ is closest in radius to LiX+. Is this true, and if so, why would a whole larger shell ($\ce{...