Merge branch 'current'

This commit is contained in:
Vadim Kuznetsov 2022-06-30 17:05:21 +03:00
commit ede0d9dc68
263 changed files with 2074 additions and 546 deletions

View File

@ -1,6 +1,6 @@
PROJECT(qucs-suite CXX) PROJECT(qucs-suite CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 2.8) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.8) cmake_policy(VERSION 3.0)
SET(QUCS_NAME "qucs-s") SET(QUCS_NAME "qucs-s")
@ -23,7 +23,7 @@ ENDIF()
message(STATUS "${PROJECT_NAME} ${CMAKE_INSTALL_PREFIX} message(STATUS "${PROJECT_NAME} ${CMAKE_INSTALL_PREFIX}
${qucs-suite_BINARY_DIR}" ) ${qucs-suite_BINARY_DIR}" )
FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets LinguistTools Script REQUIRED ) FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets LinguistTools REQUIRED )
ADD_DEFINITIONS(${QT_DEFINITIONS}) ADD_DEFINITIONS(${QT_DEFINITIONS})

View File

@ -1 +1 @@
0.0.23 0.0.24

81
examples/Mixer_FFT.sch Normal file
View File

@ -0,0 +1,81 @@
<Qucs Schematic 0.0.23>
<Properties>
<View=-98,190,1551,1145,1,105,0>
<Grid=10,10,1>
<DataSet=Mixer_FFT.dat>
<DataDisplay=Mixer_FFT.dpl>
<OpenDisplay=1>
<Script=Mixer_FFT.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 530 350 0 0 1 2>
<R R2 1 60 450 15 -26 0 1 "50 Ohm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 1 60 540 0 0 0 0>
<Vac V2 1 60 510 18 -26 0 1 "10 mV" 1 "7 MHz" 1 "0" 0 "0" 0>
<GND * 1 130 590 0 0 0 0>
<GND * 1 790 560 0 0 0 0>
<R R3 1 790 470 15 -26 0 1 "50 Ohm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 1 720 580 0 0 0 0>
<GND * 1 560 520 0 0 0 0>
<Vac V3 1 790 530 18 -26 0 1 "1.5 V" 1 "15 MHz" 1 "0" 0 "0" 0>
<Diode D_1N4148_1 1 440 390 -37 -36 0 0 "222p" 0 "1.65" 0 "4p" 0 "0.333" 0 "0.7" 0 "0.5" 0 "0" 0 "0" 0 "2" 0 "68.6m" 0 "5.76n" 0 "0" 0 "0" 0 "1" 0 "1" 0 "75" 0 "1u" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
<Diode D_1N4148_2 1 440 460 -35 -38 0 2 "222p" 0 "1.65" 0 "4p" 0 "0.333" 0 "0.7" 0 "0.5" 0 "0" 0 "0" 0 "2" 0 "68.6m" 0 "5.76n" 0 "0" 0 "0" 0 "1" 0 "1" 0 "75" 0 "1u" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
<Diode D_1N4148_4 1 440 510 -26 13 1 2 "222p" 0 "1.65" 0 "4p" 0 "0.333" 0 "0.7" 0 "0.5" 0 "0" 0 "0" 0 "2" 0 "68.6m" 0 "5.76n" 0 "0" 0 "0" 0 "1" 0 "1" 0 "75" 0 "1u" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
<Diode D_1N4148_3 1 440 580 -26 13 0 0 "222p" 0 "1.65" 0 "4p" 0 "0.333" 0 "0.7" 0 "0.5" 0 "0" 0 "0" 0 "2" 0 "68.6m" 0 "5.76n" 0 "0" 0 "0" 0 "1" 0 "1" 0 "75" 0 "1u" 0 "26.85" 0 "3.0" 0 "1.11" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "0.0" 0 "26.85" 0 "1.0" 0 "normal" 0>
<NutmegEq NutmegEq1 1 1000 570 -30 18 0 0 "fft" 1 "S=db(v(out))" 1>
<.FFT FFT1 1 970 370 0 75 0 0 "30MHz" 1 "50kHz" 1 "hanning" 1 "2" 0>
<R R1 1 380 300 -22 -63 0 2 "50" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Lib TRAN1 1 210 440 -20 152 0 0 "Transformers" 0 "TransformerPS1S2" 0 "0.1m" 0 "0.1m" 0 "0.1m" 0 "0.9" 0 "0.9" 0 "0.9" 0 "1m" 0 "1m" 0 "1m" 0>
<Lib TRAN2 1 670 440 -50 152 1 2 "Transformers" 0 "TransformerPS1S2" 0 "0.1m" 0 "0.1m" 0 "0.1m" 0 "0.9" 0 "0.9" 0 "0.9" 0 "1m" 0 "1m" 0 "1m" 0>
</Components>
<Wires>
<470 390 530 390 "" 0 0 0 "">
<350 390 410 390 "" 0 0 0 "">
<530 390 530 510 "" 0 0 0 "">
<470 510 530 510 "" 0 0 0 "">
<350 510 410 510 "" 0 0 0 "">
<350 510 350 580 "" 0 0 0 "">
<510 580 590 580 "" 0 0 0 "">
<290 580 350 580 "" 0 0 0 "">
<290 390 350 390 "" 0 0 0 "">
<130 580 130 590 "" 0 0 0 "">
<130 580 160 580 "" 0 0 0 "">
<60 390 60 420 "" 0 0 0 "">
<60 390 170 390 "signal" 90 320 11 "">
<530 390 590 390 "" 0 0 0 "">
<790 390 790 440 "" 0 0 0 "">
<710 390 790 390 "heterodin" 760 340 25 "">
<560 480 590 480 "" 0 0 0 "">
<560 480 560 520 "" 0 0 0 "">
<530 300 530 350 "" 0 0 0 "">
<290 480 310 480 "" 0 0 0 "">
<310 300 310 480 "" 0 0 0 "">
<310 300 350 300 "out" 350 330 16 "">
<410 300 530 300 "" 0 0 0 "">
<350 390 350 460 "" 0 0 0 "">
<510 460 510 580 "" 0 0 0 "">
<470 460 510 460 "" 0 0 0 "">
<350 460 410 460 "" 0 0 0 "">
<470 580 510 580 "" 0 0 0 "">
<350 580 410 580 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 120 798 773 160 3 #c0c0c0 1 00 1 0 2e+6 3e+7 1 -9.48775e-5 0.0002 0.00103734 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/ac.v(out)" #0000ff 0 3 0 0 0>
<"ngspice/ac.v(signal)" #ff00ff 0 3 0 0 0>
</Rect>
<Rect 120 1125 771 242 3 #c0c0c0 1 00 1 0 2e+6 3e+7 0 -160 20 -40 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/ac.s" #0000ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 40 210 12 #000000 0 "This example illustrates the FFT analysis \nof the diode ring mixer \nusing the Ngspice simulation kernel">
</Paintings>

View File

@ -26,9 +26,8 @@
<Vdc V1 1 900 140 18 -26 0 1 "12 V" 1> <Vdc V1 1 900 140 18 -26 0 1 "12 V" 1>
<GND * 1 900 170 0 0 0 0> <GND * 1 900 170 0 0 0 0>
<R R5 1 480 130 15 -26 0 1 "4.7k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R5 1 480 130 15 -26 0 1 "4.7k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R4 1 680 300 15 -26 0 1 "Rload" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R4 1 680 300 15 -26 0 1 "47k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr1 1 760 80 -26 16 1 2> <IProbe Pr1 1 760 80 -26 16 1 2>
<Eqn Eqn1 1 170 440 -31 17 0 0 "Rload=47k" 1 "K=out.v/in.v" 1 "yes" 0>
<GND * 1 360 290 0 0 0 0> <GND * 1 360 290 0 0 0 0>
<R R2 1 480 270 15 -26 0 1 "470 Ohm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R2 1 480 270 15 -26 0 1 "470 Ohm" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 1 480 300 0 0 0 0> <GND * 1 480 300 0 0 0 0>

View File

@ -0,0 +1,112 @@
<Qucs Schematic 0.0.23>
<Properties>
<View=0,-40,2198,1271,1,234,41>
<Grid=10,10,1>
<DataSet=s_param_wideband_amp.dat>
<DataDisplay=s_param_wideband_amp.dpl>
<OpenDisplay=1>
<Script=s_param_wideband_amp.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<R R6 1 450 430 -61 -42 1 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C4 1 500 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<_BJT T_2N2222_1 1 570 460 12 -32 0 0 "npn" 0 "1e-14" 0 "1" 0 "1" 0 "0.3" 0 "0" 0 "100" 0 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "200" 0 "3" 0 "0" 0 "0" 0 "3" 0 "1" 0 "10" 0 "25e-12" 0 "0.75" 0 "0.33" 0 "8e-12" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "400e-12" 0 "3" 0 "0.0" 0 "2" 0 "100e-9" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
<L_SPICE L3 1 570 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<L_SPICE L4 1 670 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<GND * 5 830 490 0 0 0 0>
<C C5 1 750 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<R R2 1 570 590 15 -26 0 1 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C2 1 650 590 17 -26 0 1 "100n" 1 "" 0 "neutral" 0>
<GND * 5 570 630 0 0 0 0>
<GND * 5 650 630 0 0 0 0>
<C C1 1 400 510 -26 -58 1 0 "10n" 1 "" 0 "neutral" 0>
<GND * 5 280 640 0 0 0 0>
<GND * 5 450 640 0 0 0 0>
<L L2 1 450 600 10 -26 0 1 "100u" 1 "" 0>
<R R5 1 450 540 15 -26 0 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C3 1 760 220 -26 17 0 0 "100n" 1 "" 0 "neutral" 0>
<R R14 1 670 170 15 -26 0 1 "47" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 5 780 170 0 0 0 0>
<Vdc V2 1 780 120 18 -26 0 1 "12" 1>
<GND * 5 830 250 0 0 0 0>
<K_SPICE K1 1 590 120 -26 17 0 0 "L3" 1 "L4" 1 "0.99" 1>
<R R3 1 570 520 15 -26 0 1 "4.7" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R7 1 500 320 -26 -71 1 0 "1.5k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Pac P1 1 280 610 18 -26 0 1 "1" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<Pac P2 1 830 460 18 -26 0 1 "2" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<.TR TR1 1 270 90 0 75 0 0 "lin" 1 "0" 1 "1 us" 1 "200" 0 "Trapezoidal" 0 "2" 0 "1 ns" 0 "1e-16" 0 "150" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "26.85" 0 "1e-3" 0 "1e-6" 0 "1" 0 "CroutLU" 0 "no" 0 "yes" 0 "0" 0>
<NutmegEq NutmegEq1 1 770 550 -30 18 0 0 "sp" 1 "K=db((S_2_1))" 1 "VSWRin=(1+mag(S_1_1))/(1-mag(S_1_1))" 1 "VSWRout=(1+mag(S_2_2))/(1-mag(S_2_2))" 1>
<.SP SP1 1 270 270 0 79 0 0 "lin" 1 "1 MHz" 1 "20 MHz" 1 "500" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
</Components>
<Wires>
<530 320 530 360 "" 0 0 0 "">
<450 340 450 400 "" 0 0 0 "">
<470 320 470 340 "" 0 0 0 "">
<470 340 470 360 "" 0 0 0 "">
<450 340 470 340 "" 0 0 0 "">
<530 360 620 360 "" 0 0 0 "">
<450 460 540 460 "" 0 0 0 "">
<570 320 570 430 "" 0 0 0 "">
<570 230 570 260 "" 0 0 0 "">
<570 230 620 230 "" 0 0 0 "">
<620 230 620 340 "" 0 0 0 "">
<620 340 670 340 "" 0 0 0 "">
<670 320 670 340 "" 0 0 0 "">
<620 340 620 360 "" 0 0 0 "">
<620 360 720 360 "" 0 0 0 "">
<570 550 570 560 "" 0 0 0 "">
<570 550 650 550 "" 0 0 0 "">
<650 550 650 560 "" 0 0 0 "">
<570 620 570 630 "" 0 0 0 "">
<650 620 650 630 "" 0 0 0 "">
<450 460 450 510 "" 0 0 0 "">
<280 510 280 580 "" 0 0 0 "">
<280 510 370 510 "in" 250 460 21 "">
<430 510 450 510 "" 0 0 0 "">
<450 630 450 640 "" 0 0 0 "">
<830 360 830 430 "" 0 0 0 "">
<780 360 830 360 "out" 840 330 31 "">
<670 220 670 260 "" 0 0 0 "">
<670 220 730 220 "" 0 0 0 "">
<670 200 670 220 "" 0 0 0 "">
<780 150 780 170 "" 0 0 0 "">
<670 90 670 140 "" 0 0 0 "">
<670 90 780 90 "" 0 0 0 "">
<790 220 830 220 "" 0 0 0 "">
<830 220 830 250 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 990 336 331 246 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(s_2_1)" #0000ff 0 3 0 0 0>
</Rect>
<Rect 990 600 335 210 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.k" #0000ff 0 3 0 0 0>
</Rect>
<Smith 420 965 268 268 3 #c0c0c0 1 00 1 0 1 1 1 0 4 1 1 0 1 1 315 0 225 "" "" "">
<"ngspice/ac.v(s_1_1)" #0000ff 0 3 0 0 0>
<Mkr 8.08216e+6 175 -156 3 0 0>
<"ngspice/ac.v(s_2_2)" #ff0000 0 3 0 0 0>
<Mkr 8.04409e+6 149 -258 3 0 0>
</Smith>
<Rect 710 1167 354 207 3 #c0c0c0 1 00 1 0 5e+6 3e+7 1 1 1 5.27348 1 -1 0.5 1 315 0 225 "" "" "">
<"ngspice/ac.vswrin" #0000ff 0 3 0 0 0>
<Mkr 8.04409e+6 81 -231 3 0 0>
<"ngspice/ac.vswrout" #ff0000 0 3 0 0 0>
<Mkr 8.08216e+6 368 -144 3 0 0>
</Rect>
<Rect 990 920 341 221 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/tran.v(in)" #0000ff 0 3 0 0 0>
<"ngspice/tran.v(out)" #ff0000 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 410 10 12 #000000 0 "This example illustrates S-parameter simulation\nNgspice >= 37 is required\nThe VSWR and Gp in dB are computed using\nNutmeg equations">
</Paintings>

