I have been been working on designing a sine wave inverter using PIC16F887 microcontroller using fullbridge configuration.. The part of the design that seems stressful is implementing feedback in the code.
This is an excerpt of the sine wave table.
This is what happens;
The table is a two dimensional array; sinearray[row][column].
The row index ranges from 0 - 6 and the column index ranges from 0-49.
when the value of the row index is between 0-3, the sine wave and the frequency is okay but when the row index start approaching 4 -6,
the sine wave becomes distorted and the frequency is drastically reduced.
what can i do about this, any suggestion or an alternative approach ?