+ Post New Thread
Results 1 to 2 of 2

2nd August 2019, 09:57 #1
 Join Date
 Dec 2014
 Posts
 5
 Helped
 1 / 1
 Points
 889
 Level
 6
3phase BLDC motor resolver problem
Hi,
I am trying to drive a 3phase BLDC motor with FOC and have some questions about obtaining resolver offset angle. In the driver I used ABC notation for phases and FOC accepts A phase as 0 angle electrical. The motor cabling uses UVW notation. The motor has 5 polepairs. There is already a somewhat working design that is able to drive the motor(hardware designed by other people), but it has hardware problems so I designed a new hardware and used the same logic that is able to drive the motor. There is a resolver for angle detection and the logic uses Angle Tracking Observer to calculate the speed and angle. Logic treats the rotation in CW direction seen from the front of the motor shaft as positive. However, I was told that the resolver is mounted flipped along the yaxis so to get the proper angle and rotation direction, logic multiplies the cos values that it gets from the resolver by 1. Again, I also was told that the offset between the resolver angle and the actual angle of the rotor is 11.5 mechanical degrees, and that it is found by trial and error.
Now, here comes the issue. I tried to drive the motor with a few unsuccessful attempts and at last succeeded by figuring our some mistakes that I did in the design and connecting the ABC phases to VWU respectively. In this case, the offset is set to 11.5 degrees, meaning that we subtract 11.5 from the angle we get from the resolver and use that as rotor angle. Through the serial port, I get some debug data on the calculations inside the FPGA and through this data I verified that FOC actually produces a field that is 90 degrees ahead of the rotor angle (in magnetic field domain of course).
AFAIK, to calibrate the resolver, in terms of space vector PWM notation we can apply 100 vector for 0 degrees electrical angle and read the resolver angle in that position and use as the offset to get the actual rotor angle. So, I switched the phase connection to ABCtoUVW respectively and rerun the calibration algorithm. What I expected was, since I rotated the phase connection in negative direction by 120 degrees, I would get 11.5  24 = 35.5 degrees for the new offset value. Because the magnetic field that is produced should move in the negative direction in mechanical world by 24 degrees because of the number of pole pairs. To my surprise, I actually got 12.5 degrees which is 11.5 + 24 and that would mean that magnetic field moved in positive direction. This doesn't make sense for me.
The logic with 12.5 degrees offset and the ABCtoUVW phase connection also works, and it actually creates the magnetic field 90 degrees ahead of the rotor angle. The only difference I noticed is an increase in audible noise that the motor produces when rotating. This is caused by the vibration in the motor setup, but this doesn't exist at the same level when the motor is driven in ABCtoVWU configuration with 11.5 degrees offset. The power consumption is the same in both cases, so the efficiency is also the same.
I was wondering what might be the cause of 24 degrees change in the offset? Am I missing something? I added my childlike drawings for the phase change that I did to give you a better sense of my understanding of the system.

Advertisement

2nd August 2019, 12:40 #2
 Join Date
 Dec 2014
 Posts
 5
 Helped
 1 / 1
 Points
 889
 Level
 6
Re: 3phase BLDC motor resolver problem
It seems that I cannot edit the post, so I will elaborate what I mean by the calibration algorithm. We just created another basic logic that applies SVPWM vectors one by one and log the angle data and average the offset angle for at least one full rotation.
+ Post New Thread
Please login