03.08.2013 Views

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

Embedded Software and Motor Control Libraries for PXR40xx

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Figure 4-44. Course of the function GFLIB_Tan<br />

As can be seen from Figure 4-44, tangent values are identical <strong>for</strong> angles in the ranges:<br />

1. [- π/2, 0) <strong>and</strong> [ π/2, π)<br />

2. (- π, - π/2) <strong>and</strong> [0, π/2)<br />

Equation GFLIB_Tan_Eq2<br />

As the approximation reaches the best precision in range [- π/4, π/4), the range reduction<br />

is applied to whole interval dividing it into four sub-intervals also using the<br />

GFLIB_Tan_Eq3 equation:<br />

Equation GFLIB_Tan_Eq3<br />

<strong>Embedded</strong> <strong>Software</strong> <strong>and</strong> <strong>Motor</strong> <strong>Control</strong> <strong>Libraries</strong> <strong>for</strong> <strong>PXR40xx</strong>, Rev. 1.0<br />

Chapter 4 API References<br />

Freescale Semiconductor, Inc. 431

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!