Page 2 of 2

Re: Novice Velocity PID Instructions?

Posted: Thu Dec 29, 2016 12:06 pm
by nickosinski
Hello again,

My next question... in playing with the P value and leaving D/I at 0 (zero), I'm able to get 2 motors to traverse the same distance, but one will always run faster than the other - so one always seems to reach the desired distance total sooner/earlier than the other motor.

I obviously want the motors to not only travel the same total distance, but do so at the same rate/speed. What do you think I'm doing wrong?

Thank you again,

Nick.

Re: Novice Velocity PID Instructions?

Posted: Fri Dec 30, 2016 9:19 am
by Basicmicro Support
1. Sorry, this thread has gotten long and I didnt remember you are using a very old model.
2. P means proportional. It doesnt regulate speed very well. For true speed control you must use P and I. But the fact there is a big difference in speeds between the two motors indicates the P settings for the motor is not correct. Note the settings will not necessarily be the same for both motors. Even if they are exactly the same mode and have the same load. Usually its close enough but sometimes its not.

Re: Novice Velocity PID Instructions?

Posted: Sat Dec 31, 2016 6:13 am
by nickosinski
Thank you so much!!!

I think that is one of the fundamental things that I didn't understand - that the motors may have completely different P values even if they're identical motors.

Again, thank you for taking the time to answer all my questions; it's very much appreciated! Happy New Year!

Nick.

Re: Novice Velocity PID Instructions?

Posted: Mon Jan 02, 2017 10:07 am
by Basicmicro Support
Different values but usually in the same ballpark if they are the same model motors running the same load.