The Matlab code does run and it is correct. Be aware, that this is the version for a full bridge (3-level) inverter. Some lectures online derive the equations nicely, but mostly for the 2 level half bridge version. It implements the example from the Master's thesis OPTIMIZED HARMONIC STEPPED-WAVEFORM FOR MULTILEVEL INVERTER (Siriroj Sirisukprasert) and if it agrees with the one shown in this video, then produces the same result as in the example shown in the thesis. If you would like to see the derivation of why this works, the thesis does not show it but you can find it in the paper "Generalized Techniques of Harmonic Elimination and Voltage Control in Thyristor Inverters: Part I--Harmonic Elimination" by Patel et al. (If you want to make it run, be careful that F is a vector, but dF is a matrix (spaces) a mistake that some of the commenters have made. Also, the break condition needs the function "all", this may have been a subtle change in Matlab Since this video was posted.)
Thanks for sharing this valuable information. I have a question. Why the low order harmonics are not completely eliminated as the SHE technique eliminates the low order harmonics?
The Matlab code does run and it is correct. Be aware, that this is the version for a full bridge (3-level) inverter. Some lectures online derive the equations nicely, but mostly for the 2 level half bridge version.
It implements the example from the Master's thesis OPTIMIZED HARMONIC STEPPED-WAVEFORM FOR
MULTILEVEL INVERTER (Siriroj Sirisukprasert) and if it agrees with the one shown in this video, then produces the same result as in the example shown in the thesis.
If you would like to see the derivation of why this works, the thesis does not show it but you can find it in the paper "Generalized Techniques of Harmonic Elimination and Voltage Control in Thyristor Inverters: Part I--Harmonic Elimination" by Patel et al.
(If you want to make it run, be careful that F is a vector, but dF is a matrix (spaces) a mistake that some of the commenters have made. Also, the break condition needs the function "all", this may have been a subtle change in Matlab Since this video was posted.)
Please subscribe this channel we are publishing more related video soon.
Sir can you provide whole simulation i.e,how to draw each block of simulation diagram
Sir Please make a video of CASCADED H-BRIDGE INVERTER up to the value of alpha 6
I need this simulation and program code as well. Please provide sir and also please share video for seven level CHB inverter
Sir kindly make a video on Grid tie multilevel inverter power control.... i really like your videos
Very nice video sir, could you please provide matlab simulation and script files that would be very useful for many students like me sir.
Amazing
Sir, I need this simulation and program code as well.
Thanks for sharing this valuable information. I have a question. Why the low order harmonics are not completely eliminated as the SHE technique eliminates the low order harmonics?
Same doubt, the value of THD is still around 75 which is very high
@@harikapadma7337 I believe it is because of the presence of higher order harmonics which can be removed easily using filters.
Can you provide for the nine level inverter
clc;
clear all;
A=input('M=');
H=input('H=');
M=0:0.01:A;
for ii = 1:length(M)
alpha1=20*pi/180;
alpha2=30*pi/180;
alpha3=50*pi/180;
alpha4=70*pi/180;
alpha5=80*pi/180;
for i=1:H+1
T = [M(ii)*pi/4 0 0 0 0]';
% F matrix: Cosine terms for harmonics
F = [cos(alpha1)-cos(alpha2)+cos(alpha3)-cos(alpha4)+cos(alpha5);
cos(3*alpha1)-cos(3*alpha2)+cos(3*alpha3)-cos(3*alpha4)+cos(3*alpha5);
cos(5*alpha1)-cos(5*alpha2)+cos(5*alpha3)-cos(5*alpha4)+cos(5*alpha5);
cos(7*alpha1)-cos(7*alpha2)+cos(7*alpha3)-cos(7*alpha4)+cos(7*alpha5);
cos(9*alpha1)-cos(9*alpha2)+cos(9*alpha3)-cos(9*alpha4)+cos(9*alpha5)];
dF =[-sin(alpha1) +sin(alpha2) -sin(alpha3) +sin(alpha4) -sin(alpha5);
-3*sin(3*alpha1) +3*sin(3*alpha2) -3*sin(3*alpha3) +3*sin(3*alpha4) -3*sin(3*alpha5);
-5*sin(5*alpha1) +5*sin(5*alpha2) -5*sin(5*alpha3) +5*sin(5*alpha4) -5*sin(5*alpha5);
-7*sin(7*alpha1) +7*sin(7*alpha2) -7*sin(7*alpha3) +7*sin(7*alpha4) -7*sin(7*alpha5);
-9*sin(9*alpha1) +9*sin(9*alpha2) -9*sin(9*alpha3) +9*sin(9*alpha4) -9*sin(9*alpha5)];
dalpha=(inv(dF))*(T-F);
i;
alpha=[alpha1;alpha2;alpha3;alpha4;alpha5]*180/pi
% Update alpha values with the calculated delta
F;
dalpha*180/pi;
alpha1=alpha1+dalpha(1);
alpha2=alpha2+dalpha(2);
alpha3=alpha3+dalpha(3);
alpha4=alpha4+dalpha(4);
alpha5=alpha5+dalpha(5);
% Check for convergence
if dalpha>-1e-15 & dalpha
can you please explain how the SHE is applied for 5 level cascaded inverter, how to derive the switching pulses for all the switches.
Can you tell how did you get the value of aplha1=20*pi/180....and so on
please provide program
Please can i have the sumuling and code
Gracias
de nada, suscríbete y comparte este canal con tus amigos.
For harmonic order =5,7 it shows negative values of angles. harmonic order you have written there it means for 3rd harmonic or upto 3 harmonics?
i need this simulation and its program code as well
Can you tell how will the output for 5level inverter with shepwm would look like?
In the 3rd line of the script file, can you tell me what you've written after "The modulation index" ?
I was wondering if you could give me the script code of this video for NR method?
Can you please provide the code
Please provide the code file?
Thank you for valuable information and also I need how to do 9 level flying capacitor multilevel inverter topology sir. Please reply me
Hello, Could you please help me with this question:
How many harmonic components at most can be eliminated by using alpha1 to alpha5?
What is pi/4 refere to ? and how can we get it ?
Write video time line
@@SUNInnovative 7:39
i have the same doubt
@@SUNInnovative Please Explain this
sir, what about 180 to 360 degree. you haven't shown that simulation. how to find ig2??
Please subscribe this channel, very soon we are doing live this matlab simulation to solve every query
Sir.. there is an error while running the code... It is shown that " error using inv
Matrix must be square"
You might be doing wrong while putting values.
@@SUNInnovative sir what changes should be done for a 3 phase inverter??
dalpha*180/pi;
What is it mean for???
It's rad, to degree conversation
In that case you need to provide each pahse by 120 degree phase shifting
Sir can you provide C program for selected harmonic elimination
Very helpful..How can I get the file for NR method or simulink
khud bhi kuch karna sikho
Can you try do SHE with 5level of cross connected source mli?
Please subscribe this channel we are publishing more related video soon.
hello, The THD value is very high. How to reduce it?
Re change the value of alpha
i look for five level inverter single phase command by Selective Harmonic Elimination
Please send requirement on eoyinnovative@gmail.com
Did you get response?
could you create a model for five level inverter with thise command (SHE)
Yes, please contact eoyinnovative@gmail.com
Did you contact them?
Can I get this simulation to my mail id?
Where is the value in the code, 20, 30, 50, 70 and 80 come from?
It's for cancellation of fundamental Frequency Eliminate
@@SUNInnovative how would you calculate them ?
I need simulation
Could you help me with some doubts in this matlab simulation...
Please help😇
eoyinnovative@gmail.com
Sir , Your lecture is very helpful can you sent me the program code please
Please subscribe this channel we are publishing more related video soon.
could you create a model for v2g (Vehicle to Grid)
Good idea. Thanks for suggesting
I have mailed u seeking help in matlab haven't received any response from you, please response.Thank you!
this can work for 11 harmonics
Pls provide this program
visit online store www.suninnovative.in
please give the code file
Assignment karna hai kya PQIS ka😆😆
Yaar tere assignment main jo answer hain wo galat hain. Alpha ki value satisfy nahi kar rhi equation ko. check kar bhai ek baar🤬🤬
@Himanshu Rajoria, ek bhi equation satisfy nhi ho rhi hai, check kro el baar
I have mailed u seeking help in matlab haven't received any response from you, please response,its 5days
Resend on eoyinnovative@gmail.com, sorry for inconvience,
Jst resent u the mail please look into it and help me
Hello bro, can you please forward the code to my mail
harshitp9989@gmail.com
I will help me so much in my project.
Please send it to me.
@@pentainamerica bro do u get the code??
@@basavarajuk4135 noo
very poor explanation of the matlab code