View File

@ -0,0 +1,111 @@
<Qucs Schematic 0.0.23>
<Properties>
<View=0,0,2198,1438,1,234,780>
<Grid=10,10,1>
<DataSet=s_param_wideband_amp_noise.dat>
<DataDisplay=s_param_wideband_amp_noise.dpl>
<OpenDisplay=1>
<Script=s_param_wideband_amp_noise.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<R R6 1 450 430 -61 -42 1 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C4 1 500 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<_BJT T_2N2222_1 1 570 460 12 -32 0 0 "npn" 0 "1e-14" 0 "1" 0 "1" 0 "0.3" 0 "0" 0 "100" 0 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "200" 0 "3" 0 "0" 0 "0" 0 "3" 0 "1" 0 "10" 0 "25e-12" 0 "0.75" 0 "0.33" 0 "8e-12" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "400e-12" 0 "3" 0 "0.0" 0 "2" 0 "100e-9" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
<L_SPICE L3 1 570 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<L_SPICE L4 1 670 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<GND * 5 830 490 0 0 0 0>
<C C5 1 750 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<R R2 1 570 590 15 -26 0 1 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C2 1 650 590 17 -26 0 1 "100n" 1 "" 0 "neutral" 0>
<GND * 5 570 630 0 0 0 0>
<GND * 5 650 630 0 0 0 0>
<C C1 1 400 510 -26 -58 1 0 "10n" 1 "" 0 "neutral" 0>
<GND * 5 280 640 0 0 0 0>
<GND * 5 450 640 0 0 0 0>
<L L2 1 450 600 10 -26 0 1 "100u" 1 "" 0>
<R R5 1 450 540 15 -26 0 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C3 1 760 220 -26 17 0 0 "100n" 1 "" 0 "neutral" 0>
<R R14 1 670 170 15 -26 0 1 "47" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 5 780 170 0 0 0 0>
<Vdc V2 1 780 120 18 -26 0 1 "12" 1>
<GND * 5 830 250 0 0 0 0>
<K_SPICE K1 1 590 120 -26 17 0 0 "L3" 1 "L4" 1 "0.99" 1>
<R R3 1 570 520 15 -26 0 1 "4.7" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R7 1 500 320 -26 -71 1 0 "1.5k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Pac P1 1 280 610 18 -26 0 1 "1" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<Pac P2 1 830 460 18 -26 0 1 "2" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<NutmegEq NutmegEq1 1 770 550 -30 18 0 0 "sp" 1 "K=db((S_2_1))" 1 "VSWRin=(1+mag(S_1_1))/(1-mag(S_1_1))" 1 "VSWRout=(1+mag(S_2_2))/(1-mag(S_2_2))" 1>
<.SP SP1 1 270 160 0 79 0 0 "lin" 1 "1 MHz" 1 "20 MHz" 1 "500" 1 "yes" 1 "1" 0 "2" 0 "no" 0 "no" 0>
</Components>
<Wires>
<530 320 530 360 "" 0 0 0 "">
<450 340 450 400 "" 0 0 0 "">
<470 320 470 340 "" 0 0 0 "">
<470 340 470 360 "" 0 0 0 "">
<450 340 470 340 "" 0 0 0 "">
<530 360 620 360 "" 0 0 0 "">
<450 460 540 460 "" 0 0 0 "">
<570 320 570 430 "" 0 0 0 "">
<570 230 570 260 "" 0 0 0 "">
<570 230 620 230 "" 0 0 0 "">
<620 230 620 340 "" 0 0 0 "">
<620 340 670 340 "" 0 0 0 "">
<670 320 670 340 "" 0 0 0 "">
<620 340 620 360 "" 0 0 0 "">
<620 360 720 360 "" 0 0 0 "">
<570 550 570 560 "" 0 0 0 "">
<570 550 650 550 "" 0 0 0 "">
<650 550 650 560 "" 0 0 0 "">
<570 620 570 630 "" 0 0 0 "">
<650 620 650 630 "" 0 0 0 "">
<450 460 450 510 "" 0 0 0 "">
<280 510 280 580 "" 0 0 0 "">
<280 510 370 510 "in" 250 460 21 "">
<430 510 450 510 "" 0 0 0 "">
<450 630 450 640 "" 0 0 0 "">
<830 360 830 430 "" 0 0 0 "">
<780 360 830 360 "out" 840 330 31 "">
<670 220 670 260 "" 0 0 0 "">
<670 220 730 220 "" 0 0 0 "">
<670 200 670 220 "" 0 0 0 "">
<780 150 780 170 "" 0 0 0 "">
<670 90 670 140 "" 0 0 0 "">
<670 90 780 90 "" 0 0 0 "">
<790 220 830 220 "" 0 0 0 "">
<830 220 830 250 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 990 214 351 194 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(cy_1_1)" #0000ff 0 3 0 0 0>
<"ngspice/ac.v(cy_1_2)" #ff0000 0 3 0 0 0>
<"ngspice/ac.v(cy_2_1)" #ff00ff 0 3 0 0 0>
<"ngspice/ac.v(cy_2_2)" #00ff00 0 3 0 0 0>
</Rect>
<Rect 1000 510 331 171 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(nfmin)" #0000ff 0 3 0 0 0>
<"ngspice/ac.v(nf)" #ff0000 0 3 0 0 0>
</Rect>
<Rect 300 976 373 226 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(sopt)" #0000ff 0 3 0 0 0>
</Rect>
<Rect 790 999 442 259 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(rn)" #0000ff 0 3 0 0 0>
</Rect>
<Rect 310 1230 389 176 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.k" #0000ff 0 3 0 0 0>
</Rect>
<Rect 780 1246 453 186 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"ngspice/ac.v(s_2_1)" #0000ff 0 3 0 0 0>
</Rect>
</Diagrams>
<Paintings>
<Text 260 40 12 #000000 0 "This example illustrates S-parameter simulation\nNgspice >= 37 is required\nNoise computation is enabled">
</Paintings>

