Hi,dumitru-daniel.popa

I made some further changes to the model modified by Leon Thürnau to make it work with KV4. I removed the Simulink Data Type Conversion module for multiplication. However, it has problems in the motor model. From the waveform point of view, the measured currents of phase A, phase B and phase C are correct. I do not know why the speed and back EMF of the motor are always zero, and I can not find the reason. I have attached my model. I hope you can help me, thank you!

I've looked a bit over the model. I think is an issue related with MATLAB solvers for diff. equations. It looks like you changed the simulation parameters. Mine is using:

Anyhow, you could try to modify the wc initial condition.

You should be able to start see speed & back-emf. If you need further details about the motor - then you can check this one: Dynamic Simulation of Electrical Machines and Drive Systems Using MATLAB GUI | InTechOpen

Hope it helps!

Daniel