Apparatus and method for setting up a tuning frequency of a PLL demodulator

Abstract: The present invention concerns apparatus and method for setting up the tuning frequency of a PLL demodulator (100) that includes a VCO. Frequency synthesizing circuitry (150) controls the VCO via a first switched control path. Comparison circuitry (360) provides a first signal that corresponds to the difference between the output frequency of the VCO and a reference frequency (fREF). Control circuitry (180) is provided that is responsive to a plurality of signals including the first signal for imperatively controlling the apparatus. The apparatus further includes: a ceramic resonator oscillator (170) for providing the reference frequency (fREF); a non-volatile memory (MEM) for storing the value of the first signal; and comparison circuitry (360) for comparing a stored value of the first signal with a current value of the first signal so as to produce a second signal for adjusting the tuning frequency of the frequency synthesizing circuitry (150) in response to the second signal.

Description: Background Of The Invention 1. Field of the Invention The present invention relates to an apparatus and method for setting up a tuning frequency of a phase-locked loop demodulator. The present invention compensates for dispersion and aging effects of a resonating frequency of an associated ceramic resonator. The present invention is applicable to systems that receive a plurality of carrier frequencies and is particularly applicable to sound demodulation that is associated with analog satellite receivers. 2. Discussion of the Related Art Fig. 1 illustrates a basic block diagram of a circuit that is used to set up the tuning frequency of a phase-locked loop demodulator. The phase-locked loop demodulator 100 includes: a voltage controlled oscillator (VCO) 110; a phase detector 120; a low pass filter 130 (LPF); and a programmable attenuator 140. The circuit for setting up the tuning frequency of the phase-locked loop (PLL) demodulator 100 includes: first and second switches S1, S2 that are respectively controlled by anti-phase signals CS and NCS; a capacitor 145; a frequency synthesizing circuit 150; a frequency comparator 160; a reference frequency generator 170; and a control circuit 180. The demodulation approach adopted with this circuit is direct. That is to say, the signal demodulation is performed directly at the sub-carrier frequency, i.e., there is no frequency shift. The VCO 110 of the PLL demodulator 100 is controlled by the frequency synthesizing circuit 150. The adjustable attenuator 140 provides the required control of the PLL demodulators gain, i.e., the lock and capture ranges. Such precision is necessary so as to avoid locking onto an undesired adjacent subcarrier and to be compatible with different deviations in the subcarriers. The European Patent Applications EP-A-0 645 881, EP-A-0 645 882 and EP-A-0 645 891, which are all assigned to SGS-THOMSON Microelectronics Ltd., describe in more detail the structure and operation of the basic block diagram of Fig. 1. Fig. 2 illustrates a basic block diagram of the frequency synthesizing circuit 150. The frequency synthesizing circuit 150 includes: a programmable frequency divider 200, a phase comparator 210 for comparing the frequency signals fDIV and fREF that are respectively supplied by the programmable frequency divider 200 and the reference frequency generator 170; and a controlled current source/sink circuit IS1, IS2, S3, S4 for sourcing and sinking current to and from the input of the VCO via switch S2. Switches S3 and S4 are operatively controlled by outputs of the phase comparator 210. With successive charges and discharges through switch S2, the voltage across the capacitor 145 reaches the required value so as to operatively control the VCO. The aforementioned European Patent Applications EP-A-0 645 881 and EP-A-0 645 891 describe in more detail the structure and operation of the basic block diagram of Fig. 2. Commercial products that utilize the block diagrams of Figs. 1 and 2 are available from SGS-THOMSON Microelectronics, and are denoted by the part numbers STV0020, STV0030, STV0042 and STV0056. The above-mentioned products are supported by an 'advance data' data sheet (dated May 1995) which is herein incorporated by reference. The reference frequency generator 170 illustrated in Figs. 1 and 2 is normally provided by an oscillator circuit that includes a piezoelectric crystal. It is well known in the art that piezoelectric crystals, commonly referred to as quartz crystals or just simply crystals, can be manufactured such that their resonant frequencies are very accurate. Furthermore, it is possible to very accurately control the dispersion between one quartz crystal and another, or in other words, the manufacturing tolerances that can be attained for a series of quartz crystals can be extremely high. Typically, the frequency tolerance from one crystal to another varies by approximately 0.001% and the frequency stability by approximately 0.01%, where frequency stability is defined as the frequency tolerance over an operating temperature range with respect to a frequency at a reference temperature. Also, even though the long-term stability of a crystal is affected by a number of complex factors, its variation over a ten year period for example will be typically 0.001%. Although a piezoelectric crystal is used to provide an accurate dependable frequency reference it does however suffer from the problem of being expensive. This expense is of course relative to the components with which it is associated. The general cost of semiconductor related systems is rapidly decreasing due to modern integration processes and methods. However, since the science and technology associated with manufacturing piezoelectric crystals is moving, relative to semiconductor devices, at a much slower place, the cost associated with the manufacturing of such accurate and dependable crystals is therefore becoming more and more significant in terms of the overall system costs. Summary Of The Invention An object of the present invention is to provide an alternative cost effective solution to that of a piezoelectric crystal. Another object of the present invention is to provide an alternative solution to a piezoelectric crystal that provides a reasonable frequency tolerance and reasonable long-term and short-term frequency stability. Another object of the present invention is to replace the piezoelectric crystal with a less expensive ceramic resonator. Another object of the present invention is to compensate for any changes in the frequency tolerance and long term or short term stability of a ceramic resonator. In order to achieve these objects, the present invention proposes an apparatus for setting up the tuning frequency of a phase-locked loop demodulator that includes a voltage controlled oscillator and a first switch. The apparatus also includes frequency synthesizing circuitry whose output is connected to a second switch. The frequency synthesizing circuitry receives an output from the voltage controlled oscillator which is proportional to the frequency of the voltage controlled oscillator and a reference frequency for operatively controlling, via said second switch, the voltage controlled oscillator. Also included in the apparatus is circuitry for providing a first signal which corresponds to the difference between the output frequency of the voltage controlled oscillator and the reference frequency and circuitry that is responsive to a plurality of signals including the first signal for operatively controlling the apparatus, including selecting the tuning frequency of the frequency synthesizing circuitry. The apparatus further includes: a ceramic resonator oscillator in the reference frequency generator for providing the reference frequency; a latch or some other suitable memory circuit for storing the value of the first signal; and comparison and calibration circuitry that is capable of comparing the stored value of the first signal with a current value of the first signal so as to produce a second signal for adjusting the tuning frequency of the frequency synthesizing circuitry in response to the second signal, i.e., for calibrating the tuning frequency of the frequency synthesizing circuitry. According to other embodiments of the present invention, the calibration means includes a microprocessor and an associated memory, for example a non-volatile E2PROM memory, for storing the value of the first signal. The memory may be monolithically integrated along with the microprocessor. Additionally, the memory may be a non-volatile memory. According to another embodiment of the present invention, the value of the first signal is initially stored as part of a testing procedure during the manufacturing of the apparatus. According to other embodiments of the present invention, updated values of the first signal can be stored during the operation of the apparatus and/or the power-up or start sequence of the apparatus and/or the power-down or stop sequence of the apparatus. The apparatus, according to other embodiments of the present invention, can be used in satellite signal receiver systems, radio signal receiver systems, television signal receiver systems and video signal receiver systems and any combination of said systems. According to another embodiment of the present invention, a method is provided for setting up the tuning frequency of a phase-locked loop demodulator that includes a voltage controlled oscillator. The method includes the steps of: generating a reference frequency; connecting a frequency synthesizer to the voltage controlled oscillator; synthesizing a tuning frequency for the voltage controlled oscillator that substantially corresponds to a required carrier frequency; generating a first signal that corresponds to the difference between the synthesized tuning frequency and the reference frequency; disconnecting the frequency synthesizer from the voltage controlled oscillator; connecting a plurality of carrier frequencies to the phase-locked loop demodulator; and adjusting the voltage controlled oscillator such that its frequency corresponds to a desired carrier frequency. The method further includes the steps of: generating the reference frequency by means of circuitry that includes a ceramic resonator; storing the value of the first signal; comparing the stored value of the first signal with the current value of the first signal; producing a second signal in response to said comparison; applying the second signal to the frequency synthesizer; and adjusting the tuning frequency in response to the second signal. According to another embodiment of the present invention, the step of memorizing the value of the first signal is initially carried out as part of a testing procedure during the manufacturing process. According to other embodiments of the present invention, the method further includes the step of updating the memorized value of the first signal during normal operation and/or the power-up or start sequence and/or the power-down or stop sequence. Brief Description Of The Drawings These and other objects, as well as other advantages and features, of the present invention will become apparent in light of the following detailed description and accompanying drawings among which: Figs. 1 and 2 have already been depicted as exposing the state of art and the problem to overcome; and Fig. 3 illustrates a block diagram of a circuit that is used to set up the tuning frequency of a phase-locked loop demodulator according to an embodiment of the present invention. Detailed Description Of The Invention Although this invention will be described in connection with certain embodiments, it should be understood that the present disclosure is to be considered as an exemplification of the principles of the invention and that there is no intention of limiting the invention to the disclosed embodiments. On the contrary, it is intended that all alternatives, modifications and equivalent arrangements as may be included within the scope of the appended claims be covered as part of this invention. Fig. 3 illustrates a block diagram of a circuit that is used to set up the tuning frequency of a phase-locked loop demodulator according to an embodiment of the present invention. Although not illustrated, the phase-locked loop demodulator 100 includes the VCO 110, the phase detector 120, the low pass filter 130, and the programmable attenuator 140 as shown in Fig. 1. The circuit for setting up the tuning frequency of the PLL demodulator includes, the switches S1 and S2, a frequency synthesizing circuit 450, a frequency comparator 460, a reference frequency generator 470, and a control circuit 480. Referring to Fig. 3, the input terminal 300 to the demodulator 100 receives, via switch S1, the plurality of input carrier signals fIN. The output terminal 305 of the demodulator provides the required demodulated output signal VOUT. The output terminal 310 of the VCO is received by a frequency synthesizing circuit 450 and a frequency comparator 460. The output terminal 315 of the synthesizing circuit 450 is connected to the input terminal 320 of the VCO via switch S2. A frequency divider and phase comparator (similar to the frequency divider 200 and phase comparator 210 illustrated in Fig. 2) within the synthesizing circuit 450 receive the respective outputs 325 and 330 from a control circuit 480 and a reference frequency generator 470. According to an embodiment of the present invention, the reference frequency generator 470 uses a ceramic resonator as the basis for generating a reference frequency. A piezoelectric crystal is substituted with a ceramic resonator such that the method and circuitry compensate for the relatively large tolerance and stability dispersions associated with a ceramic resonator. In reality, the frequency tolerance and long-term frequency stability of a typical ceramic resonator are both in the order of approximately +/-0.5% and it is these excessive dispersions that are the root of the problem having contemplated using a ceramic resonator. This +/-0.5% frequency tolerance is at the extreme limit of acceptability, especially for industrial mass production and can thus not be relied upon. Furthermore, the +/-0.5% long-term frequency stability is, in the case of industrial mass production, totally unacceptable. The solution according to an embodiment of the present invention is somewhat convoluted in that a straight substitution of a ceramic resonator for a crystal introduces these tolerance and stability problems. So having solved one non-technical cost related problem, another more serious technical non-cost related problem is created, or in other words, there is a nested problem to the solution of the original problem. However, as will be seen, the embodiment of the present invention overcomes both of the problems that are associated with substituting the piezoelectric crystal with a ceramic resonator. The frequency comparator 460, which is similar to that described in the aforementioned STV0042/56 data sheet and referred to as a watchdog, includes a frequency comparator 335 that is capable of measuring and comparing the frequency at the output terminal 310 of the VCO 110 with that at the output terminal 330 of the reference frequency generator 470. The result of the comparison is received, via an output 337, by a register 340. The register 340 holds, i.e., temporarily stores, the resultant value of the comparison in a suitable format, for example a digital format, that is acceptable to the elements downstream of this register. The output 345 of the watchdog register 340 is supplied to a memory circuit MEM. The memory circuit MEM is preferably a Read/Write non-volatile type memory, an example being a E2PROM memory, whose read and write cycles are controlled by a R/W control signal that is provided by the control circuit 480. The respective outputs 350 and 345 from the memory MEM and the watchdog register 340 are received by comparison circuitry 360. This comparison circuitry 360 compares the data, which relates to frequency measurements, and supplies a result, via an output 365, to a microcontroller µC. The microcontroller µC requests data from the comparison circuit 360 via a control signal DR. Based on the result supplied to the microcontroller µC by the comparison circuit 360, the microcontroller µC supplies data, via an output 367, to another register 370 that is associated with the frequency synthesizing circuit 450. Register 370 is used to hold or latch the data for programming the frequency divider of the frequency synthesizing circuit 450 (see Fig. 2) including the additional data that is required for adjusting the frequency divider should there be any dispersion of the frequency tolerance and/or stability of the ceramic resonator. It should be understood that the microcontroller µC can also directly access the data from the watchdog register 340 and the memory MEM and that the outputs 337, 345, 350, 365 and 367 may be data bus type parallel outputs. Having described the basic set-up of the components according to an embodiment of the present invention, there now follows a detailed description of an embodiment of one possible method of how the elements interact so as to solve the tolerance and stability problems inherently associated with a ceramic resonator. According to an embodiment of the present invention, the proposed method can be categorized into two distinct general operations. The first operation involves the calibration of a ceramic resonator and indeed its direct and indirect associated circuitry. The second operation involves compensating for changes in the tolerance and/or stability of the ceramic resonator. In this first operation, the accuracy of the reference frequency, derived from a ceramic resonator, is not yet known. However, the reference frequency can, in theory, be assumed to correspond to a required carrier frequency fo and to be exact. Therefore, in such a theoretical case, the output frequency of the VCO 110 will be given by: fVCOTH = fo = fREFTH * NTH; where fREFTH is an ideal theoretical reference frequency and NTH is a theoretical coefficient to be used in adjusting the frequency synthesizer 450. In practice, the reference frequency fREF is not ideal and its dispersion is not negligible. Consequently, the actual output frequency (fVCOA) of the VCO will be given by: =fVCOA=fREFA * N; where fREFA is the actual reference frequency. Using the same, or a similar, arrangement of elements as shown in Fig. 3, it is possible to measure the actual accuracy of the reference frequency by carrying out the following steps. Step #1 includes respectively opening and closing switches S1 and S2. Switch S1 acts to block a plurality of input carrier frequency signals fIN from passing through to the demodulator 100 and switch S2 operatively connects the frequency synthesizer 450 to the VCO 110 of the demodulator 100. It should be noted that switches S1 and S2 are controlled in anti-phase by the respective control signals CS and NCS. Step #2 includes driving, i.e., controlling, the VCO 110 by means of the frequency synthesizer 450 so as to obtain an output signal that corresponds to a frequency value of fVCOA, where fVCOA substantially corresponds to a required carrier frequency fo. It should be understood that the VCO 110 is driven by the frequency synthesizer 450 which is in turn driven by the reference frequency generator 470 that contains the ceramic resonator. It should also be understood that in the very first instance the frequency synthesizer 450 is programmed with an arbitrary coefficient NARB for adjusting the frequency synthesizer 450. This arbitrary coefficient NARB could have either a positive, negative or zero value. Step #3 includes, having stimulated the VCO 110 to produce an output frequency value equal to fVCOA, comparing the signal fVCOA and the actual reference frequency fREFA. The result of this comparison is held in the register 340 and stored in the non-volatile memory MEM. The frequency comparator 460 produces the resultant signal of the comparison between the signals fVCOA and fREFA, which is in the very first instance of the comparison of fVCOA and fREFA, the coefficient NTH which is to be used during the adjustment of the frequency synthesizer 450. Step #4 includes, having completed the non-volatile storage of the coefficient NTH, respectively opening and closing switches S1 and S2. Switch S1 now acts to pass the plurality of input carrier frequency signals fIN to the demodulator 100, including the required carrier frequency fo. Switch S2 now acts to operatively disconnect the frequency synthesizer 450 from the VCO 110. Therefore, with switch S2 open, the frequency synthesizer 450 no longer plays an active role. Because of the capture range of the PLL demodulator 100 and the fact that fVCOA substantially corresponds to a required carrier frequency fo, the VCO 110 will automatically lock onto the required carrier frequency fo. Therefore, the value fVCOA changes to the value of the required carrier frequency fo, i.e., fVCOA changes to f'VCOA = fo. Step #5 includes, once the required carrier frequency fo has been captured, comparing it with the actual reference frequency fREFA. Since the running frequency of the VCO 110 has now been changed from fVCOA to fo, the frequency comparator 460 now produces another signal NM as a result of comparing fREFA and fo, i.e., f'VCOA. Step #6 includes, by recalling the stored resultant value for the theoretical coefficient NTH and comparing it with the current value NM, obtaining a precise measurement of the actual accuracy of the reference frequency, as illustrated by the following formulae: fo = fREFTH * NTH; fVCOA = fREFA * NTH; and fo = f'REFA = fREFA * NM. Therefore fREFA=fREFTH * (NTH/NM). The result of the calibration operation is stored in the non-volatile memory MEM. The results of this calibration operation can, for example, be stored, that is to say the values of the signals NTH and NM can be stored individually and then operatively processed so as to obtain the result C = NTH/NM. Alternatively, the results NTH and NM can be processed to obtain the result C which is then stored in the memory MEM. An advantage of this alternative is that less memory space is required. Therefore, when another frequency has to be synthesized, for example fx, the stored signals NTH and NM, or alternatively C, can be recalled and operatively processed so as to compensate for the theoretical value of Nx as follows: Nx(corrected) = NxTH * (NM/NTH) = NxTH/C. It should be noted that the present invention is susceptible to being carried out as part of a software routine and/or as a hardware solution. Thus, according to an embodiment of the present invention, a phase-locked loop demodulator that has a ceramic resonator as a reference frequency source or generator can be implemented which overcomes the current state of the art problems. Furthermore, the principle of comparing the VCO output frequency with that provided by the ceramic resonator based frequency source, and the storing and operative processing and application of compensation coefficients can be applied to a great number of circuits and applications that currently use piezoelectric crystals as a frequency reference source, provided that such applications include or are adapted to include the necessary elements such as a frequency comparator, a non-volatile memory, and operative control circuitry. Having thus described several particular embodiments of the invention, various alterations, modifications, and improvements will readily occur to those skilled in the art. Such alterations, modifications, and improvements as are made obvious by this disclosure are intended to be part of this disclosure though not expressly stated herein. Accordingly, the foregoing description is by way of example only and is not intended to be limiting. The invention is limited only as defined in the following claims and equivalents thereto.

