时间:2006-05-07 | 栏目:RF/无线技术 | 点击:次
Amplitude-shift keying (ASK) and on-off keying (OOK) receivers are used for intermittent low-data-rate applications like RKE, home security, garage-door openers, and remote controls. The data that comes to an ASK or OOK receiver from a remote transmitter is reconstructed in the data slicer. The data slicer is, therefore, an integral part of ASK and FSK receivers that operate in the 260MHz to 470MHz short-range UHF band under the rules of FCC Part 15.231. This application note explains the operation of the data slicers found in Maxim's UHF receivers, including the MAX1470, MAX1473, and MAX1471, and transceivers like the MAX7030 and MAX7032.
This application note reviews two aspects of data slicing: forming the comparator threshold, and preventing the comparator output from 'chattering' when no signal is present. The latter operation, often called 'squelching', can be done by introducing simple voltage offsets onto either pin of the data comparator. This offset can come directly from the power supply or from using hysteresis, which is the process of feeding back part of the output voltage from the data slicer comparator.
We will show three different ways to form the threshold, and three different ways to introduce squelch, all of which can be done by adding a few external resistors and/or capacitors.
Figure 1. ASK demodulator output.
Figure 2. Block diagram of the MAX1473 ASK receiver.
Figure 3. Block diagram of the data-slicer blocks in the MAX1473, including external components.
Figure 4. Fundamental data-slicing circuit.
Figure 5. DSN and DSP signal for fundamental data-slicing threshold formation.
Figure 6. Circuit and waveforms for rapid threshold formation.
Figure 7 illustrates two DSN waveforms for two different sets of resistors and capacitors. The combination of components that produces a threshold voltage at DSN closest to an instantaneous jump obeys the guideline below:
Figure 7. Combined DSN voltage vs. time using a peak detector.
We can illustrate the choice of the R's and C's with a specific example. For an ASK data rate of 4kbps NRZ, the R1-C4 lowpass filter should have a time constant of about 5-bit intervals, which is 5 x 0.25ms, or 1.25ms. A good choice of R1 and C4 is:
R1 = 25 k and C4 = 0.047 µF
We choose C13 equal to C4, and make R2 much larger than R1 (a factor of 10 is good):
R2 = 250 k and C13 = 0.047 µF
This choice will cause the threshold voltage DSN to jump from V0 to V0 + Vs/2, then settle to V0 + 0.55Vs.
Notice that this approach to establishing a rapid slicing threshold creates a small error in the threshold. Moreover, the time constant associated with the threshold voltage's change from its initial to final value, which is a very small change, is given by the product below:
Time Constant = (R1 || R2 x (C4 + C13))
This is approximately twice the time constant of the R1-C4 smoothing circuit. We could correct for this change by reducing each capacitor value, but that is not necessary. Because the threshold changes very little after its initial jump, the time constant is not as critical as it is in a circuit that lacks the peak-detector contribution.
Using a maximum and minimum peak detector is one way to improve the rapid establishment of the slicing threshold. The MAX1471 ASK/FSK receiver, the MAX7042 FSK receiver, and the MAX7030/MAX7031/MAX7032 transceivers have maximum and minimum peak detectors so that the single R-C smoothing circuit is not needed. Figure 8 shows these peak detectors, each with an external resistor and capacitor. Each capacitor holds the peak voltage, and each resistor provides a discharge path for the associated capacitor. This design allows the peak detectors to dynamically follow any peak changes in the data-filter output voltages. The maximum and minimum peak detectors can be used together to form a data-slicer threshold voltage at a value midway between the maximum and minimum voltage levels of the data stream. The RC time constant of these R-C pairs should be set to about five times the bit interval, as it is in the simple threshold smoothing circuit described earlier in this application note.
Figure 8. Data-slicer circuit with maximum and minimum peak detectors.
If something causes a significant change in the magnitude of the baseband signal, such as an AGC gain switch or a power-up transient, the peak detectors may 'catch' a false level. If a false peak is detected, the slicing level is incorrect. Because the RC time constants are several bits long, the peak detectors may not recover rapidly. The Maxim receivers with dual peak detectors, however, all have at least one provision for resetting the peak detector outputs: the receivers momentarily allow the peak detectors to track the signal. In the MAX7042 FSK receiver, the peak detectors are reset by momentarily pulling the ENABLE pin low, then returning it to a logical high setting. The MAX7030 and MAX7031 transceivers reset the peak detectors the same way, but also reset the peak detectors whenever the AGC function changes state or the T/R switch enters the receive state. The MAX1471 ASK/FSK receiver and the MAX7032 ASK/FSK transceiver reset the peak detectors through their serial ports, and also automatically reset the peak detectors whenever the receiver emerges from the sleep mode.
Figure 9 shows simple squelch circuits that use the power supply as the source of the DC offset. Usually, all you need is a large resistor that is 50 to 100 times the value of the resistor between the data-filter output DFO and either input pin on the comparator. In the first circuit of Figure 9, the small offset is added to DSP. If the offset is about 30mV, then two things will happen. Firstly, the noise riding on the DC voltage at DSP in the absence of a signal will never take the DSP voltage below the level of the threshold at DSN; and, secondly, the DATAOUT pin will be held high, i.e., VDD. In the second circuit of Figure 9, the offset is added to DSN. Now the noise that rides on the DC voltage at DSP will never take the DSP voltage above the increased threshold at DSN and the DATAOUT pin will be held low, i.e., GND. The squelch circuit reduces sensitivity slightly (about 1dB to 2dB when the resistive divider is chosen carefully), and causes a slightly wider positive data pulse and slightly narrower negative data pulse at DATAOUT when a demodulated signal is present.
Figure 9. Two simple squelch circuits using a supply voltage.
Figure 10. Resistive hysteresis circuit for squelch function.
Just as in resistive hysteresis, a small fraction of the DATAOUT signal is fed back to the DSP pin, this time through the capacitive divider C7-C9. Typical capacitor values are 10pf for C7 and 1000pf for C9. The offset added to DSP differs because it is a transient offset that decays with a time constant given by:
R8 x (C9 + C7)
Depending on the length of the time constant, the offset keeps the noise on DSP from going below the slicing threshold until the offset decays. This effectively increases the time that the DATAOUT pin stays high, thereby reducing the frequency of the DATAOUT chatter. While capacitive hysteresis does not eliminate chatter altogether, it reduces the number of transitions.
Notice that the presence of C9 creates another lowpass filter with R8 in the demodulated ASK signal path. The pole associated with this filter time constant should be larger than the bandwidth of the Sallen-Key data filter, so that it does not make the filtered signal too sluggish.
Figure 11. Capacitive hysteresis circuit and waveforms.