This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

InstaSPIN-MOTION without mechanical feedback

Genius 5910 points


I was wondering if it is possible to spin the motor without mechanical feedback (resolver/encoder/hall).

I want to switch in the MainISR between.

 between

      ST_runPosConv(stHandle, encHandle, ctrlHandle);
      ST_runPosMove(stHandle);
      ST_runPosCtl(stHandle, ctrlHandle);

and

ST_runVelCtl(stHandle, ctrlHandle);

 Only for that I need to include:

 #include "spintac_velocity.h"

 and

#include "spintac_position.h"

 And that is a problem.

Or is this an option:

    speedFeedback = EST_getFm_pu(ctrlObj->estHandle);

   convert speedfeedback to an angle and place it in

enc->enc_magnetic_angle

Thanks!

edit: removed incorrect information

  • Are you trying to switch between sensor control and sensorless control?

    I think you should be able to add SpinTAC Velocity Control into spintac_position.h.  spintac_position.h and spintac_velocity.h were not designed to be used concurrently, but they can be combined into a single header file.