Claims: Apparatus for setting up the tuning frequency of a phase-locked loop demodulator (100) that includes a voltage controlled oscillator (110) and a first switching means (S1), said apparatus including frequency synthesising circuitry (150), whose output (315) is connected to a second switching means (S2), that receives an output (310) from the voltage controlled oscillator which is proportional to its frequency and a reference frequency (fREF) for operatively controlling via said second switching means the voltage controlled oscillator, circuitry (160) for providing a first signal which corresponds to the difference between the output frequency of the voltage controlled oscillator and the reference frequency, circuitry (180) that is responsive to a plurality of signals including the first signal for operatively controlling the apparatus, characterised in that the apparatus further includes: a ceramic resonator oscillator for providing the reference frequency; a means (MEM) for memorising the value of the first signal; and a comparison means (360) for comparing the memorised value of the first signal with a current value of the first signal so as to produce a second signal for adjusting the tuning frequency of the frequency synthesising circuitry in response to the second signal. An apparatus according to claim 1, characterised in that the calibration means includes a microprocessor (µC). An apparatus according to claim 2, characterised in that the memory is a non-volatile memory. An apparatus according to claims 2 or 3, characterised in that the memory contains the value of the first signal. An apparatus according to any of the claims 2-4, characterised in that the value of the first signal is initially memorised as part of a testing procedure during the manufacturing of the apparatus. An apparatus according to any of the claims 2-5, characterised in that an updated value of the first signal is memorised during the operation of the apparatus. An apparatus according to any of the claims 2-5, characterised in that an updated value of the first signal is memorised during the power-up or start sequence of the apparatus. An apparatus according to any of the claims 2-5, characterised in that an updated value of the first signal is memorised during the power-down or stop sequence of the apparatus. An apparatus according to any of the claims 1-8, characterised in that it is used in a system that receives satellite signals. An apparatus according to any of the claims 1-8, characterised in that it is used in a system that receives radio signals. An apparatus according to any of the claims 1-8, characterised in that it is used in a system that receives television and/or video signals. A method for setting up the tuning frequency of a phase-locked loop demodulator that includes a voltage controlled oscillator, said method includes the steps of generating a reference frequency (fREF), connecting a frequency synthesiser (150) to the voltage controlled oscillator (110), synthesising a tuning frequency for the voltage controlled oscillator that substantially corresponds to a required carrier frequency, generating a first signal that corresponds to the difference between the synthesised tuning frequency and the reference frequency, disconnecting the frequency synthesiser from the voltage controlled oscillator, connecting a plurality of carrier frequencies (fIN) to the phase-locked loop demodulator, adjusting the voltage controlled oscillator such that its frequency corresponds to a desired carrier frequency, characterised in that said method further includes the steps of: generating the reference frequency by means of circuitry that includes a ceramic resonator; memorising the value of the first signal; comparing the memorised value of the first signal with a current value of the first signal; producing a second signal in response to said comparison; applying the second signal to the frequency synthesiser; and adjusting the tuning frequency in response to the second signal. A method according to claim 12, characterised in that the step of memorising the value of the first signal is initially carried out as part of a testing procedure during the manufacturing process. A method according to claims 12 or 13, characterised in that it further includes the step of updating the memorised value of the first signal during normal operation. A method according to claims 12 or 13, characterised in that it further includes the step of updating the memorised value of the first signal during the power-up or start sequence. A method according to claims 12 or 13, characterised in that it further includes the step of updating the memorised value of the first signal during the power-down or stop sequence.

Inventors: COUET JEAN-YVES, COUET, JEAN-YVES
Applicants: SGS THOMSON MICROELECTRONICS, STMICROELECTRONICS S.A.
Application year: 1996
Main classification: H03D3
IPC codes: H03D3