Direct Flux Vector Control of Synchronous Motor Drives: A Small-Signal Model for Optimal Reference Generation