* Z:\home\khalils\Downloads\files\data\raw_asc\51dc916549df_UjtSawTooth.asc
* Generated by LTspice 26.0.1 for Windows.
* Bajar R2 a 1 k\npara Sawtooth
C2 N002 0 100n
D3 N008 Out 1N914
V1 0 N009 15 Rser=1m Cpar=1n
R5 N002 N004 22K tol=1 pwr=0.1
R4 N009 Out 4K7 tol=1 pwr=0.1
R3 N001 div 330 tol=1 pwr=0.1
D4 N007 N004 1N914
V2 N001 0 15 Rser=1m Cpar=1n
R2 N008 N002 1e6 tol=1 pwr=0.1
Q2 N005 N002 Out 0 2N3904
D1 N001 N003 1N914
R1 N001 N005 4k7 tol=1 pwr=0.1
Q1 N006 N005 N003 0 2N3906
D2 N006 N008 1N914
V3 N007 0 PULSE(0 10 0 0 0 .5m 1m)
.model D D
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.dio
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.tran 100m
.inc Ujt&Put.lib
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 880 680
WIRE 336 32 112 32
WIRE 448 32 336 32
WIRE 656 32 448 32
WIRE 240 48 48 48
WIRE 448 48 448 32
WIRE 48 64 48 48
WIRE 112 64 112 32
WIRE 336 64 336 32
WIRE 448 128 448 112
WIRE 656 128 656 32
WIRE 112 160 112 144
WIRE 160 160 112 160
WIRE 48 176 48 144
WIRE 160 176 160 160
WIRE 336 176 336 144
WIRE 384 176 336 176
WIRE 224 208 224 192
WIRE 240 208 240 48
WIRE 240 208 224 208
WIRE 448 256 448 224
WIRE 656 256 656 208
WIRE 656 256 624 256
WIRE 48 272 48 240
WIRE 624 272 624 256
WIRE 160 288 160 272
WIRE 160 288 112 288
WIRE 656 320 656 256
WIRE 240 336 240 208
WIRE 352 336 240 336
WIRE 448 336 448 320
WIRE 448 336 432 336
WIRE 448 352 448 336
WIRE 336 368 336 176
WIRE 48 416 48 352
WIRE 112 416 112 288
WIRE 112 416 48 416
WIRE 128 416 112 416
WIRE 240 416 240 336
WIRE 240 416 192 416
WIRE 272 416 240 416
WIRE 112 464 112 416
WIRE 336 480 336 464
WIRE 416 480 336 480
WIRE 448 480 448 416
WIRE 448 480 416 480
WIRE 496 480 448 480
WIRE 656 480 656 400
WIRE 656 480 576 480
SYMBOL diode 432 256 R0
WINDOW 0 43 4 Left 0
WINDOW 3 39 31 Left 0
SYMATTR InstName D2
SYMATTR Value 1N914
SYMBOL res 592 464 R90
WINDOW 0 -1 104 VBottom 0
WINDOW 3 -28 58 VTop 0
SYMATTR InstName R4
SYMATTR Value 4K7
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL pnp2 384 224 M180
WINDOW 0 70 75 Left 0
WINDOW 3 21 48 Left 0
SYMATTR InstName Q1
SYMATTR Value 2N3906
SYMBOL voltage 656 304 R0
WINDOW 3 -13 62 Left 0
WINDOW 123 0 0 Left 0
WINDOW 0 -32 8 Left 0
SYMATTR Value 15
SYMATTR InstName V1
SYMATTR SpiceLine Rser=1m Cpar=1n
SYMBOL diode 432 352 R0
WINDOW 0 43 4 Left 0
WINDOW 3 39 31 Left 0
SYMATTR InstName D3
SYMATTR Value 1N914
SYMBOL voltage 48 256 R0
WINDOW 3 -53 -97 VRight 0
WINDOW 123 0 0 Left 0
WINDOW 39 204 335 Left 0
SYMATTR Value PULSE(0 10 0 0 0 .5m 1m)
SYMATTR InstName V3
SYMBOL res 448 320 R90
WINDOW 0 0 56 VBottom 0
WINDOW 3 32 56 VTop 0
SYMATTR InstName R2
SYMATTR Value 1e6
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL voltage 656 112 R0
WINDOW 3 -15 61 Left 0
WINDOW 123 0 0 Left 0
WINDOW 0 -34 6 Left 0
SYMATTR Value 15
SYMATTR InstName V2
SYMATTR SpiceLine Rser=1m Cpar=1n
SYMBOL res 96 48 R0
WINDOW 0 34 46 Left 0
SYMATTR InstName R3
SYMATTR Value 330
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL res 320 48 R0
WINDOW 0 -32 34 Left 0
WINDOW 3 -36 66 Left 0
SYMATTR InstName R1
SYMATTR Value 4k7
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL diode 64 240 R180
WINDOW 0 24 72 Left 0
WINDOW 3 24 0 Invisible 0
SYMATTR InstName D4
SYMATTR Value 1N914
SYMBOL res 32 48 R0
WINDOW 3 20 82 Left 0
SYMATTR Value 22K
SYMATTR InstName R5
SYMATTR SpiceLine tol=1 pwr=0.1
SYMBOL diode 432 48 R0
WINDOW 0 43 4 Left 0
WINDOW 3 39 31 Left 0
SYMATTR InstName D1
SYMATTR Value 1N914
SYMBOL npn2 272 368 R0
SYMATTR InstName Q2
SYMATTR Value 2N3904
SYMBOL cap 192 400 R90
WINDOW 0 16 55 VBottom 0
WINDOW 3 -11 -4 VTop 0
SYMATTR InstName C2
SYMATTR Value 100n
FLAG 112 464 0
FLAG 624 272 0
FLAG 416 480 Out
FLAG 112 160 div
TEXT 528 48 Left 0 !.tran 100m
TEXT 480 200 Left 0 ;Bajar R2 a 1 k\npara Sawtooth
TEXT 64 496 Left 2 !.inc Ujt&Put.lib