WO2024095739A1 - Reception device - Google Patents

Reception device Download PDF

Info

Publication number
WO2024095739A1
WO2024095739A1 PCT/JP2023/037287 JP2023037287W WO2024095739A1 WO 2024095739 A1 WO2024095739 A1 WO 2024095739A1 JP 2023037287 W JP2023037287 W JP 2023037287W WO 2024095739 A1 WO2024095739 A1 WO 2024095739A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
correction value
error
circuit
signal
Prior art date
Application number
PCT/JP2023/037287
Other languages
French (fr)
Japanese (ja)
Inventor
峻 井手口
落合 一夫
雄介 村田
Original Assignee
ザインエレクトロニクス株式会社
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 ザインエレクトロニクス株式会社 filed Critical ザインエレクトロニクス株式会社
Publication of WO2024095739A1 publication Critical patent/WO2024095739A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L25/00Baseband systems
    • H04L25/38Synchronous or start-stop systems, e.g. for Baudot code
    • H04L25/40Transmitting circuits; Receiving circuits
    • H04L25/49Transmitting circuits; Receiving circuits using code conversion at the transmitter; using predistortion; using insertion of idle bits for obtaining a desired frequency spectrum; using three or more amplitude levels ; Baseband coding techniques specific to data transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/04Speed or phase control by synchronisation signals

