Smart Flow Sensor With On-Chip CMOS Interface Performing Offset and Pressure Effect Compensation