The OP
Published on 2018-5-9 19:29
Only look at the author
Why is the square wave output of the LM339 comparator distorted? [Copy link]
This post is from Analog electronics
Latest reply
"If I use LM339, how can I make the rising edge of this square wave steeper? Can I reduce the resistance of the pull-up resistor as you said before?" The pull-up resistor needs to be reduced to 1 kilo-ohm or even smaller, so that the 125kHz square wave is barely acceptable.
Details
Published on 2018-5-9 22:49
| ||
|
||
2
Published on 2018-5-9 19:35
Only look at the author
This post is from Analog electronics
| ||
|
||
|
|
3
Published on 2018-5-9 19:57
Only look at the author
|
|
|
|
4
Published on 2018-5-9 20:52
Only look at the author
This post is from Analog electronics
| ||
|
||
|
This post is from Analog electronics
Comments
The front section is an amplifier, the purpose is to amplify the input square wave amplitude. There is no comparator originally, I added it later. After adding the comparator, it can no longer be linearly amplified. What this means is that the amplitude of the output square wave is not proportional to the input signal. Therefore, Q1, Q2 and Q3 and their associated circuits are
Details
Published on 2018-5-9 21:55
The front section is an amplifier, the purpose is to amplify the input square wave amplitude. There is no comparator originally, I added it later. After adding the comparator, it can no longer be linearly amplified. What this means is that the amplitude of the output square wave is not proportional to the input signal. Therefore, Q1, Q2 and Q3 and their associated circuits are
Details
Published on 2018-5-9 21:52
The front section is an amplifier, the purpose is to amplify the input square wave amplitude. There is no comparator originally, I added it later. After adding the comparator, it can no longer be linearly amplified. What this means is that the amplitude of the output square wave is not proportional to the input signal. Therefore, Q1, Q2 and Q3 and their associated circuits are
Details
Published on 2018-5-9 21:50
| ||
|
||
|
6
Published on 2018-5-9 21:50
Only look at the author
This post is from Analog electronics
| ||
|
||
|
7
Published on 2018-5-9 21:52
Only look at the author
This post is from Analog electronics
| ||
|
||
|
8
Published on 2018-5-9 21:55
Only look at the author
This post is from Analog electronics
| ||
|
||
|
This post is from Analog electronics
| ||
|
||
|
This post is from Analog electronics
Comments
125kHz is a frequency that exceeds audio, but it is not very high, lower than video. However, square waves contain a lot of high-order harmonics. If you consider the 20th order, your amplifier circuit bandwidth will have to be 2.5MHz, which is not easy. You need to think of some way to achieve a 2.5MHz bandwidth. If you limit yourself to using discrete transistors, you can
Details
Published on 2018-5-9 22:23
| ||
|
||
|
11
Published on 2018-5-9 22:23
Only look at the author
This post is from Analog electronics
Comments
Thanks for your advice. If the circuit remains unchanged and I just want to change the output sine wave into a square wave, how can I make the shaping circuit better? If I use LM339, how can I make the rising edge of the square wave more jittery? Can I lower the pull-up resistor value as you said before?
Details
Published on 2018-5-9 22:42
| ||
|
||
|
This post is from Analog electronics
Comments
"If we use LM339, how can we make the rising edge of this square wave steeper? Can we reduce the pull-up resistor value as you said before?" The pull-up resistor needs to be reduced to 1 kilo-ohm or even smaller, so that the 125kHz square wave is barely acceptable.
Details
Published on 2018-5-9 22:49
| ||
|
||
|
13
Published on 2018-5-9 22:49
Only look at the author
This post is from Analog electronics
| ||
|
||
|
This post is from Analog electronics
| ||
|
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190