A study on nonlinear model predictive control for helicopter/turboshaft engine with variable rotor speed based on piecewise objective function