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.

TMS320F280049C: 400 Hz 3-Phase Sine Wave Comparator

Part Number: TMS320F280049C

Hello,

I am working on programming a sine wave comparator using the C2000-F280049C MCU with Code Composer Studio. I need the sine wave to be 400 Hz and 3-phaseto be used to measure the differences in another signal that should be 400 Hz and 3-phase. I am a fairly new firmware programmer with intro experience in MCU development. I have started working through the workshop for the F28004x MCUs  and have found Lab 6 has some of the basic functions I need to implement. I do need assistance in converting the single phase sine wave lookup table to 3-phase and then initializing another signal input to then be used to calculate the difference between the received and expected values from the input signal.

Thanks,

Matthew

  • HI Matt,

    I am not quite sure about the sine wave comparator but I guess you want to generate 3 phase sine waves that are 120 degrees apart.

    You need to configure additional 2 ePWM channels and configure TBPHS register to make 120 degree phase shift.

    3 phase inverter designs such as instaSpin can be a good reference for this.

    Best,

    John