There's a partial schematic on page 3 of the data-sheet -- it'll get you 90% of the way there if you create a sub-ckt from it.
what properties matter in your circuit?
I'd just use a DC Vsource and maybe series R, L for 99% of apps
unless you are switching it on/off in circuit operation, or are (avoidably) shunting directly with too high Q a C...
I'd just use a DC Vsource and maybe series R, L for 99% of apps
unless you are switching it on/off in circuit operation, or are (avoidably) shunting directly with too high Q a C...
Last edited:
Here's one such example:
*************************************************************************
***** LM329 DZ Model adapted from National Semi Schematic *************
***** July 8, 2005 ****************************************************
***** Anode = 1 Kathode = 2 ******************************************
.subckt LM329DZ 1 2
Q10 2 2 3 N1
R1 2 3 50
C1 3 4 15pF
R2 4 6 2k
Q11 3 6 1 N1
R3 5 1 30k
Q12 6 7 3 P1
Q13 7 8 1 N1
C2 7 8 30pF
R4 8 9 10k
R5 9 1 2k
D1 9 2 DZ
R6 2 10 1k
Q14 7 11 10 P1
Q15 11 11 2 P1
Q16 11 9 13 N1
R7 13 1 2.6k
.MODEL DZ D (RS= 0.5164 CJO= 14e-012 BV= 6.2 IBV= 5e-4 TNOM= 27)
.model p1 pnp bf=50
.model n1 npn bf=100 tf=2n cjc=1p is=5e-18 NF=1.07
.ends
*************************************************************************
***** LM329 DZ Model adapted from National Semi Schematic *************
***** July 8, 2005 ****************************************************
***** Anode = 1 Kathode = 2 ******************************************
.subckt LM329DZ 1 2
Q10 2 2 3 N1
R1 2 3 50
C1 3 4 15pF
R2 4 6 2k
Q11 3 6 1 N1
R3 5 1 30k
Q12 6 7 3 P1
Q13 7 8 1 N1
C2 7 8 30pF
R4 8 9 10k
R5 9 1 2k
D1 9 2 DZ
R6 2 10 1k
Q14 7 11 10 P1
Q15 11 11 2 P1
Q16 11 9 13 N1
R7 13 1 2.6k
.MODEL DZ D (RS= 0.5164 CJO= 14e-012 BV= 6.2 IBV= 5e-4 TNOM= 27)
.model p1 pnp bf=50
.model n1 npn bf=100 tf=2n cjc=1p is=5e-18 NF=1.07
.ends
what properties matter in your circuit?
I'm focusing on noise simulations, I would use lithium battery, but I do a soft start and a capacitor in parallel is not a good idea
Here's one such example:
*************************************************************************
***** LM329 DZ Model adapted from National Semi Schematic *************
***** July 8, 2005 ****************************************************
***** Anode = 1 Kathode = 2 ******************************************
.subckt LM329DZ 1 2
Q10 2 2 3 N1
R1 2 3 50
C1 3 4 15pF
R2 4 6 2k
Q11 3 6 1 N1
R3 5 1 30k
Q12 6 7 3 P1
Q13 7 8 1 N1
C2 7 8 30pF
R4 8 9 10k
R5 9 1 2k
D1 9 2 DZ
R6 2 10 1k
Q14 7 11 10 P1
Q15 11 11 2 P1
Q16 11 9 13 N1
R7 13 1 2.6k
.MODEL DZ D (RS= 0.5164 CJO= 14e-012 BV= 6.2 IBV= 5e-4 TNOM= 27)
.model p1 pnp bf=50
.model n1 npn bf=100 tf=2n cjc=1p is=5e-18 NF=1.07
.ends
Wow !
Thanks a lot !
I never use spice noise modeling - after getting a sim fully working in .TRAN I may check sensitivities with .AC - and apply those numbers to actual datasheet noise plots if needed
mostly I just use back of the envelope calcs and the datasheets - and I have designed electronic device noise limited interfaces for many types of transducers professionally - never looked like spice .noise analysis could help - really limited by the real part performance and the system noise from layout, ps, gnds...
mostly I just use back of the envelope calcs and the datasheets - and I have designed electronic device noise limited interfaces for many types of transducers professionally - never looked like spice .noise analysis could help - really limited by the real part performance and the system noise from layout, ps, gnds...
Strongly agree.
Never able to make a decent noise simulation, it seems to me that mathematical models are incomplete in that issue.
Me too I deal with .tran and .ac
However, my knowledge is pretty limited, almost as much as my instruments.
Simulations are my walking stick. 😀
Thanks for your reply.
Never able to make a decent noise simulation, it seems to me that mathematical models are incomplete in that issue.
Me too I deal with .tran and .ac
However, my knowledge is pretty limited, almost as much as my instruments.
Simulations are my walking stick. 😀
Thanks for your reply.
Thanks for your reply.
I need noise density around 1nV/sqrHz because it is amplified by an Op Amp, a LP RC filter seems to work, but with low R (thermal noise) I need very high C, but don't care, everything for the sound. 😀
I need noise density around 1nV/sqrHz because it is amplified by an Op Amp, a LP RC filter seems to work, but with low R (thermal noise) I need very high C, but don't care, everything for the sound. 😀
You shouldn't need to simulate the op-amp noise in spice, and in fact, I doubt you will get accurate noise numbers from a best-effort model. Your best bet is to calculate the effective noise using the input voltage and current noise specifications of the op-amp (and of what is feeding it), and the gain and bandwidth of your application. This isn't trivial to do but it isn't hard. Developing a model with accurate noise performance would be much more difficult.
20 secs on Google, here on diyaudio, on the previous page of this thread ;-)
************************************************** ***********************
***** LM329 DZ Model adapted from National Semi Schematic *************
***** July 8, 2005 ************************************************** **
***** Anode = 1 Kathode = 2 ******************************************
.subckt LM329DZ 1 2
Q10 2 2 3 N1
R1 2 3 50
C1 3 4 15pF
R2 4 6 2k
Q11 3 6 1 N1
R3 5 1 30k
Q12 6 7 3 P1
Q13 7 8 1 N1
C2 7 8 30pF
R4 8 9 10k
R5 9 1 2k
D1 9 2 DZ
R6 2 10 1k
Q14 7 11 10 P1
Q15 11 11 2 P1
Q16 11 9 13 N1
R7 13 1 2.6k
.MODEL DZ D (RS= 0.5164 CJO= 14e-012 BV= 6.2 IBV= 5e-4 TNOM= 27)
.model p1 pnp bf=50
.model n1 npn bf=100 tf=2n cjc=1p is=5e-18 NF=1.07
.ends
Jan
************************************************** ***********************
***** LM329 DZ Model adapted from National Semi Schematic *************
***** July 8, 2005 ************************************************** **
***** Anode = 1 Kathode = 2 ******************************************
.subckt LM329DZ 1 2
Q10 2 2 3 N1
R1 2 3 50
C1 3 4 15pF
R2 4 6 2k
Q11 3 6 1 N1
R3 5 1 30k
Q12 6 7 3 P1
Q13 7 8 1 N1
C2 7 8 30pF
R4 8 9 10k
R5 9 1 2k
D1 9 2 DZ
R6 2 10 1k
Q14 7 11 10 P1
Q15 11 11 2 P1
Q16 11 9 13 N1
R7 13 1 2.6k
.MODEL DZ D (RS= 0.5164 CJO= 14e-012 BV= 6.2 IBV= 5e-4 TNOM= 27)
.model p1 pnp bf=50
.model n1 npn bf=100 tf=2n cjc=1p is=5e-18 NF=1.07
.ends
Jan
Last edited:
Thanks!
Looked in Google for two days before writing on this thread, as it was old.
I found one sub files for LM339, but not 329. Was going to go the Yahoo group.
BTW: someone helped found the way to compute the exact value for the resistors in the super-regulator.
Looked in Google for two days before writing on this thread, as it was old.
I found one sub files for LM339, but not 329. Was going to go the Yahoo group.
BTW: someone helped found the way to compute the exact value for the resistors in the super-regulator.
Last edited:
- Home
- Amplifiers
- Power Supplies
- LM329 LTSpice model needed