OBJECTIVE: To build basic logic gates using transistors and passive components.
EQUIPMENT REQUIRED:
Item Quantity DC variable power supply 1 Osilloscope, Digital multimeter, Function generator 1 Resistors : (1/4 W) 1 k 4.7 k 10 k 100 k 1 1 2 2 NPN 2N3906 (or equivalent) PNP 2N3904 (or equivalent) 2 1
KE18201 ENGINEERING LAB LAB1
2
Digital Abstraction Prelab Question No. 1
With reference to the schematic symbols, briefly describe how the bipolar junction transistor (BJT) works as a switch. Hint: How to turn on or turn off BJT?
Question No. 2
With the aid of some diagram and graph, describe the concept of noise margins in logic circuits. What are the parameters needed and how to determine the: a) Noise Margin for Low Input b) Noise Margin for High Input Hint: If you know the graph of noise margins, then you know how to answer this question.
KE18201 ENGINEERING LAB LAB1
3
Basic Logic Gate 1
1. Assemble the circuit as in Figure 1.
2. Use +5 Vdc and 0 V as your logic HIGH and logic LOW input respectively. Record the corresponding outputs.
3. Make a truth-table for this circuit and verify its operation. Which logic gate is represented by this circuit?
4. Apply input voltages from 0 V to 5 V. Tabulate and plot the output voltage Q versus input voltage A.
5. Based on your measurement in step (4), what are the best values of V OH , V IH , V OL , V IL ? Consequently, what are the noise margins NM H and NM L ?
6. Determine the power dissipated in the circuit by obtaining the voltage across each component in the circuit and the current through the transistor. Hence calculate the total power dissipated in the circuit.
2. For node A and B, use voltage supply of 5V to represent the HIGH input logic and 0V (Ground) as your LOW input logic.
3. Make a truth-table for this circuit and verify its operation. Which logic gate is represented by this circuit?
4. Design a circuit that is having an inverse input with the circuit in Figure 3. Make a truth-table and draw out the circuit. Write down the name of the gate.
2. For node A and B, use voltage supply of 5V to represent the HIGH input logic and 0V (Ground) as your LOW input logic.
3. Make a truth-table for this circuit and verify its operation. Which logic gate is represented by this circuit?
4. Design a circuit that is having an inverse input with the circuit in Figure 4. Make the truth-table and draw out the circuit. Write down the name of the gate.