Smartbond IOT sensor - Accelerometer range

23 posts / 0 new
Last post
Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
Smartbond IOT sensor - Accelerometer range

Hello,

Is it possible that i can have acceleration RATE above 100 Hz?
同样的陀螺问题。

Thanx!

Aris

设备:
MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

The available maximum data rate for the application is 100Hz, the sensor can support up to 1600Hz, but the sensor fusion implementation can't handle that fast update rate so there isn't any implementation for higher data rate. Same for the gyro as well the sensor can support up to 3200Hz data rate but not the application.

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
所以,如果我真的不在乎

所以如果我真的不关心“融合”,我需要只需要原始数据,我可以提高数据速率?
这必须在应用程序中或IOT代码(通过Keil5等)更改?

THanx

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

Its not only the sensor fusion, the limitation is valid for the raw project as well, since in higher rates of data generation the BLE is not going to be capable of transfering the data over the link one interrupt at a time. The higher data rates require connection intervals that are out of the minimum connection interval allowed by BLE. The minimum allowed is 7.5 and for 100Hz data rate we use about 10ms connection interval. You can update the IoT raw firmware through keil in order to get more data during one report (more data packed in a single connection interval) but the application isn't going to be able to follow, there should be a lag on what is displayed in the application and also the device isn't tested in operation that exceed the default data rates.

您可以通过拒绝从默认数组和user_app_wrbl_config中加载数据来测试这一点,然后将sensor_sample_rate_imu更改为用户样本案例,例如sensor_sample_rate_user_case2,并为该样本案例bmi160_accel_output_data_rate_200hz和bmi160_accel_output_data_rate_200hz选择。

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
你好,我们又见面了。

你好,我们又见面了。
在采用几种措施后,我可以看到测量率(在.log文件中)与融合率相同!这意味着即使加速率为100Hz,最终速率也是融合率= 25Hz(我得到25测量/秒)

当我停用融合等时,我根本没有数据,并且应用程序的图像是静态的。

How can i get proper data , even at 100Hz??
此外,我在哪里可以找到融合算法?

Thanx

jyro.

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

正如我在我的前一篇文章中提到的应用程序和FW不支持这种数据速率,关于融合算法,源代码不可用,只有对象文件。

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
I understand this for rates

我理解这个价格> 100Hz。
我无法理解的是,为什么应用程序支持100Hz,因为它在应用程序中是一个选择?
传感器可以测量那些(100 Hz)的速率,但是BT不能甚至可能是那些速率?
我问这个我真的需要彻底的原因understand whether it is or isn't possible to have a log of max 100 measurements / sec in the log file...

谢谢您的回答。

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

关于传感器融合固件,数据生成取决于FIFO的WM从传感器中收集数据,该WM取决于传感器融合所选速率和传感器的实际速率。当该WM达到某个级别时,生成中断并且应用程序从FIFO读取数据。之后,处理包括加速度计,陀螺仪和磁力计数据的原始传感器数据,然后传递到传感器融合更新功能。在处理FIFO阵列并更新传感器融合算法后,only a part of the raw data is sent over BLE。在原始项目中,所有原始数据都会通过BLE发送到中央设备。

All the above can be found on the IoT User Manual UM-B-063 in section 7.3 general operation.

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
thanx很多,我读了

Thanx很多,我读了手册,非常启发式!

I understand that " In the raw project all the raw data are send over BLE to the central device",
但我的问题是我如何触发这一切?我在keil5中选择或修改哪个keil5 target_app示例,所以我可以通过smartsnippet将其加载到我的标记上?

在您的移动应用程序中,当我选择Fusion Disabled时,只显示环境数据,所以我猜这个没有原始项目选项,对吧?
谢谢!

jyro.

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

I dont quite get the question, how to trigger what ? If you mean how the device is forced to start sending data, this depends on the central side, the proper characteristics are written with the proper configurations in order for the device to starts send data. Both projects can be downloaded via smarts snippets to the 583, the raw project does not use the sensor Fusion Library and the SFL use this library. If you are interested only for raw data the raw project is what you should choose.

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
谢谢您的回答,

谢谢你的回答,请让我更具体。

1)我收到已使用默认程序编程的标记。与您的移动应用程序合作的那个。这是一个唯一的SFL项目,或者它也可以用作原始项目,具体取决于我制作的移动应用程序?

2) I've downloaded on the tag various examples (with snippets) that come with the sdk. I need to download the original default program. Where can i find this?

3) "Both projects can be downloaded via smarts snippets to the 583", where can i find those projects? In which folder of the sdk i downloaded?

非常感谢!

jyro.

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
Hi Jyro_gr,

