Band-pass active 4th order filter with cutoff frequencies 400 kHz and 500 kHz

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hello again,

Sorry to say, but I do not think the 741 op amp will work in simulations either because of the limited slew rate, unless of course you reduce the frequency or the maximum peak AC amplitude. If you do either of those though you could see some good results.
In you’re opinion what other op amp would you suggest I use, because I can’t reduce the frequency because of the task?Thanks in advance!
 

MrAl

Joined Jun 17, 2014
13,926
In you’re opinion what other op amp would you suggest I use, because I can’t reduce the frequency because of the task?Thanks in advance!
Hi,

Well there is the LT1630 op amp which does 30MHz and 10v/us for example, but all you have to do is look for the features you need such as:
Supply voltage, plus and minus whatever you are using, or just some plus voltage if you use a single supply.
Slew rate, at least 2v/us maybe 5v/us better. The bandwidth will most likely be higher than 1MHz.
Output max, whatever you need.

You can go on the Texas Instruments site and do a search. You get a list of op amps and their main features that way so you can choose one.

I was going to use an LT1630 one time for a power supply, but I found another op amp too I'll have to try to find that part number also. In the mean time, try looking on the Texas Instruments site and that way you will also learn how to find the parts you need, such as the op amps. You will see there are many other types of parts also that you may need in the future.
 

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hi,

Well there is the LT1630 op amp which does 30MHz and 10v/us for example, but all you have to do is look for the features you need such as:
Supply voltage, plus and minus whatever you are using, or just some plus voltage if you use a single supply.
Slew rate, at least 2v/us maybe 5v/us better. The bandwidth will most likely be higher than 1MHz.
Output max, whatever you need.

You can go on the Texas Instruments site and do a search. You get a list of op amps and their main features that way so you can choose one.

I was going to use an LT1630 one time for a power supply, but I found another op amp too I'll have to try to find that part number also. In the mean time, try looking on the Texas Instruments site and that way you will also learn how to find the parts you need, such as the op amps. You will see there are many other types of parts also that you may need in the future.
Thanks I looked I think I will use the LT1630, I also have another question because in the task is said that the output resistance should be less than 50 ohms does that mean of the entire circuit or the op amp ?
 

LvW

Joined Jun 13, 2013
2,073
Thanks I looked I think I will use the LT1630, I also have another question because in the task is said that the output resistance should be less than 50 ohms does that mean of the entire circuit or the op amp ?
Normally, the ouput resistance for the complete circuit is the only quantity of importance.
This will not be a problem - even in case the opamp alone has > 50 ohms - because negative feedback will drastically reduce this resistance (very often below 1 Ohm).
 

MrAl

Joined Jun 17, 2014
13,926
Thanks I looked I think I will use the LT1630, I also have another question because in the task is said that the output resistance should be less than 50 ohms does that mean of the entire circuit or the op amp ?
Hi,

Well, if you look into the operation of an op amp, the output impedance is usually considered to be very low because in the linear mode the output is regulated to match the voltage required to get the two inputs equal, and that means the voltage will stay roughly the same for any output load current given the same operating point. Of course this is during any temporal state that is long enough to allow the output to settle. For periods of time less than that, the output impedance can be much higher, but this is usually not too much of a concern except in fast systems where the input can change very fast in comparison to the speed of the op amp, and it does not last very long.
 

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hi,

Well, if you look into the operation of an op amp, the output impedance is usually considered to be very low because in the linear mode the output is regulated to match the voltage required to get the two inputs equal, and that means the voltage will stay roughly the same for any output load current given the same operating point. Of course this is during any temporal state that is long enough to allow the output to settle. For periods of time less than that, the output impedance can be much higher, but this is usually not too much of a concern except in fast systems where the input can change very fast in comparison to the speed of the op amp, and it does not last very long.
Hi,
I used the LM324,because I had some trouble with the LT1630.
This is the new 4th order bandpass filter with cutoff frequency's of 400 kHz and 500kHz:Screenshot (194).pngScreenshot (193).pngScreenshot (192).png
 

MrAl

Joined Jun 17, 2014
13,926

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hello,

What is the slew rate of the LM324, and why is it not appropriate for use at 500kHz for this application?

Show a picture of the output voltage itself. Let's see what it actually looks like.
The slew rate is 400 mV/µs and this is the output voltage:Screenshot (195).pngScreenshot (196).png
 

LvW

Joined Jun 13, 2013
2,073
The slew rate is 400 mV/µs and this is the output voltage:
Please note that a small-signal ac analysis (as shown in your plots) cannot reveal the restrictions and the influence of a limited slew rate. That means: A slew rate of 0.4V/µs is by far not large enough. Your circuit will NEVER work in practice.
 

MrAl

Joined Jun 17, 2014
13,926
The slew rate is 400 mV/µs and this is the output voltage:View attachment 314606View attachment 314607

Hi,

Thanks. I was really asking for a transient response output voltage plot but I didn't make that clear.

