A discrete-time VS controller based on RBF neural networks for PMSM drives