- 雖然是 1 bytes,但是只有 12 bit 的解析度,high bits (MSB) 都是 0 -- 也就是說,data 都是正值囉。
以下是copy他的說明:
另外這一篇有說,現在地磁的強度,在地球北極(磁南極)是 0.7G (gauss),地球南極是 0.6G。地磁最小的地方是南回歸線,約 0.25G。
When doing measurements with a gaussmeter, please note that the actual field at the surface of a magnet is at most one half of the rated residual magnetism for that magnetic material. If a rare-earth magnet is rated at 14,000 gauss for example, a bar magnet made from that material will have an actual field of at most 7000 gauss at the north pole and -7000 gauss at the south pole. The readings may be even less than 7000 gauss. If the bar magnet is thin (that is, its length is at least 10 times its diameter) then the field will be close to 7000 gauss. If the bar magnet旧 length is less than 10 times its diameter, the field at either pole will be weaker. For example, if the magnet is in the shape of a cube, the surface field will be 4500 gauss or less. The full 14,000 gauss field can only be created if two bar magnets are in a gap configuration. This means that the magnets are held close together so that one south pole of one magnet is held very close to one north pole of the other. The distance between the magnets (the gap width) must be small compared to the magnet diameters, and each magnet旧 length must be at least 10 times its diameter. Then the field in the gap will be approximately the full value of the magnetic material旧 residual magnetism, which is 14,000 gauss in this example. Magnets that are flat (like a pancake) have a very low surface field. The magnetic pull force between equal magnets or between a magnet and a steel or iron block can be calculated from field strength. This force is approximately [Force in grams] = 0.00016 x [Field on the magnet face in gauss]2 x [Magnet face area in square cm].)
- rang 是 +- 2G,分成 12 bit,所以resolution (sensitivity) 是 1/512 G。
- 資料寫得非常不清楚,但是由 offset distribution 來看,offset 值是 2048,所以應該都是正的值,0 G 在 2048。
查到台北地區的資料是:
| Declination + East - West | Inclination + Down - Up | Horizontal Intensity | North Component + North - South | East Component + East - West | Vertical Component + Down - Up | Total Field | ||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
12/27/09 | - 3° 57' | 36° 16' | 36,292.4 nT | 36,206.2 nT | -2500.3 nT | 26,633.1 nT | 45,016.2 nT | ||||||
Change per year | - 4' per year | 0' per year | -7.9 nT/year | -10.7 nT/year | -40.3 nT/year | -3.6 nT/year | -8.5 nT/year |
單位:Wiki說,1 Tesla = 104Gauss
所以Taipei 的地磁通量是 0.45G。
- 所以 量起來應該是 +- 230
- Horizontal : 0.36G = 184
- Vertical : 0.26G = 133
地磁量測 Sensor 通常是利用 AMR (Anisotropoc Magnetorresistive) Sensor:
ref: http://archives.sensorsmag.com/articles/0399/0399_18/main.shtml
大概是利用有磁力的鐵棒,當外部磁力影響,鐵棒變形,電阻改變,所以量測電阻就可以知道外部磁力的大小。
有因為這個鐵棒的磁力會減弱或受大外力作用而改變,所以常常需要重新加磁。
Sensor 也要內建這樣的功能。ref 是說,利用外加線圈在這些鐵棒上,通電產生磁廠就可以。
同時,控制通電的方向,可以變更鐵棒的磁極方向。
- 這樣的動作叫 SET/RESET - 就是通電
實際量測:
- X: 23 ~ 263 , rang: 240
- Y:50 ~ 270, rang: 220
- Z: