|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
我在用place函数的的时候出现了如下的错误0 j/ ^" j& ^6 o( r9 p
The "place" command could not place the poles at the specified locations. Probable causes include:
, O* ]6 f# y' A( r2 y" v* (A,B) is nearly uncontrollable
2 g& _: v) W& g9 M8 Y) N* The specified locations are too close to each other.
8 w, h+ {) v0 Z6 X- {* o
! B: K3 C8 ~. |1 C! k# a% v9 a但是我的状态空间模型是从传递函数转过来的,而且我的极点设计也没有很近呀,下面是我的程序:* j8 e; I% E' T4 e" K0 p
num11=[-24.88];
/ e7 |! T/ I7 zden11=conv([475.35 1],[511.85 1]);
( z d4 n' T; ?6 z- P" m5 t! Pnum12=[-20.634];
# a" q5 B4 ^, V: V$ W) n zden12=conv([491.98 1],[501.11 1]);% r+ e8 Y% `. J' R D* [; {
num21=[0.42];
4 ?( a% ]' [4 R- U' E5 Yden21=conv([422 1],[604.4 1]);
+ A9 }2 i$ P1 D& s {' Pnum22=0.57;% R2 r" _0 j4 X0 D3 ~: w
den22=conv([518 1],[502.7 1]);
: y; G1 Q# N3 G- M! z; z1 I[A1,B1,C1,D1]=tf2ss(num11,den11);
! Z4 u6 |2 L: b% a& H) {[A2,B2,C2,D2]=tf2ss(num12,den12);
( [* Q: v0 L4 ~[A3,B3,C3,D3]=tf2ss(num21,den21);+ o% @4 F2 \% c0 t- C7 {$ ?) G i9 Z
[A4,B4,C4,D4]=tf2ss(num22,den22);
* J6 w$ }' H, d4 US_m11=ss(A1,B1,C1,D1);- A" V5 U0 n# K7 }% h
S_m12=ss(A2,B2,C2,D2);7 b3 d7 M1 g6 ] l5 l; _3 C
S_m21=ss(A3,B3,C3,D3);
& ?- }/ O, J, MS_m22=ss(A4,B4,C4,D4);2 `" {/ z; \2 s e/ |9 F, `
PP=[S_m11,S_m12;S_m21,S_m22];
, y+ o( L" b- a# Z9 L[As,Bs,Cs,Ds]=ssdata(PP);%得到传递函数模型
3 P$ ]" z2 E4 M) L$ U# E( Y. \
9 b' d. @$ Y( eJ=[-2+2*j,-2-2*j,-20+j,-20-j,-50,-100,-200,-300];
/ |) N) H c+ J$ E- z7 }2 Z8 M9 yKx=place(As,Bs,J);% B% V) J) [5 t$ [% k5 n/ |
% M4 t; D) |1 w0 Z9 N
: P k% d/ m$ G% X% P* T
|
|