EP1122622A1 - Electronic device and method for adjusting an internal clock - Google Patents

Electronic device and method for adjusting an internal clock Download PDF

Info

Publication number
EP1122622A1
EP1122622A1 EP00101959A EP00101959A EP1122622A1 EP 1122622 A1 EP1122622 A1 EP 1122622A1 EP 00101959 A EP00101959 A EP 00101959A EP 00101959 A EP00101959 A EP 00101959A EP 1122622 A1 EP1122622 A1 EP 1122622A1
Authority
EP
European Patent Office
Prior art keywords
clock reference
difference value
electronic device
external
internal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
EP00101959A
Other languages
German (de)
French (fr)
Inventor
Stefan Kau
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to EP00101959A priority Critical patent/EP1122622A1/en
Publication of EP1122622A1 publication Critical patent/EP1122622A1/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G04HOROLOGY
    • G04GELECTRONIC TIME-PIECES
    • G04G3/00Producing timing pulses
    • G04G3/02Circuits for deriving low frequency timing pulses from pulses of higher frequency
    • G04G3/022Circuits for deriving low frequency timing pulses from pulses of higher frequency the desired number of pulses per unit of time being obtained by adding to or substracting from a pulse train one or more pulses
    • GPHYSICS
    • G04HOROLOGY
    • G04RRADIO-CONTROLLED TIME-PIECES
    • G04R40/00Correcting the clock frequency
    • G04R40/06Correcting the clock frequency by computing the time value implied by the radio signal

