Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How should I improve my circuit for squaring waveform input?

elonjia

Newbie level 6
Newbie level 6
Joined
May 6, 2024
Messages
11
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Activity points
84
1726861061088.png


the circuit is just like a bandpass amplifier above, and when I input a square waveform, the output is just like the yellow curve; how should I fix this?
 
By nature of bandpass filter, if the input waveform is a square wave, the output waveform will be different. Not clear what you want to achieve.
 
By nature of bandpass filter, if the input waveform is a square wave, the output waveform will be different. Not clear what you want to achieve.
So it's good in terms of the waveform? I want to output to be the square waveform either, should I increase the bandwidth?
 
The whole point of a bandpass filter is to attenuate low and high frequencies. There's no way you can expect fast edges AND attenuated high frequencies. Fast edges=high frequency.
 
The whole point of a bandpass filter is to attenuate low and high frequencies. There's no way you can expect fast edges AND attenuated high frequencies. Fast edges=high frequency.
Thanks, could I move this high f to a higher freq so it has a better output performance? Also, is there any recommendation for the high-frequency circuit structure?
 

    FvM

    Points: 2
    Helpful Answer Positive Rating
Obviously, the lower (high-pass) cut-frequency is above fundamental input frequency, thus no chance to reproduce the waveform. I'd try factor 10 lower cut-off frequency (factor 10 larger coupling capacitors) as first step. Upper cut-off frequency doesn't seem to be critical.
 
what “noise” are you trying to filter? Maybe you just need a low pass filter, not a band pass. with zero requirements it’s impossible to give an intelligent answer. what’s your rise time requirement? what’s your pass and tprequirement?
 
I suggest a low-pass filter to remove high frequency noise (if needed), followed by a high-speed analog comparator (for example MCP6566) to generate a good square-wave.
A comparator with 80nS rise time isn’t going to give a very good square wave at 1MHz.

Again, with no specs, it’s pretty difficult to say WHAT OP needs.
 
what “noise” are you trying to filter? Maybe you just need a low pass filter, not a band pass. with zero requirements it’s impossible to give an intelligent answer. what’s your rise time requirement? what’s your pass and tprequirement?
Thanks for your reply, I wonder if I can use a high pass filter so the square waveform can be passed better?
BTW, do you also have any ideas for the question below? Thanks!
https://www.edaboard.com/threads/the-input-reference-noise-voltage-is-larger-than-vdd.412442/
 
A high pass filter will pass a square wave better than a low pass, but it won't do anything to reduce high frequency noise. What, exactly, are you trying to accomplish? It's enormously unclear.
 
The input is a 500 kHz square wave with at least 50 MHz bandwidth
Your Op Amp lacks the bandwidth to pass this signal even with a partial differentiator arrangement and does not meet your expectations and degrades the signal. So it is not clear why you are doing this.

Even a logic gate would work better to buffer a square wave.

We have no idea what you want to do but this is not likely to be improved unless you wanted a sine wave RC filter at 500 KHz or any odd harmonic..
 
Last edited:

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top