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: external angular sensor

Other Parts Discussed in Thread: DRV8323R, TMS320F28069F

Hi Experts,

 

Please assist us with this customer's issue below.

 

Our customer is planning to use the Evaluation Board of the DRV8323R driver to drive a mountain skateboard motor, However, as instructed from the other E2E thread. The BOOSTXL-DRV8323Rx EVMs cannot directly support an angular sensor. The use of an angular sensor comes down to the processor used along with the BOOSTXL-DRV8323Rx EVM. One example of a processor that could be used is the TMS320F28069F.

 

Is it possible to connect this Eval board with MATLAB/Simulink setup to generate control algorithms and dump them into the controller?

Thank you in advance.

Best regards,

Jonathan

  • Hi Jonathan,

    The use of an angular sensor comes down to the processor used along with the BOOSTXL-DRV8323Rx EVM. One example of a processor that could be used is the TMS320F28069F.

    I have a few comments / questions on the above:

    1. For a new development I would recommend using one of our newer Gen3 C2000 devices. The F2806x device is an older Gen2 C2000 device. The newer Gen3 C2000 devices have a lot of good enhancements and new features. The Gen3 portfolio is also fairly full at this point, with lower, mid, and higher performance devices.
      1. See the C2000 page for more info: https://www.ti.com/microcontrollers-mcus-processors/c2000-real-time-control-mcus/overview.html
      2. If you need further help picking a C2000 processor for the application let us know and we can assist.
    2. What kind of angle sensor is your customer interested in using in their design? C2000 devices can support a number of angle sensors / encoders.
      1. For example Incremental / Quadrature encoder, HALL effect sensors, absolute encoders, etc.
    Is it possible to connect this Eval board with MATLAB/Simulink setup to generate control algorithms and dump them into the controller?

    Yes, Mathworks has support for C2000 MCUs. See: https://www.mathworks.com/products/ti-c2000-microcontroller.html

    Best,

    Kevin

  • Hi Kevin,

    Here is our customer response. 

    If you need further help picking a C2000 processor for the application let us know and we can assist.

    Response: Yes I would like to have support on the selection of a Gen3 C2000 processor, My requirement is to drive a 36V BLDC motor and develop a control algorithm.

    What kind of angle sensor is your customer interested in using in their design? C2000 devices can support a number of angle sensors / encoders.

    Response: I am looking for an angular sensor that can measure steering angle and be interfaced with a Gen3 C2000 processor. The sensor output will be used in motor control algorithms, I don't have a very high-resolution sensor requirement.

    Thank you once again for your usual support.

    Best regards,

    Jonathan

  • Hi Jonathan,

    Response: Yes I would like to have support on the selection of a Gen3 C2000 processor, My requirement is to drive a 36V BLDC motor and develop a control algorithm.

    Are there any other specific needs you have? Maybe for communication interfaces. Our newest F280013x device should be a good option, see the product overview below for more info:

    https://www.ti.com/lit/sprt755

    Response: I am looking for an angular sensor that can measure steering angle and be interfaced with a Gen3 C2000 processor. The sensor output will be used in motor control algorithms, I don't have a very high-resolution sensor requirement.

    HALL effect sensors are low cost and common for BLDC motors. They typically use six-step commutation to provide position of the rotor.

    Incremental (or quadrature) encoders are another option. They are more expensive, but provide better position info to the controller. C2000 devices have eQEP peripheral for interfacing with these types of encoders.

    Best,

    Kevin

  • Hi Jonathan.

    For controlling the motor torque/current in a low cost application, you can use hall sensors for the commutation of the motor (i.e. control of the inverter switching). In this case, you can directly use the digital inputs on the processor, provided the voltage levels are compatible.

    For measuring the steering angle I assume you need an absolute sensor which can read the angle on powerup without any memory or calibration step. If you are looking for a low cost solution then in this case I would recommend a sin/cos sensor. Once again if the voltage levels are compatible, you could read the signals using the ADCs on in the C2000 Launchpad. If it is a direct drive application without a gearbox, then this absolute sensor can also be used as a commutation sensor since you are reading the rotor position anyway.

    There are also other absolute encoder options with serial interfaces, but these can get expensive.

    Hope this helps.

    Eric

  • Hi Eric,

    Thank you for your support. We have an additional question from the customer.

    I am looking for Sensor which can interface over Eqep pins and provide a steering angle.

    Could you please suggest the part number for that?

    Best regards,

    Jonathan

  • Hi Jonathan,

    The sensor devices they choose will need to be specific to their application and motor. They should review the different device details and decide on a part.

    1. They can look at Digikey to get an idea of incremental / absolute encoder options
      1. https://www.digikey.com/en/products/filter/encoders/507
    2. For HALL effect sensors for commutation based sensing, TI has devices available. Could place 3 of these sensors at 120 degrees around the motor.
      1. https://www.ti.com/sensors/magnetic-sensors/hall-effect-latches-switches/overview.html
      2. For more info on using these devices, see: https://www.ti.com/lit/slvaeg3

    Best,

    Kevin

  • Hi Jonathan,

    The EQEP will not work as it interfaces only with quadrature encoders, which are incremental. A steering angle sensor requires an absolute sensor.

    For lower cost applications I suggest you consider a sin/cos sensor, which then requires either serial interface or use of the ADCs.