The coefficients for telemetry measurements and warning thresholds presented in Table 7-72 are adequate for the majority of applications. Current and power coefficients are dependent on RSNS and must be calculated per application. These were obtained by characterizing multiple units over temperature and are considered optimal. The small signal nature of the current and power measurement makes it more susceptible to PCB parasitics than other telemetry channels. In addition there is some variation in RSNS and the LM5066Hx itself. This may cause slight variations in the optimum coefficients (m, b, and R) for converting from digital values to real world values (for example, amps and watts). To maximize telemetry accuracy, the coefficients can be calibrated for a given board using empirical methods. This would determine optimum coefficients to cancel out the error from PCB parasitics, RSNS variation, and the variation of LM5066Hx. It is not considered good practice to take measurements on one board and use the computed coefficients for all units in production, because the RSNS and the LM5066Hx on a given board are randomly chosen and do not represent a statistical mean. It is recommended to either calibrate all boards individually or to use the recommended coefficients from Table 7-72 .
The optimal current coefficients for a specific board can be determined using the following method:
- While the LM5066Hx is in normal operation, measure the voltage across the sense resistor using Kelvin test points and a high accuracy DVM while controlling the load current. Record the integer value returned by the READ_AVG_IIN command (with the SAMPLES_FOR_AVG set to a value greater than 0) for two or more voltages across the sense resistor. For best results, the individual READ_AVG_IIN measurements should span nearly the full-scale range of the current (for example, voltage across RSNS of 5 and 20 mV).
- Convert the measured voltages to currents by dividing them by the value of RSNS. For best accuracy, the value of RSNS should be measured. Table 7-73 assumes a sense resistor value of 5 mΩ.
Table 7-73 Measurements for Linear Fit Determination of Current CoefficientsMeasured Voltage Across RSNS (V) | Measured Current (A) | READ_AVG_IIN (Integer Value) |
|---|
| 0.005 | 1 | 568 |
| 0.01 | 2 | 1108 |
| 0.02 | 4 | 2185 |
- Using the spreadsheet (or a math program)
determine the slope and the y-intercept of the data returned by the READ_AVG_IIN
command versus the measured current. For the data shown in Table 7-72:
- READ_AVG_IN value = slope
× (Measured Current) + (y-intercept)
- Slope = 538.9
- Y-intercept = 29.5
- To determine the m coefficient, simply shift the decimal point of the calculated slope to arrive at integer with a suitable number of significant digits for accuracy (typically 4) while staying with the range of –32768 to 32767. This shift in the decimal point equates to the R coefficient. For the slope value shown in the previous step, the decimal point would be shifted to the right once hence R = –1.
- After the R coefficient has been determined, the b coefficient is found by multiplying the y-intercept by 10 –R. In this case the value of b = 295.
- Calculated current coefficients:
- m = 5389
- b = 295
- R = –1
Equation 7. 
where
- X = The calculated real-world value (volts, amps, watts, temperature)
- m = The slope coefficient, is the 2-byte, two's complement integer
- Y = A 2-byte two's complement integer received from device
- b = The offset, a 2-byte two's complement integer
- R = The exponent, a 1-byte two's complement integer
This procedure can be repeated to determine the coefficients of any telemetry channel simply by substituting measured current for some other parameter (for example, power or voltage).