A system for sensing the supply current of a switched DC-to-DC converter.
The system includes a first circuit that senses a first voltage that is
proportional to the supply current, wherein the first voltage has first
ripple; a second circuit coupled to the first circuit, wherein the second
circuit outputs a second voltage that is based on the first voltage, and
wherein the second voltage has a second ripple that is smaller than the
first ripple; and a third circuit coupled to the second circuit, wherein
the third circuit compares the second voltage to a reference voltage to
provide an indication of the supply current.