Electromechanical devices MM2EMD. Lecture 5 Using Operational Amplifiers (opamps) in the real world

Similar documents
EE100Su08 Lecture #9 (July 16 th 2008)

Lecture 5: Using electronics to make measurements

Lecture 4: Feedback and Op-Amps

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

Lecture 5: Using electronics to make measurements

Operational amplifiers (Op amps)

7.Piezoelectric, Accelerometer and Laser Sensors

Georgia Institute of Technology School of Electrical and Computer Engineering. Midterm-1 Exam (Solution)

Operational amplifiers (Op amps)

Design Engineering MEng EXAMINATIONS 2016

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

Physics 364, Fall 2012, reading due your answers to by 11pm on Thursday

or Op Amps for short

ECE2262 Electric Circuits. Chapter 4: Operational Amplifier (OP-AMP) Circuits

EE1305/EE1105 Intro to Electrical and Computer Engineering Lecture Week 6

Electronics Resistive Sensors and Bridge Circuits

COURSE OUTLINE. Introduction Signals and Noise Filtering Sensors: Piezoelectric Force Sensors. Sensors, Signals and Noise 1

ENGR-4300 Spring 2009 Test 2. Name: SOLUTION. Section: 1(MR 8:00) 2(TF 2:00) 3(MR 6:00) (circle one) Question I (20 points): Question II (20 points):

20.2 Design Example: Countdown Timer

Mechatronics II Laboratory EXPERIMENT #1: FORCE AND TORQUE SENSORS DC Motor Characteristics Dynamometer, Part I

D is the voltage difference = (V + - V - ).

Unit 2: Modeling in the Frequency Domain. Unit 2, Part 4: Modeling Electrical Systems. First Example: Via DE. Resistors, Inductors, and Capacitors

Multi-loop Circuits and Kirchoff's Rules

Electronic Instrumentation. Project 2 Velocity Measurement

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 =

Solved Problems. Electric Circuits & Components. 1-1 Write the KVL equation for the circuit shown.

ELECTRICAL AND ELECTRONIC CIRCUITS E030. Professor Dr Ir Mostafa Afifi

Analog Circuits Prof. Jayanta Mukherjee Department of Electrical Engineering Indian Institute of Technology -Bombay

Problem Set 4 Solutions

EIT Quick-Review Electrical Prof. Frank Merat

ECE 2100 Lecture notes Wed, 1/22/03

Time Varying Circuit Analysis

Biosensors and Instrumentation: Tutorial 2

MAS.836 PROBLEM SET THREE

Sequential Logic (3.1 and is a long difficult section you really should read!)

Capacitors. Chapter How capacitors work Inside a capacitor

National Exams May 2016

2 A bank account for electricity II: flows and taxes

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

Electronics II. Final Examination

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

DEPARTMENT OF COMPUTER ENGINEERING UNIVERSITY OF LAHORE

ECS 40, Fall 2008 Prof. Chang-Hasnain Test #3 Version A

Outline. Week 5: Circuits. Course Notes: 3.5. Goals: Use linear algebra to determine voltage drops and branch currents.

Lecture 19. Measurement of Solid-Mechanical Quantities (Chapter 8) Measuring Strain Measuring Displacement Measuring Linear Velocity

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

Objective Type Questions Instrumentation System & Devices (IDS)

Transducers. EEE355 Industrial Electronics

10 Measurement of Acceleration, Vibration and Shock Transducers

What is a Strain Gauge? Strain Gauge. Schematic View Of Strain Gauge

Basics of Network Theory (Part-I)

Operational Amplifier (Op-Amp) Operational Amplifiers. OP-Amp: Components. Internal Design of LM741

University Physics (PHY 2326)

From this analogy you can deduce some rules that you should keep in mind during all your electronics work:

Summary Notes ALTERNATING CURRENT AND VOLTAGE

a. Clockwise. b. Counterclockwise. c. Out of the board. d. Into the board. e. There will be no current induced in the wire

INF5490 RF MEMS. LN03: Modeling, design and analysis. Spring 2008, Oddvar Søråsen Department of Informatics, UoO

