With the development of optics and microelectronics technology, the portable 3D scanner which is regarded as combination of laser technology, computer science and artificial intelligence have been applied widely in the three-dimensional measuring field, the built-in electromagnetic tracking technology has played an important role in the portable scanner. Combined with the coordinate conversion formula and equipment we can get, using experimental method, we designed the built-in electromagnetic tracking system, using experimental tests, our system can work normally and we accomplished the design and analysis work. This paper is the introduction of this part.

In the 21st century, all kinds of new technology emerge. With the development of optics and microelectronics technology, new 3D scanners hold the market, and in this part western country is in the lead, such as in USA, Polhemus had developed the FastCAN Cobra, in Canada, HandyScan had been used widely. But in china, we only in the study stage. So, it is useful for us to design 3D scanners system.

Electromagnetic tracking system derives from the study of the portable laser scanner’s position tracking. Through obtaining the targets’ real-time 3D coordinate to connect the image and goals. When a receiving sensor moving in space, electromagnetic tracking system can accurately calculate its position and orientation, it can provide dynamic, real-time measuring position and orientation angle [

At present, we accomplished the design and make sure it can work in a small range. In our design, the system is potable and it can work through physical. This is our system’s advantage.

In our study, the electromagnetic tracking system can be decomposed into 4 parts: Transmission Circuit (TC), Receiving Circuit (RC), DSP and Personal Computer (PC).

Transmission Circuit (TC) mainly includes Signal Generating and Processing Circuit (SGPC), Analog Switching Circuit (ASC), Signal Amplification Circuit (SAC) and Electromagnetic Emission Coil (EEC). The signal generating and processing circuit used crystal oscillator. It generates 12 MHz signal. Through frequency division and waveform transform, we get the 9.6 KHz sine signal. Analog switching circuit can be used to control the time of signal radiation with DSP. After signal amplification by signal amplification circuit, the signal can be transferred to the electromagnetic emission coil and launched as the form of electromagnetic waves.

The receiving circuit mainly includes Sensing Receiver (SR), Signal Amplification Circuit (SAC), Band Pass Filter (BPF), Amplitude Detection Circuit (ADC). In the design, we select Honeywell’s three axis of magnetic resistance sensor as sensing receiver. It is HMC1043, it has the following characteristics: low cost, high sensitivity, minute extension, low noise, high reliability, strong adaptability, easy installation and so on [

TMS320F2812 is known as a rapid processing DSP, it can meet the sampling frequency that we need, and using its A/D part, the analog signals can be converted into digital signals. Another role is that it can control the time of signal transmission [

PC can give us the data by programming.

All of the component can be illustrated in

The electromagnetic emission coil is stereo ferric core winding circle. In the three directions of the cube we bind multilayer coils. Due to geometric construction of the cube, it can accurately guarantee the three coils orthopedic and homocentric [

DSP mainly have following ports to make all parts together, it is shown in

(State: MFS is magnetic field space)

Figure1. The structure of the electromagnetic tracking system.

The receiving circuit used DSP A/D port to transmit and transform data. DSP connected with the analog switching circuit by I/O port and PC by SCI port. By controlling the analog switching circuit we can launch three channels’ signals through time sharing.

This system is mainly based on six degree-of-freedom electromagnetic tracking algorithm. Applying the origin of launch site as a benchmark, we can establish our coordinate system. The spherical coordinate of sensing receiver relative to electromagnetic emission coil can be expressed as (ρ, α, β), the rotational angles of sensing receiver relative to electromagnetic emission coil can be expressed as: ω, ξ, ψ. The definition is: first, round X^{*} make ω degrees of horizontal rotation; then, round Y^{*} make ξ degrees of pitching rotation; at last, round Z^{* }make ψ degrees roll rotation. After a series of matrix transformation, we can get the output formulas of ρ, α, β, ω, ξ, ψ [

Here we can get three important formulas F, W and A:

From (1) we can get:

P(z), in F matrix, is modulus square of received vector of z axis and G is unit matrix.

Using F we can get the calculation formula of ρ.

Here we simplify W as:

Using (2) we can get the calculation formulas of α and β:

Using (3) we can get the calculation formulas of ω, ξ and ψ:

Based on these formulas we can program for DSP to complete the operation of software.

The relationships between coordinates can be illustrated in

Here, R is rotation matrix, it is

And T is translation matrix, it is

In experiment, by controlling I/O ports, we get the data in sequence.

The principle diagram is expressed in

In practice, by controlling the analog switching, we can implement time-share launch. It can put a measurement cycle divided into three stage, the emission signals can only drive one launch coil at one stage. So, in each stage, only one coil can produce space magnetic field. The HMC1043 get 3 data of one coil in one stage, so we can get 9 data totally in one measurement cycle [

In experiment, the data acquisition part used DSP model of SEED_DPS2812M, it collect analog signals and convert it into digital signals. We can finally get these digital signals in PC.

Here, we just take the collected voltage amplitude for example, not put everything, such as the rotational angles-ω, ξ, ψ into detail. We collect voltage amplitude of each axis to check our system’s stability and errors. In order to find the problem, we collect data several times at one position, each cycle’s data as one group. We select three groups of data to state [

Analyzing the collected data, we average the three data of every stage of every axis, then calculate the relative error and the relative error are shown in

In reality, we select ρ at the position of 10 cm. Due to larger diameter of the electromagnetic emission coil, it about 5 cm, in fact ρ is the space length from the receiver

center to coil center and the data we get unavoidably exists error. In experiment we find if ρ is bigger than 15 cm the signal weakening faster. From the table we can find:

1) When the output voltage is small, for example, approach to 0.1 v, the relative error is large.

2) Because of time-share launch, in different stage, the output voltage is different, but the voltage of the same axis at different time is basic stable. After many experiments-different position experiments, this can be proved and our system is stable.

3) Due to the differences of position, in the same position for different axis, the error is different; the same axis for different position, the error is also different.

Summing up above and combined with the experiments, the stability of the system is ideal. But due to the limit of the distance between the electromagnetic emission coil and receiver, the error of the system is big and the main factor is the size of the electromagnetic emission coil. In addition, the output voltage amplitude smaller is also one factor.

Now, our system can only work in a small scope, such as the receiver distance is 10 cm and its precision is only 2 - 4 mm, for a well precision, it can reach 0.5 mm, all of this is our system’s limitation. Next step we should improve the precision and make it working radius reach 20 - 30 cm. In order to improve our system, there are many methods:

1) Improve the electromagnetic emission coil, due to the limit of the distance between the electromagnetic emission coil and the receiver. The coil is smaller the effect will be better. Normally, diameter of the coil should be far less the distance from the coil to receiver. But at the same time, we should ensure the electromagnetic emission coil working at resonance state and transmitted power largest, the circle number of the coil and the area of the coil should meet the need of transmitted power, the coil cannot be made infinitely small.

2) Increase signal magnification of the receiving circuit. In our experiment, in order to reduce the noise interference, the magnification of the signal amplification circuit is just 200 times.

3) Combined with six degree-of-freedom algorithm, do compensation process. In this part we can use Two Interpolation Algorithm to do compensation process for amplitude and angle of output.

At present, we accompliment our design and through the experiment, our system can work stability at a small scope and the precision need improved. In short, we accomplished the design and analysis work and make a good preparation for next section.