Adaptive Sliding Mode Control

バージョン 24.2.1 (5.92 MB) 作成者: Jaclyn
Youtube: Adaptive Sliding-Mode Control for Boost DC–DC Converters: MATLAB Implementation
ダウンロード: 14
更新 2025/10/26

ライセンスの表示

Mo phong Video youtube
Adaptive Sliding-Mode Control for Boost DC–DC Converters: MATLAB Implementation
function [u,s,dx1,dx2,dv1,dtheta] = SMC(x1,x2,Vref,x1_e,x2_e,V1_e,theta_e)
%%Total sliding mode control
L=180e-6;
C=150e-6;
R=40;
iref=Vref^2/(R*60);
K1=883*5;
K2=883*5;
K=[K1 K2];
Lemda1=200;
Lemda2=250;
eps = 1e-6; % <-- Thêm hằng số epsilon
s=x1_e-Vref^2/(V1_e + eps)*theta_e; % <-- Đã sửa V1_e
u=1-(V1_e+K1*L*(x1-x1_e)+Lemda2*L*Vref^2/(V1_e + eps)*x2*(x2-x2_e)+Lemda2*L*Vref^2/((V1_e + eps)^2)*theta_e*(x1-x1_e))/(x2_e + eps); % <-- Đã sửa V1_e và x2_e
if u<0
u=0;
end
if u>0.95
u=0.95;
end
dx1=-(1-u)*x2_e/L+V1_e/L+K1*(x1-x1_e);
dx2=(1-u)*x1_e/C-theta_e/C*x2_e+K2*(x2-x2_e);
dtheta=-Lemda1*x2*(x2-x2_e);
dv1=Lemda2*(x1-x1_e);
%D=1-u;
end

引用

Jaclyn (2025). Adaptive Sliding Mode Control (https://jp.mathworks.com/matlabcentral/fileexchange/182394-adaptive-sliding-mode-control), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2024b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
バージョン 公開済み リリース ノート
24.2.1

24.2.0

24.2.0