OPAMPs I: The Ideal Case

EIT Review. Electrical Circuits DC Circuits. Lecturer: Russ Tatro. Presented by Tau Beta Pi The Engineering Honor Society 10/3/2006 1

Force and Displacement Measurement

Lecture 20. Measuring Pressure and Temperature (Chapter 9) Measuring Pressure Measuring Temperature MECH 373. Instrumentation and Measurements

Chapter 19 Lecture Notes

EE 321 Analog Electronics, Fall 2013 Homework #3 solution

A tricky node-voltage situation

Lecture 19: WED 07 OCT

INTRODUCTION TO ELECTRONICS

P1: Basics - Things you now know that you didn t know you knew (25 pts)

Strain, Force, and Pressure

Electrical measurements:

Homework Assignment 09

2.004 Dynamics and Control II Spring 2008

Laboratory I: Impedance

Today in Physics 217: circuits

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

Operational Amplifiers

Designing Information Devices and Systems I Spring 2019 Midterm 2

MAE140 Linear Circuits Fall 2016 Final, December 6th Instructions

Designing Information Devices and Systems I Spring 2018 Lecture Notes Note 20

Please bring the task to your first physics lesson and hand it to the teacher.

DESIGN MICROELECTRONICS ELCT 703 (W17) LECTURE 3: OP-AMP CMOS CIRCUIT. Dr. Eman Azab Assistant Professor Office: C

Texas A & M University Department of Mechanical Engineering MEEN 364 Dynamic Systems and Controls Dr. Alexander G. Parlos

Designing Information Devices and Systems I Spring 2018 Homework 10

Chapter 7. Chapter 7

CIRCUITS AND ELECTRONICS. Dependent Sources and Amplifiers

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

Chapter 7 Direct-Current Circuits

Resistance Learning Outcomes

Unit 57: Mechatronic System

ECE Networks & Systems

Series/Parallel Circuit Simplification: Kirchoff, Thevenin & Norton

ECE2262 Electric Circuits. Chapter 6: Capacitance and Inductance

Mechatronics II Laboratory EXPERIMENT #1 MOTOR CHARACTERISTICS FORCE/TORQUE SENSORS AND DYNAMOMETER PART 1

Basic Electronics. Introductory Lecture Course for. Technology and Instrumentation in Particle Physics Chicago, Illinois June 9-14, 2011

Schedule. ECEN 301 Discussion #20 Exam 2 Review 1. Lab Due date. Title Chapters HW Due date. Date Day Class No. 10 Nov Mon 20 Exam Review.

Switched-Capacitor Circuits David Johns and Ken Martin University of Toronto

Resistance Learning Outcomes. Resistance Learning Outcomes. Resistance

EE292: Fundamentals of ECE

Calendar Update Energy of Charges Intro to Circuits Ohm s Law Analog Discovery MATLAB What s next?

mith College Computer Science CSC270 Spring 16 Circuits and Systems Lecture Notes Week 3 Dominique Thiébaut

Chapter 2. Engr228 Circuit Analysis. Dr Curtis Nelson

Transcription:

University of Nottingham Electromechanical devices MM2EMD Lecture 5 Using Operational Amplifiers (opamps) in the real world Dr. roderick.mackenzie@nottingham.ac.uk Summer 2015 @rcimackenzie Released under

Outline of the lecture Recap of last lecture Mini Quiz Books and resources Opamps used in the real world Measuring acceleration Measuring stress and strain. Summary 2

Recap: Race times All gates have a 'turn on' and 'turn off' time. This is in effect a time it takes the gate to react to an input. A A 1 A 0 A 0 3

Recap: Race times A A B A O B 1 0 1 0 A O 0 1 0 time 4

Recap: digital v.s. analog signals Digital signal can only have two values on and off. A 1 0 Analog signals can take any value. You find analog signals in the real world, think of sound or vibration signals. 5

Recap: Modern analog systems an mp3 recorder. Analog electronics (amplifier filters) Voltage V 0.1 mv Voltage Voltage Many modern digital systems have analog electronic preprocessing of data. Analog to Digital converter mp3 6

