I am trying to use the TL071 for a project. I run my simulations on Proteus.
After I ran the simulations and verified the circuit behaves as I want, I ordered the parts and put the circuit together.
Later on I realized that the TL071 doesn't work as it worked in the simulation. I checked the simulation and I realized I didn't check the "attach hierarchy module" box which makes the component behave like the specific component, rather than a generic op-amp.
After checking the box I saw that the TL071 behaves exactly like it behaves in the real circuit.
The problem is I can't understand why. I wanted to use a TL071 to make a comparator, which didn't work.
I tried using an LM311, but it didn't work in the simulation either (0 volts as output in every sceneraio.)
As a last resort I wanted to use the TL071 as a simple amplifier.
Even then it did not work as intended.
Below I post the simple amplifier setup. I should get about 12-10 volts output, but instead I get 0 volts.
I tried it in the real circuit and I saw that when I put together the same amplifier with the TL071 I get 0 volts again so the simulation is not the problem.
After unchecking the "attach hierarchy module" option I saw that the op-amp behaves as expected and produces 10.5 volts output. I use the exact supplies in the real circuit. I tried amplifying a sine wave signal it doesn't work either.
Below is when simulation running:
Edit2: The whole circuit. This simulation works but in a real circuit I get the result below.
edit: I tried the actual circuit with using +12/-12 volt supplies, 0 volt ground and a sinewave as input. VCC is 12V, VEE is -12V, inverting input is connected to the ground and non inverting input is connected to the sinewave. I get this weird wavefrom instead of a square wave as result.
Edit3: In real circuit I realized the op-amp gets very, very hot. I almost burnt my hand.