Part Number: TMS320F280049C
Other Parts Discussed in Thread: TIDM-02008
totem pole PFC loop control in solution TIDM-02008 :
SR Duty is as follows:

from above formula,If the bus voltage increases, the duty computed in code decreases which controls SR.
And the duty of master control tube which is complementary to SR duty, will increase?
This conclusion is not right.
So how is the loop duty control when bus voltage changes? (may need to consider positive or negative half AC cycle)
notice that, the current loop (error = feedback-reference)