Removing Drift from Data in LabView
Jan 2024
GOAL: use LabView to remove drift in real time from a set of data
SKILLS: LabView programming, signal filtering
Using LabView, I wrote a program that will load temperature data and display the same data, but while subtracting the 5-point weighted moving average of the original signal.The newest data is 10 times more important than the oldest data. This will act as a high pass filter on the data, removing drift, but preserving small changes.
Block Diagram and Front Panel
Block Diagram and Front Panel
Results
Results
Original data in white, weighted moving average in red,
Original data in white, high pass filtered data in red