Definitions

  • the present invention relates to a method for adjusting an internal clock in an electronic device and an electronic device including a circuit for adjusting an internal clock.
  • the present invention relates to a television receiver comprising a circuit for adjusting an internal clock.
  • VCR's, satellite receivers, and radio alarm clocks may start an operation depending on a preset point of time.
  • an internal time value provided by an internal timer reaches a predetermined point of time a preselected operation is carried out.
  • Such electronic devices include an internal clock source.
  • An internal time value is calculated based on the internal clock reference.
  • Said internal clock is generated by means of a crystal having a predetermined resonance frequency.
  • a crystal having a predetermined resonance frequency In order to achieve a high accuracy of the internal clock (and the internal time value) it is known to use a crystal having a low deviation.
  • crystals having a low deviation generally are too expensive for use in consumer products.
  • Preferred embodiments are the subject-matter of dependent claims.
  • the present invention performs an alignment procedure in order to bring the internal clock in line with an external clock. This procedure is based on a comparison step of the internal clock signal with the external clock signal.
  • the internal clock signal and the external clock signal are sampled simultaneously twice, having a predetermined period of time between both sampling steps.
  • the first and second sampling of the clock signals generate first and second sample values. By evaluating the sample values a correction value for the internal clock reference is calculated.
  • differences are calculated between the sample values of each of the clock signals respectively, i.e. an internal difference value for the sample values of the internal clock and an external difference value for the sample values of the external clock.
  • an absolute difference value is calculated between the internal difference value and the external difference value. This absolute difference value represents a clock deviation of the internal clock with regard to the external clock reference.
  • a relative difference value is calculated. Such a relative difference value is independent of the period of time between both sampling steps and is employed as a correction value for the internal clock.
  • the correction value (being the relative difference value) is stored in a non-volatile memory. This stored value may permanently be employed for compensating a deviation of the internal clock to be in line with said external clock reference.
  • an electronic device using an internal clock reference may include a processing unit adapted to carry out the above described method.
  • Such electronic devices are simpler in construction and, thus, easier to manufacture.
  • the present invention allows to use internal clock references having a high deviation without adversely effecting the clock accuracy of the internal clock, in particular the accuracy of an internal real time value.
  • the compensation procedure adds the calculated correction value each time a predetermined period of time is elapsed.
  • the electronic device may comprise an electronic timer providing a real time value based on the compensated internal clock.
  • the absolute time calculated by an internal timer of the electronic device will be set in accordance with an external absolute time reference in predetermined time intervals. These time intervals may last for several weeks or months and an calibration procedure for calculating a new correction value will only be carried out during normal operation of the electronic device.
  • Today, many consumer devices include an internal clock which is used for controlling an internal processing of the consumer device, an example of which is shown in fig. 1, designated by reference numeral 1.
  • the internal clock is further employed to provide a real time clock signal.
  • Such an electronic device may be a television receiver, a VCR, a satellite receiver or a radio.
  • the electronic device 1 may comprise an internal clock 2, a receiver 3 receiving an external signal transmitted from an external source via an antenna 4 and an output unit 5.
  • the receiving unit 3 is supplied with the internal clock reference in order to generate an internal real time clock.
  • an inexpensive internal clock source e.g. a resonator having a high deviation
  • an accurate real time value can not be provided. Assuming the internal clock source has a deviation of 200ppm. Such a deviation results in a difference of about four minutes after elapse of two weeks.
  • a time-based automated operation depending on the internal real time signal of the electronic device is not possible when the operation has to be in line with an external real time signal.
  • the operation e.g. the recording operation of a VCR, has to be carried out corresponding to a program schedule of a broadcasting station.
  • an undesirable high deviation of an internal clock is compensated.
  • the compensation is achieved by means for calculating a correction value and performing a compensation operation.
  • An example of an electronic device according to the present invention is shown in figure 2. Blocks which correspond to those of figure 1 are designated with the same reference numerals.
  • the electronic device shown in figure 2 corresponds to the electronic device of figure 1.
  • the electronic device of the present invention comprises a real time clock unit 6 and a memory 7.
  • the receiving unit 3 provides an external reference signal which is extracted from the signal received from the external source. The extracted external clock signal is supplied to the real time clock unit 6.
  • the real time clock unit 6 provides the receiving unit 3 with a compensated real time clock signal.
  • FIG. 3 An example for a configuration of a real time clock unit 6 is shown in figure 3.
  • the real time clock unit 6 receives an internal clock signal and an external clock signal. Both clock signals are sampled by a sampling unit 8.
  • the operation of the sampling unit 8 is controlled by a processing unit 9.
  • the processing unit 9 is supplied with the sampled values of the internal and external clock signals from the sampling unit 8.
  • the processing unit 9 may store both sample values in a memory 7.
  • the processing unit 9 calculates a compensation value which is stored within memory 7 being a non-volatile memory unit.
  • the compensation value which is calculated once may be accessed during the whole life-time of the electronic device from the non-volatile memory unit 7.
  • a compensation of the internal clock is carried out by a compensation unit 10 providing a real time clock signal to the receiving unit 3.
  • the compensation procedure is preferably implemented by software instructions which may also be stored within said memory unit 7 or within a separate memory.
  • the procedure carried out by the processing unit 9 in conjunction with the sampling unit 8 is called a clock calibration routine.
  • the electronic device needs access to an external clock reference.
  • an external reference signal may be provided during normal operation of the electronic device, but may also be provided especially for the calibration procedure.
  • the calibration procedure will take a sample of the external clock reference T ref,1 and, at the same time, a sample of the internal clock signal T int,1 . After a predetermined period of time, the length of which is depending on the accuracy of the external clock reference and that accuracy that the manufacturer of the electronic device wants to achieve, a second sample of the external clock T ref,2 and the internal clock T int,2 are taken. Thus, four sample values, two for each clock signal, are taken and stored in memory unit 7.
  • ⁇ T ref ⁇ T ref,1 - ⁇ T ref,2
  • This relative difference value ⁇ T R is an individual value for each electronic device. The value depends on the deviation of the used internal clock reference (i.e. the deviation of the used resonator). In order to make a permanent compensation of this deviation possible the difference value has to be stored permanently within a non-volatile memory 7.
  • a permanent compensation allows to bridge long unused periods of the electronic device without a significant deviation of the internal real time value.
  • the present invention allows a precise start of normal operation by an automated procedure after long stand-by periods.
  • the above described calibration procedure may be carried out during a first set-up phase of the electronic device at the customer's home, or during manufacturing.
  • the calibration procedure is carried out during a short operation test during manufacturing. Neither the set-up procedure nor the manufacturing will be adversely effected since the calibration procedure may be automatically handled by software inside the electronic device and does not require any manual interaction input commands.
  • the external clock may be a real time clock signal.
  • real time clock signals are generated with high accuracy using professional equipment or being derived from an officially broadcasted clock reference signal or from a GPS signal.
  • the electronic device is a digital TV receiver (DTV receiver) or a VCR including a digital television receiver the DTV receiver may access during normal operation either the Program Clock Reference (PCR) or the Time Description Table (TDT) which are included in an MPEG2 Transport Stream.
  • PCR Program Clock Reference
  • TDT Time Description Table
  • the Program Clock Reference is described in more detail in reference ISO/IEC 13818-1 and the Time Description Table in ETSI EN-300 468.
  • the Time Description Table is part of the SI tables which are transmitted according to the digital video broadcasting standard (DVB). It contains the UTC time and date information having a resolution of one second.
  • the Program Clock Reference is located in the adaptation field of the MPEG Transport Stream (TS) packet and has a resolution 1/27 MHz. It is transmitted at least every 100 ms and is used to synchronize an MPEG decoder of the DTV receiver with the transmitting device.
  • Analogue television receivers have access to videotext time information during normal operation. Details of the video time information are given in EBU-SPB 492.
  • Radio receivers may extract time information from the radio data system.
  • Digital radio receivers DAB receivers
  • a crystal or resonator as external clock source may extract an external clock reference from the time information in the Fast Group of the Fast Information Channel (FIC). This information is described with more detail in ETS 300 401.
  • FIC Fast Group of the Fast Information Channel
  • an electronic device may extract an external clock from a different source.
  • the external clock signal is accessed during normal operation, but may also be provided separately.
  • the internal clock resonator When employing a method or an electronic device according to the present invention, the internal clock resonator still provides a clock frequency that does not correspond to a precise real time clock. But due to the known difference between the internal clock frequency and the real time clock frequency, the electronic device is able to compensate the difference and to calculate a correct real time value.
  • Such a compensation procedure may be repeatedly carried out within said electronic device in order to correct influences of slow temperature changes, e.g. to overcome differences between summer and winter temperatures, and/or to correct the influence of ageing effects of the employed components.
  • the internal clock source has a deviation of 200ppm.
  • the internal real time clock has a resolution of 1/100 second. It is desired that the internal real time clock keeps a precision of ⁇ 2 seconds per day. This value represents a maximum allowable deviation of the real time clock and corresponds to a deviation of 1/100 second per 7.2 minutes (corresponding to 432 seconds). Further, it is assumed that the external clock reference has a resolution of 1/1000 second.
  • the maximal allowable deviation of 1/100 second may first be detected after elapse of 432 seconds. However, it is not known at which time instant within each 1/100 second time slot each sample value of the internal clock signal is taken. Thus, a deviation of 1/100 second may not be detected.
  • the minimum time period (being ⁇ T ref ) between both sampling steps should at least last 864 seconds.
  • T ref,1 1 h, 0 min, 0.0 s.
  • T int,1 will be set to T ref,1 .
  • the internal clock is in line with the external clock at the time T ref,1 .
  • T ref,2 being 2 h, 0 min, 0.0 s and, as an example, T int,2 being 2 h , 0 min, 0.720 s.
  • the internal time reference will again be set to the external reference time.
  • This value corresponds to 200ppm having been assumed to be the deviation of the internal clock source. In general, no further calibration procedure is necessary in order to calculate a compensation value. Thus, access to an external clock is required only once in order to correct the internal clock for the life time of the electronic device.
  • the current internal clock value will be corrected using the above value.
  • the new internal real time clock value will be written back into the real time clock memory.
  • the internal real time clock will be further processed starting from this value. This correction procedure, using this correction value, has to be carried out all 7200 seconds.
  • two alignment procedures are carried out.
  • the internal timer After long periods of time, it is desirable to set the internal timer again to the absolute time of the external clock. This may be done, for example, every time the electronic device is switched from a stand-by mode into a normal operation mode. A precision which is achieved for an internal real time accuracy according to the present invention will be sufficient for programming an automatic timer of a VCR or a TV receiver for at least more than several weeks.
  • An example for a digital TV receiver incorporating the present invention is shown in fig. 4.
  • An external digital signal is received via an antenna 4.
  • the received external signal is first processed in a NIM which supplies a processed signal to an MPEG TS demultiplexer 10b.
  • the MPEG TS demultiplexer 10b provides a demultiplexed MPEG transport stream to other processing units and further provides an extracted external time signal to a CPU 9.
  • the digital television receiver further comprises an internal clock 2.
  • the internal clock signal is provided to a real time clock unit which is part of a processing unit 9.
  • the CPU calculates based on the external clock signal and on the internal clock signal a compensation value and enables the real time clock unit to provide an internal clock to the CPU which is in line with the external clock.
  • the present invention does not need to receive a time reference during normal operation.
  • the described calibration procedure may only be carried out during manufacturing. In such a situation, it will be easy to provide a precise clock reference which may be used to compare the internal clock reference to the external clock reference.
  • the calculated deviation of the internal clock reference will be stored permanently in a non-volatile memory of the device.
  • Each electronic device may have a different correction value.
  • the internal clock will permanently be corrected based on the value stored in the non-volatile memory of the device.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Mathematical Physics (AREA)
  • Theoretical Computer Science (AREA)
  • Electric Clocks (AREA)

