WO2003067806A1 - Procede et circuit de synchronisation de trame de donnees de transmission - Google Patents

Procede et circuit de synchronisation de trame de donnees de transmission Download PDF

Info

Publication number
WO2003067806A1
WO2003067806A1 PCT/JP2003/000983 JP0300983W WO03067806A1 WO 2003067806 A1 WO2003067806 A1 WO 2003067806A1 JP 0300983 W JP0300983 W JP 0300983W WO 03067806 A1 WO03067806 A1 WO 03067806A1
Authority
WO
WIPO (PCT)
Prior art keywords
synchronization
frame
transmission data
stage number
counter
Prior art date
Application number
PCT/JP2003/000983
Other languages
English (en)
French (fr)
Inventor
Kenji Tsuzuki
Original Assignee
Nec Corporation
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nec Corporation filed Critical Nec Corporation
Priority to DE60321663T priority Critical patent/DE60321663D1/de
Priority to EP03737452A priority patent/EP1480370B1/en
Publication of WO2003067806A1 publication Critical patent/WO2003067806A1/ja
Priority to NO20043690A priority patent/NO334476B1/no

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0602Systems characterised by the synchronising information used
    • H04J3/0605Special codes used as synchronising signal
    • H04J3/0608Detectors therefor, e.g. correlators, state machines

