Guest
Hi all,
I want to create a lookup table for finding ARCTAN . The input to the
lookup table is I,Q components. I and Q are 8 bits wide having values
from -127 to +127. THe output angle is also 8 bit wide , leaving the
resolution of the table to be 360/2^8 = 1.40625degrees.
I wanted to create a lookup table for ARCTAN with fast/less Area and
good precision.
The method I used is ..
Used a lookup table for finding normalised 1/(I+Q).
Multiplied the result by Q.
then use 5 MSBs of Q/I+Q for arctan lookup table.(instead of using
Q/I directly for the lookuptable.
the Index(address) for lookup table 1/I+Q was generated using 5 bits
,after the first '1' from MSB , from I+Q result.
The result was not so good, I was getting as much as 30 degree
deviation from actual value.
IS there any other method to make a Lookup table for ARCTAN.
thanks
John
I want to create a lookup table for finding ARCTAN . The input to the
lookup table is I,Q components. I and Q are 8 bits wide having values
from -127 to +127. THe output angle is also 8 bit wide , leaving the
resolution of the table to be 360/2^8 = 1.40625degrees.
I wanted to create a lookup table for ARCTAN with fast/less Area and
good precision.
The method I used is ..
Used a lookup table for finding normalised 1/(I+Q).
Multiplied the result by Q.
then use 5 MSBs of Q/I+Q for arctan lookup table.(instead of using
Q/I directly for the lookuptable.
the Index(address) for lookup table 1/I+Q was generated using 5 bits
,after the first '1' from MSB , from I+Q result.
The result was not so good, I was getting as much as 30 degree
deviation from actual value.
IS there any other method to make a Lookup table for ARCTAN.
thanks
John