Recap: The opamp (Bob Widlar) Operational amplifier An amplifier i.e. And 'operation', think of a mathematical something that makes a signal bigger. 7 operation.

Daniel Braun Recap: What's inside... ahhh.. 8

Recap: opamp equivalent circuit Vin Inverting input () output Vout. time Vin Vout time Noninverting input () Vin A=Vout 9

Recap: It contains two resistors Rin Ro Rin = an input resistance very high we can assume this is infinite. Ro = output resistance very low we can assume this is zero (i.e. a short circuit) So let's further simplify our circuit taking into account the high Rin and the low Ro. 10

Recap: A simple opamp circuit Vin Vout 11

Gain (A) Recap: Problems with the opamp.. 106 Non linear gain 105 104 103 102 10 7 5 6 3 4 10 102 10 10 10 10 10 frequency 0.01 V A Output clipping 5V Vin*A=Vout 12

Recap: Opamps give a lot of nonlinear gain. if A open loop gain 106 Gain 105 104 10 i1 Vinput 103 102 Rin V=0V 102 103 104 frequency V A*V Vout 0 Volts G closed loop gain 10 i 105 106 107 We can make the gain linear by adding a feedback resistor. 13

Recap: Inverting amplifier and adding amplifier if Ri i1 n Vinput R3 R2 i V3 V V=0V Vout A*V 0 Volts V0 R f A = V i [ R r ( A1)R f ] V0 Rf G= = Vi R1 R1 V2 V1 i3 i2 i1 Rf if V i A*V Vout 0 Volts V out = [V 1 V 2 V 3 ] 14

Outline of the lecture Recap of last lecture Mini Quiz Books and resources Opamps used in the real world Measuring acceleration Measuring stress and strain. Summary 15

Quiz Q1: Q: What can we assume the input resistance of an opamp is? Rin 16

Quiz A1: Q: What can we assume the input resistance of an opamp is? Infinite Rin In fact it's so big we can assume it's not there! 17

Quiz Q2: Q: What can we assume the output resistance of an opamp is? Ro 18

Quiz A2: Q: What can we assume the output resistance of an opamp is? zero Ro In fact it's so small we can assume it's not there! 19

Quiz Q3: Q: Why do we need to use a feedback resistor in an opamp circuit? if Rin i1 Vinput V=0V i V A*V Vout 0 Volts 20

Quiz A3: Q: Why do we need a feedback resistor to use an opamp? Gain A1) The gain is too high to be useful A2) The gain is nonlinear. A open loop gain 106 105 104 103 102 10 G closed loop gain 10 102 103 104 105 106 107 frequency 21

Outline of the lecture Recap of last lecture Mini Quiz Books and resources Opamps used in the real world Measuring acceleration Measuring stress and strain. Summary 22

Recommended reading: A general text book If you feel you need a text book and only want to buy one get this one: An introduction to Mechanical Engineering, Part 1 pp. 365371 42 23

Recommended reading: Useful for later in industry or now if you are interested A little more in depth on digital electronics: 29 42 Lots of in depth stuff on analog circuits classic text book. 30 60 24

Recommended reading: Useful for later in industry or now if you are interested This is the classical practical electronics book. Every electronic engineer has this on his shelf. 2860 25

Outline of the lecture Recap of last lecture Mini Quiz Books and resources Opamps used in the real world Measuring acceleration Measuring stress and strain. Summary 26

Let's think about measuring acceleration Often we need to measure acceleration Because acceleration can tell us a lot about our environment acceleration dt=velocity velocity dt= position 27

Now let's think about the crystal quartz AlaskaMining Quartz 28

The pizoelectric effect in quartz Normally quartz has a regular arrangement of positive and negative ions: JJ Harrison quartz 29

The pizoelectric effect in quartz Force But what has this got to do with measuring acceleration? 30

Detecting acceleration with quartz crystal Let's put a mass on top of the quartz crystal Mass Solid base 31

