필터 지우기
필터 지우기

How to simulate overconstrained simscape model?

조회 수: 2 (최근 30일)
Jan Ferkl
Jan Ferkl 2022년 1월 6일
답변: Kartik Saxena 2024년 1월 15일
Hello,
I would like to use a simscape model of Permanent Magnet Synchronous Motor to estimate input power required to achieve defined torque.
In my understanding of the situation, I need to prescribe torque (through variable) flowing from the rotor of PMSM to the inertia. Torque source is not suitable - it generates diferrence of across variable.
Ideal torque source code:
variables(Access = protected)
w = { 0, 'rad/s' }; % Angular velocity
t = { 0, 'N*m' }; % Torque
end
branches
t : R.t -> C.t;
end
equations
w == C.w - R.w;
t == -S;
end
I tried to edit the source code of the ideal torque source and defined the zero diferrence of across variable. Simscape refused to compile because I have more equations then variables in my block...
equations
w == C.w - R.w;
w == 0;
t == -S;
end
Is there a way to define the through variable in particular physical branch without affecting its across variable? Is my approach correct?
Thank you for any kind of help.

답변 (1개)

Kartik Saxena
Kartik Saxena 2024년 1월 15일
Hi,
If you want to prescribe a torque to the rotor of a Permanent Magnet Synchronous Motor (PMSM) without affecting the angular velocity (i.e., without creating a difference in angular velocity across the connection), you cannot simply set the angular velocity difference to zero, as this would create an overconstrained system.
Instead, you should use an ideal torque source and connect it in such a way that it applies the desired torque to the motor shaft. The ideal torque source in Simscape allows you to specify a torque directly, and the motor will respond to this torque based on its dynamics and the rest of the system.
For more information on using the Ideal Torque Source block and other Simscape components, refer to the following MathWorks documentation: https://www.mathworks.com/help/simscape/ref/idealtorquesource.html
I hope this resolves your issue.

카테고리

Help CenterFile Exchange에서 Permanent Magnet에 대해 자세히 알아보기

제품


릴리스

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by