Magneto-Resistive Rotational Position Measurement (CN0368)
Overview
This circuit provides a contactless, AMR (Anisotropic Magneto Resistive) based angle measurement solution ideal for angle and linear position measurements. The system is capable of providing better than 0.2 degree accuracy. This translates into a linear position accuracy of 2 mil (0.002 inches).
The circuit is ideal for applications where high speed, accurate, non-contact angle and length measurements are critical such as brushless DC motor control.
General Setup
-
-
-
One
USB Type-A plug to
USB Mini-B plug cable.
One of the following:
6V DC wallwart. (EVAL-CFTL-6V-PWRZ)
DC power supply with a 0-6V output. (HP6236B)
One diametrically magnetized Neodymium magnet
One Neodymium magnet approximately two inches in length, magnetized along the length of the magnet.
Minimum PC/System Requirements
How to Install the Evaluation Software
Extract the files within the file
CN0368 SDP Eval Software.zip and open the file
setup.exe. It is recommended that you install the CN0368 SDP Evaluation Software to the default directory path
C:/Program Files/Analog Devices/CN0368/ and all National Instruments products to
C:/Program Files/National Instruments/
Press
“Next”.
Press
“Next”.
Press “Next”.
Upon completion of the installation of the
CN0368 SDP Eval Software, the installer for the
ADI SDP Drivers will execute. Follow the on-screen prompts to install the drivers. It is recommended that you close all other applications before clicking “Next”. This will make it possible to update relevant system files without having to reboot your computer.
-
Press “Next”.
It is recommended that you install the drivers to the default directory path C:/Program Files/Analog Devices/SDP/Drivers/
Press “Install” to install the Drivers and complete the installation of all software necessary to evaluate the EVAL-CN0368-SDPZ
Opening and Enabling the Evaluation Software
Launch the executable found at C:/Program Files/Analog Devices/CN0368 and press the “Connect“ button.
-
Calibration Methods
Single Temperature Calibration
The Single Temperature Calibration method allows the user to calculate VSIN_Offset and VCOS_Offset before calculating the magnetic field angle. This eliminates any error sources associated with a dynamic calibration procedure, but requires extra steps and time.
Select 'Single Temperature Calibration' from the drop down menu.
-
A prompt will appear instructing the user to rotate the magnetic stimulus through 360 degrees.
In this time the software is actively calculating VSIN_Offset and VCOS_Offset.
Press 'End Calibration' when finished.
The software will display the magnetic field angle, VSIN_Offset, and VCOS_Offset.
Press 'Sample Data' to actively calculate the magnetic field angle using the offsets calculated during the Single Temperature Calibration.
-
Press 'Click to Stop' when finished.
Multiple Temperature Calibration
The Multiple Temperature Calibration procedure is a method of compensating for temperature effects experienced by the amplifier and ADC. The temperature coefficients and offsets are calculated to provide a more accurate magnetic field angle and system response.
Select Multiple Temperature Calibration from the drop down menu.
Place the hardware in a temperature controlled environment at the desired T1.
-
Press Ok.
-
Rotate the stimulus through 360 degrees while VSIN_Offset_T1 and VCOS_Offset_T1 are calculated.
Press Ok.
-
Place the hardware in a temperature controlled environment at the desired T2.
Press Ok.
-
Rotate the stimulus through 360 degrees while VSIN_Offset_T2 and VCOS_Offset_T2 are calculated.
Press Ok.
Press Sample Data to observe the magnetic field angle results corrected for temperature and offset effects.
Dynamic Calibration
The Dynamic Calibration method actively calculates VSIN_Offset and VCOS_Offset as the magnetic stimulus rotates through 360 degrees. The software then subtracts these offsets in real time. This method is simpler than the Single Temperature Calibration and Multiple Temperature Calibration and can be implemented faster, with more ease.
Select 'Dynamic Calibration' from the drop down menu.
-
The software will automatically begin to sample and convert the VSIN and VCOS channels of the ADA4571.
Rotate the magnetic stimulus through 360 degrees.
The software will display the magnetic field angle, VSIN_Offset, and VCOS_Offset as the stimulus is rotated.
Early calculations for the magnetic field angle will have large errors until the offset's are calculated more precisely, the accuracy of the system will quickly improve with as few as one or two rotations are required.
Press 'Click to Stop' when finished.
The software will revert to its starting position allowing you to experiment with a new calibration method, or simply to sample data with the existing calibration data.