Clear Filters
Clear Filters

Why my Speed of PMSM controller make abnormal waveform? (PMSM 파형이 이상하게 나와요)

2 views (last 30 days)
I made Speed and Current controller to control PMSM.
I think there is no mistake but Speed, d-q Current show abnormal waveform.
Please teach me...
속도와 d-q 전류 파형이 이상하게 나옵니다.
뭐가 잘못된 건지 도저히 모르겠습니다.
가르침을 주십시오...

Answers (1)

Dallas Perkins
Dallas Perkins on 21 Dec 2022
Hi Yonook,
On first look, it seems like you are taking the Idq out of the motor and sending them through an to dq0 conversion to feedback to your controller which I don't think should be necessary since they are already in the dq frame. Other than that, it seems you do have some differences in frequencies for control and switching in your model versus what they are specified as in your parameter script which might cause some tuning issues if your gains are based on one or the other.
As a side note, we do have multiple elements of your model as pre-built blocks that are available through Simscape Electrical or the Motor Control Blockset that can simplify your model (e.g. transforms, PID controllers, and feedforward). Since these have already been built and verified they might simplify some of your debugging work.
If it is a tuning issue we also have multiple workflows to help with controller tuning through the Control System Toolbox or Simulink Control Design.
Best,
Dallas

Products


Release

R2018b

Community Treasure Hunt

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

Start Hunting!