Hello All,
I am evaluating the HVPSFBKIT based on the F28027 microcontroller, and I am having trouble understanding how the scaling constants are calculated in this example. I'm looking at the HVPSFB-Caculations.xls spreadsheet. For each of the measured parameters [Vfbin, Vfbout, Ifb, Iout] I understand the calculation of the cascaded gain factors, such as ADC gain, transducer gain, etc. I can also verify that I calculate the same LSB/amp or LSB/volt overall gain as that used in the "verification" section on each tab. All of that makes sense.
However, I have two questions about this spreadsheet (reference tab Ifb for example):
1. What is the reason for the 3-bit left shift of each measured parameter (cell B9)? I cannot find where this is done in the code, so it must be implicitly done somewhere. Does this have something to do with the averaging of 8 sampled values per switching cycle?
2. Can you explain how the Kv value is calculated (cell F12)? It looks like the intermediate parameter 'q' (cell F11) is used to determine the number of bits required to store the number of LSB's associated with 1A (based on the maximum current Ifbmax). Kv is then calculated by right-shifting the maximum current Ifbmax by (15-q) positions. I cannot understand the reasoning behind this process, nor can I understand what the value Kv represents once this has been done.
Thanks in advance for your help.
Andy