1 ENGG 1015 Tutorial Op Amps and Signals 19 Nov Learning Objectives  Analyze circuits with operational amplifiers  Convert between representations of.

Slides:



Advertisements
Similar presentations
Signals & Systems Predicting System Performance February 27, 2013.
Advertisements

Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Review of Frequency Domain
Announcements Troubles with Assignments… –Assignments are 20% of the final grade –Exam questions very similar (30%) Deadline extended to 5pm Fridays, if.
MM3FC Mathematical Modeling 3 LECTURE 3
* Operational Amplifiers * Op-Amp Circuits * Op-Amp Analysis
MM3FC Mathematical Modeling 3 LECTURE 6 Times Weeks 7,8 & 9. Lectures : Mon,Tues,Wed 10-11am, Rm.1439 Tutorials : Thurs, 10am, Rm. ULT. Clinics : Fri,
Laplace Transformations
Lecture 9: Operational Amplifiers
EGR 2201 Unit 7 Operational Amplifiers
Lesson 18 Phasors & Complex Numbers in AC
Introduction to Operational Amplifiers Why do we study them at this point??? 1. OpAmps are very useful electronic components 2. We have already the tools.
Ch7 Operational Amplifiers and Op Amp Circuits
ELECTRIC CIRCUIT ANALYSIS - I
Content Op-amp Application Introduction Inverting Amplifier
Integrator Op Amp Amplifier
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
Chapter 8 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Signals and Systems March 25, Summary thus far: software engineering Focused on abstraction and modularity in software engineering. Topics: procedures,
Topic 28: Direct Sensing 28.1 Sensing devices
The z-Transform Prof. Siripong Potisuk. LTI System description Previous basis function: unit sample or DT impulse  The input sequence is represented.
Inverting Amplifier. Introduction An inverting amplifier is a type of electrical circuit that reverses the flow of current passing through it. This reversal.
Time-Domain Representations of LTI Systems
1 Circuit Theory Chapter 5 Operational Amplifier Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Module 4 Operational Amplifier
1 ENGG 1015 Tutorial Circuit Analysis 5 Nov Learning Objectives  Analysis circuits through circuit laws (Ohm’s Law, KCL and KVL) News  HW1 deadline (5.
Copyright © 2001, S. K. Mitra Digital Filter Structures The convolution sum description of an LTI discrete-time system be used, can in principle, to implement.
The V  I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitudeAnd.
1 Z-Transform. CHAPTER 5 School of Electrical System Engineering, UniMAP School of Electrical System Engineering, UniMAP NORSHAFINASH BT SAUDIN
Storey: Electrical & Electronic Systems © Pearson Education Limited 2004 OHT 15.1 Alternating Voltages and Currents  Introduction  Voltage and Current.
Introduction to Operational Amplifiers
1 ELECTRICAL TECHNOLOGY EET 103/4  Define and explain sine wave, frequency, amplitude, phase angle, complex number  Define, analyze and calculate impedance,
The Game of Algebra or The Other Side of Arithmetic The Game of Algebra or The Other Side of Arithmetic © 2007 Herbert I. Gross by Herbert I. Gross & Richard.
ENGG 1203 Tutorial Op Amps 8 Mar Learning Objectives News
1 Lecture 1: February 20, 2007 Topic: 1. Discrete-Time Signals and Systems.
EMLAB 1 Chapter 4. Operational amplifiers
Alexander-Sadiku Fundamentals of Electric Circuits
Unit 8 Phasors.
1 ENGG 1015 Tutorial Systems, Control and Computer Arithmetic 11 Dec Learning Objectives  Analyse systems and control systems  Interpret computer arithmetic.
CIRCUITS WITH OPERATIONAL AMPLIFIERS Why do we study them at this point??? 1. OpAmps are very useful electronic components 2. We have already the tools.
ELEC692 VLSI Signal Processing Architecture Lecture 3
Active Analogue Circuits Year 2 B. Todd Huffman. Circuit Theory Reminders Basics, Kirchoff’s laws, Thevenin and Norton’s theorem, Capacitors, Inductors.
Signal and Systems Prof. H. Sameti Chapter 10: Introduction to the z-Transform Properties of the ROC of the z-Transform Inverse z-Transform Examples Properties.
Signals & Systems Predicting System Performance February 27, 2013.
Technological Educational Institute Of Crete Department Of Applied Informatics and Multimedia Neural Networks Laboratory Slide 1 DISCRETE SIGNALS AND SYSTEMS.
Topics 1 Specific topics to be covered are: Discrete-time signals Z-transforms Sampling and reconstruction Aliasing and anti-aliasing filters Sampled-data.
Lecture 4: The z-Transform 1. The z-transform The z-transform is used in sampled data systems just as the Laplace transform is used in continuous-time.
AC STEADY-STATE ANALYSIS LEARNING GOALS SINUSOIDS Review basic facts about sinusoidal signals SINUSOIDAL AND COMPLEX FORCING FUNCTIONS Behavior of circuits.
Op-amp used as a summing amplifier or adder It is possible to apply more than one input signal to an inverting amplifier. This circuit will then add all.
Algebra 2 Lesson 1-6 Part 2 Absolute Value Inequalities.
Analysis of Linear Time Invariant (LTI) Systems
Finite Impuse Response Filters. Filters A filter is a system that processes a signal in some desired fashion. –A continuous-time signal or continuous.
An operational amplifier (Op-Amp) is a differential amplifier that amplifies the difference of voltages applied to its two input terminals (differential.
Source Transformation
Lecture Notes / PPT UNIT III
ET 438a Automatic Control Systems Technology 1lesson4et438a.pptx.
EE301 Phasors, Complex Numbers, And Impedance. Learning Objectives Define a phasor and use phasors to represent sinusoidal voltages and currents Determine.
Signals and systems By Dr. Amin Danial Asham.
Linear Constant-coefficient Difference Equations
Medical electronics II
Absolute Value Equations and Inequalities
Description and Analysis of Systems
UNIT II Analysis of Continuous Time signal
Islamic University of Gaza Faculty of Engineering
Chapter 1 Fundamental Concepts
2. 2 The V-I Relationship for a Resistor Let the current through the resistor be a sinusoidal given as Is also sinusoidal with amplitude amplitude.
Medical electronics II
Tania Stathaki 811b LTI Discrete-Time Systems in Transform Domain Ideal Filters Zero Phase Transfer Functions Linear Phase Transfer.
Zhongguo Liu Biomedical Engineering
Mathematical Models of Control Systems
Presentation transcript:

1 ENGG 1015 Tutorial Op Amps and Signals 19 Nov Learning Objectives  Analyze circuits with operational amplifiers  Convert between representations of systems News  HW2 deadline (19 Nov 23:55)  Revision tutorial (TBD) Ack.: MIT OCW 6.01, 6.003

Simple Op Amps (1) Assume the op-amps are “ideal” Determine the current I x when V 1 =1V and V 2 =2V. Determine the voltage V A when V 1 =1V and 2 =2V. Determine a general expression for V A in terms of V 1 and V 2. 2

Simple Op Amps (2)

Non-inverting Amplifier Use a single op-amp and resistors to make a circuit that is equivalent to the following circuit. 4 VnVn

Voltage-controlled Current Source Use the ideal op-amp model (V + = V - ) to determine an expression for the output current I o in terms of the input voltage V i and resistors R 1 and R 2. 5 vxvx v i +v x

Op Amp Configurations (1) Fill in the values of R1 and R2 required to satisfy the equations in the left column of the following table. The values must be non-negative (i.e., in the range [0,∞]) 6 R1R2 V o = 2V 2 - 2V 1 V o = V 2 -V 1 V o = 4V 2 - 2V 1

Op Amp Configurations (2) 7 R1R2 V o =2V 2 -2V 1 20kΩ V o =V 2 -V 1 20kΩ V o =4V 2 -2V 1 Impossible

Unusual Op Amp Configurations What is V o ? 8 V o = 0 V o = V 1 – V 2

Motor Control (1) The following circuit is a proportional controller that regulates the current through a motor by setting the motor voltage V C to V C = K(I d − I o ) where K is the gain (notice that its dimensions are ohms), I d is the desired motor current, and I o is the actual current through the motor. 9

Motor Control (2) 10

Multiple Representations of Systems State machines: computationally efficient. Difference equations: mathematically compact. Signal flow graphs: illustrate signal flow paths. Operator representations / z-transforms: analyze systems as polynomials. 11

From Blocks to Equations (1) Determine the difference equation that relates x[·] and y[·]. 12

From Blocks to Equations (1) Assign names to all signals. Replace Delay with R. Express relations among signals algebraically. E = X +W ; Y = RE ; W = RY Solve: Y = RE = R(X +W) = R(X + RY )  RX = Y − R 2 Y Difference equation: y[n] = x[n − 1] + y[n − 2] 13

Operator Algebra (1) Start with X, subtract 2 times a right-shifted version of X, and add a double-right-shifted version of X 14

Operator Algebra (2) 15

Quick Checking How many of the following systems are equivalent? 16 3

Geometric Growth The value of p 0 determines the rate of growth.  p 0 > 1: magnitude diverges monotonically  0 < p 0 < 1: magnitude converges monotonically  −1 < p 0 < 0: magnitude converges, alternating sign  p 0 < −1: magnitude diverges, alternating sign 17

Computing Responses (1) A given linear, time-invariant system turns the unit pulse into the triangle: The system is given the following input signal: Sketch the output signal. 18

Computing Responses (2) Consider the system described by y[n] = x[n] + y[n − 1] + 2y[n − 2]. Assume that the system starts at rest and that the input x[n] is the unit-step signal u[n]. We can compute the response through the iterating the difference equation. 19

Analysis of a Simple System (1) Consider a system H which transforms an input signal X into an output signal Y Suppose the input signal is a unit sample: and for that input, the samples of the output response signal are: Block diagram: 20

Analysis of a Simple System (2) Consider the input Let y[n] be the output response to x[n], as given in part 1, above, and let y′[n] be the output response to input x′[n]. y′[n] = y[n] − 16y[n − 4]  y′[0] = 1  y′[1] = -2  y′[2] = 4  y′[3] = −8  y′[4] = 16 − 16 = 0 21

Difference Equation Construction (1) Newton’s law of cooling states that: The change in an object’s temperature from one time step to the next is proportional to the difference (on the earlier step) between the temperature of the object and the temperature of the environment, as well as to the length of the time step. Let o[n] be temperature of object, s[n] be temperature of environment, T be the duration of a time step, K be the constant of proportionality 22

Difference Equation Construction (2) The difference equation for Newton’s law of cooling  i) the difference (on the earlier step) between the temperature of the object and the temperature of the environment  ii) as well as to the length of the time step  Be sure the signs are such that the temperature of the object will eventually equilibrate with that of the environment. The system function corresponding to this equation 23

