LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Correcting DC offset in AC Coupled Accelerometers - Solution more so than question

I'm acquiring data on four PXI-4472B cards, and all are set to AC coupled in MAX.  I'm using the "AI Accelerometer" create channel VI and noticed that my channels VDC doesn't equal 0v like I would expect with AC coupled channels.  I'm decided to use the "Amplitude and Levels Express VI" to get the DC offset, and subtracting my waveform array by this.  Sound right?  Hopefully it is, and anyone else with this problem can use this solution.

0 Kudos
Message 1 of 6
(3,417 Views)

Well it works for simulated data, but not real data.  Any thoughts?

0 Kudos
Message 3 of 6
(3,410 Views)

If you have a handy sma dc block, that might be the first thing to try.

 

In terms of software, wouldn't a high pass filter or simply taking the derivative of the signal get you close to what you want?

 

No experience with that card, sorry!

0 Kudos
Message 4 of 6
(3,396 Views)

Reply, yes.  I have a highpass filter at 1Hz on my actual program, but not on the mock program that I attached.  I think I just need to bump it up to 2Hz.

0 Kudos
Message 5 of 6
(3,394 Views)

1. The spectrum of white noise is a constant.  If you have enough noise in your signals, that may elevate the baseline of the spectrum.

2. If you acquire fractional cycles of your signal, you will have a DC component, although that does not offset the spectrum.

3. Why do you ADD twice the DC component to the signals before calculating the spectrum? The usual approach is to subtract the mean.

 

Lynn

0 Kudos
Message 6 of 6
(3,379 Views)