adc_logic scheme
adc_logic scheme improved