已回答假定已回答

adis16227

郭震2009 在 2018-3-20 詢問的問題
最後回覆由EmmaChen於2018-4-23提供

你好,最近在弄这个adis16227的 震动传感器,

发现读取的数据与预想的不一致,有点疑惑,找不到adi的技术支持。

配置 REC_CTRL = 0x1112

也就是 manual_time 模式,0-5g 量程 ,100.189K的采样率

每次 置位GLOB_CMD 的 record start/stop 位来读取 x buff里的数据,

下表是x 轴正反向 大致垂直地面的采集数据,  前面是乘以5g 量程的lsb   0.1526 的数据, 后面是x_buff 寄存器里的数据,

很奇怪,这时候 为什么得不到1g 的数据, 居然还有负数, 我是x正向朝下的啊?

回复,谢谢   @guozhen2012@163.com

 

[-14.50,0xffa1]  [-90.80,0xfdad]  [224.17,0x5bd]  [-14.50,0xffa1]  [-481.76,0xf3ab]

[147.87,0x3c9]  [224.17,0x5bd]  [300.47,0x7b1]  [457.80,0xbb8]  [-90.80,0xfdad]

[-715.39,0xedb0]  [-558.06,0xf1b7]  [-324.43,0xf7b2]  [-248.13,0xf9a6]  [-639.09,0xefa4]

[66.84,0x1b6]  [-90.80,0xfdad]  [-90.80,0xfdad]  [-639.09,0xefa4]  [-715.39,0xedb0]

[457.80,0xbb8]  [-90.80,0xfdad]  [381.50,0x9c4]  [1468.78,0x2599]  [457.80,0xbb8]

[-14.50,0xffa1]  [300.47,0x7b1]  [381.50,0x9c4]  [691.43,0x11b3]  [300.47,0x7b1]

[-14.50,0xffa1]  [381.50,0x9c4]  [534.10,0xdac]  [-171.83,0xfb9a]  [457.80,0xbb8]

[-90.80,0xfdad]  [-558.06,0xf1b7]  [-14.50,0xffa1]  [-639.09,0xefa4]  [-867.99,0xe9c8]

[-90.80,0xfdad]  [381.50,0x9c4]  [691.43,0x11b3]  [767.73,0x13a7]  [224.17,0x5bd]

[-14.50,0xffa1]  [300.47,0x7b1]  [224.17,0x5bd]  [66.84,0x1b6]  [224.17,0x5bd]

[224.17,0x5bd]  [66.84,0x1b6]  [-171.83,0xfb9a]  [66.84,0x1b6]  [-90.80,0xfdad]

[147.87,0x3c9]  [-324.43,0xf7b2]  [-1182.80,0xe1b9]  [-1101.77,0xe3cc]  [-324.43,0xf7b2]

[-1025.47,0xe5c0]  [-715.39,0xedb0]  [-949.17,0xe7b4]  [-481.76,0xf3ab]  [-639.09,0xefa4]

[224.17,0x5bd]  [-90.80,0xfdad]  [-90.80,0xfdad]  [-405.46,0xf59f]  [-405.46,0xf59f]

[224.17,0x5bd]  [-248.13,0xf9a6]  [147.87,0x3c9]  [224.17,0x5bd]  [-14.50,0xffa1]

結果