electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

how to design zero crossing comparator with single supply?


Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> how to design zero crossing comparator with single supply?
Author Message
ddt694



Joined: 12 Dec 2002
Posts: 175
Helped: 5


Post01 Apr 2005 17:33   

how to design zero crossing comparator with single supply?


In a digital circuit board design, the high speed global clock may be from a TCXO or others. The output of the TCXO is sine wave sometimes. we must transform the sine wave to a square wave in order to clock some digital device, for example, FPGA or DSP.

We can use a zero crossing comparator to accomplish the process. With dual supply operation amp or comparator , the zero crossing comparator is very easy to design, but how to design it with a single supply system?

Can this circuit work well?

Thanks[img][/img]



Sorry, but you need login in to view this attachment



Last edited by ddt694 on 03 Apr 2005 16:11; edited 5 times in total
Back to top
aryajur



Joined: 23 Oct 2004
Posts: 689
Helped: 73
Location: Sunnyvale, USA


Post01 Apr 2005 20:28   

Re: how to design zero crossing detector with single supply


Maybe we can use a capacitive level shifter and then see the zero crossing as a level crossing.
Back to top
uk



Joined: 10 Feb 2005
Posts: 51


Post01 Apr 2005 21:29   

Re: how to design zero crossing detector with single supply


Can you explain and give the circuit of the capacitive level shifter
Back to top
MrEd



Joined: 26 Apr 2001
Posts: 104
Location: the Singularity


Post01 Apr 2005 22:10   

Re: how to design zero crossing detector with single supply


I have noticed when making a zero cross detector for a dimmer, using the low voltage side of a transformer, that there will be a slight phase shift which you will need to compensate for in hardware or software. You must also filter out unwanted frequencies, making the phase shift even worse.

MrEd
Back to top
aryajur



Joined: 23 Oct 2004
Posts: 689
Helped: 73
Location: Sunnyvale, USA


Post02 Apr 2005 20:39   

Re: how to design zero crossing comparator with single suppl


You could try a simple arrangement like the one shown in the figure.


Sorry, but you need login in to view this attachment

Back to top
BigBoss



Joined: 17 Nov 2001
Posts: 1039
Helped: 63
Location: Earth


Post02 Apr 2005 22:07   

how to design zero crossing comparator with single supply?


If you connect -VEE to ground , you'll have a positive output comparator. Or use only a opamp with a high gain. This will also work.
Back to top
pixel



Joined: 16 Sep 2004
Posts: 574
Helped: 63


Post03 Apr 2005 8:00   

Re: how to design zero crossing comparator with single suppl


You can make comparator referred to dc level of sinusoid.. for example Vin-=Vdd/2.
Back to top
dsjomo



Joined: 24 Oct 2003
Posts: 154
Helped: 15
Location: Taiwan


Post04 Apr 2005 8:06   

Re: how to design zero crossing comparator with single suppl


ddt694 wrote:
In a digital circuit board design, the high speed global clock may be from a TCXO or others. The output of the TCXO is sine wave sometimes. we must transform the sine wave to a square wave in order to clock some digital device, for example, FPGA or DSP.

We can use a zero crossing comparator to accomplish the process. With dual supply operation amp or comparator , the zero crossing comparator is very easy to design, but how to design it with a single supply system?

Can this circuit work well?

Thanks[img][/img]


Maybe not. Because the noise might cause some unwanted glitches. Amplify the sine wave then use Schmitt trigger.

For example, if you are makeing a communication transceiver, and you are waveshping your clock signal for digital circuits, usually this clock is in MHz range. But this clock is easily affected by radio frequency local oscillator usually in GHz and hundreds MHz. Your clock signal now looks like a MHz sine wave carrying a GHz "ripple". If you don't use Schmitt trigger, instead you just simply compare the signal with a fixed DC, extra pulses occurs near zero crossing point.
Back to top
Google
AdSense
Google Adsense




Post04 Apr 2005 8:06   

Ads




Back to top
ddt694



Joined: 12 Dec 2002
Posts: 175
Helped: 5


Post04 Apr 2005 15:39   

how to design zero crossing comparator with single supply?


Thanks to all friends.

To design a good comparator with single supply, I should:
1) set the right voltage bias point, for example, vcc/2, to avoid the noise trigger the comparator sometimes.
2) design comparator with hysteresis, like schmitt trigger to also avoid the affect of the noise.

Are these right?

Thanks
Back to top
tecsiun



Joined: 20 Aug 2004
Posts: 9


Post04 Aug 2005 16:42   

how to design zero crossing comparator with single supply?


the offset is important at the beginning of the comparison period. Due to the structure of a latched compartor (positive FeedBack), a small difference in its input should give an almost rail-to-rail output.
Back to top
Fom



Joined: 10 Mar 2004
Posts: 778
Helped: 57
Location: Taiwan


Post05 Aug 2005 5:55   

Re: how to design zero crossing comparator with single suppl


I have no graphic editor so I will only describe my idea.

2 NMOS (M1 and M2) current source connected to GND and to common gate bias.
Drains of these NMOS transistor are connected to 2 PMOS transistor configured as a current mirror, that connected to VCC.
Now disconnect the source of NMOS transistor that is connected NOT to PMOS diode. This disconnected source wil be input. The drain of this transistor is output.
It is just idea. You can add hysteresis and additional inverter to output to increse gain. And may be resistor divider to GND to reduce 1V amplitude of input signal to 0.3V or so.
Good luck!
Fom
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> Analog Circuit Design -> how to design zero crossing comparator with single supply?
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
zero-crossing vs non zero-crossing Optoisolators ?? (2)
ADE7753 Problem with zero crossing (3)
Help with relay drive zero crossing (1)
single supply and two supply design issue (op amp design). (5)
Can a dual supply OP-Amp be used with a single supply..... (7)
zero-crossing (11)
Zero crossing (17)
How to design a current reference with zero TC? (11)
Zero Crossing Detector (4)
Zero Crossing Detector (4)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS