This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

what do those Q value mean(HVPSFB user guide)?

in the HVPSFB user guide,Q value has been mentioned a few times, do they refer to the normal Q factor in RLC circuit or what they mean?

 

thank you

  • Harrison,

    Q value corresponds to a way of representing decimal numbers in a fixed-point format.  See:
    http://en.wikipedia.org/wiki/Q_%28number_format%29

    For example, if the variable is a 16-bit integer, Q2 corresponds to Q13.2 (iiiiiiiiiiiii.ff)


    Thank you,
    Brett

  • Harrison,

    Also, this project comes with an excel file (HVPSFB-Calculations.xls) that you can find under HVPSFB\~Docs folder. This file provides more details on Q-arithmetic and also on how different physical parameters like input and output voltages and currents can be represented in different Q formats. This allows for a friendly display of these parameters on the GUI or CCS watch window.

    Hope this helps.

    Hrishi

  • Hrishi Nene said:

    Harrison,

    Also, this project comes with an excel file (HVPSFB-Calculations.xls) that you can find under HVPSFB\~Docs folder. This file provides more details on Q-arithmetic and also on how different physical parameters like input and output voltages and currents can be represented in different Q formats. This allows for a friendly display of these parameters on the GUI or CCS watch window.

    Hope this helps.

    Hrishi

     

    Thank you very much for the information.

    I just had a look at the calculation sheet and saw one cell is "I5Q26", what does I5 mean here then?

  • Here I5Q26 implies that there are 5 digits before the decimal to represent the integer part and 26 decimal places to represent the fractional part. A range for an I5Q26 number (also commonly written as Q5.26) is -32 to 31.999999988. Typically with a 32-bit processor like a C2000 MCU, signed numbers can be represented in any Q format from I0Q31 to I31Q0. They can also be represented like a 16-bit processor (I0Q15 to I15Q0). 

    Hope this helps.

    Hrishi