![]() |
![]() |
![]() |
|
|
|||||||
| Electronic Projects Design/Ideas/Reviews Are you building an electronic project or want to? Maybe you need some assistance? Come and submit your electronic questions here and let our experienced members find a solution. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) | |
|
Experienced Member
|
Quote:
Checking thru the LM393 datasheet, there is an application circuit that meets your requirement. See attached extract from the LM393 datasheet. Its a zero crossing detector, feed the 6Vac from the mains isolating transformer into the Vin input and connect the XOR gate input to the LM393 output. Use a single +5V supply for the LM393 and XOR logic. If you cannot simulate a LM393, try any single supply comparator that you have in the sim,,, or even a good quality OPA. Lets know how the sim goes.
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 11:23 AM. |
|
|
|
|
|
|
(permalink) |
|
New Member
|
Hey ericgibbs,
I've done the simulation with op-s, and everything works fine. I wanted to use a comparator because I thought they are more precise. Thanks a lot for the above circuit. One more question: Which is the max voltage that I can connect to the Vin input of LM393 in the above circuit? Do I have to change anything in the scheme if the amplitude of the sines is 5V, 12V or 15V? Thanks for everything
__________________
|
|
|
|
|
|
(permalink) | |
|
Experienced Member
|
Quote:
The diode clamps that range of negative input voltage half cycles, it has a 5K1 resistor in series with the diode so the current is also limited to a safe level. If you are concerned about the higher positive half cycles, you could replace the diode with say a 3.9V zener. Do you follow that.? EDIT: added dwg
__________________
Eric "Good enough is Perfect" PIC tutorials: Gramo's: www.digital-diy.net/ Bill's: www.blueroomelectronics.com/ Last edited by ericgibbs; 7th July 2008 at 11:23 AM. |
|
|
|
|
|
|
(permalink) |
|
New Member
|
Yeah, thanks, I think this should work well, now I can finish my scheme. I'll let you know whether my teacher approved it.
Thanks
__________________
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Latest |
| Square wave to sine wave converter | ghauri | Electronic Projects Design/Ideas/Reviews | 18 | 20th May 2008 07:15 PM |
| sine wave to square wave | jay543_uk | Micro Controllers | 17 | 1st February 2008 06:24 PM |
| square wave to sine wave | tony Ben | Electronic Projects Design/Ideas/Reviews | 2 | 26th January 2005 04:04 AM |
| LC filter- filtering a square wave to sine wave | kken6248 | General Electronics Chat | 3 | 22nd April 2004 04:31 AM |
| How can I convert a square wave to sine wave?? | kken6248 | General Electronics Chat | 6 | 1st April 2004 03:27 PM |