完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
你好论坛和ST支持,
我想知道LSM9DS1的磁传感器是否经过工厂校准。目前,它看起来好像他们根本没有校准。尽管所有传感器都放置在同一块PCB上并且环境非常相似,但我测量的硬铁和软铁计算导致了截然不同的结果。 如果他们经过校准,你可以验证一下吗?如果没有,是否有可能获得工厂校准的传感器,因此我必须每个PCB设计运行我的测量和校准因子而不是每个单元? 另一个问题涉及到:您能否提供一种工具来计算测量中的硬铁和软铁补偿因子(CSV文件)?到目前为止,我正在使用我在互联网上找到的免费工具,它工作正常,但只计算硬铁偏移量。另一个应该计算两者(硬和铁软效应)因子的工具无法处理每一组数据,有时我会得到想象的结果(这是一个matlab脚本)。 提前致谢 #soft-iron#lsm9ds1#hard-iron 以上来自于谷歌翻译 以下为原文 Hello Forum and ST support, I was wondering if the magnetic sensors of the LSM9DS1 are factory calibrated or not. At the moment, it looks to me as if they're not calibrated at all. My hard and soft iron calculation from measurement leads to extremely different results, despite all sensors are placed on the same PCB and in very similar environments. Could you verify for me if they're calibrated or not? If not, is there a possibility to get factory calibrated sensors, so that I'd have to run my measurements and calibration factors only once per PCB design and not for every single unit? Another question relates to that: Can you provide a tool that calculates the hard iron and soft iron compensation factors from measurements (CSV file)? As by now, I'm using a free tool I found somewhere in the internet, which works fine, but only calculates the hard iron offset. Another tool which is supposed to calculate factors for both (hard & soft iron effects) can't handle every set of data, sometime I get imaginary results (it's a MATLAB script). Thanks in advance #soft-iron #lsm9ds1 #hard-iron |
|
相关推荐
1个回答
|
|
你好,
是的,LSM9DS1磁强计已经过工厂校准。如果“所有传感器放置在同一块PCB上并且处于非常相似的环境中”,尤其是涉及软铁,则不可能产生“极其不同的结果”。必须有一些不同的问题。关于硬铁,您可以在数据表的“表3.传感器特性”中找到“M_TyOff”参数的典型变化。另请参阅“注3”。 即使LSM9DS1 SelfTest是STMicroelectronics的机密信息,您也可以使用以下步骤执行简单的SelfTest: 1。 读取ACC XYZ输出(ACC_NOST_DATA) 读GYR XYZ输出(GYR_NOST_DATA) 读取MAG XYZ输出(MAG_NOST_DATA) 2。 启用ACC ST(ST = SelfTest) 读取ACC XYZ输出(ACC_ST_DATA) 验证:ACC_NOST_DATA - ACC_ST_DATA =每个轴的POSITIVE值 禁用ACC ST 3。 启用GYR ST 读GYR XYZ输出(GYR_ST_DATA) 验证:GYR_NOST_DATA - GYR_ST_DATA =每个轴的正值 禁用GYR ST 4。 启用MAG ST 读取MAG XYZ输出(MAG_ST_DATA) 验证:MAG_NOST_DATA - MAG_ST_DATA =每个轴的NEGATIVE值 提供硬/软铁计算的工具将在未来几周内在www.st.com/mems上提供,定期搜索“osxMotionMC”(磁力校准)包。您还需要X-CUBE-MEMS1软件包v3.0.0(目前可用版本为v2.1.0)和Unicle-GUI应用程序。它们都应该同时发布。然后按照文档中的安装说明进行操作。 最好的祝福, 切赫 以上来自于谷歌翻译 以下为原文 Hello, Yes, LSM9DS1 Magnetometers are factory calibrated. It is not possible to have ''extremely different results'' if ''all sensors are placed on the same PCB and in very similar environment'' especially concerning Soft Iron. There must be some different issue. Concerning Hard Iron you can find typical variation in the 'M_TyOff' parameter in ''Table 3. Sensor characteristics'' of the Datasheet. Please see also ''Note 3''. Even if LSM9DS1 SelfTest is STMicroelectronics confidential information, you can preform simple SelfTest using the following procedure: 1. Read ACC XYZ outputs (ACC_NOST_DATA) Read GYR XYZ outputs (GYR_NOST_DATA) Read MAG XYZ outputs (MAG_NOST_DATA) 2. Enable ACC ST (ST=SelfTest) Read ACC XYZ outputs (ACC_ST_DATA) Verify that: ACC_NOST_DATA - ACC_ST_DATA = POSITIVE value for each axis Disable ACC ST 3. Enable GYR ST Read GYR XYZ outputs (GYR_ST_DATA) Verify that: GYR_NOST_DATA - GYR_ST_DATA = POSITIVE value for each axis Disable GYR ST 4. Enable MAG ST Read MAG XYZ outputs (MAG_ST_DATA) Verify that: MAG_NOST_DATA - MAG_ST_DATA = NEGATIVE value for each axis The tool providing Hard/Soft Iron calculations will be available on www.st.com/mems in coming weeks, search for 'osxMotionMC' (Magneto-Calibration) package regularly. You'll also need the X-CUBE-MEMS1 package v3.0.0 (so far available version is v2.1.0) and Unicle-GUI application for this tool. They should all be released at the same time. Then follow the installation instructions in the documentation. Best regards, Petr |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
2730 浏览 1 评论
3239 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1808 浏览 1 评论
3647 浏览 6 评论
6035 浏览 21 评论
1338浏览 4评论
198浏览 3评论
对H747I-DISCO写程序时将CN2的st-link复用为usart1,再次烧录时无法检测到stlink怎么解决?
350浏览 2评论
STM32G474RE芯片只是串口发个数据就发烫严重是怎么回事?
442浏览 2评论
STM32处理增量式编码器Z信号如何判断中断是正转的还是反向转的?
273浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-23 00:42 , Processed in 1.184088 second(s), Total 77, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号