rts example

This commit is contained in:
h_vogt 2010-12-18 17:16:00 +00:00
parent f476389531
commit 4d1202d7ef
3 changed files with 34 additions and 1 deletions

View File

@ -4,7 +4,8 @@
isrcacct.c, isrcload.c, isrcpar.c,
vsrcacct.c, vsrcload.c, vsrcpar.c,
maths/misc/makefile.am,
visualc/vngspice.vcproj, vngspice.sln:
visualc/vngspice.vcproj, vngspice.sln,
examples/transient-noise/rts-1.cir, README:
Random telegraph noise added to independent voltage and current sources
2010-12-17 Holger Vogt

View File

@ -10,3 +10,6 @@ just a few 1/f and white noise sources
* shot_ng
emulation of shot noise in a diode
* rts-1.cir
random telegraph signals noise

View File

@ -0,0 +1,29 @@
* white noise, 1/f noise, RTS noise
* voltage source
VRTS2 13 12 DC 0 trnoise(0 0 0 0 5m 18u 30u)
VRTS3 11 0 DC 0 trnoise(0 0 0 0 10m 20u 40u)
VALL 12 11 DC 0 trnoise(1m 1u 1.0 0.1m 15m 22u 50u)
VW1of 21 0 DC trnoise(1m 1u 1.0 0.1m)
* current source
IRTS2 10 0 DC 0 trnoise(0 0 0 0 5m 18u 30u)
IRTS3 10 0 DC 0 trnoise(0 0 0 0 10m 20u 40u)
IALL 10 0 DC 0 trnoise(1m 1u 1.0 0.1m 15m 22u 50u)
R10 10 0 1
IW1of 9 0 DC trnoise(1m 1u 1.0 0.1m)
Rall 9 0 1
* 500000 sample points
.tran 1u 500u
.control
run
plot v(13) v(21)
plot v(10) v(9)
.endc
.end