Rather than bolting on every possible feature at once, Stage 2 (EnvelopeFollowerImprovements.md) shows how an interactive AI engineering session captures modular upgrade ideas as standalone option notes before you lock a panel layout.
Concept Overview
On the main PCB (envelope_follower.kicad_pcb), input jack J1 (IN) feeds the non-inverting attenuator/preamp stage through C7 (470 nF), with R3 (1 MΩ) referencing J1.T to GND, RV1 (A100K GAIN pot) loading the AC-coupled side, and R4 (10 kΩ 0.1%) + R5 (1 MΩ) feeding U1A.+:
While 3.39 Hz passes all audio fundamentals with < 0.1 dB droop at 20 Hz, C7 blocks 0 Hz offsets and heavily attenuates 0.05–1.5 Hz modulation sources.
flowchart LR
J1["J1 IN<br/>(TN → GND)"] --> N["C7 (470 nF) || SW3 (AC / DC)"]
N --> RV1["RV1 GAIN (A100K) + U1A<br/>(2× AC / 1× DC via C9)"]
RV1 --> FWR["U1B + U1C + BAT54S<br/>Precision FWR |V_in|"]
FWR --> J2["J2 SLEW IN Normal<br/>(DC-Coupled Direct Entry)"]
J2 --> SLEW["U1D + U2A + SW1/SW2 + RV4<br/>Active Skew, Smooth & Offset"]What Adding SW3 Across C7 Unlocks (Beyond SLEW IN)
- Full-Wave CV Rectification (
2×LFO Folding / Absolute Value): Patching a bipolar triangle or sine LFO intoJ1(IN) withSW3closed (DC) folds negative half-cycles positive throughU1B/U1C(10 kΩ ±0.1%matched resistors +BAT54SD3), turning a±5 Vtriangle wave into a0–5 Vbouncing CV at double frequency—whichSW1(SMOOTH) andRV2/RV3(ATK/REL) can then reshape asymmetrically. - Comparison vs. Existing
J2(SLEW IN): Patching an unrectified LFO or pitch CV intoJ2(SLEW IN) bypassesU1B/U1Cand preserves signed polarity (+Vslews up viaRV2,-Vslews down viaRV3). AddingSW3gives you the rectified|V|waveshaper behavior too. - One-Switch Audio vs. Sub-Audio Routing: Keep
SW3UP inACmode for guitars, drum machines, and line audio (blocking DC thumps before gain), and flip DOWN toDCfor LFOs, envelopes, and stepped random voltages.
Critical Design Interactions on the Updated Schematic
If you add SW3 on top of the DesignSpec.md circuit (view the Reference Spec on the ENV / SKEW Companion Site), inspect these four concrete circuit interactions identified by the agent architecture:
1. Preamp C9 (10 µF) Low-Frequency Gain Shelf (1.59 Hz)
In ENV / SKEW, U1A uses R6 = 10 kΩ, R7 = 10 kΩ, and C9 = 10 µF to GND (1 / (2π · 10 kΩ · 10 µF) = 1.59 Hz) so DC offset is already blocked (1.00× DC gain -> only ~1 mV typical offset with TL074HIDR):
- Good news: Shorting
C7withSW3will never saturateU1Aor require a second blocking switch, becauseC9keeps DC gain at unity (1.00×). - Shelf effect to decide on: Because
U1Ahas1.00×gain below~0.5 Hzand2.00×(+6 dB) gain above~5 Hz, a variable-rate LFO swept across0.2–5 Hzshifts amplitude by2×unless you either keep LFO gain unified or switchC9out inDCmode. Use a DPDT toggle forSW3(pole 1shortsC7for DC passage;pole 2disconnectsC9or leaves unity1×gain everywhere for flatDC–20 kHzLFO tracking) if flat sub-Hz CV amplitude matters.
2. Zero Deadzone with TL074HIDR + U1B/U1C Precision FWR
Thanks to the Tier 2 upgrades already present in the main build—TL074HIDR (V_os ≈ 1 mV typ., ~1 pA input bias), 10 kΩ ±0.1% resistors (R8–R14), and BAT54S (D3) inside U1B’s feedback loop—low-amplitude ±1 V LFOs track cleanly near 0 V with zero 0.6 V diode deadzone.
3. Clean Unpatched Behavior (J1.TN → GND + R3)
Because J1’s switched normal pin (J1.TN) connects directly to GND, unplugging J1 in DC mode grounds RV1.3 (0 V reference) with zero open-input drift or mains hum. Closing SW3 while unpatched causes zero switching thump because R3 (1 MΩ) keeps C7.1 pre-discharged to 0 V.
4. 6 HP Front-Panel Budget Constraint
On the 30.00 mm (6 HP) envelope_follower_panel.kicad_pcb, SW1 (SMOOTH) and SW2 (FAST / SLOW) already occupy both side toggle slots flanking LED1 at Y = 82.25 mm. Adding SW3 (AC / DC) requires one of two mechanical choices:
- Expand to
8 HP(40.30 mm): KeepSW1andSW2intact and add a5.2 mmsub-mini SPDT/DPDT (Dailywell 2MS1/2MD1) cutout besideJ1(IN) withAC/DCfront-panel legends. - Keep
6 HPand repurpose a toggle: SwapSW1(SMOOTH) orSW2(FAST/SLOW) forSW3if DC-coupled FWR waveshaping matters more to your rack than ripple filtering or slow timing.
Modification Summary (SW3 Variant)
| Component / Item | Location / Net | Implementation Details |
|---|---|---|
SW3 | Across C7 pads (NET_IN_JACK ↔ NET_IN_AC) | Sub-mini SPST/SPDT toggle (5.2 mm panel drill for Dailywell 2MS1); use DPDT if also switching C9 for flat 1× AC/DC LFO gain |
| Preamp / Op-Amps | U1, U2 (TL074HIDR, C2878713) | Already fitted in main build (~1 mV , zero phase reversal on rail hits) |
| Input Grounding | J1.TN → GND, R3 (1 MΩ) | Already fitted on PCB; prevents floating offset drift or switch-toggle pops |
| Related Reading | Standalone baseline engineering note | See PotentialImprovements.md in the repo root for the original Hagiwo-RefDes SW1-across-C1 analysis |