FAQ
TL;DR: For Av=1500 at 1 kHz, measure gain as Vout/Vin—“The Gain is the ratio between Vout/Vin.” Use LTspice cursors, watch DC offset, and size Cinf so its reactance is small versus R1. [Elektroda, Anonymous, post #21684481]
Why it matters: This helps you set R2 and Cinf, choose a clean input amplitude, and avoid saturation in LTspice while meeting your assignment constraints.
Quick Facts
- Assignment constraints: Vcc=10 V, VCM=1.5 V, R1=15 kΩ, vg at 1 kHz, target Av≈1500. [Elektroda, Anonymous, post #21684476]
- Gain readout: Av = Vout/Vin; in dB use 20·log10(Av). Measure input and output voltages. [Elektroda, Anonymous, post #21684481]
- Distortion check: use FFT or the .four directive to quantify harmonics from the output node. [Elektroda, Anonymous, post #21684492]
- Saturation clue: ≈1 V-peak at input can drive a squarewave due to DC offset in the input stage. [Elektroda, Anonymous, post #21684486]
- Feedback option: Example closed-loop design uses R2=10 kΩ, VCM=5 V, 1 kΩ series at Q1 base, 1.499 MΩ feedback, 100 pF compensation, Cinf=10 µF. [Elektroda, Anonymous, post #21684493]
Where do I probe input and output to compute gain in this LTspice amplifier?
Probe the input at Vg after subtracting its DC offset and the output before Cinf (e.g., node at the collectors, V(n007)). Cinf is the coupling capacitor, so measuring before it gives the amplifier’s raw AC output. Then compute Av = Vout/Vin using the AC components only. [Elektroda, Anonymous, post #21684483]
How do I measure voltage gain Av quickly in transient?
Use two cursors to read peak‑to‑peak values. 1) Get Vout(pp) by zooming the output trace. 2) Get Vin(pp) on the input trace. 3) Compute Av = Vout(pp)/Vin(pp). You can sweep R2 to see how Av trends. This method is fast and repeatable in LTspice. [Elektroda, Anonymous, post #21684490]
How do I read gain in dB during an AC sweep?
Gain in dB is 20·log10(Av). In LTspice AC analysis, plot V(out)/V(in) as a trace and read the magnitude in dB. If plotting separately, export Vout and Vin magnitudes and apply 20·log10(Vout/Vin). Remember: Av is a ratio of voltages, not amplitudes with DC included. [Elektroda, Anonymous, post #21684481]
What amplitude should I choose for Vg to minimize output distortion?
Start small and increase until harmonics rise. Use the FFT or the .four directive on the output node to monitor THD. Pick the largest input amplitude that keeps harmonics acceptably low for your spec. “You can try to do a ‘Harmonic distorsion’ with the ‘.four’ directive.” [Elektroda, Anonymous, post #21684492]
Why does the output clip or turn into a square wave?
A small input-stage asymmetry creates DC offset, pushing the output toward one rail. With about 1 V‑peak input, the stage saturates both ways, yielding a squarewave. The duty cycle depends on the offset’s polarity and magnitude. Check the collectors’ DC level to confirm. [Elektroda, Anonymous, post #21684486]
What is Cinf and how big should it be at 1 kHz?
Cinf is the output coupling capacitor. Size it so its reactance is small relative to R1 to avoid low‑frequency roll‑off. An example design uses Cinf=10 µF with R1=15 kΩ, keeping the high‑pass corner well below 1 kHz. This preserves the intended gain at 1 kHz. [Elektroda, Anonymous, post #21684493]
How do I reduce the amplifier gain without changing R1, R2, Vcc, or VCM?
Add global negative feedback from the output to the inverting input through a resistor divider and an input series resistor. This sets closed‑loop gain while leaving internal bias parts untouched. The thread shows an op‑amp‑style loop you can adapt. [Elektroda, Anonymous, post #21684493]
Which node should I use as the official output for gain measurement?
Measure at the junction of the collectors (before Cinf). That node reflects the amplifier’s AC output. Cinf then AC‑couples this signal to the load by removing its DC component. Using this node avoids the coupling capacitor’s frequency‑dependent effects. [Elektroda, Anonymous, post #21684483]
How do I check if the amplifier is already saturated?
Plot the DC level at the collectors. If it sits near ground or near Vcc, the stage is saturated. Increase input amplitude to about 1 V‑peak and look for a squarewave, which confirms saturation and reveals offset through duty‑cycle skew. [Elektroda, Anonymous, post #21684486]
What does VCM mean here, and why does DC offset matter?
VCM is the common‑mode bias at the differential pair inputs. Input‑stage asymmetry introduces a DC offset, which can pull the output toward a rail and reduce headroom. That offset also changes the squarewave duty cycle when the stage clips. [Elektroda, Anonymous, post #21684486]
Can I use feedback to set Av≈1500? Any stable example values?
Yes. One example uses R2=10 kΩ current sources, VCM=5 V, 1 kΩ series at the inverting input, 1.499 MΩ feedback, 100 pF compensation, and Cinf=10 µF to prevent oscillation and set closed‑loop gain ≈1500. “This prevents oscillation.” [Elektroda, Anonymous, post #21684493]
I’m confused: is Vg the output and Vcc the input?
No. Vg is the signal input, offset by a DC bias. The output is at the collectors before Cinf, which then AC‑couples to the next stage. Always measure gain using the AC portions of input and output, not their raw biased levels. [Elektroda, Anonymous, post #21684483]
What’s a quick 3‑step how‑to for measuring Av in LTspice?
1) Measure Vout peak‑to‑peak with cursors on the output trace. 2) Measure Vin peak‑to‑peak with cursors on the input trace. 3) Compute Av = Vout(pp)/Vin(pp); repeat while sweeping R2 if exploring sensitivity. [Elektroda, Anonymous, post #21684490]
How does changing R2 affect gain during experiments?
Use a parametric sweep on R2 and record the resulting Av. Build a table of R2, Cinf, and gain, then fit a curve. This reveals sensitivity and helps you select a combination that hits your target while staying stable. [Elektroda, Anonymous, post #21684479]
What formula should I memorize for quick checks?
Voltage gain Av = Vout/Vin. In decibels, Gain(dB) = 20·log10(Vout/Vin). “Remember that Log is in base 10.” Keep DC offsets out of the calculation by using AC or peak‑to‑peak values from cursors. [Elektroda, Anonymous, post #21684481]
Single‑supply tip: how is this amplifier powered?
It runs between Vcc and ground, not ± supplies. That’s why the input and internal nodes use DC biasing and why the output needs AC coupling through Cinf. Keep this in mind when setting VCM and reading waveforms. [Elektroda, Anonymous, post #21684487]