blob: 9067b8fba6723c0beb1e1a17f011f095dfb28f4b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
//Example 18.5
clc
syms K tau s l;
Gm=K/(tau*s+1);
//For this case
Gma=1;
Gmm=K/(tau*s+1);
Gm=Gma*Gmm;
GI=1/Gmm
f=1/(l*s+1);
//In order to be able to implement this transfer function let f(s)=1/(l*s+1)
//Thus IMC becomes
GI=f/Gmm
Gc=GI/(1-GI*Gm)
//On simplification, it will be in the form of
Gc=tau*(1+1/(tau*s))/(l*s*K)
printf("The result is in the form of PI controller")
|