* Z:\home\khalils\Downloads\files\data\raw_asc\28ce34c85c14_2024-09-27_LDO_A_-_margenfase_seguncarga.asc
* Generated by LTspice 26.0.1 for Windows.
* __________________________________________________\n|Tension | RF | Carga 1A a 20 mA | Carga 0.5A a 10mA |\n_____________________________________________________\n| 5 V | 1.5k | 5 a 250 | 10 a 500 |\n| 3.3 V | 4.7k | 3.3 a 163 | 6.6 a 326 |
* Definir variables para las impedancias
* Barrido de capacitancias
#MODELO TRANSISTORES
+Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)
V1 P001 0 AC 1
R14 Vpos N003 1k
R17 Vpos N005 100k
Q3 N001 N004 N003 0 BC558B
R2 N006 0 0.3
R2f N007 0 1.5k
Q6 N008 N008 0 0 BC548B
L1 N007 retro 10000
Q8 N005 0 0 0 BC548B
Q5 N001 Vref N009 0 BC548B
Rs V2s V1s 0.1
C3 Vpos N001 2.2n
R1f V2s N007 1.5k
R15 Vpos N008 1k
Q1 N001 N005 Vpos 0 BC558B
R1 Vpos N002 1k
Q2 N004 N004 N002 0 BC558B
Q7 N009 N008 0 0 BC548B
C2 V2s N006 {CL}
C1 V2s N007 470p
C4 retro P001 10000
VIN Vpos 0 6.35
M1 V1s N001 Vpos Vpos irf9540npbf
Q4 N004 retro N009 0 BC548B
RL V2s 0 {RL}
V2 Vref 0 2.5 AC 0
.model NPN NPN
.model PNP PNP
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.bjt
.model NMOS NMOS
.model PMOS PMOS
.lib C:\users\khalils\AppData\Local\LTspice\lib\cmp\standard.mos
.model BC558B PNP(Is=1.02f Xti=3 Eg=1.11 Vaf=52.31 Bf=306.5 Ise=10.27f Ne=1.764 Ikf=91.85m Nk=.5351 Xtb=1.5 Br=6.48 Isc=1.472f Nc=1.294 Ikr=.5584 Rc=1.086 Cjc=9.81p Mjc=.332 Vjc=.4865 Fc=.5 Cje=30p Mje=.3333 Vje=.5 Tr=10n Tf=611.6p Itf=1.373 Xtf=26.05 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)
.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835 Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)
.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835
.MODEL irf9540npbf PMOS LEVEL=1 IS=1e-32 L=100u W=100u VTO=-3.74034 LAMBDA=0.00254531 KP=6.90462 CGSO=1.15995e-05 CGDO=1e-11
.lib sloj018.txt
.ac dec 10 1 10g
.param RL= 50
.param CL= 2.2u
.step param RL list 5 100 130
.step param CL list 1u 2.2u 15u
.backanno
.end

