完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
嗨,
我正在尝试使用LSM6DS33作为惯性导航辅助设备,参与传感器融合。问题是应用程序有大量的振动,加速度计数据非常嘈杂。我每秒需要大约25个加速度计采样,所以为了获得更平滑的信号,我已经启用了BW = 50Hz的模拟低通滤波器,加速度计ODR为104 Hz;我手动平均4个样本,同时读取它们以获得相当于26 Hz的ODR,减少混叠。 这比以前更好,但是在得到的平均样本中仍然存在一些噪声(在振动平台上测量的大约0.1g随机噪声)。我确认将加速度计ODR增加到208 Hz会进一步降低噪音(混叠)。但是这需要更多的I C流量和CPU时间,因此进一步增加ODR将是令人望而却步的。 我的问题是:是否可以设置LSM6DS33以833 Hz采样加速度计,平均每8个样本,并将结果放入FIFO(等效104 ODR)?或者以其他方式,获得低于50 Hz的等效低通滤波BW,理想情况下大约12 Hz? 作为参考,我当前的配置是: CTRL1_XL = 0x4F; // acc setup - > 104 Hz,8 g满量程,50 Hz带宽 CTRL2_G = 0x4C; //陀螺仪设置 - > 104 Hz,2000 dps满量程 CTRL3_C = 0x44; //将BDU(块数据更新)位设置为高 CTRL4_C = 0x81; //启用FIFO长度限制; XL_BW_SCAL_ODR = 1(以及一些用于设置FIFO的无关代码)。 #low-pass-filter#lsm6ds33 以上来自于谷歌翻译 以下为原文 Hi, I'm trying to use the LSM6DS33 as an inertial navigation aid, participating in sensor fusion. The problem is that the application has large amount of vibrations and the accelerometer data is quite noisy. I need around 25 accelerometer samples per second, so to get a smoother signal I have enabled the analog low-pass filter at BW = 50Hz and the accelerometer ODR is 104 Hz; I average 4 samples manually whilst reading them to get equivalent ODR of 26 Hz with less aliasing. This is better than before, but there's still some noise (around 0.1g random looking noise - measured on a vibrating platform) present in the resulting averaged samples. I verified that increasing the accelerometer ODR to 208 Hz decreases noise (aliasing) further. But that needs more I�C traffic and CPU time, so increasing the ODR even further will be prohibitive. My question is: is it possible to set up the LSM6DS33 to sample the accelerometer at 833 Hz, average each 8 samples, and put the results in the FIFO (equivalent 104 ODR)? Or put in other way, to get an equivalent low-pass filtering BW lower than 50 Hz, ideally around 12 Hz? For reference, my current config is: CTRL1_XL = 0x4F; // acc setup -> 104 Hz, 8 g full scale, 50Hz bandwidth CTRL2_G = 0x4C; // gyro setup -> 104 Hz, 2000 dps full scale CTRL3_C = 0x44; // set BDU (block data update) bit high CTRL4_C = 0x81; // enable FIFO length limit; XL_BW_SCAL_ODR=1(and also some unrelated code for setting up the FIFO). #low-pass-filter #lsm6ds33 |
|
相关推荐
1个回答
|
|
不幸的是,LSM6DS33无法计算平均值并将结果存储在FIFO中。
以上来自于谷歌翻译 以下为原文 Unfortunately not, the LSM6DS33 is not able to calculate average and store the results in FIFO. |
|
|
|
只有小组成员才能发言,加入小组>>
请教:在使用UDE STK时,单片机使用SPC560D30L1,在配置文件怎么设置或选择?里面只有SPC560D40的选项
1595 浏览 1 评论
2277 浏览 1 评论
请问是否有通过UART连接的两个微处理器之间实现双向值交换的方法?
1518 浏览 1 评论
2896 浏览 6 评论
5395 浏览 21 评论
395浏览 4评论
663浏览 4评论
在Linux上安装Atollic TRUEStudio的步骤有哪些呢?
295浏览 3评论
使用DMA激活某些外设会以导致外设无法工作的方式生成代码是怎么回事
744浏览 3评论
620浏览 3评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-12 16:44 , Processed in 0.788196 second(s), Total 76, Slave 60 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号