View File

@ -1,6 +1,6 @@
<Qucs Schematic 0.0.19> <Qucs Schematic 0.0.23>
<Properties> <Properties>
<View=0,-310,1093,770,1,0,0> <View=0,-180,1093,774,1,0,0>
<Grid=10,10,1> <Grid=10,10,1>
<DataSet=hb-test.dat> <DataSet=hb-test.dat>
<DataDisplay=hb-test.dpl> <DataDisplay=hb-test.dpl>
@ -21,7 +21,7 @@
<R R1 1 140 300 -26 15 0 0 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R1 1 140 300 -26 15 0 0 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R3 0 350 350 15 -26 0 1 "100k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R3 0 350 350 15 -26 0 1 "100k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C1 0 190 350 17 -26 0 1 "1 pF" 1 "" 0 "neutral" 0> <C C1 0 190 350 17 -26 0 1 "1 pF" 1 "" 0 "neutral" 0>
<.HB HB1 1 40 10 0 71 0 0 "1 MHz" 1 "17" 1 "1 pA" 1 "1 uV" 1 "0.001" 1 "150" 0> <.HB HB1 1 40 10 0 75 0 0 "1 MHz" 1 "17" 1 "1 pA" 1 "1 uV" 1 "0.001" 1 "150" 0>
<R R2 1 320 300 -26 15 0 0 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0> <R R2 1 320 300 -26 15 0 0 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<IProbe Pr2 1 240 300 -26 16 0 0> <IProbe Pr2 1 240 300 -26 16 0 0>
<VProbe Pr1 1 490 250 28 -31 0 0> <VProbe Pr1 1 490 250 28 -31 0 0>
@ -49,15 +49,15 @@
<450 270 450 300 "" 0 0 0 ""> <450 270 450 300 "" 0 0 0 "">
</Wires> </Wires>
<Diagrams> <Diagrams>
<Rect 343 133 452 173 3 #c0c0c0 1 00 1 -8e+06 2e+06 8e+06 1 -0.237875 1 2.20344 1 -1 1 1 315 0 225 "" "" ""> <Rect 343 133 452 173 3 #c0c0c0 1 00 1 -1 0.2 1 1 -1 1 1 1 -1 1 1 315 0 225 "" "" "">
<"xyce/NODE1.Vb" #0000ff 0 3 0 6 0> <"xyce/V(NODE1)" #0000ff 0 3 0 6 0>
<"xyce/NODE3.Vb" #ff0000 0 3 0 6 0> <"xyce/V(NODE3)" #ff0000 0 3 0 6 0>
</Rect> </Rect>
<Rect 99 692 581 232 3 #c0c0c0 1 00 1 -1 0.2 1 1 -1 0.5 1 1 -1 0.5 1 315 0 225 "" "" ""> <Rect 99 692 581 232 3 #c0c0c0 1 00 1 -1.7e+7 5e+6 1.7e+7 1 -0.000741311 0.002 0.00876642 1 -1 0.5 1 315 0 225 "" "" "">
<"xyce/VPR2.Vb" #0000ff 0 3 0 6 0> <"xyce/I(PR2)" #0000ff 0 3 0 6 0>
</Rect> </Rect>
<Rect 630 410 240 160 3 #c0c0c0 1 00 1 -1 0.5 1 1 -1 1 1 1 -1 1 1 315 0 225 "" "" ""> <Rect 630 410 240 160 3 #c0c0c0 1 00 1 -1.7e+7 1e+7 1.7e+7 1 -0.0890634 0.2 0.6 1 -1 1 1 315 0 225 "" "" "">
<"xyce/PR1.Vb" #0000ff 0 3 0 6 0> <"xyce/V(PR1)" #0000ff 0 3 0 6 0>
</Rect> </Rect>
</Diagrams> </Diagrams>
<Paintings> <Paintings>

