Method and apparatus for correcting phase of frames in subsriber loop carrier system

Abstract: Disclosed is a subscriber loop carrier system wherein, to synchronize the phases of frames and multiframes from a plurality of subscriber loop carriers, corrections are made on the phases of frames and multiframes without relying on memory storage. The phase difference of the frame and multiframe phases with respect to a reference phase is detected at the receiving end. The detected phase difference is transmitted from the receiving end to the transmitting end. At the transmitting end, the phases of frames and multiframes being formed are controlled on the basis of the detected phase difference.

Description: The present invention relates to a method and apparatus for correcting the phase of transmitted data frames, and more particularly to a method and apparatus for correcting the phase of frames/multiframes transmitted over incoming lines in subscriber loop carrier systems. Subscriber loop carrier systems have been employed to accommodate subscribers, at geographically remote locations from switching offices, economically and with high transmission quality, and also to alleviate the problem of the ever increasing number of telephone cables in urban areas. In conventional subscriber loop carrier systems, a plurality of subscriber lines are multiplexed as PCM data with a frame/multiframe structure at a remote terminal (RT), and the thus multiplexed PCM data are then transmitted over a fiber optic or other transmission medium to a central office terminal (COT), where the data are demultiplexed into a plurality of subscriber lines for connection to switching equipment. Furthermore, in recent years, high-order multiplexing has come to be adopted wherein a plurality of multiplexed data, instead of undergoing demultiplexing at a COT, are further multiplexed into a high-level multiplexed signal, for direct connection to a switching network such as SONET. To achieve this, a multiplexer for remultiplexing a plurality of multiplexed data is provided with a time slot interchanger (TSI) for interchanging time slots to accomplish dynamic rearrangement on a user-by-user basis. The TSI is provided to accommodate a larger number of subscriber lines than the number of channels in a multiplexed transmission path. To facilitate the interchanging of time slots in the TSI, the phases of the frames/multiframes of the PCM data transmitted over different transmission paths from different RTs must be corrected to achieve synchronization. In the prior art, this phase correction is done by storing the data in memory at the receiving end. This requires the provision of a memory for storing the data, and furthermore, transmission delays are caused because of temporarily storing the data. If the differences between transmission delay times from the different RTs are within one-frame period, the phase correction is only necessary for the frame, but no phase correction is needed for the multiframe. In this case, a memory that can store one frame of data will suffice for the purpose, and the transmission delay can be kept within one frame period. On the other hand, if the differences between transmission delay times from the different RTs are larger than one frame period, the phase correction must be done not only for the frame but for the multiframe that typically consists of 12 frames. In such a case, the memory capacity required will be much larger, and significant transmission delays will result. Furthermore, in order to use a single fiber optic cable for carrying both the incoming and outgoing lines, the adoption of a time compression multiplexing (TCM) system is considered. If the TCM system is adopted, phase correction for the multiframe becomes essential. In US-A-3 980 835, the oscillator frequency at a receiving end is controlled on the basis of advance (A), retard (R) and out-of-limits (OL) signals from the transmitting end and A, R and OL signals made at the receiving end. In US-A-5,140,616, at a transmitting end in a local phase difference indicator indicating a phase relation between a first data adapter and a first synchronous master is transmitted to a second (remote) data adapter at a receiving end, where a baud clock generator uses the phase difference indicator to generate a baud clock which is used to transfer data from the second data adapter to a second synchronous master. Accordingly, the phase difference is transmitted from the transmitting end to the receiving end, and is used at the receiving end. Lastly, reference is made to GB-A-1 577 331, in which the clock frequency of a switching center receiving end is controlled based on incoming A-R-Z at a ("advance", "retard" and "do-nothing" signals) transmitted from a switching center at a transmitting end and the local A-R-Z. It is an object of the present invention to provide a method and apparatus for phase correction in subscriber loop carrier systems, whereby phase correction can be done for frames and multiframes relying on memory storage. According to the present invention from one aspect, there is provided a frame phase correction method having the features of claim 1. According to the present invention from another aspect, there is provided a frame phase correcting apparatus having the features of claim 6. The invention will be better understood by referring, by way of example, to the accompanying drawings, in which: Fig. 1 is a block diagram showing the basic configuration of a subscriber loop carrier system in which an embodiment of the present invention is incorporated; Fig. 2 is a block diagram showing the configuration of a low-order channel interface; Fig. 3 is a block diagram showing the configuration of a multiplexer; Fig. 4 is a diagram showing the timing for various signals in association with a frame structure; Fig. 5 is a diagram showing the timing for various signals in association with a multiframe structure; Fig. 6 is a circuit block diagram showing a configurational example of a frame or multiframe phase difference detector; Fig. 7 is a circuit block diagram showing a configurational example of a frame or multiframe timing generator; and Figs. 8 and 9 are flowcharts for controllers. Fig. 1 is a diagram showing the basic configuration of a subscriber loop carrier system in which an embodiment of the present invention is incorporated; the overall configuration of the system is shown here in a simplified form. In the figure, the numeral 1 designates a subscriber interface (CH), provided for each subscriber, and via which an analog signal from the subscriber (telephone) side is converted to a PCM signal for transmission over each individual channel and vice versa. A low-order channel interface (CH inf) 2 is provided via which PCM signals from the individual channels are multiplexed into or demultiplexed from a multiframe signal. Line terminations (LT) 3 and 4 each perform conversion between a multiplexed signal and a signal transmitted or for transmission over an optical or metallic transmission path 5. A multiplexer 6 converts the multiplexed signals into a higher-level multiplexed signal for connection to a switching network and vice versa. Fig. 2 is a diagram showing the configuration of a low-order channel interface according to one embodiment of the invention. The same parts as those shown in Fig. 1 are designated by the same numerals. In the low-order channel interface 2, the numeral 11 is a codec which consists of a digital-to-analog (D/A) converter 12 for converting PCM signals into analog signals, and an analog-to-digital (A/D) converter 13 for converting analog signals into PCM signals. A channel interface converter (CH-inf) 14 for outgoing lines separates multiframe-structured data (VFR) transferred from the LT 3 into PCM signals for individual channels by using a clock (MCKR), frame timing pulse (FPR), and multiframe timing pulse (ABR), and transfers data (VFR') to the respective D/A converter units 12 together with a clock (MCKR'), frame timing pulse (FPR'), and multiframe timing pulse (ABR'). A channel interface converter (CH-inf) 15 for incoming lines supplies a clock (MCKS') to the A/D converter 13 for each channel in response to a clock (MCKS) fed from the LT 3, and multiplexes data (VFS'), i.e. PCM signals supplied from the A/D converter 13 in synchronism with the clock (MCKS'), into frame/multiframe-structured data (VFS) which is transferred to the LT 3. A frame timing generator (FP-GEN) 16 performs phase correction on the frame timing pulse (FPR) fed from the LT 3 by using frame timing phase difference information supplied from a controller 18, and produces outputs, one being supplied to the LT 3 as a frame timing pulse (FPS) and the other supplied to the A/D converter 13 as a frame timing pulse (FPS') for each channel. A multiframe timing generator (AB-GEN) 17 performs phase correction on the multiframe timing pulse (ABR) fed from the LT 3 by using multiframe timing phase difference information supplied from the controller 18, and produces outputs, one being supplied to the LT 3 as a multiframe timing pulse (ABS) and the other supplied to the A/D converter 13 as a multiframe timing pulse (ABS') for each channel. The controller 18 supplies the frame timing phase difference information to the FP-GEN 16 and the multiframe phase difference information to the AB-GEN 17 in accordance with frame/multiframe timing phase difference information supplied from the multiplexer 6 (Fig. 3). Fig. 3 is a diagram showing the configuration of a multiplexer as used in one embodiment of the invention, wherein the same parts as those shown in Fig. 1 are designated by the same numerals. The multiplexer 6 consists of a demultiplexing unit (DMUX) 21 for demultiplexing a higher-level multiplexed signal, and a multiplexing unit (MUX) 22 for multiplexing lower-level multiplexed signals into a higher-level multiplexed signal. The DMUX 21 demultiplexes the higher-level multiplexed signal and distributes each of the demultiplexed multiframe data (VFR) to the LT 4 together with a clock (MCKR), frame timing pulse (FPR), and multiframe timing pulse (ABR). The MUX 22 sends a clock (MCKS) to the LT 4 and multiplexes data (VFS) from the LT 4 into a higher-level multiplexed signal for transmission to higher-order equipment. A frame phase difference detector (FP-DET) 23 compares a frame timing pulse (MFPS) fed from the MUX 22 with a frame timing pulse (FPS) fed from the LT 4, and produces frame timing phase difference information. A multiframe phase difference detector (AB-DET) 24 compares a multiframe timing pulse (MABS) fed from the MUX 22 with a multiframe timing pulse (ABS) fed from the LT 4, and produces multiframe timing phase difference information. A controller 25 transmits the frame timing phase difference information from the FP-DET 23 and the multiframe timing phase difference information from the AB-DET 24 to the controller 18 (Fig. 2) in the low-order channel interface 2. Thus, the frame phase difference and the multiframe phase difference occurring between the MUX 22 and the LT 4 are detected in the multiplexer 6, and the detected information is transmitted to the low-order channel interface 2, where, based on this information, the phase differences of the frame timing and multiframe timing pulses between the A/D converter 13 and the LT 3 are corrected, compensating for differences in delay time between LT 3 and LT 4 and thus reducing the phase differences of the frame and multiframe signals, respectively, to zero. Fig. 4 shows the timing for the various signals in association with the frame structure. In the example shown, one frame consists of 24 time slots (TS), but this is only illustrative and not restrictive. In the figure, VFS/R indicates frame-structured data for incoming and outgoing lines. TS1 to TS24 are time slots; each TS consists of 8-bit data, b1 to b8, and a 1-bit framing bit (F) is added at the beginning of the frame, so that each frame consists of a total of 193 bits (in 125 µs). FPS/R is a frame timing pulse for incoming and outgoing lines, MFPS is a frame timing pulse output from the multiplexer 6, and MCKS/R is a clock signal for incoming and outgoing lines. Fig. 5 shows the timing of the various signals in association with the multiframe structure. In the example shown, one multiframe consists of 12 frames, but this is only illustrative and not restrictive. In the figure, VFS/R indicates multiframe-structured data for incoming and outgoing lines. F1 to F12 are frames each corresponding to the 193-bit frame illustrated in Fig. 4. ABS is a multiframe timing pulse for incoming lines, MABS is a multiframe timing pulse output from the multiplexer 6, ABR is a multiframe timing pulse for outgoing lines, FPS/R is a frame timing pulse for incoming and outgoing lines, and MCKS/R is a clock signal for incoming and outgoing lines. Fig. 6 is a circuit block diagram showing a configurational example of the frame phase difference detector (or multiframe phase difference detector). These detectors can be easily implemented using relatively simple logic circuits. In the figure, the signals associated with the multiframe phase difference detector 24 are shown in square brackets along with the corresponding signals associated with the frame phase difference detector 23. In the frame phase difference detector 23 or the multiframe phase difference detector 24, the numeral 31 indicates a counter which counts the number of clock pulses (MCKS) or frame timing pulses (MFPS), starting from the pulse position of the frame timing pulse (MFPS) or multiframe timing pulse (MABS) applied at a start signal input (STR) from the MUX 22 and ending at the pulse position of the frame timing pulse (FPS) or multiframe timing pulse (ABS) applied at a stop signal input (STP) from the LT 4. The resulting counter value is latched into a counter value holding latch 32 before transfer to the controller 25. Delay circuits 33 and 34 are provided which delay the frame timing pulse (FPS) or multiframe timing pulse (MFPS) in accordance with the clock (MCKS) or frame timing pulse (MFPS), and which produce a latch timing signal for the counter value holding latch 32 and a reset signal for the counter 31, respectively. In the example shown in Fig. 6, the counter 31 is started by the application of MFPS or MABS, and stopped by the application of FPS or ABS, upon which the counter value is read out. It will be appreciated, however, that the counter value may also be read out by starting the counting upon FPS or ABS and stopping it upon MFPS or MABS. Fig. 7 is a circuit block diagram showing a configurational example of the frame timing generator (multiframe timing generator). These generators also can be easily implemented using relatively simple logic circuits. In the figure, the signals associated with the multiframe timing generator 17 are shown in square brackets along with the corresponding signals associated with the frame timing generator 16. In the frame timing generator 16 or the multiframe timing generator 17, the numeral 41 indicates a data buffer where the phase correction data from the controller 18 is stored. A counter 42 is reset by the frame timing pulse (FPR) or multiframe timing pulse (ABR) applied from the LT 3, and counts the number of clock pulses (MCKR) or frame timing pulses (FPR) by a period equal to the phase correction data written in the data buffer 41. When the counting is completed, a signal is output from a carry signal output (CO) whereby an FPS [ABS] timing generator 44 is driven to generate frame timing pulses (FPS, FPS') or multiframe timing pulses (ABS, ABS'). A delay circuit 43 delays FPR or ABR and supplies the resulting output to the data buffer 41 as a loading signal by which the phase correction data is written into the data buffer 41 immediately after the resetting of the counter 42. At the completion of the counting by the counter 42, the FPS [ABS] timing generator 44 generates the frame timing pulses (FPS, FPS') or the multiframe timing pulses (ABS, ABS'). Figs. 8 and 9 are flowcharts illustrating the operations of the controllers: Fig. 8 for the controller 25 and Fig. 9 for the controller 18. Referring to Fig. 8, when the line termination (LT) is in synchronization and no alarm is issued, the controller 25 reads the frame phase difference data and multiframe phase difference data from the frame phase difference detector 23 and multiframe phase difference detector 24, respectively, and transmits the phase difference data to the controller 18 if the frame phase difference or multiframe phase difference is not zero. Then, after waiting for a prescribed time, the operation returns to the beginning of the control process. The prescribed waiting time is inserted to perform the control in an intermittent manner. Referring to Fig. 9, when the phase difference data is received from the controller 25, the controller 18 writes the frame phase difference data into the frame timing generator 16 and the multiframe phase difference data into the multiframe timing generator 17. In this embodiment, the processing in the controllers 18 and 25 is implemented in software, but since the processing is relatively simple, it can also be easily implemented in hardware using logic circuits. Communication between the controllers 18 and 25 is accomplished, for example, by using overhead bits appended to the data transmitted between the LT 3 and LT 4.

Claims: Frame phase correction method for correcting the phase of data frames at a receiving end for the data transmitted to the receiving end from a transmitting end, comprising the steps of: a) detecting a phase difference (23) between the phase (FPS) of received frames (FPS) and a reference phase (MFPS) at the receiving end (6); and b) transmitting the detected frame phase difference to the transmitting side (2); characterized by c) controlling (16, 18) the phase of frames being formed at the transmitting end (2) in accordance with the frame phase difference supplied from the receiving end (6), whereby phase correction is done without relying on memory storage. Method according to Claim 1, characterized in that a prescribed number of successive frames are grouped together to form a multiframe (F1-F12) and further comprising the steps of: d) detecting a phase difference (24) between the phase of received multiframes (ABS) and a reference phase (MABS) at the receiving end; e) transmitting the detected multiframe phase difference to the transmitting end (2); and f) controlling (17, 18) the phase of multiframes being formed at the transmitting end (2) on the basis of the multiframe phase difference. Method according to Claim 2, characterized in that the frame phase (FPS) and the multiframe phase (ABS) represent the phases of the frames and multiframes, respectively, on incoming lines in a subscriber loop carrier system. Method according to Claim 3, characterized in that the step a) includes the substeps of: starting a first counter (31) by either one of pulses representing said reference phase or said phase of said received frames, and reading a counter value from said first counter (31) in response to receipt of the other one of the pulses representing said reference phase or said phase of said received frames, said counter value providing an indication of said phase difference, and said step c) includes the substeps of: loading said counter value into a second counter (42) by the pulse representing said reference phase, and determining the phase of the frames to be formed in accordance with a count end signal output from said second counter (42). Method according to Claim 3, characterized in that the step d) includes the substep of: starting a counter (31) by either one of pulses representing the reference phase (MABS) or the phase (ABS) of the received multiframes, and reading a counter value from the counter (31) by the other one (ABS, MABS) of the pulses representing the reference phase (MABS) or the phase (ABS) of the received multiframes, the counter value providing an indication of the phase difference, and that step f) includes the substeps of: loading the counter value into a further counter (42) by the pulse representing the reference phase, and determining the phase of the multiframes (F1-F12) to be formed in accordance with a count end signal output from the further counter (42). Frame phase correcting apparatus for correcting the phase of data frames at a receiving end for the data transmitted to the receiving end from a transmitting end, comprising: a) means (23) for detecting a phase difference between the phase (FPS) of received frames and a reference phase (MFPS) at the receiving end; and b) means for transmitting the frame phase difference detected by the frame phase difference detecting means (23, 24) to the transmitting end (28); characterized by c) means (18) for controlling the phase of frames being formed at the transmitting end (2) in accordance with the frame phase difference supplied from the receiving end (6), whereby phase correction is done without relying on memory storage. Apparatus according to Claim 6, characterized in that a prescribed number of successive frames (F1-F2) are grouped together to form a multiframe, further comprising: means (23) for detecting a phase difference between the phase of received multiframes (ABS) and a reference phase (MABS) at the receiving end; means (5) for transmitting the multiframe phase difference detected by the multiframe phase detecting means (24) to the transmitting end (2, 3); and means (18) for controlling the phase of multiframes being formed at the transmitting end (2, 3) on the basis of the multiframe phase difference. Apparatus according to Claim 7, characterized in that the frame phase and the multiframe phase represent the phases of the frames (T1-T24) and multiframes (F1-F12), respectively, on incoming lines in a subscriber loop carrier system. Apparatus according to Claim 8, characterized in that the frame phase difference detecting means (23, 24) includes a first counter (31) which is started by either one of pulses representing the reference phase (MFPS, ABS) or the phase of the received frames (FPS, ABS) and from which a counter value is read out by the other one of the .pulses representing the reference phase or the phase of the received frames, and the frame phase control means (18) includes a second counter (42) into which the counter value is loaded by the pulse representing the reference phase (MFPS, ABS) and which is adapted to output a count end signal, and a frame timing generating means (44) which is adapted to output a pulse to determine the phase of the frames to be formed in accordance with the count end signal. Apparatus according to Claim 9, characterized in that the multiframe phase difference detecting means (24) includes a third counter (31) which is started by either one of pulses representing the reference phase (MABS) or the phase of the received multiframes (ABS), and from which a counter value is read out by the other one of the pulses representing the reference phase or the phase of the received multiframe, and the multiframe phase control means includes (18) a fourth counter (42) into which the counter value is loaded by the pulse representing the reference phase and which is adapted to output a count end signal, and a multiframe timing generating means (44) which is adapted to output a pulse to determine the phase of the multiframes to be formed in accordance with the count end signal.

Inventors: ASANO HIROYUKI, ASANO, HIROYUKI, ASANO, HIROYUKI, C/O FUJITSU LIMITED
Applicants: FUJITSU LTD, FUJITSU LIMITED
Application year: 1994
Main classification: H04J3
IPC codes: H04J3, H04Q11, H04L7