Pulse stuffing apparatus and method

Abstract: When the low order data signals for N number of channels (N: positive integer) differ slightly from each other in bit rate, a pulse stuffing multiplexer apparatus is used in order to carry out multiplexing of these signals. The low order data signal for a single channel is stored into an m-bit memory (5) in accordance with a clock signal obtained by demultiplying the low order clock signal of that channel to 1/m to be read out as the high order data signal by a clock signal obtained by demultiplying a common high order clock signal not lower than all the low order clock signals to 1/m. When the high order data signal is read out from this memory (5), an S-th (S ≦ m) of both clock signals is monitored and, when the phase difference therebetwen falls within predetermined k-bits (k ≦ m), both demultipliers (6,7) are reset at the head position of the next frame for both clock signals to be initialized at a predetermined position. In addition, the numbers of the low order clock and the high order clock are counted for each frame and, when the difference therebetween exceeds one bit, the high order clock signal is suppressed at the trailing end of the frame. If the above processing is made to all the channels, then each channel may be inserted at the corresponding position with an appropriate number of stuffing bits for synchronization so that it becomes possible to readily achieve a multiplexed signal by utilizing a multiplexer.

Description: The present invention relates to a digital data multiplex communication system, particularly to a pulse stuffing multiplex communication system utilizing a stuffing technique. Conventionally, multiplexing of digital signals has been carried out by a time-division multiplex system. If the signals to be multiplexed are asynchronous digital signals, then a pulse stuffing multiplex technique has been utilized. Generally, according to this type of multiplex communication system, the positional relationship between a writing clock and a reading clock for the memory is monitored for each interval of m clock bits at the transmitting side to insert stuffing bits as the phase difference between both clocks is reduced to within predetermined j-bits (j ≦ m). Fig. 1 is a view illustrating an example of an arrangement of a pulse stuffing circuit for a single channel for the above prior art. Here, for the sake of clarifying the description, a case in which a single channel signal of low order data signals is synchronized with a high order frequency is referred to. Low order data signal Ii is entered to m-bit memory circuit 5 from terminal 1 to be stored therein by using a writing clock signal obtained from 1/m frequency demultiplier 6 which demultiplies low order clock signal CLi entered from terminal 2. This data is read out from m-bit memory circuit 5 by using a clock signal obtained by 1/m frequency demultiplier 7 which demultiplies clock signal CL H entered in it. The data is emitted from terminal 4 as high order data signal Hi. By monitoring the phase difference between the S-th (S ≦ m) demultiplied outputs of each of frequency demultipliers 6 and 7, phase comparator 8, when the difference is reduced to within the predetermined j-bits, emits clock control signal 10. While clock control signal 10 is being entered, clock signal control circuit 9 suppresses the clock at the higher order side. Fig. 2 is an example of a timing chart illustrating the relationship between the signals when m = 8 and S = 8. In other words, each bit Ai of low order data signal Ii is sequentially written into eight-bit memory circuit 5 by the -clock from demultiplier 6, which demultiplies low order clock signal CLi to 1/8. On the other hand, high order data signal bit Ai is sequentially read out from eight-bit memory circuit 5 by the clock emitted from frequency demultiplier 7, which demultiplies high order clock signal CL H . When, by monitoring the phase difference between the low and high order data signals, it is found that the phase difference has been reduced within a predetermined interval, phase comparator 8 emits clock control signal 10, and high order clock signal CL H is suppressed. Accordingly, while clock control signal 10 is being emitted, reading of high order data signal Hi is stopped and a corresponding number of stuffing bits is inserted into this vacant data position by a multiplexer circuit (not shown) in the subsequent process. For all other channels, a similar operation is conducted as well, and these high order data signals synchronized for all channels are multiplexed at the multiplexer circuit to be fed out. In the above conventional embodiment, as the difference between the low order frequency and the high order frequency becomes greater, the operating range of the phase difference between the writing and reading clock signals greatly fluctuates. Then, if the phase difference is sampled and monitored at the memory bit cycle, the number of sampling cycles repeated in a single frame of the high order data cannot be an integer. Therefore, the minimum phase difference between the writing clock and the reading clock signals cannot be detected, with the result that the reading clock signal overtakes the writing clock signal. Then, if all the bits are to be monitored, the size of the pulse stuffing circuit becomes large and complicated, thereby increasing the power consumption. EP-A-404268 discloses a circuit for adjusting the bit-rates of two signals and comprising an elastic memory and a shiff decision circuit. A means divides the clock-rates. The shiff decision circuit controls the output of the elastic memory. In view of the above drawbacks inherent to the conventional technique, an object of the present invention is to provide a pulse stuffing apparatus and method which allow a minimum phase difference between the writing and reading clock signals to be detected even if the difference between the low order frequency and the high order frequency becomes great, and thereby prevent the passing between clocks at the writing and reading times. This object is solved with the features of the claims. In consequence, since, according to the present invention, the phase difference between the writing and reading clock signals is initially set to within predetermined k-bits and, during the following operation, an offset between the timings at which the data signal is written and read out can be monitored at a minimum phase interval, it cannot happen that the reading catches up with or overtakes the writing. The stuffing method according to the present invention allows a multiplexed output to be generated by adding a stuffing bit to the entered low order data signal to frame synchronize with a higher bit rate by use of the pulse stuffing apparatus of the invention. The above and other objects, features and advantages of the present invention will become apparent from the following description when taken in conjunction with the accompanying drawings which illustrate a preferred embodiment of the present invention by way of example. Fig.1 is a block diagram illustrating an arrangement of a pulse stuffing circuit for a single channel in a conventional pulse stuffing apparatus; Fig. 2 is a view illustrating an example of a timing chart of each signal in the circuit of Fig. 1; Fig. 3 is a view illustrating an example of the arrangement of a pulse stuffing multiplexing apparatus for low order data of N channels including the pulse stuffing circuit of the invention; and Fig. 4 is a block diagram illustrating the arrangement of the pulse stuffing circuit for a single channel in the apparatus of Fig. 3. A specific embodiment of the pulse stuffing multiplexing apparatus according to the present invention is hereinafter described with reference to Figs. 3 and 4. The pulse stuffing multiplexing apparatus of Fig. 3 is comprised of N (N: positive integer) number of pulse stuffing circuits for each to enter DS3 low order data signals I 1 through I N (frequency of 44.736 Mb/s) from N number of channels and multiplexer 200. Each of low order data signals I 1 through L N is entered to pulse stuffing circuits 100 1 through 100 N in synchronism with low order clock signals CL 1 through CL N , respectively, and is stored there. In this case, low order clock signals CL 1 through CL N differ slightly from each other in frequency. Pulse stuffing circuits 100 1 through 100 N read out the stored low frequency data signal based on high order clock signal CL H of frequency 51.84 mb/s defined at SONET and frame signal F R to generate high order data signals H 1 through H N , respectively. High order data signals H 1 through H N are each in synchronism with high order clock signal CL H . Multiplexer 200 adds the stuffing bits and the frame signals to each of high order data signals H 1 through H N to carry out multiplex processing by using the high order clock signal of frequency (51.84 x N) Mb/s and emits high order multiplexed output signal H M . All of pulse stuffing circuits 100 1 through 100 N have the same arrangement. The arrangement of one of them is described with reference to Fig. 4. Pulse stuffing circuit 100i of the present invention has an arrangement in which reset signal generator 12, two counters 13 and 14 and counter/comparator 15 are added to the above conventional pulse stuffing circuit of Fig. 1. Next, the operation of the present embodiment is hereinafter described. Here, as in the conventional technique, for the sake of simplifying the description, a case in which low order data signal Ii is made synchronous with the frequency of high order clock signal CL H is described. Low order data signal Ii is entered from terminal 1 to m-bit memory circuit 5 to be stored in it by using a writing clock signal obtained by demultiplying low order clock signal CLi entered from terminal 2 by 1/m frequency demultiplier 6. This data signal is read out from m-bit memory circuit 5 by utilizing a reading clock signal obtained by 1/m frequency demultiplier 7 which demultiplies entered high order clock signal CL H to 1/m. The data is emitted from terminal 4 as high order data signal Hi. Phase comparator 8 monitors the demultiplied outputs of the 1/m frequency demultipliers 6 and 7 at intervals of m bits and, when the phase difference therebetween falls within predetermined k bits (k ≦ m), reset instruction signal 16 is emitted. When reset instruction signal 16 is entered, reset signal generator 12 emits reset signal 17 at the head position of the next frame in accordance with frame signal F R entered from terminal 11 to reset 1/m frequency demultipliers 6 and 7 to initialize so that the writing clock is positioned at a position where it is not overtaken by the reading clock. In addition, in determining whether the stuffing bit is to be inserted or not, counters 13 and 14 count low order clock signal CLi and the clock signal from clock signal control circuit 9, respectively, and they repeat the counting each time they are reset by frame signal F R . Count comparator 15 compares the counts of counters 13 and 14 when frame signal F R enters and, if the difference therebetween exceeds one bit, then clock control signal 10 is fed to clock signal control circuit 9, where high order clock signal CL H is suppressed in accordance with clock control signal 10 entered from count comparator 15. In consequence, corresponding to this vacant block, high order data signal Hi read out from m-bit memory circuit 5 generates a vacant bit, and a stuffing bit is inserted at multiplexer circuit 200 (Fig. 3). In accordance with the above operating procedure, each of high order data signals H 1 through H N emitted from pulse stuffing circuits 100 1 through 100 N for all the channels is inserted with the appropriate number of the stuffing bits at multiplexer circuit 200 to be synchronized. Then, all of the high order data signals are multiplexed by utilizing the high order clock of (CL H x N) Mb/s, and are added with frame bits to be emitted as multiplexed signal H M . By arranging the circuits as described above, the writing and the reading positions can always be monitored at the minimum phase intervals, which is equivalent to say that the writing and the reading clocks are compared in phase for each bit, which offers an advantage which can shorten the time interval taken for the steady state to be achieved. Although a specific preferred embodiment of the present invention has been shown and described in detail, it should be understood that various changes and modifications may be made therein without departing from the scope of the appended claims.

