Computer Simulation of Audio Circuits With Vacuum Tubes
Computer Simulation of Audio Circuits With Vacuum Tubes
Computer Simulation of Audio Circuits With Vacuum Tubes
net/publication/305649333
CITATIONS READS
6 1,539
3 authors:
Artur I. Karimov
Petersburg State Electrotechnical University
73 PUBLICATIONS 391 CITATIONS
SEE PROFILE
Some of the authors of this publication are also working on these related projects:
All content following this page was uploaded by Denis Butusov on 14 October 2017.
Abstract—Vacuum tubes are still widespread in modern audio Almost complete overview of guitar amplifier simulation
circuits. The replacement of vacuum tubes with their digital techniques is given in [2]. According to the paper, all
counterparts is an important and nontrivial task. In this paper a simulation methods could be divided on two main branches:
brief overview of methods for analog audio circuits digital black-box approach (it can be called ‘imitation’) and white-
simulation is given. Some techniques to improve the accuracy up box approach (‘modeling’).
to 1% of analog counterpart are proposed, as well as methods to
reduce simulation time up to 5 times comparing to standard Determining idea of the methods from the first branch is to
simulation. find an explicit mathematical formulation of distortion effect
(‘waveshaping’). The main advantage of waveshaping is its
Keywords—digital audio effects; circuit simulation; triode explicitness resulting in comparatively fast computations. But
identification; hardware-targeted method simplified mathematical expressions have no physical
background and hardly lead to realistic sound. Moreover,
I. INTRODUCTION resulting system is memoryless, so sophisticated enhancement
is required to make dynamic response more natural.
Development of computer technologies makes it possible
to replace analog devices with their digital counterparts or Computer simulation is the second branch of emulation
computer programs. This is especially important in a case of techniques, and it does not suffer from most of disadvantages
special hardware that produces different musical effects. Thus noted above. But high accuracy of computations demands high
a musician gets all advantages of digital electronic against computational costs, because underlying circuit equations are
analog: great flexibility in tuning, portability, small size and nonlinear and stiff.
little power consumption.
One computational-effective approach is called DK-
The only weak point is a quality of simulation that often is method (‘D’ stands for ‘discrete’, ‘K’ for ‘Kirchhoff’), it is
supposed to be as unsatisfactory. Some nonlinear effects make based on the idea to solve differential and algebraic parts of
real challenge to engineers because they are produced by circuit equations separately [3]. DK-method implies that all
electronic components with complex multifactor behavior. energy-storing components like inductors and capacitors are
Examples of such analog devices are distorting guitar first discretized with certain numerical method. But it is
amplifiers or Moog ladder filter. possible for only few integration methods.
In this paper practical aspects of guitar preamplifier The last simulation approach is the direct solution of
simulation are considered. In section II we make brief differential-algebraic equations (DAE). That makes possible to
overview of simulation techniques and point their straights implement any method solving DAEs. This approach is time
and weaknesses. In section III we present the case study — consumptive but the most precise as well.
tube preamp simulation. Section IV contains the comparison
of simulation results and analog prototype circuit III. CASE STUDY: TUBE PREAMPLIFIER SIMULATION
measurement; some corrections are applied to the model.
Finally, in Section V, conclusion and discussion are given. For computer simulation we replace the triode with
equivalent circuit of two voltage-controlled current sources
connected as shown at figure 1. Capacitor Cgp represents
II. DIGITAL EMULATION TECHNIQUES FOR DISTORTION EFFECT parasitic capacitance between grid and plate of triode. Triode’s
Electric guitars are mostly used with sound modulators current-voltage curve can be approximated with power
such as overdriving and distorting devices. Constructively the function, but several more complex models were developed
last can be implemented as preamplifiers of dedicated guitar for computer circuit simulation.
amplifiers or effect pedals. Tube amplifiers are considered to
giving the most ‘pleasant’ sound and it is almost unreachable
with analog semiconductor devices [1]. For above-stated
reasons digital emulation of vacuum tube amplifiers is one of
the most challenging and promising tasks in the field of digital
audio systems engineering.
Lobatto IIIC replaced with linear filter (2-nd order low pass IIR filter was
5 Euler used with fitted coefficients).
Euler(2) serial 50
4
Euler(2) parallel
45
3 Radau IA
40
2
35
Amplitude Spectrum, dB
1 30
0 25
1 0 -1
10 10 10 20
RMS error, V
15
Decomposition
Fig. 2. Comparison of numerical methods for triode stage simulation problem. 10 Decomposition, 1st stage as filter
Euler-2 is an extrapolation implicit Euler method of order 2
Full schematic
5
Input Signal
In our study the different numerical methods were
0
compared for a single stage: implicit Euler’s method in 10
2
10
3
10
4
10 10
Node voltage, V
Node voltage, V
0 0
-10 -10
#6 - measurement #6 - measurement
-20 #7 - measurement #7 - measurement
-20
#6 - model #6 - model
#7 - model #7 - model
-30 -30
0 0.005 0.01 0.015 0.02 0.025 0 0.005 0.01 0.015 0.02 0.025
Time, sec Time, sec
a) b)
Fig. 4. Comparison between two parameter sets: initial, obtained from static voltage-current triode curve approximation, and optimized, based on transient analysis
data fitting