Patent ID: 8536932

Claim:
A temperature compensation circuit, comprising: a temperature coefficient generator configured to generate a proportional-to-absolute-temperature (ptat) signal and a negatively-proportional-to-absolute-temperature (ntat) signal; a first subtractor configured to subtract a first signal that is based at least on the ptat signal from a second signal that is based at least on the ntat signal; a second subtractor configured to subtract a third signal that is based at least on the ntat signal from a fourth signal that is based at least on the ptat signal; a first programmable element configured to multiply at a first programmable ratio a fifth signal that is based at least on the subtraction of the first signal from the second signal, the fifth signal having a first temperature coefficient across a first range of temperatures; a second programmable element configured to multiply at a second programmable ratio a sixth signal that is based at least on the subtraction of the third signal from the fourth signal, the sixth signal having a second temperature coefficient across a second range of temperatures; and a combiner configured to: combine a seventh signal that is based at least on an output of the first programmable element with an eighth signal that is based at least on an output of the second programmable element; and output a temperature compensation signal having a first programmable temperature coefficient across the first range of temperatures and a second programmable temperature coefficient across the second range of temperatures.