LabVIEW

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

filter response

Hi,

I am receiving the signal from the hydrophone and then passing the signal through the filter(express vi) but at t=0 there is a pulse in the filtered waveform but not so in the received waveform.

Can anyone explains me why this is so?

Attaching the image of the received and filtered received waveform.

0 Kudos
Message 1 of 3
(2,543 Views)

Classical filter artifact, depending on your filter architecture you have a finite (or more or less  infinte) filter settling time.

Usual ways to overcome:

- read more data before the region of interest and cut it.

- mirror the start of your data and cut it.

- remove the offset of your data or init the filter with the first startpoint or ....

 

- finally a combination of some or all of it šŸ˜„

 

the step response of your filter is a good indication for the length of your settle time ( number of additional samples needed) šŸ˜‰

 

If you read the data continously anyway, do the filter init only once at the start. (that boolean input, see help of filter vi)

Hint: Try to avoid the express vis ..

 

Greetings from Germany
Henrik

LV since v3.1

ā€œgroundā€ is a convenient fantasy

'˙˙˙˙uıɐʃɐ lɐıp puɐ °06 ĒuoÉ„d ɹnoŹŽ uɹnʇ ĒsÉĒld 'ŹŽÉ¹Éuıƃɐɯı sı pĒlɐıp ĒŹŒÉÉ„ noŹŽ É¹ĒqÉÆnu ĒÉ„Ź‡'


Message 2 of 3
(2,517 Views)

Filters (usually) don't know about signals that have occurred in the past but haven't been recorded.  In particular, when you start filtering, it doesn't know the value of the signal before you started acquiring data.  It (not unreasonably) assumes it was identically 0.  Suppose it isn't?  Let's say it's a constant 1 v -- then your filter sees a 1v "step" which it tries to "filter out" ...

 

Bob Schor

Message 3 of 3
(2,507 Views)