Oscillators and Logic Circuits
Oscillators and Logic Circuits
Faculty of Engineering
EEE213
ELECTRONIC CIRCUITS
𝑉𝑜𝑢𝑡 = 𝐴𝑉 × 𝑉𝑖𝑛
𝐴𝑉
𝐺=
1 − 𝛽𝐴𝑉
1
𝑓=
2𝜋 6𝐶𝑅
Solution:
Solution:
1 1
𝑓= 𝑓= ≅ 650.1 𝐻𝑧
2𝜋 6𝐶𝑅 2 × 𝜋 × 6 × 10 × 103 × 10 × 10−9 𝐹
1 1
𝑓= =
2
2𝜋 𝐶 × 𝑅 2 2𝜋𝐶𝑅
Solution:
Solution:
1
𝑓=
2𝜋𝐶𝑅
(a) when 𝑅1 = 𝑅2 = 1 𝑘Ω :
1
𝑓= ≅ 1592 𝐻𝑧 ≅ 1.592 𝑘𝐻𝑧
2𝜋 × 100 × 10−9 𝐹 × 1 × 103
(b) when 𝑅1 = 𝑅2 = 6 𝑘Ω :
1
𝑓= ≅ 265.4 𝐻𝑧
2𝜋 × 100 × 10−9 𝐹 × 6 × 103
Logic Gates
We can now rewrite the truth table in terms of the binary states as shown in the
second figure where:
No light (off) = 0 Truth table for the switch and lamp
Light (on) = 1
Now consider the circuit with two switches shown in the figure. Here, the lamp
will only operate when switch A is closed and switch B is closed. Since there are two
switches (A and B) and there are two possible states for each switch (open or closed),
there is a total of four possible conditions for the circuit, as can be seen in the table.
Since each switch can only be in one of the two states (i.e. open or closed) at AND switch and lamp logic
any given time, the open and closed conditions are mutually exclusive. Furthermore,
since the switches cannot exist in any other state than completely open or completely
closed (i.e. there are no intermediate states) the circuit uses binary logic. We can thus
represent the logical states of the two switches by the binary digits, 0 and 1.
Once again, if we adopt the convention that an open switch can be represented Simple AND switching logic
by 0 and a closed switch by 1, we can rewrite the truth table in terms of the binary
states shown in the last figure where:
No light (off) = 0
Light (on) = 1
Solution:
Solution:
𝑌 = 𝐴. 𝐵ത + 𝐵. 𝐴ҧ
Solution:
Solution:
Solution:
Solution:
These expressions can be obtained using two two-input AND gates and the result (i.e. P and Q) can then be applied to
an OR gate with two inputs. A and B can be produced using inverters.
AND Gates:
OR Gates:
NAND Gates:
NOR Gates:
𝑌 = 𝐴. 𝐵ത + 𝐵. 𝐴ҧ
zehramervecinan@halic.edu.tr