From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

dc offset removal

Hi,

 

I want to remove the dc offset from a signal, I checked the Basic DC RMS vi but it will subtract the mean(DC) from the original signal. 
Is there any way I can remove the offset?

 

Thanks so much,

Sharmi

0 Kudos
Message 1 of 7
(4,885 Views)

Can you do it in hardware? Or does your hardware you are acquiring the data with support this option

 

 

0 Kudos
Message 2 of 7
(4,879 Views)

I am acquiring the data in PXI 5663.

Is there any vi that can remove dc offset?

 

 

Thanks,

Sharmi

0 Kudos
Message 3 of 7
(4,866 Views)

Can you give more detail? Is this a signal you've already acquired and you want to take out the DC component? Or are you talking about removing the DC component from future acquistions at the time the data is acquired?

 

If it's the later, what you need is AC coupling but I'm not sure if that device has it. I'm assuming it doesn't because if you read one of the articles I linked before, it states that in general most devices except S series and DSA devices don't have AC coupling. 

 

That said, why not use a high pass filter, which will essentially eliminate the 0 frequency component?

 

Sometimes you need to look at data sheets. Other times Google will give you an answer if you just type in your question. Furthermore, you can search the forums and find this answer on here. Don't give up so quickly on finding an answer yourself!

0 Kudos
Message 4 of 7
(4,858 Views)

You want to remove the DC offset before digitizing with the DAQ?  Simply put a capacitor in series with the DAQ input.  A simple ceramic 1uF should more than work for you.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 5 of 7
(4,843 Views)

@crossrulz wrote:

You want to remove the DC offset before digitizing with the DAQ?  Simply put a capacitor in series with the DAQ input.  A simple ceramic 1uF should more than work for you.


A smart man to explicitly write it...I guess I need to stop putting links and start writing the solutions because it seems the OPs only look at them about 50% of the time Smiley Mad

0 Kudos
Message 6 of 7
(4,828 Views)

@for(imstuck) wrote:

@crossrulz wrote:

You want to remove the DC offset before digitizing with the DAQ?  Simply put a capacitor in series with the DAQ input.  A simple ceramic 1uF should more than work for you.


A smart man...I guess I need to stop putting links and start explicitly writing the solutions because the OPs usually look at them only about 50% of the time.


I've had to do this enough times.  Just as much fun is removing the AC component of a signal (hint:  use an inductor in series, it's called an RF Choke).  I will admit here that these are typically not what you want to do.  Usually you want to characterize the signal or look for a specific frequency band.  For that, you need to build a real filter.

 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(4,822 Views)