Patent ID: 8983789
Filing Date: 2015-03-17
Classification: G01R,G11B

Abstract:
1. A circuit for calibrating a sensor comprising: an input to receive a first data and a second data, the first data representative of a predetermined voltage; a first programmable current source; a first circuit coupled to the first programmable current source and configured to produce a first code based on the first data and the second data, wherein the first code can program the first programmable current source to source a first current flowing through the sensor; a variable current source configured to generate a second current and an alternate second current, the second current added to the first current, the sum of the first current and second current flowing through the sensor is sufficient to create a voltage across the sensor that is less than or equal to the predetermined voltage, the alternate second current develops a second voltage; a second programmable current source; a second circuit including a selector and coupled to the second programmable current source, the second programmable current source configured to source a third current that develops a third voltage, the selector configured to determine a second code based on comparing the second voltage with the third voltage; and a memory to store the first code and the second code.