Audio simulation and emulation with LTspice and a simple digital audio system, such as Windows Multimedia Player, gives you a design advantage. But simulation and emulation have their own pitfalls.
The audio files preamplfier_common_source_jfet_lsk489.wav and hard_clipping_jfet_lsk489_15volt.wav are the audio from the output waveforms in Figures 2 and 3. They can be listened to on a DAW or if you’re on a budget on your Windows Media Player which comes preinstalled on almost all PCs. With the LTspice schematic (Figure 1) it is easy to hear how component changes will affect the audio output. Simply change a component rerun the simulation and then listen to the new wav file. You can also easily hear how different sampling rates will affect the audio quality. For example if you want studio recording quality changing the sampling rate parameter of the wave. statement from 16000 to 192000 samples per second (sps) will do the job. But you don’t have to stop there. If you want to hear how your own music will sound you can reconfigure the input source in the LTspice schematic so that it will input your own wav file recordings.
Audio simulation and emulation with LTspice and a simple digital audio system such as Windows Multimedia Players gives pedal designers a tremendous design advantage. Analog emulation eliminates the expense and time associated with hardware prototyping. Analog emulation also opens the door to automated design flows. SPICE scripts can be written that cycle through component values analyse output and report on favourable harmonic outputs. Analog emulation also facilitates an intuitive design approach that can override the time-consuming process of analog circuit analysis. Caution however must be exercised. Digital emulation of audio signals may lose subtle harmonics. However this loss can be overcome if ultra-high digital sampling rates are used. LTspice offers ultra-high sampling rates (Gsps) but for the real world a 192 Ksps with a 24-bit resolution studio quality will do. Other considerations are the quality of the amplifiers in an audio workstation and the headphones used. The sound circuit in the audio workstation should be able to play 192 Ksps music. Care must also be exercised in the circuit design. Analog circuit simulators often don’t report violations of basic circuit design rules that can cause a circuit to fail. For example the gate-to-source voltage of a N-channel JFET should always be less than zero. Large positive excursions above 0 V result in forward biasing the gate-to-source diode junction. An excessive forward bias voltage will eventually result in an inoperable JFET. Most analog circuit simulators do not report a design error if you exceed the maximum drain-to-source voltage. References:
- <a href="http://csserver.evansville.edu/%7Erichardson/courses/Tutorials/audio/AudioProcessing.pdf" \t "_blank" title="see Processing Audio with Octave and LTspice" target="_blank">Processing Audio with Octave and LTspice Author; Dr. Tony Richardson Affiliation: University of Evansville.
- <a href="http://www.geofex.com/effxfaq/distn101.htm" \t "_blank" title="see A Musical Distortion Primer" target="_blank">A Musical Distortion Primer Author: R.G. Keens Publisher: Geo-Fex Cybernetic Music Publication Date: 1993.
- The <a href="http://www.linearsystems.com/lsdata/datasheets/LSK489_LOW_NOISE_LOW_CAPACITANCE_MONOLITHIC_DUAL_N-CHANNEL_JFET.pdf" \t "_blank" title="see LSK489 Data Sheet: Low Noise Low Capacitance Monolithic Dual N-Channel JFET Amplifier" target="_blank">LSK489 Data Sheet: Low Noise Low Capacitance Monolithic Dual N-Channel JFET Amplifier Publisher: Linear Integrated Systems.
- <a href="http://electrostud.wikia.com/wiki/Using_WAVE_files_as_input/output_in_LTSpice" \t "_blank" title="see Using WAVE files as input/output in LTspice" target="_blank">Using WAVE files as input/output in LTspice
- <a href="http://zpostbox.ru/ltspice_tutorial_how_to_use_this_program.html" \t "_blank" title="see LTspice Tutorial -how to use this program" target="_blank">LTspice Tutorial -how to use this program.
- <a href="http://www.tdpri.com/threads/are-fet-based-od-pedals-better-than-op-amp-based.397393/" \t "_blank" title="see Why are JFET based petals better than op amp based petals" target="_blank">Why are JFET based petals better than op amp based petals Publication Date: April 2013 Publisher: Tdpri.com
- <a href="http://cdn.macom.com/applicationnotes/an211a.pdf" \t "_blank" title="see Field Effect Transistors in Theory and Practice Application Note AN211" target="_blank">Field Effect Transistors in Theory and Practice Application Note AN211 Publisher: Motorola Publication Date: 1993 <a href="http://www.diystompboxes.com/smfforum/index.php?topic=87627.0" \t "_blank" title="see FETs versus Tubes: Exploding the Myths" target="_blank">FETs versus Tubes: Exploding the Myths Publisher: Diystompboxes.com Publication Date: October 2010
Mark Stansberry participates in the technology and education industry as a writer, publisher, engineer, educator and technical research and market analyst.