I will post this so you might be able to help me more accurately.
The set up >
Its a leaf motor with a IGBT powerstage all with isolated supplies.
The phase voltage sensing wires are not connected but I did have to tie them to 5v or else it will not do anything.
The battery voltage wire is disconnected and tied to -
I did have some success making it run at 30v but lots of problems getting it to sample the inductance.
I found if I get it to spin it will spin then if I let off the throttle and let it stop it stops abruptly and will not self start again.
When this happens I get 1 fet driver that gets hot and something Latches in the powerstage and it pulls a lot of current so I have to shut it down then let it cool for a couple seconds. Then start over.
That last problem is something I have looked very hard at but I found it with my thermal camera and I can tell when its a problem when the current needle on the labs supply pins it self all the way to the right.
I found when I tried 44v it seemed to be better but not great and I could not get the motor to run at all at 44v (partially charged 12s lipo)
I tried more voltage because I understand it may not work well when its designed with IGBTs and current sensors for 950 amps max. So my though was to try a little more voltage. When I went to 44v I played a bit and got the FOC to measure the inductance the best it has at ~250 uH my cheep meter says its 283 at the lowest spot and 1.4mH (1400 uH) at the highest spot (testing at different motor positions). I mention this because maybe this is more then the chip expects.
Anyways here is the setup menus.
SO now if I try the toneless start up it will light the second LED but when I give it throttle it jumps back to the first LED and it will not even try to turn the motor.
In HF tone start-up it will make noise and jiggle the motor a bit but when I try throttle it doesn't seem to move or it will make a bit more noise but eventualy it will just get stuck and not move at all just humming at the frequency its trying to use to read the position.
BTW on page 6 of your maual you say
One other thing how does it know which way to turn?
The set up >
Its a leaf motor with a IGBT powerstage all with isolated supplies.
The phase voltage sensing wires are not connected but I did have to tie them to 5v or else it will not do anything.
The battery voltage wire is disconnected and tied to -
I did have some success making it run at 30v but lots of problems getting it to sample the inductance.
I found if I get it to spin it will spin then if I let off the throttle and let it stop it stops abruptly and will not self start again.
When this happens I get 1 fet driver that gets hot and something Latches in the powerstage and it pulls a lot of current so I have to shut it down then let it cool for a couple seconds. Then start over.
That last problem is something I have looked very hard at but I found it with my thermal camera and I can tell when its a problem when the current needle on the labs supply pins it self all the way to the right.
I found when I tried 44v it seemed to be better but not great and I could not get the motor to run at all at 44v (partially charged 12s lipo)
I tried more voltage because I understand it may not work well when its designed with IGBTs and current sensors for 950 amps max. So my though was to try a little more voltage. When I went to 44v I played a bit and got the FOC to measure the inductance the best it has at ~250 uH my cheep meter says its 283 at the lowest spot and 1.4mH (1400 uH) at the highest spot (testing at different motor positions). I mention this because maybe this is more then the chip expects.
Anyways here is the setup menus.
SO now if I try the toneless start up it will light the second LED but when I give it throttle it jumps back to the first LED and it will not even try to turn the motor.
In HF tone start-up it will make noise and jiggle the motor a bit but when I try throttle it doesn't seem to move or it will make a bit more noise but eventualy it will just get stuck and not move at all just humming at the frequency its trying to use to read the position.
BTW on page 6 of your maual you say
What are you talking about in a later menu? Is that just option 0 from the main menu?When the option is set (in a later menu) to run position sensing at standstill by means of a High Frequency
tone,
One other thing how does it know which way to turn?
Code:
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> a
a) PWM frequency: 10kHz
b) deadtime: 1999ns
c) dutycycle testsignal: 50%
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: 19.00 kHz
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> b
a) current sensor transimpedance: 1.37 mV/A
b) maximum motor phase current: 49.8 A
c) maximum battery current, motor use: 49.8 A
d) maximum battery current, regen: 0.0 A
e) autocomplete
f) HF current, base level (HF only): 0.8 A
g) HF current, proportional factor (HF only): 1.0000
h) maximum phase current in drive 2 (HF only): 23.5 A
i) phase current for forcing motor position: 9.8 A
j) maximum shutdown error current, fixed: 12.3 A
k) maximum shutdown error current, proportional: 6.1 A
l) applied braking current (phase) on direction change: 0.0 A
m) offset filtering (phase) current limit: 0.0 A
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> c
a) calibrate throttle 1
b) calibrate throttle 2
c) polynomial coefficients throttle 1 (x, x^2, x^3): 1.0000, 0.0000, 0.0000
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: YES
h) test throttle
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> d
a) erpm limit, forward: 39.99 k-erpm
b) erpm limit, reverse: 29.98 k-erpm
c) accept direction change below: 382 erpm
d) transition erpm drive 2 -> 3: 2106 erpm
e) transition erpm drive 3 -> 2: 2523 erpm
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> e
a) battery voltage: 44.0 V
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> f
a) restore calibration, autocomplete
b) perform offset measurement
sensor a: -287.5 mV
sensor b: -257.5 mV
sensor c: -260.0 mV
c) perform gain measurement
channel a: 119.79 %
channel b: 109.68 %
channel c: 79.76 %
d) online gain calibration update rate: 0.302 %
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> g
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: 60
i) 2nd order: 3.0000
j) 3rd order: 0.0000
k) maximum amplitude: 100 %
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> h
a) autocomplete
b) throttle current filter -3dB freq: 100 Hz
c) error current 50% step response time: 5.002 msec
d) induction position filter 45 degree delay speed: 8.52 k-erpm
e) drive 2 speed filter 50% step response time: 203.0 msec
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> i
a) autocomplete
b) FOC measurement current: 49.8 A
c) FOC measurement erpm: 42.23 k-erpm
d) perform impedance measurement
measured inductance: 243.1 uH
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> j
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: 3802 Hz
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> k
a) autocomplete
phase control loop, recovery
b) 1st order: 0
c) 2nd order: 120.0000
d) 3rd order: 3.0000
amplitude control loop, recovery
e) 1st order: 240
f) 2nd order: 12.0000
g) 3rd order: 0.0000
h) pulse when current drops below: 3.9 A
i) pulse width: 29 usec
j) pulse % for exit: 95
k) pulse % filter 50% step response time: 14.2 msec
l) speed filter 50% step response time: 3.3 msec
m) try restart for: 236 msec
n) check for spinning motor, drive_0: enabled
o) check for throttle closed, drive_0: enabled
exit from startup to recovery at current
p) current to check: total current
q) fixed part: 15.9 A
r) proportional to throttle current, factor: 150 %
s) current filter 50% step response time: 2.3 msec
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> l
code: 0, angle: 358 deg, confidence: 31, used: no
code: 1, angle: 358 deg, confidence: 31, used: yes
code: 2, angle: 358 deg, confidence: 31, used: no
code: 3, angle: 358 deg, confidence: 31, used: yes
code: 4, angle: 358 deg, confidence: 31, used: yes
code: 5, angle: 358 deg, confidence: 31, used: yes
code: 6, angle: 358 deg, confidence: 31, used: yes
code: 7, angle: 358 deg, confidence: 31, used: yes
a) toggle hall usage
b) calibrate hall positions: no
z) return to main menu
------> z
########################################
# (c)opyright 2014, B.M. Putter #
# Adliswil, Switzerland #
# bmp72@hotmail.com #
# #
# version 2.30 #
# experimental, use at your own risk #
########################################
0) mode: HF tone
a) PWM parameters
b) current settings
c) throttle setup
d) erpm limits
e) battery
f) current sensor calibration
g) control loop coefficients
h) filter bandwidths
i) FOC motor impedance
j) CAN setup
k) recovery only
l) hall sensored only
m) miscellaneous
z) store parameters in ROM for motor use
------> m
