M
Malcolm Reeves
Guest
Hi,
I'm still not happy with my spice models. I ask this before and was
given this:
* CD4069UB CMOS HEX INVERTER as amplifier
*connections A(in) G(out) VDD VSS
..subckt 4069UB 6 1 4 10
M2 1 6 10 10 CD4069BN
M3 1 6 4 4 CD4069BP
..MODEL CD4069BN NMOS (LEVEL=1 VTO=2.1 KP=2.9M GAMMA=3.97U
+ PHI=.75 LAMBDA=1.87M RD=20.2 RS=184.1 IS=31.2F PB=.8 MJ=.46
+ CBD=47.6P CBS=57.2P CGSO=70.2N CGDO=58.5N CGBO=96.3N)
..MODEL CD4069BP PMOS (LEVEL=1 VTO=-2.9 KP=2M GAMMA=3.97U
+ PHI=.75 LAMBDA=1.87M RD=28.2 RS=145.2 IS=31.2F PB=.8 MJ=.46
+ CBD=47.6P CBS=57.2P CGSO=70.2N CGDO=58.5N CGBO=96.3N)
..ENDS 4069UB
*$
I've tried this on ac analysis, that from the output 1F/1G filter,
gain of 1 buffer, 1VAC source. The ac source scans the frequency
response and the rest set the dc level. At 5V the above circuit has
next to no gain. At 15V the gain is 350 up to 10kHz then rolls off.
At 5V supply the gain is rolling off at 10Hz. The model is just not
accurate.
Jim has sent me his HCU04 model but I'm actually using a 4069 since in
practice I can't see an circuit differences except the 4069 takes less
current. That has a flat gain of 12 which also isn't right. There is
still quite some gain at 100kHz.
Anyone have a better model or can tell me what of the multitude of
params I should vary to get the model right?
TIA
--
Malcolm
Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
(mreeves@fullcircuit.com, mreeves@fullcircuit.co.uk or mreeves@iee.org).
Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:
http://www.fullcircuit.com or http://www.fullcircuit.co.uk
NEW - www.CharteredConsultant.co.uk - The Consultant A-List
I'm still not happy with my spice models. I ask this before and was
given this:
* CD4069UB CMOS HEX INVERTER as amplifier
*connections A(in) G(out) VDD VSS
..subckt 4069UB 6 1 4 10
M2 1 6 10 10 CD4069BN
M3 1 6 4 4 CD4069BP
..MODEL CD4069BN NMOS (LEVEL=1 VTO=2.1 KP=2.9M GAMMA=3.97U
+ PHI=.75 LAMBDA=1.87M RD=20.2 RS=184.1 IS=31.2F PB=.8 MJ=.46
+ CBD=47.6P CBS=57.2P CGSO=70.2N CGDO=58.5N CGBO=96.3N)
..MODEL CD4069BP PMOS (LEVEL=1 VTO=-2.9 KP=2M GAMMA=3.97U
+ PHI=.75 LAMBDA=1.87M RD=28.2 RS=145.2 IS=31.2F PB=.8 MJ=.46
+ CBD=47.6P CBS=57.2P CGSO=70.2N CGDO=58.5N CGBO=96.3N)
..ENDS 4069UB
*$
I've tried this on ac analysis, that from the output 1F/1G filter,
gain of 1 buffer, 1VAC source. The ac source scans the frequency
response and the rest set the dc level. At 5V the above circuit has
next to no gain. At 15V the gain is 350 up to 10kHz then rolls off.
At 5V supply the gain is rolling off at 10Hz. The model is just not
accurate.
Jim has sent me his HCU04 model but I'm actually using a 4069 since in
practice I can't see an circuit differences except the 4069 takes less
current. That has a flat gain of 12 which also isn't right. There is
still quite some gain at 100kHz.
Anyone have a better model or can tell me what of the multitude of
params I should vary to get the model right?
TIA
--
Malcolm
Malcolm Reeves BSc CEng MIEE MIRSE, Full Circuit Ltd, Chippenham, UK
(mreeves@fullcircuit.com, mreeves@fullcircuit.co.uk or mreeves@iee.org).
Design Service for Analogue/Digital H/W & S/W Railway Signalling and Power
electronics. More details plus freeware, Win95/98 DUN and Pspice tips, see:
http://www.fullcircuit.com or http://www.fullcircuit.co.uk
NEW - www.CharteredConsultant.co.uk - The Consultant A-List