I am working on three phase ACIM drive using dspic33fj64mc706. And i successfully generate PMW and control the three phase ACIM. I use gs004 application note for this (please see attachment).
But here the step size of 1Hz is possible and now I want the step size of 0.1Hz. So please anyone can guide me, how to modified this program(given in gs004) for 0.1Hz step size
I presume you are referring to the "Delta_Phase variable" calculation?
The output frequency doesn't have exactly 1 Hz resolution, it's about 0.3 Hz for the given PWM frequency and phase generation scheme and your Hz number will be rounded down to the next integer phase increment. You can easily change the calcukation to accept 1/10 Hz input, but it will still round to 0.3 Hz steps.
unsigned int Phase, Delta_Phase, Phase_Offset;
Phase += Delta_Phase; // Accumulate Delta_Phase in Phase variable
Phase_Offset = _120_DEGREES; // Add proper value to phase offset
Multiplier = sinetable[(Phase + Phase_Offset) >> 10];// Take sine info
Now only the upper 6 bits of variable Phase are used to address the sine table, 10 lower bits are already used as fractional bits. You can increase the resolution by using e.g. 32 bit variables for Phase and DeltaPhase and still use the 6 upper bits for the sine output.