Download User Manual - Willow Technologies

Transcript
Sections 5.3 and 5.4 outline how to perform a calibration using TCM Studio. To perform a
calibration using the PNI binary protocol, follow the steps listed below. Refer to Section 7
for information on how to implement the commands listed.

Using the kSetParam command, set the number of tap filters to 32.

Using the kSetConfig command, set kUserCalAutoSampling. “False” is generally
recommended, but “True” may be more convenient.

Using the kSetConfig command, set kCoeffCopySet (magnetometer calibration)
and/or kAccelCoeffCopySet (accelerometer calibration). These fields allow the user
to save multiple sets of calibration coefficients. “0” is the default.

Using the kSetConfig command again, set kUserCalNumPoints to the appropriate
number of calibration points. The number of calibration points should be at least 12
for Full Range Calibration, Limited Tilt Range Calibration and 2D Calibration; at
least 6 for Hard Iron Only Calibration; and at least 18 for Accel Only Calibration and
Accel and Mag Calibration.

Initiate a calibration using the kStartCal command. Note that this command requires
indentifying the type of calibration procedure (i.e. Full Range, 2D, etc.).

Follow the appropriate calibration procedure discussed in Sections 6.2.1 to 6.2.6. If
kUserCalAutoSampling was set to “False”, then send a kTakeUserCalSample
command when ready to take a calibration point. If kUserCalAutoSampling was set
to “True”, then look for kUserCalSampCount to confirm when a calibration point has
been taken. During the calibration process, heading, pitch, and roll information will
be output from the module, and this can be monitored using kDataResp.

When the final calibration point is taken, the module will present the calibration score
using kUserCalScore.

If the calibration is acceptable (see Section 7.4.17), save the calibration coefficients
using kSave.
6.2.1
Full Range Calibration
This calibration method is appropriate when the module can be tilted ±45° or more. The
Full Range Calibration option calibrates out hard and soft iron effects in three
dimensions, and allows for the highest accuracy readings. Two calibration patterns are
discussed below.
The 12 Point North-Unaware Calibration Pattern is a series of 3 circles of evenly spaced
points, with as much tilt variation as expected during use. This calibration pattern does
not require knowing which direction the module is facing nor does it require turning the
module upside down. The 18 Point North-Aware Calibration Pattern can provide
TCM User Manual r05
Page 28