cancel
Showing results for 
Search instead for 
Did you mean: 

Motor won't turn in closed loop FOC with using MC Control SDK and hall sensor

AnthonyK
Associate II

Hello,

I am trying to run a BLDC motor using the MC control SDK. The BLDC motor is the following: BLDC 40P30F
16P2.063D by MinebeaMitsumi. First, I entered its parameters in MC Workbench + made the profiling for its mechanical parameters, however this step didn't went as expected since I cannot run the motor in full speed, the MC Pilot gives me speed feedback error.

Anyway, I was able also to get the electrical angle offset using the oscilloscope (you can find the picture attached) (which is 120 degree). In addition, I tried to run the motor in Voltage and Current open loop as per the manual. I was able to run it without major problem.
However, when I want to run it in closed loop using the hall sensors, the motor won't turn smoothly. It starts to do a back and forth movement. I tried to tune the PI of the speed control however nothing is changing. + I monitored the hall effect sensor through oscilloscope when I command the motor to run, there are is no noise affecting the hall effect. What could be the issue then?

 

PS: I am using the latest version of the MC Workbench Version 6.3.2

 

I appreciate your support.

 

Sincerly,

 

Anthonyscope_1.png

 

7 REPLIES 7
STUser34
Associate III

Electrical angle offset how it is 120Degrees. From the rising edge of the Yello Hall signal to the peak of back emf it is around 180 + 60 (i assume) it shall be around 240. Please check.

Thank you for your reply. I followed this topic: Solved: Is this a 120 or 60 deg displacement angle hall mo... - STMicroelectronics Community that's why I thought it is 120 degrees. In the manual it is written as you have said in your post. I tried with 240 degree it is better but the speed is always constant at 1000RPM however the setpoint is 5000 RPM + the motor sometimes runs and sometimes it blocks or sometimes it runs clock wise and sometimes counter clockwise for the same setpoint

I am sorry it is my mistake i got confused 

STUser34_0-1743075251112.png

I was referring to the placement electrical angle, the sensors displacement is 120 which is correct which you have entered.

No it is my bad sorry. I got confused between the two also

AnthonyK
Associate II

Well, the current control loop is ok (I tuned using Open Loop Current). But when I get to the speed, this where the things are strange. I have attached the evolution of the elecrical angle when I turn the motor by hand (few degrees) and that's what I obtain. It is kind of weird no? The angle is always between 150 and -150 degrees? is it normal?

 

AnthonyK_0-1743164746637.png

 

Hello @AnthonyK,

Using Motor Workbench 6.3.2, you can take the advantage of Hall Sensor Motor Profiler.
Refer to User Manual documentation available through "Workbench tool">About>Documentations>Documentation>"User manual" tab>"Motor Profiler Application Note" link for more detail.

If you agree with the answer, please accept it by clicking on 'Accept as solution'.
Best regards.
GMA

Well I tried several times with that and everytime I get Speed feedback error; I tried to tune the C2 gain as recommended and it is not working. In addition, in the rev-up table, I cannot set anything the values keep on going back to zero I dont know why. It is really frustating. I was able to run without profiler using sensorless mode, but when I am doing a profiling, when I get to 28% the motor stalls and makes weird noise