Experimental Validation of a Sliding Mode Controller for Permanent-Magnet Synchronous Motors