Author Topic: Active low pass filter - Weird output  (Read 2155 times)

0 Members and 1 Guest are viewing this topic.

Offline TomerTopic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: il
Active low pass filter - Weird output
« on: April 11, 2018, 08:09:03 pm »
Hi All and thank you for your help.

I am trying to implement an active Low pass filter using Opamp LM358N.
To achieve that i am following the attached schematics (Scheme.jpg the area with red border).
I used different values for the RC filter:
330K
820Pf


That will give me a FC of ~585Hz
Other values are the same as in schematics.

I am feeding the circuit using 1Khz Sine signal with an Amplitude of 1V (Picture 1)
I am providing 4.5VDC (Picture 2)
I am scoping a very weird output (Picture 3)

I must be missing something, maybe with grounds ? I am attaching pictures of the BreadBoard (Pictures 4,5 and 6)
I also swapped OpAmps thinking i might damage it during play, but the result is the same.

* My potentiometer is 10K Linear.
Link to the pictures:
https://photos.app.goo.gl/7goatPJql7Tm6ykW2


Any help will be greatly appreciated
Thank you !
Tom
 

Offline jmelson

  • Super Contributor
  • ***
  • Posts: 2822
  • Country: us
Re: Active low pass filter - Weird output
« Reply #1 on: April 11, 2018, 08:55:09 pm »
Hi All and thank you for your help.

I am trying to implement an active Low pass filter using Opamp LM358N.

It looks like you got a high-pass filter instead.  It may be a slight change in the circuit is all that separates high-pass from low-pass.  So,check the circuit carefully.

Jon
 

Offline TomerTopic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: il
Re: Active low pass filter - Weird output
« Reply #2 on: April 11, 2018, 09:42:55 pm »
Hi :), Thank you for your replay.

I have  resistor following by a capacitor to ground. That should be a RC low pass filter ? no ?
 

Offline Circlotron

  • Super Contributor
  • ***
  • Posts: 3319
  • Country: au
Re: Active low pass filter - Weird output
« Reply #3 on: April 11, 2018, 09:58:27 pm »
You only have a single 4.5vdc power rail. You need a spit supply with equal voltages above and below ground, say 9 volts total.
 

Offline mrkev

  • Regular Contributor
  • *
  • Posts: 225
  • Country: cz
Re: Active low pass filter - Weird output
« Reply #4 on: April 11, 2018, 10:24:50 pm »
It looks like you have inverting and non-inverting input of the top amp swapped, probably combined with some power issue as Circlotron wrote.
 
The following users thanked this post: Tomer

Offline TomerTopic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: il
Re: Active low pass filter - Weird output
« Reply #5 on: April 11, 2018, 10:37:26 pm »
Thank you for your comments.
1) I bumped the power supply to 9VDC but i did not noticed any change.
You only have a single 4.5vdc power rail. You need a spit supply with equal voltages above and below ground, say 9 volts total.
Should i do something else here ? in my power supply i have 3 outputs "Red +" / "Black -" / "green Ground"


2)
It looks like you have inverting and non-inverting input of the top amp swapped, probably combined with some power issue as Circlotron wrote.

Can you further explain i am not sure that i understand.

Thank you
Tom
« Last Edit: April 11, 2018, 10:40:37 pm by Tomer »
 

Offline mrkev

  • Regular Contributor
  • *
  • Posts: 225
  • Country: cz
Re: Active low pass filter - Weird output
« Reply #6 on: April 11, 2018, 10:46:17 pm »
You can do something like two 1k resistors as a divider between VCC and VEE, making the virtual GND.

To the inverting/non-inverting input swap, it is really simple. The top amp should be connected the same way as the bottom one, but you have "-" on the filter and "+" on the 10k/1k divider (should be the other way around).
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Active low pass filter - Weird output
« Reply #7 on: April 11, 2018, 11:03:49 pm »
Your very simple filters are not active filters. Instead they are simply an RC passive filter feeding an opamp.
Since your power supply is +4.5V and 0V then the inputs of all the opamps must be biased at half the supply voltage so that the inputs and outputs can swing up and down.

It is obvious that you have the inputs of the lowpass filter opamp connected backwards.
 
The following users thanked this post: Tomer

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Active low pass filter - Weird output
« Reply #8 on: April 11, 2018, 11:17:07 pm »
Since you have a single positive supply then the input, output and feedback resistor to ground should have series coupling capacitors to block the input bias voltage that you must add.
Also the negative of your power supply must connect to the circuit ground.

Instead you can use a positive supply and a negative supply that was replied about then the opamp inputs can be biased at 0V like you show. Circuit ground is connected between the positive and negative supplies where they join together.
 

Offline TomerTopic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: il
Re: Active low pass filter - Weird output
« Reply #9 on: April 12, 2018, 03:06:00 pm »
Guys thank you for all the comments.

I understood that the original scheme had the + and - of the OpAmps signals the wrong way, i also confirmed it with a book that i have.
I apply the change on the breadboard and the output seems to be a bit better now. on the scope.

I am not sure that i understand how to feed the OpAmp correctly.
Is it possible to supply the OpAmp + and - using my AgilentE3610A, i have 3 outputs "Red +" / "Black -" / "green Ground".
Currently the + is connected to Pin8 and the - is connected to Pin4

I am feeding with a 1Khz sine , 10mV
In the scope i can see the following pic
https://photos.app.goo.gl/a2Ql0dguGaJqn6Ki1

Thank you again for the time and help
Tom
 

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Active low pass filter - Weird output
« Reply #10 on: April 12, 2018, 05:01:30 pm »
Only one of the opamps had its inputs connected backwards.

The input and output of an opamp must be able to swing up and down. Your opamps have the (+) input biased at 0V (circuit ground) then the opamp input will be damaged when the input signal goes negative and the output cannot produce the negative swing of the signal resulting in no output or severe distortion. Opamps with the input biased at 0V must have a positive supply and a negative supply.

Since you do not have a negative supply then the (+) input of each opamp must be biased at half the supply voltage so that the inputs and outputs can swing up and down.

Here is a schematic of an opamp with a single positive supply with its input biased at half the supply voltage, and an opamp with a positive and a negative supply and also with its input biased at half the supply voltage that is 0V:
 
The following users thanked this post: Tomer

Offline Audioguru

  • Super Contributor
  • ***
  • Posts: 1507
  • Country: ca
Re: Active low pass filter - Weird output
« Reply #11 on: April 12, 2018, 05:11:43 pm »
Here is the biasing when the opamp is non-inverting like your opamps:
 
The following users thanked this post: Tomer

Offline TomerTopic starter

  • Regular Contributor
  • *
  • Posts: 67
  • Country: il
Re: Active low pass filter - Weird output
« Reply #12 on: April 13, 2018, 04:27:08 pm »
Thank you so much for investing so much time in detailed responses !
It took me some time but with your help and additional reading i think i understood it correctly now.

I created a voltage divider on my breadboard supplying + and - to the OpAmp and my scope output looks good.

Thank you
Tom
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf