- Joined
- Jan 22, 2008
- Messages
- 53,271
- Helped
- 14,794
- Reputation
- 29,875
- Reaction score
- 14,320
- Trophy points
- 1,393
- Location
- Bochum, Germany
- Activity points
- 301,761
Not particularly a problem of look-up table. The basic point is to choose an angle unit to be used in your design. It could be e.g. 0.36 degree resolver resolution. Then you either use the same resolution for the look-up table or apply linear interpolation.I am not getting how to implement the sine lookup table as per the document. Let us I use 0 - 255 array for sine look up table. So each element will be like 360/256 degrees apart or 1.40625 degrees
...Next step is let us say my encoder sends 1000 pulses for one revolution or 360. So for every count i have 0.36 degrees incremented. How should i match this 1.4062 with 0.36. I am confused. Can you please suggest. Should i go with approximation?