METHOD FOR THE NON-LINEAR CONTROL OF AN INPUT SIGNAL FOR A LOUDSPEAKER

Information

  • Patent Application
  • 20220116713
  • Publication Number
    20220116713
  • Date Filed
    October 14, 2021
    3 years ago
  • Date Published
    April 14, 2022
    2 years ago
Abstract
A method for controlling a loudspeaker having an electromechanical force transducer and a diaphragm by:
Description
TECHNICAL FIELD

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.


BACKGROUND

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:


feedback-based methods;


methods based on functional representation;


physical model-based methods of the transduction process.


The limit of the first family of methods lies in the need to use sensors to measure mechanical signals to be used in the feedback loop (typically acceleration or speed of the moving parts): the use of these sensors poses implementation problems due to the addition of a mass additional to the mobile unit and the need to compensate for the non-linearities introduced by the sensor itself.


The second family of methods is based on a representation of non-linear behavior using generic functional forms (Volterra, Hammerstein or Wiener systems) to estimate the variables of the system's state. The limit of this family of methods lies in the need to truncate the functional representation to limit the complexity of the estimation of the elements necessary to represent the terms above the second degree.


The third family of methods is based on a non-linear physical model of the transduction process. This representation allows to overcome the disadvantages of methods based on functional representation, at the cost of an increase in computational complexity.


Document ‘Passive parametric modeling of dynamic loudspeakers’, D. Franken et al., IEEE Transactions on speech and audio processing, NY vol. 9, no. 8, XP011054138 ISSN: 1063-6676 discloses a direct model of a loudspeaker without an wave digital filter inverse model. A direct model alone cannot linearize non-linearities such as inductance and/or the stiffness of the transducer and/or the force factor of the controlled generator used to simulate the coupling of the electric circuit model and the mechanical circuit model.


Document ‘Observer-based feedback linearization of dynamic loudspeakers with AC amplifiers’, D. Franken et al. IEEE Transactions on speech and audio processing, NY vol. 13, no. 2, XP055816411 ISSN: 1063-6676 DOI: 10.1109 TSA.2004.841043 discloses the generation of inverse mathematical models via a state observer but such approach does not produce a directly computable mathematical formula and the system of equations is solved by iterative algorithms. The cited wave digital filters are applied to estimate parameters of a direct model in real time.


SCOPE AND SUMMARY OF THE INVENTION

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:


Providing a non-linear electromechanical model configured to apply one or more desired conditions to a loudspeaker input digital audio signal, i.e. to an analogic input signal converted in a digital input signal;


Providing an inverse non-linear electromechanical model of the transducer configured to receive a signal processed by the non-linear model and to linearize at least one mechanical and/or electrical and/or electromechanical non-linearity of the transducer;


Converting the digital output signal of the electromechanical model into an analog signal for the transducer,


wherein the output signal comprises an input voltage signal for the transducer and at least the second non-linear model is a digital wave filter (hereinafter referred to as Wave Digital Filters, WDF) to provide a directly computable function in the discrete-time domain to get the input voltage signal for the transducer.


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:

    • the need to iteratively solve the non-linear model of the inverse system to make it computationally implementable;
    • the strong dependence on the adaptive technique used to estimate the parameters of the nonlinear model.


