Skip to main content
10-Marble
November 9, 2016
Solved

Symbolic solution to filter magnitude frequency response

  • November 9, 2016
  • 1 reply
  • 4161 views

Hi all,

please see attached.

I am attempting to derive what I thought would be a simple enough equation to describe the maxima and/or minima of a "filter" function magnitude response.  The example is a simplified version of my original problem and although in this case the answer is very obvious (w = 1), my original problem did not have so obvious an answer,  And also, although I can easily plot the response, I would like to establish the design equations to allow me to work backwards from a requirement to a solution in equation form.

In the worksheet, the symbolic solution seems to fail.  I specify the function H(s) and then substitute s = 1i.w to obtain continuous frequency response.  I suspect the problem is complicated by the use of the |magnitude| function which might make symbolic solution difficult - that's my guess at why this doesn't seem to work.  If there is a better way then please let me know!  I have been staring at this on and off for a few days so might be missing the obvious.

Thanks in advance,

D

Best answer by -MFra-

Now, it seems to me that everything is OK.

fdt1.jpg

1 reply

21-Topaz II
November 9, 2016

fdt.jpg

DaveWooff10-MarbleAuthor
10-Marble
November 9, 2016

thank you for your reply F.M.

The resulting values are complex.  Since I am evaluating H(s) on the imaginary axis of the s-plane, I expect real values of w.  If I substitute the example values of wn (1) and Q (4) shown in the worksheet, I get [0.125i, 0.992+0.125i, -0.992_0.125i].  The real positive value of w which produces a peak in H(jw) is actually ~0.984.

12-Amethyst
November 10, 2016

Just the square of the magnitude function. For H(s) = 1/(s+1), we have H(w) = 1/(jw+1), |H(w)| = 1/sqrt(1+w^2). The magnitude squared is |H(w)|^2 = 1/(1+w^2), which is a rational algebraic function. |x + jy|^2 = x^2 + y^2; no sqrt required.