Other Parts Discussed in Thread: LM5170
Hello,
I am reading the source codes of TIDA-01168.
I came across the scaling value 330 as SCALE_ISETD in cotrol.h.
The comments said;
/* This scales the ISETD Correctly for the Error amp.
2.5 from error amp equels to 2.5V on ISETA. This happens when duty is approx. 80% */
This SCALE_ISETD scales the error amplifier ISETD correctly.
The number 2.5 from the error amplifier is equal to the voltage 2.5V on ISETA.
This voltage occurs when the duty is about 80%.
SCALE_ISETD are used at both line No.282 and No.307.
From DS of LM5170, ISETA2.5V is equivalent to ISETD 80%.
As a result, by limiting the output of the controller by 80%, it can be understood that the output is limited to 50A x 4 = 200A from the circuit constant.
Since the PWM period register is set to 1023, it seems to be a coefficient for scaling the controller output from 0 to 1023, but I do not know how to derive the SCALE ISETD (330).
Could you pls tell me how to derive the value "330" of SCALE ISETD?
Best regards,
ay0689




