Dear brothers,
I'm using TMS320F335 WITH CCS 3.3.My topic is about mppt with fuzzy logic controller. the input of ADC are the voltage and current from the PV source while the output of DSP (epwm) is the duty ratio.
I guess i have problem with the setting of ADC and ePWM.
for ADC i'm using the SAME sampling time of the system inside time pane of the ADC.the sampling time value is 1/150k is used inside time pane of ADC.
while the ePWM setting is as follows.
timer period is 3000 because i used up-down mode.so 150Mkh/2*25Khz=3000
other setting of epwm is repectively
do nothing
do nothing
set
clear.
the system is just two sensors and dc-dc boost converter with resistive load. 25khz switching frequency and 1/150khz is the sampling time.
the problem i face is that when i implement the algorithm inside the dsp, i get higher dsp output (duty ratio) value than normal value so the results are affected. 80% instead of 50%.
please if some one can help me . i agree to send him the module to check the setting of blocks.
thanks brothers.