Module_3
Module_3
Solution is….
➢ D=A’*B will give D=1 for condition 1.
➢ D=A*C will give D=1 for condition 2
➢ D=A*C’*B will give D=1 for condition 3.
• D= A’*B+A*C+A*C’*B
• a+0=a
• ab+ab’=a
• a*1=a
• (a+b)*(a+b’)=a
• a+a’=1
• ab+a’c=(a+c)*(a’+b)
• a*a’=0
• (a+b)*(a’+c)=ac+a’b
• a*(b+c)=ab+ac
• ab+a’c+bc=ab+a’c
• a+bc=(a+b)*(a+c)
• (a+b)(a’+c)(b+c)=
• a+a’b=(a+b)
• (a+b)(a’+c)
• a(a’+b)=ab
• Tri-state buffers allow multiple signals to share a single digital line in the bus.
3.3 Comparators
A comparator output will “jiggle” when a noisy signal passes through the reference voltage level.
• A unipolar DAC converts a digital word into an analog voltage by scaling the analog
output to be zero when all bits are zero and some maximum value when all bits are one.
• This can be mathematically represented by treating the binary number that the word
represents as a fractional number.
V out = N / 2 n V R
This is based on noting that the expression in brackets is really just
the fraction of total counting states possible with the n bits being used.
where N= base 10 whole number equivalent of DAC input.
• Some DACs are designed to output a voltage that ranges from plus to minus
some maximum when the input binary ranges over the counting states.
• Although computer frequently use 2s complement to represent negative
numbers, this is not common with DACs.
• Instead, a simple offset-binary is frequently used, wherein the output is simply
biased by half the reference voltage .
• Notice that if N=0, the output will be given by the minimum value,
Vout(min) = -VR/2.
V out = V R 2 − n
VR = reference voltage;
• Special PCBs called data acquisition systems (DASs) have been developed
for the purpose of providing for input and output of analog data.
• These are used when the PC is to be used in a control system.