Thursday, November 21, 2024
NVMe on Raspberry Pi 5
Thursday, October 31, 2024
Nano Ammeter
One of "self-explanatory" circuits in AoE2 is a nano-ammeter circuit; no explanation is given. I doubt it is really self-explanatory to a beginner.
This circuit appears to originate from PMI's OP-41 datasheet. (PMI is Precision Monolithics, Inc which later became a part of Analog Devices.) OP-41 is a JFET input opamp with very low input bias (5pA @ 25C) in the inverting configuration as a logarithmic amplifier. (OP-41 also tauts the excellent CMRR of over 100dB for a FET input opamp.) Q1 and Q2 are matching transistors. Their current ratio is the exponential of the difference in Vbe. If the difference in Vbe is proportional to the temperature, the current ratio is constant. Since the Q1 base is grounded, the difference in Vbe is just the Q2 base voltage. The resistor divider provides the Q2 base voltage that is proportionally to the temperature, as the bandgap reference subtracts the diode connected Q3 to produce a voltage is approximately proportional to Vt (although there is more complex 2nd order temperature dependency). How good is the approximation? We can run a Spice simulation stepping the temperature. The Q3 current is about 65uA at -55C and 115uA at 125C and approximately linear I (uA) ~ 0.28 * T (K) .
Also the compensation network requires some explanation, which is deferred to a separate discussion.
Sunday, September 29, 2024
Common Emitter Frequency Response using EET
Even the simple common emitter circuit can result in some pretty complicated expression for the frequency response. The inclusion of a single element, the base-collector capacitance, introduces much complexity. This circuit is analyzed in detail by most of the textbooks, including Gray & Meyer's. None of them makes use the EET. We give a derivation using Middlebrook's EET to see if the analysis is simplified.
This is a little bit less work than the more direct method,
The two methods produce the same expression, so using EET does not give more insight.
The base-collector capacitor results in an additional pole and a right-hand side zero and shifts the dominant pole. The dominant pole can be approximated from the input capacitance and the Miller capacitance.
Wednesday, September 25, 2024
Useful Circuits with Two Transistors
The preeminent circuit designer Barrie Gilbert asks "How many distinctly different and really useful circuits can be made with two transistors, anyway?" and his answer "about twenty-four" (Williams, Analog Circuit Design, p179). Let's see what they might be. It is perhaps subjective to tell what is useful or different. Also what type transistors, BJT, JFET, MOSFET? Same circuit configuration with different type of transistors should not be considered distinct. What about other circuit elements? Assume the passives, resistors, capacitors, inductors, are OK, but what about diodes? And what about a multi-emitter/collector transistor or a dual-gate MOSFET? Is it considered one transistor or multiple transistors?
A single transistor has three basic amplifier configurations; it can also be configured as a diode, and the emitter-base junction also makes a somewhat usable Zener diode. A JFET makes a good current source (current regulating diode).
Monday, September 23, 2024
Input Impedance of a Bipolar Transistor Bias with Feedback
AoE shows a bipolar transistor bias circuit using feedback from the collector. AoE2 and AoE3 show the identical circuit, but they differ in the values of the input impedance: AoE2 states 300 Ohms and AoE3 200 Ohms. We would like to analyze the circuit to see why the value has changed. Here the base bias is established by a resistor from the collector, which has the effect of negative feedback: a high bias lowers the collector voltage that reduces the base voltage.
Wednesday, September 18, 2024
N Light Switches
Tuesday, September 17, 2024
A Current Source Circuit from AoE-X
H&H show a clever current source circuit and challenge readers to prove the circuit works especially without using two of the constraints.
It is a circuit of an opamp driving a bipolar transistor. The base current of the bipolar transistor would normally cause an error. Here the error is compensated. The base current is sensed with the base resistor kR1; the emitter voltage is Vin with the differential voltage added using a circuit configuration resembling a difference amplifier.
Note that the current through R1 is the sum of the collector current, the base current and the current through R2, which the last two are the current through kR1. The derivation makes no use of the constraints on the resistors. The base current compensation is strictly accurate (assuming ideal opamp).