In particular, the non-linear model of the inverse system is obtained through the following steps:

    • increase or amplify the model of the transduction process with a null, suitably connected so as not to modify the behavior of the model;
    • derive the inverse equivalent model using a theorem known in the art [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 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.





BRIEF DESCRIPTION OF THE DRAWINGS


FIGS. 1a, 1b show respective equivalent electric models of a loudspeaker, of which FIG. 1a shows a particular configuration of acoustic impedance which models the behavior of a closed volume, while



FIG. 1b shows a generic configuration of acoustic impedance.



FIG. 2 shows the block diagram of the proposed system.



FIG. 3 shows the WDF implementation of the transducer model with the particular configuration of an acoustic impedance shown in FIG. 1a



FIG. 4 shows a tri-port network implemented with a digital wave adapter of type.



FIG. 5 shows the equivalent circuit of the augmented transduction process with a nullor.



FIG. 6 shows the circuit equivalent to the reverse of the transduction process.



FIG. 7 shows the numerical wave embodiment of the inverse system;





DETAILED DESCRIPTION OF THE INVENTION


FIG. 1 shows the equivalent electrical model of a loudspeaker. Other more complex or more simplified representations are possible, e.g. in which parameters of the acoustic domain are not considered. The model includes three interdependent circuits which represent, from left to right, the electrical part, the mechanical part and the acoustic part of the transducer. This model accurately describes the behavior of the loudspeaker at frequencies lower than the first mode of vibrating of the diaphragm, that is, in the frequency band most affected by non-linear distortion phenomena.


The electrical part of the model includes the series of the following elements:

    • a voltage generator representing the voltage signal Vin at the loudspeaker input;
    • a resistor with resistance Re representing the resistive part of the loudspeaker coil impedance;
    • an inductor with inductance Le representing the purely inductive part of the loudspeaker coil impedance;
    • a voltage generator controlled in current by the signal Ims weighed by the force factor Bl of the loudspeaker coil;


The mechanical part includes the series of the following elements:

    • an inductor with inductance Mms representing the mass of all moving parts of the transducer (including the volume of air integral to the diaphragm);
    • a resistor with Rms resistance representing the mechanical resistance of the system;
    • a capacitor with capacity Cms=1/Kms representing the mechanical compliance, inverse of the stiffness;
    • a voltage generator controlled in current by the signal Ie weighted by the force factor Bl;
    • a voltage generator controlled in voltage by the signal Vout weighed by the parameter Sd representing the effective surface of the radiator.


The acoustic part, specialized for modeling the behavior of a closed volume, includes the following elements:

    • a capacitor with capacity Ccab representing the compliance of the air contained in the closed volume;
    • a resistor with resistance Rcab representing the acoustic resistance;
    • a resistor with resistance Ral representing the air losses from the closed volume (to approximate the real behavior of a volume that is not perfectly sealed); according to a more general embodiment, the capacity and the two resistances indicated above can be modeled through an acoustic impedance;
    • a current generator controlled in current by the signal Ims weighed by the parameter Sd.


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 FIG. 1b in which a model comprising a generic acoustic impedance is illustrated.


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 FIG. 1a, since it is possible to apply known techniques for the realization of equivalent circuits to group the same parameters and the topology of the connections in a different way from that illustrated, leaving unchanged the functional characteristics.



FIG. 2 shows the block diagram of the proposed solution consisting of a digital signal processor (Digital Signal Processor, DSP) configured to apply non-linear processing to the incoming audio signal, a digital-to-analog converter (digital-to-analog converter, DAC) configured to convert the digital output of the DSP into an analog signal, and an amplifier configured to amplify the analog signal to drive the loudspeaker.


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 desidered 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 FIG. 1a.
















V text missing or illegible when filed  R text missing or illegible when filed

text missing or illegible when filed (t) = V text missing or illegible when filed (t) + R text missing or illegible when filed (t)










L text missing or illegible when filed







?

5



(
t
)


=


L
e





?



(
t
)


dt













K text missing or illegible when filed






i
7



(
t
)


=


1

K


?







?



(
t
)


dt













M text missing or illegible when filed






?



(
t
)


=


M
ms





?



(
t
)


dt













R text missing or illegible when filed

text missing or illegible when filed (t) = R text missing or illegible when filed (t)








R text missing or illegible when filed

text missing or illegible when filed (t) = R text missing or illegible when filed (t)








C text missing or illegible when filed






i
12



(
t
)


=


C
cab





?



(
t
)


dt













R text missing or illegible when filed

text missing or illegible when filed (t) = R text missing or illegible when filed (t)









text missing or illegible when filed indicates data missing or illegible when filed







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






V
cm(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






V
ma(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 FIG. 3.


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 FIG. 4. The three ports of the junction are numbered 1, 2 and 3 and are characterized by three pairs of Kirchhoff variables {v1, j1}, {v2, j2}, {v3, j3}. The corresponding variables in the numerical wave domain are






b
1
=v
1
+Z
1
j
1
, a
1
=v
1
−Z
1
j
1,  (3)






b
2
=v
2
+Z
2
j
2
, a
2
=v
2
−Z
2
j
2,  (4)






b
3
=v
3
+Z
3
j
3
, a
3
=v
3
−Z
3
j
3,  (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:










S


1


=


1



(
Bl
)

2

+


Z
1



Z
3



S
d
2


+


Z
1



Z
2




×
×




[






(
Bl
)

2

-


Z
1



Z
3



S
d
2


-


Z
1



Z
2







-
2



(
Bl
)



Z
1





2


(
Bl
)



S
d



Z
1







2


(
Bl
)



Z
2







(
Bl
)

2

+


Z
1



Z
3



S
d
2


-


Z
1



Z
2






2


S
d



Z
1



Z
2








-
2



(
Bl
)



S
d



Z
3





2


S
d



Z
1



Z
3







(
Bl
)

2

+


Z
1



Z
2



S
d
2


-


Z
1



Z
3



S
d
2






]

.







(
6
)







obtained, obtaining for junction S1










S

𝒮
1


=


[





Z
5



Z
4

+

Z
5







-

Z
4




Z
4

+

Z
5







-

Z
4




Z
4

+

Z
5









-

Z
5




Z
4

+

Z
5







Z
4



Z
4

+

Z
5







-

Z
5




Z
4

+

Z
5








-
1




-
1



0



]

.





(
7
)







The scattering matrix of the junction S3 is










S

𝒮
3


=


[





Z
12



Z
11

+

Z
12







-

Z
11




Z
11

+

Z
12







-

Z
11




Z
11

+

Z
12









-

Z
12




Z
11

+

Z
12







Z
11



Z
11

+

Z
12







-

Z
12




Z
11

+

Z
12








-
1




-
1



0



]

.





(
8
)







The scattering matrix of the junction S2 is










S

𝒮
2


=


[






Z
8

+

Z
9




Z
7

+

Z
8

+

Z
9







-

Z
7




Z
7

+

Z
8

+

Z
9







-

Z
7




Z
7

+

Z
8

+

Z
9







-

Z
7




Z
7

+

Z
8

+

Z
9









-

Z
8




Z
7

+

Z
8

+

Z
9








Z
7

+

Z
9




Z
7

+

Z
8

+

Z
9







-

Z
8




Z
7

+

Z
8

+

Z
9







-

Z
8




Z
7

+

Z
8

+

Z
9









-

Z
9




Z
7

+

Z
8

+

Z
9







-

Z
9




Z
7

+

Z
8

+

Z
9








Z
7

+

Z
8




Z
7

+

Z
8

+

Z
9







-

Z
9




Z
7

+

Z
8

+

Z
9








-
1




-
1




-
1



0



]

.





(
9
)







The scattering matrix of the junction custom-character1 is










S

𝒫
1


=


[





-

Z
14




Z
14

+

Z
15







Z
14



Z
14

+

Z
15





1






Z
15



Z
14

+

Z
14







-

Z
15




Z
14

+

Z
15





1






Z
15



Z
14

+

Z
14







Z
14



Z
14

+

Z
14





0



]

.





(
10
)







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.
















Definitions
Scattering formulae




















Vin, Re
Z4 = Re
b4[k] = Vtext missing or illegible when filed [k]



Le
Z5 = LeFs
b5[k] = (b5[k − 1] − a5[k − 1])/2



Kms
Z7 = KmsTs
b7[k] = (b7[k − 1] + a7[k − 1])/2



Mms
Z8 = MmsFs
b8[k] = (b8[k − 1] − a8[k − 1])/2



Rms
Z9 = Rms
b9[k] = 0



Rtext missing or illegible when filed
Z11 = Rtext missing or illegible when filed
b11[k] = 0



Ctext missing or illegible when filed
Z12 = Ttext missing or illegible when filed /Ctext missing or illegible when filed
b12[k] = (b12[k − 1] + a12[k − 1])/2



Btext missing or illegible when filed
Z15 = Rtext missing or illegible when filed
b15[k] = 0








text missing or illegible when filed indicates data missing or illegible when filed







While the following table shows the numerical wave implementation of the junctions, which uses the scattering matrices defined in Equations (6)-(10).















Definitions
Scattering formulae







S text missing or illegible when filed
Z text missing or illegible when filed  = Z4 + Z text missing or illegible when filed , b6 = α1
[text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed ]T = S text missing or illegible when filed  [b text missing or illegible when filed , b text missing or illegible when filed , b text missing or illegible when filed ]T


S text missing or illegible when filed
Z text missing or illegible when filed  = Z7 + Z text missing or illegible when filed  Z text missing or illegible when filed , b10 = α2
[text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed ]T = S text missing or illegible when filed  [b7, b8, b9, b10]T


S text missing or illegible when filed
Z text missing or illegible when filed  = Z11 + Z12 · b text missing or illegible when filed  = αtext missing or illegible when filed
[text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed ]T = S text missing or illegible when filed  [b text missing or illegible when filed , b text missing or illegible when filed , b text missing or illegible when filed ]T





P text missing or illegible when filed






Z
14

=

Z
13


,


Z
16

=


?


?



,


b
14

=


?

13


,


b
16

=


?

3






[text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed ]T = S text missing or illegible when filed  [b text missing or illegible when filed , b text missing or illegible when filed , b text missing or illegible when filed ]T





R text missing or illegible when filed
Z1 = Z text missing or illegible when filed , Z2 = Z10, Z3 = Z text missing or illegible when filed , b1 = text missing or illegible when filed , b text missing or illegible when filed  = text missing or illegible when filed , b3 = text missing or illegible when filed
[text missing or illegible when filed , text missing or illegible when filed , text missing or illegible when filed ]T = S text missing or illegible when filed  [b text missing or illegible when filed , b text missing or illegible when filed , b text missing or illegible when filed ]T






text missing or illegible when filed indicates data missing or illegible when filed







The WDF implementation shown in FIG. 4 allows to implement a direct computational flow, i.e. a computational flow that does not use iterative solvers. The computational flow consists of three phases, which are repeated for each instant of discrete time k.

    • 1) Direct scanning: from the leaves of the binary connection tree to the root. Along the computational path, the waves reflected by the linear elements are calculated by means of the scattering relations previously introduced; the waves are propagated through the junctions to the nonlinear elements.
    • 2) Local nonlinear scattering at the root of the binary connection tree. Given the incident wave, calculated in phase 1, the reflected wave is calculated using the constitutive relationship of the nonlinear element.
    • 3) Retrograde scan: from the root to the leaves of the binary connection tree. Along the computational path, the waves propagate through the junctions up to the linear elements; the waves incident to the linear elements are calculated using the scattering relations previously introduced.


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 v1. In the discrete time domain, the signal analogous to the coil displacement can be estimated as






{circumflex over (x)}[k]=ξx(TsIms[k−1]+x[k−2]),  (11)


where ξx≤1 is oblivion, whose role is to dampen the truncation error of the integrator at each sample, so as not to accumulate. The signal Ims [k] is calculated as











I
ms



[
k
]


=





a
9



[
k
]


-


b
9



[
k
]




2







Z
9



[
k
]




.





(
12
)







The output signal Vout[k] equivalent to the pressure produced by the transducer is estimated as










out


[
k
]


=





a
3



[
k
]


-


b
3



[
k
]



2

.





(
13
)







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












b
5



[
k
]


=



ξ

L
e




(



b
5



[

k
-
1

]


-


a
5



[

k
-
1

]



)






L
e



[
k
]




2






T
s




Z
5



[

k
-
1

]



,













Z
5



[
k
]


=




L
e




[
k
]





I
ms



[
k
]



+


F
s




L
e



[
k
]





,





(
14
)







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))











