完善资料让更多小伙伴认识你,还能领取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的选项
2874 浏览 1 评论
3281 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1861 浏览 1 评论
3706 浏览 6 评论
6116 浏览 21 评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
407浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
507浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
331浏览 2评论
使用STM32F407VET6的USB2.0功能,发现ctl后芯片无数据返回,是什么原因可能导致的呢?
244浏览 2评论
用STM32G431开发工程,1.50版本的Package包文件无法输出项目工程
351浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-22 02:54 , Processed in 1.224520 second(s), Total 83, Slave 67 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191