View Single Post
Old 03-16-2016, 03:14 AM   #2646 (permalink)
shaggythegangsta
EcoModding Lurker
 
Join Date: Mar 2016
Location: italy
Posts: 40
Thanks: 5
Thanked 2 Times in 2 Posts
Quote:
Originally Posted by MPaulHolmes View Post
The PI test isn't supposed to move the motor. It's supposed to find the right Proportional and Integral constants that let Id and Iq converge fast to IdRef and IqRef. Does it say that the test was a success?
this is what i got...

run-pi-test
No values passed the test.
Try the following:
pi-ratio 63
run-pi-test
pi-ratio 64
run-pi-test
pi-ratio 65
run-pi-test
Just keep going. If nothing passes the test after you have tried pi-ratio all the way to, say, 200,
it may be that the PI test is too stringent for your motor. Email me at paulandsabrinasevstuff@gmail.com.
config
config
motor-type=1
kp=00062 ki=00001
current-sensor-amps-per-volt=0013
max-regen-position=0390
min-regen-position=0490
min-throttle-position=0510
max-throttle-position=0610
fault-throttle-position=0005
max-battery-amps=0008 amps
max-battery-amps-regen=0008 amps
max-motor-amps=008 amps
max-motor-amps-regen=008 amps
precharge-time=0005 tenths of a sec
rotor-time-constant=005 ms
pole-pairs=001
max-rpm=03000 rev/min
throttle-type=1
encoder-ticks=2048 ticks/rev
pi-ratio=062
raw-throttle=0499
  Reply With Quote