vivkr
|
Hi,
There are 2 ways:
1. Lazy and simple way but approximate: If you have atleast 1 preamplifier stage, then you can estimate its offset separately using Monte Carlo analysis without clocking, and then estimate overall offset.
2. Otherwise, try the following:
Run your circuit in clocked mode as it would normally work.
Sweep the input voltage as a variable in Monte Carlo analysis.
The approximate offset for each Monte Carlo iteration may be estimated by looking at the inputs between which the comparator output switches from LOW to HIGH.
Generate a histogram of the crossing point for a large number of runs. You will thus get a distribution of the offset.
Note that the above can be easily automated if you define your outputs well as Monte Carlo saves all the relevant outputs in the mcdata file.
Hope this helps. Vivek
|