EECS 16B: FALL 2015 FINAL

Similar documents
UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences

EECS 16A: SPRING 2015 MIDTERM 2

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

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

( ) ( ) = q o. T 12 = τ ln 2. RC Circuits. 1 e t τ. q t

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

EE 16B Final, December 13, Name: SID #:

Midterm II Sample Problems

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

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 Summer 2017 D. Aranki, F. Maksimovic, V. Swamy Homework 5

ELEC 2501 AB. Come to the PASS workshop with your mock exam complete. During the workshop you can work with other students to review your work.

Experiment Guide for RC Circuits

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

EECE 2150 Circuits and Signals, Biomedical Applications Final Exam Section 3

Chapter 11 AC and DC Equivalent Circuit Modeling of the Discontinuous Conduction Mode

P114 University of Rochester NAME S. Manly Spring 2010

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

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 16

Time Varying Circuit Analysis

ELECTROMAGNETIC OSCILLATIONS AND ALTERNATING CURRENT

Closed book (equation sheet handed out with this midterm) Calculators OK You must show your work to get full credit

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

Introduction to AC Circuits (Capacitors and Inductors)

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

Homework Assignment 08

Automatique. A. Hably 1. Commande d un robot mobile. Automatique. A.Hably. Digital implementation

Q. 1 Q. 25 carry one mark each.

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

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

1. (10 points) Find the general solution to the following second-order differential equation:

Accurate Fourier Analysis for Circuit Simulators

ECE1750, Spring Week 11 Power Electronics

SAMPLE SOLUTION TO EXAM in MAS501 Control Systems 2 Autumn 2015

The equivalent model of a certain op amp is shown in the figure given below, where R 1 = 2.8 MΩ, R 2 = 39 Ω, and A =

Experiment 8: Capacitance and the Oscilloscope

Name:... Section:... Physics 208 Quiz 8. April 11, 2008; due April 18, 2008

Experiment 9 Equivalent Circuits

ENGR 2405 Chapter 6. Capacitors And Inductors

Designing Information Devices and Systems I Spring 2019 Homework 7

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

Chapter 3: Capacitors, Inductors, and Complex Impedance

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 9

RC Circuits. Equipment: Capstone with 850 interface, RLC circuit board, 2 voltage sensors (no alligator clips), 3 leads V C = 1

PHYSICS 122 Lab EXPERIMENT NO. 6 AC CIRCUITS

Physics 227 Final Exam December 18, 2007 Prof. Coleman and Prof. Rabe. Useful Information. Your name sticker. with exam code

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

E40M. Op Amps. M. Horowitz, J. Plummer, R. Howe 1

Designing Information Devices and Systems I Fall 2016 Babak Ayazifar, Vladimir Stojanovic Midterm 1. Exam location: 2050 VLSB, Last Name: Tong-Zzz

15 n=0. zz = re jθ re jθ = r 2. (b) For division and multiplication, it is handy to use the polar representation: z = rejθ. = z 1z 2.

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

Physics 1308 Exam 2 Summer 2015

ECE137B Final Exam. There are 5 problems on this exam and you have 3 hours There are pages 1-19 in the exam: please make sure all are there.

The output voltage is given by,

'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. EGR 224 Spring Test II. Michael R. Gustafson II

Massachusetts Institute of Technology

ECE Branch GATE Paper The order of the differential equation + + = is (A) 1 (B) 2

Bandwidth of op amps. R 1 R 2 1 k! 250 k!

R. W. Erickson. Department of Electrical, Computer, and Energy Engineering University of Colorado, Boulder

Physics 1308 Exam 2 Summer Instructions

ECE 220 Laboratory 4 Volt Meter, Comparators, and Timer

Modeling Buck Converter by Using Fourier Analysis

2. The following diagram illustrates that voltage represents what physical dimension?

MASSACHUSETTS INSTITUTE OF TECHNOLOGY Physics Department Statistical Physics I Spring Term 2013

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

Laboratory manual : RC circuit

The Cooper Union Department of Electrical Engineering ECE111 Signal Processing & Systems Analysis Final May 4, 2012

Physics 102 Spring 2006: Final Exam Multiple-Choice Questions

ESE 531: Digital Signal Processing

State Feedback Controller for Position Control of a Flexible Link

EECS C128/ ME C134 Final Wed. Dec. 14, am. Closed book. One page, 2 sides of formula sheets. No calculators.

Cross Regulation Mechanisms in Multiple-Output Forward and Flyback Converters

Problem Solving 8: Circuits

Driven RLC Circuits Challenge Problem Solutions

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

Designing Information Devices and Systems I Spring 2019 Homework 11

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

Physics 208: Electricity and Magnetism Final Exam, Secs May 2003 IMPORTANT. Read these directions carefully:

General Physics (PHY 2140)

