Quantcast
Channel: Power management forum - Recent Threads
Viewing all articles
Browse latest Browse all 35901

UCD3138A: Why does the "feed forward gain" multiply by 0x7fffffff become q30, and why not multiply by 0x4000 0000?

$
0
0

Part Number: UCD3138A

In the ucd3138a PFC code officially provided by Ti, there is a macro definition to calculate the "feedforward gain". Why does the "feedforward gain" multiply by 0x7fffff become q30, and why not multiply by 0x4000 0000?

The code is:

//feedforward gain
#define K_FEED_FORWARD ((Uint32)(0.5 * VAC_MIN_OFF * 1.414 * VAC_VOLTAGE_DIVIDER * 0x7FFFFFFF))//Q30


Viewing all articles
Browse latest Browse all 35901

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>