martes, 16 de marzo de 2010

Electronic Technology

Long before the advent of digital electronic technology, computers were built to electronically perform calculations by employing voltages and currents to represent numerical quantities. This was especially useful for the simulation of physical processes. A variable voltage, for instance, might represent velocity or force in a physical system. Through the use of resistive voltage dividers and voltage amplifiers, the mathematical operations of division and multiplication could be easily performed on these signals.
The reactive properties of capacitors and inductors lend themselves well to the simulation of variables related by calculus functions. Remember how the current through a capacitor was a function of the voltage's rate of change, and how that rate of change was designated in calculus as the derivative? Well, if voltage across a capacitor were made to represent the velocity of an object, the current through the capacitor would represent the force required to accelerate or decelerate that object, the capacitor's capacitance representing the object's mass:

This analog electronic computation of the calculus derivative function is technically known as differentiation, and it is a natural function of a capacitor's current in relation to the voltage applied across it. Note that this circuit requires no "programming" to perform this relatively advanced mathematical function as a digital computer would.
Electronic circuits are very easy and inexpensive to create compared to complex physical systems, so this kind of analog electronic simulation was widely used in the research and development of mechanical systems. For realistic simulation, though, amplifier circuits of high accuracy and easy configurability were needed in these early computers.
It was found in the course of analog computer design that differential amplifiers with extremely high voltage gains met these requirements of accuracy and configurability better than single-ended amplifiers with custom-designed gains. Using simple components connected to the inputs and output of the high-gain differential amplifier, virtually any gain and any function could be obtained from the circuit, overall, without adjusting or modifying the internal circuitry of the amplifier itself. These high-gain differential amplifiers came to be known as operational amplifiers, or op-amps, because of their application in analog computers' mathematical operations.

Modern op-amps, like the popular model 741, are high-performance, inexpensive integrated circuits. Their input impedances are quite high, the inputs drawing currents in the range of half a microamp (maximum) for the 741, and far less for op-amps utilizing field-effect input transistors. Output impedance is typically quite low, about 75 Ω for the model 741, and many models have built-in output short circuit protection, meaning that their outputs can be directly shorted to ground without causing harm to the internal circuitry. With direct coupling between op-amps' internal transistor stages, they can amplify DC signals just as well as AC (up to certain maximum voltage-risetime limits). It would cost far more in money and time to design a comparable discrete-transistor amplifier circuit to match that kind of performance, unless high power capability was required. For these reasons, op-amps have all but obsoleted discrete-transistor signal amplifiers in many applications.
The following diagram shows the pin connections for single op-amps (741 included) when housed in an 8-pin DIP (Dual Inline Package) integrated circuit:



Some models of op-amp come two to a package, including the popular models TL082 and 1458. These are called "dual" units, and are typically housed in an 8-pin DIP package as well, with the following pin connections:


Operational amplifiers are also available four to a package, usually in 14-pin DIP arrangements. Unfortunately, pin assignments aren't as standard for these "quad" op-amps as they are for the "dual" or single units.
Practical operational amplifier voltage gains are in the range of 200,000 or more, which makes them almost useless as an analog differential amplifier by themselves. For an op-amp with a voltage gain (AV) of 200,000 and a maximum output voltage swing of +15V/-15V, all it would take is a differential input voltage of 75 µV (microvolts) to drive it to saturation or cutoff!
One application is called the comparator. For all practical purposes, we can say that the output of an op-amp will be saturated fully positive if the (+) input is more positive than the (-) input, and saturated fully negative if the (+) input is less positive than the (-) input. In other words, an op-amp's extremely high voltage gain makes it useful as a device to compare two voltages and change output voltage states when one input exceeds the other in magnitude.

In the above circuit, we have an op-amp connected as a comparator, comparing the input voltage with a reference voltage set by the potentiometer (R1). If Vin drops below the voltage set by R1, the op-amp's output will saturate to +V, thereby lighting up the LED. Otherwise, if Vin is above the reference voltage, the LED will remain off. If Vin is a voltage signal produced by a measuring instrument, this comparator circuit could function as a "low" alarm, with the trip-point set by R1. Instead of an LED, the op-amp output could drive a relay, a transistor, an SCR, or any other device capable of switching power to a load such as a solenoid valve, to take action in the event of a low alarm.
Another application for the comparator circuit shown is a square-wave converter. Suppose that the input voltage applied to the inverting (-) input was an AC sine wave rather than a stable DC voltage. In that case, the output voltage would transition between opposing states of saturation whenever the input voltage was equal to the reference voltage produced by the potentiometer. The result would be a square wave:




Adjustments to the potentiometer setting would change the reference voltage applied to the noninverting (+) input, which would change the points at which the sine wave would cross, changing the on/off times, or duty cycle of the square wave:





