016_net_multi_port : NPort analysis
Requires: SmartSpice & Smartview
Minimum Versions: SMARTSPICE 3.16.12.R
- .Net (Nport) 4 port analysis on a passive circuit network.
A 4 port network example composed of passive elements is analysed with the .NET analysis. This an N port example to show how a larger number of ports that the standard 2 port network can be used and analysed. The analysis outputs both S, Y and Z parameter sets to show the frequency response both at the input and the output ports of this circuit. You can add MEASURE statements to extract key vector information if you specify in input deck something of the form.
.MEASURE NET <new_par_name> CROSS m(y(ph1h,ph2h)) VAL=0.5 OCCOUR=1
depending on what you want to extract from the simulation run. For this example with 4 ports there are 16 combinations (4 to power of 2), so for each S,Y,Z parameter results you will have 16 vectors.
Nport_anal.in
* Multi-Port .Net analysis example - 4 ports ********************************************** L7 NET2 NET1 L=1.2u R1 NET12 NET2 15 R2 NET1 NET9 15 R4 NET9 NET19 10 R5 NET10 NET18 10 R6 NET12 NET13 10 R7 NET16 NET11 10 R8 NET9 NET20 10 R9 NET17 NET10 10 C2 NET2 GND 0.02p C3 NET1 GND 0.02p C1 NET3 GND 0.02p C5 NET4 GND 0.02p L1 NET4 NET3 L=1.2u R3 NET11 NET4 15 R10 NET3 NET12 15 C6 NET6 GND 0.02p C7 NET5 GND 0.02p L3 NET6 NET5 L=1.2u R11 NET10 NET6 15 R12 NET5 NET9 15 C8 NET8 GND 0.02p C9 NET7 GND 0.02p L4 NET8 NET7 L=1.2u R13 NET11 NET8 15 R14 NET7 NET10 15 R15 NET15 NET11 10 R16 NET14 NET12 10 R17 P1L NET20 3 R18 NET13 P1H 3 R19 NET16 P2H 3 R20 P2L NET17 3 R21 P3H NET14 3 R22 P4H NET19 3 R23 NET18 P4L 3 R24 NET15 P3L 3 .SAVE V(NET1) V(NET2) V(NET3) V(NET4) V(NET5) V(NET6) V(NET7) V(NET8) .NET N=4 P1H P2H P3H P4H 0 DEC 20 100k 10G z0=(75, 75, 75, 75) .save all(v) .END