CEVA hillcrestlabs FSM300 Скачать руководство пользователя страница 2

 

June 2017 

Document 1000-4126 - FSM300 Tare Function Usage Guide - Revision 1.1 

 

www.ceva-dsp.com 

© 2019 CEVA, Inc.

  

All rights reserved

 

2 / 5

 

 

 

 

o

 

This Tare setting allows the user to choose which of the rotation vector outputs to use 

as the basis for the Tare.  In most cases, Rotation Vector is the correct choice here.  If 

you are using the Game Rotation Vector as your main input, and you want to tare the Z 

rotation to re-center the Game Rotation Vector to point north, then you’d need to use 

the Game Rotation Vector as the basis for the tare.   Likewise, if you were doing a full 

tare using the Geomagnetic Rotation Vector, then you would need to use that as the 

basis. 

 

Tare Procedure 

Using the options defined above, you can choose what type of tare configuration makes the most sense 
for your application.  Here are a few examples of typical configurations: 

 

Device First Time Setup

 

 

In this example, the FSM300 is installed in an HMD and the sensor orientation needs to be 

defined.  This could be performed at the factory or by the user at first time setup.  This will use a full tare 
across all 3 axes and also save the setting into flash using the Persist Tare function.  Note that because 
the Pitch and Roll axes are being tared, the procedure is dependent on the device’s orientation relative 
to North so follow steps 3-5 carefully. 

1.

 

Power on the FSM300 and activate the Rotation Vector sensor. 

2.

 

Calibrate the magnetometer by rotating the device in a figure 8. 

a.

 

To validate that the magnetometer is well calibrated, you can look at the 

Rotation Vector’s Accuracy Estimate field.  This value provides an estimate for 

how accurate the algorithm thinks it is in units of radians.  A good goal is to 

confirm that the Accuracy Estimate is <10 degrees (0.1745 radians).  If 

performing a Figure 8 motion does not reduce the accuracy estimate below 10 

degrees than move to a cleaner magnetic environment. 

3.

 

Calibrate the accelerometer by positioning the device in 4-6 unique orientations and 

ensuring the device is stable for a few seconds in each orientation. 

a.

 

One way to think about this is to imagine the device is a cube and set it down on 

each face (upside down, right side, left side, on its front, its back). 

4.

 

Set the device down for a few seconds so that the gyroscope ZRO can calibrate as well. 

5.

 

Determine North in your current environment. 

a.

 

You can either look at a physical compass, or look at the Rotation Vector to 

determine where North is.  When the Rotation Vector reads W=1, X=0, Y=0, Z=0 

the device is pointed North. 

6.

 

Position the device so that your desired forward direction is pointed North and make 

sure the device is level. 

7.

 

Run the Tare Now command with the following settings: 

Byte 

Name 

Value 

Description 

Содержание hillcrestlabs FSM300

Страница 1: ...ntation into the Sensor Orientation configuration record This is a persistent setting that now becomes the default orientation Configuration Record o Sensor Orientation Stores the orientation of the device Once you know the standard orientation of your FSM300 in your device you can use the same starting orientation for all devices using this record as a convenient starting point More accurate per ...

Страница 2: ...e device s orientation relative to North so follow steps 3 5 carefully 1 Power on the FSM300 and activate the Rotation Vector sensor 2 Calibrate the magnetometer by rotating the device in a figure 8 a To validate that the magnetometer is well calibrated you can look at the Rotation Vector s Accuracy Estimate field This value provides an estimate for how accurate the algorithm thinks it is in units...

Страница 3: ...ser Tare In this example the user is operating the device at their desk They want to define the forward orientation before starting a game so all that needs to be done is tare the Z axis yaw the other axes which define level do not need to be changed from their previously established configuration This could be done via an on screen GUI or button on the device Because only the Z axis is being tare...

Страница 4: ...on It is likely that when using the FSM300 on a production device the orientation of the sensor will be the same on many units Rather than taring each individual unit you can apply the Tare settings to any number of additional units by using the FRS Sensor Orientation configuration record General steps for this are listed below For further information about reading writing FRS records contact Hill...

Страница 5: ... herein is believed to be accurate and reliable However the information is provided AS IS without any express or implied warranty of any kind including warranties of merchantability non infringement of intellectual property or fitness for any particular purpose In no event shall CEVA or its suppliers be liable for any claims and or damages whatsoever arising out of the use of or inability to use t...

Отзывы: