08-08-2023 01:08 AM
How do I have a Reference value of 0 when there is no voltage supplied. I'm Using NI USB 6001 and Voltage Sensor of 25 volts.
also I need to Calibrate it.
Solved! Go to Solution.
08-08-2023 02:19 AM
Hi tanmay,
@TanmayBoii wrote:
How do I have a Reference value of 0 when there is no voltage supplied. I'm Using NI USB 6001 and Voltage Sensor of 25 volts.
also I need to Calibrate it.
To apply a "zeroing"/tare feature you measure the signal of your sensor with no external signal applied, store the resulting value in a shift register and subtract from the following readings...
What do you want to calibrate?
08-08-2023 09:56 AM - edited 08-08-2023 09:56 AM
Besides what GerdW said, the NI 6001 is limited to +/-10 Volts on its analog input.
You will need to use a voltage divider to scale that voltage to a range that is within the limits of the analog input.
Then apply that scaling factor to your measurements.
08-11-2023 01:56 AM - edited 08-11-2023 01:58 AM
Hello GerdW,
Actually my motive is to measure voltage from a solar panel for my project. So, I'm Using a voltage sensor which measures upto 24v. we also know that NI USB 6001 measures upto -/+ 10v in analog input. but, as per the specification of the voltage sensor, the voltage is converted into factor of 5. which means for example if I supply voltage of 5v through the voltage sensor it gets converted into 1v by dividing factor of 5. so as per my code i added a multiplying factor of 5 to get accurate value. but, the values are fluctuating. so for that i added a smoothing filter waveform to get more accurate and less fluctuating value. I've also added a knob to make its value to zero without supplying any DC voltage.
given specifications of the voltage sensor :-
Input Voltage (V) |
0 to 25 |
Voltage Detection Range (V) |
0.02445 to 25 |
Analog Voltage Resolution (V) |
0.00489 |
I can also understand that there will some amount of noise level in the reading
My only Doubt is that how to make the Filtered value to zero. like calibrating it take reading from zero
08-11-2023 02:03 AM
Hi Tanmay,
@TanmayBoii wrote:
My only Doubt is that how to make the Filtered value to zero. like calibrating it take reading from zero
As said before: implement a tare function!
Mind to downconvert your VI for LV2019? I cannot give suggestions based on looking at an image of parts of the frontpanel…
08-11-2023 02:07 AM
Hello GerdW,
I've attached the Vi file to 2018 version. I hope it won't cause any issues.
08-11-2023 02:28 AM - edited 08-11-2023 02:29 AM
08-11-2023 02:30 AM
actually i was Calibrating for per 0.25 volts XD
08-11-2023 02:35 AM
also just to check that how much variation is it giving for 0.25v to 21v
08-11-2023 02:48 AM
Hi Tanmay,
@TanmayBoii wrote:
actually i was Calibrating for per 0.25 volts XD
No, you are manipulating measurement data in a way you never keep an overview of what you are doing…
"Calibration" is checking a sensor against a "know good" and "better" reference sensor!