HOME

PDF (letter size)

Using Mason rule to obtain the transfer function from state space description

Nasser M. Abbasi

September 21, 2015   Compiled on January 30, 2024 at 1:57am

Given the observable form x=(000α0100α1010α2001α3)(x1x2x3x4)+(β0β1β2β3)uy=(0001)(x1x2x3x4)+[γ]u

Show that the transfer function is YU=γ+β3s3+β2s2+β1s+β0s4+α3s3+α2s2+α1s+α0 using Mason rule.

The transfer function can ofcourse be found using YS=C(sIA)1B+D which givesYU=(0001)((s0000s0001s0001s)(000α0100α1010α2001α3))1(β0β1β2β3)+γ=γ+β3s3+β2s2+β1s+β0s4+α3s3+α2s2+α1s+α0

But we want to use Mason rule here. The first step is to write the equations so that the nodes variable are on the left side of the equation. The node variables are the states x1,x2,x3,x4. From the matrix equations we obtainx1=α0x4+β0ux2=x1α1x4+β1ux3=x2α2x4+β2ux4=x3α3x4+β3u

Solving for x now, and in the process we change x to sx by taking Laplace transforms of all variables, and we add the output equation as wellX4=sα0X1+β0α0UX1=sX2+α1X4β1UX2=sX3+α2X4β2UX3=(s+α3)X4β3UY=X4+γU

We now draw the Mason diagram, putting U on the left most node and Y on the right most node (the input and output). Here is the result

The forward paths from U to Y areF1=β0α0F2=γF3=(β2)(s)(sα0)F4=(β1)(sα0)F5=(β3)(s)(s)(sα0)

Now we find all the loops. There are only three loops. A loop is one that starts from a node and returns back to it without visiting a node more than once.L1=(sα0)(α2)(s)L2=(sα0)(s+α3)(s)(s)L3=(sα0)(α1)

We now need to calculate the associated Δk for each of the above forward loops. Δk is found by removing Fk from the graph and then calculating the main mason Δ of what is left in the graph. When remove F1 no loops remain, hence Δ1=1. When removing F2 all the loops remain, hence Δ2=1(L1+L2+L3), and when removing F3,F4,F5 no loops remain, hence Δ3=Δ4=Δ5=1. ThereforeYU=F1Δ1+F2Δ2+F3Δ3+F4Δ4+F5Δ51(L1+L2+L3) There is no other combinations of loops. The above becomesYU=F1+γ(1(L1+L2+L3))+F3+F4+F51(L1+L2+L3)=γ+F1+F3+F4+F51(L1+L2+L3)=γ+β0α0+(β2)(s)(sα0)+(β1)(sα0)+(β3)(s)(s)(sα0)1((sα0)(α2)(s)+(sα0)(s+α3)(s)(s)+(sα0)(α1))=γ+β0α0+β2s2α0+β1sα0+β3s3α01(s2α0α2s2α0(s+α3)sα0α1)=γ+β3s3+β2s2+β1s+β0α01+s3+s2α3+s2α2+sα1α0

HenceG(s)=YU=γ+β3s3+β2s2+β1s+β0s3+s2α3+s2α2+sα1+α0