I use UCC28070EVM/Piccolo controller and TI-DigiPFC software (Power Factor Correction on UCC28070EVM Using C2000 Piccolo A , released on Nov. 2009) to learn TI digital PFC, we will modify it from 300W to 1000W.
There is a file " PFC2PHIL-Caculations.xls" in TI DigiPFC software stack, which scaling all signals MCU will deal with. ( I don't know if I succeeded in attaching it to this post after I use "Options' tab /File attachment):
On Vac spreadsheet:
| VfsvADC | 3.3 | volts | Gadc | 1241 | ||||
| ADC res | 12 | bits | ||||||
| Left Shift | 3 | bits | Gshft | 8 | ||||
| VacMax(Not Scaled) | 453.30 | volts | q | 6 | ||||
| Kv | 0.8854 | - | iKv | 1.1295 | ||||
| X | 15 | - | Y | 14 | ||||
| KvQX | 29011 | - | iKvQY | 18506 |
What do Gadc(1241); Gshft(8); q(6) mean? and how are their values determined?
I guess Kv is voltage gain, how is its value 0.8854 determined? guess X(15) is Q15, so KvQX is the Q15 value of Kv(0.08854). guess iKv is current gain, How to determine its value 1.1295(=1/0.8854), 18506 is the Q14 value of 1.1295.
and what does "Vltg@ADC I/P 2.93418896' stand for?
On Vac spreadsheet: what does Gfb stand for, and how is its value 0.007 determined?
On Ipfc spreadsheet :
| 10-bit DAC Calculations for TZ - with 0.2V offset on UCC board | ||||||
| VfsvDAC | 3.3 | volts | Gadc | 310 | ||
| ADC res | 10 | bits | ||||
| Left Shift | 5 | bits | Gshft | 32 | ||
| IpfcMax | 4.5000 | Amps | DACval * 2^5 | 31655.8739 | ||
| DACval | 989 | |||||
IpfcMax DACval*2^5, why the DAC value needs to multiply 32? and how is 31655.8738 got? (989*32=31648)
I am expecting someone to help me out?
Thank in advance.
Chang Cao