The introduction of digital technology into television in particular opens up new perspectives in the field of broadcasting audiovisual signals. The use of datarate-reducing encoding techniques such as the method defined in ISO/CEI standard 13918 MPEG-2, and digital modulation techniques make it possible in particular to offer a larger number of services to the end user.
Nevertheless, the signals restored after decoding are no longer identical to the original signals. The constraints imposed in terms of data rate or bandwidth available for transmission and the content of the signal imply that characteristic kinds of degradation appear at low data rate or under difficult transmission conditions.
In order to monitor signal quality, most measuring methods need to compare received signals (or characteristics of such signals) with transmitted signals (or with characteristics of transmitted signals). Consequently, a prior condition for monitoring quality is to be able to achieve accurate time synchronization between the signals that are to be compared.
Various methods exist for achieving for time synchronization between any two digital signals, referred to as E and S. Also such methods seek to establish correspondence between elements, i.e. portions, of said signals. For example, when synchronizing video sequences, the basic element might be one image; similarly, for an audio sequence, it could be one sample.
Existing methods can be classified in three approaches.
The most usual approach implements correlation on complete decoded signals. It consists in comparing the two signals E and S for synchronization on the basis of their respective contents. Assuming that the content of the signals varies significantly between two consecutive elements, a comparison between the signals E and S shows a high degree of similarity between the signals only when the elements thereof are in correspondence. In all other cases, the similarity that is observed is much smaller.
One example of an application of that principle to animated images consists in evaluating the variance of the error image E-S, which passes through a minimum when the images in the two video sequences are in correspondence. Alternatively, correlation between the two images is established using equation (2) below. Each pixel occupying the same spatial position (x,y) in the images of the two sequences Γ(τ) is at a maximum when the signals are time synchronized. The parameter τ gives the time offset for applying to one of the signals in order to obtain synchronization. An equation similar to equation (1) is applicable to audio signals.
where T is an arbitrary duration.
where (M, N) is the size of an image in E and S.
For more effective correlation, the signals E and S can initially be normalized:
where mean (E) is the average of E over the interval T.
The main drawback of that type of method is the need for content that varies significantly on a continuous basis. Depending on the type of signal being analyzed, that assumption is not always true. The content of the signals therefore has a direct influence on the performance of the method. Furthermore, the method can be difficult to implement in terms of computation power, particularly when it is applied to two video signals or to two long periods of audio signal. Furthermore, in order to use that type of approach on complete decoded signals, it is necessary for both signals E and S to be available at the same point: this is a major constraint which cannot always be satisfied in certain applications such as monitoring the quality of digital television signals in an operational system.
A second known approach uses synchronization by time references.
This second class of methods makes use of the possible presence of time references (RT) in the signals. When these time references are associated with perceptible or useful content in the signals (encoded sound or images), it is possible to make use of them when synchronizing two signals.
For this purpose, the process is based only on two series of time references RT, which are extracted from the signals using some appropriate extraction method. The time references RT can be constituted, for example, by numbers whose values increase over time, with synchronization being performed merely by selecting, for each time reference RT in a sequence, the closest time reference in the series from the other sequence.
Nevertheless, the use of reduced data rate digital systems, in particular for digital television signals, gives rise to specific problems which prevent accurate synchronization being achieved between two decoded signals in real time. The digital transmission system and the multiple pieces of equipment through which the signal passes (coder, multiplexer, transmultiplexer, decoder) lie behind this.
In a digital decoder (PDEC), an internal clock giving the rate at which decoded signal elements are output is generated on the basis of time references (RT) present in the encoded binary stream (FB). However, only the output frequency of the signals is servo-controlled on the time references, and phase is not servo-controlled. Consequently, there exists a phase offset φ between a given series of time references RT and the decoded signals (
This phase offset φ is constant so long as the stream is not interrupted, but its value changes if there is a change in decoder, or in the binary stream, or even if the binary stream is merely interrupted and then taken up again. The value of the phase offset can be of an order of magnitude that is not less than the duration of the longest element in the signal. For example, when the decoded signals contain video (
The existence of a phase offset between the time references and the signals E and S output by datarate-reducing digital decoders has an impact on the performance of synchronization using time references. The two associated series of time references RTE and RTS are phase offset from E and S by φE and φS respectively. Furthermore, φE and φS are unknown. The two series of time references RTE and RTS are thus phase shifted by a value that is unknown, which can be of the order of several video images. Consequently, synchronizing E and S on the basis solely of time references is approximate. This approach does not enable synchronization to be obtained to within one signal element.
This approach presents the drawback of precision that is limited firstly by the precision concerning the values of the time references RT, and secondly by the need for these references to be transmitted synchronously with perceptible or useful content in the signals. Furthermore, when used with datarate-reducing digital systems, it provides coarse synchronization only. However, it is very simple to implement.
A third class of synchronization methods seeks to mitigate the need for significant and continuous variation in signal content in order to obtain good performance with correlation methods. To do this, it is possible to modify signal content so as to insert specific information therein for the purpose of optimizing correlation reliability. One possibility is to insert special patterns into the images.
That approach thus corrects a defect of correlation approaches, but it introduces signal modification, and that represents a major constraint that is incompatible with numerous applications, including monitoring the quality of digital television signals in an operational system.
The method of the invention seeks to provide accurate time synchronization while being simple to implement and without introducing any modification in the two signals that are to be modified. The main function of the method consists in evaluating the exact phase offset between the two signals. Thereafter, knowledge of this offset is used to correct the lack of synchronization.
Amongst existing approaches, the approach based exclusively on correlation is expensive to implement. Furthermore, it does not make it possible to achieve accurate synchronization (to within one image) merely on the basis of the time references present in the signals.
The idea on which the present invention is based is to define an approach constituting a hybrid between making use of time references and using an approach by correlation.
To this end, the method of the invention is organized as two distinct stages:
To achieve this, a simplified correlation approach is used. The method advantageously makes use of a characteristic parameter that is extracted from the signals to be synchronized, instead of using the whole signals.
The method can be integrated naturally into a system for monitoring the quality of audio and/or video digital signals, in particular for digital TV in an operational broadcast network, however it is more generally applicable whenever there is a need to achieve time synchronization between two signals.
The method of the invention can easily be integrated into a standard datarate-reducing code system for digital TV such as MPEG-2, or sound coding.
The invention thus provides a method of synchronizing first and second digital signals presenting digital content elements of the same kind that are to be put into correspondence, on the basis of time references, the method implementing:
a) preliminary synchronization of the two digital signals using time references, by putting time references recognized as having the same value in the first and second digital signals (E, S) into correspondence; and
b) fine synchronization on the basis of a characteristic parameter (PE, PS) obtained from the binary streams of said digital elements, and computed for each of said first and second digital signals (E, S).
Preliminary synchronization may be achieved by putting successive values of the time references of said two digital signals into best correspondence.
In the method the preliminary synchronization may implement:
a1) selecting a time reference (RTE(i)) of the first signal and a time reference (RTS(j)) of the second signal and computing the difference between the values of these two time references; and
a2) if this difference is not minimal, putting the time references (RTE, RTS) of the first and second signals (E, S) into correspondence by offsetting the indices (i, j) of the time references (RTE, RTS) of the first and second signals (E, S) by an offset (d), said offset (d) corresponding to the observed difference.
Preliminary synchronization advantageously implements determining a mean value of the difference between the values of two successive time references, which determination is preferably performed prior to a1).
In the method fine synchronization is advantageously performed:
b1) associating a sequence of successive time references (RTE, RTS) of the first and second signals (E, S) with a sequence of values of a characteristic parameter of each signal, these values being written PE(i) for the value of the characteristic parameter associated with the time reference RTE(i) of the first signal (E), and PS(i) for the value of the characteristic parameter associated with the time reference RTS(i) of the second signal (S); and
b2) comparing said sequences of values for the first and second signals (E, S) so as to put the time references [RTE(i), RTE(i−τ0)] of the first and second signals (E, S) corresponding to similar values of said characteristic parameter.
In particular, b2) may be implemented by correlation.
Other characteristics and advantages of the invention appear better on reading the following description, given by way of example and made with reference to the drawings, in which:
a and 5b show how the parameter P varies for two signals to be synchronized, respectively before and after synchronization;
The first step of the method of the invention is preliminary synchronization making use of time references.
This first step makes use of two series of time references RTE and RTS coming from two sequences E and S respectively that are to be synchronized. It consists, for a value RTS(j) of the series RTS, in seeking the closest value in the series RTE(i), and the offset to be applied to one of the series in order to synchronize them. For this purpose, two approaches are proposed:
A value RTE(i) of the series RTE is selected. If the value RTS(j) of the series RTS is greater than RTE(i), then the sequence S is in advance relative to the sequence E. It is therefore necessary to retard the sequence RTS by decrementing j until this advance disappears. Conversely, if the value RTS(j) of the series RTS is smaller than RTE(i), then j is incremented.
IF RTS(j=1)>RTE(i), then decrement j until RTS(j′)<RTE(i).
ELSE increment j until RTS(j′)>RTE(i).
Instead of scanning the entire list of time references and examining each of them, it is more efficient to find the looked-for time reference directly. This method is more efficient than the preceding method and it is easier to use in real time. To be able to do this, it is necessary to assume that the time references RT arrive at regular time intervals. This applies in most systems.
Thus, the first step determines the mean value PRT between two successive time references (assuming this value is not known). It is estimated by examining the difference between the values of two successive time references in one of the two series RTS(j) or RTE(i). This difference is not necessarily constant, because of the limited precision on the numbers RTS(j) and RTE(i), e.g. integers. Consequently, the operation is repeated over a sufficient number of differences to be able to calculate the mean difference.
The second step is proper prediction. Once the mean difference between two successive time references is known, it is possible to detect the number d of time references to be skipped in order to achieve synchronization on the basis of the difference between the values of the references RTS(j) and RTE(i).
Finally, the third step serves to predict the value of the looked-for time reference.
a) the difference PRT between two successive time references is constant. It can be estimated on the basis of several pairs of successive time references:
PRT=mean(RTS(j+1)−RTS(j))
b) In practice, for an application in real time, the values of the series RTS are in advance on those of the series RTE. This gives RTS(j)<RTE(i). The difference between the time references RTS(j) and RTE(i) of the two series makes it possible to predict the number d of RTE that needs to be received before achieving synchronization:
d=[RTS(j)−RTE(i)]/PRT
c) The looked-for value RTE(i′) closest to RTS(j) is:
RTE(i′)=RTE(i)+d×PRT
When RTS(j)<RTE(i), then the same procedure can be applied, with the roles of RTE and RTS being interchanged.
The difference between the values of the time references RTE and RTS is not necessarily zero. It can have a residual value less than PRT. Under such circumstances, it is considered that the difference is minimal and that the series RTE and RTS have been put into correspondence.
At the end of this stage, the two sequences E and S that are to be synchronized can be put into correspondence. The method implements a function for correcting the indices of the time references, by adding or subtracting d to or from the indices i or j:
i′=i+d or j′=j−d
In the example of
The two sequences are now synchronized as well as possible on the basis of time references. Two effects limit the accuracy of this synchronization. Firstly, the fact that the sequences of time references RTE and RTS are not identical, and secondly the existence of a random phase offset between the signals and the time references.
The following step of fine synchronization by correlation serves to refine the result.
The second step of synchronization uses correlation to lift the uncertainties that are inherent to the preceding step.
1. In order to limit the complexity of computation, the method extracts a characteristic parameter P from each signal element. Variation in the signal is replaced by variation in the characteristic parameter P which is synchronous with the series of time references. Such a characteristic parameter can be extracted from a video sequence, for example, by any method.
2. A correlation procedure is implemented on the parameter P so as to find exact correspondence between the two sequences. The idea is to determine whether the signal element represented by the reference RTS(j′) and the parameter PS(j′) correspond to the signal element represented by reference RTE(i) and the parameter PE(i), or to some other element in the vicinity T of PE(i). The purpose of the method is to provide a value for the offset τ between the two series PE and PS.
The correlation method can be performed using any procedure. One possibility is to use the following equation, similar to equation (1) above, i.e.:
The parameter PE and PS may be normalized beforehand using (3).
Other possible methods are as follows:
Correlation serves to discover a complementary offset τ between the two signals.
The method can then use a correction function in order to refine synchronization: the value for τ found by the correlation method is added to d so as to determine the synchronization difference τ0=d+τ. The correction function is then the same as for the coarse synchronization stage.
In the example of
G(τ) being a correlation function, e.g. supplied by one of equations (1), (4), or (5); and
ValidityThreshold being a validity threshold determined experimentally.
When this equation is not true, it is considered that the fine synchronization process has failed.
where mean [X] is the mean of X over the period T.
When this equation is not satisfied, then the fine synchronization process is considered to be impossible.
Once the additional offset correction procedure has been applied, the two sequences of
An implementation of the method is given in
The method proposed by the invention is very useful in application to a digital television broadcast network. In such a context, it is generally not possible to have both sequences E and S present at the same location. Consequently, it is not possible to use a conventional correlation approach. The advantage of the system proposed comes from using characteristic parameters of the signals, which parameters are represented by numbers that are easily transported, in order to achieve fine synchronization.
Example of operation
The table below illustrates how the method operates when the difference between two successive time references RT is constant, so the value of the time reference RTE is transmitted only once every N parameters PE. In this case N=15. Coarse synchronization based on the time references have been performed: after compensating for the offset d existing between the two series of values, it can be seen that the values of the two series are similar. Thereafter, the parameters P corresponding to the time references are used to perform fine synchronization. The table below shows that under such circumstances, there exists an additional offset of τ=1 signal element.
Parameter Variation after Coarse Synchronization
The method proposed is relatively simple to implement and it can find multiple applications in the field of digital TV:
More generally, the invention applies to any digital system since the occurrence of phase offsets is a characteristic of such systems.
An advantage of the method of the invention is that there is no need to have the complete signal E available in order to synchronize a received digital signal S with the signal E, e.g. for the purpose of evaluating quality. It suffices to have the time references RTE of the reference signal available, together with the corresponding values of the parameter P. Under such conditions, it is possible to compute the parameter P for each digital element, e.g. for each image, in the received signal S so as to make it possible subsequently to achieve the desired synchronization. The time references RTE and the corresponding parameters P of the reference signal E can be transmitted, for example, using a service channel incorporated in the digital transmission medium, without any need to modify the transmitted signal.
For example, with images, the invention makes it possible to match the images of the reference signal E with the images of a degraded signal S by using parameters representative of image quality. The image quality of the signal S can become degraded by random effects in transmission and/or by the presence of encoders or of decoders in the transmission system. Quality evaluation can then be performed by comparing parameters representative of the quality of the images in the reference signal E and in the degraded signal S.
In general manner, the characteristic parameter P can be any magnitude that is obtained from the content of the digital signals, and by way of example, in video:
and in audio:
It should be observed that the parameter P can be itself subjected to degradation due to transmission, but in practice it is found that given the level of degradation that is generally to be observed in a transmission network, synchronization can be performed using the method of the invention.
In general, once synchronization has been acquired, the method makes it possible to verify that it is properly conserved, so as to be able to remedy synchronization wherever necessary due to disturbances such as an interruption in the binary stream, a change of binary stream, a change of decoder, etc. . . . , by resynchronizing the digital signals E and S.
Number | Date | Country | Kind |
---|---|---|---|
00 13508 | Oct 2000 | FR | national |
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/FR01/03239 | 10/19/2001 | WO | 00 | 2/18/2003 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO02/35855 | 5/2/2002 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
5430485 | Lankford et al. | Jul 1995 | A |
5594660 | Sung et al. | Jan 1997 | A |
5598352 | Rosenau et al. | Jan 1997 | A |
5603016 | Davies | Feb 1997 | A |
5642171 | Baumgartner et al. | Jun 1997 | A |
5805602 | Curtis et al. | Sep 1998 | A |
5874997 | Haigh | Feb 1999 | A |
6130987 | Tanaka | Oct 2000 | A |
6262776 | Griffits | Jul 2001 | B1 |
6351471 | Robinett et al. | Feb 2002 | B1 |
6380981 | Kasezawa et al. | Apr 2002 | B1 |
6429902 | Har-Chen et al. | Aug 2002 | B1 |
6628737 | Timus | Sep 2003 | B1 |
6765951 | Doetsch et al. | Jul 2004 | B2 |
6823302 | Atkinson et al. | Nov 2004 | B1 |
6950447 | Dieterich et al. | Sep 2005 | B2 |
7280156 | Roelens | Oct 2007 | B2 |
Number | Date | Country |
---|---|---|
0425834 | May 1991 | EP |
0648056 | Apr 1995 | EP |
0683604 | Nov 1995 | EP |
Number | Date | Country | |
---|---|---|---|
20030179740 A1 | Sep 2003 | US |