Mains voltage zero crossing detector with optical isolated output

logic out

understand."

it

exist.

trip a

clever

A

I simulated about 40 variations of Jamie's circuit. None of worked worth a damn.

?-)

Reply to
josephkk
Loading thread data ...

=20

until

is=20

Or closer to the target, an optically triggered one shot?

?-)

Reply to
josephkk

what

until

is

And where's the flip-flop version you touted?

Larkin, You're a fraud and a cheat and a liar.... you made up that "data", "It gets down to....".

Sheeesh! ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

=A0 =A0 =A0 =A0 =A0 VCC

=A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0| =A0 =A0 =A0 =A0b

=A0 =A0| =A0 =A0 =A0 =A0 e

=A0 =A0K =A0=3D=3D=3D> =A0 |

=A0 =A0A =A0 =A0 =A0 =A0 +------- cmos logic out

=A0 =A0| =A0 =A0 =A0 =A0 |

=A0 =A0| =A0 =A0 =A0 =A0 c

=A0 =A0 =A0 =A0 =A0 =A0 e

=A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0gnd

is what

me until

tch is

can

=A0 =A0 =A0 =A0 =A0 VCC

=A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0100K

=A0 =A0 =A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 +---+---- cmos logic out

=A0 =A0 =A0 =A0 =A0 =A0 | =A0 |

=A0| =A0 =A0 =A0 =A0b =A0 =3D=3D=3D 1n

=A0| =A0 =A0 =A0 =A0 e =A0 |

=A0K =A0=3D=3D=3D> =A0 | =A0 |

=A0A =A0 =A0 =A0 =A0 +---+

=A0| =A0 =A0 =A0 =A0 | =A0 |

=A0| =A0 =A0 =A0 =A0 c =A0 |

=3D 1n

=A0 =A0 =A0 =A0 =A0 =A0 e =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 | =A0 |

=A0 =A0 =A0 =A0 =A0 =A0 +---'

=A0 =A0 =A0 =A0 |

=A0 =A0 =A0 =A0 =A0 =A0gnd

=A0 =A0 =A0 =A0...Jim Thompson

a
r

pick one:

