Analog Signal
Analog Signal
BASIC TERMINOLOGY
Analog signal
Analog signals are continuous variation of voltage or current. They
are essentially single‐valued function of time. Sine wave is
fundamental analog signal.
Digital signal
Digital signal are those which can take only discrete step wise
values. Binary system that is extensively used in digital electronics
employs just two levels of a signal. ‘O’ corresponds to low level and
‘1’ corresponds to high level of voltage or current.
THEORY
A logic gate is an elementary building block of a digital circuit.
Most logic gates have two inputs and one output. At any given
moment, every terminal is in one of the
two binaryconditions low (0) or high (1), represented by
different voltage levels. The logic state of a terminal can, and
generally does, change often, as the circuit processes data. In most
logic gates, the low state is approximately zero volts (0 V), while
the high state is approximately five volts positive (+5 V).
There are seven basic logic gates: AND, OR, XOR, NOT, NAND, NOR, and
XNOR.
AND GATE
AND gate
Input 1 Input 2 Output
1
1
1 1 1
OR GATE
The OR gate gets its name from the fact that it behaves after the
fashion of the logical inclusive "or." The output is "true" if either or
both of the inputs are "true." If both inputs are "false," then the
output is "false."
OR gate
1 1
1 1
1 1 1
XOR GATE
The XOR ( exclusive-OR ) gate acts in the same way as the logical
"either/or." The output is "true" if either, but not both, of the inputs
are "true." The output is "false" if both inputs are "false" or if both
inputs are "true." Another way of looking at this circuit is to
observe that the output is 1 if the inputs are different, but 0 if the
inputs are the same.
XOR gate
1 1
1 1
1 1
NOT GATE
NAND GATE
NAND gate
NOR GATE
XNOR GATE
XNOR gate
B A Q
0 0 0
0 1 0
1 0 0
2-input AND Gate
1 1 1
C B A Q
0 0 0 0
0 0 1 0
0 1 0 0
0 1 1 0
1 0 0 0
3-input AND Gate
1 0 1 0
1 1 0 0
1 1 1 1