If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
DAQ (LabJack) analog input voltage flickering/noise
4 posts
• Page 1 of 1
DAQ (LabJack) analog input voltage flickering/noise
Hi guys,
I´m using a LabJack (DAQ-System) to read the voltage of some sensors. LabJack has a tool called LJControlPanel where you can test the data aquisition on your analog inputs. If I use the LJControlPanel to read the output voltage of the sensors everything is fine and i have nearly no flickering/ noise. If i read the output voltage in FlowStone, for some reason i get alot of flickering and noise. What could cause that?
I added two gifs to clarify what im talking about.
For comunicating and reading the Labjack data i use the LabJack Example (http://www.dsprobotics.com/support/viewtopic.php?f=42&t=362).
I think something in the algorithm of FlowStone or the code in the Lab-JackU3-HV module is causing this strong flickering. I cant open the module code so im not able to see what could cause this. Can anybody help me figure this out?
I´m using a LabJack (DAQ-System) to read the voltage of some sensors. LabJack has a tool called LJControlPanel where you can test the data aquisition on your analog inputs. If I use the LJControlPanel to read the output voltage of the sensors everything is fine and i have nearly no flickering/ noise. If i read the output voltage in FlowStone, for some reason i get alot of flickering and noise. What could cause that?
I added two gifs to clarify what im talking about.
For comunicating and reading the Labjack data i use the LabJack Example (http://www.dsprobotics.com/support/viewtopic.php?f=42&t=362).
I think something in the algorithm of FlowStone or the code in the Lab-JackU3-HV module is causing this strong flickering. I cant open the module code so im not able to see what could cause this. Can anybody help me figure this out?
- Attachments
-
- LJControlPanel voltage
- LJControlPanel voltage output.gif (132.43 KiB) Viewed 11837 times
-
- FlowStone voltage
- FlowStone voltage output.gif (835.06 KiB) Viewed 11837 times
- RSC
- Posts: 2
- Joined: Wed Feb 24, 2021 8:32 am
Re: DAQ (LabJack) analog input voltage flickering/noise
Hi,
I design and build Data Acquisition Systems (since 1980 ), and have used LabJack, and others before, including my own PIC based microcontrollers over USB to FlowStone.
It looks like the LabJack "engine" has some digital filtering, and typically FlowStone runs communications as fast as possible, so it has no filtering - that is left up to the designer / engineer.
NOTE that any filter you make will be a tradeoff between response of the system (lag - it takes time to process out the noise), and how much noise you filter.
I.E. more filtering = larger lag time / slower response, less filtering = smaller lag / faster response.
If you can put in a step response to your input(s), you can test how much filtering is enough, and how much system lag / response is acceptable to you. I typically go with just enough filtering, and try to preserve my system response, since my designs are typically for front panel real time control of lighting, stage, and laser show equipment.
I am at work now, and when I get home I will look through my bag of tricks - maybe there is something that can help
Aron
I design and build Data Acquisition Systems (since 1980 ), and have used LabJack, and others before, including my own PIC based microcontrollers over USB to FlowStone.
It looks like the LabJack "engine" has some digital filtering, and typically FlowStone runs communications as fast as possible, so it has no filtering - that is left up to the designer / engineer.
NOTE that any filter you make will be a tradeoff between response of the system (lag - it takes time to process out the noise), and how much noise you filter.
I.E. more filtering = larger lag time / slower response, less filtering = smaller lag / faster response.
If you can put in a step response to your input(s), you can test how much filtering is enough, and how much system lag / response is acceptable to you. I typically go with just enough filtering, and try to preserve my system response, since my designs are typically for front panel real time control of lighting, stage, and laser show equipment.
I am at work now, and when I get home I will look through my bag of tricks - maybe there is something that can help
Aron
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
Re: DAQ (LabJack) analog input voltage flickering/noise
Hi aronb,
thanks for your advise. Currently im filtering by creating an array for some milli seconds, if it has 10 values stored I calculate the average. Is this a good way to deal with this?
thanks for your advise. Currently im filtering by creating an array for some milli seconds, if it has 10 values stored I calculate the average. Is this a good way to deal with this?
- Attachments
-
- calculate Average
- Average Value.PNG (63.69 KiB) Viewed 11775 times
- RSC
- Posts: 2
- Joined: Wed Feb 24, 2021 8:32 am
Re: DAQ (LabJack) analog input voltage flickering/noise
Hi,
The way you are doing you filtering seems fine... For any of my ADC Systems I try and make the signal input / ADC capture as noise free as possible. But sometimes you still need some filtering.
Here are a few things I use (I grabbed them from a few schematics using ADC / Data Acquisition).
There are both Green and Blue connector versions. Typically the ADC comes in over Green Connections, and I need Blue stream data in the end, so often I will do my filtering with slew limiters or some type of circular buffer or capture XX number of samples and average them, and sometimes I do it with just green connections - just like you have shown.
Hope this helps, and good luck,
Aron
The way you are doing you filtering seems fine... For any of my ADC Systems I try and make the signal input / ADC capture as noise free as possible. But sometimes you still need some filtering.
Here are a few things I use (I grabbed them from a few schematics using ADC / Data Acquisition).
There are both Green and Blue connector versions. Typically the ADC comes in over Green Connections, and I need Blue stream data in the end, so often I will do my filtering with slew limiters or some type of circular buffer or capture XX number of samples and average them, and sometimes I do it with just green connections - just like you have shown.
Hope this helps, and good luck,
Aron
-
aronb - Posts: 154
- Joined: Sun Apr 17, 2011 3:08 am
- Location: Florida, USA
4 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 29 guests