Changing input type in PMSM Field oriented control

조회 수: 1 (최근 30일)
Rohan
Rohan 2024년 3월 26일
댓글: Rohan 2024년 4월 1일
Hello everyone,
I am doing my thesis on safety critical control for electric drives, I am using the existing model in simulink named Permanent Magnet Synchronous Motor Field Oriented Control attached below
To build a robust control strategy, I want to try the existing PI controllers for different inputs, currently there is only a step input present (which goes to an amplitude equal to third of the motor base speed), I want to implement a sine wave input, however, when doing so, it appears as a square wave, this is because the sample time has to be -1 since it is present in an inherited block. It appears like in the image below, as opposed to a clean sine-wave. I cannot use a sample time of 0 because it displays the error "Consider setting the sample time for the block 'Possibility_1_sensorless_FOC_PMSM/Serial Receive/SCI_Rx/Simulation/Sine Wave' to inherited (-1) if the block has a sample time parameter".
Does anyone know how to solve this, apologies for the long question and suggestions are highly appreciated

답변 (1개)

Joel Van Sickel
Joel Van Sickel 2024년 3월 27일
Hello Rohan,
your sine wave is being digitzed at the controller rate of input for that signal. In this case, I'm assuming it's the blue signal. To get higher resolution, you will need to increase the rate of the speed control loop. This will also require you to retune the speed control PI loop. However, your sine wave will always be digitized, and it doesn't matter for testing the speed control loop if it is digitized or not. It might not look like a smooth sine wave, but that doesn't affect anything regarding safety critical opertaion. However, if you have an application that requires higher resolutin of your speed, or smoother transitions between speeds, then that would be a good reason to try and run the speed loop faster and retune the control loop.
  댓글 수: 1
Rohan
Rohan 2024년 4월 1일
Sorry for the late response, thanks a lot for the suggestion, I will try to work it out and see if it works !

댓글을 달려면 로그인하십시오.

커뮤니티

더 많은 답변 보기:  Power Electronics Community

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by