umdf sensor hardware (non-hid) win32 app metro style app sensor driver (3rd party) sensor hardware...
TRANSCRIPT
www.buildwindows.com
Chalk talk for sensor and location support in Windows
Fred Bhesania – Program Manager LeadSandy Spinrad - Test LeadDino Natucci – Program Manager Gavin Gear – Program Manager Microsoft Corporation
HW-664C
www.buildwindows.com
Agenda
• Sensors and location opportunities• Overview of sensor and location platform• Demo• Hardware/software validation
You’ll leave with examples of how to• Understand location/sensor architecture and inbox
driver story• Gain knowledge of critical validation tools and
experiences to optimize your platforms
www.buildwindows.com
Opportunities for sensor and location apps• Make user experiences more relevant to the user’s
location• Enhance apps by adapting to the surrounding
environment• Every app can use simple sensor gestures• Easily create casual games and apps that use
sensors• Use sensor fusion to implement cutting edge apps
www.buildwindows.com
Sensor scenarios
• Sensor categories • Light sensor• Fused motion sensors• Presence sensor
• Sensor scenarios• Basic – rotate, flip, shake• Intermediate – raw sensors• Advanced – sensor fusion
Accelerometer Sensor
Gyroscope Sensor
www.buildwindows.com
Location scenarios
• Location• Search points of interest (POI)• Geo-tag photos and other content• Navigation• Location aware notifications • weather, news , sports, coupons
• Many others…
www.buildwindows.com
Platform overview
UMDF
Sensor Service
Sensor API (Win32)
Sensor Hardware (non-HID)
Win32 app
Metro style app
Sensor Class Extension
Sensor Driver (3rd Party)
WinRT Sensor API
Sensor Driver (HID)
Sensor Hardware (HID)
Blue = In Windows 8Green = 3rd
PartyBlack = Firmware
www.buildwindows.com
Windows 8 inbox sensor drivers
• HID sensor class driver• Buses supported = USB, I2C• Sensors supported = light, motion, presence• Built on industry standard – USB-IF
• ACPI ALS sensor driver• Buses supported = ACPI methods• Sensors supported = light• Built on industry standard – ACPI 4.0
www.buildwindows.com
Sensor hardware
• For Slate PC and Convertible PC hardware• Light sensor• Motion sensors + fusion• Accelerometer• Magnetometer• Gyroscope
• GPS (on systems with mobile broadband hardware)
www.buildwindows.com
Hardware/software validation
• Review certification requirements• Certification tests primarily validate • Required sensors are present• Sensors are correctly orientated• Sensors provide the required data fields
• OEMs and IHVs should develop extensive test plans to thoroughly exercise their sensors under a variety of conditions• Power management, plug and play, noisy RF conditions,
system stress, darkness, etc.• Use the common device verification tools (WDF verifier,
driver verifier, etc).
www.buildwindows.com
Hardware integration and lessons learned• Sensors• ALS placement• Magnetic interference• Calibration
• GPS• Antenna selection and placement• RF interference
• OEMs and IHVs need to work closely together for system design & integration
www.buildwindows.com
Related sessions
• [HW-249T] Architecting and integrating sensor drivers
• [PLAT-781T] Using location & sensors in your app• [HW-260T] Windows Certification: improvements to
the logo program
www.buildwindows.com
• Feedback and questions http://forums.dev.windows.com
• Session feedbackhttp://bldw.in/SessionFeedback
thank you
© 2011 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to
be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
www.buildwindows.com
Simplified Platform Block Diagram
Sensor Driver
Sensor API
Metro style apps
Location API
Win32 Apps
Sensor Device
Location Driver
Location Device
www.buildwindows.com
Sensor Fusion – Hardware Implementation
3D Accelerometer
Blue = In Windows 8Green = 3rd
Party
3D Magnetometer3D Gyro
Microcontroller
Sensor Driver (HID)
Black = Firmware
www.buildwindows.com
Sensor Fusion – Software Implementation (1)
3D Accelerometer
Blue = In Windows 8Green = 3rd
Party
3D Magnetometer3D Gyro
Accelerometer Driver
Gyro DriverMagnetometer
Driver
Sensor Fusion Driver
Black = Firmware
www.buildwindows.com
Sensor Fusion – Software Implementation (2) Blue = In
Windows 8Green = 3rd Party
3D Magnetometer
3D Gyro / 3D Accelerometer
Sensor Fusion Driver
Black = Firmware
www.buildwindows.com
Sensor Fusion Inputs and Outputs (9-Axis)
Pass-Through
Accelerometer3D Accelerometer
3D Gyro
3D Magnetometer
Sensor Fusion
Gyro
Compass
Inclinometer
Device Orientation