Skip to main content
YWang.15
Associate II
July 8, 2022
Question

MCSDK 5.Y.4 6 step sensorless control compiler errors

  • July 8, 2022
  • 1 reply
  • 715 views

Hi, I am using STEVAL-SPIN32F04 dev kit to start my learning curve on STMC. I opened a example project of MC Workbench 5.Y.4 " and simply modify the speed sensor algorithm to observer+PLL and then I got compiling errors :

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 235

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 244

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 251

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 257

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 277

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 283

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 518

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 524

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 586

Error[Pe020]: identifier "stoPLLSensor" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 592

Error[Pe020]: identifier "RevUpCtrl_PhaseParams_t" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 723

Error[Pe020]: identifier "RUC_MAX_PHASE_NUMBER" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 726

Error[Pe020]: identifier "RevUpControl" is undefined C:\Users\wangy78\Documents\temporary\6S_STEVAL32_SL_VM\6S_STEVAL3204_SL_VM\Src\register_interface.c 735

Attached is the project file

Any help is greatly appreciated.

Thanks

This topic has been closed for replies.

1 reply

YWang.15
YWang.15Author
Associate II
July 8, 2022

I see, the observer + PLL algorithm works only for FOC. Not six-step control​. It seems using the b-EMF to simulate the hall sensor signal input to calculate rotation speed. Am I correct?