Digital Circuits
Multiplexers and Demultiplexers
15 questions By Tony R. Kuphaldt
-
Question 1 of 15
Don’t just sit there! Build something!! Learning to analyze digital circuits requires much study and practice. Typically, students practice by working through lots of sample problems and checking their answers against those provided by the textbook or the instructor. While this is good, there is a much better way.
You will learn much more by actually building and analyzing real circuits, letting your test equipment provide the “answers” instead of a book or another person. For successful circuit-building exercises, follow these steps:
- Draw the schematic diagram for the digital circuit to be analyzed.
- Carefully build this circuit on a breadboard or other convenient medium.
- Check the accuracy of the circuit’s construction, following each wire to each connection point, and verifying these elements one-by-one on the diagram.
- Analyze the circuit, determining all output logic states for given input conditions.
- Carefully measure those logic states, to verify the accuracy of your analysis.
- If there are any errors, carefully check your circuit’s construction against the diagram, then carefully re-analyze the circuit and re-measure.
Always be sure that the power supply voltage levels are within specification for the logic circuits you plan to use. If TTL, the power supply must be a 5-volt regulated supply, adjusted to a value as close to 5.0 volts DC as possible.
One way you can save time and reduce the possibility of error is to begin with a very simple circuit and incrementally add components to increase its complexity after each analysis, rather than building a whole new circuit for each practice problem. Another time-saving technique is to re-use the same components in a variety of different circuit configurations. This way, you won’t have to measure any component’s value more than once.
Reveal answerLet the electrons themselves give you the answers to your own “practice problems”!
Notes:It has been my experience that students require much practice with circuit analysis to become proficient. To this end, instructors usually provide their students with lots of practice problems to work through, and provide answers for students to check their work against. While this approach makes students proficient in circuit theory, it fails to fully educate them.
Students don’t just need mathematical practice. They also need real, hands-on practice building circuits and using test equipment. So, I suggest the following alternative approach: students should build their own “practice problems” with real components, and try to predict the various logic states. This way, the digital theory “comes alive,” and students gain practical proficiency they wouldn’t gain merely by solving Boolean equations or simplifying Karnaugh maps.
Another reason for following this method of practice is to teach students scientific method: the process of testing a hypothesis (in this case, logic state predictions) by performing a real experiment. Students will also develop real troubleshooting skills as they occasionally make circuit construction errors.
Spend a few moments of time with your class to review some of the “rules” for building circuits before they begin. Discuss these issues with your students in the same Socratic manner you would normally discuss the worksheet questions, rather than simply telling them what they should and should not do. I never cease to be amazed at how poorly students grasp instructions when presented in a typical lecture (instructor monologue) format!
I highly recommend CMOS logic circuitry for at-home experiments, where students may not have access to a 5-volt regulated power supply. Modern CMOS circuitry is far more rugged with regard to static discharge than the first CMOS circuits, so fears of students harming these devices by not having a “proper” laboratory set up at home are largely unfounded.
A note to those instructors who may complain about the “wasted” time required to have students build real circuits instead of just mathematically analyzing theoretical circuits:
What is the purpose of students taking your course?
If your students will be working with real circuits, then they should learn on real circuits whenever possible. If your goal is to educate theoretical physicists, then stick with abstract analysis, by all means! But most of us plan for our students to do something in the real world with the education we give them. The “wasted” time spent building real circuits will pay huge dividends when it comes time for them to apply their knowledge to practical problems.
Furthermore, having students build their own practice problems teaches them how to perform primary research, thus empowering them to continue their electrical/electronics education autonomously.
In most sciences, realistic experiments are much more difficult and expensive to set up than electrical circuits. Nuclear physics, biology, geology, and chemistry professors would just love to be able to have their students apply advanced mathematics to real experiments posing no safety hazard and costing less than a textbook. They can’t, but you can. Exploit the convenience inherent to your science, and get those students of yours practicing their math on lots of real circuits!
-
Question 2 of 15
Imagine a telephone system with only one pair of wires stretching between phone units. For the sake of simplicity, let’s consider each telephone to be a sound-powered (unamplified) unit, where the voltage produced directly by the microphone drives the speaker on the other end:

If we were to install a second telephone line to accommodate another pair of people talking to each other, it certainly would work, but it might be expensive to do so because of the cost of wire over the long distance:

Suppose, though, we installed a set of DPDT switches that switched the two telephone conversations along the same pair of wires (only 1 telephone “line”). This general technique is known as multiplexing. The switches would be synchronized according to clocks at either end of the line, and cycled back and forth repeatedly:

What would the conversation sound like to either of the listeners if the switch frequency was 1 Hz? What if it was 10 Hz? What if it was 40 kHz?
Reveal answerAt 1 Hz, a half-second of each conversation would be missing, every second. The result would be a very “choppy” stream of audio reaching each listener.
At 10 Hz, the “choppiness” would be reduced, with only 1/20 of a second’s worth of conversation missing every 1/10 of a second from each conversation. It would still be very difficult to listen to, though.
At 40 kHz switching speed, both conversations would sound seamless.
Follow-up question: how can we multiplex more than two conversations along the same pair of telephone wires?
Challenge question: is there a limit as to how many conversations we can multiplex on the same wire pair? If so, what parameters would define this limit?
Notes:Ask your students why this technique of switching conversations works. How is it possible for audio conversations to sound “seamless” when half the information is missing from each one (regardless of switching speed)?
Ask your students for answers to the challenge question. If no one has any, give them a hint: how does the bandwidth of the telephone lines impact multiplexing a large number of signals?
-
Question 3 of 15
Most modern analog oscilloscopes have the ability to display multiple traces on their screens (dual-trace is the standard), even though the CRT itself used by the ‘scope may only have one electron gun, and thus only be able to “paint” one flying dot on the screen at a time.
Oscilloscopes with single-gun display tubes achieve dual-trace capability by way of multiplexing the two input channels to the same CRT. There are usually two different modes for this multiplexing, though: alternate and chop.
Explain how these multiplexing techniques work, and what conditions would prompt you to use the two different multiplexing modes. I strongly encourage you to experiment with displaying two different signals on one of these oscilloscopes as your research. You will likely learn far more from a hands-on exercise than if you were to read about it in a book!
Reveal answerChop is used to display two waveforms when the timebase is set to a slow (low-frequency) setting. Alternate is used to display two waveforms when the timebase is set to a fast (high-frequency) setting.
Notes:Don’t simply tell your students how the alternate and chop facilities of their oscilloscopes work. Let them experience these two modes of multiplexing directly, with hands-on investigation. If nothing else, this will provide them with additional practice using oscilloscopes.


