Difference between revisions of "MATLAB amplifier in detail"

From UConn PAN
Jump to navigation Jump to search
Line 102: Line 102:
 
They describe the voltage drop associated with current crossing a resistor, according to [http://en.wikipedia.org/wiki/Ohm's_law Ohm's Law].  As such, there is one equation per resistor in the circuit.
 
They describe the voltage drop associated with current crossing a resistor, according to [http://en.wikipedia.org/wiki/Ohm's_law Ohm's Law].  As such, there is one equation per resistor in the circuit.
  
* <math>R_1</math>: <math>V_b - I_1 R_1 = V_1</math>
+
* <math>R_1</math>: <math>V_b - I_1 \cdot R_1 = V_1</math>
* <math>R_2</math>: <math>V_2 - I_2 R_2 = 0</math>
+
* <math>R_2</math>: <math>V_2 - I_2 \cdot R_2 = 0</math>
* <math>R_3</math>: <math>V_4 - I_3 R_3 = V_3</math>
+
* <math>R_3</math>: <math>V_4 - I_3 \cdot R_3 = V_3</math>
* <math>R_4</math>: <math>V_3 - I_4 R_4 = 0</math>
+
* <math>R_4</math>: <math>V_3 - I_4 \cdot R_4 = 0</math>
* <math>R_5</math>: <math>V_5 - I_5 R_5 = V_4</math>
+
* <math>R_5</math>: <math>V_5 - I_5 \cdot R_5 = V_4</math>
* <math>R_6</math>: <math>V_c - I_6 R_6 = V_5</math>
+
* <math>R_6</math>: <math>V_c - I_6 \cdot R_6 = V_5</math>
* <math>R_7</math>: <math>V_c - I_7 R_7 = V_7</math>
+
* <math>R_7</math>: <math>V_c - I_7 \cdot R_7 = V_7</math>
* <math>R_t</math>: <math>V_{out} - I_t R_t = 0</math>
+
* <math>R_t</math>: <math>V_{out} - I_t \cdot R_t = 0</math>
  
 
=== Node charge flow ===
 
=== Node charge flow ===
Line 116: Line 116:
 
: <math>\sum I = 0</math>
 
: <math>\sum I = 0</math>
 
or alternately
 
or alternately
: <math>\sum I_{into node} = \sum I_{out of node}</math>.
+
: <math>\sum I_\mbox{into node} = \sum I_\mbox{out of node}</math>.

Revision as of 18:45, 2 July 2007

The model of the SiPM amplifier is a system of 24 equations in 24 variables that has been linearized so that it can be solved by MATLAB.

Parameters and variables

The MATLAB model has a number of parameters and variables to describe the amplifier circuit, including the 24 unknowns, 4 inputs, and numerous constants.

Input parameters

There are four input parameters:

  • Input current: (A)
  • Bias voltage: (V)
  • Power voltage: (V)
  • Frequency: (Hz)

Unknown variables

There are twenty-four unknown variables. The locations (and directions in the case of currents) are labeled on the circuit diagram. All unknowns are assumed to be of the form

,

where gives the amplitude of oscillation, or the AC component, and gives the DC offset.

  • Node voltages: , , , , , ,
    • Note: there is no on this circuit; it was a redundant variable with .
  • Resistor currents: , , , , , , ,
  • Transistor currents: , , , , ,
  • Capacitor currents: , ,

Constants

Resistors

The resistance values are mostly the same as those marked on the actual amplifier itself, however and were changed for better agreement of the model with the desired responses. See the article on the actual SiPM Amplifier for details on that circuit.

Component Resistance

Capacitors

The capacitors are not labeled on the amplifier itself or in the documentation supplied with the amplifier, so the following values are guesses as to the capacitances. Note that does not exist.

Component Capacitance

Transistors

The transistor parameters used are selections from the Gummel-Poon SPICE model parameters for these two parts.

Parameter Description value value
VT temperature voltage 0.0259 0.0259
BF ideal forward maximum 93 34
NF forward current emission coefficient 0.99 1.0
IS transport saturation current 0.24 fA 0.44 fA
ISE B-E leakage saturation current 2.4 fA 87 fA
NE B-E leakage emission coefficient 1.46 1.94
RB zero-bias base resistance 21 5
RE emitter resistance 0.37 1

Equations

There are five categories of equations, which give a set of twenty-four equations in total. Two categories of equations are non-linear and need to be linearized to solve this system as a linear model using matrices.

Resistor voltage drop

The resistor voltage drop equations all take the form

or alternately

.

They describe the voltage drop associated with current crossing a resistor, according to Ohm's Law. As such, there is one equation per resistor in the circuit.

  • :
  • :
  • :
  • :
  • :
  • :
  • :
  • :

Node charge flow

Each node must maintain a dynamic equilibrium of charge during steady-state operation. That means that flow of charge (current) into a given node must equal flow of charge (current) out of that same node. Thus the node charge flow equations take the form of

or alternately

.