I am trying to figure out how to get a pretty heavily loaded (15lb wheel) moving, quietly. I am using Lab5a, since I can adjust Kp and Ki. Previously I was looking at lab 21, but turns out the motor is not salient. The motor is a very low inductance BLDC Scorpion S-4025-12. Attached is the user file. Power supply is a 30V battery. I am aware that I am asking the launchpad to do quite a bit more than it is rated for in terms of current, so I am only using it for shorter burst. We are working on a custom board that has hardware more appropriate for the load, its just gonna take a few more weeks and I need to flush out the software. ForceAngle flag is on.
So.. with no load, the motor works great. But with the wheel attached:
Up to IqRef_A of 19, i get very little amp use, about 1.2amps, consistently throughout operation. The motor vibrates some, there is some noise but its reasonable, and over time, eventually spins the wheel. The movement becomes perfectly smooth and stable at about 100 - 150rmp. At IqRef_A 20, amp consumption suddenly jumps to 15 amp or higher, and the wheel does get going pretty quickly. The problem is, the motor is really loud and vibrates violently, until it hits over 250 rpm, at which point amp consumption decreases to about 4 amps and everything is smooth and quite. I am confused why IqRef_A of 20 behaves so differently from IqRef_A of 19. I though perhaps it was related to USER_IQ_FULL_SCALE_CURRENT_A (which happens to be 20.0), but changing that value did not change this behavior.
Incidentally, for both IqRef_A values, if I by hand slow the motor back down to below 100 rpm or so, the noise and vibrations returns, and in the case of IqRef_A 20, consumption spikes back up to 15 and up. So for IqRef_A, going up the cut of is 250 rmp, but going down its 100rpm.
-what is happening between IqRef_A 19 and IqRef_A 20?
-what does the noise and vibration indicate? Does FAST not have the correct orientation of the motor and therefore sending bad PWM, until ~ 150rmp is reached? Or is this just the behavior of force angle, and 150rpm is where Force Angle and FAST are switching control? I played with with the value of USER_ZEROSPEEDLIMIT some, and reducing it all the way down to (0.01 / USER_IQ_FULL_SCALE_FREQ_Hz) did seem to change the switch point to 90rpm. But I cant get seem to get it any lower than that.
-Since the battery power supply is 30V, and possibly I will use over 20 amps, should these variables all be changed to 30? USER_IQ_FULL_SCALE_VOLTAGE_V, USER_ADC_FULL_SCALE_VOLTAGE_V , USER_IQ_FULL_SCALE_CURRENT_A
thanks