Torque ripple compensation based on instantaneous torque estimation in permanent magnet synchronous motors | Synapse