Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

fet Class Reference

Creates a field effect transistor using the Merian Pospieszalski noise model. More...

#include <fet.h>

Inheritance diagram for fet::

data_ptr_nport nport device fhr02x fhx13x jpltrw160 jpltrw300 kukje List of all members.

Public Methods

 fet ()
 The constructor assembles the circuit and holds it in the private member variable fetckt. More...

 fet (const fet &f)
 Copy constructor. More...

fet& operator= (const fet &f)
 Assignment operator. More...

int size ()
 FET's are 2-port devices. More...


Public Attributes

inductor Lg
inductor Ld
inductor Ls
resistor Rg
resistor Rd
resistor Rs
resistor Rgs
resistor Rds
capacitor Cpg
capacitor Cpd
capacitor Cgs
capacitor Cds
capacitor Cgd
transconductance Gm

Protected Attributes

circuit fetckt
 The circuit which holds the built fet. More...


Private Methods

void construct ()
 Helper function to assemble fetckt. More...

void fet_copy (const fet &f)
 Helper function for copying. More...

virtual void recalc ()
 The function for calculating sdata. More...

virtual void recalc_S ()
 If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale. More...


Private Attributes

branch b1
branch b2
series_tee st3
series_tee st4
series_tee st5
series_tee st6

Detailed Description

Creates a field effect transistor using the Merian Pospieszalski noise model.

Note that this fet class is useless until the parameters are set. For some pre-built transistors which are ready to use, see the file hemt.h.

Fets are modelled as 2-ports in a common-source config. Here're the port assignments:

                 d
            g  |----------o 2
    1 o--------|
               |---.
                 s |
                   |
      o------------+------o

 

Definition at line 120 of file fet.h.


Constructor & Destructor Documentation

fet::fet ( )
 

The constructor assembles the circuit and holds it in the private member variable fetckt.

It does not set the parameters for the primitive elements, which must be done before the fet can be used.

Definition at line 56 of file fet.cc.

fet::fet ( const fet & f )
 

Copy constructor.

Parameters:
f   the fet to be copied

Definition at line 61 of file fet.cc.


Member Function Documentation

void fet::construct ( ) [private]
 

Helper function to assemble fetckt.

Used by constructor and copy constructor.

Definition at line 77 of file fet.cc.

Referenced by fet().

void fet::fet_copy ( const fet & f ) [private]
 

Helper function for copying.

Definition at line 133 of file fet.cc.

Referenced by fet(), and operator=().

fet & fet::operator= ( const fet & f )
 

Assignment operator.

Parameters:
f   the fet to be copied

Definition at line 67 of file fet.cc.

void fet::recalc ( ) [inline, private, virtual]
 

The function for calculating sdata.

recalc() should do the following:

  • (1) Read device::f, device::Z0, and, by default, device::T to get the operating conditions for the response calculation.
  • (2) Calculate the S, C, and B matrix values and store them to nport::data, with all values normalized using device::Z0.
  • (3) Store the normalizing impedance to nport::data by calling data.set_znorm().

Reimplemented from nport.

Reimplemented in fhx13x, fhr02x, kukje, jpltrw160, and jpltrw300.

Definition at line 193 of file fet.h.

void fet::recalc_S ( ) [inline, private, virtual]
 

If the following function is implemented, it should only calculate the S matrix and B vector parts of data, leaving the C matrix part stale.

Reimplemented from nport.

Definition at line 194 of file fet.h.

int fet::size ( ) [inline, virtual]
 

FET's are 2-port devices.

Returns:
the number of ports

Reimplemented from data_ptr_nport.

Definition at line 168 of file fet.h.


Member Data Documentation

capacitor fet::Cds
 

Definition at line 138 of file fet.h.

capacitor fet::Cgd
 

Definition at line 139 of file fet.h.

capacitor fet::Cgs
 

Definition at line 137 of file fet.h.

capacitor fet::Cpd
 

Definition at line 136 of file fet.h.

capacitor fet::Cpg
 

Definition at line 135 of file fet.h.

transconductance fet::Gm
 

Definition at line 140 of file fet.h.

inductor fet::Ld
 

Definition at line 128 of file fet.h.

inductor fet::Lg
 

Definition at line 127 of file fet.h.

inductor fet::Ls
 

Definition at line 129 of file fet.h.

resistor fet::Rd
 

Definition at line 131 of file fet.h.

resistor fet::Rds
 

Definition at line 134 of file fet.h.

resistor fet::Rg
 

Definition at line 130 of file fet.h.

resistor fet::Rgs
 

Definition at line 133 of file fet.h.

resistor fet::Rs
 

Definition at line 132 of file fet.h.

branch fet::b1 [private]
 

Definition at line 178 of file fet.h.

branch fet::b2 [private]
 

Definition at line 178 of file fet.h.

circuit fet::fetckt [protected]
 

The circuit which holds the built fet.

Definition at line 174 of file fet.h.

series_tee fet::st3 [private]
 

Definition at line 179 of file fet.h.

series_tee fet::st4 [private]
 

Definition at line 179 of file fet.h.

series_tee fet::st5 [private]
 

Definition at line 179 of file fet.h.

series_tee fet::st6 [private]
 

Definition at line 179 of file fet.h.


The documentation for this class was generated from the following files:

Please direct comments and corrections to supermix@submm.caltech.edu
Go to the supermix home page
Generated by doxygen1.2.7