Skip to main content
Associate II
July 14, 2024
Solved

Profile a motor which is not in the Workbench Motors Tab

  • July 14, 2024
  • 2 replies
  • 9399 views

Hello,

Introduction

I would like to profile a motor which is not in the motors tab in MC Workbench. I have done some Googling and reviewed the ST documentation (STM32 Motor Control SDK > Motor Profiler Application Note) but have not found the solution to my problem.

Problem Description

Because the motor I'm using is not provided in an ST development pack I did the following:

New Project > Modular > 1 Motor > FOC > Next

My motor is not in the list so I click next to select the power board (IHM08M1) and control board (F302R8). That's as far as I can get because without selecting a motor I can't create the project and generate code.

The motor I want to profile is a Dualsky XM4240CA-12 (11.1V, 850 kV). It's an ordinary brushless outrunner.

How can I do this?

 

The hardware and software I'm using are:

Hardware:

    Control Board:Nucleo F302R8

    Power Board: IHM08M1

    Motor: Dualsky XM4240CA-12 (11.1V, 850 kV)

Software:

    MC Workbench 6.2.1

 

    Best answer by GMA

    Hello @Gary_Baldy,

    Select a motor that has the electrical characteristics closest to yours.

    2 replies

    Gael A
    ST Employee
    July 15, 2024

    Hello Gary_Baldy,

    You can find more information on how to use the Motor Profiler on our documentation (via Motor Pilot -> Help -> Profiler Documentation)
    However, I can already tell you that the Motor Profiler feature has to be enabled via WorkBench in the Application Configuration tab. That way, the generated project will be recognized as a Profiler firmware by the MotorPilot, and you will be able to get your motor's parameters.

    If you agree with my answer, please consider accepting it by clicking on 'Accept as solution'.Hope this will help,Gaël A.
    Associate II
    July 17, 2024

    Hi Gael,

    Many thanks for your reply!

    I totally agree that the motor profiler feature needs to be enabled. However in order to be enabled it is necessary to define the motor, power board and control board by creating a new project in MC Workbench. I can't create a new project because I can't specify the motor since it's not on the list of motors provided. If this explanation is not clear to you let me know and I'll reply with screenshots.

    Gary

    GMA
    Technical Moderator
    July 18, 2024

    Hello @Gary_Baldy,

    Workbench requires a motor but when profiler is selected, you can used any available one.

    If you agree with the answer, please accept it by clicking on 'Accept as solution'.Best regards.GMA
    GMA
    GMABest answer
    Technical Moderator
    July 23, 2024

    Hello @Gary_Baldy,

    Select a motor that has the electrical characteristics closest to yours.

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

    Gael, GMA,

    Guys thanks for your help and my apologies for the amount of back and forth.

    My problem now is that if I want to use the 6-step algorithm with the IHM08M1 power board then I can't select use the F302R8 Nucleo (it's not in the list to pick from) - but I'll put that in a separate post.

    Thanks again for your help!