matlab 水锅温度的控制设计 麻烦高手帮我看看吧~~~~

来源:百度知道 编辑:UC知道 时间:2024/06/04 11:26:33
水锅的数学模型G(s)=(K*e^(s))/(TS+1),其中T=20min,K=50,设计他的控制
最好是用仿真 专家的这个好复杂啊。。。看不懂 具体是想知道要用什么来控制它 到什么程度算比较好 最好有数据 谢谢了

如果是PID控制的话,比较简单,这是我个学生上课的时候,用的一个程序:

T = 0.001; % sampling time [ms]

% Run the PID controller file
P318PID

% Define Parameters

% ENTER Amplifier gain
Ka = 0 ; % [V/V]

% ENTER Digital Analogue Converter Gain
Kdac= 0 ; % [V/ct]

%Motor Parameters
%Dynamic parameters of motor
Kt = 0.06; % Torque Constant [Nm/A]
Ke = 0.06; % Back emf constant [V/rad/s]
Ra = 0.9; % Armature resistanc [ohms]
La = 0.002; % Armature inductance [H]
Jm=3.8e-05; % Motor inertia [kg-m2]

% Parameters of the Table and screw
pitch=0.0025; % pitch [m]
Len=0.5; % length of ball screw [m]
Dia=0.016; % diameter of ball screw [m]
Mass=0.964; % mass of table [kg]
Jl=Mass*(pitch/(2*pi))^2+925.5*Len*(Dia)^4; % inertia of load [kg-m2]

% total inertia
J=Jl+Jm; % total inertia [kg-m2]

% Defining the motor transfer fu