Electronic – Optotriac doesn’t turn off

snubbertriac

I'm using an opto triac, specifically the MOC3041, with a zero crossing circuit to switch the Tx pinout on an RS-232 interface.

I have no problems turning it on, but after I unload the input (no input current), the triac doesn't turn off. The load is standard RS-232 voltages (+/- 12V), speed 56k.

Do I need a snubber on the load? If so, how should I calculate the value of the snubber it?

EDIT

I've already asked a question here on the site and I didn't get the answer.

Here is the original one:


"I have a modem connected to a server through RS232. The server is constantly sending data to the modem, whether the modem is connected or not.

When I try to connect to the modem with another modem the handshaking fails because the server is sending data that gets in the way.

I am looking for a way of stopping the communication between the server and the modem until the modem's DCD line is asserted.

What kind of device or component could be used to design a small passive (no power supply) circuit that could perform this operation?

As far as I can tell it is only the TX line that needs to be interrupted while the modem is off-line."


Schematic

[Schematics](http://i.imgur.com/RrZcn.jpg)

Hope it is more understandable.
Thanks.

Best Answer

This is what you call triac abuse; a triac is not made for this kind of application. Like Steve says, triacs remain switched on on DC loads. You may have zero crossings where they normally would switch off, but I'm not sure how the triac reacts to very fast switching, like in your 56k EIA-232 signal. The zero crossing may be too fast to switch it off.

I'd suggest an analog switch. Analog devices has zillions of them.