Skip to main content
christianwaldmann9
Associate II
August 13, 2014
Question

FOC Library 4.0: SPD_SetMecAngle

  • August 13, 2014
  • 2 replies
  • 653 views
Posted on August 13, 2014 at 09:29

In the Library there is the function 

SPD_SetMecAngle

Reading all available help and documentation, I am not sure what the purpose of this functions is.

Here my question: 

Can I use the  function 

SPD_SetMecAngle 

to let a motor move by setting a mechanical angle.

If I increment the angle in a fixed time interval, is the motor then following the requested mechanical position?

#foc-library-stm32
This topic has been closed for replies.

2 replies

Gigi
ST Employee
August 25, 2014
Posted on August 25, 2014 at 10:36

Ciao Christian

The mechanical angle management (set, get and calc) is actually implemented for the quadrature encoder. For HALL sensor and sensorless they are just dummy functions that do nothing.

Ciao

Gigi

hassanbhutta91
Visitor II
December 4, 2014
Posted on December 04, 2014 at 21:25

hye brother: can you please send me foc v4 library. it is not download, i tried many time.