a 8-bit 500-ks s low power sar adc for biomedical