You need an gain and offset control using a positive supply. very accurate called Vref.
If you want to scale i out range from 3 to to 3.3 from some odd reason, then the non-inverting gain is 3.3/3 instead of 1.
But Non-inverting gain is always 1+ |Av-| and inverting can it be 0. So you must attenuate the input and use a small inverting gain like 0.5 or 1 then attenuate by the resulting negative gain from Vref= +X
So if + pré-attenuation is 0.5 then +gain of 2 is ok and you use a Vref of 2.5 for Vin-. and an inverting gain of -1 so overall Av+ =1/2 x 2= 1 For 0-3 out assuming inputs work up to 8.5/2 with a 5V supply.
So with only 3.3V now you see you need + input attenuators of 1/3 with rail to rail input and output Op Amp and a Different inverting gain >2 or .... you do the math and be careful.
Many options depending on the source attributes. If
it has a high transition density and reasonable 1/0
balance then capacitively coupling it to a resistor-feedback
inverter (or Schmitt, better yet) input could be easy
sleazy. If it has high source drive then perhaps a 5.2V
zener against a resistor load to Gnd, same Schmitt input.
For slow signals an instrumentation amplifier would do
what you want (A=1.1, offset input ~7V). Application
defines approach.
I want analog signals. that is... as input voltage varies from 0.9 to 1.5V, the output of the circuit should vary from 0.9V to 3.3V or 0v to 3.3V whichever is possible
I want analog signals. that is... as input voltage varies from 0.9 to 1.5V, the output of the circuit should vary from 0.9V to 3.3V or 0v to 3.3V whichever is possible
It's worth noting that for an analog application, a
zener drop will introduce mucho noise.
So far I don't see any real specification for accuracy
and with supplies typically 5% recommended, maybe
1-2% delivered on a decent DC-DC, there may be no
point to putting a fine point on it.