The rlib can create very fine details in the geometry including individual wire placement in the motor slots.

Positioning controls

The wire placement in the individual slots in the models is controlled by the following parameters.



Motor.Winding.Turns=6 // sets the number of turns for each occurrence of the phase letter in the winding pattern
Motor.Winding.NStrands=1 // sets the number of parallel strands for each winding turn
Motor.Winding.insulThickness=0.05 // sets the insulation thickness for the border line around the copper conductor
Motor.Winding.wiregap=0.1 // sets the wire spacing around the conductor from the insulation layer
Motor.Winding.SlotLinerThickness=0.1 // sets the slot liner thickness around the slot, this includes the slot hald seperator
Motor.Winding.throw=1 // when more than 1, refers to multi throw winding. Then the slot is split as horizontal.
Motor.Winding.Pattern // The winding pattern. for example AaABbBbBCcCcCAa
Motor.Winding.Slotsplit='vertical'// or horizontal

//either the following two lines 
Motor.Winding.drawWiresEMag=1 // this flag decides whether to draw individual wires in the Electromagnetic solution mode. These are drawn by default in the thermal solution mode.
Motor.Winding.animate=1 // decides whether to animate the wire positioning or just place the wires in the geometry.
// or the following one line
Motor.buildModelIn='slot' // sets the above two lines internally, plots the slot view only in Scilab plot 


// for circular wires
Motor.Winding.wireDia=1.016


//for rectangular wires
Motor.Winding.wire.rectangular=1// setting this flag will force the wires to be rectangular. 
Motor.Winding.wire.len=1
Motor.Winding.wire.thick=2

Slot Split - horizontal vs vertical

vertical slot.png

horiz slot.png

Wire placement algorithm

Below images show how the wire fill looks like for the given slot configuration with different angles of the bottom edge.

To present the working methodology of the algorithm developed by me, the geometric details are deliberately reduced to physically non-achievable levels. A realistic winding slot fill is about 40% through hand winding methods.

Wires with circular cross section

For one slot geometry

234 wires round.png

A different slot geometry

313 wires round.png

A different slot geometry

115 wires round.png

A different slot geometry

406 wires round.png

Wires with rectangular cross section

For one slot geometry

1 180 wires rect 1.png

For the same slot geometry as above, but the wire rotated by 90 degrees

1 154 wires rect 2.png

A different slot geometry

2 138 wires rect 1.png

Same slot geometry a above, when the fillet radii are removed

2 140 wires rect 1a.png

Same slot geometry as above, but the wire rotated and the fillet radii are included

2 119 wires rect 2.png

Same slot geometry as above, with the wire rotated and the fillet radii removed

2 120 wires rect 2a.png

Another geometry with no fillet radii

101 wires rect 1.png

Same geometry as above with the wire rotated

98 wires rect 2.png

Another geometry with no fillet radii

70 wires rect 1.png

Same geometry as above, with the wire rotated

59 wires rect 2.png

Some 3D examples

The rlib can create 3d models in Gmsh so far that can be meshed and imported to Elmer too. Below are some example images to demonstrate its 3D model building capabilities.

Circular wires in single throw winding configuration

circ_throw1_14p15s.png

Rectangular wires in single throw winding configuration

rect_throw1_14p15s.png

Rectangular wires in multi throw winding configuration

rect_throw2_14p15s.png

Software operational time comparison

When the individual wires are created in the geometry, the number of nodes increase dramatically. Different software are written to handle these nodes differently.

The following exercise of creating the motor geometry and mesh generation has been done with one of the motor designs with three software - FEMM, FLUX and GMSH.

A sample motor design from a Chinese manufacturer is taken for plotting these below geometries in different software. Individual wire placement is shown in the inside of each image.

The results and comparisons are as below

TOOL Time to Create Geometry Time to Re-open Geometry Time to Mesh domain Nodes in the mesh
FEMM 6.5 minutes 3 seconds 1.5 minutes 2.6 million
FLUX 130.0 minutes 21 seconds 73.0 minutes 4.8 million
GMSH 38.0 minutes 17 seconds 2.5 minutes 3.3 million

FEMM creates the following geometry

femm_wires.png

FLUX creates the following geometry

flux_wires.png

GMSH creates the following geometry

gmsh_wires.png