Text this: Analysis of fault diagnosis of DC motors by power consumption pattern recognition