Hi all,
I have made a Simulink model for MPPT techniques where it takes voltage and current signals of a PV module through an arduino board and convert the output duty cycle to pulses which switch the buck converter... the problem i encounter is that the pulse generator block ( D to pulses block) seems to produce incorrect output for the input duty cycle. when i test the output pwm with oscilloscope i get different frequency from the one entered in the block .