How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave? [duplicate] Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Triangular waveform to square waveform circuitSquare wave / Sine wave is more audibleSine wave to square wave - Schmitt triggerWhat is the best way to get a sine wave from a square wave?How to build a circuit that generates a sine wave?High-current capable (±250A) AC power-supply, sine wave/square wave (±20V)Why sine wave not square wave?Sine to Square only with a MCUHow to check (with DIY methods) if an Inverter returns a Square or a Sine Wave?Need a circuit to convert 230V sine wave into 5V square waveSine to square wave converter

How much damage would a cupful of neutron star matter do to the Earth?

What criticisms of Wittgenstein's philosophy of language have been offered?

How to make triangles with rounded sides and corners? (squircle with 3 sides)

One-one communication

Does the main washing effect of soap come from foam?

What was the last profitable war?

Any stored/leased 737s that could substitute for grounded MAXs?

Found this skink in my tomato plant bucket. Is he trapped? Or could he leave if he wanted?

Where did Ptolemy compare the Earth to the distance of fixed stars?

3D Masyu - A Die

Is there a verb for listening stealthily?

Can the Haste spell grant both a Beast Master ranger and their animal companion extra attacks?

Is this Half-dragon Quaggoth boss monster balanced?

Typical Calculus BC Separation of Variables Question

Why can't fire hurt Daenerys but it did to Jon Snow in season 1?

Understanding piped commands in GNU/Linux

How do you write "wild blueberries flavored"?

Why complex landing gears are used instead of simple, reliable and light weight muscle wire or shape memory alloys?

What is a more techy Technical Writer job title that isn't cutesy or confusing?

By what mechanism was the 2017 UK General Election called?

What is "Lambda" in Heston's original paper on stochastic volatility models?

First paper to introduce the "principal-agent problem"

How do I say "this must not happen"?

Derived column in a data extension



How do I design a circuit to convert a 100 mV and 50 Hz sine wave to a square wave? [duplicate]



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)Triangular waveform to square waveform circuitSquare wave / Sine wave is more audibleSine wave to square wave - Schmitt triggerWhat is the best way to get a sine wave from a square wave?How to build a circuit that generates a sine wave?High-current capable (±250A) AC power-supply, sine wave/square wave (±20V)Why sine wave not square wave?Sine to Square only with a MCUHow to check (with DIY methods) if an Inverter returns a Square or a Sine Wave?Need a circuit to convert 230V sine wave into 5V square waveSine to square wave converter



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








7












$begingroup$



This question already has an answer here:



  • Triangular waveform to square waveform circuit

    2 answers



I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.



Enter image description here










share|improve this question











$endgroup$



marked as duplicate by Eugene Sh., Sunnyskyguy EE75, Finbarr, RoyC, Bimpelrekkie Apr 15 at 11:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

















  • $begingroup$
    You would almost certainly want to add hysteresis to your solution for a low level low frequency application
    $endgroup$
    – sstobbe
    Apr 12 at 15:04










  • $begingroup$
    Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
    $endgroup$
    – analogsystemsrf
    Apr 12 at 21:23

















7












$begingroup$



This question already has an answer here:



  • Triangular waveform to square waveform circuit

    2 answers



I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.



Enter image description here










share|improve this question











$endgroup$



marked as duplicate by Eugene Sh., Sunnyskyguy EE75, Finbarr, RoyC, Bimpelrekkie Apr 15 at 11:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

















  • $begingroup$
    You would almost certainly want to add hysteresis to your solution for a low level low frequency application
    $endgroup$
    – sstobbe
    Apr 12 at 15:04










  • $begingroup$
    Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
    $endgroup$
    – analogsystemsrf
    Apr 12 at 21:23













7












7








7


1



$begingroup$



This question already has an answer here:



  • Triangular waveform to square waveform circuit

    2 answers



I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.



Enter image description here










share|improve this question











$endgroup$





This question already has an answer here:



  • Triangular waveform to square waveform circuit

    2 answers



I have a sine wave of 100 mV and 50 Hz. I want to design a circuit that converts this sine wave into a square wave as shown in a figure.



Enter image description here





This question already has an answer here:



  • Triangular waveform to square waveform circuit

    2 answers







circuit-design sine square






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 12 at 20:43









Peter Mortensen

1,60031422




1,60031422










asked Apr 12 at 14:47









UmangcernUmangcern

344




344




marked as duplicate by Eugene Sh., Sunnyskyguy EE75, Finbarr, RoyC, Bimpelrekkie Apr 15 at 11:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.









marked as duplicate by Eugene Sh., Sunnyskyguy EE75, Finbarr, RoyC, Bimpelrekkie Apr 15 at 11:08


This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.













  • $begingroup$
    You would almost certainly want to add hysteresis to your solution for a low level low frequency application
    $endgroup$
    – sstobbe
    Apr 12 at 15:04










  • $begingroup$
    Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
    $endgroup$
    – analogsystemsrf
    Apr 12 at 21:23
















  • $begingroup$
    You would almost certainly want to add hysteresis to your solution for a low level low frequency application
    $endgroup$
    – sstobbe
    Apr 12 at 15:04










  • $begingroup$
    Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
    $endgroup$
    – analogsystemsrf
    Apr 12 at 21:23















$begingroup$
You would almost certainly want to add hysteresis to your solution for a low level low frequency application
$endgroup$
– sstobbe
Apr 12 at 15:04




$begingroup$
You would almost certainly want to add hysteresis to your solution for a low level low frequency application
$endgroup$
– sstobbe
Apr 12 at 15:04