It should be evident that the AC input voltage would not have to be a sine wave in particular for this circuit to perform the same function. The input voltage could be a triangle wave, sawtooth wave, or any other sort of wave that ramped smoothly from positive to negative to positive again. This sort of comparator circuit is very useful for creating square waves of varying duty cycle. This technique is sometimes referred to as pulse-width modulation, or PWM (varying, or modulating a waveform according to a controlling signal, in this case the signal produced by the potentiometer).
Another comparator application is that of the bargraph driver. If we had several op-amps connected as comparators, each with its own reference voltage connected to the inverting input, but each one monitoring the same voltage signal on their noninverting inputs, we could build a bargraph-style meter such as what is commonly seen on the face of stereo tuners and graphic equalizers. As the signal voltage (representing radio signal strength or audio sound level) increased, each comparator would "turn on" in sequence and send power to its respective LED. With each comparator switching "on" at a different level of audio sound, the number of LED's illuminated would indicate how strong the signal was.

Applications

Electrical applications increasingly use a single supply voltage of 5 V or less as portable electrical equipment becomes more popular. The supply voltage for portable systems can be as low as the voltage provided by one battery cell (1.5 V). Reduced supply voltage designs must use the complete power supply span to have a usable dynamic range. Operational amplifiers that use the complete span between negative and positive supply voltage for signal conditioning are generally known as rail-to-rail amplifiers. The usable span is an important value because it influences several parameters such as noise susceptibility, signal-to-noise ratio (SNR), and dynamic range. Signal sources are often connected to the positive or negative supply rail. Operational amplifiers need rail-to-rail input capability to match both signal sources with one device. This report explains the function and the use of rail-to-rail operational amplifiers.

Dynamic Range and SNR in Low Single Supply Systems

Reducing the operating supply voltage from a ±15-V split supply to a single 5-V supply significantly reduces the maximum available dynamic range. The dynamic range at the output is determined by the ratio of the largest output voltage to the smallest output voltage. An industry standard operational amplifier like the TLC271 is specified at 5-V single supply with 3.8 Vpp for the maximum output swing. This means that the whole supply span can not be used for the output swing, resulting in a further reduction of the maximum available dynamic range and SNR. A rail-to-rail operational amplifier like the TLV24xx family can use the full span of the supply range for signal conditioning at the input and output. Operational amplifier disturbance levels are independent of the supply voltage. This results in smaller spacing between usable and noise signals. If the operational amplifier is used with ac signals, by decoupling the signals from dc, then noise forms the determining disturbance signal. For a standard operational amplifier such as the TLC271C, the input noise voltage Vn at a signal bandwidth of 1 MHz equals 68 umV†= 68 nV/(Hz)^1/2*(1 MHz)^1/2. With a 5-V single supply, the reduced output range allows a maximum signal level of 3.8 Vpp. This results in a unity gain configuration in a SNR of 95.4 dB=20 log(4 V/68 uV). In the same configuration, a rail-to-rail amplifier such as the TLV246xI with Vn=11 nV/(Hz) )^1/2 † and a maximum signal level of 5 Vpp at the input and output provides a signal-to-noise ratio of 113 dB=20 log(5 V/11 umV) at BW=1 MHz. In a precision system the operational amplifier must amplify the dc voltage level precisely. Errors in this area result from offset and gain problems. In a 5-V system with a constant common-mode voltage, the TLC271C has an input offset voltage VIO of 1.1 uV†. This alone limits the dynamic range to 71 dB=20 log(3800/1.1) in a unity gain configuration. The TLV245x, however, with VIO = 20 mV† and the rail-to-rail characteristic has a significantly higher dynamic range of 108 dB=20 log(5000/0.02) in the same circuitry.

When signal-to-noise ratio and dynamic range are critical design parameters, rail-to-rail characteristics of the operational amplifier must ensure that these parameters are met.
The Output Stage
If the output swing from a standard operational amplifier is not large enough to fit the system requirement (for example the analog-to-digital-converter input range), then a rail-to-rail operational amplifier must be used. Operational amplifiers with rail-to-rail output stages achieve the maximum output signal swing in systems with low single-supply voltages. They can generate an output signal up to the supply rails. A large output voltage swing results in increased dynamic range. For example, Figure 1 shows the output signal of a TLV2462 with a 5-Vpp input signal. The TLV2462 with a 5-V single supply operates as a voltage follower and drives a load of 1 kW. The low 1-kW load results in a voltage drop of several mV, which is not visible in the diagram.


Construction of a Rail-to-Rail Output Stage


The rail-to-rail characteristic is achieved by altering the output stage construction. Figure 2 shows the basic construction of a rail-to-rail CMOS output stage as used in the TLC227x. A complimentary MOS transistor pair, consisting of a self-locking P-channel and self-locking N-channel, forms the output. Both transistors operate as a common source circuit. A common source circuit functions like a common emitter circuit for bipolar transistors. Along with the current amplification, a voltage amplification also takes place. The voltage loss VDS at the output stage transistors has a disadvantageous effect on the voltage gain. As the current increases through a MOS transistor the resistance between drain and source increases slightly. During high loading of the output, this resistance, together with the increased current, results in a higher voltage drop VDS. The full output range of a rail-to-rail operational amplifier is therefore only
useable with low load. Figure 3 shows this on the output level of the TLV243x and TLV246x.



Reduction of the output signal due to the load also results in a reduction of the open-loop gain AVD. Because the open-loop gain is dependent on the connected load, the load should always be considered during comparison of the open-loop gain of different amplifiers. Figure 4 shows the influence of a resistive load on the amplification of a TLV246x.

