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

Magento 1.9 observer on only new product added ( no updated product )Admin Create New Order ObserverObserver checkout_cart_product_add_after get product quantity in cartHow can I differentiate between product creation and saving existing products?How to get the original price Product SaveBeforeMagento Observer for Admin Sales order Address updateHow do i get quantity in a product_save_after event observer magento2?Using observer event to get updated customer infoSave product observer - detect availabilityEvent not triggered when new product added in admin : Magento 2magento 1.9 observer on quantity product change

Button value to be changed back to original value on timeout (form double submit)Prevent double submission of forms in jQueryJavaScript post request like a form submitChange the selected value of a drop-down list with jQueryTwo submit buttons in one formPrevent users from submitting a form by hitting EnterHow to prevent buttons from submitting formsjQuery disable/enable submit buttonjQuery AJAX submit formHTML button to NOT submit formCan I make a <button> not submit a form?Cannot display HTML string

Does an object always see its latest internal state irrespective of thread? The 2019 Stack Overflow Developer Survey Results Are InDoes a finally block always get executed in Java?Java: serial thread confinement questionJava difference between fixed threadpool and scheduled threadpoolJackrabbit and concurrent modificationHow to stop a Runnable scheduled for repeated execution after a certain number of executionsMultiple threads accessing inner classHow can a loop be completed by two thread? say loop from count=1 to count=4 by ist thread and count =5 to 8 by 2nd thread?If I keep a reference to a Runnable, when does the Thread it ran on get released?How to stop a schedule ScheduledExecutorServiceHow to implement a singleThreadedScheduledExcecutor in wildfly