Author Topic: LPF behavior  (Read 239 times)

0 Members and 1 Guest are viewing this topic.

Offline BorisRapTopic starter

  • Contributor
  • Posts: 37
  • Country: de
LPF behavior
« on: February 26, 2024, 10:09:45 am »
Hi guys,

I'm trying to simulate a circuit I have to build. I have a pulsing current source of amplitude 1mA and duty cycle 50%. The frequency of this source will vary from DC to 1Mhz.
Just to test I put together this circuit in LTSpice to check the behavior.
I set a low pass filter to around 33Hz, the rest of the filtering can be done digitally.
I simulated the frequency at 1Khz and 1Mhz and I found that the output voltage of the opamp is the same (500mV).

1Khz:


1Mhz:


 Why is that? I thought the output at 1Mhz would be way lower due to the LPF.
That is actually the behavior that I want for my circuit, but I just can't understand why isn't being attenuated at higher frequencies

Thanks!
 

Offline Zero999

  • Super Contributor
  • ***
  • Posts: 19527
  • Country: gb
  • 0999
Re: LPF behavior
« Reply #1 on: February 26, 2024, 10:19:45 am »
Your low pass filter is working. It is attenuating the high frequency AC components of the signal and allowing through the DC.

The input signal is 1V square wave, with a 50% duty cycle, which is equivalent to 0.5VDC plus a 0.5V bipolar squarewave (i.e. going from +0.5V to -0.5V) superimposed on top of it.

Refer to the simulation below.


V3 = V1+V2

Therefore:
squarewave1 = squarewave2

If you add a low pass filter, it will remove V2, which is entirely AC, leaving only V1. A high pass filter will have the opposite effect and you'll be left with a bipolar 0.5V squarewave.
« Last Edit: February 26, 2024, 10:38:57 am by Zero999 »
 
The following users thanked this post: BorisRap

Offline BorisRapTopic starter

  • Contributor
  • Posts: 37
  • Country: de
Re: LPF behavior
« Reply #2 on: February 26, 2024, 10:54:48 am »
Your low pass filter is working. It is attenuating the high frequency AC components of the signal and allowing through the DC.

The input signal is 1V square wave, with a 50% duty cycle, which is equivalent to 0.5VDC plus a 0.5V bipolar squarewave (i.e. going from +0.5V to -0.5V) superimposed on top of it.

Refer to the simulation below.

(Attachment Link)
V3 = V1+V2

Therefore:
squarewave1 = squarewave2

If you add a low pass filter, it will remove V2, which is entirely AC, leaving only V1. A high pass filter will have the opposite effect and you'll be left with a bipolar 0.5V squarewave.

Thanks for the explanation!
 

Online radiolistener

  • Super Contributor
  • ***
  • Posts: 3382
  • Country: ua
Re: LPF behavior
« Reply #3 on: February 26, 2024, 11:04:33 am »
Why is that? I thought the output at 1Mhz would be way lower due to the LPF.

Because DC voltage (500mV in your case) is 0 Hz frequency which is below 33 Hz cut-off of your LPF, so it is passed through filter with no attenuation
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf