Changes

Importing RF Device Models

1,746 bytes added, 18:34, 13 July 2015
Multiport Network device, i.e. one-ports, two-ports, three-ports and four-ports, are all modeled based on their frequency-domain S-[[parameters]]. Most active and passive RF devices can be modeled as multipart networks. For example, RF diodes can be modeled as one-ports, while RF transistors (BJTs, JFETs, MOSFETs, and MESFETs) can be modeled as two-ports. Many semiconductor manufacturers publish S-parameter data sets for their RF devices. The manufacturer data sheets usually contain S-[[parameters]] in Mag/Phase format tabulated as a function of frequency expressed in GHz. On the other hand, you can model many passive devices such as filters, directional couplers, hybrids, etc. as multiport structures using full-wave electromagnetic simulators like [[EM.Cube]]. The port characteristics of such devices are typically written into data files as a function of frequency. A particular case of interest is transmission line components with complex geometries or material composition, for which [[RF.Spice ]] does not provide any database models. as an example, consider the case of a "Finline" transmission line. In a finlike-based circuit, you may need one of more of the following general transmission line components:
* Open End
[[RF.Spice ]] allows you to import S-parameter-based models of RF devices from text files. Before describing how to import S-parameter data files, let us first discuss the format of the data files in more detail. S-parameter data files must have a ".TXT" file extension. These files must start with a ".model", a ".symbol" statement, and a format statement starting with the character "#". The model text file can have any number of comment lines at the beginning of the file or elsewhere. Comment lines are preceded by "*" or "!". All the text after these characters on the rest of the line will be ignored. 
Format:
 
.model <model_name>
&#35;<frequency_units> &nbsp; s &nbsp; <complex_data_format> &nbsp; r &nbsp; <reference_impedance_value>
freq &nbsp; &nbsp; s11 s21 s31 ... &nbsp; &nbsp; s12 s22 s32 ... &nbsp; &nbsp; s13 s23 s33...
Example:
 
! This is an example of an RF BJT model based on measured S-[[parameters]].
2.500 &nbsp; 0.7070 &nbsp; 128.1 &nbsp; 1.246 &nbsp; 30.1 &nbsp; 0.1175 &nbsp; 37.7 &nbsp; 0.4261 &nbsp; -75.5
3.000 &nbsp; 0.7449 &nbsp; 110.9 &nbsp; 0.985 &nbsp; 15.5 &nbsp; 0.1475 &nbsp; 41.9 &nbsp; 0.4218 &nbsp; -93.3
| RF Diode || diode || one-port || [[File:G9.png]]
|-
| RF BJT || bjt_npn bjt_npn_2port <br /> bjt_pnp bjt_pnp_2port || two-port || [[File:G11G11A.png]]
|-
| RF JFET || jfet_n <br /> jfet_p || two-port || [[File:G12.png]]
==Using Device Editor for Importing S-Parameter Data==
 
The Device Editor of RF. Spice has an additional RF Menu that lets you import S-parameter text files in a variety of ways. There are three menu items for this purpose:
 
* Import S-Parameter Model from Text File...
 
* Create New Generic Multiport from S-Parameter Text File...
 
* Create New RF Device from S-Parameter Text File...
 
* Create New Generic T-Line Discontinuity from S-Parameter Text File...
The first item in the above list simply lets you import an S-parameter ".TXT" file and saves it as a simulation model in [[Network_Analysis_of_RF_Circuits | Back RF.Spice]]'s parts database. You can use this model later to Network Analysis build a new device or share it among several devices. The next three items in the above list create new devices complete with simulation models and schematic symbols. The newly create devices are permanently stored in your [[RF.Spice]] parts database and can be used as new parts in your RF circuits. For example, an imported RF BJT device has the same BJT symbol with the same pin map as the other BJT devices of [[B2.Spice A/D]]. The main difference is that instead of a technology process models or a Netlist subcircuit model, the RF CircuitsBJT is modeled by its imported, measured S-[[parameters]]. In a similar manner, you can import Multiport Network devices or T-Line Discontinuity models from S-parameter text files that are generated at the end of full-wave simulations of such structures using an electromagnetic modeling tool like [[EM.Cube]]
<p>&nbsp;</p>[[Network_Analysis_of_RF_Circuits | Network Analysis of RF Circuits]] &nbsp; [[File:larr.png]] &nbsp; [[B2.Spice_A/D -RF.Spice | Back to B2RF.Spice A/D Wiki Main Page]]&nbsp; [[File:rarr.png]] &nbsp; [[List_of_RF.Spice_Keyboard_Shortcuts | List of RF.Spice Keyboard Shortcuts]]
28,333
edits