A wafer-level three-step calibration technique for BJT-based CMOS temperature sensor