Definitions

  • the present invention relates to a method and a circuit for establishing frame synchronization of transmission data in a digital transmission system.
  • FIG. 1 is a block diagram showing a configuration of a conventional transmission data frame synchronization circuit.
  • the transmission data frame synchronization circuit includes a CPU protection stage number setting unit 10, a SYNC detection unit 20, a front protection stage number processing unit 30, a rear protection stage number processing unit 40, a synchronization state signal generation unit 50, and a data output position determination unit 60. It is configured.
  • the CPU protection stage number setting unit 10 determines a front protection stage number setting value F—REG and a rear protection stage number setting value R—REG.
  • Forward protection stage number setting value F—REG is the value obtained by subtracting 1 from the front protection stage number. For example, if the number of front protection steps is 3, the front protection step number setting value F—REG will be 2.
  • the rear protection stage number setting value R-REG is a value obtained by subtracting 1 from the rear protection stage number.
  • the SYNC detector 20 detects a synchronization bit SYNC in the transmission data.
  • the sync bit SYNC is set to “LJ level” by one bit in each frame.
  • the SYNC detector 20 detects the sync bit SYNC, and outputs the sync bit signal SYNC 1 indicating the sync bit position of the current frame and the frame.
  • the synchronization bit signal SYNCX indicating the synchronization bit position at the time when the synchronization is determined is output, and the synchronization bit signals S YNCX and S YNC 1 are signals in which the synchronization bit position is at “H” level.
  • the MF reference power counter value is a value obtained by setting the first frame start signal as a trigger when the system is started and counting one frame at the rising edge of the internal operation clock signal CLK.
  • the SYNC detection unit 20 holds the MF reference force counter value at the position corresponding to the synchronization bit SYNC in synchronization with the clock signal CLK, and outputs the held value to the data output position determination unit 60 as a SYNC confirmation position counter value. .
  • the SYNC detector 20 detects the first frame, That is, the SYNC check position counter value held in the frame in which the frame synchronization state signal CHS YNCP described later changes from “HI” to “HJ” is maintained until the frame becomes asynchronous.
  • the forward protection stage number processing unit 30 outputs an asynchronous confirmation pulse when the synchronization bit SYNC is not detected by the number of forward protection stages during frame synchronization.
  • a NAND circuit hereinafter, referred to as NAND
  • NAND outputs a NAND of the synchronization bit signals S YNCX and S YNC 1 to obtain a synchronization bit of the current frame.
  • HJ signal MISS SYNC is output.
  • NAND 32 is the logical AND of the sync bit signal SYNCX and the logical AND of the sync bit signal SYNC 1 and the sync bit position of the current frame and the sync bit position at the time when the sync is determined match. Outputs the signal HIT SYNC that is valid for
  • a logical product circuit (hereinafter referred to as AND) 33 performs a logical product of the signal MIS SYNC and the frame synchronization state signal CH SYNC P.
  • the AND 33 outputs a signal that becomes HJ when the frame synchronization state is established and the synchronization bit position of the current frame does not match the synchronization bit position when the synchronization is determined.
  • NAND 34 performs the NAND operation of the signal obtained by logically inverting the signal HIT SYNC and the frame synchronization status signal CH SYNCP, and is in the asynchronous state and when the synchronization bit position and synchronization of the current frame are determined.
  • the signal “HJ is output as the load signal for the initial value setting of the counter 35.
  • the counter 35 captures the initial value “0J” input to the input terminal DIN.
  • the enable signal EN is “ ⁇ ”
  • the counter 35 synchronizes with the clock signal CL ⁇ . And increment the counter value by 1 and output this counter value from the output terminal DO.
  • the adder 36 outputs a value obtained by adding 1 to the forward protection stage number setting value F-REG.
  • the exclusive OR circuit (hereinafter referred to as ExOR) 37 calculates the exclusive OR of the output value of the counter 35 and the output value of the adder 36. Outputs a level asynchronous decision pulse. For example, when the forward protection stage number setting value F—REG is 2, that is, when the number of forward protection stages is 3, during the frame synchronization, the synchronization bit position of the current frame and the synchronization bit position at the time of synchronization confirmation are determined. If a mismatch occurs, the counter value of the counter 35 is incremented by one for each frame, such as 0 ⁇ 1 ⁇ 2 ⁇ 3, by the enable signal EN output from the AND 33.
  • the synchronization state signal generation unit 50 composed of the RS flip-flop enters the reset state, and sets the frame synchronization state signal CHSYNCP indicating whether or not the frame synchronization state is “L” to “L”. Level, set the frame synchronization status signal CHSY NCN to “HJ level”.
  • the frame synchronization state signal CHSYNCP is “active at the HJ level, that is, indicates the frame synchronization state.
  • the frame synchronization state signal CHS YN CN is a signal obtained by logically inverting the CH S YN CP. ”Level indicates frame synchronization.
  • the backward protection stage number processing unit 40 outputs a synchronization determination pulse when the synchronization bit SYNC is detected for the number of frames of the backward protection stage during frame asynchronous.
  • the NA ND 41 like the NAND3 ⁇ of the front protection stage number processing unit 30, ⁇ when the synchronization bit position of the current frame and the synchronization bit position at the time of synchronization determination do not match. Yes Signal MISS SYNC is output.
  • the AND 42 calculates the logical product of the synchronization bit signal SYNC 1 and the frame synchronization state signal CHSYNCN.
  • the counter 44 takes in an initial value “0” when the load signal is “ ⁇ ”, and outputs the clock signal CLK when the enable signal EN is “HJ”. Synchronously, the counter value is incremented by 1.
  • the adder 45 outputs the value obtained by adding 1 to the rear protection stage number setting value R—REG.
  • the Ex OR 46 outputs the output value of the counter 44 and the value of the adder 45. Performs an exclusive OR operation on the output values and outputs an “L” level synchronization confirmation pulse when the two output values match.
  • the counter 44 of the counter 44 is output by the enable signal EN output from AND42.
  • the counter value is counted up from 0 to 1. Then, since the output value of the counter 44 and the output value of the adder 45 match, a synchronization determination pulse is output from the ExOR 46.
  • the synchronization state signal generation unit 50 enters the set state, and sets the frame synchronization state signal CHS YNCP to “ ⁇ ” level and the frame synchronization state signal CHS YNCN to “S”.
  • LJ level Since the frame synchronization status signal C HSYNCN goes to ⁇
  • the data output position determination unit 60 selects an output position of transmission data using the SYNC confirmation position counter value output from the SYNC detection unit 20, and performs transmission data output control during frame synchronization. That is, when the frame synchronization state signal CHS YNCN becomes “LJ and enters the frame synchronization state”, the data output position determination unit 60 determines the position of the synchronization bit SYNC indicated by the SYNC confirmation position counter value as the head position of the input data. Data output is started in synchronization with the clock signals C and K from the data at the head position.
  • the concept of the number of protection stages processing is conventionally used for confirming the frame synchronization of transmission data. From frame asynchronous state to frame synchronous decision Uses the forward protection stage number processing unit 40, and uses the forward protection stage number processing unit 30 from the frame synchronization state to the frame asynchronous determination, so that the forward protection stage number setting value F_REG set by the CPU protection stage number setting unit 10 is used. Also, the operation conforms to the set value of the number of rear protection stages R-REG.
  • the data output position determination unit 60 determines the head position, and the transmission data is sequentially output from the data at the head position, so that the data processing after the synchronization is determined. Is performed.
  • the output of the transmission data is stopped by the data output position determination unit 60 when the frame asynchronism is determined.
  • CPU protection stage number setting unit ⁇ 0 sets the front protection stage number setting value F—REG to its minimum value 0, that is, the front protection stage number is ⁇ , and the rear protection stage number setting value R—REG sets its minimum value 0, that is, the rear protection stage number 1
  • F—REG front protection stage number setting value
  • R—REG rear protection stage number setting value
  • a state occurs in which the synchronization bit position of the current frame does not match the synchronization bit position at the time of synchronization establishment during frame synchronization, and a pseudo synchronization state is established. Even if the synchronization bit position and the synchronization bit position one frame before match each other, the frame becomes asynchronous without establishing the frame synchronization. The reason is that if the synchronization bit position of the current frame and the synchronization bit position at the time of synchronization confirmation do not match, the counter value of the counter 35 of the forward protection stage number processing unit 30 becomes 1 for each frame. This is because they count up each time.
  • the counter 35 Until the output value of the adder 36 matches the output value of the adder 36, the transmission of data is continued assuming that the frame is in the synchronized state. There was a possibility that erroneous data transfer was performed during the frame section.
  • An object of the present invention is to maintain a frame synchronization state to avoid data output stop when a state in which synchronization can be established after a pseudo synchronization state occurs, and to prevent transmission data error in a pseudo synchronization state.
  • An object of the present invention is to provide a transmission data frame synchronization method capable of suppressing the occurrence of the transmission data frame.
  • Another object of the present invention is to maintain a frame synchronization state to avoid a stop of data output when a state in which synchronization can be established after a pseudo synchronization state occurs, and to transmit data in a pseudo synchronization state.
  • An object of the present invention is to provide a transmission data frame synchronization circuit capable of suppressing occurrence of an error.
  • a first object of the present invention is to maintain a position of synchronization information indicating a frame delimiter for each frame, and to count a number of frames in which synchronization information is detected during frame asynchronization to obtain a first count value. Establishing the frame synchronization when the first count value reaches the preset first backward protection stage number, and determining the position of the synchronization information during the frame synchronization with the position of the synchronization information one frame before.
  • the number of frames for which synchronization information is detected is counted as a second count value, and when the second count value reaches a preset second number of backward protection stages, Establishing the frame synchronization, counting the number of frames in which the position of the synchronization information does not match the position of the synchronization information one frame before during the frame synchronization, and forming a third count value.
  • the set number of forward protection stages is reached Establishes frame asynchronization when the frame is synchronized, and clears the third count value when the position of the synchronization information matches the position of the synchronization information one frame before after a pseudo-synchronization state occurs during frame synchronization.
  • a second object of the present invention is to provide a detection unit that holds a position g of synchronization information indicating a frame delimiter for each frame, and a first counting unit that counts the number of frames in which synchronization information is detected during frame asynchronous. When a first count value reaches a preset first number of backward protection stages, a synchronization determination pulse is output.Furthermore, during frame synchronization, the position of the synchronization information is one frame before the synchronization information.
  • the number of frames in which the synchronization information is detected is counted and used as a second count value, and the second count value is set to a predetermined second backward protection stage number.
  • a third protection stage number processing section that outputs a synchronization determination pulse when the number of frames reaches the third synchronization count by counting the number of frames in which the position of the synchronization information does not match the position of the synchronization information one frame before during frame synchronization.
  • Numerical values, and the third count value is When the specified number of forward protection stages is reached, an asynchronous confirmation pulse is output, and when the position of the synchronization information matches the position of the synchronization information one frame before after a pseudo-synchronous state occurs during frame synchronization
  • a transmission data frame synchronization circuit having: a first protection stage number processing unit for clearing the third count value; That is, the transmission frame synchronization method of the present invention uses the forward protection stage number process used for the purpose of transitioning from the transmission frame asynchronous state to the frame synchronization state in the forward protection stage number process used for the purpose of maintaining the transmission frame synchronization. This enables frame synchronization to be maintained and accurate transmission data processing.
  • the backward protection stage number processing unit which has conventionally operated only during frame asynchronous operation to determine frame synchronization, and conventionally only operates during frame synchronization to execute asynchronous determination.
  • the operation of these processing units was improved by using the front protection stage number processing unit, which was previously used, and when synchronization was detected during frame synchronization and while the front protection stage number processing unit was operating, Independently, the rear protection stage number processing unit is activated to switch the output transmission data while maintaining frame synchronization.
  • the transmission data frame synchronization circuit of the present invention uses the conventional concept of the number of protection stages, in which the state of input transmission data is determined based on the number of consecutive detections of synchronization bits, thereby more accurately transmitting transmission data during frame synchronization. And stable processing can be realized.
  • the transmission data frame synchronization circuit of the present invention can be easily realized from the viewpoint of the circuit scale because it can be configured by incorporating a small number of circuits into the conventional transmission data frame synchronization circuit. n ffii ⁇ sun moon
  • FIG. 1 is a block diagram showing a configuration of a conventional transmission data frame synchronization circuit.
  • FIG. 2 is a block diagram showing a configuration of a transmission data frame synchronization circuit according to a preferred embodiment of the present invention.
  • FIG. 3 is a block diagram showing a detailed configuration of the transmission data frame synchronization circuit shown in FIG.
  • FIG. 4 is a timing chart showing the operation of the circuit shown in FIG. 1 and the operation of the circuit shown in FIG. 3 in comparison.
  • FIG. 5 is a timing chart showing the operation of the circuit shown in FIG. 1 and the circuit shown in FIG. 3 in comparison.
  • the transmission data frame synchronization circuit includes a CPU protection stage number setting unit 1, a SYNC detection unit 2, a front protection stage number processing unit 3, a rear protection stage number processing unit 4, and a synchronization unit.
  • a status signal generator 5 and a data output position determiner 6 are provided.
  • the CPU protection stage number setting unit 1 sets a value of the number of front protection stages and a value of the number of rear protection stages.
  • the SYNC detector 2 detects a synchronization bit signal SYNC. The signals generated by the CPU protection stage number setting unit 1 and the SYNC detection unit 2 are supplied to the front protection stage number processing unit 3 and the rear protection stage number processing unit 4.
  • the front protection stage number processing unit 3 and the rear protection stage number processing unit 4 generate an asynchronous determination pulse and a synchronization determination pulse, respectively. These confirmation pulses are supplied to the synchronization state signal generator 5.
  • the synchronization state signal generator 5 generates a frame synchronization state signal.
  • the data output position determination unit 6 is supplied with the frame synchronization status signal generated by the synchronization status signal generation unit 5 and the S ⁇ NC confirmation position force counter value generated by the SYNC detection unit 2, and after the frame synchronization is determined. Output transmission data.
  • the CPU protection stage number setting unit 1 includes a front protection stage number setting value F—REG, a first rear protection stage number setting value R_REG used during frame non-synchronization, and a second rear protection stage number setting value R_REG used during frame pseudo synchronization. Determine the number of backward protection stages RR-REG.
  • Forward protection stage The number setting F—REG is the number of forward protection steps minus one.
  • the first rear protection stage number setting value R—REG is a value obtained by subtracting 1 from the rear protection stage number during frame asynchronous
  • the second rear protection stage number setting value RR—REG is pseudo-synchronous. This is the value obtained by subtracting 1 from the number of rear protection steps inside.
  • the SYNC detector 2 detects a 1-bit “L” level synchronization bit SYNC in each frame and synchronizes with the synchronization bit signal S YNC 1 indicating the synchronization bit position g of the current frame and the synchronization of the previous frame.
  • the sync bit signal SYNC0 indicating the bit position is output.
  • the synchronization bit signal SYNCO, SYNC 1 is a signal in which the synchronization bit position is at “H” level.
  • the MF reference counter value supplied to the SYNC detector 2 is a value obtained by counting the number of frames within one frame at the rising edge of the internal operation clock signal CLK using the first frame start signal as a trigger when the system is started.
  • the SYNC detector 2 holds the MF reference counter value at the position corresponding to the synchronization bit SYNC in synchronization with the clock signal CLK, and uses the held value as a SYNC confirmation position power counter value to the data output position determiner 6. Output.
  • the SYNC check position counter value indicates at which position of the synchronization bit SYNC the MF reference counter value is located, that is, at which position within one frame the synchronization bit SYNC is present.
  • the SYNC detector 20 in the conventional transmission data frame synchronization circuit shown in FIG. 1 keeps holding the SYNC confirmation position counter value held in the first frame in which frame synchronization is established until the frame becomes asynchronous.
  • the SYNC detector 2 in the transmission data frame synchronization circuit according to the first embodiment holds the SYNC confirmation position counter value again for each frame.
  • the first frame established by frame synchronization or 'frame synchronization' is a frame in which a frame synchronization state signal CH SYNC described later has changed from “LJ to ⁇ ”.
  • the forward protection stage number processing unit 3 counts the number of frames in which the position of the synchronization bit SYNC does not match the position of the synchronization bit SYNC one frame before, and this count value is used as the number of forward protection stages (F_R Outputs an asynchronous confirmation pulse when EG + 1) is reached. Further, during the frame synchronization, the forward protection stage number processing unit 3 matches the position of the synchronization bit SYNC with the position of the synchronization bit SYNC before one frame after the occurrence of the pseudo synchronization state. When clearing the count value.
  • the NAND 301 performs a NAND operation on the synchronization bit signals SYNC 0 and SYNC 1 so that the synchronization bit position of the current frame does not match the synchronization bit position of the previous frame.
  • the signal “MISS SYNC” that becomes “ ⁇ ” is output.
  • the NAND 302 performs a NAND operation on the signal obtained by logically reversing the synchronization bit signal SYNC 0 and the synchronization bit signal SYNC 1, and finds a match between the synchronization bit position of the current frame and the synchronization bit position one frame before. ⁇ Outputs I TS YNC.
  • the AND 303 of the counter control unit 31 1 calculates the logical product of the signal MISSS YNC and the frame synchronization state signal CH SYNC P, and sets the AND bit position of the current frame to the synchronization bit position in the frame synchronization state.
  • a signal that becomes “ ⁇ ” is output as the enable signal ⁇ of the counter 305.
  • ⁇ AND 304 calculates the NAND of the logically inverted signal of the signal HITSYNC and the frame synchronization signal CH SYNC ⁇ , asynchronously, and the synchronous bit position of the current frame and the synchronous bit position of the previous frame. Outputs a signal that becomes “ ⁇ ” when it matches to the selection section (SEL) 310.
  • N AND 308 is the logical AND of the signal HI TS YNC and the logically inverted signal of the frame synchronization signal CH SYNC P, and is the logical AND of the synchronous bit position of the current frame.
  • the signal that becomes “ ⁇ ” is output to the selection unit 310.
  • the control unit (CN TL) 309 of the counter control unit 31 1 has a signal MISS SYNC output from the NAND 301, an asynchronous determination pulse output from the ExOR 307, and an output from the synchronization state signal generation unit 5
  • the frame synchronization state signal CHSYNCP and the control information of the control unit 408 in the rear protection stage number processing unit 4 are supplied.
  • the frame synchronization state signal CHS YNCP is at the “ ⁇ ” level
  • the asynchronous determination pulse and the frame synchronization state signal CHS YNCP are at the “LJ level”.
  • the control unit 309 causes the selection unit 310 to select the output of the NAND 304 when the frame is asynchronous or pseudo-synchronous, and causes the selection unit 310 to select the output of the NAND 308 when the frame is synchronized.
  • the signal selected and output by the selector 310 is input to the counter 305 as a load signal LD.
  • the counter 305 captures the initial value “0” input to the input terminal DI ⁇ ⁇ when the load signal is “ ⁇ ”.
  • the enable signal ⁇ is“ HJ ”
  • the counter 305 counts up the counter value by 1 in synchronization with the clock signal CLK, and outputs this counter value from the output terminal DO.
  • Protection stage number setting value F Outputs the value obtained by adding 1 to REG EXOR 307 takes the exclusive OR of the output value of counter 305 and the output value of adder 306, and when the two output values match Output “LJ level asynchronous decision pulse”.
  • the backward protection stage number processing unit 4 counts the number of frames in which the synchronization bit SYNC is detected during frame asynchronous, and when the counted value reaches the first backward protection stage number (R-REG + 1).
  • the synchronization protection pulse is output.
  • the backward protection stage number processing unit 4 generates a pseudo synchronization state in which the position of the synchronization bit S YNC does not match the position of the synchronization bit SYNC one frame before. After that, the number of frames in which the synchronization bit SYNC is detected is counted, and when the counted value reaches the second backward protection stage number (RR-REG + 1), a synchronization determination pulse is output.
  • NAN D401 like NAN D301 of the front protection stage number processing unit 3, when the synchronization bit position of the current frame and the synchronization bit position of the previous frame do not match. Outputs “H” level signal MISS SYNC.
  • the AND 402 calculates the logical product of the synchronization bit signal SYNC 1 and the frame synchronization state signal CHSYN CN.
  • the ⁇ ”level signal is selected by the selection unit (SEL ) Output to 409.
  • NAND 403 calculates the NAND of a signal obtained by logically inverting the signal MISS SYNC and the frame synchronization state signal CH SYNCN, in a frame asynchronous state, and at the synchronization bit position of the current frame and the synchronization bit position of one frame before.
  • you do not do ⁇ ”level signal is output as the load signal LD of the counter 404.
  • AND 407 calculates the logical product of the synchronization bit signal SYNC 1 and the signal obtained by logically reversing the frame synchronization state signal CHS YNCN, and when the frame synchronization state is detected and the synchronization bit SYNC is detected, The signal is output to selection section 409.
  • the control unit (CNTL) 408 of the rear protection stage number processing unit 4 outputs a signal MISS SYNC output from the NAND 401, a synchronization determination pulse output from the Ex OR 406, and an output from the synchronization state signal generation unit 5.
  • the frame synchronization state signal CHSYN CN and the control information of the control unit 309 in the forward protection stage number processing unit 3 are supplied.
  • the synchronization determination pulse and the frame synchronization status signal CH S YN CN are at a low level during frame synchronization, and the frame synchronization status signal CH S YNCN is at a low level during frame synchronization. It is.
  • the frame synchronization state signal CHS YNCN is at the “LJ level” and the signal MISS S YNC is at the “ ⁇ ” level.
  • the control unit 408 causes the selection unit 409 to select the output of the AND 402 when the frame is asynchronous or pseudo-synchronous, and causes the selection unit 409 to select the output of the AND 407 when the frame is synchronized.
  • the signal selected and output by the selection unit 409 is input to the counter 404 as an enable signal EN.
  • the control unit 408 causes the selection unit 41 1 to select a value obtained by adding 1 to the rear protection stage number setting value R_REG output from the adder 405 and perform pseudo synchronization. In this case, the selector 41 1 is caused to select a value obtained by adding 1 to the rear protection stage number setting value R R_REG output from the adder 405.
  • the counter 404 takes in the initial value “0” when the load signal is “ ⁇ ”, and synchronizes with the clock signal CLK when the enable signal ⁇ is“ HJ ”.
  • the adder 405 outputs a value obtained by adding 1 to the rear protection stage number setting value R—REG and adds 1 to the rear protection stage number setting value RR—REG. Output the value.
  • the ExOR 406 calculates the exclusive OR of the output value of the counter 404 and the output value of the selection unit 411, and outputs an “L” level synchronization determination pulse when the two output values match.
  • the synchronization state signal generator 5 composed of an RS flip-flop is configured to generate a frame based on the asynchronous decision pulse output from the front protection stage number processing unit 3 and the synchronization decision pulse output from the rear protection stage number processing unit 4.
  • a frame synchronization state signal CH SYNCP, CHSYN CN indicating whether or not a synchronization state is generated.
  • the synchronization state signal generation unit 5 When the “OR” level non-synchronization determination pulse is output from the ExOR 307 of the forward protection stage number processing unit 3, the synchronization state signal generation unit 5 is reset, and the frame synchronization state signal CH SYNC P is set to “LJ level, frame”. Set the synchronization status signal CH SYNCN to the “ ⁇ ” level. Also, when an LJ-level synchronization determination pulse is output from the ExOR 406 of the rear protection stage number processing unit 4, the synchronization status signal generation unit 5 is set and the frame synchronization status signal CH SYNC P is set to the “ ⁇ ” level. Then, set the frame synchronization status signal CHSYNCN to “ON” level.
  • the data output position determination unit 6 selects the output position of the transmission data using the SYNC confirmation position output value output from the SYNC detection unit 2 and controls the transmission data output control during frame synchronization. Do. That is, when the frame synchronization state signal CHSYNCN becomes “L” and the frame synchronization state is established, the data output position determination unit 6 determines the position of the synchronization bit SYNC indicated by the SYNC confirmation position counter value as the start position of the input data. Then, data output is started in synchronization with the clock signal CLK from the data at the head position.
  • the input patterns that can be considered when considering the operation of the transmission data frame synchronization circuit include (1) a first pattern in which the synchronization bit SYNC of the transmission data is erroneously detected once by mistake and frame synchronization is determined again; 2) The second pattern in which the synchronization bit SYNC of the transmission data is erroneously detected once and does not establish frame synchronization again.
  • the control in the conventional transmission data frame synchronization circuit is effective for the first pattern, but the control in the conventional transmission data frame synchronization circuit is effective for the second pattern. Can not do.
  • the transmission data frame synchronization circuit according to the present embodiment can perform effective control on both the first pattern and the second pattern.
  • the load control of the forward protection stage number counter 305 is made flexible by using the control unit 309 in the forward protection stage number processing unit 3.
  • the counter value can be cleared freely, making it difficult for frame asynchronous to occur.
  • the output position of the transmission data can be switched during the transition from the pseudo-synchronous state to the frame asynchronous state.
  • the transmission data frame synchronization circuit of the present embodiment can continue the frame synchronization state even in a state where the transmission data frame synchronization circuit of the conventional art transitions asynchronously. In this way, it is possible to avoid data output suspension and to transmit data with continuity.
  • the transmission data frame synchronization circuit of the present embodiment also uses the output of the NAND 304 as the load signal LD and outputs the counter signal as the load signal LD while the frame is asynchronous. To clear the counter value of counter 305 to 0.
  • the synchronization bit position of the current frame and the synchronization bit position at the time of synchronization establishment are determined in the frame synchronization state. If the failure occurs as many times as the number of forward protection steps, the frame becomes asynchronous.
  • the output of the NAND 304 is loaded as a load signal and input to the counter 305 as D, thereby obtaining the synchronization bit of the current frame.
  • the counter value of the counter 305 is cleared to 0, and during frame synchronization, the output of the NAND 308 is used as the load signal LD as the counter 305.
  • the counter value of the counter 305 is cleared to 0 when the synchronization bit position of the current frame and the synchronization bit position of the previous frame match each other by inputting.
  • the output value of the counter 305 and the adder 3 By clearing the counter value of the counter 305 to 0 when the sync bit position of the current frame matches the sync bit position of the previous frame before the output value of 06 matches. Therefore, it is possible to prevent a transition to the frame asynchronous state.
  • the circuit operation that makes it difficult for transmission data errors to occur in the pseudo-synchronous state when the number of forward protection stages is 2 or more is described. If the number of forward protection stages is 2 or more, the transmission data synchronization bit SYNC is erroneously detected once and the frame synchronization is determined again.In the case of the first pattern described above, the same as the conventional transmission data frame. Although effective control can be performed using the synchronization circuit, the second pattern in which the synchronization bit SYNC of the transmission data is not detected once by mistake and the frame synchronization is not established again, Only the transmission data frame synchronization circuit of the present embodiment is effective.
  • the transmission data frame synchronization circuit uses the control unit 408 in the rear protection stage number processing unit 4 to flexibly enable the control of the rear protection stage number counter 404 and to perform flexible enable control. It is configured so that it can be counted freely by executing.
  • the output position of the transmission data during the pseudo-synchronous state is achieved by using the SYNC detection unit 20 that re-holds the position of the synchronization bit SYNC every frame. Since it is possible to switch between transmissions, it is possible to suppress errors in transmission data during a certain frame interval before transitioning to the asynchronous state.
  • FIG. 4 shows the operation for the first and second frames
  • FIG. 5 shows the operation for the third and fourth frames as a continuation of FIG.
  • the clock signal CLK shown in (a) the synchronization bit SYNK shown in (b), the MF reference counter shown in (c), and the input data shown in (f) are the data of this embodiment.
  • This is commonly provided to the transmission data frame synchronization circuit and the conventional transmission data frame synchronization circuit.
  • the value of the counter value latch shown in (d), the frame synchronization status signal CH SYNC P shown in (g), the output data shown in (h), and the state shown in (i) are The operation of the transmission data frame synchronization circuit of FIG.
  • the value of the counter value latch shown in (e), the frame synchronization state signal CH SYNCP shown in (j), the output data shown in (k), the state shown in (I), and (m) to (p) indicates the operation of the transmission data frame synchronization circuit of the present embodiment shown in FIG.
  • the output data shown in (m) to (p) correspond to different numbers of rear protection stages, respectively, and are shown as output data formats.
  • the rear protection stage number setting values R—REG, RR—REG are each 0, that is, the rear protection stage number is 1, and the front protection stage number setting value F—REG is 2, that is, the front protection stage number is 3.
  • both the conventional transmission data frame synchronization circuit and the transmission data frame synchronization circuit of the present embodiment use the frame. It is out of sync. Then, the SYNC detection unit 20 (SYNC detection unit 2) holds the MF reference counter value “1” at the position corresponding to the synchronization bit SYNC. As a result, as shown in (d) and (e) of FIG. 4, the SYNC confirmation position counter value is updated from "1" to "1" in any of the transmission data frame synchronization circuits.
  • the counter value of the counter 44 is set to 0 by the enable signal EN output from the AND 33 of the forward protection stage number processing unit 30. ⁇ 1 Cow Since the number of back protection stages is set to 1, the output value of the counter 44 and the output value of the adder 45 match, and a synchronization determination pulse is output.
  • the counter when the synchronization bit SYNC is detected during frame asynchronous, the counter is activated by the enable signal EN output from the AND 303 of the forward protection stage number processing unit 3.
  • the counter value of 404 is counted up, and the output value of counter 404 and the output value of selector 411 match, and a synchronization determination pulse is output.
  • the synchronization state signal generation unit 50 changes the frame synchronization state signal CH SYNC P to the “ ⁇ ” level and the frame synchronization state signal CHS Set YNCN to ⁇
  • the frame synchronization status signal CHS YNCN changes to LJ level and the load signal L output from NAND 43 (NAND D403) changes to HJ, the counter value of counter 44 (counter 404) Is cleared as 1 ⁇ 0.
  • the data output position determination unit 60 determines that the frame synchronization status signal CHS YNCN becomes “YES” and when the frame synchronization status is established, the synchronization bit SYNC indicated by the SYNC confirmation position counter value “1” is output.
  • the output is started from the data of the head position “a” as shown in (h) and (k) in FIG. 4 with the position as the head position of the input data.
  • both the conventional transmission data frame synchronization circuit and the transmission data frame synchronization circuit of the present embodiment operate in the same manner.
  • the operation in the second frame will be described. In the second frame, the position of the synchronization bit SYNC is shifted by one clock after the position of the first frame.
  • the SYNC detection unit 20 keeps holding the SYNC check position counter value “1” held in the first frame in which frame synchronization is established until the frame becomes asynchronous.
  • the control unit 408 recognizes the pseudo synchronization state, and selects the output of the AND402 in the selection unit 409. Let it.
  • the enable signal EN is input to the counter 404 from the AND 402 via the selector 409, and the counter value of the counter 404 is counted up from 0 to 1. Then, the output value of the counter 404 matches the output value of the selection unit 411, and a synchronization determination pulse is output.
  • the SYNC detection unit 2 holds the SYNC confirmation position counter value again for each frame, it holds the MF reference counter value “2” at the position that matches the synchronization bit SYNC. Thereby, in the transmission data frame synchronization circuit of the present embodiment, the SYNC confirmation position counter value is updated from “1" to "2" as shown in (e) of FIG.
  • the data output position determination unit 6 sets the position indicated by the SYNC confirmation position counter value “2” as the start position of the input data, and starts outputting from the data of the start position “aj”.
  • the circuit has a configuration in which the forward protection stage number processing unit 3 does not function when there is a change due to data instability of one frame such as an instantaneous interruption or format error, so that the SYNC confirmation position counter value is maintained while frame synchronization is continued. ⁇ ”to ⁇ 2”. SYNC check position counter value changed As a result, the data output position can be changed, and normal data can be output in the second frame as shown in (k) of FIG.
  • the synchronization bit position of the current frame does not match the synchronization bit position at the time of synchronization confirmation, that is, the first frame, and the counter value of the counter 35 is determined by the enable signal EN.
  • the SYNC confirmation position counter value remains at “1” as shown in (d) of FIG. 5, and the data output position determination unit 60 does not change the data output position. .
  • the data output position determination unit 60 sets the position indicated by the SYNC confirmation position counter value “1 j” as the start position of the input data and starts outputting from the start position “ X XJ data.
  • the erroneous transmission data is output from the position one clock earlier than the original position of the synchronization bit SYNC in the third frame as shown in (h) of Fig. 5. Continued until asynchronous.
  • the transmission data frame synchronization circuit of the present embodiment in the third frame, since the synchronization bit position of the current frame and the synchronization bit position of the previous frame match, the output of the NAND 308 is used as the load signal LD. By inputting to the counter 305, the counter value of the counter 305 is cleared to 0, and the frame synchronization state is maintained. In addition, when the synchronization bit position of the current frame and the synchronization bit position of one frame before in the third frame are matched, the control unit 408 of the rear protection stage number processing unit 4 recognizes the synchronization state, and the selection unit 409 To select the output of AND407.
  • the enable signal EN is input from the AND 407 to the counter 404 via the selection unit 409, and the counter usefulness of the counter 404 is counted up from 0 to 1, and the counter 404 is counted up.
  • the output value matches the output value of the selector 41 1 and a synchronization confirmation pulse is output.
  • the SYNC detector 2 re-holds the SYNC confirmation position counter value for each frame, the MF reference counter value “2” at the position that matches the synchronization bit SYNC as shown in (e) of FIG. Is maintained.
  • the data output position determination unit 6 checks the SYNC as shown in (k) of FIG. With the position indicated by the position counter value "2J" as the head position of the input data, output starts from the data of the head position g "aj.
  • the synchronization bit position of the current frame does not match the synchronization bit position at the time of synchronization confirmation, that is, the first frame, and the counter value of the re-counter 35 is changed by the enable signal EN. Since the count is increased from 2 to 3, and the number of forward protection stages is set to 3, the output value of the counter 35 matches the output value of the adder 36, and an asynchronous fixed pulse is output. The count value of the power counter 35 is cleared to 0 when the synchronization is confirmed.
  • the synchronization state signal generation unit 50 When the asynchronous confirmation pulse is output, the synchronization state signal generation unit 50 is reset, and sets the frame synchronization state signal CHSYNCP to “ ⁇ ”level and the frame synchronization state signal CHS YNCN to“ ⁇ ”level.
  • the frame synchronization status signal CHS YNCN becomes “HJ”, that is, as shown in FIG. 5 (g)
  • the frame synchronization status signal CH SYNCP becomes “LJ”
  • the data output position determination unit 60 returns to (h) of FIG. As shown, the output of the transmission data is stopped, and since the number of back protection stages is 1, the data output is stopped for the next one frame.
  • the output of the NAND 308 is output.
  • the load signal LD is input to the counter 305
  • the counter value of the counter 305 is cleared to 0, and the frame synchronization state is maintained.
  • the control unit 408 of the rear protection stage number processing unit 4 recognizes the synchronization state, and selects the selection unit. Let 409 select the output of AN D407.
  • the inverter 407 When the sync bit SYNC is detected, the inverter 407 outputs the rice through the selection unit 409.
  • the EN signal is input to the counter 404, the counter value of the counter 404 is counted up from 0 to 1, the output value of the counter 404 matches the output value of the selection unit 411, and the synchronization determination pulse is generated. Is output.
  • the SYNC detection unit 2 since the SYNC detection unit 2 re-holds the SYNC confirmation position counter value for each frame, the MF reference counter value “2” at the position corresponding to the synchronization bit SYNC is used as shown in FIG. 5 (e). Hold.
  • the data output position determination unit 6 sets the position indicated by the SYNC confirmation position counter value “2” as the leading position g of the input data, and starts outputting from the leading position “ aJ data”. I do.
  • the transmission data frame synchronization circuit of the present embodiment even when the synchronization bit position of the current frame and the synchronization bit position of the previous frame do not match during frame synchronization, a pseudo synchronization state occurs. If the synchronization bit position of the current frame coincides with the synchronization bit position of the previous frame, the frame synchronization is established, so that the stop of data output can be avoided.
  • (m) to (p) show output data formats when the transmission data frame synchronization circuit of the present embodiment operates.
  • the output data formats ⁇ 1>, ⁇ 2>, ⁇ 3>, and ⁇ 4> in the figure are the first, second, and third frames of the output data whose data output position is indicated by (h), respectively. It is the same as the output data format of the fourth frame.
  • the output data formats ⁇ 1 '>, ⁇ 2'>, ⁇ 3 '>, and ⁇ 4'> are the first and second frames of the output data whose data output position is indicated by (k), respectively. It is the same as the output data format of the third, fourth and fourth frames.
  • the transmission data frame synchronization circuit has been described above.
  • this transmission data frame synchronization circuit when the CPU protection stage number setting unit 1 sets the rear protection stage number setting value R-- REG to 0 to 2, that is, when the rear protection stage number is set to 1 to 3
  • the advantage of this transmission data frame synchronization circuit can be taken advantage of.
  • the number of rear protection stages R-REG is set to 3 or more in the CPU protection stage number setting unit 1, that is, if the number of rear protection stages is 4 or more, forward protection Since it is necessary to monitor the number of frames equal to or more than the number of stages, the transmission data frame of this embodiment is required.
  • the advantage of the clock synchronization circuit is not exhibited.
  • the setting value of the number of forward protection steps is set to F_REG and the setting value of the number of rear protection steps R_REG in the CPU protection step number setting unit 1 is set as follows. To do.
  • the transmission data of the second pattern is input, in which the synchronization bit SYNC of the transmission data is erroneously detected once and the frame synchronization is not established again. Then, the effect obtained by using the transmission data frame synchronization circuit of the present embodiment can be obtained.
  • the transmission data frame synchronization circuit of the present invention is a synchronization determination circuit using the number of protection stages, which is a method used for data transmission between all interfaces, so that it can be used in any situation.
  • the above-described embodiment relates to a circuit for protecting the number of stages of frame synchronization using the synchronization bit SYNC by positioning the synchronization bit SYNC at the beginning of the frame.
  • a synchronized signal may be used. The following is a practical example.
  • the circuit shown in Fig. 3 is used to determine the synchronization of data including multiple user data using the synchronization bits held for each user, and after synchronization, perform data output control, as described above. An effect similar to that of the first embodiment can be obtained.
  • the synchronization bit may be generated by detecting a plurality of conditions.
  • the method of the present invention can be applied to any type of transmission data because it is only necessary to extract information used for frame synchronization by an effective means and process the information using the circuit shown in FIG. 3 based on the extracted information. is there.
  • the transmission data frame synchronization circuit of the present invention changes the condition for generating the asynchronous state that occurs in the conventional transmission data frame synchronization circuit, and outputs the data.
  • This is a circuit configuration that suppresses the occurrence of an asynchronous state, which is a stop condition.
  • the transmission data frame synchronization circuit of the present invention can continue the synchronization state even in a state where the transmission data frame synchronization circuit makes a transition to frame asynchronous, and can stop the data output. Avoiding and transmitting data with continuity.
  • the transmission data frame synchronization circuit of the present invention uses a detector that holds the position of the synchronization information for each frame, thereby immediately changing the data output position g according to the change in the position of the synchronization information.
  • Transmission data errors can be minimized, and as a result, transmission data errors in a pseudo-synchronous state during frame synchronization, which has been a problem with conventional transmission data frame synchronization circuits, can be suppressed. be able to.
  • the transmission data during synchronization can be controlled more accurately and stably by using the conventional concept of the number of protection steps, in which judgment is made based on the number of consecutive detections of synchronization information. Processing can be realized. Even from the viewpoint of circuit simulation, the circuit of the present invention can be configured by incorporating a small number of new circuits into the conventional transmission data frame synchronous circuit, and there is almost no change, so the present invention is easily realized. Can be possible.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Time-Division Multiplex Systems (AREA)

Description

明 細 書
伝送データフレーム同期方法および伝送データフレーム同期回路 技術分野
本発明は、 ディジタル伝送系において伝送データのフレーム同期を確立する方 法及び回路に関する。
背景技術
従来よリ、 ディジタル伝送系において伝送データの同期を確立する伝送データ フレーム同期回路が知られている。 図 1は、 従来の伝送データフレーム同期回路 の構成を示すプロック図である。
伝送データフレーム同期回路は、 C PU保護段数設定部 1 0と SYNC検出部 20と前方保護段数処理部 30と後方保護段数処理部 40と同期状態信号生成部 50とデータ出力位置決定部 60とから構成されている。
C PU保護段数設定部 1 0は、 前方保護段数設定値 F— REG、 後方保護段数 設定値 R— R EGを決定する。 前方保護段数設定値 F— R EGは、 前方保護段数 から 1を引いた値となる。 例えば、 前方保護段数が 3であれば、 前方保護段数設 定値 F— R EGは 2となる。 同様に、 後方保護段数設定値 R— REGは、 後方保 護段数から 1を引いた値となる。
SYNC検出部 20は、 伝送データ中の同期ビット SYNCを検出する。 同期 ビッ卜 SYNCは、 各フレームで 1 ビットだけ 「LJ レベルとなる。 SYNC検 出部 20は、 同期ビット SYNCを検出して、 現フレームの同期ビット位置を示 す同期ビット信号 SYNC 1と、 フレーム同期が確定した時点の同期ビット位置 を示す同期ビット信号 SYNCXとを出力する。 同期ビット信号 S YNCX, S YNC 1は、 それぞれ、 同期ビット位置が「H」 レベルとなる信号である。
M F基準力ゥンタ値は、 システムの起動時に最初のフレー厶開始信号を卜リガ にして、 1フレーム内を内部動作クロック信号 CLKの立ち上がりでカウン卜し た値である。 SYNC検出部 20は、 同期ビット SYNCと一致する位置の MF 基準力ゥンタ値をクロック信号 C L Kに同期して保持し、 この保持した値を S Y N C確認位置カウンタ値としてデータ出力位置決定部 60に出力する。
なお、 SYNC検出部 20は、 フレーム同期が確立した最初のフレーム、 すな わち後述するフレーム同期状態信号 CHS YNCPが「し」 から 「HJ になった フレームにおいて保持した S Y N C確認位置力ゥンタ値を、 フレーム非同期にな るまで保持し続ける。
次に、 前方保護段数処理部 30について説明する。 前方保護段数処理部 30は、 フレーム同期中に、 同期ビット SYNCを前方保護段数だけ検出できなかった場 合、 非同期確定パルスを出力する。 前方保護段数処理部 30において、 否定論理 積回路 (以下、 NAN Dとする) 3 1は、 同期ビッ卜信号 S YNCXと S YNC 1との否定論理積をとリ、 現フレー厶の同期ビッ卜位置と同期確定時の同期ビッ 卜位置とがー致しない場合に有効 「HJ となる信号 M I S S SYNCを出力する。
N AND 32は、 同期ビット信号 S Y N C Xを論理反転した信号と同期ビット信 号 SYNC 1との否定論理積をとリ、 現フレームの同期ビット位置と同期確定時 の同期ビット位置とがー致する場合に有効 ΓΗ」 となる信号 H I T SYNCを出 力する。
論理積回路 (以下, ANDとする) 33は、 信号 M I S S SYNCとフレーム 同期状態信号 CH SYNC Pとの論理積をとる。 AND 33は、 フレーム同期状 態で、 かつ現フレームの同期ビッ卜位置と同期確定時の同期ビッ卜位置とがー致 しない場合に 「HJ となる信号を、 カウンタ 35のシフトアップ用のイネ一ブル 信号 ENとして出力する。 NAN D 34は、 信号 H I T SYNCを論理反転した 信号とフレーム同期状態信号 C H SYNCPとの否定論理積をとり、 非同期状態 で、 かつ現フレームの同期ビット位置と同期確定時の同期ビット位置とがー致す る場合に 「HJ となる信号を、 カウンタ 35の初期値設定用のロード信号しりと して出力する。
カウンタ 35は、 ロード信号し が 「HJ であるとき、 入力端子 D I Nに入力 された初期値 「0J を取り込む。 また、 カウンタ 35は、 ィネーブル信号 ENが ΓΗ」 であるとき、 クロック信号 C L Κに同期してカウンタ値を 1ずつカウント アップして、 このカウンタ値を出力端子 DOから出力する。
ァダー 36は、 前方保護段数設定値 F— REGに 1を加算した値を出力する。 排他的論理和回路 (以下、 ExORとする) 37は、 カウンタ 35の出力値とァ ダー 36の出力値の排他的論理和をとリ、 2つの出力値が一致するときに 「し」 レベルの非同期確定パルスを出力する。 例えば、 前方保護段数設定値 F— REG が 2であるとき、 すなわち前方保護段数が 3のとき、 フレーム同期中に、 現フレ ー厶の同期ビッ卜位置と同期確定時の同期ビッ卜位置とがー致しない状態が生じ ると、 AND 33から出力されるィネーブル信号 ENによりカウンタ 35のカウ ンタ値は 0→1→2→ 3というようにフレームごとに 1ずつカウン卜アップされ、 3フレーム目でカウンタ 35の出力値とァダー 36の出力値とがー致するので、 このタイミングで E X OR 37から非同期確定パルスが出力される。 「し」 レべ ルの非同期確定パルスが出力されると、 R Sフリップフロッブからなる同期状態 信号生成部 50は、 リセット状態となり、 フレーム同期状態か否かを示すフレー 厶同期状態信号 CHSYNCPを 「L」 レベル、 フレーム同期状態信号 CHSY NCNを 「HJ レベルにする。
フレーム同期状態信号 CHSYNCPは、 「HJ レベルのときにアクティブ、 すなわちフレーム同期状態であることを示す。 フレーム同期状態信号 C H S YN CNは、 CH S YN C Pを論理反転させた信号であって、 「し」 レベルのとき、 フレーム同期状態であることを示す。
フレーム同期状態信号 CHSYNC Pが 「し」 レベルとなったことによリ、 N AN D 34から出力されるロード信号 Lりが ΓΗ」 となるので、 カウンタ 35の カウンタ値は 3→0というようにクリアされる。
次に、 後方保護段数処理部 40について説明する。 後方保護段数処理部 40は、 フレーム非同期中に、 同期ビッ卜 SYNCを後方保護段数のフレーム数だけ検出 した場合、 同期確定パルスを出力する。 後方保護段数処理部 40において、 NA ND41は、 前方保護段数処理部 30の NAND3 Ί と同様に、 現フレームの同 期ビット位置と同期確定時の同期ビット位置とがー致しない場合に ΓΗ」 となる 信号 M I S S SYNCを出力する。 AND 42は、 同期ビッ卜信号 SYNC 1と フレーム同期状態信号 CHSYNCNとの論理積をとリ、 フレーム非同期状態で、 かつ同期ビット SYNCを検出できたときに 「HJ となる信号を、 カウンタ 44 のィネーブル信号 E Nとして出力する。 N AND 43は、 信号 M I S SS YNC を論理反転させた信号とフレーム同期状態信号 C H S YNCNとの否定論理積を とり、 非同期状態で、 かつ現フレームの同期ビット位置と同期確定時の同期ビッ 卜位置とがー致しない場合に 「H」 となる信号を、 カウンタ 44のロード信号 L Dとして出力する。
カウンタ 44は、 前方保護段数処理部 30のカウンタ 35と同様に、 ロード信 号しりが ΓΗ」 であるときに初期値 「0」 を取り込み、 ィネーブル信号 ENが 「HJ であるときにクロック信号 CLKに同期してカウンタ値を 1カウン卜アツ プする。 ァダー 45は、 後方保護段数設定値 R— REGに 1を加算した値を出力 する。 E x OR 46は、 カウンタ 44の出力値とァダー 45の出力値の排他的論 理和をとり、 2つの出力値が一致するときに 「L」 レベルの同期確定パルスを出 力する。
例えば、 後方保護段数設定値 R— REGが 0、 すなわち後方保護段数が 1であ るとき、 フレーム非同期中に、 同期ビット SYNCが検出されると、 AND42 から出力されるィネーブル信号 ENによりカウンタ 44のカウンタ値は 0→1と いうようにカウン卜アップされる。 そして、 カウンタ 44の出力値とァダー 45 の出力値とがー致するので、 E xOR46から同期確定パルスが出力される。
「し」 レベルの同期確定パルスが出力されると、 同期状態信号生成部 50はセ ッ卜状態となリ、 フレー厶同期状態信号 CHS YNCPを ΓΗ」 レベル、 フレー 厶同期状態信号 CHS YNCNを 「LJ レベルにする。 フレーム同期状態信号 C HSYNCNが Γ|_」 レベルとなったことにより、 N AN D 43から出力される ロード信号 LDが ΓΗ」 となるので、 カウンタ 44のカウンタ値は 1→0という ようにクリアされる。
次に、 データ出力位置決定部 60について説明する。 データ出力位置決定部 6 0は、 SYNC検出部 20から出力された SYNC確認位置カウンタ値を利用し て伝送データの出力位置を選択し、 フレーム同期中の伝送データ出力制御を行う。 すなわちデータ出力位置決定部 60は、 フレーム同期状態信号 CHS YNCNが 「LJ となってフレーム同期状態となった場合に、 SYNC確認位置カウンタ値 が示す同期ビット SYNCの位置を入力データの先頭位置として、 この先頭位置 のデータからクロック信号 Cし Kに同期してデータ出力を開始する。
以上説明したように、 従来、 伝送データのフレーム同期の確認には、 保護段数 処理の考え方が用いられている。 フレーム非同期状態からフレーム同期確定まで は後方保護段数処理部 4 0を用い、 フレーム同期状態からフレーム非同期確定ま では前方保護段数処理部 3 0を用いることで、 C P U保護段数設定部 1 0で設定 された前方保護段数設定値 F_ R E G及び後方保護段数設定値 R— R E Gに準じ た動作を実現する。 伝送データについては、 フレーム同期確定時のみデータ出力 位 決定部 6 0によって先頭位置が決定され、 この先頭位置のデータから伝送デ 一夕が順次出力されることによリ、 同期確定後のデータ処理が行われる。
従来の伝送データフレーム同期回路では、 フレーム非同期が確定した時点でデ 一夕出力位置決定部 6 0により伝送データの出力が停止される。 C P U保護段数 設定部〗 0によって前方保護段数設定値 F— R E Gをその最小値 0、 すなわち前 方保護段数が〗、 後方保護段数設定値 R— R E Gをその最小値 0、 すなわち後方 保護段数が 1に設定することで、 伝送データが正常に伝送されている場合には、 フレーム非同期中の伝送データ出力停止は最短 1フレームで済む。 言い換えれば、 1フレーム区間は出力停止することとなる。 しかし C P U保護段数設定部 1 0で 後方保護段数が 2以上に設定されている場合には、 2フレーム以上の出力停止が 生じる。
従来の伝送データフレー厶同期回路では、 フレーム同期中に現フレームの同期 ビッ卜位置と同期確定時の同期ビッ卜位置とがー致しない状態が生じて疑似同期 状態となった後に、 現フレームの同期ビッ卜位置と 1フレーム前の同期ビッ卜位 置とがー致する状態が生じたとしても、 フレーム同期を確立することなく、 フレ ー厶非同期となる。 その理由は、 現フレームの同期ビット位置と同期確定時の同 期ビッ卜位置とがー致しない状態が生じると、 前方保護段数処理部 3 0のカウン タ 3 5のカウンタ値がフレームごとに 1ずつカウン卜アップするからである。 こ のように従来の伝送データフレーム同期回路では、 フレーム非同期中に疑似同期 状態が発生すると、 その後に同期確立可能な状態が生じたとしても、 フレー厶非 同期となり、 データ出力が停止してしまうという問題点があった。
また、 従来の伝送データフレーム同期回路では、 〇?11保護段数設定部1 0に よって前方保護段数設定値 F一 R E Gが 1以上、 すなわち前方保護段数が 2以上 に設定される場合、 フレーム同期中にデータが瞬断やフォーマツ卜誤り等により 不安定になると、 同期ビッ卜位置が同期確定時の同期ビッ卜位置と一致しないの で、 前述のように、 カウンタ 3 5のカウンタ値が 0→1→2→…というように力 ゥン卜アップする。 この場合、 データ出力位置決定部 6 0から出力される伝送デ 一夕の先頭位置も同期ビッ卜位置の変化に応じて変更する必要があるが、 従来の 伝送データフレーム同期回路では、 カウンタ 3 5の出力値とァダー 3 6の出力値 とが一致するまではフレー厶同期状態と見なして伝送データの出力を続行するの で、 データが不安定な擬似同期状態からフレーム非同期が確定するまでの数フレ ー厶区間は誤ったデータ転送が行われる可能性があつた。
の 示
本発明の目的は、 疑似同期状態が発生した後に同期確立可能な状態が生じた場 合には、 フレーム同期状態を維持してデータの出力停止を回避し、 かつ擬似同期 状態での伝送データ誤りの発生を抑制することができる伝送データフレーム同期 方法を提供することにある。
本発明の別の目的は、 疑似同期状態が発生した後に同期確立可能な状態が生じ た場合には、 フレーム同期状態を維持してデータの出力停止を回避し、 かつ擬似 同期状態での伝送データ誤りの発生を抑制することができる伝送データフレーム 同期回路を提供することにある。
本発明の第 1の目的は、 フレームの区切リを示す同期情報の位置を 1フレーム ごとに保持する段階と、 フレーム非同期中に同期情報を検出したフレームの数を 計数して第 1の計数値とし、 第 1の計数値が予め設定された第 1の後方保護段数 に達したときにフレーム同期を確立する段階と、 フレーム同期中に同期情報の位 置が 1フレーム前の同期情報の位置と一致しない疑似同期状態が発生した後に、 同期情報を検出したフレームの数を計数して第 2の計数値とし、 第 2の計数値が 予め設定された第 2の後方保護段数に達したときにフレーム同期を確立する段階 と、 フレーム同期中に同期情報の位置が 1フレーム前の同期情報の位置と一致し ないフレームの数を計数して第 3の計数値とし、 第 3の計数値が予め設定された 前方保護段数に達したときにフレーム非同期を確立する段階と、 フレーム同期中 に疑似同期状態が発生した後に、 同期情報の位置が 1フレーム前の同期情報の位 置と一致したとき第 3の計数値をクリァする段階と、 を有する伝送データフレー 厶同期方法によって達成される。 本発明の第 2の目的は、 フレームの区切りを示す同期情報の位 gを 1フレーム ごとに保持する検出部と、 フレーム非同期中に同期情報を検出したフレームの数 を計数して第 1の計数値とし、 第 1の計数値が予め設定された第 1の後方保護段 数に達したときに同期確定パルスを出力し、 さらに、 フレーム同期中に前記同期 情報の位置が 1フレーム前の前記同期情報の位置と一致しない疑似同期状態が発 生した後に、 同期情報を検出したフレームの数を計数して第 2の計数値とし、 第 2の計数値が予め設定された第 2の後方保護段数に達したときに同期確定パルス を出力する後方保護段数処理部と、 フレーム同期中に同期情報の位置が 1フレー 厶前の同期情報の位置と一致しないフレームの数を計数して第 3の計数値とし、 第 3の計数値が予め設定された前方保護段数に達したときに非同期確定パルスを 出力し、 さらに、 フレーム同期中に疑似同期状態が発生した後に、 同期情報の位 置が 1フレーム前の同期情報の位置と一致したとき第 3の計数値をクリァする前 方保護段数処理部と、 を有する伝送データフレーム同期回路によって達成される。 すなわち本発明の伝送フレーム同期方法は、 伝送フレーム同期を維持する目的 に用いられる前方保護段数処理において、 伝送フレーム非同期状態からフレーム 同期状態に遷移させる目的に用いられる後方保護段数処理を併用することで、 フ レーム同期の維持と正確な伝送データ処理を可能にするものである。
本発明の伝送データフレーム同期回路では、 フレーム同期確定を行うために従 来はフレー厶非同期中のみ動作していた後方保護段数処理部と、 非同期確定を行 うために従来はフレーム同期中のみ動作していた前方保護段数処理部とを用い、 これらの処理部の動作に改良を加え、 フレー厶同期中であって前方保護段数処理 部が動作している間に同期検出がなされた場合には、 独立に後方保護段数処理部 を起動して、 フレーム同期を継続したままで出力伝送データを切り替えるように している。 また、 本発明の伝送データフレーム同期回路は、 入力伝送データの状 態によっては同期ビッ卜連続検出回数で判断するという従来の保護段数の考え方 を用いることで、 フレーム同期中の伝送データをより正確に制御し、 かつ安定し た処理が実現できる。 本発明の伝送データフレーム同期回路は、 回路規模の面か らみても、 従来の伝送データフレーム同期回路に少数の回路を組み込むことによ つて構成できるので、 容易に実現可能である。 n の ffii な^日月
図 1は、 従来の伝送データフレーム同期回路の構成を示すブロック図である。 図 2は、 本発明の好ましい実施形態における伝送データフレーム同期回路の構 成を示すブロック図である。
図 3は、 図 2に示される伝送データフレーム同期回路の詳細な構成を示すプロ ック図である。
図 4は、 図 1に示す回路と図 3に示す回路の動作を対比して示すタイミングチ ヤー卜である。
図 5は、 図 1に示す回路と図 3に示す回路の動作を対比して示すタイミングチ ヤー卜である。
発明を実施するための最良の形態
図 2に示す本発明の好ましい実施形態の伝送データフレーム同期回路は、 C P U保護段数設定部 1と、 S Y N C検出部 2と、 前方保護段数処理部 3と、 後方保 護段数処理部 4と、 同期状態信号生成部 5と、 データ出力位置決定部 6とを備え ている。 C P U保護段数設定部 1は、 前方保護段数の値および後方保護段数の値 の設定する。 S Y N C検出部 2は、 同期ビット信号 S Y N Cの検出を行う。 C P U保護段数設定部 1と S Y N C検出部 2において生成された信号は、 前方保護段 数処理部 3および後方保護段数処理部 4に供給されるようになっている。 前方保 護段数処理部 3および後方保護段数処理部 4は、 それぞれ、 非同期確定パルスお よび同期確定パルスを生成する。 これらの確定パルスは、 同期状態信号生成部 5 に供給される。 同期状態信号生成部 5はフレーム同期状態信号を生成する。 デー タ出力位置決定部 6は、 同期状態信号生成部 5において生成されたフレーム同期 状態信号と S Y N C検出部 2において生成された S丫 N C確認位置力ゥンタ値と が供給されて、 フレーム同期確定後の伝送データを出力する。
次に、 この伝送データフレーム同期回路の構成の詳細について、 図 3を用いて 説明する。
C P U保護段数設定部 1は、 前方保護段数設定値 F— R E Gと、 フレーム非同 期中に使用される第 1の後方保護段数設定値 R __ R E Gと、 フレーム疑似同期中 に使用される第 2の後方保護段数設定値 R R— R E Gとを決定する。 前方保護段 数設定値 F— R EGは、 前方保護段数から 1を引いた値である。 同様に、 第 1の 後方保護段数設定値 R— R EGは、 フレー厶非同期中の後方保護段数から 1を引 いた値であり、 第 2の後方保護段数設定値 R R— R EGは、 疑似同期中の後方保 護段数から 1を引いた値である。
SYNC検出部 2は、 各フレームで 1 ビットの 「L」 レベルの同期ビット SY NCを検出して、 現フレームの同期ビッ卜位 gを示す同期ビッ卜信号 S YNC 1 と、 1フレーム前の同期ビット位置を示す同期ビット信号 SYNC0とを出力す る。 同期ビッ卜信号 S YNCO, SYNC 1は、 同期ビッ卜位置が「H」 レベル となる信号である。 SYNC検出部 2に供給される MF基準カウンタ値は、 シス テムの起動時に最初のフレーム開始信号をトリガにして、 1フレー厶内を内部動 作クロック信号 C L Kの立ち上がりでカウン卜した値である。 S Y N C検出部 2 は、 同期ビット SYNCと一致する位置の MF基準カウンタ値をクロック信号 C L Kに同期して保持し、 この保持した値を S Y N C確認位置力ゥンタ値としてデ 一夕出力位置決定部 6に出力する。 S YNC確認位置カウンタ値は、 同期ビット SYNCが MF基準カウンタ値のどの位置に存在するか、 すなわち同期ビット S YN Cが 1フレー厶中のどの位置に存在するかを示すものである。
なお、 図 1に示した従来の伝送データフレーム同期回路における SYNC検出 部 20は、 フレーム同期が確立した最初のフレームで保持した SYNC確認位置 カウンタ値をフレーム非同期になるまで保持し続けるが、 この実施の形態の伝送 データフレーム同期回路における SYNC検出部 2は、 SYNC確認位置カウン タ値を 1フレームごとに保持し直す。 なお、 フレーム同期か'確立した最初のフレ ー厶とは、 後述するフレーム同期状態信号 CH SYNC が 「LJ から ΓΗ」 に なったフレームのことである。
次に、 前方保護段数処理部 3について説明する。 前方保護段数処理部 3は、 フ レーム同期中において、 同期ビット SYNCの位置が 1フレーム前の同期ビット S YN Cの位置と一致しないフレームの数を計数し、 この計数値が前方保護段数 (F_R EG+ 1 ) に達したときに非同期確定パルスを出力する。 さらに前方保 護段数処理部 3は、 フレーム同期中において、 疑似同期状態が発生した後に、 同 期ビット SYNCの位置が 1フレーム前の同期ビット SY N Cの位置と一致した ときに、 計数値をクリアする。
前方保護段数処理部 3において、 NAND301は、 同期ビッ卜信号 SYNC 0と S YNC 1との否定論理積をとリ、 現フレームの同期ビット位置と 1フレー 厶前の同期ビット位置とがー致しない場合に ΓΗ」 となる信号 M I SS SYNC を出力する。 NAND 302は、 同期ビット信号 S Y N C 0を論理反耘させた信 号と同期ビット信号 SYNC 1との否定論理積をとり、 現フレームの同期ビット 位置と 1フレー厶前の同期ビット位置とがー致する場合に ΓΗ」 となる信号 Η I TS YNCを出力する。
カウンタ制御部 31 1の AN D 303は、 信号 M I S S S YN Cとフレーム同 期状態信号 CH SYNC Pとの論理積をとリ、 フレー厶同期状態で、 かつ現フレ ー厶の同期ビッ卜位置と 1フレーム前の同期ビッ卜位置とがー致しない場合に ΓΗ」 となる信号を、 カウンタ 305のィネーブル信号 ΕΝとして出力する。 Ν AN D 304は、 信号 H I T S Y N Cを論理反転した信号とフレーム同期状態信 号 CH SYNC Ρとの否定論理積をとリ、 非同期状態で、 かつ現フレームの同期 ビット位置と 1フレーム前の同期ビット位置とがー致する場合に ΓΗ」 となる信 号を選択部 (S E L) 31 0に出力する。 N AND 308は、 信号 H I TS YN Cを論理反転した信号とフレー厶同期状態信号 C H SYNC Pを論理反転した信 号との否定論理積をとリ、 同期状態で、 かつ現フレームの同期ビット位置と 1フ レーム前の同期ビット位置とがー致する場合に ΓΗ」 となる信号を選択部 31 0 に出力する。
カウンタ制御部 31 1の制御部 (CN T L) 309には、 N AN D 301から 出力される信号 M I S S SYNCと、 E xOR 307から出力される非同期確定 パルスと、 同期状態信号生成部 5から出力されるフレーム同期状態信号 CHSY NC Pと、 後方保護段数処理部 4内の制御部 408の制御情報とが供給される。 ここでフレーム同期中は、 フレーム同期状態信号 CHS YNCPが ΓΗ」 レベル であり、 フレーム非同期中は、 非同期確定パルスとフレーム同期状態信号 CHS YNC Pとが 「LJ レベルである。 また、 フレーム疑似同期状態は、 フレーム同 期中であって、 かつ現フレームの同期ビッ卜位置と 1フレーム前の同期ビッ卜位 置とがー致しない状態なので、 フレーム疑似同期中においては、 フレーム同期状 態信号 CH S YNC Pが 「HJ レベルで、 かつ信号 M I S S S YNCが ΓΗ」 レ ベルである。 制御部 309は、 フレーム非同期中または疑似同期中の場合、 選択 部 31 0に NAND 304の出力を選択させ、 フレーム同期中の場合、 選択部 3 1 0に NAN D 308の出力を選択させる。 選択部 3 1 0が選択して出力した信 号は、 ロード信号 LDとしてカウンタ 305に入力される。
カウンタ 305は、 ロード信号しりが ΓΗ」 であるとき、 入力端子 D I Νに入 力された初期値 「0」 を取り込む。 またカウンタ 305は、 ィネーブル信号 ΕΝ が 「HJ であるとき、 クロック信号 CLKに同期してカウンタ値を 1カウン卜ァ ップして、 このカウンタ値を出力端子 DOから出力する。 ァダー 306は、 前方 保護段数設定値 F— R EGに 1加算した値を出力する。 E XOR 307は、 カウ ンタ 305の出力値とァダー 306の出力値の排他的論理和をとり、 2つの出力 値が一致するときに 「LJ レベルの非同期確定パルスを出力する。
次に、 後方保護段数処理部 4について説明する。 後方保護段数処理部 4は、 フ レーム非同期中において同期ビッ卜 S Y N Cを検出したフレームの数を計数し、 この計数値が第 1の後方保護段数 (R— R EG + 1 ) に達したときに同期確定パ ルスを出力する、 さらに後方保護段数処理部 4は、 フレーム同期中において、 同 期ビッ卜 S YNCの位置が 1フレーム前の同期ビット SYNCの位置と一致しな い疑似同期状態が発生した後に、 同期ビット SYNCを検出したフレームの数を 計数し、 この計数値が第 2の後方保護段数 (R R— R EG+ 1 ) に達したときに 同期確定パルスを出力する。
後方保護段数処理部 4において、 NAN D401は、 前方保護段数処理部 3の NAN D 30 1と同様に、 現フレームの同期ビッ卜位置と 1フレーム前の同期ビ ッ卜位置とがー致しないとき 「H」 レベルの信号 M I S S SYNCを出力する。
AN D 402は、 同期ビット信号 SYNC 1 とフレーム同期状態信号 C H S Y N CNとの論理積をとリ、 フレーム非同期状態で、 かつ同期ビット SYNCを検出 できたとき、 ΓΗ」 レベルの信号を選択部 (S E L) 409に出力する。 NAN D 403は、 信号 M I S S SYNCを論理反転した信号とフレーム同期状態信号 CH SYNCNとの否定論理積をとリ、 フレーム非同期状態で、 かつ現フレーム の同期ビッ卜位置と 1 フレーム前の同期ビット位置とがー致しないときに、 ΓΗ」 レベルの信号をカウンタ 404のロード信号 LDとして出力する。 AND 407は、 同期ビット信号 SYNC 1とフレーム同期状態信号 CHS YNCNを 論理反耘した信号との論理積をとリ、 フレーム同期状態で、 かつ同期ビット SY NCを検出できたとき、 「HJ レベルの信号を選択部 409に出力する。
後方保護段数処理部 4の制御部 (C NT L) 408には、 NAND401から 出力される信号 M I S S SYNCと、 Ex OR 406から出力される同期確定パ ルスと、 同期状態信号生成部 5から出力されるフレーム同期状態信号 C H S Y N CNと、 前方保護段数処理部 3内の制御部 309の制御情報とが供給される。 上 述したように、 フレーム同期中においては同期確定パルスとフレーム同期状態信 号 CH S YN CNとが Γし」 レベルであり、 フレーム非同期中においてはフレー 厶同期状態信号 CH S YNCNが ΓΗ」 レベルである。 フレーム疑似同期中にお いては、 フレーム同期状態信号 CHS YNCNが 「LJ レベルであって、 かつ信 号 M I S S S Y N Cが ΓΗ」 レベルである。
制御部 408は、 フレーム非同期中または疑似同期中の場合、 選択部 409に AN D402の出力を選択させ、 フレーム同期中の場合、 選択部 409に AND 407の出力を選択させる。 選択部 409が選択して出力した信号は、 イネーブ ル信号 ENとしてカウンタ 404に入力される。 また、 制御部 408は、 フレー 厶同期中または非同期中の場合、 選択部 41 1に、 ァダー405から出力された、 後方保護段数設定値 R_R EGに 1を加算した値を選択させ、 疑似同期中の場合、 選択部 41 1に、 ァダー 405から出力された、 後方保護段数設定値 R R_R E Gに 1を加算した値を選択させる。
カウンタ 404は、 前方保護段数処理部 3のカウンタ 305と同様に、 ロード 信号し が ΓΗ」 であるとき、 初期値 「0」 を取り込み、 ィネーブル信号 ΕΝが 「HJ であるとき、 クロック信号 CLKに同期してカウンタ値を 1カウン卜アツ プする。 ァダー 405は、 後方保護段数設定値 R— REGに 1を加算した値を出 力するとともに、 後方保護段数設定値 R R— R EGに 1を加算した値を出力する。
E xOR 406は、 カウンタ 404の出力値と選択部 41 1の出力値の排他的論 理和をとリ、 2つの出力値が一致するときに 「L」 レベルの同期確定パルスを出 力する。 次に、 同期状態信号生成部 5について説明する。 RSフリップフロップからな る同期状態信号生成部 5は、 前方保護段数処理部 3から出力される非同期確定パ ルスと、 後方保護段数処理部 4から出力される同期確定パルスとに基づいて、 フ レーム同期状態か否かを示すフレーム同期状態信号 C H SYNCP, CHSYN CNを生成する。 前方保護段数処理部 3の ExOR 307から 「し」 レベルの非 同期確定パルスが出力されると、 同期状態信号生成部 5は、 リセット状態となり、 フレーム同期状態信号 CH SYNC Pを 「LJ レベル、 フレーム同期状態信号 C H SYNCNを ΓΗ」 レベルにする。 また、 後方保護段数処理部 4の E xOR 4 06から 「LJ レベルの同期確定パルスが出力されると、 同期状態信号生成部 5 は、 セット状態となり、 フレーム同期状態信号 CH SYNC Pを ΓΗ」 レベル、 フレーム同期状態信号 CHSYNCNを 「し」 レベルにする。
次に、 データ出力位置決定部 6について説明する。 データ出力位置決定部 6は、 S YN C検出部 2から出力された S Y N C確認位置力ゥン夕値を利用して伝送デ 一夕の出力位置を選択し、 フレーム同期中の伝送データ出力制御を行う。 すなわ ち、 データ出力位置決定部 6は、 フレーム同期状態信号 CHSYNCNが 「L」 となり、 フレーム同期状態となった場合、 SYNC確認位置カウンタ値が示す同 期ビット SYNCの位置を入力データの先頭位置として、 この先頭位置のデータ からクロック信号 CLKに同期してデータ出力を開始する。
以下、 本実施形態の伝送データフレーム同期回路の動作について説明する。 こ の伝送データフレーム同期回路は、 図 1に示した従来の伝送データフレーム同期 回路に対して変更、 追加を行ったものであるので、 ここでは、 必要に応じて、 両 者の動作を対比させながら説明を行う。
伝送データフレーム同期回路の動作を考える上で考えられる入力パターンは、 (1 ) 伝送データの同期ビット SYNCが誤って一度不検出となり、 再びフレー 厶同期を確定するという第 1のパターンと、 (2) 伝送データの同期ビット SY NCが誤って一度不検出になり、 再びフレーム同期を確立することがないという 第 2のパターンと、 の 2つに大別される。 ここで第 1のパターンに対しては、 従 来の伝送データフレーム同期回路での制御も有効であるが、 第 2のパターンに関 しては従来の伝送データフレーム同期回路では有効な制御を行うことができない。 これに対して本実施の形態の伝送データフレー厶同期回路は、 第 1のパターンと 第 2のパターンの両方に対して有効な制御を行うことができる。
まず、 本実施形態の伝送データフレーム同期回路における、 フレーム非同期中 のデータ出力停止に対する対策としてフレー厶非同期を発生しにくくした回路動 作について述べる。 本実施の形態の伝送データフレーム同期回路では、 前方保護 段数処理部 3において制御部 3 0 9を用いることで、 前方保護段数のカウンタ 3 0 5のロード制御を柔軟にしてある。 柔軟なロード制御を実行することでカウン タ値を自由にクリアすることができ、 フレーム非同期が発生しにくくなつている。 また、 前方保護段数処理部 3のカウンタ値をロード信号 L Dでクリァすることで、 擬似同期状態からフレーム非同期状態に遷移する間で伝送データの出力位置の切 リ替えを行うことができる。 このようにして、 従来の伝送データフレー厶同期回 路ではフレーム非同期に遷移するような状態においても、 本実施形態の伝送デー タフレー厶同期回路によれば、 フレー厶同期状態を継続させることができ、 デー 夕の出力停止を避け連続性を持ったデータの伝送を可能となる。
具体的には、 従来の伝送データフレーム同期回路と同様に、 本実施の形態の伝 送データフレーム同期回路においても、 フレーム非同期中において、 N A N D 3 0 4の出力をロード信号 L Dとしてカウンタ 3 0 5に入力することで、 カウンタ 3 0 5のカウンタ値を 0にクリアする。 従来の伝送データフレーム同期回路では、 カウンタ 3 5 (図 1参照) のカウンタ値を 0にクリアした後、 フレーム同期状態 で、 かつ現フレームの同期ビット位置と同期確定時の同期ビット位置とがー致し ない状態が前方保護段数の回数分だけ生じると、 フレーム非同期状態となる。 こ れに対し本実施の形態の伝送データフレーム同期回路では、 フレーム疑似同期中 においても N A N D 3 0 4の出力をロード信号し Dとしてカウンタ 3 0 5に入力 することで、 現フレームの同期ビッ卜位置と 1フレーム前の同期ビッ卜位置とが 一致した場合にカウンタ 3 0 5のカウンタ値を 0にクリアし、 またフレーム同期 中においては N A N D 3 0 8の出力をロード信号 L Dとしてカウンタ 3 0 5に入 力することで、 現フレームの同期ビット位置と 1フレーム前の同期ビット位置と がー致した場合にカウンタ 3 0 5のカウンタ値を 0にクリアするようにしている。 このようなロード制御を行うことで、 本実施の形態の伝送データフレーム同期回 路では、 フレーム同期中に、 現フレームの同期ビット位置と 1フレーム前の同期 ビッ卜位 gとが一致しない状態が生じて疑似同期となった場合でも、 カウンタ 3 0 5の出力値とァダー 3 0 6の出力値とがー致する前に現フレームの同期ビッ卜 位置と 1フレーム前の同期ビッ卜位置とがー致したときにカウンタ 3 0 5のカウ ンタ値を 0にクリアすることで、 フレーム非同期状態に遷移することを防ぐこと ができる。
次に、 前方保護段数を 2以上としたときに、 擬似同期状態での伝送データ誤り を発生しにくくした回路動作について述べる。 前方保護段数が 2以上の場合、 伝 送データの同期ビッ卜 S Y N Cが誤って一度不検出となり、 再びフレーム同期を 確定するという上述の第 1のパターンの場合には、 従来の伝送データフレー厶同 期回路を用いて有効な制御を行うことができるが、 伝送データの同期ビッ卜 S Y N Cが誤って一度不検出になり、 再びフレーム同期を確立することがないという 第 2のパターンに対しては、 本実施の形態の伝送データフレーム同期回路のみが 有効である。 本実施の形態の伝送データフレーム同期回路は、 後方保護段数処理 部 4において制御部 4 0 8を用いることで、 後方保護段数のカウンタ 4 0 4のィ ネーブル制御を柔軟し、 柔軟なィネーブル制御を実行することで自由にカウン卜 することができる構成としている。
従来の伝送データフレー厶同期回路では、 フレー厶同期中にデータが瞬断ゃフ ォーマツ卜誤り等により不安定になり、 同期ビット S Y N Cの位置が同期確定時 の同期ビット位置と一致しなくなっても、 S Y N C検出部 2 0が同期確定時の同 期ビット S Y N Cの位置を保持しているため、 データが不安定な擬似同期状態か らフレーム非同期が確定するまでの数フレーム区間は誤ったデータ転送が行われ る可能性があった。 これに対し、 本実施の形態の伝送データフレーム同期回路で は、 同期ビット S Y N Cの位置を 1フレームごとに保持し直す S Y N C検出部 2 0を用いることにより、 擬似同期状態中に伝送データの出力位置を切り替えるこ とが可能であるため、 非同期状態に遷移するまでの一定フレーム区間での伝送デ 一夕の誤りを抑えることが可能となる。
次に、 伝送データの同期ビット S Y N Cが誤って一度不検出になり、 再びフレ ー厶同期を確立することがないという第 2のパターンが入力データとして供給さ れたときの、 本実施の形態の伝送データフレーム同期回路と従来の伝送データフ レーム同期回路のデータ出力動作に関し、 図 4および図 5を用いて説明する。 図
4は、 1番目と 2番目のフレームに対する動作を示しており、 図 5は、 図 4に引 き続くものとして、 3番目と 4番目のフレームに対する動作を示している。 図 4、 図 5において、 (a) で示すクロック信号 CLK、 (b) で示す同期ビット SY NK、 (c) で示す MF基準カウンタ、 (f ) で示す入力データは、 本実施の形 態の伝送データフレーム同期回路と従来の伝送データフレーム同期回路に共通に 与えられるものである。 また、 (d) に示すカウンタ値ラッチの値、 (g) に示 すフレーム同期状態信号 CH SYNC P、 (h) に示す出力データ、 ( i ) に示 す状態は、 図 1に示した従来の伝送データフレーム同期回路における動作を示し ている。 これに対し、 (e) に示すカウンタ値ラッチの値、 (j ) に示すフレー 厶同期状態信号 CH SYNCP、 (k) に示す出力データ、 ( I ) に示す状態、 および (m) 〜 (p) に示す出力データは、 図 3に示した本実施の形態の伝送デ 一夕フレーム同期回路の動作を示している。 なお、 (m) 〜 (p) に示す出力デ 一夕は、 それぞれ、 異なる後方保護段数に対応するものであって、 出力データフ ォーマツ卜として示されている。
以下の説明では、 後方保護段数設定値 R— R EG, RR— REGをそれぞれ 0、 すなわち後方保護段数を 1とし、 前方保護段数設定値 F— REGを 2、 すなわち 前方保護段数を 3とする。
まず、 図 4に示すように 1フレーム目では、 システムの立ち上がリであるため、 従来の伝送データフレーム同期回路の場合も、 本実施の形態の伝送データフレー 厶同期回路の場合も、 フレーム非同期状態である。 そして S YNC検出部 20 (SYNC検出部 2) は、 同期ビット SYNCと一致する位置の MF基準カウン タ値 「1」 を保持する。 これにより、 図 4の (d) 、 (e) に示すように、 いず れの伝送データフレー厶同期回路においても、 SYNC確認位置カウンタ値は不 定から 「1」 に更新される。
従来の伝送データフレーム同期回路では、 フレーム非同期中に、 同期ビット S YNCが検出されると、 前方保護段数処理部 30の AND 33から出力されるィ ネーブル信号 ENにより、 カウンタ 44のカウンタ値は 0→1 というようにカウ ン卜アップされ、 後方保護段数が 1に設定されていることからカウンタ 44の出 力値とァダー 45の出力値とがー致するので、 同期確定パルスが出力される。 同 様に、 本実施の形態の伝送データフレーム同期回路では、 フレーム非同期中に同 期ビッ卜 SYNCが検出されると、 前方保護段数処理部 3の AND 303から出 力されるィネーブル信号 E Nによりカウンタ 404のカウンタ値がカウン卜アツ プされ、 カウンタ 404の出力値と選択部 41 1の出力値とがー致し、 同期確定 パルスが出力される。
このように 「L」 レベルの同期確定パルスが出力されると、 同期状態信号生成 部 50 (同期状態信号生成部 5) は、 フレーム同期状態信号 CH SYNC Pを ΓΗ」 レベル、 フレーム同期状態信号 CHS YNCNを Γ|_」 レベルにする。 フ レーム同期状態信号 CHS YNCNが 「LJ レベルとなったことにより、 NAN D 43 (N AN D403) から出力されるロード信号 Lりが 「HJ となったとき、 カウンタ 44 (カウンタ 404) のカウンタ値は 1→0というようにクリアされ る。
データ出力位置決定部 60 (データ出力位置決定部 6) は、 フレーム同期状態 信号 CHS YNCNが 「し」 となり、 フレーム同期状態となった場合、 SYNC 確認位置カウンタ値 「1」 が示す同期ビット SYNCの位置を入力データの先頭 位置として、 図 4の (h) 、 (k) に示すように、 この先頭位置 「a」 のデータ から出力を開始する。 このように、 1フレーム目では、 従来の伝送データフレー 厶同期回路も本実施形態の伝送データフレーム同期回路も同じように動作する。 次に、 2フレーム目での動作を説明する。 2フレーム目では、 同期ビット SY NCの位置が 1フレーム目の位置よりも 1クロック分後ろにずれている。
従来の伝送データフレーム同期回路では、 現フレームの同期ビッ卜位置と同期 確定時すなわち 1フレーム目での同期ビッ卜位置とがー致しないことを確認して、 ィネーブル信号 ENによりカウンタ 35のカウンタ値は 0→1にカウン卜アップ されるが、 前方保護段数が 3に設定されているため、 フレーム同期状態が維持さ れる。 前述のように、 フレーム同期中の場合、 SYNC検出部 20は、 フレーム 同期が確立した最初の 1 フレーム目で保持した S YN C確認位置カウンタ値 「1」 をフレーム非同期になるまで保持し続ける。 したがって、 2フレーム目の SYNC確認位 カウンタ値は 「2」 となるべきであるのに、 従来の伝送データ フレーム同期回路では、 図 4の (d) に示すように、 「1 j のままとなる。 デー タ出力位置決定部 60は、 S YN C確認位置カウンタ値 「1 J が示す位 ffiを入力 データの先頭位置として、 この先頭位置 「x xj のデータから出力を開始する。 こうして、 従来の伝送データフレーム同期回路では、 図 4の (h) に示すように、 2フレーム目において、 本来の同期ビット S Y N Cの位置よリも 1クロック早い 位置から誤った伝送データを出力する。 誤った伝送データの出力は、 フレー厶非 同期となるまで継続される。
一方、 本実施の形態の伝送データフレー厶同期回路では、 2フレーム目におい て、 現フレームの同期ビッ卜位置と 1フレー厶前の同期ビッ卜位置とがー致しな いことを確認してィネーブル信号 E Nによリカウンタ 305のカウンタ値は 0→ 1にカウントアップされるが、 前方保護段数が 3に設定されているため、 フレー 厶同期状態が維持される。 また、 2フレーム目において現フレームの同期ビット 位置と 1フレーム前の同期ビッ卜位置とがー致しないことにより、 制御部 408 は疑似同期状態と認識し、 選択部 409に AN D402の出力を選択させる。 疑 似同期状態で、 同期ビット SYNCが検出されると、 AN D402から選択部 4 09を介してィネーブル信号 E Nがカウンタ 404に入力され、 カウンタ 404 のカウンタ値は 0→1というようにカウン卜アップされ、 カウンタ 404の出力 値と選択部 41 1の出力値とがー致し、 同期確定パルスが出力される。 また、 S YNC検出部 2は、 SYNC確認位置カウンタ値を 1フレー厶ごとに保持し直す ので、 同期ビット SYNCと一致する位置の MF基準カウンタ値 「2」 を保持す る。 これにより、 本実施の形態の伝送データフレーム同期回路においては、 図 4 の (e) に示すように、 SYNC確認位置カウンタ値は 「1」 から 「2」 に更新 される。 データ出力位置決定部 6は、 SYNC確認位置カウンタ値 「2」 が示す 位置を入力データの先頭位置として、 この先頭位置 「aj のデータから出力を開 始する。 本実施の形態の伝送データフレーム同期回路では、 瞬断、 フォーマツ卜 誤りなどの 1フレームのデータ不安定による変化では前方保護段数処理部 3が機 能しない構成となっているため、 フレー厶同期を継続したまま SYNC確認位置 カウンタ値が Γ〗」 から Γ2」 とされる。 SYNC確認位置カウンタ値を変化さ せたことでデータ出力位置を変更することができ、 2フレー厶目において、 図 4 の (k) に示すように正常なデータを出力することができる。
次に、 3フレーム目での動作を説明する。
従来の伝送データフレーム同期回路では、 現フレームの同期ビッ卜位置と同期 確定時すなわち 1フレーム目での同期ビッ卜位置とがー致しないことを確認して、 ィネーブル信号 ENによりカウンタ 35のカウンタ値は 1→2にカウン卜アップ されるが、 前方保護段数が 3に設定されているため、 フレーム同期状態が維持さ れる。 ここでは同期中であるので、 図 5の (d) に示すように SYNC確認位置 カウンタ値は 「1」 のまま変化せず、 データ出力位置決定部 60でデータ出力位 置の変更は行われない。 データ出力位置決定部 60は、 SYNC確認位置カウン タ値 「1 j が示す位 を入力データの先頭位置として、 この先頭位置 「X XJ の データから出力を開始する。 こうして、 従来の伝送データフレーム同期回路では、 3フレーム目において、 図 5の (h) で示すように、 本来の同期ビット SYNC の位置よりも 1クロック早い位置から誤った伝送データを出力する。 誤った伝送 データの出力は、 フレーム非同期となるまで継続される。
一方、 本実施の形態の伝送データフレーム同期回路では、 3フレーム目におい て、 現フレームの同期ビット位置と 1フレーム前の同期ビット位置とがー致する ため、 NAND 308の出力をロード信号 LDとしてカウンタ 305に入力する ことで、 カウンタ 305のカウンタ値が 0にクリアされ、 フレーム同期状態が維 持される。 また、 3フレーム目で現フレームの同期ビット位置と 1フレー厶前の 同期ビッ卜位置とがー致することにより、 後方保護段数処理部 4の制御部 408 は同期状態と認識し、 選択部 409に AND407の出力を選択させる。 同期ビ ット S YNCが検出されると、 AND407から選択部 409を介してイネーブ ル信号 ENがカウンタ 404に入力され、 カウンタ 404のカウンタ慷は 0→1 というようにカウントアップされ、 カウンタ 404の出力値と選択部 41 1の出 力値とがー致し、 同期確定パルスが出力される。 また、 SYNC検出部 2は、 S YNC確認位置カウンタ値を 1フレー厶ごとに保持し直すので、 図 5の (e) に 示すように同期ビット SYNCと一致する位置の MF基準カウンタ値 「2」 を保 持する。 データ出力位置決定部 6は、 図 5の (k) に示すように、 SYNC確認 位置カウンタ値 「2J が示す位置を入力データの先頭位置として、 この先頭位 g 「aj のデータから出力を開始する。
次に、 4フレーム目での動作を説明する。
従来の伝送データフレーム同期回路では、 現フレームの同期ビット位置と同期 確定時すなわち 1フレーム目での同期ビット位置とがー致しないことを確認して、 ィネーブル信号 ENによリカウンタ 35のカウンタ値が 2→ 3にカウン卜アップ され、 前方保護段数が 3に設定されていることから、 カウンタ 35の出力値とァ ダー 36の出力値とがー致し、 非同期確定パルスが出力される。 非同期が確定し たことで力ゥンタ 35のカウン卜値は 0にクリァされる。 非同期確定パルスが出 力されると、 同期状態信号生成部 50は、 リセット状態となり、 フレーム同期状 態信号 CHSYNCPを Γし」 レベル、 フレーム同期状態信号 CHS YNCNを ΓΗ」 レベルにする。 フレーム同期状態信号 CHS YNCNが 「HJ 、 すなわち 図 5の (g) に示すようにフレーム同期状態信号 CH SYNCPが「LJ なった ことにより、 データ出力位置決定部 60は、 図 5の (h) に示すように、 伝送デ 一夕の出力を停止する。 後方保護段数が 1なので、 この先 1フレームの間、 デー タ出力が停止する。
以上のように従来の伝送データフレーム同期回路では、 フレーム同期中に現フ レームの同期ビッ卜位置と 1フレーム前の同期ビッ卜位置とがー致しない状態が 生じて疑似同期状態となった後に、 現フレームの同期ビット位置と 1フレーム前 の同期ビッ卜位置とがー致する状態が生じたとしても、 フレーム同期を確立する ことなく、 フレーム非同期となり、 データ出力が停止する。
これに対し本実施の形態の伝送データフレーム同期回路では、 4フレーム目に おいて、 現フレームの同期ビッ卜位置と 1フレーム前の同期ビッ卜位置とがー致 するため、 NAND 308の出力をロード信号 LDとしてカウンタ 305に入力 することで、 カウンタ 305のカウンタ値が 0にクリアされ、 フレー厶同期状態 が維持される。 また、 4フレー厶目で現フレームの同期ビット位置と 1フレーム 前の同期ビッ卜位置とがー致することにより、 後方保護段数処理部 4の制御部 4 08は同期状態と認識し、 選択部 409に AN D407の出力を選択させる。 同 期ビット SYNCが検出されると、 AND407から選択部 409を介してイネ 一ブル信号 E Nがカウンタ 404に入力され、 カウンタ 404のカウンタ値は 0 →1 というようにカウン卜アップされ、 カウンタ 404の出力値と選択部 41 1 の出力値とがー致し、 同期確定パルスが出力される。 また、 SYNC検出部 2は、 SYNC確認位置カウンタ値を 1フレームごとに保持し直すので、 図 5の (e) に示すように、 同期ビット SYNCと一致する位置の MF基準カウンタ値 「2」 を保持する。 データ出力位置決定部 6は、 図 5の (k) に示すように、 SYNC 確認位置カウンタ値 「2」 が示す位置を入力データの先頭位 gとして、 この先頭 位置 「aJ のデータから出力を開始する。
このように本実施の形態の伝送データフレーム同期回路では、 フレーム同期中 に現フレームの同期ビット位置と 1フレーム前の同期ビット位置とがー致しない 状態が生じて疑似同期状態となった場合でも、 現フレームの同期ビッ卜位置と 1 フレーム前の同期ビッ卜位置とがー致する状態が発生すれば、 フレーム同期を確 立するので、 データの出力停止を回避することができる。
図 4および図 5において、 (m) 〜 (p) は、 本実施の形態の伝送データフレ ー厶同期回路が動作したときの出力データのフォーマツ卜を示している。 図中の 出力データフォーマツ卜 <1 >、 <2>、 <3>、 <4>は、 それぞれ、 データ の出力位置が (h) に示す出力データにおける 1フレーム目、 2フレーム目、 3 フレーム目、 4フレーム目の出力データフォーマツ卜と同じであることを示して いる。 同様に、 出力データフォーマット <1 ' >、 <2' >、 <3' >、 <4' >は、 それぞれ、 データの出力位置が (k) に示す出力データにおける 1フレー 厶目、 2フレーム目、 3フレーム目、 4フレー厶目の出力データフォーマツ卜と 同じであることを示している。
以上、 本発明の好ましい実施形態の伝送データフレーム同期回路について説明 した。 この伝送データフレーム同期回路において、 C PU保護段数設定部 1によ リ後方保護段数設定値 R— REGを 0〜 2に設定した場合、 すなわち後方保護段 数が 1〜 3となるようにした場合には、 この伝送データフレーム同期回路の利点 が生かされるが、 C P U保護段数設定部 1において後方保護段数設定値 R— R E Gを 3以上に設定すると、 すなわち後方保護段数を 4以上とすると、 前方保護段 数以上のフレーム数の監視が必要になるので、 本実施の形態の伝送データフレー 厶同期回路の利点は発揮されない。 この伝送データフレーム同期回路の機能を十 分に発揮させるには、 前方保護段数の設定値を F—R E Gとして、 C P U保護段 数設定部 1での後方保護段数設定値 R_ R E Gの設定を以下のようにする。
F— R E G≥R一 R E G … ( 1 )
式 (1 ) の条件を満たす設定であれば、 伝送データの同期ビッ卜 S Y N Cが誤 つて一度不検出になり、 その後再びフレーム同期を確立することがない、 という 第 2のパターンの伝送データが入力したときに、 本実施の形態の伝送データフレ ー厶同期回路を用いることによる効果が得られる。
本発明の伝送データフレーム同期回路は、 保護段数という、 あらゆるインター フェイス間のデータ伝送に用いられている手法を用いた同期確定回路であるため、 あらゆる場面で利用が可能である。 上述の実施形態は、 同期ビット S Y N Cをフ レームの先頭と位置付け、 この同期ビット S Y N Cを用いるフレーム同期の保護 段数回路に関するものであるが、 本発明においては、 例えば、 同期ビット S Y N Cの代わりとしてフレームに同期した信号を用いてもよい。 以下に、 実用可能な 例を示す。
図 3に示した回路を用い、 複数のユーザーデータを含むデータに対し、 ユーザ 一ごとに保持している同期ビットを用いて同期確定を行い、 同期後、 データ出力 制御を行うことで、 上述したものと同様の効果を得ることができる。 ここで同期 ビッ卜は、 複数の条件を検出して発生させるようにすればよい。
また、 フレームの先頭に同期パターンを設けた伝送データに対し、 図 3に示し た回路を利用して同期確定を行い、 同期後、 データ出力制御を行うことで、 上述 したものと同様の効果が見込める。
以上、 本発明のさらなる 2つの応用例を示したが、 これらは、 フレーム同期に 用いる情報ゃフレーム同期を確定する方法が異なるだけである。 フレーム同期に 用いる情報を有効な手段で取り出し、 取り出した情報に基づいて図 3に示した回 路を用いて処理するだけでよいため、 本発明の方法は、 あらゆる伝送データに応 用が可能である。
以上説明したように本発明の伝送データフレーム同期回路は、 従来の伝送デー 夕フレー厶同期回路で発生する非同期状態の発生条件の変更を行い、 データ出力 停止の条件である非同期状態の発生を抑える回路構成としたものである。 その結 果、 従来の伝送データフレーム同期回路でフレーム非同期に遷移するような状態 においても、 本発明の伝送データフレーム同期回路によれば、 同期状態を継続さ せることができ、 データの出力停止を避け、 連続性を持ったデータの伝送を行う ことができる。 また、 本発明の伝送データフレーム同期回路は、 同期情報の位置 を 1フレームごとに保持する検出部を用いることによリ、 同期情報の位置の変化 に応じてデータ出力位 gを即座に変更することができ、 伝送データの誤りの発生 を極力抑えることができ、 その結果、 従来の伝送データフレー厶同期回路で問題 となったフレーム同期中の擬似同期状態での伝送データ誤りの発生を抑制するこ とができる。 また本発明では、 入力伝送データの状態によっては、 同期情報の連 続検出回数で判断するという従来の保護段数の考え方をそのまま用いることで同 期中の伝送データをより正確に制御し、 かつ安定した処理が実現できる。 回路規 摸の面から考えても従来の伝送データフレー厶同期回路に少数の新たな回路を組 み込むことで本発明の回路を構成でき、 変更もほとんど発生しないため、 本発明 は容易に実現可能することができる。
上述したような本発明の利点を有効活用するために、 入力される伝送データの 質によって保護段数設定をかえて制御することで広い範囲で対応が可能となる。 また本発明によれば、 今までの保護段数による手法の利点を生かしつつ、 より正 確なデータ伝送回路を実現することができる。