Operational Amplifier

An operational amplifier, which is often called an op-amp, is a DC-coupled high-gain electronic voltage amplifier with a differential input and, usually, a single-ended output. An op-amp produces an output voltage that is typically millions of times larger than the voltage difference between its input terminals.
Typically the op-amp's very large gain is controlled by negative feedback, which largely determines the magnitude of its output ("closed-loop") voltage gain in amplifier applications, or the transfer function required (in analog computers). Without negative feedback, and perhaps with positive feedback for regeneration, an op-amp essentially acts as a comparator. High input impedance at the input terminals (ideally infinite) and low output impedance at the output terminal(s) (ideally zero) are important typical characteristics.
Op-amps are among the most widely used electronic devices today, being used in a vast array of consumer, industrial, and scientific devices. Many standard IC op-amps cost only a few cents in moderate production volume; however some integrated or hybrid operational amplifiers with special performance specifications may cost over $100 US in small quantities. Op-amps sometimes come in the form of macroscopic components, (see photo) or as integrated circuit cells; patterns that can be reprinted several times on one chip as part of a more complex device.
The op-amp is one type of differential amplifier. Other types of differential amplifier include the fully differential amplifier (similar to the op-amp, but with two outputs), the instrumentation amplifier (usually built from three op-amps), the isolation amplifier (similar to the instrumentation amplifier, but which works fine with common-mode voltages that would destroy an ordinary op-amp), and negative feedback amplifier (usually built from one or more op-amps and a resistive feedback network).


HISTORY
  • 1941: First (vacuum tube) op-amp

An op-amp, defined as a general-purpose, DC-coupled, high gain, inverting feedback amplifier, is first found in US Patent 2,401,779 "Summing Amplifier" filed by Karl D. Swartzel Jr. of Bell labs in 1941. This design used three vacuum tubes to achieve a gain of 90dB and operated on voltage rails of ±350V. It had a single inverting input rather than differential inverting and non-inverting inputs, as are common in today's op-amps. Throughout World War II, Swartzel's design proved its value by being liberally used in the M9 artillery director designed at Bell Labs. This artillery director worked with the SCR584 radar system to achieve extraordinary hit rates (near 90%) that would not have been possible otherwise.


  • 1947: First op-amp with an explicit non-inverting input

In 1947, the operational amplifier was first formally defined and named in a paper by Professor John R. Ragazzini of Columbia University. In this same paper a footnote mentioned an op-amp design by a student that would turn out to be quite significant. This op-amp, designed by Loebe Julie, was superior in a variety of ways. It had two major innovations. Its input stage used a long-tailed triode pair with loads matched to reduce drift in the output and, far more importantly, it was the first op-amp design to have two inputs (one inverting, the other non-inverting). The differential input made a whole range of new functionality possible, but it would not be used for a long time due to the rise of the chopper-stabilized amplifier.

  • 1949: First chopper-stabilized op-amp

In 1949, Edwin A. Goldberg designed a chopper-stabilized op-amp. This set-up uses a normal op-amp with an additional AC amplifier that goes alongside the op-amp. The chopper gets an AC signal from DC by switching between the DC voltage and ground at a fast rate (60 Hz or 400 Hz). This signal is then amplified, rectified, filtered and fed into the op-amp's non-inverting input. This vastly improved the gain of the op-amp while significantly reducing the output drift and DC offset. Unfortunately, any design that used a chopper couldn't use their non-inverting input for any other purpose. Nevertheless, the much improved characteristics of the chopper-stabilized op-amp made it the dominant way to use op-amps. Techniques that used the non-inverting input regularly would not be very popular until the 1960s when op-amp ICs started to show up in the field.
In 1953, vacuum tube op-amps became commercially available with the release of the model K2-W from George A. Philbrick Researches, Incorporated. The designation on the devices shown, GAP/R, is a contraction for the complete company name. Two nine-pin 12AX7 vacuum tubes were mounted in an octal package and had a model K2-P chopper add-on available that would effectively "use up" the non-inverting input. This op-amp was based on a descendant of Loebe Julie's 1947 design and, along with its successors, would start the widespread use of op-amps in industry.

  • 1961: First discrete IC op-amps

With the birth of the transistor in 1947, and the silicon transistor in 1954, the concept of ICs became a reality. The introduction of the planar process in 1959 made transistors and ICs stable enough to be commercially useful. By 1961, solid-state, discrete op-amps were being produced. These op-amps were effectively small circuit boards with packages such as edge-connectors. They usually had hand-selected resistors in order to improve things such as voltage offset and drift. The P45 (1961) had a gain of 94 dB and ran on ±15 V rails. It was intended to deal with signals in the range of ±10 V.

  • 1962: First op-amps in potted modules

By 1962, several companies were producing modular potted packages that could be plugged into printed circuit boards. These packages were crucially important as they made the operational amplifier into a single black box which could be easily treated as a component in a larger circuit.

  • 1963: First monolithic IC op-amp

