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.

Space Vector Open-Loop Code for TMS320F28069

Other Parts Discussed in Thread: TMS320F28069

I'm looking for code to generate just open-loop 3-phase sine waves using Space Vector from a standard 6-IGBT bridge using the TMS320F28069.

A while back I posted a similar request looking for open-loop sine drive code and was directed to this Control Suite folder: (Scalar Project SVGEN).
C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVACI_Scalar

The problem is that this code is (apparently) to be used with opto sensor speed feedback.

Can somebody direct me to the "heart" of the code that generates the pwm signals for the "spinning" space vector. I don't care about any kind of feedback. Just purely open-loop 3-phase Space Vector sinusoidal waveform generation.

I know how to do Space Vector, but don't want to generate code from scratch. Another concern I have is that I'm using the 2nd and 3rd timers for bells and whistles with only Timer0 for waveform generation (though I may be able to alter this).

Thank you.

  • While Control Suite had some Space Vector code, trying to extract it for just open-loop sine wave was more difficult than going back to first principles and deriving open-loop sinusoidal space vector from scratch, so that's what I did. Using  ePWM1, 2, and 3 for the 3-phase, and executing the Space Vector pwm in &epwm2_isr interrupt routine, which is ok since epwm2 syncs with ePWM1 and ePWM3. Outputs full-amplitude sine wave, as expected with Space Vector, and alot simpler code than all the Control Suite code.

  • 78Sys said:

    I'm looking for code to generate just open-loop 3-phase sine waves using Space Vector from a standard 6-IGBT bridge using the TMS320F28069.

    A while back I posted a similar request looking for open-loop sine drive code and was directed to this Control Suite folder: (Scalar Project SVGEN).
    C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVACI_Scalar

    The problem is that this code is (apparently) to be used with opto sensor speed feedback.

    Can somebody direct me to the "heart" of the code that generates the pwm signals for the "spinning" space vector. I don't care about any kind of feedback. Just purely open-loop 3-phase Space Vector sinusoidal waveform generation.

    I know how to do Space Vector, but don't want to generate code from scratch. Another concern I have is that I'm using the 2nd and 3rd timers for bells and whistles with only Timer0 for waveform generation (though I may be able to alter this).

    Thank you.

  • See here:

    www.spacevector.net