Compass in mobile devices

Palych
Уже с Приветом
Posts: 13719
Joined: 16 Jan 2001 10:01

Compass in mobile devices

Post by Palych »

А кто знает как работает компас (магнитометр?) в современных мобильных устройствах?
Только я обнаружил эту забавную фичу в Nexus 7, а оно кажется навернулось :cry:
Причём сломалось странным образом: этот "виртуальный компас" постоянно вращается :%)
Я вот думаю - может это софтовый глюк, или вращение там как-то зашито на уровне железа?
Спасибо!

P.S. Вращение не связано с глюком отдельного приложения: проверено в OsmAnd, Google Street View и в каком-то Compass App наугад скачанным с рынка.
User avatar
Medium-rare
Уже с Приветом
Posts: 9195
Joined: 04 Mar 2011 03:04
Location: SFBA

Re: Compass in mobile devices

Post by Medium-rare »

IEEE на тему высказался:
The component that handset makers are exploiting to make these feats possible is the three-axis magnetometer. The sensor system's job is to home in on Earth's magnetic field and use that as a reference for determining the handset's orientation along the x-, y-, and z-axes. Three axes are important "because that third sensor allows the handheld device to correct for the orientation of Earth's magnetic field at a given location, as well as the relative position of the device," says Mark Laich, vice president of worldwide sales at Memsic, a maker of electronic compasses based in Andover, Mass. "Otherwise users would have to hold the phone precisely parallel to the ground or in some other position that may not correspond to how they normally use it."
... and even then it's rare that you'll be going there...
Palych
Уже с Приветом
Posts: 13719
Joined: 16 Jan 2001 10:01

Re: Compass in mobile devices

Post by Palych »

Спасибо!
Статья познавательная, но пока то что я понял указывает что датчики должны вести себя как вольтметры: больше отклонение - больше сигнал. При каких условиях оно бы вращалось?...
User avatar
Medium-rare
Уже с Приветом
Posts: 9195
Joined: 04 Mar 2011 03:04
Location: SFBA

Re: Compass in mobile devices

Post by Medium-rare »

Смутно вспоминая истории с прошлой работы, может быть и программный глюк. Такой датчик у нас "помогал" в навигационном устройстве для определения вектора при быстрых внезапных перемещениях. Но это никогда не было именно моей "темой". Вот тут, какой-то хоббист пишет, а насколько применимо к вашему Нексусу... :pain1:
... and even then it's rare that you'll be going there...

Return to “Электроника”