Ok, well I think it is alive but either I have a setup parameter set wrong (most likely) or my supply is not man enough for the job.
I think I fixed all my wiring issues and got the following results:
When doing the Current Sensor Calibration -> Perform offset measurement the motor made a high pitched noise and did not move
When doing the Current Sensor Calibration -> Perform gain measurement the motor made a high pitched noise and moved around about 90 degrees
When doing the FOC motor impedance -> perform impedance measurement the motor made a quiet noise
When doing the throttle setup -> test throttle the number 1 moves from the left to the right and it shows F- the whole time.
This looked promising so I saved (store parameters in ROM for motor use -> save data to ROM for motor use) powered down, removed the setup jumper, powered back up, turned the throttle and nothing
Motor was making a tiny amount of noise barely audible, nothing like the tone I heard in the video in Lebowski's thread. If I spun the motor by hand the green drive_3 LED would light for a second.
Maybe someone can tell me what I have set wrong
Supply - 48Vdc 8 amps
Motor -
http://www.hobbyking.com/hobbyking/store/uh_viewItem.asp?idProduct=41051
PWM parameters
a) PWM frequency: 21kHz
b) deadtime: 366ns
c) dutycycle testsignal: 51%
d) toggle high side polarity, now active HIGH
e) toggle low side polarity, now active HIGH
f) test PWM signals
g) autocomplete
h) loop sample frequency: 41.03 kHz
current settings
a) current sensor transimpedance: 40.00 mV/A
b) maximum motor phase current: 9.9 A
c) maximum battery current, motor use: 7.9 A
d) maximum battery current, regen: 0.0 A
e) autocomplete
f) HF current, base level (HF only): 0.4 A
g) HF current, proportional factor (HF only): 1.0000
h) maximum phase current in drive 2 (HF only): 4.7 A
i) phase current for forcing motor position: 2.4 A
j) maximum shutdown error current, fixed: 1.2 A
k) maximum shutdown error current, proportional: 1.2 A
l) applied braking current (phase) on direction change: 0.0 A
m) offset filtering (phase) current limit: 0.0 A
throttle setup
a) calibrate throttle 1
b) calibrate throttle 2
c) polynomial coefficients throttle 1 (x, x^2, x^3): -0.0002, -0.0002, -0.0002
d) polynomial coefficients throttle 2 (x, x^2, x^3): -0.0002, -0.0002, -0.0002
e) use analog throttle 1: YES
f) use analog throttle 2: NO
receive throttle over CAN: NO
g) TX throttle over CAN: NO
erpm limits
a) erpm limit, forward: 7.85 k-erpm
b) erpm limit, reverse: 0.29 k-erpm
c) accept direction change below: 0 erpm
d) transition erpm drive 2 -> 3: 751 erpm
e) transition erpm drive 3 -> 2: 150 erpm
battery
a) battery voltage: 48.0 V
current sensor calibration
a) restore calibration, autocomplete
b) perform offset measurement
sensor a: -40.0 mV
sensor b: -37.5 mV
sensor c: -40.0 mV
c) perform gain measurement
channel a: 108.69 %
channel b: 93.65 %
channel c: 98.78 %
d) online gain calibration update rate: 0.302 %
control loop coefficients
a) autocomplete
phase control loop, drive 3
b) 1st order: 240
c) 2nd order: 12.0000
d) 3rd order: 0.3000
phase control loop, drive 2
e) 1st order: 480
f) 2nd order: 24.0000
g) 3rd order: 0.0299
amplitude control loop
h) 1st order: 120
i) 2nd order: 6.0000
j) 3rd order: 0.1499
k) maximum amplitude: 100 %
filter bandwidths
a) autocomplete
b) throttle current filter -3dB freq: 100 Hz
c) error current 50% step response time: 1.000 msec
d) induction position filter 45 degree delay speed: 3.04 k-erpm
e) drive 2 speed filter 50% step response time: 106.5 msec
FOC motor impedance
a) autocomplete
b) FOC measurement current: 4.9 A
c) FOC measurement erpm: 56.35 k-erpm
d) perform impedance measurement
measured inductance: 27.5 uH
CAN setup
a) CAN 'address': 16383
b) CAN CFG1 as per Microchip 30F manual: 65535
c) CAN CFG2 as per Microchip 30F manual: 65535
RS232 output rate: 3730 Hz
miscellaneous
a) autocomplete
b) motor standstill voltage threshold: 0.48 V
c) low side pulsing in drive 0: enabled
d) low side pulsing rate: 20 Hz
e) low side pulsing width: 20 usec
f) high frequency tone at standstill: enabled
g) wiggle range: 19 deg
h) wiggle rate: 10 Hz
i) minimum # of cycles going from drive 2 to 3: 1000
j) number of cycles going from drive 3 to 2, HF only: 200
Any thoughts?
Cheers
Chris