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.

How Start SVPWM in 28335?

Other Parts Discussed in Thread: CONTROLSUITE

Hi guys.

in DSP2812, the SVPWM was initiated in register EV. The procedure is in SPRU065, pag 65/152:

 

http://focus.ti.com/lit/ug/spru065e/spru065e.pdf

 

How i do this in F28335?

  • controlSUITE has two examples for F28335

    once you install the one for PM motors will be here

    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v1.6\HVPM_Sensorless_2833x\~Docs

    and the SVGEN library is

    C:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks\v3.0

    and the PWM driver is

    C:\ti\controlSUITE\libs\app_libs\motor_control\drivers\f2833x_v1.1

     

  • Where can I get the controlSUITE  for 28335? Is this free ?

    Thanks! 

  • Jack Qian said:

    Where can I get the controlSUITE  for 28335? Is this free ?

    Thanks! 

    Jack,

    controlSUITE is available at www.ti.com/controlsuite.  Yes, it is free.

    You may find this video describing the software helpful:

    http://focus.ti.com/general/docs/video/Portal.tsp?entryid=0_t8vyag5y&lang=en

    -Lori

  • Hey, i have another doubt

    about what was you answer, i still studying the code C:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks\v3.0\svgen_mf.c


    So, i have a question. Where i put the values of variables Ta, Tb, Tc? What should registers to store the values ​​of these variables?

  • HI,

       In F2812, we have hardware SVPWM module , so, we need to configure appropriate for proper operation. But in F28335, doesn't have any SVPWM Module in it, so,there is no register associate to SVPWM fn..And we have to write software module / lib to generate SVPWM.

    regards,

    sheik

  • Ta, Tb, Tc are used to feed the PWM driver module.

    Please see any of the FOC examples from the HV Motor Kit

    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v1.6

    and please see the documentation for the two SVGEN modules (alpha/beta or magnitude/frequency)

    C:\ti\controlSUITE\libs\app_libs\motor_control\math_blocks\v3.1

     

  • Hey, im back T_T

    Sir, i have another doubt.

    First, i took the HVACI_sensorless.c in "C:\TI\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v1.6\HVACI_Sensorless_2833x" fold. With this file, i maked a project. Then, i took all files.h and files.c in controlsuite fold and added in common fold of this project.

    So, when i use the CCSv3.3, appears this:

     

    undefined        first referenced                                                                                      
      symbol              in file                                                                                           
     ---------        ----------------                                                                                      
     _DLOG_4CH_init   C:\\tidcs\\c28\\...SVPWM.obj
     _DLOG_4CH_update
    C:\\tidcs\\c28\\...SVPWM.obj
     _DeviceInit      C:\\tidcs\\c28\\...SVPWM.obj
     ___fmax          C:\\tidcs\\c28\\...SVPWM.obj
     ___fmin          C:\\tidcs\\c28\\...SVPWM.obj

    error: unresolved symbols remain
    warning: entry-point symbol other than "_c_int00" specified:  "code_start"
    error: errors encountered during linking;
       "./Debug/SVPWM.out" not built

    How i fix this?

  • what aboout in dsp2808? is there any documentations that shows how to use the ePWM to generate a SVPWM?

  • Hi Sheik,

    do you have the svpwm module for F28335? can you send it to me please?

    ming.lius@hotmail.com

    Regards

    Lewis

     

  • Hi Lewis, 

    I am sorry I dont have any module with me right now. Simple way is to use MATLAB SIMULINK, Use Sine-wave Block and Triangular wave. Compare the point at eact intersection based on the pull the GPIO High  or Low. You find lot of Literature for to generate SVPWM.

    Regards

    Sheik