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.

Current PI MACRO out, Vd&Vq value!

Other Parts Discussed in Thread: CONTROLSUITE, MOTORWARE

Hi

A few days ago, I received below answer. I use TMDSHVMTRPFCKIT.

So, I calculate Vd&Vq real voltage _IQmpy(pi_iq.out, _IQ(17.32)).

DC bus voltage is 300V, but instead I used 30V to not change _IQN.  30/sqrt(3) = 17.32.    

According to your answers, pi_iq.out 1PU means Vq = 173.2V. Is it right?

I tested following method.

I think that Vs = sqrt(Vd^2 + Vq^2)  value is equal to phase peak voltage.


when I run motor 1000RPM, pi_id.out = -0.026 and pi_iq.out = 0.24. 

I measured U&V line-to-line rms voltage by multi meter, about 88.8V_rms.

In that case, Vs = 0.242*173.2 = 41.95V.

peak Va = Vab_rms * sqrt(2)/sqrt(3) =  72.5V . not same..

Is there anything wrong with the calculations or theories?

Please give me a detailed explanation! Thanks.

  • Yanming, in other reply, e2e.ti.com/.../1979723

    I found the following answers.

    "you need to multiply _IQ(0.866025) if suing SVPWM mode"
    // read Vd and Vq vectors per units
    gMotorVars.Vd = CTRL_getVd_out_pu(ctrlHandle);
    gMotorVars.Vq = CTRL_getVq_out_pu(ctrlHandle);

    // read Vd and Vq vectors in kV
    gMotorVars.VsFactor = _IQmpy(gMotorVars.VdcBus_kV, _IQ(0.866025));
    gMotorVars.PsFactor = _IQmpy(gMotorVars.Speed_krpm, _IQ(1.0/9.5488));

    gMotorVars.Vd_kV = _IQmpy(gMotorVars.Vd, gMotorVars.VsFactor );
    gMotorVars.Vq_kV = _IQmpy(gMotorVars.Vq, gMotorVars.VsFactor );
    gMotorVars.Vs_kV = _IQmpy(gMotorVars.Vs, gMotorVars.VsFactor );


    I also use SVPWM.
    But in my question, you said that
    real Vq = _IQmpy( vq from pi_out ,DC bus voltage / sqrt(3))

    CTRL_getVq_out_pu is equal to pi_iq.out ?

    what is correct?
  • Different projects, one is controlSUITE, another is motorware. The coefficient depends on PWM mode and voltage scale mode. In motorware, the dc bus voltage has been converted to real voltage, but didn't convert this in controlSUITE. And CTRL_getVq_out_pu is equal to half of pi_iq.out for MW16~MW18.