Optical-Fiber Link Switches Multiple RS-232 Ports

Sept. 18, 2000
A recent application required a switch that would allow multiple RS-232 serial data links to share a single physical link. This switch was necessary to reduce the cabling between the instruments on the focal plane of our upcoming 2-m optical...

A recent application required a switch that would allow multiple RS-232 serial data links to share a single physical link. This switch was necessary to reduce the cabling between the instruments on the focal plane of our upcoming 2-m optical telescope and the computers in the control room. One possible solution involved using a high-speed microcontroller to implement priority encoding of the incoming serial data. A corresponding decoder was placed at the other end. The encoder and the decoder were connected by a high-speed serial or parallel link.

Of the design options available, we decided to use our optical-fiber data link experience to build this switch. The highspeed optical-fiber link is based on the AMD TAXI transmitter and receiver (see the figure). Also available from Cypress are compatible and upgraded components such as the Hotlink chip set. When an external strobe signal is activated, the TAXI transmitter encodes the data input bits using a 4B/5B encoding scheme.

This encoded data is serialized and transmitted to the receiver through an optical transceiver at 10 times the byte rate. Therefore, a byte rate of 10 Mbytes/s results in a bit rate of 100 Mbits/s. Once the receiver obtains the incoming serial data, it performs a serial-to-parallel conversion and decodes the data. It then outputs the data on the output lines together with a strobe signal.

The switch can be implemented in a variety of ways. In this simple application, for example, the data sent to the instruments from the PC is level-shifted using an ADM232 TTL-to-RS-232 converter (see the figure, again).

As many as eight such signals can be connected to the data input pins of the TAXI transmitter. Every 200 ns, a locally generated strobe signal activates the transmitter. The data is latched into the transmitter, which encodes, serializes, and transmits the data. Then, the TAXI receiver on the instrument end receives the data and latches it into an external register (74HCT373). This drives another set of ADM232 level-shifters to regenerate the RS-232 signals and distribute them to their respective instruments.

Similar data translation occurs for data flow in the opposite direction, from the instruments to the PC. The flow control between the RS-232 transmitter and the receiver must be implemented in software (Xon/Xoff flow control).

A 100-Mbit/s TAXI-link switch with up to eight RS-232 inputs and outputs is used for this circuit. The system introduces a maximum of 200-ns jitter in the RS-232 timing. This safely allows simultaneous RS-232 speeds of up to 100 kbits/s on all eight RS-232 channels. Another feature of this switch is the inherent electrical isolation between the instruments and the control computers.

Sponsored Recommendations

Near- and Far-Field Measurements

April 16, 2024
In this comprehensive application note, we delve into the methods of measuring the transmission (or reception) pattern, a key determinant of antenna gain, using a vector network...

DigiKey Factory Tomorrow Season 3: Sustainable Manufacturing

April 16, 2024
Industry 4.0 is helping manufacturers develop and integrate technologies such as AI, edge computing and connectivity for the factories of tomorrow. Learn more at DigiKey today...

Connectivity – The Backbone of Sustainable Automation

April 16, 2024
Advanced interfaces for signals, data, and electrical power are essential. They help save resources and costs when networking production equipment.

Empowered by Cutting-Edge Automation Technology: The Sustainable Journey

April 16, 2024
Advanced automation is key to efficient production and is a powerful tool for optimizing infrastructure and processes in terms of sustainability.

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!