hi guys,

sine lookup table is a vey important issue as far as digital control of inverter is concerned,can any of you expert treat us (we the beginer )in details the basics of creating this important table?.there is a formular used in microchip reference design,

vref= vp* sin(2II*K/N).
my concerns are:

1. What inform the choice of N( no of samples) other than the niquist sampling theorem?
2. how far can we go in the choice of this value?
3. what is the relationship between this no of samples and the total harmonic distortion of the sine wave?
4. is the above formular valid in all cases?

i dont know if this topic has been mentioned in the past, but i believe detail understanding of this important topic will assist greatly who will become a power inverter designer with microcontroller.

regards,
babalola