Professional Documents
Culture Documents
(a) 1/2
(b) 1
(c) 2
(d) 4
(e) 6
(f) 1/6
(g) 1/12
(h) 12
20 pts 2. Consider the following logic circuit: A A B A*B 10 pts (a) Using standard logic operators , , +, and + (i.e. NOT, AND, OR, and XOR) define the Boolean expression (i.e. the logic function Z = fn(A,B,C) ) for the circuit.
Z = A*B + A*B
5 pts
(b) Using your Boolean expression from (a), determine the truth table for this circuit. A 0 1 0 1 B 0 0 1 1 Z 0 0 1
5 pts
(c) Based on your truth table in (b), simplify the logic circuit as much as possible.
24 pts
4. A voltage signal from a sensor used to measure vibration of a dynamic structure if given by v(t) = 2 sin(2" *f1t) + 3 sin(2"$ f2t) + sin(2"$ f3t) where f1 = 20 Hz, f2 = 32 Hz, f3 = 80 Hz. You want to measure this signal using an Arduino, but due to limitations in the speed of your code, you can only make one measurement every 0.02 s.
6 pts
(a) What is the sampling time resolution (%t), the sampling frequency (fs), and the Nyquist frequency (fN) for your Arduino setup? Show any calculations as needed. %t = ___0.02______ sec fs = __1/ % t = 50____ Hz fN = __ fs /2 = 25____ Hz
10 pts
(b) Using the folding diagram (or similar approach) determine the frequencies (fi) and phases (&i, relative to the original signal) for each component of your sampled signal.
(c) You have a 10 #F (10-6 F) capacitor and a potentiometer (variable resistor) available to create a low-pass RC filter. What value should you choose for the resistance to eliminate significant aliasing in your sampled signal, without reducing the range of measured frequencies? Set the corner frequency of the filter to the Nyquist frequency (25 Hz): !c = 1/RC = 2"(25) ! R = 1/(50"C) = R = 1/(50"(10-5)) = 636.6 '