In 1963, the first monolithic IC op-amp, the μA702 designed by Bob Widlar at Fairchild Semiconductor, was released. Monolithic ICs consist of a single chip as opposed to a chip and discrete parts (a discrete IC) or multiple chips bonded and connected on a circuit board (a hybrid IC). Almost all modern op-amps are monolithic ICs; however, this first IC did not meet with much success. Issues such as an uneven supply voltage, low gain and a small dynamic range held off the dominance of monolithic op-amps until 1965 when the μA709 (also designed by Bob Widlar) was released.

  • 1968: Release of the μA741 – would be seen as a nearly ubiquitous chip

The popularity of monolithic op-amps was further improved upon the release of the LM101 in 1967, which solved a variety of issues, and the subsequent release of the μA741 in 1968. The μA741 was extremely similar to the LM101 except that Fairchild's facilities allowed them to include a 30 pF compensation capacitor inside the chip instead of requiring external compensation. This simple difference has made the 741 the canonical op-amp and many modern amps base their pinout on the 741s.The μA741 is still in production, and has become ubiquitous in electronics—many manufacturers produce a version of this classic chip, recognizable by part numbers containing 741.

  • 1966: First varactor bridge op-amps

Since the 741, there have been many different directions taken in op-amp design. Varactor bridge op-amps started to be produced in the late 1960s; they were designed to have extremely small input current and are still amongst the best op-amps available in terms of common-mode rejection with the ability to correctly deal with hundreds of volts at their inputs.

  • 1970: First high-speed, low-input current FET design

In the 1970s high speed, low-input current designs started to be made by using FETs. These would be largely replaced by op-amps made with MOSFETs in the 1980s. During the 1970s single sided supply op-amps also became available.

  • 1972: Single sided supply op-amps being produced

A single sided supply op-amp is one where the input and output voltages can be as low as the negative power supply voltage instead of needing to be at least two volts above it. The result is that it can operate in many applications with the negative supply pin on the op-amp being connected to the signal ground, thus eliminating the need for a separate negative power supply.
The LM324 (released in 1972) was one such op-amp that came in a quad package (four separate op-amps in one package) and became an industry standard. In addition to packaging multiple op-amps in a single package, the 1970s also saw the birth of op-amps in hybrid packages. These op-amps were generally improved versions of existing monolithic op-amps. As the properties of monolithic op-amps improved, the more complex hybrid ICs were quickly relegated to systems that are required to have extremely long service lives or other specialty systems.

Recent trends


Recently supply voltages in analog circuits have decreased (as they have in digital logic) and low-voltage opamps have been introduced reflecting this. Supplies of ±5V and increasingly 5V are common. To maximize the signal range modern op-amps commonly have rail-to-rail inputs (the input signals can range from the lowest supply voltage to the highest) and sometimes rail-to-rail outputs.

Op Amps as Comparators:
An op amp can be used to compare 2 different voltages. If you apply a reference voltage to one of the inputs and then use the other input to monitor a voltage from some point in a circuit, the output of the op amp will go from high to low (or vice-versa) as the monitored voltage crosses the reference voltage.
As you can see in the following demo, The yellow line shows the voltage on the negative input. The voltage follows a curve because the capacitor is charging. The capacitor charges faster at first then it slows as it approaches full charge. The blue line indicates the voltage on the positive input. Since the 2 voltage divider resistors are of equal value, the voltage on the positive input is exactly half of the power supply voltage. You can also see that the voltage on the output of the op amp is high (close to the power supply voltage). If you push the button, the capacitor will start to charge. The little lines in the window are voltage indicators. Think of them as a portion of the trace on an oscilloscope. As the capacitor charges (and the voltage starts to rise), the line goes up (it follows the voltage). As you can see, the voltage on the output does not change until the voltage on the negative input is higher than the voltage on the positive input. Remember that the previous circuits had a feedback signal return path between the output of the op amp to the negative input. Since there is no feedback, the gain is essentially (ideally) infinite. This will make the output swing from its maximum positive output voltage to its maximum negative output voltage. If there were a feedback resistor, the output voltage would not swing as far. With a feedback resistor, you could get the op amp's output voltage to be an inverted version of the voltage on the negative input. Remember that the circuit is a comparator. It's comparing the voltage on the 2 inputs. When the voltage on the negative input is below the reference voltage (on the positive input), the output is high. As soon as the voltage on the negative input goes above the voltage on the positive input, the output goes low. If you look at the white line sweeping from left to right you can see that the green line instantly transitions from high to low at the point where the blue and yellow lines intersect.






Maximum and Minimum Input/Output Values:

Some op amps can not accept inputs that equal the power supply voltage (or ground in the case of a single ended† supply). If the input is beyond the safe input values, the input may lead to unexpected output values. For instance, if the negative input in the previous circuit were grounded, some op amps would erroneously give a low output instead of a high output. As soon as the input voltage moved slightly above ground, the op amp would again operate as you'd expect. If you need an op amp to accept inputs close to ground, you need to get an op amp suited for the task.
†A single ended supply is one that uses only ground and EITHER a positive OR negative voltage. A 'split' supply has a positive voltage AND a negative voltage (below ground). If you see a power supply described as a 12 volt supply, it likely means that it is simply a single ended supply. If the supply voltage is expressed as ±15 volts, it's a split supply. In audio, split supplies are most common. For digital equipment, the comparators would likely be powered by a single ended 5 volt supply.