Claims

請求の範囲
1 . フレームの区切りを示す同期情報の位置を 1フレームごとに保持する 段階と、
フレーム非同期中に前記同期情報を検出したフレームの数を計数して第 1の計 数値とし、 該第 1の計数値が予め設定された第 1の後方保護段数に達したときに フレー厶同期を確立する段階と、
フレーム同期中に前記同期情報の位置が 1フレーム前の前記同期情報の位置と 一致しない疑似同期状態が発生した後に、 前記同期情報を検出したフレームの数 を計数して第 2の計数値とし、 該第 2の計数値が予め設定された第 2の後方保護 段数に達したときにフレーム同期を確立する段階と、
フレーム同期中に前記同期情報の位置が 1フレーム前の前記同期情報の位置と 一致しないフレームの数を計数して第 3の計数値とし、 該第 3の計数値が予め設 定された前方保護段数に達したときにフレーム非同期を確立する段階と、
フレーム同期中に前記疑似同期状態が発生した後に、 前記同期情報の位展が 1 フレーム前の前記同期情報の位置と一致したとき前記第 3の計数値をクリァする 段階と、
を有する、 伝送データフレーム同期方法。
2 . 前記フレーム同期が確立したとき、 入力されたデータのうち出力すぺ きデータの先頭位置を前記保持された同期情報の位置に基づいて決定する段階と、 前記決定した先頭位置から前記データの出力を開始する段階と、
をさらに有する、 請求項 1に記載の伝送データフレーム同期方法。
3 . 前記第 1の後方保護段数と前記第 2の後方保護段数とが独立に設定さ れる、 請求項 1に記載の伝送データフレーム同期方法。
4 . 前記第 1の後方保護段数が前記前方保護段数よリも小さい、 請求項 1 に記載の伝送データフレー厶同期方法。
5 . 前記同期情報の位置が同期ビットの位置として保持される、 請求項 1 に記載の伝送データフレーム同期方法。
6 . フレームの区切りを示す同期情報の位置を 1フレームごとに保持する 検出部と、 フレーム非同期中に前記同期情報を検出したフレームの数を計数して第 1の計 数値とし、 該第 1の計数値が予め設定された第 1の後方保護段数に達したときに 同期確定パルスを出力し、 さらに、 フレーム同期中に前記同期情報の位置が 1フ レー厶前の前記同期情報の位置と一致しない疑似同期状態が発生した後に、 前記 同期情報を検出したフレームの数を計数して第 2の計数値とし、 該第 2の計数値 が予め設定された第 2の後方保護段数に達したときに同期確定パルスを出力する 後方保護段数処理部と、
フレーム同期中に前記同期情報の位置が 1フレーム前の前記同期情報の位置と 一致しないフレームの数を計数して第 3の計数値とし、 該第 3の計数値が予め設 定された前方保護段数に達したときに非同期確定パルスを出力し、 さらに、 フレ ー厶同期中に前記疑似同期状態が発生した後に、 前記同期情報の位置が 1フレー 厶前の前記同期情報の位置と一致したとき前記第 3の計数値をクリアする前方保 護段数処理部と、
を有する伝送データフレー厶同期回路。
7 . フレーム同期が確立したとき、 入力されたデータのうち出力すべきデ
—夕の先頭位置を前記保持された現フレー厶の同期情報の位置に基づいて決定し、 決定した先頭位置から前記データの出力を開始するデータ出力位置決定部をさら に有する、 請求項 6に記載の伝送データフレーム同期回路。
8 . 前記第 1の後方保護段数と前記第 2の後方保護段数をそれぞれ独立に 設定する保護段数設定部を有する、 請求項 6に記載の伝送データフレーム同期回 路。
9 . 前記保護段数設定部は、 前記第 1の後方保護段数が前記前方保護段数 よりも小さくなるように、 前記前方保護段数を設定する、 請求項 8に記載の伝送 データフレーム同期回路。
1 0 . 前記同期情報の位置が同期ビットの位置として前記検出部に保持され る、 請求項 6に記載の伝送データフレーム同期回路。
1 1 . 前記後方保護段数処理部は、
前記第 1および第 2の計数値を計数可能なカウンタと、
フレーム非同期中は前記第 1の計数値を前記カウンタに数えさせ、 フレーム同 期中に前記疑似同期状態が発生した後は前記第 2の計数値を前記力ゥンタに数え させるカウンタ制御部と、
フレーム非同期中は前記第 1の後方保護段数と前記第 2の後方保護段数のうち 前記第〗の後方保護段数を選択して出力し、 フレーム同期中に前記疑似同期状態 が発生した後は前記第 2の後方保護段数を選択して出力する選択部と、
前記カウンタでの計数値と前記選択部から出力された後方保護段数とがー致し たときに前記同期確定パルスを出力する排他的論理和回路と、
を備える、 請求項 6に記載の伝送データフレーム同期回路。
1 2 . 前記前方保護段数処理部は、
前記第 3の計数値を計数する力ゥンタと、
フレーム同期中は前記第 3の計数値を前記力ゥンタに数えさせ、 フレーム同期 中に前記疑似同期状態が発生した後は前記同期情報の位置が 1フレーム前の前記 同期情報の位置と一致したとき前記第 3の計数値をクリァする力ゥンタ制御部と、 前記カウンタの計数値と前記前方保護段数とがー致したときに前記非同期確定 パルスを出力する排他的論理和回路と、
を備える請求項 6に記載の伝送データフレー厶同期回路。
1 3 . 前記後方保護段数処理部は、
前記第 1および第 2の計数値を計数可能な第〗のカウンタと、
フレーム非同期中は前記第 1の計数値を前記第 1のカウンタに数えさせ、 フレ ー厶同期中に前記疑似同期状態が発生した後は前記第 2の計数値を前記第 1の力 ゥン夕に数えさせる第 1のカウンタ制御部と、
フレーム非同期中は前記第 1の後方保護段数と前記第 2の後方保護段数のうち 前記第 1の後方保護段数を選択して出力し、 フレーム同期中に前記疑似同期状態 が発生した後は前記第 2の後方保護段数を選択して出力する選択部と、
前記カウンタでの計数値と前記選択部から出力された後方保護段数とがー致し たときに前記同期確定パルスを出力する第 1の排他的論理和回路と、
を備え、
前記前方保護段数処理部は、
前記第 3の計数値を計数する第 2のカウンタと、 フレーム同期中は前記第 3の計数値を前記第 2のカウンタに数えさせ、 フレー 厶同期中に前記疑似同期状態が発生した後は前記同期情報の位 Sが 1フレーム前 の前記同期情報の位置と一致したとき前記第 3の計数値をクリァする第 2のカウ ンタ制御部と、
前記第 2のカウンタの計数値と前記前方保護段数とがー致したときに前記非同 期確定パルスを出力する第 2の排他的論理和回路と、
を備える請求項 6に記載の伝送データフレーム同期回路。
PCT/JP2003/000983 2002-02-05 2003-01-31 Procede et circuit de synchronisation de trame de donnees de transmission WO2003067806A1 (fr)

