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.
Hi
I am a new beginner using DSP 2812 for space vector modulation using software module. I am using switching frequency 10kHz and 200samples for sine waves.
1.To generate Valpha and Vbeta using the equation
d[i] = 2*(Va[i]-0.5*Vb[i]-0.5*Vc[i])/3;
q[i] = 2*(0.5*sqrt(3)*Vb[i]-0.5*sqrt(3)*Vc[i])/3;
alpha[i] = atan (q[i]/d[i]);
2.To determine the T
t1[i] = Ts*M*sin(pi/3-alpha[i]))/sin(pi/3);
t2[i] = Ts*M*sin(alpha[i]))/sin(pi/3);
t0[i] = Ts-y2[i]-y1[i];
I set EvaRegs.T1PR = 3750
and
EvaRegs.CMPR1=EvaRegs.T1PR*t1[i];
EvaRegs.CMPR2=EvaRegs.T1PR*t2[i];
EvaRegs.CMPR3=EvaRegs.T1PR*t0[i];
depending on the sector.
Is that any advice? I couldn't get any waveform.