the three faces of 6 081
play

The three faces of 6.081 Coping with complexity in software design - PDF document

6.081 - Op-Amps and Feedback April 3 The three faces of 6.081 Coping with complexity in software design Modeling and interacting with physical systems (control) Dealing with error and uncertainty Organizing view: A framework for


  1. 6.081 - Op-Amps and Feedback April 3 The three faces of 6.081 • Coping with complexity in software design • Modeling and interacting with physical systems (control) • Dealing with error and uncertainty Organizing view: A framework for abstraction procedures data Primitives +, *, == numbers, strings, True/False Means of combination if, while, … data structures: lists dictionaries composition, e.g., can write 3*(4+7) Means of abstraction def abstract data types classes Means of capturing higher-order procedures inheritance common patterns CIC Report on EECS1 & 2 Organizing view: linear systems sequences systems primitives individual sequences Individual systems Means of combination addition cascade scaling parallel sum shift Means of abstraction Z-transform difference equations system function poles and zeros Means of capturing feedback and Black’s common patterns formula CIC Report on EECS1 & 2 1

  2. 6.081 - Op-Amps and Feedback April 3 Organizing view: circuits primitives Means of combination Means of abstraction Means of capturing common patterns CIC Report on EECS1 & 2 Series combination Parallel combination 1 1 1 = + R = R + R 3 1 2 R R R 3 1 2 2

  3. 6.081 - Op-Amps and Feedback April 3 Ideal independent voltage source Dependent voltage source 2-terminal devices 3

  4. 6.081 - Op-Amps and Feedback April 3 Organizing view: circuits primitives resistors, sources, … Means of combination ?? Means of abstraction Means of capturing common patterns CIC Report on EECS1 & 2 Organizing view: circuits primitives resistors, sources, … Means of combination wire things together at nodes Means of abstraction Means of capturing common patterns CIC Report on EECS1 & 2 4

  5. 6.081 - Op-Amps and Feedback April 3 • Nodal analysis – Constitutive relations • one for each element – Conservation Law (Kirchhoff’s Current Law) • one for each node “Modeling and Monitoring of Cardiovascular Dynamics in the Intensive Care Unit” Tushar Parlikar, Thomas Heldt, George Verghese, 2005 current in = current out 5

  6. 6.081 - Op-Amps and Feedback April 3 1-port Apply a voltage and measure the current. The 1-port is completely described by the relation of the between the voltage and the current. It doesn’t matter what’s in the box, so long as the relation holds. Analogy with software: An abstract data type is described by its API. Constitutive relations Conservation law in general v = V + iR TH TH V TH is the voltage when there is an open circuit at the terminals R TH is v ÷ i when all the independent sources are set to zero 6

  7. 6.081 - Op-Amps and Feedback April 3 Thévenin’s theorem Any two-terminal network made up of resistors and voltage sources, when viewed from the terminals, is completely electrically equivalent to a network composed of a single resistor and a single voltage source. v = V + iR TH TH Example: From the Wikipedia Step 1: The voltage V TH is the voltage we’d see at the terminals if we left them open 7

  8. 6.081 - Op-Amps and Feedback April 3 The voltage at the terminals is 7.5V, so V TH is 7.5V Step 2: The resistance R TH is the resistance we’d see at the terminals when we set the independent source to zero The resistance seen from the terminals is 2k � , so R TH is 2k � 8

  9. 6.081 - Op-Amps and Feedback April 3 A B Net result: These two circuits are completely electrically equivalent when viewed from the terminals. (Analogy: Two different implementations of the same data abstraction.) Organizing view: circuits primitives resistors, sources, … Means of combination wire things together at nodes Means of abstraction 1-port Thévenin equivalent Means of capturing common patterns CIC Report on EECS1 & 2 From: Margarida Jacome, UT Austin, EE411 9

  10. 6.081 - Op-Amps and Feedback April 3 1-port 2-port … and in general, n-ports Operational amplifier (op-amp) 5-terminal device +rail v + v out v − -rail +rail v + v out v − -rail 10

  11. 6.081 - Op-Amps and Feedback April 3 Ideal op-amp model K might be around 10,000 Ideal op-amp model K might be around 10,000 v + v out v − v GND 11

  12. 6.081 - Op-Amps and Feedback April 3 v + v out ( ) v v 1 + K = KV − out S v GND v K v = K ( v + − v ) out = 1 out − + V K S v = K ( V S − v ) out out v out ≈ 1 = S − v KV Kv out V out S v + Kv = KV out out S Voltage follower (or buffer) v + v out ≈ v 1 out v − V S v GND 12

  13. 6.081 - Op-Amps and Feedback April 3 An even simpler op-amp model - Draws no current, that is, i1=i2=0 - If K is very large, and v out is finite, then v+=v- v + v out v − v GND Non-inverting amplifier v − v v o − − = R R F 1 v = v = v − + in 13

  14. 6.081 - Op-Amps and Feedback April 3 Black’s formula for negative feedback Harold S. Black (1898-1983) Inventor of the negative feedback amplifier (1927) 14

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend