A parameter estimation method for on-line failure detection in permanent magnet AC-brushless motors having current-dependent parameters