Definitions

  • the present invention relates to a receiving device.
  • EMC electromagnetic compatibility
  • Serial data communication is used to transmit data at high speeds.
  • serial data communication techniques such as those described in Patent Document 1 are known, and data is received using control codes.
  • control codes K codes
  • D code code
  • the symbol mapping method is a type of transmission coding method, and is a coding method in which m-bit data characters are mapped to n (m ⁇ n) bits to create a coding symbol.
  • a control code that is not a code representing data can be generated.
  • the delimiter symbol that indicates the beginning of serial data for example, the comma character in the 8b/10b method, is called a special code. That is, in the 8b10b coding method, which is one of the symbol mapping methods, comma characters (K28.1, K28.5, K28.7) are known as special codes.
  • the image data receiving device receives the special code periodically (for example, at a rate of about one pixel per line included in one image).
  • the image data receiving device receives the special code, it performs byte alignment (byte boundary alignment) on the received image data signal.
  • Patent Document 2 discloses a method of performing byte alignment.
  • the first receiving device includes a special code detection circuit that receives a data signal that includes a special code encoded by a symbol mapping method and outputs a first correction value that corresponds to the position of the special code included in the data signal; a byte alignment circuit that receives the first and second correction values and performs byte alignment of the data signal according to the first and second correction values; a data string generation circuit that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit; a decoder that decodes and outputs a specific data string from the plurality of data strings output from the data string generation circuit and performs an error determination for the specific data string; a plurality of error detectors that perform an error determination for each of the remaining data strings other than the specific data string from the plurality of data strings output from the data string generation circuit; and a correction value generation circuit that receives a plurality of error signals indicating the results of the error determination output from the decoder and the plurality of error detectors and generates the
  • the first correction value corresponds to the position of the special code indicating normal timing, and when the first correction value is received, the byte alignment circuit performs byte alignment.
  • the second correction value has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, byte alignment of the data signal is performed according to the second correction value generated by the correction value generation circuit. This allows for an early return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early.
  • This receiving device controls by feeding back the second correction value generated by the correction value generation circuit to the byte alignment circuit in the previous stage, and does not require many circuits, so it can be realized with a relatively small circuit scale.
  • the second receiving device includes a special code detection circuit that receives a data signal containing a special code encoded by a symbol mapping method and outputs a first correction value corresponding to the position of the special code contained in the data signal, a byte alignment circuit that performs byte alignment of the data signal according to the first correction value output from the special code detection circuit, a data string generation circuit that generates multiple data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit, multiple decoders that decode each of the multiple data strings output from the data string generation circuit and perform error judgment on each of them, a correction value generation circuit that receives multiple error signals indicating the results of the error judgment output from the multiple decoders and generates a second correction value including information on a data string without errors according to the multiple error signals input, and a selection circuit that selects and outputs a data string corresponding to the second correction value from the multiple data strings output from the multiple decoders.
  • the first correction value corresponds to the position of the special code indicating normal timing, and when the first correction value is received, the byte alignment circuit performs byte alignment.
  • the second correction value has information about an error-free data string based on multiple error signals. If an error occurs before the special code is received due to external noise or the like, the selection circuit selects and outputs a data string without byte alignment deviation according to the second correction value generated by the correction value generation circuit. This allows for an early return to a normal data signal even before the special code is received. If the data signal is an image data signal, image distortion can be eliminated early.
  • a normal data signal is a data signal that is output by separating a data string at the position of a normal block
  • an error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs.
  • Normal data signals and groups of error data signals can be output from the multiple decoders.
  • This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value. Since this receiving device does not require feedback of the second correction value to the byte alignment circuit, the circuit structure is simple and has excellent maintainability and robustness.
  • the byte alignment circuit outputs a notification signal that byte alignment has been completed, and when the notification signal is input to the correction value generation circuit, the selection circuit selects and outputs a data string from the decoder with the default settings among the decoders. Even if there is no change in the second correction value, the correction value generation circuit receives the first correction value, and the selection circuit can output a data string with correct divisions.
  • the third receiving device includes a special code detection circuit that receives a data signal that includes a special code encoded by a symbol mapping method and outputs a first correction value that corresponds to the position of the special code included in the data signal; a data string generation circuit that generates a plurality of data strings from the data signal, the data strings having different delimiter positions; a plurality of decoders that decode each of the plurality of data strings output from the data string generation circuit and perform an error determination for each of the plurality of data strings; a correction value generation circuit that receives a plurality of error signals that indicate the results of the error determination output from the plurality of decoders and generates a second correction value that includes information about a data string that does not include an error in accordance with the plurality of error signals that have been input; and a byte alignment circuit that selects and outputs a data string that corresponds to the first correction value and the second correction value from the plurality of data strings output from the plurality of decoders.
  • the first correction value corresponds to the position of the special code indicating normal timing.
  • the second correction value has information on an error-free data string based on multiple error signals.
  • the byte alignment circuit selects and outputs a data string corresponding to the first and second correction values from the multiple data strings output from the multiple decoders. If an error occurs before the reception of the special code due to external noise or the like, the byte alignment circuit selects and outputs a data string without byte alignment deviation according to the second correction value generated by the correction value generation circuit. This makes it possible to quickly return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be quickly eliminated. This receiving device can achieve early recovery from byte alignment deviation with a simple configuration.
  • the above-mentioned receiving device includes a deserializer that receives a serial data signal transmitted from a transmitting device, converts it into a parallel data signal, and inputs it as the data signal to the special code detection circuit.
  • the deserializer can convert the serial data signal into a parallel data signal.
  • the receiving device of the present invention can quickly restore a normal data signal even if an error occurs in the data signal.
  • FIG. 1 is a diagram showing a circuit configuration of a transmission/reception system including a first receiving device.
  • FIG. 2 is a diagram showing the circuit configuration of the special code detection circuit.
  • FIG. 3 is a diagram showing the data string generating circuit and the special code detecting circuit.
  • FIG. 4 is a diagram illustrating an example of a data string generating circuit.
  • FIG. 5 is a diagram showing a first type of byte alignment circuit.
  • FIG. 6 is a diagram showing a circuit configuration of a decoder with a correction value generating function.
  • FIG. 7 is a flow chart for explaining a procedure for correcting the phase of an image data signal in the first receiving device.
  • FIG. 8 is a diagram for explaining the timing of byte alignment.
  • FIG. 1 is a diagram showing a circuit configuration of a transmission/reception system including a first receiving device.
  • FIG. 2 is a diagram showing the circuit configuration of the special code detection circuit.
  • FIG. 3 is a diagram showing the data string
  • FIG. 9 is a diagram for explaining the states of a plurality of error signals.
  • FIG. 10 is a diagram showing a circuit configuration of a transmission/reception system including a second receiving device.
  • FIG. 11 is a diagram showing a second type of byte alignment circuit.
  • FIG. 12 is a diagram showing a circuit configuration of a decoder with a correction value generating function.
  • FIG. 13 is a flow chart for explaining a procedure for correcting the phase of an image data signal in the second receiving device.
  • FIG. 14 is a diagram for explaining the states of a plurality of error signals.
  • FIG. 15 is a timing chart for explaining an example of timing of data transmission and reception in the first receiving device.
  • FIG. 16 is a timing chart for explaining an example of timing of data transmission and reception in the second receiving device.
  • FIG. 17 is a diagram showing a circuit configuration of a transmission/reception system including a third receiving device.
  • FIG. 18 is a diagram showing a circuit configuration of a decoder with a correction value generating function.
  • FIG. 19 is a diagram showing a third type of byte alignment circuit.
  • FIG. 20 is a diagram showing the circuit configuration of a transmission/reception system equipped with the improved first receiving device.
  • FIG. 21 is a diagram showing the circuit configuration of a transmission/reception system equipped with an improved second receiving device.
  • FIG. 22 is a diagram showing the circuit configuration of a transmitting/receiving system equipped with an improved third receiving device.
  • FIG. 1 shows the circuit configuration of a transmission/reception system equipped with a first receiving device.
  • the transmission/reception system includes a transmitting device TX and a receiving device RX.
  • the transmitting device TX includes an encoder 201 and a serializer 202.
  • the encoder 201 receives a parallel data signal DATA-P (IN) as an image data signal, and also receives a signal FLAG-K (IN) corresponding to a control code (K code in 8b10b). This signal FLAG-K can also function as an identifier of the type of data.
  • the encoder 201 performs encoding using a symbol mapping method. In this example, an 8-bit parallel data signal is input to the encoder 201, and the encoder 201 is an 8b10b encoder.
  • the encoder 201 outputs an encoded 10-bit parallel data signal DATA-P (EE).
  • the parallel data signal DATA-P (EE) is input to the serializer 202.
  • the serializer 202 converts the parallel data signal DATA-P (EE) into an encoded serial data signal DATA-S (E) and outputs it to the transmission line.
  • the encoded serial data signal DATA-S(E) is transmitted from the transmitter TX and received by the receiver RX via the transmission line.
  • the receiving device RX includes a deserializer 1, a special code detection circuit 2, a byte alignment circuit 3, and a decoder 4 with a correction value generation function.
  • the deserializer 1 converts the received serial data signal DATA-S (E) into a 10-bit parallel data signal DATA-P (E*). When converting a serial data signal into a parallel data signal, continuous serial data is divided at equal intervals to generate blocks of data strings. The deserializer 1 divides the continuous serial data every 10 bits and outputs a temporary parallel data signal DATA-P (E*). In this way, the receiving device RX is equipped with a deserializer 1 that receives a data signal from the transmitting device TX as a serial data signal, converts it into a parallel data signal, and inputs this parallel data signal to the special code detection circuit 2 and the byte alignment circuit 3. The deserializer 1 can convert serial data signals into parallel data signals.
  • the special code detection circuit 2 receives the parallel data signal DATA-P (E*).
  • the special code detection circuit 2 generates multiple data strings (for example, 10 data strings) from the parallel data signal DATA-P (E*) by shifting each bit, and compares each data string with a string of special codes (comma characters). If the special code detection circuit 2 detects a data string that matches a special code, it outputs a first correction value DET-COM that contains information on the position (timing) of the special code.
  • the first correction value DET-COM is used to correct the delimiter position (phase) of the aforementioned data. For example, when multiple data strings are generated, the first correction value DET-COM contains information on the position of the data string in which the special code was detected (the Xth data string).
  • the parallel data signal DATA-P (E*) is input to the byte alignment circuit 3.
  • the byte alignment circuit 3 performs correction of the delimitation position of the provisional parallel data signal DATA-P (E*) according to the first correction value DET-COM, i.e., byte alignment.
  • the special code is embedded at the start and end of the blanking period, and the reception of the actual image data starts from the bit next to the time (t0) when the special code at the end is received.
  • the byte alignment circuit 3, like the special code detection circuit 2, generates multiple data strings (for example, 10 data strings) shifted by one bit from the parallel data signal DATA-P (E*), and any of the data strings is delimited at the correct position.
  • the byte alignment circuit 3 If the position of the data string where the special code detection circuit 2 received the special code is the Xth, then the byte alignment circuit 3 also correctly delimits the Xth data string with the special code.
  • the first correction value DET-COM indicates the Xth position information to the byte alignment circuit 3.
  • the byte alignment circuit 3 outputs a parallel data signal DATA-P(E) that has been byte aligned based on the correct delimiter information.
  • byte alignment deviation After byte alignment is performed, external noise, etc. may cause byte alignment to be performed at a position that is shifted from the correct delimiter position (this is called "byte alignment deviation").
  • “Byte alignment deviation” is a state in which the receiving device does not perform serial-parallel conversion on the correct data block.
  • the recovered clock of the clock data recovery (CDR) circuit is shifted, the timing of the receiving device's serial data acquisition is shifted, and the number of received data items increases or decreases.
  • a deviation in the number of data items occurs between the transmitting device and the receiving device, and the data boundary position is shifted.
  • a deviation in the frequency of the sending clock on the sending side and the recovered clock on the receiving side is called a recovered clock deviation. If the recovered clock of the receiving device is slower than the sending clock of the transmitting device, it may not be possible to sample the transmitted (1 bit) data.
  • the recovered clock is faster than the sending clock of the transmitting device, the transmitted (1 bit) data will be sampled multiple times, and the number of data received by the receiving device may increase. In this way, if the number of data bits sent by the transmitting device and the number of data bits received by the receiving device differ, this can cause a "byte alignment deviation".
  • the second correction value ⁇ K is generated in the decoder 4 at the subsequent stage.
  • the second correction value ⁇ K contains information on the position of the data string separated at the correct position (the Yth data string).
  • the byte alignment circuit 3 receives the second correction value ⁇ K, it performs byte alignment in the same way as when it receives the first correction value DET-COM, and outputs a parallel data signal DATA-P(E) that has been byte aligned based on the correct separation information.
  • the parallel data signal DATA-P(E) is input to the decoder 4.
  • the decoder 4 decodes the received parallel data signal DATA-P(E) and outputs the parallel data signal DATA-P(OUT) and a signal FLAG-K(OUT) corresponding to the K code as a control code.
  • the decoder 4 also has a correction value generation function, and generates a second correction value ⁇ K based on the received parallel data signal DATA-P(E). Like the byte alignment circuit 3, the decoder 4 also generates multiple data strings shifted by one bit at a time, and when decoding each data string, it identifies information on the position of the data string where no error occurred (the Yth data string has no error). When the byte alignment circuit 3 receives the second correction value ⁇ K, it determines that the Yth data string is separated at the correct position, and performs byte alignment by outputting a signal of the Zth data string corresponding to the Yth. Note that the Zth is X+Y, and if Z exceeds the maximum value of 10, the maximum value is subtracted. The structure of each circuit will be explained in detail below.
  • Figure 2 shows the circuit configuration of the special code detection circuit 2.
  • the special code detection circuit 2 includes a data string generation circuit 21, a number of special code detection units 22, and a correction value generation circuit 23.
  • a parallel data signal DATA-P (E*) is input to the data string generation circuit 21.
  • the data string generation circuit 21 generates 10 data strings by shifting the parallel data signal DATA-P (E*) by one bit at a time.
  • Each data string (DATA-ARRAY (0) to DATA-ARRAY (9)) is input to the corresponding special code detection unit 22 (0) to special code detection unit 22 (9).
  • An 8b10b code is also input to each special code detection unit 22, and the received data string determines where the special code is located.
  • Comma characters K28.1, K28.5, K28.7) are known as 8b10b special codes.
  • Special code detection units 22(0) to 22(9) respectively output special code detection signals COMMA-DET(0) to COMMA-DET(9) indicating whether a special code (comma character) is included in the received data string.
  • the correction value generation circuit 23 generates a first correction value DET-COM from the received sequence of special code detection signals, indicating that a special code is present in the Xth position.
  • the first correction value DET-COM is input to the selection circuit of the byte alignment circuit 3, so as long as it is a signal that is appropriately synchronized with the parallel data signal DATA-P(E*) input to the byte alignment circuit 3, the data sequence of the special code detection signal may be used as is.
  • FIG. 3 shows the data string generation circuit and the special code detection circuit.
  • the special code detection unit 22(n) is a logic circuit that compares the input data string (D(19-n)-D(10-n)) with the comma character data string (C0-C9). If they match, the level of the special code detection signal COMMA-DET(n) rises, and the position (timing) of the special code can be identified.
  • Figure 4 shows an example of a data string generation circuit.
  • the data string generation circuit 21 has 10 D flip-flops, each of which receives 10 bits of data at its D terminal.
  • the rising edge of the sampling clock signal CLK ⁇ is input to the clock terminal, the first data string is output to the Q terminal, and the 10-bit first data string output from the lower terminal is maintained.
  • the sampling clock signal CLK ⁇ is not changed, and the 10-bit second data string is output from the upper terminal. In this way, a 20-bit data string is generated, and this generation process is repeated thereafter.
  • FIG. 5 shows a first type of byte alignment circuit 3.
  • the first type byte alignment circuit 3 applied to the first receiving device comprises a data string generation circuit 31, a selection circuit 32, and a byte alignment determination circuit 33.
  • the structure of the data string generation circuit 31 is the same as that of the data string generation circuit 21 described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) with phases shifted by one bit at a time.
  • the selection circuit 32 performs byte alignment by outputting a data string corresponding to the information indicated by the input first correction value DET-COM and second correction value ⁇ K (the position of the data string separated at the correct position).
  • the first correction value DET-COM is generated depending on the timing of receiving a special code (comma character) that is received periodically.
  • a special code for example, a selection instruction signal that selects the fifth data string (DATA-ARRAY (4))
  • the selection circuit 32 inputs a first selection instruction signal (for example, a selection instruction signal that selects the fifth data string (DATA-ARRAY (4))) to the selection circuit 32, which selects the error-free data string indicated by the information of the first correction value DET-COM.
  • a first selection instruction signal for example, a selection instruction signal that selects the fifth data string (DATA-ARRAY (4))
  • the selection circuit 32 When the byte alignment determination circuit 33 receives the second correction value ⁇ K, it inputs a second selection instruction signal to the selection circuit 32, which selects the error-free data string indicated by the information of the second correction value ⁇ K.
  • the byte alignment determination circuit 33 gives priority to the first selection instruction signal generated in response to receiving the first correction value DET-COM over the second selection instruction signal generated in response to receiving the second correction value ⁇ K, and inputs it to the selection circuit 32. In other words, if the byte alignment determination circuit 33 receives the first correction value DET-COM after receiving the second correction value ⁇ K, it stops performing byte alignment using the second correction value ⁇ K and outputs the first selection instruction signal.
  • the second correction value ⁇ K indicates the position of a data string where no error occurs, and the second correction value ⁇ K is input to the byte alignment circuit 3, which performs byte alignment of the input data signal according to the second correction value ⁇ K.
  • the first receiving device performs control by feeding back the second correction value ⁇ K generated in the correction value generation circuit to the byte alignment circuit 3 in the preceding stage, and does not require many circuits, so the circuit scale can be relatively small.
  • FIG. 6 shows the circuit configuration of a decoder 4 with a correction value generation function.
  • the decoder 4 includes a data string generation circuit 41, an 8b10b decoder with error detection 42(0), multiple 8b10b error detectors 42E(1)-42E(9), and a correction value generation circuit 43.
  • the structure of the data string generation circuit 41 is the same as that of the data string generation circuit 21 described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) whose phases are shifted by one bit each.
  • the decoder 4 has 10 channels through which these data strings flow.
  • a typical 8b10b decoder has the functions of decoding the input signal, detecting errors during 8b10b conversion, and generating an identification signal FLAG-K (OUT) corresponding to the control code (K code).
  • An 8b10b error detector can use part of the 8b10b decoder functions, but it may also be configured by removing unnecessary parts from an 8b10b decoder.
  • An 8b10b decoder with error detection or an 8b10b error detector outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
  • the second correction value ⁇ K may be generated, for example, by inverting the logic of the sequence of error signals and shifting the phase by an amount equivalent to the input to the byte alignment circuit 3 so that a correctly delimited data sequence is selected.
  • the first 8b10b decoder with error detection 42(0) is placed, and outputs the decoded parallel data signal DATA-P (OUT) as well as the identification signal FLAG-K (OUT).
  • the circuit that performs the decoded output does not need to be set to the first 8b10b decoder with error detection 42(0), and may be set to a position corresponding to another channel of the data array.
  • the fifth 8b10b error detector 42E(4) or the sixth 8b10b error detector 42E(5) can also be an 8b10b decoder.
  • the 8b10b decoder is located in the center of the channel of the data array, which has the advantage of increasing symmetry during data processing.
  • FIG. 7 is a flowchart explaining the phase correction procedure for the image data signal in the first receiving device.
  • the decoder 4 shown in FIG. 6 detects whether an error has occurred in a specific channel (8b10b decoder with error detection 42(0)) that is currently decoding and outputting 10 channels (data string: DATA-ARRAY(0) to DATA-ARRAY(9)) (step S1). This can be determined by detecting the data string of the error signal. If an error has occurred in a specific channel, there is a channel in which no error has occurred, so that channel is selected (step S2). If an error has occurred in the target channel currently being decoded, this means that the division of the data string of this channel is incorrect. At a position where the phase is shifted from this channel, there is a correct data string among the data strings that have been divided.
  • the correction value generation circuit 43 selects the data string with the correct division, generates the second correction value ⁇ K corresponding to the selected channel, and outputs it (step S3).
  • the byte alignment circuit 3 performs byte alignment according to the input second correction value ⁇ K (step S4). If byte alignment is performed using the first correction value DET-COM while this flow is being executed, the input to the decoder will be a correctly delimited data string, so the error in the decoder will be resolved, byte alignment using the second correction value ⁇ K will be stopped, and the flow will return to step S1 again.
  • Figure 8 is a diagram to explain the timing of byte alignment.
  • the timing of the encoded parallel data signal DATA-P(E) is shown.
  • the image data signal includes a blanking start signal BS (a comma character in the K code) at the start of the blanking period (D code), and a blanking end signal BE (a comma character in the K code) at the end.
  • the active period (D code) during which image data is transmitted begins from the bit following the blanking end signal BE.
  • byte alignment is performed using the first correction value DET-COM. If an error is detected during 8b10b decoding at time t1 due to external noise or the like, byte alignment is performed at time t2 using the above-mentioned second correction value ⁇ K.
  • time t1 is immediately before time t3 of the byte alignment using the next first correction value DET-COM after the error occurs
  • time t2 is earlier than time t3 of the byte alignment using the next first correction value DET-COM after the error occurs. Therefore, with this receiving device, the normal image data signal can be quickly restored even before the special code is received.
  • Figure 9 is a diagram to explain the state of multiple error signals.
  • the decoder 4 shown in FIG. 6 a configuration is shown in which multiple error signals ERROR(0) to ERROR(9) are constantly monitored.
  • the first 8b10b decoder with error detection 42(0) in FIG. 6 switches from an error-free state (No error) to an error-present state at time t1.
  • the error signal ERROR(1) output from the second 8b10b error detector 42E(1) changes to an error-free state (No error) immediately after time t1.
  • the correction value generation circuit 43 generates the second correction value ⁇ K and inputs it to the byte alignment circuit 3.
  • time t2 byte alignment is performed, and then the first 8b10b decoder with error detection 42(0) returns to an error-free state (No error). Note that, among the multiple channels, there is only one channel in which no errors occur, and errors frequently occur in the other channels.
  • FIG. 10 shows the circuit configuration of a transmission/reception system equipped with a second receiving device.
  • this transmission/reception system differs in the structure of the byte alignment circuit 3 and the decoder 4. Unlike the first type (FIG. 5), in which the second correction value ⁇ K is input to the byte alignment circuit 3, this byte alignment circuit 3 (second type) outputs a notification signal DONE indicating that byte alignment has been completed, and inputs this to the decoder 4.
  • the other configurations of this transmission/reception system are the same as those of the transmission/reception system shown in FIG. 1.
  • the decoder 4 has multiple (sub) decoders corresponding to multiple channels inside, and the output signal of any of the (sub) decoders is an output signal in which data has been correctly delimited. Therefore, if an error is detected in any of the (sub) decoders, the output of the decoder in which no error occurs is selected and output as the parallel data signal DATA-P (OUT).
  • Figure 11 shows a second type of byte alignment circuit.
  • the second type byte alignment circuit 3 applied to the second receiving device differs from the first type byte alignment circuit 3 ( Figure 5) only in the function of the byte alignment determination circuit 33, and the other configurations are the same.
  • the second type byte alignment determination circuit 33 receives the first correction value DET-COM, it inputs a first selection instruction signal that selects the corresponding error-free data string to the selection circuit 32, and performs the same byte alignment as described above.
  • the second type byte alignment determination circuit 33 inputs the first selection instruction signal to the selection circuit 32, and then outputs a notification signal (DONE) indicating that byte alignment has been completed.
  • the notification signal (DONE) is input to the decoder 4 with a correction value generation function located downstream.
  • FIG. 12 shows the circuit configuration of a decoder 4 with a correction value generation function.
  • the decoder 4 includes a data string generation circuit 41, ten 8b10b decoders with error detection 42(0)-42(9), a correction value generation circuit 43A, a first selection circuit 44, and a second selection circuit 45.
  • the data string generation circuit 41 has the structure described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) whose phases are shifted by one bit each.
  • the decoder 4 has 10 channels through which these data strings flow.
  • the ten 8b10b decoders with error detection 42(0)-42(9) are general 8b10b decoders, each of which has the function of decoding the input signal, the function of detecting errors during 8b10b conversion, and the function of generating identification signals FLAG-K(0)-FLAG-K(9) corresponding to the control code (K code).
  • Each 8b10b decoder 42(n) with error detection (n is an integer from 0 to 9) outputs an output signal DATA(n) obtained by decoding the input data string, an error signal ERROR(n) that determines whether or not there is an error, and an identification signal FLAG-K(n) that corresponds to the control code (K code).
  • the 8b10b decoder 42(n) with error detection outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
  • the second correction value ⁇ K* is, for example, the inverted logic of the data string of the error signals.
  • the ten decoded output signals DATA(n) are input to the first selection circuit 44.
  • the first selection circuit 44 selects and outputs the output signal DATA(n) of the Y-th data string indicated by the second correction value ⁇ K* output from the correction value generation circuit 43A.
  • the ten identification signals FLAG-K(n) are input to the second selection circuit 45.
  • the second selection circuit 45 selects the identification signal FLAG-K(n) of the Y-th data string indicated by the second correction value ⁇ K* output from the correction value generation circuit 43A, and outputs it as FLAG-K(OUT).
  • the receiving device RX is equipped with multiple 8b10b decoders 42(n) that respectively decode multiple data strings, and the second correction value ⁇ K* indicates a data string that is error-free.
  • the receiving device performs byte alignment of the data signal by selecting a data signal obtained by decoding the data string indicated by the second correction value ⁇ K* and outputting it as a parallel data signal DATA-P (OUT).
  • the receiving device has multiple decoders prepared in advance.
  • the normal data signal is a data signal that is output by separating a data string at the position of a normal block
  • the error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs.
  • Normal data signals and groups of error data signals can be output from the multiple 8b10b decoders 42(n).
  • This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value ⁇ K*. This receiving device does not require feedback of the second correction value to the byte alignment circuit 3, so the circuit structure is simple and has excellent maintainability and robustness.
  • the byte alignment circuit 3 executes byte alignment using the first correction value DET-COM generated in synchronization with the detection of the special code, it inputs a notification signal DONE indicating that the byte alignment has been executed to the correction value generation circuit 43A of the decoder 4. After the byte alignment is executed, the first selection circuit 44 selects and outputs the parallel data signal DATA-P (OUT) that has been delimited at the correct timing.
  • the notification signal DONE indicating that the byte alignment has been executed is input to the correction value generation circuit 43A, it can be determined that the default alignment state (a state in which normal byte alignment has been executed in synchronization with the detection of the special code and the correct delimitation has been performed) is in effect.
  • the second correction value ⁇ K* is a signal that instructs the first selection circuit 44 and the second selection circuit 45 to select the data signal output from the 8b10b decoder 42 that corresponds to a specific channel.
  • FIG. 13 is a flowchart explaining the phase correction procedure for the image data signal in the second receiving device.
  • the decoder 4 shown in FIG. 12 detects whether an error has occurred in a specific channel (e.g., 8b10b decoder 42(0) with error detection) that is currently decoding and outputting 10 channels (data string: DATA-ARRAY(0) to DATA-ARRAY(9)) (step S11). This can be determined by detecting the data string of the error signal. If an error has occurred in a specific channel, there is a channel in which no error has occurred.
  • a specific channel e.g., 8b10b decoder 42(0) with error detection
  • the correction value generation circuit 43A If an error has occurred in the target channel currently being decoded, this means that the division of the data string of this channel is incorrect and the data string with the division at the out-of-phase position is correct, so the correction value generation circuit 43A generates and outputs a second correction value ⁇ K* indicating a channel without errors (step S12).
  • the first selection circuit 44 selects and outputs an error-free data signal according to the input second correction value ⁇ K*, thereby performing byte alignment (step S13).
  • the correction value generation circuit 43A receives a notification signal DONE indicating that byte alignment has been completed, and regardless of the step, the initially selected decoder (the default decoder that is selected when the data signal DATA-P(E) has correct data delimiters and there is no error) is selected, and the process transitions to step S11.
  • the initially selected decoder the default decoder that is selected when the data signal DATA-P(E) has correct data delimiters and there is no error
  • Figure 14 is a diagram to explain the states of multiple error signals.
  • the decoder 4 shown in FIG. 12 a configuration is shown in which multiple error signals ERROR(0) to ERROR(9) are constantly monitored.
  • the first 8b10b decoder with error detection 42(0) in FIG. 12 switches from an error-free state (No error) to an error-present state (error) at time t1.
  • the error signal ERROR(1) output from the second 8b10b decoder 42(1) changes to an error-free state (No error) immediately after time t1.
  • the correction value generation circuit 43A generates the second correction value ⁇ K*, byte alignment is performed at time t2, and then the output signal of the second 8b10b decoder 42(1) is selected and output as an output signal in an error-free state (No error). Note that, among the multiple channels, there is only one channel in which no errors occur, and errors frequently occur in the other channels.
  • FIG. 15 is a timing diagram illustrating an example of the timing of data transmission and reception in the first receiving device.
  • an 8-bit parallel data signal DATA-P (IN) hex (hexadecimal notation) or DATA-P (IN) bin (binary notation) is input, which is converted to a 10-bit encoded parallel data signal DATA-P (EE), and then transmitted as a serialized serial data signal DATA-S (E).
  • the serial data signal DATA-S (E) is received, deserialized, and converted to a parallel data signal DATA-P (E*), and a byte-aligned parallel data signal DATA-P (E) is generated.
  • data strings DATA-ARRAY (0) to DATA-ARRAY (9) that flow through the 10 channels are generated.
  • the parallel data signal DATA-P (OUT) bin (binary notation) or DATA-P (OUT) hex (hexadecimal notation) is output from the decoder.
  • NG If an error (NG) is detected in the parallel data signal DATA-P(OUT)hex (in hexadecimal notation) after 8b10b encoding, for example due to a code error, this output signal will be an indefinite value.
  • Code errors are detected by an 8b10b decoder with error detection. For example, if an error (ERROR) occurs in the first data string (DATA-ARRAY(0)) and the second data string (DATA-ARRAY(1)) becomes normal (OK), then byte alignment is performed at time t2 using the second correction value ⁇ K as described above. In this case, the error in the first data string (DATA-ARRAY(0)) is eliminated and the data can be restored to a normal (OK) state.
  • FIG. 16 is a timing diagram illustrating an example of the timing of data transmission and reception in the second receiving device.
  • an 8-bit parallel data signal DATA-P (IN) hex (hexadecimal notation) or DATA-P (IN) bin (binary notation) is input, which is converted to a 10-bit encoded parallel data signal DATA-P (EE), and then transmitted as a serialized serial data signal DATA-S (E).
  • the serial data signal DATA-S (E) is received, deserialized, and converted to a parallel data signal DATA-P (E*), and a byte-aligned parallel data signal DATA-P (E) is generated.
  • data strings DATA-ARRAY (0) to DATA-ARRAY (9) that flow through the 10 channels are generated.
  • the parallel data signal DATA-P (OUT) bin (binary notation) or DATA-P (OUT) hex (hexadecimal notation) is output from the decoder.
  • FIG. 17 shows the circuit configuration of a transmission/reception system equipped with a third receiving device.
  • this transmission/reception system differs in the structure and arrangement of the decoder 4 and the byte alignment circuit 3.
  • the other configurations of this transmission/reception system are the same as those of the transmission/reception system shown in FIG. 1.
  • the decoder 4 has multiple (sub) decoders corresponding to multiple channels inside, and the output signal of any of the (sub) decoders is an output signal in which data has been correctly delimited. Therefore, if an error is detected in any of the (sub) decoders, it outputs a second correction value ⁇ K* that selects the output of a decoder in which no error has occurred.
  • the decoder 4 also outputs multiple parallel data signals DATA-P(M) that are generated by decoding the input signal, and multiple identification signals FLAG-K(M).
  • the byte alignment circuit 3 (third type) is placed after the decoder 4, and receives multiple parallel data signals DATA-P (M) (e.g., 10 8-bit data strings) and multiple identification signals FLAG-K (M) (e.g., 10 bits) output from the decoder 4. From each input signal, a signal with correct data division is selected using the first correction value DET-COM and the second correction value ⁇ K, and is output as the parallel data signal DATA-P (OUT) and the identification signal FLAG-K (OUT), resulting in byte alignment of the input parallel data signal.
  • M parallel data signals
  • FLAG-K e.g. 10 bits
  • FIG. 18 shows the circuit configuration of a decoder 4 with a correction value generation function.
  • the decoder 4 includes a data string generation circuit 41, ten 8b10b decoders with error detection 42(0)-42(9), and a correction value generation circuit 43A.
  • the decoder 4 is located immediately after the deserializer 1, so the parallel data signal DATA-P(E*) before byte alignment is input.
  • the structure and function of the data string generation circuit 41 and the 8b10b decoders with error detection 42(0)-42(9) are the same as the corresponding circuits in the decoder 4 of the second receiving device (see FIG. 12).
  • the ten 8b10b decoders with error detection 42(0)-42(9) are general 8b10b decoders, each of which has the function of decoding the input signal, the function of detecting errors during 8b10b conversion, and the function of generating identification signals FLAG-K(0)-FLAG-K(9).
  • Each 8b10b decoder 42(n) with error detection (n is an integer from 0 to 9) outputs an output signal DATA(n) obtained by decoding the input data string, an error signal ERROR(n) that determines whether or not there is an error, and an identification signal FLAG-K(n) that corresponds to the control code (K code).
  • the 8b10b decoder 42(n) with error detection outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
  • the second correction value ⁇ K* is, for example, the inverted logic of the data string of the error signals.
  • FIG. 19 shows a third type of byte alignment circuit 3.
  • This byte alignment circuit 3 includes a byte alignment determination circuit 33, a first selection circuit 34, and a second selection circuit 35.
  • the byte alignment judgment circuit 33 receives the first correction value DET-COM and the second correction value ⁇ K*.
  • receives the first correction value DET-COM it generates a first selection instruction signal that selects an error-free data string (e.g., Xth) and inputs this to the first selection circuit 34 and the second selection circuit 35.
  • receives the second correction value ⁇ K* it generates a second selection instruction signal that selects an error-free data string (e.g., Yth) and inputs this to the first selection circuit 34 and the second selection circuit 35.
  • the byte alignment judgment circuit 33 gives priority to the first selection instruction signal generated in response to receiving the first correction value DET-COM over the second selection instruction signal generated in response to receiving the second correction value ⁇ K*, and inputs this to the first selection circuit 34 and the second selection circuit 35. That is, if the byte alignment determination circuit 33 receives the first correction value DET-COM after receiving the second correction value ⁇ K*, it stops performing byte alignment using the second correction value ⁇ K* (selecting an error-free data signal) and performs byte alignment using the first correction value DET-COM (selecting an error-free data signal).
  • the first selection circuit 34 receives the ten output signals DATA(n) decoded by the preceding decoder 4. The first selection circuit 34 selects the error-free data string DATA(n) according to the first selection instruction signal generated from the first correction value DET-COM or the second selection instruction signal generated from the second correction value ⁇ K*, and outputs it as a parallel data signal DATA-P(OUT).
  • the second selection circuit 35 receives ten identification signals FLAG-K(n) decoded by the previous decoder 4. The second selection circuit 35 selects the signal FLAG-K(n) corresponding to an error-free channel according to the first selection instruction signal generated from the first correction value DET-COM or the second selection instruction signal generated from the second correction value ⁇ K*, and outputs it as the identification signal FLAG-K(OUT).
  • the serializer 202 of the transmitting device TX can be equipped with a pre-emphasis circuit (amplifier) that amplifies the high-frequency components of the transmission signal.
  • the deserializer 1 of the receiving device RX can be equipped with an adaptive equalizer that automatically amplifies the high-frequency components that are attenuated according to the characteristics of the transmission line. This makes it possible to suppress degradation of signal quality during signal transmission, and preferably to increase the data transmission speed of the symbol mapping method to 4 Gbps or more with one pair of differential lines, and the transmission distance to 10 m or more.
  • a flexible flat cable (FFC) can also be used for the transmission line of the serial data signal.
  • Figure 20 shows the circuit configuration of a transmission/reception system equipped with an improved first receiving device.
  • the transmitting device TX shown in the figure includes a packer PC (Packer), a symbol generating circuit SG, and a multiplexer MUX in addition to the first receiving device shown in FIG. 1.
  • a packer PC Packer
  • a symbol generating circuit SG symbol generating circuit SG
  • a multiplexer MUX multiplexer
  • the packer PC receives, for example, a video signal DATA-IN for each RGB and a sync signal SYNC-IN.
  • the packer PC generates a byte clock signal from the pixel clock signal of the video signal, and performs packet processing of the video signal using the byte clock signal to generate a packet signal that will be the video signal in the active period (ACTIVE).
  • the packer PC performs packet processing of signals corresponding to the blank start (BS) period, blank end (BE) period, and blank (BP) period from the sync signal SYNC-IN, and generates a packet signal corresponding to each period.
  • Each packet signal is an 8-bit parallel data signal, but it is also possible to process N times (N is a natural number) of 8-bit parallel data signals.
  • the symbol generation circuit SG receives the data enable signal DE-IN, and generates and outputs an identification signal FLAG-K (IN) corresponding to the control code (K code) from the data enable signal DE-IN.
  • the signal FLAG-K (IN) contains information indicating the BS period, BE period, and BP period.
  • the BS period can be set immediately after the falling edge of the data enable signal DE-IN
  • the blank end BE period can be set immediately before the rising edge.
  • the multiplexer MUX receives the multiple signals output from the packer PC and the identification signal FLAG-K (IN), and outputs an 8xN-bit parallel data signal obtained by combining these signals to the encoder 201.
  • the multiplexer MUX also receives the identification signal FLAG-K (IN) that contains information about the BS, BE, and BP periods, and can use this signal to perform operations.
  • the multiplexer MUX can output a video signal containing image information during the active period, and output a signal generated from the sync signal SYNC-IN corresponding to each period during the BS, BE, and BP periods.
  • Encoder 201 is an 8b10b encoder that receives the 8-bit parallel data signal PATA-P (IN) output from the multiplexer MUX, encodes it into a 10-bit parallel data signal, and outputs it. This parallel data signal can also be processed as a parallel data signal that is N times the 10-bit parallel data signal. Encoder 201 also receives an identification signal FLAG-K (IN) that corresponds to a control code (K code) output from the symbol generation circuit SG, and can optimize the encoding operation according to the type of signal. Serializer 202 is disposed after encoder 201, and outputs serial data signal DATA-S (E). Serializer 202 may also include a pre-emphasis circuit (amplifier) that amplifies high-frequency components.
  • the first receiving device RX shown in the figure includes a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE in addition to the first receiving device shown in FIG. 1.
  • the deserializer 1 of the receiving device RX receives the serial data signal DATA-D(E).
  • the deserializer 1 may be equipped with an adaptive equalizer.
  • the special code detection circuit 2, byte alignment circuit 3, and decoder 4 are arranged downstream of the deserializer 1. The structure and operation of these circuits are as explained for the first receiving device ( Figure 1), but the parallel data signals output from these circuits can also be N times the 10-bit parallel data signal.
  • a symbol detection circuit SD is arranged after the decoder 4, and a data enable signal generation circuit DE is arranged after that. Also, a demultiplexer DMUX is arranged after the decoder 4.
  • the symbol detection circuit SD receives a parallel data signal DATA-P (OUT) and an identification signal FLAG-K (OUT).
  • the symbol detection circuit SD detects information corresponding to the BS period, BE period, and BP period from the received signal, and inputs a symbol detection signal containing the detected information to the demultiplexer DMUX and the data enable signal generation circuit DE.
  • the unpacker UP (Un-packer) is placed after the demultiplexer DMUX.
  • the demultiplexer DMUX has the function of recovering the RGB video signals and the sync signal from the received parallel data signal DATA-P (OUT). To recover the sync signal, it can switch the output terminal of the input parallel data signal according to each period (BS period, BE period, BP period) indicated by the symbol detection signal output from the symbol detection circuit SD.
  • the parallel data signals separated from each output terminal corresponding to the active period, BS period, BE period, and BP period are input to the unpacker UP.
  • the unpacker UP generates a pixel clock signal from the parallel data signal received from the demultiplexer DEMUX, and uses the pixel clock signal to unpacketize the 8-byte packet signal, regenerating and outputting the RGB video signal DATA-OUT and the sync signal SYNC-OUT.
  • the data enable signal generation circuit DE generates and outputs a data enable signal DE-OUT according to each period (BS period, BE period, BP period) indicated by the symbol detection signal output from the symbol detection circuit SD.
  • the parallel data signals output from the decoder 4, demultiplexer DMUX, and unpacker UP can also be N-times the size of an 8-bit parallel data signal.
  • Figure 21 shows the circuit configuration of a transmission/reception system equipped with an improved second receiving device.
  • the transmitting device TX shown in the figure is the same as the transmitting device shown in FIG. 20.
  • the second receiving device RX shown in the figure is a circuit in which a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE are added to the second receiving device shown in FIG. 10.
  • the deserializer 1 of the receiving device RX receives the serial data signal DATA-D(E).
  • the deserializer 1 may be equipped with an adaptive equalizer.
  • the special code detection circuit 2, byte alignment circuit 3, and decoder 4 are arranged downstream of the deserializer 1. The structures and operations of these are as described for the second receiving device ( Figure 10).
  • the parallel data signal output from the deserializer 1 and byte alignment circuit 3 may be N times a 10-bit parallel data signal.
  • the parallel data signal output from the decoder 4 may be N times an 8-bit parallel data signal.
  • a symbol detection circuit SD After the decoder 4, there are a symbol detection circuit SD, a data enable signal generation circuit DE, a demultiplexer DMUX, and an unpacker UP, whose structures and operations are the same as those shown in FIG. 20.
  • Figure 22 shows the circuit configuration of a transmission/reception system equipped with an improved third receiving device.
  • the transmitting device TX shown in the figure is the same as the transmitting device shown in FIG. 20.
  • the second receiving device RX shown in the figure is a circuit in which a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE are added to the third receiving device shown in FIG. 17.
  • the deserializer 1 of the receiving device RX receives the serial data signal DATA-D (E).
  • the deserializer 1 may be equipped with an adaptive equalizer.
  • the special code detection circuit 2, the decoder 4, and the byte alignment circuit 3 are arranged downstream of the deserializer 1. The structure and operation of these are as explained for the third receiving device (FIG. 17).
  • the parallel data signal DATA-P (OUT) output from the byte alignment circuit 3 may also be a parallel data signal that is N times the 8-bit parallel data signal.
  • a symbol detection circuit SD After the decoder 4, there are a symbol detection circuit SD, a data enable signal generation circuit DE, a demultiplexer DMUX, and an unpacker UP, whose structures and operations are the same as those shown in FIG. 20.
  • the first receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in this data signal, a byte alignment circuit 3 that receives the first correction value DET-COM and the second correction value ⁇ K and performs byte alignment of the data signal according to the first correction value and the second correction value, a data string generation circuit 41 that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit 3, and a data string generation circuit 42 that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the data string generation circuit 41.
  • a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds
  • the data string generating circuit 41 includes a decoder 42(0) that decodes and outputs a specific data string from among the multiple data strings generated, and performs an error determination for the specific data string; multiple error detectors 42E(1)-42E(9) that perform an error determination for each of the remaining data strings other than the specific data string from among the multiple data strings output from the data string generating circuit 41; and a correction value generating circuit 43 that receives multiple error signals ERROR(0)-(9) indicating the results of the error determination output from the decoder 42(0) and the multiple error detectors 42E(1)-42E(9) and generates a second correction value ⁇ K including information on data strings without errors in response to the multiple error signals received.
  • the first correction value DET-COM corresponds to the position of the special code indicating normal timing, and when the first correction value DET-COM is received, the byte alignment circuit 3 performs byte alignment.
  • the second correction value ⁇ K has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, byte alignment of the data signal is performed according to the second correction value generated by the correction value generation circuit 43. This allows for an early return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early.
  • This receiving device controls by feeding back the second correction value generated by the correction value generation circuit to the byte alignment circuit in the previous stage, and does not require many circuits, so it can be realized with a relatively small circuit scale.
  • the second receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal, a byte alignment circuit 3 that performs byte alignment of the data signal according to the first correction value DET-COM output from the special code detection circuit 2, a data string generation circuit 41 that generates multiple data strings with different delimiter positions in the data string from the output signal of the byte alignment circuit 3, and a data string generation circuit 42 that generates a data string with different delimiter positions in the data string from the output signal of the data string generation circuit 41.
  • a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal
  • the system includes a plurality of decoders 42(0)-42(9) that decode the plurality of data strings outputted from the plurality of decoders 42(0)-42(9) and perform an error determination for each of the plurality of data strings; a correction value generation circuit 43A that receives a plurality of error signals ERROR(0)-(9) that indicate the results of the error determination outputted from the plurality of decoders 42(0)-42(9) and generates a second correction value ⁇ K* that includes information on data strings that are free of errors in accordance with the plurality of error signals that have been inputted; and a selection circuit (44) that selects and outputs a data string that corresponds to the second correction value ⁇ K* from the plurality of data strings outputted from the plurality of decoders 42(0)-42(9).
  • the first correction value DET-COM corresponds to the position of the special code indicating normal timing
  • the byte alignment circuit 3 performs byte alignment.
  • the second correction value ⁇ K* has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, the selection circuit 44 selects and outputs a data string without byte alignment deviation according to the second correction value ⁇ K* generated by the correction value generation circuit 43A. This allows for early recovery to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. Furthermore, this receiving device can achieve early recovery from byte alignment deviation with a simple modification of existing technology.
  • a normal data signal is a data signal that is output by separating a data string at the position of a normal block
  • an error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs.
  • Normal data signals and groups of error data signals can be output from the multiple decoders.
  • This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value. Since this receiving device does not require feedback of the second correction value to the byte alignment circuit, the circuit structure is simple and has excellent maintainability and robustness.
  • the byte alignment circuit outputs a notification signal DONE indicating that byte alignment has been completed, and when the notification signal DONE is input to the correction value generation circuit 43, the selection circuit 44 selects and outputs a data string from the default decoder among the decoders. Even if there is no change in the second correction value ⁇ K*, the correction value generation circuit 43 receives the first correction value DET-COM, and the selection circuit 44 can output a correctly delimited data string.
  • the third receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal; a data string generation circuit 41 that generates multiple data strings from the data signal, the data string having different delimiter positions; and multiple decoders 42(0) to 42(9) that decode each of the multiple data strings output from the data string generation circuit 41 and determine whether there is an error in each of the data strings.
  • a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal
  • a data string generation circuit 41 that generates multiple data strings from the data signal, the data string having different delimiter positions
  • multiple decoders 42(0) to 42(9) that
  • a correction value generation circuit 43A receives a plurality of error signals ERROR(0)-(9) indicating the results of the error determination output from a plurality of decoders 42(0)-42(9) and generates a second correction value ⁇ K including information on a data string without errors according to the plurality of error signals input, and a byte alignment circuit 3 selects and outputs a data string corresponding to the first correction value DET-COM and the second correction value ⁇ K* from the plurality of data strings DATA(0)-DATA(9) output from the plurality of decoders 42(0)-42(9).
  • the first correction value DET-COM corresponds to the position of the special code indicating normal timing.
  • the second correction value ⁇ K* has information on a data string without errors based on multiple error signals.
  • the byte alignment circuit 3 selects and outputs a data string corresponding to the first correction value DET-COM and the second correction value ⁇ K* from multiple data strings output from multiple decoders. If an error occurs before the reception of the special code due to external noise or the like, the byte alignment circuit selects and outputs a data string without byte alignment deviation according to the second correction value ⁇ K* generated by the correction value generation circuit 43A. This allows for early recovery to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. This receiving device can achieve early recovery from byte alignment deviation with a simple configuration.
  • the above-mentioned receiving device includes a deserializer 1 that receives a serial data signal DATA-S transmitted from a transmitting device, converts it into a parallel data signal, and inputs it as a data signal DATA-P (E*) to a special code detection circuit 2.
  • the deserializer can convert a serial data signal into a parallel data signal.
  • byte alignment is performed not only by relying on special codes, but also by using transmission code errors. Taking advantage of the redundant characteristics of the symbol mapping method, transmission code errors are detected on the receiving side. If the deserialized data is a block of erroneous data, there is a high possibility that it will deviate from the DC balance and run length rules, so if a byte alignment shift occurs, it is possible to detect an error. By arranging transmission code error detectors for a length equal to or greater than the code length and monitoring all possible blocks of parallel data during parallel conversion, it is possible to detect the correct data delimiters and perform byte alignment again before receiving the special code.
  • 10 data strings are observed simultaneously, but it is also possible to configure it so that detection is performed with two or more.
  • the data width code length
  • 20-bit data is combined to generate a data string, but detection can also be performed with a data width of 11 bits or more (code length + data strings observed simultaneously -1).
  • error detection if one error is detected, it may be determined that an error has occurred, but if several errors occur consecutively, it may be determined that an error has occurred and byte alignment may be performed.
  • a channel that is determined to have no errors is specified, but the channel that is determined to have the least frequent errors among the channels may also be determined to have no errors.
  • the bit shift can only be adjusted in one direction, forward or backward, using the second correction value ⁇ K (or ⁇ K*).
  • the parallel data signal DATA-P which is the output of the byte alignment circuit, or by increasing the data width (code length) from 10 bits, which is generated by combining 20 bits of data, to 21 bits or more, it becomes possible to adjust the byte alignment in both directions using the second correction value ⁇ K (or ⁇ K*).
  • the output of the 8b10b decoder is fixed, so the decoder that is not connected to the output can be configured with only an error detection unit.
  • the circuit area can be made relatively small compared to the second receiving device.
  • a selection circuit is placed at the output of the 8b10b decoder, and the feedback circuit to the byte alignment can be omitted, resulting in a simple configuration with excellent maintainability and robustness.
  • Byte alignment deviation caused by external noise can be restored without waiting for a special code (comma character). Therefore, noise can be suppressed to pixel units, improving the image display, and especially when image data signals are transmitted to the display device of a mobile device such as an automobile, the convenience of the driver can be improved.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Spectroscopy & Molecular Physics (AREA)
  • Detection And Prevention Of Errors In Transmission (AREA)
  • Dc Digital Transmission (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

This reception device comprises: a special code detection circuit 2 which outputs a first correction value DET-COM; a byte alignment circuit 3 which performs byte alignment according to the first correction value DET-COM outputted from the special code detection circuit 2; and a decoder 4. The decoder 4 comprises a data string generation circuit 41 which generates a plurality of data strings from an output signal from the byte alignment circuit 3, and a correction value generation circuit 43 to which a plurality of error signals that have performed error determination of the plurality of data strings outputted from the data string generation circuit 41 are inputted, and which generates a second correction value θK including information relating to a data string in which no error occurs. Even before the reception of a special code, byte alignment can be performed according to the second correction value θK.

Description

受信装置Receiving device
 本発明は、受信装置に関するものである。 The present invention relates to a receiving device.
 自動車内等の外来ノイズが多い環境下において、電磁両立性(EMC)を向上可能なデータ通信技術が求められている。特に、機器の高度化に伴い、データ通信量は、増大しており、EMC環境下において、画像データ信号等のデータ信号を高速に受信可能な受信装置が求められている。 In environments with a lot of external noise, such as inside a car, there is a demand for data communication technology that can improve electromagnetic compatibility (EMC). In particular, as equipment becomes more sophisticated, data communication volume is increasing, and there is a demand for receiving devices that can receive data signals, such as image data signals, at high speeds in EMC environments.
 高速のデータ伝送を行うため、シリアルデータ通信が用いられる。従来、例えば、特許文献1のようなシリアルデータ通信技術が知られており、制御コードを用いたデータ受信が行われている。一般に、制御コード(Kコード)は、画像データ自身に関するコード(Dコード)とは異なるデータを示すコードとして用いられる。 Serial data communication is used to transmit data at high speeds. Conventionally, serial data communication techniques such as those described in Patent Document 1 are known, and data is received using control codes. In general, control codes (K codes) are used as codes that indicate data that is different from the code (D code) related to the image data itself.
 シンボルマッピング方式は、伝送符号化方式の一種であり、mビットのデータキャラクタをn(m<n)ビットにマッピングして、符号化シンボルとする符号化の方式のことである。このmビットをnビットに拡大マッピングすることによる冗長性を活かし、データを表すコードではない制御コードを生成することができる。制御コードのうち、シリアルデータの先頭を表す区切りシンボル、例えば8b/10b方式におけるコンマキャラクタを、特殊コードと呼ぶ。すなわち、シンボルマッピング方式の1つである8b10b符号化方式においては、特殊コードとして、コンマキャラクタ(K28.1、K28.5、K28.7)が知られている。この方式においては、画像データ受信装置は、定期的に(例えば、1画像に含まれる1ライン当たり、1画素分程度の割合で)、特殊コードを受信する。画像データ受信装置は、特殊コードの受信時において、受信した画像データ信号に対して、バイトアライメント(バイト境界アライメント)を行う。特許文献2は、バイトアライメントを行う方法を開示している。 The symbol mapping method is a type of transmission coding method, and is a coding method in which m-bit data characters are mapped to n (m<n) bits to create a coding symbol. By taking advantage of the redundancy created by this m-bit to n-bit expansion mapping, a control code that is not a code representing data can be generated. Among the control codes, the delimiter symbol that indicates the beginning of serial data, for example, the comma character in the 8b/10b method, is called a special code. That is, in the 8b10b coding method, which is one of the symbol mapping methods, comma characters (K28.1, K28.5, K28.7) are known as special codes. In this method, the image data receiving device receives the special code periodically (for example, at a rate of about one pixel per line included in one image). When the image data receiving device receives the special code, it performs byte alignment (byte boundary alignment) on the received image data signal. Patent Document 2 discloses a method of performing byte alignment.
国際公開第2012/049815号International Publication No. 2012/049815 米国特許8867683号明細書U.S. Pat. No. 8,867,683
 従来の家庭用の画像データ受信装置を、外来ノイズ等が多い環境下で用いた場合、画像が乱れる場合がある。ノイズ等の影響により、シリアルデータ信号に含まれる1個のデータが消失した場合、それ以降のデータ列(例:10ビット)のブロックを区分する位置(タイミング)が、正常値からずれるというエラーが発生し、画像が乱れることとなる。特殊コードの出現頻度が低いほど、単位時間当たりに受信可能な実質的な画像データ量を増加させることができるので、特殊コードの出現頻度は低い方が好ましい。しかしながら、特殊コードの受信に合わせて、バイトアライメントを行う場合、エラーが生じてから、正常なデータ信号(画像)へ復帰する時間が長くなる。そこで、正常なデータ信号に早期に復帰可能な受信装置が期待されている。 When a conventional home image data receiving device is used in an environment with a lot of external noise, the image may become distorted. If one piece of data contained in a serial data signal is lost due to the effects of noise, an error occurs in which the position (timing) that divides the blocks of the subsequent data string (e.g. 10 bits) deviates from the normal value, causing a distorted image. The lower the frequency of occurrence of the special code, the more the actual amount of image data that can be received per unit time can be increased, so it is preferable for the special code to appear less frequently. However, if byte alignment is performed in conjunction with the reception of the special code, it takes a long time to return to a normal data signal (image) after an error occurs. Therefore, a receiving device that can quickly return to a normal data signal is desired.
 第1の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、前記第1補正値及び第2補正値が入力され、前記第1補正値及び前記第2補正値に応じて、前記データ信号のバイトアライメントを実行するバイトアライメント回路と、前記バイトアライメント回路の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、前記データ列生成回路から出力された複数のデータ列のうち、特定のデータ列をデコードして出力し、且つ、前記特定のデータ列のエラー判定をするデコーダと、前記データ列生成回路から出力された複数のデータ列のうち、前記特定のデータ列以外の残りのデータ列のそれぞれをエラー判定する複数のエラー検出器と、前記デコーダ及び複数の前記エラー検出器から出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数のエラー信号に応じて、エラーの生じていないデータ列の情報を含む前記第2補正値を生成する補正値生成回路とを備える。 The first receiving device includes a special code detection circuit that receives a data signal that includes a special code encoded by a symbol mapping method and outputs a first correction value that corresponds to the position of the special code included in the data signal; a byte alignment circuit that receives the first and second correction values and performs byte alignment of the data signal according to the first and second correction values; a data string generation circuit that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit; a decoder that decodes and outputs a specific data string from the plurality of data strings output from the data string generation circuit and performs an error determination for the specific data string; a plurality of error detectors that perform an error determination for each of the remaining data strings other than the specific data string from the plurality of data strings output from the data string generation circuit; and a correction value generation circuit that receives a plurality of error signals indicating the results of the error determination output from the decoder and the plurality of error detectors and generates the second correction value including information on a data string without an error according to the plurality of error signals input.
 この受信装置においては、第1補正値は、正常なタイミングを示す特殊コードの位置に対応しており、第1補正値を受信した場合には、バイトアライメント回路により、バイトアライメントを実行する。第2補正値は、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路により生成された第2補正値に応じて、データ信号のバイトアライメントを実行する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。この受信装置は、補正値生成回路で生成された第2補正値を、前段のバイトアライメント回路に、フィードバックして制御を行うものであり、多くの回路を必要としないため、比較的小さな回路規模で実現することができる。 In this receiving device, the first correction value corresponds to the position of the special code indicating normal timing, and when the first correction value is received, the byte alignment circuit performs byte alignment. The second correction value has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, byte alignment of the data signal is performed according to the second correction value generated by the correction value generation circuit. This allows for an early return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. This receiving device controls by feeding back the second correction value generated by the correction value generation circuit to the byte alignment circuit in the previous stage, and does not require many circuits, so it can be realized with a relatively small circuit scale.
 第2の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、前記特殊コード検出回路から出力された前記第1補正値に応じて、前記データ信号のバイトアライメントを実行するバイトアライメント回路と、前記バイトアライメント回路の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、前記データ列生成回路から出力された複数のデータ列を、それぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダと、複数の前記デコーダから出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数の前記エラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値を生成する補正値生成回路と、複数の前記デコーダから出力された複数のデータ列の中から、前記第2補正値に応じたデータ列を選択して出力する選択回路とを備える。 The second receiving device includes a special code detection circuit that receives a data signal containing a special code encoded by a symbol mapping method and outputs a first correction value corresponding to the position of the special code contained in the data signal, a byte alignment circuit that performs byte alignment of the data signal according to the first correction value output from the special code detection circuit, a data string generation circuit that generates multiple data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit, multiple decoders that decode each of the multiple data strings output from the data string generation circuit and perform error judgment on each of them, a correction value generation circuit that receives multiple error signals indicating the results of the error judgment output from the multiple decoders and generates a second correction value including information on a data string without errors according to the multiple error signals input, and a selection circuit that selects and outputs a data string corresponding to the second correction value from the multiple data strings output from the multiple decoders.
 この受信装置においては、第1補正値は、正常なタイミングを示す特殊コードの位置に対応しており、第1補正値を受信した場合には、バイトアライメント回路により、バイトアライメントを実行する。第2補正値は、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路により生成された第2補正値に応じて、選択回路が、バイトアライメントズレの無いデータ列を選択して出力する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。 In this receiving device, the first correction value corresponds to the position of the special code indicating normal timing, and when the first correction value is received, the byte alignment circuit performs byte alignment. The second correction value has information about an error-free data string based on multiple error signals. If an error occurs before the special code is received due to external noise or the like, the selection circuit selects and outputs a data string without byte alignment deviation according to the second correction value generated by the correction value generation circuit. This allows for an early return to a normal data signal even before the special code is received. If the data signal is an image data signal, image distortion can be eliminated early.
 第2の受信装置では、予め、複数のデコーダを用意している。正常データ信号は、データ列を正常なブロックの位置で区切って出力されるデータ信号であり、エラーデータ信号は、データ列をエラーが生じるブロックの位置で区切って出力されるデータ信号であるとする。複数のデコーダからは、正常データ信号と、エラーデータ信号群が、出力可能な状態である。この受信装置は、第2補正値によって、正常データ信号を選択することで、データ信号のバイトアライメントを実行する。この受信装置においては、バイトアライメント回路への第2補正値のフィードバックを必要としないので、回路構造が単純になり、保守性、ロバスト性に優れることとなる。 In the second receiving device, multiple decoders are prepared in advance. A normal data signal is a data signal that is output by separating a data string at the position of a normal block, and an error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs. Normal data signals and groups of error data signals can be output from the multiple decoders. This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value. Since this receiving device does not require feedback of the second correction value to the byte alignment circuit, the circuit structure is simple and has excellent maintainability and robustness.
 また、第2の受信装置において、バイトアライメント回路は、バイトアライメントの実行完了の通知信号を出力し、補正値生成回路に、通知信号が入力された場合には、選択回路は、デコーダの中の既定設定のデコーダからのデータ列を選択して出力している。第2補正値に変更がない場合であっても、補正値生成回路が、第1補正値を受信することにより、選択回路は、正しい区切りのデータ列を出力することができる。 In addition, in the second receiving device, the byte alignment circuit outputs a notification signal that byte alignment has been completed, and when the notification signal is input to the correction value generation circuit, the selection circuit selects and outputs a data string from the decoder with the default settings among the decoders. Even if there is no change in the second correction value, the correction value generation circuit receives the first correction value, and the selection circuit can output a data string with correct divisions.
 第3の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、前記データ信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、前記データ列生成回路から出力された複数のデータ列をそれぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダと、複数の前記デコーダから出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数の前記エラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値を生成する補正値生成回路と、複数の前記デコーダから出力された複数のデータ列の中から、前記第1補正値及び前記第2補正値に応じたデータ列を選択して出力するバイトアライメント回路と、を備える。 The third receiving device includes a special code detection circuit that receives a data signal that includes a special code encoded by a symbol mapping method and outputs a first correction value that corresponds to the position of the special code included in the data signal; a data string generation circuit that generates a plurality of data strings from the data signal, the data strings having different delimiter positions; a plurality of decoders that decode each of the plurality of data strings output from the data string generation circuit and perform an error determination for each of the plurality of data strings; a correction value generation circuit that receives a plurality of error signals that indicate the results of the error determination output from the plurality of decoders and generates a second correction value that includes information about a data string that does not include an error in accordance with the plurality of error signals that have been input; and a byte alignment circuit that selects and outputs a data string that corresponds to the first correction value and the second correction value from the plurality of data strings output from the plurality of decoders.
 この受信装置においては、第1補正値は、正常なタイミングを示す特殊コードの位置に対応している。第2補正値は、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。バイトアライメント回路は、複数のデコーダから出力された複数のデータ列の中から、第1補正値及び第2補正値に応じたデータ列を選択して出力する。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路により生成された第2補正値に応じて、バイトアライメント回路が、バイトアライメントズレの無いデータ列を選択して出力する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。この受信装置は、バイトアライメントズレからの早期復帰を単純構成にて実現することができる。 In this receiving device, the first correction value corresponds to the position of the special code indicating normal timing. The second correction value has information on an error-free data string based on multiple error signals. The byte alignment circuit selects and outputs a data string corresponding to the first and second correction values from the multiple data strings output from the multiple decoders. If an error occurs before the reception of the special code due to external noise or the like, the byte alignment circuit selects and outputs a data string without byte alignment deviation according to the second correction value generated by the correction value generation circuit. This makes it possible to quickly return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be quickly eliminated. This receiving device can achieve early recovery from byte alignment deviation with a simple configuration.
 上述の受信装置は、送信装置から送信されたシリアルデータ信号を受信し、パラレルデータ信号に変換し、前記データ信号として、前記特殊コード検出回路に入力するデシリアライザを備えている。デシリアライザは、シリアルデータ信号をパラレルデータ信号に変換することができる。 The above-mentioned receiving device includes a deserializer that receives a serial data signal transmitted from a transmitting device, converts it into a parallel data signal, and inputs it as the data signal to the special code detection circuit. The deserializer can convert the serial data signal into a parallel data signal.
 本発明の受信装置によれば、データ信号にエラーが生じた場合でも、正常なデータ信号に早期に復帰することができる。 The receiving device of the present invention can quickly restore a normal data signal even if an error occurs in the data signal.
図1は、第1の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 1 is a diagram showing a circuit configuration of a transmission/reception system including a first receiving device. 図2は、特殊コード検出回路の回路構成を示す図である。FIG. 2 is a diagram showing the circuit configuration of the special code detection circuit. 図3は、データ列生成回路及び特殊コード検出回路を示す図である。FIG. 3 is a diagram showing the data string generating circuit and the special code detecting circuit. 図4は、データ列生成回路の一例を示す図である。FIG. 4 is a diagram illustrating an example of a data string generating circuit. 図5は、第1タイプのバイトアライメント回路を示す図である。FIG. 5 is a diagram showing a first type of byte alignment circuit. 図6は、補正値生成機能付のデコーダの回路構成を示す図である。FIG. 6 is a diagram showing a circuit configuration of a decoder with a correction value generating function. 図7は、第1の受信装置における画像データ信号の位相補正手順を説明するフローチャートである。FIG. 7 is a flow chart for explaining a procedure for correcting the phase of an image data signal in the first receiving device. 図8は、バイトアライメントのタイミングを説明するための図である。FIG. 8 is a diagram for explaining the timing of byte alignment. 図9は、複数のエラー信号の状態を説明するための図である。FIG. 9 is a diagram for explaining the states of a plurality of error signals. 図10は、第2の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 10 is a diagram showing a circuit configuration of a transmission/reception system including a second receiving device. 図11は、第2タイプのバイトアライメント回路を示す図である。FIG. 11 is a diagram showing a second type of byte alignment circuit. 図12は、補正値生成機能付のデコーダの回路構成を示す図である。FIG. 12 is a diagram showing a circuit configuration of a decoder with a correction value generating function. 図13は、第2の受信装置における画像データ信号の位相補正手順を説明するフローチャートである。FIG. 13 is a flow chart for explaining a procedure for correcting the phase of an image data signal in the second receiving device. 図14は、複数のエラー信号の状態を説明するための図である。FIG. 14 is a diagram for explaining the states of a plurality of error signals. 図15は、第1の受信装置におけるデータ送受信のタイミングの一例を説明するためのタイミング図である。FIG. 15 is a timing chart for explaining an example of timing of data transmission and reception in the first receiving device. 図16は、第2の受信装置におけるデータ送受信のタイミングの一例を説明するためのタイミング図である。FIG. 16 is a timing chart for explaining an example of timing of data transmission and reception in the second receiving device. 図17は、第3の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 17 is a diagram showing a circuit configuration of a transmission/reception system including a third receiving device. 図18は、補正値生成機能付のデコーダの回路構成を示す図である。FIG. 18 is a diagram showing a circuit configuration of a decoder with a correction value generating function. 図19は、第3タイプのバイトアライメント回路を示す図である。FIG. 19 is a diagram showing a third type of byte alignment circuit. 図20は、改良した第1の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 20 is a diagram showing the circuit configuration of a transmission/reception system equipped with the improved first receiving device. 図21は、改良した第2の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 21 is a diagram showing the circuit configuration of a transmission/reception system equipped with an improved second receiving device. 図22は、改良した第3の受信装置を備えた送受信システムの回路構成を示す図である。FIG. 22 is a diagram showing the circuit configuration of a transmitting/receiving system equipped with an improved third receiving device.
 以下、添付図面を参照して、本発明を実施するための形態を詳細に説明する。なお、図面の説明において同一の要素には同一の符号を付し、重複する説明を省略する。本発明は、これらの例示に限定されるものではなく、特許請求の範囲によって示され、特許請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。 Below, the embodiments for carrying out the present invention will be described in detail with reference to the attached drawings. In the description of the drawings, the same elements are given the same reference numerals, and duplicate explanations will be omitted. The present invention is not limited to these examples, but is indicated by the claims, and is intended to include all modifications within the meaning and scope equivalent to the claims.
 図1は、第1の受信装置を備えた送受信システムの回路構成を示す図である。 FIG. 1 shows the circuit configuration of a transmission/reception system equipped with a first receiving device.
 送受信システムは、送信装置TXと受信装置RXとを備えている。 The transmission/reception system includes a transmitting device TX and a receiving device RX.
 送信装置TXは、エンコーダ201と、シリアライザ202とを備えている。エンコーダ201には、画像データ信号として、パラレルデータ信号DATA-P(IN)が入力されると共に、制御コード(8b10bにおけるKコード)に対応する信号FLAG-K(IN)が入力される。この信号FLAG-Kは、データの種類の識別子としても機能させることができる。エンコーダ201は、シンボルマッピング方式のエンコードを行う。本例では、8ビットのパラレルデータ信号が、エンコーダ201に入力される場合を示しており、エンコーダ201は、8b10b方式のエンコーダである。エンコーダ201は、エンコードされた10ビットのパラレルデータ信号DATA-P(EE)を出力する。パラレルデータ信号DATA-P(EE)は、シリアライザ202に入力される。シリアライザ202は、パラレルデータ信号DATA-P(EE)を、エンコードされたシリアルデータ信号DATA-S(E)に変換し、伝送ラインに出力する。エンコードされたシリアルデータ信号DATA-S(E)は、送信装置TXから送信され、伝送ラインを介して、受信装置RXが受信する。 The transmitting device TX includes an encoder 201 and a serializer 202. The encoder 201 receives a parallel data signal DATA-P (IN) as an image data signal, and also receives a signal FLAG-K (IN) corresponding to a control code (K code in 8b10b). This signal FLAG-K can also function as an identifier of the type of data. The encoder 201 performs encoding using a symbol mapping method. In this example, an 8-bit parallel data signal is input to the encoder 201, and the encoder 201 is an 8b10b encoder. The encoder 201 outputs an encoded 10-bit parallel data signal DATA-P (EE). The parallel data signal DATA-P (EE) is input to the serializer 202. The serializer 202 converts the parallel data signal DATA-P (EE) into an encoded serial data signal DATA-S (E) and outputs it to the transmission line. The encoded serial data signal DATA-S(E) is transmitted from the transmitter TX and received by the receiver RX via the transmission line.
 受信装置RXは、デシリアライザ1と、特殊コード検出回路2と、バイトアライメント回路3と、補正値生成機能付のデコーダ4とを備えている。 The receiving device RX includes a deserializer 1, a special code detection circuit 2, a byte alignment circuit 3, and a decoder 4 with a correction value generation function.
 デシリアライザ1は、受信したシリアルデータ信号DATA-S(E)を、10ビットのパラレルデータ信号DATA-P(E*)に変換する。シリアルデータ信号を、パラレルデータ信号に変換する場合は、連続するシリアルデータを、等間隔の位置で区切り、データ列のブロックを生成する。デシリアライザ1は、連続するシリアルデータを、10ビット毎に区切り、仮のパラレルデータ信号DATA-P(E*)を出力する。このように、受信装置RXは、送信装置TXからのデータ信号をシリアルデータ信号として受信し、パラレルデータ信号に変換し、このパラレルデータ信号を、特殊コード検出回路2及びバイトアライメント回路3に入力するデシリアライザ1を備えている。デシリアライザ1は、シリアルデータ信号をパラレルデータ信号に変換することができる。 The deserializer 1 converts the received serial data signal DATA-S (E) into a 10-bit parallel data signal DATA-P (E*). When converting a serial data signal into a parallel data signal, continuous serial data is divided at equal intervals to generate blocks of data strings. The deserializer 1 divides the continuous serial data every 10 bits and outputs a temporary parallel data signal DATA-P (E*). In this way, the receiving device RX is equipped with a deserializer 1 that receives a data signal from the transmitting device TX as a serial data signal, converts it into a parallel data signal, and inputs this parallel data signal to the special code detection circuit 2 and the byte alignment circuit 3. The deserializer 1 can convert serial data signals into parallel data signals.
 特殊コード検出回路2には、パラレルデータ信号DATA-P(E*)が入力される。特殊コード検出回路2は、パラレルデータ信号DATA-P(E*)から、1ビットずつシフトした複数のデータ列(例えば、10個のデータ列)を生成し、それぞれのデータ列を特殊コード(コンマキャラクタ)の列と比較して、特殊コードに一致するデータ列を検出した場合は、特殊コードの位置(タイミング)の情報を有する第1補正値DET-COMを出力する。第1補正値DET-COMは、前述のデータの区切り位置(位相)を、補正するために用いられる。第1補正値DET-COMは、例えば、複数のデータ列が生成されている場合に、特殊コードが検出されたデータ列の位置(X番目のデータ列)の情報を有している。 The special code detection circuit 2 receives the parallel data signal DATA-P (E*). The special code detection circuit 2 generates multiple data strings (for example, 10 data strings) from the parallel data signal DATA-P (E*) by shifting each bit, and compares each data string with a string of special codes (comma characters). If the special code detection circuit 2 detects a data string that matches a special code, it outputs a first correction value DET-COM that contains information on the position (timing) of the special code. The first correction value DET-COM is used to correct the delimiter position (phase) of the aforementioned data. For example, when multiple data strings are generated, the first correction value DET-COM contains information on the position of the data string in which the special code was detected (the Xth data string).
 バイトアライメント回路3には、パラレルデータ信号DATA-P(E*)が入力される。バイトアライメント回路3は、第1補正値DET-COMに応じて、仮のパラレルデータ信号DATA-P(E*)の区切り位置の補正、すなわち、バイトアライメントを実行する。画像データ信号においては、特殊コードは、ブランキング期間のスタート時と、終了時に埋め込まれており、終了時の特殊コードを受信した時刻(t0)の次のビットから、実質的な画像データの受信がスタートする。バイトアライメント回路3は、特殊コード検出回路2と同様に、パラレルデータ信号DATA-P(E*)から、1ビットずつシフトした複数のデータ列(例えば、10個のデータ列)を生成しており、いずれかのデータ列は、正しい位置で区切られている。特殊コード検出回路2が、特殊コードを受信したデータ列の位置がX番目であれば、バイトアライメント回路3においても、X番目のデータ列は、特殊コードで正しく区切られている。第1補正値DET-COMは、X番目という位置情報を、バイトアライメント回路3に指示する。バイトアライメント回路3は、正しい区切り情報に基づいて、バイトアライメントが行われたパラレルデータ信号DATA-P(E)を出力する。 The parallel data signal DATA-P (E*) is input to the byte alignment circuit 3. The byte alignment circuit 3 performs correction of the delimitation position of the provisional parallel data signal DATA-P (E*) according to the first correction value DET-COM, i.e., byte alignment. In the image data signal, the special code is embedded at the start and end of the blanking period, and the reception of the actual image data starts from the bit next to the time (t0) when the special code at the end is received. The byte alignment circuit 3, like the special code detection circuit 2, generates multiple data strings (for example, 10 data strings) shifted by one bit from the parallel data signal DATA-P (E*), and any of the data strings is delimited at the correct position. If the position of the data string where the special code detection circuit 2 received the special code is the Xth, then the byte alignment circuit 3 also correctly delimits the Xth data string with the special code. The first correction value DET-COM indicates the Xth position information to the byte alignment circuit 3. The byte alignment circuit 3 outputs a parallel data signal DATA-P(E) that has been byte aligned based on the correct delimiter information.
 バイトアライメントが実行された後、外来ノイズ等により、正しい区切り位置からずれた位置で、バイトアライメントが実行されることがある(「バイトアライメントずれ」という)。 After byte alignment is performed, external noise, etc. may cause byte alignment to be performed at a position that is shifted from the correct delimiter position (this is called "byte alignment deviation").
 「バイトアライメントずれ」とは、受信装置において、正しいデータのブロックでシリアルパラレル変換が行われない状態である。データにノイズが乗る事で、クロックデータリカバリ(CDR)回路の復元クロックがずれ、受信装置のシリアルデータ取得タイミングがずれ、受信したデータ個数自体に増減が発生する。この際、送信装置と受信装置において、データ数のずれが発生し、データ境界位置がずれてしまう。なお、送信側の送出クロックと、受信側の復元クロックの周波数がずれる事を、復元クロックずれと言う。受信装置の復元クロックが、送信装置の送出クロックより遅くなれば、伝送されてきた(1ビットの)データをサンプリングできないことがある。また、逆に復元クロックが、送信装置の送出クロックより早くなると、伝送されてきた(1ビットの)データを複数回サンプリングしてしまうため、受信装置で受け取ったデータ数が増えてしまうことがある。このように、送信装置で送出したデータビット数と、受信装置で受信したデータビット数が異なると、「バイトアライメントずれ」が発生する原因となる。 "Byte alignment deviation" is a state in which the receiving device does not perform serial-parallel conversion on the correct data block. When noise is present in the data, the recovered clock of the clock data recovery (CDR) circuit is shifted, the timing of the receiving device's serial data acquisition is shifted, and the number of received data items increases or decreases. In this case, a deviation in the number of data items occurs between the transmitting device and the receiving device, and the data boundary position is shifted. Note that a deviation in the frequency of the sending clock on the sending side and the recovered clock on the receiving side is called a recovered clock deviation. If the recovered clock of the receiving device is slower than the sending clock of the transmitting device, it may not be possible to sample the transmitted (1 bit) data. Conversely, if the recovered clock is faster than the sending clock of the transmitting device, the transmitted (1 bit) data will be sampled multiple times, and the number of data received by the receiving device may increase. In this way, if the number of data bits sent by the transmitting device and the number of data bits received by the receiving device differ, this can cause a "byte alignment deviation".
 この受信装置では、次の特殊コードの受信の前に、再度、バイトアライメントを実行して、早期に正しいデータ信号に復帰させる。第1の受信装置においては、後段のデコーダ4において、第2補正値θKを生成する。第2補正値θKは、第1補正値DET-COMと同様に、正しい位置で区切られたデータ列の位置(Y番目のデータ列)の情報を有している。バイトアライメント回路3が、第2補正値θKを受信した場合、第1補正値DET-COMを受信した場合と同様に、バイトアライメントを実行し、正しい区切り情報に基づいて、バイトアライメントが行われたパラレルデータ信号DATA-P(E)を出力する。 In this receiving device, byte alignment is performed again before receiving the next special code, and the data signal is quickly restored to the correct state. In the first receiving device, the second correction value θK is generated in the decoder 4 at the subsequent stage. Like the first correction value DET-COM, the second correction value θK contains information on the position of the data string separated at the correct position (the Yth data string). When the byte alignment circuit 3 receives the second correction value θK, it performs byte alignment in the same way as when it receives the first correction value DET-COM, and outputs a parallel data signal DATA-P(E) that has been byte aligned based on the correct separation information.
 デコーダ4には、パラレルデータ信号DATA-P(E)が入力される。デコーダ4は、受信したパラレルデータ信号DATA-P(E)をデコードして、パラレルデータ信号DATA-P(OUT)と、制御コードとしてのKコードに対応した信号FLAG-K(OUT)を出力する。 The parallel data signal DATA-P(E) is input to the decoder 4. The decoder 4 decodes the received parallel data signal DATA-P(E) and outputs the parallel data signal DATA-P(OUT) and a signal FLAG-K(OUT) corresponding to the K code as a control code.
 また、デコーダ4は、補正値生成機能を有しており、受信したパラレルデータ信号DATA-P(E)に基いて、第2補正値θKを生成する。デコーダ4も、バイトアライメント回路3と同様に、1ビットずつシフトさせた複数のデータ列を生成しており、各データ列をデコードする際に、エラーが発生しなかったデータ列の位置の情報(Y番目のデータ列にはエラーが発生していない)を特定している。バイトアライメント回路3は第2補正値θKを受信した場合、Y番目のデータ列が、正しい位置で区切られているものと判断して、Y番目に対応するZ番目のデータ列の信号を出力することで、バイトアライメントを実行する。なお、Z番目は、X+Y番目であり、Zが最大値の10を超えた場合は当該最大値を減じる。以下、各回路の構造について、詳説する。 The decoder 4 also has a correction value generation function, and generates a second correction value θK based on the received parallel data signal DATA-P(E). Like the byte alignment circuit 3, the decoder 4 also generates multiple data strings shifted by one bit at a time, and when decoding each data string, it identifies information on the position of the data string where no error occurred (the Yth data string has no error). When the byte alignment circuit 3 receives the second correction value θK, it determines that the Yth data string is separated at the correct position, and performs byte alignment by outputting a signal of the Zth data string corresponding to the Yth. Note that the Zth is X+Y, and if Z exceeds the maximum value of 10, the maximum value is subtracted. The structure of each circuit will be explained in detail below.
 図2は、特殊コード検出回路2の回路構成を示す図である。 Figure 2 shows the circuit configuration of the special code detection circuit 2.
 特殊コード検出回路2は、データ列生成回路21と、複数の特殊コード検出部22と、補正値生成回路23とを備えている。データ列生成回路21には、パラレルデータ信号DATA-P(E*)が入力される。本例では、データ列生成回路21は、パラレルデータ信号DATA-P(E*)から、1ビットずつシフトした10個のデータ列を生成している。各データ列(DATA-ARRAY(0)~DATA-ARRAY(9))は、それぞれ、対応する特殊コード検出部22(0)~特殊コード検出部22(9)に入力される。各特殊コード検出部22には、8b10bコードも入力されており、受信したデータ列が、特殊コードがどの位置にあるかを判定している。8b10bの特殊コードとしては、コンマキャラクタ(K28.1、K28.5、K28.7)が知られている。 The special code detection circuit 2 includes a data string generation circuit 21, a number of special code detection units 22, and a correction value generation circuit 23. A parallel data signal DATA-P (E*) is input to the data string generation circuit 21. In this example, the data string generation circuit 21 generates 10 data strings by shifting the parallel data signal DATA-P (E*) by one bit at a time. Each data string (DATA-ARRAY (0) to DATA-ARRAY (9)) is input to the corresponding special code detection unit 22 (0) to special code detection unit 22 (9). An 8b10b code is also input to each special code detection unit 22, and the received data string determines where the special code is located. Comma characters (K28.1, K28.5, K28.7) are known as 8b10b special codes.
 特殊コード検出部22(0)~特殊コード検出部22(9)は、それぞれ、受信したデータ列に、特殊コード(コンマキャラクタ)が含まれているかどうかを示す特殊コード検出信号COMMA-DET(0)~COMMA-DET(9)を出力する。10個の特殊コード検出信号COMMA-DET(0)~COMMA-DET(9)は、補正値生成回路23に入力される。X番目(X=5)の特殊コード検出信号が、特殊コードを検出した旨を示す場合は、例えば、特殊コード検出信号の列は、(0,0,0,0,1,0,0,0,0,0)となる。補正値生成回路23は、受信した特殊コード検出信号の列から、X番目に特殊コードがある旨を示す第1補正値DET-COMを生成する。第1補正値DET-COMは、バイトアライメント回路3の選択回路に入力されるので、バイトアライメント回路3へ入力されるパラレルデータ信号DATA-P(E*)に適切に同期した信号であれば、特殊コード検出信号のデータ列そのままでもよい。 Special code detection units 22(0) to 22(9) respectively output special code detection signals COMMA-DET(0) to COMMA-DET(9) indicating whether a special code (comma character) is included in the received data string. The ten special code detection signals COMMA-DET(0) to COMMA-DET(9) are input to the correction value generation circuit 23. If the Xth (X=5) special code detection signal indicates that a special code has been detected, for example, the sequence of special code detection signals will be (0,0,0,0,1,0,0,0,0,0,0). The correction value generation circuit 23 generates a first correction value DET-COM from the received sequence of special code detection signals, indicating that a special code is present in the Xth position. The first correction value DET-COM is input to the selection circuit of the byte alignment circuit 3, so as long as it is a signal that is appropriately synchronized with the parallel data signal DATA-P(E*) input to the byte alignment circuit 3, the data sequence of the special code detection signal may be used as is.
 図3は、データ列生成回路及び特殊コード検出回路を示す図である。 Figure 3 shows the data string generation circuit and the special code detection circuit.
 データ列生成回路21は、連続して入力された第1データ列(データD0~D9)と、第2データ列(D10~D19)とを結合させ、20個のデータ(D0~D19)からなるデータ列を生成する。更に、20個のデータ列から、10個のデータ(ビット)毎に区切った、データ列DATA-ARRAY(n)を取り出す(n=0~9)。n番目のデータ列と、n+1番目のデータ列は、1ビット(データ)だけずれている。特殊コード検出部22(n)は、入力されたデータ列(D(19-n)~D(10-n))と、コンマキャラクタのデータ列(C0~C9)とを比較する論理回路であり、これらが一致した場合には、特殊コード検出信号COMMA-DET(n)のレベルが上がり、特殊コードの位置(タイミング)を特定することができる。 The data string generation circuit 21 combines the first data string (data D0-D9) and the second data string (D10-D19) that are input consecutively, and generates a data string consisting of 20 pieces of data (D0-D19). Furthermore, from the 20 data strings, it extracts data strings DATA-ARRAY(n) that are divided into 10 pieces of data (bits) (n=0-9). The nth data string and the n+1th data string are shifted by 1 bit (data). The special code detection unit 22(n) is a logic circuit that compares the input data string (D(19-n)-D(10-n)) with the comma character data string (C0-C9). If they match, the level of the special code detection signal COMMA-DET(n) rises, and the position (timing) of the special code can be identified.
 図4は、データ列生成回路の一例を示す図である。 Figure 4 shows an example of a data string generation circuit.
 データ列生成回路21は、10ビットのデータのそれぞれが、D端子に入力される10個のDフリップフロップを備えている。第1データ列(データD0~D9)が入力された時に同期して、サンプリングクロック信号CLKφのライズエッジを、クロック端子に入力し、Q端子に第1データ列を出力し、下側の端子から出力される10ビットの第1データ列を維持する。次に、第2データ列(D10~D19)が、データ列生成回路21に入力された場合、サンプリングクロック信号CLKφは変化させず、上側の端子から10ビットの第2データ列が出力される。以上のようにして、20ビットのデータ列を生成し、以後、この生成工程を繰り返す。 The data string generation circuit 21 has 10 D flip-flops, each of which receives 10 bits of data at its D terminal. In synchronization with the input of the first data string (data D0 to D9), the rising edge of the sampling clock signal CLKφ is input to the clock terminal, the first data string is output to the Q terminal, and the 10-bit first data string output from the lower terminal is maintained. Next, when the second data string (D10 to D19) is input to the data string generation circuit 21, the sampling clock signal CLKφ is not changed, and the 10-bit second data string is output from the upper terminal. In this way, a 20-bit data string is generated, and this generation process is repeated thereafter.
 図5は、第1タイプのバイトアライメント回路3を示す図である。 FIG. 5 shows a first type of byte alignment circuit 3.
 第1の受信装置に適用される第1タイプのバイトアライメント回路3は、データ列生成回路31と、選択回路32と、バイトアライメント判断回路33とを備えている。データ列生成回路31の構造は、上述のデータ列生成回路21の構造と同一であり、1ビットずつシフトした位相を有する10個のデータ列(DATA-ARRAY(0)~DATA-ARRAY(9))を出力する。選択回路32は、入力された第1補正値DET-COM及び第2補正値θKの示す情報(正しい位置で区切られたデータ列の位置)に従い、これに対応するデータ列を出力することで、バイトアライメントを実行する。 The first type byte alignment circuit 3 applied to the first receiving device comprises a data string generation circuit 31, a selection circuit 32, and a byte alignment determination circuit 33. The structure of the data string generation circuit 31 is the same as that of the data string generation circuit 21 described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) with phases shifted by one bit at a time. The selection circuit 32 performs byte alignment by outputting a data string corresponding to the information indicated by the input first correction value DET-COM and second correction value θK (the position of the data string separated at the correct position).
 第1補正値DET-COMは、周期的に受信する特殊コード(コンマキャラクタ)の受信タイミングに依存して発生しており、これを受信した場合、バイトアライメント判断回路33は、第1補正値DET-COMの情報が示すエラーの無いデータ列を選択するような第1選択指示信号(例えば、第5のデータ列(DATA-ARRAY(4))を選択する選択指示信号)を、選択回路32に入力する。バイトアライメント判断回路33が、第2補正値θKを受信した場合、第2補正値θKの情報が示すエラーの無いデータ列を選択するような第2選択指示信号を、選択回路32に入力する。 The first correction value DET-COM is generated depending on the timing of receiving a special code (comma character) that is received periodically. When the byte alignment determination circuit 33 receives this, it inputs a first selection instruction signal (for example, a selection instruction signal that selects the fifth data string (DATA-ARRAY (4))) to the selection circuit 32, which selects the error-free data string indicated by the information of the first correction value DET-COM. When the byte alignment determination circuit 33 receives the second correction value θK, it inputs a second selection instruction signal to the selection circuit 32, which selects the error-free data string indicated by the information of the second correction value θK.
 バイトアライメント判断回路33は、第2補正値θKの受信に応じて生成する第2選択指示信号よりも、第1補正値DET-COMの受信に応じて生成する第1選択指示信号を優先して、選択回路32に入力する。すなわち、バイトアライメント判断回路33は、第2補正値θKの受信後、第1補正値DET-COMを受信した場合、第2補正値θKによるバイトアライメントの実行を中止し、第1選択指示信号を出力する。 The byte alignment determination circuit 33 gives priority to the first selection instruction signal generated in response to receiving the first correction value DET-COM over the second selection instruction signal generated in response to receiving the second correction value θK, and inputs it to the selection circuit 32. In other words, if the byte alignment determination circuit 33 receives the first correction value DET-COM after receiving the second correction value θK, it stops performing byte alignment using the second correction value θK and outputs the first selection instruction signal.
 第1の受信装置においては、第2補正値θKは、エラーが生じていないデータ列の位置を示しており、第2補正値θKをバイトアライメント回路3に入力し、第2補正値θKに応じて、これに入力されたデータ信号のバイトアライメントを実行している。第1の受信装置は、補正値生成回路で生成された第2補正値θKを、前段のバイトアライメント回路3に、フィードバックして制御を行うものであり、多くの回路を必要としないため、比較的小さな回路規模とすることができる。 In the first receiving device, the second correction value θK indicates the position of a data string where no error occurs, and the second correction value θK is input to the byte alignment circuit 3, which performs byte alignment of the input data signal according to the second correction value θK. The first receiving device performs control by feeding back the second correction value θK generated in the correction value generation circuit to the byte alignment circuit 3 in the preceding stage, and does not require many circuits, so the circuit scale can be relatively small.
 図6は、補正値生成機能付のデコーダ4の回路構成を示す図である。 FIG. 6 shows the circuit configuration of a decoder 4 with a correction value generation function.
 デコーダ4は、データ列生成回路41と、エラー検出付き8b10bデコーダ42(0)と、複数の8b10bエラー検出器42E(1)~42E(9)と、補正値生成回路43とを備えている。 The decoder 4 includes a data string generation circuit 41, an 8b10b decoder with error detection 42(0), multiple 8b10b error detectors 42E(1)-42E(9), and a correction value generation circuit 43.
 データ列生成回路41の構造は、上述のデータ列生成回路21の構造と同一であり、1ビットずつシフトした位相を有する10個のデータ列(DATA-ARRAY(0)~DATA-ARRAY(9))を出力する。デコーダ4は、これらのデータ列が流れる10個のチャネルを有している。 The structure of the data string generation circuit 41 is the same as that of the data string generation circuit 21 described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) whose phases are shifted by one bit each. The decoder 4 has 10 channels through which these data strings flow.
 一般的な8b10bデコーダは、入力された信号のデコード機能と、8b10b変換時のエラー検出機能と、制御コード(Kコード)に対応した識別用の信号FLAG-K(OUT)の生成機能を有している。8b10bエラー検出器は、8b10bデコーダ機能の一部を使用することができるが、不要な部分を8b10bデコーダから取り除いて構成してもよい。エラー検出付き8b10bデコーダ又は8b10bエラー検出器からは、入力信号にエラーがあるかどうかを判定した判定結果であるエラー信号ERROR(n)が出力される(本例では、nは0~9の整数)。エラーがあると判定されるのは、コードエラーが検出された場合と、ランニングディスパリティにエラーが検出された場合である。一方の場合のみをエラー検出してもよいが、両方の場合でエラー検出してもよい。 A typical 8b10b decoder has the functions of decoding the input signal, detecting errors during 8b10b conversion, and generating an identification signal FLAG-K (OUT) corresponding to the control code (K code). An 8b10b error detector can use part of the 8b10b decoder functions, but it may also be configured by removing unnecessary parts from an 8b10b decoder. An 8b10b decoder with error detection or an 8b10b error detector outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
 補正値生成回路43には、10個のエラー信号(ERROR(0)~ERROR(9))が、入力される。Y番目(Y=3)のエラー信号が、エラー無しとの判定結果を示す場合、例えば、エラー信号の列は、(1,1,0,1,1,1,1,1,1,1)となる。補正値生成回路43は、受信したエラー信号の列から、Y番目にエラーが無い旨を示す第2補正値θKを生成する。第2補正値θKは、例えば、エラー信号の列の論理を反転させ、正しい区切りが行われたデータ列が選択されるように、バイトアライメント回路3への入力に換算した分だけ位相をシフトさせた信号として、生成してもよい。 The correction value generation circuit 43 receives 10 error signals (ERROR(0) to ERROR(9)). If the Yth error signal (Y=3) indicates that there is no error, for example, the sequence of error signals will be (1, 1, 0, 1, 1, 1, 1, 1, 1, 1). The correction value generation circuit 43 generates a second correction value θK from the received sequence of error signals, indicating that there is no error in the Yth signal. The second correction value θK may be generated, for example, by inverting the logic of the sequence of error signals and shifting the phase by an amount equivalent to the input to the byte alignment circuit 3 so that a correctly delimited data sequence is selected.
 なお、同図では、第1番目に、エラー検出付き8b10bデコーダ42(0)を配置しており、デコードしたパラレルデータ信号DATA-P(OUT)を出力すると共に、識別用の信号FLAG-K(OUT)を出力している。しかしながら、デコード出力を行う回路を、第1番目のエラー検出付き8b10bデコーダ42(0)に設定する必要はなく、データアレイの別のチャネルに対応する位置に設定してもよい。例えば、第5番目の8b10bエラー検出器42E(4)又は第6番目の8b10bエラー検出器42E(5)を、8b10bデコーダとすることもできる。この場合、データアレイのチャネルの中央部に8b10bデコーダが位置するため、データ処理時の対称性が高くなるという利点がある。 In the figure, the first 8b10b decoder with error detection 42(0) is placed, and outputs the decoded parallel data signal DATA-P (OUT) as well as the identification signal FLAG-K (OUT). However, the circuit that performs the decoded output does not need to be set to the first 8b10b decoder with error detection 42(0), and may be set to a position corresponding to another channel of the data array. For example, the fifth 8b10b error detector 42E(4) or the sixth 8b10b error detector 42E(5) can also be an 8b10b decoder. In this case, the 8b10b decoder is located in the center of the channel of the data array, which has the advantage of increasing symmetry during data processing.
 図7は、第1の受信装置における画像データ信号の位相補正手順を説明するフローチャートである。 FIG. 7 is a flowchart explaining the phase correction procedure for the image data signal in the first receiving device.
 図6に示したデコーダ4は、10個のチャネル(データ列:DATA-ARRAY(0)~DATA-ARRAY(9))において、現在、デコードを実行して、出力している特定のチャネル(エラー検出付き8b10bデコーダ42(0))において、エラーが発生したかどうかを検出する(ステップS1)。これはエラー信号のデータ列を検出することで、判別を行うことができる。特定のチャネルで、エラーが発生した場合には、エラーが発生していないチャネルが存在するので、そのチャネルを選択する(ステップS2)。現在、デコード中の対象チャネルで、エラーが発生した場合、このチャネルのデータ列の区切りが正しくないことを意味する。このチャネルから位相がシフトした位置で、データ区切りを行ったデータ列の中で正しいものが存在する。補正値生成回路43は、正しい区切りのデータ列を選択し、選択したチャネルに対応する第2補正値θKを生成して、出力する(ステップS3)。バイトアライメント回路3は、入力された第2補正値θKに従って、バイトアライメントを実行する(ステップS4)。このフローの実行中に、第1補正値DET-COMによるバイトアライメントが実行された場合、デコーダへの入力が、正しい区切りのデータ列となるので、デコーダでのエラーが解消し、第2補正値θKによるバイトアライメントの実行を中止し、再度、ステップS1の状態に戻る。 The decoder 4 shown in FIG. 6 detects whether an error has occurred in a specific channel (8b10b decoder with error detection 42(0)) that is currently decoding and outputting 10 channels (data string: DATA-ARRAY(0) to DATA-ARRAY(9)) (step S1). This can be determined by detecting the data string of the error signal. If an error has occurred in a specific channel, there is a channel in which no error has occurred, so that channel is selected (step S2). If an error has occurred in the target channel currently being decoded, this means that the division of the data string of this channel is incorrect. At a position where the phase is shifted from this channel, there is a correct data string among the data strings that have been divided. The correction value generation circuit 43 selects the data string with the correct division, generates the second correction value θK corresponding to the selected channel, and outputs it (step S3). The byte alignment circuit 3 performs byte alignment according to the input second correction value θK (step S4). If byte alignment is performed using the first correction value DET-COM while this flow is being executed, the input to the decoder will be a correctly delimited data string, so the error in the decoder will be resolved, byte alignment using the second correction value θK will be stopped, and the flow will return to step S1 again.
 図8は、バイトアライメントのタイミングを説明するための図である。 Figure 8 is a diagram to explain the timing of byte alignment.
 エンコードされたパラレルデータ信号DATA-P(E)のタイミングが示されている。画像データ信号においては、ブランキング期間(Dコード)のスタート時に、ブランキングスタート信号BS(Kコードにおけるコンマキャラクタ)が含まれ、終了時に、ブランキング終了信号BE(Kコードにおけるコンマキャラクタ)が含まれている。ブランキング終了信号BEの次のビットから、画像データが送信されるアクティブ期間(Dコード)が始まる。ブランキング終了信号BEを受信した直後の時刻t0において、第1補正値DET-COMによるバイトアライメントを実行する。その後、外来ノイズ等により、時刻t1において、8b10bデコード時のエラーが検出された場合、時刻t2において、上述の第2補正値θKによるバイトアライメントを実行する。時刻t1がエラー発生後の次の第1補正値DET-COMによるバイトアライメントの時刻t3の直前でない限り、時刻t2は、エラー発生後の次の第1補正値DET-COMによるバイトアライメントの時刻t3よりも早い。したがって、この受信装置においては、特殊コードの受信前であっても、正常な画像データ信号に、早期に復帰することができる。 The timing of the encoded parallel data signal DATA-P(E) is shown. The image data signal includes a blanking start signal BS (a comma character in the K code) at the start of the blanking period (D code), and a blanking end signal BE (a comma character in the K code) at the end. The active period (D code) during which image data is transmitted begins from the bit following the blanking end signal BE. At time t0 immediately after receiving the blanking end signal BE, byte alignment is performed using the first correction value DET-COM. If an error is detected during 8b10b decoding at time t1 due to external noise or the like, byte alignment is performed at time t2 using the above-mentioned second correction value θK. Unless time t1 is immediately before time t3 of the byte alignment using the next first correction value DET-COM after the error occurs, time t2 is earlier than time t3 of the byte alignment using the next first correction value DET-COM after the error occurs. Therefore, with this receiving device, the normal image data signal can be quickly restored even before the special code is received.
 図9は、複数のエラー信号の状態を説明するための図である。 Figure 9 is a diagram to explain the state of multiple error signals.
 図6に示したデコーダ4においては、複数のエラー信号ERROR(0)~ERROR(9)を常時モニタする構成が示された。図6における第1番目のエラー検出付き8b10bデコーダ42(0)が、時刻t1において、エラー無しの状態(No error)から、エラー有りの状態に切り替わったとする。この場合、例えば、第2番目の8b10bエラー検出器42E(1)から出力されるエラー信号ERROR(1)が、時刻t1直後から、エラー無しの状態(No error)に変化する。補正値生成回路43が、第2補正値θKを生成し、バイトアライメント回路3に入力し、時刻t2において、バイトアライメントが実行され、その後、第1番目のエラー検出付き8b10bデコーダ42(0)が、エラー無しの状態(No error)に復帰する。なお、複数のチャネルの中で、エラーが生じないチャネルは、1つであり、その他のチャネルでは頻繁にエラーが生じている。 In the decoder 4 shown in FIG. 6, a configuration is shown in which multiple error signals ERROR(0) to ERROR(9) are constantly monitored. Assume that the first 8b10b decoder with error detection 42(0) in FIG. 6 switches from an error-free state (No error) to an error-present state at time t1. In this case, for example, the error signal ERROR(1) output from the second 8b10b error detector 42E(1) changes to an error-free state (No error) immediately after time t1. The correction value generation circuit 43 generates the second correction value θK and inputs it to the byte alignment circuit 3. At time t2, byte alignment is performed, and then the first 8b10b decoder with error detection 42(0) returns to an error-free state (No error). Note that, among the multiple channels, there is only one channel in which no errors occur, and errors frequently occur in the other channels.
 図10は、第2の受信装置を備えた送受信システムの回路構成を示す図である。 FIG. 10 shows the circuit configuration of a transmission/reception system equipped with a second receiving device.
 この送受信システムは、図1に示した送受信システムと比較して、バイトアライメント回路3及びデコーダ4の構造が異なる。このバイトアライメント回路3(第2タイプ)は、第1タイプ(図5)のように、バイトアライメント回路3に、第2補正値θKが入力される構成ではなく、バイトアライメントの実行完了の通知信号DONEを出力し、これをデコーダ4に入力する。この送受信システムにおける、その他の構成は、図1に示した送受信システムと同一である。 Compared to the transmission/reception system shown in FIG. 1, this transmission/reception system differs in the structure of the byte alignment circuit 3 and the decoder 4. Unlike the first type (FIG. 5), in which the second correction value θK is input to the byte alignment circuit 3, this byte alignment circuit 3 (second type) outputs a notification signal DONE indicating that byte alignment has been completed, and inputs this to the decoder 4. The other configurations of this transmission/reception system are the same as those of the transmission/reception system shown in FIG. 1.
 デコーダ4は、内部に複数のチャネルに対応した複数の(副)デコーダを備えており、いずれかの(副)デコーダの出力信号が、正しくデータ区切りが行われた出力信号である。したがって、いずれかの(副)デコーダにおいて、エラーが検出された場合には、エラーが発生していないデコーダの出力を選択して、パラレルデータ信号DATA-P(OUT)として、出力する。 The decoder 4 has multiple (sub) decoders corresponding to multiple channels inside, and the output signal of any of the (sub) decoders is an output signal in which data has been correctly delimited. Therefore, if an error is detected in any of the (sub) decoders, the output of the decoder in which no error occurs is selected and output as the parallel data signal DATA-P (OUT).
 図11は、第2タイプのバイトアライメント回路を示す図である。 Figure 11 shows a second type of byte alignment circuit.
 第2の受信装置に適用される第2タイプのバイトアライメント回路3は、第1タイプのバイトアライメント回路3(図5)と比較して、バイトアライメント判断回路33の機能のみが異なり、他の構成は、同一である。第2タイプのバイトアライメント判断回路33は、第1タイプの場合と同様に、第1補正値DET-COMを受信した場合、これに対応するエラーの無いデータ列を選択する第1選択指示信号を、選択回路32に入力し、上記と同じバイトアライメントを実行する。 The second type byte alignment circuit 3 applied to the second receiving device differs from the first type byte alignment circuit 3 (Figure 5) only in the function of the byte alignment determination circuit 33, and the other configurations are the same. As with the first type, when the second type byte alignment determination circuit 33 receives the first correction value DET-COM, it inputs a first selection instruction signal that selects the corresponding error-free data string to the selection circuit 32, and performs the same byte alignment as described above.
 第2タイプのバイトアライメント判断回路33は、第1選択指示信号を、選択回路32に入力した後、バイトアライメントの実行完了を示す通知信号(DONE)を出力する。通知信号(DONE)は、後段に配置された補正値生成機能付のデコーダ4に入力される。 The second type byte alignment determination circuit 33 inputs the first selection instruction signal to the selection circuit 32, and then outputs a notification signal (DONE) indicating that byte alignment has been completed. The notification signal (DONE) is input to the decoder 4 with a correction value generation function located downstream.
 図12は、補正値生成機能付のデコーダ4の回路構成を示す図である。 FIG. 12 shows the circuit configuration of a decoder 4 with a correction value generation function.
 デコーダ4は、データ列生成回路41と、10個のエラー検出付き8b10bデコーダ42(0)~42(9)と、補正値生成回路43Aと、第1選択回路44と、第2選択回路45とを備えている。 The decoder 4 includes a data string generation circuit 41, ten 8b10b decoders with error detection 42(0)-42(9), a correction value generation circuit 43A, a first selection circuit 44, and a second selection circuit 45.
 データ列生成回路41の構造は、上述の通りであり、1ビットずつシフトした位相を有する10個のデータ列(DATA-ARRAY(0)~DATA-ARRAY(9))を出力する。デコーダ4は、これらのデータ列が流れる10個のチャネルを有している。 The data string generation circuit 41 has the structure described above, and outputs 10 data strings (DATA-ARRAY(0) to DATA-ARRAY(9)) whose phases are shifted by one bit each. The decoder 4 has 10 channels through which these data strings flow.
 10個のエラー検出付き8b10bデコーダ42(0)~42(9)は、一般的な8b10bデコーダであり、それぞれ、入力された信号のデコード機能と、8b10b変換時のエラー検出機能と、制御コード(Kコード)に対応した識別用の信号FLAG-K(0)~FLAG-K(9)の生成機能を有している。 The ten 8b10b decoders with error detection 42(0)-42(9) are general 8b10b decoders, each of which has the function of decoding the input signal, the function of detecting errors during 8b10b conversion, and the function of generating identification signals FLAG-K(0)-FLAG-K(9) corresponding to the control code (K code).
 それぞれのエラー検出付き8b10bデコーダ42(n)は(nは0~9の整数)、入力されたデータ列をデコードした出力信号DATA(n)と、エラーの有無を判定するエラー信号ERROR(n)と、制御コード(Kコード)に対応した識別用の信号のFLAG-K(n)とを出力する。エラー検出付き8b10bデコーダ42(n)からは、入力信号にエラーがあるかどうかを判定した判定結果であるエラー信号ERROR(n)が出力される(本例では、nは0~9の整数)。エラーがあると判定されるのは、コードエラーが検出された場合と、ランニングディスパリティにエラーが検出された場合である。一方の場合のみをエラー検出してもよいが、両方の場合のエラー検出をしてもよい。 Each 8b10b decoder 42(n) with error detection (n is an integer from 0 to 9) outputs an output signal DATA(n) obtained by decoding the input data string, an error signal ERROR(n) that determines whether or not there is an error, and an identification signal FLAG-K(n) that corresponds to the control code (K code). The 8b10b decoder 42(n) with error detection outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
 補正値生成回路43Aには、10個のエラー信号(ERROR(0)~ERROR(9))が、入力される。Y番目(Y=3)のエラー信号が、エラー無しとの判定結果を示す場合、例えば、エラー信号のデータ列は、(1,1,0,1,1,1,1,1,1,1)となる。補正値生成回路43Aは、受信したエラー信号の列から、Y番目にエラーが無い旨を示す第2補正値θK*を生成する。第2補正値θK*は、例えば、エラー信号のデータ列の論理を反転させたものとする。 The correction value generation circuit 43A receives 10 error signals (ERROR(0) to ERROR(9)). If the Yth error signal (Y=3) indicates that there is no error, for example, the data string of the error signals will be (1, 1, 0, 1, 1, 1, 1, 1, 1, 1). From the received string of error signals, the correction value generation circuit 43A generates a second correction value θK* indicating that there is no error in the Yth signal. The second correction value θK* is, for example, the inverted logic of the data string of the error signals.
 第1選択回路44には、デコードされた10個の出力信号DATA(n)が入力される。第1選択回路44は、補正値生成回路43Aから出力された第2補正値θK*の示すY番目のデータ列の出力信号DATA(n)を選択して出力する。 The ten decoded output signals DATA(n) are input to the first selection circuit 44. The first selection circuit 44 selects and outputs the output signal DATA(n) of the Y-th data string indicated by the second correction value θK* output from the correction value generation circuit 43A.
 第2選択回路45には、10個の識別用の信号のFLAG-K(n)が入力される。第2選択回路45は、補正値生成回路43Aから出力された第2補正値θK*の示すY番目のデータ列の識別用の信号のFLAG-K(n)を選択して、FLAG-K(OUT)として出力する。 The ten identification signals FLAG-K(n) are input to the second selection circuit 45. The second selection circuit 45 selects the identification signal FLAG-K(n) of the Y-th data string indicated by the second correction value θK* output from the correction value generation circuit 43A, and outputs it as FLAG-K(OUT).
 以上、説明したように、この受信装置RXは、複数のデータ列をそれぞれデコードする複数の8b10bデコーダ42(n)を備え、第2補正値θK*は、エラーが生じていないデータ列を示し、第2補正値θK*の示すデータ列をデコードしたデータ信号を選択して、パラレルデータ信号DATA-P(OUT)として、出力することで、データ信号のバイトアライメントを実行している。受信装置では、予め、複数のデコーダを用意している。 As explained above, the receiving device RX is equipped with multiple 8b10b decoders 42(n) that respectively decode multiple data strings, and the second correction value θK* indicates a data string that is error-free. The receiving device performs byte alignment of the data signal by selecting a data signal obtained by decoding the data string indicated by the second correction value θK* and outputting it as a parallel data signal DATA-P (OUT). The receiving device has multiple decoders prepared in advance.
 正常データ信号は、データ列を正常なブロックの位置で区切って出力されるデータ信号であり、エラーデータ信号は、データ列をエラーが生じるブロックの位置で区切って出力されるデータ信号であるとする。複数の8b10bデコーダ42(n)からは、正常データ信号と、エラーデータ信号群が、出力可能な状態である。この受信装置は、第2補正値θK*によって、正常データ信号を選択することで、データ信号のバイトアライメントを実行している。この受信装置においては、バイトアライメント回路3への第2補正値のフィードバックを必要としないので、回路構造が単純になり、保守性、ロバスト性に優れることとなる。 The normal data signal is a data signal that is output by separating a data string at the position of a normal block, and the error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs. Normal data signals and groups of error data signals can be output from the multiple 8b10b decoders 42(n). This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value θK*. This receiving device does not require feedback of the second correction value to the byte alignment circuit 3, so the circuit structure is simple and has excellent maintainability and robustness.
 また、バイトアライメント回路3は、特殊コード検出に同期して生成された第1補正値DET-COMによって、バイトアライメントを実行した場合、バイトアライメントの実行完了の通知信号DONEをデコーダ4の補正値生成回路43Aに入力する。第1選択回路44は、当該バイトアライメント実行後、正しいタイミングで区切られたパラレルデータ信号DATA-P(OUT)を選択して出力する。補正値生成回路43Aに、バイトアライメントの実行完了の通知信号DONEが入力された場合、既定アライメント状態(特殊コード検出に同期した通常のバイトアライメントが実行され、正しい区切りが行われた状態)にあると判断できる。初期設定において、この状態の場合に、正しいパラレルデータ信号DATA-P(OUT)を出力するように設定されている既定設定の特定チャネル(DATA-ARRAY(0)~DATA-ARRAY(9)いずれか)がある場合は、その特定チャネルを選択すればよい。すなわち、この場合、第2補正値θK*は、特定チャネルに対応した8b10bデコーダ42から出力されたデータ信号を選択するように、第1選択回路44及び第2選択回路45に指示する信号である。 When the byte alignment circuit 3 executes byte alignment using the first correction value DET-COM generated in synchronization with the detection of the special code, it inputs a notification signal DONE indicating that the byte alignment has been executed to the correction value generation circuit 43A of the decoder 4. After the byte alignment is executed, the first selection circuit 44 selects and outputs the parallel data signal DATA-P (OUT) that has been delimited at the correct timing. When the notification signal DONE indicating that the byte alignment has been executed is input to the correction value generation circuit 43A, it can be determined that the default alignment state (a state in which normal byte alignment has been executed in synchronization with the detection of the special code and the correct delimitation has been performed) is in effect. In the initial settings, if there is a specific default channel (any of DATA-ARRAY (0) to DATA-ARRAY (9)) that is set to output the correct parallel data signal DATA-P (OUT) in this state, then that specific channel can be selected. In other words, in this case, the second correction value θK* is a signal that instructs the first selection circuit 44 and the second selection circuit 45 to select the data signal output from the 8b10b decoder 42 that corresponds to a specific channel.
 図13は、第2の受信装置における画像データ信号の位相補正手順を説明するフローチャートである。 FIG. 13 is a flowchart explaining the phase correction procedure for the image data signal in the second receiving device.
 図12に示したデコーダ4は、10個のチャネル(データ列:DATA-ARRAY(0)~DATA-ARRAY(9))において、現在、デコードを実行して、出力している特定のチャネル(例:エラー検出付き8b10bデコーダ42(0))において、エラーが発生したかどうかを検出する(ステップS11)。これはエラー信号のデータ列を検出することで、判別を行うことができる。特定のチャネルで、エラーが発生した場合には、エラーが発生していないチャネルが存在する。現在、デコード中の対象チャネルで、エラーが発生した場合、このチャネルのデータ列の区切りが正しくなく、位相がずれた位置の区切りを行ったデータ列が正しいことを意味するので、補正値生成回路43Aは、エラーが無いチャネルを示す第2補正値θK*を生成して、出力する(ステップS12)。第1選択回路44は、入力された第2補正値θK*に従って、エラーの無いデータ信号を選択して出力することで、バイトアライメントを実行する(ステップS13)。なお、第1補正値DET-COMによるバイトアライメントが実行された際は、補正値生成回路43Aは、バイトアライメント実行完了の通知信号DONEを受信し、どのステップにいても、初期に選択されていたデコーダ(データ信号DATA-P(E)が、正しいデータ区切りとなっている場合に、エラーが無いとして、選択される既定設定のデコーダ)が選択され、ステップS11に遷移する。 The decoder 4 shown in FIG. 12 detects whether an error has occurred in a specific channel (e.g., 8b10b decoder 42(0) with error detection) that is currently decoding and outputting 10 channels (data string: DATA-ARRAY(0) to DATA-ARRAY(9)) (step S11). This can be determined by detecting the data string of the error signal. If an error has occurred in a specific channel, there is a channel in which no error has occurred. If an error has occurred in the target channel currently being decoded, this means that the division of the data string of this channel is incorrect and the data string with the division at the out-of-phase position is correct, so the correction value generation circuit 43A generates and outputs a second correction value θK* indicating a channel without errors (step S12). The first selection circuit 44 selects and outputs an error-free data signal according to the input second correction value θK*, thereby performing byte alignment (step S13). When byte alignment is performed using the first correction value DET-COM, the correction value generation circuit 43A receives a notification signal DONE indicating that byte alignment has been completed, and regardless of the step, the initially selected decoder (the default decoder that is selected when the data signal DATA-P(E) has correct data delimiters and there is no error) is selected, and the process transitions to step S11.
 図14は、複数のエラー信号の状態を説明するための図である。 Figure 14 is a diagram to explain the states of multiple error signals.
 図12に示したデコーダ4においては、複数のエラー信号ERROR(0)~ERROR(9)を常時モニタする構成が示された。図12における第1番目のエラー検出付き8b10bデコーダ42(0)が、時刻t1において、エラー無しの状態(No error)から、エラー有りの状態(error)に切り替わったとする。この場合、例えば、第2番目の8b10bデコーダ42(1)から出力されるエラー信号ERROR(1)が、時刻t1直後から、エラー無しの状態(No error)に変化する。補正値生成回路43Aが、第2補正値θK*を生成し、時刻t2において、バイトアライメントが実行され、その後、第2番目の8b10bデコーダ42(1)の出力信号が、エラー無しの状態(No error)の出力信号として、選択され、出力される。なお、複数のチャネルの中で、エラーが生じないチャネルは、1つであり、その他のチャネルでは頻繁にエラーが生じている。 In the decoder 4 shown in FIG. 12, a configuration is shown in which multiple error signals ERROR(0) to ERROR(9) are constantly monitored. Assume that the first 8b10b decoder with error detection 42(0) in FIG. 12 switches from an error-free state (No error) to an error-present state (error) at time t1. In this case, for example, the error signal ERROR(1) output from the second 8b10b decoder 42(1) changes to an error-free state (No error) immediately after time t1. The correction value generation circuit 43A generates the second correction value θK*, byte alignment is performed at time t2, and then the output signal of the second 8b10b decoder 42(1) is selected and output as an output signal in an error-free state (No error). Note that, among the multiple channels, there is only one channel in which no errors occur, and errors frequently occur in the other channels.
 図15は、第1の受信装置におけるデータ送受信のタイミングの一例を説明するためのタイミング図である。 FIG. 15 is a timing diagram illustrating an example of the timing of data transmission and reception in the first receiving device.
 送信装置TX側においては、8ビットのパラレルデータ信号DATA-P(IN)hex(16進数表記)或いはDATA-P(IN)bin(2進数表記)が入力され、これが10ビットにエンコードされたパラレルデータ信号DATA-P(EE)に変換された後、シリアライズしたシリアルデータ信号DATA-S(E)として、送信される。 On the transmitting device TX side, an 8-bit parallel data signal DATA-P (IN) hex (hexadecimal notation) or DATA-P (IN) bin (binary notation) is input, which is converted to a 10-bit encoded parallel data signal DATA-P (EE), and then transmitted as a serialized serial data signal DATA-S (E).
 受信装置RX側においては、シリアルデータ信号DATA-S(E)を受信し、これをデシリアライズして、パラレルデータ信号DATA-P(E*)に変換し、バイトアライメントを行ったパラレルデータ信号DATA-P(E)が生成される。その後、10個のチャネルを流れるデータ列DATA-ARRAY(0)~DATA-ARRAY(9)が生成される。パラレルデータ信号DATA-P(OUT)bin(2進数表記)或いはDATA-P(OUT)hex(16進数表記)がデコーダから出力される。 On the receiving device RX side, the serial data signal DATA-S (E) is received, deserialized, and converted to a parallel data signal DATA-P (E*), and a byte-aligned parallel data signal DATA-P (E) is generated. After that, data strings DATA-ARRAY (0) to DATA-ARRAY (9) that flow through the 10 channels are generated. The parallel data signal DATA-P (OUT) bin (binary notation) or DATA-P (OUT) hex (hexadecimal notation) is output from the decoder.
 8b10bのエンコードが行われた後、パラレルデータ信号DATA-P(OUT)hex(16進数表記)にエラー(NG)が検出された場合、例えば、コードエラーにより、この出力信号は不定値となる。なお、コードエラーは、エラー検出付き8b10bデコーダにより検出する。例えば、第1番目のデータ列(DATA-ARRAY(0))において、エラー(ERROR)が発生し、第2番目のデータ列(DATA-ARRAY(1))が正常(OK)となった場合、上述のように、時刻t2において、第2補正値θKによるバイトアライメントを実行する。この場合、その後の第1番目のデータ列(DATA-ARRAY(0))のエラーが解消し、正常(OK)の状態に復帰することができる。 If an error (NG) is detected in the parallel data signal DATA-P(OUT)hex (in hexadecimal notation) after 8b10b encoding, for example due to a code error, this output signal will be an indefinite value. Code errors are detected by an 8b10b decoder with error detection. For example, if an error (ERROR) occurs in the first data string (DATA-ARRAY(0)) and the second data string (DATA-ARRAY(1)) becomes normal (OK), then byte alignment is performed at time t2 using the second correction value θK as described above. In this case, the error in the first data string (DATA-ARRAY(0)) is eliminated and the data can be restored to a normal (OK) state.
 図16は、第2の受信装置におけるデータ送受信のタイミングの一例を説明するためのタイミング図である。 FIG. 16 is a timing diagram illustrating an example of the timing of data transmission and reception in the second receiving device.
 送信装置TX側においては、8ビットのパラレルデータ信号DATA-P(IN)hex(16進数表記)或いはDATA-P(IN)bin(2進数表記)が入力され、これが10ビットにエンコードされたパラレルデータ信号DATA-P(EE)に変換された後、シリアライズしたシリアルデータ信号DATA-S(E)として、送信される。 On the transmitting device TX side, an 8-bit parallel data signal DATA-P (IN) hex (hexadecimal notation) or DATA-P (IN) bin (binary notation) is input, which is converted to a 10-bit encoded parallel data signal DATA-P (EE), and then transmitted as a serialized serial data signal DATA-S (E).
 受信装置RX側においては、シリアルデータ信号DATA-S(E)を受信し、これをデシリアライズして、パラレルデータ信号DATA-P(E*)に変換し、バイトアライメントを行ったパラレルデータ信号DATA-P(E)が生成される。その後、10個のチャネルを流れるデータ列DATA-ARRAY(0)~DATA-ARRAY(9)が生成される。パラレルデータ信号DATA-P(OUT)bin(2進数表記)或いはDATA-P(OUT)hex(16進数表記)がデコーダから出力される。 On the receiving device RX side, the serial data signal DATA-S (E) is received, deserialized, and converted to a parallel data signal DATA-P (E*), and a byte-aligned parallel data signal DATA-P (E) is generated. After that, data strings DATA-ARRAY (0) to DATA-ARRAY (9) that flow through the 10 channels are generated. The parallel data signal DATA-P (OUT) bin (binary notation) or DATA-P (OUT) hex (hexadecimal notation) is output from the decoder.
 8b10bのエンコードが行われた後、パラレルデータ信号DATA-P(OUT)hex(16進数表記)にエラー(NG)が検出された場合、例えば、コードエラーにより、この出力信号は不定値となる。現在、選択されているデータ列が、第1番目のデータ列(DATA-ARRAY(0))の場合(選択デコーダ出力:DATA(0))、このデータ列において、エラー(ERROR)が発生し、第2番目のデータ列(DATA-ARRAY(1))が正常(OK)であると判定される場合、上述のように、時刻t2において、第2補正値θK*によるバイトアライメントを実行する。この場合、その後の第2番目のデータ列(DATA-ARRAY(1))の出力(選択デコーダ出力:DATA(1))が選択されることで、正常(OK)の状態に復帰することができる。 If an error (NG) is detected in the parallel data signal DATA-P(OUT)hex (in hexadecimal notation) after 8b10b encoding, for example due to a code error, this output signal becomes an indefinite value. If the currently selected data string is the first data string (DATA-ARRAY(0)) (selected decoder output: DATA(0)), and an error (ERROR) occurs in this data string, and the second data string (DATA-ARRAY(1)) is determined to be normal (OK), then byte alignment is performed at time t2 using the second correction value θK*, as described above. In this case, the output of the second data string (DATA-ARRAY(1)) (selected decoder output: DATA(1)) is subsequently selected, allowing the normal (OK) state to be restored.
 図17は、第3の受信装置を備えた送受信システムの回路構成を示す図である。 FIG. 17 shows the circuit configuration of a transmission/reception system equipped with a third receiving device.
 この送受信システムは、図1に示した送受信システムと比較して、デコーダ4及びバイトアライメント回路3の構造と配置が異なる。この送受信システムにおける、その他の構成は、図1に示した送受信システムと同一である。 Compared to the transmission/reception system shown in FIG. 1, this transmission/reception system differs in the structure and arrangement of the decoder 4 and the byte alignment circuit 3. The other configurations of this transmission/reception system are the same as those of the transmission/reception system shown in FIG. 1.
 デコーダ4は、内部に複数のチャネルに対応した複数の(副)デコーダを備えており、いずれかの(副)デコーダの出力信号が、正しくデータ区切りが行われた出力信号である。したがって、いずれかの(副)デコーダにおいて、エラーが検出された場合には、エラーが発生していないデコーダの出力を選択する第2補正値θK*を出力する。また、デコーダ4は、入力信号をデコードした複数のパラレルデータ信号DATA-P(M)と、複数の識別用の信号FLAG-K(M)を出力する。 The decoder 4 has multiple (sub) decoders corresponding to multiple channels inside, and the output signal of any of the (sub) decoders is an output signal in which data has been correctly delimited. Therefore, if an error is detected in any of the (sub) decoders, it outputs a second correction value θK* that selects the output of a decoder in which no error has occurred. The decoder 4 also outputs multiple parallel data signals DATA-P(M) that are generated by decoding the input signal, and multiple identification signals FLAG-K(M).
 バイトアライメント回路3(第3タイプ)は、デコーダ4の後段に配置されており、バイトアライメント回路3には、デコーダ4から出力された複数のパラレルデータ信号DATA-P(M)(例:8ビットのデータ列×10個)と、複数の識別用の信号FLAG-K(M)(例:10ビット)が入力される。それぞれの入力信号は、第1補正値DET-COMと、第2補正値θKとを用いて、正しいデータ区切りが行われた信号が選択され、パラレルデータ信号DATA-P(OUT)及び識別用の信号FLAG-K(OUT)として出力され、結果的に、入力されたパラレルデータ信号のバイトアライメントが行われる。 The byte alignment circuit 3 (third type) is placed after the decoder 4, and receives multiple parallel data signals DATA-P (M) (e.g., 10 8-bit data strings) and multiple identification signals FLAG-K (M) (e.g., 10 bits) output from the decoder 4. From each input signal, a signal with correct data division is selected using the first correction value DET-COM and the second correction value θK, and is output as the parallel data signal DATA-P (OUT) and the identification signal FLAG-K (OUT), resulting in byte alignment of the input parallel data signal.
 図18は、補正値生成機能付のデコーダ4の回路構成を示す図である。 FIG. 18 shows the circuit configuration of a decoder 4 with a correction value generation function.
 デコーダ4は、データ列生成回路41と、10個のエラー検出付き8b10bデコーダ42(0)~42(9)と、補正値生成回路43Aとを備えている。本例のデコーダ4は、デシリアライザ1の直後の後段に位置しているので、バイトアライメント実行前のパラレルデータ信号DATA-P(E*)が入力される。 The decoder 4 includes a data string generation circuit 41, ten 8b10b decoders with error detection 42(0)-42(9), and a correction value generation circuit 43A. In this example, the decoder 4 is located immediately after the deserializer 1, so the parallel data signal DATA-P(E*) before byte alignment is input.
 データ列生成回路41及びエラー検出付き8b10bデコーダ42(0)~42(9)の構造及び機能は、第2の受信装置のデコーダ4(図12参照)における対応回路と同一である。 The structure and function of the data string generation circuit 41 and the 8b10b decoders with error detection 42(0)-42(9) are the same as the corresponding circuits in the decoder 4 of the second receiving device (see FIG. 12).
 10個のエラー検出付き8b10bデコーダ42(0)~42(9)は、一般的な8b10bデコーダであり、それぞれ、入力された信号のデコード機能と、8b10b変換時のエラー検出機能と、識別用の信号FLAG-K(0)~FLAG-K(9)の生成機能を有している。 The ten 8b10b decoders with error detection 42(0)-42(9) are general 8b10b decoders, each of which has the function of decoding the input signal, the function of detecting errors during 8b10b conversion, and the function of generating identification signals FLAG-K(0)-FLAG-K(9).
 それぞれのエラー検出付き8b10bデコーダ42(n)は(nは0~9の整数)、入力されたデータ列をデコードした出力信号DATA(n)と、エラーの有無を判定するエラー信号ERROR(n)と、制御コード(Kコード)に対応した識別用の信号のFLAG-K(n)とを出力する。エラー検出付き8b10bデコーダ42(n)からは、入力信号にエラーがあるかどうかを判定した判定結果であるエラー信号ERROR(n)が出力される(本例では、nは0~9の整数)。エラーがあると判定されるのは、コードエラーが検出された場合と、ランニングディスパリティにエラーが検出された場合である。一方の場合のみをエラー検出してもよいが、両方の場合のエラー検出をしてもよい。 Each 8b10b decoder 42(n) with error detection (n is an integer from 0 to 9) outputs an output signal DATA(n) obtained by decoding the input data string, an error signal ERROR(n) that determines whether or not there is an error, and an identification signal FLAG-K(n) that corresponds to the control code (K code). The 8b10b decoder 42(n) with error detection outputs an error signal ERROR(n) that is the result of determining whether or not there is an error in the input signal (in this example, n is an integer from 0 to 9). It is determined that there is an error when a code error is detected or when an error is detected in the running disparity. Error detection may be performed in only one case, or in both cases.
 補正値生成回路43Aには、10個のエラー信号(ERROR(0)~ERROR(9))が、入力される。例えば、Y番目(Y=3)のエラー信号が、エラー無しとの判定結果を示す場合、例えば、エラー信号のデータ列は、(1,1,0,1,1,1,1,1,1,1)となる。補正値生成回路43Aは、受信したエラー信号の列から、Y番目にエラーが無い旨を示す第2補正値θK*を生成する。第2補正値θK*は、例えば、エラー信号のデータ列の論理を反転させたものとする。 The correction value generation circuit 43A receives 10 error signals (ERROR(0) to ERROR(9)). For example, if the Yth error signal (Y=3) indicates that there is no error, the data string of the error signals will be (1, 1, 0, 1, 1, 1, 1, 1, 1, 1). From the received string of error signals, the correction value generation circuit 43A generates a second correction value θK* indicating that there is no error in the Yth signal. The second correction value θK* is, for example, the inverted logic of the data string of the error signals.
 図19は、第3タイプのバイトアライメント回路3を示す図である。 FIG. 19 shows a third type of byte alignment circuit 3.
 このバイトアライメント回路3は、バイトアライメント判断回路33と、第1選択回路34と、第2選択回路35とを備えている。 This byte alignment circuit 3 includes a byte alignment determination circuit 33, a first selection circuit 34, and a second selection circuit 35.
 バイトアライメント判断回路33は、第1補正値DET-COM、及び、第2補正値θK*を受信する。バイトアライメント判断回路33が、第1補正値DET-COMを受信した場合、エラーの無いデータ列(例:X番目)を選択する第1選択指示信号を生成し、これを第1選択回路34及び第2選択回路35に入力する。バイトアライメント判断回路33が、第2補正値θK*を受信した場合、エラーの無いデータ列(例:Y番目)を選択する第2選択指示信号を生成し、これを第1選択回路34及び第2選択回路35に入力する。バイトアライメント判断回路33は、第2補正値θK*の受信に応じて生成する第2選択指示信号よりも、第1補正値DET-COMの受信に応じて生成する第1選択指示信号を優先して、第1選択回路34及び第2選択回路35に入力する。すなわち、バイトアライメント判断回路33は、第2補正値θK*の受信後、第1補正値DET-COMを受信した場合、第2補正値θK*によるバイトアライメントの実行(エラーの無いデータ信号の選択)を中止し、第1補正値DET-COMによるバイトアライメントの実行(エラーの無いデータ信号の選択)を行う。 The byte alignment judgment circuit 33 receives the first correction value DET-COM and the second correction value θK*. When the byte alignment judgment circuit 33 receives the first correction value DET-COM, it generates a first selection instruction signal that selects an error-free data string (e.g., Xth) and inputs this to the first selection circuit 34 and the second selection circuit 35. When the byte alignment judgment circuit 33 receives the second correction value θK*, it generates a second selection instruction signal that selects an error-free data string (e.g., Yth) and inputs this to the first selection circuit 34 and the second selection circuit 35. The byte alignment judgment circuit 33 gives priority to the first selection instruction signal generated in response to receiving the first correction value DET-COM over the second selection instruction signal generated in response to receiving the second correction value θK*, and inputs this to the first selection circuit 34 and the second selection circuit 35. That is, if the byte alignment determination circuit 33 receives the first correction value DET-COM after receiving the second correction value θK*, it stops performing byte alignment using the second correction value θK* (selecting an error-free data signal) and performs byte alignment using the first correction value DET-COM (selecting an error-free data signal).
 第1選択回路34には、前段のデコーダ4により、デコードされた10個の出力信号DATA(n)が入力される。第1選択回路34は、第1補正値DET-COMから生成された第1選択指示信号、又は、第2補正値θK*から生成された第2選択指示信号に従って、エラーの無いデータ列DATA(n)を選択し、パラレルデータ信号DATA-P(OUT)として、出力する。 The first selection circuit 34 receives the ten output signals DATA(n) decoded by the preceding decoder 4. The first selection circuit 34 selects the error-free data string DATA(n) according to the first selection instruction signal generated from the first correction value DET-COM or the second selection instruction signal generated from the second correction value θK*, and outputs it as a parallel data signal DATA-P(OUT).
 第2選択回路35には、前段のデコーダ4により、デコードされた10個の識別用の信号FLAG-K(n)が入力される。第2選択回路35は、第1補正値DET-COMから生成された第1選択指示信号、又は、第2補正値θK*から生成された第2選択指示信号に従って、エラーの無いチャネルに対応した信号FLAG-K(n)を選択し、識別用の信号FLAG-K(OUT)として、出力する。 The second selection circuit 35 receives ten identification signals FLAG-K(n) decoded by the previous decoder 4. The second selection circuit 35 selects the signal FLAG-K(n) corresponding to an error-free channel according to the first selection instruction signal generated from the first correction value DET-COM or the second selection instruction signal generated from the second correction value θK*, and outputs it as the identification signal FLAG-K(OUT).
 なお、送信装置TXのシリアライザ202は、伝送信号の高周波成分を増幅するプリエンファシス回路(増幅器)を備えることができる。受信装置RXのデシリアライザ1は、伝送路の特性に応じて減衰する高周波成分を自動増幅するアダプティブ型イコライザを備えることができる。これにより、信号伝送における信号品質低下を抑制し、シンボルマッピング方式のデータの伝送速度を、好適には、1ペアの差動ラインで4Gビット/秒以上、伝送可能距離を10m以上にすることもできる。また、シリアルデータ信号の伝送ラインには、フレキシブル・フラット・ケーブル(FFC)を用いることもできる。 The serializer 202 of the transmitting device TX can be equipped with a pre-emphasis circuit (amplifier) that amplifies the high-frequency components of the transmission signal. The deserializer 1 of the receiving device RX can be equipped with an adaptive equalizer that automatically amplifies the high-frequency components that are attenuated according to the characteristics of the transmission line. This makes it possible to suppress degradation of signal quality during signal transmission, and preferably to increase the data transmission speed of the symbol mapping method to 4 Gbps or more with one pair of differential lines, and the transmission distance to 10 m or more. A flexible flat cable (FFC) can also be used for the transmission line of the serial data signal.
 次に、上述の第1~第3の受信装置を改良した受信装置を備えた送受信システムについて説明する。 Next, we will explain a transmission/reception system equipped with a receiving device that is an improvement over the first to third receiving devices described above.
 図20は、改良した第1の受信装置を備えた送受信システムの回路構成を示す図である。 Figure 20 shows the circuit configuration of a transmission/reception system equipped with an improved first receiving device.
 同図に示す送信装置TXは、図1に示した第1の受信装置に加えて、パッカーPC(Packer)、シンボル生成回路SG、及び、マルチプレクサMUXを備えている。 The transmitting device TX shown in the figure includes a packer PC (Packer), a symbol generating circuit SG, and a multiplexer MUX in addition to the first receiving device shown in FIG. 1.
 パッカーPCは、例えば、RGB毎の映像信号DATA-INと、シンク信号SYNC-INとを受信する。パッカーPCは、映像信号のピクセルクロック信号から、バイトクロック信号を生成し、バイトクロック信号を用いて映像信号のパケット処理を行い、アクティブ期間(ACTIVE)内の映像信号となるパケット信号を生成する。パッカーPCは、シンク信号SYNC-INから、ブランクスタート(BS)期間、ブランクエンド(BE)期間、及び、ブランク(BP)期間に対応する信号のパケット処理を行い、それぞれの期間に対応するパケット信号を生成する。各パケット信号は、8ビットのパラレルデータ信号であるが、8ビットのパラレルデータ信号のN倍(Nは自然数)を処理することもできる。 The packer PC receives, for example, a video signal DATA-IN for each RGB and a sync signal SYNC-IN. The packer PC generates a byte clock signal from the pixel clock signal of the video signal, and performs packet processing of the video signal using the byte clock signal to generate a packet signal that will be the video signal in the active period (ACTIVE). The packer PC performs packet processing of signals corresponding to the blank start (BS) period, blank end (BE) period, and blank (BP) period from the sync signal SYNC-IN, and generates a packet signal corresponding to each period. Each packet signal is an 8-bit parallel data signal, but it is also possible to process N times (N is a natural number) of 8-bit parallel data signals.
 シンボル生成回路SGは、データイネーブル信号DE-INを受信し、データイネーブル信号DE-INから、制御コード(Kコード)に対応した識別用の信号FLAG-K(IN)を生成し、出力する。信号FLAG-K(IN)は、BS期間、BE期間、BP期間を示す情報を含んでいる。例えば、BS期間は、データイネーブル信号DE-INの立下りエッジの直後に設定し、ブランクエンドBE期間は、立上りエッジの直前に設定することができる。 The symbol generation circuit SG receives the data enable signal DE-IN, and generates and outputs an identification signal FLAG-K (IN) corresponding to the control code (K code) from the data enable signal DE-IN. The signal FLAG-K (IN) contains information indicating the BS period, BE period, and BP period. For example, the BS period can be set immediately after the falling edge of the data enable signal DE-IN, and the blank end BE period can be set immediately before the rising edge.
 マルチプレクサMUXは、パッカーPCから出力された複数の信号と、識別用の信号FLAG-K(IN)を受信し、これらの信号を合成した8×Nビットのパラレルデータ信号をエンコーダ201に出力する。マルチプレクサMUXは、BS期間、BE期間、BP期間の情報を有する識別用の信号FLAG-K(IN)も受信しており、当該信号を利用して、動作を行うことができる。例えば、マルチプレクサMUXは、アクティブ期間内においては、画像情報を有する映像信号を出力し、BS期間、BE期間、BP期間内においては、それぞれの期間に対応してシンク信号SYNC-INから生成された信号を出力することができる。 The multiplexer MUX receives the multiple signals output from the packer PC and the identification signal FLAG-K (IN), and outputs an 8xN-bit parallel data signal obtained by combining these signals to the encoder 201. The multiplexer MUX also receives the identification signal FLAG-K (IN) that contains information about the BS, BE, and BP periods, and can use this signal to perform operations. For example, the multiplexer MUX can output a video signal containing image information during the active period, and output a signal generated from the sync signal SYNC-IN corresponding to each period during the BS, BE, and BP periods.
 エンコーダ201は、8b10bエンコーダであり、マルチプレクサMUXから出力された8ビットのパラレルデータ信号PATA-P(IN)を受信し、10ビットのパラレルデータ信号に、エンコードして出力する。このパラレルデータ信号は、10ビットのパラレルデータ信号のN倍のパラレルデータ信号として処理することもできる。なお、エンコーダ201は、シンボル生成回路SGから出力された、制御コード(Kコード)に対応した識別用の信号FLAG-K(IN)も受信しており、信号の種類に応じて、エンコード動作を最適化することができる。エンコーダ201の後段には、シリアライザ202が配置されており、シリアルデータ信号DATA-S(E)を出力する。また、シリアライザ202は、高周波成分を増幅するプリエンファシス回路(増幅器)を備えていてもよい。 Encoder 201 is an 8b10b encoder that receives the 8-bit parallel data signal PATA-P (IN) output from the multiplexer MUX, encodes it into a 10-bit parallel data signal, and outputs it. This parallel data signal can also be processed as a parallel data signal that is N times the 10-bit parallel data signal. Encoder 201 also receives an identification signal FLAG-K (IN) that corresponds to a control code (K code) output from the symbol generation circuit SG, and can optimize the encoding operation according to the type of signal. Serializer 202 is disposed after encoder 201, and outputs serial data signal DATA-S (E). Serializer 202 may also include a pre-emphasis circuit (amplifier) that amplifies high-frequency components.
 同図に示す第1の受信装置RXは、図1に示した第1の受信装置に加えて、シンボル検出回路SD、デマルチプレクサDMUX、アンパッカーUP、及び、データイネーブル信号生成回路DEを備えている。 The first receiving device RX shown in the figure includes a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE in addition to the first receiving device shown in FIG. 1.
 受信装置RXのデシリアライザ1は、シリアルデータ信号DATA-D(E)を受信する。デシリアライザ1は、アダプティブ型イコライザを備えることができる。デシリアライザ1の後段には、特殊コード検出回路2、バイトアライメント回路3、デコーダ4が配置されている。これらの構造及び動作は、第1の受信装置(図1)に関して、説明した通りであるが、これらの回路から出力されるパラレルデータ信号は、10ビットのパラレルデータ信号のN倍のパラレルデータ信号とすることもできる。 The deserializer 1 of the receiving device RX receives the serial data signal DATA-D(E). The deserializer 1 may be equipped with an adaptive equalizer. The special code detection circuit 2, byte alignment circuit 3, and decoder 4 are arranged downstream of the deserializer 1. The structure and operation of these circuits are as explained for the first receiving device (Figure 1), but the parallel data signals output from these circuits can also be N times the 10-bit parallel data signal.
 デコーダ4の後段には、シンボル検出回路SDが配置されており、その後段に、データイネーブル信号生成回路DEが配置されている。また、デコーダ4の後段には、デマルチプレクサDMUXが配置されている。シンボル検出回路SDは、パラレルデータ信号DATA-P(OUT)と、識別用の信号FLAG-K(OUT)を受信する。シンボル検出回路SDは、受信した信号から、BS期間、BE期間、BP期間に対応する情報を検出し、検出された情報を含むシンボル検出信号を、デマルチプレクサDMUX及びデータイネーブル信号生成回路DEに入力する。 A symbol detection circuit SD is arranged after the decoder 4, and a data enable signal generation circuit DE is arranged after that. Also, a demultiplexer DMUX is arranged after the decoder 4. The symbol detection circuit SD receives a parallel data signal DATA-P (OUT) and an identification signal FLAG-K (OUT). The symbol detection circuit SD detects information corresponding to the BS period, BE period, and BP period from the received signal, and inputs a symbol detection signal containing the detected information to the demultiplexer DMUX and the data enable signal generation circuit DE.
 デマルチプレクサDMUXの後段には、アンパッカーUP(Un-packer)が配置されている。デマルチプレクサDMUXは、受信したパラレルデータ信号DATA-P(OUT)から、RGB毎の映像信号と、シンク信号を復元する機能を有する。シンク信号を復元するため、シンボル検出回路SDから出力されたシンボル検出信号の示す各期間(BS期間、BE期間、BP期間)に応じて、入力されたパラレルデータ信号の出力端子を切り替えることができる。各出力端子から、アクティブ期間、BS期間、BE期間、BP期間に対応して分離されたパラレルデータ信号は、アンパッカーUPに入力される。 The unpacker UP (Un-packer) is placed after the demultiplexer DMUX. The demultiplexer DMUX has the function of recovering the RGB video signals and the sync signal from the received parallel data signal DATA-P (OUT). To recover the sync signal, it can switch the output terminal of the input parallel data signal according to each period (BS period, BE period, BP period) indicated by the symbol detection signal output from the symbol detection circuit SD. The parallel data signals separated from each output terminal corresponding to the active period, BS period, BE period, and BP period are input to the unpacker UP.
 アンパッカーUPは、デマルチプレクサDEMUXから受信したパラレルデータ信号から、ピクセルクロック信号を生成し、ピクセルクロック信号を用いて、8バイトのパケット信号をアンパケット処理し、RGB毎の映像信号DATA-OUTと、シンク信号SYNC-OUTを再生して、出力する。 The unpacker UP generates a pixel clock signal from the parallel data signal received from the demultiplexer DEMUX, and uses the pixel clock signal to unpacketize the 8-byte packet signal, regenerating and outputting the RGB video signal DATA-OUT and the sync signal SYNC-OUT.
 データイネーブル信号生成回路DEは、シンボル検出回路SDから出力されたシンボル検出信号の示す各期間(BS期間、BE期間、BP期間)に応じて、データイネーブル信号DE-OUTを生成して出力する。なお、デコーダ4、デマルチプレクサDMUX、アンパッカーUPから出力されるパラレルデータ信号は、8ビットのパラレルデータ信号のN倍のパラレルデータ信号とすることもできる。 The data enable signal generation circuit DE generates and outputs a data enable signal DE-OUT according to each period (BS period, BE period, BP period) indicated by the symbol detection signal output from the symbol detection circuit SD. Note that the parallel data signals output from the decoder 4, demultiplexer DMUX, and unpacker UP can also be N-times the size of an 8-bit parallel data signal.
 図21は、改良した第2の受信装置を備えた送受信システムの回路構成を示す図である。 Figure 21 shows the circuit configuration of a transmission/reception system equipped with an improved second receiving device.
 同図に示す送信装置TXは、図20に示した送信装置と同一である。同図に示す第2の受信装置RXは、図10に示した第2の受信装置に、シンボル検出回路SD、デマルチプレクサDMUX、アンパッカーUP、及び、データイネーブル信号生成回路DEを加えた回路である。 The transmitting device TX shown in the figure is the same as the transmitting device shown in FIG. 20. The second receiving device RX shown in the figure is a circuit in which a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE are added to the second receiving device shown in FIG. 10.
 受信装置RXのデシリアライザ1は、シリアルデータ信号DATA-D(E)を受信する。デシリアライザ1は、アダプティブ型イコライザを備えることができる。デシリアライザ1の後段には、特殊コード検出回路2、バイトアライメント回路3、デコーダ4が配置されている。これらの構造及び動作は、第2の受信装置(図10)に関して、説明した通りである。デシリアライザ1、バイトアライメント回路3から出力されるパラレルデータ信号は、10ビットのパラレルデータ信号のN倍とすることもできる。デコーダ4から出力されるパラレルデータ信号は、8ビットのパラレルデータ信号のN倍とすることもできる。 The deserializer 1 of the receiving device RX receives the serial data signal DATA-D(E). The deserializer 1 may be equipped with an adaptive equalizer. The special code detection circuit 2, byte alignment circuit 3, and decoder 4 are arranged downstream of the deserializer 1. The structures and operations of these are as described for the second receiving device (Figure 10). The parallel data signal output from the deserializer 1 and byte alignment circuit 3 may be N times a 10-bit parallel data signal. The parallel data signal output from the decoder 4 may be N times an 8-bit parallel data signal.
 デコーダ4の後段には、シンボル検出回路SD、データイネーブル信号生成回路DE、デマルチプレクサDMUX、アンパッカーUPが配置されているが、これらの構造及び動作は、図20に示したものと同一である。 After the decoder 4, there are a symbol detection circuit SD, a data enable signal generation circuit DE, a demultiplexer DMUX, and an unpacker UP, whose structures and operations are the same as those shown in FIG. 20.
 図22は、改良した第3の受信装置を備えた送受信システムの回路構成を示す図である。 Figure 22 shows the circuit configuration of a transmission/reception system equipped with an improved third receiving device.
 同図に示す送信装置TXは、図20に示した送信装置と同一である。同図に示す第2の受信装置RXは、図17に示した第3の受信装置に、シンボル検出回路SD、デマルチプレクサDMUX、アンパッカーUP、及び、データイネーブル信号生成回路DEを加えた回路である。 The transmitting device TX shown in the figure is the same as the transmitting device shown in FIG. 20. The second receiving device RX shown in the figure is a circuit in which a symbol detection circuit SD, a demultiplexer DMUX, an unpacker UP, and a data enable signal generation circuit DE are added to the third receiving device shown in FIG. 17.
 受信装置RXのデシリアライザ1は、シリアルデータ信号DATA-D(E)を受信する。デシリアライザ1は、アダプティブ型イコライザを備えることができる。デシリアライザ1の後段には、特殊コード検出回路2、デコーダ4、バイトアライメント回路3が配置されている。これらの構造及び動作は、第3の受信装置(図17)に関して、説明した通りである。デコーダ4から出力されるパラレルデータ信号は、8×nビット(図19では、n=10)である。バイトアライメント回路3から出力されるパラレルデータ信号DATA-P(OUT)は、8ビットのパラレルデータ信号のN倍のパラレルデータ信号とすることもできる。 The deserializer 1 of the receiving device RX receives the serial data signal DATA-D (E). The deserializer 1 may be equipped with an adaptive equalizer. The special code detection circuit 2, the decoder 4, and the byte alignment circuit 3 are arranged downstream of the deserializer 1. The structure and operation of these are as explained for the third receiving device (FIG. 17). The parallel data signal output from the decoder 4 is 8×n bits (n=10 in FIG. 19). The parallel data signal DATA-P (OUT) output from the byte alignment circuit 3 may also be a parallel data signal that is N times the 8-bit parallel data signal.
 デコーダ4の後段には、シンボル検出回路SD、データイネーブル信号生成回路DE、デマルチプレクサDMUX、アンパッカーUPが配置されているが、これらの構造及び動作は、図20に示したものと同一である。 After the decoder 4, there are a symbol detection circuit SD, a data enable signal generation circuit DE, a demultiplexer DMUX, and an unpacker UP, whose structures and operations are the same as those shown in FIG. 20.
 以上、説明したように、上述の第1の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号DATA-P(E*)を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値DET-COMを出力する特殊コード検出回路2と、第1補正値DET-COM及び第2補正値θKが入力され、第1補正値及び第2補正値に応じて、データ信号のバイトアライメントを実行するバイトアライメント回路3と、バイトアライメント回路3の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路41と、データ列生成回路41から出力された複数のデータ列のうち、特定のデータ列をデコードして出力し、且つ、特定のデータ列のエラー判定をするデコーダ42(0)と、データ列生成回路41から出力された複数のデータ列のうち、特定のデータ列以外の残りのデータ列のそれぞれをエラー判定する複数のエラー検出器42E(1)~42E(9)と、デコーダ42(0)及び複数のエラー検出器42E(1)~42E(9)から出力された、エラー判定の結果を示す複数のエラー信号ERROR(0)~(9)が入力され、入力された複数のエラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値θKを生成する補正値生成回路43とを備える。 As explained above, the first receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in this data signal, a byte alignment circuit 3 that receives the first correction value DET-COM and the second correction value θK and performs byte alignment of the data signal according to the first correction value and the second correction value, a data string generation circuit 41 that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the byte alignment circuit 3, and a data string generation circuit 42 that generates a plurality of data strings having different delimiter positions in the data string from the output signal of the data string generation circuit 41. The data string generating circuit 41 includes a decoder 42(0) that decodes and outputs a specific data string from among the multiple data strings generated, and performs an error determination for the specific data string; multiple error detectors 42E(1)-42E(9) that perform an error determination for each of the remaining data strings other than the specific data string from among the multiple data strings output from the data string generating circuit 41; and a correction value generating circuit 43 that receives multiple error signals ERROR(0)-(9) indicating the results of the error determination output from the decoder 42(0) and the multiple error detectors 42E(1)-42E(9) and generates a second correction value θK including information on data strings without errors in response to the multiple error signals received.
 この受信装置においては、第1補正値DET-COMは、正常なタイミングを示す特殊コードの位置に対応しており、第1補正値DET-COMを受信した場合には、バイトアライメント回路3により、バイトアライメントを実行する。第2補正値θKは、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路43により生成された第2補正値に応じて、データ信号のバイトアライメントを実行する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。この受信装置は、補正値生成回路で生成された第2補正値を、前段のバイトアライメント回路に、フィードバックして制御を行うものであり、多くの回路を必要としないため、比較的小さな回路規模で実現することができる。 In this receiving device, the first correction value DET-COM corresponds to the position of the special code indicating normal timing, and when the first correction value DET-COM is received, the byte alignment circuit 3 performs byte alignment. The second correction value θK has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, byte alignment of the data signal is performed according to the second correction value generated by the correction value generation circuit 43. This allows for an early return to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. This receiving device controls by feeding back the second correction value generated by the correction value generation circuit to the byte alignment circuit in the previous stage, and does not require many circuits, so it can be realized with a relatively small circuit scale.
 第2の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号DATA-P(E*)を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値DET-COMを出力する特殊コード検出回路2と、特殊コード検出回路2から出力された第1補正値DET-COMに応じて、データ信号のバイトアライメントを実行するバイトアライメント回路3と、バイトアライメント回路3の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路41と、データ列生成回路41から出力された複数のデータ列を、それぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダ42(0)~42(9)と、複数のデコーダ42(0)~42(9)から出力された、エラー判定の結果を示す複数のエラー信号ERROR(0)~(9)が入力され、入力された複数のエラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値θK*を生成する補正値生成回路43Aと、複数のデコーダ42(0)~42(9)から出力された複数のデータ列の中から、第2補正値θK*に応じたデータ列を選択して出力する選択回路(44)と、を備える。 The second receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal, a byte alignment circuit 3 that performs byte alignment of the data signal according to the first correction value DET-COM output from the special code detection circuit 2, a data string generation circuit 41 that generates multiple data strings with different delimiter positions in the data string from the output signal of the byte alignment circuit 3, and a data string generation circuit 42 that generates a data string with different delimiter positions in the data string from the output signal of the data string generation circuit 41. The system includes a plurality of decoders 42(0)-42(9) that decode the plurality of data strings outputted from the plurality of decoders 42(0)-42(9) and perform an error determination for each of the plurality of data strings; a correction value generation circuit 43A that receives a plurality of error signals ERROR(0)-(9) that indicate the results of the error determination outputted from the plurality of decoders 42(0)-42(9) and generates a second correction value θK* that includes information on data strings that are free of errors in accordance with the plurality of error signals that have been inputted; and a selection circuit (44) that selects and outputs a data string that corresponds to the second correction value θK* from the plurality of data strings outputted from the plurality of decoders 42(0)-42(9).
 この受信装置においては、第1補正値DET-COMは、正常なタイミングを示す特殊コードの位置に対応しており、第1補正値DET-COMを受信した場合には、バイトアライメント回路3により、バイトアライメントを実行する。第2補正値θK*は、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路43Aにより生成された第2補正値θK*に応じて、選択回路44が、バイトアライメントズレの無いデータ列を選択して出力する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。また、この受信装置は、バイトアライメントズレからの早期復帰を既存技術からの単純変更で実現させることができる。 In this receiving device, the first correction value DET-COM corresponds to the position of the special code indicating normal timing, and when the first correction value DET-COM is received, the byte alignment circuit 3 performs byte alignment. The second correction value θK* has information on an error-free data string based on multiple error signals. If an error occurs before the reception of the special code due to external noise or the like, the selection circuit 44 selects and outputs a data string without byte alignment deviation according to the second correction value θK* generated by the correction value generation circuit 43A. This allows for early recovery to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. Furthermore, this receiving device can achieve early recovery from byte alignment deviation with a simple modification of existing technology.
 第2の受信装置では、予め、複数のデコーダを用意している。正常データ信号は、データ列を正常なブロックの位置で区切って出力されるデータ信号であり、エラーデータ信号は、データ列をエラーが生じるブロックの位置で区切って出力されるデータ信号であるとする。複数のデコーダからは、正常データ信号と、エラーデータ信号群が、出力可能な状態である。この受信装置は、第2補正値によって、正常データ信号を選択することで、データ信号のバイトアライメントを実行する。この受信装置においては、バイトアライメント回路への第2補正値のフィードバックを必要としないので、回路構造が単純になり、保守性、ロバスト性に優れることとなる。 In the second receiving device, multiple decoders are prepared in advance. A normal data signal is a data signal that is output by separating a data string at the position of a normal block, and an error data signal is a data signal that is output by separating a data string at the position of a block where an error occurs. Normal data signals and groups of error data signals can be output from the multiple decoders. This receiving device performs byte alignment of the data signal by selecting a normal data signal using the second correction value. Since this receiving device does not require feedback of the second correction value to the byte alignment circuit, the circuit structure is simple and has excellent maintainability and robustness.
 また、第2の受信装置において、バイトアライメント回路は、バイトアライメントの実行完了の通知信号DONEを出力し、補正値生成回路43に、通知信号DONEが入力された場合には、選択回路44は、デコーダの中の既定設定のデコーダからのデータ列を選択して出力している。第2補正値θK*に変更がない場合であっても、補正値生成回路43が、第1補正値DET-COMを受信することにより、選択回路44は、正しい区切りのデータ列を出力することができる。 In addition, in the second receiving device, the byte alignment circuit outputs a notification signal DONE indicating that byte alignment has been completed, and when the notification signal DONE is input to the correction value generation circuit 43, the selection circuit 44 selects and outputs a data string from the default decoder among the decoders. Even if there is no change in the second correction value θK*, the correction value generation circuit 43 receives the first correction value DET-COM, and the selection circuit 44 can output a correctly delimited data string.
 第3の受信装置は、シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号DATA-P(E*)を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値DET-COMを出力する特殊コード検出回路2と、データ信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路41と、データ列生成回路41から出力された複数のデータ列をそれぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダ42(0)~42(9)と、複数のデコーダ42(0)~42(9)から出力された、エラー判定の結果を示す複数のエラー信号ERROR(0)~(9)が入力され、入力された複数のエラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値θKを生成する補正値生成回路43Aと、複数のデコーダ42(0)~42(9)から出力された複数のデータ列DATA(0)~DATA(9)の中から、第1補正値DET-COM及び第2補正値θK*に応じたデータ列を選択して出力するバイトアライメント回路3とを備える。 The third receiving device includes a special code detection circuit 2 that receives a data signal DATA-P(E*) that includes a special code and is encoded using a symbol mapping method, and outputs a first correction value DET-COM that corresponds to the position of the special code included in the data signal; a data string generation circuit 41 that generates multiple data strings from the data signal, the data string having different delimiter positions; and multiple decoders 42(0) to 42(9) that decode each of the multiple data strings output from the data string generation circuit 41 and determine whether there is an error in each of the data strings. , a correction value generation circuit 43A receives a plurality of error signals ERROR(0)-(9) indicating the results of the error determination output from a plurality of decoders 42(0)-42(9) and generates a second correction value θK including information on a data string without errors according to the plurality of error signals input, and a byte alignment circuit 3 selects and outputs a data string corresponding to the first correction value DET-COM and the second correction value θK* from the plurality of data strings DATA(0)-DATA(9) output from the plurality of decoders 42(0)-42(9).
 この受信装置においては、第1補正値DET-COMは、正常なタイミングを示す特殊コードの位置に対応している。第2補正値θK*は、複数のエラー信号に基づいて、エラーの生じていないデータ列の情報を有している。バイトアライメント回路3は、複数のデコーダから出力された複数のデータ列の中から、第1補正値DET-COM及び第2補正値θK*に応じたデータ列を選択して出力する。外来ノイズ等により、特殊コードの受信前に、エラーが生じた場合には、補正値生成回路43Aにより生成された第2補正値θK*に応じて、バイトアライメント回路が、バイトアライメントズレの無いデータ列を選択して出力する。これにより、特殊コードの受信前であっても、正常なデータ信号に早期に復帰することができる。データ信号が、画像データ信号である場合は、画像の乱れを早期に解消することができる。この受信装置は、バイトアライメントズレからの早期復帰を単純構成にて実現することができる。 In this receiving device, the first correction value DET-COM corresponds to the position of the special code indicating normal timing. The second correction value θK* has information on a data string without errors based on multiple error signals. The byte alignment circuit 3 selects and outputs a data string corresponding to the first correction value DET-COM and the second correction value θK* from multiple data strings output from multiple decoders. If an error occurs before the reception of the special code due to external noise or the like, the byte alignment circuit selects and outputs a data string without byte alignment deviation according to the second correction value θK* generated by the correction value generation circuit 43A. This allows for early recovery to a normal data signal even before the reception of the special code. If the data signal is an image data signal, image distortion can be eliminated early. This receiving device can achieve early recovery from byte alignment deviation with a simple configuration.
 上述の受信装置は、送信装置から送信されたシリアルデータ信号DATA-Sを受信し、パラレルデータ信号に変換し、データ信号DATA-P(E*)として、特殊コード検出回路2に入力するデシリアライザ1を備えている。デシリアライザは、シリアルデータ信号をパラレルデータ信号に変換することができる。 The above-mentioned receiving device includes a deserializer 1 that receives a serial data signal DATA-S transmitted from a transmitting device, converts it into a parallel data signal, and inputs it as a data signal DATA-P (E*) to a special code detection circuit 2. The deserializer can convert a serial data signal into a parallel data signal.
 上述の受信装置においては、特殊コードのみに頼らず、伝送符号エラーも用いてバイトアライメントを行っている。シンボルマッピング方式の冗長な特性を活かし、受信側で伝送符号エラーを検知している。デシリアライズしたデータが、誤ったデータのブロックの場合、DCバランスやランレングスのルールから逸脱する可能性が高くなるので、バイトアライメントズレが発生した場合、エラーを検知することができる。伝送符号エラー検出器をコード長以上並べ、パラレル変換時に、取りうるすべてのパラレルデータのブロックを全て監視する事で、正しいデータの区切りを検出し、特殊コードの受信前に、再度バイトアライメントを行うことができる。 In the receiving device described above, byte alignment is performed not only by relying on special codes, but also by using transmission code errors. Taking advantage of the redundant characteristics of the symbol mapping method, transmission code errors are detected on the receiving side. If the deserialized data is a block of erroneous data, there is a high possibility that it will deviate from the DC balance and run length rules, so if a byte alignment shift occurs, it is possible to detect an error. By arranging transmission code error detectors for a length equal to or greater than the code length and monitoring all possible blocks of parallel data during parallel conversion, it is possible to detect the correct data delimiters and perform byte alignment again before receiving the special code.
 なお、上述の構成では、同時に観測するデータ列を10個用意したが、2個以上で検出する構成も可能である。上述の構成では、データ幅(コード長)が10ビットの場合、20ビットのデータ結合を行ってデータ列を生成したが、11ビット幅(コード長+同時に観測するデータ列-1)以上のデータ幅で検出を行うこともできる。エラー検出においては、1度のエラーが検出された場合に、エラー発生と判断してもよいが、数回のエラーが連続して発生した場合に、エラーが発生していると判断して、バイトアライメントを実行してもよい。また、上記では、エラーが無いとされたチャネルを特定したが、各チャネルの中で、エラーの発生頻度が一番少ないと判断されるチャネルを、エラーの発生が無いと判断してもよい。なお、上述の構成では、ビットシフトを前後の一方向にしか、第2補正値θK(又はθK*)による調整が出来ない。しかしながら、バイトアライメント回路の出力であるパラレルデータ信号DATA-Pをずらしたり、データ幅(コード長)が10ビットの場合、20ビットのデータ結合を行ってデータ列を生成していたのを、21ビット以上にしてやることで、第2補正値θK(又はθK*)によって、前後の双方向に、バイトアライメントの調整が可能になる。 In the above configuration, 10 data strings are observed simultaneously, but it is also possible to configure it so that detection is performed with two or more. In the above configuration, when the data width (code length) is 10 bits, 20-bit data is combined to generate a data string, but detection can also be performed with a data width of 11 bits or more (code length + data strings observed simultaneously -1). In error detection, if one error is detected, it may be determined that an error has occurred, but if several errors occur consecutively, it may be determined that an error has occurred and byte alignment may be performed. In the above, a channel that is determined to have no errors is specified, but the channel that is determined to have the least frequent errors among the channels may also be determined to have no errors. In the above configuration, the bit shift can only be adjusted in one direction, forward or backward, using the second correction value θK (or θK*). However, by shifting the parallel data signal DATA-P, which is the output of the byte alignment circuit, or by increasing the data width (code length) from 10 bits, which is generated by combining 20 bits of data, to 21 bits or more, it becomes possible to adjust the byte alignment in both directions using the second correction value θK (or θK*).
 また、第1の受信装置においては、8b10bデコーダの出力は固定なので、出力につながっていないデコーダはエラー検知部のみの構成が取れる。フィードバック回路があるが、第2受信装置と比較すると、比較的回路面積小さくすることができる。一方、第2の受信装置においては、8b10bデコーダの出力に選択回路を配置しており、バイトアライメントへのフィードバック回路を省略できるので、単純な構成となり、保守性、ロバスト性に優れることとなる。外来ノイズによる影響で発生した、バイトアライメントズレを特殊コード(コンマキャラクタ)を待たずに復帰させれるようになる。そのため、画素単位のノイズに抑えることができ、映像表示を改善することができ、特に、画像データ信号を自動車等の移動装置の表示装置に送信する場合には、運転者の利便性を向上させることができる。 In addition, in the first receiving device, the output of the 8b10b decoder is fixed, so the decoder that is not connected to the output can be configured with only an error detection unit. Although there is a feedback circuit, the circuit area can be made relatively small compared to the second receiving device. On the other hand, in the second receiving device, a selection circuit is placed at the output of the 8b10b decoder, and the feedback circuit to the byte alignment can be omitted, resulting in a simple configuration with excellent maintainability and robustness. Byte alignment deviation caused by external noise can be restored without waiting for a special code (comma character). Therefore, noise can be suppressed to pixel units, improving the image display, and especially when image data signals are transmitted to the display device of a mobile device such as an automobile, the convenience of the driver can be improved.
 1…デシリアライザ、2…特殊コード検出回路、3…バイトアライメント回路、4…デコーダ、21…データ列生成回路、22…特殊コード検出部、23…補正値生成回路、31…データ列生成回路、32…選択回路、41…データ列生成回路、42…8b10bデコーダ、42E…8b10bエラー検出器、43,43A…補正値生成回路、44…第1選択回路、45…第2選択回路、201…エンコーダ、202…シリアライザ、ERROR…エラー信号、RX…受信装置、TX…送信装置。

 
