Sensor principle and its application