Hi
I was testing an AC brushless motor when I noticed that even when driving the motor unloaded one direction requires about 20-30% more current to move at the same speed.
I'm taking the current readings from IqCmd and IqMeas to compare.
According to the motor supplier this shouldn't happen, so I'm investigating if this could be caused by some setup elements.
The motor is driven using Voltage-Mode Direct-PWM Control.
Here are the motor settings I'm using, these live in a pmh file:
Sys.WpKey = $AAAAAAAA
Acc24E3[3].Chan[2].AdcOffset[0]=9699328
Acc24E3[3].Chan[2].AdcOffset[1]=-6225920
Acc24E3[3].Chan[2].InCtrl=$42043
Acc24E3[3].Chan[2].OutCtrl=$f200004
Acc24E3[3].Chan[2].AtanEna=1
Acc24E3[3].Chan[2].PackInData=0
Acc24E3[3].Chan[2].EncCtrl=3
Acc24E3[3].Chan[2].PackOutData=0
Acc24E3[3].Chan[2].PwmFreqMult=2
Sys.WpKey = $0
EncTable[19].index2=240
EncTable[19].pEnc=Acc24E3[3].Chan[2].AtanSumOfSqr.a
EncTable[19].ScaleFactor=0.0000152587890625
Motor[19].Servo.Kp=0.80000001
Motor[19].Servo.Kvfb=0
Motor[19].Servo.Kvff=10
Motor[19].Servo.Ki=8.0000001e-7
Motor[19].PhasePosSf=9.5367431640625e-7
Motor[19].ProgJogPos=3.16202013338397788e-322
Motor[19].IiGain=0
Motor[19].MotorTa=-2
Motor[19].MotorTs=5000
Motor[19].JogTa=0
Motor[19].JogTs=5000
Motor[19].MaxSpeed=3000
Motor[19].JogSpeed=3000
Motor[19].HomeOffset=5.5284086e9
Motor[19].FatalFeLimit=10000
Motor[19].WarnFeLimit=4000
Motor[19].MaxPos=262144
Motor[19].MinPos=-5.5190001e9
Motor[19].InPosBand=2000
Motor[19].I2tSet=4602.6406
Motor[19].I2tTrip=7.3581094e8
Motor[19].MaxDac=13369.574
Motor[19].pDac=Acc24E3[3].Chan[2].Pwm[0].a
Motor[19].pAdc=Acc24E3[3].Chan[2].AdcAmp[0].a
Motor[19].pPhaseEnc=Acc24E3[3].Chan[2].AtanSumOfSqr.a
Motor[19].pEncStatus=Sys.pushm
Motor[19].pEncCtrl=Sys.pushm
Motor[19].EncType=0
Motor[19].LimitBits=0
Motor[19].PhaseFindingTime=1
Motor[19].pAmpEnable=Acc24E3[3].Chan[2].OutCtrl.a
Motor[19].pAmpFault=Acc24E3[3].Chan[2].Status.a
Motor[19].pLimits=0
Motor[19].AbsPhasePosOffset=1191.8199
Motor[19].AbsPhasePosFormat=$1010
Motor[19].AbsPhasePosSf=0.0625
Motor[19].pAbsPhasePos=Acc24E3[3].Chan[2].AtanSumOfSqr.a
Motor[19].AbsPosFormat=$1002000
Motor[19].pAbsPos=Sys.pushm+$98
Motor[19].CaptControl=$13000000
Motor[19].pCaptFlag=Sys.pushm
Motor[19].pCaptPos=Sys.pushm
Motor[19].Control[0]=$14006080
Motor[19].ServoCtrl=1
Motor[19].PhaseCtrl=4
Motor[19].PowerOnMode=6
Motor[19].PhaseSplineCtrl=0
Motor[19].PhaseMode=8
Motor[19].CaptFlagBit=19
Motor[19].CaptPosRightShift=0
Motor[19].CaptPosLeftShift=0
Motor[19].CaptPosRound=0
Motor[19].pEncLoss = Acc24E3[3].Chan[2].Status.a
Motor[19].EncLossLevel=1
Motor[19].EncLossBit=31
Motor[19].FaultMode=1
Motor[19].Ctrl = Sys.ServoCtrl
Motor[19].ExtraMotors = 0
Motor[19].CmdMotor=0
Thanks in advance