A CMOS analog front-end IC for gas sensors