改进型韦格纳分布 (modified Wigner distribution function),用于时频分析 的一种方法,属于信号处理 的范畴。它改进了韦格纳分布原有的相交项(cross term)的问题。 韦格纳分布是公元1932年由尤金·维格纳 所提出用于古典力学 ,但是亦可用于时频分析。韦格纳分布与短时距傅立叶变换 都可用于时频分析,虽然前者通常拥有较高的分辨率且有良好的数学特性,但当有两个以上的信号成分时,韦格纳分布就会出现相交项问题,这在应用上造成很大的困扰。 因此在公元1995年,L. J. Stankovic和S. Stankovic提出了改进型韦格纳分布,以修正韦格纳分布中会出现的相交项问题。
W
x
(
t
,
f
)
=
∫
−
∞
∞
x
(
t
+
τ
/
2
)
x
∗
(
t
−
τ
/
2
)
e
−
j
2
π
τ
f
d
τ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }x(t+\tau /2)x^{*}(t-\tau /2)e^{-j2\pi \tau \,f}d\tau }
=
∫
−
∞
∞
X
(
f
+
η
/
2
)
⋅
X
∗
(
f
−
η
/
2
)
e
j
2
π
t
η
⋅
d
η
{\displaystyle =\int _{-\infty }^{\infty }X(f+\eta /2)\cdot X^{*}(f-\eta /2)e^{j2\pi t\eta }\cdot d\eta }
为了改善韦格纳分布的相交项(cross-term)问题,改进型韦格纳分布在此引入了一个类似掩码(mask)的函数,将相交项过滤掉。
定义一 ::
W
x
(
t
,
f
)
=
∫
−
∞
∞
w
(
τ
/
2
)
w
∗
(
−
τ
/
2
)
x
(
t
+
τ
/
2
)
x
∗
(
t
−
τ
/
2
)
e
−
j
2
π
τ
f
d
τ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }w(\tau /2)w^{*}(-\tau /2)x(t+\tau /2)x^{*}(t-\tau /2)e^{-j2\pi \tau \,f}d\tau }
,其中w(t)为掩码函数. 常为方波,其方波宽度为参数B。可写成
w
(
t
)
=
{
1
i
f
|
t
|
<
B
0
o
t
h
e
r
w
i
s
e
{\displaystyle w(t)={\begin{cases}1\ \ \ if\ |t|<B\\0\ \ \ otherwise\end{cases}}}
定义二 ::
W
x
(
t
,
f
)
=
∫
−
∞
∞
P
(
θ
)
Y
(
t
,
f
+
θ
/
2
)
Y
∗
(
t
,
f
−
θ
/
2
)
d
θ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }P(\theta )Y(t,f+\theta /2)Y^{*}(t,f-\theta /2)d\theta }
, 其中
Y
(
t
,
f
)
=
∫
−
∞
∞
w
(
τ
)
x
(
t
+
τ
)
e
−
j
2
π
f
τ
d
τ
{\displaystyle Y(t,f)=\int _{-\infty }^{\infty }w(\tau )x(t+\tau )e^{-j2\pi f\tau }d\tau }
;
P
(
θ
)
{\displaystyle P(\theta )\,}
类似掩码函数,
P
(
θ
)
≈
1
{\displaystyle P(\theta )\approx 1\ }
, 当θ很小
P
(
θ
)
≈
0
{\displaystyle P(\theta )\approx 0\ }
, 当θ很大
适当地选择
P
(
θ
)
≈
1
{\displaystyle P(\theta )\approx 1\ }
的范围。若选的范围太小,将会破坏原本的项(auto term)。
定义三:
W
x
(
t
,
f
)
=
∫
−
∞
∞
w
(
τ
)
x
L
(
t
+
τ
2
L
)
⋅
x
L
(
t
−
τ
2
L
)
¯
e
−
j
2
π
τ
f
⋅
d
τ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }w(\tau )x^{L}(t+{\tfrac {\tau }{2L}})\cdot {\overline {x^{L}(t-{\tfrac {\tau }{2L}})}}e^{-j2\pi \tau f}\cdot d\tau }
增加 L 可以减少相交项(cross-term)的影响(但是不会完全消除)
定义四:
W
x
(
t
,
f
)
=
∫
−
∞
∞
[
∏
l
=
1
q
/
2
x
(
t
+
d
l
τ
)
x
∗
(
t
−
d
−
l
τ
)
]
e
−
j
2
π
τ
f
d
τ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }[\prod _{l=1}^{q/2}x(t+d_{l}\tau )x^{*}(t-d_{-l}\tau )]e^{-j2\pi \tau f}d\tau }
当 q = 2 和
d
l
=
d
−
l
=
0.5
{\displaystyle d_{l}=d_{-l}=0.5}
,就是原本的韦格纳分布。
当指数函数的次项不超过 q/2 +1时,就可以避免相交项(cross-term)
然而,相交项(cross-term)会介于两个讯号之间,无法完全被移除。
<说明>
定义四的维格纳分布又称为多项型维格纳分布 (Polynomial Wigner Distribution Function)
W
x
(
t
,
f
)
=
∫
−
∞
∞
e
j
2
π
∑
n
=
1
q
2
+
1
n
a
n
t
n
−
1
τ
e
−
j
2
π
τ
f
d
τ
=
∫
−
∞
∞
[
∏
ℓ
=
1
q
/
2
x
(
t
+
d
ℓ
τ
)
x
∗
(
t
−
d
−
ℓ
τ
)
]
e
−
j
2
π
τ
f
d
τ
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }e^{j2\pi \sum _{n=1}^{{\tfrac {q}{2}}+1}na_{n}t^{n-1}\tau }\ e^{-j2\pi \tau f}d\tau =\int _{-\infty }^{\infty }[\prod _{\ell =1}^{q/2}x(t+d_{\ell }\tau )x^{*}(t-d_{-\ell }\tau )]e^{-j2\pi \tau f}d\tau }
If
x
(
t
)
=
e
j
2
π
∑
n
=
1
q
2
+
1
n
a
n
t
n
{\displaystyle x(t)=e^{j2\pi \sum _{n=1}^{{\tfrac {q}{2}}+1}na_{n}t^{n}}}
所以
d
ℓ
{\displaystyle d_{\ell }}
必须要能满足下面的式子:
e
j
2
π
∑
n
=
1
q
2
+
1
n
a
n
t
n
−
1
τ
=
∏
ℓ
=
1
q
/
2
x
(
t
+
d
ℓ
τ
)
x
∗
(
t
−
d
−
ℓ
τ
)
{\displaystyle e^{j2\pi \sum _{n=1}^{{\tfrac {q}{2}}+1}na_{n}t^{n-1}\tau }=\prod _{\ell =1}^{q/2}x(t+d_{\ell }\tau )x^{*}(t-d_{-\ell }\tau )}
W
x
(
t
,
f
)
=
∫
−
∞
∞
e
−
j
2
π
(
f
−
∑
n
=
1
q
2
+
1
)
n
a
n
t
n
−
1
τ
d
τ
≅
δ
(
f
−
∑
n
=
1
q
2
+
1
n
a
n
t
n
−
1
τ
)
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }e^{-j2\pi (f-\sum _{n=1}^{{\tfrac {q}{2}}+1})na_{n}t^{n-1}\tau }d\tau \cong \delta (f-\sum _{n=1}^{{\tfrac {q}{2}}+1}na_{n}t^{n-1}\tau )}
其中
∑
n
=
1
q
2
+
1
n
a
n
t
n
−
1
{\displaystyle \sum _{n=1}^{{\tfrac {q}{2}}+1}na_{n}t^{n-1}}
为
x
(
t
)
{\displaystyle x(t)}
的瞬时频率
接下来,我们来看
d
ℓ
{\displaystyle d_{\ell }}
要怎么设定:
(1) 当
q
=
2
{\displaystyle q=2}
的时候:
x
(
t
+
d
ℓ
τ
)
x
∗
(
t
−
d
−
ℓ
τ
)
=
e
j
2
π
∑
n
=
1
2
n
a
n
t
n
−
1
τ
{\displaystyle x(t+d_{\ell }\tau )x^{*}(t-d_{-\ell }\tau )=e^{j2\pi \sum _{n=1}^{2}na_{n}t^{n-1}\tau }}
如果我们把
x
(
t
)
=
e
j
2
π
∑
n
=
1
q
2
+
1
a
n
t
n
{\displaystyle x(t)=e^{j2\pi \sum _{n=1}^{{\tfrac {q}{2}}+1}a_{n}t^{n}}}
代入,可以得到下列式子:
a
2
(
t
+
d
1
τ
)
2
+
a
1
(
t
+
d
1
τ
)
−
a
2
(
t
−
d
−
1
τ
)
−
a
1
(
t
−
d
−
1
τ
)
=
2
a
2
t
τ
+
a
1
τ
{\displaystyle a_{2}(t+d_{1}\tau )^{2}+a_{1}(t+d_{1}\tau )-a_{2}(t-d_{-1}\tau )-a_{1}(t-d_{-1}\tau )=2a_{2}t\tau +a_{1}\tau }
{
d
1
+
d
−
1
=
1
d
1
−
d
−
1
=
0
{\displaystyle {\begin{cases}d_{1}+d_{-1}=1\\d_{1}-d_{-1}=0\end{cases}}}
⟹
{
d
1
=
1
2
d
−
1
=
1
2
{\displaystyle \Longrightarrow {\begin{cases}d_{1}={\tfrac {1}{2}}\\d_{-1}={\tfrac {1}{2}}\end{cases}}}
由此可以知道,当
q
=
2
{\displaystyle q=2}
并且
d
−
1
=
d
1
=
1
2
{\displaystyle d_{-1}=d_{1}={\tfrac {1}{2}}}
时,多项型的维格纳分布 (Polynomial Wigner Distribution Function) 就会与原始的维格纳分布相同
W
x
(
t
,
f
)
=
∫
−
∞
∞
[
∏
l
=
1
q
/
2
x
(
t
+
d
l
τ
)
x
∗
(
t
−
d
−
l
τ
)
]
e
−
j
2
π
τ
f
d
τ
=
∫
−
∞
∞
x
(
t
+
τ
/
2
)
x
∗
(
t
−
τ
/
2
)
e
−
j
2
π
τ
f
d
τ
,
i
f
q
=
2
,
d
−
1
=
d
1
=
1
2
{\displaystyle W_{x}(t,f)=\int _{-\infty }^{\infty }[\prod _{l=1}^{q/2}x(t+d_{l}\tau )x^{*}(t-d_{-l}\tau )]e^{-j2\pi \tau f}d\tau =\int _{-\infty }^{\infty }x(t+\tau /2)x^{*}(t-\tau /2)e^{-j2\pi \tau \,f}d\tau ,\quad if\quad q=2,\ d_{-1}=d_{1}={\tfrac {1}{2}}}
(2) 当
q
=
4
{\displaystyle q=4}
的时候:
x
(
t
+
d
ℓ
τ
)
x
∗
(
t
−
d
−
ℓ
τ
)
=
e
j
2
π
∑
n
=
1
3
n
a
n
t
n
−
1
τ
{\displaystyle x(t+d_{\ell }\tau )x^{*}(t-d_{-\ell }\tau )=e^{j2\pi \sum _{n=1}^{3}na_{n}t^{n-1}\tau }}
如果我们把
x
(
t
)
=
e
j
2
π
∑
n
=
1
q
2
+
1
a
n
t
n
{\displaystyle x(t)=e^{j2\pi \sum _{n=1}^{{\tfrac {q}{2}}+1}a_{n}t^{n}}}
代入,可以得到下列式子:
a
3
(
t
+
d
1
τ
)
3
+
a
2
(
t
+
d
1
τ
)
2
+
a
1
(
t
+
d
1
τ
)
a
3
(
t
+
d
2
τ
)
3
+
a
2
(
t
+
d
2
τ
)
2
+
a
1
(
t
+
d
2
τ
)
−
a
3
(
t
+
d
−
1
τ
)
3
−
a
2
(
t
+
d
−
1
τ
)
2
−
a
1
(
t
+
d
−
1
τ
)
−
a
3
(
t
+
d
−
2
τ
)
3
−
a
2
(
t
+
d
−
2
τ
)
2
−
a
1
(
t
+
d
−
2
τ
)
{\displaystyle a_{3}(t+d_{1}\tau )^{3}+a_{2}(t+d_{1}\tau )^{2}+a_{1}(t+d_{1}\tau )a_{3}(t+d_{2}\tau )^{3}+a_{2}(t+d_{2}\tau )^{2}+a_{1}(t+d_{2}\tau )-a_{3}(t+d_{-1}\tau )^{3}-a_{2}(t+d_{-1}\tau )^{2}-a_{1}(t+d_{-1}\tau )-a_{3}(t+d_{-2}\tau )^{3}-a_{2}(t+d_{-2}\tau )^{2}-a_{1}(t+d_{-2}\tau )}
=
3
a
3
t
2
τ
+
2
a
2
t
τ
+
a
1
τ
{\displaystyle =3a_{3}t^{2}\tau +2a_{2}t\tau +a_{1}\tau }
{
a
3
(
t
+
d
1
τ
)
3
+
a
3
(
t
+
d
2
τ
)
3
−
a
3
(
t
+
d
−
1
τ
)
3
−
a
3
(
t
+
d
−
2
τ
)
3
a
2
(
t
+
d
1
τ
)
2
+
a
2
(
t
+
d
2
τ
)
2
−
a
2
(
t
+
d
−
1
τ
)
2
−
a
2
(
t
+
d
−
2
τ
)
2
a
1
(
t
+
d
1
τ
)
+
a
1
(
t
+
d
2
τ
)
−
a
1
(
t
+
d
−
1
τ
)
−
a
1
(
t
+
d
−
2
τ
)
{\displaystyle {\begin{cases}a_{3}(t+d_{1}\tau )^{3}+a_{3}(t+d_{2}\tau )^{3}-a_{3}(t+d_{-1}\tau )^{3}-a_{3}(t+d_{-2}\tau )^{3}\\a_{2}(t+d_{1}\tau )^{2}+a_{2}(t+d_{2}\tau )^{2}-a_{2}(t+d_{-1}\tau )^{2}-a_{2}(t+d_{-2}\tau )^{2}\\a_{1}(t+d_{1}\tau )+a_{1}(t+d_{2}\tau )-a_{1}(t+d_{-1}\tau )-a_{1}(t+d_{-2}\tau )\end{cases}}}
=
{
3
a
3
t
2
τ
2
a
2
t
τ
a
1
τ
{\displaystyle ={\begin{cases}3a_{3}t^{2}\tau \\2a_{2}t\tau \\a_{1}\tau \end{cases}}}
所以我们可以得到
{
d
1
+
d
2
+
d
−
1
+
d
−
2
=
1
d
1
2
+
d
2
2
−
d
−
1
2
−
d
−
2
2
=
0
d
1
3
+
d
2
3
+
d
−
1
3
+
d
−
2
3
=
0
{\displaystyle {\begin{cases}d_{1}+d_{2}+d_{-1}+d_{-2}=1\\{d_{1}}^{2}+{d_{2}}^{2}-{d_{-1}}^{2}-{d_{-2}}^{2}=0\\{d_{1}}^{3}+{d_{2}}^{3}+{d_{-1}}^{3}+{d_{-2}}^{3}=0\end{cases}}}
可以看到如果
q
{\displaystyle q}
太大,
d
ℓ
{\displaystyle d_{\ell }}
会不好设计。
在此有两个例子来说明改进型韦格纳分布 确实能消除相交项。
x
(
t
)
=
{
cos
(
3
π
t
)
t
≤
−
4
cos
(
6
π
t
)
−
4
<
t
≤
4
cos
(
4
π
t
)
t
>
4
{\displaystyle x(t)={\begin{cases}\cos(3\pi t)\ \ \ t\leq -4\\\cos(6\pi t)\ \ \ -4<t\leq 4\ \ \ \\\cos(4\pi t)\ \ \ t>4\end{cases}}}
左图是韦格纳分布;右图是改进型韦格纳分布。可以很明显地看出,改进型韦格纳分布大大地改进相交项的问题,相对地增加清晰度。
x
(
t
)
=
exp
(
j
⋅
(
t
−
5
)
3
−
j
⋅
6
π
⋅
t
)
{\displaystyle x(t)=\exp(j\cdot (t-5)^{3}-j\cdot 6\pi \cdot t)}
左图是韦格纳分布;右图是改进型韦格纳分布。明显地看出,改进型韦格纳分布确实可改进相交项的问题,同时增加清晰度。
Jian-Jiun Ding, class lecture of Time Frequency Analysis and Wavelet transform, Graduate Institute of Communication Engineering, National Taiwan University, Taipei, Taiwan, 2007.
L. J. Stankovic, S. Stankovic, and E. Fakultet, “An analysis of instantaneous frequency representation using time frequency distributions-generalized Wigner distribution,” IEEE Trans. on Signal Processing, pp. 549-552, vol. 43, no. 2, Feb. 1995
Jian-Jiun Ding, Time frequency analysis and wavelet transform class notes, Graduate Institute of Communication Engineering, National Taiwan University (NTU), Taipei, Taiwan, 2017.
Jian-Jiun Ding, Time frequency analysis and wavelet transform class notes, Graduate Institute of Communication Engineering, National Taiwan University (NTU), Taipei, Taiwan, 2018.