Machine sensing alternator