Abstract

The present invention relates to an electronic device and a method for adjusting an internal clock reference. An external clock reference is retrieved from a received external signal and the external clock reference is compared to an internal clock reference. The resulting difference value is employed to permanently compensate deviations of the internal clock reference.

Description

  • The present invention relates to a method for adjusting an internal clock in an electronic device and an electronic device including a circuit for adjusting an internal clock. In particular, the present invention relates to a television receiver comprising a circuit for adjusting an internal clock.
  • Today, many consumer devices use a real time clock. This clock signal is employed in order to control a start and/or end of operation. In particular, VCR's, satellite receivers, and radio alarm clocks may start an operation depending on a preset point of time. When an internal time value provided by an internal timer reaches a predetermined point of time a preselected operation is carried out.
  • Such electronic devices include an internal clock source. An internal time value is calculated based on the internal clock reference. Said internal clock is generated by means of a crystal having a predetermined resonance frequency. In order to achieve a high accuracy of the internal clock (and the internal time value) it is known to use a crystal having a low deviation. However, crystals having a low deviation generally are too expensive for use in consumer products.
  • It is an object of the present invention to provide a method for realizing a precise internal clock and an apparatus including a precise clock, both using a clock reference of low accuracy.
  • This object is achieved by the subject-matter of claim 1 for a method and by claim 12 for an electronic device.
  • Preferred embodiments are the subject-matter of dependent claims.
  • The present invention performs an alignment procedure in order to bring the internal clock in line with an external clock. This procedure is based on a comparison step of the internal clock signal with the external clock signal. The internal clock signal and the external clock signal are sampled simultaneously twice, having a predetermined period of time between both sampling steps. The first and second sampling of the clock signals generate first and second sample values. By evaluating the sample values a correction value for the internal clock reference is calculated.
  • First, differences are calculated between the sample values of each of the clock signals respectively, i.e. an internal difference value for the sample values of the internal clock and an external difference value for the sample values of the external clock. Second, an absolute difference value is calculated between the internal difference value and the external difference value. This absolute difference value represents a clock deviation of the internal clock with regard to the external clock reference. Third, a relative difference value is calculated. Such a relative difference value is independent of the period of time between both sampling steps and is employed as a correction value for the internal clock. The correction value (being the relative difference value) is stored in a non-volatile memory. This stored value may permanently be employed for compensating a deviation of the internal clock to be in line with said external clock reference.
  • Further, an electronic device using an internal clock reference may include a processing unit adapted to carry out the above described method. Such electronic devices are simpler in construction and, thus, easier to manufacture. The present invention allows to use internal clock references having a high deviation without adversely effecting the clock accuracy of the internal clock, in particular the accuracy of an internal real time value.
  • According to a preferred embodiment, the compensation procedure adds the calculated correction value each time a predetermined period of time is elapsed. Such a solution does not require a complex hardware realisation.
  • It is one of the particular advantages of the present invention that it is not necessary to further access an external clock reference after a correction value is calculated once. A repeated calculation of the compensation value, a further calibration procedure, may be carried out only in order to adjust variations due temperature changes or due to ageing of the used components.
  • Additionally, the electronic device may comprise an electronic timer providing a real time value based on the compensated internal clock. In a preferred embodiment, the absolute time calculated by an internal timer of the electronic device will be set in accordance with an external absolute time reference in predetermined time intervals. These time intervals may last for several weeks or months and an calibration procedure for calculating a new correction value will only be carried out during normal operation of the electronic device.
  • In the following, preferred embodiments of the present invention are described in conjunction with the accompanying drawings, which show:
  • figure 1, a simplified block diagram of a conventional prior art electronic device,
  • figure 2, a simplified block diagram of a preferred embodiment of an electronic device according to the present invention,
  • figure 3, a simplified block diagram of a compensation circuit included in an electronic device of figure 2, and
  • figure 4, a simplified block diagram of a digital TV receiver according to the present invention.
  • Today, many consumer devices include an internal clock which is used for controlling an internal processing of the consumer device, an example of which is shown in fig. 1, designated by reference numeral 1. The internal clock is further employed to provide a real time clock signal. Such an electronic device may be a television receiver, a VCR, a satellite receiver or a radio.
  • The electronic device 1 may comprise an internal clock 2, a receiver 3 receiving an external signal transmitted from an external source via an antenna 4 and an output unit 5. The receiving unit 3 is supplied with the internal clock reference in order to generate an internal real time clock.
  • When using an inexpensive internal clock source, e.g. a resonator having a high deviation, an accurate real time value can not be provided. Assuming the internal clock source has a deviation of 200ppm. Such a deviation results in a difference of about four minutes after elapse of two weeks. Thus, a time-based automated operation depending on the internal real time signal of the electronic device is not possible when the operation has to be in line with an external real time signal. In particular, when the operation, e.g. the recording operation of a VCR, has to be carried out corresponding to a program schedule of a broadcasting station.
  • According to the present invention, an undesirable high deviation of an internal clock is compensated. The compensation is achieved by means for calculating a correction value and performing a compensation operation. An example of an electronic device according to the present invention is shown in figure 2. Blocks which correspond to those of figure 1 are designated with the same reference numerals.
  • In general, the electronic device shown in figure 2 corresponds to the electronic device of figure 1. In addition, the electronic device of the present invention comprises a real time clock unit 6 and a memory 7. Further, the receiving unit 3 provides an external reference signal which is extracted from the signal received from the external source. The extracted external clock signal is supplied to the real time clock unit 6. In response, the real time clock unit 6 provides the receiving unit 3 with a compensated real time clock signal.
  • An example for a configuration of a real time clock unit 6 is shown in figure 3. The real time clock unit 6 receives an internal clock signal and an external clock signal. Both clock signals are sampled by a sampling unit 8. The operation of the sampling unit 8 is controlled by a processing unit 9. The processing unit 9 is supplied with the sampled values of the internal and external clock signals from the sampling unit 8. The processing unit 9 may store both sample values in a memory 7.
  • Based on the sampled clock values the processing unit 9 calculates a compensation value which is stored within memory 7 being a non-volatile memory unit. The compensation value which is calculated once may be accessed during the whole life-time of the electronic device from the non-volatile memory unit 7.
  • A compensation of the internal clock is carried out by a compensation unit 10 providing a real time clock signal to the receiving unit 3.
  • The compensation procedure is preferably implemented by software instructions which may also be stored within said memory unit 7 or within a separate memory. The procedure carried out by the processing unit 9 in conjunction with the sampling unit 8 is called a clock calibration routine. During the calibration phase, the electronic device needs access to an external clock reference. Such an external reference signal may be provided during normal operation of the electronic device, but may also be provided especially for the calibration procedure.
  • The calibration procedure will take a sample of the external clock reference Tref,1 and, at the same time, a sample of the internal clock signal Tint,1. After a predetermined period of time, the length of which is depending on the accuracy of the external clock reference and that accuracy that the manufacturer of the electronic device wants to achieve, a second sample of the external clock Tref,2 and the internal clock Tint,2 are taken. Thus, four sample values, two for each clock signal, are taken and stored in memory unit 7.
  • Subsequently, a difference between both sample values of a clock signal is calculated, separately for each clock signal. An internal difference value ΔTint represents the difference between both sample values of the internal clock signal: ΔTint = ΔTint,1 - ΔTint,2
  • The difference of the external clock sample values is calculated as: ΔTref = ΔTref,1 - ΔTref,2
  • The deviation of the internal clock is calculated as follows: ΔT = ΔTint - ΔTref
  • Such a difference indicates an absolute deviation of the internal clock which has been accumulated during the time period between both sampling steps. A relative difference value may be calculated as follows: ΔTR = ΔT / ▵Tref
  • This relative difference value ΔTR is an individual value for each electronic device. The value depends on the deviation of the used internal clock reference (i.e. the deviation of the used resonator). In order to make a permanent compensation of this deviation possible the difference value has to be stored permanently within a non-volatile memory 7.
  • A permanent compensation allows to bridge long unused periods of the electronic device without a significant deviation of the internal real time value. Thus, the present invention allows a precise start of normal operation by an automated procedure after long stand-by periods.
  • The above described calibration procedure may be carried out during a first set-up phase of the electronic device at the customer's home, or during manufacturing. Preferably, the calibration procedure is carried out during a short operation test during manufacturing. Neither the set-up procedure nor the manufacturing will be adversely effected since the calibration procedure may be automatically handled by software inside the electronic device and does not require any manual interaction input commands.
  • The external clock may be a real time clock signal. Generally, real time clock signals are generated with high accuracy using professional equipment or being derived from an officially broadcasted clock reference signal or from a GPS signal.
  • Depending on the kind of electronic device different external signals may be used as an external clock reference. Preferably these signals are received and processed during a normal operation mode of the electronic device. In case, the electronic device is a digital TV receiver (DTV receiver) or a VCR including a digital television receiver the DTV receiver may access during normal operation either the Program Clock Reference (PCR) or the Time Description Table (TDT) which are included in an MPEG2 Transport Stream. The Program Clock Reference is described in more detail in reference ISO/IEC 13818-1 and the Time Description Table in ETSI EN-300 468. The Time Description Table is part of the SI tables which are transmitted according to the digital video broadcasting standard (DVB). It contains the UTC time and date information having a resolution of one second. It is used to set the real time and date within digital TV receivers. The Program Clock Reference (PCR) is located in the adaptation field of the MPEG Transport Stream (TS) packet and has a resolution 1/27 MHz. It is transmitted at least every 100 ms and is used to synchronize an MPEG decoder of the DTV receiver with the transmitting device.
  • Analogue television receivers have access to videotext time information during normal operation. Details of the video time information are given in EBU-SPB 492.
  • Radio receivers may extract time information from the radio data system. Digital radio receivers (DAB receivers) using a crystal or resonator as external clock source may extract an external clock reference from the time information in the Fast Group of the Fast Information Channel (FIC). This information is described with more detail in ETS 300 401. Of course, an electronic device may extract an external clock from a different source. Preferably, the external clock signal is accessed during normal operation, but may also be provided separately.
  • When employing a method or an electronic device according to the present invention, the internal clock resonator still provides a clock frequency that does not correspond to a precise real time clock. But due to the known difference between the internal clock frequency and the real time clock frequency, the electronic device is able to compensate the difference and to calculate a correct real time value.
  • Such a compensation procedure may be repeatedly carried out within said electronic device in order to correct influences of slow temperature changes, e.g. to overcome differences between summer and winter temperatures, and/or to correct the influence of ageing effects of the employed components.
  • In the following, an example will be given for the operation of the present invention.
  • It is assumed that the internal clock source has a deviation of 200ppm. Further, the internal real time clock has a resolution of 1/100 second. It is desired that the internal real time clock keeps a precision of ±2 seconds per day. This value represents a maximum allowable deviation of the real time clock and corresponds to a deviation of 1/100 second per 7.2 minutes (corresponding to 432 seconds). Further, it is assumed that the external clock reference has a resolution of 1/1000 second.
  • Due to the given resolution of 1/100 second of the internal clock, the maximal allowable deviation of 1/100 second may first be detected after elapse of 432 seconds. However, it is not known at which time instant within each 1/100 second time slot each sample value of the internal clock signal is taken. Thus, a deviation of 1/100 second may not be detected. In order to make a deviation of 1/100 second reliably detectable, the minimum time period (being ΔTref) between both sampling steps should at least last 864 seconds.
  • Assuming, the calibration phase starts at a time of Tref,1 being 1 h, 0 min, 0.0 s. At this time, Tint,1 will be set to Tref,1. Thus, the internal clock is in line with the external clock at the time Tref,1.
  • After a lapse of one hour according to the external clock signal (more than 864 seconds) a second time sample is taken. Tref,2 being 2 h, 0 min, 0.0 s and, as an example, Tint,2 being 2 h , 0 min, 0.720 s. Subsequently, the internal time reference will again be set to the external reference time.
  • The second sample value of the internal clock time Tint,2 having a deviation from the external clock reference of 0.720s. 0.720s being the absolute difference value ▵T. The relative difference value ΔTR may be calculated as follows: ΔTR = 0.72s / 3600s = 200 ppm = 2 * 10-4
  • This value corresponds to 200ppm having been assumed to be the deviation of the internal clock source. In general, no further calibration procedure is necessary in order to calculate a compensation value. Thus, access to an external clock is required only once in order to correct the internal clock for the life time of the electronic device.
  • The internal clock will be corrected using the stored relative difference value ΔTR after a predetermined period of time. According to the above example, the internal clock will exceed the limit of ± 2 seconds, without any correction, after 10 000 seconds. Thus, a correction has to be carried out after lapse of that time, for instance, after 7200 seconds (corresponding to 2 hours time). After lapse of 7200 seconds the following correction value has to be subtracted or added: ▵TR * 7200 s = (200 / 1 000 000) * 7200 s = 1.44 s
  • The current internal clock value will be corrected using the above value. The new internal real time clock value will be written back into the real time clock memory. The internal real time clock will be further processed starting from this value. This correction procedure, using this correction value, has to be carried out all 7200 seconds.
  • In the above example, two alignment procedures are carried out. First, the speed of the internal clock is corrected. This enables the electronic device to calculate time differences which correspond to a reference time difference. Second, the absolute real time value is corrected. This enables the internal timer to provide a real time signal corresponding to an external reference. In this way, an automated operation of the electronic device with regard to an external device is possible, both using a common real time reference.
  • After long periods of time, it is desirable to set the internal timer again to the absolute time of the external clock. This may be done, for example, every time the electronic device is switched from a stand-by mode into a normal operation mode. A precision which is achieved for an internal real time accuracy according to the present invention will be sufficient for programming an automatic timer of a VCR or a TV receiver for at least more than several weeks.
  • An example for a digital TV receiver incorporating the present invention is shown in fig. 4. An external digital signal is received via an antenna 4. The received external signal is first processed in a NIM which supplies a processed signal to an MPEG TS demultiplexer 10b. The MPEG TS demultiplexer 10b provides a demultiplexed MPEG transport stream to other processing units and further provides an extracted external time signal to a CPU 9. The digital television receiver further comprises an internal clock 2. The internal clock signal is provided to a real time clock unit which is part of a processing unit 9. The CPU calculates based on the external clock signal and on the internal clock signal a compensation value and enables the real time clock unit to provide an internal clock to the CPU which is in line with the external clock.
  • The present invention does not need to receive a time reference during normal operation. The described calibration procedure may only be carried out during manufacturing. In such a situation, it will be easy to provide a precise clock reference which may be used to compare the internal clock reference to the external clock reference.
  • Further, it is not necessary to provide an absolute time reference, but reliable clock pulses having a sufficient accuracy in order to correct the internal clock reference. The calculated deviation of the internal clock reference will be stored permanently in a non-volatile memory of the device. Each electronic device may have a different correction value. During operation, the internal clock will permanently be corrected based on the value stored in the non-volatile memory of the device.

