Académique Documents
Professionnel Documents
Culture Documents
Calculations
Copyright © 2005 Magsoft Corporation
All rights reserved. No part of this work may be reproduced or used in any form or by any
means—graphic, electronic, or mechanical, including photocopying, recording, taping, Web
distribution or information storage and retrieval systems—without the written permission of the
publisher.
www.magsoft-flux.com
Cover illustration: Color shade plot of flux density on rotor, magnet, and stator from simulation
of motor at constant speed with external circuit coupling
Contents
Start Flux2D · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 3
iii
iv Contents
Close Preflu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Results · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 66
Spectrum analysis · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 91
Close PostPro_2D · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 99
Conventions · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 102
Rotate the 4 coils for proper orientation of the hot point. . . . . . . . . . . . . . 122
Display the isovalues (equiflux) lines at time step 100 (t = 0.05 s) · · · · 382
Set the display properties for the color shade plot . . . . . . . . . . . . . . . . 446
For the first computation, the cogging torque (see Chapter 2), use the model with the 3-layer
airgap (BRUSHLESS_3LAYER).
For all the other computations, use the model with the 1-layer airgap (BRUSHLESS_1LAYER).
In both Chapters 3 and 4, you create external circuits with the new ELECTRIFLUX module.
Chapter 4 Square wave motor: Constant speed (Torque ripples), with a square wave
external circuit
Chapter 5 No load startup with electromechanical coupling, with the square wave
external circuit from Chapter 4
Chapter 6 Servo action with electromechanical coupling, with the square wave external
circuit from Chapter 4
xv
Chapters to complete for the different simulations
If you wish to do only some of the simulations described in this tutorial, the list below shows
which chapters to complete for each of the simulations.
The simulations in Chapters 4, 5 and 6 use the same external circuit, a square wave circuit shown
on page 218. For Chapter 5, you modify the physical properties of the problem from Chapter 4
to create and solve a new problem. For Chapter 6, you modify the physical properties for the
problem from Chapter 5 to create and solve a new problem.
xvi
Chapter 1
Start Flux2D
Close CSLMAT
1
2
Chapter 1
Start Flux2D
Start Flux2D from your Windows taskbar.
Starting Flux2D
3
4 Start Flux2D
Choose Start, Programs, Cedrat (or your installation directory), Flux 9.1.
Program Input
Start
Programs
Cedrat
Flux 9.1
Flux Supervisor
Program Input
CSLMAT menu
Proceed as follows:
Program Input
Proceed as follows:
Program Input
Value =
The field (a blue rectangle) where you enter the relative permeability is shown below:
On some screens, stars (******) may be shown instead of the solid blue field. In this case, click
on the stars and then enter the relative permeability of the magnet (1.071).
Proceed as follows:
Program Input
Value = 1.071
Value = 0.401
Program Input
1 Material
The scalar a sat model features an arc tangent formula to model the B-H curve. Enter the
saturation magnetization value (Js) and the initial relative slope (a) of the relative permeability.
Entering the saturation magnetization (Js) and initial relative slope (a) for the nonlinear steel
Program Input
If you wish, you can modify the maximum value along the X axis with the Mod abscissa max
command or read the values at specific points along the curve with the Pick command.
For example, the following figure shows the values at a point near the "knee" of the curve.
Program Input
Quit
Quit
You are now ready to begin creating the problem files to run the simulations.
13
Analyze results with PostPro_2D
Isovalues (equiflux) lines
Color shade plot over rotor, magnet and stator only
Analysis of quantities along a path through the airgap
Normal component of the flux density
Spectrum analysis of normal component of flux density
Axis torque over full cycle of the motor
14
Chapter 2
In other finite element packages, the cogging torque computation is generally performed as a
multi-static computation with different rotor positions. The multi-static approach to the cogging
torque computation requires a tremendous amount of effort in preparation—a finite element
mesh and problem for each position—as well as long computation times and tedious
postprocessing.
With its rotating airgap feature, Flux easily computes the cogging torque. Only one finite
element mesh is needed; only one problem is solved. Computation and postprocessing time is
greatly reduced compared to the multi-static method because in Flux, the rotor is rotated
automatically. There is no need to modify the geometry, mesh or physical properties, and a
torque value is stored for each position during the solving.
With Flux2D’s moving airgap, you must make sure that the subdivisions on the boundaries of
the moving airgap from the current time step overlap the subdivisions of the next time step in
order to keep the mesh topology constant in the airgap. Flux computes the torque with the
virtual work method, based on the energy in the moving airgap. Thus, by keeping the mesh
topology the same at each position, the influence of finite element residual errors on the small
torque values is minimized.
F Be sure to use the model with the 3-layer airgap for this problem.
Please do not confuse this special 3-layer geometric division of the airgap with the number of
layers required by the Maxwell Stress Method to accurately compute the torque.
15
16 Special considerations for simulation
The reason for the three-layer structure, with the moving airgap placed between two outer layers
of air, is to evenly subdivide the boundary of the moving airgap. In this example, for one pole of
the motor, there are 180 subdivisions on the lower and upper boundaries of the airgap (0.5
degrees/subdivision). Because the rotor moves by a multiple of 0.5 degrees, the mesh topology
remains the same. The nodes from the current time step are overlapped by the nodes of the next
time step as the rotor rotates.
A constant speed of 1/6 or 0.16666666 rpm is specified for the rotation of the rotor, because 1
second corresponds to 1 mechanical degree.
Before you proceed, be sure you have completed Chapter 1 and have added the two materials to
the Materials Database (CSLMAT).
In the Flux Supervisor, in the Construction folder, double click Geometry & Physics:
Program Input
You can open an existing project either with the toolbar icon or the menu.
Program Input
click
Program Input
Project
Open project
Program Input
To save your project with a new name, choose Project, Save As… from the menu:
Program Input
Project
Save As…
Program Input
Save
Program Input
Application
Define
Magnetic
Transient Magnetic 2D
Program Input
OK
Your screen should look like the following. Notice that there is a new context symbol,
representing the Physical model context.
At the top of the data Tree, click the button to change to the Physics context.
Program Input
click
The Physics context includes some of the same icons and commands as the Geometry and Mesh
contexts. Most of the Display and Select icons are the same.
Program Input
Physics
Material
Import material
Click on the icon next to the material database name to display the list of materials in the
database.
Now scroll to find the two materials you want to import; MAGNETPM and NLSTEELPM.
Select both with the mouse using the Control key.
Proceed as follows:
Program Input
Click MAGNETPM
Click NLSTEELPM + Ctrl
Import
Program Input
Close
If you expand the Materials in the data tree, you will see the two materials now included in the
project.
Begin by assigning the winding areas of the stator slots to a "vacuum" state. We will select the
stator slots from the data tree on the left. First expand the Face Region tree by clicking the
icon next to Physics, Regions, and Face region.
Proceed as follows:
Program Input
Click
Click
Click
Next select the stator slots from the tree by selecting their names. Make sure you hold the
Control key when making multiple selections.
Program Input
Click MA
Click MC + Ctrl
Click PA + Ctrl
Click PB + Ctrl
Now click the right mouse button and select Edit Array.
Program Input
The Edit Face Region window appears, and the stator slots are highlighted on the graphic.
Under the Modify All column, we will set all the stator slots at once to a vacuum region. First
select "Air or vacuum" in the Modify All column.
Proceed as follows:
Program Input
OK
Next, assign properties to the WEDGE, AIR, STATOR_AIR, AIRGAP and SHAFT regions as
a group:
Select the air regions from the tree by selecting their names. Make sure you hold the Control key
when making multiple selections.
Program Input
Click AIR
Click AIRGAP + Ctrl
Click SHAFT + Ctrl
Click STATOR_AIR + Ctrl
Click WEDGE + Ctrl
Under the Modify All column, we will set all these regions at once to a vacuum region.
Proceed as follows:
Program Input
OK
Notice that the Console window displays a message confirming the assignment of the vacuum
region.
Select the stator and rotor regions (shown below in orange) from the graphic. Make sure you
hold the Control key when making the second selection.
Once the regions are selected, right click the mouse and select Edit Array.
Under the Modify All column, we will set both of these regions to the NLSTEELPM material.
Proceed as follows:
Program Input
OK
Select the magnet region graphically with the mouse, then right click the mouse and select Edit.
Proceed as follows:
Program Input
OK
Now you must set the direction of the magnet. Select the icon from the toolbar to orient the
magnet.
Program Input
Click
If you prefer, choose Physics, Material, Orient material for face region from the menu.
Program Input
Physics
Material
Proceed as follows:
Program Input
Magnet...Angle 45
OK
You have now assigned a material property to each region of the geometry.
New with Flux 9.1 is the existence of Mechanical Sets. Mechanical Sets are used whenever you
want motion in the model (either rotating or translating). Whenever there is motion in the
model, you must define 3 mechanical sets;
• Fixed - This defines the parts of the model that do not move
• Moving- This defines the parts of the model that move (either rotating or translating)
• Compressible- This defines the region between the moving and non-moving parts (and the
displacement regions, in the case of a translating motion)
We will first create these mechanical sets. Select Physics, Mechanical Set and New from the
menu.
Program Input
Physics
Mechanical set
New
The New Mechanical set dialog appears. Enter the information to create the
MOVING_ROTOR mechanical set.
Proceed as follows to define the Axis information. Then go to the Kinematics tab.
Program Input
Pivot point
First coordinate 0
Second coordinate 0
The Kinematics tab opens. Enter the information to define the General kinematics, then click on
the Internal characteristics tab.
Proceed as follows to define the General kinematics information (rpm entered equals 1 degree of
rotation per second):
Program Input
Click "Internal
characteristics" tab
The Internal characteristics tab opens. Enter the information to define the Internal kinematics
information, then click on the External characteristics tab.
Program Input
Moment of inertia 0
Friction coefficient 0
proportional to the square
speed
Click "External
characteristics" tab
The External characteristics tab opens. Enter the information to define the External kinematics
information, then click on OK button.
Proceed as follows to define the External characteristics information. Click OK at the end to
complete the definition of the mechanical set:
Program Input
Moment of inertia 0
Friction coefficient 0
proportional to the square
speed
OK
The New Mechanical set dialog closes briefly and then reappears. Enter the information to create
the FIXED_STATOR mechanical set.
Proceed as follows:
Program Input
OK
The New Mechanical set dialog closes briefly and then reappears. Enter the information to create
the ROTATING_AIRGAP mechanical set.
Proceed as follows:
Program Input
OK
The New Mechanical set dialog closes briefly and then reappears. Close the dialog by hitting the
Cancel button.
Proceed as follows:
Program Input
Cancel
Now assign the mechanical sets to the regions of your model. First assign the appropriate regions
to the MOVING_ROTOR mechanical set.
Select the AIR, MAGNET, ROTOR and SHAFT regions from the tree by selecting their names.
Make sure you hold the Control key when making multiple selections.
Program Input
Click AIR
Click MAGNET + Ctrl
Click ROTOR + Ctrl
Click SHAFT + Ctrl
Under the Modify All column, we will set all these regions at once to the MOVING_ROTOR
mechanical set.
Proceed as follows:
Program Input
OK
Now assign regions to the FIXED_STATOR mechanical set. Select the MA, MC, PA, PB,
STATOR, STATOR_AIR and WEDGE regions from the tree by selecting their names. Make
sure you hold the Control key when making multiple selections.
Program Input
Click MA
Click MC + Ctrl
Click PA + Ctrl
Click PB + Ctrl
Click STATOR + Ctrl
Click STATOR_AIR + Ctrl
Click WEDGE + Ctrl
Under the Modify All column, we will set all these regions at once to the FIXED_STATOR
mechanical set.
Proceed as follows:
Program Input
OK
Now assign the airgap region to the ROTATING_AIRGAP mechanical set. Select the AIRGAP
region from the tree by selecting its name.
Program Input
Click AIRGAP
The Edit Face region dialog appears. Click on the Mechanical Set tab to assign the mechanical set
to the AIRGAP region.
Now select the ROTATING_AIRGAP mechanical set from the pull down menu.
Proceed as follows:
Program Input
Select "ROTATING_AIRGAP"
OK
Since we have modeled one quarter, or 90 degrees, of the model, we need to define a periodicity
reflecting this. Select the icon from the toolbar to create a new periodicity.
Program Input
Click
If you prefer, you can select Geometry, Periodicity, New from the menu.
Program Input
Geometry
Periodicity
New
Proceed as follows:
Program Input
OK
Now that all physical attributes have been assigned to our model, we should have Flux check it
before proceeding to solving.
Select the icon from the toolbar to start the Physical Check.
Program Input
Click
If you prefer, you can select Physics, Check physics from the menu.
Program Input
Physics
Check physics
Close Preflu
Program Input
Click
Program Input
Project
Exit
Proceed as follows:
Program Input
Flux2D can solve directly (interactively) or in batch mode. For this problem, use batch mode to
reduce the solution time.
To open the Solver, in the Flux Supervisor, in the Solving process folder, double click Direct.
Program Input
In the Open dialog, select the problem to be solved and click Open
Program Input
Open
Click the Prepare Batch button to prepare the file for batch mode.
Program Input
click
In the “Definition of time data” dialog, enter or verify the information to prepare the batch file
as follows:
Program Input
Time values
Program Input
one step on 1
Ok
After you click OK, the “Rotating air gap” dialog opens. Make sure that the initial position of the
rotor is 0 degrees. Then click OK.
Program Input
Your screen should resemble the following figure. At the bottom of the screen, this message is
displayed: “COGGING: Preparation of the batch computation finished.”
Flux2D has created a file called COGGING.DIF that will be used to start the batch solution.
Program Input
File
Exit
In the Flux Supervisor, in the Solving process folder, double click Batch:
Program Input
In the Batch window, problems with batch files prepared are indicated by Yes in the "Ready"
column, as shown in figure below.
Select the problem you wish to solve, e.g., “COGGING.TRA,” and click the Start button to
begin the batch computation:
Program Input
Files Ready
Start
When the problem has finished solving, the Batch window is displayed again. Choose Quit to
close the Solver.
Program Input
Batch
COGGING.TRA Quit
Results
To see your results, in the Flux2D Supervisor, in the Analysis folder, double click Results:
Program Input
From the Open dialog, choose the problem you want to analyze and click Open:
Program Input
Open
PostPro_2D opens with a display of the model geometry at the first time step, 0.5 s.
You can display various quantities as plots on the model geometry. If you wish, instead of the
model (¼ of the motor, in this case), you can display the full geometry.
To see the full geometry, in the toolbar, click the Full Geometry icon or choose Geometry,
Full Geometry from the menu:
Program Input
Geometry
Full geometry
It is often useful to begin analysis with a display of the isovalues (equiflux) lines.
By default, PostPro_2D displays 11 equiflux (isovalues) lines. To display 21 isovalue lines over
the geometry, click the Results properties button or choose Results, Properties from the
menu.
Program Input
Results
Properties
Program Input
Isovalues
Computing parameters
Quality Normal
Number 21
Program Input
Scaling Uniform
OK
PostPro_2D opens with the model at the first time step, 0.5 s, and the rotor at 0 degrees. Look at
the isovalues with the rotor position at 1 degree, or time 1 s.
To do so, open the Parameters manager dialog by clicking the icon or by choosing
Parameters, Manager from the menu.
Program Input
Parameters
Manager
Parameters dialog
Choose 1 from the Values list and then close the Parameters dialog.
Program Input
Parameters
Values 1
click
To display the isovalues lines, click the Isovalues button in the toolbar or choose Results,
Isovalues from the menu.
Program Input
Results
Isovalues
Next, look at a color shade plot of the flux density over the stator, rotor, and magnet regions of
the model only (not the full geometry) and at the initial time and position (0.5 s).
Program Input
click
Now change the time back to the initial value, 0.5 s. Open the Parameters manager with the
button, or choose Parameters, Manager from the menu.
Program Input
Parameters
Manager
In the Parameters dialog, choose 0.5 again and close the dialog.
Program Input
Parameters
Values 0.5
click
To place the three regions in a group, click the icon or select Supports, Group manager from
the menu.
Program Input
Supports
Group manager
Program Input
Filter Region
Add -->
Program Input
Create
When you click the Create button, the dialog closes and the group is added to the supports list in
the problem's data tree.
Now use the group for the display of the color shade plot.
Open the Results, Properties dialog by clicking the button or by choosing Results,
Properties from the menu.
Program Input
Results
Properties
Click the Color Shade tab to bring it to the front. In the Color shade dialog, enter or verify the
following:
Program Input
Computing parameters
Quality Normal
Scaling Uniform
OK
To display the plot, click the color shade button in the toolbar.
Program Input
click
Next examine the variation of several quantities along a path through the center of the airgap.
The following figure shows the path:
To create this path through the airgap, open the Path manager.
Click the Path manager button or choose Supports, Path manager… from the menu:
Program Input
Supports
Path manager…
Path manager
You will be creating an arc path of 180 degrees through the center of the airgap. To verify the
coordinates for the path, with the Path manager open, move your cursor over the geometry
model.
The cursor looks like a cross with a trailing line or, when Arc is selected (as shown in the
previous figure), the cursor resembles a cross with a drawing compass .
Use the Zoom region button to enlarge the area around the bottom of the stator and the
airgap and move the cursor into the center of the airgap. The X and Y coordinates are shown at
the bottom of the PostPro_2D window.
The following figure shows the Path manager, an enlargement of the airgap, and the coordinates
(here, for example, X= 25.4, so we used 25.4 for the X value):
Program Input
Path
Discretization 200
When you click the New section button, the Section Editing dialog opens:
Program Input
Center point
X 0
Y 0
Origin point
X 25.4
Y 0
Length 180
OK
The Section editing dialog closes and the path is displayed on the geometry, as shown (enlarged)
in the following figure.
In the Path manager dialog, click the button to create the path and open the 2D Curves
manager at the same time.
Program Input
click
With the 2D curves manager, you can create and display curves of various quantities along paths;
with selected parameters (such as a series of time steps); or along shell (line) regions.
Begin with curves of the normal component of the flux density along the path through the airgap
at times 1 s, 2 s, and 3 s.
F To select these times from the Parameter values list, click 1, hold down the Ctrl
key, and then select 2 and 3.
Program Input
Curve description
Path
First axis
X axis CenterGap
Second axis
Third data
Parameter Time
Selection step 1
click
Clicking the button creates and displays the curve at the same time.
A 2D curves sheet opens with the 3 curves “stacked,” as shown in the following figure:
Normal component of the flux density through the air gap at time steps 1, 2, and 3 s
To superimpose the curves, right click on the curves sheet, as shown in the previous figure.
From the context menu, choose Properties to open the properties dialog.
Program Input
Properties
The Curves properties dialog appears. Click the Display tab to bring it to the front.
Program Input
Display Superimposed
Gradations ON
X Axis
Range Automatic
Scale linear
Y Axis
Range Automatic
Scale linear
OK
Spectrum analysis
Next, use the Spectrum manager to display the harmonics of the normal component of the flux
density at 1 s.
Click the button or choose Computation, 2D Spectrum manager… from the menu.
Program Input
Computation
2D spectrum manager…
Spectrum manager with settings for analysis of normal component of flux density at
1s
Program Input
Between 0
and 79.79644
Spectrum
Harmonics number 30
click
Clicking the button creates and displays the spectrum and the curve on a new sheet.
The flux density curve and the spectrum are shown below:
To clarify the spectrum display, you can change its properties. Right click on the legend of the
spectrum and choose Properties from the context menu.
Program Input
Properties
The previous spectrum plot, for example, uses a line width of 3, entered as shown below.
Properties dialog to modify individual curve settings, such as line form and width
Finally, display the axis torque of the motor over the whole cycle of 61 time steps. Open the 2D
curves manager with the button, or choose Computation, 2D curves manager… from the
menu.
Program Input
click
The 2D curves manager for the axis torque curve is shown below:
Program Input
Curve description
Parameter
First Axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
click
Clicking the button creates and displays the curve at the same time.
F Note: Since only ¼ of the motor is being modeled, the torque displayed will be ¼
of the total motor torque.
To read values from the curve, from the 2D curves menu, select New cursor… and then position
the cursor.
Program Input
2D curves
New cursor…
For instance, the cursor in the previous figure is at X = 13.56537, showing a value of Y =
2.151964E-3 N.m for the axis torque.
When you are ready, click the Save button to save your analysis work (the path, group, and
curves you created). If you prefer, choose File, Save from the menu.
Program Input
File
Save
Close PostPro_2D
Close PostPro_2D by selecting File, Exit from the menu:
Program Input
File
Exit
101
Back EMF computation
Flux2D computes the back EMF of the stator winding by connecting the stator winding power
supply to an open circuit load and rotating the rotor over one electric cycle. Line to line and
phase voltages with harmonics fully taken into account are readily available through the external
circuit model.
F For this simulation and for those described in Chapters 4, 5 and 6, be sure to use
the 1-layer airgap model.
The following conventions are used for the external circuit model.
The stator winding connections for the model (¼ of the motor, or 1 pole) are 3-phase Wye
connected. The phase diagram is shown in the following figure:
102
Create the back EMF external circuit model 103
For the circuit model, the hot point convention is also used .
The small squares beside the components indicate the “hot” points, shown in the following figure
at the top right of the coil.
The “hot” point shows the side through which the current should enter the component to give a
positive voltage drop. The components must be oriented so that these “hot” points are on the
proper side. Thus, the position of the “hot” point is essential for the coils.
The following figure shows the components of the circuit as they should be placed on the screen.
Start ELECTRIFLUX
To start ELECTRIFLUX, in the Flux Supervisor, in the Construction folder, double click
Circuit.
Program Input
Open a new circuit problem, either with the toolbar icon or the menu.
Program Input
click
Program Input
File
New
ELECTRIFLUX toolbar
The ELECTRIFLUX toolbar includes icons for project management (New, Open, Save), as well
as special icons for managing components, selecting components, and viewing the sheet.
ELECTRIFLUX menus
File menu
The File menu includes commands to open, save, print, and import/export circuit files.
Edit menu
The Edit menu includes commands to manage components on the sheet, e.g., Cut, Copy, Paste,
Delete.
View menu
The View menu includes commands to change the appearance of the sheet. For example, you can
display or hide the circuit grid with View, Grid.
The Zoom commands are also accessible through the View menu.
Circuit menu
The Circuit menu includes commands to arrange components and connections, e.g., to insert
connection points, rotate elements, insert space between components, etc.
Sheet menu
The Sheet menu includes commands to manage individual circuit sheets—to change the name of
the sheet, the background colors, the size of the sheet, the grid spacing, and so on.
Window menu
The Window menu includes commands for the display of the Circuit window (which includes
the Sheet window).
? (Help) menu
The ? (Help) menu includes commands to link to Flux online help (including a searchable
Index), the Flux User's Guide, and other documentation.
Before you proceed, if you wish, you can change the size of the sheet window.
Right click anywhere on the sheet to open the context menu. Choose Sheet settings….
Program Input
Sheet settings…
Program Input
Line Width 1
OK
When you click OK, the dialog closes. Adjust the sheet window (if necessary) to show your new
sheet size.
Now you are ready to begin placing the circuit components on the sheet.
The following figure shows all the components in place for the circuit.
Program Input
A red coil symbol is displayed in the upper left corner of the sheet.
Move your cursor over the coil symbol, but do not click on the symbol yet. Drag the symbol
with the mouse until the coil is in the position shown in the following figure.
Then click to place the coil in that position (the coil symbol turns blue). As soon as you move
the cursor again, you will see a second (red) coil symbol.
Move the cursor to place the three other coils, as shown (somewhat enlarged) in the following
figure.
Program Input
Move your cursor off the sheet to stop adding coil components (the pointer changes to an arrow
shape).
Now rotate the coil components. For each component, complete the two steps below:
To rotate coil B1
Each time you click the Rotate icon , the component rotates 90° clockwise. Note that coils
B2 and B4 must be rotated a total of 270° clockwise; thus, you need to click the Rotate icon
three (3) times to obtain the proper rotation for coils B2 and B4.
For example, the following figure shows coil B2 after its rotation. Look closely to see that the
"hot point" is at the lower left of the coil.
Program Input
click B1 symbol
B1 turns red
click once
click B2 symbol
B2 turns red
click B3 symbol
B3 turns red
click once
click B4 symbol
B4 turns red
With the four coils properly rotated, your sheet should resemble the following:
Add inductors
Now add inductors to model the stator winding end turn inductances.
Program Input
click Inductor
A red inductor symbol is displayed in the upper left corner of the sheet.
Move the cursor and click to place the 3 inductors on the sheet as shown in the following figure.
Proceed as follows:
Program Input
With the inductors added, your sheet should resemble the following figure.
Now rotate the 3 inductors for proper orientation. Inductors L2 and L3 must be rotated 270°
clockwise.
Proceed as follows:
Program Input
click L1 symbol
L1 turns red
click once
click L2 symbol
L2 turns red
click L3
L3 turns red
With the inductors properly rotated, your sheet should resemble the following figure.
Inductors oriented
Next, add the open circuit loads. These are three large resistors (100,000 Ω) connected in Wye.
Program Input
click Resistor
A red resistor symbol is displayed in the upper left corner of the sheet.
Move the cursor and click to place 3 resistors on the sheet as shown in the following figure.
Proceed as follows:
Program Input
Move your cursor off the sheet to stop adding resistors for now.
Now rotate the 3 resistors for proper orientation of the "hot" point. Proceed as follows:
Program Input
click R1 symbol
R1 turns red
click once
click R2 symbol
R2 turns red
click R3
R3 turns red
With the three resistors properly rotated, your sheet should resemble the following.
Finally, add a large resistor between the phase C coil (B3) and the phase B coil (B4). This resistor
acts as a voltmeter to measure the line to line voltage.
Program Input
click Resistor
Again, the red resistor symbol is displayed in the upper left corner of your sheet.
Move your cursor with the resistor symbol and place it as shown in the following figure.
Proceed as follows:
Program Input
Program Input
click R4 symbol
R4 turns red
click twice
All the components should now be properly positioned on your sheet, as shown in the following
figure.
Now is a good time to save your circuit file. Click the icon or choose File, Save from the
menu.
Program Input
File
Save
The dialog shows your working directory in the "Save in" field (e.g., ours is "Brushless_V9" in the
previous figure). If you should wish to save the file to a different directory, click the button
and browse to the directory you wish.
Program Input
Save
Place the cursor over the bottom pin of coil B1, so that the cursor changes to a bull's-eye
shape.
Program Input
Drag the cursor down to the top pin of coil B2 and click to complete the first connection.
Program Input
Notice that with the "Automatic component skirting" option (the default option), you cannot
make an invalid connection, such as one that passes "through" or over a component. The cursor
changes to a hand as it passes over coil B2, as shown in the following figure.
You can make connections only when you see the bull's-eye cursor.
When you are making long connections, such as between resistor R3 and coil B3, you can click
on the grid itself (not on a component pin) to create an intermediate point or "corner" for the
connection, as shown in the following figure.
Such intermediate points may improve the legibility of your circuit diagram. For example, the
following figure shows what the connection might look like without the intermediate point.
You can also move connections. If necessary, click the icon in the toolbar to select entire
connections; the cursor changes to . Then click the connection line to select it and drag the
line until it assumes the shape you wish. For example, the following figure shows the last
connection selected (the lines of the connection are shown in red on the screen, and the number
5 is displayed over the line).
The following figure shows the connections for the whole circuit.
Now define the values of the resistors and inductors. You may use scientific notation to enter
the resistance and inductance values.
The design sheet value for the end turn inductance per phase is 0.031 mH/phase.
Double click R1, the symbol for the first of the open circuit loads.
Program Input
Double click R1
If you wish, you can edit the name of the resistor and add a brief description in the Comment
field.
F The name of any resistor must begin with a capital R. The initial letter of any
component name cannot be changed.
Program Input
Resistor
Name R1
Program Input
Characteristics
Name R(ohm)
Value 1e5
Ok
When you choose Ok, the dialog closes. Define the other 3 resistors, including the voltmeter, as
follows:
Program Input
Double click R2
1e5
Ok
Double click R3
1e5
Ok
Program Input
Double click R4
1e5
Ok
In the same way, define the inductors. Double click L1, the symbol for the first inductor. The
symbol turns red and the Inductor dialog opens.
Program Input
Inductor
Name L1
Characteristics
Name L(henry)
Value 3.1e-5
Ok
Program Input
Double click L2
3.1e-5
Ok
Double click L3
3.1e-5
Ok
The coils can be named to reflect their use in the motor. Any name can be used for the coils as
long as the name starts with a "B". Rename the coils by editing each one (double clicking),
similar to the way the resistors and inductors were changed.
Program Input
Double click B1
B_PA
Ok
Double click B2
B_MA
Ok
Double click B3
B_MC
Ok
Double click B4
B_PB
Ok
Analyze the circuit to check its connections and to create the *.CIF file to be used for
simulations. Choose Circuit, Analyse from the menu.
Program Input
Circuit
Analyse
Program Input
The circuit and transmission files are now complete. Save the circuit file by clicking the icon
or by choosing File, Save from the menu.
Program Input
File
Save
Program Input
File
Close
Program Input
Close ELECTRIFLUX
Program Input
File
Exit
In the Flux Supervisor, in the Construction folder, double click Geometry & Physics:
Program Input
You can open an existing project either with the toolbar icon or the menu.
Program Input
click
Program Input
Project
Open project
Program Input
Open
To save your project with a new name, choose Project, Save As… from the menu:
Program Input
Project
Save As…
Program Input
Save
Program Input
Application
Define
Magnetic
Transient Magnetic 2D
The Define Transient Magnetic 2D application dialog opens. First, click on the "Coils
Coefficient" tab. In previous versions of Flux, when linking a circuit to a problem that was not
completely modeled (like this one, where only ¼ of the motor is represented), the values of the
circuit components needed to be adjusted for the amount of the problem represented. For
example, in the past, the values of the circuit inductors in this problem would be divided by 4.
Now, with Flux 9.1, the program takes the periodicity of the geometry into account and
internally divides the component values by 4. In this way, the same circuit can be used in
multiple models, regardless of how much of the problem is modeled.
Flux 9.1 automatically takes periodicity into account when using a circuit
Program Input
OK
Notice on your screen that there is a new context symbol, representing the Physical model
context.
Program Input
click
Please refer to Chapter 2 for an explanation of the icons on the toolbar when the program is in
the Physics context.
Program Input
Physics
Material
Import material
In the Import material dialog, click on the icon next to the material database to display the
list of materials in the database.
Now scroll to find the two materials you want to import; MAGNETPM and NLSTEELPM.
Select both with the mouse using the Control key.
Proceed as follows:
Program Input
Click MAGNETPM
Click NLSTEELPM + Ctrl
Import
Program Input
Close
Program Input
click
If you prefer, choose Physics, Circuit, Import circuit from a CCS file from the menu:
Program Input
Physics
Circuit
Import circuit from a CCS file
The Import circuit dialog appears. Click on the browse file selector in the dialog box.
Program Input
click
Program Input
Open
The circuit file name is transferred to the Import Circuit dialog box.
Proceed as follows:
Program Input
Click OK
The circuit is displayed on the screen. If you expand the data Tree under the Electric Circuit
node, you will see the components from the imported circuit.
Click the GeometryFlux2DView tab at the bottom of the screen to return to the geometric view
of the model.
Program Input
Click GeometryFlux2DView
Each winding region (PA, MA, MC, PB) must be linked to a coil conductor (B_PA, B_MA,
B_MC, B_PB) in the circuit you created. Each region will be changed individually.
Expand the Face Regions in the Data tree. Select the PA region and right-click the mouse to
select Edit.
Proceed as follows:
Program Input
Click PA
Right-click, Edit
Program Input
OK
Similarly, select the MA region for editing (right-click on MA in the data Tree, select Edit)
Program Input
OK
You can also select regions graphically. Click on one face of the MC region, then right-click and
select Edit.
The MC (B_MC) and PB (B_PB) regions each represent two windings. These regions are
considered compound surfaces. The number of turns for coils B_MC and B_PB is therefore
twice the value for one winding (20).Enter or verify the following:
Program Input
OK
Finally select to edit the PB region (with either the tree or graphically).
Program Input
OK
According to the design sheet, the stator winding characteristics are 10 turns with a resistance
per phase value of 0.141Ω/phase.
For the PA (B_PA) and MA (B_MA) regions, the number of turns is 10. Their resistance must
be calculated, however. To obtain R/phase, divide 0.141Ω by 2 to obtain 0.0705Ω, because these
regions or coils represent only half of the complete winding. Since the B_PA and B_MA coils are
the same, we will use the Edit Array command to set the resistances to both coils at once.
Expand the data tree to display the coil conductors (under the Electric Circuit, then under the
Stranded Coil Conductor). Select the B_PA and B_MA coils using the mouse and Control key.
Proceed as follows:
Program Input
Click B_MA
Click B_PA + Ctrl
The Edit Stranded Coil dialog appears. In the Modify All column, enter the resistance.
Proceed as follows:
Program Input
OK
Similarly, select the Edit Array command for the B_MC and B_PB coils.
The MC (B_MC) and PB (B_PB) regions each represent two windings. Their resistance is twice
the resistance for one winding. Thus, the resistance for B_MC and B_PB is 0.141 Ω. In the
Modify All column, enter the resistance.
Proceed as follows:
Program Input
OK
Assign properties to the WEDGE, AIR, AIRGAP and SHAFT regions as a group.
Select the air regions from the tree by selecting their names. Make sure you hold the Control key
when making multiple selections.
Program Input
Click AIR
Click AIRGAP + Ctrl
Click SHAFT + Ctrl
Click WEDGE + Ctrl
Under the Modify All column, we will set all these regions at once to a vacuum region.
Proceed as follows:
Program Input
OK
Select the stator and rotor regions from the graphic. Make sure you hold the Control key when
making the second selection.
Once the regions are selected, right click the mouse and select Edit Array.
Under the Modify All column, we will set both of these regions to the NLSTEEL material.
Proceed as follows:
Program Input
OK
Select the magnet region graphically with the mouse, then right click the mouse and select Edit.
Proceed as follows:
Program Input
OK
Now you must set the magnet as a radial magnet. This is done by setting the magnet's
orientation. Select the icon from the toolbar.
Program Input
Click
Proceed as follows:
Program Input
OK
You have now assigned a material property to each region of the geometry.
New with Flux 9.1 is the existence of Mechanical Sets. Mechanical Sets are used whenever you
want motion in the model (either rotating or translating). Whenever there is motion in the
model, you must define 3 mechanical sets;
• Fixed - This defines the parts of the model that do not move
• Moving- This defines the parts of the model that move (either rotating or translating)
• Compressible- This defines the region between the moving and non-moving parts (and the
displacement regions, in the case of a translating motion)
We will first create these mechanical sets. Select Physics, Mechanical Set and New from the
menu.
Program Input
Physics
Mechanical set
New
The New Mechanical set dialog appears. Enter the information to create the
MOVING_ROTOR mechanical set.
Proceed as follows:
Program Input
Pivot point
First coordinate 0
Second coordinate 0
The Kinematics tab opens. Enter the information to define the General kinematics, then click on
the Internal characteristics tab.
Program Input
Click "Internal
characteristics" tab
The Internal characteristics tab opens. Enter the information to define the Internal kinematics
information, then click on the External characteristics tab.
Program Input
Moment of inertia 0
Friction coefficient 0
proportional to the square
speed
Click "External
characteristics" tab
The External characteristics tab opens. Enter the information to define the External kinematics
information, then click on OK button.
Program Input
Moment of inertia 0
Friction coefficient 0
proportional to the square
speed
OK
The New Mechanical set dialog closes briefly and then reappears. Enter the information to create
the FIXED_STATOR mechanical set.
Proceed as follows:
Program Input
OK
The New Mechanical set dialog closes briefly and then reappears. Enter the information to create
the ROTATING_AIRGAP mechanical set.
Proceed as follows:
Program Input
OK
The New Mechanical set dialog closes briefly and then reappears. Close the dialog by hitting the
Cancel button.
Proceed as follows:
Program Input
Cancel
Now assign the mechanical sets to the regions of your model. First assign the appropriate regions
to the MOVING_ROTOR mechanical set.
Select the AIR, MAGNET, ROTOR and SHAFT regions from the tree by selecting their names.
Make sure you hold the Control key when making multiple selections.
Program Input
Click AIR
Click MAGNET + Ctrl
Click ROTOR + Ctrl
Click SHAFT + Ctrl
Under the Modify All column, we will set all these regions at once to the MOVING_ROTOR
mechanical set.
Proceed as follows:
Program Input
OK
Now assign regions to the FIXED_STATOR mechanical set. Select the MA, MC, PA, PB,
STATOR and WEDGE regions from the tree by selecting their names. Make sure you hold the
Control key when making multiple selections.
Program Input
Click MA
Click MC + Ctrl
Click PA + Ctrl
Click PB + Ctrl
Click STATOR + Ctrl
Click WEDGE + Ctrl
Under the Modify All column, we will set all these regions at once to the FIXED_STATOR
mechanical set.
Proceed as follows:
Program Input
OK
Now assign the airgap region to the ROTATING_AIRGAP mechanical set. Select the AIRGAP
region from the tree by selecting its name.
Program Input
Click AIRGAP
The Edit Face region dialog appears. Click on the Mechanical Set tab to assign the mechanical set
to the AIRGAP region.
Now select the ROTATING_AIRGAP mechanical set from the pull down menu.
Proceed as follows:
Program Input
Select "ROTATING_AIRGAP"
OK
Since we have modeled one quarter, or 90 degrees, of the model, we need to define a periodicity
reflecting this. Select the icon from the toolbar to create a new periodicity.
Program Input
Click
Proceed as follows:
Program Input
OK
Now that all physical attributes have been assigned to our model, we should have Flux check it
before proceeding to solving.
Select the icon from the toolbar to start the Physical Check.
Program Input
Click
Program Input
Project
Exit
Proceed as follows:
Program Input
In the Flux2D Supervisor, make sure that Flux2D: Standard is shown in the Program manager at
the top of the Supervisor window.
If you do not see "Flux2D: Standard," choose Versions, Standard from the menu.
Program Input
Versions
Standard
Program Input
In the Open dialog, select the problem to be solved and click Open.
Program Input
Open
Program Input
click
Program Input
Time values
Program Input
one step on 1
OK
Click OK to close the time data dialog. The following dialog opens:
Do not change the initial position of the rotor. Click OK and watch as the solution proceeds.
Program Input
Program Input
Program Input
File
Exit
Program Input
Program Input
Open
PostPro_2D opens:
Opening PostPro_2D
Display a time variation curve of the back EMF or line to line no load voltage through the R4
resistor (the voltmeter).
Open the 2D curves manager with the button or choose Computation, 2D Curves
manager… from the menu:
Program Input
Computation
2D curves manager…
Program Input
Curve description
Name VoltRes4
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Components Voltage
Third data
Support R4
click
Clicking the button creates and displays the curve at the same time.
To read specific values from the curve, in the 2D Curves menu, select New cursor….
Program Input
2D Curves
New cursor…
Then position the cursor as you wish. For instance, in the previous figure, the cursor is at X =
30.788E-3 s with a voltage value of Y = 3.379 Volts.
To display a spectrum analysis of the voltage curve for R4, open the 2D Spectrum manager by
clicking the button or by choosing Computation, 2D spectrum manager… from the menu.
Program Input
Computation
2D spectrum manager…
Program Input
Between 1.25E-3
and 61.25E-3
Spectrum
Harmonics number 30
Name SpectrVoltRes4
click
Clicking the button creates and displays the spectrum and the voltage curve at the same
time.
You can look at the back EMF or the line to line no load voltage through other components also.
Below, for example, is the voltage curve for Resis1:
You can also examine waveforms of electric quantities in any of the circuit components. For
example, the following figure shows both the voltage and current in coil B_MC (MC).
This concludes our analysis of the back EMF. We encourage you to explore other results in
PostPro_2D on your own.
When you finish, click the Save button to save your analysis (including all the curves you
have created).
Program Input
click
Program Input
File
Exit
215
Solve at constant speed
Select custom release (brushlike_921)
Solve, Direct
New computation
Initialized by static computation
Initial value of the time step 0.00125s
Study time limit 100 s
Limit number of time steps 49
Store 1 on 1 time step
Initial rotor position 0
216
Chapter 4
217
218 Create the 3-phase bridge circuit
Start ELECTRIFLUX
To start the circuit module, in the Construction folder, double click Circuit.
Program Input
ELECTRIFLUX opens:
First, open a new circuit problem, either with the toolbar icon or the menu.
Program Input
click
Program Input
File
New
Before you proceed, if you wish, you can modify the size of the Sheet window.
Right click anywhere on the sheet to open the context menu and choose Sheet settings….
Program Input
Sheet settings…
Program Input
Line Width 1
Ok
When you click OK, the dialog closes. Adjust the sheet window to show the new size.
Now you are ready to begin placing the circuit components on the sheet. The following figure
shows all the components for the inverter circuit.
Program Input
click Switch
A red switch symbol is displayed in the upper left corner of the circuit sheet.
Move your cursor over the switch symbol, but do not click on the symbol yet. Move the symbol
with the mouse until the switch is in the position shown in the following figure.
Then click to place the switch in that position (the switch symbol turns blue).
Program Input
Switch 1 in place
Move the cursor again and you will see Switch 2, as shown in the following figure.
Program Input
Place the remaining 4 switches as shown (slightly enlarged) in the following figure.
6 switches in place
Program Input
After you have placed Switch 6, drag the cursor off the sheet to stop adding switch components.
The cursor takes the shape of an arrow.
Program Input
Now rotate each of the switches so that they are in the proper orientation. For each switch,
complete the two steps below:
To rotate Switch 1
Proceed as follows:
Program Input
click S1 symbol
S1 turns red
click once
Notice that the "hot point" (the small square symbol) is at the upper right of the switch symbol.
This is the correct orientation for all 6 switches.
Proceed as follows:
Program Input
click S3 symbol
S3 turns red
click once
click S5 symbol
S5 turns red
click once
click S4 symbol
Program Input
S4 turns red
click once
click S6 symbol
S6 turns red
click once
click S2 symbol
S2 turns red
click once
After you finish rotating the switches, your display should resemble the following figure:
Switches rotated
To model the commutation behavior of the switches, add 6 series voltages. A voltage source is
placed underneath each of the six switches, as shown in the following figure.
To add the first series voltage, click Voltage source in the Components library.
Program Input
A red voltage symbol is displayed in the upper left corner of the sheet.
Move the symbol directly underneath the first switch, and click to place the voltage source
symbol:
Program Input
Move the cursor and place the 5 other series voltages, as shown in the following figure:
Program Input
When you have placed the last series voltage, drag the cursor off the sheet to stop adding voltages
for now.
Now rotate the series voltages. As you did for the switches, click the symbol to select it; the
symbol turns red; then click the icon once to rotate the symbol 90° clockwise.
Proceed as follows.
Program Input
click V1 symbol
V1 turns red
click once
Program Input
click V3 symbol
click once
click V5 symbol
click once
click V4 symbol
click once
click V6 symbol
click once
click V2 symbol
click once
The following figure shows the series voltages in the proper orientation.
Program Input
The red voltage source symbol is displayed in the upper left corner of the sheet, as before.
Move the cursor and place the main voltage source to the left of the first switch, as shown in the
following figure.
Program Input
To stop adding voltage components, drag your cursor off the sheet.
Proceed as follows:
Program Input
click V7 symbol
V7 turns red
click once
Program Input
A red coil symbol is displayed in the upper left corner of the sheet.
Move the coil component symbol to a position underneath and to the right of series voltage V4:
Program Input
Move the cursor to place the other 2 coils, as shown in the following figure.
Program Input
To stop adding coil components, drag the cursor off the sheet.
Now rotate the coil components. Each coil must be rotated 90 degrees; you will need to click the
Rotate icon once for the proper rotation, as shown in the following figure. Notice that the "hot
point" symbol is at the upper right of the coil.
Proceed as follows:
Program Input
click B1 symbol
B1 turns red
click once
click B2 symbol
B2 turns red
click once
click B3 symbol
B3 turns red
Program Input
click once
With the three coils properly oriented, your sheet should resemble the following figure:
Now add inductors to model the stator winding end turn inductances.
Program Input
click Inductor
A red inductor symbol is displayed in the upper left corner of your sheet.
Move the cursor and click to place the 3 inductors on the sheet, as shown in the following figure.
Program Input
With the inductors added, your display should resemble the following figure:
Proceed as follows:
Program Input
click L1 symbol
L1 turns red
click once
click L2 symbol
L2 turns red
click once
click L3 symbol
L3 turns red
click once
With the inductors properly oriented, the lower part of your sheet should resemble the following
figure.
Inductors oriented
Next, add a large resistor between V3 and V5. This resistor acts as a voltmeter to measure the
line to line voltage. The following figure shows the location for the resistor.
Program Input
click Resistor
A red resistor symbol is displayed in the upper left corner of the sheet.
Move the cursor over the resistor symbol and then place the symbol on the sheet, as shown in
the following figure.
Proceed as follows:
Program Input
Now is a good time to save your circuit. Click the icon or choose File, Save from the menu.
Program Input
File
Save
Program Input
Save
Place your cursor over the top pin of the main voltage source, V7, until the cursor changes to a
bull's-eye shape.
Program Input
Drag the cursor over to the top pin of switch S1 and click to complete the first connection.
Program Input
The switches, series voltages, and voltmeter are connected as shown in the following figure.
The following figure shows the connections for the whole circuit:
The components that must be defined are the switches, the resistor, and the inductors.
According to the design sheet, the value of the end turn inductance per phase is 0.031 mH/phase.
Even though we are modeling only ¼ of the motor, we can define the components to their full
value and Flux will internally scale them to the correct value.
Define only the voltmeter (the resistor), the inductors, and the on/off resistance values for the
switches now. (These characteristics can also be defined or modified during the physical
properties definition. You will use the Preflu module to complete the definition of the circuit in
the next section.)
Program Input
Double click S1
If you wish, you can edit the name of the switch and add a description in the Comment field.
F The name of any switch must begin with a capital S. The initial letter of any
component name cannot be changed.
Program Input
Switch
Name S1
Ron(ohm)
Value 1e-4
Roff(ohm)
Value 10000
Ok
F The default Roff value is 10000 Ω; you do not need to re-enter this value. You
should verify it, however.
Program Input
Double click S2
1e-4
10000
Ok
Program Input
Double click S3
1e-4
10000
Ok
Double click S4
1e-4
10000
Ok
Double click S5
1e-4
10000
Ok
Program Input
Double click S6
1e-4
10000
Ok
In the same way, define the inductors. Double click L1, the symbol for the first inductor.
Program Input
Double click L1
Program Input
Name L1
Characteristics
Name L(henry)
Value 3.1e-5
Ok
Program Input
Double click L2
3.1e-5
Ok
Double click L3
3.1e-5
Ok
Finally, define the voltmeter, the resistor R1. Double click the R1 symbol.
Program Input
Double click R1
The resistor symbol turns red, and the Resistor dialog opens.
Program Input
Name R1
Comment voltmeter
Characteristics
Name R(ohm)
Value 1e5
Ok
The coils can be named to reflect their use in the motor. Any name can be used for the coils as
long as the name starts with a "B". Rename the coils by editing each one (double clicking),
similar to the way the resistors and inductors were changed.
Program Input
Double click B1
B_COILA
Ok
Double click B2
B_COILB
Ok
Double click B3
B_COILC
Ok
Analyze the circuit to check its connections and to create the *.CIF file to be used for
simulation.
Program Input
Circuit
Analyse
Program Input
The circuit and transmission files are now complete. Save the circuit by clicking the icon or
choosing File, Save from the menu.
Program Input
File
Save
Program Input
File
Close
Program Input
Close ELECTRIFLUX
Program Input
File
Exit
In the Flux Supervisor, in the Construction folder, double click Geometry & Physics:
Program Input
This constant speed model is similar to the model generated in the previous chapter to study
back EMF. The geometry, materials and mechanical sets are the same; just the drive circuit is
different. It will be easiest to start with the back EMF model to create this new model of a
constant speed brushless motor.
You can open an existing project either with the toolbar icon or the menu.
Program Input
click
Program Input
Project
Open project
Program Input
Open
Save your project now with a specific name to indicate that you will be using this model for
constant speed analysis.
To save your project with a new name, choose Project, Save As… from the menu:
Program Input
Project
Save As…
Program Input
Save
The constant speed model is identical to the Back EMF model except for the circuit coupled to
the geometry. To create this model, you need to delete the current circuit, import the new
circuit, and assign the new circuit to regions in the model.
To delete the circuit currently coupled to the problem (onedelta.ccs), choose Physics, Circuit,
Delete electrical circuit from the menu.
Program Input
Physics
Circuit
Delete electrical circuit
Program Input
The Physics commands are available only in the Physics context. At the top of the data Tree,
click the button to change to the Physics context.
Program Input
Click
Program Input
Click
If you prefer, choose Physics, Circuit, Import circuit from a CCS file from the menu:
Program Input
Physics
Circuit
Import circuit from a CCS file
The Import circuit dialog appears. Click on the browse file selector in the dialog box.
Program Input
Click
Program Input
Open
The circuit file name is transferred to the Import Circuit dialog box.
Proceed as follows:
Program Input
Click OK
The squarewave circuit appears. Your display should resemble the following:
Each winding region (PA, MA, MC, PB) must be linked to a coil conductor (B_COILA,
B_COILB, B_COILC) in the circuit you created. Each region will be changed individually.
Expand the Face Regions in the Data tree (under Physics, Regions). Select the PA region and
right-click the mouse to select Edit.
Proceed as follows:
Program Input
Click PA
Right-click, Edit
Program Input
OK
Similarly, select the MA region for editing (right-click on MA in the data Tree, select Edit)
Enter or verify the following. Note that the MA ("minus A") region uses the same coil conductor
(B_COILA) as the PA region, but the orientation of the current is set to Negative:
Program Input
OK
Now, select the PB region for editing (right-click on PB in the data Tree, select Edit).
Program Input
OK
Now, select the MC region for editing (right-click on MC in the data Tree, select Edit).
Enter or verify the following. Note that the current orientation needs to be set to Negative, since
the orientation of all the coil conductors are the same in relation to the voltage sources in the
circuit.
Program Input
OK
According to the design sheet, the stator winding characteristics are 10 turns with a resistance
per phase value of 0.141Ω/phase. Since the B_COILA, B_COILB and B_COILC coils are the
same, we will use the Edit Array command to set the resistances to all coils at once.
Expand the data tree to display the coil conductors (under the Electric Circuit, then under FE
Coupling Components, then under the Stranded Coil Conductor). Select the B_COILA,
B_COILB and B_COILC coils using the mouse and Shift key.
Proceed as follows:
Program Input
Click B_COILA
The Edit Stranded Coil dialog appears. In the Modify All column, enter the resistance.
Proceed as follows:
Program Input
OK
The design value for the power supply is 24 volts. Expand the data tree to display the voltage
sources (under the Electric Circuit, then under the Voltage/current sources). Select the voltage
source, V7, from the data tree to set this voltage.
Proceed as follows:
Program Input
Click V7
Proceed as follows:
Program Input
Value 24
OK
The design value for the series voltages is 3.2 volts. Since they are all the same, we will use the
Edit Array command to set all voltage sources at once.
Select the V1 to V6 voltage sources using the mouse and Shift key.
Proceed as follows:
Program Input
Click V1
Click V6 + Shift
The Edit Voltage Source dialog appears. In the Modify All column, enter the voltage.
Proceed as follows:
Program Input
OK
Next, define the switches. They are on or off depending on the rotor position.
The switches are time dependent and are defined with 3 coefficients:
Expand the data tree to display the switches (under the Electric Circuit, then under the
Switches/semiconductors). Select switch S1 from the tree to set the switch timing.
Proceed as follows:
Program Input
Click S1
The Edit switch dialog appears. To access the switch timing, click on the Turn On Command
tab.
Proceed as follows:
Program Input
Now change the switch timing using the format shown. Again, the first coefficient is the ON
angle in mechanical degrees, the second coefficient is the OFF angle, and the third coefficient is
the switch's cycle in degrees.
Proceed as follows:
Program Input
Command by formula
Expression USER(15,75,180)
OK
The other 5 switches can be defined similarly. The table below shows the characteristics for all 6
switches. You have already entered the characteristics for Switch 1, so that row is crosshatched.
1 15 75 180
2 45 105 180
3 75 135 180
5 135 15 180
6 165 45 180
Now that all physical attributes have been assigned to our model, we should have Flux check it
before proceeding to solving.
Select the icon from the toolbar to start the Physical Check.
Program Input
Click
The model is ready for solving. Close the Preflu application. Select Project, Exit from the menu.
Program Input
Project
Exit
Proceed as follows:
Program Input
The switches of the external circuit are rotor position dependent and are controlled by the
Flux2D user version "brushlike_921."
To select the user version, choose Versions, brushlike_921 from the menu.
Program Input
Versions
brushlike_921
You should see "Flux2D: brushlike_921" at the top of the Program manager, as shown in the
following figure:
F Make sure the appropriate user version (brushlike_921) is selected before you
start the solver.
To start the solver, in the Solving process folder, double click Direct:
Program Input
In the Open dialog, select the problem to be solved and click Open:
Program Input
Open
In the Solver window, click the Options tab to bring it to the front:
Program Input
Number of iterations 50
Thermal iterations
Number of iterations 50
Program Input
Be sure that the Newton-Raphson algorithm is “Disabled,” as shown in the figure below:
Enter or verify the accuracy, solver type and priority for the computation, and click Apply to
apply the solving options.
Program Input
Apply
Program Input
click
The Definition of time data dialog opens, as shown in the following figure:
Enter or verify the following information. Solve the problem with a time step that is 4 time steps
per slot pitch (1 time step every 3.75 degrees) over one electric cycle (180 mechanical degrees).
The resulting time step is 0.00125 seconds
Program Input
initialised by static
computation
Time values
one step on 1
OK
Do not change the initial position of the rotor. Click OK to close this dialog and watch as the
solution proceeds.
Program Input
End of computation
Program Input
Then close the solver by selecting File, Exit from the menu:
Program Input
File
Exit
Starting Results analysis from the Supervisor with user version (brushlike_921)
Program Input
In the Open dialog, choose the problem to be analyzed and click open:
Program Input
Open
PostPro_2D opens with a display of the model geometry at the first time step (0.00125 s):
Begin with an isovalues (equiflux) plot on the model geometry at time step 1 (0.00125 s).
Open Results, Properties by clicking the icon or by choosing Results, Properties from the
menu:
Program Input
Results
Properties
Make sure the Isovalues tab is on top. Then enter or verify the following settings:
Program Input
Isovalues
Computing parameters
Quality Normal
Number 21
Scaling Uniform
Program Input
Display characteristics
Write numbers [check to enable, if desired]
OK
To display the plot, click the Isovalues button in the toolbar, or choose Results, Isovalues
from the menu.
Program Input
Results
Isovalues
If you wish, you can change the display of the isovalues plot.
Right click anywhere on the sheet and choose Properties from the context menu:
Program Input
Properties
For instance, to remove the legend from the sheet, click the Sheet tab to bring it to the front,
clear the “With legend” checkbox, and click OK to close the dialog.
You should then see the isovalues plot as shown in the following figure:
Isovalues plot
You can adjust the displays in many other ways. Remember to right click on the sheet to open
the properties dialog.
Next, display a color shade plot for only the stator, rotor, and magnet regions.
Create a group of these three regions with the Group manager. Open the Group manager dialog
by clicking the button or by choosing Supports, Group manager from the menu:
Program Input
Supports
Group manager
Program Input
Filter Region
Program Input
Add ->
Create
Click the Create button to create the group and close the Group manager dialog.
Now use the group for the display of the color shade plot. Open the Results, Properties dialog
again by clicking the button or by choosing Results, Properties from the menu.
Program Input
Results
Properties
Click the Color shade tab to bring it to the front. Then enter or verify the information as
follows:
Program Input
Computing parameters
Quality Normal
Scaling Uniform
OK
To display the plot, click the color shade button in the toolbar or choose Results, Colour
shade from the menu.
Program Input
Results
Colour shade
You will see the color shade plot on your group of regions:
The saturation values are not high (maximum of 1.5 T). These results are in the linear part of the
B-H curve, as can be seen during the solving process, where each time step requires only 2
Newton-Raphson iterations to achieve convergence—at an accuracy level of 1e-4.
Information about the iterations for each time step is available under the *log_res file tab at the
bottom of the PostPro_2D screen.
To create a path through the center of the airgap, open the Path manager.
Click the Path manager icon or choose Supports, Path manager… from the menu:
Program Input
Supports
Path manager…
Path manager
You will be creating an arc of 180 degrees through the center of the airgap. To verify the
coordinates for the path, with the Path manager open, move your cursor over the geometry
model.
The cursor appears in the shape of a drawing compass (when Arc is selected, as shown in the
figure above).
Click the button and drag the cursor to enlarge the bottom of the airgap between the air and
the stator regions. Then position the cursor to see the coordinates (we used X=25.4).
Then in the Path manager dialog, enter or verify the information as follows:
Program Input
Discretization 200
When you click the New section button, the Section Editing dialog opens.
Program Input
Center point
X 0
Y 0
Origin point
X 25.4
Y 0
Length 180
OK
Click OK to close the Section Editing dialog. The path to be drawn through the airgap is
displayed:
In the Path manager dialog, click the button to create the path and open the 2D Curves
manager at the same time.
Program Input
click
First, create a curve of the normal component of the flux density along the airgap path at the first
time step. Enter or verify the following:
Program Input
Curve description
Name FDNorm
Path
First axis
Second axis
Program Input
Third axis
Parameter Time
Selection step 1
Create
Click the Create button to create the curve of the normal component of the flux density. You
will not see the curve displayed, but you should see the name listed at the bottom of the 2D
Curves manager.
Now create a similar curve for the tangential component of the flux density. The 2D Curves
manager should show a new default name for the curve and a new color. You should be able to
enter a new name (and color, if you wish), change the component, and create the second curve.
For the tangential component curve, enter or verify the information as follows:
Program Input
Curve description
Name FDTang
Path
First axis
Program Input
Second axis
Third axis
Parameter Time
Selection step 1
Create
When you click the Create button, the tangential component curve is added to the list, but you
will not see the curves yet.
Program Input
click
Then right click anywhere on the blank curve sheet, and open the properties dialog.
Program Input
click
Properties
Program Input
Add -->
Program Input
Display Superimposed
Gradations ON
X Axis
Range Automatic
Scale linear
Y Axis
Range Automatic
Program Input
Scale linear
OK
If you wish, display a cursor by choosing 2D curves, New cursor… from the menu.
Program Input
2D Curves
New cursor…
Spectrum analysis
Next, use the Spectrum manager to display the harmonics of the normal component of the flux
density. Proceed as follows:
Click the button or choose Computation, 2D Spectrum manager… from the menu.
Program Input
Computation
2D spectrum manager…
Spectrum manager
Program Input
Between 0
and 79.79644
Spectrum
Harmonics number 30
click
Clicking the button creates and displays the spectrum with the curve on a new sheet.
The spectrum and the normal component curve are shown below:
To clarify the spectrum display, you can change its properties. Right click on the legend of the
spectrum and choose Properties from the context menu.
Program Input
Properties
In the properties dialog, you can change, for example, the legend text, the form of the curve, the
line width and color. Make the settings you wish (our previous figure uses a line width of 3; the
default line width is 1). Click OK to apply your changes and close the dialog.
Finally, display a curve of the axis torque of the motor over the whole cycle.
Open the 2D curves manager with the button or choose Computation, 2D curves
manager… from the menu.
Program Input
Computation
2D curves manager…
Program Input
Curve description
Name AxisTorque
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
Third data
click
To read values from the curve, from the 2D curves menu, select New cursor….
Program Input
2D Curves
New cursor…
Position the cursor as you wish. For instance, in the figure above, the cursor is at X = 0.026 s,
and the axis torque value (Y) is 623.105 N.m.
You can record the values from the curve in various ways. For example, from the 2D Curves
menu, choose Analysis, Write all mean values:
Program Input
2D Curves
Analysis
Write all mean values
The mean values are written into the “Review file” tab at the bottom of the window.
The average torque is given for all 1 pole (0.694 N.m.). The design value is 0.585 N.m.
Next, look at curves of electric quantities. Use the 2D Curves manager, as before. Open the
curves manager by clicking the button or by choosing Computation, 2D curves manager…
from the menu.
Program Input
Computation
2D curves manager…
To create a curve of the voltage in the main voltage source (V7), enter or verify the settings as
follows:
Program Input
Curve description
Name V7Voltage
Parameter
First axis
X axis Time
Second axis
Quantity Circuit
Components Voltage
Third data
Support V7
Create
Click the Create button to create the curve. (The curve will not be displayed.)
In the same way, create a curve of the current in the voltage source. The 2D Curves manager
should still be open. You should be able to change only the name, the color (if you wish) and the
component to create the V7 current curve.
Program Input
Curve description
Name V7Current
Parameter
First axis
Program Input
X axis Time
Second axis
Quantity Circuit
Components Current
Third data
Support V7
Create
Click the Create button to create the time variation curve of the current in the voltage source.
(Remember, the curve will not be displayed.)
Program Input
2d curves manager
click
Superimpose the V7 voltage and current curves for a display like the following (we used the
"Automatic" setting for the Y axis):
Current in Switch1
Program Input
click
Program Input
Curve description
Name CurrSW1
Parameter
First axis
X axis Time
Second axis
Quantity Circuit
Components Current
Third data
Support S1
click
Current in Switch 1
Next, create and display a curve for the current in the B_COILA (PA) component. Click the
button to open the 2D curves manager.
Program Input
click
Program Input
Curve description
Name CurrB1(PA)
Parameter
First axis
X axis Time
Second axis
Quantity Circuit
Components Current
Third data
Support B_COILA
click
The curve of the current in the B_COILA coil component is shown below:
In the same way, create a curve of the current in coil component B_COILB (PB, positive phase
B). Click the button to open the 2D curves manager.
Program Input
click
Program Input
Curve description
Name CurrB2(PB)
Parameter
First axis
X axis Time
Second axis
Quantity Circuit
Components Current
Third data
Support B_COILB
click
The curve of the current in coil component B_COILB (PB) is shown in the following figure:
Finally, create a curve of the current in coil component B_COILC (MC, minus phase C). Click
the button to open the 2D curves manager.
Program Input
click
Program Input
Curve description
Name CurrB3(MC)
Parameter
First axis
X axis Time
Second axis
Quantity Circuit
Components Current
Third data
Support B_COILC
click
To save the analysis supports and the curves you have created, click the icon or choose File,
Save from the menu.
Program Input
File
Save
Program Input
File
Exit
Solve, Direct
Time data
New computation
Initial value of time step 5e-4 s
Study time limit 100 s
Limit number of time steps 100
Store 1 on 1
Initial position of the rotor 0
357
Analyze results with PostPro_2D
Isovalues (equi flux) lines at time step 100 (time 0.05 s)
Time variation analyses (2D curves)
Axis torque
Angular velocity
Rotor position
Waveforms of electric quantities
Voltage and current in voltage source
Current in Switch1
Current in B_COILA coil component
Voltage and current in B_COILB coil component
Voltage and current in B_COILC coil component
358
Chapter 5
F If you do not have the constant speed file, you must define all the physical
properties and link the external circuit as described in the previous chapter
(beginning on page 277). The only difference for this problem is in the definition of
the moving mechanical set.
Basically, for each time step, Flux2D computes the electromagnetic torque, solves the mechanical
equation to yield the angular acceleration, speed and displacement, then rotates the rotor and
repeats the process.
359
360 Modify the physical properties
In the Flux Supervisor, in the Construction folder, double click Geometry & Physics:
Program Input
This no load model is similar to the model generated in the previous chapter. We simply need to
modify the moving mechanical set.
You can open an existing project either with the toolbar icon or the menu.
Program Input
click
Program Input
Project
Open Project
Program Input
Open
Save your project now with a specific name to indicate that you will be using this model for no
load analysis.
To save your project with a new name, choose Project, Save As… from the menu:
Program Input
Project
Save As…
Program Input
Save
The no load model is identical to the constant speed model except for the definition of the
MOVING_ROTOR mechanical set.
Expand the Mechanical Set in the Data tree. Select the MOVING_ROTOR mechanical set and
right-click the mouse to select Edit.
Proceed as follows:
Program Input
Click MOVING_ROTOR
Right-click, Edit
The Edit Mechanical Set dialog appears. To enter the no load characteristics, click on the
Kinematics tab at the top.
Proceed as follows:
Program Input
Click Kinematics
Change the type of kinematics problem to a "Coupled Load" problem. Then go to enter the
internal characteristics.
Proceed as follows:
Program Input
*PI()/180
Program Input
F Note: Since only ¼ of the motor is being modeled, the value you enter for the
moment of inertia is ¼ of the inertia of the entire motor.
Program Input
Moment of inertia 0
OK
The model is ready for solving. Close the Preflu application. Select Project, Exit from the menu.
Program Input
Project
Exit
Proceed as follows:
Program Input
Be sure you see Flux2D: brushlike_921 at the top of the Program manager.
Program Input
Versions
brushlike_921
For example, if we estimate the synchronous speed to be 500 rpm, a time step of 0.5 ms will
rotate the rotor 6 degrees every time step (the slot pitch is 15 degrees). Therefore, a time step of
0.5 ms is appropriate for this problem.
To start the solver, in the Solving process folder, double click Direct:
Program Input
In the Open dialog, select the problem to be solved and click Open:
Program Input
Open
In the Solver window, click the Options tab to bring it to the front:
The most important option to check is that the Progressive Newton Raphson algorithm is
disabled, as shown below:
Program Input
Number of iterations 50
Program Input
Thermal iterations
Number of iterations 50
Apply
Program Input
click
Program Input
initialised by static
computation
Time values
one step on 1
OK
Click OK to close the dialog. Before the computation begins, the following dialog opens:
Do not change the rotor position. Click OK to close the dialog and watch as the computation
proceeds.
Program Input
Program Input
Program Input
File
Exit
Program Input
In the Open dialog, choose the problem to be analyzed and click Open.
Program Input
Open
PostPro_2D opens with the model geometry at the first time step, 0.0005 s.
Begin your analysis with a display of the isovalues (equi flux) lines at time step 100, or time =
0.05 s.
To select the 100th time step, click the Parameters manager button or choose Parameters,
Manager… from the menu:
Program Input
Parameters
Manager…
From the Values list, choose 0.05, the time at the 100th time step. Then close the Parameters
dialog.
Program Input
Parameters
Values 0.05
click
You should see the model geometry with the rotor at approximately 256 degrees:
Click the Results, Properties icon or choose Results, Properties from the menu.
Program Input
Results
Properties
Make sure the Isovalues tab is on top. Then enter or verify the following:
Program Input
Isovalues
Computing parameters
Quality Normal
Number 21
Scaling Uniform
Program Input
Display characteristics
Write numbers [check to enable if desired]
OK
To display the plot, click the Isovalues button or choose Results, Isovalues from the menu.
Program Input
Results
Isovalues
If you wish, display this plot on the full geometry. Click the icon in the toolbar or choose
Geometry, Full geometry from the menu.
Program Input
click
Now look at the time variation results, such as torque, speed, voltages, currents, etc. Look first at
a curve of the axis torque.
Program Input
Computation
2D curves manager…
Program Input
Curve description
Name AxisTorque
Parameter
First axis
X axis Time
Selection step 1
Second axis
Program Input
Quantity Mechanics
click
Axis torque
F The axis torque shown is the resulting torque from the electromagnetic torque,
friction torque and load torque. At synchronous speed, the average torque is
almost zero. The torque values you see during the solving process are the
electromagnetic torque computed by the virtual work method.
Create a curve of the angular velocity next. Open the 2D curves manager again with the
button.
Program Input
click
Program Input
Curve description
Name AngVel
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
click
Superimpose the axis torque and angular velocity curves on the same sheet. Use the “Stretched”
option for the Y axis.
Look next at a curve of the rotor position. Open the 2D curves manager again with the
button.
Program Input
click
Program Input
Curve description
Name Position
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
Components Position
click
Position curve
Superimpose the position and angular velocity curves (with "Stretched" Y axis) for a display like
the following:
Look next at the waveforms of the electric quantities. Click to open the 2D curves manager
again.
Program Input
click
To create a curve of the voltage in the main voltage source (V7), enter or verify the following:
Program Input
Curve description
Name VoltV7
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Voltage
Third data
Support V7
Create
Click the Create button to create this curve. You will not see the curve displayed yet. The 2D
curve manager should remain open, with the new curve added to the list of curves in the Name
field at the bottom.
For a curve of the current in the main voltage source, enter or verify the following:
Program Input
Curve description
Name CurrV7
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support V7
Create
Click the Create button to create the current curve. Again, you will not see these curves
displayed yet.
Open a new 2D curves sheet and superimpose the V7 voltage and current curves (use the
"Stretched" option for the Y axis):
Superimposed display of voltage and current curves for V7 (main voltage source)
Current in Switch1
Now create a curve of the current in Switch1 (S1). Click to open the 2D curves manager.
Program Input
click
Program Input
Curve description
Name CurrS1
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support S1
click
Current in Switch1
Next create a curve of the current in the B1 (PA, positive phase A) coil component. Open the
2D Curves manager with the icon.
Program Input
click
Program Input
Curve description
Name CurrB1-PA
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support B_COILA
click
Next create curves of the voltage and current in the B2 (PB, positive phase B) coil component.
Program Input
click
Program Input
Curve description
Name VoltB2-PB
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Voltage
Third data
Support B_COILB
Create
Click the Create button to create the voltage curve for the B2-PB component. Remember, you
will not see the curve displayed yet.
After the curve is created, the 2D Curves manager displays a new default curve name and color.
You should need only to enter a new name (and color, if you wish) for the curve and to select
Current as the Component.
Enter or verify the settings for the curve of the current in B2, as shown below.
Program Input
Curve description
Name CurrB2-PB
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support B_COILB
Create
Click the Create button to create the current curve for coil B2. (Remember that the curve will
not be displayed.)
Superimpose the B2 voltage and current curves (with "Stretched" Y axis) for a display like the
following:
Superimposed display of voltage and current curves for coil component B2 (PB)
Next, create and superimpose voltage and current curves for coil component B3 (MC, minus
phase C).
Program Input
click
Enter or verify the following for the voltage curve for coil component B3:
Program Input
Curve description
Name VoltB3-MC
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Voltage
Third data
Support B_COILC
Create
Click Create to create the B3 voltage curve (it will not be displayed yet).
With the 2D curves manager still open, enter or verify the following for the B3 current curve:
Program Input
Curve description
Name CurrB3-MC
Parameter
First axis
X axis Time
Selection step 1
Program Input
Second axis
Quantity Circuit
Component Current
Third data
Support B_COILC
Create
Superimpose the curves on a new sheet ("Stretched" Y Axis) for a display like the following:
This concludes our analysis of the no load problem. We encourage you to explore other results
on your own.
Program Input
click
Program Input
File
Exit
413
Solve with transient startup and user version
Restart at time step: Step1:time=0.05s
Keep previous time steps
Time data
Initial value of time step 1e-3 s
Study time limit 100 s
Limit number of time steps 65
Store 1 on 1
Close Flux2D
414
Chapter 6
F You must have already solved the no load startup problem in order to modify it for
the servo simulation. The only difference between these two problems is that the
value of the load or "constant friction coefficient" for the servo problem is no
longer zero.
Once the servo problem is defined, use Flux2D’s transient startup feature to designate the last
time step of your no load startup as the initial time step of your servo problem. Then start the
simulation.
If you have not completed the no load problem, you must define all the physical properties as
described for the constant speed problem (see page 277). Then define the moving airgap
(mechanical coupling with constant friction coefficient of 0.3 N.m.) as described in this chapter
on page 424. Solve as for the no load problem (page 372).
415
416 Modification of physical properties
In the Flux Supervisor, in the Construction folder, double click Geometry & Physics:
Program Input
This Servo model is similar to the model generated in the previous chapter. We simply need to
modify the moving mechanical set.
You can open an existing project either with the toolbar icon or the menu.
Program Input
click
Program Input
Project
Open Project
Program Input
Open
Save your project now with a specific name to indicate that you will be using this model to
simulate servo action.
To save your project with a new name, choose Project, Save As… from the menu:
Program Input
Project
Save As…
Program Input
Save
The servo model is identical to the no load model except for the definition of the
MOVING_ROTOR mechanical set.
Expand the Mechanical Set in the Data tree. Select the MOVING_ROTOR mechanical set and
right-click the mouse to select Edit.
Proceed as follows:
Program Input
Click MOVING_ROTOR
Right-click, Edit
The Edit Mechanical Set dialog appears. To enter the servo characteristics, click on the
Kinematics tab at the top.
Proceed as follows:
Program Input
Click Kinematics
Proceed as follows:
Program Input
*PI()/180
Program Input
OK
The model is ready for solving. Close the Preflu application. Select Project, Exit from the menu.
Program Input
Project
Exit
Proceed as follows:
Program Input
Now you can define the transient startup of the servo motor.
For the servo problem, the no load startup solution satisfies all the above conditions. Make sure
your servo problem and your no load startup problem are both in your working directory.
In the Flux Supervisor, in the Solving process folder, double click Transient Startup:
Program Input
Program Input
The Transient starting module closes and the Flux2D Supervisor is displayed. The solution at
time step 100 of the no load start up problem now becomes the first time step of the servo
problem.
F Make sure the correct user version of Flux2D (brushlike_921) is shown at the
top of the supervisor window.
Choose a time step that is also valid at the new synchronous speed with the load. The no load
synchronous speed is 1200 rpm. With the load, the new speed is smaller, so a time step of 1 ms is
satisfactory for the computation.
To start the solver, in the Solving process folder, double click Direct:
Starting the solver for the servo problem (with customized release)
Program Input
In the Open dialog, select the problem to be solved and click Open.
Program Input
Open
In the Solver window, click the Solve icon to start the computation.
Program Input
click
Because the transient startup is based on the no load problem, which has already been solved, the
following dialog opens.
Program Input
Program Input
Time values
Program Input
one step on : 1
OK
Program Input
Program Input
File
Exit
Program Input
In the Open dialog, choose the problem to be analyzed and click Open:
Program Input
Open
PostPro_2D opens with a display of the model at the first time step (0.05 s).
Begin your analysis with a display of 21 equiflux lines at the last time step, 0.115 s.
To select the last time step, click the Parameters manager button or choose Parameters,
Manager from the menu:
Program Input
Parameters
Manager
From the Samples number list, choose 0.115, the value of the last time step, and then close the
dialog.
Program Input
Parameters
Values 0.115
click
You should see the geometry with the rotor at approximately 800 degrees:
Click the Results, Properties icon or choose Results, Properties from the menu.
Program Input
Results
Properties
Make sure the Isovalues tab is on top. Then enter 21 as the number of lines and click OK to close
the dialog.
Program Input
Isovalues
Number 21
OK
Program Input
click
F You may want to see this plot over the full geometry.
To display the full geometry, click the icon in the toolbar, or choose
Geometry, Full geometry from the menu.
Now display a color shade plot for only the stator, rotor, and magnet regions.
Display this plot over the full geometry. If you have not already done so, choose the Full
Geometry icon in the toolbar.
Program Input
click
First, create a group of the three regions. Click the Group manager icon or choose Supports,
Group manager from the menu:
Program Input
Supports
Group Manager
Program Input
Filter Region
Add -->
Click Create to create the group and close the Group manager dialog.
Program Input
Create
Now click the properties icon or choose Results, Properties from the menu.
Program Input
Results
Properties
Click the Color Shade tab to bring it to the front. Select the group you have just created as the
Support and click OK to close the dialog.
Program Input
OK
To display the plot, click the Color shade icon in the toolbar.
Program Input
click
Color shade plot of flux density on group of regions (rotor, magnet, and stator)
Now look at the time variation results such as torque, speed, voltages, currents, etc.
Axis torque
Open the 2D curves manager by clicking the icon or by choosing Computation, 2D curves
manager… from the menu.
Program Input
Computation
2D curves manager…
Program Input
Curve description
Name AxisTorque
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
Create
Click Create to create the axis torque curve (you will not see the curve yet).
The 2D curves manager should still be open with the Axis torque curve listed in the field at the
bottom.
Angular velocity
Enter or verify the following information to create a curve of the angular velocity. You should
need only to enter a new name for the curve and to choose Angular velocity from the
Components list:
Program Input
Curve description
Name AngVel
Parameter
First axis
X axis Time
Program Input
Selection step 1
Second axis
Quantity Mechanics
click
Superimpose the axis torque and angular velocity curves using “Stretched” for the Y-axis. Your
display should resemble the following:
F The axis torque shown is the resulting torque from the electromagnetic torque,
friction torque and load torque. At synchronous speed, the average torque is
almost zero. The torque values you see during the solving process are the
electromagnetic torque computed by the virtual work method.
Rotor position
Next, create a curve of the rotor position. Click to open the 2D curves manager.
Program Input
click
Program Input
Curve description
Name Position
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Mechanics
Component Position
click
Superimpose the position and angular velocity curves ("Stretched" Y axis) for the following
display:
You can quickly see values on a curve by placing the arrow cursor on the curve and checking the
values at the bottom of the screen. The 2D Cursor feature, however, shows the values on both
curves at the cursor position, and offers the additional possibilities of writing the values to a file,
displaying the mean values, and so on.
Look now at waveforms of electric quantities. Begin with curves of the voltage and current in the
main voltage source, V7.
Program Input
click
Program Input
Curve description
Name VoltV7
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Voltage
Third data
Support V7
Create
Click Create to create the curve. The 2D Curves manager should remain open.
For a curve of the current in the voltage source, enter or verify the following:
Program Input
Curve description
Name CurrV7
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support V7
click
Superimpose the voltage and current curves (with "Stretched" Y axis) for a display like the
following:
Current in Switch 1
Next, create a curve of the current in SWITCH1. Click to open the 2D Curves manager.
Program Input
click
Program Input
Curve description
Name CurrS1
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support S1
click
Current in Switch1
Next look at a curve of the current in the B1 (PA) coil component. Click to open the 2D
Curves manager.
Program Input
click
Program Input
Curve description
Name CurrB1-PA
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Support B_COILA
click
Finally, look at the voltage and current in the B3 (MC) coil component. Click to open the
2D Curves manager.
Program Input
click
Program Input
Curve description
Name VoltB3-MC
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Voltage
Third data
Support B_COILC
Create
Then, still in the 2D Curves manager, enter the information for the B3-MC current curve:
Program Input
Curve description
Name CurrB3-MC
Parameter
First axis
X axis Time
Selection step 1
Second axis
Quantity Circuit
Component Current
Third data
Support B_COILC
click
Superimpose the B3-MC voltage curve ("Stretched" Y axis) for a display like the following:
This concludes our analysis of the servo motor. We encourage you to look at other results as you
wish.
Close PostPro_2D
When you are ready, close PostPro2D by choosing File, Exit from the menu:
Program Input
File
Exit
Program Input
Close Flux2D
Choose File, Quit to close Flux2D:
Program Input
File
Quit
Congratulations! You have now completed the simulations for the brushless DC motor.