Brushless DC Generator Controlled by Constrained Predictive Algorithm