Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Version 4
- SHEET 1 1120 680
- WIRE 432 128 368 128
- WIRE 496 128 432 128
- WIRE 496 144 496 128
- WIRE 368 192 368 128
- WIRE 496 240 496 224
- WIRE 624 240 496 240
- WIRE 496 256 496 240
- WIRE 368 336 368 272
- WIRE 432 336 368 336
- WIRE 496 336 496 320
- WIRE 496 336 432 336
- WIRE 432 352 432 336
- FLAG 432 352 0
- FLAG 432 128 Vin
- FLAG 624 240 Vout
- SYMBOL res 480 128 R0
- SYMATTR InstName R1
- SYMATTR Value 1k
- SYMBOL cap 480 256 R0
- SYMATTR InstName C1
- SYMATTR Value 100µ
- SYMBOL bv 368 176 M0
- WINDOW 3 34 84 Left 2
- SYMATTR Value V=A*exp(alpha*time)*sin(2*PI*frequency*time+phase_offset*PI/180)+DC_offset
- SYMATTR InstName B1
- TEXT -512 216 Left 2 !.tran 0 1 0 10u startup uic
- TEXT -512 -24 Left 2 !.param A=1 alpha=0 frequency=4 phase_offset=0 initial=0 DC_offset=0
- TEXT -512 0 Left 2 ;A = set input peak amplitude at alpha=0 or scaling factor of decay and growth\nalpha = set input oscilating (0) exponential decay (<0) or growth (>0)\nfrequency = set the frequency in Hertz\nphase_offset = set the input phase offset in degree\ninitial = set the initial capacitor voltage\nDC_offset = set the input sinusoidal DC offset
- TEXT -512 296 Left 2 !.ic V(Vout) = {initial}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement