PMSM sliding mode FPGA-based control for torque ripple reduction | Synapse