Design of sliding mode controller for single phase quasi impedance source inverter simulation model.
6 次查看(过去 30 天)
显示 更早的评论
Design of sliding mode controller for single phase quasi impedance source inverter simulation model.
1 个评论
Jon
2022-7-7
MATLAB answers is a place to get help with implenting your solution in MATLAB code. Once you have attempted to solve your problem by writing some code, and have questions or problems with the coding then please post your specific question.
回答(1 个)
Sam Chak
2022-7-7
Since you didn't provide or explain the mathematical model, then the premise of SMC probably looks something like this:
options = odeset('RelTol', 1e-4, 'AbsTol', 1e-6);
[t, x] = ode45(@odefcn, [0 20], [1 0 0], options);
C = [1e10 -4.8e6 1e6/9];
plot(t, C*x', 'linewidth', 1.5)
grid on, xlabel('t'), ylabel('y'), title('Output of Quasi-Z-Source Inverter')
function dxdt = odefcn(t, x)
dxdt = zeros(3, 1);
A = [0 1 0; 0 0 1; -3e7 -4e5/3 -1e3/3];
B = [0; 0; 1];
u = - B'*A*x - sign(x(3) + x(2) + x(1)); % wikipedia says to use the signum function
dxdt = A*x + B*u;
end
4 个评论
Sam Chak
2022-7-12
@shiv santosh kumar singh, you should have provided the document/model from the beginning if you are truly looking for help. I'm not good at reading things that confused me, especially when simple things are made complicated for the readers. I assume that Eq. (9) is the 2nd-order model, so please provide the following:
C = ;
L = ;
iL = ;
idc = ;
iref = ;
vc1 = ;
vc2 = ;
vin = ;
vref = ;
The u is given in Eq. (6), which requires the so-called Sliding Surface S that can obtained from Eq. (8). Therefore, also provide the following:
alpha1 = ;
alpha2 = ;
Confusingly, the 4th-order model of the qZSI is given in Eq. (5).
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Power Converters 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!