Misplaced Pages

Multiplexer: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 11:06, 29 October 2006 edit87.227.68.21 (talk)No edit summary← Previous edit Revision as of 09:54, 1 November 2006 edit undo194.63.235.164 (talk)No edit summaryNext edit →
Line 10: Line 10:
Multiplexers are used in situations where the cost of implementing separate channels for each data source is more expensive than the cost and inconvenience of providing the multiplexing/demultiplexing functions. In a physical ], consider the merging behaviour of ]s crossing a narrow bridge; vehicles will take turns using the few available lanes. Upon reaching the end of the bridge they will separate into separate routes to their destinations. Multiplexers are used in situations where the cost of implementing separate channels for each data source is more expensive than the cost and inconvenience of providing the multiplexing/demultiplexing functions. In a physical ], consider the merging behaviour of ]s crossing a narrow bridge; vehicles will take turns using the few available lanes. Upon reaching the end of the bridge they will separate into separate routes to their destinations.


In ], the multiplexer combines several electrical signals into a single signal. There are different types of multiplexers for analog and digital circuits. In ], the multiplexer combines several electrical signals into a single binary signal. There are different types of multiplexers for analog and digital circuits.


In ], the multiplexer takes several separate digital data streams and combines them together into one data stream of a higher data rate. This allows multiple data streams to be carried from one place to another over one physical link, which saves cost. In ], the multiplexer takes several separate digital data streams and combines them together into one data stream of a higher data rate. This allows multiple data streams to be carried from one place to another over one physical link, which saves cost.

Revision as of 09:54, 1 November 2006

"MUX" redirects here. For other uses, see MUX (disambiguation).

A multiplexer (or mux or, more rarely, muldex) is a device that encodes or multiplexes information from two or more data sources into a single channel.

Multiplexing

The basic function of a multiplexer: combining multiple inputs into a single data stream. On the receiving side, a demultiplexer splits the single data stream into the original multiple signals.
Schematic of a 2-to-1 Multiplexer. It can be equated to a controlled switch.

Multiplexers are used in situations where the cost of implementing separate channels for each data source is more expensive than the cost and inconvenience of providing the multiplexing/demultiplexing functions. In a physical analogy, consider the merging behaviour of commuters crossing a narrow bridge; vehicles will take turns using the few available lanes. Upon reaching the end of the bridge they will separate into separate routes to their destinations.

In electronics, the multiplexer combines several electrical signals into a single binary signal. There are different types of multiplexers for analog and digital circuits.

In digital signal processing, the multiplexer takes several separate digital data streams and combines them together into one data stream of a higher data rate. This allows multiple data streams to be carried from one place to another over one physical link, which saves cost.

At the receiving end of the data link a complementary demultiplexer or demux is normally required to break the high data rate stream back down into the original lower rate streams. In some cases, the far end system may have more functionality than a simple demultiplexer and so, whilst the demultiplexing still exists logically, it may never actually happen physically. This would be typical where a multiplexer serves a number of IP network users and then feeds directly into a router which immediately reads the content of the entire link into its routing processor and then does the demultiplexing in memory from where it will be converted directly into IP packets.

It is usual to combine a multiplexer and a demultiplexer together into one piece of equipment and simply refer to the whole thing as a "multiplexer". Both pieces of equipment are needed at both ends of a transmission link because most communications systems transmit in both directions.

A real world example is the creation of telemetry for transmission from the computer/instrumentation system of a satellite, space craft or other remote vehicle to a ground system.

In analogue circuit design, a multiplexer is a special type of analogue switch that connects one signal selected from several inputs to a single output.

Digital multiplexers

A {\displaystyle A\,} B {\displaystyle B\,} S {\displaystyle S\,} A . S ¯ {\displaystyle A.{\bar {S}}} B . S {\displaystyle B.S\,} C {\displaystyle C\,}
1 1 1 0 1 1
1 1 0 1 0 1
1 0 1 0 0 0
1 0 0 1 0 1
0 1 1 0 1 1
0 1 0 0 0 0
0 0 1 0 0 0
0 0 0 0 0 0


In digital circuit design, the multiplexer is a device that has multiple input streams and only one output stream. It forwards one of the input streams to the output stream based on the values of one or more "selection inputs" or control inputs. For example, a two-input multiplexer is a simple connection of logic gates whose output C is either input A or input B depending on the value of a third input S which selects the input.

Its boolean equation is: C = ( A a n d n o t S ) o r ( B a n d S ) {\displaystyle C=(A\,\mathbf {and\,not} \,S)\,\mathbf {or} \,(B\,\mathbf {and} \,S)\!}

Which can be expressed as the truth table on the right.


Larger multiplexers are also common. For example, an 8-input multiplexer has eight data inputs and three selection inputs. The data inputs are numbered X0 through X7, and the selection inputs are numbered S4, S2, and S1. If S4 and S1 are true, and S2 is false, for example, the output will be equal to X5. S1 is sometimes called the "most significant" input, with less "significant" inputs to the right of it. The farther left the input it the more "significant" it is. This order is a convention intended to match with the standard ordering of a truth table.


Example: A Single Bit 4-to-1 Line Multiplexer

These are both realizations of a single bit 4-to-1 line multiplexer
- one realized from a decoder, AND gates, and an OR gate
- and the other realized from 3-state buffers and AND gates
(the AND gates are acting as the decoder in the second case).

Note that the subscripts on the In inputs indicate the decimal value
of the binary control inputs at which that input is let through.


List of ICs which provide multiplexing

S.No.IC No.FunctionOutput State
174157Quad- 2:1 MUXOutput same as input
274158Quad- 2:1 MUXOutput is inverted input
374153Dual- 4:1 MUXOutput same as input
474352Dual- 4:1 MUXOutput is inverted input
574151A8:1 MUXBoth outputs available ie. Complementary outputs
6741528:1 MUXOuput is inverted input
77415016:1 MUXOutput is inverted input


Digital Demultiplexers

Example: A Single Bit 1-to-4 Line Demultiplexer

Demultiplexers take one data input and a number of selection inputs, and they have several outputs. They forward the data input to one of the outputs depending on the values of the selection inputs. For example, an 8-output demultiplexer has one data input (X), three selection inputs (S4, S2, and S1), and eight data outputs (A0 through A7). If S4 and S1 are true, and S2 is false, for example, the output A5 will be equal to X, and all other outputs are equal to zero regardless of the value of X. Demultiplexers are sometimes convenient for designing general purpose logic, because if the demultiplexer's input is always true, the demultiplexer acts as a decoder. This means that any function of the selection bits can be constructed by logically OR-ing the correct set of outputs.




List of ICs which provide demultiplexing

S.No.IC No.FunctionOutput State
174139Dual- 1:4 DEMUXOutput is inverted input
274155Dual- 1:4 DEMUXComplementary outputs available
374156Dual- 1:4 DEMUXOutput is open collector
4741381:8 DEMUXOutput is inverted input
5741541:16 DEMUXOutput is same as input
6741591:16 DEMUXOutput is open collector and same as input

See also

Categories: