Automatic frequency control circuit

Abstract: An automatic frequency control circuit mounted on a mobile station in mobile communication. The automatic frequency control circuit performs feedback control of an oscillation frequency of a local oscillator used in conversion of a reception frequency to an intermediate frequency signal in response to the count result of the frequency of the intermediate frequency signal. If a receiver is not in the hand-off state, counting is performed for comparatively long time; if in the hand-off state, counting is performed for comparatively short time conforming to required stabilization performance at hand off. Occurrence of variations in count values caused by fading is detected, and only the count values worthy of trust are used as a base of control. A level drop caused by fading is compensated by self-oscillation.

Description: BACKGROUND OF THE INVENTION Field of the Invention This invention relates to an automatic frequency control (AFC) circuit used at a mobile station for digital communication and more particularly to an AFC circuit which causes the oscillation frequency of an oscillator contained in the mobile station to follow the frequency of a signal received from a base station and stabilizes it. Description of the Related Art Automatic frequency control circuits are known. In EP-A-0,412,207 there is described a circuit in which an incoming burst frequency is sampled and held on the output side of an IF amplifier. The held frequency is measured and compared with a preset reference frequency data to establish the difference therebetween and a reference oscillator is controlled so as to keep the difference below a predetermined value. Another automatic frequency control circuit is described in EP-A-0,339,647. The described circuit mixes a second IF signal with an oscillation signal outputted from an oscillator. As a result a third IF signal is obtained having a frequency lower than the frequency of the second IF signal. When the circuit receives a high definition television signal a counter circuit counts the third IF signal. The frequency of the second IF signal is then adjusted on the basis of the counting of the counter circuit. Generally, a receiver of a mobile station adopts a superheterodyne system which requires a local oscillator to convert a reception frequency into an intermediate frequency. As the local oscillator, the configuration can be used which includes a high-precision reference oscillator which oscillates at a high frequency and a circuit which converts an oscillation output of the reference oscillator into a predetermined local oscillation frequency. As the reference oscillator, a voltage-controlled and temperature-compensated crystal oscillator (VC-TCXO) can be used. As the means for converting an oscillation output of the reference oscillator into a local oscillation frequency, a circuit such as a multiplying circuit, or a phase locked loop (PLL) synthesizer can be used. If the oscillation frequency of the local oscillator, i.e. the local oscillation frequency contains a deviation, the intermediate frequency signal provided by making frequency conversion of a signal received from the base station shifts from the predetermined frequency. If the frequency of the intermediate frequency signal shifts from the predetermined value, the received data cannot accurately be demodulated and the transmission frequency from the mobile station becomes incorrect. To prevent such trouble, normally an AFC circuit is used at the mobile station to remove or correct the deviation of the local oscillation frequency. For example, assume that the receiver has first intermediate frequency F IF1 and second intermediate frequency F IF2 as intermediate frequencies. Also assume that the control object value of the oscillation frequency of the reference oscillator, i.e. the reference frequency is F 0 and that the first and second local oscillation frequencies provided by performing steps such as multiplying the value are F L1 and F L2 respectively. When the reference frequency does not shift from the object value F 0 , the first and second intermediate frequencies provided by frequency conversion, F IF1 and F IF2 , can be represented by the following expressions using the frequency of reception signal, i.e. the reception frequency F R : F IF1 = F L1 - F R F IF2 = F L2 - F IF1 = F L2 - F L1 + F R If the reference frequency contains a deviation α, that is, if the reference oscillator oscillates at F 0 (1+α), the values of the first and second local oscillation frequencies become F L1 (1+α) and F L2 (1+α) respectively. As a result, the first and second intermediate frequencies also contain a deviation. Assuming that the first and second intermediate frequencies containing a deviation are represented by F IF1 ' and F IF2 ', the frequencies F IF1 ' and F IF2 ' are represented as follows: F IF1 ' = F L1 (1+α) - F R F IF2 ' = F L2 (1+α) - F IF1 ' = F L2 (1+α) - F L1 (1+α) + F R = α (F L2 - F L1 ) + (F L2 - F L1 ) + F R By assigning expression (1), expression (2) can be represented as follows: F IF1 ' = α F L1 + F IF1 F IF2 ' = α (F L2 - F L1 ) + F IF2 = α (F IF2 - F R ) + F IF2 As shown in Figure 6, at the AFC circuit, the second intermediate frequency generally containing a deviation, F IF2 ', is counted for gate time G T = n/{F 0 (1+α)} where n is an integer, for example, for 100 msec at step S21. The count value D A is D A = F IF2 ' x G T = {α (F IF2 - F R ) + F IF2 } x [n/{F 0 (1+α)}] = {F IF2 (1+α) - αF R } x [n/{F 0 (1+α)}] = n/F 0 x F IF2 - αF R n/(F 0 (1+α)} In expression (4), α appears only in the second term. Therefore, if the oscillation frequency of the reference oscillator is subjected to feedback control so that the count value D A becomes the value of the first term n/F 0 x F IF2 the reference frequency can be controlled to the object value F 0 . Based on such relationships, the AFC circuit controls the reference frequency. That is, n/F 0 x F IF2 - D A is multiplied by predetermined coefficient α to find value D B at step S22, and the value D B is used as correction data to control the reference frequency F 0 at step S23. Thus, the AFC circuit can stabilize the oscillation frequency of a reference oscillator such as a VC-TCXO. In such a configuration, however, when the electric field input level is low, if fading occurs, an error occurs in the count value D A , thus it becomes difficult to accurately control the oscillation frequency of the reference oscillator. Even when the electric field input level is high, if a modulation pattern bias or multipath fading occurs, it still becomes difficult to accurately control the oscillation frequency of the reference oscillator. For example, in the digital cellular communication system under USA specifications, the frequency deviation allowed for a mobile station is a small value of ±200 Hz. In consideration of the fact that the transmission frequency of the base station is an 800 MHz band, it is understood that the frequency deviation tolerance is a strict value of ±0.25 ppm. On the other hand, in the digital cellular communication system under the USA specifications, the reference frequency stablizing time at hand off is short: Within 130 msec at -90 dBm input and within 250 msec at -103 dBm input. Therefore, if the time for counting the second intermediate frequency generally containing a deviation, F IF2 ', is set to, for example, 100 msec counting on a margin for the time 130 msec, a frequency error exceeding the specification of ±200 Hz will occur due to fading or any other cause. To eliminate a frequency error caused by fading or modulation pattern bias, the counting time needs only to be prolonged. However, if the time is prolonged, the stabilizing performance at hand off becomes insufficient. Further, for digital modulation such as π/4 shift QPSK (quadriphase phase shift keying), a modulation pattern needs to be random to suitably perform the control described above, that is, in-band constituents of reception frequencies need to be distributed equally with the center frequency as the center. However, if frequency selective fading such as multipath fading or multifrequency fading occurs, the high or low partial frequency constituent is lost with respect to the center frequency of the reception frequencies. For example, if the reception frequency whose high-frequency constituent is lost is converted into an intermediate frequency which is then counted, the count value D A becomes a value lower than the center frequency. Generally, the delay time caused by multipath fading is 40 usec at maximum, thus the fading pitch becomes short (25 kHz) and the frequency deviation standard of ±200 Hz cannot be satisfied. A count error is caused by a temporary drop in the input level at fading. Since random noise in nature is counted in the period during which the input level drops, a count error occurs. If a reception signal in analog form is supplied to count processing, a count error (malfunction of digital circuit) may occur due to disorder cr incompletion of the waveform of the signal. SUMMARY OF THE INVENTION Accordingly, in is an object of the invention to enable accurate control of local oscillation frequencies even under circumstances in which an error is prone to occur in count value D A , such as low electric field input level, occurrence of fading, and modulation pattern bias. It is another object of the invention to ensure frequency stabilizing performance at hand off in addition to accomplishment of the prinary object. To these ends, according to one aspect of the invention, there is provided an automatic frequency control circuit for use with a receiver which mixes a reception signal with a local oscillation signal to generate an intermediate frequency signal, the automatic frequency control circuit comprising means for counting a frequency of the intermediate frequency signal for a predetermined time, means responsive to a count value by said counting means for controlling a frequency of the local oscillation signal, means for determining whether or not an error is prone to occur in the count value, and means responsive to a determination result by said determining means for executing an error suppression process for suppressing an error of the count value, characterised in that said determining means includes means for observing variations in said count values in a time series manner, and means for determining whether or not the variations obtained by observation exceed a predetermined deviation from a centre value, and said error suppression process execution means has means for handling said count values as invalid values and excluding them from a base of control of the local oscillation frequency if the variations do exceed said predetermined deviation. According to another aspect of the invention, there is provided a method of controlling frequencies for use with a receiver which mixes a reception signal with a local oscillation signal to generate an intermediate frequency signal, the method comprising the steps of: counting a frequency of the intermediate frequency signal for a predetermined time, controlling a frequency of the local oscillation signal in response to a count value provided by said counting step, determining whether or not an error is prone to occur in the count value, and executing an error suppression process for suppressing an error of the count value in response to a determination result provided by said determining step, characterised in that said determining step includes observing variations in said count values in a time series manner, and determining whether or not the variations obtained by observation exceed a predetermined deviation from a centre value, said error suppression step including handling said count values as invalid values and excluding them from a base of control of the local oscillation frequency if the variations do exceed said predetermined deviation. In the invention, first, a frequency of an intermediate frequency signal is counted for the predetermined time, and the local oscillator signal frequency is controlled in response to the count value. At the time, whether or not an error is prone to occur in the count value is determined. In response to the result, an error suppression process is executed. The error suppression process is to suppress an error when it is prone to occur in the count value. Therefore, even if the electric field input level drops, fading occurs, or a modulation pattern deviation occurs, the invention is capable of reacting to them for accurate frequency control. First the error suppression process is embodied by the following process: the variations in the count values are observed in a time series manner, and if the variations obtained by the observation are comparatively large, the count values are handled as invalid values and are excluded from the control base of the local oscillation frequency. Therefore, the missing of the high frequency constituent, caused by a modulation pattern deviation, fading, etc., can be overcome by executing the process. Second, the error suppression process is realized as follows, for example: the variations in the count values are observed in a time series manner, and if the variations obtained by the observation are comparatively small, the observed count values comparatively distant from a predetermined centre value are excluded from the control base of the local oscillation frequency. Thus, only the count values near the centre value and comparatively worthy of trust can be used for frequency control. Third, the error suppression process is embodied as follows: the variations in the count values are observed in a time series manner, and if the variations obtained by observation are comparatively large, the count values are handled as invalid values and are excluded from the control base of the local oscillation frequency; if comparatively small, the observed count values comparatively distant from a predetermined centre value are excluded from the control base of the local oscillation frequency. Thus, the missing of the high frequency constituent, caused by a modulation pattern deviation, fading, etc., can be overcome, and only the count values near the centre value and comparatively worthy of trust can be used for frequency control. Fourth, the error suppression process is embodied by the process of prolonging the count time if the electric field input level to the receiver is low. The electric field input level which is low can be overcome by executing the process. Fifth, the process is embodied by the process of shortening the count time if the receiver is in the hand-off state. This process can be executed when high-speed frequency stabilization is required. Sixth, the error suppression process is embodied by the following process; if the receiver is not in the hand-off state, the count time is set comparatively long; if the receiver is in the hand-off state, the count time is set in response to the specification of the time required to stabilize the frequency of the local oscillation signal at hand off within the control object range and in response to the detected electric field input level. This process is significant to the situation that the high-speed frequency stabilization is required and the electric field input level becomes low. By this process, both of these problems can be overcome. Seventh, the error suppression process is embodied by the process using hysteresis comparison, square wave generation, and self-oscillation. The level of an intermediate frequency signal is compared with a threshold having a hysteresis characteristic for shaping the intermediate frequency signal to a square wave, and a signal indicating the timing of the obtained square wave is supplied to count processing. At the time, the threshold values are set so that they are crossed when the intermediate frequency signal has a sufficient amplitude. If the level of the intermediate frequency signal drops due to the effect of fading etc., a signal having a frequency substantially equal to the control object value of the intermediate frequency signal is supplied to count processing. Then, even if the level temporarily drops due to fading, random noise in nature is not counted, thus more accurate counting, in its turn, frequency control can be performed. The local oscillation signal generation means may be made up of a reference oscillator which oscillates at a predetermined reference frequency and a local oscillator which converts a frequency of an output signal of the reference oscillator into a lower frequency for generating a local oscillation signal. The number of local oscillation frequencies may conform to the number of intermediate frequencies. An output of the reference oscillator may also be used for generation of a transmission frequency. BRIEF DESCRIPTION OF THE DRAWINGS In the accompanying drawings: Figure 1 is a block diagram showing a first configuration of a mobile station according to the invention; Figure 2 is a flowchart showing an operation flow of an arithmetic section of the mobile station according to the invention; Figure 3 is a flowchart showing an operation flow of an arithmetic section according to an embodiment of the invention; Figure 4 is a block diagram showing a second configuration of a mobile station according to the invention; Figure 5 is a timing chart showing the operation of an IF protecting circuit of the mobile station according to the invention; and Figure 6 is a flowchart showing a flow of the conventional AFC operation. DESCRIPTION OF THE PREFERRED EMBODIMENTS Referring now to the accompanying drawings, there are shown preferred embodiments of the invention. Figure 1 shows the configuration of a mobile station according to one embodiment of the invention. The circuitry shown in Figure 1 comprises a receiver of a superheterodyne system, a transmitter which transmits signals to a base station, and an AFC circuit for stabilizing local oscillation frequencies at the receiver and transmitter. First, the receiver comprises a reception antenna 1, mixers 2 and 3, an amplifier 4, a code determination circuit 5, a PLL synthesizer 6, and a multiplying-by-N circuit 7. The reception antenna 1 is an antenna for receiving signals transmitted from the base station. The mixer 2 mixes a received signal with the first local oscillation signal having the first local oscillation frequency F L1 , thereby converting the received signal from the reception frequency from the base station, F R , into the first intermediate frequency F IF1 . The mixer 3 mixes the received signal converted into the first intermediate frequency F IF1 with the second local oscillation signal having the second local oscillation frequency F L2 , thereby converting the received signal from the first intermediate frequency F IF1 into the second intermediate frequency F IF2 . The amplifier 4 amplifies the signal of the second intermediate frequency F IF2 provided by the mixer 3 and sends the resultant signal to the code determination circuit 5. The code determination circuit 5 performs the determinition of the code transmitted from the base station based on the amplified signal, and sends the determination result to a circuit at the following stage (not shown) as demodulation output. The PLL synthesizer 6 makes up a first local oscillator in cooperation with a VC-TCXO 25 contained in the AFC circuit. That is, the PLL synthesizer 6 synchronizes in phase with reference frequency F 0 output from the VC-TCXO 25 for generating the first local oscillation signal having the first local oscillation frequency F L1 . Also, the multiplying-by-N circuit 7 makes up a second local oscillator in cooperation with the VC-TCXO. That is, the multiplying-by-N circuit 7 multiplies by N the period of the signal of the reference frequency F 0 output from the VC-TCXO 25, thereby generating the second local oscillation signal having the second local oscillation frequency F L2 . Figure 1 also shows the transmitter comprising a PLL synthesizer 8, a mixer 9, an amplifier 10, and a transmission antenna 11. The PLL synthesizer 8 synchronizes in phase with an output of the VC-TCXO 25 for generating an intermediate frequency signal for transmission having an intermediate frequency for transmission F IFT . The mixer 9 mixes the intermediate frequency signal for transmission with the first local oscillation signal, thereby generating a transmission signal having a transmission frequency F T . The amplifier 10 amplifies the transmission signal. The transmission antenna 11 is an antenna for transmitting the amplified transmission signal to the base station, etc. Figure 1 further shows a received signal strength indicator (RSSI) circuit 12, an analog-to-digital (A/D) converter 13, and the AFC circuit 20. The RSSI circuit 12 monitors an output of the amplifier 4 and generates a DC voltage showing the electric field input level to the reception antenna 1, then sends the voltage to the A/D converter. The A/D converter converts the received DC voltage into digital data and sends the resultant digital data to an arithmetic section 22 of the AFC circuit 20. The arithmetic section 22 transmits the received digital data to the base station and uses it for AFC control as described below. The AFC circuit 20 comprises of a counter 21, the arithmetic section 22, a ROM 23, a digital-to-analog (D/A) converter, and the VC-TCXO 25. The counter 21 counts the frequency of the second intermediate frequency signal, namely, the second intermediate frequency generally containing a deviation, F IF2 ', for the gate time G T . The arithmetic section 22 reads the count result D A and performs predetermined processing described below. The ROM 23 is a memory which stores programs and coefficient values required for processing at the arithmetic section 22. The D/A converter 24 converts correction data D B output from the arithmetic section 22 into an analog signal. The oscillation frequency of the VC-TCXO 25 is corrected in response to the analog signal output from the D/A converter 24. In the embodiment, the AFC circuit 20 applies feedback control of the oscillation frequency of the VC-TCXO 25. Since a single reference generater, namely the VC-TCXO 25 is used, the circuit configuration is simplified. Since the output of the VC-TCXO 25 is used for the generation of not only first and second local oscillation frequencies F L1 and F L2 , but also intermediate frequency for transmission F IFT , the transmission frequency F T is also made accurate by the operation of the AFC circuit. Figure 2 shows an operation flow of the arithmetic section 22 of the mobile station according to the invention. As shown in the flowchart, first at step S1, the arithmetic section 22 determines whether or not the receiver is in the hand-off state at present. That is, it determines whether or not the receiver in Figure 1 moves from one radio zone (cell) to another and radio line connection is being transferred between the radio zones (cells). If the receiver is not in the hand-off state, the arithmetic section 22 executes steps S8, S9, and S5 in order. At step S8, the average value of count values D A provided by the counter 21 is found. For example, the time average value D A30 of 30 count values D A is calculated. Assuming that it takes 100 msec to provide one count value D A , it takes 3 sec to provide 30 count values D A . Therefore, the average value D A30 is the average value for 3 sec. Thus, if for example, an average for 3 sec is taken, the effects of a modulation pattern and fading can be eliminated. Although suitable execution of the method described in Description of the Related Art without any error requires that the electric field input level should be sufficiently high, that the modulation pattern should be random, and that no fading should occur, such premises are not required in the embodiment. Even if the electric field input level is low, the modulation pattern is not random, and fading occurs, the embodiment finds the average value for comparatively long time, thereby suppressing errors caused by the factors and finding the accurate center value of the second intermediate frequency F IF2 '. At step S9, the arithmetic section 22 performs an operation of correction data D B in response to the average value D A30 . The operation method may be the same as the method described in Description of the Related Art. At step S10, the correction data D B found at step S9 is output to the D/A converter 24. Thus, the oscillation frequency of the VC-TCXO 25 is subjected to feedback control. On the other hand, if the receiver is judged to be in the hand-off state at step S1, then at step S2 the arithmetic section 22 determines whether or not the electric field input level detected by the RSSI circuit 12 and converted into digital data by the A/D converter 13 is a predetermined value or less. Preferably, -90 dBm should be used as the threshold value for determination in the digital cellular communication system of USA specifications, but the invention is not limited to the threshold value. If the input level is judged to be more than -90 dBm, then the arithmetic section 22 executes steps S3 to S5; if it is judged to be -90 dBm or less, then the arithmetic section 22 executes steps S6, S7, and S5. Both steps S3 and S6 are input steps of count value D A ; at the former step, an average operation on the count value D A is not performed; whereas at the latter step, an average operation on two count values D A is performed. Both steps S4 and S7 are operation steps of correction data D B ; at the former step, as its base, one count value D A is used; while at the latter step, the average value D A2 found at step S6 is used. In other words, the total count time is selected in response to the electric field input level to meet the specification requirement for the VC-TCXO 25 stabilizing time at hand off. This means that in the digital cellular communication system of USA specifications, if the electric field input level is -90 dBm at hand off, the VC-TCXO 25 oscillation frequency must be stabilized within the object range within 130 msec; if it is -103 dBm, the VC-TCXO 25 oscillation frequency must be stabilized within the object range within 250 msec. In Figure 2, the total count time, when the electric field input level is -90 dBm, is set to 200 msec which is a value near 250 msec. According to the embodiment, the total count time is changed in response to the stabilization time required at hand off, thereby suppressing an error caused by a modulation pattern or fading and performing accurate reference frequency control even if the electric field input level is low, thus the S/N ratio is low. When the electric field input level is high, the reference frequency can be controlled quickly. Figure 3 shows an operation flow of an arithmetic section according to an embodiment of the invention. The embodiment has the same circuit configuration as the configuration in Figure 1, thus circuit parts identical with or similar to those previously described above in Figure 1 and steps identical with or similar to those previously described in Figure 2 are denoted by the same reference numerals here. In the embodiment, the count time of counter 21 is set to a comparatively small value. That is, the time resulting from dividing the former gate time described in Description of the Related Art into C equal parts (C: an integer of 2 or greater) is set as the gate time of the counter 21. The arithmetic section 22 reads C count values of the counter 21 consecutively at steps S11 to S14, namely, reads ith count value D Ai while incrementing i by one from 0 to C-1. At step S15, the arithmetic section 22 determines whether not the read count values D A0 to D A(C-1) center on a specific value (center value d), namely, evaluates how many pieces of the count values D A0 to D A(C-1) distribute around the center value d (concentration degree). If the concentration degree is judged to be sufficiently high as a result of the evaluation, the arithmetic section 22 extracts only data of the count values D A0 to D A(C-1) within a predetermined deviation from the center value d at step S16, uses only the extracted count values to generate correction data D B at step S17, and outputs the generated correction value D B to D/A converter 24 at step S18. If the concentration degree is judged to be low as a result of the evaluation at step 15, the arithmetic section 22 does not update correction data D B and outputs it intact to the D/A converter 24 at step 19. Thus, in the embodiment, even if a factor such as a multipath fading causes a large error to occur in the count value, the count value containing the error is not used for reference frequency control, thereby accurately controlling the reference frequency without the effect of multipath fading, etc. The sequences in Figures 2 and 3 can be combined. Figure 4 shows a second configuration of a mobile station according to the invention. The mobile station is newly provided with an IF protecting circuit 26. The RSSI circuit 12 and A/D converter 13 in Figure 1 are omitted for simplicity of Figure 4. Circuit parts identical with or similar to those previously described with reference to Figure 1 are denoted by the same reference numerals in Figure 4 and will therefore not be discussed again. The IF protecting circuit has a comparison function having a hysteresis characteristic and a self-oscillating function at a predetermined second intermediate frequency F IF2 . Although Figure 4 does not show the internal configuration of the IF protecting circuit 26, those skilled in the art would be able to configure the IF protecting circuit by using parts such as a hysteresis comparator, a pulse generator, and a logic circuit, based on the description that follows. The IF protecting circuit 26 is a circuit provided to enable the reference frequency F 0 to be controlled accurately even if fading where the reception signal level temporarily drops occurs. Figure 5 shows the function and operation of the IF protecting circuit 26. The IF protecting circuit 26 compares an output of amplifier 4 with a predetermined threshold value. At the time, the comparison function of the IF protecting circuit 26 has a hysteresis characteristic. Therefore, the threshold value with which the output of the amplifier 4 is to be compared in the period during which the output of the amplifier 4 is increasing differs from that in the period during which the output is decreasing. In more detail, the threshold value in the period during which the output of the amplifier 4 is increasing is comparatively high; that in the period during which the output is decreasing is comparatively low, as shown in Figure 5. These two types of threshold values are set so that they are crossed by the output of the amplifier 4 so long as the output of the amplifier 4 has some degree of amplitude. Obtained as a result of the comparison is a square wave signal as shown in the intermediate stage of Figure 5. This means that a signal whose waveform is shaped to a square wave is provided by the IF protecting circuit 26 which performs the hysteresis comparison. While executing the comparison, the IF protecting circuit 26 self-oscillates a pulse at a frequency substantially equal to the second intermediate frequency F IF2 , and then outputs the oscillated pulse to counter 21 in synchronization with the rising edge of a square wave signal resulting from the comparison. The counter 21 counts pulses output from the IF protecting circuit 26, thereby detecting the second intermediate frequency F IF2 suitably. When a reception signal is affected by fading, the output amplitude of the amplifier 4 may temporarily drop as shown in Figure 5. In this case, the output of the amplifier 4 does not cross threshold values, thus no square wave signal is obtained even if a hysteresis comparison is made. Then, the IF protecting circuit outputs self-oscillated pulses to the counter 21. As described above, the self-oscillation frequency is substantially equal to the second intermediate frequency F IF2 . Therefore, even if the output amplitude of the amplifier 4 temporarily drops due to the effect of fading, randomness of the fading waveform (randomness of natural noise) does not adversely affect the count result of the counter 21. The IF protecting circuit 26 detects occurrence of a temporary drop in the output amplitude of the amplifier 4 when the elapsed time since the instance of the previous change of the result value of hysteresis comparison exceeds the predetermined time. Those skilled in the art will be able to implement the function by using a timer, etc. The self-oscillation output function of the IF protecting circuit 26 provides an advantage of being able to control the VC-TCXO 25 oscillation frequency more accurately as a result. Since the hardware configuration of the IF protecting circuit 26 may be very simple, the configuration and scale of the mobile station may be comparatively simple and small. Further, the IF protecting circuit 26 shapes an output of the amplifier 4 to a square wave. This means that a waveform appropriate for the following digital circuitry containing the counter 21 is provided by the IF protecting circuit 26. This suppresses a malfunction of the digital circuitry. The operation sequences of Figures 2 and 3 can also be executed in the second configuration.