View File

@ -0,0 +1,63 @@
<Qucs Schematic 0.0.23>
<Properties>
<View=0,40,1573,1092,1,8,0>
<Grid=10,10,1>
<DataSet=s_param_lc_filter.dat>
<DataDisplay=s_param_lc_filter.dpl>
<OpenDisplay=1>
<Script=s_param_lc_filter.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<GND * 1 230 320 0 0 0 0>
<C C1 1 230 290 17 -26 0 1 "68p" 1 "" 0 "neutral" 0>
<GND * 1 320 320 0 0 0 0>
<C C2 1 320 290 17 -26 0 1 "68p" 1 "" 0 "neutral" 0>
<L L1 1 270 180 -26 10 0 0 "0.68u" 1 "" 0>
<L L2 1 360 180 -26 10 0 0 "0.68u" 1 "" 0>
<GND * 1 410 320 0 0 0 0>
<C C3 1 410 290 17 -26 0 1 "68p" 1 "" 0 "neutral" 0>
<Pac P2 1 500 260 18 -26 0 1 "2" 1 "50 Ohm" 1 "0 dBm" 0 "8 MHz" 0 "26.85" 0>
<Pac P1 1 170 260 -95 -26 1 1 "1" 1 "50 Ohm" 1 "0 dBm" 0 "8 MHz" 0 "26.85" 0>
<GND * 1 170 320 0 0 0 0>
<GND * 1 500 320 0 0 0 0>
<.SP SP1 1 40 390 0 87 0 0 "log" 1 "1MHz" 1 "100MHz" 1 "200" 1 "no" 0 "1" 0 "2" 0 "no" 0 "no" 0>
</Components>
<Wires>
<230 180 230 260 "" 0 0 0 "">
<320 180 320 260 "" 0 0 0 "">
<300 180 320 180 "" 0 0 0 "">
<230 180 240 180 "" 0 0 0 "">
<320 180 330 180 "" 0 0 0 "">
<390 180 410 180 "" 0 0 0 "">
<410 180 410 260 "" 0 0 0 "">
<410 180 500 180 "out" 440 120 90 "">
<500 180 500 230 "" 0 0 0 "">
<170 180 230 180 "" 0 0 0 "">
<170 180 170 230 "" 0 0 0 "">
<170 290 170 320 "" 0 0 0 "">
<500 290 500 320 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 217 740 384 306 3 #c0c0c0 1 00 1 0 2e+7 1e+8 1 -55.9848 10 5.07603 1 -1 0.5 1 315 0 225 "" "" "">
<"xyce/SDB(2,1)" #0000ff 0 3 0 0 0>
<Mkr 3.46737e+7 153 -380 3 0 0>
</Rect>
<Rect 680 762 409 332 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"xyce/S(2,1)" #0000ff 0 3 0 0 0>
</Rect>
<Smith 664 396 332 332 3 #c0c0c0 1 00 1 0 1 1 1 0 4 1 1 0 1 1 315 0 225 "" "" "">
<"xyce/S(1,1)" #0000ff 0 3 0 0 0>
<Mkr 4.0738e+7 164 -308 3 0 0>
</Smith>
</Diagrams>
<Paintings>
<Text 80 90 12 #000000 0 "This example illustrates S-parameter\nsimulation on the passive circuit using Xyce">
</Paintings>

View File

@ -0,0 +1,102 @@
<Qucs Schematic 0.0.23>
<Properties>
<View=0,61,2198,1535,1,234,0>
<Grid=10,10,1>
<DataSet=s_param_wideband_amp.dat>
<DataDisplay=s_param_wideband_amp.dpl>
<OpenDisplay=1>
<Script=s_param_wideband_amp.m>
<RunScript=0>
<showFrame=0>
<FrameText0=Title>
<FrameText1=Drawn By:>
<FrameText2=Date:>
<FrameText3=Revision:>
</Properties>
<Symbol>
</Symbol>
<Components>
<R R6 1 450 430 -61 -42 1 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C4 1 500 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<_BJT T_2N2222_1 1 570 460 12 -32 0 0 "npn" 0 "1e-14" 0 "1" 0 "1" 0 "0.3" 0 "0" 0 "100" 0 "0" 0 "0" 0 "1.5" 0 "0" 0 "2" 0 "200" 0 "3" 0 "0" 0 "0" 0 "3" 0 "1" 0 "10" 0 "25e-12" 0 "0.75" 0 "0.33" 0 "8e-12" 0 "0.75" 0 "0.33" 0 "1.0" 0 "0" 0 "0.75" 0 "0" 0 "0.5" 0 "400e-12" 0 "3" 0 "0.0" 0 "2" 0 "100e-9" 0 "26.85" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "1.0" 0 "1.0" 0 "0.0" 0 "0.0" 0 "3.0" 0 "1.11" 0 "26.85" 0 "1.0" 0>
<L_SPICE L3 1 570 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<L_SPICE L4 1 670 290 10 -26 0 1 "100u" 1 "" 0 "" 0 "" 0 "" 0>
<GND * 5 830 490 0 0 0 0>
<C C5 1 750 360 -26 17 0 0 "0.1u" 1 "" 0 "neutral" 0>
<R R2 1 570 590 15 -26 0 1 "100" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C2 1 650 590 17 -26 0 1 "100n" 1 "" 0 "neutral" 0>
<GND * 5 570 630 0 0 0 0>
<GND * 5 650 630 0 0 0 0>
<C C1 1 400 510 -26 -58 1 0 "10n" 1 "" 0 "neutral" 0>
<GND * 5 280 640 0 0 0 0>
<GND * 5 450 640 0 0 0 0>
<L L2 1 450 600 10 -26 0 1 "100u" 1 "" 0>
<R R5 1 450 540 15 -26 0 1 "470" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<C C3 1 760 220 -26 17 0 0 "100n" 1 "" 0 "neutral" 0>
<R R14 1 670 170 15 -26 0 1 "47" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<GND * 5 780 170 0 0 0 0>
<Vdc V2 1 780 120 18 -26 0 1 "12" 1>
<GND * 5 830 250 0 0 0 0>
<K_SPICE K1 1 590 120 -26 17 0 0 "L3" 1 "L4" 1 "0.99" 1>
<R R3 1 570 520 15 -26 0 1 "4.7" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<R R7 1 500 320 -26 -71 1 0 "1.5k" 1 "26.85" 0 "0.0" 0 "0.0" 0 "26.85" 0 "european" 0>
<Pac P1 1 280 610 18 -26 0 1 "1" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<Pac P2 1 830 460 18 -26 0 1 "2" 1 "50 Ohm" 1 "-40 dBm" 1 "8 MHz" 1 "26.85" 0>
<.DC DC1 1 990 90 0 47 0 0 "26.85" 0 "0.001" 0 "1 pA" 0 "1 uV" 0 "no" 0 "150" 0 "no" 0 "none" 0 "CroutLU" 0>
<.SP SP1 1 990 180 0 79 0 0 "lin" 1 "1 MHz" 1 "30 MHz" 1 "500" 1 "yes" 1 "1" 0 "2" 0 "no" 0 "no" 0>
</Components>
<Wires>
<530 320 530 360 "" 0 0 0 "">
<450 340 450 400 "" 0 0 0 "">
<470 320 470 340 "" 0 0 0 "">
<470 340 470 360 "" 0 0 0 "">
<450 340 470 340 "" 0 0 0 "">
<530 360 620 360 "" 0 0 0 "">
<450 460 540 460 "" 0 0 0 "">
<570 320 570 430 "" 0 0 0 "">
<570 230 570 260 "" 0 0 0 "">
<570 230 620 230 "" 0 0 0 "">
<620 230 620 340 "" 0 0 0 "">
<620 340 670 340 "" 0 0 0 "">
<670 320 670 340 "" 0 0 0 "">
<620 340 620 360 "" 0 0 0 "">
<620 360 720 360 "" 0 0 0 "">
<570 550 570 560 "" 0 0 0 "">
<570 550 650 550 "" 0 0 0 "">
<650 550 650 560 "" 0 0 0 "">
<570 620 570 630 "" 0 0 0 "">
<650 620 650 630 "" 0 0 0 "">
<450 460 450 510 "" 0 0 0 "">
<280 510 280 580 "" 0 0 0 "">
<280 510 370 510 "in" 250 460 21 "">
<430 510 450 510 "" 0 0 0 "">
<450 630 450 640 "" 0 0 0 "">
<830 360 830 430 "" 0 0 0 "">
<780 360 830 360 "out" 840 330 31 "">
<670 220 670 260 "" 0 0 0 "">
<670 220 730 220 "" 0 0 0 "">
<670 200 670 220 "" 0 0 0 "">
<780 150 780 170 "" 0 0 0 "">
<670 90 670 140 "" 0 0 0 "">
<670 90 780 90 "" 0 0 0 "">
<790 220 830 220 "" 0 0 0 "">
<830 220 830 250 "" 0 0 0 "">
</Wires>
<Diagrams>
<Rect 450 1431 343 181 3 #c0c0c0 1 00 1 0 5e+6 3e+7 1 8.76988 2 14.3857 1 -1 0.5 1 315 0 225 "" "" "">
<"xyce/S(2,1)" #0000ff 0 3 0 0 0>
<"ngspice/ac.v(s_2_1)" #ff0000 0 3 0 0 0>
</Rect>
<Rect 1000 673 322 253 3 #c0c0c0 1 00 1 0 0.2 1 1 -0.1 0.5 1.1 1 -0.1 0.5 1.1 315 0 225 "" "" "">
<"xyce/S(2,1)" #0000ff 0 3 0 0 0>
</Rect>
<Smith 401 993 282 282 3 #c0c0c0 1 00 1 0 1 1 1 0 4 1 1 0 1 1 315 0 225 "" "" "">
<"xyce/S(1,1)" #0000ff 0 3 0 0 0>
<Mkr 8.32265e+6 186 -179 3 0 0>
<"xyce/S(2,2)" #ff0000 0 3 0 0 0>
<Mkr 8.20641e+6 145 -273 3 0 0>
</Smith>
</Diagrams>
<Paintings>
<Text 250 160 12 #000000 0 "This example illustrates S-parameter\nanalysis of the active circuit using Xyce">
</Paintings>

