Designing Information Devices and Systems I Spring 2019 Homework 11

Similar documents
Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Homework 4

Designing Information Devices and Systems I Spring 2018 Homework 11

Designing Information Devices and Systems I Spring 2019 Homework 7

Designing Information Devices and Systems I Fall 2018 Homework 5

Designing Information Devices and Systems I Spring 2018 Homework 7

Designing Information Devices and Systems I Fall 2018 Homework 7

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Homework 2

Designing Information Devices and Systems I Fall 2018 Homework 3

Designing Information Devices and Systems I Spring 2018 Homework 13

Designing Information Devices and Systems I Spring 2019 Homework 5

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Homework 6

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Homework 5

Designing Information Devices and Systems I Spring 2018 Homework 10

Designing Information Devices and Systems I Babak Ayazifar, Vladimir Stojanovic. This homework is due October 25, 2016, at 1PM.

Designing Information Devices and Systems I Fall 2017 Homework 3

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Homework 2. This homework is due September 14, 2015, at Noon.

Designing Information Devices and Systems I Fall 2017 Midterm 2. Exam Location: 150 Wheeler, Last Name: Nguyen - ZZZ

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Midterm 2

EECS 16A Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Final. Exam location: RSF Back Left, last SID# 1, 4, + 5

Designing Information Devices and Systems I Fall 2018 Lecture Notes Note Introduction: Op-amps in Negative Feedback

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Homework 10. This homework is due November 9, 2015, at Noon.

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Homework 1

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Homework 8. This homework is due October 26, 2015, at Noon.

Designing Information Devices and Systems II Spring 2016 Anant Sahai and Michel Maharbiz Homework 5. This homework is due February 29, 2016, at Noon.

Designing Information Devices and Systems I Spring 2019 Midterm 2. Exam Location: Cory 521 (DSP)

20.2 Design Example: Countdown Timer

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: You re Done!!

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Homework 2

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Midterm 2. Exam location: 145 Dwinelle, last SID# 2

Designing Information Devices and Systems I Spring 2019 Midterm 2

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Final Exam. Exam location: RSF Fieldhouse, Back Left, last SID 6, 8, 9

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Midterm 2. Exam Location: 100 Genetics & Plant Bio

farads or 10 µf. The letter indicates the part tolerance (how close should the actual value be to the marking).

ECE2210 Final given: Spring 08

Class #12: Experiment The Exponential Function in Circuits, Pt 1

Designing Information Devices and Systems I Fall 2018 Midterm 2. Midterm 2 Solution

Designing Information Devices and Systems II Fall 2016 Murat Arcak and Michel Maharbiz Homework 0. This homework is due August 29th, 2016, at Noon.

Midterm Exam 2. Prof. Miloš Popović

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Homework 11

ECS 40, Fall 2008 Prof. Chang-Hasnain Test #3 Version A

Designing Information Devices and Systems II Spring 2017 Murat Arcak and Michel Maharbiz Homework 9

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Homework 1. This homework is due February 2, 2016, at Noon.

P1: Basics - Things you now know that you didn t know you knew (25 pts)

Department of Electrical Engineering and Computer Sciences University of California, Berkeley. Final Exam Solutions

EE214 Early Final Examination: Fall STANFORD UNIVERSITY Department of Electrical Engineering. SAMPLE FINAL EXAMINATION Fall Quarter, 2002

Prepare for this experiment!

The Approximating Impedance

Designing Information Devices and Systems II Spring 2018 J. Roychowdhury and M. Maharbiz Homework 5

University of California at Berkeley College of Engineering Dept. of Electrical Engineering and Computer Sciences. EECS 40 Midterm II

EECS 16A: SPRING 2015 MIDTERM 2

Today. 1/25/11 Physics 262 Lecture 2 Filters. Active Components and Filters. Homework. Lab 2 this week

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 20

0 t < 0 1 t 1. u(t) =

Department of Electrical Engineering and Computer Sciences University of California, Berkeley. Final Exam: Friday, August 10, 2012

Midterm Exam (closed book/notes) Tuesday, February 23, 2010

UNIVERSITY OF CALIFORNIA, BERKELEY College of Engineering Department of Electrical Engineering and Computer Sciences

Homework 3 Solution. Due Friday (5pm), Feb. 14, 2013

EE 40: Introduction to Microelectronic Circuits Spring 2008: Midterm 2

Discrete Mathematics and Probability Theory Fall 2014 Anant Sahai Homework 5. This homework is due October 6, 2014, at 12:00 noon.

Nonlinear Op-amp Circuits

Midterm II Sample Problems

Operational amplifiers (Op amps)

Circuits for Analog System Design Prof. Gunashekaran M K Center for Electronics Design and Technology Indian Institute of Science, Bangalore

Electric Circuits Fall 2015 Solution #5

EECE 2510 Circuits and Signals, Biomedical Applications Final Exam Section 3. Name:

Figure Circuit for Question 1. Figure Circuit for Question 2

