Summary of the invention
Technical matters to be solved by this invention provides a kind of device mismatch model of resistance, and the mismatch that this model can cause owing to stochastic error resistance in SPICE software is carried out emulation and revised.
For solving the problems of the technologies described above, the modification method of the device mismatch of resistance of the present invention is:
At first, the technique mismatch parameter of determining resistance is 4, is respectively side-play amount (resistance width offset value), the resistance value (Resistance) of square resistance (sheet resistance), terminal resistance (end resistance), resistance width;
Secondly, set the random deviation of square resistance
The random deviation of setting terminal resistance
Set the random deviation of the side-play amount of resistance width
Set the random deviation of resistance value
Wherein W is that resistance width, L are that resistance length, D are that spacing, RS between the resistance is that square resistance, REND are that terminal resistance, Δ W are the side-play amount of resistance width, S
Δ RS, T
Δ RS, S
Δ REND, T
Δ REND, S
Δ W, T
Δ WBe the random deviation modifying factor;
Again, the device mismatch of resistance is revised, is specifically comprised:
Wherein R is revised resistance value, and R_original is original resistance value, T
Δ ALLBe the random deviation modifying factor;
Described agauss (0,1,3) expression expectation value is 1, standard deviation (standard deviation) is the random number in 1/3 the normal distribution span;
Described random deviation modifying factor S
Δ RSAnd S
Δ RENDOnly relevant with W and L, described random deviation modifying factor S
Δ WOnly relevant with L, described random deviation modifying factor T
Δ RS, T
Δ REND, T
Δ WAnd T
Δ ALLOnly relevant with D;
Described random deviation modifying factor S
Δ RS, T
Δ RS, S
Δ REND, T
Δ REND, S
Δ W, T
Δ W, T
Δ ALLCalculating comprise the steps:
The 1st step, test the device mismatch data of the resistance that obtains from reality, pick out the data of L value maximum, select again one group of data of W value maximum;
Should organize data substitution formula
Obtain the corresponding T of different D values
Δ RS, T
Δ REND, T
Δ WAnd T
Δ ALLValue;
In the 2nd step, go on foot the corresponding T of any D value that obtains with the 1st
Δ RSValue substitution formula
Obtain different W and the corresponding S of L value
Δ RSValue;
Go on foot the corresponding T of any D value that obtains with the 1st
Δ RENDValue substitution formula
Obtain different W and the corresponding S of L value
Δ RENDValue;
Go on foot the corresponding T of any D value that obtains with the 1st
Δ WValue substitution formula
Obtain the corresponding S of Different L value
Δ WValue.
The present invention can the device mismatch to resistance carry out simulation analysis in SPICE software, and fully takes into account resistance width W, resistance length L and device pitch D to the impact of the device mismatch of resistance.
Embodiment
The modification method of the device mismatch of resistance of the present invention is:
At first, determine that the technique mismatch parameter of resistance is 4, be respectively offset Δ W, the resistance value R of square resistance RS, terminal resistance REND, resistance width.Why adopting these four parameters as the technique mismatch parameter of resistance, is owing to have the physical significance that following formula is expressed between these four parameters:
This is formula 0.Wherein W represents the resistance width, and L represents resistance length.
Secondly, based on research and analysis to the device mismatch data of a large amount of resistance, the random deviation of finding above-mentioned 4 parameters all is to be inversely proportional to resistance width W and resistance length L, is directly proportional with space D between the resistance, obtain thus the stochastic error of each technique mismatch parameter, comprising:
The random deviation of square resistance RS
This is formula 1.
The random deviation of terminal resistance REND
This is formula 2.
The random deviation of the offset Δ W of resistance width
This is formula 3.
The random deviation of resistance value C
This is formula 4.Formula 4 is after formula 1, formula 2, formula 3 are gathered, and by summary of experience formula 0 is differentiated and is got.
Wherein W is that resistance width, L are that resistance length, D are the spacing between the resistance, S
Δ RS, T
Δ RS, S
Δ REND, T
Δ REND, S
Δ W, T
Δ WBe the random deviation modifying factor.
Again, the device mismatch of resistance is revised, is specifically comprised:
This is formula 5.Wherein R is revised resistance value, and R_original is original resistance value, T
Δ ALLBe the random deviation modifying factor.Described agauss (0,1,3) expression expectation value is 1, standard deviation is the random number in 1/3 the normal distribution span.
Above-mentioned five functions that formula all is W, L and D.The application is based on the device mismatch statistics of a large amount of resistance, through summarizes, finally obtains the funtcional relationship of above-mentioned five formula.
In above-mentioned five formula,
R can obtain by the reality test.When the SPICE emulation of carrying out the device mismatch model, can constantly adjust S
Δ RS, T
Δ RS, S
Δ REND, T
Δ REND, S
Δ W, T
Δ W, T
Δ ALLThe numerical value of these random deviation modifying factors, thus make the SPICE simulation result (being the result of calculation of above-mentioned formula) of device mismatch model equal actual mismatch data (i.e. the data that actual test obtains).And the process by above adjustment can obtain random deviation modifying factor S
Δ RS, T
Δ RS, S
Δ REND, T
Δ REND, S
Δ W, T
Δ W, T
Δ ALLNumerical value.These random deviation modifying factors are only relevant with W, L and D, the value of the corresponding one group of random deviation modifying factor of value of each group W, L and D.
The below provides a kind of computing method of random deviation modifying factor as example.
The 1st step, the device mismatch data of the resistance that obtains from reality test, pick out the data of L value maximum, select again one group of data (referred to as one group of actual measurement data of L and W value maximum) of W value maximum, to the value of D without limits.Above-mentioned formula 1, formula 2, formula 3, formula 5 are reduced to respectively:
This is formula 1a.
This is formula 2a.
This is formula 3a.
This is formula 5a.
With one group of actual measurement of described L and W value maximum
The R value is substitution formula 1a, formula 2a, formula 3a, formula 5a respectively.
The principle of simplified formula is: in formula 1, formula 2, formula 3, formula 5 L,
W * L,
All appear on the denominator term, because L is much larger than W, maximum and when the W value was maximum under the prerequisite of maximum L value, these item numbers can be approximated to be zero when the L value.
For formula 1a,
Be actual measurement, thereby can obtain the corresponding T of different D values
Δ RSValue, T
Δ RSOnly relevant with D.
For formula 2a,
Be actual measurement, thereby can obtain the corresponding T of different D values
Δ RENDValue, T
Δ RENDOnly relevant with D.
For formula 3a,
Be actual measurement, thereby can obtain the corresponding T of different D values
Δ WValue, T
Δ WOnly relevant with D.
For formula 5a, R, RS, Δ W are actual measurements, and R_original is design load thereby is known that W and L are that described maximum occurrences is known, and agauss (0,1,3) is a known function, thereby can obtain the corresponding T of different D values
Δ ALLValue, T
Δ ALLOnly relevant with D.
Through the calculating of the 1st step, obtained the corresponding T of different D values
Δ RS, T
Δ REND, T
Δ WAnd T
Δ ALLValue.
In the 2nd step, go on foot the corresponding T of any D value that obtains with the 1st
Δ RSValue substitution formula 1 obtains different W and the corresponding S of L value
Δ RSValue, S
Δ RSOnly relevant with W and L.
Go on foot the corresponding T of any D value that obtains with the 1st
Δ RENDValue substitution formula 2 obtains different W and the corresponding S of L value
Δ RENDValue, S
Δ RENDOnly relevant with W and L.
Go on foot the corresponding T of any D value that obtains with the 1st
Δ WValue substitution formula 3 obtains the corresponding S of Different L value
Δ WValue, S
Δ WOnly relevant with L.
Through the calculating of the 2nd step, the Different L of having got back and the corresponding S of W value
Δ RS, S
Δ RENDAnd S
Δ WValue, namely obtained the value of each random deviation modifying factor in different W, L and the D situation.
Agauss (nominal_val, abs_variation, sigma) function is the normal distyribution function of the absolute variable of usefulness in the SPICE software, wherein nominal_val is the nominal value (nominal value) of normal distribution, abs_variation is the absolute offset values (absolute variation) of normal distribution, and sigma is the specified level (specified level) of the absolute offset values of normal distribution.The span of agauss function is from nominal_val-abs_variation to nominal_val+abs_variation.Sigma=3 for example, then the standard deviation of this normal distribution is abs_variat ion/3.
The present invention has provided 4 parameters and has been characterized, and provided the modification method of device mismatch according to the Physical Mechanism of the device mismatch of resistance, finally can the device mismatch to resistance carry out simulation analysis in SPICE software.