continuous square wave generation from pulses required !!!

Status
Not open for further replies.

Ow@i$

Advanced Member level 1
Joined
Sep 18, 2012
Messages
413
Helped
78
Reputation
156
Reaction score
75
Trophy points
1,308
Location
Pakistan
Activity points
3,430
Hi guys,
Referring to following simulation result:



I want a continuous square wave at output rather than several pulses ( Shown in green ),
as long as input ( the red signal ) is high above certain level...!!!

what should I do ?? like envelop detection or can i convert those pulses into a continuous square wave???

any help appreciated
 

A retriggerable monoflop can do it.
 
Reactions: Ow@i$

    Ow@i$

    Points: 2
    Helpful Answer Positive Rating
Its not really clear WHY you would need such perfect square waves - and i assume you mean a 50% duty cycle. But lets say it's absolutely necessary.

Here's an idea --

After your comparator at YOUR measurement level, put an RC on the output whose time-constant is just greater than 2/freq. Put in a trimpot for the 'R' to adjust. I.e. The output should stay high as long as your signal is greater than the threshold, but go low within 1 cycle if its not. Follow the RC with a schmitt - for cleaner signal switching.
Something like a retrigerable monoflop without the actual chip.

The result should be what you need.
 
Last edited:
Reactions: Ow@i$

    Ow@i$

    Points: 2
    Helpful Answer Positive Rating
Thank you all for help... I actually tried an envelop detector (Diode, Capacitor, and a Resistor ) and it worked according to the need !!1 here is what is got !!!



and by the way this thing worked practically too!!
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…