Anyway, in the attachment, you'll see the output signal that should always be a sine wave, yet as the frequency goes up it gets more and more distorted.
First look at the 20kHz wave, then 30kHz, then 35kHz, then 40kHz, then the others up to 400kHz.
The red plot is the reference sine, and the output should be the same because this is a simple voltage follower circuit. As the frequency increases though it gets worse and worse.
Note around 35kHz the wave starts to deviate from a perfect sine. You can see that because the blue wave (output) no longer follows the red wave (input) as well as it did at lower frequencies like 20kHz. Knowing the slew rate is 0.5v/us, the calculation for the max frequency is 31831Hz. Note how close that is to what we see in the image waveforms. When you look at 40kHz plot, you can see it deviated even more. When we get up to 50kHz it's no longer anything that resembles a sine wave as it looks more triangular. As we go higher in frequency like at 200kHz, we can see it's not only triangular, it's much more reduced in amplitude also. That's not a low pass filter either, because with a low pass filter we would still see a sine wave output.

By reviewing that attached image you can get a feel for how this works, and how important the slew rate spec of an op amp is when we are going to use it for signals that are supposed to be sine waves or combinations of sine waves (like audio).

See if this makes more sense to you now.
 

Attachments

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hi,

Thanks. I was really asking for a transient response output voltage plot but I didn't make that clear.

Anyway, in the attachment, you'll see the output signal that should always be a sine wave, yet as the frequency goes up it gets more and more distorted.
First look at the 20kHz wave, then 30kHz, then 35kHz, then 40kHz, then the others up to 400kHz.
The red plot is the reference sine, and the output should be the same because this is a simple voltage follower circuit. As the frequency increases though it gets worse and worse.
Note around 35kHz the wave starts to deviate from a perfect sine. You can see that because the blue wave (output) no longer follows the red wave (input) as well as it did at lower frequencies like 20kHz. Knowing the slew rate is 0.5v/us, the calculation for the max frequency is 31831Hz. Note how close that is to what we see in the image waveforms. When you look at 40kHz plot, you can see it deviated even more. When we get up to 50kHz it's no longer anything that resembles a sine wave as it looks more triangular. As we go higher in frequency like at 200kHz, we can see it's not only triangular, it's much more reduced in amplitude also. That's not a low pass filter either, because with a low pass filter we would still see a sine wave output.

By reviewing that attached image you can get a feel for how this works, and how important the slew rate spec of an op amp is when we are going to use it for signals that are supposed to be sine waves or combinations of sine waves (like audio).

See if this makes more sense to you now.
Hi,
thank you I found one that does the job (I think) it is LT1468 ( 90MHz Gain Bandwidth, f = 100kHz, 22V/μs Slew Rate ). Is the response okay(does it look like a response of a 4th order filter)? Screenshot (199).png
 
Last edited:

MrAl

Joined Jun 17, 2014
13,926
Hi,
thank you I found one that does the job (I think) it is LT1468 ( 90MHz Gain Bandwidth, f = 100kHz, 22V/μs Slew Rate ). Is the response okay(does it look like a response of a 4th order filter)? View attachment 314619
Hello again,

Let's look at some numbers.

Definition of what a 'decade' is:
A 'decade' is a change in frequency by a factor of 10. For example, if you start with a frequency of 2kHz the next decade is 10 times that which is 20kHz.
To find out what the roll off is, you would look at the amplitude in db at 2kHz and the amplitude in db at 20kHz, in a region that has a straight line curve which is usually far from one of the 'cutoff' points. That usually means either very low frequency or very high frequency. You then think about what order it is by what you measure there, and subtract one amplitude from the other. The result of that subtraction is the roll off. Here's a short list...

A first order filter has a roll off of 20db per decade.
A second order filter has a roll off of 40db per decade.
A third order filter has a roll off of 60db per decade.
A fourth order filter has a roll off of 80db per decade.

For a bandpass filter each reactive element in the circuit acts on only one slope so those are halved:
A second order filter has a roll off of 20db per decade.
A fourth order filter has a roll off of 40db per decade.
(see attachment)

Now given this information, can you tell me if that is a 4th order filter or not?

You can pick a frequency that is very far from a cutoff point and then multiply that by 10 and you have your second frequency. You then subtract the two amplitudes in db and then compare to the list above. That will tell you the order of the filter.

Just to note, you should also do a transient analysis and show the plot of the output and the plot of the input together on the same graph.
 

Attachments

Last edited:

LvW

Joined Jun 13, 2013
2,073
A first order filter has a roll off of 20db per decade.
A second order filter has a roll off of 40db per decade.
A third order filter has a roll off of 60db per decade.
A fourth order filter has a roll off of 80db per decade.
Just to avoid misunderstandings:
The above list applies to lowpass and highpass transfer functions.
In this thread, we speak about bandpass filters and the "roll offs" (far below resp. far above both cutoff frequencies) are only 50% (in dB) of the shown values. This means:
2nd order: 20dB/dec.
4th order: 40dB/dec.
6th order: 60 dB/dec.
 

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hello again,

Let's look at some numbers.

