01-09-2018 05:50 PM
I am testing this 2 potentiometers and I want to determine whether or not the pot is linear.
The data collected on a good graphs look like this.
Where the RED line is the measured value and the GREEN line is the tolerance.
If the RED line is out of the GREEN line than these POT fails.
Attached below is a curve for linearity that I think will work with what I am doing?
If somehow we can make the GREEN LINES as wide at the end would fit into the model below.
The current program is not acturate and would always fail good units. It will pass today but fails tomorrow. The consistently of passing is not there. I think I need to open up the limits or find another way to determine pass or fail.
Do you think you can help?
Solved! Go to Solution.
01-10-2018 01:30 AM - edited 01-10-2018 01:38 AM
Hi kream,
I want to determine whether or not the pot is linear.
How do you define "linearity" with your pots?
I would define this as function of R_pot/R_full vs. slider position…
If somehow we can make the GREEN LINES as wide at the end would fit into the model below.
That's easy: either increase your LinTol value - or even set the tolerance to MAX(LinTol*value; FixedMinValue)…
I did change your core routine to:
Why do you need loops for polymorphic functions?
01-10-2018 12:44 PM
I would define this as function of R_pot/R_full vs. slider position…
How would I do something like that? Do you have an example?
I increased the tolerance to 0.25 and its seems to be okay but I don't know if its accurate or not.
How would I implement something like this
vs what it is currently is.
01-10-2018 01:49 PM
Hi kream,
I don't know if its accurate or not.
According to your images you need to expect ±0.2% of non-linearity (type 3500), with respect to resistance range. For a 100kOhm resistor you need to expect ±200Ohm non-linearity…
How would I do something like that?
You need to know the slider position to know the expected resistance value. Only then you can compare with real/measured resistance and calculate the non-linearity…
03-02-2018 11:07 AM
Hi
I have these data I have collected from the tests.
I am not familiar with linear fit.vi
or its function.
The current code is what I see. But I don't understand how the code works.
It is currently in use for production now but I think its not accurate and doesn't meet the criteria.
LINEARITY of a 10K pot should be 20 ohms or 0.20% error.
Can someone help me look at my code and see where it can improve?
Thanks
03-02-2018 12:53 PM - edited 03-02-2018 12:58 PM
Hi krispiekream,
is there a reason you need to put your measurement data into an array of cluster?
You use an arbitrary X axis for your fit, but I told you once you should use the current position of your pot(s) instead…
I'm really tempted to merge all your threads about this "linearity" topic! (And I did for this reference…)
03-02-2018 02:56 PM
thanks for your help.
I will look into the current position of the pot instead.
I didn't get that last time.
05-04-2020 03:17 AM
I need to confirm the linearity of rotary potentiometers. I was wondering how you monitored the current position of the pot. Also, did you turn the pot with a motor?
Thank you,
aycay