0 evaluări0% au considerat acest document util (0 voturi)
11 vizualizări11 pagini
DISCUSSION OF THEORY!
Digital may refer to:
Digital data, data that is represented using discrete (discontinuous) values
In technology:
Digital computer, a computer handling information represented by discrete values
Digital electronics, electronic circuits representing signals by discrete bands of analog levels, rather than by a continuous range
Digital media, media that store digital data
Digital signal, a discrete-amplitude signal or bitstream signal
In music:
D.I.G.I.T.A.L., an album by KRS-One
"Digital" (Joy Division song) (1978)
"Digital", a song by T-Pain from Three Ringz
"Digital", a song by Soulja Boy from The DeAndre Way
In other uses:
Digital: A Love Story, a 2010 indie video game by Christine Love
Digital Equipment Corporation or Digital, a computer company
Vitalis Takawira or Digital, professional football player
See also[edit]
DISCUSSION OF THEORY!
Digital may refer to:
Digital data, data that is represented using discrete (discontinuous) values
In technology:
Digital computer, a computer handling information represented by discrete values
Digital electronics, electronic circuits representing signals by discrete bands of analog levels, rather than by a continuous range
Digital media, media that store digital data
Digital signal, a discrete-amplitude signal or bitstream signal
In music:
D.I.G.I.T.A.L., an album by KRS-One
"Digital" (Joy Division song) (1978)
"Digital", a song by T-Pain from Three Ringz
"Digital", a song by Soulja Boy from The DeAndre Way
In other uses:
Digital: A Love Story, a 2010 indie video game by Christine Love
Digital Equipment Corporation or Digital, a computer company
Vitalis Takawira or Digital, professional football player
See also[edit]
DISCUSSION OF THEORY!
Digital may refer to:
Digital data, data that is represented using discrete (discontinuous) values
In technology:
Digital computer, a computer handling information represented by discrete values
Digital electronics, electronic circuits representing signals by discrete bands of analog levels, rather than by a continuous range
Digital media, media that store digital data
Digital signal, a discrete-amplitude signal or bitstream signal
In music:
D.I.G.I.T.A.L., an album by KRS-One
"Digital" (Joy Division song) (1978)
"Digital", a song by T-Pain from Three Ringz
"Digital", a song by Soulja Boy from The DeAndre Way
In other uses:
Digital: A Love Story, a 2010 indie video game by Christine Love
Digital Equipment Corporation or Digital, a computer company
Vitalis Takawira or Digital, professional football player
See also[edit]
OCAY, KEVIN LEXTER L. DATE PERFORMED: AUGUST 18, 2014 GROUP NO. 1 DATE DUE: SEPTEMBER 7, 2014 5:00-8:00 M, H513 DATE SUBMITTED: SEPTEMBER 7, 2014
I. OBJECTIVES Identify and demonstrate the operation of a diode digital logic AND gate, and develop a truth table of logic functions. Identify and demonstrate the operation of a diode digital logic OR gate, and develop a truth table of logic functions.
II. EQUIPMENT AND MATERIALS Power Source 0-5 Vdc, 50mA Electronic VOM Practical Electronics Trainer CR1,CR2 -Silicon Diode, 1N4004 R1 -4.7k ohm, 1 w S1 -SPDT, Component Board M S2 -DPDT, Component Board M LED -Component Board L Universal Experiment Board K
III. DATA AND RESULTS OBJECTIVE A. 1. a) What identities this circuit as a diode digital logic AND gate? Because both switches must be in position 1 in order to have a connection. It satisfies the equation C=A AND B
S1 POSITION S2 POSITION OUTPUT VOLTAGE (Vdc) 0 0 635.3 mV 0 1 653.1 mv 1 0 653.1 mV 1 1 5 V
f) Which combination of switch settings resulted in an output voltage approximately equal to the 5 Vdc supply voltage? Both S1 and S2 are in position 1 Is the output voltage close to zero volts for all other switch combinations? YES
g) Use a and B as the inputs, and C as the output: A AND B = C
2. d) Which combination of switch settings causes the LED to light? When both switches are in Position 1
Does this verify the AND gate logic equation C = A AND B? YES
INPUT OUTPUT A B C 0 0 0 0 1 0 1 0 0 1 1 1
3. a) What identities this circuit as a diode digital logic OR gate? From the circuit, it will just have a connection if either S1 or S2 is in position 1, or both of them are in position 1. This satisfies the equation C= A OR B
S1 POSITION S2 POSITION OUTPUT VOLTAGE (Vdc) 0 0 0 0 1 4.3469 1 0 4.3469 1 1 4.3647
f) Which combinations of switch settings resulted in an output voltage approximately equal to the 5 Vdc supply voltage? Combination 2 nd 3 rd and 4 th
Is the output voltage zero for the remaining switch combination? YES
g) Use A and B as the inputs, and C as the Output. A OR B = C
4. d) Which combinations of switch setting cause the LED to light? Combinations of (0, 1), (1, 0) & (1, 1)
Does this verify the OR gate logic equation C = A OR B? YES
INPUT OUTPUT A B C 0 0 0 0 1 1 1 0 1 1 1 1
IV. DISCUSSION OF THEORY
Logic Gates
A logic gate is an electronic circuit/device which makes the logical decisions. To arrive at this decisions, the most common logic gates used are OR, AND, NOT, NAND, and NOR gates. The NAND and NOR gates are called universal gates. The exclusive-OR gate is another logic gate which can be constructed using AND, OR and NOT gate.
Logic gates have one or more inputs and only one output. The output is active only for certain input combinations. Logic gates are the building blocks of any digital circuit. Logic gates are also called switches. With the advent of integrated circuits, switches have been replaced by TTL (Transistor Transistor Logic) circuits and CMOS circuits. Here I give example circuits on how to construct simples gates.
Symbolic Logic
Boolean algebra derives its name from the mathematician George Boole. Symbolic Logic uses values, variables and operations.
Inversion
A small circle on an input or an output indicates inversion. See the NOT, NAND and NOR gates given below for examples.
Multiple Input Gates
Given commutative and associative laws, many logic gates can be implemented with more than two inputs, and for reasons of space in circuits, usually multiple input, complex gates are made. You will encounter such gates in real world (maybe you could analyze an ASIC lib to find this).
Gates Types
AND OR NOT BUF NAND NOR XOR XNOR
AND Gate
The AND gate performs logical multiplication, commonly known as AND function. The AND gate has two or more inputs and single output. The output of AND gate is HIGH only when all its inputs are HIGH (i.e. even if one input is LOW, Output will be LOW).
If X and Y are two inputs, then output F can be represented mathematically as F = X.Y, Here dot (.) denotes the AND operation. Truth table and symbol of the AND gate is shown in the figure below.
Symbol
Truth Table
X Y F=(X.Y) 0 0 0 0 1 0 1 0 0 1 1 1
Two input AND gate using "diode-resistor" logic is shown in figure below, where X, Y are inputs and F is the output.
Circuit
If X = 0 and Y = 0, then both diodes D1 and D2 are forward biased and thus both diodes conduct and pull F low.
If X = 0 and Y = 1, D2 is reverse biased, thus does not conduct. But D1 is forward biased, thus conducts and thus pulls F low.
If X = 1 and Y = 0, D1 is reverse biased, thus does not conduct. But D2 is forward biased, thus conducts and thus pulls F low.
If X = 1 and Y = 1, then both diodes D1 and D2 are reverse biased and thus both the diodes are in cut-off and thus there is no drop in voltage at F. Thus F is HIGH.
Switch Representation of AND Gate
In the figure below, X and Y are two switches which have been connected in series (or just cascaded) with the load LED and source battery. When both switches are closed, current flows to LED.
Three Input AND gate
Since we have already seen how a AND gate works and I will just list the truth table of a 3 input AND gate. The figure below shows its symbol and truth table.
The OR gate performs logical addition, commonly known as OR function. The OR gate has two or more inputs and single output. The output of OR gate is HIGH only when any one of its inputs are HIGH (i.e. even if one input is HIGH, Output will be HIGH).
If X and Y are two inputs, then output F can be represented mathematically as F = X+Y. Here plus sign (+) denotes the OR operation. Truth table and symbol of the OR gate is shown in the figure below.
Symbol
Truth Table
X Y F=(X+Y) 0 0 0 0 1 1 1 0 1 1 1 1
Two input OR gate using "diode-resistor" logic is shown in figure below, where X, Y are inputs and F is the output.
Circuit
If X = 0 and Y = 0, then both diodes D1 and D2 are reverse biased and thus both the diodes are in cut-off and thus F is low.
If X = 0 and Y = 1, D1 is reverse biased, thus does not conduct. But D2 is forward biased, thus conducts and thus pulling F to HIGH.
If X = 1 and Y = 0, D2 is reverse biased, thus does not conduct. But D1 is forward biased, thus conducts and thus pulling F to HIGH.
If X = 1 and Y = 1, then both diodes D1 and D2 are forward biased and thus both the diodes conduct and thus F is HIGH.
Switch Representation of OR Gate
In the figure, X and Y are two switches which have been connected in parallel, and this is connected in series with the load LED and source battery. When both switches are open, current does not flow to LED, but when any switch is closed then current flows.
Three Input OR gate
Since we have already seen how an OR gate works, I will just list the truth table of a 3-input OR gate. The figure below shows its circuit and truth table.
V. OBSERVATIONS In the experiment we performed, DIODE DIGITAL LOGIC GATES, I observed the following: In the AND gate, the diodes are reversed, and the cathodes are connected to the inputs and the anodes are connected together to provide an output. In the OR gate, the diodes are in forward-biased connection, and the anode are connected to the inputs and the cathodes are connected together to drive the output.
VI. CONCLUSIONS In this experiment, I came up with some conclusions: The AND gate has two or more inputs and single output. The output of AND gate is HIGH only when all its inputs are HIGH. The OR gate has two or more inputs and single output. The output of OR gate is HIGH only when any one of its inputs are HIGH.
VII. REFERENCE/S http://www.asic-world.com/digital/gates1.html http://en.wikipedia.org/wiki/Diode_logic#AND_logic_gate http://www.allaboutcircuits.com/vol_3/chpt_3/10.html http://www.electronics-tutorials.ws/logic/logic_1.html