Posts

Charging time of an RC circuit

Image
This page will describe how to calculate the time it takes for a capacitor to charge from one voltage to another through a resistor. Let C be the capacitance of a capacitor being charged from a voltage source with voltage V through a resistor of resistance R. Suppose the capacitor starts with 0 volts across it and is allowed to charge. The voltage \(V_c(t)\) can be modelled as a function of time (t): $$ V_c(t) = V - Ve^{-\frac{t}{RC}} $$ This equation can be solved for t to find the time it takes for a capacitor to charge from 0 volts to \(u\) volts $$ u = V - Ve^{-\frac{t}{RC}} $$ $$ \frac{u}{V} = 1 - e^{-\frac{t}{RC}} $$ $$ 1 - \frac{u}{V} = e^{-\frac{t}{RC}} $$ $$ \ln\left(\frac{V-u}{V}\right) = -\frac{t}{RC} $$ $$ RC\ln\left(\frac{V}{V-u}\right) = t $$ Suppose one is only interested in the amount of time T it takes for a capacitor to charge from \(l\) volts to \(u\) volts. One would calculate the time for it to go from 0 to \(u\) and subtract the time for it to go from 0 to \(l...

Transfer function of a BJT differential pair

Suppose there are a pair of transistors with their emitters connected together to a current source of magnitude I. Let \(I_a\) and \(I_b\) be the collector currents, \(I_{ab}\) and \(I_{bb}\) be the base currents, and \(V_e\) be the emitter voltage. Let \(V_a\) and \(V_b\) be the base voltages of the transistors. The following equation represents the base current: $$ I_{bb} = I_s\left(\frac{e^{V_{BE}/V_t}-1}{\beta}+\frac{e^{V_{BC}/V_t}-1}{\beta_r}\right) $$ where \(I_s\) is the saturation current, \(\beta\) is the current gain of the transistor, \(\beta_r\) is the reverse gain, and \(V_t\) is the thermal voltage (about 0.025865 volts) If the collectors are pulled high and \(V_{BC}\) is negative, then we can ignore the second term because the B-C junction is reverse biased. $$ I_{bb} = I_s\left(\frac{e^{\left(V_b-V_e\right)/V_t}-1}{\beta}\right) $$ The following equation represents the collector current $$ I_b = I_s\left(e^{V_{BE}/V_t}-1\right) - I_s\left(e^{V_{BC}/V_t}-1\right)\l...