- #1
DanatAMFL
- 7
- 0
Hello all.
I have a data signal that I'm looking to reduce the noise in. I'm recording voltage at 12000hz and am getting high frequency noise induced by nearby power supplies in the lines that I am using. The noise amplitude is approximately .2-.3 Volts and the signal I am trying to get out has an amplitude of approximately .8-.9 volts. The baseline hovers around 4V (so when a sample is detected at the sensor, it jumps up to ~5v, then back down to 4V when the sample leaves the sensor, samples only last at the sensor for a fraction of a second). Does anyone know a filtering technique that can smooth the noise in order for my signal squaring program to square the sample data and neglect the noise? The squaring program works off a slope criterion; when it sees a steep slope for x number of points in a row, it raises the squared signal, and does the same thing for lowering it. I have tried using a median filter, however the noise amplitude seems to be too large for it to work effectively. If I increase the N value (number of points to sample) in the median filter too much, it greatly affects my measurement. I need the processed signal to climb as soon as the raw signal begins to climb for a legitimate sample. Ultimately I'm looking to integrate the signal in order to find a ratio between the total amount of time that the sensor is detecting a sample to the total time of measurement.
Thanks for any help you guys can suggest!
I have a data signal that I'm looking to reduce the noise in. I'm recording voltage at 12000hz and am getting high frequency noise induced by nearby power supplies in the lines that I am using. The noise amplitude is approximately .2-.3 Volts and the signal I am trying to get out has an amplitude of approximately .8-.9 volts. The baseline hovers around 4V (so when a sample is detected at the sensor, it jumps up to ~5v, then back down to 4V when the sample leaves the sensor, samples only last at the sensor for a fraction of a second). Does anyone know a filtering technique that can smooth the noise in order for my signal squaring program to square the sample data and neglect the noise? The squaring program works off a slope criterion; when it sees a steep slope for x number of points in a row, it raises the squared signal, and does the same thing for lowering it. I have tried using a median filter, however the noise amplitude seems to be too large for it to work effectively. If I increase the N value (number of points to sample) in the median filter too much, it greatly affects my measurement. I need the processed signal to climb as soon as the raw signal begins to climb for a legitimate sample. Ultimately I'm looking to integrate the signal in order to find a ratio between the total amount of time that the sensor is detecting a sample to the total time of measurement.
Thanks for any help you guys can suggest!