DSPRelated.com

using IIR filter library for C2000 DSP

Started by Simon in comp.dsp20 years ago 1 reply

Hi, I wanna implement a low pass IIR filter in C2407 using the 24x Filter library. I am a new comer to this kind of implementation. ...

Hi, I wanna implement a low pass IIR filter in C2407 using the 24x Filter library. I am a new comer to this kind of implementation. /*After the initation:*/ { iir.dbuffer_ptr=dbuffer; iir.coeff_ptr=coeff; iir.qfmat=IIR_LPF_QFMAT; iir.nbiq=IIR_LPF_NBIQ; iir.isf=IIR_LPF_ISF; iir.init(&iir); } while(ADUPDATE) /*new adc coming*/ { ...


IIR on TI 55xx

Started by AntonZ in comp.dsp16 years ago 3 replies

I try to implement an IIR on a 16-bit fixed-point 5510 DSP. After calculating the filter in Matlab, I got the following coefficients: > > ...

I try to implement an IIR on a 16-bit fixed-point 5510 DSP. After calculating the filter in Matlab, I got the following coefficients: > > iir.tf.num ans = 1.0e-005 * 0.0868 0.3470 0.5205 0.3470 0.0868 > > iir.tf.den ans = 1.0000 -3.8373 5.5250 -3.5375 0.8498 Now I decompose the filter into two biqads: > > tf2sos(iir.tf.num,iir.tf.den) ans


IIR for image processing in Matlab. How???? (Plz help)

Started by Anonymous in comp.dsp21 years ago 2 replies

Hello, would any one out there can help me how to appy IIR to filter an 256x256 image using IIR in Matlab? is there any function for it (I...

Hello, would any one out there can help me how to appy IIR to filter an 256x256 image using IIR in Matlab? is there any function for it (I mean 2 D IIR filter). I have to use a IIR filter to filter a image and it is required that I do it in Matlab. I have done it in C and using difference equation: y(m,n)=a1*x(m,n)+a2*y(m-1,n)+..... and everything is fine. Now I have to do it in ...


IIR vs. FIR (complexity issues)

Started by Anonymous in comp.dsp19 years ago 2 replies

Hi, I would like to know on the implementation complexity issues beween FIR Filter vs. IIR Filter (Chebyshev). I know that IIR is more...

Hi, I would like to know on the implementation complexity issues beween FIR Filter vs. IIR Filter (Chebyshev). I know that IIR is more complex than FIR. But, in case of the FIR filter has higher order number than IIR, FIR can be more complex. If I have IIR Chebyshev 10th order vs. FIR with 59 Taps. Which one is the most complex one? Thanks, Berry


Re: Optimizing FIR filters as lower order IIR's

Started by Andor in comp.dsp17 years ago 29 replies

luke wrote: > I am currently tasked with optimizing FIR filters as lower order IIR > filters so that a micro-controller can perform the...

luke wrote: > I am currently tasked with optimizing FIR filters as lower order IIR > filters so that a micro-controller can perform the necessary DSP. I guess you mean that you want to approximate (not optimize) FIR filters with IIR filters. I further assume that by IIR filter you really mean filters with a rational transfer function (delayed sinc filters are also IIR, but cannot be expr


IIR filter order

Started by Grant Griffin in comp.dsp16 years ago 7 replies

I'm finally about ready to release an IIR filter design program called - you guessed it - ScopeIIR (TM). It currently supports the basic...

I'm finally about ready to release an IIR filter design program called - you guessed it - ScopeIIR (TM). It currently supports the basic design types of Butterworth, Chebyshev, and Elliptic. I'm trying to finalize the default and maximum IIR filter order that the program will support. To help me do that, please tell me about your experiences with IIR filter order, assuming the above t...


What am I missing about IIR Filter Design?

Started by FilterDan in comp.dsp12 years ago 11 replies

Every article I see regarding IIR filter design seems to make the subject far more complicated than it needs to be. For example, in this...

Every article I see regarding IIR filter design seems to make the subject far more complicated than it needs to be. For example, in this DSPRelated post "IIR Coefficient Calculation - ger_lough" the discussion goes on in great length about specific formulas for different protoypes (Butterworth, Chebyshev, etc) sampling rates, Q, pole locations, etc. I wrote an IIR Filter design program wher...


IIR approximation with FIR

Started by OutputLogic in comp.dsp15 years ago 29 replies

I need to implement a certain IIR filter in FPGA. The circuit has to process several samples in one clock, which requires to unfold the...

I need to implement a certain IIR filter in FPGA. The circuit has to process several samples in one clock, which requires to unfold the IIR feedback loop. If I do that, the circuit area and critical path become too large. My question is if there is a reasonably simple algorithm to approximate IIR with FIR. I've seen lengthy and impractical academic papers on how to do it. At this point I'...


Re: about filters/ FIR, IIR

Started by rashmi venugopal in comp.dsp15 years ago

> > On 02/07/2011 10:02 PM, rashmi venugopal wrote: > > > is fir filter is benificial or the iir filter for the application to > > > measure...

> > On 02/07/2011 10:02 PM, rashmi venugopal wrote: > > > is fir filter is benificial or the iir filter for the application to > > > measure the total harmonic distortion in metering equipment. > > > and also reasons to select particular filter, > > > > > > fir requires more memory than iir,, but iir is not a linear phase,, > > > > Does linear phase matter if you just want to know power magnitude? FIR


minimum phase IIR : application and design technique?

Started by bharat pathak in comp.dsp15 years ago 7 replies

1. what application area's are min phase IIR's used? 2. what is the design procedure for the same. Recenltly I was going thru the book of...

1. what application area's are min phase IIR's used? 2. what is the design procedure for the same. Recenltly I was going thru the book of proakis and stumbled upon topic on min phase IIR's. so this got me curious to know more. I know min phase FIR's and how to design them but want to know more about min phase IIR's. Regards Bharat


ECG Filter IIR vs. FIR

Started by mike2108 in comp.dsp17 years ago 2 replies

I'm just wondering about the reason for choosing an FIR filter over an IIR for ECG signals. If an IIR filter was used for a signal (in this...

I'm just wondering about the reason for choosing an FIR filter over an IIR for ECG signals. If an IIR filter was used for a signal (in this case, an ECG)which contained many signal frequencies of interest, could distortion of the signal be a problem due to the non-linear phase? I only ask because I've seen papers which use IIR filters for ECG noise removal, and I'm wondering if some special ...


First order IIR filter

Started by Rohit in comp.dsp17 years ago 13 replies

Dear All, I do not have any background in DSP, so please excuse if this question seems silly. I am working on a bugfix for an IIR filter...

Dear All, I do not have any background in DSP, so please excuse if this question seems silly. I am working on a bugfix for an IIR filter implementation in C. It takes samples from ADC and filters them. Filtering is done by an First order IIR filter. The transfer function is as follows: /* First order IIR filter z-transform(formula): [ 2^-n/(1-(2^-n)) ] ...


IIR phase compensator

Started by itsh11 in comp.dsp18 years ago 3 replies

I want to design an IIR notch filter with linear phase. It is pretty straight forward to design the IIR notch filter but I am not sure how...

I want to design an IIR notch filter with linear phase. It is pretty straight forward to design the IIR notch filter but I am not sure how to design the phase compensator(all pass IIR filter) that makes the overall phase of the system linear phase. Can someone throw a few pointers on this design? Many thanks


IIR filter - sample instants to flush out existing data

Started by Madhu in comp.dsp19 years ago 9 replies

Hi, I have a question on IIR filters. I have an IIR filter running on a TMS DSP. Suppose I have an FIR filter with 'a' taps. If the filter...

Hi, I have a question on IIR filters. I have an IIR filter running on a TMS DSP. Suppose I have an FIR filter with 'a' taps. If the filter is running and I want to flush the existing data at each of the taps out, it would take me 'a' sample instants. Is that correct? Now, if I have an IIR filter with 'a' feedforward and 'b' feedback taps, roughly how many sample instants would it take b...


Regarding polyphase IIR filter.

Started by venkat in comp.dsp19 years ago

Dear All, Iam working subband acoustic echo cancellation.In that for subbanding the input signal i used polyphase IIR filter.I...

Dear All, Iam working subband acoustic echo cancellation.In that for subbanding the input signal i used polyphase IIR filter.I searched in net for polyphase IIr filter design.I got some techinical documents related to polyphase IIr filter, I mentioned important links related to documents below. 1 http://users.cscs.wmin.ac.uk/~krukowa/pdf/Paper27.pdf 2http://ieeexplore.ieee.org...


linear phase iir filters

Started by shamganth in comp.dsp23 years ago 52 replies

sir, iam doing my postgraduation in communication in south india at Anna University. Iam doing my project in Linear phase IIR filters. I...

sir, iam doing my postgraduation in communication in south india at Anna University. Iam doing my project in Linear phase IIR filters. I have the base materials for Linear phase iir filters. I wish to implement the Linear phase IIR filter system in Matlab. so yet i haven't get an idea how to implement the system. If anyone came across those websites and have the materials relates to the codi...


Converting non-Causal IIR to Causal IIR

Started by bdm711 in comp.dsp21 years ago 26 replies

Hello, I am struggling to understand this. I understand that it is possible to have a non-causal IIR Filter (since there are poles and zeros...

Hello, I am struggling to understand this. I understand that it is possible to have a non-causal IIR Filter (since there are poles and zeros with IIR). However, I am given two low-pass filters and two-highpass filters: A(z) = H(z) : Lowpass B(z) = H(-z^-1) : Highpass C(z) = H(z^-1) : Lowpass D(z) = H(-z) : Highpass My thought is in order to have only causal filters you?ll need to add a d...


High sample rate IIR Filters

Started by francis in comp.dsp21 years ago 2 replies

Hi, 3 questions:- 1. I know IIR Filters are used for audio, but are there applications where IIR filters are used in higher sample rates. For...

Hi, 3 questions:- 1. I know IIR Filters are used for audio, but are there applications where IIR filters are used in higher sample rates. For example do IIRs get used in the MHz range. 2. Can I minimise the non-linear phase characteristics of the IIR? 3. Is there a good book that delas with digital filter architectures? Mike This message was sent using the Comp.DSP web inter...


Implementing IIR on Xilinx?

Started by androm in comp.dsp21 years ago 1 reply

Hi, I am trying to implement a filterbank with IIR on Xilinx FPGA. Does anyone have experience on similar project? Right now, I am using...

Hi, I am trying to implement a filterbank with IIR on Xilinx FPGA. Does anyone have experience on similar project? Right now, I am using direct form I second-order-series for the IIR. However, when I tried to generate the vhdl code in simulink, I was informed that the timing constraints could not be met. I think the problem might comes from the feedback loop in the IIR. Anyone could help? ...


regarding polyphase IIR filter.

Started by ch.venkat in comp.dsp19 years ago 6 replies

Dear All, This is the my first mail to post our group.Iam working on subband acoustic echo cancellation.In that for subbanding the...

Dear All, This is the my first mail to post our group.Iam working on subband acoustic echo cancellation.In that for subbanding the input signal 2 path polyphase IIR filter is used.I searched for polyphase IIR filter design in net I got some techginical documents.In those documents one documents for 2 path polyphase IIR filter design related to acoustic echgo cancellation, The filter coe...