Claims: A pulse stuffing circuit for each channel of a pulse stuffing multiplexer apparatus wherein low order data signals for N channels (N: positive integer) are entered and, after stuffing bits are added to the low order data signals in order to synchronize the bit rate of the entered low order data signals with a higher bit rate, these data signals are multiplexed to be emitted, comprising: a first demultiplier (6) for entering a low order clock signal (CLi) synchronizing with the entered low order data signal for a single channel to demultiply the clock signal to 1/m (m: positive integer) in order to generate a writing clock signal; a second demultiplier (7) for entering a high order clock signal (CL H ) having a bit rate not lower than that of the low order clock signal for any channel to demultiply the higher order clock signal to 1/m in order to generate a reading clock signal; an m-bit memory circuit (5) into which said low order data signal is written by the writing clock signal generated by said first demultiplier (6) and from which said low order data signal is read out by the reading clock signal generated by said second demultiplier (7) to be emitted as the high order data signal; a clock signal control circuit (9) for suppressing the high order clock signal entering said second demultiplier when a clock control signal is given to the clock signal control circuit; characterized by: first control means (8,12) for comparing the position of said writing clock signal and the position of said reading clock signal at intervals of m-bits when the high order data signal is read out from said memory circuit, and for resetting said first and second demultipliers at the head position of the next frame when the interval therebetween falls within predetermined k-bits (k ≦ m) to place said writing and reading clock signals in a predetermined positional relationship; and second control means (13 - 15) for comparing the count values of said writing clock signal and said reading clock signals at the time of the last bit of each frame to emit said clock control signal to said clock signal control circuit (9). A pulse stuffing circuit as set forth in Claim 1 wherein said first control means (8,12) comprises a phase comparator (8) for monitoring the S-th (S ≦ m) outputs of said first and second demultipliers to emit a reset instruction signal when the phase difference therebetween falls within said k-bits, and a reset signal generator (12) for emitting a reset signal to said first and second demultipliers at the head position of the next frame in accordance with a separately entered frame signal when said reset instruction signal is entered for resetting. A pulse stuffing circuit as set forth in Claim 1 or 2 wherein said second control means (13-15) comprises a first counter (13) for counting said entered low order clock signal, a second counter (14) for counting the high order clock signal emitted from said clock signal control circuit, and a count comparator (15) for comparing the count values emitted from each of the first and second counters when said frame signal is given and for emitting said clock control signal to said clock signal control circuit (9) when the difference between the count values exceeds one bit. A pulse stuffing circuit as set forth in Claim 2 or 3 wherein said frame signal is generated by a master clock or a network clock. A pulse stuffing circuit as set forth in any of Claims 1 through 3 wherein said first and second control means are each arranged with software. A pulse stuffing method for adding stuffing bits to each of the low order data signals to cause the frame to synchronize with a higher bit rate to conduct a pulse stuffing multiplexing operation on the low order data signals for N-channels comprising steps of: demultiplying the low order clock signal bit synchronizing with the entered low order data signal for a single channel to 1/m to form a writing clock signal for a m-bit memory circuit (5); entering a high order clock signal having a bit rate not lower than that of the low order clock signals of any channel to demultiply the high order clock signal to 1/m to form a reading clock signal for reading out the data from said memory circuit; characterized by: comparing the position of said writing clock signal and the position of said reading clock signal at intervals of m-bits when the data signal is read out from said memory circuit and resetting said first and second demultipliers (6 and 7, resp.) at the head position of the next frame when the interval therebetween becomes no more than predetermined k-bits (k ≦ m) to place said writing clock signal and said reading clock signal in a predetermined positional relationship; and comparing the count values of said writing clock signal and said reading clock signal by their last bit of each frame to suppress the entered high order clock signal when the difference therebetween exceeds one bit.

Inventors: KAMADA YOSHIKI, KAMADA, YOSHIKI
Applicants: NIPPON ELECTRIC CO, NEC CORPORATION
Application year: 1992
Main classification: H04J3
IPC codes: H04J3