Priority Applications (3)

Application Number Priority Date Filing Date Title
DE60321663T DE60321663D1 (de) 2002-02-05 2003-01-31 Übertragungsdatenrahmensynchronisationsverfahren und übertragungsdatenrahmensynchronisationsschaltung
EP03737452A EP1480370B1 (en) 2002-02-05 2003-01-31 Transmission data frame synchronization method and transmission data frame synchronization circuit
NO20043690A NO334476B1 (no) 2002-02-05 2004-09-03 Fremgangsmåte ved synkronisering av datarammer for overføring og tilsvarende krets

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002027874A JP3565206B2 (ja) 2002-02-05 2002-02-05 伝送データフレーム同期回路及び伝送データフレーム同期方法
JP2002-027874 2002-02-05

Publications (1)

Publication Number Publication Date
WO2003067806A1 true WO2003067806A1 (fr) 2003-08-14

Family

ID=27677847

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2003/000983 WO2003067806A1 (fr) 2002-02-05 2003-01-31 Procede et circuit de synchronisation de trame de donnees de transmission

Country Status (5)

Country Link
EP (1) EP1480370B1 (ja)
JP (1) JP3565206B2 (ja)
DE (1) DE60321663D1 (ja)
NO (1) NO334476B1 (ja)
WO (1) WO2003067806A1 (ja)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2896368B1 (fr) * 2006-01-18 2008-03-14 Atmel Corp Appareil pour ameliorer l'efficacite du microprogramme pour une interface serie multitrame

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0568030A (ja) * 1991-09-10 1993-03-19 Fujitsu Ltd 同期回路
JPH07250056A (ja) * 1994-03-09 1995-09-26 Toshiba Corp フレーム同期回路
JP2000165369A (ja) * 1998-11-30 2000-06-16 Nec Miyagi Ltd 前方後方保護段数の検出方法、その装置および前方後方保護段数の検出方法を記録した記録媒体
JP2001339360A (ja) * 2000-05-29 2001-12-07 Nec Eng Ltd フレーム同期回路

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA1301260C (en) * 1988-01-21 1992-05-19 Norio Yoshida Synchronizer for establishing synchronization between data and clock signals
JP2748912B2 (ja) * 1995-12-26 1998-05-13 日本電気株式会社 フレーム同期回路

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0568030A (ja) * 1991-09-10 1993-03-19 Fujitsu Ltd 同期回路
JPH07250056A (ja) * 1994-03-09 1995-09-26 Toshiba Corp フレーム同期回路
JP2000165369A (ja) * 1998-11-30 2000-06-16 Nec Miyagi Ltd 前方後方保護段数の検出方法、その装置および前方後方保護段数の検出方法を記録した記録媒体
JP2001339360A (ja) * 2000-05-29 2001-12-07 Nec Eng Ltd フレーム同期回路

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP1480370A4 *

