Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 89

MULTIPLEXER

By :
Teknik Elektro 2

Multiplexer
Also called data selectors.
Basic function: select one of its data input lines and
place the corresponding information onto a single
output line.
input bits needed to specify which input line is to be
selected.
Place binary code for a desired data input line onto its select
input lines.

Realization of 4-to-1 line multiplexer

Symbol
Logic Diagram

Truth Table

Realization of 4-to-1 line multiplexer


Alternate description:

Algebraic description of multiplexer:

Building a Large Multiplexer

Multiplexers
One of the primary applications of multiplexers is to
provide for the transmission of information from several
sources over a single path.
This process is known as multiplexing.
Demultiplexer = decoder with an enable input.

Multiplexer/Demultiplexer for
information transmission

Logic Design with Multiplexers

0
1

0
1

1
0

0
1

1
0

1
0

0
1

1
0

The Boolean expression corresponding to this truth


table can be written as:

Logic Design with Multiplexers


The Boolean expression corresponding to this truth
table can be written as:
The Boolean expression for an 8-to-1-line multiplexer is:

Logic Design with Multiplexers

If E is logic-1 then the latter is transformed into the


former by replacing with , with , with , and with z.
Placing on the select lines , respectively and placing
the functional values on data input lines .

8-to-1
MUX

Example:
0 0 0

0 0 0

0 0 1

0 0 1

0 1 0

0 1 0

0 1 1

0 1 1

1 0 0

1 0 0

1 0 1

1 0 1

1 1 0

1 1 0

1 1 1

1 1 1

8-to-1
MUX

Logic Design with Multiplexers


If at least one input variable of a Boolean function is
available in both its complemented and
uncomplemented form, any -variable function is
realizable with a -to-1-line multiplexer.
For the case of a 3-variable function, only a 4-to-1
multiplexer is needed.

When E = 1, 4-to-1 Multiplexer has the form

Logic Design with Multiplexers

4-to-1 Multiplexer has the form


Realization of is obtained by placing the
and variables on the select lines, the
single variable functions on the data input
lines and let E = 1.
Note: reduce to 0,1, or .

Example
0 0 0
0 0 1

0 0 0
0 0 1

1 0 0

0 1 0

0 1 1

1 0 0

1 0 1

1 0 1

1 1 0

1 1 0

1 1 1

1 1 1

0 1 0
0 1 1

Example
0 0 0

0 0 0

0 0 1

0 0 1

0 1 0

0 1 0

0 1 1

0 1 1

1 0 0

1 0 0

1 0 1

1 0 1

1 1 0

1 1 0

1 1 1

1 1 1

Logic Design with Multiplexers and Kmaps

Consider 3-variable Karnaugh map. Assume


x is placed on the line and y is placed on the
line.
We get that the output is:
corresponds to those cells in which
corresponds to those cells in which
corresponds to those cells in which
corresponds to those cells in which

K-map representation

map

map

map

map

Example

0 0 0

0 0 0

0 0 1

0 0 1

0 1 0

0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1

0 1 1

1 0 0

1 0 1

1 1 0

1 1 1

map

map

map

map

Realization
0 0 0

0 0 0

0 0 1

0 0 1

0 1 0

0 1 0

0 1 1

0 1 1

1 0 0

1 0 0

1 0 1

1 0 1

1 1 0

1 1 0

1 1 1

1 1 1

Alternative Structures

Note that order of


variables on input lines
matters!

8-to-1-line multiplexers and 4-variable


Boolean functions
Can do the same thing, three variables are placed on select lines,
inputs to the data lines are single-variable functions.
Example:

Can we do better?
By allowing realizations of -variable functions as inputs
to the data input lines, -to-1-line multiplexers can be
used in the realization of -variable functions.
E.g.: input variables w and x are applied to the select
inputs. Functions of the y and z variables appear at the
data input lines.

K-map Structure

Example:

Example

Example

Multiplexer Tree

What is a Multiplexer (MUX)?


