How to compensate time delay of a sine wave?

3 ビュー (過去 30 日間)
Martin Maier
Martin Maier 2022 年 4 月 13 日
移動済み: Sabin 2023 年 1 月 11 日
I am currently working on sensorless control algorithm with a FOC and a full order SMO. The algorithm is discretized and works fine.
Now i should add an input and an output delay for the current sampling and the update of the SPVM. The figure below shows a minimal working example of the problem, where a sine wave is generated for the current, the sample order hold simulates my ADC and then I modeled a input and output delay with unit delay blocks.
Does anyone know an approach to compensate these delays?

回答 (1 件)

Mathieu NOE
Mathieu NOE 2022 年 4 月 14 日
移動済み: Sabin 2023 年 1 月 11 日
hello
if you know your delays and the rotationnal speed of your motor you can compute a "compensation" angle to be added to the measured angle , so it's like you have no delays in your FOC loop.
  4 件のコメント
Martin Maier
Martin Maier 2022 年 4 月 19 日
移動済み: Sabin 2023 年 1 月 11 日
Hello Mathie Neo,
Thank you for your help and the fast resposne.
All the bests.
Mathieu NOE
Mathieu NOE 2022 年 4 月 19 日
移動済み: Sabin 2023 年 1 月 11 日
as always, my pleasure !

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeFPGA, ASIC, and SoC Development についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by