Help: how to get a constant duty cycle output from comparator

Status
Not open for further replies.

hltll

Junior Member level 1
Joined
Apr 2, 2009
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,414
Hi all, I am designing a comparator, the one input is dc voltage(ref voltage), and the other is square wave, what's worse, the low voltage of the square wave is varying. My problem is : how can I get a constant duty cycle output when the low voltage of the square wave is varying. Thanks for reply!
 


try LM339N
 

For a logic device, the output levels are independent of inputs. That means, if input<Vil(max), the device will output LOW (which is less than Volmax). If input>Vih(min), the device will output HIGH (which is greater than Vohmin).

What duty cycle are you looking at? if you need a adjustable duty cycle, you need a sawtooth waveform on the one input & the constant DC on the other input.so that by varying the DC input, you will get different duty cycle.

What you mean by low voltage of square wave varying?
 

Your square wave can never be square, in an imperfect
universe. So the variation in low level moves one end of
a finite slew rate edge, and that is transformed to a time
variation across the slew-slope. Not to mention, if the
levels are small, timing sensitivity to overdrive with the
overdrive moving.

Sharper edges will help. Lower noise on the reference will
help. Question why the "square wave" levels move, maybe
you really have a ground / reference-ground integrity type
problem?
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…