1. Field of the Invention
This invention relates to a cell disassembly unit, a cell assembly unit, and a clock reproduction method used for multiplexing a source signal into fixed length cells and transmitting the fixed length cells via a network and, more particularly, to a cell disassembly unit, a cell assembly unit, and a clock reproduction method applied in the case of a source signal having a clock which is asynchronous to a network.
2. Description of the Related Art
When an asynchronous transfer mode (ATM) transmission network is used for transmitting a constant bit rate (CBR) signal, such as audio or video, which is asynchronous to a clock of the transmission network, clock information for the input CBR signal must be incorporated into ATM cells. With the ATM adaptation layer (AAL) type 1 corresponding to transmission of a CBR signal, the synchronous residual time stamp (SRTS) method in which a time stamp called a residual time stamp (RTS) is generated with the frequency of a network synchronization clock as reference and in which the time stamp is incorporated into ATM cells is adopted.
With the AAL type 1, a cell assembly (CLA) at a sending end in an ATM network converts 3,000 or 3,008 bits included in an input CBR signal into the number of clocks of the network synchronization clock, uses four low order bits of the number as an RTS, incorporates each bit of the RTS into odd ATM cells, and sends these ATM cells. A cell disassembly (CLD) at a receiving end separates the RTS from the ATM cells it receives, reproduces time intervals at which the 3,000 or 3,008 bits included in the CBR signal are outputted, and reproduces a clock of the CBR signal on the basis of the time intervals. By doing so, the CBR signal can be outputted with correct timing.
A clock reproduction device for averaging a differential sequence of received RTSes, generating a clock by frequency-dividing a CBR signal clock by N on the basis of an average, and reproducing the CBR signal clock by a phase locked oscillator (PLO) on the basis of the 1/N frequency-divided clock is disclosed as such a conventional unit at an RTS receiving end (see, for example, Japanese Patent Laid-Open Publication No. 10-242979 (paragraph nos. [0016] to [0020] and FIG. 1)). With this clock reproduction device, the characteristics of the PLO are improved by making the frequency of the clock inputted to the PLO high.
By the way, even if a clock of a source signal (i.e. a CBR signal) multiplexed at a sending end is stable at the time of sending/receiving ATM cells by the above SRTS method, an ATM network synchronization clock may become unstable due to, for example, frequency variation. As a result, the value of an RTS generated from the network synchronization clock becomes unstable and the frequency of the clock of the source signal reproduced at a receiving end becomes unstable. In such a case, the following problems, for example, arise. Operation, such as a level conversion, cannot be performed at a stage where the source signal reproduced is outputted. Reproduced video signals, audio signals, and the like do not have required characteristics and output quality deteriorates.
The present invention was made under the background circumstances described above. An object of the present invention is to provide a cell disassembly unit capable of stably reproducing a clock of a source signal multiplexed and transmitted even in the case of a transmission network synchronization clock being unstable.
Another object of the present invention is to provide a cell assembly unit capable of stably reproducing a clock of a source signal at a receiving end even in the case of multiplexing the source signal into cells and transmitting the cells at the time of a transmission network synchronization clock being unstable.
Still another object of the present invention is to provide a clock reproduction method capable of stably reproducing a clock of a source signal multiplexed and transmitted even in the case of a transmission network synchronization clock being unstable.
In order to achieve the first object, there is provided a cell disassembly unit for separating and reproducing a source signal having a clock which is asynchronous to a network from fixed length cells received via the network. The cell disassembly unit comprises: a timing information separation circuit for separating transmission timing information which is obtained by converting transmission timing in each constant period of the clock of the source signal by the use of transmission timing of a synchronization clock of the network from the fixed length cells received; a timing information replacement circuit for averaging differentials between adjacent pieces of transmission timing information sent from the timing information separation circuit every predetermined period and for replacing the transmission timing information on the basis of an average differential; and a clock generation circuit for generating the clock of the source signal on the basis of the replaced transmission timing information.
Further, in order to achieve the second object, there is provided a cell assembly unit for multiplexing a source signal having a clock which is asynchronous to a network used for transmission into fixed length cells and for sending the fixed length cells to the network. The cell assembly unit comprises: a timing information generation circuit for generating transmission timing information which is obtained by converting transmission timing in each constant period of the clock of the source signal by the use of transmission timing of a synchronization clock of the network; a timing information replacement circuit for averaging differentials between adjacent pieces of transmission timing information sent from the timing information generation circuit every predetermined period and for replacing the transmission timing information on the basis of an average differential; and a cell multiplexing circuit for multiplexing the source signal and the transmission timing information replaced into the cells.
Still further, in order to achieve the third object, there is provided a clock reproduction method for receiving fixed length cells into which a source signal is multiplexed via a network and for reproducing a clock of the source signal which is asynchronous to the network, wherein: a timing information separation circuit separates transmission timing information which is obtained by converting transmission timing in each constant period of the clock of the source signal by the use of transmission timing of a synchronization clock of the network from the fixed length cells received; a timing information replacement circuit averages differentials between adjacent pieces of transmission timing information sent from the timing information separation circuit every predetermined period and replaces the transmission timing information on the basis of an average differential; and a clock generation circuit generates the clock of the source signal on the basis of the replaced transmission timing information.
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 preferred embodiments of the present invention by way of example.
Preferred embodiments of the present invention will now be described in detail with reference to the drawings.
A cell disassembly unit 10 shown in
To make it possible to reproduce such a source signal with correct timing at a receiving end, the cell assembly unit 20 generates transmission timing information which is obtained by converting transmission timing in each constant period of the clock of the source signal by the use of transmission timing of the synchronization clock of the network 30, multiplexes the source signal and this transmission timing information into cells, and sends the cells. As a result, the cell disassembly unit 10 at the receiving end reproduces the clock of the source signal on the basis of the transmission timing information. This clock can be used for reproducing the source signal.
With such a system the synchronization clock of the network 30 may become unstable because of, for example, frequency variation. In the case where the synchronization clock of the network 30 is unstable when the cell assembly unit 20 multiplexes the source signal into the cells, the cycle of the transmission timing information generated on the basis of the synchronization clock of the network 30 is not constant. This also applies to the case where the clock of the original source signal is stable. A synchronization signal of the source signal which the cell disassembly unit 10 reproduces on the basis of the unstable transmission timing information also becomes unstable. As a result, the quality of the source signal outputted deteriorates or the source signal cannot be outputted.
To solve these problems, the cell disassembly unit 10 shown in
As shown in
The timing information replacement circuit 12 replaces the transmission timing information separated from the cells on the basis of a value obtained by averaging differentials between adjacent pieces of transmission timing information every predetermined period. As a result, variations in the differentials in the predetermined period are smoothed and the differentials in the predetermined period vary only in the neighborhood of the average of the differentials. Therefore, the value of the transmission timing information increases (or decreases) linearly.
The clock generation circuit 13 generates the clock of the source signal multiplexed into the cells on the basis of the transmission timing information replaced by the timing information replacement circuit 12. The clock generation circuit 13 includes, for example, a PLL circuit for accepting input of a clock the cycle of which is indicated by the replaced transmission timing information and for generating the clock of the source signal. The PLL circuit generates a clock obtained by multiplying a frequency corresponding to the replaced transmission timing information and an integer together, and outputs the clock as the clock of the source signal.
The source signal output circuit 14 outputs the source signal separated from the cells received in synchronization with the clock generated by the clock generation circuit 13. As a result, the source signal is reproduced.
By adopting the cell disassembly unit 10 having the above structure, the timing information replacement circuit 12 stabilizes the transition of the transmission timing information even if the value of the transmission timing information multiplexed into the cells received is unstable. As a result, the clock generation circuit 13 can generate a stable clock. Therefore, even if the synchronization signal of the network 30 is unstable at sending time, the source signal separated from the cells received can stably be reproduced.
The above timing information replacement circuit may be located not at the end where the cells are received but at the end where the cells are sent. To be concrete, in the cell assembly unit 20 at the sending end the timing information replacement circuit replaces the transmission timing information generated on the basis of the synchronization clock of the network 30 and multiplexes the source signal and the replaced transmission timing information into the cells. As a result, even if the synchronization clock of the network 30 is unstable, the transition of the transmission timing information multiplexed into the cells is stabilized. Therefore, the cell disassembly unit 10 at the receiving end can stably reproduce the clock of the source signal.
Embodiments of the present invention will now be described more concretely. In a system which is described in each of the following embodiments as an example and to which the present invention is applied, a source signal which is a video signal, the frequency fs of a clock of which is 143.1818 . . . MHz, and which meets the business digital video standards called “D2” is transmitted via an ATM network which is based on Synchronous Digital Hierarchy (SDH) and the frequency fn of a network synchronization clock of which is 155.52 MHz by the use of cells which meet the AAL Type 1 standards.
A network system shown in
The video output unit 410 outputs the D2 video signal which is a source signal, and is a transmitter, repeater, or the like located in a broadcasting station. The level of the D2 video signal outputted from the video output unit 410 is converted by the level converter 420 so that the D2 video signal can be processed by the ATM unit 200. The D2 video signal is then supplied to the ATM unit 200.
The ATM unit 200 at the sending end includes a cell assembly and disassembly (CLAD) 210 and a relay interface (I/F) 220. The CLAD 210 has at least the CLA function of generating ATM cells from input data. With this system the CLAD 210 generates ATM cells from the digital video signal supplied from the level converter 420 in accordance with the AAL Type 1 standards. The relay I/F 220 has at least the function of an SDH framer 221 which multiplexes the ATM cells generated by the CLAD 210 and which sends the ATM cells to the ATM network 100.
On the other hand, the ATM unit 300 at the receiving end includes a relay I/F 310 and a CLAD 320. The relay I/F 310 has at least the function of an SDH termination section 311 which separates the necessary ATM cells from the signal received from the ATM network 100. The CLAD 320 has at least the CLD function of disassembling the ATM cells separated by the relay I/F 310. With this system the D2 video signal is separated from the ATM cells as a source signal and is outputted.
The level of the D2 video signal outputted from the ATM unit 300 is converted by the level converter 510 so that the D2 video signal will meet standards for transmission to the video receiving unit 520. The D2 video signal is then received by the video receiving unit 520. The video receiving unit 520 uses the D2 video signal transmitted, and is a receiver, a video reproducer, or the like located in a broadcasting station.
As shown in
The SN field is divided into a 1-bit convergence sublayer identifier (CSI) and a 3-bit sequence count (SC). The SNP field is divided into a 3-bit control bias (CB) field and 1-bit even parity (EP). The SC in the SN field shows a count value which indicates the sequence number of an ATM cell and which circulates in the order of 0 to 7 (corresponding to 000 to 111 in the case of using binary numbers). The SC is used for checking the order of a cell. The SNP field has the function of detecting and correcting an error in the SN.
The CSI bit is used for transmitting and reproducing timing information regarding a clock of a source signal in the SRTS method, that is to say, an RTS. As shown in
With the above ATM cell user data is transmitted by the use of the 47-byte information field. Accordingly, the number of bits included in user data corresponding to eight cells is 3,008 (8 cells×47 bytes×8 bits).
The CLAD 210 at the sending end has a general structure which has traditionally been used. As shown in
The cell assembly circuit 211 generates ATM cells from the D2 video signal inputted. As stated above, the cell assembly circuit 211 incorporates an RTS sent from the latch circuit 214 into ATM cells and outputs the RTS. The frequency divider 212 frequency-divides a clock (hereinafter referred to as the source clock) of the input video signal, which is a source signal, by 3,008 that is the block length (count of source clocks) of the video signal corresponding to an RTS generation interval.
The counter 213 is a 4-bit counter for counting reference frequencies fnx (fn/2 in this example) obtained from a synchronization clock (hereinafter referred to as the network synchronization clock) of the ATM network 100. The counter 213 supplies a count value synchronized with the network synchronization clock to the latch circuit 214. The latch circuit 214 latches the count value supplied from the counter 213 on the basis of a frequency division clock of the frequency divider 212. The latch circuit 214 generates RTSes obtained by converting transmission time per block length (3,008 bits) of video signal by the use of a clock the reference frequency of which is fnx. The cell assembly circuit 211 multiplexes the input video signal and the RTSes into the ATM cells.
The ATM unit 200 at the sending end multiplexes the RTSes into the ATM cells in the above way. As a result, the ATM unit 300 at the receiving end can reproduce the source clock on the basis of the RTSes and output the transmitted video signal with correct timing in synchronization with the source clock. The ATM unit 300 at the receiving end can derive the frequency of the source clock on the basis of the difference between adjacent RTSes.
The difference between adjacent RTSes at the sending end is given by the following equation (1) and the frequency of the source clock can be calculated at the receiving end by using equation (2).
where Y is the difference between adjacent RTSes, fnx_cla and fnx_cld are reference frequencies obtained from the network synchronization clock at the sending end and the receiving end respectively, fs_cla is the frequency of the source clock of the input video signal at the sending end, fs_cld is the frequency of the source clock of the output video signal at the receiving end, and the value of the coefficient X is 204.
However, if the reference frequency fnx_cla obtained from the network synchronization clock becomes unstable at the sending end, the RTSes generated make transition, that is to say, the difference Y between adjacent RTSes becomes unstable even though the frequency fs_cla of the source clock is stable. In this case, the frequency fs_cld of the source clock reproduced at the receiving end also becomes unstable. As a result, the quality of the video signal reproduced deteriorates. In addition, there is a possibility that the level converter 510 cannot receive data. To avoid such situations in this embodiment, the CLAD 320 at the receiving end includes an RTS replacement circuit by which the transition of the RTS is stabilized and by which the source clock can stably be reproduced. This is shown in
As shown in
The cell disassembly circuit 321 extracts the source signal or the video signal from the ATM cells received via the ATM network 100. The cell disassembly circuit 321 includes a cell delay variation (CDV) absorption buffer 321a. The cell disassembly circuit 321 stores the received ATM cells once in the CDV absorption buffer 321a to absorb variations in cell delays. The cell disassembly circuit 321 outputs the video signal by the use of a reproduced clock outputted from the PLL 328. In addition, the cell disassembly circuit 321 separates the RTS from the received ATM cells and supplies the RTS to the RTS replacement circuit 322.
The RTS replacement circuit 322 receives the RTS separated, replaces the value of the RTS so as to stabilize transition in predetermined time, and outputs the RTS. As described later, the RTS replacement circuit 322 replaces differentials between adjacent RTSes every predetermined time to smooth the transition (change) of the differentials between the adjacent RTSes, and recalculates the RTSes on the basis of the replaced differentials. By doing so, the transition of the RTS is stabilized.
The RTS buffer 323 temporarily stores the replaced RTS and outputs the RTS to the comparison circuit 326 in synchronization with the timing with which the gate circuit 327 outputs a signal. The counter 324 is a 4-bit counter for counting the number of clocks which are obtained from the network synchronization clock of the ATM network 100 and the reference frequency of which is fnx, and supplies a count value to the comparison circuit 326. The counter 325 counts the number of the clocks the reference frequency of which is fnx in a cycle of 5,220 (error of 8 is allowed in this conversion) obtained by converting a transmission cycle per block length (3,008 bits in this example) of source signal by the use of the reference frequency fnx and determines a cycle in which the RTSes are reproduced.
The comparison circuit 326 compares the value of the RTS outputted from the RTS buffer 323 with a count value of the counter 324. When these values match, the comparison circuit 326 outputs a pulse. The gate circuit 327 inhibits the result of the comparison made by the comparison circuit 326 until a count value of the counter 325 become zero. The gate circuit 327 reproduces RTS transmission timing, that is to say, signal timing obtained by dividing the frequency of the clock of the source signal by 3,008. The PLL 328 reproduces the source clock on the basis of the signal outputted from the gate circuit 327. The source signal (video signal) is reproduced from the CDV absorption buffer 321a of the cell disassembly circuit 321 in synchronization with the source clock reproduced.
A replacement process performed by the RTS replacement circuit 322 will now be described by giving two examples. In one example, a conversion table of RTS differentials is used. In the other example, RTS differentials are replaced by operations.
In
The following equation (3) holds.
where N is the number of times an RTS reaches in the replacement cycle, Rav is the average of differentials of N RTSes, and R(n) is a differential of an RTS which reaches the nth time in the replacement cycle.
On the basis of equation (3), the RTS differentials in the replacement cycle are divided once into the quotient “x” and the remainder “y” included in equation (3), the remainder “y” is divided into the smallest units, and an array in which the smallest units scatter in the replacement cycle is extracted from the conversion table. The extracted array is added to an array of the quotient “x”. By doing so, new stabilized RTS differentials are generated. The quotient “x” corresponds to an integral portion of the average of the N RTS differentials and the remainder “y” corresponds to a value at the first decimal place of the average (value at the second decimal place is raised to a unit).
As shown in
In the example shown in
In
where Rav(n) is a differential of an nth RTS (value after the replacement) in a replacement cycle and rounddown (A/B) indicates an integral portion obtained by omitting the decimal fraction after the decimal point of the quotient of (A/B). In equation (4), an array of added values to be added to an array of the quotient “x” is obtained by the second and third terms of the right side. In the example shown in
As stated above, the RTS replacement circuit 322 replaces the values of every N RTSes separated from the received ATM cells so that they will change more linearly. The RTSes after the replacement are stored in the RTS buffer 323 and time intervals indicated by the RTSes are reproduced by the comparison circuit 326 and the gate circuit 327 on the basis of the reference frequency fnx. The RTSes are stabilized, so intervals between signals outputted from the gate circuit 327 are approximately constant. As a result, the PLL 328 can stably reproduce the source clock. The CDV absorption buffer 321a of the cell disassembly circuit 321 outputs the source signal in synchronization with the source clock outputted from the PLL 328. Accordingly, the source signal is reproduced with correct timing and the quality of the source signal reproduced is improved.
By the way, it is known that the frequency of the network synchronization clock of the ATM network 100 periodically varies. RTS differentials also vary periodically and significantly according to the frequency variations. In the example shown in
In the above first embodiment of the present invention, the RTSes separated from the ATM cells are replaced at the receiving end of the ATM cells so that they will make a stable transition. However, such a replacement process may be performed at the sending end of the ATM cells. By doing so, the same effect, that is to say, the effect of stabilizing the source clock reproduced at the receiving end can be obtained.
A CLAD 210a shown in
Of the above methods for performing an RTS replacement process, the method in which values used for replacing RTSes are calculated by performing operations by the use of equation (4) is shown in
As a result of the process performed by the RTS replacement circuit 215, the range of variations in every N (N=10 in this example) RTS differentials is minimized and points where the variations occur are dispersed. In the example shown in
A CLAD 320a shown in
As is the same with the first embodiment, it is desirable that a replacement cycle in which the CLAD 210a at the sending end performs the RTS replacement process should be longer than or equal to a cycle in which the RTS differentials vary. As a result, the CLAD 320a at the receiving end can always reproduce a high-quality source signal from the received ATM cells regardless of variations in the network synchronization clock.
A network synchronization clock may become unstable in a CLAD at a sending end. The occurrence of switching of a network synchronization clock which the CLAD receives is supposed to be a factor in this phenomenon. In the network system shown in
A CLAD 210b shown in
Usually an RTS replacement circuit 215 outputs RTSes generated by a latch circuit 214 to a cell assembly circuit 211 without replacing them. If the clock switching determination circuit 216 determines the occurrence of switching, then the RTS replacement circuit 215 performs replacement to stabilize the transition of RTSes outputted from the latch circuit 214 during, for example, a certain period after the determination made by the clock switching determination circuit 216. The RTS replacement circuit 215 then outputs the replaced RTSes to the cell assembly circuit 211. There is a case where the clock switching determination circuit 216 has the function of determining that the network synchronization clock is normally received again after the switching. In this case, the following method may be adopted. The RTS replacement circuit 215 begins an RTS replacement process. When the clock switching determination circuit 216 determines that the network synchronization clock is normally received, the RTS replacement circuit 215 receives notice to that effect, stops the RTS replacement process, and transmits RTSes without replacing them.
By performing the above process, a CLAD at the receiving end can stably reproduce a source clock. If the RTS replacement circuit 215 replaces the RTSes, the response characteristics of source clock reproduction operation deteriorate at the receiving end by a period corresponding to a replacement cycle. In this embodiment, however, the RTS replacement circuit 215 replaces the RTSes only during a period in which the network synchronization clock is in an unstable state, so the period by which the response characteristics deteriorate can be minimized.
The following method may be used in place of replacing the RTSes at the sending end. Information indicative of timing at which switching of the network synchronization clock occurs is recorded in predetermined areas of ATM cells and is sent. The CLAD at the receiving end replaces received RTSes according to this information and reproduces the source clock on the basis of the replaced RTSes. (Fourth Embodiment) As stated above, the frequency of the network synchronization clock of the ATM network 100 may periodically vary. RTSes also vary periodically according to a variation cycle of the frequency of the network synchronization clock of the ATM network 100. Accordingly, when replacement is performed in order to stabilize the transition of the RTSes, a replacement cycle should be made longer than or equal to a cycle in which the RTSes vary. By doing so, a source clock can stably be reproduced at a receiving end regardless of variations in the network synchronization clock.
However, if the cycle in which the RTSes are replaced is made long in order to stabilize the transition of the RTSes, the response characteristics of the source clock reproduction operation deteriorate. Therefore, it is desirable that the cycle in which the RTSes are replaced should be longer than or equal to the cycle in which the RTSes vary and that the cycle in which the RTSes are replaced should be made as short as possible. Accordingly, in the following fourth embodiment the function of measuring a varying frequency of the network synchronization clock and setting a proper replacement cycle which meets the above condition according to the frequency is given to a CLAD at a receiving end.
A CLAD 320b shown in
As shown in
Each of the measuring units 90a through 90c includes a 1/M frequency divider 91, an fnx measuring counter 92, a latch circuit 93, a cycle comparator 94, an fns measuring counter 95, and a latch circuit 96.
The 1/M frequency divider 91 outputs a frequency-divided clock obtained by frequency-dividing the clock which is obtained from the network synchronization clock and the reference frequency of which is fnx by M. Basically, the frequency division ratio M is 3,008 which is the block length of a source signal corresponding to an RTS generation interval. However, accuracy with which the reference frequency fnx is measured depends on the frequency division ratio M. Accordingly, different frequency division ratios M are used in the measuring units 90a through 90c. For example, values obtained by 3,008 multiplied by the same number or values obtained by 3,008 divided by the same number are used as the different frequency division ratios M. By doing so, measurement accuracy is improved.
The fnx measuring counter 92 counts the number of the reference clocks which are outputted from the oscillator 329a and the frequency of which is fb, and resets a count value at the time of receiving the frequency-divided clock outputted from the 1/M frequency divider 91. The latch circuit 93 latches the count value just before the resetting of the fnx measuring counter 92. This count value is a value obtained by converting the frequency of the frequency-divided clock by the use of the reference clock the frequency of which is fb.
The cycle comparator 94 uses the following inequalities (5) and (6) for detecting a time interval between varying cycles on the basis of the value outputted from the latch circuit 93.
Cnx(m)>Cnx(m−1)≧Cnx(m−2)≧ . . . ≧Cnx(m−p) (5)
Cnx(m)>Cnx(m+1)≧Cnx(m+2)≧ . . . ≧Cnx(m+p) (6)
where Cnx is the value outputted from the latch circuit 93, m is the number of times 1/M frequency divider 91 makes 1/M frequency division, and p is the number of comparison stages.
If p values outputted from the latch circuit 93 satisfy, for example, the above inequality (5) and the subsequent p values outputted from the latch circuit 93 satisfy inequality (6), then the cycle comparator 94 outputs a pulse to the fns measuring counter 95. If p=1, then inequality (5) is expressed as Cnx(m)>Cnx(m−1). If p=1, then inequality (6) is expressed as Cnx(m)>Cnx(m+1).
The fns measuring counter 95 counts the number of the reference clocks which are outputted from the oscillator 329a and the frequency of which is fb, and resets a count value at timing at which the cycle comparator 94 outputs the pulse. The latch circuit 96 latches the count value just before the resetting of the fns measuring counter 95 and outputs the value to the output circuit 97.
As has been described, the 1/M frequency dividers 91 included in the measuring units 90a through 90c use the different frequency division ratios M for making frequency division. Measured values of the varying frequency (values outputted from the latch circuits 96) corresponding to the frequency division ratios M are outputted from the measuring units 90a through 90c. The output circuit 97 selects a value that is the smallest of these measured values, and outputs it as the varying frequency fns.
In the example shown in
Descriptions will now be reverted to
A braced portion to the left of a sign of inequality of inequality (7) indicates the number of times an RTS reaches in a varying cycle of the network synchronization clock. A portion to the right of the sign of inequality of inequality (7) indicates a cycle in which RTS differential variations appear in an RTS array including N RTSes. By using inequality (7), a replacement cycle that is longer than or equal to a cycle in which the network synchronization clock varies and that is the smallest possible value can be set.
It is assumed that the varying frequency fns is 2.600 Hz. r=1 and N=20 are calculated from inequality (7). In
On the other hand, in the case of N=10, as shown in the middle of
As has been described, in this embodiment the varying frequency fns of the network synchronization clock is measured properly. An RTS replacement cycle is changed according to measurement time so that it will be most suitable. By doing so, the source clock can always be reproduced stably regardless of variations in the network synchronization clock. As a result, the quality of the source signal reproduced can be improved. In addition, by optimizing a replacement cycle, deterioration in the response characteristics of source clock reproduction operation can be minimized.
A technique other than the above varying frequency measuring circuit 329 may be used for performing a function for detecting the stability of the network synchronization clock. An RTS replacement cycle is optimized according to the result of the detection. By doing so, the source clock can always be reproduced stably in spite of various factors in the unstableness of the network synchronization clock.
In a network system shown in
The video signals V1 and V2 sent from the ATM units 201 and 202, respectively, are switched by a relay on the ATM network 100 (or a relay included in the ATM unit 201 or 202) or the like and are supplied to an ATM unit 300 at a receiving end. When the signals sent from the ATM units 201 and 202 are switched, a phase deviation, a change in frequency, or the like may occur in source clocks of the multiplexed source signals (video signals).
In addition, lowering the cutoff frequency of a loop filter in a PLL of the ATM unit 300 at the receiving end is effective especially in stably reproducing the source clocks of the video signals or the like. However, if the cutoff frequency of the loop filter is lowered, it is difficult to track an input signal in the PLL. Accordingly, if switching between the source clocks, for example, occurs in the above way, it is difficult to reproduce a source clock.
A CLAD 320c shown in
Usually the RTS replacement circuit 322 performs the above process to replace RTSes separated by a cell disassembly circuit 321 in a predetermined replacement cycle. This replacement cycle is set to a value greater than or equal to a cycle in which a network synchronization clock varies. When the RTS replacement circuit 322 receives the determination signal indicative of the switching between the source clocks from the buffer monitoring circuit 331, the RTS replacement circuit 322 temporarily shortens the replacement cycle and then returns the replacement cycle gradually to the original length. Until the buffer monitoring circuit 331 informs the RTS replacement circuit 322 that the amount of data stored in the CDV absorption buffer 321a has recovered, the replacement cycle may remain short.
In
The receiving of the video signal V2 after the switching is then begun. At the timing T22 when the amount of data stored in the CDV absorption buffer 321a reaches a predetermined threshold, the buffer monitoring circuit 331 exercises controls to begin sending data again from the CDV absorption buffer 321a. The set value of N in the RTS replacement circuit 322 is gradually increased from timing T21 to timing T22. At timing T22 when the sending of, for example, the video signal V2 is begun, the value of N returns to 20.
Even if the cutoff frequency of the loop filter in the PLL 328 is comparatively high, the source clock can always be reproduced stably by performing the above process. Usually one video signal such as V1 or V2 is continuously received. At this time the replacement cycle in the RTS replacement circuit 322 is lengthened. Replacement is performed so that RTSes will always make stable transitions. Therefore, even if the cutoff frequency of the loop filter included in the PLL 328 is high, a stable source clock including only a small number of jitters can be reproduced and deterioration in the quality of a video signal reproduced can be prevented.
If a source clock is switched because of, for example, the replacement of an ATM unit at an sending end, the buffer monitoring circuit 331 detects this switching and shortens the RTS replacement cycle. At this time an input clock cycle varies in the PLL 328 in a cycle which is shorter than a normal cycle. However, the use of a loop filter the cutoff frequency of which is high makes it easy to track an input clock. Accordingly, even after the source clock is switched, a stable source clock can be reproduced in a short period of time. After that, the source clock is reproduced on the basis of RTSes replaced again in a long cycle, and a source signal can be reproduced correctly.
In the above fifth embodiment, the buffer monitoring circuit 331 monitors the occurrence of an underflow in the CDV absorption buffer 321a and detects the switching between the source clocks. However, another detection method may be adopted. For example, the switching between the source clocks is detected by a switching notice signal sent from a unit at a sending end, a switching unit, or the like.
With the cell disassembly unit according to the present invention, transmission timing information separated from cells received is replaced on the basis of a value obtained by averaging differentials between adjacent pieces of transmission timing information every predetermined period. As a result, variations in the transmission timing information are suppressed. A clock of a source signal multiplexed into the cells is generated on the basis of the transmission timing information. Therefore, even if the transmission timing information is generated at an end from which the cells are sent on the basis of an unstable network synchronization clock, the clock of the source signal can stably be reproduced from the cells received.
In addition, with the cell assembly unit according to the present invention transmission timing information generated is replaced on the basis of a value obtained by averaging differentials between adjacent pieces of transmission timing information every predetermined period. As a result, variations in the transmission timing information are suppressed. The transmission timing information is multiplexed into cells. A clock of a source signal multiplexed into the cells is generated at an end at which the cells are received on the basis of the transmission timing information in which variations are suppressed. Therefore, even if the transmission timing information is generated on the basis of an unstable network synchronization clock, the clock of the source signal can stably be reproduced from the cells at the receiving end.
The foregoing is considered as illustrative only of the principles of the present invention. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and applications shown and described, and accordingly, all suitable modifications and equivalents may be regarded as falling within the scope of the invention in the appended claims and their equivalents.
This application is a continuing application, filed under 35U.S.C. §111(a), of International Application PCT/JP2005/005424, filed Mar. 24, 2005.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/JP05/05424 | Mar 2005 | US |
Child | 11902130 | Sep 2007 | US |