Claims: An automatic frequency control circuit (20) for use with a receiver which mixes a reception signal (F IF1 ) with a local oscillation signal (F L2 ) to generate an intermediate frequency signal (F IF2 ), the automatic frequency control circuit (20) comprising means (21) for counting a frequency of the intermediate frequency signal (F IF2 ) for a predetermined time (G T ); means (22) responsive to a count value (D A ) by said counting means (21) for controlling a frequency of the local oscillation signal (F L2 ); means for determining whether or not an error is prone to occur in the count value (D A ); and means responsive to a determination result by said determining means for executing an error suppression process for suppressing an error of the count value, characterised in that said determining means includes means for observing variations in said count values (D A ) in a time series manner; and means for determining whether or not the variations obtained by observation exceed a predetermined deviation from a centre value (d); and said error suppression process execution means has means for handling said count values (D A ) as invalid values and excluding them from a base of control (D B ) of the local oscillation frequency (F L2 ) if the variations do exceed said predetermined deviation. The automatic frequency control circuit as claimed in claim 1, wherein said error suppression process execution means has means for excluding from a base of control (D B ) of the local oscillation frequency (F L2 ) those observed count values (D A ) which fall within said predetermined deviation but which deviate from said predetermined centre value (d) to a greater extent. The automatic frequency control circuit as claimed in claim 1, wherein said determining means additionally comprises means (12) for detecting an electric field input level to the receiver; and said error suppression process execution means has means for prolonging said count time (G T ) if the detected electric field input level is less than a predetermined value. The automatic frequency control circuit as claimed in claim 1, wherein said determining means additionally comprises means for detecting whether the receiver is in a hand-off state; and said error suppression process execution means has means for shortening said count time (G T ) if the receiver is in said hand-off state. The automatic frequency control circuit as claimed in claim 1, wherein said determining means additionally comprises means for detecting whether the receiver is in a hand-off state; and said error suppression process execution means has means for setting said count time (G T ) to a predetermined value if the receiver is not in said hand-off state; said determining means further including means (12) for detecting an electric field input level to the receiver if the receiver is in said hand-off state; and said error suppression process execution means further including means for setting said count time (G T ) in response to a specification of time required to stabilize the frequency of the local oscillation signal (F L2 ) at hand off within a control object range and in response to the detected electric field input level. The automatic frequency control circuit as claimed in claim 1, wherein said determining means additionally comprises means (26) for comparing a level of the intermediate frequency signal (F IF2 ) with threshold values having a hysteresis characteristic for generating a square wave; said threshold values being set so as to be crossed if the intermediate frequency signal (F IF2 ) has a sufficient amplitude; and said error suppression process execution means includes means for supplying a signal indicating a timing of the square wave signal to said counting means (21) as an object of counting when a square wave signal is generated as a result of the comparison; and means for supplying a signal having a frequency substantially equal to a control target value of the intermediate frequency signal (F IF2 ) to said counting means (21) as an object of counting when a square wave signal is not generated as a result of the comparison. A method of controlling frequencies for use with a receiver which mixes a reception signal (F IF1 ) with a local oscillation signal (F L2 ) to generate an intermediate frequency signal (F IF2 ), the method comprising the steps of: counting a frequency of the intermediate frequency signal (F IF2 ) for a predetermined time (G T ); controlling a frequency of the local oscillation signal (F L2 ) in response to a count value (D A ) provided by said counting step; determining whether or not an error is prone to occur in the count value (D A ); and executing an error suppression process for suppressing an error of the count value (D A ) in response to a determination result provided by said determining step, characterised in that said determining step includes observing variations in said count values (D A ) in a time series manner; and determining whether or not the variations obtained by observation exceed a predetermined deviation from a centre value (d), said error suppression step including handling said count values (D A ) as invalid values and excluding them from a base of control (D B ) of the local oscillation frequency (F L2 ) if the variations do exceed said predetermined deviation. The method as claimed in claim 7, wherein said error suppression step including excluding from a base of control (D B ) of the local oscillation frequency (F L2 ) those observed count values (D A ) which fall within said predetermined deviation but which deviate from said predetermined centre value (d) to a greater extent. The method as claimed in claim 7, wherein said determining step further includes detecting an electric field input level to the receiver; and said error suppression step includes prolonging said count time (G T ) if the detected electric field input level is less than a predetermined value. The method as claimed in claim 7, wherein said determining step further includes detecting whether the receiver is in a hand-off state; and said error suppression step includes shortening said count time (G T ) if the receiver is in said hand-off state. The method as claimed in claim 7, wherein said determining step further includes detecting whether the receiver is in a hand-off state; and said error suppression step includes setting said count time (G T ) to a predetermined value if the receiver is not in said hand-off state, said determining step further including the step of detecting an electric field input level to the receiver if the receiver is in said hand-off state; and said error suppression step further including the step of setting said count time (G T ) in response to a specification of time required to stabilize the frequency of the local oscillation signal (F L2 ) at hand off within a control object range and in response to the detected electric field input level. The method as claimed in claim 7, wherein said determining step further includes comparing a level of the intermediate frequency signal (F IF2 ) with threshold values having a hysteresis characteristic for generating a square wave; said threshold values being set so as to be crossed if the intermediate frequency signal (F IF2 ) has a sufficient amplitude; and said error suppression step includes supplying a signal indicating a timing of the square wave signal to a counting means as an object of counting when a square wave signal is generated as a result of the comparison; and supplying a signal having a frequency substantially equal to a control target value of the intermediate frequency signal (F IF2 ) to said counting means as an object of counting when a square wave signal is not generated as a result of the comparison.

Inventors: GEN SUGANUMA, GEN, SUGANUMA, Gen, Suganuma, c/o Japan Radio Co., Ltd.
Applicants: JAPAN RADIO CO LTD, JAPAN RADIO CO., LTD
Application year: 1993
Main classification: H03J7
IPC codes: H03J7