Tutorial 3

Permanentmagnet Synchron Motor Analysis

In this tutorial a permanent magnet electric motor is analyzed for torque. Notice that there is also a video of this tutorial in https://magnetics.de/index.php/learn .

image

Model Setup by AutoFEM

For this model setup we want to use the feature ’AutoFEM’ that allows to perform this process highly automatized. Some preparations in the CAD (already done here) are the following. The faces of the CAD model have names. When building the fem model with ’AutoFEM’ we will take advantage of these preparations. To assign names to a CAD face you can select a face and then go to RMB properties. Follow the steps:

  1. Download the model files for this tutorial from the following link:
    https://www.magnetics.de/downloads/Tutorials/6.CouplMotion/6.4ElectricMotor.zip

  2. Open part ’ElectricMotor.prt’.

  3. Start Simcenter and the Pre/Post application and chose function ’New FEM and Simulation’.

  4. Switch off ’Create Idealized Part’, set the Solver to ’MAGNETICS’ and ’Analysis Type’ to ’2D or axisym Electromagnetics’.

  5. Choose the solution type ’Magnetodynamic Transient’.

  6. In the dialog Solution set the settings in registers ’Output Requests’ and ’2D’ as shown in the next picture. OK.
    imageimage
    image

  7. Change the displayed part to the Fem file.

  8. As a prerequisite step add the required Materials to the local libraries; to do so follow the workflow below.
    Hint: This prerequisite step must be done for an AutoFEM simulation with automatic Material assignments; more precisely said materials must be added to the ’local materials library’ first, in order to be properly assigned later by the AutoFEM function. Note that this must be done before the usage of the AutoFEM function.

  9. For easier display of colors: RMB on the Fem file, choose ’Edit Model Display…’, register ’Element’ and set the ’Color Basis’ to ’Material Property Table’. This will later make the meshes look in different colors as shown in the below picture right side.
    imageimage

  10. Choose the function ’Auto FEM’ image from the Magnetics toolbar and choose the register ’2D’. Activate the settings as shown in the picture.
    imageimageimage

    Hints:

  11. Press OK in the Auto FEM dialog. The network and meshes are created.

  12. Edit the physical properties of the coils:

  13. Edit the magnets:

  14. Edit the Iron: The Rotor and Stator should be set to ’Conductor Model’ ’Laminated’. Otherwise the default model ’Massive’ would be active and this would result in strong eddy current effects (if the solution is dynamic). So, modify the two physicals as shown in the following picture.
    image image

  15. Edit the resistors in the 1D network: Edit the mesh 1D collector ’ResistorsFromFile’. Create a new physical there and insert a resistance value of 2 ohm. Hint: This value only influences results if the motor is driven by voltage.
    image image image

  16. Switch to the Sim file.

  17. Create parametric expressions: Create the following expressions. To create them, either use the dialogue (Menu, Tools, Expressions). Alternatively run the journal ’CreateExpressions.vb’ in the part directory to automatically create them. (Menu, Tools, Journal, Play, Browse and select the vb file, Run)
    image

  18. Edit the solution and set the

  19. Define the rotor motion:

  20. Define current for phase u:

  21. Define current for phase v and w:

  22. Define the environment condition:

Find the Rotor Start Position for Maximum Torque

The model is now ready to solve, but in a first step we should find the correct rotor position. Normally for synchronous motors, this is the position of maximum torque. So, we have to find this and then set the rotor to that specific angle. One way how to find this is to run the motor without motion and check for torque. Because the rotor moves in negative direction we have to find the max negative value, e.g. the minimum.

  1. Edit the enforced motion joint and set the ’Angular Step’ (temporary) to 0. We want to fix the rotor and only turn the currents to find the maximum torque angle.
    image

  2. Solve the solution. (this takes about 3 minutes because of the nonlinear materials)

  3. Show the torque result graph and indicate the first minimum.
    image

  4. The torque shows a first minimum at 1.667 sec. Let’s transfer this time to the corresponding rotor angle: Because 15 sec represent 90 degrees the minimum is at \(1.667 *90/15 = 10\) degrees.

  5. Change the rotor to minimum torque start position:

  6. If the model does not converge, change the numerical settings to help the solution to converge better. We use a fixed relaxation instead of an adaptively controlled. Therefore,use right mouse button on the solution and ’Edit Solver Parameters’. In register ’Numeric’at box ’Nonlinear Magnetic Material’ switch from ’Program Controlled’ to ’Advanced Scheme (Default)’. Set the ’Relaxation Type’ to ’Fixed Value’.
    imageimage

  7. Rerun the solve and display the torque graph again. Verify that it now starts with minimum torque.
    image

  8. Close the graph display.

Analyze for Torque with Rotation

  1. In the Enforced Motion, set the ’Angular Step’ back to expression ’RotorStep’.

  2. For a higher accuracy result of torque, decrease the tolerance in the Newton scheme: Go to ’Edit Solver Parameters’, switch to register ’Numeric’ and change the ’Absolute Tolerance’ and ’Relative Tolerance’ both from 5e-4 (default) to 5e-5.
    image

  3. Solve the solution and display the torque graph again. It should look similar as the next picture.
    image

  4. Close the AFU file.

  5. Check for torque ripple: Use right mouse button on the torque graph and use the function ’Information’. In the information window there are minimum and maximum values as well as the mean value of the graph shown. The ripple is the difference between min and max.
    image

  6. Display rotation: To show the motion of the rotor, first display a plot result. In ’Post View’, register ’Deformation’, activate ’Deformation’.
    image
    and then use the green buttons ’Next Iteration’ image. Alternatively, use the animation feature. image.
    image

Analyze for Voltage in Phases

  1. We now want to run the motor with 1000 turns per minute. So, change the expression ’SpeedMech’ to 1000 rev/min. (Menu, Tools, Expressions)

  2. To analyse for voltage, we want to run the motor with zero currents. So change also the expression ’CurrentAmplitude’ to 0 A.
    image

  3. We do not want to overwrite the existing solution. Thus, clone the solution (right mouse button on solution 1, ’Clone’) and rename the new one to ’MagDyn1000Umin’.

  4. Set the output requests as shown in the picture. The ’Circuit Voltage’ request will calculate voltages in all circuit elements.
    imageimage

  5. For the measurement of voltage between two phases you create a new current of type ’On 1D-Circuits’ with zero amperes between the desired network points. Use for instance the two points U and V. Name this load ’Sensor UV Phase’.
    imageimage

  6. Solve the new solution

  7. Display the graph results for the voltages in the three phases and the new sensor. This should look like in the following picture.
    image

Parameter Optimization with HEEDS

In the last part of this tutorial, we intend to optimize the permanent magnet synchronous motor. Therefore, we use the additional program Design Space Exploration, which is a limited version of HEEDS, that can be used only with Simcenter 3D. The goal of this optimization is to maximize the RMS of the Torque and to minimize the Ripple. We thus adjust the Outside Diameter of the Rotor, the Inside Diameter of the Coil, the Width of the Slot Opening and the Width of the Teeth.

image

Before setting up the Optimization in HEEDS, we need to make sure that all necessary results are available.

  1. Prepare the Model in NX

  2. Set up the HEEDS run.

The tutorial is completed.