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.

Compiler/TMS320F28075: F28075

Part Number: TMS320F28075
Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: TI C/C++ Compiler

Hi,

 I am doing 3 phase Active Front End project. I want to implement SVPWM  technique in software .I am using F28075 controller.  where I will get reference source code for 3 phase SVPWM ? I  am using 6khz PWM for iGBT switching also using same PWM for ADC as soc. 

Regards,

Sagar

 

  • Hi Sagar,

    You can have a look at this post, bit old but would be helpful: e2e.ti.com/.../179858

    Regards,
    Gautam
  • Hi,

    I am using ABC_DQ_POS , ABC_DQ_NEG Transform and SPLL_3Ph source files for Grid tied.But I want to understand what input should I will give to ABC_DQO_POS.a,ABC_DQO_POS.b,ABC_DQO_POS.c and ABC_DQO_NEG.a,ABC_DQO_NEG.b,ABC_DQO_NEG.c .I am using TMS320F28075 controller.I have used ADC ISR. For ADC SOC I have used PWM of 5Khz..I read the all 3 phase grid voltage and current through adc.

    On every ADC Interrupt I get the count for instantaneous grid voltage and current.

    Also suggest me a examples in which DQ and Spll loops are used.

    Reagrds,

    Sagar Yadav

  • Sagar,

    Sorry we have no example that we can share that use these modules, i can confirm these modules were tested on real hardware, but unfortunately due to licensing we cannot share the code we used to test them.

    To answer your original question, you can do SVPWM by a simple technique in which you do max and min of ABC and then add the average of the two to the ABC components,

    The result is addition of a triplen harmonic, i use this on the latest three phase PFC project here:

    www.ti.com/.../tidm-1000
  • Thanks for reply.

    For Grid tied we want to synchronize (or Track) phase and frequency with grid,To do this we are using DQ Transformation and 3 SPLL.
    Is this correct way I am doing?
    I am sensing 3 phase Grid voltage and current by ADC Channel.I am using ADC Interrupt.
    ADC is trigger by PWM (6kHz). What should I use for DQ transformation as Input.(Shall I use instantaneous adc Count of voltage ).

    Thanks
    Sagar
  • Sagar,

    most of the code we develop uses PU format,

    and you need to feed PU data to the ABC-DQ structure..

    for example you can look at the code at C:\ti\controlSUITE\development_kits\tidm_1000\v1_01_00_00

    v1Meas = (((float32)(V1_ADC_READ1+V1_ADC_READ2+V1_ADC_READ3+V1_ADC_READ4))*ADC_PU_SCALE_FACTOR*0.25 - v1MeasOffset )*2.0;
    v2Meas = (((float32)(V2_ADC_READ1+V2_ADC_READ2+V2_ADC_READ3+V2_ADC_READ4))*ADC_PU_SCALE_FACTOR*0.25 - v2MeasOffset )*2.0;
    v3Meas = (((float32)(V3_ADC_READ1+V3_ADC_READ2+V3_ADC_READ3+V3_ADC_READ4))*ADC_PU_SCALE_FACTOR*0.25 - v3MeasOffset )*2.0;

    where ADC_PU_SCALE_FACTOR is (float32)(0.000244140625) i.e. 1/4028

    here i multiply by 0.25 because i am doing over sampling, so your code may not need it..

    you can then feed these values to the ABC-DQ0 transform..