A MUX is a digital switch
that has multiple inputs
(sources) and a single
output (destination).

MUX Types

2-to-1 (1 select line)


4-to-1 (2 select lines)
8-to-1 (3 select lines)
16-to-1 (4 select lines)

Block Diagram

Inputs
(sources)

2N

MUX

The select lines determine


which input is connected
to the output.

Multiplexer

Output
(destination)

N
Select
Lines

30

Typical Application of a MUX


Multiple Sources

Selector

Single Destination

MP3 Player
Docking Station

D1
D2

MUX

D0

Laptop
Sound Card

D3

Surround Sound System


Digital
Satellite

Digital
Cable TV

Selected
Source

MP3

Laptop

Satellite

Cable TV
31

4-to-1 Multiplexer (MUX)


MUX

D0
D1
D2

D3

D0

D1

D2

D3

32

4-to-1 Multiplexer Waveforms


D0

D1

Input
Data

D2

D3
Select
Line

Output
Data

B
33

Medium Scale Integration MUX


4-to-1 MUX
Inputs

8-to-1 MUX

16-to-1 MUX

Output (Y)
(and inverted output)

Select
Enable

34

Merupakan suatu rangkaian elektronik yang mempunyai input dua atau lebih dan hanya
mempunyai satu output , didalam multiplexer terdapat suatu pemilih , untuk memilih
masukkannya , maka dapat disimpulkan bahwa multiplexer merupakan rangkaian elektronika yang
digunakan memilih data yang masuk dari beberapa sumber ke satu saluran data.
Teknik menggabungkan beberapa sinyal untuk dikirimkan secara bersamaan pada suatu kanal transmisi. Dimana
perangkat yang melakukan Multiplexing disebut Multiplexer atau disebut juga dengan istilah Transceiver / Mux. Dan
untuk di sisi penerima, gabungan sinyal - sinyal itu akan kembali di pisahkan sesuai dengan tujuan masing masing.
Proses ini disebut dengan Demultiplexing. Receiver atau perangkat yang melakukan Demultiplexing disebut dengan
Demultiplexer atau disebut juga dengan istilah Demux
Tujuan Muliplexing : meningkatkan effisiensi penggunaan bandwidth / kapasitas saluran transmisi dengan cara
berbagi akses bersama

Multiplexing

Pada umumnya, sistem transmisi yang ada di dalam jaringan telekomunikasi memiliki
kapasitas yang melebihi kapasitas yang dibutuhkan satu user
Dengan demikian sangat mungkin untuk menggunakan bandwidth yang ada seefisien mungkin
oleh lebih dari satu user
Teknik menggabungkan beberapa sinyal untuk dikirimkan secara bersamaan pada satu kanal
transmisi disebut multiplexing

Perangkat yang melaksanakan multiplexing disebut multiplexer (mux)


Di sisi penerima, gabungan sinyal itu akan kembali dipisahkan sesuai dengan tujuan masingmasing. Proses ini disebut demultiplexing

Perangkat yang melaksanakan demultiplexing disebut demultiplexer (demux)

RANGKAIAN MULTIPLEXER
S

F
D

What is a Demultiplexer
(DEMUX)?
A DEMUX is a digital
switch with a single input
(source) and a multiple
outputs (destinations).

DEMUX Types

1-to-2 (1 select line)


1-to-4 (2 select lines)
1-to-8 (3 select lines)
1-to-16 (4 select lines)

Block Diagram

Input

DEMUX

The select lines determine


which output the input is
connected to.

Demultiplexer

(source)

2N

Outputs
(destinations)

N
Select
Lines

41

Typical Application of a DEMUX


Single Source

Selector

Multiple Destinations
B/W Laser
Printer

DEMUX

Fax
Machine
D0
D1

Color Inkjet
Printer

D2
D3

Selected
Destination

B/W Laser Printer

Fax Machine

Color Inkjet Printer

Pen Plotter

Pen
Plotter

42

1-to-4 De-Multiplexer (DEMUX)


