Please explain for me how should I model a counter that count the time of integration?
step 1: Vin connect to Integrator for a defined time.
step 2: -Vref connect to Integrator & counter start counting until the output of integator go to Zero.
Sorry: I misunderstood your question. I thought you meant sigma-delta (for some reason), but I realize now you really had said integrating ADC.
So, in this case, you are integrating the input. You compare the result of the integration to a reference value. When the result trips the reference value, you reset the integrator (with a single-slope ADC).[1] You count the times in-between integrator resets to determine the digitized value.
if I want to work with R and C model or other elements (in simscaps ;Electrical elements) in simulink, then How should I see the output?
The scope dosen't work!!