Abstract:
For the purpose of a high precision frequency fine tuning, for example, to a certain television channel, an analog circuit, the frequency of which can be balanced, for example, an demodulator, is balanced in an integrated circuit with the help of a control current. The control current generated in a regulating loop is dependent on a reference frequency with the appropriate accuracy and on a reference frequency with the appropriate accuracy and on a reference capacitancy integrated on the chip. After selecting a frequency, the analog circuit is calibrated and the frequency is subsequently fine-tuned in a measuring mode. Following that, the analog circuit operates in the normal mode.

Description:
The invention concerns a method and a circuit for an automatic, high precision frequency fine tuning with the help of an analog circuit, in which the frequency can be balanced, in an integrated circuit. 
     BACKGROUND 
     In the field of electronic signal processing, it is frequently necessary to accurately balance (align) frequencies or frequency-dependent circuits, for example, when adjusting tuners or balancing frequency generators. 
     Corresponding AFT (automatic fine tune) techniques are known from, for example, &#34;Television Engineering Handbook&#34;, page 13.117, K. Blair Benson, McGraw-Hill Book Company. In this the phase shift in a parallel resonant circuit is evaluated. 
     FIG. 1 shows an appropriate block circuit diagram. An output signal 10 influenced by a tuning, for example, a television audio signal, is fed to a resonant circuit 11 and a first input of a phase detector 12. The resonant circuit is tuned to a desired frequency. The output signal from the resonant circuit 11 is fed to a second input of the phase detector. The output signal from the phase detector is filtered in a low-pass 13 and serves as regulating variable 14 for the tuning of the input signal 10. A circuit suitable for this is, for example, an FM demodulator 15 which can be tuned by a regulating variable and to which the regulating variable 14 and a signal 16 for demodulating are fed. 
     In this particular application, however, only a tuning accuracy of about 150 kHz can be achieved with the state of the art. Apart from that, such known AFT circuits cannot be fully integrated. For example, two connections to an integrated circuit are required for an external resonant circuit. 
     A further known solution consists of counting digitally the frequency to be tuned and to re-adjusting it accordingly. However, the expenditure on circuitry and the corresponding chip area in an integrated circuit required herefor are high. The current consumption for such a digital AFT circuit is also relatively high. 
     SUMMARY OF THE INVENTION 
     It is the object of the invention to specify a method for automatic, high precision frequency fine tuning with little expenditure on circuitry and current consumption in integrated circuits. 
     In principle, the method according to the invention is that, for the purpose of automatic, high precision frequency fine tuning, for example, of a certain television channel, for an analog circuit, in which the frequency can be balanced, within an integrated circuit, at least one regulating variable for the frequency-balanceable analog circuit is formed and stored depending on a high precision reference frequency, the value of said variable is also influenced by a reference circuit section within the integrated circuit, and that for the fine tuning, successively, different operating modes are switched on. 
     It is a further object of the invention to specify a circuit for the method according to the invention. 
     In principle, the circuit according to the invention is provided with an analog circuit 23, 33, in which the frequency can be balanced by means of a regulating variable, with a feeding point for a high precision reference frequency f ch , a first, second and third change-over switch, a first T1, second T2 and third T3 automatic gain control amplifier, a first CL and a second CH comparator, a summer (adder) 21, and with an internal capacitor C int , whereby: 
     an output voltage V1 from the analog circuit 23 is fed to the second inputs of the first T1 and the second T2 automatic gain control amplifiers and the first CL and the second CH comparators; 
     a reference voltage V ref  is fed to a first input 251 of the first automatic gain control amplifier T1 in a normal mode; 
     a combined voltage, consisting of the reference voltage V ref  and a compensation voltage V of , is fed to a first input 252 of the second automatic gain control amplifier T2 in calibration mode; 
     a difference voltage, being the difference between the reference voltage V ref  and a threshold voltage V th , is fed to a first input 254 of the first comparator CL and a summation voltage, being the sum of the reference voltage V ref  and the threshold voltage V th , is fed to a first input 253 of the second comparator CH in a measuring mode; 
     an output signal from the first automatic gain control amplifier T1 is fed to a first input N of the third change-over switch in the normal mode; 
     an output signal from the second automatic gain control amplifier T2 is fed to a third input C of the third change-over switch in the calibration mode; 
     an output signal from the third change-over switch is fed to an input of the third T3 automatic gain control amplifier; 
     an output signal from the third T3 automatic gain control amplifier is fed to a first input of the summer 21; 
     a signal, derived from the size of the internal capacitor C int  and modified by the factor k, is fed to a second input of the summer 21; 
     an output signal from the summer 21 is fed to a control input of the analog circuit 23; 
     a wanted signal which is to be processed in the analog circuit 23 is fed to a first input N of the first change-over switch in the normal mode; 
     a supplementary (auxilliary) signal frequency is fed to a second input C, M of the first change-over switch in the calibration and in the measuring mode; 
     the high precision reference frequency f ch  or a frequency derived from it is fed to a first input C of the second change-over switch in the calibration mode; 
     a signal frequency derived from the output signal of the first change-over switch is fed to a second input N, M of the second change-over switch; 
     an output signal from the second change-over switch is fed to the analog circuit 23. 
     The output signals from the first and the second comparator can then, for example, be used to tune an oscillator in a television apparatus tuner. 
     The method is suitable for integrated circuits and enables an automatic frequency fine tuning by employing analog circuits, in which the frequency can be balanced, for example, FM demodulators or frequency generators. The AFT circuit according to the invention contains a regulation loop which works automatically with a regulating variable generated therein. This regulating variable is additionally influenced by a reference component, for example, a reference capacitance, on the chip carrier of the integrated circuit, whereby within a respective value of this reference component, production tolerances due no the manufacture of the integrated circuit are expressed. As a reference, the AFT circuit in calibration mode is fed with a reference frequency which possesses the necessary accuracy. With this, three operating modes are provided in order to be able to perform the AFT function: 
     a) normal mode, 
     b) calibration mode, 
     c) measuring mode. 
     In the calibration mode, the analog circuit firstly is frequency balanced. This balancing is then maintained until the calibration mode is switched on again. Subsequently, in the measuring mode, a current value of a frequency which is to be fine-tuned is determined with the help of the previously balanced analog circuit. An appropriate fine tuning then takes place according to whether this determined value is less than, equal to or greater than a desired value for the frequency which is to be fine-tuned. Following this, the normal mode is switched on, in which the analog circuit is used for its actual task. 
     Advantageously, the balancing and the fine tuning are controlled (driven) by the current through employing a storage capacitor and by transconductance amplifiers. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Embodiment examples of the invention are described by means of the drawings. The drawings show in: 
     FIG. 1 a known AFT circuit; 
     FIG. 2 an AFT circuit according to the invention; 
     FIG. 3 the application of the AFT circuit according to the invention in an extended integrated circuit for television devices. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     In the following, three operating modes of the AFT circuit for balancing an FM demodulator and for generating signals for fine tuning are first described. If, for example, a television apparatus is switched on or the reception channel in this television apparatus is changed, then firstly, the calibration mode is selected for a short time (this selection and the choice of the other operating modes advantageously happens automatically). Hereby, the FM demodulator is finely balanced by a regulating variable with the help of a precise reference frequency, for example the color subcarrier frequency, and a value for this regulating variable is stored. 
     Following this, the measuring mode is selected for a short time. By means of the output voltage of the previously balanced FM demodulator, two comparators detect whether the IF frequency and, therewith, the frequency of the tuner oscillator need to be maintained, reduced or increased. 
     After the tuner oscillator has been balanced, the normal mode is switched on. 
     1. Normal Mode 
     In FIG. 2 the switch position &#34;N&#34; corresponds to this operating mode. The entire circuit functions as an FM demodulator with automatic balancing of the mid-range frequency. The IF output audio signal 20 of a 4.5 MHz band-pass filter serves, for example, as signal source. This output signal is shifted (converted) to 920 kHz in a mixer 221, which also receives the frequency f ch  =3.579545 MHz of a color subcarrier oscillator, band-pass filtered in a filter 222 with the quality Q=3, and then forms the input signal f s  which is demodulated in an FM demodulator 23. 
     The FM demodulator Z3 contains an internal, current-controlled oscillator (not shown) with a free running state frequency 
     
         f1=k.sub.d *I.sub.con /C.sub.int,                          (1) 
    
     where k d  is a first constant, I con  the control current for the FM demodulator 23 and 
     
         C.sub.int =C.sub.nom ±deltaC                            (2) 
    
     is an internal capacitor integrated on the circuit (not illustrated) with a nominal value of Cnom and an absolute production tolerance of ±deltaC. 
     The free running state frequency of the oscillator and, therewith, the tuning of the FM demodulator can be synchronized to the frequency of the input signal f s  in case 
     
         |f.sub.s -f1| less or deltaft.sub.1,     (3) 
    
     where deltaf 1  =synchronizing range. 
     If the input signal f s  is frequency-modulated, then 
     
         f.sub.s =fc+deltaf.sub.s (t) is valid,                     (4) 
    
     where fc the is the mid-range frequency and deltaf s  is the swing. For the frequency f&#39; 1  of the synchronized oscillator, f&#39; 1  =f s  is valid as long as deltaf s  less or deltaf 1 . Then the low-pass filtered output voltage V 1  represents the demodulated audio signal 
     
         V.sub.1 =-k.sub.f *(f.sub.1 -f.sub.c)+V.sub.ref,           (5) 
    
     where k f  is the gradient of the demodulator characteristic curve and V ref  is a reference voltage. 
     To permit a better understanding, no IF output audio signal 20 shall be applied in the AFT circuit in FIG. 2 to start with. A first transconductance amplifier T 1 , a storage capacitor C stor , a third transconductance amplifier T 3  and the FM demodulator 23 form a balancing loop. The reference voltage V ref  is fed to the input 251 of the first transconductance amplifier. If, between the mid-range frequency f c  and the free running state frequency f 1 , a frequency difference in the range 
     
         0 less or |f.sub.1 -f.sub.c | less or deltaf.sub.1(6) 
    
     appears, then the automatic balancing loop corrects the free running state frequency f 1  to f 1  =f c  in the following manner: If the output voltage V 1  alters according to equation (5), then, using a maximum output current of, for example, ±0.5 microA, the first transconductance amplifier T1 (this has a transconductance k 1 ) charges an external storage capacitor 26 (C stor ) to a storage voltage 
     
         V.sub.c =(V.sub.1 -V.sub.ref)*k.sub.1 /(p*C.sub.stor),     (7) 
    
     where p is the complex frequency. According to the storage voltage V c , the third transconductance amplifier T 3  (this has a transconductance k 3 ) generates a correction current 
     
         I.sub.cor =k.sub.3 *V.sub.c                                (8) 
    
     which is added in an summer 21 to, for example, a control current I con0  which takes account of the production tolerances, and then forms the demodulator control current 
     
         I.sub.con =k*I.sub.con0 +I.sub.cor                         (9). 
    
     The control current I con0  can also serve for balancing the filter 222. A first 241 and a second 242 multiplier hereby multiply the control current I con0  in the normal mode by a factor k=1. 
     From the equations (1), (2), (5) and (7) through (9), one can obtain, by appropriate translation, the corrected free running state frequency 
     
         f.sub.1c =k.sub.d /(Cnom±deltaC)*(I.sub.con0 -k.sub.3 *k.sub.1 *k.sub.f *(f.sub.1 -f.sub.c)/(p*C.sub.stor))                       (10) 
    
     Typical values are k d  =1, f s  =920 kHz, C int  =C nom  =10 pF, I con  =I con0 , f 1  =f s , V 1  =V ref , C stor  =1nF. 
     The limit frequency in the balancing loop lies at 20 Hz in order to avoid audio signals creating distortions in the correction current I cor . 
     The correction current I cor  can be advantageously exploited also for tuning the filter 222, for example, by employing a second summer of by feeding the demodulator control current I con  directly to this filter (not shown). 
     The signal-to-noise ratio of the FM demodulator 23 is roughly inversely proportional to the synchronizing range deltaf1. For that reason, deltaf 1  should be made as small as possible. 
     In case the automatic balancing loop is not used and I cor0  is-- instead of the correction current I cor  --a constant current dependent on the absolute value of the internal capacitor C int , then it can be seen from equations (1) and (2) that the free running state frequency f1 depends on the absolute tolerance deltaC. This tolerance has a value of about ±15%. 
     Given these conditions and in order to guarantee a still good synchronization, deltaf 1  should not fall below a minimum value of 
     
         deltaf1=deltafs+(deltaC/C.sub.nom)*fc.                     (11) 
    
     An advantageous value for deltaf 1  can be obtained by using the following numerical values: 
     
         deltaf.sub.1 =70 kHz+0.15*920 kHz=208 kHz. 
    
     Now, let is be assumed that the demodulator control current I con  is proportional to the internal capacitor C int . Thereby, the second term on the right-hand side of equation (11) changes and the synchronizing range deltaf 1  becomes 
     
         deltaf1 larger or deltaf.sub.s +df.sub.1 *f.sub.c,         (11a) 
    
     where df 1  represents a frequency offset which is caused by the differing behaviour between the FM demodulator 23 and the components generating the demodulator control current I con  in relation to thermal drift and parasitic effects. The maximum value of df1 is about 5%. The aforementioned numerical values then alter to give 
     
         deltaf.sub.1 =70 kHz+0.05*920 kHz=116 kHz. 
    
     If now the automatic balancing loop is also in operation, df1 loses its significance and becomes zero in equation (11a) and the numerical value for deltaf1 changes to deltaf 1  =70 kHz. 
     2. Calibration Mode 
     The AFT circuit can be calibrated. In FIG. 2 the switch position &#34;C&#34; corresponds to this operating mode. For this, an accurate, known frequency is used. For example, the crystal-stablized frequency f ch  =3.579545 MHz of a color oscillator is reduced to a fifth in a first divider 22. This results in the calibrating frequency f cal  =715.909 kHz. The demodulator control current i con  is, for example, reduced in the first 241 and the second 242 multiplier by a factor k=0.78. Therewith, the calibrated free running state frequency becomes 
     
         f.sub.1cal =0.78*f1=717 kHz.                               (12) 
    
     Based on the frequency offset 
     
         deltaF=f.sub.mea -f.sub.cal                                (13) 
    
     between the calibration frequency f cal  (715.909 kHz) and an AFT measuring frequency f mea , a compensation voltage V ref  -V of  is fed to an input 252 of a second transconductance amplifier T2. In accordance with equation (5), V of  results as 
     
         Vof=deltaF*k.sub.f.                                        (14) 
    
     The second transconductance amplifier T2 supplies a maximum output current of, for example, ±300 microA with a transconductance k 2  and charges the storage capacitor 26 (C stor ) so that the following is valid for the corrected, calibrated free running state frequency: 
     
         f&#39;.sub.1cal =f.sub.1cal +V.sub.of *k.sub.f.                (15) 
    
     Similar to equation (10) the following is then valid: 
     
         f&#39;.sub.1cal =k.sub.d /(Cnom±deltaC)*(I.sub.con0 -k.sub.3 *k.sub.2 *(f.sub.1cal -f.sub.cal)-V.sub.of)/(p*C.sub.stor))        (16) 
    
     The theoretical frequency faulty balance based on the differing behaviour between FM demodulator 23 and the components generating the demodulator control current I con  then results as 
     
         f1cal+deltaF-f.sub.cal =df.sub.1cal *f.sub.cal             (17) 
    
     =0.05*717 kHz=35.9 kHz and is advantageously eliminated, as in the normal mode, by the automatic tuning. An intermediate frequency f IF  =45.75 Mhz is fed to an intermediate frequency input 24 and said frequency is reduced in a subsequent second divider 223 by, for example, a factor n=16. This reduced frequency is mixed with the color oscillator frequency f ch  in the mixer 221 which applies a measuring frequency 
     
         f.sub.mea =f.sub.IF /16-f.sub.ch                           (18) 
    
     to the input of the FM demodulator 23. If, for example, f mea  =45.75 MHz/16-3.579545 MHz=720.17 kHz and kf=20 mV/kHz, then deltaF=4.261 kHz and V of  =85 mV. 
     The limit frequency of the balancing loop is a factor of k 2  /k 1  =300 microA/0.5 microA=600 times higher than in the normal mode and comes to about 10 kHz. This permits an advantageously short calibration time of t cal  less than 10/f 1cal  which corresponds to approximately 1 ms. 
     3. Measuring Mode 
     Before the AFT circuit can operate in the measuring mode, it must be calibrated as described under 2.) above. 
     In FIG. 2 the switch position &#34;M&#34; corresponds to the operating mode &#34;measuring mode&#34;. The signal source in the measuring mode is either an intermediate frequency VCO (voltage-controlled oscillator) or an amplified and limited intermediate frequency signal at the intermediate frequency input 24. The frequency f IF  of this intermediate frequency signal is reduced in the second divider 223 Dy the dividing factor n, for example, n =16, and mixed with the color oscillator frequency f ch  in the mixer 221 which applies a measuring frequency f mea  =f IF  /16-f ch  to the input of the FM demodulator 23, as in the calibration mode. 
     When f IF  =45.75 MHz, n=16 and f ch  =3.579545 MHz, f mea  =720.17 kHz again. 
     The control current I con0  and, therewith, the free running state frequency f 1mea  of the internal oscillator of the FM demodulator 23 is multiplied, as in the calibration mode, with k=0.78. 
     As the automatic balancing loop is open in the measuring mode, the storage voltage V c  remains constant and f 1mea  equals f&#39; 1cal , for example, as in equation (16). The compensation voltage V of  mentioned in section 2.) has been selected so that in the measuring mode, the nominal measuring frequency f meanom  from the signal derived from the intermediate frequency f IF  is equal to f 1cal . The output voltage V 1  is additionally fed to a first comparator CL and a second comparator CH. The first comparator also receives the voltage V ref  -V th  at its input 254 and the second comparator receives the voltage V ref  +V th  at its input 253, whereby V th  is a threshold voltage. The two comparators CL and CH with the threshold voltage V th , detect whether f mea  has the correct value (f mea  approximately corresponds to f meanom ) or is too high or too low. 
     If, as in the calibration mode, the gradient of the demodulator characteristic curve k f  =20 mV/kHz, then V th  =k f  *1 kHz=20 mV is advantageously selected as threshold voltage. 
     This effects a jump in level of the output signals of the comparators if |f meenom  -fmea| larger or 1 kHz. 
     The faulty tuning of the intermediate frequency resulting from this is deltaf IF  =n*V th  /kf which, in the example above, gives deltaf IF  =16 kHz. 
     If the FM demodulator 23 is designed for a synchronizing range with the value deltef1, then the AFT circuit can re-adjust an intermediate frequency faulty tuning up to n*deltaf 1 . 
     For example, for n=16, deltaf 1  =100 kHz is an advantageous value. 
     Advantageously, in FIG. 2 the reference voltage V ref  has a value of half that of the operating voltage V cc  for the integrated circuit. 
     Instead of the frequency f ch  fed to the mixer 221 and the first divider 22, frequencies from another crystal-stabilized source can also be used, being fed to the mixer and replacing the output signal of the first divider. 
     For other input frequencies at the inputs 20 and 24 there results correspondingly modified frequencies at the output of the filter 222 and the first divider 22, an appropriately modified value for the factor k and a modified dividing factor for the first divider 22. For example, for a television standard with CCIR standard B/G, the following values result: 
     frequency at input 223 of mixer 221: 5.875 MHz 
     f IF  =38.9 MHz 
     f meanom  =38.9 MHz/16-2.9375 MHz=506 kHz 
     fcal=500 kHz 
     deltaF=6 kHz 
     V of  =6 kHz*k f  =120 mV 
     k in normal mode: 1.00 
     k otherwise: 1.01 
     In FIG. 3 a section from an integrated circuit is reproduced in which an audio demodulation with the help of the AFT circuit according to the invention is illustrated (only normal mode). 
     A converter 38 receives an IF signal at its input and feeds the filtered output signal, for example, a 4.5/5.5/6.0 MHz audio IF signal, to a first input of a first mixer 321. This mixer may correspond to the mixer 221 in FIG. 2. At its second input the first mixer 321 receives the output signal from a VCO circuit 372 which supplies a suitable mixing frequency. This output signal is transmitted via a frequency divider 373 to a first input of a second mixer 374 which receives a signal from a reference oscillator 371 at its second input. The output signal from the second mixer 374 is fed via a loop filter 375 to the VCO circuit 372 whereupon a regulating loop is closed. This regulating loop performs the function of the automatic balancing loop described in FIG. 2. The output signal from the first mixer 321 is sent to a filter 322, the function of which corresponds to the filter 222 in FIG. 2. The filtered signal is then fed via a limiter 391 to an FM demodulator 33. This FM demodulator corresponds to the FM demodulator 23 in FIG. 2. The bands of the output signals of the FM demodulator 33 are subsequently limited in a first low-pass filter 393 and in a second low-pass filter 392. An audio signal can be picked up at the output of the first low-pass filter and a regulating voltage, which is fed to the FM demodulator 33 and the filter 322 for fine tuning, can be picked up at the output of the second low-pass filter. The limit frequency in the first low-pass filter is lies at, for example, 100 kHz and in the second low-pass filter, for example, at 20 Hz. A capacitor belonging to the second low-pass filter 392 can also be capable of being externally connected to the integrated circuit. 
     In the case of stereo or twin-channel audio signals, for example, with the twin audio carrier technique, the filter 322, the limiter 391, the FM demodulator 33, the first low-pass filter 393 and the second low-pass filter 392 are all accordingly provided in duplicate.