Electronics

Multiplexers and Demultiplexers in Digital Circuits  

Multiplexers and demultiplexers are devices that route signals. A multiplexer also called a data selector takes one of several inputs and connects it to a single output. The input line that is connected is determined by the binary applied to the address lines. The diagram below shows a multiplexer with four input lines:

Four-to-one digital multiplexer
 Figure (a) Four-to-one digital multiplexer

The two address lines can express numbers zero to three corresponding to the four inputs. For instance, if A1A0 = 10, the logic level at D2 appears at the output pin Y. The number of inputs on a multiplexer on a multiplexer is not limited to four and is related to the number of address lines. If there are n selection lines, then the number of maximum possible input lines is 2n and the multiplexer is referred to as a 2n-to-1 multiplexer or 2n x 1 multiplexer.

A digital multiplexer is unidirectional: the digital level at the selected data line is transferred to the output Y, but a digital level applied at Y will not be transferred to the selected data line. Lastly, most multiplexers have an Enable input or Strobe input as shown in figure (a) above. If this input is low, the multiplexer is enabled and the above described operation occurs. If Enable is high, the output is not connected to any data line and has high impedance to ground. This permits the disconnection of Y from any device that follows it. The small circle on the Enable input indicate the fact the logic is reversed (a high level would normally be associated with turning a device ON, not OFF).

In terms of ICs, there are multiplexers of various input line capacities. For example, the 74HC151 8-line-to-1-line multiplexer uses three select inputs (S0, S1, S2) to select among one of eight possible data inputs (I0 to I7) to be routed to the output.

Figure (b) 8-line-to-1-line multiplexer

To create a larger multiplexer, you can combine two smaller multiplexers together. For example, the figure (c) below shows two 8-line-to-1-line 74HC151 ICs combined to create a 16-line-to-1 line multiplexer. Alternatively you could just use the 16-line-1-line multiplexer IC like the 74HC150 shown in figure (d).

Figure (c) Combining two 8-line-to-1-line multiplexer to create a 16-line-to-1 line multiplexer

Figure (d) 16-line-to-1-line multiplexer IC

A demultiplexers or data distributor is the opposite of a multiplexer. It takes a single data input and routes it to one of several possible outputs. Let’s consider the demultiplexer illustrated below:

Figure (e) One-to-four digital multiplexer

In this case, the logic level at the single input D is routed to one of several output lines Y in accordance with the binary number applied to the address lines. Unused output lines have high impedance to ground, as does the selected output if the Enable input is high. As with the multiplexers, digital demultiplexers are unidirectional. An IC that contains two functionally separate four-line demultiplexers is the 74HC139 shown in figure (f) below.

Figure (f) 74HC139 dual 4-line demultiplexer

You can also read: The Basics of Ladder Diagrams for Programming PLCs

John Mulindi

John Mulindi is an Industrial Instrumentation and Control Professional with a wide range of experience in electrical and electronics, process measurement, control systems and automation. In free time he spends time reading, taking adventure walks and watching football.

Recent Posts

How Metal Fabrication is Powering the EV Revolution

Image: Pexels The electric vehicle (EV) market is accelerating at an unprecedented pace, driven by…

1 week ago

Basic Features of Numerical Control

Numerical control is a form of digital control that is employed on machine tools such…

2 weeks ago

Benefits of Installing Solar Panels in Your Home

Photo: Pexels Benefits of Installing Solar Panels in Your Home: Save Money and Your Planet…

3 weeks ago

How to Size a Control Valve

Pneumatic control valve Control valve sizing refers to the procedure determining the correct size of…

3 weeks ago

Process Control System Design for a Distillation Unit

The aim of a typical control system is to force a given set of process…

3 weeks ago

Limit Switches vs. Proximity Sensors

An object can be used to activate a switch directly, producing an ON or OFF…

3 weeks ago