Definition of what a 'decade' is:
A 'decade' is a change in frequency by a factor of 10. For example, if you start with a frequency of 2kHz the next decade is 10 times that which is 20kHz.
To find out what the roll off is, you would look at the amplitude in db at 2kHz and the amplitude in db at 20kHz, in a region that has a straight line curve which is usually far from one of the 'cutoff' points. That usually means either very low frequency or very high frequency. You then think about what order it is by what you measure there, and subtract one amplitude from the other. The result of that subtraction is the roll off. Here's a short list...

A first order filter has a roll off of 20db per decade.
A second order filter has a roll off of 40db per decade.
A third order filter has a roll off of 60db per decade.
A fourth order filter has a roll off of 80db per decade.

Now given this information, can you tell me if that is a 4th order filter or not?

You can pick a frequency that is very far from a cutoff point and then multiply that by 10 and you have your second frequency. You then subtract the two amplitudes in db and then compare to the list above. That will tell you the order of the filter.

Just to note, you should also do a transient analysis and show the plot of the output and the plot of the input together on the same graph.
Hi,
In the laboratory exercise we were thought to use ac analyze I tried with transient but it did not work. I’m sorry if I am asking dumb questions but can you tell me where I did something wrong with the circuit because I used two cascading second order filters and did all the calculations so the resistors and capacitors equal 400k and 500k freqs also I used an op amp with 90MHz Gain Bandwidth, f = 100kHz, 22V/μs Slew Rate.
Thanks in advance
 

MrAl

Joined Jun 17, 2014
13,926
Just to avoid misunderstandings:
The above list applies to lowpass and highpass transfer functions.
In this thread, we speak about bandpass filters and the "roll offs" (far below resp. far above both cutoff frequencies) are only 50% (in dB) of the shown values. This means:
2nd order: 20dB/dec.
4th order: 40dB/dec.
6th order: 60 dB/dec.
Yes, thanks for pointing that out and here are the plots of 2nd and 4th order BP filters...
 

Attachments

MrAl

Joined Jun 17, 2014
13,926
Hi,
In the laboratory exercise we were thought to use ac analyze I tried with transient but it did not work. I’m sorry if I am asking dumb questions but can you tell me where I did something wrong with the circuit because I used two cascading second order filters and did all the calculations so the resistors and capacitors equal 400k and 500k freqs also I used an op amp with 90MHz Gain Bandwidth, f = 100kHz, 22V/μs Slew Rate.
Thanks in advance
Hi,
In the laboratory exercise we were thought to use ac analyze I tried with transient but it did not work. I’m sorry if I am asking dumb questions but can you tell me where I did something wrong with the circuit because I used two cascading second order filters and did all the calculations so the resistors and capacitors equal 400k and 500k freqs also I used an op amp with 90MHz Gain Bandwidth, f = 100kHz, 22V/μs Slew Rate.
Thanks in advance
Hi,

Ok then don't worry about the transient reponse for now.

As to doing anything wrong, go back to your post #72 and look at the response at 1k and 10kHz. 10kHz is one decade higher than 1kHz.
Now look at the amplitude you have plotted and calculate the difference. Do you see a difference of 40db/decade or not?
If that is true then just check your cutoff frequencies and if they are right then the filter is correct.
 

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Hi,

Ok then don't worry about the transient reponse for now.

As to doing anything wrong, go back to your post #72 and look at the response at 1k and 10kHz. 10kHz is one decade higher than 1kHz.
Now look at the amplitude you have plotted and calculate the difference. Do you see a difference of 40db/decade or not?
If that is true then just check your cutoff frequencies and if they are right then the filter is correct.
Hi,
yes when I calculated it, the difference was 40db per octave at 1k is 105db and at10 k is 65db.
 

MrAl

Joined Jun 17, 2014
13,926
Hi,
yes when I calculated it, the difference was 40db per octave at 1k is 105db and at10 k is 65db.
Oh great so you know the roll off then, and can compare it to the second list (for bandpass filters) in post #73, if you haven't done that yet that is.
You can also compare to post #76 that has two plots for two types of bandpass filters.

If you would like to see what a more basic bandpass filter is like you can connect an inductor in series with a capacitor, then a resistor load, taking the output from across the resistor, and powered by an AC voltage source. That results in a 2nd order response which you can plot.
To see the 4th order response, you only have to convolve the result of that with itself. If you convolve another 2nd order filter with that, you get a 6th order response, etc.
That is a passive network so it's quite simple.
 

Attachments

Thread Starter

ksnclaksnc

Joined Jan 30, 2024
39
Oh great so you know the roll off then, and can compare it to the second list (for bandpass filters) in post #73, if you haven't done that yet that is.
You can also compare to post #76 that has two plots for two types of bandpass filters.

If you would like to see what a more basic bandpass filter is like you can connect an inductor in series with a capacitor, then a resistor load, taking the output from across the resistor, and powered by an AC voltage source. That results in a 2nd order response which you can plot.
To see the 4th order response, you only have to convolve the result of that with itself. If you convolve another 2nd order filter with that, you get a 6th order response, etc.
That is a passive network so it's quite simple.
Hi,
I have a question about the physical design and what type of materials should I use, because we used Res500 and Cap 400 when we did the pcb and I do not know how will they do with high frequency’s?
 
Top