Signals and Feedback Control (1) X : Desired temperature T set Y : Actual hot water temperature T HW The sensor reads T HW with gain k s, but has a unit delay. The valve also takes a unit delay to respond, and has some persistence about its motion, characterized by k v. The proportional controller, with setting k, converts the temperature difference between T set and the sensed temperature to a signal input to the valve. 24

Signals and Feedback Control (2) The difference equation: y[n] = k a x[n − 1] − k v y[n − 1] − k s k a y[n − 2] Assume the system starts at rest, and the input is a unit sample signal x[n] (i.e. x[n] = [1,0,0,0,…]), suppose k v = 0.9 and k a = 0.5 When k s = 0  y[0] = 0  y[1] = 0.5 (1) – 0.9 (0) – 0 = 0.5  y[2] = 0.5 (0) – 0.9 (0.5) – 0 = – 0.45  y[3] = 0.5 (0) – 0.9 (– 0.45) – 0 =  y[4] = 0.5 (0) – 0.9 (0.405) – 0 = –

Signal and Feedback Control (3) When k s = – 0.35  y[0] = 0  y[1] = 0.5 (1) – 0.9 (0) – (– 0.35)(0.5) (0) = 0.5  y[2] = 0.5 (0) – 0.9 (0.5) – (– 0.35)(0.5) (0) = – 0.45  y[3] = 0.5 (0) – 0.9 (– 0.45) – (– 0.35)(0.5) (0.5) =  y[4] = 0.5 (0) – 0.9 (0.4925) – (– 0.35)(0.5) (– 0.45) = – When k s = 1.5  y[0] = 0  y[1] = 0.5 (1) – 0.9 (0) – (1.5)(0.5) (0) = 0.5  y[2] = 0.5 (0) – 0.9 (0.5) – (1.5)(0.5) (0) = – 0.45  y[3] = 0.5 (0) – 0.9 (– 0.45) – (1.5)(0.5) (0.5) = 0.03  y[4] = 0.5 (0) – 0.9 (0.03) – (1.5)(0.5) (– 0.45) = y[n] = 0.5 x[n − 1] − 0.9 y[n − 1] − 0.5 k s y[n − 2]

