Hi
for an active "amplification" plus "DC shift" circuit it´s easy to use the standard "differential amplifier ciruit".
Use 2 x 2 resistor values:
R1 = R2
R3 = R4
Where Gain = R3/R1
V1 = inverting source
V2 = noninverting source
VRef = output reference
-----
Some examples:
you want to amplify a -0.5V ..+0.5V signal to a 0... +3.0V signal (ADC_VRef = 3V). Non inverting.
-->
* so the total input span is 1V
* the total output span is 3V
--> you need again of 3
* input center is 0V
* output center is 1.5V (DClevel shift)
-->
Let R1 = R2 be 10k
then because of gain R3 = R4 = 3 x 10k = 30k
for the level shift connect Vref to 1.5V
but maybe you don´t have 1.5V by hand, but the 3V ADC_VRef.
So you may replace "R3= 30k connected to 1.5V" by an equivalent circuit:
To get 1.5V from 3.0V you may use a resistive voltage divider: 1:1:
So R3a = R3b, R3a connected to 3.0V, R3b conected to GND.
Now to get the equivalent to 30k: R3a = R3b = 60k (because R3a and R3b act as if they where connected in parallel)
Klaus