0
\$\begingroup\$

enter image description here 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?

\$\endgroup\$
13
  • \$\begingroup\$ Simply plot the output at the opamp output before capacitor. And you will see DC-offset \$\endgroup\$
    – G36
    Apr 28, 2018 at 9:13
  • \$\begingroup\$ @G36 I see, you are right \$\endgroup\$
    – user83582
    Apr 28, 2018 at 9:20
  • \$\begingroup\$ So where is the problem then? \$\endgroup\$
    – G36
    Apr 28, 2018 at 9:22
  • \$\begingroup\$ @G36 you just solved it. \$\endgroup\$
    – user83582
    Apr 28, 2018 at 9:22
  • 1
    \$\begingroup\$ @Atmega328 it blocks the DC level. The negative and positive values of the sinus are AC, not DC \$\endgroup\$ Apr 28, 2018 at 9:48

1 Answer 1

0
\$\begingroup\$

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.

\$\endgroup\$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.