By analyzing a magnetic bearing sensor's operating principle, an orthogonal projection vector is structured. Then, a theoretic expression of a spin-tracing algorithm (STA) is derived which can be used to control the tracing computation process of getting azimuth data by exploiting the triangle transform. The structure and stability of the algorithm are also discussed. Furthermore, a relation between the tracing step length Δβand the maximum computation step number Nmax is set up. The STA algorithm has been implemented as a system-on-chip based on an FPGA with CPU hardcore. The exper...