完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,大家好,
我正在使用lsm6dsl进行加速度测量。但我得到了很大的固定补偿,我想知道这是正常的吗? 以下是来自5个不同电路板的测量结果,所有电路板都经过精心定位,准确地位于同一位置。 XYZ -159-411110 -7-781037 86701100 10-981089 171221162 这是正常的操作吗? 在数据表中,线性加速度零g水平偏移精度指定为±40 mg(典型值),但我的测量结果高达6倍。我做错了什么? 在数据表中,他们说传感器在出厂前都经过工厂校准,但我没有看到任何寄存器或任何带有校准值的东西。仅用于用户校准。 我希望我的信息很清楚,对不起我的英语。 谢谢 马丁 以上来自于谷歌翻译 以下为原文 Hi everyone, I'm using the lsm6dsl for acceleration measurement. But I'm getting big stationary offsets and I was wondering is that normal? Here are measurements from 5 different boards and all of them were carefully positioned to be exactly at the same place. xyz -159-411110 -7-781037 86701100 10-981089 171221162 Is this normal operation? In datasheet Linear acceleration zero-g level offset accuracy is specified at ±40 mg (typ), but my measurements are as much as 6 times that.. Am I doing someting wrong? In the datasheet they say that sensors are all factory calibrated before they go out of factory, but I do not see any register or anything with calibration values. Only ones for user calibration. I hope my message was clear, sorry for my English. Thanks Martin |
|
相关推荐
5个回答
|
|
嗯,这不是正常的操作。您能否分享您的传感器配置,如果可以共享,原理图也很有用。
传感器在出厂时已校准,但用户无法访问校准值。 以上来自于谷歌翻译 以下为原文 Hmm, it is not normal operation. Can you please share your sensor configuration, schematic would be also usefull if it is posible to share. The sensor are factory calibrated, but the calibration values are no accessible for user. |
|
|
|
这是我的附件中的原理图和LSM6DSL初始化例程。我正在使用ST代码用于IKS01A2核扩展板。
以上来自于谷歌翻译 以下为原文 Here is my schematic and LSM6DSL initialization routine in attachment. I'm using ST code for IKS01A2 nucleo expansion board. |
|
|
|
原理图很好,代码似乎也很好。
问题可能出在布局上。你自己设计了电路板吗?你不知道传感器下的过孔轨道吗? 还有一个问题,上面提到的值是稳定的还是存在一些重要的噪音。 以上来自于谷歌翻译 以下为原文 The schematics is OK and the code seems good as well. The problem could be in the layout. Did you design the boards by yourself? Don't you have tracks of vias under the sensor? One more question, are the values mentioned above stable or is there some significant noise. |
|
|
|
是的,我做到了。传感器下方有地面多边形,您可以从附件中的照片中看到。底部的一条线(靠近引脚)用于蜂鸣器,但在读取加速器数据时没有通电。
读数非常稳定。有时值会改变+/- 1,但就是这样。它只有那么大的静态偏移量。 以上来自于谷歌翻译 以下为原文 Yes I did. There is ground polygon under the sensor as you can see from photos in attachment. A line on the bottom side (close to pins) is for a buzzer but it was not powered at the time of reading accelerator data. Readout is pretty stable. Sometimes the values change by +/- 1 but that is it. It just has that big static offset. |
|
|
|
布局并不完全符合ST建议(请查看
http://www.st.com/content/ccc/resource/technical/document/technical_note/73/17/9c/16/dd/96/4a/01/CD00134799.pdf/files/CD00134799.pdf/jcr:内容/翻译/ en.CD00134799.pdf )它可以引入一些额外的偏移量。 我主要看到的是不对称设计的问题。 您可以使用MotionAC库来校准加速度计并通过软件减少偏移。 MotionAC库非常适合 http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html 包。 以上来自于谷歌翻译 以下为原文 The layout is not fully adherent to ST recommendations (please check the http://www.st.com/content/ccc/resource/technical/document/technical_note/73/17/9c/16/dd/96/4a/01/CD00134799.pdf/files/CD00134799.pdf/jcr:content/translations/en.CD00134799.pdf ) and it can introduce some additional offset. I see mainly the problem with not symmetrical design. You can use out MotionAC library to calibrate the accelerometer and reduce the offset by software. The MotionAC library is aprt of http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/x-cube-mems1.html package. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2642 浏览 1 评论
3208 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1783 浏览 1 评论
3611 浏览 6 评论
5989 浏览 21 评论
940浏览 4评论
1317浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
585浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
1304浏览 3评论
1362浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-25 06:49 , Processed in 1.149795 second(s), Total 54, Slave 48 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号