Version 4 SHEET 1 2732 680 WIRE 1904 -80 -208 -80 WIRE 2048 -80 1984 -80 WIRE 2160 -80 2112 -80 WIRE -208 -32 -208 -80 WIRE 1168 -32 -208 -32 WIRE 1328 -32 1248 -32 WIRE 1440 -32 1392 -32 WIRE -208 16 -208 -32 WIRE 464 16 -208 16 WIRE 608 16 544 16 WIRE 736 16 672 16 WIRE -208 64 -208 16 WIRE -192 64 -208 64 WIRE -32 64 -112 64 WIRE 112 64 32 64 WIRE 1056 64 992 64 WIRE 112 96 112 64 WIRE 144 96 112 96 WIRE 448 96 336 96 WIRE 736 96 736 16 WIRE 768 96 736 96 WIRE 992 96 992 64 WIRE 992 96 960 96 WIRE 1440 96 1440 -32 WIRE 1472 96 1440 96 WIRE 1744 96 1664 96 WIRE 1888 96 1744 96 WIRE 2160 96 2160 -80 WIRE 2176 96 2160 96 WIRE 2480 96 2368 96 WIRE 2528 96 2480 96 WIRE 1744 112 1744 96 WIRE -208 144 -208 64 WIRE 448 144 448 96 WIRE 1136 144 1136 64 WIRE 1968 144 1968 96 WIRE 2608 144 2608 96 WIRE 352 160 336 160 WIRE 992 160 960 160 WIRE 1680 160 1664 160 WIRE 2432 160 2368 160 WIRE 144 192 128 192 WIRE 768 192 752 192 WIRE 1472 192 1456 192 WIRE 1744 192 1744 176 WIRE 1744 192 1664 192 WIRE 2432 224 2432 160 WIRE 128 240 128 192 WIRE 128 240 96 240 WIRE 752 240 752 192 WIRE 752 240 720 240 WIRE 1456 240 1456 192 WIRE 1456 240 1424 240 WIRE 2176 240 2176 192 WIRE 2176 240 2128 240 WIRE 1680 256 1680 160 WIRE 1744 256 1680 256 WIRE 128 288 128 240 WIRE 144 288 128 288 WIRE 352 288 352 160 WIRE 352 288 336 288 WIRE 752 288 752 240 WIRE 768 288 752 288 WIRE 992 288 992 160 WIRE 992 288 960 288 WIRE 1456 288 1456 240 WIRE 1472 288 1456 288 WIRE 1680 288 1680 256 WIRE 1680 288 1664 288 WIRE 2176 288 2176 240 WIRE 2480 288 2480 96 WIRE 2480 288 2368 288 WIRE 368 352 336 352 WIRE 992 352 960 352 WIRE 1824 352 1664 352 WIRE 2432 352 2368 352 WIRE 112 384 112 96 WIRE 144 384 112 384 WIRE 736 384 736 96 WIRE 768 384 736 384 WIRE 1440 384 1440 96 WIRE 1472 384 1440 384 WIRE 1744 384 1744 320 WIRE 1744 384 1664 384 WIRE 2160 384 2160 96 WIRE 2176 384 2160 384 WIRE 96 400 96 240 WIRE 368 400 368 352 WIRE 448 400 448 224 WIRE 720 400 720 240 WIRE 992 400 992 352 WIRE 1136 400 1136 224 WIRE 1424 400 1424 240 WIRE 1824 400 1824 352 WIRE 1968 400 1968 224 WIRE 2128 400 2128 240 WIRE 2432 400 2432 352 WIRE 2608 400 2608 224 FLAG -208 224 0 FLAG 96 400 0 FLAG 448 400 0 FLAG 368 400 0 FLAG 720 400 0 FLAG 1136 400 0 FLAG 992 400 0 FLAG 1424 400 0 FLAG 1968 400 0 FLAG 1824 400 0 FLAG 2128 400 0 FLAG 2608 400 0 FLAG 2432 400 0 FLAG 2432 224 0 SYMBOL voltage -208 128 R0 WINDOW 3 -60 -41 VRight 0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR Value SINE(0 300 50 0 0 0 2) SYMATTR InstName V1 SYMBOL voltage 448 128 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V2 SYMATTR Value 5 SYMBOL Optos\\4N25 240 160 R0 SYMATTR InstName U1 SYMBOL Optos\\4N25 240 352 R0 SYMATTR InstName U2 SYMBOL res -96 48 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R1 SYMATTR Value 100k SYMBOL voltage 1136 128 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V4 SYMATTR Value 5 SYMBOL Optos\\4N25 864 160 R0 SYMATTR InstName U3 SYMBOL Optos\\4N25 864 352 R0 SYMATTR InstName U4 SYMBOL res 560 0 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R4 SYMATTR Value 100k SYMBOL res 1152 48 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R5 SYMATTR Value 150k SYMBOL cap 976 96 R0 SYMATTR InstName C1 SYMATTR Value 1n SYMBOL cap 976 288 R0 SYMATTR InstName C2 SYMATTR Value 1n SYMBOL voltage 1968 128 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V3 SYMATTR Value 5 SYMBOL Optos\\4N25 1568 160 R0 SYMATTR InstName U5 SYMBOL Optos\\4N25 1568 352 R0 SYMATTR InstName U6 SYMBOL res 1264 -48 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R2 SYMATTR Value 100k SYMBOL res 1984 80 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R6 SYMATTR Value 100k SYMBOL cap 1728 112 R0 SYMATTR InstName C3 SYMATTR Value 25p SYMBOL cap 1728 256 R0 SYMATTR InstName C4 SYMATTR Value 25p SYMBOL voltage 2608 128 R0 WINDOW 123 0 0 Left 0 WINDOW 39 0 0 Left 0 SYMATTR InstName V5 SYMATTR Value 5 SYMBOL Optos\\4N25 2272 160 R0 SYMATTR InstName U7 SYMBOL Optos\\4N25 2272 352 R0 SYMATTR InstName U8 SYMBOL res 2000 -96 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R3 SYMATTR Value 100k SYMBOL res 2624 80 R90 WINDOW 0 0 56 VBottom 0 WINDOW 3 32 56 VTop 0 SYMATTR InstName R7 SYMATTR Value 10k SYMBOL cap 32 48 R90 WINDOW 0 0 32 VBottom 0 WINDOW 3 32 32 VTop 0 SYMATTR InstName C5 SYMATTR Value 180n SYMBOL cap 672 0 R90 WINDOW 0 0 32 VBottom 0 WINDOW 3 32 32 VTop 0 SYMATTR InstName C6 SYMATTR Value 180n SYMBOL cap 1392 -48 R90 WINDOW 0 0 32 VBottom 0 WINDOW 3 32 32 VTop 0 SYMATTR InstName C7 SYMATTR Value 180n SYMBOL cap 2112 -96 R90 WINDOW 0 0 32 VBottom 0 WINDOW 3 32 32 VTop 0 SYMATTR InstName C8 SYMATTR Value 180n TEXT -64 440 Left 0 !.tran 40m

