Designing Information Devices and Systems II Spring 2019 A. Sahai, J. Roychowdhury, K. Pister Homework 2

Similar documents
Homework Assignment 01

EXPERIMENT 4: RC, RL and RD CIRCUITs

I. Introduction to Simple Circuits of Resistors

In-Class Exercises for Lab 2: Input and Output Impedance

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 3

Homework Assignment 01

EXPERIMENT 4: RC, RL and RD CIRCUITs

Designing Information Devices and Systems II Fall 2018 Elad Alon and Miki Lustig Homework 4

PHYS 235: Homework Problems

EECS 216 Winter 2008 Lab 2: FM Detector Part I: Intro & Pre-lab Assignment

University of North Carolina, Charlotte Department of Electrical and Computer Engineering ECGR 3157 EE Design II Fall 2009

Homework Assignment 03

Designing Information Devices and Systems II Fall 2018 Elad Alon and Miki Lustig Homework 4

Paper-1 (Circuit Analysis) UNIT-I

Designing Information Devices and Systems II Spring 2017 Murat Arcak and Michel Maharbiz Homework 4. This homework is due February 22, 2017, at 17:00.

Exercise 9: inductor-resistor-capacitor (LRC) circuits

Lab #2: Electrical Measurements II AC Circuits and Capacitors, Inductors, Oscillators and Filters

CHAPTER 9. Sinusoidal Steady-State Analysis

EECS40 RLC Lab guide

Miniproject: AM Radio

AC reactive circuit calculations

Lab 8 - INTRODUCTION TO AC CURRENTS AND VOLTAGES

Assist Lecturer: Marwa Maki. Active Filters

Study of Inductive and Capacitive Reactance and RLC Resonance

ENGR4300 Test 3A Fall 2002

Lab E5: Filters and Complex Impedance

Physics 364, Fall 2014, reading due your answers to by 11pm on Sunday

CHAPTER 6: ALTERNATING CURRENT

RC and RL Circuits. Figure 1: Capacitor charging circuit.

Lecture 3 Complex Exponential Signals

Homework Assignment True or false. For both the inverting and noninverting op-amp configurations, V OS results in

Homework Assignment 06

E84 Lab 3: Transistor

Lecture # 3 Circuit Configurations

Advanced Circuits Topics Part 2 by Dr. Colton (Fall 2017)

Lecture Week 8. Quiz #5 KCL/KVL Homework P15 Capacitors RC Circuits and Phasor Analysis RC filters Bode Plots Cutoff frequency Homework

FREQUENCY RESPONSE AND PASSIVE FILTERS LABORATORY

Wireless Communication

Homework Assignment 11

ECE 3455: Electronics Section Spring Final Exam

EE42: Running Checklist of Electronics Terms Dick White

Lecture Week 7. Quiz 4 - KCL/KVL Capacitors RC Circuits and Phasor Analysis RC filters Workshop

Instructions for the final examination:

SAMPLE FINAL EXAMINATION FALL TERM

EE301 ELECTRONIC CIRCUITS CHAPTER 2 : OSCILLATORS. Lecturer : Engr. Muhammad Muizz Bin Mohd Nawawi

Operational amplifiers

Class #9: Experiment Diodes Part II: LEDs

Experiment 9 AC Circuits

Lab 9 - INTRODUCTION TO AC CURRENTS AND VOLTAGES

ECE2210 Final given: Fall 12

EE-2302 Passive Filters and Frequency Response

ECE 3410 Homework 4 (C) (B) (A) (F) (E) (D) (H) (I) Solution. Utah State University 1 D1 D2. D1 v OUT. v IN D1 D2 D1 (G)

ECE 363 FINAL (F16) 6 problems for 100 pts Problem #1: Fuel Pump Controller (18 pts)

Advanced Measurements

Homework Assignment 07

Simple Oscillators. OBJECTIVES To observe some general properties of oscillatory systems. To demonstrate the use of an RLC circuit as a filter.

Lab 1: Basic RL and RC DC Circuits

Homework Assignment 10

Experiment 7: Undriven & Driven RLC Circuits

Homework Assignment 02

Complex Numbers in Electronics

Homework Assignment 01

EELE 201 Circuits I. Fall 2013 (4 Credits)

Experiment VI: The LRC Circuit and Resonance

INTRODUCTION TO AC FILTERS AND RESONANCE

Homework Assignment 12

ECE 2100 Experiment VI AC Circuits and Filters

POLYTECHNIC UNIVERSITY Electrical Engineering Department. EE SOPHOMORE LABORATORY Experiment 5 RC Circuits Frequency Response

Lecture 8 Amplifiers (Basics)

hij Teacher Resource Bank GCE Electronics Exemplar Examination Questions ELEC2 Further Electronics

Figure Derive the transient response of RLC series circuit with sinusoidal input. [15]

Lab #2: Electrical Measurements II AC Circuits and Capacitors, Inductors, Oscillators and Filters

EE 230 Lab Lab 9. Prior to Lab

Experiment 8 Frequency Response

EECS 216 Winter 2008 Lab 2: FM Detector Part II: In-Lab & Post-Lab Assignment

EECS 216 Winter 2008 Lab 3: AM Radio Part II: In-Lab & Post-lab Assignment

Notes. 1. Midterm 1 Thursday February 24 in class.

Physics 481 Experiment 1

ECE 2006 University of Minnesota Duluth Lab 11. AC Circuits

VALLIAMMAI ENGINEERING COLLEGE

STATION NUMBER: LAB SECTION: Filters. LAB 6: Filters ELECTRICAL ENGINEERING 43/100 INTRODUCTION TO MICROELECTRONIC CIRCUITS

EE 368 Electronics Lab. Experiment 10 Operational Amplifier Applications (2)

Week 4: Experiment 24. Using Nodal or Mesh Analysis to Solve AC Circuits with an addition of Equivalent Impedance

AC CURRENTS, VOLTAGES, FILTERS, and RESONANCE

5.25Chapter V Problem Set

EE 233 Circuit Theory Lab 3: First-Order Filters

Lab #5 Steady State Power Analysis

Exp. #2-6 : Measurement of the Characteristics of,, and Circuits by Using an Oscilloscope

UMAINE ECE Morse Code ROM and Transmitter at ISM Band Frequency

Chapter 6: Alternating Current

Chapter 13: Comparators

Lecture 8: More on Operational Amplifiers (Op Amps)

10. Introduction and Chapter Objectives

Electronics Design Laboratory Lecture #4. ECEN 2270 Electronics Design Laboratory

University of Pittsburgh

THE SINUSOIDAL WAVEFORM

Phy 335, Unit 4 Transistors and transistor circuits (part one)

Chapter 30 Inductance, Electromagnetic. Copyright 2009 Pearson Education, Inc.

the reactance of the capacitor, 1/2πfC, is equal to the resistance at a frequency of 4 to 5 khz.

LINEAR IC APPLICATIONS

Transcription:

EECS 16B Designing Information Devices and Systems II Spring 2019 A. Sahai, J. Roychowdhury, K. Pister Homework 2 This homework is due on Wednesday, February 13, 2019, at 11:59PM. Self-grades are due on Saturday, February 16, 2019, at 11:59PM. 1. Complex Numbers A common way to visualize complex numbers is to use the complex plane. Recall that a complex number z is often represented in Cartesian form. z = x jy with Re{z} = x and Im{z} = y See Figure 1 for a visualization of z in the complex plane. Im{z} y z r θ x Re{z} Figure 1: Complex Plane In this question, we will derive the polar form of a complex number and use this form to make some interesting conclusions. (a) Calculate the length of z in terms of x and y as shown in Figure 1. This is the magnitude of a complex number and is denoted by z or r. Hint. Use the Pythagorean theorem. (b) Represent x, the real part of z, and y, the imaginary part of z, in terms of r and θ. (c) Substitute for x and y in z. Use Euler s identity 1 e jθ = cosθ j sinθ to conclude that, 1 also known as de Moivre s Theorem. z = re jθ EECS 16B, Spring 2019, Homework 2 1

(d) In the complex plane, draw out all the complex numbers such that z = 1. What are the z values where the figure intersects the real axis and the imaginary axis? (e) If z = re jθ, prove that z = re jθ. Recall that the complex conjugate of a complex number z = x jy is z = x jy. (f) Show that, r 2 = z z (g) Intuitively argue that 2 e j 2π 3 k = 0 k=0 Do so by drawing out the different values of the sum in the complex plane and making an argument based on the vector sum. 2. Component impedances Here is a blank log-log plot. Impedance magnitude Z (Ω) 10 9 10 8 10 7 10 6 10 5 10 4 10 3 10 2 10 1 Log-log Plot of R and Z eq 10 0 10 0 10 1 10 2 10 3 10 4 10 5 10 6 10 7 10 8 10 9 ω (rad/s) On this log-log plot, trace the magnitudes of the impedances ( Z ) of the following components: (a) Capacitors C 1 = 1nF, C 2 = 1pF, C 3 = 1µF (b) Inductors L 1 = 1H, L 2 = 1mH, L 3 = 1µH (c) Resistors R 1 = 1Ω, R 2 = 1kΩ, R 3 = 1MΩ 3. Approximating an equivalent impedance In class, you learned about the some useful approximations for series and parallel impedances. Suppose you have two components, which can be any of selection of resistors, capacitors, and inductors. Say component 1 has complex impedance Z 1 and component 2 has complex impedance Z 2. EECS 16B, Spring 2019, Homework 2 2

