I believe the following document answers my question:
Single phase inverter tutorial
With the following adjustments:
1. In equation [1], vmod should actually be vcon, the output of the current compensator (between 0 and 1).
2. Assume Vtrip is 1 as this is a digital power design.
This would yield equation [8], which matches TI's code. Do you agree?
Can you explain a little more on your comment regarding scaling? It has me wondering if I should be scaling my Current_Loop_Output a little differently. At the moment here are my scales:
invVbusInst - 0 to 450V, represented in fractional (0 to 1.0 fractional, 0 to 32767)
invVoInst - 0 to 450V (because it's rectified if software), represented in fractional (0 to 1.0 fractional, 0 to 32767)
Current_Loop_Output - I guess this would this be considered a "voltage adjustment" value, to make the units in the equation work out (-1.0 to 1.0 fractional, -32768 to 32767)
The following:
(Current_Loop_Output / invVbusInst) + (invVoInst/invVbusInst)
Yields a 0 to 1.0 fractional dimensionless value, which is multiplied by the PWM period to get the final duty cycle value. Do I need to be concerned about the scale of Current_Loop_Output?
Thanks!