Skip to main content
minozemstan
Associate
March 9, 2022
Solved

How do you set up sensored six-step control? (in a kit, that supports it, but doesn't have an example file for it)

  • March 9, 2022
  • 3 replies
  • 4689 views

I'm building a project around the B-G431B-ESC1 board, that claims to support hall sensored 6-step control, but in motor bench there are no example files for this (only sensorless electric speed control files). I know you are supposed to generate files in motor bench and then set six step control method in CubeMX. But when I do that, I get bunch of errors in CubeIDE that I'm missing many necessary library files. When I link them in project options for compiler files from different project (that is FOC and does have them), I get the same errors. When I go back to Motor Control and update the same project (which theoretically should add those needed libraries) it rewrites the code and sets the control method to FOC (like it would ignore anything you'd set inside CubeMX).

So my question is how to set up six step control?

I've spent enormous amount of time trying to resolve this, but to no avail.

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

Hello @minozemstan​ ,

Unfortunately in the MCSDK version 5.X the 6 steps is not fully integrated and a minimal support is provided only through examples. If your configuration is not part of the examples list, then there is no straightforward way to generate a 6-steps project. From hardware point of view the B-G431B-ESC1 board is capable to do 6 steps control with or without sensors. We are preparing a new version of the MCSDK (version 6) that will bring the 6-steps support at the same level than the FOC with a limited number of supported board first. (but the B-G431B-ESC1 is part of them). The availability on st.com is planed for end of March.

Best Regards

Cedric

3 replies

cedric H
cedric HBest answer
Technical Moderator
March 9, 2022

Hello @minozemstan​ ,

Unfortunately in the MCSDK version 5.X the 6 steps is not fully integrated and a minimal support is provided only through examples. If your configuration is not part of the examples list, then there is no straightforward way to generate a 6-steps project. From hardware point of view the B-G431B-ESC1 board is capable to do 6 steps control with or without sensors. We are preparing a new version of the MCSDK (version 6) that will bring the 6-steps support at the same level than the FOC with a limited number of supported board first. (but the B-G431B-ESC1 is part of them). The availability on st.com is planed for end of March.

Best Regards

Cedric

SZürc.3
Visitor II
September 15, 2022

Any news about generall six step support release.

When is the next version 6 update with spin32g4 support coming.

minozemstan
Associate
March 11, 2022

I've seen plans for version 6, but now I'm really looking forward to it. Thank you very much for your answer!

JJame.5
Visitor II
September 15, 2022

Hi @minozemstan (Local area Part),

Tragically in the MCSDK variant 5. X the 6 stages isn't completely coordinated and a little help is given exclusively through models. In the event that your setup isn't essential for the model's list, then, at that point, there is no direct method for producing a 6-steps project. According to an equipment perspective, the B-G431B-ESC1 board is fit to complete 6 stages of control regardless of sensors. We are setting up another rendition of the MCSDK (form 6) that will bring the 6-step support to a similar level to the FOC with a predetermined number of the upheld boards first. (in any case, the B-G431B-ESC1 is essential for them). The accessibility on st.com is planned for the end of Spring.

Best Respects

SZürc.3
Visitor II
September 15, 2022

Dear JJame,

Can you upload the 6-step example for the B-G431B-ESC1. It's neither in 5.Y.4 nor in version 6.