資源簡介
電動汽車建模,采用m語言編寫的電動汽車模型
代碼片段和文件信息
%?Electric?vehicle?model
%?Created?by?John?Hedengren?john_hedengren@hotmail.com
%?based?on?dc?motor?model
%???by?Roger?Aarenstrup?roger.aarenstrup@mathworks.com
%
function?xdot=electric_car(tx)
global?u
%?Vin?is?the?input?voltage?to?the?motor?(Volts)
%?i?is?the?motor?current?(Amps)
%?dth_m?is?the?rotor?angular?velocity?sometimes?called?omega?(radians/sec)
%?th_m?is?the?rotor?angle?theta?(radians)
%?dth_l?is?the?wheel?angular?velocity?(rad/sec)
%?th_l?is?the?wheel?angle?(radians)
%?dth_v?is?the?vehicle?velocity?(m/sec)
%?th_v?is?the?distance?travelled?(m)
%?Input:???Vin:?motor?voltage
Vin?=?u;
%?Motor?parameters?(DC?motor)
Rm??=?0.1;?????????????%?Motor?resistance?(ohm)
Lm??=?0.01;?????????????%?motor?inductance?(Henrys)
Kb?=?6.5e-4;???????????%?Back?EMF?constant?(Volt-sec/Rad)
Kt?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????2080??2007-09-26?18:29??electric_car.m
?????文件????????1632??2007-09-26?18:19??step.m
?????文件????????1321??2014-02-12?12:31??license.txt
- 上一篇:采用稀疏表示的圖像融合方法
- 下一篇:EV-charge
評論
共有 條評論