Claims (17)

  1. A method for adjusting an internal clock reference of an electronic device, comprising the following steps:
    receiving a signal transmitted from an external source,
    retrieving an external clock reference from said received signal,
    sampling an internal clock reference and the external clock reference simultaneously in order to generate first sample values (Tint,1, Tref,1),
    repeating the sampling step after a predetermined period of time (ΔTref) in order to generate second sample values (Tint,2, Tref,2),
    calculating an internal difference value (ΔTint) between both sample values (Tint,1, Tint,2) of the internal clock reference,
    calculating an external difference value (ΔTref) between both sample values (Tref,1, Tref,2) of the external clock reference,
    calculating an absolute difference value (ΔT) between the internal difference value (ΔTint) and the external difference value (ΔTref),
    calculating a relative difference value (ΔTR) based on said absolute difference value (AT),
    storing said calculated difference value (ΔTR),
    compensating said internal clock reference to be in line with said external clock reference based on said stored relative difference value (ΔTR).
  2. A method according to claim 1 wherein said signal transmitted from the external source being a television signal or a radio signal.
  3. A method according to claim 2 wherein said external clock reference being a Program Clock Reference (PCR) or a Time Description Table (TDT) when said received signal being a digital television signal.
  4. A method according to claim 2 wherein said external clock reference being a videotext time information when said received signal being an analogue television signal.
  5. A method according to claim 2 wherein said external clock reference being time information from a radio data system (RDS) when said received signal being a radio signal.
  6. A method according to any of claims 1 to 5 wherein said method being carried out during a first setup of said electronic device.
  7. A method according to any of claims 1 to 6 wherein said method being carried out during manufacturing of said electronic device.
  8. A method according to any of claims 1 to 7 wherein said method being carried out at predetermined time intervals during normal operation of said electronic device.
  9. A method according to any of claims 1 to 8 wherein said method being performed and initiated automatically.
  10. A method according to any of claims 1 to 9 wherein said internal clock reference being compensated by adding said relative difference value (ΔTR) in predetermined intervals to a current time value.
  11. A method according to any of claims 1 to 10 wherein a current internal time value being set to an absolute time provided by the external reference.
  12. An electronic device comprising:
    an internal clock unit (2) providing an internal clock reference,
    a receiving unit (3) for receiving a signal transmitted from an external source and for retrieving an external clock reference from the received signal,
    a processing unit (6) being adapted to:
    generate first and second sample values (Tint,1, Tint,2, Tref,1, Tref,2) by sampling said internal and said external clock reference simultaneously at two different points of time having a predetermined period of time in between,
    calculate an internal difference value (ΔTint) between both sample values of said internal clock reference (Tint,1, Tint,2) and an external difference value (ΔTref) between both sample values of said external clock reference (Tref,1, Tref,2)
    calculate an absolute difference value (ΔT) between the internal difference value (ΔTint) and the external difference value (ΔTref),
    calculate a relative difference value (ΔTR),
    and compensate said internal clock reference to be in line with said external clock reference based on said relative difference value (ΔTR),
    a memory (7) for storing said relative difference value (▵TR).
  13. An electronic device according to claim 12 wherein said electronic device being a digital television receiver.
  14. An electronic device according to claim 13 wherein said external clock reference being a Program Clock Reference (PCR) or a Time Description Table (TDT).
  15. An electronic device according to claim 12 wherein said electronic device being an analogue television receiver and said external clock reference being a videotext time information.
  16. An electronic device according to claim 12 wherein said electronic device being a radio and said external clock reference being time information from a radio data system (RDS).
  17. An electronic device according to any of claims 12 to 16 further comprising an adding circuit (9) for adding said stored relative difference value (▵TR) to said current internal time after a predetermined period of time.
EP00101959A 2000-02-01 2000-02-01 Electronic device and method for adjusting an internal clock Withdrawn EP1122622A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
EP00101959A EP1122622A1 (en) 2000-02-01 2000-02-01 Electronic device and method for adjusting an internal clock

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
EP00101959A EP1122622A1 (en) 2000-02-01 2000-02-01 Electronic device and method for adjusting an internal clock

Publications (1)

Publication Number Publication Date
EP1122622A1 true EP1122622A1 (en) 2001-08-08

Family

ID=8167744

Family Applications (1)

Application Number Title Priority Date Filing Date
EP00101959A Withdrawn EP1122622A1 (en) 2000-02-01 2000-02-01 Electronic device and method for adjusting an internal clock

Country Status (1)

Country Link
EP (1) EP1122622A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2146451A3 (en) * 2008-07-17 2010-07-07 Sony Corporation Digital radio receiver and time display method
DE102012204084A1 (en) * 2011-12-23 2013-06-27 Rohde & Schwarz Gmbh & Co. Kg Method and system for optimizing a short term stability of a clock
WO2014023935A2 (en) * 2012-08-08 2014-02-13 Richard George Hoptroff Method for calibration of timepieces
CN112596367A (en) * 2020-12-29 2021-04-02 黄进海 Electronic clock calibration method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0258838A2 (en) * 1986-09-01 1988-03-09 Siemens Aktiengesellschaft Process for actualizing the local time of a user of an information tranfer system
DE4423366C1 (en) * 1994-07-04 1995-10-19 Grundig Emv Software clock operating method for electronic entertainment appts. e.g with TV receiver or video recorder

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0258838A2 (en) * 1986-09-01 1988-03-09 Siemens Aktiengesellschaft Process for actualizing the local time of a user of an information tranfer system
DE4423366C1 (en) * 1994-07-04 1995-10-19 Grundig Emv Software clock operating method for electronic entertainment appts. e.g with TV receiver or video recorder

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2146451A3 (en) * 2008-07-17 2010-07-07 Sony Corporation Digital radio receiver and time display method
DE102012204084A1 (en) * 2011-12-23 2013-06-27 Rohde & Schwarz Gmbh & Co. Kg Method and system for optimizing a short term stability of a clock
US9544078B2 (en) 2011-12-23 2017-01-10 Rohde & Schwarz Gmbh & Co. Kg Method and system for optimizing short term stability of a clock pulse
WO2014023935A2 (en) * 2012-08-08 2014-02-13 Richard George Hoptroff Method for calibration of timepieces
WO2014023935A3 (en) * 2012-08-08 2014-04-03 Richard George Hoptroff Method for calibration of timepieces
CN112596367A (en) * 2020-12-29 2021-04-02 黄进海 Electronic clock calibration method and device

