PMLSM Modeling cogging forces

조회 수: 11 (최근 30일)
John
John 2025년 12월 9일 17:31
답변: Aditya 2025년 12월 17일 6:38
Is there a way to modify the PMLSM Simscape block so that it accurately models cogging forces?

답변 (1개)

Aditya
Aditya 2025년 12월 17일 6:38
Hi John ,
The built-in PMLSM (Permanent Magnet Linear Synchronous Machine) block in Simscape does not natively model cogging forces. However, you can extend its behavior by adding a custom force component to represent cogging.How to Model Cogging Force in Simscape
1. Use an External Force Source
  • Add a Simscape "Translational Force Source" block to your mechanical translational network.
  • Connect the force source in series with the mover of the PMLSM.
  • Drive the force input of the source with a function that models the cogging force as a function of mover position.
2.Custom Simscape Component
If you want to encapsulate this in a single block, you can write a custom Simscape component using the Simscape language.Sample code :
component CoggingForce
nodes
p = foundation.mechanical.translational.translational; % positive
c = foundation.mechanical.translational.translational; % case
end
parameters
A = {1, 'N'}; % amplitude
Np = 6; % number of periods
tau = {0.01, 'm'}; % pole pitch
end
variables
x = {0, 'm'}; % position
F = {0, 'N'}; % force
end
equations
x == p.x - c.x;
F == A * sin(Np * 2*pi*x/tau);
p.f + F == 0;
c.f - F == 0;
end
end
  • Connect this block in series with the mover port of the PMLSM.
You can refer to the following documentation for more details:
https://www.mathworks.com/help/simscape/lang/creating-custom-components.html

카테고리

Help CenterFile Exchange에서 Magnetic Elements에 대해 자세히 알아보기

제품


릴리스

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by