A new approach for machine's management: from machine's signal acquisition to energy indexes