1...deserializer, 2...special code detection circuit, 3...byte alignment circuit, 4...decoder, 21...data string generation circuit, 22...special code detection unit, 23...correction value generation circuit, 31...data string generation circuit, 32...selection circuit, 41...data string generation circuit, 42...8b10b decoder, 42E...8b10b error detector, 43, 43A...correction value generation circuit, 44...first selection circuit, 45...second selection circuit, 201...encoder, 202...serializer, ERROR...error signal, RX...receiving device, TX...transmitting device.

Claims (7)

  1.  シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、
     前記第1補正値及び第2補正値が入力され、前記第1補正値及び前記第2補正値に応じて、前記データ信号のバイトアライメントを実行するバイトアライメント回路と、
     前記バイトアライメント回路の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、
     前記データ列生成回路から出力された複数のデータ列のうち、特定のデータ列をデコードして出力し、且つ、前記特定のデータ列のエラー判定をするデコーダと、
     前記データ列生成回路から出力された複数のデータ列のうち、前記特定のデータ列以外の残りのデータ列のそれぞれをエラー判定する複数のエラー検出器と、
     前記デコーダ及び複数の前記エラー検出器から出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数のエラー信号に応じて、エラーの生じていないデータ列の情報を含む前記第2補正値を生成する補正値生成回路と、
    を備える、
    ことを特徴とする受信装置。
    a special code detection circuit that receives a data signal that includes a special code and is encoded by a symbol mapping method, and outputs a first correction value that corresponds to the position of the special code included in the data signal;
    a byte alignment circuit that receives the first correction value and the second correction value and performs byte alignment of the data signal in accordance with the first correction value and the second correction value;
    a data string generating circuit that generates a plurality of data strings, each of which has a different delimiter position, from an output signal of the byte alignment circuit;
    a decoder that decodes and outputs a specific data string from among the multiple data strings output from the data string generation circuit, and that performs error determination on the specific data string;
    a plurality of error detectors for determining whether or not there is an error in each of the remaining data strings other than the specific data string among the plurality of data strings output from the data string generation circuit;
    a correction value generating circuit to which a plurality of error signals indicating the results of the error determination output from the decoder and the plurality of error detectors are input, and which generates the second correction value including information on a data string having no error in response to the input plurality of error signals;
    Equipped with
    A receiving device comprising:
  2.  シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、
     前記特殊コード検出回路から出力された前記第1補正値に応じて、前記データ信号のバイトアライメントを実行するバイトアライメント回路と、
     前記バイトアライメント回路の出力信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、
     前記データ列生成回路から出力された複数のデータ列を、それぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダと、
     複数の前記デコーダから出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数の前記エラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値を生成する補正値生成回路と、
     複数の前記デコーダから出力された複数のデータ列の中から、前記第2補正値に応じたデータ列を選択して出力する選択回路と、
    を備える、
    ことを特徴とする受信装置。
    a special code detection circuit that receives a data signal that includes a special code and is encoded by a symbol mapping method, and outputs a first correction value that corresponds to the position of the special code included in the data signal;
    a byte alignment circuit that performs byte alignment of the data signal in response to the first correction value output from the special code detection circuit;
    a data string generating circuit that generates a plurality of data strings, each of which has a different delimiter position, from an output signal of the byte alignment circuit;
    a plurality of decoders for decoding the plurality of data strings output from the data string generating circuit and for determining whether there is an error in each of the data strings;
    a correction value generating circuit which receives a plurality of error signals indicating the results of the error determination output from the plurality of decoders, and generates a second correction value including information on a data string having no error in response to the plurality of error signals;
    a selection circuit that selects and outputs a data sequence corresponding to the second correction value from among a plurality of data sequences output from a plurality of the decoders;
    Equipped with
    A receiving device comprising:
  3.  シンボルマッピング方式でエンコードされた、特殊コードを含むデータ信号を受信し、このデータ信号に含まれる特殊コードの位置に対応する第1補正値を出力する特殊コード検出回路と、
     前記データ信号から、そのデータ列における区切り位置が異なる、複数のデータ列を生成するデータ列生成回路と、
     前記データ列生成回路から出力された複数のデータ列をそれぞれデコードし、且つ、それぞれをエラー判定する複数のデコーダと、
     複数の前記デコーダから出力された、前記エラー判定の結果を示す複数のエラー信号が入力され、入力された複数の前記エラー信号に応じて、エラーの生じていないデータ列の情報を含む第2補正値を生成する補正値生成回路と、
     複数の前記デコーダから出力された複数のデータ列の中から、前記第1補正値及び前記第2補正値に応じたデータ列を選択して出力するバイトアライメント回路と、
    を備える、
    ことを特徴とする受信装置。
    a special code detection circuit that receives a data signal that includes a special code and is encoded by a symbol mapping method, and outputs a first correction value that corresponds to the position of the special code included in the data signal;
    a data string generating circuit for generating a plurality of data strings, each of which has a different delimiter position, from the data signal;
    a plurality of decoders each for decoding the plurality of data strings output from the data string generating circuit and for determining whether there is an error in each of the data strings;
    a correction value generating circuit which receives a plurality of error signals indicating the results of the error determination output from the plurality of decoders, and generates a second correction value including information on a data string having no error in response to the plurality of error signals;
    a byte alignment circuit that selects and outputs a data string corresponding to the first correction value and the second correction value from among a plurality of data strings output from a plurality of the decoders;
    Equipped with
    A receiving device comprising:
  4.  送信装置から送信されたシリアルデータ信号を受信し、パラレルデータ信号に変換し、前記データ信号として、前記特殊コード検出回路に入力するデシリアライザを更に備える、
    ことを特徴とする請求項1に記載の受信装置。
    a deserializer that receives a serial data signal transmitted from a transmitting device, converts the serial data signal into a parallel data signal, and inputs the parallel data signal to the special code detection circuit as the data signal;
    2. The receiving device according to claim 1 .
  5.  送信装置から送信されたシリアルデータ信号を受信し、パラレルデータ信号に変換し、前記データ信号として、前記特殊コード検出回路に入力するデシリアライザを更に備える、
    ことを特徴とする請求項2に記載の受信装置。
    a deserializer that receives a serial data signal transmitted from a transmitting device, converts the serial data signal into a parallel data signal, and inputs the parallel data signal to the special code detection circuit as the data signal;
    3. The receiving device according to claim 2.
  6.  送信装置から送信されたシリアルデータ信号を受信し、パラレルデータ信号に変換し、前記データ信号として、前記特殊コード検出回路に入力するデシリアライザを更に備える、
    ことを特徴とする請求項3に記載の受信装置。
    a deserializer that receives a serial data signal transmitted from a transmitting device, converts the serial data signal into a parallel data signal, and inputs the parallel data signal to the special code detection circuit as the data signal;
    4. The receiving device according to claim 3.
  7.  前記バイトアライメント回路は、
     バイトアライメントの実行完了の通知信号を出力し、
     前記補正値生成回路に、前記通知信号が入力された場合には、
     前記選択回路は、前記デコーダの中の既定設定のデコーダからのデータ列を選択して出力する、
    ことを特徴とする請求項2に記載の受信装置。

     
    The byte alignment circuit includes:
    A notification signal is output to notify completion of byte alignment.
    When the notification signal is input to the correction value generating circuit,
    The selection circuit selects and outputs a data string from a decoder having a default setting among the decoders.
    3. The receiving device according to claim 2.