Op Amps as Regulators:


If you need a high quality linear regulator, an op amp can save a lot of effort. In the following demo, you can see that there is a simple zener shunt regulator connected to the positive input of the op amp. This becomes the reference voltage. If the zener is a 6.2 volt device, the reference will be 6.2 volts. Actually the reference voltage will likely be a little more or less than 6.2 volts (due to tolerances and the actual current flowing through the diode). If the voltage is precisely 6.2 volts on the positive input, the output of the regulator (the emitter of the current boost NPN bipolar transistor) will be precisely 6.2 volts. The feedback line from the emitter to the negative input of the op amp allows the op amp to monitor the output and compensate for changing load current. If the load resistor decreases in resistance, the output current increases (because we have a regulated voltage source). Without the feedback, the output from the regulator would likely drop a little. In most cases that would be fine. In some circuits, however, the change in voltage would be unacceptable.
When you push the button in the following demo, the resistance will decrease. You will notice that the regulator output current through the resistor increases in proportion to the fall in resistance. You will also notice that the output voltage is rock solid. If you look carefully, you can see that the output voltage from the op amp increases slightly to increase the current through the base of the transistor (which is needed to maintain the proper output voltage).


Bridging Module:

This circuit was designed to invert an audio signal. Most car audio amplifiers have one 'normal' channel and one 'inverted' channel. The inverted channel is needed so the amplifier can be bridged. Some of the older Orion amplifiers did not have an inverted channel and therefore needed a 'bridging module' to bridge the amplifier. To use this circuit, you would connect the left signal directly to the amplifier and the right channel to the input of this circuit. The output of this circuit would be connected to the right channel of the amplifier. You would then use the 2 positive speaker output wires for bridging. The left channel will be the positive output. This circuit will probably need to be powered by a constant source to prevent a turn on pop. If you don't want to connect it to a constant power source, connect it to a source that's controlled by the ignition switch. Do not connect it to the remote out of the radio.



http://www.bcae1.com/opamp.htm

Operational Amplifiers

Operational Amplifiers:

Operational amplifiers (op amps) were originally used for mathematical operations in 'analog' computers. They typically have 2 inputs, a positive (non_inverting) input and a negative (inverting) input. A signal fed into the positive (non_inverting) input will produce an output signal which is in phase with the input. If the signal is fed into the negative (inverting) input, the output will be 180 degrees out of phase when compared to the input.
There are a bazillion (technical term) applications for op amps. The following section is an attempt to give you a basic understanding of just a few applications. None of the power supply connections are shown. Most op amp circuits used in audio use a ±15 volt power supply (especially when the audio equipment has a switching power supply). They can also be used with a single ended supply (no negative voltage) in head units and other such equipment that have no switching power supply.
The diagram below shows the schematic symbol for an op amp.

OP AMP Operation:

The circuit below shows a simple buffer circuit. The input impedance of an op amp is extremely high (on the order of 1012 ohms). It might be used if the input signal to the op amp was coming from a source which could supply almost no current. The output of the op amp can easily drive 1000 ohms or more. The output, when used as a buffer, will theoretically be identical to the input signal. I can't say it is identical because there is a small amount of distortion in all amplifier circuits. The distortion in this circuit would be EXTREMELY low and would most likely be inaudible.


OP AMPs as Amplifiers:

An op amp can also easily amplify a signal such as audio. The diagram below shows the circuit for an op amp that would give an output signal twice as large as the input. Op amps don't like errors. To get amplification, you induce an error in the signal going back to the negative input of the op amp. An op amp will do everything in it's power to get the signal on the negative input to match the signal on its positive input. To get an output that's twice as large as the input, you use 2 equal value resistors as a voltage divider to reduce the return (feedback) signal at the negative input by half. If the return signal doesn't match the input signal, the op amp will increase the output until the signal returned to the negative input is the same as the input to the positive input. Since the voltage divider cuts the signal in half, the signal at the output must be doubled. You can create any amount of gain needed by changing the value of ONE of the resistors in the 'feedback' path. The actual limit of gain will be determined by the op amp design. When using an op amp as a non-inverting amplifier, the gain will always be greater than or equal to 1. To get a gain of less than 1, you need to use a voltage divider on the input signal.

OP AMP Inverters:

As I said earlier, an op amp can produce a signal which is 180 degrees out of phase (inverted) with respect to the input signal. The diagram below shows an op amp used as an inverter. To use an op amp as an inverting amplifier, you must send the signal into the negative input instead of the positive input. As I said before, the op amp will do everything it possibly can to make the voltage (signal) on the the negative input match the positive input. In the following diagram, you can see that the positive input is connected to ground. It's shown as being connected through a resistor but the resistance to ground in unimportant. What is important is that the positive input has no signal (it's connected to the reference, ground). This means that the op amp's negative input will have no visible (voltage) signal on it. When you're driving the negative input it will act as a virtual ground. The input is converted from a voltage drive to a current drive. The change in current is what drives the op amp. This is important to know because when you look at the negative input with an oscilloscope, you will see no signal (when the circuit is an inverting amplifier). I said earlier that the op amp inputs had a very high impedance. While this is true, when using the inverting input with feedback (which is necessary for audio reproduction), the input impedance becomes the value of the input resistor.

