I'm trying to generate phase data from magnitude data in a frequency function, assuming the system is minimum phase. Using Hilbert Transform.
For instance, having this simple system:
$G(s) = s$
$G(j\omega) = j\omega$
Magnitude is: $|G(j \omega)| = |j \omega| = \omega$
And phase is: $\arg[G(j\omega)] = \arg[j\omega] = \frac\pi2$
In spite on knowing the system's phase response. I want to calculate the phase using Hilbert Transform.
In this wikipedia article, we find the magnitude and phase relationship of a minimum phase system, using Hilbert transform.
$\arg \left[ G(j \omega) \right] = -\mathcal{H} \lbrace \ln \left( |G(j \omega)| \right) \rbrace $
So for our example:
$ \arg \left[ G(j \omega) \right] = -\mathcal{H} \lbrace \ln (\omega) \rbrace = \frac\pi2 $
ln is base e logarithm.
Being the Hilbert Transform defined as:
$\mathcal{H} \lbrace G(\omega) \rbrace \ \stackrel{\mathrm{def}}{=}\ \widehat{G}(\omega) = \frac{1}{\pi}\int_{-\infty}^{\infty}\frac{G(\tau)}{\omega-\tau}\, d\tau $
So, for the system:
$ -\mathcal{H} \lbrace \ln (\omega) \rbrace = -\frac{1}{\pi}\int_{-\infty}^{\infty}\frac{\ln(\tau)}{\omega-\tau}\, d\tau = \frac{\pi}2 $
I need help for solve the improper integral. The anti-derivative of the expression inside the integral seems to be quite complicated. How do I use the Cauchy principal value?
How is the solution developed? How do I demostrate this equality? Thanks