ArticleslgStudy

engineering

Multiplexer

Multiplexer is a engineering topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Multiplexer rather than just read about it. In short: In electronics, a multiplexer (or mux; spelled sometimes as multiplexor), also known as a data selector, is a device that selects between several analog or digital input signals and forwards the selected input to a single output line. The selection is directed by a separate set of digital inputs known as select lines.

Multiplexer — main illustration
Multiplexer — illustration

Key takeaways

  • Multiplexer belongs to engineering; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Multiplexer to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Multiplexer from memory before moving on to harder problems.

Reference excerpt

In electronics, a multiplexer (or mux; spelled sometimes as multiplexor), also known as a data selector, is a device that selects between several analog or digital input signals and forwards the selected input to a single output line. The selection is directed by a separate set of digital inputs known as select lines. A multiplexer of 2 n {\displaystyle 2^{n}} inputs has n {\displaystyle n} select lines, which are used to select which input line to send to the output. A multiplexer makes it possible for several input signals to share one device or resource, for example, one analog-to-digital converter or one communications transmission medium, instead of having one device per input signal. Multiplexers can also be used to implement Boolean functions of multiple variables. Conversely, a demultiplexer (or demux) is a device that takes a single input signal and selectively forwards it to one of several output lines. A multiplexer is often used with a complementary demultiplexer on the receiving end. An electronic multiplexer can be considered as a multiple-input, single-output switch, and a demultiplexer as a single-input, multiple-output switch. The schematic symbol for a multiplexer is an isosceles trapezoid with the longer parallel side containing the input pins and the short parallel side containing the output pin. The schematic on the right shows a 2-to-1 multiplexer on the left and an equivalent switch on the right. The s e l {\displaystyle sel} wire connects the desired input to the output.

Applications

Multiplexers are part of computer systems to select data from a specific source, be it a memory chip or a hardware peripheral. A computer uses multiplexers to control the data and address buses, allowing the processor to select data from multiple data sources. In digital communications, multiplexers allow several connections over a single channel by connecting the multiplexer's single output to the demultiplexer's single input (time-division multiplexing). The image to the right demonstrates this benefit. In this case, the cost of implementing separate channels for each data source is higher than the cost and inconvenience of providing the multiplexing/demultiplexing functions. At the receiving end of the data link, a complementary demultiplexer is usually required to break the single data stream back down into the original streams. In some cases, the far-end system may have functionality greater than a simple demultiplexer, and while the demultiplexing still occurs technically, it may never be implemented discretely. This would be the case when, for instance, 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 sections. Often, a multiplexer and demultiplexer are combined into a single piece of equipment, which is simply referred to as a multiplexer. Both circuit elements are needed at both ends of a transmission link because most communications systems transmit in both directions. In analog circuit design, a multiplexer is a special type of analog switch that connects one signal selected from several inputs to a single output.

Digital multiplexers In digital circuit design, the selector wires are of digital value. In the case of a 2-to-1 multiplexer, a logic value of 0 would connect I 0 {\displaystyle I_{0}} to the output, while a logic value of 1 would connect I 1 {\displaystyle I_{1}} to the output. In larger multiplexers, the number of selector pins is equal to ⌈ log 2 ⁡ ( n ) ⌉ {\displaystyle \left\lceil \log _{2}(n)\right\rceil } where n {\displaystyle n} is the number of inputs. For example, 9 to 16 inputs would require no fewer than 4 selector pins and 17 to 32 inputs would require no fewer than 5 selector pins. The binary value expressed on these selector pins determines the selected input pin. A 2-to-1 multiplexer has a Boolean equation where A {\displaystyle A} and B {\displaystyle B} are the two inputs, S 0 {\displaystyle S_{0}} is the selector input, and Z {\displaystyle Z} is the output:

Z = ( A ∧ ¬ S 0 ) ∨ ( B ∧ S 0 ) {\displaystyle Z=(A\wedge \neg S_{0})\vee (B\wedge S_{0})} or

Z = ( A ⋅ S 0 ¯ ) + ( B ⋅ S 0 ) {\displaystyle Z=(A\cdot {\overline {S_{0}}})+(B\cdot S_{0})}

Which can be expressed as a truth table:

Or, in simpler notation:

… excerpt ends here. Continue reading the full article.

Illustrations

Multiplexer: Schematic of a 2-to-1 multiplexer. It can be equated to a controlled switch.
Schematic of a 2-to-1 multiplexer. It can be equated to a controlled switch.
Multiplexer: Schematic of a 1-to-2 demultiplexer. Like a multiplexer, it can be equated to a controlled switch.
Schematic of a 1-to-2 demultiplexer. Like a multiplexer, it can be equated to a controlled switch.
Multiplexer: 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.
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.
Multiplexer: A 2-to-1 mux
A 2-to-1 mux
Multiplexer illustration

Worked examples

Example 1 — a first encounter with Multiplexer

Start with the simplest possible case. Write down what Multiplexer claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In engineering, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Multiplexer before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Multiplexer ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Multiplexer

In research
Multiplexer appears in engineering research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Multiplexer in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Multiplexer is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital circuits, Multiplexing, so understanding it makes those chapters shorter.
In everyday life
Look for Multiplexer outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Multiplexer in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Multiplexer means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Multiplexer out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Multiplexer in simple terms?

In electronics, a multiplexer (or mux; spelled sometimes as multiplexor), also known as a data selector, is a device that selects between several analog or digital input signals and forwards the selected input to a single output line. The selection is directed by a separate set of digital inputs kn…

Why does Multiplexer matter?

Because it connects several engineering ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Multiplexer?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Multiplexer.

Tags

  • Digital circuits
  • Multiplexing

Keep exploring