PCT/JP2023/037287 2022-10-31 2023-10-13 Reception device WO2024095739A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2022174790A JP2024065771A (en) 2022-10-31 2022-10-31 Receiving device
JP2022-174790 2022-10-31

Publications (1)

Publication Number Publication Date
WO2024095739A1 true WO2024095739A1 (en) 2024-05-10

Family

ID=90930242

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2023/037287 WO2024095739A1 (en) 2022-10-31 2023-10-13 Reception device

Country Status (2)

Country Link
JP (1) JP2024065771A (en)
WO (1) WO2024095739A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06252874A (en) * 1993-03-01 1994-09-09 Nec Corp Word synchronization detection circuit
JP2015144392A (en) * 2014-01-31 2015-08-06 ローム株式会社 Serial data transmitter circuit and receiver circuit, transmission system using the same, electronic equipment, and serial data transmission method
JP2021170693A (en) * 2018-06-29 2021-10-28 ソニーセミコンダクタソリューションズ株式会社 Receiving device and receiving method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06252874A (en) * 1993-03-01 1994-09-09 Nec Corp Word synchronization detection circuit
JP2015144392A (en) * 2014-01-31 2015-08-06 ローム株式会社 Serial data transmitter circuit and receiver circuit, transmission system using the same, electronic equipment, and serial data transmission method
JP2021170693A (en) * 2018-06-29 2021-10-28 ソニーセミコンダクタソリューションズ株式会社 Receiving device and receiving method