View File

@ -1,6 +1,6 @@
PROJECT(qucsactivefilter CXX C) PROJECT(qucsactivefilter CXX C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 3.0)
SET(QUCS_NAME "qucs-s") SET(QUCS_NAME "qucs-s")

View File

@ -1,6 +1,6 @@
PROJECT(qucsattenuator CXX C) PROJECT(qucsattenuator CXX C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 3.0)
# use top VERSION file # use top VERSION file
file (STRINGS ${PROJECT_SOURCE_DIR}/../VERSION QUCS_VERSION) file (STRINGS ${PROJECT_SOURCE_DIR}/../VERSION QUCS_VERSION)

View File

@ -1,6 +1,6 @@
PROJECT(qucsfilter CXX C) PROJECT(qucsfilter CXX C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 3.0)
SET(QUCS_NAME "qucs-s") SET(QUCS_NAME "qucs-s")

View File

@ -1,6 +1,6 @@
PROJECT(qucslib CXX C) PROJECT(qucslib CXX C)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 3.0)
SET(QUCS_NAME "qucs-s") SET(QUCS_NAME "qucs-s")
@ -31,7 +31,7 @@ SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall ") # enable warning level
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x ") # enable C++11 SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x ") # enable C++11
FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets Svg Xml Script PrintSupport REQUIRED) FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets Svg Xml PrintSupport REQUIRED)
#INCLUDE( ${QT_USE_FILE} ) #INCLUDE( ${QT_USE_FILE} )
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(

View File

@ -0,0 +1,40 @@
<Qucs Library 0.0.23 "Crystal">
<Component Crystal>
<Description>
Crystal resonator
</Description>
<Model>
.Def:Crystal_Crystal _net0 _net1 Fs="8863k" Lq="0.01406" Cp="6.5p" Rs="5"
R:R1 _net0 _net1 R="50 MOhm" Temp="26.85" Tc1="0.0" Tc2="0.0" Tnom="26.85"
L:L1 _net2 _net3 L="Lq" I=""
C:C2 _net0 _net2 C="Cq" V=""
R:R2 _net3 _net1 R="Rs" Temp="26.85" Tc1="0.0" Tc2="0.0" Tnom="26.85"
Eqn:Eqn1 Cq="1/(4*pi*pi*Lq*Fs*Fs)" Export="yes"
C:C1 _net0 _net1 C="Cp" V=""
.Def:End
</Model>
<Spice>* Qucs 0.0.23 Crystal_quartz.sch
.SUBCKT Crystal_Crystal gnd _net0 _net1 Fs=8863k Lq=0.01406 Cp=6.5p Rs=5
.PARAM Cq=1/(4*3.1415926539*3.1415926539*Lq*Fs*Fs)
R1 _net0 _net1 50MEG
L1 _net2 _net3 {LQ}
C2 _net0 _net2 {CQ}
R2 _net3 _net1 {RS}
C1 _net0 _net1 {CP}
.ENDS
</Spice>
<SpiceAttach >
<Symbol>
<Line 10 0 30 0 #00007f 2 1>
<Line -40 0 30 0 #00007f 2 1>
<Line -10 -20 0 40 #00007f 2 1>
<Line 10 -20 0 40 #00007f 2 1>
<Rectangle -5 -30 10 60 #00007f 2 1 #c0c0c0 1 0>
<.PortSym 40 0 2 0>
<.PortSym -40 0 1 0>
<.ID -20 34 Y "1=Fs=8863k=series resonance frequency=" "1=Lq=0.01406=equivalent inductance=" "1=Cp=6.5p=parallel capacitance=" "1=Rs=5=series resistance=">
</Symbol>
</Component>

View File

@ -900,3 +900,54 @@ Sub:X1 _net0 _net1 _net2 gnd Type="lm337h_2_mod"
<Line 4 7 0 2 #000000 1 1> <Line 4 7 0 2 #000000 1 1>
</Symbol> </Symbol>
</Component> </Component>
<Component TL431>
<Description>
TL431 2.5V voltage reference
</Description>
<Model>
.Def:TL431_TL431 _net0 _net1 _net2
Sub:X1 _net0 _net1 _net2 gnd Type="TL431_cir"
.Def:End
</Model>
<ModelIncludes "TL431.cir.lst">
<Spice>* Qucs 0.0.23 TL431_TL431.sch
* TL431 Current Regulator
.subckt nTL431 CATHODE ANODE REF
Q1 N004 N003 N001 0 P
Q2 ANODE N002 N001 0 P
Q3 CATHODE N005 ANODE 0 N
R1 N002 ANODE 600k
R2 REF N002 648k
I1 CATHODE N001 5u
V1 N003 ANODE 1.2V
Q4 CATHODE N004 N005 0 N
R6 N004 ANODE 640k
.model N NPN(BF=250 Cje=.5p Cjc=.5p Rb=500)
.model P PNP(BF=120 Cje=.3p Cjc=1.5p Rb=250)
.ends TL431
.SUBCKT Regulators_TL431 gnd _net0 _net1 _net2
X1 _net0 _net1 _net2 nTL431
.ENDS
</Spice>
<SpiceAttach >
<Symbol>
<Line 80 0 0 90 #000080 2 1>
<Line 40 50 10 0 #000080 2 1>
<.PortSym 80 0 1 0>
<.PortSym 80 90 2 0>
<.PortSym 40 50 3 0>
<Line 100 60 -20 -30 #00007f 2 1>
<Line 80 30 -20 30 #00007f 2 1>
<Line 60 60 40 0 #00007f 2 1>
<Line 60 30 40 0 #00007f 2 1>
<Rectangle 50 20 60 50 #00007f 2 1 #c0c0c0 1 0>
<Line 60 40 0 -10 #00007f 2 1>
<.ID 120 24 X>
</Symbol>
</Component>

View File

@ -10,8 +10,8 @@
# By default, the prefix is "/usr/local" # By default, the prefix is "/usr/local"
PROJECT(qucs-s CXX) PROJECT(qucs-s CXX)
CMAKE_MINIMUM_REQUIRED(VERSION 2.6) CMAKE_MINIMUM_REQUIRED(VERSION 3.0)
cmake_policy(VERSION 2.6) cmake_policy(VERSION 3.0)
SET(QUCS_NAME "${PROJECT_NAME}") SET(QUCS_NAME "${PROJECT_NAME}")
@ -54,7 +54,7 @@ endif()
# #
ADD_DEFINITIONS( -DHAVE_CONFIG_H ) ADD_DEFINITIONS( -DHAVE_CONFIG_H )
FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets Svg Xml Script PrintSupport REQUIRED) FIND_PACKAGE( Qt5 COMPONENTS Core Gui Widgets Svg Xml PrintSupport REQUIRED)
#INCLUDE( ${QT_USE_FILE} ) #INCLUDE( ${QT_USE_FILE} )
INCLUDE_DIRECTORIES( INCLUDE_DIRECTORIES(

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 265 B

BIN
qucs/bitmaps/dark/ac.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 262 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 407 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

BIN
qucs/bitmaps/dark/and.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 318 B

BIN
qucs/bitmaps/dark/arrow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

BIN
qucs/bitmaps/dark/biast.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 285 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 368 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 237 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

BIN
qucs/bitmaps/dark/cccs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 242 B

BIN
qucs/bitmaps/dark/ccvs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 324 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 382 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 371 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 269 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 297 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 235 B

BIN
qucs/bitmaps/dark/curve.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 289 B

BIN
qucs/bitmaps/dark/dc.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 388 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 241 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 227 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 313 B

BIN
qucs/bitmaps/dark/diac.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

BIN
qucs/bitmaps/dark/digi.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 B

BIN
qucs/bitmaps/dark/diode.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 215 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 395 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 421 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

BIN
qucs/bitmaps/dark/ecvs.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 291 B

BIN
qucs/bitmaps/dark/edd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 217 B

BIN
qucs/bitmaps/dark/fa1b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 310 B

BIN
qucs/bitmaps/dark/fa2b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 392 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 B

BIN
qucs/bitmaps/dark/gear.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

BIN
qucs/bitmaps/dark/gnd.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 188 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 366 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 183 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 229 B

BIN
qucs/bitmaps/dark/ha1b.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 309 B

BIN
qucs/bitmaps/dark/hb.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 415 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 381 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 308 B

BIN
qucs/bitmaps/dark/iexp.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 295 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 254 B

BIN
qucs/bitmaps/dark/irect.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 248 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 339 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 311 B

BIN
qucs/bitmaps/dark/line.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 296 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 496 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 464 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 213 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 240 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 258 B

BIN
qucs/bitmaps/dark/msgap.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 212 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 207 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B

Some files were not shown because too many files have changed in this diff Show More