Pharmaceutical manufacturing using Smart Motor Sensor