next up previous
Next: Bibliography Up: Sorgenti HSpice Previous: Banda di Rumore

Cella Elettrochimica

Il listato seguente è relativo allo studio degli accoppiamenti capacitivi tra la soluzione elettrolitica e il fotorivelatore.


Cella Elettrochimica
 
.options acct nomod 
.options POST
.inc "/usr/hspice/95.1/parts/ti/lm324.inc"
.include "~/tesi/cap3/src0/src3.cmd"
.param    R   = 0.383   S = 1.963e-3  Cc  = 1e-8 N=6.023e23
	    + D  = 1.3e-5 ts  = 5e-2   q = 1.6e-19   phi = 0.02        
        + hcl = 3.155e-19  c   = 3e8   
        + alpha = 0.4892 * frazione fotoni persi
        + beta =0.725 * frazione riflettivita`
        + gamma = 0.1293 * frazione angolo solido r=4mm
        + dimens = 'sqrt(D/ts)*phi*S*Cc*N'
        + kappa  = 'dimens*hcl*R*alpha*beta*gamma'
	    + CMRR   =  31623     gcom ='1/(2*CMRR)' * CMRR =90 dB

vdd 3 0 15
vee 4 0 -15
vin 12 0 pulse(-0.75 -1.125 1m 1u 1u 0.05 0.1)
q1 3 5 6  t2n2222a
q2 4 5 6  t2n2905a

Rrif 2 8 1Meg
R1  5 6 150
R2  6 7 10
Rc  7 8 3285
Ru  8 9 1250
Cd  9 10 2.4u
Id 10 9 pulse(0 130u  1m 1u 1u 0.05 0.1)
Cpar1 7 0 100f
Vdum1 0 10 0

*      non-inverting input
*      | inverting input
*      | | positive power supply
*      | | | negative power supply
*      | | | | output
*      | | | | |
Xamp   12 2 3 4 5 lm324
Cpar 8 30 0.8p *44f
Rpar 20 13 1e9 *112.5e9
Rdummy 1 0 1
Vdum2 13 14 0 
Vdum3 30 20 0
Gph 0 13 1 0 kappa
Rsh 14 0 105e6
Djun 14 0 photodiode
Rs 14 15 10
Cp 15 0 15e-15
Ls 15 16 60e-12
Rfd 16 17 10e9
Cfd 16 17 1p
x549 0 16 17 ad549


.model t2n2222a npn
  + iss     =    0.       xtf     =    1.       ns      =    1.00000 
  + cjs     =    0.       vjs     =    0.50000  ptf     =    0.      
  + mjs     =    0.       eg      =    1.10000  af      =    1.      
  + itf     =    0.50000  vtf     =    1.00000  bf      =  153.40662
  + br      =   40.00000  is      =  1.6339e-14 vaf     =  103.40529 
  + var     =   17.77498  ikf     =    1.00000  ise     =  4.6956e-15
  + ne      =    1.31919  ikr     =    1.00000  isc     =  3.6856e-13
  + nc      =    1.10024  irb     =  4.3646e-05 nf      =    1.00531 
  + nr      =    1.00688  rbm     =  1.0000e-02 rb      =   71.82988 
  + rc      =    0.42753  re      =  3.0503e-03 mje     =    0.32339 
  + mjc     =    0.34700  vje     =    0.67373  vjc     =    0.47372 
  + tf      =    5.1e-10  tr      =  380.00e-9  cje     =  2.6734e-11
  + cjc     =  1.4040e-11 fc      =    0.95000  xcjc    =    0.94518 
  + subs    =    1 

.model t2n2905a pnp
  + iss     =    0.       xtf     =    1.00000  ns      =    1.00000 
  + cjs     =    0.       vjs     =    0.50000  ptf     =    0.      
  + mjs     =    0.       eg      =    1.10000  af      =    1.00000 
  + itf     =    0.50000  vtf     =    1.00000  bf      =    287.5388
  + br      =   44.09003  is      =  2.4501e-14 vaf     =   36.61985 
  + var     =    5.91156  ikf     =    1.00000  ise     =  1.1263e-14
  + ne      =    1.77670  ikr     =    1.00000  isc     =  4.4379e-14
  + nc      =    1.15304  irb     =  4.2272e-06 nf      =    1.00911 
  + nr      =    1.01098  rbm     =  1.0000e-02 rb      =   55.93768 
  + rc      =    1.19087  re      =    0.14731  mje     =    0.25035 
  + mjc     =    0.52892  vje     =    0.52494  vjc     =    0.51093 
  + tf      =    7.5e-10  tr      =  3.7268e-08 cje     =  2.0949e-11
  + cjc     =  1.8214e-11 fc      =    0.95000  xcjc    =    0.92795 
  + subs    =    1   


.model photodiode D 
* modello non geometrico  
 + level =    1        eg   =    1.1      m    =   1.0
 + pj    =    0.       php  =    0.6      vj   =   0.545
 + mjsw  =    0.3      tt   =    40e-9
 + bv    =    0        pb   =    0.6    
 + fc    =   .6        cjo  =    325e-12    
 + cta   =    0.0      rs   =    0
 + n     =    2.115    is   =    20e-9

.subckt ad549 1 2 3 
Rc+ 1 0 1e15
Rc- 2 0 1e15
Rd  1 5 1e13
Rx  6 7 15915.5
Ro  9 3 526
Cc+ 1 0 0.8p
Cc- 2 0 0.8p
Cd  1 5 1p
Cx  7 10 10u

Ecn+ 2 11 1 0 gcom 
Ecn- 11 4 2 0 gcom * tensione Vc/CMRR
Vio 5 4 1.5e-4
I1  0 1 225f
I2  0 2 275f

Ed  6 10 1 5 1
Eo  9 0 7 10 100k * Generatore di uscita

.ends
.tran 50u 0.9
.plot v(vout) I(Vdummy)
.end



Marco Delaurenti
1999-06-25