OP AMP Error Correction:

An op amp is commonly used in a circuit where error correction is required. Op amps can't (generally) supply a large amount of current at its output. If a signal is fed to the positive input of an op amp and the op amp is driving a circuit which CAN supply a large amount of current, the output of the whole system can be fed back into the negative input of the op amp. This will allow the op amp to compare the output (of the whole system) to the input signal and correct as needed. If the op amp is used in a circuit which needs little current at its output, the op amp can still monitor the output and correct as needed.
The positive input on the op amp is analogous to the green arrow. The height of the green arrow would be analogous to the voltage on the positive input. The sensor would be analogous to the valves which would also be analogous to the negative input of the op amp. The error correction would come at the output of the op amp (instead of the hydraulic actuator).
The next diagram has a resistor in series with the output of the op amp and the load which is to be driven by the op amp. The resistor represents anything that may be between the op amp and the load. The resistor could actually be a long run of wire, resistance in the copper of a printed circuit board or anything else that may cause the signal to be distorted. If the op amp didn't monitor the signal at the load, the signal would be distorted (in this case, the simple series resistance would only reduce the signal level). If the resistor would instead be an external circuit designed to increase the output current (such as the transistors, resistors, capacitors... of a power amplifier), the output of the op amp may not even resemble the final output signal. The op amp would do everything possible to get the final output to match the input signal.


http://www.bcae1.com/opamp.htm

jueves, 11 de febrero de 2010

MÉTODO PARA LA REALIZACIÓN DE UN AMPLIFICADOR DE CAPACIDADES CONMUTADAS INSENSIBLE A LA RELACIÓN ENTRE LAS CAPACIDADES Y AL OFFSET DE LOS AMPLIFICADORES

D E S C R I P C I Ó N

OBJETO DE LA INVENCIÓN

La presente invención se refiere a un método para Ia realización de un amplificador que, utilizando técnicas de capacidades conmutadas, es insensible a Ia relación entre las capacidades y al offset de los amplificadores operacionales. El método consiste en utilizar cuatro fases de reloj y dos amplificadores operacionales en un circuito de capacidades conmutadas, de forma que, tras las dos primeras fases de reloj se almacene una estimación del error producido por el desapareamiento entre capacidades. Posteriormente, en las dos fases de reloj restantes, se realimenta dicho error para realizar una amplificación con ganancia independiente de Ia relación entre capacidades y el offset de los amplificadores operacionales. El circuito propuesto para Ia implementación de Ia invención consta de dos amplificadores operacionales (o de transconductacia) y tres condensadores, de forma que uno de ellos se utiliza para el almacenamiento del error. El método propuesto permite liberar un amplificador operacional en fases de reloj no consecutivas y realizar el muestreo y retención de Ia señal de entrada sin aumento del consumo de potencia. La invención está relacionada con los circuitos de capacidades conmutadas, muy utilizados en Ia realización de filtros en tiempo discreto y convertidores analógicos digitales. El método encuentra aplicación en diseño de convertidores analógicos digitales basados en Ia arquitectura pipelined.

ANTECEDENTES DE LA INVENCIÓN

Una de las técnicas más habituales para realizar circuitos analógicos de procesado de señal en tecnología CMOS es mediante el uso de capacidades conmutadas. Estos circuitos se componen de condensadores, interruptores y

amplificadores operacionales o de transconductancia. Entre los posibles bloques constructivos realizables con Ia técnica de capacidades conmutadas, uno de los más populares es un amplificador de ganancia controlada de forma precisa por Ia relación entre dos capacidades. La potencia consumida por estos circuitos es directamente proporcional al tamaño de las capacidades. Sin embargo, en determinadas aplicaciones (como el diseño de convertidores analógico-digitales) donde Ia relación entre las capacidades debe ser muy precisa, el tamaño de dichas capacidades debe ser suficientemente grande como para asegurar que Ia relación entre ellas toma un valor Io más cercano posible al valor esperado.=Esta razón se ha convertido en el principal obstáculo para realizar circuitos de capacidades conmutadas de muy bajo consumo y alta precisión.

Por otro lado, el offset de los amplificadores operacionales limita Ia resolución de circuito de capacidades conmutadas, obligando a Ia utilización de costosas técnicas de cancelación del offset. En este sentido cabe citar las patentes estadounidenses 4393351 y 5880630.

