How to compensate time delay of a sine wave?

5 views (last 30 days)
Martin Maier
Martin Maier on 13 Apr 2022
Moved: Sabin on 11 Jan 2023
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?

Answers (1)

Mathieu NOE
Mathieu NOE on 14 Apr 2022
Moved: Sabin on 11 Jan 2023
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 Comments
Martin Maier
Martin Maier on 19 Apr 2022
Moved: Sabin on 11 Jan 2023
Hello Mathie Neo,
Thank you for your help and the fast resposne.
All the bests.
Mathieu NOE
Mathieu NOE on 19 Apr 2022
Moved: Sabin on 11 Jan 2023
as always, my pleasure !

Sign in to comment.

Categories

Find more on Specialized Power Systems in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!