Electronic – Optimizing op-amp overload recovery behaviour

operational-amplifierslew-ratethermocouple

I'm measuring a thermocouple which connected series with a heating element. Heater is driven with PWM and when PWM is off-duty, a measurement is taken through output A0 using an ADC.

Relevant parts of the circuit can be seen below.
nRWPpE.png

I think it is a fairly standard op-amp application. The BAV199 double diode is clamping the input to a safe level (~900mV) for the opamp input (because heater is driven with higher voltage than opamp's supply).

Since this non-inverting setup requires relatively high gain to measure small thermocouple signal, output is easily saturates when heater is powered on.

The problem is, when heater is powered; op-amp "see" this clamped ~900mV at input, because ~300 gain it overloads and it is taking a long time to recover.

nRWJHh.png

The yellow trace is op-amp input, blue is output. Total settling time is around 100uS, which is ruining my PWM strategy at high duty cycles. Also, when (I think) op-amp recovers from overdrive, it also takes a long time to reach correct values (I mean the curve, which is starting from trigger point to second cursor and takes 50uS).

I can't explain these results, probably because I'm not experienced in analog domain. (software guy here)

I'm using MCP6V26, according the datasheet "Output Overdrive Recovery Time" is 45uS typ. and "Slew Rate" is 1V/uS. Especially the slew rate, which I'm associating with the "decaying" signal at the end of blue trace; does not match up the datasheet values.

It also has 2MHz bandwidth and I'm only using ~100Hz PWM frequency; so it shouldn't be a problem there.

Given this input and output requirements;

  • Am I doing something horribly wrong,
  • If not, can I get faster output response from this setup
  • Is there a more appropriate approach to doing this (in hardware perspective)

Thanks.

Best Answer

Am I doing something horribly wrong

The op-amp chosen is wholly unsuited to your expectations. The gain bandwidth product is 2 MHz and that means, as a unity gain amplifier, it will have a bandwidth of 2 MHz. With a gain of ten is will have a bandwidth of 200 kHz. Withy a gain of 100 its BW will be 20 kHz. You expect a gain of 300!

Also, the amplifier step response settling time is 150 us typically.

If not, can I get faster output response from this setup

To operate the way you plan, you need a much, much faster op-amp or you need to find a way of clamping the heater voltage to virtually zero volts so that the op-amp isn't having to recover from saturation and deal with a massive step response.

Is there a more appropriate approach to doing this (in hardware perspective)

I would consider using a sample and hold technique so that the thermocouple is disconnected from the input just prior to the heater powered on and reconnected just afterward the heater is powered off. Use a 100 pF capacitor for "holding" the thermocouple voltage when not connected.