Bisan Posted April 14, 2023 Share Posted April 14, 2023 Hello, When I set my voltage generator to 0V and I connect it to the analog input pins of the DAQ, I get 0.02V. I was using my code to acquire the analog data and also InstaCal and with both I get noisy data. Is there a solution to this problem? Thank you. Link to comment Share on other sites More sharing options...
0 DAQman Posted April 14, 2023 Share Posted April 14, 2023 If you want to test the input offset, you can just connect the input to the analog ground terminal. If the USB-231 is in differential mode, connect both sides to the analog ground. Assuming the measurement is very close to zero, I suspect your voltage generator has an offset, or a ground loop exists between it and the USB-231. If you suspect a ground loop and have a laptop, run it on battery power to see if the measurement improves. Link to comment Share on other sites More sharing options...
0 Bisan Posted April 18, 2023 Author Share Posted April 18, 2023 Thank you for helping. I checked the input offset and indeed, I was getting 0. I also checked for the ground loop, but I was getting the same offset so there is no ground loop. I was using before the USB-205 single-ended DAQ and the offset was 0.04V so I moved to a differential DAQ in order to reduce this offset and it got reduced to 0.02V. Is there anything else I can do to get rid of this noise? I thought that changing the DAQ to a differential model will reduce the noisy in a more significant way. Link to comment Share on other sites More sharing options...
0 DAQman Posted April 18, 2023 Share Posted April 18, 2023 Depending on what is connected, sampling multiple channels can add what appears to be noise. Can you explain how you measure the noise and whether it is a 20mV peak or peak-to-peak value? Link to comment Share on other sites More sharing options...
0 Bisan Posted April 19, 2023 Author Share Posted April 19, 2023 I was sampling just one channel using a voltage generator. I was using InstaCal and doing an analog test. When looking at the data I was noticing a 0.02V error for the differential DAQ and 0.04V for the single ended one based on the value set for the voltage generator. Link to comment Share on other sites More sharing options...
0 DAQman Posted April 20, 2023 Share Posted April 20, 2023 The noise is not from the USB-231. Either the wires pick up the noise from the surrounding, or the voltage generator is low-quality. Invest in shielded twisted-pair wire if the wires are picking up the noise. Connect the shield to the earth's ground at one end only. If the noise is from the voltage generator, use averaging to reduce it. For example, if you want 100 samples per second, increase the rate to 1000 and average every ten samples. Link to comment Share on other sites More sharing options...
0 Bisan Posted April 22, 2023 Author Share Posted April 22, 2023 Understood, Thank you. One more question please. Are the analog input channels synchronized? Will the data acquisition start at the same time for all channels or there is a delay between them? Link to comment Share on other sites More sharing options...
0 DAQman Posted April 24, 2023 Share Posted April 24, 2023 The USB-231 is a multiplexed device with a single A/D that measures each channel one at a time. The channel-to-channel is the inverse of the sample rate. Link to comment Share on other sites More sharing options...
0 Bisan Posted May 5, 2023 Author Share Posted May 5, 2023 That is the case for the software paced mode right? Can I use the hardware paced mode to scan two channels at the same time? If yes how can I do it? Link to comment Share on other sites More sharing options...
0 DAQman Posted May 8, 2023 Share Posted May 8, 2023 You can use the AInScan function for hardware pacing. However, the channels will not be sampled at the same time. Let's say you want to read four channels at 1000 S/s. The time between each channel will be 1/1000 or 1mS. The time from when the first channel is read to when the fourth channel is read is 4mS. Link to comment Share on other sites More sharing options...
Question
Bisan
Hello,
When I set my voltage generator to 0V and I connect it to the analog input pins of the DAQ, I get 0.02V. I was using my code to acquire the analog data and also InstaCal and with both I get noisy data. Is there a solution to this problem?
Thank you.
Link to comment
Share on other sites
9 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now