Detecting acceleration with quartz crystal Acceleration a produces force (F=ma) F=ma Force Force Mass Solid base The movement causes the output charge from the piezoelectric crystal to change producing a current. 32

This is how you make an accelerometer acceleration F=ma Force i A Mass Force Solid base A accelerometer The current changes when the sensor experiences acceleration Let's have a look at this effect in more detail... 33

We have two problems... F=ma Force i A Mass Force Solid base Problem 1: i is very small.. too small to be used... how might we fix that?? Problem 2: i is not proportional to the acceleration, it's actually a bit more complex.. let's have have a look at this first...

Simplification of accelerometer Solid base A A Mass i i Force Force

You can think of a piezoelectric crystal as a capacitor Q Q Force A dq i= dt i Force Q Force 36

We can therefore we can write... dq i= dt Q Force Q A i Force Q Force d Force i dt Force=ma da i m dt Current from accelerometer is proportional to change of charge with time 37

How would you solve this equation for 'a'? Force Force Mass Solid base mounted on car, boat, rocket... i A da i m dt 38

To solve this equation we need to integrate... Force Force Mass i A To calculate the acceleration we need to integrate the current. To do this we need an integrator circuit... da i m dt 1 i dt a m 39

An opamp based integrator circuit i dt V out C i Notice the capacitor in the feedback loop V Vout This will integrate current i, and Vout will be proportional to 40 the sum of the integration.

An integrator circuit C i1 dt V out a Vc accelerometer i1 V V out a 41

Question How many people think understanding the accelerometer/integrator circuit is: Boring and pointless Important to my future career Very important to my future career C Possibly the most important i dt V a 1 out thing I will learn at university!! accelerometer

An example of an accelerometer and integrator circuit in action. Pavel Kolotilov An example is in this Russian proton M rocket. GLONASS satellite (Russian GPS) On the 1st July 2013 it was put on top of a Proton M rocket combined cost costs 4.4 billion rubles.

An engineer coupled the accelerometer the wrong way around to the opamp. Rin Ro V V0 A* V accelerometer Rin Ro V A* V V0 Youtube link

So.. Opamps in general are very important to know about and get correct. It's too important to just leave everything up to the electronic engineer. With this in mind we are going to spend a little time deriving the equation describing this circuit and linking acceleration to Vout.

An integrator circuit Input current from the accelerometer is: C dq i1 = dt Vc Force Q Force Q Q i1 V Vout Force 46

Examine the current node at the inverting input The amplifier has infinite input resistance so... i=0, therefore: C i f = i1 But we already know.. if dq i1 = dt 1 dq if = dt i1 Therefore, i Vc V A*V Vout 0 Volts 47

Examine the capacitor... From your notes on capacitance: dv c i f =C dt 2 C if Q i1 Vc Vout 0 Volts 48

Examine the capacitor... From your notes on capacitance: dv c i f =C dt But we already know 1 dq i f = dt C if Vc Equate equations 1 and 2 dvc 1 dq = dt C dt Q dv c dq = C dt dt 2 i1 Vout 0 Volts 49

Integrate both sides C dv c 1 dq = dt C dt if Q dv c 1 dq dt dt = C dt dt 1 V c = Q C i1 Vc i V Vout A*V 0 Volts 50

Integrate both sides C 1 V c = Q C if Q i1 We also know that V c V =V out and V out = AV Vc i V Vout A*V 0 Volts V out 1 Q =V out C A 51

The final step... V out V= 0 A V out 1 Q =V out C A However, A is very large so we can write C Therefore, if 1 V out = Q C Q F a V out = C C C Amplifier output voltage Q i1 Vc i V A*V Vout 0 Volts 52

Question: If you wanted to make your circuit more sensitive to small changes in acceleration (or Q) what would you change? C Q F a V out = C C C if Q i1 Vc i V A*V Vout 0 Volts 53

We can cascade these integrator elements Q F a V 0= C C C V 0 velocity V 0 distance 54

Outline of the lecture Recap of last lecture Mini Quiz Books and resources Opamps used in the real world Measuring acceleration Measuring stress and strain. Summary 55

