完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
大家好,
我正在尝试实现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个回答
|
|
数据表仅指定典型值。您的值非常接近典型值,传感器也可以。
以上来自于谷歌翻译 以下为原文 The datasheet specifies only the typical values. Your values are quite close to the typical ones and your sensor are OK. |
|
|
|
谢谢您的回复。
在拒绝传感器之前,我们应该与数据表中的典型值相差多远? 对于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. |
|
|
|
我试图从我们的传感器专家那里获得一些自我测试的限制。我希望我能尽快回复你。
以上来自于谷歌翻译 以下为原文 I'm trying to get some limits for the self-test from our sensor specialist. I hope I will come back to you soon. |
|
|
|
|
|
|
|
你好Stathis,
不幸的是,我没有得到任何确切的价值,但是说:T 他的自测机构旨在用于检查传感器的可移动部分是否能够移动。启用自检后,每个传感器输出变化(高于几LSB)都可确认设备的良好性。 以上来自于谷歌翻译 以下为原文 Hello Stathis, unfortunately I didn't get any exact value, but saying: T he self-test mechanism is intended to be used to check if the movable part of the sensor is able to move. Once the self-test is enabled, every sensor output variation (higher than few LSB) confirms the goodness of the device. |
|
|
|
你好Miroslav,
这对我来说足够有用。 这似乎意味着正常和自测模式之间的差异只应与低阈值进行比较。如果它高于阈值,则传感器工作正常。 该阈值应该设置为略低于数据表中的典型值。 以上来自于谷歌翻译 以下为原文 Hi Miroslav, That is useful enough for me. It seems to mean that the difference between normal and self test mode should only be compared against a low threshold. If it is above the threshold the sensor works OK. That threshold should probably be set somewhat lower than the typical values in the datasheet. |
|
|
|
你好Miroslav,
这是来自Reactec的Aritz。我和最初提出这张票的人Stathis一起工作。 我们将LIS3DSH自检功能纳入我们的制造测试流程,我需要设置一个阈值来丢弃有故障的单元。 根据您之前的回复,任何高于几个LSB的值都应该足够了。我们正在+/- 2g范围内执行LIS3DSH自检,一些LSB将对应于十分之一毫克。 这个价值对我来说似乎很少见。 您能再次向您的传感器专家询问,X-Y轴为70 mg,Z轴为295(数据表中提到的值的一半)是否足够安全,可用作丢弃故障传感器的阈值? 提前谢谢了。 阿里茨·M 以上来自于谷歌翻译 以下为原文 Hi Miroslav, This is Aritz from Reactec. I work with Stathis, the guy that originally raised this ticket. We are including LIS3DSH Self-Test function into our Manufacturing Test process and I would need to set a Threshold to discard faulty units. According to your previous response, any value higher than few LSB should be enough. We are executing LIS3DSH Self-Test on +/-2g range, a few LSB would correspond to tenths of a mg. That value seems quite uncommon/low to me. Could you please ask again to your sensor specialist whether 70 mg for X-Y axis and 295 for Z axis (half of the values mentioned in Datasheet) would be safe enough to use as a threshold to discard faulty sensors? Many thanks in advance. Aritz M. |
|
|
|
嗨Aritz,
我问我们的传感器专家,我在等待回应。 以上来自于谷歌翻译 以下为原文 Hi Aritz, I asked our sensor specialists, I'm waiting for a response. |
|
|
|
因此传感器专家的重播是使用70 mg作为所有(X,Y,Z)轴的最小自测限。
以上来自于谷歌翻译 以下为原文 So the replay from sensor specialist is to use 70 mg as min self-test limit for all (X, Y, Z) axis. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2634 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3609 浏览 6 评论
5987 浏览 21 评论
939浏览 4评论
1315浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
582浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1302浏览 3评论
1357浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:55 , Processed in 4.827022 second(s), Total 96, Slave 79 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号