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.

LAUNCHXL-F28P55X: Sensorless control in DesignDRIVE?

Part Number: LAUNCHXL-F28P55X
Other Parts Discussed in Thread: C2000WARE

1) I am using dual_axis_servo_drive project with the LAUNCHXL-F28P55X microcontroller for a sensored control of a PMSM motor.

If I wanted to implement in this project your sensorless algorithm that provides "feedback" to the current values read by the encoder, would that be possible?

Would I need to import any libraries?

Or is it not supported at all?

I am asking because I may need both sensored control and sensorless control.

I know this is possible if I write all the code from scratch, but I'm wondering if you have an existing project (like "dual_axis_servo_drive " and those found in "C2000Ware_MotorControl_SDK_Install_Location/solutions/boostXL etc.") that has both controls.

Thanks.

  • EDIT:

    1) I have read the section 4.3 Porting Reference Code to New C2000 MCU of the pdf Motor Control SDK Universal Project and Lab.

    However, I did not find any detailed passages in the text solely concerning the importation of sensorless libraries (e.g., FAST) isolated from the entire porting context. In other words, the section is designed for changing controllers (devices) rather than for 'adding libraries to existing projects'.

    2) In addition, I tried searching for FAST libraries in a sensorless project written by you that contained them, for example LAUNCHXL-F280049C with C28x CPU
    Sensorless Torque/Velocity Control:

    ..  but FAST is nowhere to be found

    3) In my current project dual_axis_servo_drive the module speed_observer is present in the "observers" folder. Is it perhaps a simplified version of the InstaSPIN_FAST sensorless? Maybe I can use that module without having to import anything else...

  • 1) I have read the section 4.3 Porting Reference Code to New C2000 MCU of the pdf Motor Control SDK Universal Project and Lab.

    However, I did not find any detailed passages in the text solely concerning the importation of sensorless libraries (e.g., FAST) isolated from the entire porting context. In other words, the section is designed for changing controllers (devices) rather than for 'adding libraries to existing projects'.

    You are not required to import the FAST  libraries on any device rather you can port the code corresponding to the FAST libraries on you code to enable the sensor-less control.

    Other way to use the universal motor control code and change the hardware abstraction files according  your hardware details. 

    One other way to use the sliding mode observer which is available on the Universal motor control code. In this part, you are just required to port the below .c..h files and port the corresponding code to estimate the speed/angle to your code.

    2) In addition, I tried searching for FAST libraries in a sensorless project written by you that contained them, for example LAUNCHXL-F280049C with C28x CPU

     FAST libraries are not accessible as they are closed source files. 

    3) In my current project dual_axis_servo_drive the module speed_observer is present in the "observers" folder. Is it perhaps a simplified version of the InstaSPIN_FAST sensorless? Maybe I can use that module without having to import anything else...

    No. they are used to calculate the speed based on the measured motor angles..