I am expecting the blue wave to move up to vcc/2, but it's not the case here. I tried other opamp model with similar result, so it's most likely the problem of the circuit itself. I can't see the wave move through C1 because it's a high pass filter, what value can I set it to to allow the frequency to pass through?
-
\$\begingroup\$ Simply plot the output at the opamp output before capacitor. And you will see DC-offset \$\endgroup\$ – G36 Apr 28 '18 at 9:13
-
\$\begingroup\$ @G36 I see, you are right \$\endgroup\$ – Atmega 328 Apr 28 '18 at 9:20
-
\$\begingroup\$ So where is the problem then? \$\endgroup\$ – G36 Apr 28 '18 at 9:22
-
\$\begingroup\$ @G36 you just solved it. \$\endgroup\$ – Atmega 328 Apr 28 '18 at 9:22
-
1\$\begingroup\$ @Atmega328 it blocks the DC level. The negative and positive values of the sinus are AC, not DC \$\endgroup\$ – Claudio Avi Chami Apr 28 '18 at 9:48
I am expecting the blue wave to move up to vcc/2, but it's not the case here. I tried other opamp model with similar result, so it's most likely the problem of the circuit itself. I can't see the wave move through C1 because it's a high pass filter, what value can I set it to to allow the frequency to pass through?
c1 doesn't get changed, and c2 turns into a straight piece of wire and the op amp gets changed from a single supply to a dual supply type if you want that dc offset on a single power supply.