sunjiao3
Member level 5

Hi, dear friends, I am doing a Monte Carlo simulation for my hysteresis comparator to analyse the mismatch effect on the width of the hysteresis window. There are 2 questions.
First, I set the width of one of my differential pair transistors as something like Gauss(,,,),and I sweep it for 60 times. To my surprise, the samples not ranger equally beside the original value I choose. I mean, the histogram of this parameter is far from symmetry. So, I add the number of my sweep to 100, the problem seem not alleviated. Why? Should I go on adding the sweep number to get more "realistic" Gauss specs?
Second, I do 2 dc sweeps to get both the possitve and negtive trig point of this hysteresis comparator. And I use very small steps, like 0.01mv to get detailed out. Due to this small step and the large sweep number, like 60, the simulation take a very long time__it is a DC sweep!!
So, is there any method to speed up it? I mean, only use small steps near the trig points to get detailed information. I know Hspice has some funciton like it in Tran sweep, but here, it is DC sweep.
Could any one of you give me some suqqestions on the questions? Thank you in advance.
Added after 30 minutes:
Here are the histogram graph of the parameter I set as Gauss distribution like Gauss(8u,0.1,3). The first graph is the histogram of 60 samples and the last is the histogram with 100 samples. The unsymmetry problem seems not solved.
First, I set the width of one of my differential pair transistors as something like Gauss(,,,),and I sweep it for 60 times. To my surprise, the samples not ranger equally beside the original value I choose. I mean, the histogram of this parameter is far from symmetry. So, I add the number of my sweep to 100, the problem seem not alleviated. Why? Should I go on adding the sweep number to get more "realistic" Gauss specs?
Second, I do 2 dc sweeps to get both the possitve and negtive trig point of this hysteresis comparator. And I use very small steps, like 0.01mv to get detailed out. Due to this small step and the large sweep number, like 60, the simulation take a very long time__it is a DC sweep!!
Could any one of you give me some suqqestions on the questions? Thank you in advance.
Added after 30 minutes:
Here are the histogram graph of the parameter I set as Gauss distribution like Gauss(8u,0.1,3). The first graph is the histogram of 60 samples and the last is the histogram with 100 samples. The unsymmetry problem seems not solved.