Hi Jyro_gr,

1)有两个项目有关IOT传感器套件(RAW和SFL),它们都提供了原始数据测量,但为每个项目具有不同的实现。只有SFL项目返回传感器融合结果原始项目才能返回原始valus。因此,根据您读取的特点,您获得特定值。

2) The examples are not included in the SDK, you will be able to find the projects in the reference design section of the 583 product (DA14583 IoT Sensor Development Kit).

3)与Q2相同。

另外,对于其他问题,请尝试创建一个新的线程而不是在同一帖子上发布,因为目前的一个以上的回复和不同的问题以及难以遵循的问题。

谢谢mt_dialog.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
就那么简单!

就那么简单!
大众!
奇迹般有效!

〜Jyro.

Jyro_gr.
Offline
Last seen:3年7个月前
Joined:2016-04-22 23:10
Thanx a lot, i'll try it soon

Thanx很多,我很快就会尝试,并通过结果来提出你!

Mahesh
Offline
Last seen:2年11个月前
Joined:2016-01-04 14:03
Hi,

Hi,
I am using "SmartBond IoT Sensor Development Kit" for Fusion data. By using "IoT Sensors mobile app", I am able to see the 3D motion on the mobile while rotating the sensor development kit. Presently, I am using other android app (Application specific android app) to rotate the image on the mobile. But I am not able to get the rotation on the android app. I think, I am not following proper procedure and factors to calculate the Yaw,. Pitch and Roll values.

I am able to receive the data of Fusion from the IoT sensor Development kit to my android app. Please guide me in doing the calculation to get the parameter to make the image to rotate on the android app.

问候,
Mahesh Chandana。

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
嗨mahesh,

嗨mahesh,

The IoT sends the appropriate data from the senor fusion algorithm to the mobile phone through custom reports that are indicated in the documentation (please check Table 12 in the UM-B-063 document). If your application follows the same conventions as the IoT application you should be able to get some 3D movement. Is your application able to parse the data from the reports of the IoT ? What i can do in order to help is to send you the IoT android/iOS code if you like to use it as a reference.

谢谢mt_dialog.

Mahesh
Offline
Last seen:2年11个月前
Joined:2016-01-04 14:03
Hi,

Hi,
我们的应用程序能够从IOT中解析数据。请Android代码。理解融合数据处理可能有助于。

非常感谢您的快速回复。

问候,
Mahesh Chandana。

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
嗨mahesh,

嗨mahesh,

A mail has been sent to the registered email address.

谢谢mt_dialog.

Mahesh
Offline
Last seen:2年11个月前
Joined:2016-01-04 14:03
Hi,

Hi,
Thank you for your response. I will update to you.

重生,
Mahesh Chandana。

Mahesh
Offline
Last seen:2年11个月前
Joined:2016-01-04 14:03
Hi,

Hi,
I am using IoT code for DA14583 (version: v5.160.1.19). As per the "UM-B-063_DA14583_IoT_sensor_development_kit_1v1.pdf", It is supporting 4 Modes of operation.

1.陀螺仪,加速度计和磁力计(GAM)模式
2. Gyroscope and Accelerometer (GA) mode
3.仅陀螺(g)模式
4. Accelerometer and Magnetometer (AM) mode

请指导我了解配置模式的过程。我可以在代码中更改操作模式。

问候,
Mahesh Chandana。

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
嗨mahesh,

嗨mahesh,

您的设备中启用了哪些传感器取决于Sensor_Config变量,该变量是从user_sensor_config.c文件中的默认值的默认值或直接从非易失性存储器中填充,Scentry的Scrent_Combination成员是其中一个控制要启用的传感器。默认值是enabent_all_sensor_flags。代码将检查user_init_sensor_combination中设置哪些标志,并将启用相应的传感器。

谢谢mt_dialog.

Mahesh
Offline
Last seen:2年11个月前
Joined:2016-01-04 14:03
Hi,

Hi,
您所说的是用于启用传感器。

Could you please explain the procedure, so that while calculating the sensor fusion the IoT hardware only uses Gyroscope and Accelerometer data.

请指导我如何继续。

问候,
Mahesh Chandana

MT_dialog
Offline
Last seen:1个月2周前
Staff
Joined:2015-06-08 11:34
嗨mahesh,

嗨mahesh,

您的问题是如何在可用选项(GAM,GA,G,AM)之间的代码中配置操作模式。通过启用传感器,设备将通过启用的传感器提供具有适当数据的传感器融合引擎。有关IOT功能的更多信息,您可以在7.3节中检查UM-B-063,其中在系统的每个不同状态下详细描述了一般操作。

谢谢mt_dialog.