Part Number: TMS320F28377S
Tool/software: Code Composer Studio
I WANNA TO GENERATE A ABNORMAL PWM WAVEFORM, AS SWITCH Sb SHOWS IN WORD, PLEASE GIVE ME SOME TIPS OR GUIDE. THANKS WAVEFORM.docx
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.
Part Number: TMS320F28377S
Tool/software: Code Composer Studio
I WANNA TO GENERATE A ABNORMAL PWM WAVEFORM, AS SWITCH Sb SHOWS IN WORD, PLEASE GIVE ME SOME TIPS OR GUIDE. THANKS WAVEFORM.docx
Yes, there is a relationship among the three switches, that is I know the accurate time point of the Sb rising edges and falling edges. And the values for t0 t1 t2 are also known.So I wanna to generate waveform Sb. but the question is I don't know how to generate such wave in ePWM modules, because CMPA and CMPB are not enough seemingly.
You are correct from my understanding, You cannot just set up the CMPA and CMPB and expect the ePWM module to generate the signal needed. But here is how I would generate this signal.
First I would Think of the signal in a different way.
Basically I would just shift the signal to the right by T0/2.
Now I would do the following to generate the signal:
Set the ePWM to up/down mode with shaddow load on boath CTR=0 and CTR=PRD.
For the first half of the signal do,
For the second half,
Successfully the signal Sb was generated with your help. But here, the signal is not independent of Sa and Sc, for the high or low level of switches signals at the same moment can compose space vector in SVPWM technique. Actually, this abnormal signal wave comes from an novel SVPWM according to a published paper.
so, shifting the signal Sb would generate another voltage vector 010 during the last time period 2/T0 when Sa=0,Sb=1,Sc=0, but the original three signals Sa, Sb, Sc only have four states- 000 100 110 111 110 100 000, if we define high means 1, low means 0.
thus, shifting three signals may be needed.
without shifting, is there any way to generate the three signals?
thanksmodified svpwm.pdf
I just went through the documentation to see if we could use CMPC and CMPD to help but unfortunately I don't think that possible. Shifting is the only solution I can come up with at the moment. This is a very interesting signal.
hello, do you think it is feasible that the three edges after PRD can be done by changing CMPA and CMPB in immediate mode not shadow mode?