Skip to main content
Popeye
Associate III
February 1, 2023
Solved

Motor Pilot bugging. Is my Workbench configuration wrong?

  • February 1, 2023
  • 4 replies
  • 3146 views

Hi, I'm getting some nonsense values in Motor Pilot under "MC Configuration". It says there is no max app current or voltage, and my PWM frequency is something ridiculous. I've tried changing it to 25kHz and 20kHz, and these were the readings. I've never enabled position control, either--I cannot enable position control--yet it is enabled here. If I'm correct, medium frequency shouldn't be 0, either. What's the issue?? Oh, also I get some weird warning about demagnetisation. Can't remember touching that. Included image.

0693W00000Y9kcPQAR.png0693W00000Y9kcUQAR.png0693W00000Y9kdDQAR.png

This topic has been closed for replies.
Best answer by cedric H

Hello,

Could you please attach your stwb6 file used to generate your project.

I will try to reproduce your issue.

Regards

Cedric

4 replies

cedric H
cedric HBest answer
Technical Moderator
February 1, 2023

Hello,

Could you please attach your stwb6 file used to generate your project.

I will try to reproduce your issue.

Regards

Cedric

Popeye
PopeyeAuthor
Associate III
February 1, 2023

There you are. Thank you in advance, Cedric.

Popeye
PopeyeAuthor
Associate III
February 1, 2023

Thank you so much for your quick response! Please specify what format I should upload as. It seems .stwb6 is unsupported.

ST Employee
February 2, 2023

Hi Popeye,

I see that you try to use a FOC firmware with the 6STEP UI of the pilot.

You must use a UI dedicated to your firmware.

BRs

Popeye
PopeyeAuthor
Associate III
February 2, 2023

@LHOUE​ , I'm confused.

6-step project: 0693W00000Y9oksQAB.pngFOC project:

0693W00000Y9onvQAB.pngI see that 6-step doesn't support external current sensing and that the speed sensing parts of each algorithm take different inputs. However, all my FOC projects have the same UI and are distinct from the 6-step projects.

I see. You meant the Pilot is using a 6-step UI. I don't know how the change this yet, I'll try to do so now. If you have any further advice, I'd appreciate it. Thank you.

ST Employee
February 2, 2023

Hi Popeye,

To switch to FOC ui in the pilot, just click on the menu bar to "GUI", then "load GUI" and select MC_FOC_SDK.qml in MotorPilot GUI directory.

BRs

Popeye
PopeyeAuthor
Associate III
February 2, 2023

Did it. A little less lost now, thank you :)