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.

CCS/TMS320F28069M: LaunchPadXL-TMS320F28069M and BOOSTXL-DRV8305EVM

Part Number: TMS320F28069M
Other Parts Discussed in Thread: BOOSTXL-DRV8305EVM,

Tool/software: Code Composer Studio

Hİ 

I am working on BLDC motor control by using LaunchPadXL TMS320F28069M and BOOSTXL-DRV8305EVM motor driver. Moreover I am triying use an absolute encoder(AksIM-2 magnetic rotary encoder) to control the position of BLDC motor following 12x - 13x of TI instaSpin labs. I built up an UART-422 interface to the sensor and İ am successfully reading in the value( a 20-bit resolution the absolute angle and speed of encoder), but I couldn't integrate offset calibration of absolute encoder and I couldn't integrate electrical angle which is used for theta of PARK. I am trying those now in lab12b. BLDC motor I use has 4 pole pairs and absolute encoder lines 2^20 resolution. Moreover I have integrated successfully speed feedback that comes from absolute encoder in spinTac, lab12b. How can I integrate the position data for  theta of PARK and offset calibration for my asolute encoder. 

Did I miss a crucial part of the encoder integration or is there some other issue that I'm missing? Thanks for the help in advance.

  • As lab12a or lab12b, using the Rs calculation to force the rotor alignment, and then read the feedback value of the absolute encoder that's the offset value (the rotor angle of zero position).

    Add the calibrated offset to the reading value from the encoder, and convert it to the electrical angle ( the format is IQ24), that instead of the angle in "enc" object.