Basic block diagram of sensor