Envelope Follower Circuit Review & Improvement Recommendations
Reviewed specification:
EnvelopeFollower.md(extracted fromEnvelopeFollower.webp).Scope: This document captures an electrical engineering review of the base 6-op-amp circuit and outlines prioritized fixes and architectural upgrades toward a modern Eurorack Envelope Follower with Skew Limiter. Reference designators (
R1–R23,RV1–RV4,C1–C4,D1–D3,LED1,U1–U2,J1–J3,J_PWR) matchEnvelopeFollower.mdverbatim.
Executive Summary
The base circuit in EnvelopeFollower.md is buildable and functionally coherent: its precision full-wave rectifier (U1B, U1C, D1, D2) uses correct diode polarities and feedforward weighting, U2A properly taps OUT before R16 (1 kΩ), and C4 is correctly polarized for -12V.
However, circuit analysis reveals five Tier-1 electrical and ergonomic flaws in the drawn schematic—most notably an ATK/Release resistive divider that collapses envelope amplitude by -15.7 dB at slow attack / fast release, an uncompensated D3 diode drop, severe OFFSET pot loading (+12.1% gain modulation and nonlinear taper), a 9.9 kΩ input impedance with misplaced R1 and excessive 24.75× total gain, and a negative pre-biased LED driver that leaks idle current on red/green LEDs while staying dim at 5 V.
In addition, EnvelopeFollower.md Section 6 already identifies eight foundational build practices:
- Local
100 nFceramic decoupling per IC rail pin (4×total). - Shrouded 10-pin Eurorack header (
J_PWR) with reverse-polarity diodes (1N5819) or10 Ω/ PTC protection. - Voltage ratings (
≥ 25 VforC3/C4) and non-polarized/low-leakage dielectrics (C1film/NP/X7R,C2film or C0G/X7R). 1%metal-film resistors (especiallyR3–R7andR17–R18).- Switched input jack (
J1) normaled toGND. - Appropriate pot tapers (
BforRV1/RV4,AorBforRV2/RV3, optionalRV4.1/RV4.3swap). - Lowering
R21or matching LED (2.8–3.2 V) to prevent0 Vglow. - Optional
100 Ωseries attack current-limiting resistor ahead ofRV2.
Section 1 below covers new circuit-level findings and topological fixes; Section 2 expands and quantifies the Section 6 practical build items; Section 3 details Eurorack “mod cons” and the Active Skew Limiter core; and Section 4 compares drop-in vs. redesigned architectures.
Priority Summary
| # | Tier | Stage / RefDes | Issue in Base Circuit | Recommended Fix | Key Benefit |
|---|---|---|---|---|---|
| 1.1 | Tier 1 | Detector (RV2, C2, R9, R10, RV3) |
ATK/Release voltage divider collapses signal to 16.4% (-15.7 dB); R9 shifts gain by 9.0% |
Minimal: remove R9 from C2 tap; Complete: dual-diode Active Skew Limiter |
100% independent ATK & Release; zero amplitude collapse |
| 1.2 | Tier 1 | Peak Detector (U1C, D3, RV2, C2) |
D3 outside feedback adds ~0.65 V dead zone (1.35–1.75 V output deficit); 0 Ω ATK shorts U1C into C2 |
Minimal: R_atk_min (100–220 Ω); Complete: U_DRV + U_BUF loop with R_fb/C_comp |
Zero diode dead zone, no thermal drift, stable slew limiting |
| 1.3 | Tier 1 | Offset & Output (R11–R15, RV4, U1D) |
RV4 (100 kΩ) loading modulates gain by +12.1%, compresses 72.5% of range into outer 25%, CW=negative, raw rail noise |
Option B: inverting unity summer (100 kΩ legs, RV4 = 10 kΩ); Minimal: 100 kΩ feedback, drop R14 |
0.00% gain shift (0.49% passive), linear taper, CW-positive |
| 1.4 | Tier 1 | Input & Gain (J1, C1, R1, R2, RV1, U1A, R8) |
Z_in = 9.9 kΩ; R1 on wrong side of C1; 24.75× max gain clips OUT at 10% GAIN while LED1 tracks up to 10 V |
100 kΩ A-taper input attenuator + non-inv EURO/LINE preamp; R1 at jack; R8 = 20 kΩ; unity out |
Standard 100 kΩ Z_in, 470 nF film C1, full GAIN sweep, accurate LED |
| 1.5 | Tier 1 | LED Driver (R20–R23, U2B, LED1) |
-2.79 V pre-bias leaks 23–33 µA on red/green LEDs at 0 V; 0.16–0.20 mA dim at 5 V |
Active -to- loop (LED1 + antiparallel 1N4148 in U2B feedback, R_sense = 1–2.2 kΩ) |
0 mA at 0 V, 2.3–5 mA linear drive independent of LED color |
| 2.1 | Tier 2 | Op-Amps (U1, U2) |
Legacy TL074/TL072 phase-reversal risk, ±10.5 V swing, 3 mV typ |
Upgrade to pin-compatible TL074H/TL072H (avoid BJT op-amps like NE5532) |
+2.5 Vpp headroom, 1 mV , 1 pA , no phase reversal |
| 2.2 | Tier 2 | Rectifier & Diodes (R3–R8, D1–D3) |
Half-cycle asymmetry from resistor tolerance; D3 leakage sensitivity |
1% (or 0.1%) R3–R7; optional BAT54S for D1/D2; keep silicon (1N4148/BAV199) for hold diodes |
Minimal 1f ripple feedthrough; negligible hold-cap droop |
| 2.3 | Tier 2 | Ripple Filter | 50 Hz audio droops 59.7% per half-cycle at 11 ms Release |
Switchable SMOOTH post-detector LPF (e.g., 10 kΩ + 330 nF, ) |
Clean bass-tracking CV without sacrificing fast-mode snap |
| 2.4 | Tier 2 | Power & I/O (J_PWR, C3, C4) |
Small 4.7 µF bulk caps; no rail noise filtering beyond Section 6 notes |
22–47 µF (25–35 V) after series 1N5819 + 10 Ω/ferrite RC/LC filter + 100 nF bypasses |
Clean ±12V rails, safe reverse-polarity protection |
| 2.5 | Tier 2 | Timing & Pot Tapers (RV1–RV4, C2) |
Short 50 ms max ATK; linear pots crowd fast times at CCW |
A-taper RV1–RV3 (Pin 1 in, Pin 2+3 out); B-taper center-detent RV4; FAST/SLOW cap switch |
Musical control resolution across ms-to-multi-second ranges |
| 3.1–3.4 | Tier 3 | Eurorack “Mod Cons” | Envelope-only module; no gate/trigger, preamp tap, or external slew access | Normaled SLEW IN, Schmitt-trigger GATE OUT, PRE OUT, CLIP LED, optional LM13700 CV core |
Complete Envelope Follower + Precision Skew Limiter module |
1. Tier 1: Critical Circuit Fixes (Electrical Bugs, Interactions & Ergonomics)
1.1 Severe ATK / Release Voltage-Divider Attenuation & R9 Gain Shift (RV2, C2, R9, R10, RV3)
Problem
In the base schematic, hold capacitor C2 (1 µF) is permanently connected to GND through the release path R9 (1 kΩ) + R10 (10 kΩ) + RV3 (0–1 MΩ). Because D3 conducts directly into RV2 (ATK, 0–50 kΩ) with no switching or steering isolating the release path during charging, RV2 and (R9 + R10 + RV3) form a loaded resistive voltage divider during attack.
At slow attack (RV2 = 50 kΩ) and minimum release (RV3 = 0 Ω, total release resistance ):
- Capacitor voltage collapse: Even under continuous DC excitation,
C2can never charge higher than: - Sense node collapse: Tapping
NET_ENV_SENSEbetweenR9(1 kΩ) andR10(10 kΩ) drops the steady-state signal further to: - Time-constant collapse: Because the Thévenin charging resistance is , the effective attack time constant drops from the nominal
50 msdown to:
Independently of attack, placing R9 (1 kΩ) between C2 and NET_ENV_SENSE forms a voltage divider with R10 + RV3 that shifts overall envelope amplitude as Release is turned:
- Minimum
Release(RV3 = 0 Ω): attenuation - Maximum
Release(RV3 = 1 MΩ): attenuation - This creates an unintended
9.0%amplitude shift purely from adjustingRelease. (BecauseU1D.+andU2B.+are high-impedance JFET inputs,R9provides no needed isolation there.)
Recommended Fixes
- Immediate minimal fix (passive topology): Remove
R9from theC2U1D.+sense path—wireC2.1directly toU1D.+(andR20), and connectR10directly fromC2.1toRV3.1. This eliminates the9.0%Release-dependent gain shift immediately, though the passiveATK/Releasedivider collapse remains wheneverRV2is large andRV3is small. - Complete fix (Active Precision Skew/Slew Limiter): Replace the passive peak detector with a dual-diode active slew limiter (Section 1.2). Because
D_atkandD_relare driven in opposite directions inside an op-amp feedback loop,D_relis completely reverse-biased during rising transitions andD_atkis completely reverse-biased during falling transitions—yielding 100% independentATKandReleasecontrols with zero attenuation collapse.
1.2 Uncompensated Peak-Detector Diode Drop (D3) & Zero-Ohm Capacitive Charging Spikes (U1C, D3, RV2, C2)
Problems
- Uncompensated
D3forward drop: AlthoughU1BandU1Cform an accurate precision full-wave rectifier,D3(1N4148) sits outside any feedback loop. Every signal loses before reachingC2:- Dead zone: Any preamp signal with produces , yielding zero envelope output and cutting off quiet audio tails abruptly.
- Output DC deficit & thermal drift: Multiplied by
U1D’s2.25×–2.52×gain,D3introduces a1.35–1.75 VDC tracking error atOUTand roughly-4.5 mV/°Cto-5.0 mV/°Cthermal drift (-2 mV/°C × 2.25–2.52).
- Zero-ohm capacitive surge when
ATK = 0 Ω: WhenRV2is turned fully counter-clockwise (0 Ω),U1C.OUTchargesC2(1 µF) throughD3with zero series current-limiting impedance. On fast transients,U1Chits its short-circuit current limit (~20–40 mA), injecting supply-rail current spikes into the sharedU1die (U1A–U1D).
Recommended Fixes
- Minimal fix (expanding
EnvelopeFollower.mdSection 6 note #8): Add a fixed series resistorR_atk_min = 100 Ω–220 ΩbetweenD3.KandRV2.1to keepU1Cwithin linear output current limits atATK = 0%. - Complete fix (Active Precision Asymmetric Skew/Slew Limiter): Replace
D3,RV2,R9,R10,RV3with a two-op-amp feedback slew limiter (U_DRV+ unity hold-capacitor bufferU_BUF):
+--- C_comp (1-2.2 nF C0G) ---+
| |
V_in ---> (+) | +--- D_atk ---> [220R] ---[RV_ATK]---+
U_DRV ----+---+ +---> C2 ---> (+)
V_fb --[R_fb 10k]-- (-) +--- D_rel <--- [1k] <--[RV_REL]---+ | U_BUF ---> V_env
^ (A<-K) | GND |
| +----------------+ (direct unity FB)
+------------------ V_env = V_C2 -------------------------+
- Polarity & connections:
U_DRV.+receivesV_rect(or externalSLEW IN).U_BUFis a unity-gain voltage follower (U_BUF.+C2,U_BUF.-tied toU_BUF.OUT) producing low-impedanceV_env = V_C2.- Attack branch:
D_atk(AnodeU_DRV.OUT, CathodeR_atk_min = 220 ΩRV_ATKC2). - Release branch:
D_rel(CathodeU_DRV.OUT, AnodeR_rel_min = 1 kΩRV_RELC2). - Because
V_C2is fed back toU_DRV.-,U_DRVautomatically adds (rising) or (falling) ahead of the diodes—completely eliminating the0.65 Vdead zone and thermal drift.
- Critical frequency compensation (mandatory to prevent oscillation):
- Do not wire
U_BUF.OUTdirectly toU_DRV.-with no local compensation. ModelingTL074(A_0 = 2×10^5,GBW = 3 MHz) drivingR_s · C2shows that direct feedback has only0.3°–1.3°phase margin across and will ring or oscillate across the pot sweep. - Adding
R_fb = 10 kΩbetweenU_BUF.OUTandU_DRV.-, plus local high-frequency compensationC_comp = 1 nFto2.2 nF(C0G/NP0) directly fromU_DRV.OUTtoU_DRV.-, creates a clean lead-lag handoff: above (7.2–15.9 kHz), feedback returns locally throughC_compinstead of theR_s · C2lag. Loop analysis across withC2 = 1 µFandC_comp = 1–2.2 nFyields a single gain crossover at~3.0 MHzwith~90°phase margin (90.1°–90.3°) and remains unconditionally stable even in the deadband when both diodes are off.
- Do not wire
- Rail-driven ramp shape & timing (
C2 = 1 µF,TL074H, ):- Because
U_DRVsaturates to whenever , the capacitor charges toward , making0–5 Vtransitions nearly linear rather than asymptotic exponential tails, and stopping sharply at0.00 V:
- Because
| Total Branch Resistance | 0 V → +5 V Rise Time () |
+5 V → 0 V Fall Time () |
|---|---|---|
220 Ω (ATK min) |
0.14 ms |
0.08 ms |
1 kΩ (Release min) |
0.62 ms |
0.38 ms |
50 kΩ |
30.9 ms |
19.0 ms |
100 kΩ |
61.8 ms |
37.9 ms |
1 MΩ (Release max) |
618 ms |
379 ms |
- Note that because
U_DRVpulls down toward-10.85 Vrather than0 V, the+5 V → 0 Vfall time (379 msat1 MΩ) is faster than a passive0 V-referenced1 MΩ · 1 µFRC decay (1.0 sto37%). IncreasingC2to2.2 µF(or adding aFAST / SLOWswitch selecting220 nFvs.2.2 µF) restores multi-second maximum releases (~834 mslinear fall to0 Vat1 MΩ, or~1.36 srise from0→5 V).
1.3 OFFSET (RV4) Gain Modulation (+12.1%), Pot-Loading Non-Linearity, Inverted Polarity & Rail Noise (R11–R15, RV4, U1D)
Problems
- Gain modulation (
+12.1%): In the base circuit,RV4(100 kΩ) drivesR13(10 kΩ) directly intoU1D.-without a buffer.RV4’s Thévenin source resistance changes from9.17 kΩat either end (10k || 110k) to30.0 kΩat center (60k || 60k), changing between19.17 kΩand40.0 kΩand modulating the envelope gain :- Center (
50%): , - Extreme (
0%or100%): , - Turning
OFFSETfrom center to either extreme boosts envelope amplitude by+12.1%(+1.0 dB).
- Center (
- Severe pot-loading non-linearity: Because
R13(10 kΩ) is 10× smaller thanRV4(100 kΩ), loading heavily warps the linear pot into an S-curve. At 75% rotation (halfway between center and max), is only-1.44 Vout of-5.22 V(27.5%of full scale instead of50.0%), cramming72.5%of the offset voltage change into the outer25%of knob rotation. - Inverted control sense: As noted in
EnvelopeFollower.mdSection 4.5, wiringCW(RV4.3) to+12Vcauses clockwise rotation to shiftOUTnegative becauseRV4sums intoU1D.-. - Power-rail noise feedthrough:
R11andR12connect directly to raw±12VEurorack busboard rails, injecting switching/digital supply ripple directly intoOUTandINV_OUT(-5.2 dBPSRR from each rail at max offset).
Comparison of Base Circuit vs. Recommended Fixes
RV4 Rotation () |
Base Circuit (RV4=100k, R13=10k) |
Minimal 6-Op-Amp Passive Fix (RV4=10k, R13=R15=100k, drop R14, swap 1/3) |
Option B Virtual-Ground Summer (RV4=10k, R11=R12=6.8k, R_env=R_off=R_fb=100k) |
|---|---|---|---|
0% (CCW) |
G = 2.522×, V_off = +5.22 V |
G = 1.954×, V_off = -4.85 V |
G = 1.0000×, V_off = -4.85 V |
25% |
G = 2.287×, V_off = +1.44 V |
G = 1.947×, V_off = -2.41 V |
G = 1.0000×, V_off = -2.41 V |
50% (Center) |
G = 2.250×, V_off = 0.00 V |
G = 1.944×, V_off = 0.00 V |
G = 1.0000×, V_off = 0.00 V |
75% |
G = 2.287×, V_off = -1.44 V (27.5%) |
G = 1.947×, V_off = +2.41 V (49.6%) |
G = 1.0000×, V_off = +2.41 V (49.6%) |
100% (CW) |
G = 2.522×, V_off = -5.22 V |
G = 1.954×, V_off = +4.85 V |
G = 1.0000×, V_off = +4.85 V |
| Gain Modulation | +12.1% (+1.0 dB) |
+0.49% (+0.04 dB) |
0.00% (exact 1.000×) |
Recommended Fixes
- Best fix (in the 8-op-amp Option B architecture —
0.00%gain shift): Swap the output stage order soU2Bacts as a virtual-ground inverting unity summer producingINV_OUT = -(V_env + V_off)(R_env = R_off = R_fb = 100 kΩ), followed byU2Cas a unity inverter producingOUT = +(V_env + V_off):- Use
RV4 = 10 kΩ(linearB, ideally center-detent) withR11 = R12 = 6.8 kΩfor±4.85 Vspan (or6.2 kΩfor±5.13 V). - Because
U2B.-is held at0 Vvirtual ground,R_envsees zero source impedance fromU2A, lockingG_envto strictly1.0000×across the full offset sweep. RV4sees a100 kΩsumming resistor (R_th,max = 5.90 kΩ), yielding49.6%offset at75%travel (virtually dead-linear), and wiringCW → +12Vnaturally produces CW = positive shift onOUT!
- Use
- Minimal 6-op-amp passive fix (no extra op-amps): Keep the non-inverting
U1Dstage, changeRV4to10 kΩ,R11 = R12 = 6.8 kΩ,R13 = R15 = 100 kΩ, omitR14(G_env ≈ 1.95×instead of2.25×—or keepR14omitted for lower gain), and swapRV4.1/RV4.3so CW shiftsOUTpositively. This cuts gain modulation by 25× (to0.49%) and restores49.6%half-travel linearity. - Rail filtering: Add local RC filtering ahead of
R11/R12(e.g.,100 Ωseries resistors +10 µF/100 nFbypass caps toGNDon the±12Vdivider nodes) or derive the offset bias from a precision±5 Vreference (TL431/LDO).
1.4 Low Input Impedance (9.9 kΩ), Misplaced R1, Excessive Total Gain (24.75×) & Premature Output Clipping (J1, C1, R1, R2, RV1, U1A, U1C, U1D)
Problems
- Low input impedance (
9.9 kΩ): BecauseU1Ais inverting withR2 = 10 kΩinto virtual ground, . Modern Eurorack modules expect100 kΩinput impedance (1 kΩoutput drivers lose-0.84 dB/9.1%into9.9 kΩ, and passive mults sag noticeably when patched alongside other modules). - Misplaced
R1(1 MΩ):R1sits on the right side ofC1(NET_IN_AC), whereR2(10 kΩ) already holds the node to0 Vvirtual ground 100× more strongly thanR1. Meanwhile, the jack side ofC1(NET_IN_JACK) has no DC bleed path when unpatched, allowing charge onC1to cause hot-plug DC pops. - Excessive gain & collapsed knob range: Total maximum voltage gain at center offset is (
+27.9 dB). For a standard Eurorack10 Vpp(±5 Vpeak) signal:OUTreaches+5.0 VatRV1 = 5.3%.OUTreaches+8.0 VatRV1 = 7.7%.U1Dhard-clips at+10.5 Vby justRV1 = 9.8%(V_env = 4.67 V,V_pre = 4.88 V), leaving 90% ofGAINknob rotation clipped (U1Aitself clips byRV1 = 21%).- Worse, because
LED1(U2B) sensesNET_ENV_SENSEbeforeU1D’s2.25×gain,LED1keeps brightening fromV_env = 4.67 Vup to9.75 VwhileOUTis flat-topped at the+10.5 Vrail—misleading the user about clipping.
Recommended Fixes
- Constant
100 kΩinput attenuator + non-inverting preamp (U1A):- Move
R1(1 MΩanti-pop bleed resistor) to the jack side (NET_IN_JACKtoGND) alongside a switchedJ1normaled toGND. - Wire
C1(470 nFto1 µFpolypropylene/polyester film) into the top (Pin 3 CW) ofRV1(100 kΩ, Audio/LogAtaper) grounded atPin 1(CCW). Input impedance is a constant90.9 kΩ(1 MΩ || 100 kΩ), causing only-0.10 dB(1.1%) attenuation from a1 kΩEurorack source, while allowingC1to shrink from4.7 µFto470 nFfilm ()—avoiding bulky film caps or piezoelectric/DC-derated ceramic capacitors. - Feed
RV1wiper through a10 kΩseries protection resistor intoU1A.+(with100 kΩtoGNDfor wiper-lift safety) and configureU1Aas a non-inverting preamp withEURO (×1 or ×2) / LINE (×10, +20 dB)gain-range switch:- Keep feedback resistors around
10 kΩ(e.g.,R_f = 10 kΩ,R_g = 1.1 kΩswitched in forLINE ×10.1, or10 kΩforEURO ×2), placing a4.7–10 µFbipolar/film capacitor in series withR_gtoGNDso DC gain remains1×(preventing10×amplification ofU1Ainput offset ). AddC_f = 22–47 pFacrossR_ffor ultrasonic stability.
- Keep feedback resistors around
- Move
- Unity-gain downstream staging (
R8 = 20 kΩ, unity output):- Change
R8from22 kΩ(1.1×) to20 kΩ(1%) (or2× 10 kΩin series for BOM consolidation) for exact1.00×full-wave rectification. - Run the active slew limiter and output summer at
1.00×. A10 Vpp(±5 Vpeak) Eurorack input at fullEURO(×2) gain reaches+10 Vcleanly with zero internal clipping, andLED1tracks the exact pre-offset envelope voltage appearing atOUT.
- Change
1.5 Active Voltage-to-Current LED Driver Replacing Negative Pre-Bias (R20–R23, U2B, LED1)
Problems
R21(22 kΩ) +R_th,K(7.67 kΩ) =29.67 kΩlimitsLED1current to0.16–0.20 mAat5 V(0.33–0.37 mAat10 V), making standard diffused LEDs quite dim.- Pre-biasing
NET_LED_Kat-2.79 Vmakes1.8 Vred (33.4 µA) and2.1 Vgreen (23.3 µA) LEDs glow dimly at0 Vidle, while3.0 Vblue/white LEDs still exhibit a dead zone untilV_env > 0.21 V.
Recommended Fix: Active Transconductance (-to-) LED Driver
Place LED1 inside the LED driver op-amp feedback loop:
U_LED.+V_env(direct, eliminatingR20or keeping1 kΩoptional).U_LED.OUTLED1.A(LED1.KU_LED.-).R_sense = 1.0 kΩto2.2 kΩfromU_LED.-toGND(R21–R23removed).- Mandatory reverse-voltage protection clamp: Wire a
1N4148anti-parallel acrossLED1(Anode toU_LED.-, Cathode toU_LED.OUT). WhenV_env = 0 V, a negative op-amp offset voltage () would otherwise driveU_LED.OUTto-10.5 V, exceeding a typical LED’s5 Vreverse breakdown limit (V_R); the anti-parallel1N4148safely clamps reverse voltage to-0.65 V. - Performance: (
0.00 mAat0 V,2.3–5.0 mAat+5 V), 100% independent of LED color or , eliminates 3 resistors, and removes negative-rail current injection. - Optional post-offset upgrade: Drive the LED loop from
OUT(post-offset) using an antiparallel bi-color (red/green) 2-pin LED (R_sense = 2.2 kΩ); the two LED junctions automatically protect each other from reverse breakdown while showing both envelope amplitude and positive/negative polarity.
2. Tier 2: Precision, Noise, Robustness & Component Upgrades
These recommendations deepen and quantify the practical implementation notes in EnvelopeFollower.md Section 6.
2.1 Op-Amp Upgrade (TL074H / TL072H) & BJT-Op-Amp Warning
- Upgrade to
TL074H/TL072H: Pin-compatible CMOS-input modern drop-in replacements for legacy JFETTL074/TL072parts:- No phase reversal: Eliminates output inversion if inputs approach the negative rail (crucial if
U1Ais changed to non-inverting). - Extended headroom: Near rail-to-rail output (
~±11.5–11.8 Vvs.±10.5 V), adding~2.5 Vppheadroom and sharper0 Vslew-limiter tracking. - Tighter DC accuracy: Lower typical input offset ( typ vs.
3 mVtyp) and1 pAtyp input bias current (vs.65 pA), keeping the zero-input rectified floor below~5–10 mVonceD3’s dead zone is removed.
- No phase reversal: Eliminates output inversion if inputs approach the negative rail (crucial if
- Avoid BJT-input audio op-amps: Never substitute bipolar-input op-amps (
NE5532,LM4562,RC4558,LM358) for the hold-capacitor buffer or detector—their0.2–1.0 µAinput bias current drainsC2(1 µFdroops at0.2–1.0 V/s), distorting longReleasecurves and adding offset error.
2.2 Precision Rectifier Matching & Diode Chemistry (R3–R8, D1–D3)
- Resistor matching (
R3–R7): Use1%(same-reel) or0.1%thin-film resistors forR3–R7. Any mismatch between the+and−half-cycle gains leaks fundamental () audio ripple through the full-wave rectifier, which appears as sub-harmonic modulation on fast release settings. - Diode chemistry split:
D1,D2(U1Bhalf-wave rectifier):1N4148works well, or use a matched dual SOT-23 Schottky (BAT54S) to halveU1B’s output swing step at zero crossings (±0.3 Vvs.±0.65 V), improving high-frequency rectification accuracy.D3(and active slewD_atk/D_rel): Must remain low-leakage silicon (1N4148,1N4148W, or ultra-low-leakageBAV199<5 nA). Never use Schottky diodes on the hold capacitor—Schottky reverse leakage (1–10+ µA) causes rapid unintended decay on longReleasesettings.
2.3 Audio-Rate (2f) Envelope Ripple Filtering
Full-wave rectification doubles the input frequency (). On low-frequency sources (bass guitar, kick drums, sub-oscillators), a fast Release tracks the valley between half-cycles:
- At minimum passive release (
τ = 11 ms, ):- A
50 Hzsine (10 mshalf-cycle) droops by of peak every half-cycle (-16.9 dB1st-order attenuation at100 Hz). - A
100 Hzsine (5 mshalf-cycle) droops by36.5%every half-cycle.
- A
- Modulating a VCA or VCF cutoff with this
100–200 Hzripple causes audible intermodulation “zipper/buzz.” - Recommendation: Add an optional front-panel
SMOOTHtoggle switch inserting a passive10 kΩ + 330 nFlow-pass filter () betweenU_BUF.OUTand the output summer (or convertU2Binto a 2-pole Sallen-Key filter), giving clean low-end tracking inSMOOTHmode while preserving transient speed inFASTmode.
2.4 Power Filtering, Bulk Capacitance & I/O Protection
Building on EnvelopeFollower.md Section 6 #1–#2:
- Increase bulk capacitance (
C3,C4): Upgrade4.7 µFto22–47 µF(≥ 25 V, or35 V) low-ESR electrolytics. - Series vs. shunt reverse-polarity protection: Prefer series Schottky diodes (
1N5819) on+12V inand-12V inahead ofC3/C4(only~0.3 Vdrop, zero fault current if the Eurorack ribbon is plugged backward), optionally followed by10 Ωfusible resistors or ferrite beads (FB) to form an RC/LC low-pass filter that isolates op-amp rails andOFFSETreference from busboard switching noise. - Keep
R16,R19 = 1 kΩ: Maintains short-circuit immunity onOUTandINV_OUTwith<1%(-0.09 dB) attenuation into100 kΩEurorack inputs (vs.-9.1%into10 kΩinputs).
2.5 Time-Constant Range & Potentiometer Taper Standardization (RV1–RV4, C2)
- Attack range:
50 msmax attack (RV2 = 50 kΩ,C2 = 1 µF) is quite short for slow pad swells or slew-limiting applications. ExpandingRV2to500 kΩ–1 MΩ(matchingRV3) or adding aFAST / SLOWcapacitor range switch (220 nFvs.2.2 µF) makes the skew limiter far more versatile. - Tapers & fail-safe rheostat wiring:
RV1(GAIN),RV2(ATK),RV3(Release): Use Audio/Log (A) taper. Wire rheostats withPin 1 (CCW)to signal input andPin 2 (Wiper) + Pin 3 (CW)tied to signal output—clockwise rotation increases resistance/time smoothly with fine resolution on snappy0–50 mssettings between CCW and noon, and fails safe to maximum resistance rather than open-circuit if a wiper lifts.RV4(OFFSET): Use Linear (B) taper (10 kΩ, ideally center-detent).
3. Tier 3: Eurorack “Mod Cons” & Skew Limiter Architecture
These modular additions turn the cleaned-up circuit into a dedicated EnvelopeFollowerWithSkewLimiter module:
3.1 Normaled SLEW IN Jack (Envelope Follower + Bipolar Skew/Slew Limiter)
- Place a switched 3.5 mm jack (
SLEW IN) between the rectifier output (U1C.OUT) and the active skew limiter input (U_DRV.+), with the jack’s normal switch connected toU1C.OUT. - Unpatched: Functions as a zero-dead-zone precision envelope follower.
- Patched: Disconnects the rectifier and converts the module into a bipolar precision asymmetric skew/slew limiter for portamento/glide, LFO wave-shaping (triangle sawtooth/ramp), and gate-to-AR conversion.
- Pair with a
FAST / SLOWtoggle switch (220 nFvs.2.2 µFpolypropylene/film hold capacitor) for two-decade slew scaling (~0.1 ms–1.4 slinear ramps).
3.2 Schmitt-Trigger GATE Extractor (THRESHOLD Control + Hysteresis)
- Add a comparator (
1/2 LM393, or spare op-amp + clamp diode) comparingV_envagainst a0–8 VTHRESHOLDpotentiometer to derive a crispGATE OUT(0 V/+5 Vor+8 V, via1 kΩ) and a dedicated Gate LED. - Mandatory hysteresis: Add positive feedback (e.g.,
10 kΩinput /470 kΩfeedback, yielding~150–250 mVhysteresis) so audio-rate2fenvelope ripple does not chatter or false-retrigger the gate near threshold.
3.3 Utility Outputs & Ergonomics (PRE OUT, AC / DC Switch, CLIP LED)
PRE OUTjack: TappingU1A.OUTthrough a1 kΩseries resistor turns theEURO / LINEpreamp into a clean external-instrument / microphone interface (similar to the Doepfer A-119).AC / DCinput switch: Optionally bypassesC1so the rectifier/slew section can also process slow DC-coupled CV (e.g., full-wave folding/rectifying bipolar LFOs).CLIPindicator: Using the second half ofLM393(or a simple transistor window detector) to light aCLIPLED when lets the user dial inGAINaccurately without guessing fromLED1.
3.4 Optional Voltage-Controlled Skew Core (LM13700 OTA)
- For full voltage control over attack and release times (
ATK CV,REL CV) and selectable linear vs. exponential slope response, replace theU_DRV+ diode-potentiometer core with anLM13700dual OTA current-steered slew integrator (U_DRVdrives the OTA differential input into saturation, steering charging/discharging currents intoC2). - Trade-off: Adds exponential current-sink circuitry,
I_abcprotection resistors, and offset/symmetry trimming compared to the zero-trimmer, all-TL074Hresistor-steered active skew limiter recommended in Option B below.
4. Architecture Comparison & Recommended IC Partitioning
| Metric / Feature | Base Circuit (EnvelopeFollower.md) |
Option A: Minimal Drop-In Fixes | Option B: Recommended Redesign (Precision Active Skew Limiter) | Option C: Full “Mod Cons” Module |
|---|---|---|---|---|
| IC Count & Types | 1× TL074 + 1× TL072 (6 sections) |
1× TL074H + 1× TL072H (6 sections) |
2× TL074H (8 sections, single IC SKU) |
2× TL074H + 1× LM393 (+ optional LM13700) |
| Unused Op-Amps | 0 |
0 |
0 |
0 |
Input Impedance (Z_in) |
9.9 kΩ |
90.9 kΩ (100 kΩ nominal) |
90.9 kΩ (100 kΩ nominal) |
90.9 kΩ (100 kΩ nominal) |
Rectifier Gain (R8) |
1.10× (22 kΩ) |
1.00× (20 kΩ) |
1.00× (20 kΩ) |
1.00× (20 kΩ) |
ATK / Release Interaction |
-15.7 dB collapse + 9% R9 shift |
9% R9 shift fixed; divider remains |
0% (completely independent) |
0% (completely independent + CV option) |
D3 Diode Dead Zone |
~0.65 V (~1.5 V at OUT) |
~0.65 V (~1.3 V at OUT) |
Eliminated (<5 mV inside loop) |
Eliminated (<5 mV inside loop) |
OFFSET Gain Modulation |
+12.1% (2.25×–2.52×) |
+0.49% (1.94×–1.95×) |
0.00% (exact 1.000× summer) |
0.00% (exact 1.000× summer) |
OFFSET Taper & Polarity |
Non-linear (27.5% @ 75%), CW = neg |
Linear (49.6% @ 75%), CW = pos |
Linear (49.6% @ 75%), CW = pos |
Linear (49.6% @ 75%), CW = pos |
| LED Driver | -2.79 V pre-bias (idle glow / dim) |
Active -to- (0 mA idle) |
Active -to- (0 mA idle) |
Active -to- + GATE + CLIP LEDs |
Normaled SLEW IN / PRE OUT |
No | Optional PRE OUT |
Yes (SLEW IN + optional PRE OUT) |
Yes + GATE OUT + SMOOTH switch |
Recommended Option B (2× TL074H) Signal Flow & Section Allocation
flowchart LR
IN["J1 IN (1M bleed, C1 470n)"] --> ATT["RV1 100k A Input Atten"]
ATT --> PRE["U1A Non-Inv Preamp (EURO x2 / LINE x10, PRE OUT)"]
PRE --> HWR["U1B Half-Wave Rectifier (10k, D1, D2)"]
PRE --> FF["Feedforward (R6+R7 20k)"]
HWR --> SUM["U1C FWR Summer (10k, R8 20k = 1.00x)"]
FF --> SUM
SUM --> SLEWJ["SLEW IN (Normaled Jack)"]
SLEWJ --> DRV["U1D Active Skew Driver (C_comp 1-2.2nF, D_atk, D_rel)"]
DRV --> CAP["C2 (220nF / 2.2uF) → U2A Hold Buffer"]
CAP -->|"R_fb 10k feedback"| DRV
CAP --> SMOOTH["Optional SMOOTH LPF (10k + 330nF)"]
SMOOTH --> INV["U2B Inverting Unity Summer (100k, RV4 10k OFFSET) → 1k → INV_OUT"]
INV --> OUT["U2C Unity Inverter (100k) → 1k → OUT"]
SMOOTH --> LEDDRV["U2D Active V-to-I LED Driver (1N4148 clamp, R_sense 1-2.2k)"]U1 (TL074H) & U2 (TL074H) Section Allocation (0 Unused Gates, 1 IC SKU)
| IC | Device | Section | Pins (+, -, OUT) |
Functional Role in Option B |
|---|---|---|---|---|
U1 |
TL074H |
U1A |
3, 2, 1 |
Non-inverting EURO/LINE preamp (with 10 kΩ input protection & DC-gain cap) |
U1 |
TL074H |
U1B |
5, 6, 7 |
Precision half-wave rectifier (1% R3–R4, D1–D2) |
U1 |
TL074H |
U1C |
10, 9, 8 |
Full-wave summing amplifier (R8 = 20 kΩ for exact 1.00× rectification) |
U1 |
TL074H |
U1D |
12, 13, 14 |
Active skew-limiter driver (C_comp = 1–2.2 nF, R_fb = 10 kΩ, D_atk/D_rel) |
U2 |
TL074H |
U2A |
3, 2, 1 |
Hold-capacitor (C2) unity-gain buffer (V_env, drives U1D feedback & SMOOTH) |
U2 |
TL074H |
U2B |
5, 6, 7 |
Virtual-ground inverting unity summer (100 kΩ legs, RV4 = 10 kΩ OFFSET) INV_OUT |
U2 |
TL074H |
U2C |
10, 9, 8 |
Unity-gain inverting stage OUT (+(V_env + V_off), CW-positive OFFSET) |
U2 |
TL074H |
U2D |
12, 13, 14 |
Active current-controlled LED driver (LED1 + antiparallel 1N4148, R_sense = 1–2.2 kΩ) |