cancel
Showing results for 
Search instead for 
Did you mean: 

Motor works well with FOC algo, but with 6-step algo makes squeeling sounds at higher

sgordon777
Associate III
HI I have a motor which I've used for while with many 6-step controllers, including commercial ESCs.
 
I profiled this motor and it works well with the ST sensorless FOC, but using the same motor profile in a 6-step app gives very bad results, the motor works OK at low RPM, but above 1K or so it makes a terrible squeeling sound and operates very inefficiently.. I had a quick look at the scope but nothing jumped out at me
 
A couple other Qs:
-Where in the MCW config do I configure the PWM input control? 
-Is there an example of controlling the speed with the Potentiometer on the B-G431B-ESC1
 
Motor control workbench Version: 6.2.0
STM32CubeMX Version: 6.10.0
STM32CubeIDE Version: 1.14.0
Controler/Driver: B-G431B-ESC1 kit
MCW application: Electronic speed control on B-G431B-ESC1 kit (6Step)
 
1 ACCEPTED SOLUTION

Accepted Solutions
SRedd.5
Senior III

Where in the MCW config do I configure the PWM input control? 

SRedd5_0-1702016349290.png

It is available in the Stage Configuration.

Is there an example of controlling the speed with the Potentiometer on the B-G431B-ESC1

The source code is available in 

\CLN_MCLib\MotorControl\Any\Src

potentiometer.c

speed_potentiometer.c 

You have to add to your project and map to one of the ADC's.

 

 

View solution in original post

1 REPLY 1
SRedd.5
Senior III

Where in the MCW config do I configure the PWM input control? 

SRedd5_0-1702016349290.png

It is available in the Stage Configuration.

Is there an example of controlling the speed with the Potentiometer on the B-G431B-ESC1

The source code is available in 

\CLN_MCLib\MotorControl\Any\Src

potentiometer.c

speed_potentiometer.c 

You have to add to your project and map to one of the ADC's.