ECE2262 Electric Circuits. Chapter 4: Operational Amplifier (OP-AMP) Circuits

EECS 16A Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Final. Exam location: Solutions

Homework 2. Due Friday (5pm), Feb. 8, 2013

Time Varying Circuit Analysis

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Final Exam

Operational Amplifiers

Designing Information Devices and Systems I Discussion 4B

Designing Information Devices and Systems I Discussion 4B

ECE2210 Final given: Fall 13

D is the voltage difference = (V + - V - ).

ECE20B Final Exam, 200 Point Exam Closed Book, Closed Notes, Calculators Not Allowed June 12th, Name

Designing Information Devices and Systems I Fall 2015 Anant Sahai, Ali Niknejad Midterm 1. Exam location: 60 Evans, last digit SID= 6

Designing Information Devices and Systems I Spring 2016 Elad Alon, Babak Ayazifar Homework 12

M E 345 Professor John M. Cimbala Lecture 42

analyse and design a range of sine-wave oscillators understand the design of multivibrators.

Problem Set 5 Solutions

Prepare for this experiment!

Electronics II. Final Examination

ECE 2210 Final given: Spring 15 p1

Operational amplifiers (Op amps)

MATH 408N PRACTICE MIDTERM 1

Ver 3537 E1.1 Analysis of Circuits (2014) E1.1 Circuit Analysis. Problem Sheet 1 (Lectures 1 & 2)

Georgia Institute of Technology School of Electrical and Computer Engineering. Midterm-1 Exam (Solution)

Mathematica Project 3

EE-202 Exam III April 13, 2015

Electronics II. Midterm #2

55:041 Electronic Circuits The University of Iowa Fall Final Exam

PHYS225 Lecture 9. Electronic Circuits

Capacitors. Chapter How capacitors work Inside a capacitor

2. In words, what is electrical current? 3. Try measuring the current at various points of the circuit using an ammeter.

Designing Information Devices and Systems I Spring 2017 Babak Ayazifar, Vladimir Stojanovic Midterm 2. Exam location: 145 Dwinelle, last SID# 2

AP CALCULUS AB SUMMER ASSIGNMNET NAME: READ THE FOLLOWING DIRECTIONS CAREFULLY

Designing Information Devices and Systems I Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Homework 2

Transcription:

Last Updated: 2019-04-12 23:38 1 EECS 16A Designing Information Devices and Systems I Spring 2019 Homework 11 This homework is due April 19, 2019, at 23:59. Self-grades are due April 23, 2019, at 23:59. Submission Format Your homework submission should consist of one file. hw11.pdf: A single PDF file that contains all of your answers (any handwritten answers should be scanned) as well as your IPython notebook saved as a PDF. If you do not attach a PDF printout of your IPython notebook, you will not receive credit for problems that involve coding. Make sure that your results and your plots are visible. Assign the IPython printout to the correct problem(s) on Gradescope. Submit the file to the appropriate assignment on Gradescope. 1. Jumpbot In this problem, you will be designing circuits allowing a robot named Jumpbot to execute a set of commands that will be described below. Specifically, the output voltages produced by your circuits are interpreted by Jumpbot as setting its vertical position in meters in free space (both positive and negative values will be used). You will be generating an oscillating triangular waveform with a controllable time period. One of the circuit blocks you will use to generate the triangular waveform is the integrator. An integrator integrates the input signal. For the circuit given below express v 1 in terms of R 1, C 1, and v 0. You may assume the capacitor C 1 has 0V across it at time t = 0. Hint: You will have to apply KCL, and the current flowing through a capacitor is given by I = C dv dt. C 1 R 1 V SAT O 1 v 0 v 1 V SAT Suppose for a specific v 0, shown by the dotted orange line below, v 1 looks as shown by the blue line. Derive an expression for T 1 and T 2 as a function R 1, C 1, V TH, and V SAT. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 1

Last Updated: 2019-04-12 23:38 2 V SAT v 1 T 1 Slope = V SAT R 1 C 1 V T H t V T H T 2 V SAT We have a circuit that generates a triangle wave from a square wave. However, we need to create the initial signal (v 0 ) that helped us to create the triangular waveform (v 1 ). For the circuit below, draw the waveform (v 2 ) if we use v 1 from part as the input. Now, draw the waveform (v 2 ) if we use v 1. Which v 2 (v 1 as input or v 1 as input) matches v 0 from part? V T H = R 4 R 4 R 5 V SAT V T H = R 4 R 4 R 5 (V SAT ) Hint: read section 9.8.1 of the book Electronics by Prof. Ali Niknejad, you can find it on the Resources section on the class website. V SAT v 1 O 2 v 2 V SAT R 4 R 5 Now let s put it all together. The circuit from part generates a triangle wave (v 1 ) from a square wave (v 0 ). The circuit above takes an input triangle wave and creates a square wave. Connect the two circuits together so that the circuit keeps generating a triangle wave on it s own. You will use the circuits from part and part, in addition you can use any opamps and resistors. (e) In your circuit, if ±V SAT = ±10V, C 1 = 0.01mF, and R 4 = 10kΩ, find the values for R 1 and R 5, so that the jumpbot jumps with 10V peak-to-peak amplitude (±V T H = ±5V) with 1kHz frequency (period = 1 / frequency). 2. From FA18 Final: A Tool to Help Compute All the Fun You re Having Starting in the 1950-1960 s, the world began a series of missions to get to the moon. Back then though, computers took up entire rooms and could never fit on a spaceship! They needed a better way of computing values on the fly using what they did have: analog circuits. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 2

