|
|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
我在用place函数的的时候出现了如下的错误
! d: q9 Z' v, }" Z9 R- iThe "place" command could not place the poles at the specified locations. Probable causes include:1 L& f5 Z- e W! I
* (A,B) is nearly uncontrollable% n6 i2 M4 m- k" c1 i; o, m
* The specified locations are too close to each other.2 H7 d9 e+ M5 M a# ?# f; s' o
. b) M8 ]9 V2 \4 C3 H+ p5 ?
但是我的状态空间模型是从传递函数转过来的,而且我的极点设计也没有很近呀,下面是我的程序:& N5 o; o( u9 X5 z
num11=[-24.88];
8 b1 ]1 D9 M1 X, F+ p0 kden11=conv([475.35 1],[511.85 1]);& W {' w4 c$ y+ T
num12=[-20.634];+ V# B# ~5 a; o: D
den12=conv([491.98 1],[501.11 1]);
0 M5 A. U1 u) O: }# P2 S! V. enum21=[0.42];
! j2 a; _! m0 J8 `- T/ I! X$ fden21=conv([422 1],[604.4 1]);
( q" V9 M; G7 p8 y+ `9 q I, w4 Ynum22=0.57;2 }! M5 t+ P' Z' ^2 {, N! M0 J3 L
den22=conv([518 1],[502.7 1]);+ O% O2 ^# r9 n8 V$ a) }
[A1,B1,C1,D1]=tf2ss(num11,den11);
, c0 t$ U& g- B9 o, o+ p5 j3 H J[A2,B2,C2,D2]=tf2ss(num12,den12);' h3 T# ~7 O2 t8 N! V
[A3,B3,C3,D3]=tf2ss(num21,den21);3 M2 z+ x& `# b; y" \+ _9 V
[A4,B4,C4,D4]=tf2ss(num22,den22);" C8 y" X; j# R- w2 x l- u
S_m11=ss(A1,B1,C1,D1);
# |: L% g; h2 o0 X7 I; c8 zS_m12=ss(A2,B2,C2,D2);
4 W! d1 w9 X" z0 w: @S_m21=ss(A3,B3,C3,D3);# g& j$ h* F8 `' Q4 }
S_m22=ss(A4,B4,C4,D4);
4 G8 o0 ^% G2 b4 ?: pPP=[S_m11,S_m12;S_m21,S_m22];
9 O( z9 p. [1 I4 Z; p[As,Bs,Cs,Ds]=ssdata(PP);%得到传递函数模型
3 [* m: ^; N0 A5 w2 z& _9 R
g) [: ` z2 T: P2 D; YJ=[-2+2*j,-2-2*j,-20+j,-20-j,-50,-100,-200,-300];5 B; e9 ]& c: E, ^7 k/ H: P) }
Kx=place(As,Bs,J);6 t7 O& s- P# a, Q/ }
' F! |. [& q5 o; n3 ~! ~5 p/ c$ g& {$ p, ~1 J# z' R W
|
|