|
|
I'm having problems taking a string of bits and passing them through
a filter to mimic the smoothing effect of an inverter.
Currently I'm using a low-pass filter and lsim as shown below.
LP_3DB_Freq is the variable cutoff frequency.
Low_Pass_TF = tf([1],[(1/(2*pi*LP_3DB_Freq)) 1])
[Data_Filtered, Time_Filtered] = lsim(Low_Pass_TF, Data, Time);
This filter correctly smooths the rising edge of a '1' bit, but
doesn't smooth it's corresponding falling edge. With a '0' bit it
smooths the falling edge, but not the rising.
I'm not very framilar with filters at all, is it possible to simply
modify the transfer function I'm using to create a filter that will
smooth both edges to the result more closely mimics an inverter
output?
Thanks for any help or suggestions
|
|