Because of the Thanksgiving holiday in the U.S., TI E2E™ design support forum responses may be delayed the week of November 23.

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.

TMDSHVMTRPFCKIT Motor Ramp Rate

Hi,

IN the TMDSHVMTRPFCKIT Quick start guide page 6, under " Speed reference Slider & textbox", it says " Please provide for enough time for the motor to ramp up to this speed. Also note that the ramp is deliberately slow in the flashed image, and can be easily modified in the code for desired performance levels and characteristics"

Which section of the code should I look at to modify this? 

Is it in the same section for both the GUI code and also the sample code that has incremental build level?

Thanks !

  • ytan,

    the code is the same, however to support demo requirements few changes were done,

    If you would see the sample code available a variable called SpeeRef is used to control the speed of the motor.

    In the GUI image, we have "slewed" the speedref so a nice smooth start. This is what the document refers to. The GUI Project is not released. but adding a ramp / slew should be easy.

    Regards

    Manish Bhardwaj

  • Manish, thanks for the reply!

    So you mean in the incremental build code, the speedref is not slewed ? (i.e, acceleration rate not limited?)

    If I can elaborate, I am at incremental build 3 and am trying to put a step in the speedref, say, from 0 to 0.3pu , and would like to look at the graph of the speedref command and the step response. I am actually having trouble getting the graph to display properly in CCS as the maximum sample buffer seems to be 200, and once I increase the number to anything more than 200, the graph goes awry. If you can give some pointers on this, that would be great !

    Thanks!

     

  • Manish,

    I looked at the block diagram and found that there is ramp on the speed ref. At level 3, the speed loop is not closed, only trying to close the current loop. Seems that the speed is artificially generated from the ramp macro.

    Thanks. 

     

     

  • ytan,

    the ramp gen is to start the motor,  once the motor is started and the speed loop is closed the ramp gen is out of the picture,

    The slew i talked about in the previous post is the slew you need to apply SpeeRef variable that feeds the PID MACRO,

    hope this makes it clear,

    Regards

    Manish Bhardwaj