$begingroup$
Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
$endgroup$
– analogsystemsrf
Apr 12 at 21:23




$begingroup$
Does the OP want a 50% duty cycle? in which case, some zero-crossing is needed.
$endgroup$
– analogsystemsrf
Apr 12 at 21:23










1 Answer
1






active

oldest

votes


















17












$begingroup$

The easiest way to do this would be to use a comparator.



enter image description here



Picture taken from linked site



All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.



You will then get yourself a square wave.



Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted






share|improve this answer









$endgroup$












  • $begingroup$
    The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
    $endgroup$
    – JimmyB
    Apr 12 at 15:01






  • 3




    $begingroup$
    @JimmyB Not if you pick a comparator that can handle a negative input voltage.
    $endgroup$
    – Hearth
    Apr 12 at 15:03










  • $begingroup$
    A diode for 100mV will be hard to find...
    $endgroup$
    – Eugene Sh.
    Apr 12 at 15:08

















1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









17












$begingroup$

The easiest way to do this would be to use a comparator.



enter image description here



Picture taken from linked site



All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.



You will then get yourself a square wave.



Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted






share|improve this answer









$endgroup$












  • $begingroup$
    The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
    $endgroup$
    – JimmyB
    Apr 12 at 15:01






  • 3




    $begingroup$
    @JimmyB Not if you pick a comparator that can handle a negative input voltage.
    $endgroup$
    – Hearth
    Apr 12 at 15:03










  • $begingroup$
    A diode for 100mV will be hard to find...
    $endgroup$
    – Eugene Sh.
    Apr 12 at 15:08















17












$begingroup$

The easiest way to do this would be to use a comparator.



enter image description here



Picture taken from linked site



All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.



You will then get yourself a square wave.



Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted






share|improve this answer









$endgroup$












  • $begingroup$
    The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
    $endgroup$
    – JimmyB
    Apr 12 at 15:01






  • 3




    $begingroup$
    @JimmyB Not if you pick a comparator that can handle a negative input voltage.
    $endgroup$
    – Hearth
    Apr 12 at 15:03










  • $begingroup$
    A diode for 100mV will be hard to find...
    $endgroup$
    – Eugene Sh.
    Apr 12 at 15:08













17












17








17





$begingroup$

The easiest way to do this would be to use a comparator.



enter image description here



Picture taken from linked site



All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.



You will then get yourself a square wave.



Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted






share|improve this answer









$endgroup$



The easiest way to do this would be to use a comparator.



enter image description here



Picture taken from linked site



All you have to do is set your Vref level to where you want your square wave to trigger. When the sine wave crosses the Vref level, the comparator output will go high. As it approaches it again and goes below the Vref level, the comparator output goes low.



You will then get yourself a square wave.



Be aware the example shown in the graphic is of a non-inverting comparator. An inverting comparator works with the same principle, but the output is inverted







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 12 at 14:54









MCGMCG

6,87131851




6,87131851











  • $begingroup$
    The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
    $endgroup$
    – JimmyB
    Apr 12 at 15:01






  • 3




    $begingroup$
    @JimmyB Not if you pick a comparator that can handle a negative input voltage.
    $endgroup$
    – Hearth
    Apr 12 at 15:03










  • $begingroup$
    A diode for 100mV will be hard to find...
    $endgroup$
    – Eugene Sh.
    Apr 12 at 15:08
















  • $begingroup$
    The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
    $endgroup$
    – JimmyB
    Apr 12 at 15:01






  • 3




    $begingroup$
    @JimmyB Not if you pick a comparator that can handle a negative input voltage.
    $endgroup$
    – Hearth
    Apr 12 at 15:03










  • $begingroup$
    A diode for 100mV will be hard to find...
    $endgroup$
    – Eugene Sh.
    Apr 12 at 15:08















$begingroup$
The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
$endgroup$
– JimmyB
Apr 12 at 15:01




$begingroup$
The OP seems to want to cut off the negative half of the sine wave, so a diode may be needed at the input.
$endgroup$
– JimmyB
Apr 12 at 15:01




3




3




$begingroup$
@JimmyB Not if you pick a comparator that can handle a negative input voltage.
$endgroup$
– Hearth
Apr 12 at 15:03




$begingroup$
@JimmyB Not if you pick a comparator that can handle a negative input voltage.
$endgroup$
– Hearth
Apr 12 at 15:03












$begingroup$
A diode for 100mV will be hard to find...
$endgroup$
– Eugene Sh.
Apr 12 at 15:08




$begingroup$
A diode for 100mV will be hard to find...
$endgroup$
– Eugene Sh.
Apr 12 at 15:08



Popular posts from this blog

រឿង រ៉ូមេអូ និង ហ្ស៊ុយលីយេ សង្ខេបរឿង តួអង្គ បញ្ជីណែនាំ

QGIS export composer to PDF scale the map [closed] Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Print Composer QGIS 2.6, how to export image?QGIS 2.8.1 print composer won't export all OpenCycleMap base layer tilesSave Print/Map QGIS composer view as PNG/PDF using Python (without changing anything in visible layout)?Export QGIS Print Composer PDF with searchable text labelsQGIS Print Composer does not change from landscape to portrait orientation?How can I avoid map size and scale changes in print composer?Fuzzy PDF export in QGIS running on macSierra OSExport the legend into its 100% size using Print ComposerScale-dependent rendering in QGIS PDF output

PDF-ში გადმოწერა სანავიგაციო მენიუproject page