⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 obsdesign.m

📁 realize analysis and design for computer-controlled system
💻 M
字号:
% obsdesign.m% Macro to make design of the observer for robot mechanism% Computer Controlled Systems (3rd ed)% Author: B. Wittenmark% Last edit: 1996-12-08% Copyright (c) 1996 by K. J. 舠tr鰉, B. Wittenmark and% Department of Automatic Control, Lund Institute of% Technology, Lund, Sweden%The continuous time modelJ1=10/9;J2=10;k=1;d=0.1;kI=1;om0=1; al=J1/(J1+J2);be1=d/(J1*om0);be2=d/(J2*om0);ga=kI/(J1*om0);de=1/(J1*om0);A=om0*[0 1 -1al-1 -be1 be1al be2 -be2];B=[0 0; ga de; 0 0];C=[0 0 om0];D=[0 0];%Sampling of the systemh=0.5;   %Sampling period[phi,gamma]=c2d(A,B,h);%Definition of continuous time closed loop characteristic polynomialomega_m=0.5;zeta_m=0.7;alpha_1=2;alpha_0=2;den=conv([1 2*zeta_m*alpha_0*omega_m (omega_m*alpha_0)^2],...[1 alpha_1*alpha_0*omega_m]);%Conversion to sampled data characteristic polynomial[As,Bs,Cs,Ds]=tf2ss([0 0 0 1],den);[phis,gas]=c2d(As,Bs,h);P=eig(phis);%PoleplacementK=acker(phi',C',P);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -