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

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

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

6.012 Electronic Devices and Circuits Spring 2005

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

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

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

Homework Assignment 08

ENGR4300 Fall 2005 Test 3A. Name. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

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

Capacitors. Chapter How capacitors work Inside a capacitor

Designing Information Devices and Systems II Fall 2017 Miki Lustig and Michel Maharbiz Homework 1. This homework is due September 5, 2017, at 11:59AM.

EE115C Digital Electronic Circuits Homework #4

CARLETON UNIVERSITY. FINAL EXAMINATION December DURATION 3 HOURS No. of Students 130

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

ECE-343 Test 2: Mar 21, :00-8:00, Closed Book. Name : SOLUTION

ENGR4300 Fall 2005 Test 3S. Name solution. Section. Question 1 (25 points) Question 2 (25 points) Question 3 (25 points) Question 4 (25 points)

ENGG 1203 Tutorial_9 - Review. Boolean Algebra. Simplifying Logic Circuits. Combinational Logic. 1. Combinational & Sequential Logic

ESE570 Spring University of Pennsylvania Department of Electrical and System Engineering Digital Integrated Cicruits AND VLSI Fundamentals

Figure Circuit for Question 1. Figure Circuit for Question 2

EE105 Fall 2014 Microelectronic Devices and Circuits

EE 330 Lecture 22. Small Signal Modelling Operating Points for Amplifier Applications Amplification with Transistor Circuits

Lecture 15: MOS Transistor models: Body effects, SPICE models. Context. In the last lecture, we discussed the modes of operation of a MOS FET:

UNIVERSITY OF CALIFORNIA College of Engineering Department of Electrical Engineering and Computer Sciences. Professor Oldham Fall 1999

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Circuits & Electronics Spring 2007.

Electronics II. Midterm #1

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

E40M Review - Part 1

Problem Set 4 Solutions

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

Transient response of RC and RL circuits ENGR 40M lecture notes July 26, 2017 Chuan-Zheng Lee, Stanford University

Capacitors Diodes Transistors. PC200 Lectures. Terry Sturtevant. Wilfrid Laurier University. June 4, 2009

Bipolar Junction Transistor (BJT) - Introduction

ECE2210 Final given: Fall 13

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

Digital Logic: Boolean Algebra and Gates. Textbook Chapter 3

Electronics II. Final Examination

EECS 105: FALL 06 FINAL

11.1 As mentioned in Experiment 10, sequential logic circuits are a type of logic circuit where the output of

Lecture 12 CMOS Delay & Transient Response

3. Design a stick diagram for the PMOS logic shown below [16] Y = (A + B).C. 4. Design a layout diagram for the CMOS logic shown below [16]

Electronics and Communication Exercise 1

MOS Transistor Theory

Chapter 10 Instructor Notes

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

Homework Assignment 09

ELECTRONIC SYSTEMS. Basic operational amplifier circuits. Electronic Systems - C3 13/05/ DDC Storey 1

Lecture 13 MOSFET as an amplifier with an introduction to MOSFET small-signal model and small-signal schematics. Lena Peterson

EE40 Midterm Review Prof. Nathan Cheung

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.

ID # NAME. EE-255 EXAM 3 April 7, Instructor (circle one) Ogborn Lundstrom

EXPERIMENT 5A RC Circuits

Section 5.4 BJT Circuits at DC

ECE-342 Test 3: Nov 30, :00-8:00, Closed Book. Name : Solution

Electronics II. Final Examination

SAMPLE EXAMINATION PAPER

Operational amplifiers (Op amps)

Homework 6 Solutions and Rubric

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

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

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

Homework Assignment 11

EECS 141: FALL 05 MIDTERM 1

CARNEGIE MELLON UNIVERSITY DEPARTMENT OF ELECTRICAL AND COMPUTER ENGINEERING DIGITAL INTEGRATED CIRCUITS FALL 2002

Name: Grade: Q1 Q2 Q3 Q4 Q5 Total. ESE370 Fall 2015

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

Massachusetts Institute of Technology Department of Electrical Engineering and Computer Science Electronic Circuits Fall 2000.

DC and Transient Responses (i.e. delay) (some comments on power too!)

EE 3CL4: Introduction to Control Systems Lab 4: Lead Compensation

Mealy & Moore Machines

Lab 4 RC Circuits. Name. Partner s Name. I. Introduction/Theory

Biasing the CE Amplifier

Electronics II. Final Examination

Chapter 4 Field-Effect Transistors

Electronics II. Midterm II

6.012 Electronic Devices and Circuits

Lecture 5: DC & Transient Response

ECE2210 Final given: Spring 08

Fundamentals of Electrical Engineering, 1 st Edition. Giorgio Rizzoni

Electronics II. Midterm #2

F14 Memory Circuits. Lars Ohlsson

EECE 2150 Circuits and Signals Final Exam Fall 2016 Dec 16

Supplementary Reader. EECS 40 Introduction to Microelectronic Circuits

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 =

