METHOD AND APPARATUS FOR SYNCHRONISING THE PHASE OF A TRANSIT EXCHANGE IN A DIGITAL TELECOMMUNICATION NETWORK

Abstract: The transit exchange has a signal-controlled oscillator with an output signal which depends on the collectively weighted phase difference between the local exchange clock and the clock of the other exchanges. To avoid phase jumps, a signal corresponding to the phase difference is sampled, the sampled values differentiated, the differentiated values compared with a limit value employing a phase jump when exceeded, and when this value is exceeded a signal with the control signal's highest value but with opposite sign is added to form a compensation signal, this compensation signal being added to the differentiated value, and after possible weighting the differentiated value is summed with corresponding differentiated values from comparison with the phases of other links, and the sum value integrated to obtain a resulting control signal.

Description: Me thod and a ppa r a t u s fo r s ynchronis i ng t he ph as e o f a tr ans it exchang e i n a di g i t al t e l e communi c a t i on ne two rk TECHNICAL FIELD The invention relates to a method of phase-synchronising a transit exchange in a digital telecommunication network, including a signal-controlled oscillator, the control signal of which is influenced by the collectively weighted phase difference between the local transit exchange clock and that of the other 5 exchanges. BACKGROUND ART A synchronisation of the type mentioned involves each station in the network forming its frequency as a mean value of the frequencies of the incoming links. This is done by measuring the phase differences between incoming link clock signals and the local clock, subsequent to which the phase positions are added or weighted together to a control value acting on the clock in the respective exchange via a regulator. The phase detector may be analogue or digital, although only a digital phase detector is suitable for use in a time, multiplex system. A phase detector represents a periodic function, i.e. the variation of the faulty signal between zero and the highest deviation corresponding to the phase difference 2 IT is repeated for each 2 TT phase difference. This means that large phase jumps occur just when the phase position exceeds or falls below its measuring range. Even if the sum of the phase positions is kept constant in a network, the individual phase positions can move apart and cause phase jumps. This can result in difficulties when the clock frequency hastily changes, thus possibly causing new phase jumps. Since the entire network is synchronised, such a phase jump can bring the whole network to swinging. DISCLOSURE OF INVENTION The object of the invention is to eliminate this drawback and to provide a method by which phase jumps in the phase detection are avoided. This is accomplished in that the change of phase difference in respect of each of the clock signals of the incoming links is monitored, and if this change exceeds a given limit indicating that a phase jump has taken place, the signal is corrected before it is used for regulation of the oscillator. The invention is characterized by what is disclosed in the claims. DESCRIPTION OF FIGURE The invention will now be described in detail below with the aid of an embodiment, with reference to the appended drawing, on which Figure 1 schematically illustrates a telecommunication network in which the invention is applied, Figure 2 is a time diagram illustrating the clock pulses of an incoming channel and of the local exchange clock, Figure 3 illustrates the output signal as a function of the phase position on a phase detector, Figure 4 is a block diagram of an apparatus operating in accordance with the inventive principle, and Figures 5a-e are diagrams illustrating signal values at different points in the circuit according to Figure 4 for a number of subsequent monitoring moments. PREFERRED EMBODIMENT Figure 1 schematically illustrates a telecommunication network including tran- sit exchanges F1-F4 being in connection with each other, e.g. via 32 communi¬ cation channels. The rate of one of these is used to transmit clock signals between the exchanges. To provide synchronisation between the exchanges, the phase of the internal clock, e.g. in the station Fl, shall be in accordance with the average value of the phase difference in respect of each of the incoming channels from stations F2-F4. The phase of the incoming clock signals is compared in detectors D2-D4 with the phase of the internal clock Kl. The signal from the detectors actuates a circuit Ml which in correspondence with the mean or collectively weighted deviation generates a control signal. This control signal is supplied to the voltage-controlled oscillator to increse or decrease the frequency through a regulator Rl which may consist of a time discrete filter. Figure 2 Illustrates the time cycle of the local exchange clock signals and of the incoming clock signals. The phase difference β is measured by the respec- π T tive phase detector D2-D4, the characteristic of which is illustrated in Figure 3. As it will be seen, the characteristic is periodic and has a 0 value at the beginning and a maximum value at the end of each phase difference of 277" magnitude. With the aid of this Figure it is easy to understand that a large phase jump occurs just when the phase position falls below or exceeds a measuring range. The problem is the same in a network, as even if the sum of the phase positions is kept constant, the individual phase positions may move apart and cause phase jumps. Such phase jumps result in serious disturbances, since the frequency of the clock is hastily changed and new phase jumps can thereby occur. Since the network is synchronised, such a phase jump can cause swinging in the entire network. Let it be assumed that an exchange is controlled by three links. At the time t, the phase difference in respect of the first of the links is 2 7T and in respect of the other two -~ff » giving a sum equal to zero. If the phase positions at the time t+1 are 0 for the first link and - ^ " for the other two, as before, the sum will be -27T , resulting in a phase jump in spite of the actual phase change being small. As previously mentioned such a phase jump may cause swinging in the entire network. In accordance with the inventive concept, the effect of the phase jump is eliminated by making a correction for such measured values, the difference of which in relation to a preceding value exceeds a given limit as a result of a phase jump having taken place. This is effected in that neither the phase differences nor their sum are to control the oscillator frequency but the phase increments are calculated at each of the sampling moments, and those indicating a phase jump are corrected. The phase increments from all the links are summed and this sum is integrated with respect to time, a value being obtained which is equal to the sum of the fictive phase positions of the links. This sum will not have any phase jumps and the system is free from transients caused by diverging phase positions. Figure 4 illustrates an apparatus operating in accordance with the principle mentioned. For cooperation with each of the incoming links there is arranged a detection apparatus 1 of which only what is associated with the link coming from station F2 is shown in detail. A digital phase detector 2 compares the OMPI clock signal coming from the link, with the local exhcange clock signal, and generates a control signal P proportional to the phase difference. This signal is processed in a differentiation circuit 3, which includes a delay circuit 4 and a subtraction circuit 5, and executes a subtraction between two measured values obtained from the digital phase detector at two subsequent samplings. The signals obtained from the phase detector are shown in the diagram 5a and the differentiated signals in the diagram 5b at a number of samplings. The differentiated signals P are fed to a compensating circuit 6 comprising two comparators 7a and 7b, for comparing the differentiated signal with a positive a πd a negative threshold value, respectively, corresponding to half of the greatest indication by the phase detector in the example. Should the value of the differentiated signal exceed the positive or negative reference value, the output signal of the respective comparator closes a contact 8a, 8b connecting a compensation voltage to an addition circuit 9 to which also the differentiated signal is fed directly, said compensation voltage corresponding to the greatest indication by the phase detector, but having opposite sign relatively to the respective comparator reference voltage. According to the example, the value of the reference signal is the voltage corresponding to + 7T and - IF phase difference, whereas the value of the compensation voltage corresponds to +2 7T and -2 fT phase difference. The values indicated in Figure 5c are obtained from the adding circuit 9. The value of the signal obtained from the sampling point 5 in Figure 5b, the value and sign change of which signal indicates that a phase jump has taken place, has been changed from what Figure 5c shows so that the values no longer have any discontinuity. The signals from each detecting apparatus 1 are fed to a summing circuit 10 and the sum signal (Figure 5d) is fed therefrom to an integration circuit 11 comprising a memory 12 and an adding circuit 13, which adds each signal to the preceding signal. The resulting signal (Figure 5e) is subsequently utilized for controlling the frequency of oscillator 15 via a regulator 14, which may consist of a time-discrete filter. It is obvious that there is no danger of the network coming into swinging due to phase jumps, since by the differentiation, signal compensa¬ tion and integration the results of the phase jump have been eliminated. In the example, detection of the phase differences is performed at time intervals of 0,25 s. The invention is not limited to the described embodiment. For example, it is quite possible that the differentiated phase signal, which exceeds a given threshold value and is converted in a compensation circuit corresponding to the circuit 6, is summed with similar signals coming from other links and the sum integrated. This sum signal is then added to the sum of the original phase detection signals from all the links. It should be obvious that such a solution is also within the scope of the invention, as well as the application in a master-slave network where each exchange can sense the phase difference in respect of several exchanges but is only affected by the nearest superordinated station.

