You are on page 1of 5

Ÿ Sliding Band Boundary Condition Example

David Meeker
dmeeker@ieee.org

25Feb2018

As of 25Feb2018, a new "sliding band" formulation has been included in FEMM to smoothly model rotor motion in rotating
electric machines. This notebook uses the sliding band boundary condition to model a brushless DC machine previoulsy pre-
sented in:

O.J.Antunes, J.P.A.Bastos, and N.Sadowski, "Using high-order finite elements in problems with movement," IEEE Transactions
on Magnetics, 40(2):529-532, March 2004.

In[4]:= << c:\\femm42\\mathfemm\\mathfemm.m

MathFEMM loaded at Sun 25 Feb 2018 15:38:51

In[5]:= OpenFEMM@1D

In[6]:= OpenDocument @NotebookDirectory @D <> "Antunes.FEM"D

In[7]:= MISaveAs@NotebookDirectory @D <> "temp.fem"D

MIModifyCircProp @"A", 1, 0D;


MIModifyCircProp @"B", 1, 0D;
In[8]:=

MIModifyCircProp @"C", 1, 0D;

rpm = 360  60; H* degreessec *L


dt = 5. * 10 ^ H- 6L;
In[11]:=

dtta = 2000. * rpm * dt;


2 Antunes.nb

CoggingTorque = 8<;
Aflux = 8<;
In[14]:=

Bflux = 8<;
Cflux = 8<;
dtta = 0.06;
n = Round@120  dttaD;
For@k = 0, k £ n, k ++,
tta = dtta * k;
t = dt * k;
MIModifyBoundProp @"mySlidingBand ", 10, ttaD;
MIAnalyze@1D;
MILoadSolution @D;
tq = MOGapIntegral @"mySlidingBand ", 0D;
CoggingTorque = Append@CoggingTorque , 8t, tq<D;
Aflux = Append@Aflux, 8t, MOGetCircuitProperties @"A"D@@3DD<D;
Bflux = Append@Bflux, 8t, MOGetCircuitProperties @"B"D@@3DD<D;
Cflux = Append@Cflux, 8t, MOGetCircuitProperties @"C"D@@3DD<D;
MOClose@D;
If@Mod@k, 100D Š 0, Print@Last@CoggingTorque DDD;
D
80, 0.000319675<

80.0005, - 0.0168116<

80.001, - 0.101065<

80.0015, 0.102224<

80.002, 0.01559<

90.0025, - 4.51556 ´ 10-6 =

80.003, - 0.0168398<

80.0035, - 0.101021<

80.004, 0.102277<

80.0045, 0.0156442<

80.005, 0.000146038<

80.0055, - 0.0168492<

80.006, - 0.101129<

80.0065, 0.102146<

80.007, 0.0156285<

80.0075, 0.000319675<

80.008, - 0.0168116<

80.0085, - 0.101065<

80.009, 0.102224<

80.0095, 0.01559<

90.01, - 4.51556 ´ 10-6 =


Antunes.nb 3

DeleteFile@NotebookDirectory @D <> "temp.fem"D;


DeleteFile@NotebookDirectory @D <> "temp.ans"D;
In[21]:=

CloseFEMM @D

ListPlot@CoggingTorque , Joined ® True, Frame ® True,


GridLines ® Automatic, FrameLabel ® 8"Time, Seconds", "Cogging Torque, N*m"<,
ImageSize ® 500, BaseStyle -> 8FontFamily ® "Arial", FontSize ® 14<D

0.3

0.2
Cogging Torque, N*m

0.1

0.0
Out[24]=

-0.1

-0.2

-0.3
0.000 0.002 0.004 0.006 0.008 0.010
Time, Seconds
In[25]:= Va = 8 * D@Interpolation @AfluxD@TD, TD;

In[26]:= Vb = 8 * D@Interpolation @BfluxD@TD, TD;

In[27]:= Vc = 8 * D@Interpolation @CfluxD@TD, TD;


4 Antunes.nb

Plot@8Va, Vb, Vc<, 8T, 0, 0.01<, ImageSize ® 500, Frame ® True,


GridLines ® Automatic, FrameLabel ® 8"Time,Seconds", "Phase-to-Neutral Voltage"<,
In[28]:=

BaseStyle -> 8FontFamily ® "Arial", FontSize ® 14<D


Phase-to-Neutral Voltage

50

0
Out[28]=

-50

0.000 0.002 0.004 0.006 0.008 0.010


Time,Seconds
In[29]:= Vll = Va - Vc;

Plot@Vll, 8T, 0, 0.01<, AspectRatio ® 0.25, Frame ® True, GridLines ® Automatic,


PlotPoints ® 1000, FrameLabel ® 8"Time,Seconds", "Line-to-Line Voltage"<,
In[30]:=

BaseStyle ® 8FontFamily ® "Arial", FontSize ® 14<, ImageSize ® 800D

150
Line-to-Line Voltage

100
50
0
Out[30]=
-50
-100
-150
0.000 0.002 0.004 0.006
Time,Seconds
Antunes.nb 5

Plot@Vll, 8T, 2.85 * 10 ^ H- 3L, 3.15 * 10 ^ H- 3L<, PlotPoints ® 1000, Frame ® True,
GridLines ® Automatic, PlotRange ® 860, 97<, PlotStyle ® 8Thick, Orange<,
In[31]:=

ImageSize ® 500, BaseStyle ® 8FontFamily ® "Arial", FontSize ® 14<,


FrameLabel ® 8"Time, Seconds", "Line-to-Line Voltage"<D

95

90
Line-to-Line Voltage

85

80

Out[31]=
75

70

65

60
0.00285 0.00290 0.00295 0.00300 0.00305 0.00310 0.00315
Time, Seconds

You might also like