Engee documentation
Notebook

Permanent magnet motor

This model is based on the Faulhaber series 0615 DC micromotor. The parameter values correspond to the 1.5V version of this motor. The model uses these parameters to verify the manufacturer's stated no-load speed, no-load current and no-load torque.

When the simulation starts, no external load is applied to the motor for the first 0.1 seconds and the speed builds up to the no-load value. Then after 0.1 seconds, the idle torque is applied as a load to the motor shaft.

Often manufacturers do not specify the parameters of the equivalent circuit and these have to be calculated from information such as idle speed, idle torque and efficiency. A test bench such as this can be used to verify the calculated equivalent circuit before using the motor model in a full simulation system.

Model

magnet_dcmotor_1737980142452.png

DC motor subsystem

ssc_dcmotor_modified_1737978470010.png

Modelling results

Open and run a simulation of the model using the following two code cells.

In [ ]:
modelName = "magnet_dcmotor";
magnet_dcmotor_model = modelName in [m.name for m in engee.get_all_models()] ? engee.open( modelName ) : engee.load( "$(@__DIR__)/$(modelName).engee");
In [ ]:
results = engee.run( modelName )
Out[0]:
SimulationResult(
    "w" => WorkspaceArray("magnet_dcmotor/рад/c в об/w"),
    "Load torque" => WorkspaceArray("magnet_dcmotor/Load torque")
)

Display the results of the simulation.

In [ ]:
plot(   plot(results["w"].time, results["w"].value, lab = "w"),
        plot(results["Load torque"].time, results["Load torque"].value, lab = "Load torque"),
        layout = (2,1)
)
Out[0]:

Conclusion

We have examined the performance of a permanent magnet motor model. The simulation results are in good agreement with the manufacturer's data.