Background of the Invention
This invention relates in general to a selective call receiver having a frequency synthesizer for changing receive frequencies in order to receive a paging signal. This invention more specifically relates to varying characteristics of the receiver in response to the receive frequency.
A paging receiver which receives a paging signal on one of a plurality of receive frequency channels, needs to switch between receive frequency channels. However, the lock time of a frequency synthesizer having a phase lock loop (PLL) may vary depending upon the differences in frequency between two channels. It is desirable to provide a constant lock time when switching channels regardless of the differences in frequency. Furthermore, it is desirable to lock to another channel very rapidly in one instance while the lock time may not be critical in another instance. Thus it is desirable to vary the characteristics of a selective call receiver in order to provide for a desired lock time.
The loop filter of the PLL also effects the noise level of the synthesized frequency used within a superheterodyne receiver, the noise level effects the selectivity of the receiver. Different applications of paging receivers or different channels upon which paging receivers receive paging signals may require differing selectivity performance. Thus it is desirable to adjust the loop bandwidth of a PLL in order to provide a desired level of selectivity performance.
During the reception process, a demodulated signal has a DC component and an AC component upon which the paging signal is included. The DC component is removed in order to digitize the AC component. A complex circuit is used to determine and extract the DC component, such a circuit is shown in U.S. Pat. No. 4,631,737 to Davis et al. It is desirable to disable this circuit while the PLL is acquiring lock.
Summary of the Invention
It is therefore an object of the invention to provide for the aforementioned desirable ends.
In accordance with the present invention, a selective call receiver comprises a receiving means for receiving and demodulating a selective call signal, said receiving means including a phase lock loop (PLL) for programmably generating an injection frequency used to select a receive frequency for receiving the selective call signal, said receiving means further having a variable characteristic, and a decoding means for processing the demodulated selective call signal and for programming the frequency of the PLL and for varying the characteristic of the receiving means in response to the programmed frequency.
Brief Description of the Drawings
FIG. 1 shows a paging receiver operating in accordance with the present invention.
FIG. 2 shows a flow chart of a decoder operating in accordance with the present invention.
Description of a Preferred Embodiment
FIG. 1 shows a paging receiver operating in accordance with the present invention. RF modulated paging signals are received on antenna 10, amplified by amplifier 12 mixed by mixer 14 with an injection frequency from synthesizer 16 in order to create an intermediate frequency signal. Demodulator 18 generates an audio signal from the intermediate frequency signal. The audio signal is digitized by the peak and valley detector 20 which generates a digital signal from the audio signal. Peak and valley detector 20 is described in U.S. Pat. No. 4,631,737 to Davis et al. which is hereby incorporated by reference.
Synthesizer 16 comprises a phase lock loop (PLL) and is driven by a reference frequency from oscillator 22. The reference frequency is compared by phase comparator 24. The output of the phase comparator is filtered by a programmable loop filter 26 which is described in U.S. patent application Ser. No. 07/345,809 now U.S. Pat. No. 4,901,033 to Herold et al. and assigned to the assignee of the present invention which provides for a variable filter characteristic. The output of the loop filter is coupled to voltage controlled oscillator 28 which generates the injection frequency. The injection frequency is further coupled to programmable divider 30 the output of which is coupled to phase comparator 24, thus closing the loop of the PLL.
Decoder 40 receives and processes the digitized signal from peak and valley detector 20 and also enables and disables the peak and valley detector. Programmable filter 26 and programmable divider 30 are also programmed by decoder 40. Decoder 40 includes a microcomputer for performing its functions. Use of a microcomputer or control functions of a paging receiver is known in the art. A preferred microcomputer is the MC68HC05C4 microcomputer manufactured by Motorola Inc. Some elements of the invention described herein are implemented in software operating within the microcomputer.
Code plug 50 includes several variables used to vary the characteristics of the receiver in response to the receive frequency. A first portion 52 contains frequency information and corresponding loop bandwidth information. A second portion 54 contains the change in frequency information, .DELTA.F and corresponding bandwidth and lock time information.
For example, if substantial selectivity was required at a first frequency of 131.000 MHz, nominal selectivity was required at a second frequency of 132.000 MHz and selectivity was not critical at 133.000 MHz, table 52 for the paging receiver of this example could read:
The frequencies above indicate receive frequencies, alternately the injection frequency, which differs from the receive frequency by the intermediate frequency, could be used, while maintaining the same bandwidths. Table 52 governs the loop bandwidth while the PLL is locked.
Table 54 governs the loop bandwidth during lock acquisition and table 54 further governs the lock time provided by the decoder. A relationship exists between the loop bandwidth and the lock time. The relationship is characterized and stored in the codeplug for use by the decoder. The following example uses the above frequencies for table 54.
The first three rows show progression from F1-F3 and back to F1, much like a scanning receiver would operate while scanning channels F1, F2, and F3. The values provide for maintaining a constant lock time independent of the distance in MHz of the frequencies. In order to provide for switching from F1 to F2 or from F2 to F3 with a 10 mS lock time, a 330 Hz bandwidth is used for the loop filter. However, when switching from F3 to F1, a frequency jump twice as far as the prior two, the bandwidth is widened to 660 Hz in order to maintain the constant 10 mS lock time. The fourth and fifth rows show changing the bandwidth in order to provide for faster or slower lock times respectively. These rows may be used in response to commands within the paging signal causing the pager to switch from F1 to F2. The final three rows show starting from a starting frequency FS and bandwidth required to lock on to F1 through F3 respectively in 10 mS. The starting frequency, FS is indicative of the free running frequency of the VCO when it is initially powered on. Thus these rows are used when power is initially applied to the receiver which corresponds to the pager being brought out of the battery saving state.
FIG. 2 shows a flowchart of a decoder operating in accordance with the present invention. The flowchart begins in step 70 with the receiver in the battery save state, thereby disabled. Step 70 is executed until it is time to turn the receiver on. Then in step 72 the receiver is activated or turned on, thereby exiting the battery saving state. Then in step 74 the peak and valley detector is reset. Step 76 determines the receiver frequency which may be made by one of several known algorithms. One such algorithm is shown in U.S. Pat. No. 4,644,347 Feb. 17, 1987 to Lucas et al. which is hereby incorporated by reference. Step 78 determines the loop bandwidth with which to program loop filter 30. For example say from step 76, the determined frequency was F3, since the VCO was just previously enabled, it is free running thus the decoder selects the bandwidth corresponding to FS-F3 from the table above (570 Hz). The divider 30 is then programmed in order to receive frequency F3. Then a delay is executed by the software as determined by the FS-F3 lock time entry in the codeplug (1.0 mS from the above table). Then in step 84, the bandwidth of the loop filter 26 is changed to correspond to the desired bandwidth of frequency F3 (120 Hz from the table above). After the delay of step 82, the peak and valley detector 20 is enabled.
Thereafter the receiver detects valid digitized information and in step 88 the decoder processes the detected signal. Step 90 checks if the frequency is to be changed, which could be in response to a signal received by the receiver. If the frequency is not to be changed, step 92 checks if it is time to turn off the receiver, a decision which may be made after completing reception of a paging signal. If it is not time to turn the receiver off, step 80 is returned to and signal processing continues. If it is time to turn the receiver off, step 94 deactivates the receiver thereby entering the battery save mode and step 70 is executed.
If in step 90, it was decided it was time to change to a new receive frequency, step 74 would be executed. The peak and valley detector would be reset and the next frequency would be determined. If for example, the pager was in the scanning mode, currently receiving F3, and F1 was the next frequency to be scanned, information from the F3-F1 row of the above table would be used in steps 78-86. If for example, the receiver was receiving F1 and detected a paging signal directing the pager to rapidly switch to F2, the receiver would use the 5mS lock time setting from the F1-F2 row of the table above in steps 78-86.
Note that the programmable loop filter draws higher current when operating in the wider bandwidth, so it is generally desirable to use narrower bandwidths when possible. Furthermore, narrower bandwidths provide for reduced phase noise which may be desirable.
Although the invention has been described by way of example, it should be clear that numerous alternate applications of the principles described herein may be implemented while remaining within the scope of the invention which is defined by the following claims.