Similar Documents

Publication Publication Date Title
US5422863A (en) Automatically correcting electronic timepiece for selected signal receiving wireless receiver
TW320810B (en)
EP1122622A1 (en) Electronic device and method for adjusting an internal clock
JP2000199792A (en) Time piece and time correction method
KR100807096B1 (en) Method and device for correcting time information received from broadcasting system
JP2008294865A (en) Digital broadcast receiver
US6577974B2 (en) Recording and reproducing apparatus and time calibration method of recording and reproducing apparatus
KR100204209B1 (en) Time error correction method of kbps data in television
JP2005303799A (en) Digital broadcast receiver, reservation setting time management method and recording medium with reservation setting time management program recorded thereon
JP2001186493A (en) Receiver/transmitter for catv broadcast
JP3152600B2 (en) Time setting device and electronic equipment
KR100200138B1 (en) Automatic timer adjusting apparatus for television having satellite broadcasting decoder
KR930005908B1 (en) Automatic time adjustment circuit
EP1090500B1 (en) Terminal powered on for epg download
US7738039B2 (en) Method and apparatus for setting a voltage controlled crystal oscillator in a video processing device
JP2000131471A (en) Broadcast receiving apparatus
JP2005204265A (en) Time-measuring apparatus and program-recording apparatus
US20060143659A1 (en) TV broadcasting receiving apparatus and receiving method thereof
JPH0944933A (en) Automatic time correcting device
JP3321334B2 (en) Automatic clock setting device
JP3090703U (en) Digital broadcast receiver
JP2007116321A (en) Digital broadcast receiver
JP3515819B2 (en) Time information sending device
JP2002374473A (en) Digital broadcast receiver, time managing method for the digital broadcast receiving device and program recording medium
JP2535043B2 (en) Signal matching signal substitution system

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB

AX Request for extension of the european patent

Free format text: AL;LT;LV;MK;RO;SI

17P Request for examination filed

Effective date: 20011012

AKX Designation fees paid

Free format text: DE FR GB

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION HAS BEEN WITHDRAWN

18W Application withdrawn

Effective date: 20080115