Error when exporting current references to base workspace - Simscape Electrical PMSM Current Reference Generator
조회 수: 2 (최근 30일)
이전 댓글 표시
Hi All, I'm trying to simulate a motor using Field-weakening control, however when i go to generate a look-up table, it says the matrix dimensions do not match. What dimensions are required to make this work?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/577672/image.jpeg)
댓글 수: 0
답변 (1개)
Dakai Hu
2021년 4월 22일
Hi Daniel,
When you select "Automatically generated lookup-table" feature, the three fields -- "wMechanical (rpm)", "TqRef (N*m)", "Vdc (V)" should all be monotonically increasing vectors, not matrices. The size of the vectors does not matter, but keep in mind that for certian DC-link voltage levels, some torque levels at high speeds may not be achievable. When this happens, you'll encounter an error message saying that "No feasible current referencs found".
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Simscape Electrical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!