1
\$\begingroup\$

I'm trying to understand what's the purpose of the two diodes connected to the compensation pin (8), and what the output of the comparator is supposed to be. Also, I'd like to remove the 5V supply and modify it so that the comparator outputs 0V to +15V (or a bit lower), as it should drive a CMOS chip input (powered with 0V/+15V)

enter image description here

datasheet: http://www.ti.com/lit/ds/symlink/lm101a-n.pdf

update: is this equivalent? it should still provide 0V to +5V more or less, able to drive a MCU or CMOS

enter image description here

\$\endgroup\$
  • \$\begingroup\$ Link to the datasheet. Without a datasheet, this is a non-question. \$\endgroup\$ – Olin Lathrop May 25 '17 at 11:09
  • \$\begingroup\$ sorry, fixed it! \$\endgroup\$ – Dimitri Petrucci May 25 '17 at 11:15
  • \$\begingroup\$ LM101/301(commercial temperature range) is an OpAmp. Any reason not to use an IC designed to perform as comparator? \$\endgroup\$ – analogsystemsrf May 25 '17 at 11:20
1
\$\begingroup\$

Based on internal connection diagram these diodes act as a output voltage limiter, so the output of the OpAmp does not exceed 0/5V and to be safely connected with a MCU. Open the datasheet from your link on page 16 and look where pin (8) comes from.

Similar thing is done on Fig. 45. of the same DS, but there a zener is used.

Update

The second schematic is not equal to the first. The first makes voltage limiting on the low power circuit of the OpAmp and then the ouput emitter follower (as its name says) outputs a voltage with similar waveform but with higher load capability. The behaviour of the diode voltage limiter is similar to this circuit:

enter image description here

See how the signal is cut.

In your second schematic the output of the OpAmp will be like the first waveform, but because of the resitor divider will be scaled and moved up so its minimum is about 0V and its maximum is about 5.2V.

As long as the OpAmp works in a open feedback loop as a comparator (no feedback connection, maximum gain) both will output similar waveforms. The difference will apper when you close the feedback loop for some exact gain.

Another major difference of those circuits is their output impedance - while in the first it is about 100 ohm + Ro of the amplifier itself, in the second it is near a hundred kiloohms. This will have effect on the load you can attach to this circuit. The second will work with minimal distortion only with highest impedance inputs - about 1 MegaOhm, while the first can work with 2-3kOhm loads without an issue.

\$\endgroup\$
  • \$\begingroup\$ I updated the post with a modified schematic, that way would be equivalent? output would be forced between 0V and +5V if I did the calculations right. \$\endgroup\$ – Dimitri Petrucci May 25 '17 at 13:18
  • \$\begingroup\$ @DimitriPetrucci see the update. \$\endgroup\$ – Todor Simeonov May 25 '17 at 15:06
  • \$\begingroup\$ ok, so in my situation, they are used as comparator since there's no feedback resistor. But, what if I put a capacitor in the positive feedback? I mean from the output of LM301 to the + input. Would it still work like a comparator? \$\endgroup\$ – Dimitri Petrucci May 25 '17 at 16:45
  • \$\begingroup\$ The result will be some kind of oscillator, but it is uncommon. \$\endgroup\$ – Todor Simeonov May 25 '17 at 17:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.