Also Published As

Publication number Publication date
JP2024065771A (en) 2024-05-15

Similar Documents

Publication Publication Date Title
US8990653B2 (en) Apparatus and method for transmitting and recovering encoded data streams across multiple physical medium attachments
US7340655B2 (en) Skew adjustment circuit, skew adjustment method, data synchronization circuit, and data synchronization method
KR100568950B1 (en) Method and system for reducing inter-symbol interference effects in transmission over a serial link with mapping of each word in a cluster of received words to a single transmitted word
US7146051B2 (en) Apparatus for and method of transmitting optical signal of graphic signal
JP4783245B2 (en) Transceiver, transmitter, and receiver
US8000350B2 (en) Reducing bandwidth of a data stream transmitted via a digital multimedia link without losing data
US8259760B2 (en) Apparatus and method for transmitting and recovering multi-lane encoded data streams using a reduced number of lanes
EP1379002B1 (en) Multiplexed transmission of video data and error protected coded audio data
JP5125550B2 (en) Communications system
US20070168835A1 (en) Serial communications system and method
US7102629B2 (en) System and method for digital video signal transmission
US7889763B2 (en) Data transmission apparatus and data transmission method
US6578153B1 (en) System and method for communications link calibration using a training packet
US4876686A (en) Fault detection signal transmission system
KR102223031B1 (en) Differential signal processing device using for advanced braid clock signaling
US6819683B2 (en) Communications system and associated deskewing and word framing methods
WO2024095739A1 (en) Reception device
US20080013634A1 (en) Apparatus and method for high-speed interfacing between integrated circuits
US6895542B2 (en) Data recovery circuit and method and data receiving system using the same
US7426251B1 (en) High speed transceiver operable to receive lower data rate transmissions
US20230128574A1 (en) Method for data transmission
JPH0556025A (en) Transmission line code processing system
JPH0595566A (en) Digital signal transmitter
KR20000040531A (en) High-speed physical chip system for ieee 1394 serial bus interface and method transmitting and receiving data of the same
JPH01213043A (en) System for multiplexing and transmitting high-speed data

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23885501

Country of ref document: EP

Kind code of ref document: A1