Thanh-Phong Nguyen TI Precision Designs: Verified Design Single Supply Single-Ended Input to Differential Output TI Precision Designs Circuit Description TI Precision Designs are analog solutions created by TI’s analog experts. Verified Designs offer the theory, component selection, simulation, complete PCB schematic & layout, bill of materials, and measured performance of useful circuits. Circuit modifications that help to meet alternate design goals are also discussed. This single ended input to differential output circuit converts a single ended input of +0.1V to +2.4V into a differential output of ± 2.3V on a single +2.7V supply. The output range is intentionally limited to maximize linearity. The circuit is composed of two amplifiers. One amplifier acts as a buffer and creates a voltage, Vout+. The second amplifier inverts the input and adds a reference voltage to generate Vout-. Both Vout+ and Vout- range from 0.1V to 2.4V. The difference, Vdiff, is the difference between Vout+ and Vout-. This makes the differential output voltage range +2.3V Design Resources Design Archive TINA-TI™ OPA333 Ask The Analog Experts WEBENCH® Design Center TI Precision Designs Library All Design files SPICE Simulator Product Folder 49.9k 2.7V 49.9k - Vout- + 49.9k Vref 2.5V OPA333 49.9k + V Vdiff + 2.7V - Vout+ + 49.9k Vin OPA333 49.9k + + An IMPORTANT NOTICE at the end of this TI reference design addresses authorized use, intellectual property matters and other important disclaimers and information. TINA-TI is a trademark of Texas Instruments WEBENCH is a registered trademark of Texas Instruments TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 1 www.ti.com 1 Design Summary The design requirements are as follows: Supply Voltage: 2.7V Reference Voltage: 2.5V Input: 0.1V - 2.4V Output Differential: ±2.3V Output Common Mode Voltage: +1.25V Small Signal Bandwidth: 100kHz Low Power: 100µA The design goals and performance are summarized in Table 1. Figure 1 depicts the measured transfer function of the design. Table 1. Comparison of Design Goals, Simulation, and Measured Performance Test Condition Goal Hand Calculation Simulated Measured Uncalibrated Error for Vdiff (%FSR) 0.1 < Vin < 2.4V ±0.1% - -0.2% 0.07% Calibrated Error for Vdiff (%FSR) 0.1 < Vin < 2.4V ±0.01% - - 0.002% Total Current Vcc = 2.7V 100μA 84.1µA 68.3µA 68.5µA Bandwidth Vcc = 2.7V 100kHz 200kHz 300kHz 300kHz Noise Total Integrated 100 μV rms - 67.4µV rms - 2.50 2.50 2.00 2.00 1.50 1.50 Vout- (V) Vout+ (V) y = 1*Vin + 3E-06 1.00 1.00 0.50 0.50 0.00 0.00 0.00 0.00 y = -1*Vin + 2.5 0.50 1.00 1.50 2.00 2.50 0.50 1.00 Vdiff (V) Vin (V) 1.50 2.00 2.50 Vin (V) 2.50 2.00 1.50 1.00 0.50 0.00 -0.50 -1.00 -1.50 -2.00 -2.50 0.00 y = 2*Vin - 2.5 0.50 1.00 1.50 2.00 2.50 Vin (V) Figure 1: Measured Transfer Function for Vout+, Vout-, and Vdiff 2 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com 2 Theory of Operation Figure 2 illustrates the detailed schematic. R2 49.9k 2.7V R1 49.9k - Vout- + R3 49.9k C1 100n Vref 2.5V R4 49.9k + U1b OPA333 V Vdiff + 2.7V - Vout+ + R5 49.9k Vin U1a OPA333 R6 49.9k + + Figure 2: Detailed Schematic 2.1 Design Overview The circuit takes a single ended input signal, Vin, and generates two output signals, Vout+ and Vout- using two amplifiers and a reference voltage, Vref. The differential output signal, Vdiff, is the difference between the two single-ended output signals. Vout+ is the output of the first amplifier and is a buffered version of the input signal, Vin; see Equation (1). Vout- is the output of the second amplifier which uses Vref to add an offset voltage to Vin and feedback to add inverting gain. The transfer function for Vout- is Equation (2). (1) (2) Vdiff is the differential output voltage between Vout+ and Vout-. The transfer function for Vdiff is shown in Equation (3). By applying the conditions that R1 = R2 and R3 = R4 the transfer function is simplified into Equation (6). Using this configuration the maximum input signal is equal to the reference voltage and the maximum output of each amplifier is equal to the Vref. The differential output range is twice the Vref. Furthermore, the common mode voltage will at one half of Vref; see Equation (7). (3) (4) (5) (6) (7) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 3 www.ti.com 3 Component Selection This section will cover the reasoning behind the selected component values. 3.1 Amplifier Selection In this design our goal is to achieve good dc accuracy and low noise while maintaining low power. Linearity over the input range is key for good dc accuracy. The common mode input range and the output swing limitations will determine the linearity. In general an amplifier with rail-to-rail input and output swing is required. Low input offset voltage and offset drift are also key considerations for dc accuracy. Bandwidth is not a key concern for this design; however, in section 7.1 we will discuss circuit modifications that allow for a higher bandwidth design. The OPA333 meets all of the key considerations for this circuit. The OPA333 is a high-precision CMOS op amp with 5µV offset, 0.05μV/°C drift, and 55nV/rtHz output noise. The OPA333 uses chopping techniques to provide low initial offset voltage and near-zero drift over time and temperature. It is optimized for lowvoltage, single supply operation with an output swing to within 50 mV of the positive rail Additionally, the quiescent current is typically 25µA, allowing for low power operation. The typical unity gain bandwidth for the OPA333 is approximately 350kHz, which is above our design requirement. While this is a relatively low bandwidth, the key concern for designing this circuit was low power. In general, increasing bandwidth on an op amp will increase the quiescent current and power used by the amplifier. 3.2 Passive Component Selection Because the transfer function of Vout- is heavily reliant on resistors R1, R2, R3, and R4, resistors with low tolerances should be used to maximize performance and minimize error. To fit the design requirement of low power, we also selected the resistance to minimize the op amp load current. However, the resistance cannot be too high, or noise from the resistor will be too large. For this design, resistors with resistance values of 49.9k and tolerances of 0.1% were used to fit these criteria. Using these resistances, the maximum current drawn by the circuit is 84.1μA (see Equations (8) and (9)). This current is a combination of the quiescent current, the output of U1b, and the reference current. (8) Where Imax is the maximum current drawn by the entire circuit Vout_max is the maximum output at Vout IQ is the typical quiescent current of the amplifier (9) 4 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com From Figure 3, the noise spectral density of the resistors is less than 28.7nV/rtHz. Figure 3.3 shows that the noise of the OPA333 is approximately 55nV/rtHz. For low noise design it is recommended that the amplifier noise is larger than the resistor noise. The op amp is generally the most expensive part, and it would be counter-intuitive to purchase a low noise amplifier only to have more noise from the resistors. The resistor noise is lower than the amplifier noise which confirms our selection is correct (i.e. 28.7nV/rtHz < 55nV/rtHz). 28.7nV/rtHz Figure 3: Noise Spectral Density vs. Resistance 55nV/rtHz Figure 4: Noise Spectral Density for OPA333 TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 5 www.ti.com The resistor R5 protects the input of the amplifier by limiting the current in case transient input voltages exceed the supply voltage of the amplifier. According to the absolute maximum device ratings for the amplifier, the input current must be less than 10mA. The example in Figure 5 shows that the current would be limited to 0.53mA for a 30V transient. Equation (10) and (11) show the calculation for a 30V transient. Note, for negative transients Vsupply is zero. Equations (12) and (13) show the maximum transient for this configuration. Note that the transient protection in this example is beyond what is generally needed, however, the resistance is consistent with other resistors in the circuit to simplify the BOM. Furthermore, the noise contribution and offset current effects introduced by R5 will not create any significant errors. -+ + + + 26.6V R5 49.9k + 0.7V - 2.7V 30V Transient 0.53mA Figure 5: Protection Resistor (10) (11) (12) (13) The remaining components, R6 and C1, ensure accuracy. Resistor R6 prevents floating inputs. For convenience, R6 is set to have a resistance of 49.9kΩ. Resistors R5 and R6 do not have to have 0.1% tolerances because they do not affect the transfer function. The capacitor, C1 is a filter capacitor. 6 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com 4 Simulation Figure 6 gives the TINA SPICE schematic used for the simulations in this section. R2 49.9k 2 R1 49.9k 4 4 3 5 C1 100n R4 49.9k V 2.7V + Vdiff Vout+ + + 2.7V 5 R6 49.9k U2 OPA333 1 3 + + + - R5 49.9k Vin Vout- 2 Vref 2.5 1 R3 49.9k U1 OPA333 2.7V V1 2.7 Figure 6: TINA SPICE Simulation Schematic 4.1 Transfer Function (dc) The plots in Figure 7 were created by sweeping the dc voltage from 0.1V to 2.4V. Note that the input is restricted by 0.1V to maintain linearity of the OPA333 by keeping its outputs at least 100mV away from either power supply rail. T Vout- (V) Vout+ (V) 2.40 1.25 0.10 100m 675m 1.25 Vin (V) 1.82 2.40 2.40 1.25 0.10 100m 675m 1.25 Vin (V) 1.82 2.40 Vdiff (V) 2.30 0.00 -2.30 100m 675m 1.25 Vin (V) 1.82 2.40 Figure 7: Simulated dc Transfer Function TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 7 www.ti.com The error plots in Figure 8 were generated using a Monte Carlo Analysis where the input (Vin) was swept from 0V to 2.5V to show total error. The error was measured as a percentage of the full scale range (%FSR). The different slopes are caused by the statistical variation of the resistance due to tolerance. In this case, the tolerance of each resistor is set to 0.1%. Notice that at the ends of the input range the error increases. This is because of output swing limitations on the OPA333. Also the open loop gain (Aol) decreases when the output is less than 100mV from the power supply rails (see Figure 9). 200m T Error Vout- (% of FSR) Error Vout+ (% of FSR) T 100m 0 -100m -200m 0.00 625m 1.25 Vin (V) Error Vdiff (% of FSR) T 1.88 2.50 200m 100m 0 -100m -200m 0.00 625m 1.25 1.88 2.50 Vin (V) 200m 100m 0 -100m -200m 0.00 625.00m 1.25 1.88 2.50 Vin (V) Figure 8: Monte Carlo Error Analysis of dc Transfer Function Figure 9: Excerpt from OPA333 Data Sheet 8 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com The noise analysis in Figure 10 shows the varying noise of Vdiff across different values of resistances due to the tolerance. By inspection, the thickness of the line is not large, suggesting that noise does not vary T greatly with our chosen tolerances.0.10u The Figure 11 is the integral of Figure 10 and represents the total noise. Overall, the total noise is approximately 67.4μV rms or 404μVpp. 1.0u Output noise (V/Hz½) T Output noise (V/Hz½) 99.73nV/rtHz 99.48nV/rtHz 99.12n 100.0n 97.98n 1.00k 10.0n 1.0 10.0 1.02k 1.03k 100.0 1.0k 10.0k Frequency (Hz) 1.05k Frequency (Hz) 100.0k 1.07k 1.08k 1.0M Figure 10: Noise Spectral Density Out (Monte Carlo Analysis) Total noise (V) T 100u 67.4uV rms 404uVpp 75u 50u 25u 0 1 10 100 1k 10k Frequency (Hz) 100k 1M Figure 11: Total Integrated Noise Output (V rms) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 9 www.ti.com 4.2 Bandwidth Figure 12 is the Aol curve taken from the OPA333 data sheet. The bandwidth of the buffer configuration, where gain (Gn) is equal to one, of the OPA333 is the point where the Aol curve equals 0dB. Consistent with the data sheet table, this appears to be approximately 350kHz. The second op amp is in noise gain configuration of 2 (6dB). Noise gain is the non-inverting gain of an op amp configuration. When using an Aol curve, noise gain must always be used. The bandwidth for Gn = 2 appears to be approximately 200kHz. These should be consistent with the results of the small signal input found in section 6.3. 200kHz for Gn = 2 350kHz for Gn = 1 Figure 12: Estimating Bandwidth for OPA333 Using the Aol Curve T 20 T 20 Vout- Gain (dB) Figure 13 shows the simulated bandwidth limitations for each output. Vout+ has a wider bandwidth than Vout- because the noise gain is lower for Vout+ (Gn = 1 for Vout+ and Gn = 2 for Vout-). Notice that the simulated results differ from the calculated results (compare Figure 12 and Figure 13). The differences between simulated and calculated results occur because the model only approximates the data sheet and secondary effects, such as gain peaking, may affect results. -20 Vout+ Gain (dB) 0 0 -3dB. 600kHz -20 -40 -60 -80 -100 -120 10 -3dB, 300kHz -40 -60 -80 -100 100 1k 10k 100k Frequency (Hz) T 1M 10M -120 10 100 1k 10k 100k Frequency (Hz) 1M 10M 20 Vdiff Gain (dB) 0 -20 -40 -60 -80 -100 -120 10 100 1k 10k 100k Frequency (Hz) 1M 10M Figure 13: Simulated Bandwidth limits 10 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com 4.3 Large Signal Step Response A step input wave from 0.1V to 2.4V was applied to measure the settling time to an accuracy of 0.1%. From Figure 4.10, the approximate settling time is 17.8µs for 0.1% tolerance. 0.1% Settling At 17.8μ S 2.35 2.30 Vdiff 2.25 2.20 Zoom in 2.15 T 2.32 Vdiff 11.40m -2.30 2.40 Vin 1.25 100.00m 0.00 6.25u 12.50u Time (s) 18.75u 25.00u Figure 14: 0.1% Settling Time (Vin = 0.1V to 2.4V) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 11 www.ti.com 5 PCB Design The PCB schematic and bill of materials can be found in Appendix A. 5.1 PCB Layout The general guidelines for precision PCB layout were used on this design. For example, trace lengths are kept to minimum length especially input signals. Figure 15: Altium PCB Top Layout (top) and Bottom Layout (bottom) 12 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com 6 Verification & Measured Performance 6.1 Transfer Function (dc) The measured transfer functions in Figure 16 were generated by sweeping the input voltage from 0.1V to 2.4V. The full input range is actually 0V to 2.5V, but it is restricted by 0.1V to maintain optimal linearity. A two point calibration was used to optimize the accuracy of the system (see Appendix B). The results in this section are all measured post calibration. 2.50 2.50 2.00 2.00 1.50 1.50 Vout- (V) Vout+ (V) y = 1*Vin + 3E-06 1.00 1.00 0.50 0.50 0.00 0.00 0.00 0.00 y = -1*Vin + 2.5 0.50 1.00 1.50 2.00 2.50 0.50 1.00 Vdiff (V) Vin (V) 1.50 2.00 2.50 Vin (V) 2.50 2.00 1.50 1.00 0.50 0.00 -0.50 -1.00 -1.50 -2.00 -2.50 0.00 y = 2*Vin - 2.5 0.50 1.00 1.50 2.00 2.50 Vin (V) Figure 16: Measured dc Transfer Function (post calibration) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 13 www.ti.com 0.00025 0.0020 0.00020 0.0015 0.00015 0.0010 Vout- %FSR (%) Vout+ %FSR (%) Figure 17 shows the post calibration error. The major sources of error in this circuit are resistor tolerance, and offset voltage. Calibration eliminates these errors. The error remaining after calibration is from noise, temperature drift, common mode rejection, and other non-repeatability errors. Overall, the errors are very small: 0.000222%, -0.00161%, and 0.00164% for Vout+, Vout-, and Vdiff respectively. These errors are voltage differences in the tens of microvolts. 0.00010 0.00005 0.00000 -0.00005 0.0005 0.0000 -0.0005 -0.00010 -0.0010 -0.00015 -0.0015 -0.00020 0.00 0.50 1.00 1.50 2.00 2.50 -0.0020 0.00 0.50 1.00 Vin (V) 1.50 2.00 2.50 Vin (V) 0.0020 0.0015 Vdiff %FSR (%) 0.0010 0.0005 0.0000 -0.0005 -0.0010 -0.0015 -0.0020 0.00 0.50 1.00 1.50 2.00 2.50 Vin (V) Figure 17: Measured Error as % FSR (Post Calibration) 14 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com Figure 18 illustrates error as a % of FSR for entire input range (0V < Vin < 2.5V). Notice that the errors increase dramatically as the input approaches either end of its range. This is why the input range is restricted to 0.1V < Vin <2.4V during calibration to optimize accuracy. This non-linearity is the result of the output swing limitations of the OPA333 (see section 4.1). Overall, the errors for Vout+, Vout-, and Vdiff are 0.0207%, 0.0438% and -0.0457% respectively. These are errors of millivolts, two orders of magnitude larger than the errors in the linear region, showing non-linearity near 0V and 2.5V. 0.025 0.050 0.040 0.030 Vout- %FSR (%) Vout+ %FSR (%) 0.020 0.015 0.010 0.005 0.020 0.010 0.000 -0.010 0.000 -0.020 0.00 0.50 1.00 Vin (V) Vdiff %FSR (%) -0.005 -0.50 1.50 0.050 0.040 0.030 0.020 0.010 0.000 -0.010 -0.020 -0.030 -0.040 -0.050 -0.060 -0.50 2.00 0.00 2.50 0.50 -0.030 -0.50 1.00 Vin (V) 1.50 0.00 2.00 0.50 1.00 Vin (V) 1.50 2.00 2.50 2.50 Figure 18: Error as % FSR Including Non-linear Region TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 15 www.ti.com 6.2 Slew Induced Distortion (THD+N) When applying sinusoidal waveforms to this circuit, it is possible to cause slew induced distortion. Slew induced distortion occurs when the rise time of the sine wave exceeds the amplifiers slew rate. Both the frequency and amplitude of the input signal affect the rise time and are factors in determining if slew induced distortion is an issue. The relationship between slew rate limit, frequency, and peak output signal is given in Equation (14). (14) Where SR is the minimum amplifier slew rate required to avoid slew induced distortion f is the frequency of the input signal Vpk is the peak voltage of the output signal Equation (14) can be rearranged into Equation (15) to find the full power bandwidth, fFB. (15) Where fFB is the full power bandwidth. This is the maximum frequency that can be applied without slew induced distortion. The full power bandwidth can also be seen as a maximum output frequency that can be achieved without having slew induced distortion. For a full-scale input signal, the full power bandwidth is calculated below. (16) Where SR is 0.16V/µs for the OPA333 (found in the data sheet) Vpk is the peak amplitude. For a sine wave, this is half the peak-topeak amplitude. In this case, the peak amplitude is 1.15V (i.e. half of 2.3V) 16 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com The data in Figure 19 was generated by sweeping frequency from 20Hz to 30kHz and measuring the total harmonic distortion and noise (THD+N) with automated test equipment optimized for measuring THD+N. The objective is to show that distortion will dramatically increase as we approach the slew induced distortion frequency limit (fFB = 22kHz). THD+N approaches 0.1% at approximately 3kHz for Vout- and 4kHz for Vout+. THD+N of 0.1% is sometimes thought of as the maximum distortion allowable for reasonable performance. As a rule of thumb, the full power bandwidth should be a decade less than the frequency calculated by the slew rate to ensure minimal distortion. 9 8 Vout+ THD+N (%) 7 6 5 4 3 2 1 0 Vout- THD+N (%) 1 10 100 1000 Frequency (Hz) 10000 100000 fFB = 22kHz 11 10 9 8 7 6 5 4 3 2 1 0 1 10 100 1000 Frequency (Hz) 10000 100000 fFB = 22kHz Figure 19: THD+N for Both Outputs TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 17 www.ti.com 6.3 Bandwidth The small signal response data was generated by using a function generator to generate a sine wave of amplitude 10Vpp and an offset of 1.25V for the input. The small signal was offset such that the signal was entirely in the linear operating region. Using the same bandwidth calculation as above, the bandwidth is calculated below. (17) However, the bandwidth of the OPA333 is shown in Section 4.2 to be 350kHZ for the first op amp and 200kHz for the second op amp. Since these limits are lower, they will control the bandwidth. The data for Vout+ in Figure 20 was calculated by plotting the ratio of the peak-to-peak value of Vout+ to Vin in decibels verses the frequency. The formula to calculate the gain in decibels is Equation (18). (18) The data for Vout- in Figure 20 was calculated in a similar manner. However, the ratio was of the peak-topeak value of Vout- to Vout+, as shown in Equation (19). (19) The ratio is Vout- to Vout+ because the input to the second op amp is Vout+. The measured -3dB frequencies for Vout+ and Vout- are 600kHz and 300kHz respectively. The bandwidth of the circuit is therefore 300kHz. This is higher than the calculated bandwidth due to effects of peaking near unity gain 5 10 0 0 1000 10000 100000 1000000 10000000 -5 Vout- Gain (dB) Vout+ Gain (dB) -10 100 -20 -30 -40 10000 100000 1000000 -15 -20 -25 -60 -30 Frequency (Hz) 1000 -10 -50 -70 100 -35 Frequency (Hz) Figure 20: Bode Plots for Vout+ and Vout- 18 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com 6.4 Large Signal Step Response The large signal step response was generated with a function generator creating a square wave with frequency 1kHz, amplitude of 2.3Vpp, and offset of 1.25V. The results are shown in Figure 21. Figure 21: Large Signal Step Response of Vdiff The settling time to 0.1% tolerance could not be measured. The measured settling time to 1% was approximately 20µs. TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 19 www.ti.com 7 Modifications 7.1 Increasing Bandwidth To increase bandwidth, a different amplifier must be chosen. The tradeoff with increasing bandwidth is increasing the power dissipated by the circuit. In general, amplifiers with wider bandwidth consume more power. In general, amplifiers with lower noise will consume more power. Smaller resistances must then be used (see Figure 3). This further decreases noise and increases power. Table 2 lists possible alternative amplifiers with their respective maximum specifications. Table 2: Alternative Amplifiers 7.2 OPA314 OPA376 OPA374 OPA320 Bandwidth (MHz) 3 5.5 6.5 20 Noise at 1kHz (nV/rtHz) 14 7.5 15 7 Offset Voltage (µV) 2500 25 5000 150 Offset Drift (μV/°C) 1 2 3 1.5 Quiescent Current (µA) 210 950 750 1600 Changing Input and Output Range Another modification to the circuit is changing the input range and output differential range (see Figure 22). Both changes can be implemented by adding a gain in the first stage. This also changes the common mode voltage of the outputs. Initially, the common mode is 1.25V. The new common mode voltage will depend on the resistances chosen and may possibly not be constant. To make the common mode voltage constant, R2 must equal R1 (see Equation (23)). This also makes Vout+ and Vout- symmetric about the common mode. The new transfer functions and the common mode voltage are shown as Equations (20), (21), (22), and (23) with R2 = R1. (20) (21) (22) (23) 20 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com R2 49.9k 2 R1 49.9k 4 3 + 4 0.1088V + U2 OPA333 V 5V - + 0.1V 2.5V + 5 + Vin + -2.5V Vout+ 1 3 Vdiff 2 R8 20k R4 15k Vref 2.5 R7 1.74k Vout- 2.6087V 1 5 R3 12.6k - 2.6088V 5V 5V 0.1087V U1 OPA333 V1 5 2.4V Figure 22: Modified Circuit To explain the process, consider an example with an input range of 0.1V to 2.4V to and output differential range of ±2.5V and a reference of 2.5V. Because R1 = R2, we know that both Vout+ and Vout- must have full scale ranges of 2.5V. The input full scale range is 2.3V (i.e. 2.4V – 0.1V). The gain of the first amplifier must scale the full scale input range to the full scale output range (i.e. gain is equal to 2.5V/2.3V). Therefore, the relationship between R8 and R7, which controls the gain of the first amplifier, is defined (see Equation (24)). Note that if the gain is too large, the output swing of Vout+ may be in the non-linear region of the amplifier. In this example, 0.1087V < Vout+ < 2.6088V. The maximum output is less than 100mV away from the power supply, so the power supply must be changed to maintain linearity. The circuit was modified to use a 5V power supply (24) This gain defines the output range of Vout+, which also defines the output range of Vout- (see Table 3 or Figure 22: Modified CircuitFigure 22). Table 3: Voltage Range for Vin and all Outputs Vin (V) Vout+ (V) Vdiff V (V) Vout- (V) Minimum Voltage 0.1 0.10870 -2.5 2.60870 Maximum Voltage 2.4 2.60880 2.5 0.10880 Both outputs are symmetric about some common mode, so the common mode is the midpoint of the either output range. Using this information and Equation (23), we can determine the relationship of R3 and R4 (see Equation (25)). (25) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 21 www.ti.com The resistances chosen need to fulfill the ratios, follow the guidelines set in section 3.2, and be consistent with standard resistances. Figure 23 displays the simulated transfer functions of the designed circuit. 2.61 T 2.61 T Vout- Vout+ 108.60m 108.70m 100.00m 1.25 Input voltage (V) 2.40 100.00m 1.25 Input voltage (V) 2.40 2.50 T Vdiff -2.50 100.00m 1.25 Input voltage (V) 2.40 Figure 23: Simulated Transfer Functions for Modified Circuit 8 About the Author Thanh-Phong Nguyen was an intern for the Precisions Linear group at Texas Instruments. He currently is an undergraduate student pursuing a B.S. in Electrical Engineering at the Georgia Institute of Technology. 9 22 Acknowledgements & References 1. A. Kay, Operational Amplifier Noise: Techniques and Tips for Analyzing and Reducing Noise. Elsevier, 2012. 2. J. Vega. (2013, August 7). Harmonic Distortion: Part I – Understanding Harmonic Distortion Vs. Frequency Measurements in Op Amps. Available: http://www.engenius.net/site/zones/acquisitionZone/technical_notes/acqt_013012 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com Appendix A. A.1 Electrical Schematic Figure A-1: Electrical Schematic TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 23 www.ti.com A.2 Bill of Materials Item Qty Value Designator Description CAP, TANT, 10uF, 20V, 20%, 1 ohm, 3528-21 SMD Manufacturer Manufacturer Part # Supplier Part # 1 1 10uF C1 AVX TPSB106M020R1000 478-4087-1-ND 2 2 0.1uF C2, C3 J1, J2, J3, J4, J6, J7, J8, J9, J11, J12 CAP, CERM, 0.1uF, 50V, 10%, X7R, 0603 MuRata GRM188R71H104KA93D 490-1519-1-ND 3 10 4 JACK NON-INSULATED .218" Keystone" 575-4 575-4K-ND 5 J2, J4, J7, J9, J12 JACK NON-INSULATED .218" Keystone" 575-4 575-4K-ND 5 3 J5, J10, J13 BNC Connector TE Connectivity 1-1478032-0 A97560-ND 6 6 49.9k R1, R2, R3, R4, R5, R6 RES, 49.9k ohm, 0.1%, 0.1W, 0603 Panasonic ERA-3AEB4992V P49.9KDBCT-ND 7 1 Vcc TP1 Test Point, TH, Compact, Red Keystone 5005 5005K-ND 8 1 Black TP2 Test Point, TH, Compact, Black Keystone 5006 5006K-ND 9 4 Yellow TP6, TP7, TP8, TP9 5009K-ND 1 LF353M U1 11 4 Keystone Texas Instruments B&F Fastener Supply 5009 10 Test Point, TH, Compact, Yellow 1.8V, 17µA, microPower, Precision, Zero Drift CMOS Op Amp Machine Screw, Round, #4-40 x 1/4, Nylon, Philips panhead U90, U91, U92, U93 OPA2333AID 296-19543-5-ND NY PMS 440 0025 PH H542-ND Figure A-2: Bill of Materials 24 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 www.ti.com Appendix B. B.1 Calibration Due to amplifier offset voltage and resistor tolerance, the data will have an offset and a gain error. Figure 24 illustrates this point with great exaggeration. One source of gain error is due to the tolerances of the resistors. This was simulated in the Monte Carlo analysis in section 4.1. Another source of gain error is limitations of Aol; it is not infinite nor constant. The offset is due to uncertainties in the reference voltage, Vref. Calibration will remove these uncertainties. Figure 24: Measured Data with Offset and Gain Error To calibrate the data, we assume the data is linear. We assume that there is a gain error, G error, and an offset, Voffset. In other words, Equation (26) mathematically defines the relationship between the ideal voltage reading and the measured one. (26) Assuming good linearity, Gerror and Voffset should be constant for all measured values. To find these constants, the maximum and the minimum of the linear range will only be considered. Therefore, we will have a system of two equations with two unknowns: Equations (27) and (28). (27) (28) Solving Equations (27) and (28) for Gerror and Voffset yields Equations (29) and (30). (29) (30) TIDU038-Aug 2013-Revised Aug 2013 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated 25 www.ti.com In Figure 25, the uncalibrated data for Vout+ is displayed. The red squares indicate the endpoints of the linear range. 2.50 Vout+ (V) 2.00 1.50 1.00 0.50 0.00 0.00 0.50 1.00 1.50 2.00 2.50 Vin (V) Figure 25: Uncalibrated Vout+ Data The maximum Vout+ in the linear range is 2.39973V and the minimum is 0.10017V. The values of the ideal Vout+ are 2.39978V and 0.10017V respectively. Using Equations (29) and (30), we can find the offset and gain error. (31) (32) This procedure must be repeated for all 3 outputs. The gain errors and offsets for the measured data are summarized in Table 4. Table 4: Calculated Gain Error and Offset Voltage Reading Vout+ VoutVdiff Gain Error (V/V) 0.999980 0.999995 0.99999 Offset (V) 1.68e-6 -1.20e-3 1.18e-3 To calibrate the data, the offset is subtracted, and the gain error is divided out for all measured values, as shown in Equation (33). (33) The calibrated error is shown in section 6.1. Even with calibration, there will be errors in the output due to inherent op amp errors such as input offset voltage, offset drift, and noise. The error in %FSR is defined in Equation (34). In error analysis, error in %FSR will be used to avoid complications near an ideal value of 0V. (34) The measurement range is 4.6V for Vout+, Vout-, and Vdiff to allow for comparison. 26 Single Supply Single-Ended Input to Differential Output Copyright © 2013, Texas Instruments Incorporated TIDU038-Aug 2013-Revised Aug 2013 IMPORTANT NOTICE FOR TI REFERENCE DESIGNS Texas Instruments Incorporated ("TI") reference designs are solely intended to assist designers (“Buyers”) who are developing systems that incorporate TI semiconductor products (also referred to herein as “components”). Buyer understands and agrees that Buyer remains responsible for using its independent analysis, evaluation and judgment in designing Buyer’s systems and products. TI reference designs have been created using standard laboratory conditions and engineering practices. TI has not conducted any testing other than that specifically described in the published documentation for a particular reference design. TI may make corrections, enhancements, improvements and other changes to its reference designs. Buyers are authorized to use TI reference designs with the TI component(s) identified in each particular reference design and to modify the reference design in the development of their end products. HOWEVER, NO OTHER LICENSE, EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE TO ANY OTHER TI INTELLECTUAL PROPERTY RIGHT, AND NO LICENSE TO ANY THIRD PARTY TECHNOLOGY OR INTELLECTUAL PROPERTY RIGHT, IS GRANTED HEREIN, including but not limited to any patent right, copyright, mask work right, or other intellectual property right relating to any combination, machine, or process in which TI components or services are used. Information published by TI regarding third-party products or services does not constitute a license to use such products or services, or a warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual property of the third party, or a license from TI under the patents or other intellectual property of TI. TI REFERENCE DESIGNS ARE PROVIDED "AS IS". TI MAKES NO WARRANTIES OR REPRESENTATIONS WITH REGARD TO THE REFERENCE DESIGNS OR USE OF THE REFERENCE DESIGNS, EXPRESS, IMPLIED OR STATUTORY, INCLUDING ACCURACY OR COMPLETENESS. TI DISCLAIMS ANY WARRANTY OF TITLE AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT, QUIET POSSESSION, AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHTS WITH REGARD TO TI REFERENCE DESIGNS OR USE THEREOF. TI SHALL NOT BE LIABLE FOR AND SHALL NOT DEFEND OR INDEMNIFY BUYERS AGAINST ANY THIRD PARTY INFRINGEMENT CLAIM THAT RELATES TO OR IS BASED ON A COMBINATION OF COMPONENTS PROVIDED IN A TI REFERENCE DESIGN. IN NO EVENT SHALL TI BE LIABLE FOR ANY ACTUAL, SPECIAL, INCIDENTAL, CONSEQUENTIAL OR INDIRECT DAMAGES, HOWEVER CAUSED, ON ANY THEORY OF LIABILITY AND WHETHER OR NOT TI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, ARISING IN ANY WAY OUT OF TI REFERENCE DESIGNS OR BUYER’S USE OF TI REFERENCE DESIGNS. TI reserves the right to make corrections, enhancements, improvements and other changes to its semiconductor products and services per JESD46, latest issue, and to discontinue any product or service per JESD48, latest issue. Buyers should obtain the latest relevant information before placing orders and should verify that such information is current and complete. All semiconductor products are sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment. TI warrants performance of its components to the specifications applicable at the time of sale, in accordance with the warranty in TI’s terms and conditions of sale of semiconductor products. Testing and other quality control techniques for TI components are used to the extent TI deems necessary to support this warranty. Except where mandated by applicable law, testing of all parameters of each component is not necessarily performed. TI assumes no liability for applications assistance or the design of Buyers’ products. Buyers are responsible for their products and applications using TI components. To minimize the risks associated with Buyers’ products and applications, Buyers should provide adequate design and operating safeguards. Reproduction of significant portions of TI information in TI data books, data sheets or reference designs is permissible only if reproduction is without alteration and is accompanied by all associated warranties, conditions, limitations, and notices. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional restrictions. Buyer acknowledges and agrees that it is solely responsible for compliance with all legal, regulatory and safety-related requirements concerning its products, and any use of TI components in its applications, notwithstanding any applications-related information or support that may be provided by TI. Buyer represents and agrees that it has all the necessary expertise to create and implement safeguards that anticipate dangerous failures, monitor failures and their consequences, lessen the likelihood of dangerous failures and take appropriate remedial actions. Buyer will fully indemnify TI and its representatives against any damages arising out of the use of any TI components in Buyer’s safety-critical applications. In some cases, TI components may be promoted specifically to facilitate safety-related applications. With such components, TI’s goal is to help enable customers to design and create their own end-product solutions that meet applicable functional safety standards and requirements. Nonetheless, such components are subject to these terms. No TI components are authorized for use in FDA Class III (or similar life-critical medical equipment) unless authorized officers of the parties have executed an agreement specifically governing such use. Only those TI components that TI has specifically designated as military grade or “enhanced plastic” are designed and intended for use in military/aerospace applications or environments. Buyer acknowledges and agrees that any military or aerospace use of TI components that have not been so designated is solely at Buyer's risk, and Buyer is solely responsible for compliance with all legal and regulatory requirements in connection with such use. TI has specifically designated certain components as meeting ISO/TS16949 requirements, mainly for automotive use. In any case of use of non-designated products, TI will not be responsible for any failure to meet ISO/TS16949. Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265 Copyright © 2013, Texas Instruments Incorporated