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 AI and Machine Learning are Enhancing Electrical Control Processes

Electrical control processes form the backbone of industries, enabling seamless operations across sectors like manufacturing,…

2 days ago

Standard Process Signals for Industrial Instrumentation

Industrial measurement and control processes employ standard process signals that are used throughout all the…

2 weeks ago

Top 5 Benefits of Combining CCTV Cameras with Biometric Systems

The integration of advanced technologies in security systems has become imperative for ensuring safety and…

2 weeks ago

Sources of Power Quality Problems

Power quality may be affected by a number of issues. Our discussion in this article…

2 weeks ago

Common Terms Used When Describing Power Quality Problems

Power quality has become an important issue to electricity consumers at all levels of consumption.…

2 weeks ago

What to Expect from PCB Assembly Services in China

The importance of printed circuit board (PCB) technology has escalated throughout the years with the…

3 weeks ago