How to compensate time delay of a sine wave?
    10 views (last 30 days)
  
       Show older comments
    
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?

0 Comments
Answers (1)
  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
See Also
Categories
				Find more on FPGA, ASIC, and SoC Development in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
