Part Number: TMS320F28335 Tool/software: Code Composer Studio Dear Sir, I am using MPPT Pno algorithm from the solar library. It is always giving the same voltage values reference value it is not changing. I used the library as the following. Step 1: Before the main program, I have included #include "Solar_F.h" MPPT_PNO_F mppt_pno1; Step 2: In the main program MPPT_PNO_F_init(&mppt_pno1); mppt_pno1.DeltaPmin = 0.0001; mppt_pno1.MaxVolt = 0.9; mppt_pno1.MinVolt = 0.65; mppt_pno1.Stepsize = 0.005;//0.008prev Step3: Fro every 200 us I am calling the following mppt_pno1.Ipv = ipavg*0.3333f; // Normalized Panel Current since ISC is 2.9A mppt_pno1.Vpv = vpavg*0.0492610f; // Normalized Panel Voltage since VOC is 20.3V // Invoking the MPPT computation macro MPPT_PNO_F_FUNC(&mppt_pno1); // Output of the MPPT macro can be written to the reference // of the voltage regulator pnew=vpavg*ipavg; delp=pnew-pold; if (abs(delp)>1.0f){ mppt_pno1.Stepsize = 0.1;//0.008prev }else{ mppt_pno1.Stepsize = 0.005;//0.008prev } Vpvref_mpptOut = (float32)(mppt_pno1.VmppOut); vpvref=Vpvref_mpptOut*vbase; if (vpvref 18.27f){ vpvref=18.27f; } VPV[ConversionCount]=vpvref; I tied to debug whether the MPPT_PNO_F.c file is executing or not. I kept the dot in line 37 and 43 to see whether it is executing or not. But it is not pausing the program. Please help me in this regard.
↧