Design of Robust and Flexible On-chip Analog-to-Digital Conversion Architecture