ST意法半导体
直播中

陈桂兰

7年用户 150经验值
私信 关注
[问答]

LIS3DSH自检功能得到的结果与设备数据表中不一致

大家好,
我正在尝试实现LIS3DSH的自检功能,但我得到的结果与设备数据表中的数字不一致。这是我的程序:
1)设置 - / + 2g范围和400 HZ ODR。
2)在正常模式下捕获20个样本(即在CTRL_REG5中ST2:1 = 00)
3)在启用正号自检的情况下捕获20个样本(即ST2:1 = 01)
4)计算2组样本之间的平均差异
根据数据表,X轴和Y轴的差值应为140 mg,Z轴的差值应为590 mg。但是,我已经在10个不同的电路板上使用LIS3DSH进行自检,对于X和Y,我得到的值在175到220之间,而Z轴的值在500和620之间。
当在同一设备上重复测试时,结果看起来非常一致,但是从一个设备到另一个设备存在很大的差异。数据表没有指定任何错误余量来决定测试是“通过”还是“失败”。这使我很难从结果中确定设备是否工作不正常。
我想知道我得到的输出是否是预期的,或者我执行测试的方式有问题。

#lis3dsh

以上来自于谷歌翻译


以下为原文




Hi all,
I am trying to implement the self-test function of the LIS3DSH, but the results I am getting do not agree with the numbers in the device datasheet. Here is my procedure:
1) Set -/+2g range and 400 HZ ODR.
2) Capture 20 samples in normal mode (ie ST2:1 = 00 in CTRL_REG5)
3) Capture 20 samples with positive sign self test enabled (ie ST2:1=01)
4) Compute the average difference between the 2 sets of samples
According to the datasheet the difference should be 140 mg for the X and Y axes and 590 mg for the Z-axes. However, I have run the self-test on 10 different boards with an LIS3DSH and for X and Y I get values between 175 and 220, while for the Z axis values between 500 and 620.
The results look pretty consistent when the test is repeated on the same device, but there is quite a big variability from one device to the other. The datasheet does not specify any error margins for deciding whether the test has 'passed' or 'failed'. That makes it difficult from the results that I am getting to decide if a device is not working properly.
I wonder if the output I am getting is expected or there is something wrong with the way I carry out the test.

#lis3dsh

回帖(9)

曾玲娟

2019-3-1 06:22:34
数据表仅指定典型值。您的值非常接近典型值,传感器也可以。

以上来自于谷歌翻译


以下为原文




The datasheet specifies only the typical values. Your values are quite close to the typical ones and your sensor are OK.
举报

陈桂兰

2019-3-1 06:38:45
谢谢您的回复。
在拒绝传感器之前,我们应该与数据表中的典型值相差多远?
对于X轴和Y轴,我特别得到175到220之间的值,这些值看起来与数据表中提到的典型值140不太接近。
我们希望将这种自检集成到我们的生产测试软件中,以尝试检测故障传感器。

以上来自于谷歌翻译


以下为原文




Thank you for your reply.
How far out from the typical values in the datasheet should we be before rejecting a sensor?
For the X and Y axes especially I get values between 175 and 220 which do not look very close to the typical value of 140 mentioned in the datasheet.
We were hoping to integrate this self-test in our production testing software to try to detect malfunctioning sensors.
举报

曾玲娟

2019-3-1 06:50:38
我试图从我们的传感器专家那里获得一些自我测试的限制。我希望我能尽快回复你。

以上来自于谷歌翻译


以下为原文




I'm trying to get some limits for the self-test from our sensor specialist. I hope I will come back to you soon.
举报

陈桂兰

2019-3-1 06:58:18
非常感谢你。
这将非常有用。

以上来自于谷歌翻译


以下为原文




Thank you very much.
That would be really useful.
举报

更多回帖

发帖
×
20
完善资料,
赚取积分