Update for Sep 11
The latest hex file I received from Paul is SensorlessFOC.hex (but he's still working on the sensorless part) dated Sep 11 at 6:22 pm
Loaded into the controller - OK
config shows 0 for raw-throttle-signal.
Start capture to foc test 1. run-pi-test - no sounds and eventually prints every number from 62 up to 20000. Wiggle around the connection on the throttle. It seems the cheap potentiometer is not up to the task! When it begins reading, center it.
run-pi-test again. Again, all number printed out.
cycle power, config shows 522 as a raw throttle now. Try run-pi-test again. It gives me no numbers and a message that states
'No values passed the test'. Hmm
run-pi-test again, just for the fun of it.
This time I get 3 numbers. 3534, 4030 and 5456. 5456 sounds familiar, but it different from my last successful run. But it's close.
Set p 5456 and i 88
run-rotor-test. It hums for a while but does not turn. It seems to abort the test early. All 0's printed out.
Cycle power to the controller
set p 5456, i 88, encoder-ticks 4000
Try running the motor with the throttle. It appears that the encoder signal is not getting through. I need to review my notes and see if I put 24V into the encoder or 12V into the encoder. I have a resistor network on the output to drop the signals to 5V. I remember that the signals never got above 10V ... but I don't remember the supply voltage I used.
I'll update this post when I find the notes .. or find my posting about the encoder ... if all else fails I still have a hex file that just reads the encoder signal and prints it to hyperterminal
It appears that I need a new set of commands from Paul so I can change the encoder-ticks, the number of pole-pairs, max-battery-amps, max-motor-amps, etc etc
I think that the max amps (motor and battery) may be limiting the test. I *KNOW* that the alignment of the coupler between AC and DC motors is not good (binding) and that the coupler between the DC motor and the encoder ... the encoder wiggles when it turns
Maybe it's good that the motor did not spin up to 6000 rpm? I'm sure that the motors would have vibrated apart!
Video 1
https://youtu.be/beccIT8Gy2c
Video 2
https://youtu.be/QRyaNKy5Sss
Video 3
https://youtu.be/0dB2qA5oYBk