FormularioMicroelectronics Laboratory: definizioni, teoremi e formule delle note, in ordine di capitolo
I. Laboratory Instrumentation and Measurement
Circuit Theory Review for Electronics
Formula (voltage and current divider).
- Voltage: two resistances in series with the same current across a voltage : . It holds only if no current leaves the central node (unloaded divider). If the node feeds another circuit, that circuit must be taken into account (for example with Thevenin).
- Current: splits in two parallel resistances: , (the larger current goes in the smaller resistance). The parallel is and must always be put in brackets: .
Formula (power of a sum of sinusoids at different frequencies). With and the cross term has zero mean value, so the squares of the rms values add:
Formula (amplitude across an RC series). In a series - crossed by the current the voltage across is in phase with , that across the capacitor lags by : the amplitudes add in quadrature,
II. Operational Amplifiers
Ideal Operational Amplifier and Basic Configurations
Formula (non-inverting amplifier). Signal at ; between output and ; between and ground. By the virtual short and the divider (unloaded, since the terminal draws no current) gives :
Formula (inverting amplifier). The signal reaches connected to ; between output and ; to ground. Virtual ground: . The currents (towards the node) and (from the node towards the output) must sum to zero because no current enters the terminal: .
because the node is at virtual ground: the generator current is . For : with and a test current at the output, , so also and : . If the source has internal resistance the series input resistance is and the gain with respect to the open-circuit voltage of the generator is .
Grafico interattivo: Transfer characteristic of an inverting amplifier with A_v = -4 and supply ±5 V: the output follows the line -4·v_S only for |v_S| < 1.25 V
Non-Idealities of Operational Amplifiers
Formula (inverting amplifier with finite gain). For an inverting amplifier with ideal gain and op-amp gain (no longer a virtual short: ): If the ideal value is recovered. The factor , with , is the same for the non-inverting amplifier (ideal gain ): . This is the structure of a feedback system with direct gain and feedback factor : .
With finite gain the resistances change too: the input resistance of the inverting amplifier is (the node is no longer a virtual ground), and the output resistance of circuits with negative feedback is : with , and , (practically zero: feedback "hides" ).
Formula (gain-bandwidth product). With and : The circuit is a low-pass with gain and bandwidth : gain times bandwidth is constant (equal to ). The more gain, the less bandwidth.
Grafico interattivo: Bode diagram of the open-loop gain A (A0 = 10^5, f_A = 10 Hz) and of the closed-loop gains with G = 10 and G = 100 (x: f in Hz, y: dB): each closed-loop curve is flat at the value G up to its bandwidth (100 kHz and 10 kHz) and then joins the curve of A, which falls 20 dB/decade and is 0 dB at f_T = A0 f_A = 1 MHz
Formula (error due to the offset voltage). Switch off the signal and take as input. In an inverting amplifier is in series with the non-inverting input, so for this contribution the circuit is a non-inverting amplifier: The second term is an error of known maximum amplitude and unknown sign.
Formula (error due to the input currents). With and an inverting amplifier with the terminal grounded: , no current in , so all of comes from :
Differential and Common-Mode Signals - CMRR
Formula (differential-mode and common-mode gains). An amplifier with two inputs and one output has in general gains (from the non-inverting input) and (from the inverting one, in modulus): So
Formula (input stage of the instrumentation amplifier). For circuits with two inputs and two outputs one also defines and and four gains. For the stage with two non-inverting amplifiers and between the inverting terminals (equal feedback resistances ): The differential mode is amplified, the common mode passes with gain 1 and does not generate a differential component, whatever the value (even imprecise) of the resistances. The following difference stage (matched resistances) attenuates the common mode. In this way small signals superimposed on large voltages are measured: with on a common mode of ( and ) the error is against a useful output of .
Operational Amplifier Circuits - Summing, Difference, Integrator, Differentiator
Formula (gain with arbitrary impedances). In the inverting and non-inverting amplifiers, in place of one may put two arbitrary impedances (networks of resistors and capacitors), because the same equations hold in the Laplace domain with in sinusoidal regime: This is how the integrator, the differentiator and filters arise (Frequency Response of Op-Amp Circuits and Bode PlotsIn circuits with an ideal op-amp the transfer function A(s) comes from the inverting (-Z2/Z1) and non-inverting (1 + Z2/Z1) formulas with capacitors replaced by 1/(sC) and RC networks on the + terminal treated as dividers (no current in the input); A(s) is put in Bode form, the asymptotic diagram is drawn with the break points, and modulus and phase at the signal frequency give vout(t); the DC component of the input comes out multiplied by A(0).Frequency Response of Op-Amp Circuits and Bode Plots →). The variable is used rather than because it allows reasoning on poles and zeros.
Formula (inverting summer). Several inputs connected through resistances to the node (virtual ground), feedback resistance . With the current in each is and Kirchhoff's current law at the node with no input current gives :
With all resistances equal (sum); with different resistances one gets a weighted summer. The inputs do not interfere with each other because the node stays at zero potential: each always sees ground.
Formula (difference amplifier). To have a true difference amplifier () the two gains must be equal: , i.e.
Formula (integrator). Inverting amplifier with and : . In time: , with and :
Formula (differentiator). Inverting amplifier with and : . In time: (the voltage on the capacitor is because the node is at virtual ground), and :
Grafico interattivo: Integrator and differentiator with RC = 1 ms (x: omega in rad/s, log scale; y: |A_v| in dB): the integrator falls 20 dB/decade and is 0 dB at omega = 1/RC = 1000 rad/s, the differentiator rises 20 dB/decade through the same point
Formula (instrumentation amplifier). Two non-inverting amplifiers with a single resistor between the two inverting terminals, followed by a difference amplifier. The two outputs satisfy
Transfer Function and Bode Plots
Formula (frequency response and output to a sinusoidal input). A linear amplifier with capacitors has a gain that depends on frequency. In the Laplace domain the gain is a rational function of . For sinusoidal signals put : the complex function is the frequency response and says how a signal is modified:
Frequency Response of Op-Amp Circuits and Bode Plots
Formula (inverting low-pass). , : : gain , one pole at .
Formula (inverting high-pass). and : : zero at the origin and pole at ; at high frequency it is .
Formula (inverting band-pass). The two together: Band gain between and (if ).
Formula (output with a constant plus a sinusoid input). If , by linearity The DC component passes multiplied by (the value at zero frequency): if there is a zero at the origin (for example a coupling capacitor at the input) DC is blocked.
The value can be read on the asymptotic diagram (dB ratio with ) or computed exactly with complex numbers: in an exam one declares which of the two is used and, if the diagram is requested, the diagram is used.
Grafico interattivo: Example 1, inverting low-pass A_v = -10/(1 + s/6250) (x: omega in rad/s, log scale; y: |A_v| in dB): 20 dB up to the pole omega_p = 6250 rad/s, then -20 dB/decade; the continuous curve is the exact modulus, the dashed one the asymptotic; at omega_p the exact modulus is 17 dB
Rectifiers and Diode Circuits for Power Supplies
Formula (half-wave rectifier with ideal diode). Over a period:
Grafico interattivo: Load voltage of an ideal half-wave rectifier with v_g = 10 sin(wt), versus wt (radians): positive for half a period, zero for the other half
Formula (full-wave rectifier with ideal diodes). With a bridge of four diodes (or a centre-tapped transformer with two diodes) the negative half-wave is also flipped: (with the bridge two diodes in series conduct in each half-wave, so with threshold ). For ideal diodes:
Formula (ripple of the peak detector). A capacitor is placed in parallel with the load. When exceeds the capacitor voltage the diode conducts and charges following up to the peak; when falls the diode turns off and discharges on with time constant () until reaches it again. The output becomes almost constant, with a small residual oscillation (ripple) of peak-to-peak amplitude valid for (the discharge lasts about the whole period , or in the full-wave case).
Formula (piecewise-linear diode with threshold: output voltage).