Claims: C L A I M 5 1 Method of synchronising the phase in a transit exchange in a digital telecommunication network, including a signal- controlled oscillator, the output signal of which is in dependent on the collectively weighted phase differences between the local exchange clock and the clock of the other stations, characterized in that for avoiding a phase jump the following steps are carried out a signal corresponding to the phase difference is sampled for each of the incoming links; the sampled values are differentiated; the differentiated values are compared with a limiting value for indicating a phase jump when said value is exceeded; when this value is exceeded, a signal is added with the control signal's highest value but with opposite sign for forming a compensation signal; the compensation signal Is added to the differentiated value; after possible weighting, the differentiated value is added to the corresponding differentiated values resulting from comparison with the phase of the other links, and the sum value is integrated for obtaining a resulting control signal. 2 Apparatus for synchronising the phase in a transit exchange in a digital telecommunication network, including a signal-controlled oscillator (Kl) the control signal of which is depending on the collectively weighted phase differences between the local exchange clock and the clock of the other stations as claimed in claim 1, characterized in that the apparatus includes a phase detector (2) for sensing the phase difference between the exchange oscillator and each of the incoming links for generating a signal proportional to the difference; differentiation circuits (3) for differentiating said signal; compensation means (6) for adding to the differentiated signal, in response to the differentiated signal exceeding a given value, a signal with opposite sign and corresponding to the greatest value of the control signal; a summing circuit (10) for adding, after possible weighting, the differentiated signal to the differentiated signals from the comparison with other links and integration means (11) for integrating the summing result to obtain a phase control signal.

Inventors: BRANDT HARALD EMIL, BRANDT, HARALD, EMIL
Applicants: ERICSSON TELEFON AB L M, TELEFONAKTIEBOLAGET L M ERICSSON
Application year: 1983
Main classification: H04J3
IPC codes: H04J3, H04L25, H04Q11