Other Parts Discussed in Thread: CONTROLSUITE
Tool/software: Code Composer Studio
Hi,
I have C2000 experimental kits with TMS320F28035 to start evaluating my product. I am using SolarMicroInv_F2803x exmaple source for reference for my project.
I facing issue : Duty cycle is calculated wrong with grid input current. I want to understand how it works in duty cycle calculation.
below is the copy paste of calculation for duty cylce from example.
cntlPI_BusInv.Ref =Bus_Volt_notch.Out;
cntlPI_BusInv.Fbk =inv_bus_ref;
CNTL_PI_IQ_MACRO(cntlPI_BusInv)
inv_Iset=cntlPI_BusInv.Out;
inv_ref_cur_inst = _IQ24mpy(inv_Iset, InvSine);
cntl3p3z_InvI_vars.Ref=inv_ref_cur_inst;
cntl3p3z_InvI_vars.Fdbk=inv_meas_cur_inst;
CNTL_3P3Z_IQ_ASM(&cntl3p3z_InvI_coeff,&cntl3p3z_InvI_vars);
duty_inv_pu=_IQ24div((cntl3p3z_InvI_vars.Out+inv_meas_vol_inst),vbus_meas_inst);
duty_inv_pu= (duty_inv_pu>_IQ24(1.0))?_IQ24(1.0):duty_inv_pu;
duty_inv_pu= (duty_inv_pu<_IQ24(-1.0))?_IQ24(-1.0):duty_inv_pu;
How inv_meas_cur_inst value is impacted on dutycycle?
it's good for me, if someone explain me how above calculation is works?
Thanks,
Jignesh Patel