smart sensors for quality control