matlab画自动控制原理中的根轨迹求助 如何用matlab画开环系统根轨迹?
matlab\u753b\u81ea\u52a8\u63a7\u5236\u539f\u7406\u4e2d\u7684\u6839\u8f68\u8ff9\u6c42\u52a9\u53c2\u8003\u4ee3\u7801\uff1a
s=zpk('s');G=1/((s+1)*(s^2+6*s+10))rlocus(G)
\u7ed9\u4f60\u4e2a\u7b80\u5355\u7684\u4f8b\u5b50\uff0cg\u53ef\u4ee5\u6839\u636e\u4f60\u7684\u9700\u8981\u6539\u53d8\uff0c\u4f46\u662f\u91cc\u9762\u5e94\u8be5\u4e0d\u80fd\u6709K\u8fd9\u79cd\u672a\u77e5\u91cf\u3002
s=tf('s');
g=10*(s+2)/(s^2+2
*s+3);
rlocus(g)
\u5224\u65ad\u7a33\u5b9a\u7684K\u503c\u8303\u56f4\uff0c\u6700\u57fa\u672c\u7684\u65b9\u6cd5\u662f\u9996\u5148\u6c42\u51fa\u95ed\u73af\u4f20\u9012\u51fd\u6570\uff0c\u7136\u540e\u6839\u636eRouth\u5224\u636e\u5373\u53ef\u5224\u65ad\u3002Routh\u5224\u636e\u5177\u4f53\u5185\u5bb9\u6bd4\u8f83\u590d\u6742\uff0c\u8fd9\u91cc\u4e0d\u8be6\u8ff0\uff0c\u4f60\u968f\u4fbf\u4e00\u641c\u5c31\u5f88\u5bb9\u6613\u77e5\u9053\uff0c\u4e5f\u4e0d\u96be\u3002
\u5982\u679c\u8981\u7528\u6839\u8f68\u8ff9\u5224\u65ad\u7684\u8bdd\uff0c\u53ef\u80fd\u6bd4\u8f83\u590d\u6742\uff0c\u9700\u8981\u51c6\u786e\u7684\u753b\u51fa\u6839\u8f68\u8ff9\u53ca\u5176\u53d8\u5316\u8d8b\u52bf\uff0c\u6c42\u5176\u4e0e\u865a\u8f74\u7684\u4ea4\u70b9\uff0c\u5de5\u4f5c\u91cf\u4e0d\u6bd4Routh\u5224\u636e\u5c11\u3002
\u6b22\u8fce\u8ffd\u95ee~
绛旓細鑷姩鎺у埗鍘熺悊闃诲凹绾跨敾娉曞涓嬶細1銆侀鍏堟墦寮matlab杞欢锛屾柊寤烘枃浠跺伐绋嬨2銆佸叾娆★紝缁樺埗闆舵瀬鐐筽zmap涓庢牴杞ㄨ抗缁樺埗rlocus銆3銆佹渶鍚庯紝缁欏畾涓缁勬牴璁$畻鏍硅建杩瑰鐩妑locfind鍜屽湪杩炵画绯荤粺鏍硅建杩瑰浘涓婂姞绛夐樆灏肩嚎鍜岀瓑鑷劧鎸崱瑙掗鐜囩嚎sgrid鍗冲彲瀹屾垚銆
绛旓細s=zpk('s');G=1/((s+1)*(s^2+6*s+10))rlocus(G)
绛旓細棰樹富缁欏嚭鐨勬槸鑷姩鎺у埗鍘熺悊闂锛岄偅濡備綍鏉缁樺埗bode鍥惧拰鏍硅建杩瑰浘锛熸垜浠粠涓嬪垪鍑犱釜鏂归潰鐫鎵嬶細棣栧厛锛屾牴鎹涓荤粰鍑篏锛坰锛夌殑浼犻掑嚱鏁帮紝鍒嗚В鍑哄叾鍒嗗瓙绯绘暟鍜屽垎姣嶇郴鏁帮紝鍗硁um=[X0 X1]锛宒en=[Y0 Y1 Y2 Y3 0]鍏朵簩锛屼娇鐢╰f锛堬級鍑芥暟锛屽缓绔嬩紶閫掑嚱鏁版ā鍨嬶紝tf锛坣um,den锛夊叾涓夛紝浣跨敤bode锛堬級鍑芥暟锛岀粯鍑篵ode鍥 ...
绛旓細閮芥槸Matlab
绛旓細锛2锛変粠闃惰穬鍝嶅簲鏇茬嚎鍙互鐪嬪埌锛屽姞鍏ョН鍒鎺у埗涔嬪悗锛岀郴缁熸棤闈欏樊銆傞殢鐫绉垎鏃堕棿甯告暟澧炲ぇ锛岀郴缁熻秴璋冨噺灏忋傦紙3锛夌敤缁堝煎畾鐞嗭細>> syms s kp Ti>> G=1/(s+1)^3;>> Gc=kp*(1+1/(Ti*s));>> limit(Gc*G/(1+Gc*G),0)ans =1 绗3棰 姹傞樁璺冨搷搴旓細G=zpk([],[-1 -1 -1],1);s=tf('...
绛旓細鑷姩鎺у埗鍘熺悊妗嗗浘鐨勭粯鍒舵妧宸у涓嬶細1銆佹槑纭洰鐨勶細鍦ㄥ紑濮嬬粯鍒舵鍥句箣鍓嶏紝瑕佹槑纭缁樺埗鐨鐩殑銆傛槸涓轰簡鍒嗘瀽绯荤粺鐨勭ǔ瀹氭с佸揩閫熸ц繕鏄噯纭с備笉鍚岀殑鐩殑浼氬奖鍝嶅埌妗嗗浘鐨勭粏鑺傚拰渚ч噸銆2銆侀夋嫨鍚堥傜殑宸ュ叿锛氬彲浠ラ夋嫨鎵嬬粯銆佽蒋浠剁粯鍒剁瓑澶氱鏂瑰紡銆傜幇浠g殑杞欢濡MATLAB銆乂isio绛夐兘鎻愪緵浜嗚嚜鍔ㄦ帶鍒跺師鐞嗘鍥剧殑缁樺埗宸ュ叿锛岃繖浜涘伐鍏...
绛旓細k=rlocfind(num,den);閲嶆柊杩愯鍚庯紝matlab绐楀彛浼氭彁绀衡淪elect a point in the graphics window鈥滐紝鍦ㄨ烦鍑烘潵鐨勬牴杞ㄨ抗鍥句腑閫変腑涓庤櫄杞寸殑浜ょ偣锛屽姣斿彸涓婃柟workplace涓殑鏁版嵁鍙獙璇並max=0.79锛堜汉宸ュ彇鐐逛細鏈夌偣璇樊锛夛紝绾㈣壊鈥+鈥濆涓哄彇鐨勭偣銆傝嚦浜庝负浠涔堣鍙栦笌铏氳酱鐨勪氦鐐癸紝閭f槸鍥犱负鍦ㄦ暣瀹氬弬鏁扮殑杩囩▼涓紝K鍊...
绛旓細璇锋眰楂樹汉甯垜鐢讳竴涓嬭繖涓牴杞ㄨ抗鍛銆鑷姩鎺у埗鍘熺悊鑰冪爺棰樼洰:璁惧崟浣嶈礋鍙嶉鎺у埗绯荤粺鐨勫紑鐜紶閫掑嚱鏁癎(s)=K(s+5/3)/s^2(s+7)鐢诲嚭姝ょ郴缁熺殑鏍硅建杩规垜瀹炲湪鐢讳笉鍑烘潵,鎬绘劅瑙夊垎绂荤偣纭畾鍚庡氨涓嶄細鐢... 璇锋眰楂樹汉甯垜鐢讳竴涓嬭繖涓牴杞ㄨ抗鍛銆傝嚜鍔ㄦ帶鍒跺師鐞嗚冪爺棰樼洰:璁惧崟浣嶈礋鍙嶉鎺у埗绯荤粺鐨勫紑鐜紶閫掑嚱鏁 G(s)=K(s+5/3)...
绛旓細鏈枃妗h缁嗚В鏋愪簡鑷姩鎺у埗鍘熺悊鐨勫悇涓叧閿煡璇嗙偣锛屽苟缁撳悎MATLAB杩涜瀹炶返搴旂敤銆傝鎴戜滑閫愮珷娣卞叆鎺㈣:绗竴绔狅細鎺у埗绯荤粺瀵艰 鏈珷姒傝堪浜嗘帶鍒剁郴缁熺殑鍩虹姒傚康鍜岄噸瑕佺悊璁猴紝閫氳繃绮惧績璁捐鐨勪範棰樼簿瑙o紝甯姪浣犲珐鍥虹悊瑙c傜浜岀珷锛氭帶鍒剁郴缁熺殑鏁板妯″瀷 娣卞叆鍓栨瀽鏁板妯″瀷鍦ㄦ帶鍒剁郴缁涓殑搴旂敤锛岄氳繃瀹炰緥涔犻锛岃浣犳帉鎻℃ā鍨嬪缓绔嬩笌...
绛旓細G1=tf(10,[1 1]);G2=tf(2,[1 1 0]);G3=tf([ 1 2],[1 3]);G4=feedback(G2,G3,1);%杩欐潯寰楀埌鍓嶅悜閫氶亾閲岄潰閭d釜姝e弽棣堢殑寮忓瓙锛宖eedback鐢ㄦ硶鏈夌偣蹇 浜嗭紝鍙互鍘绘煡鏌ワ紝鏄湁姝e弽棣堢殑鐢ㄦ硶鐨勩侴5=tf([5 0],[1 6 8]);G=feedback(G1*G4,G5) %鏈缁堢粨鏋 鏄繖涔堜釜鎬濊矾锛...