Lecture 37: Frequency response. Context

SCHOOL OF COMPUTING, ENGINEERING AND MATHEMATICS SEMESTER 1 EXAMINATIONS 2012/2013 XE121. ENGINEERING CONCEPTS (Test)

Midterm Exam 2. Prof. Miloš Popović

ENGR-2300 Electronic Instrumentation Quiz 3 Fall 2013 Name Section. Question III (25 Points) Question IV (25 Points) Total (100 Points)

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

ECE 407 Computer Aided Design for Electronic Systems. Simulation. Instructor: Maria K. Michael. Overview

EE1-01 IMPERIAL COLLEGE LONDON DEPARTMENT OF ELECTRICAL AND ELECTRONIC ENGINEERING EXAMINATIONS 2013 ANALYSIS OF CIRCUITS. Tuesday, 28 May 10:00 am

ESE319 Introduction to Microelectronics. Output Stages

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

ECE Circuit Theory. Final Examination. December 5, 2008

Transistor amplifiers: Biasing and Small Signal Model

For smaller NRE cost For faster time to market For smaller high-volume manufacturing cost For higher performance

Digital Electronics Part II - Circuits

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

Chapter7. FET Biasing

EECS 312: Digital Integrated Circuits Midterm Exam 2 December 2010

Chapter 9. Estimating circuit speed. 9.1 Counting gate delays

Transcription:

Electrical Engineering 42/00 Summer 202 Instructor: Tony Dear Department of Electrical Engineering and omputer Sciences University of alifornia, Berkeley Final Exam Solutions. Diodes Have apacitance?!?! Frustrated at how inaccurate all our linear diode models have been, ohn decides to cook up another one. The Zener diode below has a linear ON characteristic and a breakdown voltage V B like any other, but it is modeled as a capacitor D when it is reverse-biased, or OFF. i D (A) Reverse-Bias (OFF) i D v D = 0 D BD OFF 2 ON v D (V) (a) (3 points) Let s first analyze the diode in its forward-bias (ON) mode. What is its linear circuit equivalent in this region of operation? Label the directions of v D and i D. i D 0.5 Ω V v D (b) (3 points) ohn attaches this diode to a circuit as shown below. Ω 5u(t) A i D v D (t) 3 Ω Evidently, the Zener diode is now reverse-biased. On the plot below, draw in the load line immediately after the current source turns on, i.e., t = 0. Be sure to label slopes and intercepts; your plot need not be to scale. i D (A) 2 5 0 0 5 /3 v D (V)

Ω 5u(t) A i D v D (t) 3 Ω (c) (3 points) Suppose the capacitance of the diode is D = µf (0 6 F). What is the time constant τ associated with it? The time constant is given by τ = R D, where R is the Thévenin resistance as seen by the diode/capacitor. Since the current source becomes an open, the Ω resistor has no effect, and we simply have τ = R D = (3 Ω)( µf) = 3 µs (d) (6 points) Sketch the voltage v D (t) across the diode as a function of time. Label key values on the v D axis. Remember that a charging capacitor reaches about 63% of its final value after one time constant τ. Don t forget to account for the diode s breakdown region! The capacitor naturally wants to exponentially charge up to the steady-state value, which is 5 V (obtained if you treat the capacitor as an open circuit). However, this voltage abruptly ends at 0 V, the breakdown voltage of the diode. v D (t) 0 5 τ 2τ 3τ t 0 5 2

2. Moar Diode Madness William is having so much fun with diodes that he has constructed the following nightmare. Fortunately, you remember that you can always break the problem up into pieces that you can analyze separately. kω kω v in (t) v (t) 3 V v o (t) v L (t) R L For this entire problem, we can make the following assumptions: We are in A steady-state, such that we can ignore all transient effects. The capacitances are large, such that discharging effects are negligible. The op amp is ideal. All diodes are ideal with a turn-on voltage of 0 V. Finally, the input signal is v in (t) = 5 sin(t) V. (a) (5 points) Sketch the voltage v (t). Be sure to label peak values. This part of the circuit simply clamps the positive peak of the waveform to 3 V. v (t) 3 t 7 3

kω v in (t) kω v (t) 3 V v o (t) v L (t) R L (b) (5 points) Find an expression for v o (t) in terms of v (t) and v in (t). Using L at the inverting input of the op amp along with SP (v = v ), we obtain v v in kω v v o kω = 0 v o (t) = 2v (t) v in (t) (c) (5 points) We re almost there! Given what you found above, sketch the voltage v L (t). Be sure to label peak or constant values. Remember that we don t care about transient effects! Notice that the output side of the op amp is simply a peak detector with the diode facing backwards. Assuming negligible discharge, v L (t) will keep constant at the minimum value of v o (t). According to our expression above, the minimum value is v L (t) = v o,min = 2v,min v in,min = 2( 7) ( 5) = 9 V v L (t) t 9 4

