Author Topic: Isolated RS232 interface options  (Read 3657 times)

0 Members and 1 Guest are viewing this topic.

Offline RufusTopic starter

  • Super Contributor
  • ***
  • Posts: 2095
Isolated RS232 interface options
« on: July 17, 2011, 08:20:19 pm »
I currently have a board revision to do. On top of what needs to be done anything to save parts/build/test costs and improve reliability is welcome.

The board needs an isolated RS232 interface with 2 handshake lines, 38k4 baud is enough. Currently it uses a MAX250/MAX251 combo plus 4 optos and transformer.

The board already has a flyback converter so I could probably stick an extra transformer on that to get an isolated supply. That would still need optos and maybe a MAX251 on the isolated side, or a MAX232 type part if I generated a good enough supply for it. That should probably have been done in the original design but I suspect they just took the whole circuit from the Maxim datasheet.

Then there is the LTC LTM2882 module. Looks cheaper than the MAX250/MAX251, easy design and not much board space, might have some EMI issues to be careful about.

I also saw a Sipex app note using a MAX232 type part to drive a transformer from its charge pump and another MAX232 on the isolated side - looks a bit iffy.

Anyone been there and done that? Think of any other options?
 

Offline jwet

  • Frequent Contributor
  • **
  • Posts: 455
  • Country: us
Re: Isolated RS232 interface options
« Reply #1 on: December 12, 2021, 01:59:59 pm »
Maxim (now ADI) has a newer generation of isolated 232 stuff that uses dielectric structures on chip rather than opto's.  The Max3325 is a good place to start but there are many of them.
 

Offline peter-h

  • Super Contributor
  • ***
  • Posts: 3694
  • Country: gb
  • Doing electronics since the 1960s...
Re: Isolated RS232 interface options
« Reply #2 on: December 13, 2021, 06:29:53 am »
There are lots of isolators which use the very good RF modulation method. I use the Silicon Labs ones. Otherwise, for low speeds you could use some $0.10 optoisolators.

Avoid Maxim for all new designs. A bunch of arrogant and opportunistic bastards - as many have found out lately.
Z80 Z180 Z280 Z8 S8 8031 8051 H8/300 H8/500 80x86 90S1200 32F417
 

Offline T3sl4co1l

  • Super Contributor
  • ***
  • Posts: 21657
  • Country: us
  • Expert, Analog Electronics, PCB Layout, EMC
    • Seven Transistor Labs
Re: Isolated RS232 interface options
« Reply #3 on: December 13, 2021, 07:37:34 am »
I'm not aware of major Maxim sourcing hurdles in the last couple of years -- above and beyond present circumstances, I mean.  In the more distant past they've been rather notorious for this, and in the recent past I don't know that they've been much better at it (the only signal otherwise that I recall being a press release basically saying "we're better now, we swear", which seems free to disregard..).  Any obvious changes since ADI acquisition?

For my part, I've done the mostly-discrete version:



The notes show the layout and schematic, more or less.  I like to do a few quick sketches before carving up some copper clad.  The circuit I breadboarded, to get the operation I wanted; it's free-running, not saturation-commutated (Royer), nor resonant (Baxandall / "ZVS").  The R + (R || C) feedback gives a fairly stable frequency with respect to supply voltage and load current.

This board is elevated above the metal chassis (double-stick tape and some blank FR4 strips) for isolation; the active circuit (MCU and stuff) is actually at unknown voltage (potentially mains)

Also, note the strips of foil at the bottom: can't really see them here, just the relief, as they're buried in solder, but they wrap around the edge, grounding the bottom side copper.  Not a bad idea for improved EMI immunity on a carved-clad build.




(first tentative schematic)

Notes at the bottom show transformer small-signal parameters (that's turns on a P22 pot core), and excellent performance of the circuit: 8V OC, 4.3-5.7V into 22-1000 ohm load.




(final schematic, layout sketch.

Diodes became BAT54S on the build, BAT85 was breadboarded. Pretty much the same thing, anyways.

Note that this feedback network reduces quiescent current at DC, so if the transformer goes shorted (quenching oscillation), operation is hFE limited -- still an extremely crude limit, but some kind of current limit at least.

I rather like how simple the oscillator and rectifier layouts were.  And the MAX232 and SFH6345s are no-brainers.  Lots of wasted space because, hey, it's hand carved, easy is good.

Overall, this would be more expensive to produce (with these components) than with digital isolators (like the SI, AD or TI families), so I would recommend them in that context.  This was just a prototype, and I happen to have all these things handy.  The DC-DC converter is basically the worst part of it; there are drop-in solutions of course, but they're all over a couple bucks (in small quantities), and even then most aren't high voltage (2.5kV+) or reinforced.  (Murata datasheets in particular you must read carefully: few of their parts are reinforced, and the voltage rating they give is usually Functional or Basic.)  Plain transformers aren't much cheaper either, unless you get them in quantity and/or from China.  Basically, if you want Reinforced, you're paying for the qualification moreso than the part.

(I suppose since I used a piece of TIW, this should be Reinforced, though it's salvaged so may be nicked.  The enclosure is grounded anyway so I'm not worried.)

Regarding the MAX232, and also the MAX253 if you aren't using naked transistors -- these have been reliably produced for decades, and show no sign of stopping.  232 in particular is multiple sourced, along with similar devices from a half-dozen other manufacturers (with various capabilities including 3.3V operation, internal ESD protection -- or the lack thereof!, etc.).  Of the MAX253, TI has a SN6501 equivalent, though they don't seem to be producing very many (or is it being phased out, I forget).  Not sure who else makes similar.

Tim
« Last Edit: December 13, 2021, 07:39:22 am by T3sl4co1l »
Seven Transistor Labs, LLC
Electronic design, from concept to prototype.
Bringing a project to life?  Send me a message!
 

Offline Amper

  • Frequent Contributor
  • **
  • Posts: 286
  • Country: 00
Re: Isolated RS232 interface options
« Reply #4 on: December 14, 2021, 06:19:42 am »
I guess the adum2402 and a second transformer winding should do the trick but you will still need the max232 towards your connector. I doubt there is more all in one solutions besides the LTM.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf