View Single Post
Old 03-15-2016, 01:33 AM   #2633 (permalink)
thingstodo
Master EcoModder
 
Join Date: Sep 2010
Location: Saskatoon, canada
Posts: 1,488

Ford Prefect - '18 Ford F150 XLT XTR

Tess - '22 Tesla Y LR
Thanks: 746
Thanked 565 Times in 447 Posts
Quote:
i'dont know why the motor is not turning....

heeellllppp ahahahh
Please capture the results of the 'config' command for me:

This is what mine looks like:

config
motor-type=1
kp=04000 ki=00064
current-sensor-amps-per-volt=0480
max-regen-position=0390
min-regen-position=0490
min-throttle-position=0510
max-throttle-position=0610
fault-throttle-position=0005
max-battery-amps=0200 amps
max-battery-amps-regen=0200 amps
max-motor-amps=200 amps
max-motor-amps-regen=200 amps
precharge-time=0050 tenths of a sec
rotor-time-constant=018 ms
pole-pairs=002
max-rpm=06000 rev/min
throttle-type=0
encoder-ticks=0064 ticks/rev
pi-ratio=000
raw-throttle=0502

Then I need to know if you have run these commands:

run-pi-test

- sets Kp and Ki displayed above
- you need to type save after you run it

run-rotor-test
- sets rotor-time-constant above
- you need to type save after you run it

Even if you have my settings (which are for a rather large siemens motor) the motor should still spin. But if there are a couple variables that don't have values then .. I think ... maybe .. it would do nothing?

With no encoder connected, the motor does turn (not very fast) but it sounds kinda bad.

If the variables are all set, and B+ and B- are connected, and all 3 phases are connected to the motor (the order does not matter - the rotation may be backward), twist the accelerator and the motor spins. If there is an issue (current sensor not connected, overspeed, etc) then the fault is printed on the terminal ... ?
  Reply With Quote