DEMUX

D0

D1
D2
D3

D
0

D
1

D
2

D
3

43

1-to-4 De-Multiplexer
Waveforms
X

Input
Data

S0

Select
Line

S1

D0
Output
Data

D1

D2
44

Medium Scale Integration


DEMUX
1-to-4 DEMUX
Select
Input

1-to-8 DEMUX

16-to-1 MUX

Outputs
(inverted)

(inverted)

Note : Most Medium Scale Integrated (MSI) DEMUXs ,


like the three shown, have outputs that are inverted.
This is done because it requires few logic gates to
implement DEMUXs with inverted outputs rather than
45
no-inverted outputs.

Multiplexing
Multiplexing adalah proses penggabungan beberapa sinyal informasi
untuk dapat ditransmisikan melalui satu communication channel.

Multiplexer

Single communication
channel

Multiplexer

Dua teknik dasar multiplexing :

Frequency Division Multiplexing


Time Division Multiplexing
47

Frequency Division Multiplexing


(FDM)
Sinyal informasi ditransmisikan pada waktu yang bersamaan dengan frekuensi yang
berbeda
Sinyal informasi dimodulasikan dengan gelombang pembawa yang berbeda-beda
f3
f2

f1

2
1

frekuensi

4 KHz

f1
f2
f3
48

Hierarki FDM
1
2

Channel
Bank

Multiplexer

Multiplexer

Multiplexer

12

Multiplex Level

Voice Circuits

Freq Band (kHz)

Bandwidth (kHz)

Voice Channel

0-4

Group

12
(12 voice channels)

60 - 108

48

Supergroup

60
(5 groups)

312 - 552

240

Mastergroup

600
(10 supergroups)

564 - 3084

2520

Jumbogroup

3600
(6 mastergroup)

564 - 17548

16984
49

Time Division Multiplexing (TDM)


Umumnya digunakan untuk sinyal digital
Beberapa sinyal input berupa deretan bit (bit stream) ditransmisikan melalui satu channel dengan
metoda bit-interleaved (bit dari sinyal input dikirim dalam satu time frame dengan menduduki
time slot yang berbeda)

3
1

slot
frame-4

frame-3

frame-2

frame-1
50

Time Division Multiplexing


(TDM)
1

1
10110011

.01 1 0 11 0 0 0..0 0 1 0...0 1 1

2
10011001

3
11011100

n
11110100

Multiplexer

Single communication
channel

10110011

2
Multiplexer

10011001

3
11011100

n
11110100

51

Hirarki TDM

2
7

digital data

T
31

2
6

picture phone

T
4

television

Sistem

Bit rate
(Kbits/sec)

Jml voice circuit

T1 (DS1)

1.544

24

T2 (DS2)

6.312

96 (4 T1)

T3 (DS3)

44.736

672 (7 T2)

T4 (DS4)

274.176

4.032 (6 T3)

T5 (DS5)

560.160

8.064 (2 T4)

multiplexer

2
3
4

multiplexer

multiplexer

2
3
voice
signals
24

T1
multiplexer

Channel bank

Standar Amerika

T
5

52

Hirarki TDM
Standar Eropa

Sistem

Bit rate
(Kbits/sec)

Jml voice circuit

E1

2.048

30

E2

8.448

120 (4 E1)

E3

34.368

480 (4 E2)

E4

139.264

1.920 (4 E3)

E5

565.148

7.680 (4 E4)

53

Plesiochronous Digital Hierarchy (PDH)

DE

MUX

MUX

MUX

MUX

FO

MUX

8MB/s

MUX

MUX

DE

140MB/s

140MB/s
34MB/s

MUX

565 MB/s
8000 telephone
channel

34MB/s

2MB/s

8MB/s
2MB/s

Legend :
MUX = Multiplex
DE = Digital Exchange
54

