JochiSt / OpenFlowMeter

Measuring Flow
GNU General Public License v3.0
6 stars 0 forks source link

Switchable Gain with Offset #27

Closed JochiSt closed 1 year ago

JochiSt commented 1 year ago

When the sensor is heated, the current is e.g. 20mA, by this the voltage created by this is 2V. This means, that the resistance changes are biased with this

Similar to the gain switching amplifier #9 a bias, which is subtracted would be ideal.

This can be achieved with a similar structure.

grafik

The voltage can be generated by e.g. two additional timer channels.

JochiSt commented 1 year ago

The resistive divider of R7 and R8 is not strictly needed. It also works without these two resistors. Also removing them might simplify the calculation.

JochiSt commented 1 year ago

Using a analog switch yields a better result (see b1855a238db8a5da4ba2636cf99099591b647a84)

grafik

grafik

JochiSt commented 1 year ago

Using a CD4066, the amplifier can now be biased. There is one bias for CH0 and one for CH1. I've the hope, that the I and U bias match. Otherwise, some resistors might be needed here.