|
|||||||||||||||||||
|
advertisement |
|
|
Tightening the screws in RF power measurement Apr 1, 2005 12:00 PM By Carlos Calvo and Anthony Mazzei Using a combination of a logarithmic amplifier and a temperature sensor it is possible to design a temperature compensation scheme to significantly reduce the contributions of the two major error factors in RF power management, temperature and process variations. In some cases, the temperature compensation hardware is integrated onto the power detector chip.
For a PDF version of this article, click here. Accurate RF power management in base stations is of high importance. Overdriving the transmitting power amplifier beyond the necessary output power level can be costly. Excessive current usage will result in higher expenses and also introduces thermal dissipation issues requiring more thermal relief. In the extreme case, overdriving the power amplifier can lead to reliability issues resulting from burnout failures. The added benefits of accurate RF power management in base stations also transcend to mobile transmitters because they have similar demands. With the ability to accurately control the output power, the mobile device can minimize supply current expenditures. For instance, RF power management allows the transmitted power to be precisely limited to the minimum required power level, reducing battery current. Accurately controlling the power will extend talk time while still permitting the mobile transmitters to meet the cellular standard requirements. Figure 1 shows a block diagram of a typical RF power management circuit. The transmit signal path consists of three consecutive stages; baseband, radio and power amplifier. A portion of the transmitted signal is sampled by the directional coupler before it reaches the antenna. The sampled RF power is delivered to the power detector where it is converted to a dc voltage. The output voltage of the power detector is digitized and fed to the digital signal processor (DSP) or the microcontroller. Once the power measurement is available as a digital level, a decision is made based on the measured output power vs. the desired output power. The microcontroller will adjust the output power using a digital to analog converter (DAC) and a variable gain amplifier (VGA) to drive the signal path power control, either at the baseband, radio or power amplifier. The RF power management loop will reach steady-state once the measured output power and the desired output power are balanced. A temperature sensor can also be introduced as an input to the microcontroller to add temperature compensation capabilities. A similar RF power management loop can be implemented using only analog circuitry in transmitters. Historically, diode detectors have been used in RF power management circuitry to regulate transmitted power. They offer good temperature stability at high input power levels, but have poor performance at low power levels. Even with temperature compensation circuitry, a diode detector can only offer a small detection range with worsening temperature performance at low input powers. A popular alternative to the diode detector is the demodulating logarithmic amplifier. The logarithmic amplifier offers an easy to use linear-in-dB RF power detection response with a wide dynamic range. Logarithmic amplifiers
Figure 2 shows the block diagram of a progressive compression logarithmic amplifier. In this example, there are four 10 dB cascaded limiting amplifiers that make up the progressive compression chain. Five full-wave rectifier detector cells convert the RF signal voltages to currents: one detector cell at the RF input and four at the outputs of the amplifier stages. The currents generated by the detector cells are proportional to the average of the voltage signal levels and are added together to approximate a logarithmic function. The sum of currents is converted to a voltage with a high-gain stage. The five detector cells across the four 10 dB amplifier stages allow the logarithmic amplifier to have a 50 dB detection range. Figure 3 shows the transfer function at 2.2 GHz of a 60 dB 1 MHz to 8 GHz logarithmic amplifier. There is a linear relationship between the RF input power and the output voltage, that is, as the input power increases, the output voltage follows in a linear-in-dB fashion. The figure also includes a logarithmic conformance error curve. The conformance error curve serves to more closely examine the logarithmic amplifier's performance. The slope and x-axis intercept of the curve are calculated over the linear part of the detection range. This information provides a simple linear model to compare with the actual response of the logarithmic amplifier. The ideal linear reference model is represented by the dashed line in the plot. The comparison of the ideal linear model to the transfer function yields the logarithmic conformance error curves scaled in dB. The method of calculating logarithmic conformance error is similar to the two-point calibration technique used in RF power management system calibration. During production testing, two known RF signal strengths are chosen in the linear range of the detector. Using the resulting voltage outputs, the slope and intercept characteristics of the response are calculated and stored in non-volatile memory to form a simple linear equation. The transmitted power in the field can then be easily calculated using the linear-in-dB function and the measured detector voltage. There are the considerable benefits of reduced cost and trimmed test time by using only two points at calibration. However, this calibration practice is only possible due to the log-amp's linear performance. Because calibration is generally done at a single temperature, the effects of temperature on the detector are important to quantify. The accuracy of a detector over temperature can be expressed in terms of conformance error. Figure 4 shows the transfer function at 900 MHz of a 45 dB logarithmic amplifier that operates at frequencies up to 3.5 GHz. The plot includes the transfer functions at -40° C and +85° C, as well as the logarithmic conformance error curves over temperature. As would be the case with two-point calibration, the same 25° C linear reference is used to generate the three linear conformance error curves. The transfer function of the logarithmic amplifier at 25° C ambient temperature has a slope of 50.25 dB/V and a -51.6 dBm intercept (the point at which the extrapolated linear reference would intersect with the x-axis). The curve at 25° C hovers around the 0 dB error line, while the temperate extremes have minor slope and intercept shifts. The logarithmic conformance error of this single device across temperature stays within ±0.5 dB across a 40 dB detection range. The temperature drift at +85° C is the limitation to the dynamic range. Individual devices may have excellent accuracy over temperature, however, minor part-to-part variations inherent in semiconductor processing can be an obstacle to precise RF power management. Figure 5 shows the distribution of logarithmic conformance error curves of 70 devices. The sampling of devices spans across various lots to demonstrate process variations. Each device has three temperature curves calibrated to its 25° C linear reference. Although there is a clear variation from part to part, the distribution is very tight. The population of device over temperature has an accuracy of ±1 dB over more than 40 dB of detection range. Temperature compensation can be introduced due to the repeatable drift from part to part. Typically, wireless communications standards require ±1 dB and ± 2 dB accuracy from transmit power detection schemes with relaxed limits at extreme temperatures. The raw accuracy of the logarithmic amplifier is sufficient to meet most standards without any fine-tuning. Still, there are clear advantages associated with exceeding the RF power management requirements set by the different standards. How microprocessors can compensate for error
As previously discussed, the microcontroller can actively adjust the transmitted power by biasing the transmit signal path. By adding a temperature sensor, the microcontroller can further increase the accuracy of an RF power management system. As long as the detector has repeatable temperature drift, some level of error compensation is possible. Compensation routines taking into account environmental changes can be integrated in the microcontroller's decision making to significantly reduce or eliminate process and temperature variations. For example, if a power detector repeatedly drifts with temperature, a compensation algorithm can be implemented to remove the expected error at the known temperature. Figure 6 shows the logarithmic conformance error curves for a large number of devices. At 3.5 GHz, the temperature drift is spread out from +1 dB to -4 dB. The population of devices at -40° C follows the 25° C curves closely. In contrast, the distribution at +85° C is shifted by 2.5 dB and is no longer parallel to the 25° C distribution. Although the temperature drift at this frequency is sizeable, the distribution at each particular temperature remains very tight. Because of this drift repeatability, a compensation scheme can be implemented to dramatically improve the accuracy. Over temperature there are slope and intercept variations that lead to temperature drift. With this in mind, an error model can be derived by analyzing the population of devices. An error function expressing the movement of the population over temperature can be created, as shown in Figure 6. A trend line is drawn through the linear region of the +85° C log conformance curves to represent the error model at +85° C, error The majority of the temperature drift occurs linearly between 25° C and +85° C. A generalized error function for all temperatures in that range can be created using a scaling factor, k(T), which is a function of temperature. The combination of the complimentary error function and the temperature scaling function are combined as shown in Figure 7. As the temperature increases, the scaling factor will track and eliminate the error caused by the rising temperature drift. Figure 7 shows the AD8312's distribution of logarithmic conformance using the error compensation scheme described. Before compensation, the logarithmic conformance error spanned 5 dB. With the incorporation of error compensation, the logarithmic conformance error over the full temperature range is improved to approximately ±0.5 dB from -30 dBm to 0 dBm. The achievable accuracy of an RF power management system is determined by the distribution of the population of devices. Similar results are also possible at lower temperatures and lower frequencies where temperature drift is not as significant. Through the life span of a semiconductor process there are variations in its parameters, such as sheet resistance, capacitance and beta. All of these variants influence the slope, intercept and temperature performance of the detectors. A method to mitigate the influence of process variation is to use a laser-trimmed logarithmic amplifier. Figure 8 shows a distribution of logarithmic conformance of the AD8318, a trimmed 60 dB logarithmic amplifier at 1.9 GHz. Instead of digital compensation, the device uses onboard temperature circuitry and an external resistor to optimize temperature performance. The value of the resistor is dependant on the required magnitude of the correction coefficient. The analog compensation circuit alone achieves a tight distribution with ±0.5 dB in the central detection range. Conclusion
With accurate RF power management, base stations and mobile transmitters can benefit from power amplifier protection and reduced power consumption while dramatically surpassing cellular standard requirements. Using a stable logarithmic amplifier and a temperature sensor, microcontrollers can compensate for temperature drift errors to improve the overall accuracy of an RF power management system. Logarithmic amplifiers with tight temperature distributions allow for simple error compensation. Two-point calibration with a moderate amount of temperature drift characterization can set the stage for accurate RF power management of ±0.5 dB over temperature. ABOUT THE AUTHORS
Carlos Roberto Calvo is an RF applications engineer in the Advance Linear Products division of Analog Devices Inc. He is a graduate of Worcester Polytechnic Institute, Worcester, MA, with a BS and MS in electrical engineering. He can be reached via e-mail at Carlos.Calvo@analog.com. Anthony Mazzei is a product engineer for Analog Devices in the Advance Linear Products division in Wilmington, MA. He obtained his bachelor's degree in electrical engineering from the University of Massachusetts Lowell. He can be reached via e-mail at Anthony.Mazzei@analog.com.
|
|
||||||||||||||||
| Back to Top |