help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PIN diode newton sec1d problem


From: Tijmen Kroezen
Subject: Re: PIN diode newton sec1d problem
Date: Thu, 2 Nov 2017 15:12:33 +0100

Hi Carlo,

Thanks for your reply! I have some results to analyze and work with now. Could you perhaps elaborate a bit further on why did you suggested: 

V_p = -.1 ;    ?

I was of the understanding that V_p and V_n were the positive and negative contact voltages but is this incorrect? 


Thanks so much sir,

Tijmen

On Thu, Nov 2, 2017 at 10:51 AM, Carlo De Falco <address@hidden> wrote:

> On 2 Nov 2017, at 10:44, Carlo De Falco <address@hidden> wrote:
>
> Hi, Indeed your initial guess is inconsistent.
>
> You are imposing a weak p-type doping in the i region, therefore p = n = ni is not correct.
> I didn't have time yet to check whether this is the reason for the simulation failure.

One way to set a consistent guess would be for example

% initial guess for n, p, V, phin, phip
 V_p =  -.1;
 V_n =  0;

 Fp = V_p * (D<0);
 Fn = Fp;

 pp = (D < 0) .* (- D + sqrt (D .^ 2 + 4 * ni ^ 2)) / 2;
 pn = (D > 0) .* ni^2 ./  ((D + sqrt (D .^ 2 + 4 * ni ^ 2)) / 2);
 p0 = (D == 0) .* ni .* ones (size (x));

 p = pp + pn + p0;

 np = (D < 0) .*  ni^2 ./  ((- D + sqrt (D .^ 2 + 4 * ni ^ 2)) / 2);
 nn = (D > 0) .* (D + sqrt (D .^ 2 + 4 * ni ^ 2)) / 2;
 n0 = (D == 0) .* ni .* ones (size (x));

 n = np + nn + n0;

 V = Fn + Vth * log (n / ni);

HTH,
c.






--
Met vriendelijke groet,

Tijmen Kroezen
Student Applied Physics TU Delft
Heemraadssingel 245
3023CD Rotterdam
t :  +31 6 24 25 46 63
m taddress@hidden 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]