En los últimos años han aparecido numerosos amplificadores de capacidades conmutadas que abordan estos problemas desde distintos enfoques. En primer lugar, se pueden destacar las técnicas de auto calibración digital, en Ia cuales se compensa digitalmente el desapareamiento entre capacidades (error en el valor esperado para Ia relación entre dos capacidades) (Shang-Yuan (Sean) Chuang, Terry L. Sculley; "A Digitally Self-Calibrating 14-bit 10MHz CMOS Pipelined A/D Converter" IEEE Journal of Solid-State Circuits. Vol37, N 6, Junio 2002). La lógica de control y las memorias necesarias para Ia aplicación de estas técnicas implican un aumento importante en el consumo y área del circuito. En segundo lugar cabe destacar las técnicas de promediado del error (Bang-Sup Song; Tompsett, M.F.; Lakshmikumar, K.R.; "A 12-bit 1-Msample/s capacitor error-averaging pipelined A/D converter" IEEE Journal of Solid-State Circuits, VoI: 23 , Iss: 6 , Diciembre 1988, Páginas: 1324 - 1333). Este tipo de técnicas sólo alivia el problema, reduciendo Ia magnitud del error sin eliminarlo. Por último, es posible realizar el amplificador de capacidades conmutadas de forma que su ganancia sea independiente a Ia relación entre las capacidades. En esta última aproximación al problema podemos englobar Ia presente invención. Estas técnicas permiten reducir el tamaño de las capacidades utilizadas y consecuentemente Ia potencia consumida.

DESCRIPCIÓN DE LA INVENCIÓN

El método que Ia invención propone consiste Ia utilización de cuatro fases de reloj y dos amplificadores operacionales (o de transconductancia) para implementar un amplificador de ganancia dos insensible a Ia relación entre capacidades. Uno de los amplificadores operacionales realiza Ia función amplificadora, mientras que el otro, además de realizar el muestreo y retención, implementa Ia técnica propuesta. La operación del circuito en las cuatro fases de reloj está dividida de Ia siguiente forma: En Ia primera fase se realiza el muestreo de Ia señal de entrada y Ia inicialización del circuito. En Ia segunda almacena (para su posterior cancelación) el error debido al desapareamiento entre capacidades y el offset de los amplificadores. En Ia tercera se vuelve a muestrear Ia señal de entrada. Y por último, en Ia cuarta fase se realiza Ia amplificación y se utilizan los errores almacenados para realizar Ia cancelación. La invención propuesta tiene Ia ventaja de no necesitar el primer amplificador operacional durante las fases impares de reloj, haciendo posible Ia utilización del amplificador para otros propósitos con el consiguiente ahorro de energía.

miércoles, 10 de febrero de 2010

AMPLIFICADOR OPERACIONAL

La enorme ventaja de los circuitos lógicos es que no se requiere tener muchos conocimientos de electrónica para poder comprender cómo trabajan funcionalmente dichos circuitos. Por lo general identificamos un valor de un "1" lógico con un voltaje generalmente positivo (como +5 volts) y un "0" lógico con un nivel de cero volts, el equivalente a "tierra" eléctrica que en una batería no vendría siendo más que el polo negativo de la batería marcado con el signo menos (-). Existen muchos sistemas digitales en los que la mayoría del sistema basa su funcionamiento en electrónica puramente digital. Las computadoras de escritorio son un buen ejemplo de ello. Sin embargo, existen también sistemas en los cuales es necesario interconectar componentes propios de la electrónica digital (bloques AND, OR y NOT) que siempre trabajan con valores discretos de voltaje, con componentes propios de la electrónica analógica, en donde se trabaja con voltajes que pueden variar continuamente entre dos límites pudiendo tomar cualquier valor posible entre dichos límites. Estos sistemas son esencialmente sistemas híbridos que combinan en un solo diseño aspectos de la electrónica digital y de la electrónica analógica. Este auditorio en mente que se ha preparado este Suplemento que trata sobre uno de los componentes más versátiles para el diseños de circuitos analógicos: el amplificador operacional.Así como en la familia lógica de circuitos integrados TTL el circuito integrado 7400 es el componente fundamental de referencia del cual parten todos los demás, y así como en en el mundo de los microprocesadores el microprocesador 8008 marcó la pauta a seguir por todos los demás microprocesadores que le sucedieron, del mismo modo en el mundo de los amplificadores operacionales el punto de referencia es un amplificador designado con el número 741.Si fuéramos a comprar en el mercado un amplificador operacional 741 fabricado por la empresa Motorola, dicho componente tendría el siguiente aspecto físico:










El diagrama esquemático de este circuito integrado en relación con sus ocho terminales muestra las siguientes designaciones funcionales de cada una de dichas terminales o "pins":












Esencialmente, el amplificador operacional es representado en los diagramas esquemáticos tal y como se muestra arriba, como un triángulo, con dos terminales de entrada, una entrada inversora (inverting input) identificada con un símbolo menos (-) y una terminal no-inversora (non-inverting input) identificada con un símbolo más (+).
Precaución: Los términos terminal inversora y terminal no-inversora en un amplificador operacional no tienen absolutamente nada que ver con las definiciones usadas en el mundo de los circuitos lógicos en relación con el bloque NOT.El símbolo triangular utilizado para representar un amplificador operacional encierra cómodamente para nosotros algo que es esencialmente un circuito analógico algo complejo, cuyo esquemático detallado es el siguiente:











