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

Wikipedia:Vital articles Мазмуну Biography - Өмүр баян Philosophy and psychology - Философия жана психология Religion - Дин Social sciences - Коомдук илимдер Language and literature - Тил жана адабият Science - Илим Technology - Технология Arts and recreation - Искусство жана эс алуу History and geography - Тарых жана география Навигация менюсу

Bruxelas-Capital Índice Historia | Composición | Situación lingüística | Clima | Cidades irmandadas | Notas | Véxase tamén | Menú de navegacióneO uso das linguas en Bruxelas e a situación do neerlandés"Rexión de Bruxelas Capital"o orixinalSitio da rexiónPáxina de Bruselas no sitio da Oficina de Promoción Turística de Valonia e BruxelasMapa Interactivo da Rexión de Bruxelas-CapitaleeWorldCat332144929079854441105155190212ID28008674080552-90000 0001 0666 3698n94104302ID540940339365017018237

What should I write in an apology letter, since I have decided not to join a company after accepting an offer letterShould I keep looking after accepting a job offer?What should I do when I've been verbally told I would get an offer letter, but still haven't gotten one after 4 weeks?Do I accept an offer from a company that I am not likely to join?New job hasn't confirmed starting date and I want to give current employer as much notice as possibleHow should I address my manager in my resignation letter?HR delayed background verification, now jobless as resignedNo email communication after accepting a formal written offer. How should I phrase the call?What should I do if after receiving a verbal offer letter I am informed that my written job offer is put on hold due to some internal issues?Should I inform the current employer that I am about to resign within 1-2 weeks since I have signed the offer letter and waiting for visa?What company will do, if I send their offer letter to another company