espressif / esp-dsp

DSP library for ESP-IDF
Apache License 2.0
442 stars 87 forks source link

Extended Kalman Filter 计算速度 (DSP-105) #69

Closed weilian1977 closed 11 months ago

weilian1977 commented 1 year ago

Extended Kalman Filter 计算速度如何?

dmitry1945 commented 1 year ago

Hi @weilian1977 the Process(...) for 13 states Kalman filetr on esp32

takes about ~300k cycles.

For the 13 states implementation the Process(...) takes about ~240k and the UpdateRefMeasurement(...) takes about ~50k.

Regards,

Dmitry

weilian1977 commented 1 year ago

Hi @dmitry1945, 300k cycles?300×1000/(240×1000000)~ =1.25ms?

dmitry1945 commented 1 year ago

Hi @weilian1977 yes. It's about 1.25 mS on esp32. On esp32s3 it's faster, about 1.1 mS.

Regards, Dmitry

weilian1977 commented 1 year ago

Hi @dmitry1945, so cool!