Aunque el amplificador operacional lo podemos usar como una "caja negra" sin tener que preocuparnos por los detalles internos que muestra este último diagrama, de cualquier modo tenemos que saber cómo llevar a cabo conexiones externas al mismo para poder obtener del mismo algunas funciones analógicas que nos puedan ser de utilidad. Como su nombre lo indica, este componente es un amplificador, un amplificador de una señal analógica que puede variar continuamente entre un rango de valores. Y al amplificar la señal, lo puede hacer invirtiendo la polaridad de la señal con respecto a la señal de entrada (convirtiendo los valores de voltaje positivos a negativos, y los valores de voltaje negativos a positivos) , en cuyo caso lo usamos como amplificador inversor, o dejando que la polaridad de la señal de salida se mantenga con la misma polaridad que la señal de entrada, o sea como un amplificador no-inversor. Para poder utilizarlo en cualquiera de estas dos maneras, es necesario conectarle a cada configuración unas resistencias eléctricas externas como lo muestran los siguientes diagramas:


















En el diagrama superior tenemos un amplificador inversor, y en el diagrama inferior tenemos un amplificador no-inversor. Antes de entrar en detalles sobre el funcionamiento de estos circuitos, observemos primero que para poder trabajar adecuadamente el amplificador operacional requiere de dos voltajes, un voltaje positivo +V aplicado en la terminal 7, y un voltaje negativo -V aplicado en la terminal 4. Si fueramos a proporcionar estos voltajes con baterías externas de modo tal que el voltaje positivo sea +V=+15 volts y el voltaje negativo sea -V=-15 volts, lo haríamos utilizando algo como lo siguiente:














Obsérvese en los diagramos de los dos circuitos amplificadores mostrados arriba que no es necesario conectar ninguna de las terminales del amplificador operacional al punto intermedio entre las dos baterías designado en el esquemático como la tierra eléctrica. Una fuente dual de voltajes fácil de implementar con dos baterías desechables proporcionando un voltaje positivo +V=+9 volts y un voltaje negativo -V=-9 volts sería la siguiente:








Sin embargo, como la desventaja de una fuente dual de voltajes construída con baterías desechables es que las baterías tienen una vida de uso limitada, para un diseño fijo que no se estará moviendo mucho de un lugar a otro se puede construír una fuente dual de voltajes alimentada con corriente alterna de línea como la que se muestra a continuación:
















Regresemos ahora a los circuitos amplificadores. La señal de entrada una vez amplificada será proporcionada por el amplificador operacional u op-amp en su terminal de salida 6 (output). La ganancia (gain) del op-amp es la medida de la amplificación de voltaje del circuito y se define simplemente como el valor instantáneo del voltaje de salida Vout en la terminal 6 entre el valor del voltaje Vin de entrada:



De este modo, si el voltaje de entrada es de 1 volt y el voltaje de salida es de 10 volts, el op-amp estará amplificando la señal por un factor de 10: la señal de salida será diez veces más grande que la señal de entrada.Si el diseño que utilizaremos será el de un amplificador inversor, entonces usaremos el circuito designado arriba como "inverting amplifier", y la señal de entrada a ser amplificada deberá ser aplicada en la terminal 2 (inverting input). En este caso, nosotros podemos escoger el factor de amplificación mediante una cuidadosa selección de las resistencias R1 y R2. La ganancia (Gain) del circuito, como podemos ver en la fórmula anexa al circuito, será igual al valor de R2 dividido entre el valor de R1. Si queremos un factor de amplificación de cinco tantos, entonces la resistencia R2 deberá ser cinco veces más grande que la resistencia R1. Una vez escogidos los valores de las resistencias R1 y R2 el valor de la resistencia R3 estará prácticamente prefijado por la fórmula que nos dice cuál debe ser el valor de dicha resistencia (en algunos diseños, se prescinde de esta resistencia por completo). En la fórmula de la ganancia:
Gain = -R2/R1el signo menos indica que la polaridad de la señal estará invertida con respecto a la polaridad de la señal de entrada, que es justo lo que debe hacer un amplificador inversor.Si por el contrario queremos diseñar un amplificador no-inversor, entonces usamos el circuito designado arriba como "non-inverting amplifier", y la señal de entrada a ser amplificada deberá ser aplicada en la terminal 3 (non-inverting input) directamente. Aquí también nosotros podemos escoger el factor de amplificación mediante una cuidadosa selección de las resistencias R1 y R2. La ganancia (Gain) del circuito, como podemos ver en la fórmula anexa al circuito, será igual a 1 sumado al valor de R2 dividido entre el valor de R1. Si queremos un factor de amplificación de tres tantos, entonces la resistencia R2 deberá ser dos veces más grande que la resistencia R1, lo cual sumado a la unidad nos dá una ganancia de tres:
Gain = 1 + (R2/R1) = 1 + (2/1) = 1 + 2 = 3Los valores de las resistencias generalmente deben estar seleccionados en el rango de los miles de ohms (K ohms). Valores demasiado bajos de resistencias, situados por debajo de 1 Kohm, producen corrientes eléctricas grandes que pueden producirle daño al circuito, mientras que valores demasiado grandes de resistencias, situados por encima de 1 Megohm, inducen un efecto indeseable conocido como el ruido térmico (en inglés, thermal noise) o ruido Johnson-Nyquist. A continuación tenemos un amplificador no-inversor construído en torno a un op-amp en el cual se han seleccionado resistencias R1 y R2 con valores respectivos de 1K (mil ohms) y 15K (15 mil ohms), con lo cual obtenemos un factor de multiplicación de 16 sobre la señal de entrada: