Calculation Algorithm PDF
Calculation Algorithm PDF
In the previous section, the general equations for the displacement, the velocity,
and the pressure were derived as functions of position and time. These relationships are
restated below as Equations (4.1), (4.2), and (4.3).
( ( −α − I β ) x ) ( ( −α + I β ) x ) (I ω t )
u( x , t ) = I ω ( C1 e + C2 e )e
2 ( ( −α − I β ) x ) ( ( −α + I β ) x ) ( I ω t )
p( x , t ) = I ρ c ( C 1 ( I α + β ) e − C 2 ( −I α + β ) e )e
If the two constants, C1 and C2, could be determined or eliminated from these
equations, then the values of displacement, velocity, and pressure would be known
everywhere within the transmission line. Having a background in mechanical
engineering and experience performing structural finite element analyses, I decided to
apply some of the methods used to derive one-dimensional truss elements to formulate
a one-dimensional acoustic transmission line element. My one-dimensional acoustic
transmission line element is shown in Figure 4.1 along with a positive sign convention,
the geometry definition, and the variables at end 1 and end 2.
p1 p2
u1 u2
S1 S2
u(x,t) = ∂ξ(x,t)/∂t
positive sign convention
Page 1 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
Equations (4.2) and (4.3) for velocity and pressure contain two unknowns. If two
values are assigned to any of the four variables (u1, u2, p1, or p2) from the acoustic
element shown in Figure 4.1, then the remaining two variables can be used to eliminate
the constants C1 and C2. By careful selection of the two assigned values, convenient
expressions for the two remaining variables result. In the following derivation the time
(I ω t)
varying term e has been dropped since it is common to every expression.
2 (I L β ) ( −I L β )
I ρ c ( ( −α + I β ) e + (α + I β ) e )
p1 =
( −I L β ) (I L β )
ω (e −e )
2 ( −α L )
ρc β e
p2 = −2
(I L β ) ( −I L β )
ω ( −e +e )
2 (α L)
ρc β e
p1 = 2
(I L β ) ( −I L β )
ω ( −e +e )
2 ( −I L β ) (I L β )
I ρ c ((α − I β ) e − (α + I β ) e )
p2 =
( −I L β ) (I L β )
ω (e −e )
f = 171 Hz for n = 1
= 342 Hz for n = 2
= 513 Hz for n = 3
Figures 4.2 and 4.3 show the pressure results for Cases 1 and 2 after applying these
assumptions.
Page 2 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
−2⋅ ρ ⋅ c ⋅ β r⋅ exp(−α ⋅ L)
2
p L :=
r ( ( )
r⋅ dω⋅ exp −j ⋅ β r⋅ L − exp j⋅ β r⋅ L( ))
100
p0 10
r
Pressure (Pa)
1000⋅ Pa
1
pL
r
1000⋅ Pa
0.1
0.01
1 .10
3
1 10 100
−1
r⋅ dω⋅ Hz
100
80
( )
arg p 0
r
60
40
Phase (deg)
deg 20
( )
0
arg p L
r 20
deg 40
60
80
100
1 .10
3
1 10 100
−1
r⋅ dω⋅ Hz
Frequency (Hz)
1 ( )
arg p 0 = −90.000deg |
| S0⋅ 0.001⋅
m
sec
m | p :=
p L ⋅ 0.001⋅ = 22.526Pa | j ⋅ 1⋅ Hz⋅ Cab
1 sec
|
arg p L ( ) = −90.000deg
1
| p = 22.525Pa arg ( p ) = −90.000deg
Page 3 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
2⋅ ρ ⋅ c ⋅ β r⋅ exp(α ⋅ L)
2
p 0 :=
r ( ( )
r⋅ dω⋅ exp −j⋅ β r⋅ L − exp j⋅ β r⋅ L ( ))
100
p0 10
r
Pressure (Pa)
1000⋅ Pa
1
pL
r
1000⋅ Pa
0.1
0.01
1 .10
3
1 10 100
−1
r⋅ dω⋅ Hz
100
80
( )
arg p 0
r
60
40
Phase (deg)
deg 20
( )
0
arg p L
r 20
deg 40
60
80
100
1 .10
3
1 10 100
−1
r⋅ dω⋅ Hz
Frequency (Hz)
1 ( )
arg p 0 = 90.000deg |
| S0⋅ 0.001⋅
m
sec
m | p :=
p L ⋅ 0.001⋅ = 22.522Pa | j ⋅ 1⋅ Hz⋅ Cab
1 sec
|
arg p L ( ) = 90.000deg
1
| p = 22.525Pa arg ( p ) = −90.000deg
Page 4 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
A lot of information is contained in Figures 4.2 and 4.3 that warrants some further
discussion and explanation. Lets start by looking closely at Figure 4.2, the same
observations will apply to Figure 4.3 unless otherwise noted. The top plot is the pressure
magnitude where it can be seen that sharp pressure peaks occur at the expected half
wavelength frequencies. The pressure at both ends of the line spikes to extreme
magnitudes at these frequencies.
There are also some deep nulls in Figure 4.2 but only in the pressure at the
driven end. I would not classify these nulls as quarter wavelength resonances even
thought the frequencies are consistent with quarter wavelength frequencies for the
assumed length. At these frequencies, the length of the line is equivalent to a quarter
wavelength and a pressure distribution exists that tends to unload the driven end. The
pressure at the closed end is set by the velocity magnitude at the driven end and does
not spike in a similar manner to the half wavelength modes. This is a velocity-controlled
standing wave and therefore not what I would define as a true resonance.
At the bottom of Figures 4.2 and 4.3, the lumped parameter pressure is
calculated and compared to the 1 Hz results from the acoustic transmission line element.
This is really a check on the element static stiffness and it can be seen that both
methods yield identical pressure magnitudes and phases. Also note the 180-degree
difference in the phase calculated in Figure 4.2 and Figure 4.3 at the 1 Hz frequency.
This is a direct result of the positive sign convention assumed in Figure 4.1. A positive
displacement increases pressure in Figure 4.2 while it decreases pressure in Figure 4.3.
Acoustic impedances can be calculated for the four variables (u1, u2, p1, and p2)
from the acoustic element shown in Figure 4.1. These relationships are shown below for
the two load cases.
p2
Z21 =
S1 u1
p1
Z12 =
S2 u2
p2
Z22 =
S2 u2
Page 5 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
These impedance relationships can be arranged to express the pressures in terms of the
volume velocities and then placed in matrix notation.
p1 Z11 Z12 U1
=
p2 Z21 Z22 U2
One more rearranging of the equations yields the transfer matrix for the one-dimensional
acoustic element.
Equation (4.4)
Z22 1
−
U1 Z21 Z21 U2
p = Z Z
Z11 p2
1 11 22
− + Z12
Z 21 Z21
Equation (4.4) expresses the pressure and volume velocity at one end of the acoustic
element in terms of the pressure and volume velocity at the other end. This transfer
matrix equation is the basis for the transmission line calculation algorithm I have
programmed into my new MathCad worksheets.
Figure 4.4 shows the acoustic equivalent circuit model, using the impedance
analogy, for a simple transmission line. Figure 4.5 shows the corresponding electrical
equivalent circuit model. From the classic papers by Thiele(1) and Small(2-4), all of the
circuit elements have already been defined with the exception of the transmission line’s
acoustic impedance and electrical impedance. Equation (4.4) can be used to determine
these remaining circuit elements.
Assume a unit velocity excitation at the driven end of the transmission line and a
zero velocity boundary condition at the closed end.
S1 m
U1 =
sec
U2 = 0
Page 6 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
The unit velocity input is converted to the equivalent volume velocity and applied
at end 1. A zero volume velocity condition is applied at end 2. In Equation (4.4) this
leaves two equations and two unknowns, p1 and p2, which can be solved for as
functions of frequency.
Having solved for the pressures resulting from the assumed volume velocity
input, the acoustic impedance and the electrical impedance can be determined.
p1 sec
Zacoustic =
S1 m
2 2
B l
Zelectrical =
S1 2 Zacoustic
The equivalent circuits in Figures 4.4 and 4.5 can now be solved to obtain the
electrical and SPL system performance as functions of frequency for a closed end
simple transmission line. This is the basis for the first MathCad model titled “TL Closed
End.MCD”.
Assume a unit velocity excitation at the driven end of the transmission line and a
zero pressure boundary condition at the open end.
S1 m
U1 =
sec
Again, the unit velocity input is converted to the equivalent volume velocity and
applied at end 1. However, at the open end a more complicated boundary condition will
be applied. My first models simply set the pressure p2 to zero but this did not lead to a
good correlation with the measured test line data. To make the model more accurate I
applied an acoustic impedance boundary condition at the open end. The acoustic
impedance of a piston in an infinite baffle was used to model the terminus impedance. A
typical terminus (or mouth) impedance is shown in Figure 4.6.
p2 = Zmouth U2
In Equation (4.4) this leaves two equations and two unknowns, p1 and U2, which can be
solved for as functions of frequency.
Having solved for the pressures and the open end’s volume velocity resulting
from the unit velocity input, the acoustic impedance and the electrical impedance can be
determined.
Page 7 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
p1 sec
Zacoustic =
S1 m
2 2
B l
Zelectrical =
S1 2 Zacoustic
One last relationship is needed, the velocity at the open end as a function of the
velocity at the driven end.
S1 U2
ε=
S2 U1
u2
ε=
u1
The open end simple transmission line electrical and SPL system performance
can now be calculated as functions of frequency using the equivalent circuit models
shown in Figures 4.4 and 4.5. This is the basis for the second MathCad model titled “TL
Open End.MCD”.
Summary :
A transfer matrix for a one-dimensional acoustic element has been derived and
boundary conditions applied to represent two simple transmission line configurations.
The only remaining unknown to be discussed is the damping coefficient for the fibrous
tangle typically used to stuffing transmission lines. The following section will present the
empirically derived damping coefficient and the correlation with the test data presented
in Section 2.0, using the simple MathCad transmission line model “TL Open End.MCD”.
Page 8 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
Figure 4.4 : Acoustic Equivalent Circuit for a Simple Transmission Line Speaker
Ud
pg Zal
where :
pg = pressure source
= (eg Bl) / (Sd Re)
then :
ε = uL / ud
Page 9 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
Figure 4.5 : Electrical Equivalent Circuit for a Simple Transmission Line Speaker
Rg + Re Lvc
where :
eg = voltage source
= 2.8284 volt
ed = Bl ud
Page 10 of 11
Section 4.0 : The Calculation Algorithm
By Martin J. King, 07/05/02
Copyright 2002 by Martin J. King. All Rights Reserved.
SL
aL :=
π
k x
2⋅ k+ 1
( −1) ⋅
25
2
J1( x) := ∑ k!⋅ Γ ( k + 2)
k =0
2⋅ k+ 2
( −1) k⋅ x 25
2
H1( x) := 3 ∑
5
k = 0 Γ k + ⋅Γ k +
2 2
r⋅ dω ⋅ a
2⋅ J1 2⋅
r⋅ dω ⋅ a
L 2⋅ H1 2⋅ L
⋅ 1 −
c + j⋅ c
ρ ⋅c
Zmouth :=
r SL ⋅ dω ⋅ dω
2⋅
r
⋅ aL 2⋅
r
⋅ aL
c c
Terminus Impedance
Real and Imaginary Impedance Comps.
1.25
(
SL⋅ Re Z mouth )
r
1
ρ ⋅c
0.75
(
SL⋅ Im Z mouth )
r
0.5
ρ ⋅c
0.25
0
0 2 4 6 8 10 12 14
r⋅ dω
2⋅ ⋅ aL
c
Page 11 of 11