To achieve the most accurate current sense value, it is recommended to apply filtering to the SNS output. There are two methods of filtering:
- Low-Pass RC filter between the SNS pin and the ADC input. This filter is illustrated in GUID-E2FC954E-9154-4594-9C95-0A1AD99DD21D.html#SLVSDM41984 and typical values for the resistor and capacitor are given. The designer should select a CSNS capacitor value based on system requirements. A larger value will provide improved filtering. A smaller value will allow for faster transient response.
- The ADC and microcontroller can also be used for filtering. It is recommended that the ADC collects several measurements of the SNS output. The median value of this data set should be considered as the most accurate result. By performing this median calculation, the microcontroller is able to filter out any noise or outlier data.