cancel
Showing results for 
Search instead for 
Did you mean: 

STEVAL-SPIN3204 WITH MAXON MOTOR AND HALL + Encoder

VAL1025
Associate

Hello,

I've been trying to control a Maxon motor BLDC, the motor has hall sensors and encoder as well.  I'm using the STEVAL-SPIN3204 board. I've downloaded the MCSDK6, Cube MX and Cube IDE. I'm new to motor and motor control. I was able to start the motor and achieve full speed control of 9000 RPM, using the sensorless mode. the current monitoring window showed an average current of about 1500( I'm assuming this is in mA); the motor was freely running. I then proceeded to set-up and run the motor using the 6-step with Hall sensor. After properly welding/closing the JP5,JP6, and JP7 and leaving JP8,9,and 10 open as stated in the MC workbench. I was able to start the motor but only up to about 1800 rpm. The current monitor on the motor pilot showed an average current of more than 8500, again I'm assuming these are in mA. The motor is rated for 7.35A, however, once the board was connected to the motor pilot, it always shows a nominal amp rating of 2.64.  The over-current alarm is trigger after it goes over 2000 RPM but it can also be that the current monitor is triggering the fault as well as the current monitor shows it going over 8000mA.  I'm using a power supply set -up to  24v and 8 A. The monitor on the power supply does not go over 1.1Amps. The motor alarm should not be triggered. 

I appreciate any help that can be provided to solve this issue. 

Best regards,

2 REPLIES 2
GMA
ST Employee

Hello @VAL1025,

Did you check the Maxon HALL sensor DC supply? JP3 allows you to provide either 3.3 V or 5 V, refer to 1.6 Hall effect sensors and Quadrature encoder chapter of STEVAL-SPIN3204 User Manual.

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

Hello GMA,

Thanks for the reply.  I was able to get the motor going.  The issue was not the Hall sensors but rather the motor configuration. I was using 1 pole pair, this comes form the datasheet of the motor. I used a voltmeter to follow how the polarity changed on one phase over one mechanical revolution, the motor has three pole pairs. 

However, the new issue that comes up now is that I can't rev the motor over 3200 rpm. The motor has a limit of 18000 rpm. I double check all the settings on the ST MC workbench.  Not sure how to proceed. Motor Pilot interface shows Speed reference 10000 rpm  and mechanical speed 3287 rpm. 

I was able to go higher mechanical values using the 6 step with emf feedback reference using jumper j8-j9-j10 closed

Hope you can provide insight into what is going on. 

 

Best Regards,