Grow, baby, grow (1) In each time period, every cell in the bioreactor divides to yield itself and one new daughter cell. However, due to aging, half of the cells die after reproducing. Po : The number of cells at each time step.  P o [n] = 2P o [n−1] − 0.5P o [n−2] Suppose that P o [0]= 10 and P o [n]= 0 if n<0. P o [0] = 10 P o [1] = 2P o [0] − 0.5P o [-1] = = 20 P o [2] = 2P o [1] − 0.5P o [0] = 40 − 5 = 35 P o [3] = 2P o [2] − 0.5P o [1] = 70 − 10 = 60 27

Grow, baby, grow (2) Your goal is to create a constant population of cells, that is, to keep P o constant at some desired level P d. You are to design a proportional controller that can add or remove cells as a function of the difference between the actual and desired number of cells. Assume that any additions/deletions at time n are based on the measured number of cells at time n−1. Denote the number of cells added or removed at each step P inp. The difference equations P o [n] = 2P o [n − 1] − 0.5P o [n − 2] + P inp [n] P inp [n] = k(P d [n] − P o [n − 1]) 28

Grow, baby, grow (3) Draw a block diagram that represents the system P o [n] = 2P o [n − 1] − 0.5P o [n − 2] + P inp [n] P inp [n] = k(P d [n] − P o [n − 1]) Delays + Adders + Gains 29

