A portable integrated wide-range gas sensing system with smart A/D front-end