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 00:00UTC (8:00pm 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 do I make this wiring inside cabinet safer?

What is the font for "b" letter?

Chinese Seal on silk painting - what does it mean?

Is it possible for SQL statements to execute concurrently within a single session in SQL Server?

Disembodied hand growing fangs

How to write the following sign?

Why doesn't SQL Optimizer use my constraint?

A term for a woman complaining about things/begging in a cute/childish way

What is the difference between globalisation and imperialism?

How do I use the new nonlinear finite element in Mathematica 12 for this equation?

Why wasn't DOSKEY integrated with COMMAND.COM?

Do I really need to have a message in a novel to appeal to readers?

How does light 'choose' between wave and particle behaviour?

When a candle burns, why does the top of wick glow if bottom of flame is hottest?

Why is my ESD wriststrap failing with nitrile gloves on?

Can the Great Weapon Master feat's "Power Attack" apply to attacks from the Spiritual Weapon spell?

Localisation of Category

Should I follow up with an employee I believe overracted to a mistake I made?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

Take 2! Is this homebrew Lady of Pain warlock patron balanced?

How to compare two different files line by line in unix?

If Windows 7 doesn't support WSL, then what does Linux subsystem option mean?

How often does castling occur in grandmaster games?

What is this clumpy 20-30cm high yellow-flowered plant?



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 00:00UTC (8:00pm 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









New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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









New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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









New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.







$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









New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited Apr 12 at 20:43









Peter Mortensen

1,60031422




1,60031422






New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked Apr 12 at 14:47









UmangcernUmangcern

344




344




New contributor




Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Umangcern is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




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

How to write a 12-bar blues melodyI-IV-V blues progressionHow to play the bridges in a standard blues progressionHow does Gdim7 fit in C# minor?question on a certain chord progressionMusicology of Melody12 bar blues, spread rhythm: alternative to 6th chord to avoid finger stretchChord progressions/ Root key/ MelodiesHow to put chords (POP-EDM) under a given lead vocal melody (starting from a good knowledge in music theory)Are there “rules” for improvising with the minor pentatonic scale over 12-bar shuffle?Confusion about blues scale and chords

What if the end-user didn't have the required library?What is setup.py?What is a clean, pythonic way to have multiple constructors in Python?What does Ruby have that Python doesn't, and vice versa?What is the reason for having '//' in Python?How do I create a namespace package in Python?How to package shared objects that python modules depend on?setuptools vs. distutils: why is distutils still a thing?Navigation in Windows 10 vs code not going to virtualenv library when the same library is installed at user levelPython create package for local usePackaging a project that uses multiple python versionsWhy is permission denied on pip install except for when “--user” is included at end of command?

Esgonzo ibérico Índice Descrición Distribución Hábitat Ameazas Notas Véxase tamén "Acerca dos nomes dos anfibios e réptiles galegos""Chalcides bedriagai"Chalcides bedriagai en Carrascal, L. M. Salvador, A. (Eds). Enciclopedia virtual de los vertebrados españoles. Museo Nacional de Ciencias Naturales, Madrid. España.Fotos