* LTspice schematic (.asc):
Version 4
SHEET 1 6696 2000
WIRE -496 -32 -784 -32
WIRE -224 -32 -496 -32
WIRE 0 -32 -224 -32
WIRE 320 -32 0 -32
WIRE 368 -32 320 -32
WIRE 448 -32 368 -32
WIRE 480 -32 448 -32
WIRE 816 -32 576 -32
WIRE 1136 -32 896 -32
WIRE 1344 -32 1136 -32
WIRE 1552 -32 1344 -32
WIRE 1744 -32 1552 -32
WIRE 368 0 368 -32
WIRE 496 64 496 16
WIRE 496 64 368 64
WIRE 816 96 816 -32
WIRE 896 96 896 -32
WIRE 816 112 816 96
WIRE 896 112 896 96
WIRE -224 128 -224 -32
WIRE 0 128 0 -32
WIRE 320 176 320 -32
WIRE -224 336 -224 208
WIRE 0 336 0 208
WIRE 448 336 448 -32
WIRE -784 384 -784 -32
WIRE -112 384 -160 384
WIRE -64 384 -112 384
WIRE 320 384 320 256
WIRE 320 384 256 384
WIRE 384 384 320 384
WIRE 256 400 256 384
WIRE 496 432 496 64
WIRE 496 432 448 432
WIRE 1744 432 1744 -32
WIRE 64 448 48 448
WIRE 160 448 64 448
WIRE 192 448 160 448
WIRE 208 448 192 448
WIRE -224 464 -224 432
WIRE -112 464 -112 384
WIRE -112 464 -224 464
WIRE 1344 464 1344 -32
WIRE -496 496 -496 -32
WIRE 1136 512 1136 -32
WIRE 0 560 0 432
WIRE 496 560 496 432
WIRE 496 560 0 560
WIRE -224 608 -224 464
WIRE 0 608 0 560
WIRE 1552 608 1552 -32
WIRE 1744 640 1744 496
WIRE -288 656 -352 656
WIRE 160 656 64 656
WIRE 1136 656 1136 592
WIRE 1344 656 1344 528
WIRE 1344 656 1136 656
WIRE -496 688 -496 576
WIRE -384 688 -496 688
WIRE 976 688 944 688
WIRE 1024 688 976 688
WIRE 1136 688 1136 656
WIRE 1136 688 1104 688
WIRE 160 704 160 656
WIRE -224 736 -224 704
WIRE -112 736 -224 736
WIRE 0 736 0 704
WIRE 0 736 -112 736
WIRE -496 752 -496 688
WIRE -112 752 -112 736
WIRE 1136 768 1136 688
WIRE -432 800 -448 800
WIRE -384 800 -384 688
WIRE -384 800 -432 800
WIRE -176 800 -384 800
WIRE -784 880 -784 464
WIRE -496 880 -496 848
WIRE -496 880 -784 880
WIRE -112 880 -112 848
WIRE -112 880 -496 880
WIRE 160 880 160 784
WIRE 160 880 -112 880
WIRE 256 880 256 496
WIRE 256 880 160 880
WIRE 560 880 256 880
WIRE 976 880 976 832
WIRE 976 880 560 880
WIRE 1136 880 1136 848
WIRE 1136 880 976 880
WIRE 1552 880 1552 688
WIRE 1552 880 1136 880
WIRE 1632 880 1552 880
WIRE 1744 880 1744 720
WIRE 1744 880 1632 880
DATAFLAG 1040 -32 ""
DATAFLAG 96 -32 ""
SYMBOL pmos 576 16 M270
SYMATTR InstName M1
SYMATTR Value irf9540npbf
SYMBOL res -240 112 R0
SYMATTR InstName R1
SYMATTR Value 1k
SYMBOL pnp -160 432 R180
SYMATTR InstName Q2
SYMATTR Value BC558B
SYMBOL cap 1328 464 R0
SYMATTR InstName C1
SYMATTR Value 470p
SYMBOL voltage 160 688 R0
WINDOW 0 10 11 Left 2
WINDOW 39 0 0 Left 0
WINDOW 3 10 39 Left 2
SYMATTR InstName V2
SYMATTR Value 2.5
SYMATTR Value2 AC 0
SYMBOL res 304 160 R0
SYMATTR InstName R17
SYMATTR Value 100k
SYMBOL voltage -784 368 R0
WINDOW 123 24 124 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName VIN
SYMATTR Value 6.35
SYMBOL npn -288 608 R0
SYMATTR InstName Q4
SYMATTR Value BC548B
SYMBOL res 1120 496 R0
SYMATTR InstName R1f
SYMATTR Value 1.5k
SYMBOL npn 192 400 R0
SYMATTR InstName Q8
SYMATTR Value BC548B
SYMBOL cap 960 688 R0
SYMATTR InstName C4
SYMATTR Value 10000
SYMBOL Cap 1728 432 R0
SYMATTR InstName C2
SYMATTR Value {CL}
SYMBOL pnp -64 432 M180
SYMATTR InstName Q3
SYMATTR Value BC558B
SYMBOL res -512 480 R0
SYMATTR InstName R15
SYMATTR Value 1k
SYMBOL res -16 112 R0
SYMATTR InstName R14
SYMATTR Value 1k
SYMBOL pnp 384 432 M180
SYMATTR InstName Q1
SYMATTR Value BC558B
SYMBOL ind 1120 672 R90
WINDOW 0 5 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName L1
SYMATTR Value 10000
SYMBOL res 912 -48 R90
WINDOW 0 0 56 VBottom 2
WINDOW 3 32 56 VTop 2
SYMATTR InstName Rs
SYMATTR Value 0.1
SYMBOL res 1120 752 R0
SYMATTR InstName R2f
SYMATTR Value 1.5k
SYMBOL voltage 976 736 R0
WINDOW 0 -69 33 Left 2
WINDOW 123 -92 75 Left 2
WINDOW 39 0 0 Left 0
SYMATTR InstName V1
SYMATTR Value ""
SYMATTR Value2 AC 1
SYMBOL res 1536 592 R0
SYMATTR InstName RL
SYMATTR Value {RL}
SYMBOL Cap 352 0 R0
SYMATTR InstName C3
SYMATTR Value 2.2n
SYMBOL npn -432 752 M0
SYMATTR InstName Q6
SYMATTR Value BC548B
SYMBOL Res 1728 624 R0
SYMATTR InstName R2
SYMATTR Value 0.3
SYMBOL npn 64 608 M0
SYMATTR InstName Q5
SYMATTR Value BC548B
SYMBOL npn -176 752 R0
SYMATTR InstName Q7
SYMATTR Value BC548B
FLAG 560 880 0
FLAG -784 -32 Vpos
FLAG 816 96 V1s
FLAG 896 96 V2s
FLAG 1632 880 Vneg
FLAG 160 656 Vref
FLAG -352 656 retro
FLAG 64 448 Vopamp
FLAG 160 448 0
FLAG 944 688 retro
TEXT 304 688 Left 1 ;__________________________________________________\n|Tension  |   RF        |  Carga 1A a 20 mA  |  Carga 0.5A a 10mA |\n_____________________________________________________\n|   5   V    |   1.5k   |       5   a 250            |        10   a 500         |\n|  3.3 V    |   4.7k   |      3.3 a 163             |        6.6  a 326         |
TEXT -776 952 Left 2 !#MODELO TRANSISTORES\n.model BC558B PNP(Is=1.02f Xti=3 Eg=1.11 Vaf=52.31 Bf=306.5 Ise=10.27f Ne=1.764 Ikf=91.85m Nk=.5351 Xtb=1.5 Br=6.48 Isc=1.472f Nc=1.294 Ikr=.5584 Rc=1.086 Cjc=9.81p Mjc=.332 Vjc=.4865 Fc=.5 Cje=30p Mje=.3333 Vje=.5 Tr=10n Tf=611.6p Itf=1.373 Xtf=26.05 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)\n.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835 Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)\n.model BC548B NPN(Is=7.049f Xti=3 Eg=1.11 Vaf=62.79 Bf=374.6 Ise=68f Ne=1.576 Ikf=81.57m Nk=.4767 Xtb=1.5 Br=1 Isc=12.4f Nc=1.835\n+Ikr=3.924 Rc=.9747 Cjc=5.25p Mjc=.3147 Vjc=.5697 Fc=.5 Cje=11.5p Mje=.6715 Vje=.5 Tr=10n Tf=410.2p Itf=1.491 Xtf=40.06 Vtf=10 Vceo=30 Icrating=100m mfg=Philips)\n.MODEL irf9540npbf PMOS LEVEL=1 IS=1e-32  L=100u W=100u VTO=-3.74034 LAMBDA=0.00254531 KP=6.90462 CGSO=1.15995e-05 CGDO=1e-11
TEXT -768 920 Left 2 !.lib sloj018.txt
TEXT 624 512 Left 2 !.ac dec 10 1 10g
TEXT 616 192 Left 2 !* Definir variables para las impedancias\n \n.param RL= 50\n.param CL= 2.2u\n \n \n* Barrido de capacitancias\n \n.step param RL list 5 100 130\n \n.step param CL list 1u 2.2u 15u