use VisSim to drive brushless dc motor (trapezoidal back emf) with TI DRV8301 kit

Altair Forum User
Altair Forum User
Altair Employee
edited October 2020 in Community Q&A

Submitted by yue on Fri, 08/01/2014 - 08:40 

I have acquired the TI DRV8301 kit from Texas Instrument. The INSTASPIN seems to be close sourced in how it estimates flux, angle speed and torque, therefore I'm thinking of using Vsim instead for implementing the control. My question is that is it possible to use Vsim to implement the following control schemes on a brushless dc motor with trapezoidal shaped back emf:

  1. six step commutation which injects 120 degrees square wave current
  2. vector control (similar to that employed for permanent magnet synchronous motor)

If so, and if it's true that VisSim supports drv8301 kit, where can I find the relevant application note/ source code/ example for this?

Thanks in advance.

Yue Yao

Tagged:

Answers

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by speedyand1994 on Wed, 08/13/2014 - 01:35.

    You can use VisSim to control BLDC, PMSM, stepper and ACI motors. VisSim v9 supports instaSPIN as well, but it is closed source as you suggest. If you want to use sensorless FOC, we have some open source examples under Embedded > Examples > Digital Motor Control > PMSM > DRV8312EVM-pmsm-28035
    For BLDC look at: Embedded > Examples > Digital Motor Control > BLDC > DRV8302-HS-28035
    For InstaSPIN on the DRV8301 Launchpad look at: Embedded > Examples > Digital Motor Control > InstaSpin > FAST > motorWareDRV8301-28027

  • Altair Forum User
    Altair Forum User
    Altair Employee
    edited June 2016

    Submitted by yue on Thu, 08/21/2014 - 20:42.

    Thanks for your prompt and helpful response. One point worth noting is that my board is not the 8301 booster pack, but rather DRV8301-28069 with Instaspin.

    I have located the this example: Embedded > Examples > Digital Motor Control > InstaSpin > FAST > motorWareDRV8301-28069.

    Right now, I want to inject 2 different sets of current into my motor, which is a brushless dc motor with trapezoidal back emf, and examine the copper and core loss in the motor. With the drv8301-28069 board I should be able to do sine-wave current injection with a modulation index of 1, and move to trapezoidal current with over-modulation, by using a higher modulation index of 1.33, according to the Texas Instrument support team.

    How can I realize this with Vsim 9.0? I don't see any option in the example to change the modulation index. So my question is how to realize the aforementioned variable current shape with Vsim.

    Regards

    Yue