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.

Looking for Vissim / ECD support for F28069M MCU

Other Parts Discussed in Thread: DRV8301, DRV8312

I have downloaded the 60 days trial of Vissim/Embedded Controls Developer v9, which supports InstaSPIN and SpinTAC. I want to use this software to implement a motor control model, making use of the SpinTAC controllers and FAST estimator. My board is a DRV8301 with Piccolo F28069M MCU.

The problem is that the documentation of the example projects in VisSim is nearly non-existent, which makes it hard for me to get a good grasp of what is possible.

So now I am looking for someone who has worked with VisSim/ECD in combination with a TI MCU, who can provide me with some more information and insights.

Also, I read somewhere that the blocks in VisSim for InstaSPIN and SpinTAC are constructed by TI themselves. Would it be possible to get support from someone who helped develop these blocks?

You can always add me as friend or send me a private message.

Thanks in advance.

  • Thomas,

    I worked with the people at VisSim to develop the SpinTAC blocks for simulation and code gen.  What kind of questions do you have?  

    Also with SpinTAC there should be simulation examples to show you how to work with the blocks.

  • LineStream - Adam Reynolds said:

    Thomas,

    I worked with the people at VisSim to develop the SpinTAC blocks for simulation and code gen.  What kind of questions do you have?  

    There is an example for the FAST estimator called "motorWareDRV8301-28069.vsm" found in "Embedded > Examples > Digital Motor Control > InstaSpin > FAST", which I'm using as a starting point. However, the InstaSpin Motor Control block can't be accessed, and I'm wondering what is going on in there. Is the SpinTAC controller being used, and if so, why is it impossible to edit any settings, like maximum acceleration for example?

    Regarding SpinTAC, there is an example called "lab5phCv3.vsm" found in  "Embedded > Examples > Digital Motor Control > InstaSpin > SpinTAC > lab5", where it is clear that the SpinTAC controller is being used. Would it be better to start from this example to build my model? However, I'm not sure if this example is compatible with my board and MCU.

    Also with SpinTAC there should be simulation examples to show you how to work with the blocks.

    I think you are referring to (among others) the labs I said earlier. However, I find it hard to grasp what is going on in all of the blocks, because there is no documentation available.

     

  • Thomas,

    The motorWareDRV8301-28069.vsm is designed to be an example of the codegen aspects of VisSim.  It isn't meant to be an example showing you the inner workings of the InstaSPIN Motor Control.  The creator of this lab would probably be able to answer this better than I can.  But in this example the SpinTAC controller is not being used.

    Yes, lab5phCv3.vsm would be a much better starting point for your model.  I'm fairly confident that this is compatible with the DRV8312 eval kit and the Teknic M2310P motor.  This example is a position control application and does not use the sensorless software.  lab4phCv3.vsm is the equivalent example for sensored velocity systems.  

    The examples I'm referring to are under Embedded -> Examples -> Digital Motor Control -> InstaSPIN -> SpinTAC and are the SpinTAC_Pos_Loop and SpinTAC_Vel_Loop.  These are simulation examples only and are not meant for code generation.

  • Alan,

    Thanks for the answer.

    LineStream - Adam Reynolds said:

    Thomas,

    The motorWareDRV8301-28069.vsm is designed to be an example of the codegen aspects of VisSim.  It isn't meant to be an example showing you the inner workings of the InstaSPIN Motor Control.  The creator of this lab would probably be able to answer this better than I can.  But in this example the SpinTAC controller is not being used.

    Yes, lab5phCv3.vsm would be a much better starting point for your model.  I'm fairly confident that this is compatible with the DRV8312 eval kit and the Teknic M2310P motor.  This example is a position control application and does not use the sensorless software.  lab4phCv3.vsm is the equivalent example for sensored velocity systems.  

    I'm using the DRV8301 kit with a BLDC motor. Is it possible to edit this lab to make it compatible with my board? My application is velocity control, however. Is that possible as well? 

    Also, is it better to always use sensored control (I'm using a quadrature encoder with a resolution of 500), or are there situations where the sensorless control with FAST estimation is better?

  • Thomas,

    I'm not really familiar with how they set that part of the project up.  You should only need to change lab4 over to your board/motor since that is already velocity control.

    I'll forward your forum post over to the VisSim contact I have.  Hopefully they can answer your question about converting the project for your board.

    The biggest advantage you get with sensorless control is that there is no reliance on the sensor.  So if the sensor breaks while doing sensored control the motor can't function, but with sensorless the motor itself acts as a sensor.  Also there are less parts which means a simpler system and a lower BOM.  The biggest disadvantage is that at very low speeds (< 5-10Hz electrical) the sensorless can break down and not function very well.  TI's FAST estimator is probably the best sensorless estimator available, but even it can't work at near 0 speeds.

  • let me send this to VisSim to see if they can support.

    this feature-set is pretty new

  • Thomas and Adam, 

    To see the spinTAC block set and examples, you will need to run this install here:

    www.vissim.com/downloads/software/setupVisSimSpinTAC90.exe

  • vsi-pete said:

    Thomas and Adam, 

    To see the spinTAC block set and examples, you will need to run this install here:

    www.vissim.com/downloads/software/setupVisSimSpinTAC90.exe

    Pete,

    I have already installed the SpinTAC add-on.

    In SpinTAC lab 5 phase C, the ADC-PWM block is implemented for a DRV8312 board. I need to edit this to make it compatible with DRV8301, but the block is password protected. Any way to fix this?