detektor level zat cair sistem digital · pdf fileseven segment display ... a. latar belakang...
TRANSCRIPT
DETEKTOR LEVEL ZAT CAIR
SISTEM DIGITALTUGAS AKHIR
Diajukan untuk memenuhi salah satu persyaratan memperoleh gelar Ahli Madya
Program D3 Teknik Elektro Instrumentasi dan Kendali
Universitas Negeri Semarang
Disusun Oleh :
Nama : Fatkhul Yaasin
NIM : 5352302511
Program Studi : D3 Teknik Elektro
Jurusan : Teknik Elektro
FAKULTAS TEKNIK
UNIVERSITAS NEGERI SEMARANG
2007
ii
ABSTRAK
Fatkhul Yaasin. 2007. Detektor Level Zat Cair Sistem Digital. Tugas Akhir(TA). Diploma III Teknik Elektro. Fakultas Teknik. Universitas Negeri Semarang.
Perkembangan dibidang digital atau lebih dikenal dengan digitalisasidewasa ini sangat diperlukan. Dalam pengukuran level air masih banyakmenggunakan sistem manual atau analog, yang mempunyai kekurangan faktorketelitian dalam pengukuran. Cara lain untuk mengukur level air adalah denganmenggunakan pengukuran sistem digital.
Instrumen yang digunakan dalam alat ini terdiri dari sensor pelampung,rangkaian analog to digital converter (A/D converter), BCD seven segment, dansebagai tampilan menggunakan seven segment, serta catu daya sebagai pencatutegangan untuk masing-masing rangkaian.
Detektor level zat cair sistem digital bekerja dari pelampung sebagaisensor, tuas pelampung terhubung dengan potensiometer sehingga jika tinggipermukaan air berubah maka nilai resistansi akan berubah. Besarnya perubahantegangan yang masuk pada ADC 0804, hasil dari konversi tegangan menjadikode-kode biner diubah dalam tampilan desimal, kemudian ditampilkan padaseven segment.
Alat ini dapat mengukur level air dalam bejana terukur dan mempunyaibentuk yang pasti, tidak dapat mengukur bejana yang bentuknya tidak beraturan.Kemampuan alat ini masih terbatas yaitu menghasilkan pengukuran hanyamencapai 4 liter saja. Untuk mengukur level air yang lebih besar maka dengancara mengubah nilai resistansi potensiometer atau menggunakan mikrokontroller.
iv
MOTTO DAN PERSEMBAHAN
MOTTO
Ø Jadikanlah sabar dan sholat sebagai penolongmu. Dan sesungguhnya yang demikian
itu sungguh berat, kecuali bagi orang-orang yang khusyu
(Qs. Al Baqarah : 45).
Ø Sahabat sejati adalah penghibur kita dalam sedih, harapan kita dalam susah, dan
sandaran kita tatkala lemah, dia adalah sumber kebaikan, simpati, kebahagiaan dan
maaf
(Kahlil Gibran).
Ø Cinta kasih yang suci tidak terdiri dari ungkapan perasaan, materi ataupun harta,
melainkan dari motivasi dan perbuatan yang tulus serta ikhlas dari lubuk hati
(Faya).
PERSEMBAHAN
§ Bapak dan Ibu tersayang dengan segala kasih sayang,
keikhlasan, limpahan do a dan pengorbanannya.
§ Kakak dan Adik-adikku
§ My H 4WA_
§ Sahabat dan teman setiaku
§ Teman-teman D3 TE 02
§ Almamaterku
v
KATA PENGANTAR
Dengan mengucapkan syukur dipanjatkan kehadirat Tuhan Yang Maha
Esa, yang Maha Pengasih lagi Maha Penyayang. Karena dengan rahmat dan
karuniaNya dapat terselesaikan laporan Tugas Akhir yang berjudul “DETEKTOR
LEVEL ZAT CAIR SISTEM DIGITAL”. Adapun penulisan laporan Tugas Akhir
ini adalah untuk memenuhi salah satu syarat kelulusan.
Atas terselesaikannya laporan tugas akhir ini tidak lupa penulis
menyampaiakan banyak terima kasih kepada semua pihak yang telah membantu
dalam segala hal sejak awal dimulainya laporan tugas akhir hingga
terselesaikannya laporan ini.
Secara khusus penulis menyampaiakan ucapan terima kasih kepada :
1. Prof. Dr. H.Sudijono Sastroatmojo, M.Si, selaku Rektor Universitas
Negeri Semarang.
2. Prof. Dr. Soesanto, selaku Dekan Fakultas Teknik.
3. Drs. Djoko Adi Widodo, M.T, selaku Ketua Jurusan Elektro.
4. Drs. Agus murnomo, M.T, selaku Ketua Program Studi Diploma III
Teknik Elektro.
5. Drs. Suryono, M.T, selaku Dosen penguji Tugas Akhir.
6. Drs. Rafael Sri Wiyardi, M.T, selaku Pembimbing yang telah
membimbing, mengarahkan dan memberi dorongan semangat pada
Penulis dalam penyelesaian Tugas Akhir ini.
vi
7. Segenap Dosen Jurusan Elektro yang telah menularkan ilmunya pada
Penulis selama menuntut ilmu di Jurusan Elektro.
8. Orang tua, Kakak, dan Adik-adik serta keluarga besar Penulis yang selalu
mendorong Penulis untuk lebih maju.
9. Rekan-rekan mahasiswa Diploma III Teknik Elektro.
Penulis menyadari bahwa dalam penulisan Tugas Akhir ini masih jauh dari
kesempurnaan, maka dengan segala kerendahan hati penulis menerima saran dan
kritik yang bersifat membangun demi kesempurnaan Tugas Akhir ini. Akhir kata
semoga Tugas Akhir ini bermanfaat bagi Penulis pada khususnya dan Pembaca
pada umumnya.
Semarang, Agustus 2007
Penulis
Fatkhul Yaasin
vii
DAFTAR ISI
Halaman
HALAMAN JUDUL ....................................................................................... i
ABSTRAK ...................................................................................................... ii
HALAMAN PENGESAHAN.......................................................................... iii
MOTTO DAN PERSEMBAHAN.................................................................... iv
KATA PENGANTAR ..................................................................................... v
DAFTAR ISI ................................................................................................... vii
DAFTAR GAMBAR....................................................................................... ix
DAFTAR TABEL ........................................................................................... x
DAFTAR LAMPIRAN.................................................................................... xi
BAB I PENDAHULUAN.......................................................................... 1
A. Latar Belakang ......................................................................... 1
B. Permasalahan............................................................................ 2
C. Tujuan ...................................................................................... 3
D. Manfaat .................................................................................... 3
E. Batasan Masalah....................................................................... 3
F. Metode Penyusunan.................................................................. 4
G. Sistematika Laporan ................................................................. 5
BAB II ISI .................................................................................................. 6
A. Dasar Teoritis ........................................................................... 6
1. Sensor................................................................................. 6
2. ADC (Analog to Digital Converter) ................................... 7
3. Pengubah Analog ke Digital ADC 0804.............................. 11
4. Tampilan ............................................................................ 14
5. Catu Daya ........................................................................... 15
B. Proses Pembuatan, Konstruksi dan Cara Kerja ......................... 17
1. Proses Pembuatan ............................................................... 17
viii
a. Perencanaan Alat .......................................................... 17
b. Proses Pembuatan Papan Rangkaian Tercetak ............... 18
c. Proses Pembuatan Jalur................................................. 18
d. Proses Pelarutan Dan Pelapisan..................................... 19
e. Proses Pengeboran ........................................................ 19
f. Pemasangan Komponen ................................................ 20
g. Proses Perakitan............................................................ 21
h. Hasil Perakitan Komponen............................................ 22
2. Konstruksi .......................................................................... 23
3. Cara Kerja .......................................................................... 24
C. Hasil dan Pembahasan .............................................................. 26
1. Cara Pengukuran dan Hasilnya ........................................... 26
2. Pembahasan ........................................................................ 27
BAB III PENUTUP…………………………………………………………. 29
A. Kesimpulan .............................................................................. 29
B. Saran ........................................................................................ 29
DAFTAR PUSTAKA...................................................................................... 30
ix
DAFTAR GAMBAR
Halaman
Gambar 1. Ilustrasi sensor pelampung................................................... 7
Gambar 2. Bagan ADC 0804 ................................................................ 8
Gambar 3. Diagram fungsional ADC 0804............................................ 10
Gambar 4. Diagram pena pada ADC 0804 ............................................ 12
Gambar 5. Seven segment display ......................................................... 15
Gambar 6. Rangkaian catu daya ............................................................ 16
Gambar 7. Rangkaian detektor level zat cair sistem digital.................... 17
Gambar 8. Sensor pelampung ............................................................... 18
Gambar 9. Layout PCB......................................................................... 22
Gambar 10. Tata letak komponen............................................................ 22
Gambar 11. Box alat ukur ....................................................................... 24
Gambar 12. Blok detektor permukaan zat cair sistem digital ................... 25
Gambar 13. Grafik hasil pengukuran....................................................... 27
x
DAFTAR TABEL
Halaman
Tabel 1. Daftar komponen yang dipakai .................................................... 23
Tabel 2 . Hasil pengukuran ........................................................................ 26
xi
DAFTAR LAMPIRAN
Halaman
Lampiran 1. Data sheet IC ADC0804 ...........................................................31
Lampiran 2. Data sheet IC 74LS48...............................................................44
Lampiran 3. Data sheet IC 4081 ..................................................................49
1
BAB I
PENDAHULUAN
A. Latar Belakang
Dengan kemajuan teknologi elektronika dan meningkatnya jumlah
penduduk, maka kebutuhan akan sandang makin meningkat. Faktor kecepatan,
ketepatan dan keamanan sangatlah diperlukan guna menunjang kelangsungan
kerja yang maksimal tanpa ada kerugian yang begitu berarti. Hal ini ditandai
dengan begitu pesatnya kemajuan yang terjadi dengan diciptakannya pesawat
elektronika yang semakin canggih. Banyak keuntungan yang diperoleh dari
perkembangan yang pesat dibidang elektronika diantaranya dapat membantu
manusia dalam menyelesaikan beban tugas.
Peralatan elektronika yang terdapat dipasaran ada yang menggunakan
analog dan ada juga yang sudah memakai digital. Pada peralatan yang memakai
analog, penunjukan yang digunakan merupakan persamaan dari nilai satuan yang
diukur, sedangkan pada peralatan yang memakai digital penunjukkan hasil ukur
langsung ditampilkan dalam bentuk angka atau digit. Jika dibandingkan antara
peralatan yang analog dan digital, maka hasil pengukuran digital lebih mudah
diamati.
Sistem digital yang digunakan sebagai alat detektor level zat cair,
kaitannya dengan pengaturan dalam memenuhi kebutuhan akan kondisi air,
2
manusia banyak merancang suatu alat yang dapat digunakan untuk mengetahui
level zat cair tersebut.
Pemanfaatan sistem pengukuran instrumentasi ini memberikan
kemudahan bagi manusia dalam memberikan nilai atau harga. Saat ini alat
pengukuran level zat cair dalam bentuk tampilan digital dapat dijumpai
penggunaanya pada kendaraan bermotor dan di perusahaan-perusahaan air
minum. Hanya skala penggunaan masih terbilang kecil, selain itu untuk
mendapatkannya harus mengeluarkan biaya yang tidak sedikit. Hal ini tentu akan
memberatkan bagi konsumen yang menginginkan adanya ketepatan pengukuran.
Atas dasar pertimbangan dan alasan tersebut, penulis mencoba membuat
suatu peralatan instrumentasi berupa alat pegukur level zat cair (ketinggian air)
sistem digital untuk memenuhi mata kuliah Tugas Akhir.
B. Permasalahan
Setelah melihat latar belakang yang berkaitan dengan hal tersebut diatas,
maka pembatasan masalah pada laporan tugas akhir ini adalah :
1. Bagaimana membuat rancang bangun suatu detektor level zat cair
dengan tampilan sistem digital untuk memudahkan manusia dalam
mengukur jumlah level.
2. Dapatkah detektor level zat cair sistem digital di buat sesuai rancangan?
3. Dapatkah alat ini dapat mengukur dalam bejana yang tempatnya tidak
beraturan?
4. Obyek yang akan di ukur harus berupa zat cair.
3
C. Tujuan
Tujuan yang diperoleh dari Tugas Akhir ini adalah :
a. Membuat alat detektor level zat cair sistem digital dengan sensor
pelampung dan ditampilkan oleh seven segmen.
b. Dapat menguji serta mangamati level air dalam bejana yang telah
dirancang.
D. Manfaat
Manfaat dari Tugas Akhir ini adalah:
a. Dapat mengetahui level air dengan tampilan digital dari bejana yang
telah dibuat.
b. Alat ini dapat digunakan untuk mengukur level air dalam galon air
minum.
E. Batasan Masalah
Dari topik bahasan Detektor Level Zat Cai Sistem Digital, penulis
mencoba memberi batasan sebagai berikut :
1. Alat ini hanya dapat mengukur jumlah level berbentuk cair.
2. Alat ini hanya dapat digunakan untuk mengukur jumlah air dalam
bejana terukur, (bejana dengan ukuran antara batas bawah dan batas
atas sama) atau bejana tidak berbentuk kerucut.
3. Alat ini tidak dapat digunakan untuk mengukur level air dalam sungai,
laut dan sebagainya.
4
F. Metode Penyusunan
1. Metode Studi Pustaka
Metode ini dimaksudkan untuk mendapatkan landasan teori yang
tepat, data-data dan informasi sebagai bahan acuan dalam perencanaan,
percobaan dan pembuatan Tugas Akhir ini.
2. Metode Studi Laboratorium
Perancangan dilakukan dengan cara membuat rancangan rangkaian
dalam PCB dan pengujian (studi laboratorium), dilakukan dengan menguji
rangkaian dan cara kerja alat ukur.
5
Sistematika Laporan Tugas Akhir
HALAMAN JUDUL
ABSTRAK
HALAMAN PENGESAHAN
KATA PENGANTAR
DAFTAR ISI
DAFTAR GAMBAR
DAFTAR TABEL
BAB I PENDAHULUAN (bisa berisi)
A. Latar Belakang
B. Permasalahan
C. Tujuan
D. Manfaat
E. Batasan Masalah
F. Metode Penyusunan
BAB II ISI (bisa berisi)
A. Dasar Teoritis
B. Proses Pembuatan, konstruksi, dan Cara Kerja
C. Hasil dan Pembahasan
BAB III PENUTUP (bisa berisi)
A. Kesimpulan
B. Saran
DAFTAR PUSTAKA
LAMPIRAN
6
BAB II
ISI
A. Dasar Teoritis
Detektor level zat cair sistem digital ini pada dasarnya terdiri dari tiga
komponen utama yaitu sensor pelampung, ADC (Analog to Digital Converter)
dan Seven Segment.
1. Sensor
Komponen penting yang dipakai dalam membuat alat pengukur level
zat cair ini adalah sensor, yang berfungsi sebagai pengindra atau membaca.
Sensor itu sendiri berfungsi untuk mengubah resistansi atau hambatan yang
mengakibatkan tegangan pembanding (0/1) berubah terhadap tegangan
reverensi atau tegangan acuan.
Pelampung tersebut yang menentukan besar kecilnya tegangan yang
masuk pada IC ADC 0804 yang kemudian dikonversi menjadi kode-kode
biner. Pelampung merupakan tabung udara yang akan terangkat jika
diletakkan dipermukaan zat cair yang kemudian tuas pelampung tersebut
dihubungkan pada potensiometer. Sehingga jika tinggi permukaan zat cair
naik turun, maka tuas akan mengubah posisi wiper potensiometer.
Ilustrasi sensor pelampung dengan potensiometer terlihat pada gambar 1.
7
Gambar 1. Ilustrasi sensor pelampung.
2. ADC (Analog to Digital Converter) 0804
ADC (Analog to Digital Converter), yaitu rangkaian untuk mengubah
tegangan analog pada masukan menjadi data dengan bit paralel pada keluaran.
ADC 0804 merupakan salah satu Analog to Digital Converter yang
banyak digunakan untuk menghasilkan data 8 bit. Adapun metode pengukur
aras tegangan cuplikan dan mengubahnya ke dalam sandi biner menggunakan
metode pengubahan dengan tipe pembanding langsung atau successive
approximation.
Pada ADC tipe ini masukan cuplikan dibandingkan dengan tegangan
berurutan yang dibangkitkan oleh successive approximation register (SAR)
programmer. Perubahan dimulai dari signifikan terbesar dari keluarga biner.
Keadaan ini dinyatakan sebagai logika l, diumpankan ke pengubah digital ke
analog, yang akan mengubahnya menjadi bentuk analog yang akan
8
dibandingkan dengan arus tegangan masukan cuplikan. Jika l akan berubah
menjadi 0. Jika logika l pada MSB menunjukkan nilai lebih kecil
dibandingkan masukan, sampai tegangan keluaran ADC sama dengan arus
masukan kira-kira separuh bit signifikan terkecil. Perbedaan yang ada
disebabkan adanya kesalahan kuantisasi yang muncul pada pengubahan
digitalm, bagan ADC 0804 dapat dilihat pada gambar 2.
comparator
digital
analog
level
Gambar 2. Bagan ADC 0804.
Succesessive approximation dapat dikendalikan oleh perangkat lunak,
dan hal ini yang dikenal dengan sistem berdasarkan mikroprosesor. ADC ini
relatif cepat dan mempunyai ukuran kecil. Keuntungan tambahan adalah
setiap cuplikan diubah dalam selang waktu yang sama tidak tergantung pada
arus masukan dan secara keseluruhan ditentukan oleh frekuensi yang
mengendalikan detak dan resolusi dari pengubah. Sebagai contoh, pengubah 8
8-bit digital to analogue converter
Digital O
utput
8 bitsuccsessive approximation register
(SAR)
9
bit digunakan untuk menentukan arus logika setiap bit secara berurutan mulai
dari bit signifikan terbesar jika frekuensi detak 10 KHz, waktu pengubahan 0
8 x periode detak = 8 x 0,1 mdetik.
Jika frekuensi detak dinaikkan menjadi 1 MHz, waktu pengubahan
akan berkurang menjadi 8 µdetik.
Kekurangan pengubahan jenis ini adalah mempunyai kekebalan
rendah terhadap derau dan diperlukan adanya pengubah digital ke analog yang
tepat dan pembanding dengan unjuk kerja yang tinggi, gambar 3
menunjukkan diagram fungsional ADC 0804.
11
3. Pengubahan Analog ke Digital ADC 0804
Suatu sinyal keluaran yang berupa tegangan ordo yang sangat kecil
akan sulit dideteksi, agar tegangan analog ini mudah dimengerti maka harus
diubah kesuatu keluaran biner. Unutuk menghasilkan keluaran biner ini
diperlukan suatu converter dalam hal ini ADC 0804 mampu melakukannya.
Dalam fungsinya ada beberapa jenis ADC, yang masing-masing mempunyai
kelebihan berdasarkan pada metode pengubahan isyarat analog ke digital
ADC dibedakan menjadi :
a. Metode pencacah
b. Metode dual slope
c. Metode pendekatan berurutan
d. Metode pendekatan paralel
Untuk menentukan ADC yang digunakan dalam sistem akuisisi data
ada beberapa hal yang perlu diperhatikan yaitu :
a. Kecepatan konversi
b. Resolusi
c. Rentang masukan analog maksimum
d. Jumlah kanal masukan
Pemilihan ADC pada umumnya ditentukan oleh metode yang
digunakan untuk konversi data. Dengan pertimbangan diatas penulis sengaja
memilih ADC 0804 sebagai converter A/D. ADC 0804 adalah suatu IC
CMOS pengubah analog ke digital delapan bit dengan satu kanal masukan.
Bentuk dan tampilan IC ADC 0804 ditunjukkan pada Gambar 4.
12
U2
67
9
1112131415161718
19
20
4
51
23
+IN-IN
VREF/2
DB7DB6DB5DB4DB3DB2DB1DB0
CLKR
VCC/VREF
CLKIN
INTRCS
RDWR
Gambar 4. Diagram pena pada ADC 0804.
Keterangan pada masing-masing pena pada IC ADC 0804 adalah :
1. Pena 1-3 (CS, RD, WR)
Masukan kontrol digital dengan level tegangan logika TTL. Pena CS dan
RD jika tidak aktif maka keluaran digital akan berada pada keadaan
impedansi tinggi. Pena WR bila dibuat aktif bersamaan dengan CS akan
memulai konversi. Konversi akan riset bila WR dibuat tidak aktif.
Konversi dimulai setelah WR berubah menjadi aktif.
2. Pena 4 dan 19 (clock in dan clock R)
Pena masukan dari rangkaian schmit tringger. Pena ini digunakan sebagai
clock internal dengan menambah rangkaian RC.
3. Pena 5 (INTR)
13
Pena interupsi keluaran yang digunakan didalam sistem mikroprosesor.
Pena 5 menunjukkan bahwa konversi telah selesai. Pena 5 akan
mengeluarkan logika tinggi bila konversi dimulai dan mengeluarkan pena
rendah bila konversi selesai.
4. Pena 6 dan 7 (Vin (+) dan Vin (-))
Pena interupsi untuk masukan tegangan analog. Vin (+) dan Vin (-) adalah
sinyal masukan differensial. Vin (+) digunakan untuk masukan positif jika
Vin (-) dihubungkan ground.
5. Pena 8 dan 10 (AGND dan DGND)
Pena ini dihubungkan dengan ground.
6. Pena 9 (Vref/2)
Pena masukan tegangan referensi yang digunakan sebagai referensi untuk
tegangan masukan dari pena 6 dan 7.
7. Pena 11 sampai 18 (bus data 8 bit)
Jalur keluaran data digital 8 bit. Pena 11 merupakan data MSB dan pena
18 merupakan data LSB.
8. Pena 20 (V+)
Pena ini dihubungkan ke VCC (5volt).
Ada beberapa metode untuk mengukur aras tegangan cuplikan dan
mengubahnya kedalam sandi biner. Metode-metode tersebut berbeda dalam
hal ketepatannya dan kecepatan pengubahannya, yang ditunjukkan oleh waktu
pengubahan. Waktu pengubahan adalah selang waktu antara dimulainya
14
proses pengubahan dan munculnya sandi biner pada keluaran. Pengubahan
bervariasi mulai dari tipe pencacah undak lamban (waktu pengubahan dalam
orde milidetik) yang digunakan dalam peralatan penunjukkan digital sampai
ke paralel sangat cepat atau tipe perbandingan langsung (waktu pengubah
dalam orde nanodetik) yang banyak digunakan dalam instrumentasi dan
kontrol.
4. Tampilan
Kebanyakan tampilan angka menggunakan konfigurasi sebuah seven
segment untuk membentuk karakter desimal dari 0 sampai 9, dan kadang-
kadang karakter heksadesimal A sampai F. Setiap segment terbuat dari bahan
yang mengeluarkan cahaya ketika dilewati arus listrik. Segmen-segmen yang
banyak dipakai menggunakan prinsip lampu LED.
Terdapat dua macam seven segment display, yaitu common anoda dan
common catoda. Pada common anoda dari kesepuluh dua kaki yang tengah
sebagai negatif satu kaki sebagai dot, dan ketujuh kaki yang lain sebagai
positif. Sedangkan pada common catoda kebalikan dari common anoda.
Tampilan tujuh segment ini terdiri dari tujuh buah segment yang
disusun sedemikian rupa membentuk angka delapan seperti tampak pada
gambar (a). Tiap-tiap segment tersebut diberi tanda dengan huruf a, b, c, d, e,
f, dan g. Gambar 5, menunjukkan pola dari segment-segment yang digunakan
untuk menampilkan bermacam-macam angka.
15
a
b
c
d
e
f
g
(c) Pengaturan (b) Segment-segment aktif
Segment-segment Untuk setiap digit
Gambar 5. Seven segment display.
5. Catu Daya
Perangkat elektronika mestinya dicatu oleh suplai arus searah DC
(direct current) yang stabil agar dapat dengan baik. Baterai atau accu adalah
sumber catu daya DC yang paling baik. Namun untuk aplikasi yang
membutuhkan catu daya yang besar, sumber dari baterai tidak cukup. Sumber
catu daya yang besar adalah sumber bolak-balik AC (alternating current) dari
pembangkit tenaga listrik. Untuk itu diperlukan suatu perangkat catu daya
yang dapat mengubah arus AC menjadi DC.
Rangkaian yang berfungsi memberikan / membagi tegangan DC pada
rangkaian. Fungsi dari catu daya sangatlah vital karena sumber tegangan dari
semua rangkaian yaitu catu daya. Catu daya ini hanya menggunakan baterai
12 Volt yang memberikan arus semaksimal mungkin yang dibutuhkan oleh
rangkaian diatas. Untuk memperoleh tegangan yang stabil perlu digunakan
16
sebuah IC LM7805 agar arus menjadi presisi. Apabila rangkaian catu daya
kurang stabil maka semua rangkaian tidak akan berfungsi dengan baik.
Catu daya merupakan komponen yang sangat penting dalam sebuah
peralatan elektronik. Agar rangkaian dapat bekerja dengan baik diperlukan
catu daya yang stabil, sehingga digunakan IC regulator 7805 seperti terlihat
pada gambar 6.
Gambar 6. Rangkaian catu daya.
17
B. Proses Pembuatan, Konstruksi dan Cara Kerja
1. Proses Pembuatan
a. Perencanaan alat
Gambar 7 merupakan gambar rangkaian detektor level zat cair sistem
tampilan digital.
Gambar 7. Rangkaian detektor level zat cair sistem tampilan digital.
Dari gambar 7 kemudian dihubungkan pada gambar 8 yaitu sensor
pelampung, agar dapat mengatur posisi pengukuran level air.
18
Gambar 8. Sensor pelampung.
b. Proses pembuatan papan rangkaian tercetak
Alat dan bahan yang digunakan dalam pembuatan papan rangkaian
tercetak (PRT) ini adalah meliputi :
1. Mata bor diameter 0,8 mm; 3,5mm
2. Pengupas kabel
3. Solder
4. Bahan PRT (PCB)
5. Ferri Chloride (FeCL3)
6. Lotfet
7. Tiner
8. Mur, baut
9. Timah
c. Proses pembuatan jalur
Pada tahap ini pertama-tama merancang ukuran PRT sehingga
membentuk ukuran posisi dan loyout yang bagus, baik dan benar.
19
Kemudian memasang tata letak komponen dan merancang jalur antar
komponen sehingga membentuk jalur yang singkat, rapi dan benar.
Setelah semua selesai dilanjutkan dengan memotong PCB sesuai
dengan ukuran yang telah ditentukan. Kemudian memindahkan hasil
rancangan alur tadi ke PCB. Proses pembuatan layout ada yang
mengunakan penggambaran manual.
d. Proses pelarutan dan pelapisan
1). Melarutkan PRT yang telah tergambar jalur PRT dengan Ferri
Chlorida (FeCL3) untuk menghilangkan lapisan tembaga yang
tidak terpakai.
2). Mengangkat PRT dari Ferri Chlorida apabila lapisan tembaga
yang tidak terpakai sudah terlarut semua. Kemudian mencuci PRT
tersebut dengan air sampai bersih.
3). membersihkan sisa lapisan cat sablon pada jalur PRT dengan
menggunakan tinner.
e. Proses pengeboran
Tujuan dilakukan proses pengeboran terlebih dahulu pada titik-
titik untuk kaki komponen adalah agar lubang yang dibuat sesuai yang
diharapkan, untuk mendapat hasil yang baik, pengeboran dilakukan
dengan hati-hati agar tidak merusak jalur-jalur papan rangkaian
tercetak.
20
f. Pemasangan Komponen
Urutan pemasangan komponen sebagai berikut :
1. Mengecek terhadap hubungan antar jalur-jalurnya untuk
menghindari hubung singkat.
2. Mengetes semua komponen satu persatu untuk mendapatkan
komponen yang mempunyai karakteristik sesuai dengan yang
diharapkan. Komponen yang rusak atau tidak sesuai dengan
karakteristik harus diganti untuk menghindari rangkaian dari
kegagalan operasi.
3. Memasang soket-soket rangkaian terintegrasi (IC) dan kabel
penghubung.
4. Memasang komponen-komponen pasif, dimulai dari komponen
yang tahan terhadap panas seperti resistor, kapasitor non polaritas
baru kemudian kapasitor polaritas, pemasangan komponen ini
harus sesuai dengan posisi dan polaritasnya masing-masing, jadi
tidak boleh terbalik.
5. Memasang komponen-komponen aktif mulai dari komponen yang
tahan terhadap panas, misalnya dioda.
6. Memasang komponen-konponen aktif, yang kurang tahan panas,
seperti transistor.Pemasangan komponen ini tidak boleh tertukar
kaki-kaki basis, emitor, dan kolektor.
21
7. Memasang komponen yang memakai soket, misalnya rangkaian
terintegrasi (IC).
8. Melakukan penyolderan dengan solder yang dayanya tidak terlalu
besar, yaitu sekitar 30 Watt. Hal ini dilakukan untuk menghindari
pemasangan yang berlebihan terutama terhadap komponen aktif.
g. Proses Perakitan
Urutan proses perakitan sebagai berikut:
1). Merakit bagian dalam kotak atau bok yaitu tempat rangkaian
tercetak dengan cara memasang penampil yang berupa seven
segment.
2). Memasang soket-soket atau penghubung yang menempel
langsung pada kotak.
3). Menghubungkan papan rangkaian tercetak yang satu dengan yang
lain dengan menggunakan kabel penghubung (jumper).
4). Memeriksa kembali untuk memastikan ada atau tidak rangkaian
yang salah sambung antara satu dengan lainnya.
5). Mencuci bagian-bagian yang sudah diberi lubang dengan
mengunakan sekrup sehingga diperoleh penempatan yang
permanen.
22
h. Hasil perakitan komponen
Dari gambar 7 maka dapat dirakit seperti pada gambar 9 yaitu
layout PCB, dan pada gambar 10, merupakan gambar tataletak
komponen.
Gambar 9. Layout PCB.
Gambar 10. Tata letak komponen.
23
Adapun komponen-komponen yang dipakai dalam rangkaian detektor
level zat cair sistem digital, terlihat pada tabel 1 yaitu daftar komoponen.
Tabel 1. Daftar komponen yang dipakai.
No Nama bahan Identitas Jumlah1 IC - ADC 0804
- 4081- 74LS48
1 buah1 buah2 buah
2 Seven segment Common Catoda 2 buah3 Dioda 3,3V 1 buah4 Kondensator - 100pF
- 10µF1 buah1 buah
5 Variabel resistor - 5K- 10K
1 buah1 buah
6 Resistor - 330Ω- 1KΩ- 10KΩ
8 buah1 buah2 buah
2. Konstruksi
Perencanaan bok alat ukur ini bertujuan untuk membuktikan dan
mengaplikasikan secara nyata sehingga dapat dipahami dengan mudah dan
jelas, yang ditunjukkan pada gambar 11 :
24
Gambar 11. Box alat ukur ;
a.Tampak depan, b.Tampak belakang.
Keterangan gambar :
1. Tampilan digital
2. Sakelar ON -OFF
3. Kabel AC 220V
4. Output ke pelampung
3. Cara kerja
Alat pengukur level zat cair ini, pada dasarnya mengukur ketinggian
air yang tertampung pada bejana pengukuran. Dengan teori dasar sensor
ketinggian air, ADC, dan tampilan seven segment. Perencanaan alat ini
berpedoman pada tujuan penelitian yaitu mewujudkan alat pengukur level zat
a.
b.
3
21
4
25
cair dengan tampilan digital, gambar 12 adalah diagram blok detektor level
zat cair sistem digital.
Gambar 12. Blok detektor level zat cair sistem digital.
Cara kerjanya yaitu pertama diperlukan tegangan sumber tegangan
DC 5 volt untuk mengaktifkan sensor ketinggian zat cair, ADC, dan seven
segment. Sensor yang berupa pelampung yang akan menentukan besarnya
perubahan tegangan yang masuk ADC. Hasil dari konvrensi tegangan menjadi
kode-kode biner diubah dalam tampilan desimal, dan kemudian ditampilkan
pada seven segment sebagai hasil pengukuran.
Pada prinsipnya cara kerja dari detektor permukaan zat cair analog
hampir sama, dapat diterapkan pada detektor permukaan zat cair sistem
digital. Dari pelampung sebagai sensor yang merupakan tabung udara yang
akan terangkat jika diletakkan di permukaan zat cair yang kemudian
pelampung tersebut dihubungkan dengan tuas yang terhubung pada
potensiometer. Sehingga jika tinggi permukaan zat cair berubah, maka tuas
Penggerak BCD toSeven Segment
ADCSensor /Pelampung
Tampilan
Catu daya
26
juga akan merubah posisi wiper potensiometer, dan memberikan masukkan
perubahan tegangan akibat perbedaan atau selisih tegangan. Masukkan
tegangan tersebut diterima oleh IC ADC0804 yang akan mengubah sinyal
analog menjadi keluaran sinyal digital, dan ditampilkan melalui seven segmet.
C. Hasil dan pembahasan
1. Cara pengukuran dan hasilnya
Pengukuran dilakukan dengan cara terlebih dahulu memasukkan air
kurang lebih 600 ml atau 0,6 liter kedalam bejana, sebagai toleransi agar
disaat pengukuran dimulai pelampung sudah bisa langsung bergerak.
Kemudian pengukuran dimulai dengan menuangkan air sedikit demi sedikit
agar dapat mengamati pergerakkan digitnya apakah sesuai dengan takaran
yang dituangkan atau tidak. Hasil yang didapat dari pengukuran alat detektor
level zat cair sistem digital, seperti terlihat pada tabel 2.
Tabel 2. Hasil Pengukuran.
No Jumlah air pada gelas ukur(liter)
Penunjukkan pada alat yang dibuat
1 0,5 0,62 1 1,13 1,5 1,74 2 2,25 2,5 2,76 3 3,17 3,5 3,88 4 4,2
27
Dari data tabel diatas maka diperoleh grafik hasil pengukuran alat
detektor level zat cair sistem digital yang ditunjukkan gambar 13.
Hasil Pengukuran
00.5
11.5
22.5
33.5
44.5
1 2 3 4 5 6 7 8
Nomor
Leve
l
Jumlah air pada gelasukur (liter)Penunjukkan padaalat yang dibuat
Gambar 13. Grafik hasil pengukuran.
2. Pembahasan
Pendeteksian level dimulai dari input sinyal analog dari pergeseran
potensiometer oleh pelampung, jika bejana diisi air sesuai takaran yang
diinginkan, maka pelampung akan naik dan menggerakkan potensiometer.
dari pergerakkan potensiometer tersebut maka tegangan yang keluar dari
potensiometer akan diumpankan ke rangkaian pengubah analog ke digital
ADC (Analog Digiital to Converter). Oleh ADC 0804 hasil dari konversi
tegangan menjadi kode-kode biner diubah dalam tampilan desimal, kemudian
28
dalam bentuk sinyal digital ditampilkan pada seven segment yang sesuai
dengan takaran air yang dituangkan dalam bejana sebagai hasil pengukuran.
Untuk pengukuran dengan cara menuangkan air sedikit demi sedikit
agar dapat mengamati pergerakan digit apakah sesuai dengan takaran yang
dituangkan atau tidak. Hasil pengukuran seperti yang diperoleh pada tabel 2,
antara jumlah air yang dituangkan oleh gelas ukur kedalam bejana dengan
hasil yang ditunjukkan pada digital atau alat yang dibuat terdapat perbedaan
yang cukup signifikan antara pengukuran 1, 2, 3, 4, 5 dan seterusnya. Adanya
beda yang terdapat pada data hasil pengukuran disebabkan oleh potensiometer
yang digunakan kurang linier, serta kurangnya penyesuaian antara alat atau
rangkaian penampil dengan penampung air yang telah di buat.
Untuk mendapatkan hasil yang maksimal atau sesuai dengan
kenyataan maka antara alat yang di buat dengan penampung air atau sensor
pelampung harus di buat selinier mungkin agar mendapatkan data pengukuran
yang sesuai dengan kenyataan atau pengukuran yang presisi.
29
BAB III
PENUTUP
A. KESIMPULAN
Berdasarkan hasil penelitian dan analisis maka penulis dapat mengambil
kesimpulan sebagai berikut :
2. Untuk kalibrasi maka dibutuhkan air sekitar 600 ml atau 0,6 liter.
3. Alat yang dibuat dapat mendeteksi level air dalam bejana terukur serta
bentuknya pasti ( bejana rata).
4. Dapat mengamati dan menganalisis data yang ditunjukkan dalam
pengukuran level air dengan menggunakan takaran 1 liter.
5. Terealisasinya detektor level zat cair dengan sistem digital
B. SARAN
1. Kemampuan alat ini masih terbatas yaitu hanya mencapai 4 liter saja, untuk
mengembangkan alat ini untuk mengukur level air yang lebih besar maka
dengan jalan memperbesar potensiometer atau dengan menggunakan
mikrokontroller.
2. Penggunaan sensor akan lebih presisi jika menggunakan pelampung yang
lebih ringan atau potensiometer yang lebih peka.
3. Untuk mendapatkan output sensor berupa kode-kode digital secara langsung
maka sensor pelampung dapat diganti dengan sistem timbangan atau dengan
menggunakan sensor berat (LOAD CELL).
30
DAFTAR PUSTAKA
Deddy Rusmady. 1989. Mengenal Teknik Digital. Bandung : Penerbit Sinar Baru.
Gatot Soedartono. 2001. Teknik Digital. Surabaya : Penerbit Usaha Nasional
M. Barmawi. 1996. Prinsip-prinsip Elektronika. Jakarta : Penerbit Erlangga.
Warsito. S. 1994. Vademekum Elektronika. Jakarta : Penerbit Gramedia.
www.alldatasheet.com
www.datasheetcatalog.com
www.elektroindonesia.com
© 2002 Fairchild Semiconductor Corporation DS005977 www.fairchildsemi.com
October 1987
Revised April 2002
CD
4071BC
• CD
4081BC
Qu
ad 2-In
pu
t OR
Bu
ffered B
Series G
ate • Qu
ad 2-In
pu
t AN
D B
uffered
B S
eries Gate
CD4071BC • CD4081BC Quad 2-Input OR Buffered B Series Gate • Quad 2-Input AND Buffered B Series Gate
General DescriptionThe CD4071BC and CD4081BC quad gates are monolithiccomplementary MOS (CMOS) integrated circuits con-structed with N- and P-channel enhancement mode tran-sistors. They have equal source and sink currentcapabilities and conform to standard B series output drive.The devices also have buffered outputs which improvetransfer characteristics by providing very high gain.
All inputs protected against static discharge with diodes toVDD and VSS.
Features Low power TTL compatibility:
Fan out of 2 driving 74L or 1 driving 74LS
5V–10V–15V parametric ratings
Symmetrical output characteristics
Maximum input leakage 1 µA at 15V over full temperature range
Ordering Code:
Devices are also available in Tape and Reel. Specify by appending the suffix letter “X” to the ordering code.
Connection Diagrams
CD4071B
Top View
CD4081B
Top View
Order Number Package Number Package Description
CD4071BCM M14A 14-Lead Small Outline Integrated Circuit (SOIC), JEDEC MS-012, 0.150" Narrow
CD4071BCN N14A 14-Lead Plastic Dual-In-Line Package (PDIP), JEDEC MS-001, 0.300" Wide
CD4081BCM M14A 14-Lead Small Outline Integrated Circuit (SOIC), JEDEC MS-012, 0.150" Narrow
CD4081BCN N14A 14-Lead Plastic Dual-In-Line Package (PDIP), JEDEC MS-001, 0.300" Wide
www.fairchildsemi.com 2
CD
4071
BC
• C
D40
81B
CSchematic Diagrams
CD4071B
1/4 of device shown
J = A + B
Logical “1” = HIGH
Logical “0” = LOW
*All inputs protected by standard CMOS protection circuit.
CD4081B
1/4 of device shown
J = A • B
Logical “1” = HIGH
Logical “0” = LOW
All inputs protected by standard CMOS protection circuit.
3 www.fairchildsemi.com
CD
4071BC
• CD
4081BC
Absolute Maximum Ratings(Note 1)
(Note 2)
Recommended OperatingConditions
Note 1: “Absolute Maximum Ratings” are those values beyond which thesafety of the device cannot be guaranteed. Except for “Operating Tempera-ture Range” they are not meant to imply that the devices should be oper-ated at these limits. The table of “Electrical Characteristics” providesconditions for actual device operation.
Note 2: All voltages measured with respect to VSS unless otherwise speci-
fied.
DC Electrical Characteristics (Note 2)CD4071BC/CD4081BC
Note 3: IOH and IOL are tested one output at a time.
AC Electrical Characteristics (Note 4)
CD4071BC TA = 25°C, Input tr; tf = 20 ns, CL = 50 pF, RL = 200 kΩ, Typical temperature coefficient is 0.3%/°C
Note 4: AC Parameters are guaranteed by DC correlated testing.
Voltage at Any Pin −0.5V to VDD +0.5V
Power Dissipation (PD)
Dual-In-Line 700 mW
Small Outline 500 mW
VDD Range −0.5 VDC to +18 VDC
Storage Temperature (TS) −65°C to +150°CLead Temperature (TL)
(Soldering, 10 seconds) 260°C
Operating Range (VDD) 3 VDC to 15 VDC
Operating Temperature Range (TA)
CD4071BC, CD4081BC −55°C to +125°C
Symbol Parameter Conditions−55°C +25°C +125°C
UnitsMin Max Min Typ Max Min Max
IDD Quiescent Device VDD = 5V 0.25 0.004 0.25 7.5
µACurrent VDD = 10V 0.5 0.005 0.5 15
VDD = 15V 1.0 0.006 1.0 30
VOL LOW Level VDD = 5V 0.05 0 0.05 0.05
VOutput Voltage VDD = 10V |IO| < 1 µA 0.05 0 0.05 0.05
VDD = 15V 0.05 0 0.05 0.05
VOH HIGH Level VDD = 5V 4.95 4.95 5 4.95
VOutput Voltage VDD = 10V |IO| < 1 µA 9.95 9.95 10 9.95
VDD = 15V 14.95 14.95 15 14.95
VIL LOW Level VDD = 5V, VO = 0.5V 1.5 2 1.5 1.5
VInput Voltage VDD = 10V, VO = 1.0V 3.0 4 3.0 3.0
VDD = 15V, VO = 1.5V 4.0 6 4.0 4.0
VIH HIGH Level VDD = 5V, VO = 4.5V 3.5 3.5 3 3.5
VInput Voltage VDD = 10V, VO = 9.0V 7.0 7.0 6 7.0
VDD = 15V, VO = 13.5V 11.0 11.0 9 11.0
IOL LOW Level Output VDD = 5V, VO = 0.4V 0.64 0.51 0.88 0.36
mACurrent VDD = 10V, VO = 0.5V 1.6 1.3 2.25 0.9
(Note 3) VDD = 15V, VO = 1.5V 4.2 3.4 8.8 2.4
IOH HIGH Level Output VDD = 5V, VO = 4.6V −0.64 −0.51 −0.88 −0.36
mACurrent VDD = 10V, VO = 9.5V −1.6 −1.3 −2.25 −0.9
(Note 3) VDD = 15V, VO = 13.5V −4.2 −3.4 −8.8 −2.4
IIN Input Current VDD = 15V, VIN = 0V −0.1 −10−5 −0.1 −1.0µA
VDD = 15V, VIN = 15V 0.1 10−5 0.1 1.0
Symbol Parameter Conditions Typ Max Units
tPHL Propagation Delay Time, VDD = 5V 100 250
nsHIGH-to-LOW Level VDD = 10V 40 100
VDD = 15V 30 70
tPLH Propagation Delay Time, VDD = 5V 90 250
nsLOW-to-HIGH Level VDD = 10V 40 100
VDD = 15V 30 70
tTHL, tTLH Transition Time VDD = 5V 90 200
nsVDD = 10V 50 100
VDD = 15V 40 80
CIN Average Input Capacitance Any Input 5 7.5 pF
CPD Power Dissipation Capacity Any Gate 18 pF
www.fairchildsemi.com 4
CD
4071
BC
• C
D40
81B
CAC Electrical Characteristics (Note 5)
CD4081BC TA = 25°C, Input tr; tf = 20 ns, CL = 50 pF, RL = 200 kΩ, Typical temperature coefficient is 0.3%/°C
Note 5: AC Parameters are guaranteed by DC correlated testing.
Typical Performance Characteristics
Typical Transfer Characteristics Typical Transfer Characteristics
Typical Transfer Characteristics Typical Transfer Characteristics
Symbol Parameter Conditions Typ Max Units
tPHL Propagation Delay Time, VDD = 5V 100 250
nsHIGH-to-LOW Level VDD = 10V 40 100
VDD = 15V 30 70
tPLH Propagation Delay Time, VDD = 5V 120 250
nsLOW-to-HIGH Level VDD = 10V 50 100
VDD = 15V 35 70
tTHL, tTLH Transition Time VDD = 5V 90 200
nsVDD = 10V 50 100
VDD = 15V 40 80
CIN Average Input Capacitance Any Input 5 7.5 pF
CPD Power Dissipation Capacity Any Gate 18 pF
5 www.fairchildsemi.com
CD
4071BC
• CD
4081BC
Typical Performance Characteristics (Continued)
www.fairchildsemi.com 6
CD
4071
BC
• C
D40
81B
CPhysical Dimensions inches (millimeters) unless otherwise noted
14-Lead Small Outline Integrated Circuit (SOIC), JEDEC MS-012, 0.150" NarrowPackage Number M14A
7 www.fairchildsemi.com
CD
4071BC
• CD
4081BC
Qu
ad 2-In
pu
t OR
Bu
ffered B
Series G
ate • Qu
ad 2-In
pu
t AN
D B
uffered
B S
eries Gate
Physical Dimensions inches (millimeters) unless otherwise noted (Continued)
14-Lead Plastic Dual-In-Line Package (PDIP), JEDEC MS-001, 0.300" WidePackage Number N14A
Fairchild does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied andFairchild reserves the right at any time without notice to change said circuitry and specifications.
LIFE SUPPORT POLICY
FAIRCHILD’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORTDEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT OF FAIRCHILDSEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or systemswhich, (a) are intended for surgical implant into thebody, or (b) support or sustain life, and (c) whose failureto perform when properly used in accordance withinstructions for use provided in the labeling, can be rea-sonably expected to result in a significant injury to theuser.
2. A critical component in any component of a life supportdevice or system whose failure to perform can be rea-sonably expected to cause the failure of the life supportdevice or system, or to affect its safety or effectiveness.
www.fairchildsemi.com
6-5
Semiconductor
Features• 80C48 and 80C80/85 Bus Compatible - No Interfacing
Logic Required
• Conversion Time < 100 µs
• Easy Interface to Most Microprocessors
• Will Operate in a “Stand Alone” Mode
• Differential Analog Voltage Inputs
• Works with Bandgap Voltage References
• TTL Compatible Inputs and Outputs
• On-Chip Clock Generator
• 0V to 5V Analog Voltage Input Range (Single + 5V Supply)
• No Zero-Adjust Required
DescriptionThe ADC0802 family are CMOS 8-Bit, successive-approxi-mation A/D converters which use a modified potentiometricladder and are designed to operate with the 8080A controlbus via three-state outputs. These converters appear to theprocessor as memory locations or I/O ports, and hence nointerfacing logic is required.
The differential analog voltage input has good common-mode-rejection and permits offsetting the analog zero-input-voltage value. In addition, the voltage reference input can beadjusted to allow encoding any smaller analog voltage spanto the full 8 bits of resolution.
Ordering Information
PART NUMBER ERROR EXTERNAL CONDITIONS TEMP. RANGE ( oC) PACKAGE PKG. NO
ADC0802LCN ±1/2 LSB VREF/2 = 2.500VDC (No Adjustments) 0 to 70 20 Ld PDIP E20.3
ADC0802LCD ±3/4 LSB -40 to 85 20 Ld CERDIP F20.3
ADC0802LD ±1 LSB -55 to 125 20 Ld CERDIP F20.3
ADC0803LCN ±1/2 LSB VREF/2 Adjusted for Correct Full ScaleReading
0 to 70 20 Ld PDIP E20.3
ADC0803LCD ±3/4 LSB -40 to 85 20 Ld CERDIP F20.3
ADC0803LCWM ±1 LSB -40 to 85 20 Ld SOIC M20.3
ADC0803LD ±1 LSB -55 to 125 20 Ld CERDIP F20.3
ADC0804LCN ±1 LSB VREF/2 = 2.500VDC (No Adjustments) 0 to 70 20 Ld PDIP E20.3
ADC0804LCD ±1 LSB -40 to 85 20 Ld CERDIP F20.3
ADC0804LCWM ±1 LSB -40 to 85 20 Ld SOIC M20.3
PinoutADC0802, ADC0803, ADC0804
(PDIP, CERDIP)TOP VIEW
Typical Application Schematic
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
WR
RD
CS
CLK IN
INTR
VIN (-)
VIN (+)
DGND
VREF/2
AGND
V+ OR VREF
CLK R
DB0 (LSB)
DB1
DB2
DB3
DB4
DB5
DB6
DB7 (MSB)
3
2
1
12
11
5
15
14
13
18
17
16
7
6
10
9
8
4
19
20
WR
RD
CS
DB6
DB7
INTR
DB3
DB4
DB5
DB0
DB1
DB2
CLK IN
CLK R
V+
VIN (-)
VIN (+)
DGND
VREF/2
AGND
ANYµPROCESSOR 8-BIT RESOLUTION
OVER ANYDESIREDANALOG INPUTVOLTAGE RANGE
DIFFINPUTS
10K
150pF
VREF/2
µP B
US
+5V
August 1997
CAUTION: These devices are sensitive to electrostatic discharge. Users should follow proper IC Handling Procedures.
Copyright © Harris Corporation 1997
ADC0802, ADC0803ADC0804
8-Bit, Microprocessor-Compatible, A/D Converters
File Number 3094.1
6-6
Functional Diagram
1211 151413 181716
WR
RD
CS
INTR
CLK OSC
CLK R
V+
VIN (-)
VIN (+)
DGND
VREF/2
AGND
(VREF)
DACVOUT
COMP
CLK GEN CLKS
CLK ARESET
START F/F
LADDERAND
DECODER
SUCCESSIVEAPPROX.
REGISTERAND LATCH
8-BITSHIFT
REGISTER
D
RESET
SET
CONV. COMPL.
THREE-STATEOUTPUT LATCHES
DIGITAL OUTPUTS
THREE-STATE CONTROL“1” = OUTPUT ENABLE
DFF2
CLK A
XFERG2
Q
8 X 1/f
R
Q
INTR F/F
IF RESET = “0”
D
DFF1Q
D
Q
CLK B STARTCONVERSION
MSB
LSB
Q“1” = RESET SHIFT REGISTER“0” = BUSY AND RESET STATE RESET
READ
SET3
2
1
5
7
6
10
9
8
4
19
20
CLK IN
MSB
G1
CLK
-+
LSB
INPUT PROTECTIONFOR ALL LOGIC INPUTS
INPUTTO INTERNAL
BV = 30V
CIRCUITS
∑
V+
+
-
ADC0802, ADC0803, ADC0804
6-7
Absolute Maximum Ratings Thermal InformationSupply Voltage . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6.5VVoltage at Any Input . . . . . . . . . . . . . . . . . . . . . . -0.3V to (V+ +0.3V)
Operating ConditionsTemperature Range
ADC0802/03LD. . . . . . . . . . . . . . . . . . . . . . . . . . . -55oC to 125oCADC0802/03/04LCD . . . . . . . . . . . . . . . . . . . . . . . . -40oC to 85oCADC0802/03/04LCN . . . . . . . . . . . . . . . . . . . . . . . . . .0oC to 70oCADC0803/04LCWM . . . . . . . . . . . . . . . . . . . . . . . . -40oC to 85oC
Thermal Resistance (Typical, Note 1) θJA (oC/W) θJC (oC/W)PDIP Package . . . . . . . . . . . . . . . . . . . . . 125 N/ACERDIP Package . . . . . . . . . . . . . . . . . . 80 20SOIC Package . . . . . . . . . . . . . . . . . . . . . 120 N/A
Maximum Junction TemperatureHermetic Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175oCPlastic Package . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150oC
Maximum Storage Temperature Range . . . . . . . . . .-65oC to 150oCMaximum Lead Temperature (Soldering, 10s) . . . . . . . . . . . . 300oC
(SOIC - Lead Tips Only)
CAUTION: Stresses above those listed in “Absolute Maximum Ratings” may cause permanent damage to the device. This is a stress only rating and operationof the device at these or any other conditions above those indicated in the operational sections of this specification is not implied.
NOTE:
1. θJA is measured with the component mounted on an evaluation PC board in free air.
Electrical Specifications (Notes 1, 7)
PARAMETER TEST CONDITIONS MIN TYP MAX UNITS
CONVERTER SPECIFICATIONS V+ = 5V, TA = 25oC and fCLK = 640kHz, Unless Otherwise Specified
Total Unadjusted Error
ADC0802 VREF/2 = 2.500V - - ±1/2 LSB
ADC0803 VREF/2 Adjusted for Correct FullScale Reading
- - ±1/2 LSB
ADC0804 VREF/2 = 2.500V - - ±1 LSB
VREF/2 Input Resistance Input Resistance at Pin 9 1.0 1.3 - kΩ
Analog Input Voltage Range (Note 2) GND-0.05 - (V+) + 0.05 V
DC Common-Mode Rejection Over Analog Input Voltage Range - ±1/16 ±1/8 LSB
Power Supply Sensitivity V+ = 5V ±10% Over Allowed InputVoltage Range
- ±1/16 ±1/8 LSB
CONVERTER SPECIFICATIONS V+ = 5V, 0oC to 70oC and fCLK = 640kHz, Unless Otherwise Specified
Total Unadjusted Error
ADC0802 VREF/2 = 2.500V - - ±1/2 LSB
ADC0803 VREF/2 Adjusted for Correct FullScale Reading
- - ±1/2 LSB
ADC0804 VREF/2 = 2.500V - - ±1 LSB
VREF/2 Input Resistance Input Resistance at Pin 9 1.0 1.3 - kΩ
Analog Input Voltage Range (Note 2) GND-0.05 - (V+) + 0.05 V
DC Common-Mode Rejection Over Analog Input Voltage Range - ±1/8 ±1/4 LSB
Power Supply Sensitivity V+ = 5V ±10% Over Allowed InputVoltage Range
- ±1/16 ±1/8 LSB
CONVERTER SPECIFICATIONS V+ = 5V, -25oC to 85oC and fCLK = 640kHz, Unless Otherwise Specified
Total Unadjusted Error
ADC0802 VREF/2 = 2.500V - - ±3/4 LSB
ADC0803 VREF/2 Adjusted for Correct FullScale Reading
- - ±3/4 LSB
ADC0804 VREF/2 = 2.500V - - ±1 LSB
VREF/2 Input Resistance Input Resistance at Pin 9 1.0 1.3 - kΩ
Analog Input Voltage Range (Note 2) GND-0.05 - (V+) + 0.05 V
DC Common-Mode Rejection Over Analog Input Voltage Range - ±1/8 ±1/4 LSB
Power Supply Sensitivity V+ = 5V ±10% Over Allowed InputVoltage Range
- ±1/16 ±1/8 LSB
ADC0802, ADC0803, ADC0804
6-8
CONVERTER SPECIFICATIONS V+ = 5V, -55oC to 125oC and fCLK = 640kHz, Unless Otherwise Specified
Total Unadjusted Error
ADC0802 VREF/2 = 2.500V - - ±1 LSB
ADC0803 VREF/2 Adjusted for Correct FullScale Reading
- - ±1 LSB
VREF/2 Input Resistance Input Resistance at Pin 9 1.0 1.3 - kΩ
Analog Input Voltage Range (Note 2) GND-0.05 - (V+) + 0.05 V
DC Common-Mode Rejection Over Analog Input Voltage Range - ±1/8 ±1/4 LSB
Power Supply Sensitivity V+ = 5V ±10% Over Allowed InputVoltage Range
- ±1/8 ±1/4 LSB
AC TIMING SPECIFICATIONS V+ = 5V, and TA = 25oC, Unless Otherwise Specified
Clock Frequency, fCLK V+ = 6V (Note 3) 100 640 1280 kHz
V+ = 5V 100 640 800 kHz
Clock Periods per Conversion(Note 4), tCONV
62 - 73 Clocks/Conv
Conversion Rate In Free-RunningMode, CR
INTR tied to WR with CS = 0V,fCLK = 640kHz
- - 8888 Conv/s
Width of WR Input (Start PulseWidth), tW(WR)I
CS = 0V (Note 5) 100 - - ns
Access Time (Delay from FallingEdge of RD to Output Data Valid),tACC
CL = 100pF (Use Bus Driver IC forLarger CL)
- 135 200 ns
Three-State Control (Delay fromRising Edge of RD to Hl-Z State),t1H, t0H
CL = 10pF, RL= 10K(See Three-State Test Circuits)
- 125 250 ns
Delay from Falling Edge of WR toReset of INTR, tWI, tRI
- 300 450 ns
Input Capacitance of LogicControl Inputs, CIN
- 5 - pF
Three-State Output Capacitance(Data Buffers), COUT
- 5 - pF
DC DIGITAL LEVELS AND DC SPECIFICATIONS V+ = 5V, and TMIN to TMAX, Unless Otherwise Specified
CONTROL INPUTS (Note 6)
Logic “1“ Input Voltage (ExceptPin 4 CLK IN), VINH
V+ = 5.25V 2.0 - V+ V
Logic “0“ Input Voltage (ExceptPin 4 CLK IN), VINL
V+ = 4.75V - - 0.8 V
CLK IN (Pin 4) Positive GoingThreshold Voltage, V+CLK
2.7 3.1 3.5 V
CLK IN (Pin 4) Negative GoingThreshold Voltage, V-CLK
1.5 1.8 2.1 V
CLK IN (Pin 4) Hysteresis, VH 0.6 1.3 2.0 V
Logic “1” Input Current(All Inputs), IINHI
VlN = 5V - 0.005 1 µΑ
Logic “0” Input Current(All Inputs), IINLO
VlN = 0V -1 -0.005 - µA
Supply Current (Includes LadderCurrent), I+
fCLK = 640kHz,TA = 25oCand CS = Hl
- 1.3 2.5 mA
DATA OUTPUTS AND INTR
Logic “0” Output Voltage, VOL lO = 1.6mA, V+ = 4.75V - - 0.4 V
Electrical Specifications (Notes 1, 7) (Continued)
PARAMETER TEST CONDITIONS MIN TYP MAX UNITS
ADC0802, ADC0803, ADC0804
6-9
Logic “1” Output Voltage, VOH lO = -360µA, V+ = 4.75V 2.4 - - V
Three-State Disabled OutputLeakage (All Data Buffers), ILO
VOUT = 0V -3 - - µA
VOUT = 5V - - 3 µA
Output Short Circuit Current,ISOURCE
VOUT Short to Gnd TA = 25oC 4.5 6 - mA
Output Short Circuit Current,ISINK
VOUT Short to V+ TA = 25oC 9.0 16 - mA
NOTES:
1. All voltages are measured with respect to GND, unless otherwise specified. The separate AGND point should always be wired to theDGND, being careful to avoid ground loops.
2. For VIN(-) ≥ VIN(+) the digital output code will be 0000 0000. Two on-chip diodes are tied to each analog input (see Block Diagram) whichwill forward conduct for analog input voltages one diode drop below ground or one diode drop greater than the V+ supply. Be careful,during testing at low V+ levels (4.5V), as high level analog inputs (5V) can cause this input diode to conduct - especially at elevated tem-peratures, and cause errors for analog inputs near full scale. As long as the analog VIN does not exceed the supply voltage by more than50mV, the output code will be correct. To achieve an absolute 0V to 5V input voltage range will therefore require a minimum supply volt-age of 4.950V over temperature variations, initial tolerance and loading.
3. With V+ = 6V, the digital logic interfaces are no longer TTL compatible.
4. With an asynchronous start pulse, up to 8 clock periods may be required before the internal clock phases are proper to start the conversionprocess.
5. The CS input is assumed to bracket the WR strobe input so that timing is dependent on the WR pulse width. An arbitrarily wide pulsewidth will hold the converter in a reset mode and the start of conversion is initiated by the low to high transition of the WR pulse (seeTiming Diagrams).
6. CLK IN (pin 4) is the input of a Schmitt trigger circuit and is therefore specified separately.
7. None of these A/Ds requires a zero-adjust. However, if an all zero code is desired for an analog input other than 0V, or if a narrow full scale spanexists (for example: 0.5V to 4V full scale) the VIN(-) input can be adjusted to achieve this. See the Zero Error description in this data sheet.
Electrical Specifications (Notes 1, 7) (Continued)
PARAMETER TEST CONDITIONS MIN TYP MAX UNITS
Timing Waveforms
FIGURE 1A. t1H FIGURE 1B. t1H, CL = 10pF
FIGURE 1C. t0H FIGURE 1D. t0H, CL = 10pF
FIGURE 1. THREE-STATE CIRCUITS AND WAVEFORMS
10K
V+
RD
CS
CL
DATAOUTPUT
RD
2.4Vtr
90%50%
10%
t1H
0.8V
DATAOUTPUTS
GND
tr = 20ns
VOH 90%
10K
V+
RD
CSCL
DATAOUTPUT
V+
RD
2.4V
tr
90%50%
10%
t0H
0.8V
DATAOUTPUTS
VOI
tr = 20ns
V+
10%
ADC0802, ADC0803, ADC0804
6-10
Typical Performance Curves
FIGURE 2. LOGIC INPUT THRESHOLD VOLTAGE vs SUPPLYVOLTAGE
FIGURE 3. DELAY FROM FALLING EDGE OF RD TO OUTPUTDATA VALID vs LOAD CAPACITANCE
FIGURE 4. CLK IN SCHMITT TRIP LEVELS vs SUPPLY VOLTAGE FIGURE 5. fCLK vs CLOCK CAPACITOR
FIGURE 6. FULL SCALE ERROR vs f CLK FIGURE 7. EFFECT OF UNADJUSTED OFFSET ERROR
-55oC TO 125oC1.8
1.7
1.6
1.5
1.4
1.34.754.50 5.00 5.25 5.50
V+ SUPPLY VOLTAGE (V)
LOG
IC IN
PU
T T
HR
ES
HO
LD V
OLT
AG
E (
V)
DE
LAY
(ns
)
500
400
300
200
1000
LOAD CAPACITANCE (pF)200 400 600 800 1000
CLK
IN T
HR
ES
HO
LD V
OLT
AG
E (
V)
3.5
3.1
2.7
2.3
1.9
1.54.50
V+ SUPPLY VOLTAGE (V)
-55oC TO 125oC
VT(-)
VT(+)
4.75 5.00 5.25 5.50
1000
CLOCK CAPACITOR (pF)
f CLK
(kH
z)
10010010 1000
R = 10K
R = 50K
R = 20K
FU
LL S
CA
LE E
RR
OR
(LS
Bs)
7
6
5
4
3
2
1
0
fCLK (kHz)0 400 800 1200 1600 2000
V+ = 4.5V
V+ = 5V
V+ = 6V
VIN(+) = VIN(-) = 0V
ASSUMES VOS = 2mV
THIS SHOWS THE NEEDFOR A ZERO ADJUSTMENTIF THE SPAN IS REDUCED
OF
FS
ET
ER
RO
R (
LSB
s)
16
14
12
10
8
6
4
2
VREF/2 (V)
00.01 0.1 1.0 5
ADC0802, ADC0803, ADC0804
6-11
FIGURE 8. OUTPUT CURRENT vs TEMPERATURE FIGURE 9. POWER SUPPLY CURRENT vs TEMPERATURE
Timing Diagrams
FIGURE 10A. START CONVERSION
FIGURE 10B. OUTPUT ENABLE AND RESET INTR
Typical Performance Curves (Continued)O
UT
PU
T C
UR
RE
NT
(m
A)
8
7
6
5
4
3
2-50
TA AMBIENT TEMPERATURE ( oC)
-ISINKVOUT = 0.4V
ISOURCEVOUT = 2.4V
DATA OUTPUTBUFFERS
V+ = 5V
-25 0 25 50 75 100 125
PO
WE
R S
UP
PLY
CU
RR
EN
T (
mA
)
TA AMBIENT TEMPERATURE ( oC)-50 -25 0 25 50 75 100 125
1.6
1.5
1.4
1.3
1.2
1.1
1.0
fCLK = 640kHz
V+ = 5.5V
V+ = 5.0V
V+ = 4.5V
tWI
tW(WR)I
1 TO 8 x 1/fCLK INTERNAL TC
CS
WR
ACTUAL INTERNALSTATUS OF THE
CONVERTER
INTR(LAST DATA READ)
(LAST DATA NOT READ)
“NOT BUSY”
“BUSY”DATA IS VALID INOUTPUT LATCHES
INTRASSERTED
tVI 1/2 fCLK
VALIDDATA
VALIDDATA
INTR RESETINTR
CS
RD
DATAOUTPUTS
THREE-STATE
(HI-Z)
tRI
tACCt1H, t0H
ADC0802, ADC0803, ADC0804
6-12
Understanding A/D Error SpecsA perfect A/D transfer characteristic (staircase wave-form) isshown in Figure 11A. The horizontal scale is analog input volt-age and the particular points labeled are in steps of 1 LSB(19.53mV with 2.5V tied to the VREF/2 pin). The digital outputcodes which correspond to these inputs are shown as D-1, D,and D+1. For the perfect A/D, not only will center-value (A - 1,A, A + 1, . . .) analog inputs produce the correct output digitalcodes, but also each riser (the transitions between adjacentoutput codes) will be located ±1/2 LSB away from each center-value. As shown, the risers are ideal and have no width. Correctdigital output codes will be provided for a range of analog inputvoltages which extend ±1/2 LSB from the ideal center-values.Each tread (the range of analog input voltage which providesthe same digital output code) is therefore 1 LSB wide.
The error curve of Figure 11B shows the worst case transferfunction for the ADC0802. Here the specification guaranteesthat if we apply an analog input equal to the LSB analog volt-age center-value, the A/D will produce the correct digital code.
Next to each transfer function is shown the corresponding errorplot. Notice that the error includes the quantization uncertainty ofthe A/D. For example, the error at point 1 of Figure 11A is+1/2 LSB because the digital code appeared 1/2 LSB in advanceof the center-value of the tread. The error plots always have a
constant negative slope and the abrupt upside steps are always1 LSB in magnitude, unless the device has missing codes.
Detailed DescriptionThe functional diagram of the ADC0802 series of A/Dconverters operates on the successive approximation princi-ple (see Application Notes AN016 and AN020 for a moredetailed description of this principle). Analog switches areclosed sequentially by successive-approximation logic untilthe analog differential input voltage [VlN(+) - VlN(-)] matchesa voltage derived from a tapped resistor string across thereference voltage. The most significant bit is tested first andafter 8 comparisons (64 clock cycles), an 8-bit binary code(1111 1111 = full scale) is transferred to an output latch.
The normal operation proceeds as follows. On the high-to-lowtransition of the WR input, the internal SAR latches and theshift-register stages are reset, and the INTR output will be sethigh. As long as the CS input and WR input remain low, theA/D will remain in a reset state. Conversion will start from 1 to8 clock periods after at least one of these inputs makes a low-to-high transition. After the requisite number of clock pulses tocomplete the conversion, the INTR pin will make a high-to-lowtransition. This can be used to interrupt a processor, orotherwise signal the availability of a new conversion. A RDoperation (with CS low) will clear the INTR line high again.
TRANSFER FUNCTION ERROR PLOT
FIGURE 11A. ACCURACY = ±0 LSB; PERFECT A/D
TRANSFER FUNCTION ERROR PLOT
FIGURE 11B. ACCURACY = ±1/2 LSB
FIGURE 11. CLARIFYING THE ERROR SPECS OF AN A/D CONVERTER
ANALOG INPUT (V IN)
DIG
ITA
L O
UT
PU
T C
OD
ED + 1
D
D - 1
A + 1AA - 1
3
21
5 6
4
3
2
1 5
64
ER
RO
R
0
+1 LSB
-1 LSB
-1/2 LSB
+1/2 LSB
* QUANTIZATION ERROR
A
ANALOG INPUT (V IN)
A + 1A - 1
ANALOG INPUT (V IN)
DIG
ITA
L O
UT
PU
T C
OD
E
D + 1
D
D - 1
A + 1AA - 1
3
21
5
6
4*0
+1 LSB
-1 LSB
QUANTIZATION
ER
RO
R
3
2
1
6
4
ANALOG INPUT (V IN)
A + 1AA - 1
ERROR
ADC0802, ADC0803, ADC0804
6-13
The device may be operated in the free-running mode by con-necting INTR to the WR input with CS = 0. To ensure start-upunder all possible conditions, an external WR pulse is requiredduring the first power-up cycle. A conversion-in-process canbe interrupted by issuing a second start command.
Digital Operation
The converter is started by having CS and WR simultaneouslylow. This sets the start flip-flop (F/F) and the resulting “1” levelresets the 8-bit shift register, resets the Interrupt (INTR) F/Fand inputs a “1” to the D flip-flop, DFF1, which is at the inputend of the 8-bit shift register. Internal clock signals then trans-fer this “1” to the Q output of DFF1. The AND gate, G1, com-bines this “1” output with a clock signal to provide a resetsignal to the start F/F. If the set signal is no longer present(either WR or CS is a “1”), the start F/F is reset and the 8-bitshift register then can have the “1” clocked in, which starts theconversion process. If the set signal were to still be present,this reset pulse would have no effect (both outputs of the startF/F would be at a “1” level) and the 8-bit shift register wouldcontinue to be held in the reset mode. This allows for asyn-chronous or wide CS and WR signals.
After the “1” is clocked through the 8-bit shift register (whichcompletes the SAR operation) it appears as the input toDFF2. As soon as this “1” is output from the shift register, theAND gate, G2, causes the new digital word to transfer to theThree-State output latches. When DFF2 is subsequentlyclocked, the Q output makes a high-to-low transition whichcauses the INTR F/F to set. An inverting buffer then suppliesthe INTR output signal.
When data is to be read, the combination of both CS and RDbeing low will cause the INTR F/F to be reset and the three-state output latches will be enabled to provide the 8-bit digitaloutputs.
Digital Control Inputs
The digital control inputs (CS, RD, and WR) meet standardTTL logic voltage levels. These signals are essentially equiva-lent to the standard A/D Start and Output Enable control sig-nals, and are active low to allow an easy interface tomicroprocessor control busses. For non-microprocessorbased applications, the CS input (pin 1) can be grounded andthe standard A/D Start function obtained by an active lowpulse at the WR input (pin 3). The Output Enable function isachieved by an active low pulse at the RD input (pin 2).
Analog Operation
The analog comparisons are performed by a capacitivecharge summing circuit. Three capacitors (with precise ratioedvalues) share a common node with the input to an auto-zeroed comparator. The input capacitor is switched betweenVlN(+) and VlN(-), while two ratioed reference capacitors areswitched between taps on the reference voltage divider string.The net charge corresponds to the weighted differencebetween the input and the current total value set by the suc-cessive approximation register. A correction is made to offsetthe comparison by 1/2 LSB (see Figure 11A).
Analog Differential Voltage Inputs and Common-ModeRejection
This A/D gains considerable applications flexibility from the ana-log differential voltage input. The VlN(-) input (pin 7) can be used
to automatically subtract a fixed voltage value from the inputreading (tare correction). This is also useful in 4mA - 20mA cur-rent loop conversion. In addition, common-mode noise can bereduced by use of the differential input.
The time interval between sampling VIN(+) and VlN(-) is 41/2clock periods. The maximum error voltage due to this slighttime difference between the input voltage samples is given by:
where:
∆VE is the error voltage due to sampling delay,
VPEAK is the peak value of the common-mode voltage,
fCM is the common-mode frequency.
For example, with a 60Hz common-mode frequency, fCM,and a 640kHz A/D clock, fCLK, keeping this error to 1/4 LSB(~5mV) would allow a common-mode voltage, VPEAK, givenby:
,
or
.
The allowed range of analog input voltage usually placesmore severe restrictions on input common-mode voltagelevels than this.
An analog input voltage with a reduced span and a relativelylarge zero offset can be easily handled by making use of thedifferential input (see Reference Voltage Span Adjust).
Analog Input Current
The internal switching action causes displacement currents toflow at the analog inputs. The voltage on the on-chip capaci-tance to ground is switched through the analog differentialinput voltage, resulting in proportional currents entering theVIN(+) input and leaving the VIN(-) input. These current tran-sients occur at the leading edge of the internal clocks. Theyrapidly decay and do not inherently cause errors as the on-chip comparator is strobed at the end of the clock perIod.
Input Bypass Capacitors
Bypass capacitors at the inputs will average these chargesand cause a DC current to flow through the output resistancesof the analog signal sources. This charge pumping action isworse for continuous conversions with the VIN(+) input voltageat full scale. For a 640kHz clock frequency with the VIN(+)input at 5V, this DC current is at a maximum of approximately5µA. Therefore, bypass capacitors should not be used atthe analog inputs or the V REF/2 pin for high resistancesources (>1kΩ). If input bypass capacitors are necessary fornoise filtering and high source resistance is desirable to mini-mize capacitor size, the effects of the voltage drop across thisinput resistance, due to the average value of the input current,can be compensated by a full scale adjustment while thegiven source resistor and input bypass capacitor are both inplace. This is possible because the average value of the inputcurrent is a precise linear function of the differential inputvoltage at a constant conversion rate.
VE MAX( )∆ VPEAK( ) 2πfCM( ) 4.5fCLK------------=
VPEAK
∆VE MAX( ) fCLK( )
2πfCM( ) 4.5( )--------------------------------------------------=
VPEAK5 10
3–×( ) 640 103×( )
6.28( ) 60( ) 4.5( )---------------------------------------------------------- 1.9V≅=
ADC0802, ADC0803, ADC0804
6-14
Input Source Resistance
Large values of source resistance where an input bypasscapacitor is not used will not cause errors since the inputcurrents settle out prior to the comparison time. If a low-pass filter is required in the system, use a low-value seriesresistor (≤1kΩ) for a passive RC section or add an op ampRC active low-pass filter. For low-source-resistanceapplications (≤1kΩ), a 0.1µF bypass capacitor at the inputswill minimize EMI due to the series lead inductance of a longwire. A 100Ω series resistor can be used to isolate thiscapacitor (both the R and C are placed outside the feedbackloop) from the output of an op amp, if used.
Stray Pickup
The leads to the analog inputs (pins 6 and 7) should be keptas short as possible to minimize stray signal pickup (EMI).Both EMI and undesired digital-clock coupling to these inputscan cause system errors. The source resistance for theseinputs should, in general, be kept below 5kΩ. Larger values ofsource resistance can cause undesired signal pickup. Inputbypass capacitors, placed from the analog inputs to ground,will eliminate this pickup but can create analog scale errors asthese capacitors will average the transient input switching cur-rents of the A/D (see Analog Input Current). This scale errordepends on both a large source resistance and the use of aninput bypass capacitor. This error can be compensated by afull scale adjustment of the A/D (see Full Scale Adjustment)with the source resistance and input bypass capacitor inplace, and the desired conversion rate.
Reference Voltage Span Adjust
For maximum application flexibility, these A/Ds have beendesigned to accommodate a 5V, 2.5V or an adjusted voltagereference. This has been achieved in the design of the IC asshown in Figure 12.
Notice that the reference voltage for the IC is either 1/2 of thevoltage which is applied to the V+ supply pin, or is equal tothe voltage which is externally forced at the VREF/2 pin. Thisallows for a pseudo-ratiometric voltage reference using, forthe V+ supply, a 5V reference voltage. Alternatively, a volt-age less than 2.5V can be applied to the VREF/2 input. Theinternal gain to the VREF/2 input is 2 to allow this factor of 2reduction in the reference voltage.
Such an adjusted reference voltage can accommodate areduced span or dynamic voltage range of the analog inputvoltage. If the analog input voltage were to range from 0.5V to3.5V, instead of 0V to 5V, the span would be 3V. With 0.5Vapplied to the VlN(-) pin to absorb the offset, the referencevoltage can be made equal to 1/2 of the 3V span or 1.5V. TheA/D now will encode the VlN(+) signal from 0.5V to 3.5V withthe 0.5V input corresponding to zero and the 3.5V input corre-sponding to full scale. The full 8 bits of resolution are thereforeapplied over this reduced analog input voltage range. The req-uisite connections are shown in Figure 13. For expandedscale inputs, the circuits of Figures 14 and 15 can be used.
FIGURE 12. THE VREFERENCE DESIGN ON THE IC
FIGURE 13. OFFSETTING THE ZERO OF THE ADC0802 ANDPERFORMING AN INPUT RANGE (SPAN)ADJUSTMENT
FIGURE 14. HANDLING ±10V ANALOG INPUT RANGE
V+
DGND
VREF/2
AGND
(VREF)
R
R
DIGITALCIRCUITS
ANALOGCIRCUITS
9
8 10
20
DECODE
300TO VREF/2
TO VIN(-)ZERO SHIFT VOLTAGE
0.1µF
5V
-+
VREF(5V)
FSADJ.
“SPAN”/2
ICL7611
VIN(-)
2R
5V
2R
VIN ± 10V
R
VIN(+)
(VREF)
V+20
10µF
6
7
+
ADC0802-ADC0804
ADC0802, ADC0803, ADC0804
6-15
Reference Accuracy Requirements
The converter can be operated in a pseudo-ratiometric modeor an absolute mode. In ratiometric converter applications,the magnitude of the reference voltage is a factor in both theoutput of the source transducer and the output of the A/Dconverter and therefore cancels out in the final digital outputcode. In absolute conversion applicatIons, both the initialvalue and the temperature stability of the reference voltageare important accuracy factors in the operation of the A/Dconverter. For VREF/2 voltages of 2.5V nominal value, initialerrors of ±10mV will cause conversion errors of ±1 LSB dueto the gain of 2 of the VREF/2 input. In reduced span applica-tions, the initial value and the stability of the VREF/2 inputvoltage become even more important. For example, if thespan is reduced to 2.5V, the analog input LSB voltage valueis correspondingly reduced from 20mV (5V span) to 10mVand 1 LSB at the VREF/2 input becomes 5mV. As can beseen, this reduces the allowed initial tolerance of the refer-ence voltage and requires correspondingly less absolutechange with temperature variations. Note that spans smallerthan 2.5V place even tighter requirements on the initial accu-racy and stability of the reference source.
In general, the reference voltage will require an initialadjustment. Errors due to an improper value of referencevoltage appear as full scale errors in the A/D transfer func-tion. IC voltage regulators may be used for references if theambient temperature changes are not excessive.
Zero Error
The zero of the A/D does not require adjustment. If theminimum analog input voltage value, VlN(MlN), is not ground, azero offset can be done. The converter can be made to output0000 0000 digital code for this minimum input voltage by bias-ing the A/D VIN(-) input at this VlN(MlN) value (see Applicationssection). This utilizes the differential mode operation of the A/D.
The zero error of the A/D converter relates to the location ofthe first riser of the transfer function and can be measured bygrounding the VIN(-) input and applying a small magnitudepositive voltage to the VIN(+) input. Zero error is the differencebetween the actual DC input voltage which is necessary tojust cause an output digital code transition from 0000 0000 to0000 0001 and the ideal 1/2 LSB value (1/2 LSB = 9.8mV forVREF/2 = 2.500V).
Full Scale Adjust
The full scale adjustment can be made by applying adifferential input voltage which is 11/2 LSB down from thedesired analog full scale voltage range and then adjustingthe magnitude of the VREF/2 input (pin 9) for a digital outputcode which is just changing from 1111 1110 to 1111 1111.When offsetting the zero and using a span-adjusted VREF/2voltage, the full scale adjustment is made by inputting VMlNto the VIN(-) input of the A/D and applying a voltage to theVIN(+) input which is given by:
,
where:
VMAX = the high end of the analog input range,
and
VMIN = the low end (the offset zero) of the analog range.(Both are ground referenced.)
Clocking Option
The clock for the A/D can be derived from an external sourcesuch as the CPU clock or an external RC network can beadded to provIde self-clocking. The CLK IN (pin 4) makesuse of a Schmitt trigger as shown in Figure 16.
Heavy capacitive or DC loading of the CLK R pin should beavoided as this will disturb normal converter operation.Loads less than 50pF, such as driving up to 7 A/D converterclock inputs from a single CLK R pin of 1 converter, areallowed. For larger clock line loading, a CMOS or low powerTTL buffer or PNP input logic should be used to minimize theloading on the CLK R pin (do not use a standard TTL buffer).
Restart During a Conversion
If the A/D is restarted (CS and WR go low and return high)during a conversion, the converter is reset and a new con-version is started. The output data latch is not updated if theconversion in progress is not completed. The data from theprevious conversion remain in this latch.
Continuous Conversions
In this application, the CS input is grounded and the WRinput is tied to the INTR output. This WR and INTR nodeshould be momentarily forced to logic low following a power-up cycle to insure circuit operation. See Figure 17 for details.
FIGURE 15. HANDLING ±5V ANALOG INPUT RANGE
VIN(-)
R
5V
VIN ±5V
R
VIN(+)
(VREF)
V+20
10µF
6
7
+
ADC0802-ADC0804
VIN +( )fSADJ VMAX 1.5VMAX VMIN–( )
256-----------------------------------------–=
CLK R
4CLK IN
CLK
ADC0802-ADC0804
fCLK ≅
19
R
C
11.1 RC
R ≅ 10kΩ
FIGURE 16. SELF-CLOCKING THE A/D
ADC0802, ADC0803, ADC0804
6-16
Driving the Data Bus
This CMOS A/D, like MOS microprocessors and memories,will require a bus driver when the total capacitance of thedata bus gets large. Other circuItry, which is tied to the databus, will add to the total capacitive loading, even in three-state (high-impedance mode). Back plane busing alsogreatly adds to the stray capacitance of the data bus.
There are some alternatives available to the designer to han-dle this problem. Basically, the capacitive loading of the databus slows down the response time, even though DC specifi-cations are still met. For systems operating with a relativelyslow CPU clock frequency, more time is available in which toestablish proper logic levels on the bus and therefore highercapacitive loads can be driven (see Typical PerformanceCurves).
At higher CPU clock frequencies time can be extended forI/O reads (and/or writes) by inserting wait states (8080) orusing clock-extending circuits (6800).
Finally, if time is short and capacitive loading is high,external bus drivers must be used. These can be three-statebuffers (low power Schottky is recommended, such as the74LS240 series) or special higher-drive-current productswhich are designed as bus drivers. High-current bipolar busdrivers with PNP inputs are recommended.
Power Supplies
Noise spikes on the V+ supply line can cause conversionerrors as the comparator will respond to this noise. Alow-inductance tantalum filter capacitor should be usedclose to the converter V+ pin, and values of 1µF or greaterare recommended. If an unregulated voltage is available inthe system, a separate 5V voltage regulator for the converter(and other analog circuitry) will greatly reduce digital noiseon the V+ supply. An lCL7663 can be used to regulate sucha supply from an input as low as 5.2V.
Wiring and Hook-Up Precautions
Standard digital wire-wrap sockets are not satisfactory forbreadboarding with this A/D converter. Sockets on PCboards can be used. All logic signal wires and leads shouldbe grouped and kept as far away as possible from the analog
signal leads. Exposed leads to the analog inputs can causeundesired digital noise and hum pickup; therefore, shieldedleads may be necessary in many applications.
A single-point analog ground should be used which is separatefrom the logic ground points. The power supply bypass capaci-tor and the self-clockIng capacitor (if used) should both bereturned to digital ground. Any VREF/2 bypass capacitors, ana-log input filter capacitors, or input signal shielding should bereturned to the analog ground point. A test for proper groundingis to measure the zero error of the A/D converter. Zero errors inexcess of 1/4 LSB can usually be traced to improper boardlayout and wiring (see Zero Error for measurement). Furtherinformation can be found in Application Note AN018.
Testing the A/D ConverterThere are many degrees of complexity associated with testingan A/D converter. One of the simplest tests is to apply aknown analog input voltage to the converter and use LEDs todisplay the resulting digital output code as shown in Figure 18.
For ease of testing, the VREF/2 (pin 9) should be suppliedwith 2.560V and a V+ supply voltage of 5.12V should beused. This provides an LSB value of 20mV.
If a full scale adjustment is to be made, an analog input volt-age of 5.090V (5.120 - 11/2 LSB) should be applied to theVIN(+) pin with the VIN(-) pin grounded. The value of theVREF/2 input voltage should be adjusted until the digital out-put code is just changing from 1111 1110 to 1111 1111. Thisvalue of VREF/2 should then be used for all the tests.
The digital-output LED display can be decoded by dividing the 8bits into 2 hex characters, one with the 4 most-significant bits(MS) and one with the 4 least-significant bits (LS). The output isthen interpreted as a sum of fractions times the full scale voltage:
.
For example, for an output LED display of 1011 0110, theMS character is hex B (decimal 11) and the LS character ishex (and decimal) 6, so:
.
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
ADC0802 - ADC0804
WR
RD
CS
INTR
CLK IN
VIN (-)
VIN (+)
DGND
VREF/2
AGND
DB1
DB0
DB4
DB3
DB2
DB7
DB6
DB5
CLK R
V+
10K 5V (VREF)
10µF+
DATA
START
ANALOGINPUTS
150pF
OUTPUTS
N.O.
MSB
LSB
FIGURE 17. FREE-RUNNING CONNECTION
VOUTMS16--------- LS
256----------+
5.12( )V=
START
VIN (+)
DGND
2.560VAGND
10µF
150pF
N.O.
0.1µF
0.1µF
TANTALUM
5.120V
5V
1.3kΩ LEDs(8) (8)
MSB
LSB
10kΩ
VREF/2
+
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
ADC0802-ADC0804
FIGURE 18. BASIC TESTER FOR THE A/D
VOUT1116------ 6
256----------+
5.12( ) 3.64V= =
ADC0802, ADC0803, ADC0804
6-17
Figures 19 and 20 show more sophisticated test circuits.
Typical ApplicationsInterfacing 8080/85 or Z-80 Microprocessors
This converter has been designed to directly interface with8080/85 or Z-80 Microprocessors. The three-state outputcapability of the A/D eliminates the need for a peripheralinterface device, although address decoding is still requiredto generate the appropriate CS for the converter. The A/Dcan be mapped into memory space (using standard mem-ory-address decoding for CS and the MEMR and MEMWstrobes) or it can be controlled as an I/O device by using theI/OR and I/OW strobes and decoding the address bits A0 →A7 (or address bits A8 → A15, since they will contain thesame 8-bit address information) to obtain the CS input.Using the I/O space provides 256 additional addresses andmay allow a simpler 8-bit address decoder, but the data canonly be input to the accumulator. To make use of the addi-tional memory reference instructions, the A/D should bemapped into memory space. See AN020 for more discus-sion of memory-mapped vs I/O-mapped interfaces. Anexample of an A/D in I/O space is shown in Figure 21.
The standard control-bus signals of the 8080 (CS, RD andWR) can be directly wired to the digital control inputs of theA/D, since the bus timing requirements, to allow both startingthe converter, and outputting the data onto the data bus, aremet. A bus driver should be used for larger microprocessorsystems where the data bus leaves the PC board and/ormust drive capacitive loads larger than 100pF.
It is useful to note that in systems where the A/D converter is1 of 8 or fewer I/O-mapped devices, no address-decodingcircuitry is necessary. Each of the 8 address bits (A0 to A7)can be directly used as CS inputs, one for each I/O device.
Interfacing the Z-80 and 8085
The Z-80 and 8085 control buses are slightly different fromthat of the 8080. General RD and WR strobes are providedand separate memory request, MREQ, and I/O request,IORQ, signals have to be combined with the generalizedstrobes to provide the appropriate signals. An advantage ofoperating the A/D in I/O space with the Z-80 is that the CPUwill automatically insert one wait state (the RD and WRstrobes are extended one clock period) to allow more timefor the I/O devices to respond. Logic to map the A/D in I/Ospace is shown in Figure 22. By using MREQ in place ofIORQ, a memory-mapped configuration results.
Additional I/O advantages exist as software DMA routines areavailable and use can be made of the output data transferwhich exists on the upper 8 address lines (A8 to A15) duringI/O input instructions. For example, MUX channel selection forthe A/D can be accomplished with this operating mode.
The 8085 also provides a generalized RD and WR strobe, withan IO/M line to distinguish I/O and memory requests. The circuitof Figure 22 can again be used, with IO/M in place of IORQ fora memory-mapped interface, and an extra inverter (or the logicequivalent) to provide IO/M for an I/O-mapped connection.
Interfacing 6800 Microprocessor Derivatives (6502, etc.)
The control bus for the 6800 microprocessor derivatives doesnot use the RD and WR strobe signals. Instead it employs asingle R/W line and additional timing, if needed, can be derivedfrom the φ2 clock. All I/O devices are memory-mapped in the6800 system, and a special signal, VMA, indicates that the cur-rent address is valid. Figure 23 shows an interface schematicwhere the A/D is memory-mapped in the 6800 system. For sim-plicity, the CS decoding is shown using 1/2 DM8092. Note thatin many 6800 systems, an already decoded 4/5 line is broughtout to the common bus at pin 21. This can be tied directly to theCS pin of the A/D, provided that no other devices areaddressed at HEX ADDR: 4XXX or 5XXX.
In Figure 24 the ADC0802 series is interfaced to the MC6800microprocessor through (the arbitrarily chosen) Port B of theMC6820 or MC6821 Peripheral Interface Adapter (PlA). Herethe CS pin of the A/D is grounded since the PlA is alreadymemory-mapped in the MC6800 system and no CS decodingis necessary. Also notice that the A/D output data lines are con-nected to the microprocessor bus under program controlthrough the PlA and therefore the A/D RD pin can be grounded.
Application Notes
ANALOGINPUTS
“A”
R
“B”
R
RR
“C”
100R
-+ A2
8-BITA/D UNDER
TEST
10-BITDAC
VANALOG OUTPUT
100X ANALOG
-+A1
ERROR VOLTAGE
FIGURE 19. A/D TESTER WITH ANALOG ERROR OUTPUT. THISCIRCUIT CAN BE USED TO GENERATE “ERRORPLOTS” OF FIGURE 11.
A/D UNDERTEST
10-BITDAC
DIGITAL
VANALOGINPUTS
DIGITALOUTPUTS
FIGURE 20. BASIC “DIGITAL” A/D TESTER
NOTE # DESCRIPTIONAnswerFAX
DOC. #
AN016 “Selecting A/D Converters” 9016
AN018 “Do’s and Don’ts of Applying A/DConverters”
9018
AN020 “A Cookbook Approach to High SpeedData Acquisition and MicroprocessorInterfacing”
9020
AN030 “The ICL7104 - A Binary Output A/DConverter for Microprocessors”
9030
ADC0802, ADC0803, ADC0804
6-18
NOTE: Pin numbers for 8228 System Controller: Others are 8080A.
FIGURE 21. ADC0802 TO 8080A CPU INTERFACE
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
ADC0802 - ADC0804
WR
RD
CS
INTR
CLK IN
VIN (-)
VIN (+)
DGND
VREF/2
AGND
DB1
DB0
DB4
DB3
DB2
DB7
DB6
DB5
CLK R
V+
10K
5V 10µF+
ANALOGINPUTS
150pF
MSB
LSB
DB1 (16) (NOTE)
DB0 (13) (NOTE)
DB4 (5) (NOTE)
DB3 (9) (NOTE)
DB2 (11) (NOTE)
DB7 (7) (NOTE)
DB6 (20) (NOTE)
DB5 (18) (NOTE)
5V
AD15 (36)
AD14 (39)
AD13 (38)
AD12 (37)
AD11 (40)
AD10 (1)
8131BUS
COMPARATOR
INT (14)
I/O RD (25) (NOTE)
I/O WR (27) (NOTE)
T5
T4
T3
T2
T1
T0
B5
B4
B3
B2
B1
B0
V+OUT
ADC0802, ADC0803, ADC0804
6-19
FIGURE 22. MAPPING THE A/D AS ANI/O DEVICE FOR USEWITH THE Z-80 CPU
FIGURE 23. ADC0802 TO MC6800 CPU INTERFACE
FIGURE 24. ADC0802 TO MC6820 PIA INTERFACE
WR
RD
IORQ
RD
WR
74C32
ADC0802-ADC0804
3
2
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
ADC0802 - ADC0804
WR
RD
CS
INTR
CLK IN
VIN (-)
VIN (+)
DGND
VREF/2
AGND
DB1
DB0
DB4
DB3
DB2
DB7
DB6
DB5
CLK R
V+
10K
5V (8)
10µF+
ANALOGINPUTS
150pFMSB
LSB
D1 (32) [29]
D0 (33) [31]
D4 (29) [32]
D3 (30) [H]
D2 (31) [K]
D7 (26) [J]
D6 (27) [L]
D5 (28) [30]
A12 (22) [34]
A13 (23) [N]
A14 (24) [M]
A15 (25) [33]
VMA (5) [F]
IRQ (4)† [D] ††
R/W (34) [6]
1
2
3
4
5
6
1/2 DM8092
A B C1 2 3
† Numbers in parentheses refer to MC6800 CPU Pinout.†† Numbers or letters in brackets refer to standard MC6800 System Common Bus Code.
11
12
13
14
15
16
17
18
20
19
10
9
8
7
6
5
4
3
2
1
ADC0802 - ADC0804
WR
RD
CS
INTR
CLK IN
VIN (-)
VIN (+)
DGND
VREF/2
AGND
DB1
DB0
DB4
DB3
DB2
DB7
DB6
DB5
CLK R
V+
10K
5V
ANALOGINPUTS
150pFMSB
LSB
11
10
14
13
12
17
16
15
PB1
PB0
PB4
PB3
PB2
PB7
PB6
PB5
MC6820(MCS6520)
PIA
CB2
CB119
18
ADC0802, ADC0803, ADC0804
6-20
Die Characteristics
DIE DIMENSIONS:
(101 mils x 93 mils) x 525µm x 25µm
METALLIZATION:
Type: AlThickness: 10kÅ ±1kÅ
PASSIVATION:
Type: Nitride over SiloxNitride Thickness: 8kÅSilox Thickness: 7kÅ
Metallization Mask LayoutADC0802, ADC0803, ADC0804
WR
RD
CS
CLK ININTRVIN (-) VIN (+)
DGND
VREF/2
AGND
V+ OR VREF
CLK R
DB0DB1DB2DB3DB4
DB5
DB6
DB7 (MSB)
V+ OR VREF
ADC0802, ADC0803, ADC0804
5-1
FAST AND LS TTL DATA
BCD TO 7-SEGMENTDECODER
The SN54/74LS48 is a BCD to 7-Segment Decoder consisting of NANDgates, input buffers and seven AND-OR-INVERT gates. Seven NAND gatesand one driver are connected in pairs to make BCD data and its complementavailable to the seven decoding AND-OR-INVERT gates. The remainingNAND gate and three input buffers provide lamp test, blanking input/ripple-blanking input for the LS48.
The circuit accepts 4-bit binary-coded-decimal (BCD) and, depending onthe state of the auxiliary inputs, decodes this data to drive other components.The relative positive logic output levels, as well as conditions required at theauxiliary inputs, are shown in the truth tables.
The LS48 circuit incorporates automatic leading and/or trailing edgezero-blanking control (RBI and RBO). Lamp Test (LT) may be activated anytime when the BI /RBO node is HIGH. Both devices contain an overridingblanking input (BI) which can be used to control the lamp intensity by varyingthe frequency and duty cycle of the BI input signal or to inhibit the outputs.• Lamp Intensity Modulation Capability (BI/RBO)• Internal Pull-Ups Eliminate Need for External Resistors• Input Clamp Diodes Eliminate High-Speed Termination Effects
14 13 12 11 10 9
1 2 3 4 5 6
VCC
7
16 15
8
f g a b c d e
B C LT BI / RBO RBI D A GND
CONNECTION DIAGRAM DIP (TOP VIEW)
LOGIC DIAGRAM
INPUT
BLANKING INPUT ORRIPPLE-BLANKINGOUTPUT
RIPPLE-BLANKINGINPUT
LAMP-TESTINPUT
A
B
C
D
a
b
c
d
e
f
g
OUTPUT
SN54/74LS48
BCD TO 7-SEGMENTDECODER
LOW POWER SCHOTTKY
J SUFFIXCERAMIC
CASE 620-09
N SUFFIXPLASTIC
CASE 648-08
161
16
1
ORDERING INFORMATION
SN54LSXXJ CeramicSN74LSXXN PlasticSN74LSXXD SOIC
161
D SUFFIXSOIC
CASE 751B-03
LOGIC SYMBOL
VCC = PIN 16GND = PIN 8
7 1 2 6 3 5
13 12 11 10 9 15 14 4
A B C D LT RBI
a b c d e f gBI/RBO
SN54/74LS48
14 15
NUMERICAL DESIGNATIONS — RESULTANT DISPLAYS
0 1 2 3 4 5 6 7 8 9 10 11 12 13
NOTES:(1) BI/RBO is wired-AND logic serving as blanking input (BI) and/or
ripple-blanking output (RBO). The blanking out (BI) must be openor held at a HIGH level when output functions 0 through 15 aredesired, and ripple-blanking input (RBI) must be open or at a HIGHlevel if blanking of a decimal 0 is not desired. X=input may be HIGHor LOW.
(2) When a LOW level is applied to the blanking input (forced condition)all segment outputs go to a LOW level, regardless of the state of anyother input condition.
(3) When ripple-blanking input (RBI) and inputs A, B, C, and D are atLOW level, with the lamp test input at HIGH level, all segmentoutputs go to a HIGH level and the ripple-blanking output (RBO)goes to a LOW level (response condition).
(4) When the blanking input/ripple-blanking output (BI/RBO) is open orheld at a HIGH level, and a LOW level is applied to lamp-test input,all segment outputs go to a LOW level.
TRUTH TABLESN54/74LS48
INPUTS OUTPUTS
5-2
FAST AND LS TTL DATA
SN54/74LS48
PIN NAMES LOADING (Note a)
HIGH LOW
A, B, C, DRBILTBI /RBO
BI
BCD InputsRipple-Blanking (Active Low) InputLamp-Test (Active Low) InputBlanking Input or Ripple-Blanking Output (Active Low)Blanking (Active Low) Input
0.5 U.L.0.5 U.L.0.5 U.L.0.5 U.L.1.2 U.L.0.5 U.L.
Open-Collector
0.25 U.L.0.25 U.L.0.25 U.L.0.75 U.L.2(1) U.L.0.25 U.L.3.75 (1.25) U.L. (48)
NOTES:a) Unit Load (U.L.) = 40 µA HIGH / 1.6 mA LOWb) Outut current measured at VOUT = 0.5 V
Output LOW drive factor is SN54LS / 74LS48: 1.25 U.L. for Military (54), 3.75 U.L. for Commercial (74).
DECIMALOR
FUNCTIONLT RBI D C B A BI / RBO a b c d e f g NOTE
0 H H L L L L H H H H H H H L 1
1 H X L L L H H L H H L L L L 1
2 H X L L H L H H H L H H L H
3 H X L L H H H H H H H L L H
4 H X L H L L H L H H L L H H
5 H X L H L H H H L H H L H H
6 H X L H H L H L L H H H H H
7 H X L H H H H H H H L L L L
8 H X H L L L H H H H H H H H
9 H X H L L H H H H H L L H H
10 H X H L H L H L L L H H L H
11 H X H L H H H L L H H L L H
12 H X H H L L H L H L L L H H
13 H X H H L H H H L L H L H H
14 H X H H H L H L L L H H H H
15 H X H H H H H L L L L L L L
BI X X X X X X L L L L L L L L 2
RBI H L L L L L L L L L L L L L 3
LT L X X X X X H H H H H H H H 4
5-3
FAST AND LS TTL DATA
SN54/74LS48
GUARANTEED OPERATING RANGES
Symbol Parameter Min Typ Max Unit
VCC Supply Voltage 5474
4.54.75
5.05.0
5.55.25
V
TA Operating Ambient Temperature Range 5474
–550
2525
12570
°C
IOH Output Current — High a to g 54, 74 –100 µA
IOH Output Current — High BI /RBO 54, 74 –50 µA
IOL Output Current — Low a to g 5474
2.06.0
mA
IOL Output Current — Low BI /RBOBI /RBO
5474
1.63.2
mA
DC CHARACTERISTICS OVER OPERATING TEMPERATURE RANGE (unless otherwise specified)
S b l P
Limits
U i T C di iSymbol Parameter Min Typ Max Unit Test Conditions
VIH Input HIGH Voltage 2.0 VGuaranteed Input HIGH Voltage forAll Inputs
VIL Input LOW Voltage54 0.7
VGuaranteed Input LOW Voltage for
VIL Input LOW Voltage74 0.8
Vp g
All Inputs
VIK Input Clamp Diode Voltage –1.5 V VCC = MIN, IIN = –18 mA
VOH Output HIGH Voltage 2 4 4 2 µAVCC = MIN, IOH = –50 µA,
VOH Output HIGH Voltage 2.4 4.2 µA CC , OH µ ,VIN = VIH or U.L. per Truth Table
IO Output Current a to g –1.3 –2.0 mAVCC = MIN, VO = 0.85 VInput Conditioner as for VOH
VOL Output LOW Voltage a to g54, 74 0.4 V IOL = 2.0 mA VCC = MIN, VIH = 2.0 V
VOL Output LOW Voltage a to g74 0.5 V IOL = 6.0 mA
CC , IHVIL = VIL MAX
VOLOutput LOW Voltage 54, 74 0.4 V IOL = 1.6 mA VCC = MAX, VIH = 2.0 V
VOLp g
BI /RBO 74 0.5 V IOL = 3.2 mACC , IH
VIL = VIL MAX
IIHInput HIGH Current 20 µA VCC = MAX, VIN = 2.7 V
IIHp
(Except BI /RBO) 0.1 mA VCC = MAX, VIN = 7.0 V
IILInput LOW Current(Except BI /RBO) –0.4 mA VCC = MAX, VIN = 0.4 V
IIL Input LOW Current BI /RBO –1.2 mA VCC = MAX, VIN = 0.4 V
ICC Power Supply Current 25 38 mA VCC = MAX
IOS Short Circuit Current BI /RBO (Note 1) –0.3 –2.0 mA VCC = MAX
Note 1: Not more than one output should be shorted at a time, nor for more than 1 second.
AC CHARACTERISTICS (VCC = 5.0 V, TA = 25°C)
S b l P
Limits
U i T C di iSymbol Parameter Min Typ Max Unit Test Conditions
tPHLPropagation Delay Time, HIGH-to-LOWLevel Output from A Input
100 ns
CL = 15 pF RL = 4 0 kΩtPLH
Propagation Delay Time, LOW-to-HIGHLevel Output from A Input
100 ns
CL = 15 pF, RL = 4.0 kΩ
tPHLPropagation Delay Time, HIGH-to-LOWLevel Output from RBI Input
100 ns
CL = 15 pF RL = 6 0 kΩtPLH
Propagation Delay Time, LOW-to-HIGHLevel Output from RBI Input
100 ns
CL = 15 pF, RL = 6.0 kΩ