L
e




[
k
]


=




d







L
e



(

x


(
t
)


)




d





t






t
=

k






T
s





=





L

e





β




L

e





γ



exp

-


L

e





γ




(


L

e





α


+


x
^



[
k
]



)





(


exp


(

-


L

e





γ




(


L

e





α


+


x
^



[
k
]



)



)


+
1

)

2


.






(
15
)







Considering the time-varying non-linear stiffness, the proposed numerical realization is












b
7



[
k
]


=


ξ

K
ms







a
7



[

k
-
1

]


+


b
7



[

k
-
1

]



2



,







Z
7



[
k
]


=



K
ms



[
k
]





T
s



(

1
-


1


K
ms




[
k
]








a
7



[

k
-
1

]


+


b
7



[

k
-
1

]



2



)




,




(
16
)







where K′ms[k] is the numerical derivative of Kms(x(t))






K
ms′[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 FIG. 1. This manipulation, described below, allows you to create the inverse of any electrical circuit.


The equivalent circuit of the transduction process, shown in FIG. 1a, can be manipulated by adding a theoretical circuit element, called nullor, to the ends of the resistor Ral to obtain the circuit depicted in FIG. 5. The nullor is defined as a two-gate theoretical circuit element, consisting of the series of a norator (shown with two continuous circles) and a nullor (shown with an ellipse). The nullator is a theoretical circuit element crossed by zero current and with zero voltage at its ends, while the norator is crossed by arbitrary current and has arbitrary voltage at its ends. The nullity, therefore, is characterized by the following constitutive relationship







[




v
1






i
1




]

=



[



0


0




0


0



]



[




v
2






i
2




]


.





Considering the properties of the nullor, it can be observed that the circuits of FIG. 1a and FIG. 5 are equivalent.


To obtain an inverse circuit that allows, with reference to FIG. 5, to calculate Vin as a function of Vout, the circuit of FIG. 5 is further manipulated by replacing the norator with a voltage-controlled voltage generator, and replacing the source generator with the norator, for obtain the circuit of FIG. 6. Furthermore, in the circuit of FIG. 6, a resistor is added in parallel to the norator and a resistor in series to the nullator; thanks to the circuit properties of the norator and nullator, it is observed that the addition of the resistors does not change the behavior of the circuit.


The circuits in FIG. 5 and FIG. 6 have the same topology, so they can be described by the same state function f(x, u, y) and by the same output function g(x, u, y), where x represents the state, u represents the input signal and y represents the output signal. By marking with a tilde the signals corresponding to the circuit of FIG. 6, and assuming that the circuits of FIG. 5 and FIG. 6 admit a single solution, then the output equation g(x, u, y)=0 which represents the circuit of FIG. 5 has unique solution y=h(x, u), and the output equation g (x_tilde, u_tilde, y)=0 which represents the circuit of FIG. 6 has unique solution u_tilde=h{circumflex over ( )}(−1)(x_tilde, y), for each real-valued x and x_tilde state. It follows that if the initial states coincide, e.g. x (0)=x_tilde (0), then u=u_tilde, ie the circuit in FIG. 6 realizes the inverse of the circuit in FIG. 5.


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).



