Continue to Site

Welcome to EDAboard.com

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

[SOLVED] Problem with comparator that converts sine to square wave?

Status
Not open for further replies.
E

elec_eng

Guest
Comparator Problem

Hi.

In the pic below I have a comparator circuit which I want to use to convert a sine wave into a square wave. As you can see, the circuit converts the sine wave and gives the resulting square wave the same frequency. But the square wave has a larger amplitude.

What is causing this?

What can i do to fix it?


Thanks for the help.
 

Re: Comparator Problem

any thing larger than the comparison threshold will give output equal to the supply voltage
there is nothin wrong i guess
 

Re: Comparator Problem

Yahia Muhammad said:
any thing larger than the comparison threshold will give output equal to the supply voltage
there is nothin wrong i guess


What is a "comparison threshold"?
 

Re: Comparator Problem

hi
the comparator gives 12 or -12 v as an output, clearly the supply voltage.
if u like to have max voltage as the sine wave change the sine wave to be 24 p-p
 

Re: Comparator Problem

the comparison threshold is the level that u compare the signal to it
like
if signal> comparison threshold
vo=1
else
vo=0

here 1 equivalent to +12
and 0 equivalent to -12
 

Re: Comparator Problem

ur o/p threshold depends on ur supply voltage sources (power delivered).
it''s caleed an opamp an amplifier.[/u]
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top