If you place these two components in a series, you can approximate the equivalent impedance magnitude as Z eq max( Z 1, Z 2 ). If you place them in parallel, then you can make the approximation that Z eq min( Z 1, Z 2 ). As long as the two components aren t a capacitor and an inductor (any other combination is okay), then the approximation will be off by no more than a factor of two. We will use this approximation method to analyze the impedance of the following circuit across different frequencies of v(t): 1 µf 1 kω Here is a blank log-log plot, in which you can draw the impedance of this circuit by following the steps below. 10 4 Log-log Plot of Z R, Z C, and Z eq Impedance magnitude Z (Ω) 10 3 10 2 10 1 10 0 10 1 10 2 10 3 10 4 10 5 ω (rad/s) (a) What are the impedances of the capacitor and resistor, Z C and Z R? What are the magnitudes of these impedances, Z C and Z R? Draw the impedance of the capacitor, Z C, and the impedance of the resistor, Z R, on the plot above using dotted lines. (b) Using the approximation method for parallel components, draw an approximation of the equivalent impedance Z eq of the circuit with a solid line. (c) Under this approximation, compute Z eq if ω takes the following values: 2 10 5 rad/s, 5 10 3 rad/s, 10 6 rad/s, 3 10 4 rad/s. (d) Now plot Z eq for this series circuit 1 kω i 1µF EECS 16B, Spring 2019, Homework 2 3

on the following blank log-log plot. 10 4 Log-log Plot of Z R, Z C, and Z eq Impedance magnitude Z (Ω) 10 3 10 2 10 1 10 0 10 1 10 2 10 3 10 4 10 5 ω (rad/s) (e) Again, under this approximation, compute Z eq if ω takes the following values: 2 10 5 rad/s, 5 10 3 rad/s, 10 6 rad/s, 3 10 4 rad/s. 4. Ideal Diode Here s an example of an ideal diode circuit. In this circuit, the op-amp is working like a comparator (which you have seen in EE16A), so the "golden rules" don t apply. Rather, when the differential input voltage on the op-amp is positive the output goes to a logic 1 value, turning the transistor on, and when the differential input is negative the output goes to a logic 0 value, turning the transistor off. The diode in the figure is a real PN junction diode as discussed in class. For a typical PN junction diode, the I/V relationship is given by I D,PN = I S (e V D,PN/V th 1) where at room temperature V th = 25mV. The "saturation current" I S is a function of the geometry of the junction, the doping, and other things. Assume that this PN diode has I S = 1pA. I ideal I N V ideal I D,PN (a) Assuming that the transistor is a switch with no "on-resistance", sketch the I/V curve of the overall circuit, I ideal vs. V ideal. Now assume that the transistor has an "on-resistance" of R on = 1Ω. (b) Draw the circuit equivalent to this model in the cases where the "switch" of the NMOS is on and where it is off. EECS 16B, Spring 2019, Homework 2 4

(c) Sketch the I/V curves of both the diode, I D,PN and the transistor, I N, for V ideal from -50 mv to 50 mv applied to this circuit. (d) Estimate the applied voltage V eq > 0 at which the diode current and the transistor current are equal. Sketch both the diode current and the transistor current vs. voltage for voltages within 50 mv of V eq. (e) Sketch the I/V curve of the overall circuit for an applied voltage from -1 V to 1 V, with a current axis from 1 to 1 A. 5. Time-Domain: Boost Converter Remember the boost converter circuit from Lecture (Thursday 01/31), which is shown below. The boost converter is a simple version of a circuit that is very common in battery-operated devices. While a single alkaline battery has a voltage that varies from 1.6 V when it is fresh to 0.8V at end of life, most electronic devices require a constant supply voltage that stays within ±10% of a certain nominal value. That nominal value is often greater than 1.6 V. So how do we power electronics with batteries? The boost converter is a commonly used circuit to provide that stable supply voltage, even from a battery whose voltage is slowly decreasing as it discharges. With proper choice of components and proper control of the gate voltage V G of the transistor, power from the battery can be converted to higher voltages with almost perfect efficiency. Consider the following circuit: L I D I L V bat V G V D C R V out I C I R with V bat = 1V L = 1µH C = 1mF R = 1kΩ We model the electronic component that is consuming power as a resistor R with voltage V out across it. Assume that the diode is ideal and that the gate voltage at the NMOS is low (and thus the NMOS is an open circuit) for t < 0. Remember that an ideal diode allows current to flow when V D > 0 and that no current flows through an ideal diode when V D 0. (a) Assume that there is no current flowing through the diode. Calculate the time constant of the RC circuit. How long will it take for the output voltage to decay by 10% from any non-zero value? If the voltage on the capacitor is 3 V at t = 0, what is the current in the resistor at time t = 0? What is the voltage in the capacitor for t > 0? EECS 16B, Spring 2019, Homework 2 5

(b) Let s assume that at t=0, the voltage on the capacitor is 3 V. At t=0, the gate voltage on the NMOS V G goes high, turning the transistor on (effectively shorting that circuit path). What is the rate of change of current in the inductor? How long does it take for the current in the inductor to increase to 100 ma? (c) Based on your two previous answers, how much has the capacitor voltage decayed during this time? Your answer should be such a small number that in the following parts, we will consider the output voltage constant. (d) When the current in the inductor hits 100mA, the transistor gate goes low, turning the transistor off. The energy stored in the magnetic field in the inductor quickly causes the voltage on the positive side of the diode to increase to 3 V, turning it on (to understand why, think about what a rapid decrease in current will do to the inductor voltage when the transistor turns off). What is the rate of change of current in the inductor when the diode is on? How long does it take the current in the inductor to go to zero? (e) Sketch the following currents vs time: i L, i NMOS, i diode for a single inductor charge/discharge cycle described above. If you like circuits like this, take EE113 Power Electronics. (f) To maintain V out at 3V, we need the average current through the diode to bring enough charge to the capacitor. Calculate the charge that flows through the diode in a single cycle. At what frequency does the transistor need to cycle through the on/off phases you analyzed above in order to supply the current consumed by the resistor, computed in part (a)? (g) How would the shape of the curves in part (e) change if the battery voltage were 1.6 V? A rough sketch, and some notations like "steeper, shorter, longer" is enough. 6. Phasor-Domain Circuit Analysis The analysis techniques you learned previously for resistive circuits are equally applicable for analyzing circuits driven by sinusoidal inputs in the phasor domain. In this problem, we will walk you through the steps with a concrete example. Consider the following circuit where the input voltage is sinusoidal. The end goal of our analysis is to find an equation for V out (t). R i R (t) V R (t) Vs (t) C L V out (t) i C (t) i L (t) The components in this circuit are given by: V s (t) = 10 ( 2cos 100t π ) 4 R = 5Ω EECS 16B, Spring 2019, Homework 2 6

L = 50mH C = 2mF (a) Give the amplitude V 0, oscillation frequency ω, and phase φ of the input voltage V s. (b) Transform the circuit the phasor domain. What are the impedances of the resistor, capacitor, and inductor? What is the phasor Ṽ S of the input voltage V s (t)? (c) Use Kirchoff s law(s) to relate the current phasors Ĩ R, Ĩ C, and Ĩ L in the circuit. (d) Rewrite the equation you found in part (c) in terms of voltage phasors Ṽ s and Ṽ out, and solve for Ṽ out. (e) Convert the phasor Ṽ out back to the time-domain signal V out (t). 7. Frequency domain: Filter You have a sensor that gives a signal with frequencies in the range of 1 to 10 Hz. There is a noise signal present in your system at 100 khz. If you use an RC low-pass filter to clean up your signal, what is the most that you can attenuate the high frequency signal while still keeping at least 99% of the sensor signal? Design an RC filter to do that. 8. Solar Cells Modern rooftop solar panels typically contain sixty silicon solar cells wired up in series. (You can learn much more about solar power and how it works in EE134.) Panel manufacturers supply datasheets which often include the current-voltage relationships of the panel at different illuminations. Usually these datasheets don t follow our passive sign convention, and show the current as positive. But we know that the current from a solar cell is actually negative, meaning that the panels are generating power rather than dissipating power. One popular panel made by LG Solar is offered by CivicSolar for $ 321. The datasheet shows the I/V characteristics under irradiance levels from 200 W/m 2 to 1000 W/m 2. Note that the datasheet incorrectly labels those curves as W, not W/m 2. The I/V plot is copied below with correct labels. Figure 2: LG Solar CivicSolar Solar Panel I/V characteristics As we learned in class and can see from the datasheet, solar panels produce a DC voltage. Your house runs on 60 Hz AC, so we need a device to convert DC voltage into AC. This device is called an inverter and looks like a variable resistive "load" to the panel. The panel is modeled in parallel with the inverter load as a stack of 60 diodes. To be efficient, the inverter needs to change the amount of current that it pulls from the panel depending on how much sunlight is falling on the panel. EECS 16B, Spring 2019, Homework 2 7

