What causes this 360 phase shift at ~20khz?

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
if you have a single pole, the phase shift is 90degrees. That difference only occurs right out at the infinitely far away frequencies from the midband.

If you cascade two single pole filters the total phase shift is 180degrees. Again the full 180 degrees is way out at infinite frequencies.

To save me typing and you reading, I'm jumping straight to 5 cascaded single pole filters.
The total phase shift is 450degrees.
If the phase starts at 0degrees and increases to 180 degrees part way along the passband you will see the plot (without any wrapping) showing 180°.
Continue farther out and the phase goes on past 270° and on to 360°.
The vertical scale will have to be compressed to get all the degrees to fit on the page.

Now go out to infinite frequency and you will see the phase at 450°.

To get all that shown at a readable vertical scale and fit a conventional page shape, you can ask the plotter (either a person or the software) to wrap the vertical scale at prescribed intervals. 0 to 360° is quite common. -180° to +180° is possibly slightly less common. But the wrapping to fit the page can be any value. 0 to 100° could be used if you had a need.

The plot in post1 has a wrap set to +180° to -180° (top to bottom) simply to allow a short vertical page height AND be readable.
You could unwrap it, but the vertical axis would be twice as high. You would need very tall paper to plot that.
 
I did some research and you guys were right, it was wraping :eek: nice call guys.

there is a way to turn it off in ngspice, the result is attached.

Thanks guys!
 

Attachments

  • test.png
    test.png
    59.2 KB · Views: 69
In some software you can show the phase with(out) this display artefact with a check box called "Wrap phase" or some similar option.

I did some research and you guys were right, it was wraping :eek: nice call guys.
Nice to read you sorted it out.

there is a way to turn it off in ngspice, the result is attached.

Was it a check box called "Wrap phase"?;)

Best wishes
David
 
Last edited:
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.