Any advice to make this Op-Amp temperature controller circuit work?

Click For Summary

Discussion Overview

The discussion revolves around troubleshooting a temperature controller circuit using LM741 Op-Amps and an NTC thermistor. Participants explore issues related to circuit design, component functionality, and potential modifications to achieve desired performance in a laboratory setting.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Experimental/applied

Main Points Raised

  • One participant describes the circuit configuration, including the use of two LM741 Op-Amps, and outlines the challenges faced in achieving the required gain and stable outputs.
  • Another participant points out the large input offset voltage of the LM741, suggesting it could be a significant issue affecting performance.
  • Concerns are raised about the functionality of the CL100 BJT, with a warning that reverse biasing the emitter-base junction could damage it.
  • Several participants recommend adding bypass capacitors to stabilize the circuit and prevent oscillations, particularly near the power pins of the ICs.
  • There are suggestions to include diodes across the relay coil and the base-emitter of the transistor to protect against voltage spikes and reverse bias conditions.
  • Discussion includes the potential misapplication of the second Op-Amp as a comparator, highlighting the need for hysteresis and proper voltage handling.
  • One participant mentions the importance of using a stable voltage reference for setting thresholds instead of relying on power supply voltages.
  • Another participant acknowledges the input offset voltage issue but states that they cannot change the Op-Amp and will implement an offset null removal circuit instead.
  • There is a query about the correct configuration for the diode to be added and whether a specific type of diode would be suitable.

Areas of Agreement / Disagreement

Participants express multiple competing views regarding the circuit's design and troubleshooting steps. There is no consensus on the root cause of the issues or the best approach to resolve them.

Contextual Notes

Participants note various limitations, including the potential for erratic behavior due to loose connections, the large input offset voltage of the Op-Amps, and the need for careful handling of voltage levels in the circuit. The discussion reflects ongoing uncertainties and assumptions about the circuit's performance and component interactions.

Who May Find This Useful

This discussion may be of interest to students and practitioners involved in electronics, particularly those working with Op-Amps, thermistors, and temperature control systems.

  • #31
BTW, for these low frequency mV level sensors, we would use one of the single supply auto-zero op-amps for the input stage, like the OPA335. Undoubtedly not available for schools, and not necessary for learning in the lab. But in the pro EE world you would normally choose one of the thousands of op-amps that fits the need best. Op-amps like the 741, 324, OP07, etc. really only fit the low cost niche, there are better choices for nearly any spec on the data sheet.

What most analog EEs spend their time doing is reading datasheets, choosing appropriate parts, and designing "on paper", then maybe simulating the tricky bits (or not), and only then building it. Many routine portions of a circuit are never breadboarded or simulated if you are confident in your design work. Still, students do have to learn how to work in the lab. Also, maybe, the cost and pain of doing it wrong. All of us have destroyed more parts than we can count, LOL.

BTW, the days of +/- power supplies for op-amps is mostly past. Extra power supplies cost a lot and usually aren't necessary.
 
  • Like
Likes   Reactions: Wrichik Basu
Physics news on Phys.org
  • #32
DaveE said:
The best version would be a comparator, like LM311, LM339, etc. with some positive feedback as I sketched before.
I was going through the datasheet of the LM311, but failed to see its advantage over a good op-amp with a transistor. This is the schematic of the LM311:

1680361396656.png

At the end, it's basically an op-amp with a transistor in a single package. Maybe a goof op-amp, much better than LM741. And maybe will result in less wiring. But other than that, what's the advantage of these over regular op-amp + transistor circuit?
DaveE said:
BTW, the days of +/- power supplies for op-amps is mostly past. Extra power supplies cost a lot and usually aren't necessary.
Then how do you power the op-amps? I am almost going to buy an SMPS (Morsun LM60-12A15 with ±15 V, 2A) so that I can use op-amps at home. Even the LM311 requires a -15V supply.
 
  • #33