FIG. 7 shows the WDF reaction of the inverse system via a binary connection tree. The single-gate elements of the inverse system are characterized by the same scattering relationships already described in the previous section, as well as the and junctions.


The scattering matrix of the junction, which in this case (considering the different topology) has five gates, is defined as










S


2


=


[




-
1






-
2







Z
5


Bl




-


2


(



(
Bl
)

2

+


Z
2



Z
5



)




(
Bl
)



S
d



Z
3








2


(



(
Bl
)

2

+


Z
3



Z
5



S
d
2


+


Z
2



Z
5



)




BlS
d



Z
3






+
2





0



+
1





2






Z
2




S
d



Z
3






-


2






Z
2




S
d



Z
3






0




0



-


2






Z
5


Bl





-


2


(



(
Bl
)

2

+


Z
2



Z
5



)




(
Bl
)



S
d



Z
3








2


(



(
Bl
)

2

+


Z
3



Z
5



S
d
2


+


Z
2



Z
5



)




BlS
d



Z
3






+
2





0


0



-
1




+
2



0




0


0


0



+
1



0




0



-


2






Z
5


Bl





-


2






Z
2



Z
5




(
bl
)



S
d



Z
3








2







Z
5



(



Z
3



S
d
2


+

Z
2


)





BlS
d



Z
3






+
1




]

