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.

TMS320F28069F: Instaspin Sensorless and Sensored applications

Part Number: TMS320F28069F
Other Parts Discussed in Thread: MOTORWARE

Hello!

I'm using instaspin to control several motors with sensors and without sensors (both Hall and Encoder). 

We have a custom hardware and we also have designed an interface to control via bluetooth and/or CAN the motors. The designed hardware can be used with both sensor and sensorless motors but the sw needs to be changed depending of the kind of control is used. We would like to have the possibility of change the control from sensorless to hall or Encoder  by clicking a button in our user interface. 

Is there any way to integrate both programs (FOC Sensorless and FOC Sensored) in a single SW? Now depending on the definition of QEP in the project properties some functions or others are used/included. We want to make the use of these function dependant from a global variable rather than from preprocessor instructions. Is it possible? If so, is there any example?

Thank you in advance

Borja

  • You may download the motorWare s/w package as the following link, you can find the sensorless and sensored instaSPIN example projects separately, and it should be a little easier to integrate both sensorless and sensored projects into a single one by yourself although the motorWare didn't have such example.
    www.ti.com/.../motorware

    Btw, the sensored instaSPIN only supports encoder.