I generate a look up table,then if I want to implement a phase locked loop how do I keep track of the phase?I know that I need to minise the phase error for correct demodulation,but if my sine signals are in an buffer array how do I work with them?
For example,an FM signal comes in,I multiply by my VCO signal,then I filter out the upper side bands and left with the error signal multiplied by the message signal as:
y(t) = cosE*m(t)
but now if my signal is stored in some buffer array,how do I track the phase?