Monolithic logarithmic amplifiers (log amps) can handle signals with dynamic ranges up to 100 dB. They are capable of responding to RF bursts that are as short in duration as a few tens of nanoseconds. However, when demodulating logarithmic amplifiers are used to detect fast RF bursts, strange tails sometimes appear at their output when the applied burst shuts off. This article explains a common cause of these tails and offers suggestions on how to eliminate them.
Understanding Demodulating Logarithmic Amplifiers
The first thing to understand about log amps is that, while they provide information about power, they actually respond to voltage. In communications technology, the term log amp generally refers to a device that outputs a voltage that is proportional to the logarithm of the envelope of the input signal, scaled to base 10. A power ratio of 100:1 corresponds to 20 decibels (dB) or a voltage ratio of 10:1 into a given impedance.
Another important factor relating to log amps and output tails is that log amps have a high sensitivity to very small changes in amplitude at the low end of their operating range. Figure 1 shows the typical relationship between the input and output of a log amp. For every 10 times increase in the peak-to-peak voltage at the input, the output increases by 500 mV. This means that, when the inputs are in the single-digit millivolt range, a very small change in the input voltage will result in a significant change in the output voltage.
Using Logarithmic Amplifiers for RF Pulse Detection
When an RF burst is applied to the input of a demodulating log amp, the output will be a voltage pulse. This can be fed into a comparator to determine the presence or absence of the RF burst, or the amplitude of the RF burst can be determined by measuring the amplitude of the log amp output voltage.
Figure 2 shows examples of the strange tails that are sometimes seen at the end of otherwise fast and accurate log amp output-voltage pulses. These undesirable tails can cause false readings in radar and other systems where the shape of the detected pulse provides vital information about the target.
The tail can be stationary or jittery, with the tail moving up and down the falling edge of the ideal rectangular pulse. Note that there are instances where the tail does not occur, but falls directly to the bottom without a kink in the response.
Understanding the Tail
The tails in these two cases are caused by different mechanisms. The stationary tail is caused by the poor quality of the RF burst applied to the input of the log amp. While not apparent on the modest voltage and time scales of an oscilloscope, the RF burst does not shut off instantaneously, but instead decays exponentially. Figure 3 shows an exaggerated picture of the input signal and the log amp response. Remember that log amps are highly sensitive to small changes in voltage at the low end of their dynamic range. Thus, the small, almost imperceptible, exponential decay of the RF burst causes a linear tail. The exponential decay is predictable and repeatable; it is due to the gating mechanism of the signal generator. This accounts for the stationary tail at the log amp output. The only solution to this form of tail is to obtain a signal generator that will shut off to zero more rapidly. The remainder of this article will assume that a good-quality RF burst generator is used and that the tail is jittery and not stationary.
Input Coupling
The type of jitter shown previously is typically the result of improper input interfacing to the demodulating log amp. Most logarithmic amplifiers are designed to be driven differentially, but most RF signals are single-ended. There are several options for performing the single-ended to differential conversion necessary to inject the RF signal into the log amp, as shown in Figure 4. INHI and INLO are the log amp’s differential input pins.
The first option (a) is to use a balun (balance-unbalance-transformer) interface. This is the best method, as it generates a good-quality, truly differential signal at the inputs of the log amp. Use of a balun will eliminate the tails, provided that the size and added cost entailed are acceptable, given the design constraints.
Two popular alternatives involve RC networks. They occupy less board area than a balun and cost less, but they require care to avoid tails. An external shunt resistor is placed on either the device side (b) or the input side (c) of the capacitors to provide a controlled impedance at the device (usually 50 ?).
Ideal Signals
Consider first the circuit with the resistance on the device side (the somewhat similar other circuit will be considered later). This circuit does not convert the single-ended input signal to a differential signal. Instead, the AC component of the RF signal is allowed to pass through to INHI, while INLO sees a low pass-filtered version of the signal. Ideally, the signal at INLO will have the same DC average as the signal at INHI. Both INHI and INLO are typically biased by the same internally generated reference voltage, as shown in Figure 5.
Imperfect Signals
The signals shown are idealized. The real low pass filter will attenuate the signal from INHI to INLO, but will not completely eliminate it, and there will be residual traces of the input signal at INLO. Figure 6 shows an exaggerated picture of the signals at INHI and INLO. It can be seen that the real signal at INLO is a highly attenuated version of INHI with a 90° phase lag.
Looking into the input port, the input signal sees a high pass filter to INHI. This means that any changes occurring above the corner frequency formed by RC1 will pass unattenuated to INHI. Thus, when the RF burst turns on suddenly from an off-state, the voltage at INHI will track the input. The same will be true when the RF burst turns off — the voltage at INHI will shut off immediately.
INLO, on the other hand, is a low pass, filtered version of INHI; as a result, it will be an attenuated version of the voltage at INHI, phase-shifted by 90°. When the RF burst is shut off, the voltage at INHI will settle immediately, although the voltage at INLO will not. It will instead undergo a single time-constant decay, with its time constant defined by RC2 . This is illustrated in the figure (note that the scale of the INLO signal has been exaggerated for effect).
Source of the Tail
The tail is the result of the exponential decay of the signal at INLO. While INLO is decaying exponentially, INHI is off. The small differential input that the log amp sees between INHI and INLO is enough to result in a significant amount of output voltage. (Remember that the log amps are highly sensitive to small input amplitude changes.)
Further evidence that the tail is the result of exponential signal behavior at the input is given by the linear nature of the tails. When the log of an exponentially decaying voltage is generated, the result is a straight line with a negative slope. The jitter in the output occurs when the pulse rate and the RF frequency are not integer multiples of one other. Because of this, the RF signal is not always cut off at the same place in its period. The point in a period where the RF is shut off will establish the initial condition for the exponential decay. When the RF is shut off exactly as it crosses the zero-axis, INLO will be at a peak and the tail will start at its highest point. If the RF is shut off at a peak, then INLO will be zero and there will be no tail at all. Switching randomly between these two extremes will cause the jitter that is seen in the tail.
Cutting the Tail Off
The described tail problem can be solved by making sure that the RC time constants formed by R, C1 and C2 are set appropriately. The critical time constant is that of the low pass filter formed between R and C2. The value of R is typically chosen to be about 50 ? for matching purposes. For convenience, C1 and C2 are often chosen to be equal, though not always.
C2 must be chosen to be small enough so that the exponential decay is faster than the response time of the log amp, typically specified as 10 to 90 per cent of the rise time of the log amp output to a step increase in the input power. This number establishes the maximum rate of change of the output voltage. As long as the exponential decay at INLO is faster than the maximum rate of change, the output will be limited by the log amp’s own slew rate, and the tail will not appear. This analysis dictates that C2 be as small as possible.
If C2 is made as small as possible, however, and C1 is made equal, the corner frequency of the high pass filter formed by R and C1 will be pushed so far out that it might attenuate the desired RF signal as it travels from the input to INHI. To ensure that INHI is not attenuated going from the input to INHI, C1 must be chosen so that the product of R and C1 forms a corner frequency that is below the RF frequency. This dictates that C1 should be large. Within these bounds, C1 and C2 can be made equal, or they may be chosen to be different for optimum results.
Should the 50 ? Resistor Be On the Signal Side or the Device Side?
The analysis so far has centered on the circuit where the resistor is on the device side. The other circuit is similar, except that the input resistor is on the input side of the capacitors. Remember that the input impedances of the log amps are typically much higher than the 50 W of the termination resistor. If the 50 ? resistor is placed on the device side of the capacitors C1 and C2, the net impedance between INHI and INLO is approximately 50 ?. However, if the termination resistor is placed on the input side of C1 and C2, the impedance between INHI and INLO is the input impedance of the device.
The problem with having the termination resistor on the signal side is that the higher internal resistance of the device will require a much smaller value of C2 to ensure elimination of the tails. Also, if the input resistance is not predictable, varying with the semiconductor manufacturing process, the choices for C1 and C2 may not always ensure tail-free operation. Thus, placing the termination resistor on the device side of the capacitors is preferred.
Results
Figure 7 shows the result of choosing the proper capacitance values. The output, shown previously with jittery tails, was taken with 10 nF input capacitors, while this output was taken with 1 nF capacitors. A factor of 10 capacitance reduction has made a huge improvement in the output quality.
Conclusion
The performance of demodulating log amps need not be hampered by the presence of tails. They occur because of poor-quality signal sources or because of the improper selection of the component values in the input interface. The most effective solution for the first form of tail is to obtain a better source of bursts. The second type of tail can be dealt with using proper interfacing circuits. The techniques include the use of baluns and passive RC circuits, as described here. Active solutions, such as single-ended-to-differential amplifiers are also available to the designer. Whatever method is chosen, it is important to keep in mind the issues discussed here.