Part Number: TMS320F28027F
Other Parts Discussed in Thread: CONTROLSUITE
Hi dear Luo.
1. Install ControlSUITE https://www.ti.com/tool/controlsuite
2. Find the example project at the folder C:\ti\controlSUITE\development_kits\HVMotorCtrl+PfcKit_v2.1\HVPM_eSensorles
3. Find the code below in the project.
dbc1.scale = _IQdiv(_IQdiv2(pwm1.Deadband), dbc1.Ith); // uncomment to tune in debug
dbc1.Kdtc = _IQmpy(dbc1.scale, dbc1.gain); // uncomment to tune " "
PWMwDBC_MACRO(1,2,3,pwm1,clarke1,dbc1);
I analyzed the code I have a question
for compensating dead band we have to add or substract ( DT/2) but I saw in "HVPM_eSensorles " we have a. dbc1.gain = _IQ(0.5);
so we add and substract (DT/4) ( (deadband/2)*0.5)
why is that would you please explain about it?
thanks for attention.
Dave.