Skip to main content
HSK 33 min read

Why does a stationary phone's accelerometer still not read zero?

手机没动,加速度计为什么还不显示零?

Display options

手机(shǒu jī)安静(ān jìng)地(de)放(fàng)在(zài)桌(zhuō)上(shang),里面(lǐ miàn)的(de)加速度计(jiā sù dù jì)却(què)不一定(bù yī dìng)显示(xiǎn shì)零(líng)。

A phone rests quietly on a table, yet its accelerometer does not necessarily read zero.

没有(méi yǒu)动(dòng),为什么(wèi shén me)还(hái)有(yǒu)读数(dú shù)呢(ne)?

Why is there a reading when it is not moving?

关键(guān jiàn)是(shì),这种(zhè zhǒng)读数(dú shù)不只(bù zhǐ)与(yǔ)手机(shǒu jī)的(de)运动(yùn dòng)有关(yǒu guān),还(hái)包括(bāo kuò)重力(zhòng lì)的(de)影响(yǐng xiǎng)。

The key is that this reading does not only concern the phone's motion; it also includes the influence of gravity.

加速度计(jiā sù dù jì)是(shì)一种(yī zhǒng)感应器(gǎn yìng qì),可以(kě yǐ)把(bǎ)作用(zuò yòng)在(zài)它(tā)上(shàng)的(de)力(lì)变成(biàn chéng)数据(shù jù)。

An accelerometer is a sensor that can turn forces acting on it into data.

在(zài)安卓(ān zhuó)系统(xì tǒng)的(de)说明(shuō míng)中(zhōng),它(tā)给出(gěi chū)的(de)数值(shù zhí)把(bǎ)重力(zhòng lì)也(yě)算(suàn)了(le)进去(jìn qù)。

In Android's documentation, the values it reports include gravity.

重力(zhòng lì)是(shì)地球(dì qiú)对(duì)东西(dōng xi)的(de)吸引(xī yǐn),手机(shǒu jī)放(fàng)着(zhe)不(bù)动(dòng),也(yě)不(bù)代表(dài biǎo)这种(zhè zhǒng)影响(yǐng xiǎng)消失(xiāo shī)了(le)。

Gravity is Earth's attraction on objects; a stationary phone does not mean this influence has disappeared.

因此(yīn cǐ),读数(dú shù)不是(bù shì)零(líng),并(bìng)不能(bù néng)单独(dān dú)证明(zhèng míng)手机(shǒu jī)正在(zhèng zài)移动(yí dòng)。

Thus, a nonzero reading alone cannot establish that the phone is moving.

这(zhè)也(yě)不是(bù shì)说(shuō),桌上(zhuō shàng)的(de)手机(shǒu jī)正在(zhèng zài)越(yuè)跑(pǎo)越(yuè)快(kuài)。

Nor does it mean that the phone on the table is moving faster and faster.

要(yào)看(kàn)手机(shǒu jī)运动(yùn dòng)带来(dài lái)的(de)变化(biàn huà),就(jiù)需要(xū yào)把(bǎ)重力(zhòng lì)这(zhè)一(yī)部分(bù fèn)与(yǔ)其他(qí tā)部分(bù fèn)分开(fēn kāi)。

To examine changes due to the phone's motion, the gravity component needs to be separated from the others.

不过(bù guò),重力(zhòng lì)的(de)信息(xìn xī)本身(běn shēn)也(yě)有用(yǒu yòng):它(tā)可以(kě yǐ)帮助(bāng zhù)系统(xì tǒng)判断(pàn duàn)手机(shǒu jī)相对(xiāng duì)地面(dì miàn)的(de)姿势(zī shì)。

Gravity information is itself useful: it can help the system determine the phone's orientation relative to the ground.

感应器(gǎn yìng qì)可以(kě yǐ)提供(tí gōng)三(sān)个(gè)方向(fāng xiàng)的(de)数据(shù jù),而(ér)不是(bù shì)只(zhǐ)给(gěi)一(yī)个(gè)总数(zǒng shù)。

The sensor can provide data along three directions, rather than only one overall value.

不同(bù tóng)手机(shǒu jī)处理(chǔ lǐ)这些(zhè xiē)数据(shù jù)的(de)办法(bàn fǎ)可以(kě yǐ)不同(bù tóng),所以(suǒ yǐ)不能(bù néng)把(bǎ)一个(yī gè)说明(shuō míng)当成(dàng chéng)所有(suǒ yǒu)设备(shè bèi)的(de)做法(zuò fǎ)。

Different phones may process these data differently, so one description cannot represent every device's implementation.

这个(zhè gè)例子(lì zi)有趣(yǒu qù)的(de)地方(dì fāng)是(shì):数字(shù zì)在(zài)告诉(gào sù)我们(wǒ men)什么(shén me),要(yào)看(kàn)感应器(gǎn yìng qì)把(bǎ)哪些(nǎ xiē)影响(yǐng xiǎng)算进(suàn jìn)了(le)读数(dú shù)。

The interesting point is that what a number tells us depends on which influences the sensor includes in its reading.

Written by QI Chinese for Chinese learners.

Sources

Get the full lesson in the QI app

On the web you read with pinyin and translation. The QI app adds:

  • Listen to each sentence or the whole article
  • Tap any word to see its meaning
  • Save new words to review later
  • Practise with short exercises from this reading
Already have the app? Open this article

Keep reading

    Why does a stationary phone's accelerometer still not read zero? | QI Chinese