====Rotor Motion using an (Anti)Periodic Air Gap Boundary Condition==== David Meeker [[dmeeker@ieee.org]] 25Feb2018 ==1 Introduction== As of 25Feb2018, the rotor motion model described in [[slidingband|SlidingBand]] has been put into FEMM. The rotor motion model allows the rotor and stator of a rotating machine to have the same mesh regardless of the angular position of the rotor. By having the same mesh at every angle, a big source of numerical error (i.e. remeshing) is removed. Accurate forces and torques can then be obtained quickly from models with a relatively coarse mesh. ==2 Air Gap Boundary Condition Description== The rotor motion model is invoked by creating a boundary condition of the "Periodic Air Gap" or "Anti-periodic Air Gap" type. As an example of the application of the boundary condition, an example brushless DC motor geometry from [1] is used. The machine model is shown below as Figure 1. Because of the structure of this machine, only one pole's worth of the machine need be modeled when anti-periodic boundary conditions are applied to its edges. {{:upload:images:figure4.png|text}}\\ Figure 1: Machine model from Fig. 4 of [1] with its FEMM representation. In the model, an unmeshed region is drawn in the middle of the air gap, and the (anti)periodic air gap boundary condition is applied to either side of the gap, as shown below in Figure 2. Note that in Figure 2, boundary conditions apbc1-apbc4 represent regular anti-periodic boundary conditions that are applied to periodic edges of the problem domain. {{:upload:images:airgapdetail.png|text}}\\ Figure 2: Detail of air gap showing application of different boundary conditions. Figure 3 shows the Boundary Property dialog where the air gap boundary condition is defined. From the drop list, "Anti-periodic Air Gap" is selected due to the problem's anti-periodic geometry. If two poles or the entire machine were modeled instead, a "Periodic Air Gap" boundary condition would be used instead. Two other highlighted entries in Figure 3 are the "Inner Angle" and "Outer Angle" edit boxes. These edit boxes are used to define a shift between the two sides of the boundary versus the as-drawn configuration. These angles essentially define rotor motion. The Inner Angle box defines the angular displacement of the rotor (since this is an inner rotor machine), and the Outer Angle box defines the displacement of the rotor. Here, the Outer Angle is set at zero (to denote no stator motion) and the Inner Angle is set to the desired rotor orientation. {{:upload:images:boundarydefinition.png|text}}\\ Figure 3: Detail of air gap showing application of different boundary conditions. Internally, the program builds a stationary mesh of quadrilateral elements in the air gap. The program then uses cubic interpolation to map the nodes on surfaces defined as air gap boundary conditions onto the quadrilateral elements in the air gap. Since a high-order, continuously differentiable interpolation is used, the formulation produces smooth voltage and torque results as the rotor moves. In the finite element results displayed on the screen, the rotor and stator do not move with respect to one another, but the solution displays the results of the change in rotor position. Since there are no changes to the problem configuration when the rotor moves, the Triangle mesh generator creates the same mesh regardless of rotor position. Since the rotor and stator mesh is the same regardless of rotor angle, remeshing is eliminated as a source of numerical error. Figure 4 below shows an animation of the solutions at 1 degree increments in rotor position to demonstrate the idea. {{:upload:images:anim.gif|text}}\\ Figure 4: Air Gap Angle parameters specify rotor displacement, but rotor's position in model is unchanged. ==3 Comparison to Published Benchmark== As a quantitative demonstration, the results from FEMM can be directly compared to the BLDC motor example in [1]. Unfortunately, [1] does not give a careful listing of all relevant machine parameters, but the article does have a detailed picture of the motor's cross-section and states that the air gap length is 0.7mm. Using the free [[https://www.amsterchem.com/scanit.html|ScanIt]] data digitizer, the detailed cross-section geometry can be gleaned from Fig. 4 of [1]. The materials and axial length were selected to yield a line-to-line voltage whose amplitude is a match to that in Fig. 5 of [1]. A detailed list of the derived dimensions and materials is shown below in Table 1.
| Attribute | Value |
| Rotor Inner Diameter | 22.8mm |
| Rotor Iron Outer Diameter | 50.5mm |
| Rotor Outer Diameter | 55.1mm |
| Magnet Width | 15.8566mm |
| Air Gap Length | 0.7mm |
| Angle Spanned by Tooth | 11.9deg |
| Tooth width | 4mm |
| Tooth Root diameter | 86.592mm |
| Stator Outer Diameter | 100mm |
| Turns/Slot | 46 |
| Winding Wire | 4X20AWG copper wire |
| Magnet Material | Sm2Co17 24MGOe |
| Stator Material | 24 Gauge M19 NGO Steel @ 98% fill |
| Rotor Material | 1018 steel |
| Axial Length | 50mm |