jean12
Advanced Member level 2
Hello everybody I am back on the calculation of SPWM sine table values and the values for
SET_FREQ and shift times.
I referred to Tahmdi blog but really I am not getting good signals for generating the inverter appropriate waveforms working at 50HZ and with a carrier of 12KHZ,I am using a quartz of 12MHZ,but my codes are not giving 50HZ nor 12KHZ as carrier
Instead of getting 50Hz I am getting 7.92Hz and 625.5Hz respectively.please referring to Tahmid calculations could any one help me to determine the good values for my two variables in order to generate 50HZ and 12KHZ?
The output I am getting looks like https://tahmidmc.blogspot.com/2013/02/demystifying-use-of-table-pointer-in.html
SET_FREQ and shift times.
I referred to Tahmdi blog but really I am not getting good signals for generating the inverter appropriate waveforms working at 50HZ and with a carrier of 12KHZ,I am using a quartz of 12MHZ,but my codes are not giving 50HZ nor 12KHZ as carrier
Instead of getting 50Hz I am getting 7.92Hz and 625.5Hz respectively.please referring to Tahmid calculations could any one help me to determine the good values for my two variables in order to generate 50HZ and 12KHZ?
The output I am getting looks like https://tahmidmc.blogspot.com/2013/02/demystifying-use-of-table-pointer-in.html