The function is Output=0.702714*Input - 0.02607
I am thinking of ignoring the -0.02607
Hi,
Oh, that is different. It sounds like what you want is a "subtractor" circuit.
This can be made with a "difference amplifier". You do not need an "offset" per se.
With a difference amplifier, you would supply your normal input to one input, and your offset to the other terminal, adjusted for the gain or with different value resistors than used for the other input. Then your output becomes:
Vout=(V1-V2)*G
where G is the gain.
In this case you would supply your normal input as V1 and the 'offset' as V2 adjusted for the gain if the gain G is not 1.
If the gain is 1, then it is just
Vout=V1-V2
since the gain will be less than one (it sounds like) then you could adjust V2 as the desired offset divided by G, or maybe set the resistors to allow the V2 input to have a different gain than for the input V1. You would loose some common mode rejection functionality though but that may not be a problem.
A difference amplifier is made with just 4 resistors, so it's pretty simple. See the attachment.
If all the resistors are the same, the output is V1-V2.
Note: sometimes it is called a "differential amplifier".