Impedance/Reactance Problems

Midterm Exam 2. Prof. Miloš Popović

DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING RUTGERS UNIVERSITY

Laboratory 11 Control Systems Laboratory ECE3557. State Feedback Controller for Position Control of a Flexible Joint

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

EE40 Lecture 11 Josh Hug 7/19/2010

Chapter 8: Converter Transfer Functions

RADIO AMATEUR EXAM GENERAL CLASS

Physics 240 Fall 2003: Final Exam. Please print your name: Please list your discussion section number: Please list your discussion instructor:

Exam 2, Phy 2049, Spring Solutions:

On the axes of Fig. 4.1, carefully sketch a graph to show how the potential difference V across the capacitor varies with time t. Label this graph L.

1 (30 pts) Dominant Pole

'XNH8QLYHUVLW\ (GPXQG73UDWW-U6FKRRORI(QJLQHHULQJ. ECE 110 Fall Test II. Michael R. Gustafson II

Chapter 30. Inductance. PowerPoint Lectures for University Physics, 14th Edition Hugh D. Young and Roger A. Freedman Lectures by Jason Harlow

sc Control Systems Design Q.1, Sem.1, Ac. Yr. 2010/11

Calculus Relationships in AP Physics C: Electricity and Magnetism

EMC Considerations for DC Power Design

Electromagnetic Induction Faraday s Law Lenz s Law Self-Inductance RL Circuits Energy in a Magnetic Field Mutual Inductance

FALL 2004 Midterm Exam #2, Part A

(a) What is the direction of the magnetic field at point P (i.e., into or out of the page), and why?

Index. Index. More information. in this web service Cambridge University Press

Transcription:

University of California College of Engineering Department of Electrical Engineering and Computer Sciences E. Alon, B. Ayazifar, C. Tomlin Wed., Dec. 16, 2015 G. Ranade 8:00-11:00am EECS 16B: FALL 2015 FINAL Important notes: Please read every question carefully and completely the setup may or may not be the same as what you have seen before. Also, be sure to show your work since that is the only way we can potentially give you partial credit. NAME Last First SID Login Problem 1: / 20 Problem 2: / 20 Problem 3: / 27 Problem 4: / 18 Problem 5: / 24 Problem 6: / 20 Total: / 129 EECS 16B: FALL 2015 FINAL 1/22

PROBLEM 1. Miscellaneous (20 pts) ( ) ( ) j 2 π/3 n j 2 π/5 n a) (6 pts) If x[n] = e + e, compute the coefficients X[k] for a length-15 DFT of the signal over the interval n = 0, 1,, 14. EECS 16B: FALL 2015 FINAL 2/22

b) (4 pts) Many bio-sensors are constructed by getting the molecule of interest to attach to a magnetic bead, and then subsequently having that bead become chemically/physically attached (usually via specific antibodies) to an inductor. The number of such attached molecules is then sensed by measuring the value of the inductor. Assuming that our sense inductor is a solenoid with an area A = 1e-7 m 2, number of turns N = 4, and length l = 10µm, if each magnetic bead that gets attached to the inductive sensor adds 4π 1e-10 to the permeability (the permeability with zero beads is 4π 1e-7), provide an expression for the inductance of the sensor as a function of the number of beads N beads. EECS 16B: FALL 2015 FINAL 3/22

c) (10 pts) For this problem, assume you have an open-loop system whose dynamics are described by: x0[ k+ 1] x0[ k] x0[ k] x[ k+ 1] = A x[ k] + Bu k y k = C x[ k] [ ] [ ] 1 1 1 x2[ k+ 1] x2[ k] x2[ k] 0 1 0 0 1 0 0 A= 0 0 1, B 0, C 0 1 0 = = 1 2 3 1 0 0 1 If we place this system in to closed-loop feedback with a forward K = k k k, choose values for k 1, k 2, and k 3 such that the eigenvalues of gain [ ] 1 2 3 the closed-loop system are equal to 0.9, 0.8, and 0.7. Important Note: You do not need to know the formula for the determinant of a 3x3 matrix to solve this problem. Instead, recall that for an eigenvector v = [v 0 v 1 v 2 ] T (where you can initially treat v 0, v 1, and v 2 as being unknowns), Av = λv, and use this relationship to determine an equation for λ. EECS 16B: FALL 2015 FINAL 4/22

PROBLEM 2. PI control (20 points) (a) (3 pts) Let s assume that we have an open-loop system whose dynamics are described by: x [ k+ 1] = Ax [ k] + Bu k 0 0 [ ] yk = Cx[ k] 0 [ ] A= 0.8, B= 1, C = 0.5 Assuming we have a desired output y d [k] and that we close the above system in a feedback loop with a forward gain K, derive the A CL, B CL, and C CL that capture the dynamics of the resulting closed-loop system. (b) (4 pts) If K = 2 and y d = 2 (i.e., y d is a constant), what will y[k] converge to? In other words, what will be the steady state error between y d and y? EECS 16B: FALL 2015 FINAL 5/22

(c) (8 pts) Now let s assume that we augment the system to include an integral term in the feedback. However, unlike the examples we developed in lecture, we will add this integral feedback to our original proportional-only controller. In other words, the output of our controller u[k] is now set by: uk [ ] = K ( y[ k] yk [ ]) + zk [ ] [ ] P d zk+ 1 = KT ( y[ k] yk [ ]) + zk [ ] I s d Re-derive the A CL, B CL, and C CL that capture the dynamics of the resulting closedloop system. Hint: what are the state variables of the new closed-loop system? EECS 16B: FALL 2015 FINAL 6/22

(d) (5 pts) As a function of K I and K P but continuing to assume that y d = 2 (i.e., y d is a constant), what will y[k] converge to with the new feedback controller from part (c)? Note that you must derive the answer you can t simply state the final result. EECS 16B: FALL 2015 FINAL 7/22

PROBLEM 3. DC-DC Converters (27 pts) Having learned about Dynamic Voltage and Frequency Scaling (DVFS) in lecture, you may now have an appreciation for why it would be useful to have a circuit component that can take a battery input voltage (e.g., ~3.7V for a lithium-ion battery) and efficiently (i.e., ideally, without the circuit itself dissipating any power) generating a new power supply voltage with an arbitrary value (e.g., 0.5V 1V to supply a digital processor, or e.g. >5-10V to make the LCD work). These circuits are known as DC-DC converters, and in this problem we will explore some key sub-components to get an idea of how such circuits operate. Important note: This problem has many sub-parts, but has been set up so that the majority of the sub-parts can be solved independently of each other. a) (5 pts) Let s first remind ourselves of the benefits of being able to scale the supply voltage of a digital circuit. Assuming that with a supply voltage V dd = 1V our digital circuit operates at 1GHz and dissipates 1W, how much power will the digital circuit dissipate at a supply voltage of 0.6V and clock frequency of 300MHz? EECS 16B: FALL 2015 FINAL 8/22

b) (10 pts) For the circuit shown below, assuming that for t<0 switch S1 is on and switch S2 if off, while for t 0 switch S1 is off and switch S2 is on, derive an expression for V out (t) for t 0. (This isn t important to solving this problem, but note that R L here represents the circuit that we are trying to power through the hypothetical DC-DC converter.) L R s S2 + V in + V - S1 R out L - EECS 16B: FALL 2015 FINAL 9/22

c) (4 pts) Assuming that after plugging in values for the various circuit components your answer to part b) was that V out (t) = 1V + 2V * e (-t/500ns), how long after changing the state of the switches (at t=0) will it take for V out (t) to reach 2V? (This isn t important to solving the problem, but for the type of DC-DC converter being modeled here, the circuit is typically operated such that switches S1 and S2 toggle states at a period faster than the time you computed here.) EECS 16B: FALL 2015 FINAL 10/22

d) (8 pts) Now let s look at the key components of another type of DC-DC converter shown below and known as a buck converter. Assuming that V in (t) is a sinusoid, write V out as a function of V in and the component values provided. 1µH V in + R L = - 1µF 10Ω + V out - EECS 16B: FALL 2015 FINAL 11/22

e) (BONUS: 5 pts) Assuming that V in (t) = V DC + 2*V DC *cos(2π*10mhz*t) and given your answer to part d), provide an approximate expression for V out (t). EECS 16B: FALL 2015 FINAL 12/22

PROBLEM 4. Robots Healing the World (18 points) After successfully taking its start-up for robot bicycles public, our enterprising robot SixT33n from HW6 decides it is time to turn its attention to more humanitarian endeavors. So, SixT33n teams up with Dr. MD from Grey Hospital in Seattle and tries to help solve some of the hospital s most pressing problems. a) (4 pts) Grey Hospital doesn t only treat humans, but robots like SixT33n as well. The (human) doctors at the hospital however need some help in making quick diagnoses of what might be ailing the robot. It turns out that almost all of the robots that come to Grey Hospital suffer from one of three medical conditions. To help address the need for fast diagnosis of which condition each robot might be suffering from, SixT33n decides to gather 27 pieces of characteristic data (e.g., how old the robot is, when it last visited the hospital, how many times per week it oils its joints, etc.) from each of the robots that comes to Grey Hospital, as well as recording which (if any) of the three conditions the robots suffer from. After having collected data from 1000 robot visitors, explain how SixT33n could set up a matrix A that could be analyzed to diagnose future robots. You should arrange A such that the information from each robot is a column in the matrix. Be sure to indicate what the dimensions of the matrix A are. EECS 16B: FALL 2015 FINAL 13/22

b) (8 pts) Assuming that the A matrix has two very dominant singular values, for any new robot visitor i whose data is collected, explain how SixT33n should use the matrix A and the new visitor s individual data vector a i to make a diagnosis. EECS 16B: FALL 2015 FINAL 14/22

c) (6 pts) Based only on the originally collected data in the A matrix and the recordings of which of those robots suffered from which conditions, and still assuming the A matrix has two very dominant singular values, explain how you might predict the accuracy with which SixT33n can diagnose a new visitor. EECS 16B: FALL 2015 FINAL 15/22

PROBLEM 5. Robots Might Cause Trouble Too (24 points) SixT33n s diagnosis method from Problem 2 turns out to be wildly successful and robots from all over Seattle are now flooding to Grey Hospital. Unfortunately however, when enough robots are in Grey Hospital all at once, some of the equipment for humans starts failing i.e., giving false readings. In fact, an important piece of monitoring equipment fails right when Dr. MD is not only in the middle of a brain surgery, but one that is being recorded for live TV, leading to some very bad publicity. SixT33n is once again called in to save the day, and quickly realizes that all of the equipment that is failing was designed before robots became prevalent. Specifically, the equipment samples its (electrical) input signals at 100kHz (i.e., T s = 10µs), but because of their underlying circuitry, robots generate (and radiate) significant interfering signals at 80kHz. Even though the front-end of the equipment includes an anti-aliasing filter, when too many robots are present, the interfering signal becomes strong enough that after aliasing the errors are large enough to make the equipment fail. a) (4 pts) After sampling, what continuous-time frequency (in Hz) will the interfering signals generated by the robots be indistinguishable from? EECS 16B: FALL 2015 FINAL 16/22

b) (8 pts) Assuming that the existing anti-aliasing filter within the equipment is implemented as shown below, if each robot generates an interfering signal V int (t) = 100µV*cos(2π*80kHz*t) in to the anti-aliasing filter, and that the interference from each robot is added together (i.e., with two robots, the amplitude of the interference is 200µV, with 3 it is 300µV, etc.), how many robots can be present before the magnitude of the interference after the antialiasing filter is >1mV (causing the equipment to fail)? V in + - 1kΩ 2nF + V out - EECS 16B: FALL 2015 FINAL 17/22

c) (12 pts) In order to try and help alleviate the problem, SixT33n decides to add another analog circuit in front of the existing front-end to further reduce the interference. After adding this extra circuit, the equipment must be able to receive desired signals at frequencies of up to 40kHz without attenuating them by more than 25% (i.e., V out /V in > 0.75 for signals at this frequency). Similarly, when combined with the existing anti-aliasing filter, your design must attenuate the interference by at least a factor of 2 (i.e., V out /V in < 0.5 for signals at this frequency). Using any combination of components you would like, design an analog circuit that meets these constraints. Be sure to label the values of any passive components (R s, C s, L s, etc.) that you use for this design. EECS 16B: FALL 2015 FINAL 18/22

PROBLEM 6. Frequency-Domain in Control (20 points) Although in this class we studied exclusively time-domain methods to analyze and design control systems, in future courses you will find that frequency-domain methods are extremely common when designing control systems as well. In this problem we will explore some of basic relationships between the time-domain and frequency-domain views to gain some preliminary insights. Throughout this problem, you should recall (from both EE16A and EE16B) that the frequency response of a discrete-time time filter can be found by measuring its response to a complex exponential input, and that this frequency response will be related to the DFT of the impulse response of the filter. a) (8 pts) Given the (truncated) impulse response of an integral controller shown below h I [n], compute the coefficients H I [k] for a length-4 DFT of h I [n] using the same window indicated in the impulse response. EECS 16B: FALL 2015 FINAL 19/22

b) (3 pts) If we were to take an infinitely long interval for both the impulse response and the DFT of the integral controller, what value would H I [0] (i.e., the DC gain) of the controller converge to? c) (3 pts) Given your answer to part b), why does an integral controller help reduce steady-state error? EECS 16B: FALL 2015 FINAL 20/22

d) (6 pts) Now let s consider the impulse response of a derivative controller as shown below. If the DFT coefficients associated with this impulse response are H D [k], regardless of the number of points we used in the impulse response and the corresponding DFT, for what frequency (i.e., k in H D [k]) will we get the minimum magnitude of gain from this controller? Similarly (still independent of window size), what is the maximum magnitude of gain this controller provides, and what is the period (in samples/cycle) of the sinusoid it provides that gain to? EECS 16B: FALL 2015 FINAL 21/22

e) (BONUS: 4 pts) Given your answer to part d), what types of errors do derivative controllers help to correct? EECS 16B: FALL 2015 FINAL 22/22