App note: Core independent voltage window signal detection using a single comparator

an_microchip_TB3221

Presenting the usage of Core independent paripheral of PICs in this app note from Microchip. Link here (PDF)

It is possible to find out whether a measured signal is below or above a certain value/reference using a single comparator. But, what if the desired interval is between two values, the undervoltage and overvoltage protection?

The most convenient and fastest solution is to use two comparators and two references. The results are analyzed to decide which of the three intervals houses the measured signal. Using an Analog-to-Digital Converter (ADC) and core post-processing will yield the same result, but the process is slower and dependent on core availability.

Leave a comment

Your email address will not be published. Required fields are marked *

Notify me of followup comments via e-mail. You can also subscribe without commenting.