pYrana13
Junior Member level 1
hi anyone around can help me with my digital portion.. i've been stuck for 2 week unable to get my decimation filter up .. need advice and guidance and examples if any of u have.. really appreciateView attachment 85271View attachment 85272
simulation stop time = 0.03
input sine signal = Amp= 12, Freq=2*pi*60
Clock period=1/7680 (oversampling of 64 times)
rate transition output sample time =1/7680
i've just add a FIR decimation block using dialog parameter coefficient
fir filter coefficient = fir1(35,0.015) <-- i dont understand this part so i just add random numbers
decimation factor = 8 <--- i tried change to decimation factor of 16 my waveform even more jagged.
end up i got the output(bottom waveform) is delayed by 90 degree as compare to the original sine wave(top waveform). what/how to remedy this?
how do i use multirate filter object (MFILT)??
In red are my queries. who can guide/teach or maybe show me some examples on how to make the filter
Anyone know how can i create DAC_1_bit as in this diagram using simulink?
Tq