Basic Op-amp Integrator circuit question

  • Thread starter Thread starter Jdo300
  • Start date Start date
  • Tags Tags
    Circuit Op-amp
Click For Summary

Discussion Overview

The discussion centers around a basic op-amp integrator circuit being used with a piezo element as a mechanical pressure sensor. Participants explore issues related to signal stability, specifically addressing the problem of the output voltage drifting negatively over time when no pressure is applied. The conversation includes suggestions for circuit modifications and considerations for improving performance.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • Jason describes the issue of the output voltage drifting negatively over time and speculates it may be due to offset differences between the op-amp inputs.
  • Some participants suggest adding a bleeder resistor across the capacitor to stabilize the output.
  • Others propose using a resistor in place of the capacitor to achieve a stable output and improved responsiveness, questioning the necessity of an integrator in this context.
  • One participant suggests adding a resistor from the non-inverting input to ground to mitigate input offset current differences.
  • Another participant mentions that the piezo element outputs AC and suggests using a voltage follower configuration to improve the circuit's performance.
  • Jason explains the need for an integrator due to the piezo's output being proportional to changes in pressure rather than absolute pressure values.
  • Several participants discuss the impact of resistor values on the feedback capacitor's discharge rate and suggest larger resistors to avoid rapid discharging.
  • One participant proposes using diodes in the feedback path as a potential solution to the drifting issue.
  • Another participant emphasizes that if the goal is to measure pressure over a long period, a different approach may be more suitable.

Areas of Agreement / Disagreement

Participants express a range of views on how to address the drifting output issue, with no consensus on the best solution. Some agree on the need for a bleeder resistor, while others question the use of an integrator for this application. The discussion remains unresolved regarding the optimal circuit configuration.

Contextual Notes

Participants mention various resistor values and configurations, but there are no settled calculations or definitive recommendations for the resistor sizes or circuit modifications. The discussion includes assumptions about the behavior of the piezo element and the op-amp circuit that are not fully explored.

Jdo300
Messages
548
Reaction score
5
Hello All,

Today, I was experimenting with a basic op-amp integrator circuit (I have a piezo element that I ripped from a buzzer, which I would like to use as a mechanical pressure sensor). So I'm using an integrator circuit to integrate the voltage signal produced by the piezo to get a pressure magnitude reading. The circuit is put together using an LM358 dual op-amp IC with a 1uF capacitor and 1k resistor for the feedback network (see the attached schematic).