.





(
18
)







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.

Claims
  • 1. A method of controlling a loudspeaker having an electromechanical force transducer and a diaphragm comprising the steps of: providing a non-linear model (FT) configured to apply one or more desired conditions to a loudspeaker input digital audio signal;provide an inverse non-linear electromechanical (FI) model of the force transducer configured to receive a signal processed by the non-linear model and to compensate, preferably linearize, at least one mechanical and/or electrical and/or electromechanical non-linearity of a transducer coil;convert the digital output signal of the electromechanical model into an analog signal for the force transducer,wherein the output signal comprises a voltage signal representative of the displacement of the transducer to emit sounds by the action of the transducer on the diaphragm and at least said non-linear electromechanical inverse model is a digital digital wave filter (WDF) model to provide a directly computable function of the input signal for the transducer.
  • 2. Method according to claim 1, wherein said inverse model is obtained starting from a direct electromechanical model comprising a nullor.
  • 3. Method according to claim 1, wherein the desired condition is at least one of the desired frequency response conditions and/or a force factor dependent on the desired excursion and/or a mechanical stiffness dependent on the desired excursion and/or an inductance depending on the desired excursion of the force transducer.
  • 4. Method according to claim 1, wherein the aforementioned non-linear electromechanical model includes parameters of the speaker belonging to an electrical domain, such as at least a resistance and an impedance of the transducer coil; and to a mechanical domain, such as at least one elastic parameter such as the stiffness and a moving mass of the transducer, the electrical and mechanical domain being coupled through a first conversion factor based on a first current-controlled voltage generator and a second current-controlled voltage generator to relate an electromagnetic force applied to said moving mass with a counter-electromotive force generated in the coil by the movement of the mass.
  • 5. Method according to claim 4, wherein the electromechanical model comprises at least one parameter of an acoustic domain, such as at least one acoustic impedance, the acoustic domain being coupled to the electrical and mechanical domains via a second conversion factor which relates acoustic waves of pressure generated by the diaphragm with a force applied by the transducer to the diaphragm.
  • 6. Method according to claim 5, wherein the second conversion factor is based on a voltage-controlled voltage generator and a current-controlled current generator.
  • 7. Electronic control unit for a loudspeaker having an electromechanical force transducer and a diaphragm programmed for: run a non-linear model (FT) configured to apply one or more desired conditions to a speaker input digital audio signal;performing a non-linear electromechanical (FI) inverse model of the force transducer configured to receive a signal processed by the non-linear model and to linearize at least one mechanical and/or electrical and/or electromechanical non-linearity of a transducer coil;convert the digital output signal of the electromechanical model into an analog signal for the force transducer,wherein the output signal comprises a voltage signal representative of the displacement of the transducer to emit sounds by the action of the transducer on the diaphragm and at least the inverse non-linear electromechanical model is a digital wave filter (WDF) model to provide a directly computable function of the input signal for the transducer.
  • 8. Method according to claim 2, wherein the desired condition is at least one of the desired frequency response conditions and/or a force factor dependent on the desired excursion and/or a mechanical stiffness dependent on the desired excursion and/or an inductance depending on the desired excursion of the force transducer.
  • 9. Method according to claim 2, wherein the aforementioned non-linear electromechanical model includes parameters of the speaker belonging to an electrical domain, such as at least a resistance and an impedance of the transducer coil; and to a mechanical domain, such as at least one elastic parameter such as the stiffness and a moving mass of the transducer, the electrical and mechanical domain being coupled through a first conversion factor based on a first current-controlled voltage generator and a second current-controlled voltage generator to relate an electromagnetic force applied to said moving mass with a counter-electromotive force generated in the coil by the movement of the mass.
  • 10. Method according to claim 3, wherein the aforementioned non-linear electromechanical model includes parameters of the speaker belonging to an electrical domain, such as at least a resistance and an impedance of the transducer coil; and to a mechanical domain, such as at least one elastic parameter such as the stiffness and a moving mass of the transducer, the electrical and mechanical domain being coupled through a first conversion factor based on a first current-controlled voltage generator and a second current-controlled voltage generator to relate an electromagnetic force applied to said moving mass with a counter-electromotive force generated in the coil by the movement of the mass.
  • 11. Method according to claim 9, wherein the electromechanical model comprises at least one parameter of an acoustic domain, such as at least one acoustic impedance, the acoustic domain being coupled to the electrical and mechanical domains via a second conversion factor which relates acoustic waves of pressure generated by the diaphragm with a force applied by the transducer to the diaphragm.
  • 12. Method according to claim 10, wherein the electromechanical model comprises at least one parameter of an acoustic domain, such as at least one acoustic impedance, the acoustic domain being coupled to the electrical and mechanical domains via a second conversion factor which relates acoustic waves of pressure generated by the diaphragm with a force applied by the transducer to the diaphragm.
  • 13. Method according to claim 11, wherein the second conversion factor is based on a voltage-controlled voltage generator and a current-controlled current generator.
  • 14. Method according to claim 12, wherein the second conversion factor is based on a voltage-controlled voltage generator and a current-controlled current generator.
Priority Claims (1)
Number Date Country Kind
102020000024175 Oct 2020 IT national