Discrete op-amp distortion with a two-knob EQ and a treble enhancer, 1986 style

Pedal and tube amp circuits, simulated part by part the way an engineer’s circuit simulator does it, while you listen and watch. Turn the knobs, change any part, or tap a wire to put a probe on it.

Start here

Modeled after the Ibanez DS10 Distortion Charger.

An emitter follower, a transistor gain stage and a gain stage built from four transistors, then silicon diodes to ground, a passive Low and High network, and a JFET stage. An op-amp filter picks out the treble above about 5 kHz, and Enhance mixes it back in through a second op-amp.

Input

Add

Peak voltage from the pickup for each note. Strum hard and a single coil puts out a few hundred millivolts. When you play a chord, its strings share this level.

How it’s played
Tap a part to change its value, or a wire to probe it. To add or take out parts, open Modify this circuit, below. Red numbers are DC voltages to ground, not warnings. Scroll or drag to see the whole circuit. Pinch to zoom.
Modify this circuit Add parts, take them out, or put one in series with another, then hear what it does. Tap to open.

Pick what to do, then tap the schematic. Your changes show in purple. Any change can go on a switch beside the knobs, from the menu in its row under Your changes.

Add a part

Tap where each leg goes. Tap both ends of a part to put the new one across that part.

Change a part

With Remove a part on, tap any part of the pedal or amp to take it out, and tap it again to put it back. Tapping a purple part you added deletes it.

Turn on Add in series with a leg and tap a part. In that part’s box, below the schematic, pick which leg to lift and what goes in the gap, such as a resistor between a cap and ground or a stopper in front of a grid.

Change a wire

With Cut into a wire on, tap any wire. Pick a part from the menu and it goes in the gap, wired in. Volume pot puts a pot there with the input on one end, the output on the wiper and the other end to ground.

With Run a wire on, tap a leg, then where the wire goes. Drag any piece of a wire you ran, or of an added part’s lead, to square it up or move it.

Keep and share

Your changes stay in this browser, on this device, for your next visit. Nothing is sent to us. Anyone using this browser can see them. They’re lost if you clear your browsing data or use a private window, so save a file to keep a copy. A shared link carries the circuit after the #, a part browsers never send to a server.

Test tone for the graphs
The graphs use a steady tone. Play sounds a plucked string that dies away.

Input

pickup, unloadedat the pedal input

Output

at the amp input

Probe

Spectrum

Frequency response

What the curves mean

The black curve (white in dark mode) is the response to a very quiet signal, from the generator to the probe. The blue curve is measured with pink noise at the level you set, like an audio analyzer. When stages clip, the blue curve pulls away from the black one and the gray coherence line (right-hand scale) drops below 1. When that happens the response depends on how loud the signal is, and neither curve describes it by itself. Both use the signal generator, whichever Input tab is picked.

Output

Bias

every voltage and current at rest

What to listen for Q1 buffers the guitar. C14 into Q10’s low input cuts the bass below about 1 kHz. Q10’s gain is about 25 dB at 1 kHz, and its collector sits near 1.8 V, so a hard pick clips it on the low side first. Q8, Q9 and Q7 work as an op-amp, with Distortion setting its gain from 1 to about 22. D5 and D6 clip the result to ground at about 0.6 V either way. Low and High are a passive network, so the level drops there, and Q3 makes up a little of it after Level. IC1B passes only the treble, above about 5 kHz. Enhance feeds that treble into IC1A’s minus input, so it comes back inverted, and turning Enhance up also raises IC1A’s gain for the whole signal. The model leaves out the electronic bypass and Output B, which carries the same signal with the effect on.

Download.

Parts and what they do

Stock values. Tap a part on the schematic to change it.

