Menguasai IC 555 Timer: Prinsip, Diagram Blok, dan Skematik Rangkaian
Dalam tutorial ini kita akan mempelajari cara kerja 555 Timer, salah satu IC paling populer dan banyak digunakan sepanjang masa. Anda dapat menonton video berikut atau membaca tutorial tertulis di bawahnya.
Ringkasan
555 Timer, dirancang oleh Hans Camenzind pada tahun 1971, dapat ditemukan di banyak perangkat elektronik mulai dari mainan dan peralatan dapur hingga bahkan pesawat angkasa. Ini adalah rangkaian terpadu yang sangat stabil yang dapat menghasilkan penundaan waktu yang akurat dan osilasi. 555 Timer memiliki tiga mode operasi, bistable, monostable dan astable mode.
Cara Kerja, Skematik Internal dan Diagram Blok
Mari kita lihat lebih dekat apa yang ada di dalam 555 Timer dan jelaskan cara kerjanya dalam masing-masing dari tiga mode. Berikut adalah skematik internal 555 Timer yang terdiri dari 25 transistor, 2 dioda dan 15 resistor.
Direpresentasikan dengan diagram blok terdiri dari 2 komparator, flip-flop, pembagi tegangan, transistor pengosong dan tahap output.
Pembagi tegangan terdiri dari tiga resistor 5k identik yang menciptakan dua tegangan referensi pada 1/3 dan 2/3 dari tegangan yang disuplai, yang dapat bervariasi dari 5 hingga 15V.
Selanjutnya adalah dua komparator. Komparator adalah elemen rangkaian yang membandingkan dua tegangan input analog di terminal positif (non-inverting) dan negatif (inverting). Jika tegangan input di terminal positif lebih tinggi dari tegangan input di terminal negatif komparator akan menghasilkan 1. Sebaliknya, jika tegangan di terminal input negatif lebih tinggi dari tegangan di terminal positif, komparator akan menghasilkan 0.
Komparator pertama terminal input negatifnya terhubung ke tegangan referensi 2/3 di pembagi tegangan dan pin “control” eksternal, sementara terminal input positifnya ke pin eksternal “Threshold”.
Di sisi lain, komparator kedua terminal input negatifnya terhubung ke pin “Trigger”, sementara terminal input positifnya ke tegangan referensi 1/3 di pembagi tegangan.
Jadi menggunakan tiga pin, Trigger, Threshold dan Control, kita dapat mengontrol output dari dua komparator yang kemudian dihubungkan ke input R dan S flip-flop. Flip-flop akan menghasilkan 1 ketika R adalah 0 dan S adalah 1, dan sebaliknya, akan menghasilkan 0 ketika R adalah 1 dan S adalah 0. Selain itu flip-flop dapat di-reset melalui pin eksternal yang disebut “Reset” yang dapat mengesampingkan dua input tersebut, sehingga mereset seluruh timer kapan saja.
Output Q-bar dari flip-flop pergi ke tahap output atau driver output yang dapat menyediakan atau menyerap arus 200mA ke beban. Output flip-flop juga terhubung ke transistor yang menghubungkan pin “Discharge” ke ground.
555 Timer – Mode Bistable
Sekarang mari kita buat contoh 555 Timer yang beroperasi dalam mode bistable. Untuk tujuan itu kita perlu dua resistor eksternal dan dua pushbutton.
Pin Trigger dan Reset IC dihubungkan ke VCC melalui dua resistor, dan dengan cara itu mereka selalu high. Dua pushbutton dihubungkan antara pin ini dan ground, sehingga jika kita menekan mereka input state akan low.
Awalnya, output dua komparator adalah 0, sehingga output flip-flop serta output 555 Timer adalah 0.
Jika kita menekan pushbutton Trigger, state di input Trigger akan menjadi Low, sehingga komparator akan menghasilkan High dan itu akan membuat output Q-bar flip-flop menjadi Low. Tahap output akan membalik ini dan output akhir 555 Timer akan High.
Output akan tetap high bahkan ketika pushbutton Trigger tidak ditekan karena dalam hal ini input flip-flop R dan S akan 0 yang berarti flip-flop tidak akan mengubah state sebelumnya. Untuk membuat output Low kita perlu menekan pushbutton Reset, yang me-reset flip-flop dan seluruh IC.
Tutorial terkait: Apa itu Schmitt Trigger | Cara Kerjanya
555 Timer – Mode Monostable
Selanjutnya, mari kita lihat bagaimana 555 Timer bekerja dalam mode monostable. Berikut adalah contoh rangkaian.
Input trigger dipertahankan High dengan menghubungkannya ke VCC melalui resistor. Itu berarti komparator trigger akan menghasilkan 0 ke input S flip-flop. Di sisi lain, pin Threshold Low dan itu membuat komparator Threshold out 0 juga. Pin Threshold sebenarnya Low karena output Q-bar flip-flop High, yang menjaga transistor pengosong tetap aktif, sehingga tegangan yang datang dari sumber pergi ke ground melalui transistor tersebut.
Untuk mengubah state output 555 Timer menjadi High kita perlu menekan pushbutton di pin trigger. That will ground the trigger pin, or the input state will be 0, thus the comparator will output 1 to the S input of the flip-flip. This will cause the Q-bar output to go Low and the 555 Timer output High. At the same time, we can notice that the discharge transistor is turned off, so now the capacitor C1 will start charging through the resistor R1.
The 555 Timer will remain in this state until the voltage across the capacitor reaches 2/3 of the supplied voltage. In that case, the Threshold input voltage will be higher and the comparator will output 1 to the R input of the flip-flip. This will bring the circuit into the initial state. The Q-bar output will become High, which will activate the discharge transistor as well as make the IC output Low again.
So we can notice that the amount of time the output of the 555 Timer is High, depends on how much time the capacitor needs to charge to 2/3 of the supplied voltage, and that depends on the values of both the capacitor C1 and the resistor R1. We can actually calculate this time with the following formula, T=1.1*C1*R1.
555 Timer – Astable Mode
Next, let’s see how the 555 Timer works in an astable mode. In this mode the IC becomes an oscillator or also called Free Running Multivibrator. It doesn’t have a stable state and continuously switches between High and Low without application of any external trigger. Here’s an example circuit of the 555 Timer operating in astable mode.
We only need two resistors and a capacitor. The Trigger and Threshold pins are connected to each other so there is no need of external trigger pulse. Initially, the voltage source will start charging the capacitor through the Resistors R1 and R2. While charging the Trigger comparator will output 1 because the input voltage at the Trigger pin is still lower than 1/3 of the supplied voltage. That means that the Q-bar output is 0 and the discharge transistor is closed. At this time the output of the 555 Timer is High.
Once the voltage across the capacitor reaches 1/3 of the supplied voltage, the Trigger comparator will output 0 but at this point that won’t do any change as both R and S inputs of the flip-flop are 0. So the voltage across the capacitor will keep rising, and once it reaches 2/3 of the supplied voltage, the Threshold comparator will output 1 to the R input of the flip-flop. This will active the discharging transistor and now the capacitor will start discharging through the resistor R2 and the discharging transistor. At this moment the output of the 555 Timer is Low.
While discharging, the voltage across the capacitor starts to decline, and the Threshold comparator right away starts to output 0, which actually doesn’t do any change as now both R and S inputs of the flip-flop are 0. But once the voltage across the capacitor drops to 1/3 of the supplied voltage, the Trigger comparator will output 1. This will turn off the discharge transistor and the capacitor will start to charge again. So this processes of charging and discharging between 2/3 and 1/3 of the supplied voltage will keep running on its own, thus producing a square wave on the 555 Timer output.
We can calculate the time the output is High and Low using the shown formulas. The High time depends the on the resistance of both R1 and R2, as well as the capacitance of the capacitor. On the other hand, the Low time depends only on the resistance of R2 and the capacitance of the capacitor. If we sum the High and Low times we will get the Period of one cycle. On the other hand, the frequency is how many times this happens in one second, so one over the Period will give use the frequency of the square wave output.
If we make some modifications to this circuit, for example, change the R2 resistor with a variable resistor or a pototentiometer, we can instantly control the frequency and the duty cycles of the square wave. However, more on this in my next video where we will make a PWM DC motor speed controller using the 555 Timer.
I hope you enjoyed this tutorial and learned something new. Feel free to ask any question in the comments section below.