Reply to
langwadt

until

is

Nice. Jim can't get these circuits to work because he doesn't want them to work.

--

John Larkin, President
Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

what

until

is

PSpice says the 2nd version doesn't stroke as low as LTspice reports, so take your chances.

Found out why. Model used in LTspice (look it up) has an equivalent CTR (current transfer ratio of 1.07, transistor BF=610, and VAF=140.

PSpice model is made from Motorola data which has all package and component parasitics, and nets a CTR of ~0.2.

Modeled by MicroSim personnel and with a statement "...from Motorola: it was the most complete for DC and switching parameters, and it was easy to find the component IR-LED and photo-transistor as separate devices for further specifications."

So do what you will... you would anyway.

Suckers who follow your lead and suffer production issues get what they deserve.

Where's your flip-flop version? That actually works... nicely, with margin. I think you threw out "flip-flop" just to be throwing words... but don't really have a solution.

Maybe one of your sycophants will pull your ass out of the fire ?>:-} ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

--
Here's one:

news:snadk7pth8oevs7buf4a8qccuvepd3q9ok@4ax.com

>Maybe one of your sycophants will pull your ass out of the fire ?>:-}
Reply to
John Fields

I actually thought it was spelled that way myself... it would be more fitting, but I spell-checked it.

But, phonetically, sycophants has a more appropriate first syllable sound ;-) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

Here's what I was hinting at with Larkin, but he was too dense to see...

Newsgroups: alt.binaries.schematics.electronic Subject: Mains voltage zero crossing detector with optical isolated output - Drive_R_S_Flop.pdf Date: Thu, 23 Feb 2012 15:39:33 -0700 Message-ID: ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

40 ? Really?

Jamie

Reply to
Jamie

You can draw a lot of implications from that 40 number.

--

John Larkin, President
Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

What? Are you going to relegate josephkk to "hag" or "geezer" status?

Maybe someone else in the "hag" and "geezer" class will simulate it as well... and verify its "crapness"? ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

Smoke and mirrors. That is what I see a lot, here any ways.

Jamie

Reply to
Jamie

Jamie's circuit? Where is that?

Reply to
John S

An opto-driven RS flipflop was my idea, posted here. You sure didn't "hint" at it. The back-to-back optos with the phase lead wasn't your idea either.

Pitiful old insecure geezer, claiming a nand-flop as some sort of original invention.

--

John Larkin, President
Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

I said, upon your flip-flop suggestion (which you did not explain further than name-dropping "flop"), "But your idea to get away from the totem (I presume) and drive an R-S flop would work sharply."

I said that because I promptly split the devices and did R-S, which you didn't mention.

To which you replied, "You are automatically hostile to ideas. Especially ones that are not yours. Extra-especially ideas you don't understand."

Your hostility suggested that you were staying with the totem and trying to trigger a D-flop.

It's not exactly patentable, and I would _never_ use such a scheme in practice.

I made no such claim, but since you're a fraud and a cheat and a liar, what would you know.

I'm not in the least bit insecure, ask anyone who knows me.

One of these days I'm going to kick your ass in a very public way... watch for it ;-) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

Going to insult my wife again? Whatta man.

--

John Larkin, President
Highland Technology, Inc

jlarkin at highlandtechnology dot com
http://www.highlandtechnology.com

Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom laser controllers
Photonics and fiberoptic TTL data links
VME thermocouple, LVDT, synchro   acquisition and simulation
Reply to
John Larkin

Not unless "your ass" has some other meaning than the usual :-) ...Jim Thompson

--
| James E.Thompson, CTO                            |    mens     |
| Analog Innovations, Inc.                         |     et      |
| Analog/Mixed-Signal ASIC's and Discrete Systems  |    manus    |
| Phoenix, Arizona  85048    Skype: Contacts Only  |             |
| Voice:(480)460-2350  Fax: Available upon request |  Brass Rat  |
| E-mail Icon at http://www.analog-innovations.com |    1962     |
             
I love to cook with wine.     Sometimes I even put it in the food.
Reply to
Jim Thompson

--
I saw it; not bad... ;)

How do you plan to turn the edges into signals?
Reply to
John Fields

logic out

understand."

because it

exist.

trip a

clever

enough. A

you

worth

The one right there near the top of your post.

?-)

Reply to
josephkk

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.