Intelligent sensors for the 4th industrial revolution: Industry 4.0