A distributed measurement system for stepping motors study