Sensor controller