共用方式為


Gyroscope Sensor Test

This test validates the gyroscope sensor.

Test details

Associated requirements

Device.Input.Sensor.Gyroscope.SensorDataType Device.Input.Sensor.Gyroscope.SensorReportInterval

See the device hardware requirements.

Platforms

Windows RT (ARM-based) Windows 8 (x64) Windows 8 (x86) Windows RT 8.1 Windows 8.1 x64 Windows 8.1 x86

Expected run time

~2 minutes

Categories

Certification Functional

Type

Manual

 

Running the test

Before you run the test, complete the test setup as described in the test requirements: Sensor Device Testing Prerequisites. The Accelerometer Sensor Shake Event Test should also pass before running this test.

Gyroscopes generally emit noise on the magnitude of +/- 2 degrees per second. Prior to running the gyroscope test, you should use the Sensor Diagnostic Tool to validate the gyroscope sensor is not generating values greater than 2 degrees per second when the system is stationary.

Gyroscope tests expect to receive an angular velocity of greater than 40 degrees per second on the axis being rotated and less than 15 degrees per second on the stationary axes. To achieve passing results, you will find that the system can be rotated on a turntable to keep the other two axes stationary. The system should also be centered on the turntable to prevent movement on other axes from detecting rotation.

You will be asked to do the following during this test:

  1. Lay the device flat with the screen up. Rotate the device clockwise. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED < -40

  2. Lay the device flat with the screen up. Rotate the device counter-clockwise. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED > 40

  3. Hold the device vertical with the Windows button on the bottom. Looking down on the device, rotate the device clockwise along the axis between the top of the screen and the Windows button. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < -40

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED > 40

  4. Hold the device vertical with the Windows button on the bottom. Looking down on the device, rotate the device counter-clockwise along the axis between the top of the screen and the Windows button. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED >40

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED < 15

  5. Hold the device vertical with the Windows button on the left. Looking down on the device, rotate the device clockwise keeping the device vertical and in the portrait orientation. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < 40

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED < 15

  6. Hold the device vertical with the Windows button on the left. Looking down on the device, rotate the device counter-clockwise keeping the device vertical and in the portrait orientation. The expected values during rotation are as follows:

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_X_DEGREES_PER_SECOND_SQUARED < -40

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Y_DEGREES_PER_SECOND_SQUARED < 15

    • SENSOR_DATA_TYPE_ANGULAR_ACCELERATION_Z_DEGREES_PER_SECOND_SQUARED < 15

Troubleshooting

For troubleshooting information, see Troubleshooting Device.Input Testing.

 

 

Send comments about this topic to Microsoft