Wrichik Basu said:
what's the advantage of these over regular op-amp + transistor circuit?
Comparators are basically op-amps without the internal dominant pole frequency compensation. This compensation lowers the gain at high frequencies to make them inherently stable. However, it also slows them down. The LM311 can switch from -15V to +15V in 115nsec (slew rate = 260V/μsec). The OP07 has a slew rate of 0.3V/μsec. So it's much slower, both in switching and the delay to get to the active region of the next stage. This means that the inputs stay in/near the linear (active) range longer for the op-amp with positive feedback. In some designs you can eliminate the external positive feedback because of this, although I would usually include it, especially for slowly changing inputs.

Many comparators also have stronger output stages to drive more current which helps with capacitive loads, although the LM311 isn't a great example of that.

However, with external positive feedback in a slow application like yours, I don't think there's much wrong with using an op-amp. You'll see people do this when they want parts commonality for low cost or size. Like with a dual or quad op-amp IC. If the designer knows the difference and the consequences, I think it can often work well.

You are correct that the extra gain of the transistor makes this less important.

Wrichik Basu said:
Then how do you power the op-amps?
You choose one that works well with a single power supply. Even the LM324 does, which is ancient. Although there are better, newer versions, like rail-to-rail versions. There are some issues that you need to pay attention to with single supplies and/or low voltage operation though.
https://www.ti.com/lit/ml/sloa030a/sloa030a.pdf?ts=1680287582984

Same for comparators, BTW.
 
  • Informative
Likes   Reactions: Wrichik Basu
  • #34
DaveE said:
Comparators are basically op-amps without the internal dominant pole frequency compensation. This compensation lowers the gain at high frequencies to make them inherently stable. However, it also slows them down.
The fundamental difference between a voltage comparator and an op-amp is the design of the input, gain, and output structures.

An op-amp is designed to operate with little input voltage difference. Some early bipolar op-amps would invert their output when the inputs differed by more than a few volts, while the input bias current would then also rise significantly.

Some voltage comparators have an internal 1 mV of hysteresis in the gain stage, that is used to speed up their response. That is never done with op-amps.

The output stage of a voltage comparator is a bipolar digital driver.
The output stage of an op-amp is a linear voltage follower.

Don't get voltage comparators and op-amps confused. Their only similarity is that they can share the same symbol on a circuit diagram.
 
  • Like
  • Informative
Likes   Reactions: DaveE and Wrichik Basu
  • #35
Baluncore said:
Some early bipolar op-amps would invert their output when the inputs differed by more than a few volts
Yes, but only if you exceed the common mode input range. It's really the same thing, they just write the spec to cover their...

This reminds me of a run-in I had with the LM6144. They included a great feature to eliminate this "phase reversal" (that's the jargon to search for), to increase slew rate for large input differences, and drive capacitive loads well. That all sounds great in the intro text on the data sheet. What they don't say on the first page is that they do that by diverting current from the input stage which blows up the input current specs. It's buried in the datasheet. I spend about 2 days being confused about why things weren't right in my circuit. That's like 18 hours spent in the lab on one single amp stage, which practicing EEs don't have time for.

It reminds me of the old grad school saying "3 weeks in the lab can save you from spending an hour in the library". Read the datasheet. The whole thing. Even the footnotes (especially the footnotes!). Don't stop when you think you know enough. Some things like this are buried.

I will never use an LM6144 again, mostly because of PTSD. They aren't bad parts if you know what they do, but I rarely would need that.

PS: Anyway... The op-amp specs I think newbies don't really pay enough attention to, and absolutely should, are the input range and output stage drive (I-V) specs. This very much applies to both the single supply issues and the comparator/op-amp differences.
 
Last edited:
  • Like
Likes   Reactions: Wrichik Basu

Similar threads

Replies
15
Views
2K
  • · Replies 21 ·
Replies
21
Views
3K
  • · Replies 13 ·
Replies
13
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
Replies
0
Views
2K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 4 ·
Replies
4
Views
3K
Replies
13
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
1
Views
15K