The circuit works great for the most part except for one small problem. That is that the zero level of the circuit slowly starts to float more and more negative (rather the input is connected or not). If I press on the piezo, it gives me a nice positive hump and then returns exactly back to the zero point, but if I just leave it sitting there, the line floats down more and more until the output signal hits the negative rail (in my case, I'm powering it with +- 5V).

What I'm wondering is if there is a way to compensate for the floating problem to keep the signal stable? I'm guessing that it has something to do with the finite offset difference between the + and - input signals but I'm not sure what to do about it.

Any input greatly appreciated, thanks!

- Jason O

P.S. I should mention that this floating effect occurs over several seconds to minutes, changing by about -1V every 30-40 seconds on average.
 

Attachments

  • Integrator.PNG
    Integrator.PNG
    1.1 KB · Views: 600
Engineering news on Phys.org
Looks like you need a large value bleeder resistor around the cap...
 
Yep. Berkeman is correct. There is NO DC negative feedback.
 
Hi guys,

Thank you very much for the reply. Is there any good way of knowing/determining the size bleeder resistor to use across the cap?

Thanks,
Jason O
 
You could put a 100 K in instead of the capacitor.

This would give a stable output, a gain of 100 and improve the responsiveness of the circuit.

Not sure why you would want an integrator for this.
 
vk6kro said:
You could put a 100 K in instead of the capacitor.

This would give a stable output, a gain of 100 and improve the responsiveness of the circuit.

Not sure why you would want an integrator for this.

I think the cap is the piezo sensor itself that he's trying to monitor. I could be wrong, though.

Jdo300 said:
Hi guys,

Thank you very much for the reply. Is there any good way of knowing/determining the size bleeder resistor to use across the cap?

Thanks,
Jason O

Calculate the bleeder resistor value based on the bandwidth you want from the circuit. You know the capacitance value, so set the resistor to give you an RC constant that works for the measurements that you want to make.

Tell us what you come up with and why... :smile:
 
You should first try putting a 1k resistor from the non-inverting pin to ground in place of the short. This will help eliminate input offset current differences. Then you will be able to get by with a larger value for the bleeder.
 
Hint:

What is the value of the integral:

<br /> \int_{0}^{t}{(-\varepsilon) \, dt&#039;}<br />
 
I think the cap is the piezo sensor itself that he's trying to monitor. I could be wrong, though

I suspect that a piezo sounder like this would be a bit like a crystal microphone. So, it would be equivalent to a voltage generator, in series with fairly large resistor, in series with a small capacitance but with a large output.

If so, it would probably be better off driving the non-inverting input of the opamp, which would at least be high impedance. Put a 10 Megohm resistor from the noninverting input to ground.

I would make the first stage a voltage follower by joining the output to the inverting input.

Then another stage of amplification.

The output will still be AC, though, so you would have to rectify that to drive a meter.
 
  • #10
vk6kro said:
You could put a 100 K in instead of the capacitor.

This would give a stable output, a gain of 100 and improve the responsiveness of the circuit.

Not sure why you would want an integrator for this.

Hi vk6kro,

I need to use an integrator with the piezo element because it's voltage output is proportional to the change in pressure applied and not according to the absolute magnitude of the applied pressure. Also, the output voltage from the piezo element is large enough (on the order of a few volts), so I don't need to directly amplify the input voltage itself.

@All,

I did try adding several different resistor values in parallel with the feedback capacitor. It appeared that any value less than 1 MOhm caused the feedback capacitor to discharge too fast (though it did correct the floating offset problem). I didn't have any larger resistors at that moment, but I it clear that a much larger resistor could cure the problem.

@ berkeman,

As for predicting the bandwidth, if I used, say a 10 MOhm resistor in parallel with the 1uF cap and model the pair as a low-pass filter, I get 15.7 Hz as the cutoff frequency, is this correct?

- Jason O
 
Last edited:
  • #11
A piezo element can only output AC.
If you want to measure pressure over a long period of time, try a different approach.

If you only want to measure the change in pressure over a period of a few minutes, use National Semiconductor LMC**** (or equivalent in other brands) operational amplifier and very high value resistors.
 
  • #12
Here's a trick that will probably take care of your problem. Install two diodes in series cathode to cathode in the feedback path. There is probably enough leakage current to fix the problem. You may want to be choosy about your diodes, but I have seen this trick work.
 
  • #13
Averagesupernova said:
Here's a trick that will probably take care of your problem. Install two diodes in series cathode to cathode in the feedback path. There is probably enough leakage current to fix the problem. You may want to be choosy about your diodes, but I have seen this trick work.

That's a clever trick -- hadn't seen that one before.
 
  • #14
Carl Pugh said:
A piezo element can only output AC.
If you want to measure pressure over a long period of time, try a different approach.

If you only want to measure the change in pressure over a period of a few minutes, use National Semiconductor LMC**** (or equivalent in other brands) operational amplifier and very high value resistors.

Hi Carl,

Actually, I'm not looking to take a pressure measurement over a long period of time. After the integrator circuit, the output goes into a peak detector which measures and holds the peak output voltage value from the integrator. So if the pressure sensor value decays, it won't affect my measurement. I'm just hacking this circuit together to do some basic experiments. If I need to do anything really fancy, I would just purchase one of those piezoresistive sensors to do it properly.

@Averagesupernova,

Thanks for the tip, I'll have to try that.

Thanks,
Jason O
 

Similar threads

  • · Replies 6 ·
Replies
6
Views
6K
Replies
9
Views
7K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 20 ·
Replies
20
Views
3K
  • · Replies 9 ·
Replies
9
Views
5K
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K