The present invention refers to a non-linear control method of an input signal for a loudspeaker based on numerical modeling of the transduction process.
A loudspeaker is a transducer, i.e. a device capable of converting a physical quantity at its input, e.g. a current or a voltage, in another output by altering some characteristics that identify it. In particular, an electrical signal is converted into sound waves and the physical transduction mechanism can be described by a non-linear modeling to describe, for example, a harmonic distortion and a modulation of the electrical input signal due to the excursion of the moving parts and to the coil current
Non-linearities of the transduction process are alleviated or controlled through three different methods:
The scope of the present invention is to at least partially solve the disadvantages mentioned above.
The purpose of the present invention is achieved through a method for controlling a loudspeaker having an electromechanical force transducer and a diaphragm comprising the steps of:
The method of the present invention, belonging to the third family mentioned above, proposes a representation which reduces the computational complexity, e.g. avoiding iterative calculation algorithms of the state of the art, through WDFs, which are instead directly computable through e.g. a binary tree structure.
In addition, a new method of inversion of the model based on the use of a nullor applied to a ‘direct’ electromechanical model of the loudspeaker is also advantageously introduced. This solves the main limitations existing today for physical model-based methods of the transduction process:
In particular, the non-linear model of the inverse system is obtained through the following steps:
The first direct model is preferably characterized by a desired property in the transduction process, such as one between the desired frequency response and/or a desired excursion-dependent force factor and/or a desired excursion-dependent mechanical stiffness and/or a desired inductance dependent on the excursion of the force transducer.
In particular, the first model limits the peaks of an input signal in order to avoid damage to the transducer, for example due to excessive movement, or to emulate a loudspeaker having known acoustic and/or electrical and/or mechanical characteristics known and different from those of the loudspeaker receiving the signal or the like.
Preferably, the aforementioned non-linear electromechanical model includes speaker parameters belonging to an electrical domain, at least one resistance and one impedance of a transducer coil; and to a mechanical domain, at least one elastic parameter such as stiffness, a damping and a moving mass of the transducer, the electrical and mechanical domain being coupled through a first conversion factor which relates an electromagnetic force applied to said moving mass with a counter electromotive force generated in the coil by the movement of the mass.
In this way, it is possible to express important non-linearities, such as those of inductance, of the elastic parameter and of the electromechanical conversion factor.
According to a preferred embodiment, the electromechanical model comprises at least one parameter of an acoustic domain, at least one acoustic impedance, the acoustic domain being coupled to the electrical and mechanical domains via a second conversion factor which relates to acoustic pressure waves generated from the diaphragm with a force applied by the transducer to the diaphragm.
The inclusion of an acoustic domain in the electro-mechanical model allows to increase the accuracy of the model itself.
Preferably the aforesaid method described above is combined with an adaptation step over time of one or more parameters of the electromechanical model based on an amplified analog output signal of the electromechanical model by means of an estimator.
In this way, the model can take into account the evolution over time of the value of some parameters.
Further characteristics and advantages of the present invention are indicated in the following description and in the claims.
The electrical part of the model includes the series of the following elements:
The mechanical part includes the series of the following elements:
The acoustic part, specialized for modeling the behavior of a closed volume, includes the following elements:
The configuration of the acoustic part described here represents a loudspeaker in a closed box, variations to this configuration are known in the state of the art and easily derivable e.g. as expressed in
The solution of the present invention consists in a method for processing a digital audio signal to alter the acoustic signal produced by a loudspeaker allowing to reduce the non-linear distortion generated by the loudspeaker or by imposing on the loudspeaker the linear or non-linear behavior of another speaker model.
Furthermore, it is necessary to consider the composition of the model in a purely explanatory way as indicated in
The DSP receives and processes a digital audio signal by applying a first and a second non-linear mathematical model: for example, the processor can apply a first non-linear digital filter to set a desired non-linear characteristic on the audio signal and, subsequently, to set another nonlinear compensating feature, e.g. linearizes, the non-linear characteristic of the speaker through the second mathematical model. According to a preferred embodiment of the invention, the digital signal processor also includes an estimator that receives the amplified signal and estimates the constituent parameters of the non-linear digital filter that compensates for the non-linear characteristic of the loudspeaker. The presence of the estimator is optional, since the system can also operate using the nominal parameters of the loudspeaker.
The pre-distorted signal is converted into an analog signal using a digital-to-analog converter (DAC) and subsequently amplified by means of an amplifier. The amplified signal drives the loudspeaker to produce an acoustic output signal. The loudspeaker includes a dynamic direct radiation loudspeaker operating in a closed box. The amplified signal is also used as the estimator input. The DSP is made by means of a hardware (a processor) which executes a suitable software loaded on a memory that can be read by the processor to perform the digital signal processing operations described below.
First Mathematical Model: Non-Linear Target Filter (FT)
The target nonlinear digital filter receives the digital audio signal in input, applies the nonlinear filter based on the parametric model of the loudspeaker to the input signal to produce a filtered digital signal and finally outputs the pre-distorted signal with the desired non-linear characteristic, in order to be received and processed by downstream components. The non-linear target digital filter is implemented using a WDF system, described below. The non-linear target digital filter imposes on the audio signal a desired non-linear characteristic (target) which, for example, prevents overshooting of the transducer thus increasing its life time.
The WDF implementation is based on the local constitutive relationships of the single-port elements that constitute the loudspeaker model in the continuous-time domain, as shown in the following table, in which the nomenclature of the elements refers to
The dependent generators form two double-port elements. The first double-port element is an ideal rotator with a rotation ratio equal to Bl. In the continuous-time domain it is possible to write its constitutive relations
Vcm(t)=Ims(t)Bl,Vme(t)=Ie(t)Bl, (1)
where Vcm(t) represents the counter-electromotive force in the electrical domain, and Vme(t) represents the force in the mechanical domain.
The second double-port element is an ideal transformer with a transformation ratio equal to Sd. In the continuous-time domain its constitutive relations are
Vma(t)=Vout(t)Sd,Iam(t)=Ims(t)Sd, (2)
where Vma(t) is the reaction force impressed by the acoustic load on the mechanical domain and Iam(t) is the volumetric velocity in the acoustic domain.
The overall system to numerical wave is shown in
The implementation of systems WDF containing multiport elements in the solution described here consists in connecting the dependent generators to a 3-port junction, as shown in the binary connection tree in
b1=v1+Z1j1,a1=v1−Z1j1, (3)
b2=v2+Z2j2,a2=v2−Z2j2, (4)
b3=v3+Z3j3,a3=v3−Z3j3, (5)
where b1, b2 and b3 are the incident waves and a1, a2, a3 are the waves reflected by the junction. The scattering matrix of the junction is obtained with methods known in the state of the art, obtaining:
obtained, obtaining for junction S1
The scattering matrix of the junction S3 is
The scattering matrix of the junction S2 is
The scattering matrix of the junction 1 is
Given the constitutive relationships shown above, the single-port elements of the loudspeaker model can be implemented as numerical wave elements as shown in the table below, where k denotes discrete time, Ts denotes sampling period and Fs=Ts−1 indicates the sampling frequency.
While the following table shows the numerical wave implementation of the junctions, which uses the scattering matrices defined in Equations (6)-(10).
[b4, b5, b6]T
[b7, b8, b9, b10]T
[b11, b12, b13]T
[b14, b15, b16]T
[b1, b2, b3]T
The WDF implementation shown in
The output signal Vout[k] equivalent to the pressure produced by the transducer is estimated as
Time-Varying Parameters
Some parameters of the speaker model are not time-invariant, but depend on the x(t) signal equivalent to the physical displacement of the coil in the transducer. In particular, the parameters Bl, Kms and Le are non-linear functions of the signal x(t). In the known art these functions are modeled as polynomials. This aspect is problematic since if the excursion x(t) exceeds the interval of
validity of the polynomial representation, extrapolation based on the polynomial model can lead to unrealistic evaluations of the parameters Bl, Kms and Le. For this reason, in our solution we use functions that best approximate the nonlinear functions Bl(x), Kms(x) and Le(x) in the entire domain of the signal x(t). The function Bl(x) is modeled as a Gaussian type function, the Le(x) function is modeled as a sigmoid type function, the Kms(x) function is modeled as a linear combination of exponential functions. The non-linear force factor is updated with each sample by evaluating the function Bl(x) in {circumflex over (x)}[k]. In the case of non-linear and time-variant inductance Le, the proposed numerical wave realization is where L′e[k] represents the numerical derivative of Le(x(t))
Considering the time-varying non-linear stiffness, the proposed numerical realization is
where K′ms[k] is the numerical derivative of Kms(x(t))
Kms′[k]=KmsαKmsβ exp(Kmsβ{circumflex over (x)}[k])+KmsγKmsλ exp(Kmsλ{circumflex over (x)}[k]). (17)
Second Mathematical Model: Inverse Nonlinear Filter (FI)
The inverse non-linear digital filter receives the output of the target non-linear digital filter at its input, applies the inverse non-linear filter based on the parametric model of the speaker to produce a filtered digital signal, and outputs the pre-distorted signal with the characteristic desired non-linear, compensating for the non-linear characteristic of the transducer, in order to be received and processed by the other components of the system. The inverse non-linear digital filter is implemented using a digital wave system, described below. The parameters of the inverse nonlinear digital filter are received by the estimator block, described later. Preferably, the structure of the model before the inversion is the same as that of the first model with the addition of a null, as explained in more detail below. Instead, the parameters of the second model are suitably different from those of the first model to adapt to the construction characteristics of the speaker e.g. of the transducer.
The proposed invention realizes the inverse system by manipulating the equivalent circuit of the speaker shown in
The equivalent circuit of the transduction process, shown in
Considering the properties of the nullor, it can be observed that the circuits of
To obtain an inverse circuit that allows, with reference to
The circuits in
This result is known in the literature. C.f.r. A. Leuciuc, “The realization of inverse system for circuits containing nullors with applications in chaos synchronization”, Int. J. Circ. Theor. Appl., 26, 1-12 (1998).
The scattering matrix of the junction, which in this case (considering the different topology) has five gates, is defined as
Output Signals and Status Signals
The status and output signals are computed from the incident and reflected waves computed by the computational flow described above.
The input signal is represented by the variable v3. The output signal Vout[k] equivalent to the transducer input voltage which cancels its non-linear behavior is Vout[k]=v1.
Estimator
It is known that the parameters that describe the behavior of the transducer are variable over time depending on the electrical energy entering the transducer. In particular, the parameters most sensitive to variations are the electrical resistance Re and the Kms value (x=0) which describes the stiffness at rest of the transducer suspensions. The estimator is responsible for inferring the variation of these two parameters as a function of time, using the voltage Ve(t) and the current Ie(t) in input to the transducer as input signals.
The estimation of Re(t) and Kms(x=0, t) is performed by the following algorithm.
1. Estimate of Re. We consider the estimate R{circumflex over ( )}e and two perturbations of the estimate R{circumflex over ( )}e±δR. The non-linear target digital filter is used to predict the current entering the transducer. The three estimated currents are compared with the measured current. The resistance value that returns the smallest error between the measured current and the estimated current is selected.
2. Estimate of Kms(0). We consider the K{circumflex over ( )}ms (0) estimate and two perturbations of the K{circumflex over ( )}ms (0)±δK estimate. The non-linear target digital filter is used to predict the current entering the transducer. The three estimated currents are compared with the measured current. The stiffness value is selected which gives the smallest error between the measured current and the estimated current.
Remaining Parts of the System
The pre-distorted signal with the desired non-linear characteristic, compensating for the non-linear characteristic of the transducer and adapting the parameters Re and Kms (x=0) is converted into the analog domain by a digital/analog converter and then amplified with a audio amplifier. The amplified signal constitutes the transducer input that allows you to obtain the desired acoustic output. The amplified signal is also used as an input from the estimator.
Finally, it is clear that it is possible to make changes or variations to the method described and illustrated here without departing from the scope of protection as defined by the attached claims.
Number | Date | Country | Kind |
---|---|---|---|
102020000024175 | Oct 2020 | IT | national |
Number | Name | Date | Kind |
---|---|---|---|
20030142832 | Meerkoetter | Jul 2003 | A1 |
20150249889 | Iyer | Sep 2015 | A1 |
20150382100 | Azmi | Dec 2015 | A1 |
20170318390 | Bjork | Nov 2017 | A1 |
Entry |
---|
ISR for International Application PCT/IB2021/059442 dated Jan. 18, 2022. |
Written Opinion for International Application PCT/IB2021/059442 dated Jan. 18, 2022. |
Dietrich Franken, et al.: Passive Parametric Modeling of Dynamic Loudspeakers: IEEE Transactions on Speech and Audio Processing: vol. 9: No. 8: Nov. 1, 2001: pp. 885-891. |
Dietrich Franken, et al.: “Observer-Based Feedback Linearization of Dynamic Loudspeakers with AC Amplifiers”: vol. 13: No. 2: Mar. 1, 2005: pp. 233-242. |
Wolfgang Klippel: “Direct Feedback Linearization of Nonlinear Loudspeaker Systems”: vol. 46: No. 6: Jun. 1, 1998: pp. 499-507. |
Adrian Leuciuc: “The Realization of Inverse System for Circuits Containing Nullors with Applications in Chaos Synchronization”: vol. 26: No. 1: Jan. 1, 1998: pp. 1-12. |
Matti Karjalainen, et al.: “Special Digital Filters for Audio Reproduction”: Conference: AES 32nd International Conference: DSP for Loudspeakers: Sep. 2007: AES, 60 East 42nd Street, Room 2520 New York: 10165-2520: Sep. 1, 2007. |
Kurt James Werner, et al.: “Wave Digital Filter Modeling of Circuits with Operational Amplifiers”: 2016 24th European Signal Processing Conference (EUSIPCO): Aug. 29, 2016: pp. 1033-1037. |
Number | Date | Country | |
---|---|---|---|
20220116713 A1 | Apr 2022 | US |