No video

MPPT P&O C code simulation in MATLAB | Perturb and observe method simulation

  Рет қаралды 25,526

AHSAN MEHMOOD

AHSAN MEHMOOD

Күн бұрын

Пікірлер: 82
@kum.hinabennathalalkadeval2623
@kum.hinabennathalalkadeval2623 3 жыл бұрын
Your model is very simple, effective and straight explanation. So your video is very much helpful to me and following your concept and model. Thanks .With Regards.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Thanks for the encouraging comment.
@hinakadeval4124
@hinakadeval4124 3 жыл бұрын
It is completely running ! 👍
@aahat4828
@aahat4828 Ай бұрын
it not work at 500 irradiances... What is the problem may i know??
@muhammadzakir304
@muhammadzakir304 3 жыл бұрын
Great! it would be very helpful if you could make a video on the co-simualtion between PSIM and MATLAB.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
That video is coming soon, within a month.
@waleedalmohana
@waleedalmohana 9 ай бұрын
for the mppt p&o algorithm code how can the code repeat it's self to reach to the mppt (where is the loop) i see the code it's work one time only
@mugiwara5375
@mugiwara5375 Жыл бұрын
why boost converter voltage and current were not used for mppt code?
@faizashah2465
@faizashah2465 Жыл бұрын
Hey!!! It’s giving me an error of output of port1(that is m of PV Array) is not connected. How should I sort it out? Thanks
@tazeenliaquat4900
@tazeenliaquat4900 9 ай бұрын
Facing same issue ,,Have you sorted it out ? Also did you face the error of Vload ?Kindly reply as soon as possible
@dr.virendrasharma2286
@dr.virendrasharma2286 Жыл бұрын
I have used MATLAB R2021a, but powergui not seen such type of condition in continuous/???
@ahsanmehmood9229
@ahsanmehmood9229 Жыл бұрын
I used Matlab 2016. If simulation runs without setting to continuous mode, then it's fine.
@desenpolat4730
@desenpolat4730 Жыл бұрын
Hello sir, in the last part of your code it seems to me that this part "sum=sum+D" should be inside the loop. I am having a hard time to understand can you please help me ?
@ahmeterden7376
@ahmeterden7376 Жыл бұрын
+1
@ahsanmehmood9229
@ahsanmehmood9229 Жыл бұрын
No, its correct. Its very simple. Important variable in this code is 'DArray'. DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation. The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D. This part of code has been used to smoothen the waveforms (input and output) of converter.
@chingshomantuhu1099
@chingshomantuhu1099 2 жыл бұрын
Sir why I'm not getting the same output as in the video after giving Same value!? Please help me
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Watch complete video carefully.
@shrivalliharithachalla2192
@shrivalliharithachalla2192 3 жыл бұрын
Thank you sir for the detailed explanation. Can u please tell why did you create an array of size 500 with zeroes. Thanks and regards.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
MPPT P&O duty-ratio algorithm results into waveforms, which have ripples. Therefore, in order to smooth out the shape of waveforms and reduce ripples, we use controllers such as PID controller, sliding mode controller etc. But these controllers are difficult to design. Therefore, I have used this code you are referring to. This code stores and takes average of 500 samples of duty-ratio, which results in a smooth and reduced-ripples waveforms. This part of the code is not necessary. If you don't want to use it, then there is no need to use.
@shrivalliharithachalla2192
@shrivalliharithachalla2192 3 жыл бұрын
@@ahsanmehmood9229 thank you sir.
@ohnoob5078
@ohnoob5078 Жыл бұрын
How to make script be in siumlink?
@santoshbandaru3567
@santoshbandaru3567 3 жыл бұрын
Good afternoon sir, can you explain design procedure for buck and buck-boost converters for PV application and considering partial shading also. Thank you.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Sure, I'll explain in another video.
@chingshomantuhu1099
@chingshomantuhu1099 2 жыл бұрын
Why are you using 2 capacitors? Sir
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Where have I used two capacitors?
@chingshomantuhu1099
@chingshomantuhu1099 2 жыл бұрын
@@ahsanmehmood9229 like Cin and Cout but in boost converter there is only one capacitor
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Cin is used between boost converter and PV array in photovoltaic system only. It is not the part of boost converter. The purpose of using this extra capacitor is to track MPP. Without using it, we cannot track MPP.
@chingshomantuhu1099
@chingshomantuhu1099 2 жыл бұрын
Sir please help me I'm your subscribers ❣️ I'm doing this for my final project my project is " pv system with optimization algorithms"
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
I am very busy these days, I have not even posted a video since a long time. You can check my other videos on my channel, may be they could be of some help to you.
@souheilGAMES
@souheilGAMES 2 жыл бұрын
hello sir, thank you very much every thing worked to me. but i didn't understand in the Code, why when you try to increase the voltage you used : D=Dprev - 0.0001. why the sign (-) is it + to increace the voltage. please sir can you explain little bit.
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
There I am talking about to increase the array voltage. If we use + sign in place of - sign, it means we are closing the switch of boost converter, which will result in short-circuiting of PV array when D reaches close to 1. Therefore, array voltage will decrease to 0 V. Hence, you can coclude that increasing duty-ratio will decrease array voltage and decreasing duty-ratio will increase array voltage.
@souheilGAMES
@souheilGAMES 2 жыл бұрын
@@ahsanmehmood9229 thank you very much sir, it was a great to know how it works, Sir can you do video of MATLAB/SIMULNIK of thr Fractional open circuit voltage based MPPT for PV system, i searched every place and i didn't find it , thank you very much sir wish you more succes, have a nice day.
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Okay, I'll do it as soon as find time.
@souheilGAMES
@souheilGAMES 2 жыл бұрын
​@@ahsanmehmood9229thank you for the response, all respect to you
@SunnyKumar-of3vx
@SunnyKumar-of3vx Жыл бұрын
Can you please explain the the code that was used in the last part of the video?
@ahsanmehmood9229
@ahsanmehmood9229 Жыл бұрын
Its very simple. Important variable in this code is 'DArray'. DArray is persistent variable, i.e., it will be created only once during the whole simulation, it is same as "global variable" in C++ language. The remaining variables are created and destroyed in each iteration, but DArray is only created once and remains alive till the end of simulation. The purpose of DArray is to store 500 previous values of D (duty ratio). Current value of D is stored at 500th position. The "for loop" serves two purposes - to shift D back to one position in each iteration and to calculate sum of all values of DArray. So input to this code is D and output is also D. This part of code has been used to smoothen the waveforms (input and output) of converter.
@SunnyKumar-of3vx
@SunnyKumar-of3vx Жыл бұрын
@@ahsanmehmood9229 I am very thankful for your reply sir . I will go through the explanation and will comment if I still have some doubt.
@Vamsi_Edits_1549
@Vamsi_Edits_1549 2 жыл бұрын
Hi sir, Will you do a video on Hybrid MPPT method which is a combination of P&O and Direct prediction method in MATLAB software with C code simulation for wind turbines
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
I have not worked on wind turbines.
@Vamsi_Edits_1549
@Vamsi_Edits_1549 2 жыл бұрын
@@ahsanmehmood9229 ohh ok sir, Thanks for your reply
@rajalakshmin4467
@rajalakshmin4467 3 жыл бұрын
Sir,will u please make video on partial shading detection with boost and grid tied inverter.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Sure, I will. Any particular algorithm or research paper you have in mind?
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
???
@rajalakshmin4467
@rajalakshmin4467 3 жыл бұрын
@@ahsanmehmood9229 yes sir
@rajalakshmin4467
@rajalakshmin4467 3 жыл бұрын
I'm doing grey wolf optimization technique but I'm not getting accurate results.
@rajalakshmin4467
@rajalakshmin4467 3 жыл бұрын
Will u write the code for grey wolf mppt technique in matlab sir ..
@sreekanthreddy345
@sreekanthreddy345 3 жыл бұрын
Sir If possible make a video on fault identification of PV arrays
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
okay, sure I will.
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Which research paper are you trying to implement?
@sreekanthreddy345
@sreekanthreddy345 3 жыл бұрын
@@ahsanmehmood9229 A technique for fault detection, identification and location in solar photovoltaic systems
@sreekanthreddy345
@sreekanthreddy345 3 жыл бұрын
(OR) An MPPT-Based Sensorless Line-Line and Line-Ground Fault Detection Technique for PV Systems
@sreekanthreddy345
@sreekanthreddy345 3 жыл бұрын
(OR) Fault Detection, Classification and Localization Algorithm for Photovoltaic Array
@streamclean5091
@streamclean5091 2 жыл бұрын
What if u put capacitor instead of load ? As in capacitive load
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
It will not work, as capacitive load will behave as open circuit in steady state.
@streamclean5091
@streamclean5091 2 жыл бұрын
@@ahsanmehmood9229 will i get steady voltage output ?
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Output voltage will be same as open circuit voltage of the PV array in steady state, and MPPT will not work.
@streamclean5091
@streamclean5091 2 жыл бұрын
@@ahsanmehmood9229 coz I'm not getting steady voltage output when i keep capacitor instead of resistive load.
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
Yes, it is because MPPT is trying to achieve maximum power point, but due to the absence of resistive load, it is unable to dissipate extra power, which is stored in input and output capacitors.
@souravbasak6651
@souravbasak6651 2 жыл бұрын
Sir what is the configuration of powergui ???
@ahsanmehmood9229
@ahsanmehmood9229 2 жыл бұрын
It is continuous.
@souravbasak6651
@souravbasak6651 2 жыл бұрын
Sir I made 3*3 pv array with single single module,, but can't get output.....had to add memory block before derivative....how to overcome that,...to run the array on mppt?? Can I mail you my design???
@hinakadeval4124
@hinakadeval4124 3 жыл бұрын
Kindly help for pmdc motor load !
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Kindly ask someone other, it is not my field.
@hinakadeval4124
@hinakadeval4124 3 жыл бұрын
@@ahsanmehmood9229 i m ready to pay u also if possible
@ahsanmehmood9229
@ahsanmehmood9229 3 жыл бұрын
Its not about money. I have no experience with PMDC motor or any type of motor. You have to consult someone who has experience in this area.
@hinakadeval4124
@hinakadeval4124 3 жыл бұрын
@@ahsanmehmood9229 Thank u very much for giving kind response.
@hinakadeval4124
@hinakadeval4124 3 жыл бұрын
@@ahsanmehmood9229 i remember u for your kind help and refer you in my research work.
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 12 МЛН
Prank vs Prank #shorts
00:28
Mr DegrEE
Рет қаралды 10 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 31 МЛН
3.5 MPPT: Perturb and Observe Method
18:57
Sandeep Anand
Рет қаралды 6 М.
PO MPPT - Step By Step Implementation of P&O MPPT In MATLAB
31:40
Learn MATLAB Simulink
Рет қаралды 46 М.
MPPT Incremental Conductance in Simulink
34:11
Zarzis Rony
Рет қаралды 8 М.
PID Controller Implementation in Software - Phil's Lab #6
20:06
Phil’s Lab
Рет қаралды 207 М.
MPPT - ¿Qué es y Como Funciona?
25:13
ELECTRONOOBS en Español
Рет қаралды 37 М.
mathematical modelling of solar PV array in Simulink (MATLAB 2015)
18:23
P&O MPPT for Photovoltaic
14:53
Dr. Hadeed Ahmed Sher, Senior Member IEEE
Рет қаралды 19 М.
Happy birthday to you by Tsuriki Show
00:12
Tsuriki Show
Рет қаралды 12 МЛН