karstensson said:
I am actually not sure if i am running sensorless or not. These are the settings I have been using.
I don't know the OSFW well enough to tell you what the settings chosen mean. But my experiences with the SFOC5 FOC controller showed me that things like the Iq and Id numbers may have to be tuned for the specific motor/etc.
Then the P and I on the speed may need to be tuned (they are the proportional and integral numbers of the control loop).
The "sensorless settings" section looks like motor-specific settings. Resistance would be the phase resistance, meaning resistance of the windings across any two phases, probably in milliohms. There are some ways you can measure this if you don't know what it is for your motor, to do it directly you'd need a meter capable of reading veyr very low resistances; I got this one:
DE-5000 Handheld LCR Meter
https://www.amazon.com/gp/product/B00S298KJO
and even with that I'm not sure it is accurate enough at that low a resistance to measure the motor windings. See this thread
https://endless-sphere.com/forums/viewtopic.php?f=2&t=105637
for my testing results with it; I never did get replies there with help in understanding it, so I still don't know if the problem was me, the meter, or the reference data.
If you have a constant-current power supply you can use that to run a small constant current thru the windings and measure the voltage drop across them; this will let you calculate the resistance with ohms law.
Inductance is the inductance of the windings. Measuring this indirectly I don't know how to do; I asked repeatedly when testing the SFOC5 but never got any reply about it, and without that I couldn't really tune the controller to my motor, so I could never really test the controller properly.
Theoretically the DE-5000 can measure the inductance ok, but again, I don't know that it is accurate enough at that low a reading.
I have no idea what Flux LInkage or Gamma are for. or what the stuff in the fields for FOC voltage and current could possibly mean; they don't look like voltage or current values. (I truly despise obtusely obscure GUIs, when it is possible for programmers to create something intuitive and easy to use that doesnt' require lookup tables or often-convoluted instructions to figure out what to enter in a field. But I have yet to see a controller setup program that made any sense this way; they all look like they're made for the convenience of the programmer and not of the user, which is a pretty silly way to do things).
However, even with all that, I don't know what your controller uses for number ranges, or what kind of tuning it needs for specific motors. That's something you will probably have to check with the OSFW documentation (or it's threads on ES, or discussion on Github if there is any) to determine. You could just change settings, but I don't know how much of an increment is useful, and how much is too much, and could potentially cause damage.
I will try to change the wiring for the phases. But the motor has a 9 pin connector and so does the controller, so I have just assumed that it was correct.
It probably is...but I don't know.
As long as autolearn worked, it means the controller correctly determined the phase/hall combo. (or it should mean that) So you shouldn't need to mess with the wiring.