R14, 10 kΞ©
Top of the 4.5 V reference divider.
R13, 10 kΞ©
Bottom of the reference divider.
C07, 47 ¡F electrolytic
Filters the 4.5 V reference.
C01, 100 nF
Input coupling cap.
R01, 1 kΞ©
Input series resistor.
R03, 510 kΞ©
Biases Q1’s base from its divider and sets the input impedance near 510 kΞ©.
R02, 9.1 kΞ©
Top of Q1’s bias divider, about 6.3 V.
R04, 22 kΞ©
Bottom of Q1’s bias divider.
C02, 10 ¡F electrolytic
Filters Q1’s bias divider.
Q1, 2SC1815
Input buffer, an emitter follower.
R07, 10 kΞ©
Q1’s emitter resistor.
C04, 1 ¡F
Coupling cap toward the gain stages. Q5, a JFET switch between it and C14, is drawn as a wire.
R09, 510 kΞ©
Holds the switch’s side of C04 at 4.5 V.
C14, 47 nF
Coupling cap into Q10. Q10’s input is only a few kΞ©, so C14 cuts the bass below about 1 kHz.
R21, 100 kΞ©
From Q10’s base to ground. With R20 it sets Q10’s collector near 1.8 V.
R20, 100 kΞ©
From Q10’s collector to its base. It biases Q10 and pulls its gain down as the collector swings.
C13, 220 pF
Across R20. It rolls off Q10’s gain in the high treble.
R24, 10 kΞ©
Q10’s collector resistor.
Q10, 2SC1815
First gain stage, a common-emitter stage of about 25 dB at 1 kHz. Its collector sits near 1.8 V, so it runs out of room on the low side first.
R26, 220 Ω
Q10’s emitter resistor. With R24 it sets the most gain Q10 can have.
C11, 47 nF
Coupling cap into the discrete op-amp.
R27, 100 kΞ©
Biases Q8’s base at 4.5 V.
Q8, 2SA1015-GR
PNP input pair, the plus input. Its collector drives Q7.
Q9, 2SA1015-GR
PNP input pair, the minus input, where the feedback comes in.
R23, 10 kΞ©
Feeds the input pair’s emitters from 9 V.
R19, 4.7 kΞ©
Q8’s collector load, from Q7’s base to ground.
Q7, 2SC1815
The discrete op-amp’s output transistor, a common-emitter stage.
C10, 47 pF
From Q7’s base to its collector. It keeps the loop stable and rolls off the top end.
R18, 10 kΞ©
Q7’s collector resistor.
Distortion, 100 kΞ© pot, linear taper
Distortion, 100 kΞ© linear. The track from the output end to the wiper is the feedback, the rest plus R83 is the gain leg, so the gain runs from 1 at 0 to about 22 at full.
R22, 10 kΞ©
From the Distortion wiper to Q9’s base.
R83, 4.7 kΞ©
The least resistance in the gain leg. It sets the top gain.
C38, 2.2 ¡F electrolytic
In series with the gain leg, so the stage’s DC gain is 1. With Distortion at full it cuts the gain below about 15 Hz.
C36, 22 nF
Coupling cap to the diodes.
R82, 22 kΞ©
Feeds the diodes and limits their current.
D5, D6, 1N914 / 1N4148, one each way
1S1588 silicon diodes back to back to ground. They hold the signal to about 0.6 V either way.
R81, 47 kΞ©
Top of the Low network.
C35, 4.7 nF
Across the Low pot’s top half. It lets the mids and treble past the pot.
Low, 500 kΞ© pot, reverse audio taper
Low, 500 kΞ© reverse audio. Turned up, its wiper moves toward R81 and more bass passes.
C31, 22 nF
Across the Low pot’s bottom half.
R85, 4.7 kΞ©
Bottom of the Low network.
R84, 22 kΞ©
Joins the Low wiper to the High wiper.
C37, 1 nF
Feeds the treble from the diodes to the High pot.
High, 500 kΞ© pot, linear taper
High, 500 kΞ© linear. Turned up, its wiper moves toward C37 and more treble passes.
C32, 6.8 nF
Bottom of the High pot.
Level, 500 kΞ© pot, linear taper
Level, 500 kΞ© linear, from the tone network to ground.
C08, 47 nF
Coupling cap into Q3.
R17, 510 kΞ©
Holds Q3’s gate at 0 V.
Q3, 2SK30A-O
Make-up gain stage after Level, a 2SK118 JFET with its source resistor unbypassed. Modeled as a 2SK30A of the same grade.
R16, 2.2 kΞ©
Q3’s source resistor. It sets Q3’s current and holds its gain near 1.6.
R15, 5.1 kΞ©
Q3’s drain resistor. The scan reads 510 kΞ©, which would starve Q3, so 5.1 kΞ© is assumed.
C09, 100 nF
Coupling cap out of Q3. Q12, a JFET switch after it, is drawn as a wire.
R08, 510 kΞ©
Holds the effect signal’s line at 4.5 V.
C21, 1 nF
First cap of the treble filter.
R31, 33 kΞ©
From between the filter’s caps to IC1B’s output.
C22, 1 nF
Second cap of the treble filter.
R32, 33 kΞ©
Biases IC1B’s plus input at 4.5 V.
IC1B, JRC4558D
A two-cap high-pass filter. It passes the treble above about 5 kHz and cuts what’s under it by 12 dB for each halving of the frequency.
R30, 13 kΞ©
IC1B’s feedback resistor.
R29, 22 kΞ©
With C12, raises IC1B’s gain to about 1.6 above about 1.5 kHz.
C12, 4.7 nF
In series with R29 to ground.
C34, 15 nF
Feeds the treble to the Enhance wiper.
Enhance, 100 kΞ© pot, reverse audio taper
Enhance, 100 kΞ© reverse audio. Turned up, its wiper moves toward R41, so more treble reaches IC1A and IC1A’s gain rises, about 8 dB at 1 kHz. Turned down, R80 and C33 bleed the treble to ground.
R80, 1 kΞ©
With C33, bleeds the treble to ground with Enhance turned down.
C33, 22 ¡F electrolytic
In series with R80 to ground.
R41, 27 kΞ©
Into IC1A’s minus input, so the treble comes back inverted.
R38, 100 kΞ©
IC1A’s feedback resistor.
C26, 220 pF
Across R38. It rolls off above about 7 kHz.
C23, 47 nF
Coupling cap from the effect signal to IC1A.
R35, 100 kΞ©
Top half of the divider into IC1A’s plus input.
R36, 100 kΞ©
Bottom half of the divider, to 4.5 V.
IC1A, JRC4558D
Mixer. The main signal goes to its plus input at half level, the treble from Enhance to its minus input.
C27, 220 nF
Output coupling cap. Q13, a JFET switch after it, is drawn as a wire.
R28, 510 kΞ©
Holds Output A’s line at 4.5 V.
C25, 100 nF
Coupling cap into Q17.
R33, 510 kΞ©
Biases Q17’s base at 4.5 V.
Q17, 2SC1815
Output A’s buffer, an emitter follower.
R37, 10 kΞ©
Q17’s emitter resistor.
C30, 10 ¡F electrolytic
Output coupling cap.
R39, 470 Ω
In series at the output.
R42, 100 kΞ©
Output pulldown.

About this version

Factory values
The factory drawing PCB-DS-0101A. 2SC1815 and 2SA1015 transistors, an NJM4558D, 1S1588 diodes (the library’s 1N914). R15 is set at 5.1 kΞ©, see its note.

How this tool works. Every part is described by an equation, and the whole circuit is solved several times for each audio sample: 192,000 samples a second while you drag a knob, and 384,000 once you let go. Transistors use the standard Ebers-Moll model, with gain, leakage, base resistance, junction capacitance, temperature and the small rise in current with collector voltage (the Early effect). The charge a transistor stores is worked out at its idle point. That is accurate for small signals and rough while the transistor switches hard. Tubes use Koren’s equations, matched to each type’s datasheet, plus grid current. Diodes use the standard diode equation with series resistance. Presets are typical of each type. Caps are ideal, and the battery or HT is a voltage behind a resistance.

Spot an error, or want a circuit added? Email info@swellamps.com. A schematic or a clear photo of one helps. Anything you send may be used to improve these models and our desktop app.

From Swell Amplification, swellamps.com.