Engee documentation
Notebook

Permanent Magnet motor

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

When starting the simulation, there is no external load on the engine for the first 0.1 seconds, and the speed increases to a no-load value. Then, after 0.1 seconds, a stop torque is applied as a load to the motor shaft.

Manufacturers often do not specify the parameters of an equivalent circuit, and they have to be calculated based on information such as idle speed, idle torque, and efficiency. A test bench like this can be used to verify the calculated equivalent circuit before using the engine model in a complete simulation system.

Model

magnet_dcmotor--1737980142452.png

DC motor subsystem

ssc_dcmotor_modified--1737978470010.png

Simulation results

Open and run the 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")
)

Let's display the simulation results.

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 reviewed the operation of the permanent magnet motor model. The simulation results are in good agreement with the manufacturer's data.