Also Published As

Publication number Publication date
DE60321663D1 (de) 2008-07-31
JP2003229842A (ja) 2003-08-15
EP1480370B1 (en) 2008-06-18
EP1480370A4 (en) 2006-07-05
JP3565206B2 (ja) 2004-09-15
NO334476B1 (no) 2014-03-17
EP1480370A1 (en) 2004-11-24
NO20043690L (no) 2004-09-03

Similar Documents

Publication Publication Date Title
JP2000324116A (ja) フレーム同期方法およびフレーム同期回路
WO2003067806A1 (fr) Procede et circuit de synchronisation de trame de donnees de transmission
JP2944319B2 (ja) 並列展開型フレーム同期方式
JP2004289326A (ja) フレーム信号の速度変換処理を行なう光信号伝送装置
JPH09149015A (ja) クロック位相調整回路
JP3641411B2 (ja) フレーム同期回路
JP2655624B2 (ja) フレ−ム同期検出回路
JP3989099B2 (ja) 位相調整回路
JP3338237B2 (ja) 同期再生回路
JPH10290221A (ja) 同期保護装置
JP2809202B2 (ja) クロック切り替え回路及びこれを用いたクロック乗せ換え装置
JPH0630479B2 (ja) フレ−ム同期方式
JP3589752B2 (ja) フレーム同期回路
JP3108328B2 (ja) 同期再生回路
JP2003249924A (ja) 同期検出回路
JP2526705B2 (ja) フレ―ム同期保護装置
JP2862926B2 (ja) フレーム同期保護回路
JPH0993239A (ja) バーストフレーム同期回路
JPH07336320A (ja) Tdma多重伝送におけるフレーム同期回路
JPH0522279A (ja) フレーム検出保護回路
JPH11150528A (ja) パリティ演算回路
JPH09298530A (ja) 現用予備方式用送信フレームタイミング同期回路
JPH02156743A (ja) フレーム同期保護方式
JP2003018136A (ja) 伝送装置
JPH05114898A (ja) デイジタル伝送システムのフレーム同期回路

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): CA CN KR NO SG US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT SE SI SK TR

DFPE Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed before 20040101)
121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2003737452

Country of ref document: EP

WWP Wipo information: published in national office

Ref document number: 2003737452

Country of ref document: EP

WWG Wipo information: grant in national office

Ref document number: 2003737452

Country of ref document: EP