Karakteristik PDH
Multiplexing bertahap perangkat multiplex yang
kompleks
Mentransmisikan sinyal dengan bandwidth yang
tetap
Drop/insert sinyal (mis. leased line untuk business
customer) dari/ke high speed channel sulit
dilakukan tidak fleksibel dalam memenuhi
kebutuhan pelanggan
Tidak dapat menyesuaikan standard Amerika
dengan standard Eropa
Tidak memiliki kapabilitas untuk monitoring
performansi
55

SDH (Synchronous Digital Hierarchy )

155.52 Mb/s
140 Mb/s

TX
FO

45 Mb/s
34 Mb/s
6 Mb/s
2 Mb/s
1.5 Mb/s

SDH
Multiplexer

Synchronous Optical Signal


RX
FO

64 Kb/s

56

Karakteristik SDH
Menggunakan satu perangkat synchronous
multiplexer perangkat multiplex lebih simpel
Dapat melayani bandwidth-on-demand dengan
cepat (alokasi bandwidth secara dinamis), mis.
dial-up video conferencing
Drop/insert sinyal dapat dilakukan dengan efisien
Kapabilitas network management yang tinggi
Mudah melayani kebutuhan bandwidth yang besar
untuk layanan multimedia
Dapat menyalurkan sinyal PDH
Standard SDH memungkinkan interworking antara
perangkat dari pabrik yang berbeda, juga standard
Amerika dan Eropa
57

Standard SDH

STM-1 :
STM-4 :
STM-16 :
STM-32 :

155 Mbit/s
622 Mbit/s
2500 Mbit/s (2.5 Gbit/s)
10000 Mbit/s (10 Gbit/s)

58

Ada 3 jenis multiplexing


FDM : Frequency Division Multiplexing
TDM : Time Division Multiplexing
CDM : Code Division Multiplexing

Contoh sederhana

A Simplified Cellular Network

Frequency-Division Multiplexing
(FDM)
Digunakan pada sistem transmisi analog

Hirarki FDM
Channel

1 channel (4kHz)

Group

12 channels (48 kHz)

Supergroup (5 groups)

60 channels (240 kHz)

Mastergruop (5 groups)

300 channels (1.2 MHz)

Supermastergroup (3 groups)

900 channels (3.6 MHz)

Gambar Frequency Division


Multiplexing

Gambar Contoh penerapan FDM


dengan 4 pengguna

FDM

FDM
yaitu pemakaian secara bersama kabel yang mempunyai bandwidth yang tinggi terhadap beberapa
frekuensi (setiap channel akan menggunakan frekuensi yang berbeda).
Contoh metoda multiplexer ini dapat dilihat pada kabel coaxial TV, dimana beberapa channel TV
terdapat beberapa chanel, dan kita hanya perlu tunner (pengatur channel) untuk gelombang yang dikehendaki.
Pada teknik FDM, tidak perlu ada MODEM karena multiplexer juga bertindak sebagai modem
(membuat permodulatan terhadap data digital)

Time-Division Multiplexing (TDM)

Channel disebut juga timeslot


Selain channel untuk user, diperlukan juga informasi
sinkronisasi agar receiver (demux) dapat menentukan awal
dari channel 1
TDM digunakan pada sistem transmisi berkapasitas besar
Dengan TDM, beberapa user dapat mengakses jaringan
pada frekuensi yang sama tetapi pada waktu yang
berlainan (bergiliran)

Time Division Multiplexing (TDM)


Secara umum TDM menerapkan prinsip penggiliran
waktu pemakaian saluran transmisi dengan
mengalokasikan satu slot waktu (time slot) bagi
setiap pemakai saluran (user).

Synchronous TDM
Hubungan antara sisi pengirim dan sisi penerima dalam komunikasi data yang menerapkan teknik Synchronous
TDM dijelaskan secara skematik pada gambar :

Gambar Synchronous TDM Cara kerja Synchronous


TDM dijelaskan dengan ilustrasi dibawah ini
Gambar Ilustrasi hasil sampling dari input line

