{"base":{"id":"alphys-9-05","subject":"Physics","title":"The operational amplifier","slug":"operational-amplifier","scene":"mix3","steps":[{"use":"alphys","mode":"table","table":"golden","eyebrow":"Op-amp basics","title":"A high-gain chip","body":"An operational amplifier is an integrated circuit with two inputs (− inverting, + non-inverting) and one output. Open loop, V_out = A(V+ − V−) with A ≈ 10⁵, so it saturates at almost ±V_s for tiny input differences. Its input resistance is huge."},{"use":"alphys","mode":"opamp","amp":"comparator","controls":[{"id":"vin","label":"V_in","min":0,"max":2,"step":0.05,"value":0.6,"unit":"V"}],"eyebrow":"Comparator","title":"Open loop","body":"Used open loop, the op-amp compares two voltages: the output goes to +V_sat if V+ > V− and to −V_sat if V+ < V−. With a sensor in a divider this makes light- or temperature-operated switches."},{"use":"alphys","mode":"opamp","amp":"inverting","board":"opamp","controls":[{"id":"Rf","label":"R_f","min":10,"max":300,"step":10,"value":100,"unit":"kΩ"},{"id":"vin","label":"V_in","min":0,"max":2,"step":0.05,"value":0.5,"unit":"V"}],"eyebrow":"Inverting amplifier","title":"Negative feedback","body":"With R_f from output to the − input, negative feedback keeps V− ≈ V+ = 0 (virtual earth). No current enters the op-amp, so V_in/R_in = −V_out/R_f, giving V_out = −(R_f/R_in)V_in: a gain set only by two resistors."},{"use":"alphys","mode":"opamp","amp":"noninverting","controls":[{"id":"Rf","label":"R_f","min":10,"max":300,"step":10,"value":50,"unit":"kΩ"},{"id":"vin","label":"V_in","min":0,"max":2,"step":0.05,"value":0.5,"unit":"V"}],"eyebrow":"Non-inverting amplifier","title":"In phase","body":"Feeding V_in to the + input and feedback to the − input gives V_out = (1 + R_f/R_in)V_in, in phase with the input and with a very high input resistance."},{"mode":"quiz","use":"alphys","look":"opamp","amp":"inverting","eyebrow":"Check yourself","title":"Op-amp","body":"A = −R_f/R_in.","question":"An inverting amplifier has R_in = 2 kΩ and R_f = 20 kΩ. For V_in = 0.3 V, V_out is…","options":["+3 V","−0.03 V","−3 V"],"answer":2,"right":"Right: −10 × 0.3.","wrong":"Gain −R_f/R_in = −10."}],"more":[{"type":"cards","id":"detail","eyebrow":"The ideas in detail","title":"Op-amps in detail","items":[{"tag":"Rules","title":"Golden rules","body":"I: no current flows into either input. II: with negative feedback, the output adjusts until V+ = V−. These two rules solve almost every op-amp circuit."},{"tag":"Feedback","title":"Why negative feedback","body":"Feeding part of the output back to the − input trades the huge, unreliable open-loop gain for a smaller, stable gain set by resistors, and widens the bandwidth."},{"tag":"Limits","title":"Saturation","body":"The output cannot go beyond about the supply voltages; if gain × input would exceed this, the output clips at ±V_sat."}]},{"type":"cards","id":"ideas","eyebrow":"Popular idea vs physics","title":"Common mix-ups","items":[{"tag":"Popular idea","title":"An op-amp amplifies any input by 10⁵","body":"Only open loop and only until it saturates; with feedback the gain is set by resistors."},{"tag":"Popular idea","title":"The virtual earth is connected to 0 V by a wire","body":"It is held at 0 V by feedback, not by a connection."}]},{"type":"quiz","id":"quiz","eyebrow":"Go further","title":"Thirty questions: easy, medium, hard","questions":[{"level":"easy","question":"An op-amp has…","options":["one input","three outputs","two inputs (inverting and non-inverting) and one output"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"An ideal op-amp has open-loop gain that is…","options":["infinite (very large)","zero","1"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"An ideal op-amp has input resistance that is…","options":["zero","1 Ω","infinite"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"Open-loop output: V_out = A₀(…)","options":["V₋ − V₊","V₊ − V₋","V₊ + V₋"],"answer":1,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"The output cannot exceed…","options":["zero","the input","the supply voltages (saturation)"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"Inverting amplifier gain: …","options":["R_f/R_in","−R_f/R_in","1 + R_f/R_in"],"answer":1,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"Non-inverting amplifier gain: …","options":["1 + R_f/R_in","−R_f/R_in","R_in/R_f"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"Negative feedback in an amplifier…","options":["increases it","reduces and stabilises the gain","makes it zero"],"answer":1,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"An op-amp without feedback used to compare two voltages is a…","options":["inverter","comparator","integrator"],"answer":1,"right":"Correct.","wrong":"Look at the idea again."},{"level":"easy","question":"A voltage follower has gain…","options":["1","0","−1"],"answer":0,"right":"Correct.","wrong":"Used as a buffer."},{"level":"medium","question":"Inverting amp: R_in = 10 kΩ, R_f = 100 kΩ, input 0.2 V. Output:","options":["2 V","−0.02 V","−2 V"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"medium","question":"Non-inverting amp: R_in = 10 kΩ, R_f = 40 kΩ. Gain:","options":["5","4","−4"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"medium","question":"Comparator with V₊ = 2.1 V, V₋ = 2.0 V, ±12 V supply. Output:","options":["about −12 V","0.1 V","about +12 V"],"answer":2,"right":"Correct.","wrong":"Huge gain saturates it."},{"level":"medium","question":"With negative feedback, the \"virtual earth\" means the inverting input is…","options":["at the supply voltage","at almost 0 V","floating"],"answer":1,"right":"Correct (in the inverting amp).","wrong":"Look at the idea again."},{"level":"medium","question":"Inverting amp with gain −10 and ±9 V supply; input 1.5 V. Output:","options":["−15 V","about −9 V (saturated)","15 V"],"answer":1,"right":"Correct: cannot exceed the supply.","wrong":"Look at the idea again."},{"level":"medium","question":"A summing amplifier with R_f = R₁ = R₂ = 10 kΩ, inputs 1 V and 2 V. Output:","options":["−3 V","3 V","−1.5 V"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"medium","question":"Input resistance of an inverting amplifier ≈","options":["infinite","R_in","R_f"],"answer":1,"right":"Correct: the inverting input is a virtual earth.","wrong":"Look at the idea again."},{"level":"medium","question":"Ideal op-amp output resistance is…","options":["infinite","1 kΩ","zero"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"medium","question":"A comparator with an LDR divider on one input can switch a light on at dusk because…","options":["the output flips when the divider voltage crosses the reference","it amplifies light","it stores charge"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"medium","question":"Typical open-loop gain of a real op-amp:","options":["about 10⁵","about 10","about 1"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"Open-loop gain 10⁵, saturation ±12 V. Smallest input difference that saturates:","options":["120 μV","12 mV","1.2 V"],"answer":0,"right":"Correct: 12/10⁵.","wrong":"Look at the idea again."},{"level":"hard","question":"Design an inverting amplifier of gain −25 with R_in = 4.7 kΩ. R_f =","options":["4.7 kΩ","25 kΩ","117.5 kΩ (use 120 kΩ)"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"Summing amp: R_f = 20 kΩ, R₁ = 10 kΩ (input 0.5 V), R₂ = 20 kΩ (input 1 V). Output:","options":["−1.5 V","−2 V","−3 V"],"answer":1,"right":"Correct: −(2 × 0.5 + 1 × 1).","wrong":"Look at the idea again."},{"level":"hard","question":"A non-inverting amp with gain 11 has R_in = 1 kΩ. R_f =","options":["10 kΩ","11 kΩ","1 kΩ"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"Why is negative feedback used even though it reduces gain?","options":["to save power","gain becomes set by resistors (stable, predictable) and bandwidth increases","to increase distortion"],"answer":1,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"A gain-bandwidth product of 1 MHz: an amplifier set for gain 100 has bandwidth about…","options":["1 MHz","100 MHz","10 kHz"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"A comparator: V₋ = 3 V reference; V₊ from a thermistor divider. When hot, V₊ rises above 3 V. Output:","options":["switches to +V_sat","switches to −V_sat","stays 0"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"The difference amplifier with equal resistors outputs…","options":["V₁ + V₂","(V₁ + V₂)/2","V₂ − V₁"],"answer":2,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"A voltage follower is useful because it has…","options":["very high input and very low output resistance","high gain","inverted output"],"answer":0,"right":"Correct.","wrong":"Look at the idea again."},{"level":"hard","question":"Inverting amp: R_in = 2 kΩ, R_f = 10 kΩ, input sine 1 V peak, supply ±12 V. Output:","options":["12 V square","5 V peak sine, inverted","1 V peak"],"answer":1,"right":"Correct: no saturation.","wrong":"Look at the idea again."}]},{"type":"keywords","id":"words","title":"Key words","items":[{"word":"Operational amplifier","meaning":"High-gain IC amplifier with − and + inputs"},{"word":"Open-loop gain","meaning":"Gain with no feedback, about 10⁵"},{"word":"Negative feedback","meaning":"Feeding part of the output back to the − input"},{"word":"Virtual earth","meaning":"Point held at 0 V by feedback"},{"word":"Comparator","meaning":"Op-amp used open loop to compare voltages"}]},{"type":"checklist","id":"check","title":"I can…","items":["state the properties and golden rules of an op-amp","use an op-amp as a comparator","derive and use the gains of inverting and non-inverting amplifiers"]},{"type":"sources","id":"sources","title":"Sources","items":["NIE Sri Lanka, G.C.E. (A/L) Physics syllabus, implemented from 2017 (competency level 9.3).","HyperPhysics (Georgia State University): Operational amplifiers.","Horowitz, P. & Hill, W., The Art of Electronics (3rd ed., CUP), chapter 4 (op-amp golden rules)."]}]},"overlay":null}