3. FFFFFFFFUUUUUUUUUUU erry is trying to design an amplifier for the hundredth time. This time, he has turned to MOSFETs, specifically the common-source configuration. He has pulled up the following NMOS specs and designed the circuit as follows. 20 V =.0 A/V 2 V to = 2 V R D = kω v o (t) v in (t) V G kω R S = 500 Ω (a) (0 points) Recall that the transconductance of the transistor is given by g m = 2(V GS V to ) = 2 I DS () Given that Tony has demanded g m = 20 ms (0.02 S), find the necessary bias V G that should be applied at the gate to achieve this. g m =.02 = 2 I DS = 2.0I DS I DS =.0 A V S = I DS R S = (.0 A)(500 Ω) = 5 V g m =.02 = 2(V GS V to ) = 2(.0)(V G 5 2) V G = 8 V 5

20 V =.0 A/V 2 V to = 2 V R D = kω v o (t) v in (t) V G kω R S = 500 Ω (b) (2 points) Draw the equivalent small-signal model of the circuit and show that the gain is given by A v = v o = g mr D = 20 2 (2) v in g m R S Be sure to label all components and values. The SS model of this circuit is shown below. G D v out v in kω v gs g m v gs R D S R S Now we proceed to find the small-signal gain of this amplifier. v s = g m v gs R S = g m R S (v in v s ) v s = g mr S v in g m R S ( v o = g m v gs R D = g m R D (v in v s ) = g m R D v in g ) ( mr S v in = g m R D g m R S v o = g mr D = 20 v in g m R S 2 g m R S ) v in 6

(c) (8 points) Tony now insists that the gain be a function of the signal frequency. erry cleverly adds in a source capacitor as follows. 20 V =.0 A/V 2 V to = 2 V R D = kω v o (t) v in (t) V G kω S R S = 500 Ω The gain of the amplifier now becomes a complex transfer function, given by ( ) H(ω) = V o = g mr D = g mr D jωr S S V in g m Z S g m R S jω R S S 2 jωr S S jωr g S S /0 mr S (3) Sketch the magnitude Bode plot for the transfer function. Be sure to label any cutoff frequencies and asymptotic magnitude values, as well as slopes. You may leave your plot labels in terms of R S S for convenience. (Hint: 20 log 0 (2) = 6) H(ω) db 26 6 R S S 0 R S S ω 7

4. Introducing... the NYAN gate! Dennis has finally perfected the NYAN gate and is ready to add it to the current repertoire of logic gates. Its logic gate symbol is shown below: A B N Unlike most other logic gates, the NYAN gate takes in exactly three inputs. The truth table showing all its possible input/output combinations is as follows: A B N 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 (a) (2 points) Is the NYAN gate commutative? Briefly justify why or why not. No, it is not. Observe that the order of inputs into the gate actually matters. For example, NYAN(0, 0, ) NYAN(0,, 0). (b) (6 points) Write the SOP Boolean expression for the output N in terms of the inputs A, B, and. Simplify it into a sum of two terms only. N = A B AB AB AB = A (B B) AB( ) = A AB 8

(c) (8 points) Implement your simplified expression from above with a logic gate circuit. learly indicate the inputs A, B, and, as well as the output N. For full credit, use no more than 4 logic gates. The first term can be rewritten as a NOR using De Morgan s law: A = A Then the logic gate circuit can be implemented as follows: B A N (d) (4 points) Now help Dennis implement the NYAN gate using MOS digital logic. He already has the pull-down network in; your job is to fill in the pull-up network above it. For full credit, use no more than 4 transistors (you may use inverted inputs). V DD A A B Pull-Down Network N GND 9

5. The Final ountdown The hours that you have left in EE42/00 are numbered, and you can t wait to finish this exam and GTFO to party away your Friday night and what s left of summer. But before you do so, you must help finish our timer circuit below to perform the final countdown. Q Q Recall that the behavior of the flip flop is as follows: Q n 0 Q n Q n 0 0 Q n 0 0 0 Q n (a) (4 points) The output of this circuit is given by Q = (Q ) 2. Draw the state transition diagram for the given circuit above. 0 00 0 0

Q Q (b) (4 points) The first feature we want to add is the ability to pause the timer. Suppose we add in a new input P ; when P =, the timer keeps its current state and ignores the clock (Q should not reset to 0). Then when P = 0, the timer continues as usual. Given the original two flip flops below, make all the necessary connections to implement this new feature, using logic gates if necessary. Q P Q

Q Q (c) (4 points) Suppose the next feature we want to add is an LED (light-emitting diode) such that it lights up whenever our timer lands on the state Q = 0 2. The LED lights up when the signal line feeding into it is high (or ). Make all the necessary connections to implement this new feature, using logic gates if necessary. Q Q 2

Q Q (d) (8 points) You may have noticed that our timer doesn t have a very wide range, since it only has two bits of output. The last extension we want to do is to modify the timer so that it counts down from Q = 7. Make all the necessary connections to implement this new feature, using logic gates if necessary. (Notice that we have drawn in a third flip flop for you.) Q Q 2 Q Q 2 3