How to compensate time delay of a sine wave?

10 次查看(过去 30 天)
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.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 FPGA, 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