Last Updated: 2019-04-12 23:38 3 In class you have seen circuits that can amplify, add, subtract and even integrate voltages, but we re missing a key ingredient to make computational circuits: multiplication. Although making a multiplier circuit is not as straightforward as we would like it to be, we can definitely use our now fully-developed EE16A skills to make this a reality. You may find the following formulas useful throughout the problem: ln(e a ) = a ln ln = ln(ab) e ln = a ln ln = ln( a b ) To start off, your TA Nick suggests that you first draw a block diagram that would do what you want, and then worry about how to implement it later. He starts you off with the following incomplete block diagram and blocks. You are allowed to use any amount of the following logarithmic, exponential and summer blocks: V in ln(v ) ln(v in ) V e V in e V in V in,1 V in,2 V in,1 V in,2 Figure 1: Function blocks you can use Finish the block diagram so that the output is equal to V out = V in,1 V in,2. Also provide a mathematical justification for why your block diagram works for full credit! V in,1 V out V in,2 While you were making your block diagram, your friend Vlad was watching over your shoulder. With his near-infinite knowledge of circuits, he predicts what you are trying to do and gives you a "magic device" that he claims will help you out. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 3

Last Updated: 2019-04-12 23:38 4 This device is shown below: This device has the following IV characteristics: I D =e α Numerically, this can be stated as: I D = e α where α is some constant and is the voltage across the device as in the above figure. IMPORTANT: Note the passive sign convention. Your friend Gireeja sees you looking confused, and reads what you ve done so far. She decides to help push you in the right direction. She reminds you that if you know how a device reacts when you put current through it or apply a voltage across it, then you are in a good spot to understand how it would behave in any circuit. i. In the following circuit, express the voltage across the device,, as a function of the source current, I S. I D I S ii. In the following circuit, express the current through the device, I D, as a function of the source voltage, V S. V S I D By now we have all the tools necessary to make this a reality. Unfortunately, as you may remember from the touchscreen lab, ideal current sources don t exist. As such, we will use an op-amp to create the behavior we are interested in. Let s analyze the circuit below in steps. Hint: Your answers for some parts of this problem will not perfectly match with the ideal scenario in part. Don t be afraid of getting different answers! After all, a block diagram is just a starting point. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 4

Last Updated: 2019-04-12 23:38 5 V in U 1 R I D I 1 U2 I 2 U 3 V out i. write in terms of V out only. You may assume the circuit is in negative feedback. ii. Now write out the KCL expression at the U 2 node in terms of the three currents I D, I 1 and I 2. iii. Use the IV relations for each device and the KCL expression above to find V out as a function of V in. Just one more piece left to analyze. You may assume the circuit is in negative feedback. In the circuit below, write V out as a function of V in. Hint: Note the direction of the voltage drop,. Be careful when writing your KCL expressions to account for this! R V in U 1 I 2 I 1 U2 I 3 U 3 V out (e) Given the polarity of circuits in parts and, to put everything together, you need to implement an inverting summer circuit, where V out = (V in1 V in2 ). You may use up to 1 op-amp (you do not need to label the power supplies) and as many resistors as you wish. Any resistors used must be assigned a value. You must mathematically justify your circuit s behavior for full credit. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 5

Last Updated: 2019-04-12 23:38 6 V in 1 V out V in 2 And that s it! Now that you have all the individual parts, you can string them together and start selling calculators. You may need to make a few small changes to your original design, but you can do it! 3. APS Prelab - Cross Correlation Complete the included ipython notebook to prepare for the upcoming APS lab, prob11.ipynb. 4. Midterm Problem 3 Redo Midterm Problem 3. UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 6

Last Updated: 2019-04-12 23:38 7 5. Midterm Problem 4 Redo Midterm Problem 4. 6. Midterm Problem 5 Redo Midterm Problem 5. 7. Midterm Problem 6 Redo Midterm Problem 6. 8. Midterm Problem 7 Redo Midterm Problem 7. 9. Midterm Problem 8 Redo Midterm Problem 8. (e) (f) (g) 10. Homework Process and Study Group Who else did you work with on this homework? List names and student ID s. (In case of homework party, you can also just describe the group.) How did you work on this homework? UCB EECS 16A, Spring 2019, Homework 11, All Rights Reserved. This may not be publicly shared without explicit permission. 7