Inexpensive envelope tracker handles wide signal variations
( 01 Sep 2006 )
Converting band-limited NRZ (non-return-to-zero) data to a digital format suitable for microprocessors and other digital systems poses problems when a signalâs duty cycle or amplitude varies or when its average level unpredictably wanders within a given dc range. Transferring the signal to a fixed-reference comparator using ac coupling produces poor results because changes in duty cycle cause variations in average signal level that result in jitter or distortion of the output signalâs timing.
Based on diodes and RC networks, an envelope tracker creates a voltage between the input signalâs excursions (Reference 1). Using the midpoint voltage as a reference, the comparator generates a digital output signal that faithfully replicates the original signalâs timing information. Although highly effective for relatively large signals, a diodebased circuit can introduce errors or even fail completely for inputs that are small relative to a diode forward-voltage drop or when the inputâs average level drifts toward either of the circuitâs supply-voltage rails.
Requiring no diodes, the single-supply circuit in Figure 1 reconstructs a band-limited NRZ data stream whose duty cycle can vary from less than 5% to more than 95% and whose amplitude varies from less than 100 mV to the supply-rail voltageâ5V, for example. Furthermore, the circuit tolerates an average signal level that falls between the two supply rails. The circuit comprises triple analog switch I1, dual comparator IC2, and a few passive components.
VUC and VLC, on capacitors C3 and C4. Two equal-valued resistors, R4 and R5, between C3 and C4, produce a third voltage, VMID, thatâs equivalent to the input signalâs midlevel voltage, VM. Capacitor C2 smoothes and filters VMID, which serves as a reference potential for output comparator IC2B. R2, R3, and 1 provide temporal hysteresis, ensuring clean switching of VOUT, even for relatively small inputs.
sTo understand the circuitâs operation, assume that C4, C2, and C3 all discharge; that is, VLC, VMID, and VUC are all 0V. Because input signal VIN is greater than VMID and the potential at IC2Aâs inverting input, both comparatorsâ outputs go high and cause the three analog switches to assume the positions in Figure 1. Now, assume that VIN is at its positive peak amplitude, VU. Capacitor C3 now charges through R1 and the on-resistances of the three switches. Provided that C3 is not too large, VUC rapidly acquires a value roughly equal to VU.
When VIN falls below VUC, comparator IC2Aâs output goes low and forces analog switch I1C to change state and disconnect C3 from VIN. Ignoring comparator input-bias currents and assuming negligible switch-leakage currents, C3 can now discharge only through R4. If R4 is large enough, the relatively slow discharge rate allows VUC to remain roughly equal to VU.
During C3âs charging interval, C2 also charges through R4. Depending on the values of C2 and R4 and on the duration of the input signalâs positive-going pulse, voltage VMID may exceed the input signalâs lower level, VL. If VMID exceeds VL, comparator IC2B trips when VIN approaches VL, and the resulting low level at VOUT causes both I1A and I1B to change state. Capacitor C4 now connects to VIN through R1 and the switchesâ on-resistances and quickly charges to a level at which VLC approximately equals VL.
The presence of I1B, I1C, and IC2A ensures that C3 can charge when VIN is close or equal to VU and that C4 can charge only when VIN is close or equal to VL. Without I1B, I1C, and IC2Aâthat is, with VIN connected directly to R1âC3 would discharge on the downward slope of VIN between VU and VM and would thus pull down VUC. Similarly, C4 would continue to charge on the upward slope of VIN between VL and VM and would thus pull up VLC. Although VMID might be roughly equal to VM, such a minimal configuration performs relatively poorly, particularly for small signals and at extreme duty cycles.
The components in Figure 1 produce good results for input frequencies of 5 to 50kHz. Frequencies lower than 5kHz may require larger capacitor values, and operation higher than 50kHz may require reduction of capacitorsâ values and selection of a comparator with minimal response time. With properly selected components, the circuit performs well at baud rates to or exceeding 128kbps.
Note that, with no input signal present (that is, when applying a dc level to VIN) VOUT may contain random pulses caused by noise and the comparatorsâ attempts at maintaining VMID equal to VINâs average dc level. To eliminate the pulses, remove 1 to replace temporal hysteresis with ânormalâ hysteresis, but ensure that the hysteresis levels that R2 and R3 set are not excessively large relative to the minimum input-signal amplitude.
Figure 2 shows the circuitâs response to a bandwidth-limited input signal of approximately 5% duty cycle and 75mV amplitude. The horizontal trace, VMID, neatly bisects the waveform. The bottom trace shows the reconstructed signal at VOUT. In Figure 3, the circuit processes the real-world output of an inductively coupled transceiver (upper trace) of approximately 200mVp-p. Again, the lower trace shows the reconstructed signal at VOUT.
REFERENCE 1. Whipple, Roger C, âEnvelope tracker quells jitter,â EDN, July 7, 1994, pg 102, www.edn.com/archives/ 1994/070794/14di8.htm.