(a) Load optimization Make a table with rows for five different resistive loads: 0 Ω, 1 Ω, 3.5 Ω, 10 Ω, ; and columns for Voltage, Current, and Power. For each resistor value, draw a line on the solar panel IV plot corresponding to each of those resistor values, and label it with the resistance. (Hint: Remember V = IR for resistors.) For each resistor value, estimate the voltage and current that would be delivered to the resistor from the solar panel at 1000 W/m 2 irradiance. From your estimates, calculate the power delivered to the load for each value of resistance. Which resistive load value is best? Why? (b) Maximum Power Point Tracking Let s assume that the inverter is smart enough to be operating at the best resistance value you found in part (a) on a bright sunny day in June when the irradiance is 1000 W/m 2. Suddenly, though, a cloud blocks out 80% of the sunlight, and the irradiance drops down to 200 W/m 2. What is the voltage, current, and power delivered to the load now? Did that power also drop to 20%, or lower? Why? (Use the resistance you chose in part (a) (iv) above.) If the inverter is smart and can change its resistive load value, what is the new resistance value that it should use to maximize power output? (Assume your choices are NOT limited to the resistance values given.) What is the voltage, current, and power delivered to the load at this new resistance value? (c) Efficiency The dimensions of the panel is given in the datasheet are 1.686 m 1.016 m. What is the area of the panel? What is the total solar power hitting the panel at 1000 W/m 2 irradiance? What is ratio of the best case electrical power out from part (a) to the solar power into the panel at 1000 W/m 2 irradiance? This is the best case efficiency of the panel. (d) Economics Most places in California average insolation (total sunlight delivered per year) is equivalent to about 2,000 hours per year of full 1000 W/m 2 sunlight. What is the total electrical energy, in kw-hours, produced per year by this solar panel under those conditions? Assume you are using the best load resistance you found in part (a). If the average cost of electricity on a time-of-use meter is 0.20 $/kw-hour, how much money is a year of solar panel output worth? How many years will it take to pay off the cost of the $321 panel? 9. Write Your Own Question And Provide a Thorough Solution. Writing your own problems is a very important way to really learn material. The famous Bloom s Taxonomy that lists the levels of learning is: Remember, Understand, Apply, Analyze, Evaluate, and Create. Using what you know to create is the top level. We rarely ask you any homework questions about the lowest level of straight-up remembering, expecting you to be able to do that yourself (e.g. making flashcards). But we don t want the same to be true about the highest level. As a practical matter, having some practice at trying to create problems helps you study for exams much better than simply counting on solving existing practice problems. This is because thinking about how to create an interesting problem forces you to really look at the material from the perspective of those who are going to create the exams. Besides, this is fun. If you want to make a boring problem, go ahead. That is your prerogative. But it is more fun to really engage EECS 16B, Spring 2019, Homework 2 8

with the material, discover something interesting, and then come up with a problem that walks others down a journey that lets them share your discovery. You don t have to achieve this every week. But unless you try every week, it probably won t ever happen. 10. Homework Process and Study Group Citing sources and collaborators are an important part of life, including being a student! We also want to understand what resources you find helpful and how much time homework is taking, so we can change things in the future if possible. (a) What sources (if any) did you use as you worked through the homework? (b) Who did you work on this homework with? List names and student ID s. (In case of homework party, you can also just describe the group.) (c) How did you work on this homework? (For example, I first worked by myself for 2 hours, but got stuck on problem 3, so I went to office hours. Then I went to homework party for a few hours, where I finished the homework.) (d) Roughly how many total hours did you work on this homework? Contributors: Siddharth Iyer. Kris Pister. Geoffrey Négiar. Regina Eckert. Alex Devonport. EECS 16B, Spring 2019, Homework 2 9