Design of sliding mode controller for single phase quasi impedance source inverter simulation model.
4 views (last 30 days)
Show older comments
Design of sliding mode controller for single phase quasi impedance source inverter simulation model.
1 Comment
Jon
on 7 Jul 2022
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.
Answers (1)
Sam Chak
on 7 Jul 2022
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 Comments
Sam Chak
on 12 Jul 2022
@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).
See Also
Categories
Find more on Power Converters in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!