Asynchronous TDM
Untuk mengoptimalkan penggunaan saluran dengan cara menghindari adanya slot waktu yang kosong akibat tidak
adanya data (atau tidak aktifnya pengguna) pada saat sampling setiap input line, maka pada Asynchronous TDM
proses sampling hanya dilakukan untuk input line yang aktif saja.
Konsekuensi dari hal tersebut adalah perlunya menambahkan informasi kepemilikan data pada setiap slot waktu
berupa identitas pengguna atau identitas input line yang bersangkutan
Gambar di bawah ini menyajikan contoh ilustrasi yang sama dengan gambar Ilustrasi hasil sampling dari input line
jika ditransmisikan dengan Asynchronous TDM

Code Division Multiplexing (CDM)


Code Division Multiplexing (CDM) dirancang untuk menanggulangi kelemahan-kelemahan yang
dimiliki oleh teknik multiplexing sebelumnya, yakni TDM dan FDM.. Contoh aplikasinya pada saat
ini adalah jaringan komunikasi seluler CDMA (Flexi)

Prinsip kerja dari CDM


Kepada setiap entitas pengguna diberikan suatu kode unik (dengan panjang 64 bit) yang disebut chip spreading code
Untuk pengiriman bit 1, digunakan representasi kode (chip spreading code) tersebut
Sedangkan untuk pengiriman bit 0, yang digunakan adalah inverse dari kode tersebut
Pada saluran transmisi, kode-kode unik yang dikirim oleh sejumlah pengguna akan ditransmisikan dalam bentuk
hasil penjumlahan (sum) dari kode-kode tersebut
Di sisi penerima, sinyal hasil penjumlahan kode-kode tersebut akan dikalikan dengan kode unik dari si pengirim
(chip spreading code) untuk diinterpretasikan. Selanjutnya :
a. jika jumlah hasil perkalian mendekati nilai +64 berarti bit 1
b. jika jumlahnya mendekati 64 dinyatakan sebagai bit 0

Contoh penerapan CDM untuk 3 pengguna (A,B dan C)


menggunakan panjang kode 8 bit (8-chip spreading
code)
Pengalokasian kode unik (8-chip spreading code) bagi ketiga pengguna
kode untuk A : 10111001
kode untuk B : 01101110
kode untuk C : 11001101
Misalkan pengguna A mengirim bit 1, pengguna B mengirim bit
0 dan pengguna C mengirim bit 1. Maka pada saluran
transmisi akan dikirimkan kode berikut :

DEMULTIPLEXER
Data distributor
Kebalikan dari Multiplexer, operasi ini akan mengambil
sebuah input dan menyebarkannya ke beberapa output.

RANGKAIN DEMULTIPLEXER

Baris
Seleksi
W

Input Data

Seeing Is NOT Always Believing


Our lives are filled with
electronic signs that
display the time,
temperature, or ball game
score. However, what we
see is not always what is
really happening.
In fact for most displays,
the individual display
segments are cycled
through so that only one
display is on at any given
time.
The cycle speed is so fast

brgprecision.com

electronic-scoreboard.com

digicam-tech.com
numediadisplays.com/signs/timedisplays.php

85

Simple Message: All Segments


On
The circuit to the right uses
four 7-segment displays to
display the word CIAO. In
this circuit all displays are
continuously illuminated,
each displaying one letter in
the word.
Though this method works, it
is a VERY inefficient use of
power. To illuminate the
simple message CIAO in this
way, 18 segments must be
continuously on.
Can you think of another way
to display this message that
would use less power?

86

86

Multiplexed Displays Segments


Manual Selector

Demultiplexer

Multiplexed Displays

In this circuit the display


segments are multiplexed,
meaning that only one display is
on at a time.
To display the entire word, the
displays must be de-multiplexed
using a 1-to-4 DEMUX.
In this example the select lines
that control the DEMUX are
connected to two switches. You

(Not Practical)87

Complete Design

This is a ripple counter


(remember the dice game).
We will learn how to design
a ripple counter in unit 3.
88

You might also like