Realization of P.M. stepping motors driven with optimal static commutation using a realistic current generator