A strain gauge SG2 SG1 Vs Vbridge SG3 V SG4 The voltage Vbridge is very small... so we need to amplify it.. And what do we use to amplify it????? 56

Application of opamps to strain gauges.. Force Beam Support opamp Support Vstrain Practical applications could be measuring strain on an aeroplane wing. Video of lab... 57

Using an opamp to amplify the output of a strain gauge Rf R1 SG2 SG1 Vs V Vbridge R2 SG3 SG4 V2 Rg We need to derive an expression relating Vbridge to Vout. Vo 58

Relate the inputs to the outputs The general idea is to write expressions relating the input terminals to the inputs of the opamp. Then to write an expression relating the input terminals of the opamp to the output of the opamp. Let's have a go..

Let's just start off by looking at the opamp. Rf R1 V R2 V1 V2 Rg Vo Write on all current and voltage arrows. 60

Annotate the diagram with arrows, currents and voltages Rf i1 i2 V1 V2 R1 if i1r1 R2 i 2 R2 igrg V V ig Rg i f Rf A*V VT Vo 61

First write an expression relating V1 of the circuit to the inverting input of the opamp. V =V 0 i f R f V =V 1 i1 R 1 V 1 V i1= R1 1 V 0 V if = Rf 2 Equating equation 1 and 2 i f = i1 V 1 V V 1 V 0 = R1 Rf 62

Rearrange the equations to get the voltage V V 1 V V 1 V 0 = R1 Rf V 1 R f V R f =V 1 R 1 V 0 R 1 V 1 R f V 0 R 1=V 1 [ R 1 R f ] V 1 R f V 0 R 1 V = R1 R f 63

Then write an expression relating input V2 to the noninverting input of the opamp. As the input resistance of the opamp Rin=infinity i g =i2 And R2 and Rg from a potential divider Rg V = V2 R2 R g 64

Now write an expression relating the inputs of the opamp to the output of the circuit We know that, V 0=VA We also know, V =V V 4 Therefore 5 V0 =V V A We now have an expression relating the inputs of the opamp to the output and we have expressions relating the input terminals to the inputs of the opamp. 65

Recap and rearranging our equations... V0 =V V A V 1 RV 0 R 1 V = R 1 R f Rg V = V2 R 2 R g Substituting 3,4 and 6 in 5 we get [ ] [ ] [ V0 Rg V 1 R f V 0 R 1 = V 2 A R2 Rg R 1 R f [ ] ] [ R1 Rf 1 Rg V0 =V 2 V 1 A R 1 R f R 2 R g R1 Rf ] 7 66

Let's make a few assumptions.. [ ] [ ] [ R1 Rf 1 Rg V0 =V 2 V 1 A R 1 R f R 2 R g R1 Rf ] If A>> 0, R2=R1 and Rg=Rf Which is generally true for difference amplifiers [ ] [ ] [ R1 Rf Rg V0 =V 2 V 1 R 1 R f R 2 R g R 1 R f ] V 0 [ R 1 ] =V 2 [ R f ] V 1 [ R f ] Rf V 0=[V 2 V 1 ] R1 67

Questions Rf R1 SG2 SG1 Vs V Vbridge R1 SG3 SG4 Rf V 0=[V 2 V 1 ] R1 V2 Rf Vo 68

Typical exam question: a) Explain why you would need to use an operational amplifier when using a strain gauge? b) Your strain gauge is attached to an operational amplifier with R 1=R 2=10 k Ω and R g=r f =1 M Ω calculate the output voltage when the wheatstone bridge produces 0.1 V across it. Rf V 0=[V 2 V 1 ] R1 69

Typical values a) Strain gauges produces very small voltages which need to be amplified. b) R 1=R 2=10 k Ω R 1=R 2=1 M Ω Therefore 6 1 x 10 V 0=[V 2 V 1 ] 4 1 x 10 V 0=100 [V 2 V 1 ] 70

Summary We can now analyse the circuit for strain gauges and accelerometers acceleration Support Vstrain Strain gauge Force Mass Beam Support F=ma Force Force Output charge Solid base Accelerometer 71