I am trying to implement a low pass filter in INTERCONNECT using electrical s parameters. Here is a screen shot where I was trying to test the step response:
However, the step response is not as what I expected:
even though ideally I would want something like this:
with step response:
I tried to test the electrical s parameter block with ENA and the transmisssion (gain) seems to be fine:
Self diagnostics of the electrical s parameter block shows similar result. I am confused why wouldn’t this custom low pass filter function as the built in RC low pass filter even though the transfer function is correct.
I do admit in the s2p file I only specified the S21 terms because I only care about the transmission. Could this be the problem? Can you help me figure this out?
Here is the INTERCONNECT file and the .s2p file I was using. Please change the extension of second file into .s2p before using it. I did this because I cannot upload .s2p file format. I have also attached the matlab file from which I write the .s2p file.