|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: PIDs out of control
From what we've gathered, the PotentiometerGetNormalized.vi gets the voltage reading from the potentiometer and returns it as some sort of proportion of the total possible voltage. It seems that 90 degrees ~ .1 change in the returned value.
So, if we were to set our "midpoint" at the middle of the pots rotational range, we would set our setpoint to .50. Our goal then is to rotate at maximum 90 degrees in either direction from this point. Theoretically, this should change the value by .1, but it has a small variation, so we have it set to where we manually control the "maximum" and "minimum" values of the pot. None of these values we have set come up near the extreme values of rotation, which would either be "0" or "1". We haven't thrown in any limitations to rotations in the program other than how far we can change the setpoint, but I will soon implement something. |
|
#2
|
||||
|
||||
|
Re: PIDs out of control
Quote:
|
|
#3
|
|||
|
|||
|
Re: PIDs out of control
Well, regardless of it's particular function, do you have any other ideas as to why this problem is occuring?
|
|
#4
|
||||
|
||||
|
Re: PIDs out of control
Quote:
|
|
#5
|
|||||
|
|||||
|
Re: PIDs out of control
And to help figure out if it's hardware, it would help if we understood just what hardware you're using, how it's connected, and how it's supposed to work. Including links to spec sheets would also be helpful!
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|