- Review Article
- Open Access
Analysis, Synthesis, and Classification of Nonlinear Systems Using Synchronized Swept-Sine Method for Audio Effects
EURASIP Journal on Advances in Signal Processing volume 2010, Article number: 793816 (2010)
A new method of identification, based on an input synchronized exponential swept-sine signal, is used to analyze and synthesize nonlinear audio systems like overdrive pedals for guitar. Two different pedals are studied; the first one exhibiting a strong influence of the input signal level on its input/output law and the second one exhibiting a weak influence of this input signal level. The Synchronized Swept Sine method leads to a Generalized Polynomial Hammerstein model equivalent to the pedals under test. The behaviors of both pedals are illustrated through model-based resynthesized signals. Moreover, it is also shown that this method leads to a criterion allowing the classification of the nonlinear systems under test, according to the influence of the input signal levels on their input/output law.
Various classical analog audio effects fall into the category of nonlinear effects such as compression, harmonic excitation, overdrive, or distortion for guitars. Digital emulations of nonlinear audio effects can be obtained when using a suitable nonlinear model. Such nonlinear models are available in the literature, for example, Volterra model , neural network model , MISO model , NARMAX model , hybrid genetic algorithm , extended Kalman filtering , or particle filtering .
A new method for the identification of nonlinear systems, based on an input exponential swept-sine signal has been proposed by Farina et al. [8, 9]. This method has been recently modified for the purpose of nonlinear model estimation  and allows a robust and fast one-path analysis and identification of the unknown nonlinear system under test. The method is called Synchronized Swept Sine method as it uses a synchronized swept sine signal for identification.
A nonlinear effect can be modeled either by a simple static nonlinear input/output law, where each input amplitude is directly mapped to an output amplitude (nonlinear system without memory), or on a more complex way by nonlinear laws which take memory into account, meaning that the memoryless nonlinearities and the linear filtering are mixed. Moreover, several nonlinear audio effects include amplifiers, the gain of which is automatically controlled by the level of the input signal . In other words, the performance of nonlinear systems with memory may also depend on parameters of the input signal, such as its level or its past extrema, as for the hysteretic systems .
This classification of nonlinear systems according to the influence of the input signal parameters on the input/output law leads to a similar classification of the identification methods. The methods for identification of static nonlinearities indeed do not require the same level of model complexity as methods used for nonlinear systems with memory or with gain control.
In this paper, it is shown that the Synchronized Swept Sine method is suited to analyze, classify, and synthesize the nonlinear systems under test. In the frame of this work, two different overdrive pedals have been tested; the first one exhibiting a strong influence of the input signal level on its input/output law and the second one exhibiting a weak influence of this input signal level.
In Section 2, Synchronized Swept Sine method is shortly presented. This method leads to a nonlinear model (Section 3), made up of several branches, each branch consisting of a nonlinear function and a linear filter. The nonlinear functions are chosen as a power series that makes the model equivalent to a Generalized Polynomial Hammerstein (GPH) model. Next, the measurements on overdrive pedals are presented in Section 4. The behaviors of both systems are illustrated through model-based resynthesized signals. Finally, in Section 5, we propose a criterion based on the GPH model to classify the nonlinear systems according to the importance of the influence of the input signal parameters on the input/output law of the system under test.
2. Analysis of Nonlinear Systems
The nonlinear system identification method used in this paper is based on an excitation by a swept-sine signal (also called chirp) exhibiting an exponential instantaneous frequency . This so-called Synchronized Swept-Sine method allows the identification of a system in terms of harmonic distortion at several orders. This identification is conducted in several steps.
First, an exponential swept-sine signal is generated and used as the input signal of the nonlinear system under test. The excitation swept-sine signal is defined as
and being start and stop frequencies, and being the time length of the swept-sine signal. The rounding operator is necessary to synchronize the swept-sine signal for higher-order contributions with linear component as depicted in Figure 1. This condition is necessary for the model identification and for a proper reconstruction of the output signal.
Then, the distorted output signal of the nonlinear system is recorded for use in the so-called nonlinear convolution . Next, the signal denoted is derived from the input signal as its time-reversed replica with amplitude modulation in such a way that the convolution between and gives a Dirac delta function . The signal is called the inverse filter .
Finally, the convolution between the output signal and the inverse filter is performed, leading to
where are the higher-order impulse responses and are the time lags between the first and the th impulse response. Since the result of convolution consists of a set of higher-order impulse responses that are time shifted, each partial impulse response can be separated from each other.
The set of higher-order nonlinear impulse responses can also be expressed in the frequency domain. The frequency response functions of the higher-order nonlinear impulse responses are then defined as their Fourier transforms
The frequency responses represent the frequency dependency of the higher-order components. may be regarded as the system frequency response, when considering only the effect of the input frequency on the th harmonic frequency of the output. The theoretical background of the Synchronized Swept-Sine method is detailed in .
3. Model Identification
In this section, the frequency responses described in the previous section are used for a nonlinear model based on a multiple-input single-output (MISO) model . The structure of this model is shown in Figure 2. It is made up of parallel branches, each branch consisting of a linear filter . The input signals are known as linear and/or nonlinear functions of chosen by the user.
The output signal of the nonlinear system can then be expressed as
where is the number of the input signals of the MISO-based nonlinear model, and where is the impulse response related to the th branch of the MISO based nonlinear model
The linear filters (or equivalently the impulse responses ) have then to be identified, using the previously estimated . This identification consists in solving a linear system of equations using the least-squares method. First, the coefficients of Discrete Fourier Series of the functions are calculated as
for an input signal being a discrete-time harmonic signal of length . Next, the following set of linear equations with unknown is solved
for ( being the number of harmonics taken into account), , and being the residue. As , there can be more equations than unknowns. To solve the set of equations (8) for , the least-squares algorithm  is applied, minimizing the residue .
If the functions are improperly chosen and/or if at least one of the input signals is missing, the value of the residue increases drastically, which makes an a posteriori criterion for the choice of the input signals .
If one of the nonlinear functions produces high harmonic distortion components, nonlinear aliasing  can appear. This can be avoided by choosing the nonlinear functions according to any mathematical series. The most used series is the one based on the power series, such as
A model with inputs chosen as power series is equivalent to the Generalized Polynomial Hammerstein (GPH) model  with branches. In such a case, the nonlinear aliasing can be controlled by the frequency range. The highest frequency must not exceed , where is the sampling frequency. The lowest frequency limit is as well given by the highest power function . The filters are indeed valid only in the frequency band . For that reason, the model should be preceded by a bandpass filter as shown in Figure 3. The amplitude limitation is as well given by the excitation signal used for the analysis. As the nonlinear system is tested using an excitation signal , the level of which does not exceed the amplitude , the nonlinear system is valid only for an input signal not exceeding .
4. Experimental Measurements: Analysis and Synthesis
In a previous work, the Synchronized Swept-Sine method has been used to model the limiter part of a dynamic processor . Results have shown the ability of the method to estimate very hard distortions with a good accuracy within the whole frequency range. In this section, the same method is tested on two real-world analog audio effects devices exhibiting weak distortions. Both devices under test are overdrive effect pedals. The first one is an Ibanez Tube Screamer ST-9 , the second one is a home-made overdrive pedal, the electric circuit diagram of which being depicted in Figure 4. These pedals exhibit different nonlinear performances, as investigated below.
The experimental measurement consists of two steps: (a) identification of the nonlinear system under test through the GPH model as described in the previous section and (b) comparison of the output signals of both the nonlinear system under test and the GPH model when excited with the same signal.
For the first step, the measurement setup is as follows: the sampling frequency used for the experiment is kHz and the excitation signal is sweeping from Hz to kHz with a maximum amplitude V. The filters of the GPH model are then estimated.
The second step is the validation of the model for several input levels. To analyze the accuracy of the GPH model, the following test is performed. An input signal is provided to the inputs of both the real-world analog effect device and its corresponding GPH model, and both outputs are compared in the time and frequency domains. The input signal is a sine-wave with frequency Hz and amplitude that varies from V to V with step V. Regarding distortion measurements, we choose to test the accuracy of the method through the weighted harmonic distortion (HI-2) that takes into account the higher-order components more than the classical harmonic distortion .
4.1. Computing Complexity versus Accuracy
The choice of the number of branches of the GPH model is a key parameter which may influence the accuracy of the identification. The higher the value of the higher the accuracy but the higher the computing complexity. To choose an optimal value of , the Ibanez Tube Screamer is firstly tested for different values of . Then, the HI-2 is calculated for both output signals, the output of the real-world system and the GPH model-based output, when excited with a sine wave with frequency Hz and amplitude V.
Both the HI-2 difference, noted HI-2 and given in dB, and the relative computing complexity CC are presented in Table 1. The CC is defined as the computational time needed to generate the output of the GPH model with branches, normalized by the computational time needed to generate the output of a GPH model for (linear system case). (The simulation is made in Matlab for kHz and for a signal with a number of samples equal to .)
As shown in Table 1 (for the nonlinear system under test), the choice is a good candidate for an optimal value between the accuracy and the computational time. Increasing does indeed not increase the accuracy of the model, but increases the computational time. As the model is made up of parallel branches (each branch including the same computing complexity), the computational time is directly proportional to .
4.2. Ibanez Tube Screamer Overdrive Pedal
The first nonlinear system under test is an overdrive effect pedal Ibanez Tube Screamer  (pedal 1). The pedal has been configured as follows: Drive = , Level = , Mid Boost = , and Tone = . Driving input level is attenuated by 25 dB before exciting the nonlinear system under test.
The outputs corresponding to an input sine wave with Hz and V are shown in Figure 5, in both time and frequency domains. The HI-2 is dB for the real-world output and dB for the model output (), that illustrates a very good accuracy of the identification method.
The HI-2 for both model and real-world system are compared in Figure 6, when measured with increasing input signal level (from V to V). The HI-2 fits only for the maximum input level V, corresponding to the level of the signal used for the estimation of the . For other levels V, discrepancies between the HI-2 spread from 4 to 8 dB. For example, the responses of the GPH model and the real-world device to a sine wave, the amplitude of which is V, is given in Figure 7, in both time and frequency domains. The regenerated output signal, based on the GPH model estimated for V, does not fit with the real-world output signal. The HI-2 is dB for the real-world output and dB for the model output.
As a consequence, the nonlinear system under test (Ibanez Tube Screamer) can be seen as a nonlinear system whose input/output law is driven by the input level . Nevertheless, when the amplitude of the input signal is the same as the amplitude used for the identification of the nonlinear system, the GPH model-based output fits well with the real-world output. This is illustrated in Figure 8 for the case V. The HI-2 is then dB for the real-world output and dB for the GPH model-based output.
4.3. Home-Made Overdrive Pedal
The second nonlinear system under test is a home-made overdrive pedal, noted pedal 2, exhibiting lower dependency on input level. The circuit diagram of the pedal 2 is presented in Figure 4. The same configuration and analysis as those described in Section 4.2 have been setup.
The outputs corresponding to an input sine wave of Hz and V are shown in Figure 9. The HI-2 is dB for the real-world output and dB for the GPH model output. As for the case of pedal 1, it illustrates a very good accuracy of the identification method. The outputs corresponding to an input sine wave of Hz and V (Figure 10) show also a good agreement even if the amplitude of the input signal differs of the amplitude V used for the identification of the nonlinear system. The HI-2 is dB for the real-world output and dB for the model output.
As illustrated in Figure 11, the difference HI-2 between both HI-2 is less than 2.5 dB for all the input levels . Thus, such a nonlinear system represents a system whose input/output law is not driven by the input level . For such a nonlinear system, the presented identification method with GPH model can be used for both analysis and synthesis.
5. Classification of Input Level (In)Dependent Nonlinear Systems
In the previous section, two real-world nonlinear systems, exhibiting different nonlinear behaviors have been identified thanks to the Synchronized Swept Sine method. The input/output law of the first system under study (pedal 1) is driven by the input level , while the input/output law of the second one (pedal 2) is independent of this input level. In the following, we call "input level dependent" the first kind of nonlinear system and "input level independent" the second one.
A key point of the method of identification presented in this paper is its capacity to distinguish both kinds of nonlinear systems through its ability to synthesize the output signals from any given input signal. Then, the classification of nonlinear systems in these two categories (input level dependent and input level independent) is performed here thanks to the Synchronized Swept-Sine method. A criterion based on the analysis of impulse responses of GPH model is used to perform this classification.
More specifically, we show that analyzing only the first branch (linear part) of the model is sufficient to classify both kinds of nonlinear systems. The linear impulse response is firstly estimated for and for several input levels V, noted ; denoting the input of the index level. Then, if the nonlinear system under test is an "input level dependent" one, the impulse responses are expected to be different from each other. On the contrary, if the nonlinear system under test is an "input level independent" one, the impulse responses are expected to be very close each other.
In Figures 12 and 13, the impulse responses of the first branch of the nonlinear model are depicted for different input levels, for the case of pedals 1 and 2 respectively. Using these results, we propose to define the following relative squared error (RSE) based criterion for classifying the nonlinear systems under test,
where is the average impulse response,
The RSE measures the mean-squared distance between the average impulse response and the impulse responses .
For the case of pedal 1, we have max(RSE) = 10, whilst for the case of pedal 2, max(RSE) = 1.3. This order of magnitude between both values clearly allows to classify the input level dependent and input level independent nonlinear systems under test.
In this paper, a recently proposed method  is tested for classifying, analyzing, and synthesizing two nonlinear systems (overdrive effect pedals) exhibiting different nonlinear behaviors. The method for identification of nonlinear systems is based on synchronized swept-sine signal and allows the identification of nonlinear system under test in a one-path measurement.
The classification is indispensable for distinguishing nonlinear systems whose input/output law is driven by input level, and nonlinear systems whose input/output law is independent of the input level.
Two nonlinear systems have been tested: the first one corresponding to a nonlinear system whose input/output law is driven by the input level and the second being a nonlinear system whose input/output law is independent of the input level. For the latter (pedal 2), the results show that the method is useful for both analysis and synthesis. The comparison between the synthesized and real-world signal shows very good agreement in both time and frequency domains. The same agreement is shown by comparing the weighted harmonic distortion HI-2 .
In the case of input level dependent nonlinear system (pedal 1), it is shown that when the identification is carried out from a signal with input level , the model is very accurate only when the amplitude of the input signal to be synthesized is . Thus, for a whole analysis of such a system, the frequency responses have then to be estimated for different input levels , leading to 2D frequency response functions (FRF) .
Works are now in progress to implement the FRF into the nonlinear model in order to synthesize such systems for any input signals.
Schetzen M: The Volterra and Wiener Theories of Nonlinear Systems. John Wiley & Sons, New York, NY, USA; 1980.
Nelles O: Nonlinear System Identification: From Classical Approaches to Neural Networks and Fuzzy Models. Springer, Berlin, Germany; 2001.
Kusaka H, Kominami M, Matsumoto K, Tashiro Y: Performance improvement of CDMA/QPSK systems with nonlinear channel using decision feedback equalizers. Proceedings of the 5th IEEE International Symposium on Spread Spectrum Techniques & Applications, September 1998 812-817.
Thouverez F, Jezequel L: Identification of NARMAX models on a modal base. Journal of Sound and Vibration 1996, 189(2):193-213. 10.1006/jsvi.1996.0015
Chen Y-W, Narieda S, Yamashita K: Blind nonlinear system identification based on a constrained hybrid genetic algorithm. IEEE Transactions on Instrumentation and Measurement 2003, 52(3):898-902. 10.1109/TIM.2003.814354
Sorenson HW: Kalman Filtering: Theory and Application. IEEE Press, Montvale, NJ, USA; 1985.
Cappe O, Godsill SJ, Moulines E: An overview of existing methods and recent advances in sequential Monte Carlo. Proceedings of the IEEE 2007, 95(5):899-924.
Farina A, Bellini A, Armelloni E: Non-linear convolution: a new approach for the auralization of distorting systems. Proceedings of the 110th Audio Engineering Society Convention, May 2001, Amsterdam, The Netherlands
Farina A: Simultaneous measurement of impulse response and distortion with a swept-sine technique. Proceedings of the 108th Audio Engineering Society Convention, February 2000, Paris, France
Novák A, Simon L, Kadlec F, Lotton P: Nonlinear system identification using exponential swept-sine signal. IEEE Transactions on Instrumentation and Measurement 2010, 59(8):2220-2229.
Zölzer U: DAFX: Digital Audio Effects. John Wiley & Sons, New York, NY, USA; 2002.
Bertotti G, Mayergoyz ID: The Science of Hysteresis. Academic Press, Boston, Mass, USA; 2006.
Strang G: Introduction to Applied Mathematics. Wellesley-Cambridge Press, Cambridge, Mass, USA; 1986.
Zhu Y: Generalized sampling theorem. IEEE Transactions on Circuits and Systems II 1992, 39(8):587-588. 10.1109/82.168954
Janczak A: Identification of Nonlinear Systems Using Neural Networks and Polynomial Models: A Block-Oriented Approach. Springer, Berlin, Germany; 2005.
Ibanez ST 9 : Super Tube Screamer. 2007, http://www.ibanez.com/Electronics/model-TS9DX
Klippel W: Measurement of Weighted Harmonic Distortion HI-2. In Application Note. Klippel GmbH; 2002.
This work was supported by the French regionPays de la Loire. The authors would like to thank J. B. Doc and J. C. Le Roux for their help in selecting two overdrive pedals, and to the anonymous reviewers for their helpful comments.
About this article
Cite this article
Novak, A., Simon, L. & Lotton, P. Analysis, Synthesis, and Classification of Nonlinear Systems Using Synchronized Swept-Sine Method for Audio Effects. EURASIP J. Adv. Signal Process. 2010, 793816 (2010) doi:10.1155/2010/793816
- Nonlinear System
- Input Signal
- Input Level
- Inverse Filter
- Hammerstein Model