|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
net.sf.jaer.biasgen.Masterbias
public class Masterbias
Describes the master bias circuit and its configuration, and supplies methods for estimating parameters.
The schematic of a masterbias looks like this:
The master current is estimated in strong inversion as indicated in
http://www.ini.unizh.ch/~tobi/biasgen/> as follows
See http://www.ini.unizh.ch/~tobi/biasgen
Field Summary | |
---|---|
boolean |
internalResistorUsed
boolean that is true if we are using the internal resistor in series with an off-chip external resistor |
boolean |
powerDownEnabled
true to power down masterbias, via powerDown input |
float |
rExternal
external resistor used. |
float |
rInternal
internal (on-chip) resistor value. |
float |
temperatureCelsius
temperature in degrees celsius |
Constructor Summary | |
---|---|
Masterbias(Biasgen biasgen)
Creates a new instance of Masterbias. |
Method Summary | |
---|---|
void |
exportPreferences(java.io.OutputStream os)
export the prefered values to an OutputStream |
float |
getCurrent()
the sum of weak and strong inversion master current estimates |
float |
getCurrentStrongInversion()
estimated current if master running in strong inversion, computed from formula in http://www.ini.unizh.ch/~tobi/biasgen/> paper. |
float |
getCurrentWeakInversion()
estimated current if operating in weak inversion: log(M) UT/R |
float |
getKPrimeNFet()
|
float |
getMultiplier()
|
float |
getRExternal()
|
float |
getRInternal()
|
float |
getTemperatureCelsius()
|
float |
getTotalResistance()
|
float |
getWOverL()
|
void |
importPreferences(java.io.InputStream is)
import prefs from an InputStream |
boolean |
isInternalResistorUsed()
|
boolean |
isPowerDownEnabled()
|
void |
loadPreferences()
load the stored preferred values -- e.g. |
void |
setInternalResistorUsed(boolean internalResistorUsed)
|
void |
setKPrimeNFet(float kPrimeNFet)
|
void |
setMultiplier(float multiplier)
|
void |
setPowerDownEnabled(boolean powerDownEnabled)
|
void |
setRExternal(float rx)
|
void |
setRInternal(float rint)
|
void |
setTemperatureCelsius(float temperatureCelsius)
|
void |
setWOverL(float WOverL)
|
void |
storePreferences()
store the present values as the preferred values |
java.lang.String |
toString()
|
Methods inherited from class java.util.Observable |
---|
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public boolean powerDownEnabled
public boolean internalResistorUsed
public float rInternal
public float rExternal
public float temperatureCelsius
Constructor Detail |
---|
public Masterbias(Biasgen biasgen)
Method Detail |
---|
public float getTotalResistance()
public float getCurrentWeakInversion()
public float getCurrentStrongInversion()
public float getCurrent()
public float getRInternal()
public void setRInternal(float rint)
public float getRExternal()
public void setRExternal(float rx)
public void exportPreferences(java.io.OutputStream os)
BiasgenPreferences
exportPreferences
in interface BiasgenPreferences
public void importPreferences(java.io.InputStream is)
BiasgenPreferences
importPreferences
in interface BiasgenPreferences
public void loadPreferences()
BiasgenPreferences
loadPreferences
in interface BiasgenPreferences
public void storePreferences()
BiasgenPreferences
storePreferences
in interface BiasgenPreferences
public boolean isPowerDownEnabled()
public void setPowerDownEnabled(boolean powerDownEnabled)
public boolean isInternalResistorUsed()
public void setInternalResistorUsed(boolean internalResistorUsed)
public float getTemperatureCelsius()
public void setTemperatureCelsius(float temperatureCelsius)
public java.lang.String toString()
toString
in class java.lang.Object
public float getMultiplier()
public void setMultiplier(float multiplier)
public float getWOverL()
public void setWOverL(float WOverL)
public float getKPrimeNFet()
public void setKPrimeNFet(float kPrimeNFet)
|
jAER project on SourceForge | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |