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

CCS: Sampling vac for designing a UCD3138 controlled PFC

$
0
0

Tool/software: Code Composer Studio

Refer to slua708, slua712 and slua713

What is the following code?

iv.vin_sum = iv.vin_raw + iv.vin_sum - (iv.vin_sum >> 2);
iv.vin_filtered = iv.vin_sum >> 2;

And what is different between above and the following code?

iv.vin_filtered = iv.vin_raw;


Viewing all articles
Browse latest Browse all 35901

Trending Articles



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