Stepping Up and Down (1) Use a small number of delays, gains, and 2-input adders (and no other types of elements) to implement a system whose response (starting at rest) to a unit-step signal is Draw a block diagram of your system. 30 [1,1,1,…] [1,2,3,1,2,3,1,…]

Stepping Up and Down (3) First find a system whose unit-sample response is the desired sequence. The periodicity of 3 suggests that y[n] depends on y[n − 3]. The resulting difference equation is y[n] = y[n − 3] + w[n] + 2w[n − 1] + 3w[n − 2]. 31 [1,0,0,…] [1,2,3,1,2,3,1,…]

Stepping Up and Down (3) Next compute w[n] which is the first difference of x[n]: w[n] = x[n] − x[n − 1]. The result is the cascade of the first difference and the previous result. 32 [1,1,1,…] [1,0,0,…] [1,2,3,1,2,3,1,…]

Summary Response Difference equations Signal flow graphs Operator representations Signal flow graphs  Difference equations Operator representations  Signal flow graphs 33

Appendix: Partial Fractions 34

Appendix: Complex Numbers (1) Complex number z = x (Real) + yi (Imaginary) Complex conjugate of z = x + yi is defined to be x − yi 35

Appendix: Complex Numbers (2) Polar expressions  Argument φ and Modulus/magnitude/absolute value r The argument or phase of z is the angle of the radius OP with the positive real axis 36