Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

continuous square wave generation from pulses required !!!

Status
Not open for further replies.

Ow@i$

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

Simulation.png

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 :)
 

rohitkhanna

Banned
Joined
May 1, 2012
Messages
341
Helped
76
Reputation
150
Reaction score
75
Trophy points
1,308
Location
New Delhi, India
Activity points
0
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:
  • Like
Reactions: Ow@i$

    Ow@i$

    points: 2
    Helpful Answer Positive Rating

Ow@i$

Advanced Member level 1
Joined
Sep 18, 2012
Messages
414
Helped
78
Reputation
156
Reaction score
76
Trophy points
1,308
Location
Pakistan
Activity points
3,430
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 !!!

Simulation.png

and by the way this thing worked practically too!! :)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top