A new method for obtaining parameters

and I
sof Shockley\´s relation for a diode as well as the parasitic series resistance R
sis proposed. By injecting into the diode a sinusoidal current I
1added to a dc bias I
0and measuring the harmonic contents of the resulting voltage, it is easy to obtain the ideality coefficient from the second harmonic; the fundamental leads to the series resistance R
sand the dc component to I
s. The harmonic spectrum is only function of the ratio

, making it very easy to monitor parameter variations with injection level. Moreover, the identification precision is simply stated, as opposed to previously published methods.