WO2018225534A1 - 受信装置、送信装置、制御方法、プログラム、および送受信システム - Google Patents
受信装置、送信装置、制御方法、プログラム、および送受信システム Download PDFInfo
- Publication number
- WO2018225534A1 WO2018225534A1 PCT/JP2018/020116 JP2018020116W WO2018225534A1 WO 2018225534 A1 WO2018225534 A1 WO 2018225534A1 JP 2018020116 W JP2018020116 W JP 2018020116W WO 2018225534 A1 WO2018225534 A1 WO 2018225534A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- unit
- transmission
- packet
- reception
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/242—Synchronization processes, e.g. processing of PCR [Program Clock References]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/50—Constructional details
- H04N23/555—Constructional details for picking-up images in sites, inaccessible due to their dimensions or hazardous conditions, e.g. endoscopes or borescopes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L25/00—Baseband systems
- H04L25/38—Synchronous or start-stop systems, e.g. for Baudot code
- H04L25/40—Transmitting circuits; Receiving circuits
- H04L25/49—Transmitting 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
- H04L25/4906—Transmitting 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 using binary codes
- H04L25/4908—Transmitting 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 using binary codes using mBnB codes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0008—Synchronisation information channels, e.g. clock distribution lines
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/0016—Arrangements for synchronising receiver with transmitter correction of synchronization errors
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
- H04L7/04—Speed or phase control by synchronisation signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23605—Creation or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/434—Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
- H04N21/4343—Extraction or processing of packetized elementary streams [PES]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/57—Mechanical or electrical details of cameras or camera modules specially adapted for being embedded in other devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/665—Control of cameras or camera modules involving internal camera communication with the image sensor, e.g. synchronising or multiplexing SSIS control signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/667—Camera operation mode switching, e.g. between still and video, sport and normal or high- and low-resolution modes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/45—Cameras or camera modules comprising electronic image sensors; Control thereof for generating image signals from two or more image sensors being of different type or operating in different modes, e.g. with a CMOS sensor for moving images in combination with a charge-coupled device [CCD] for still images
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/56—Cameras or camera modules comprising electronic image sensors; Control thereof provided with illuminating means
Definitions
- the present technology relates to a reception device, a transmission device, a control method, a program, and a transmission / reception system, and in particular, corrects a data timing shift between communication links when data transmission is performed using a plurality of communication links.
- the present invention relates to a receiving device, a transmitting device, a control method, a program, and a transmission / reception system.
- Patent Document 1 describes a transmission method in which packets storing image data are distributed to a plurality of lanes, and data is transmitted from the image sensor to the DSP via the plurality of lanes.
- image data constituting each line of one frame is stored in each packet in the image sensor and transmitted to the DSP.
- Patent Document 1 also describes that a plurality of pairs of transmission units on the image sensor side and reception units on the DSP side are provided, and data transmission is performed between the respective transmission / reception units.
- one communication link is configured by one transmission unit on the image sensor side and one reception unit on the DSP side, when a plurality of pairs of transmission units and reception units are provided, a plurality of communication links are used. Data transmission is performed.
- the present technology has been made in view of such a situation, and in a case where data transmission is performed using a plurality of communication links, it is possible to correct a timing difference of data between the communication links. Is.
- the receiving device performs a first process of receiving a data stream having the same data structure transmitted in parallel using a plurality of lanes from each of a plurality of transmitting units included in the transmitting device.
- a plurality of receiving units that perform processing of a second layer as processing of a second layer, integrate the received data stream into a single system of data, and acquire a packet constituting the data stream
- a control unit that corrects a timing shift of the corresponding data between communication links realized by each of a set of a unit and one receiving unit.
- the transmission device performs processing including generation of a packet storing data to be transmitted and processing of distributing the generated packet to a plurality of lanes as processing of the first layer, A plurality of processes for transmitting a data stream having the same data structure including the distributed packets to a receiving apparatus having a plurality of receiving units in parallel using a plurality of the lanes as a second layer process And a control unit that corrects a timing shift of corresponding data between communication links realized by each of a pair of the one transmission unit and one reception unit.
- the first layer is a process of receiving a data stream having the same data structure transmitted in parallel using a plurality of lanes from each of a plurality of transmission units included in the transmission device.
- the second layer process which is a process of integrating the received data stream into a single system of data and acquiring packets constituting the data stream, is performed in a plurality of receiving units. A shift in the timing of the corresponding data between the communication links realized by each of the pair of the transmitting unit and one receiving unit is corrected.
- distribution of the first layer which is processing including generation of a packet storing data to be transmitted, and processing of distributing the generated packet to a plurality of lanes
- the second layer process which is a process of transmitting a data stream having the same data structure including the packet to a receiving apparatus having a plurality of receiving units in parallel using the plurality of lanes, A shift in the timing of the corresponding data between the communication links realized by each of the pair of one transmission unit and one reception unit, which is performed in the transmission unit, is corrected.
- FIG. 57 is a diagram illustrating a configuration example of a transmission-side LSI and a reception-side LSI in FIG. 56.
- FIG. 61 is a block diagram illustrating an example of a functional configuration of a camera head and a CCU illustrated in FIG. 60.
- FIG. 1 is a diagram illustrating a first configuration example of a transmission system according to an embodiment of the present technology.
- the transmission system 1 in FIG. 1 includes an image sensor 11 and a DSP 12.
- the image sensor 11 and the DSP 12 are configured by different LSIs (Large Scale Integrated Circuit), and are provided in the same imaging apparatus having an imaging function such as a digital camera or a mobile phone.
- the image sensor 11 is provided with an imaging unit 21 and one transmission unit 22, and the DSP 12 is provided with one reception unit 31 and an image processing unit 32.
- the image pickup unit 21 of the image sensor 11 includes an image pickup device such as a CMOS (Complementary Metal Metal Oxide Semiconductor), and performs photoelectric conversion of light received through the lens.
- the imaging unit 21 performs A / D conversion of a signal obtained by photoelectric conversion, and outputs pixel data constituting one frame image to the transmission unit 22 in order of pixel data.
- CMOS Complementary Metal Metal Oxide Semiconductor
- the transmission unit 22 assigns the data of each pixel supplied from the imaging unit 21 to a plurality of transmission paths in the order supplied from the imaging unit 21, for example, and transmits the data to the DSP 12 in parallel via the plurality of transmission paths.
- pixel data is transmitted using eight transmission paths.
- the transmission path between the image sensor 11 and the DSP 12 may be a wired transmission path or a wireless transmission path.
- the transmission path between the image sensor 11 and the DSP 12 is appropriately referred to as a lane.
- the reception unit 31 of the DSP 12 receives the pixel data transmitted from the transmission unit 22 via eight lanes, and outputs the data of each pixel to the image processing unit 32 in order.
- the image processing unit 32 generates an image of one frame based on the pixel data supplied from the receiving unit 31, and performs various types of image processing using the generated image.
- the image data transmitted from the image sensor 11 to the DSP 12 is RAW data, and the image processing unit 32 performs various processes such as image data compression, image display, and image data recording on a recording medium.
- FIG. 2 is a diagram illustrating a second configuration example of the transmission system 1. Of the configurations shown in FIG. 2, the same configurations as those shown in FIG. The overlapping description will be omitted as appropriate.
- the image sensor 11 of the transmission system 1 in FIG. 2 includes an imaging unit 21 and two transmission units 22-1 and 22-2 that are two transmission units, and the DSP 12 includes a reception unit 31 that is two reception units. -1, 31-2, and an image processing unit 32 are provided.
- the imaging unit 21 outputs pixel data constituting one frame image obtained by imaging in parallel to the transmission unit 22-1 and the transmission unit 22-2 for each pixel data. For example, the imaging unit 21 outputs pixel data of odd lines to the transmission unit 22-1 and outputs pixel data of even lines to the transmission unit 22-2.
- the transmission unit 22-1 assigns the data of each pixel supplied from the imaging unit 21 to a plurality of lanes in the order supplied from the imaging unit 21, for example, and transmits the data to the DSP 12 in parallel via the plurality of lanes.
- the transmission unit 22-2 assigns the data of each pixel supplied from the imaging unit 21 to a plurality of lanes in the order supplied from the imaging unit 21, for example, and transmits the data to the DSP 12 in parallel via the plurality of lanes.
- the image sensor 11 and the DSP 12 are connected via eight lanes.
- the transmission unit 22-1 and the transmission unit 22-2 each transmit pixel data using four lanes.
- the reception unit 31-1 of the DSP 12 receives the pixel data transmitted from the transmission unit 22-1 via the four lanes, and outputs the data of each pixel to the image processing unit 32 in order.
- the reception unit 31-2 receives the pixel data transmitted from the transmission unit 22-2 via the four lanes, and sequentially outputs the data of each pixel to the image processing unit 32.
- the image processing unit 32 generates an image of one frame based on the pixel data supplied from the receiving unit 31-1 and the pixel data supplied from the receiving unit 31-2, and performs various image processing using the generated image. I do.
- the image sensor 11 is provided with two transmission units, and the two reception units are provided in the DSP 12 so as to correspond thereto, so that even if the pixel data output from the imaging unit 21 is high, Data can be transmitted to the DSP 12.
- FIG. 3 is a diagram illustrating a third configuration example of the transmission system 1. Of the configurations shown in FIG. 3, the same configurations as those shown in FIG. The overlapping description will be omitted as appropriate.
- the image sensor 11-1 is provided with an imaging unit 21-1 and a transmission unit 22-1 as one transmission unit
- the image sensor 11-2 is provided with an imaging unit 21-2 and a transmission unit 22 as one transmission unit.
- the DSP 12 is provided with two receiving units 31-1, 31-2 and an image processing unit 32.
- the imaging unit 21-1 of the image sensor 11-1 outputs pixel data constituting an image of one frame obtained by performing imaging to the transmission unit 22-1 in order of pixel data.
- the transmission unit 22-1 assigns the data of each pixel supplied from the imaging unit 21-1 to a plurality of lanes in the order supplied from the imaging unit 21-1, for example, and transmits the data to the DSP 12 in parallel via the plurality of lanes. To do.
- the imaging unit 21-2 of the image sensor 11-2 outputs pixel data constituting an image of one frame obtained by imaging to the transmission unit 22-2 in order of data of one pixel.
- the transmission unit 22-2 assigns the data of each pixel supplied from the imaging unit 21-2 to a plurality of lanes in the order supplied from the imaging unit 21-2, for example, and transmits the data to the DSP 12 in parallel via the plurality of lanes. To do.
- the image sensor side and the DSP 12 are connected via eight lanes.
- Four lanes are allocated to each of the image sensor 11-1 and the image sensor 11-2, and the transmission unit 22-1 and the transmission unit 22-2 each transmit pixel data using the four lanes.
- the reception unit 31-1 of the DSP 12 receives the pixel data transmitted from the transmission unit 22-1 of the image sensor 11-1 via the four lanes, and outputs the data of each pixel to the image processing unit 32 in order. To do.
- the reception unit 31-2 receives pixel data transmitted from the transmission unit 22-2 of the image sensor 11-2 via four lanes, and outputs the data of each pixel to the image processing unit 32 in order. To do.
- the image processing unit 32 generates one frame image based on the pixel data supplied from the receiving unit 31-1, and generates one frame image based on the pixel data supplied from the receiving unit 31-2. .
- the image processing unit 32 performs various types of image processing using the generated image.
- a 3D image composed of an image for the left eye taken by the image sensor 11-1 and an image for the right eye taken by the image sensor 11-2 can be obtained. It is possible to process with one DSP 12. There is a parallax between the image for the left eye and the image for the right eye.
- the image sensor of the transmission system 1 is provided with one or a plurality of transmission units that transmit one frame of captured image data.
- the DSP is provided with one or more receiving units that receive data transmitted from the image sensor, corresponding to the transmitting unit of the image sensor.
- FIG. 4 is a diagram showing an example of a format used for transmitting one frame of image data between the image sensor 11 and the DSP 12.
- the effective pixel area A1 is an effective pixel area of an image of one frame imaged by the imaging unit 21.
- a margin area A2 is set in which the number of pixels in the vertical direction is the same as the number of pixels in the vertical direction of the effective pixel area A1.
- Embedded Data is inserted in the previous dummy area A3.
- Embedded Data includes information on setting values related to imaging by the imaging unit 21 such as shutter speed, aperture value, and gain.
- Embedded Data may be inserted into the rear dummy area A4.
- a dummy area A4 is set in which the number of pixels in the horizontal direction is the same as the number of pixels in the horizontal direction of the entire effective pixel area A1 and margin area A2.
- the effective pixel area A1, the margin area A2, the front dummy area A3, and the rear dummy area A4 constitute an image data area A11.
- a header is added before each line constituting the image data area A11, and Start Code is added before the header.
- a footer is optionally added after each line constituting the image data area A11, and a control code to be described later such as End Code is added after the footer.
- a control code such as End Code is added after each line constituting the image data area A11.
- the upper band in FIG. 4 shows the structure of the packet used for transmission of the transmission data shown on the lower side. If the arrangement of pixels in the horizontal direction is a line, the data of the pixels constituting one line of the image data area A11 is stored in the payload of the packet. The transmission of the entire image data of one frame is performed using a number of packets equal to or larger than the number of pixels in the vertical direction of the image data area A11.
- One packet is configured by adding a header and footer to the payload storing pixel data for one line.
- the header includes additional information of pixel data stored in the payload, such as Frame Start, Frame End, Line Valid, Line Number, and ECC.
- FIG. 5 is a diagram illustrating a configuration example of the transmission unit 22 and the reception unit 31.
- the configuration surrounded by a broken line on the left side of FIG. 5 is the configuration of the transmission unit 22, and the configuration surrounded by a broken line on the right side is the configuration of the reception unit 31.
- the transmission unit 22 and the reception unit 31 each have a link layer configuration and a physical layer configuration.
- the configuration shown above the solid line L2 is the link layer configuration, and the configuration shown below the solid line L2 is the physical layer configuration.
- the configuration shown above the solid line L1 is the configuration of the application layer.
- the system control unit 51, the frame data input unit 52, and the register 53 are realized in the imaging unit 21.
- the system control unit 51 communicates with the LINK-TX protocol management unit 61 of the transmission unit 22 to control transmission of image data by providing information related to the frame format.
- the frame data input unit 52 performs imaging in accordance with an instruction from the user, and supplies data of each pixel constituting an image obtained by performing imaging to the Pixel toByte conversion unit 62 of the transmission unit 22.
- the register 53 stores information such as the number of bits of Pixel to Byte conversion and the number of Lanes. Image data transmission processing is performed according to the information stored in the register 53.
- the frame data output unit 141, the register 142, and the system control unit 143 in the configuration of the application layer are realized in the image processing unit 32.
- the frame data output unit 141 generates and outputs an image of one frame based on the pixel data of each line supplied from the receiving unit 31. Various processes are performed using the image output from the frame data output unit 141.
- the register 142 stores various setting values related to reception of image data, such as the number of bits of Byte-to-Pixel conversion and the number of Lanes. Image data reception processing is performed in accordance with the information stored in the register 142.
- the system control unit 143 communicates with the LINK-RX protocol management unit 121 and controls a sequence such as a mode change.
- the transmission unit 22 includes a LINK-TX protocol management unit 61, a PixelPByte conversion unit 62, a payload ECC insertion unit 63, a packet generation unit 64, and a lane distribution unit 65 as a link layer configuration.
- the LINK-TX protocol management unit 61 includes a state control unit 71, a header generation unit 72, a data insertion unit 73, and a footer generation unit 74.
- the state control unit 71 of the LINK-TX protocol management unit 61 manages the state of the link layer of the transmission unit 22.
- the header generation unit 72 generates a header to be added to the payload in which the pixel data for one line is stored, and outputs the header to the packet generation unit 64.
- FIG. 6 is a diagram illustrating a structure of a header generated by the header generation unit 72.
- one whole packet is composed of a header and payload data which is pixel data for one line.
- a footer may be added to the packet.
- the header is composed of header information and Header ECC.
- the header information includes Frame Start, Frame End, Line Valid, Line Number, and Reserved. The contents and amount of information are shown in FIG.
- Frame Start is 1-bit information indicating the beginning of the frame.
- a value of 1 is set in Frame Start of the header of the packet used for transmitting the pixel data of the first line in the image data area A11 of FIG. 4, and the frame of the header of the packet used for transmitting the pixel data of the other line
- a value of 0 is set in Start.
- Frame End is 1-bit information indicating the end of the frame.
- a value of 1 is set in Frame End of the header of the packet including the pixel data of the termination line of the effective pixel area A1 in the payload, and 0 in the Frame End of the header of the packet used for transmission of the pixel data of other lines. Value is set.
- Frame Start and Frame End are frame information that is information about the frame.
- Line Valid is 1-bit information indicating whether or not the pixel data line stored in the payload is a valid pixel line.
- a value of 1 is set to Line Valid in the header of a packet used for transmission of pixel data of a line in the effective pixel area A1, and 0 is set to Line Valid of a header of a packet used for transmission of pixel data of another line. The value of is set.
- Line Number is 13-bit information indicating the line number of a line composed of pixel data stored in the payload.
- Line Valid and Line Number are line information that is information about the line.
- Reserved is a 32-bit area for expansion.
- the data amount of the entire header information is 6 bytes.
- the Header ECC that is arranged following the header information includes a CRC (Cyclic Redundancy Check) code that is a 2-byte error detection code calculated based on the 6-byte header information. Further, the Header-ECC includes two pieces of the same information as the 8-byte information, which is a set of header information and CRC code, following the CRC code.
- CRC Cyclic Redundancy Check
- the header of one packet includes three sets of the same header information and CRC code.
- the total data amount of the header is 8 bytes of the first set of header information and CRC code, 8 bytes of the second set of header information and CRC code, and the third set of header information and CRC code. This is a total of 24 bytes.
- FIG. 8 is a diagram showing an example of an 8-byte bit array constituting one set of header information and CRC code.
- byte H7 which is the first 1 byte among the 8 bytes constituting the header, each bit of Frame ⁇ ⁇ ⁇ Start, Frame End, Line Valid, and 1 of 13 bits of Line Number, in order from the first bit.
- the fifth bit is included.
- the second 1-byte byte H6 includes the 6th to 13th bits of the 13 bits of Line Number.
- Byte 6 that is the 6th 1 byte is reserved from byte H5 that is the 3rd 1 byte.
- Each bit of the CRC code is included in a byte H1 which is the seventh one byte and a byte H0 which is the eighth one byte.
- the header generation unit 72 generates header information in accordance with control by the system control unit 51. For example, information indicating the line number of the pixel data output from the frame data input unit 52 and information indicating the beginning and end of the frame are supplied from the system control unit 51.
- the header generation unit 72 calculates the CRC code by applying the header information to the generator polynomial.
- a CRC code generating polynomial added to the header information is expressed by, for example, the following expression (1).
- the header generation unit 72 generates a header information and a CRC code pair by adding a CRC code to the header information, and generates a header by repeatedly arranging three sets of the same header information and CRC code.
- the header generation unit 72 outputs the generated header to the packet generation unit 64.
- the data insertion unit 73 generates data used for stuffing and outputs the data to the Pixel toByte conversion unit 62 and the lane distribution unit 65.
- Payload stuffing data which is stuffing data supplied to the Pixel-to-Byte conversion unit 62, is added to the pixel data after Pixel-to-Byte conversion, and is used to adjust the data amount of the pixel data stored in the payload.
- the lane stuffing data which is the stuffing data supplied to the lane distribution unit 65, is added to the data after the lane allocation, and is used for adjusting the data amount between the lanes.
- the footer generation unit 74 appropriately calculates the 32-bit CRC code by applying the payload data to the generation polynomial according to the control by the system control unit 51, and uses the calculated CRC code as the footer to the packet generation unit 64. Output.
- a CRC code generator polynomial added as a footer is expressed by the following equation (2), for example.
- the Pixel-to-Byte conversion unit 62 acquires the pixel data supplied from the frame data input unit 52, and performs Pixel-to-Byte conversion that converts the data of each pixel into data in units of 1 byte.
- the pixel value (RGB) of each pixel of the image captured by the imaging unit 21 is represented by any number of bits of 8 bits, 10 bits, 12 bits, 14 bits, and 16 bits.
- FIG. 9 is a diagram illustrating an example of Pixel to Byte conversion when the pixel value of each pixel is represented by 8 bits.
- Data [0] represents LSB
- Data [7] having the largest number represents MSB.
- 8 bits of Data [7] to [0] representing the pixel value of the pixel N are converted to Byte N composed of Data [7] to [0].
- the pixel value of each pixel is represented by 8 bits, the number of data in byte units after Pixel to Byte conversion is the same as the number of pixels.
- FIG. 10 is a diagram illustrating an example of Pixel to Byte conversion when the pixel value of each pixel is represented by 10 bits.
- FIG. 11 is a diagram illustrating an example of Pixel to Byte conversion in a case where the pixel value of each pixel is represented by 12 bits.
- FIG. 12 is a diagram illustrating an example of Pixel to Byte conversion when the pixel value of each pixel is represented by 14 bits.
- bits of Data [13] to [0] representing each pixel value are Byte 1.75 * N + 1 to Byte consisting of Data [13] to [6] Converted to 1.75 * N + 3.
- the remaining bits of the bits of pixels N to N + 3 are collected in order from the lower bits, and for example, the bits of data N [5] to [0] and the bits of pixel N + 1 Data [5], [4] is converted to Byte 1.75 * N + 4.
- FIG. 13 is a diagram illustrating an example of Pixel to Byte conversion in a case where the pixel value of each pixel is represented by 16 bits.
- 16 bits of Data [15] to [0] representing the pixel value of pixel N are Byte 2 * N consisting of Data [15] to [8] and Byte 2 consisting of Data [7] to [0] * N + 1 converted.
- the pixel value of each pixel is expressed by 16 bits, the number of data in byte units after Pixel to Byte conversion is twice the number of pixels.
- the Pixel to Byte conversion unit 62 in FIG. 5 performs such Pixel to Byte conversion on each pixel in order from the pixel on the left end of the line, for example. Further, the Pixel to Byte conversion unit 62 generates payload data by adding the payload stuffing data supplied from the data insertion unit 73 to the pixel data in units of bytes obtained by the Pixel to Byte conversion, and inserts the payload ECC. To the unit 63.
- FIG. 14 is a diagram showing an example of payload data.
- FIG. 14 shows payload data including pixel data obtained by Pixel Byte conversion when the pixel value of each pixel is represented by 10 bits.
- One block that is not colored represents pixel data in units of bytes after Pixel-to-Byte conversion. Also, one colored block represents payload stuffing data generated by the data insertion unit 73.
- Pixel data after Pixel toByte conversion is grouped into a predetermined number of groups in the order obtained by the conversion.
- each pixel data is grouped into 16 groups of groups 0 to 15, pixel data including the MSB of pixel P0 is assigned to group 0, and pixel data including the MSB of pixel P1 is grouped. Assigned to 1. Further, pixel data including the MSB of the pixel P2 is allocated to the group 2, pixel data including the MSB of the pixel P3 is allocated to the group 3, and pixel data including the LSB of the pixels P0 to P3 is allocated to the group 4. .
- Pixel data after pixel data including the MSB of pixel P4 is also assigned to each group after group 5.
- the subsequent pixel data is assigned to each group after group 0 in order.
- the blocks representing pixel data the blocks with three broken lines inside represent pixel data in byte units generated so as to include the LSBs of pixels N to N + 3 during Pixel to Byte conversion. To express.
- one line of pixel data is included in the payload of one packet.
- the entire pixel data shown in FIG. 14 is pixel data constituting one line.
- the processing of the pixel data in the effective pixel area A1 in FIG. 4 has been described.
- the pixel data in another area such as the margin area A2 is also processed together with the pixel data in the effective pixel area A1.
- payload stuffing data is added so that each group has the same data length.
- the payload stuffing data is 1-byte data.
- payload stuffing data is not added to the pixel data of group 0, and as shown by the dotted lines, each pixel data of groups 1 to 15 has one payload stuffing data at the end. It has been added.
- the data length (Byte) of payload data composed of pixel data and stuffing data is expressed by the following equation (3).
- LineLength represents the number of pixels in the line
- BitPix represents the number of bits representing the pixel value of one pixel
- PayloadStuffing represents the number of payload stuffing data.
- FIG. 15 is a diagram showing another example of payload data.
- FIG. 15 shows payload data including pixel data obtained by pixel-to-byte conversion when the pixel value of each pixel is represented by 12 bits.
- pixel data including the MSB of pixel P0 is assigned to group 0
- pixel data including the MSB of pixel P1 is assigned to group 1
- pixel data including the LSB of pixel P0 and pixel P1 is grouped. Assigned to 2.
- Pixel data after pixel data including the MSB of the pixel P2 is also assigned in order to each group after group 3.
- a block with one broken line inside represents pixel data in byte units generated so as to include the LSBs of the pixel N and the pixel N + 1 at the time of PixelPto Byte conversion. .
- payload stuffing data is not added to the pixel data of group 0 and group 1, and one piece of payload stuffing data is added to the end of each pixel data of groups 2 to 15.
- the payload data having such a configuration is supplied from the Pixel Byte conversion unit 62 to the payload ECC insertion unit 63.
- the payload ECC insertion unit 63 calculates an error correction code used for error correction of the payload data based on the payload data supplied from the Pixel to Byte conversion unit 62, and the parity, which is the error correction code obtained by the calculation, is stored in the payload. Insert into the data. For example, a Reed-Solomon code is used as the error correction code.
- the insertion of the error correction code is optional, and for example, only one of the parity insertion by the payload ECC insertion unit 63 and the footer addition by the footer generation unit 74 can be performed.
- FIG. 16 is a diagram illustrating an example of payload data in which parity is inserted.
- the payload data shown in FIG. 16 is payload data including pixel data obtained by Pixel to Byte conversion described with reference to FIG. 15 when the pixel value of each pixel is represented by 12 bits. Blocks shown with diagonal lines represent parity.
- 14 pixels are sequentially selected from the first pixel data of each group 0 to 15, and a 2-byte parity is obtained based on the selected 224 (224 bytes) pixel data. .
- the 2-byte parity is inserted as the 15th data of the groups 0 and 1 following the 224 pixel data used for the calculation, and the first Basic block from the 224 pixel data and the 2-byte parity. Is formed.
- the payload ECC insertion unit 63 basically, a 2-byte parity is generated based on 224 pixel data, and is inserted after the 224 pixel data.
- 224 pixel data following the first Basic block are sequentially selected from each group, and 2-byte parity is obtained based on the selected 224 pixel data. .
- the 2-byte parity is inserted as the 29th data of the groups 2 and 3 following the 224 pixel data used in the calculation, and the second Basic block from the 224 pixel data and the 2-byte parity. Is formed.
- the parity of 2 bytes is based on the remaining 16xM blocks (pixel data and payload stuffing data). Desired. Further, the obtained 2-byte parity is inserted after the payload stuffing data, and an Extra block is formed from 16 ⁇ M blocks and 2-byte parity.
- the payload ECC insertion unit 63 outputs the payload data with the parity inserted to the packet generation unit 64.
- the payload data supplied from the Pixel to Byte conversion unit 62 to the payload ECC insertion unit 63 is output to the packet generation unit 64 as it is.
- the packet generation unit 64 generates a packet by adding the header generated by the header generation unit 72 to the payload data supplied from the payload ECC insertion unit 63.
- the packet generation unit 64 also adds a footer to the payload data.
- FIG. 17 is a diagram showing a state in which a header is added to payload data.
- the 24 blocks indicated by the characters H7 to H0 represent header information in bytes, which is header information or a CRC code of the header information.
- the header of one packet includes three sets of header information and CRC code.
- header data H7 to H2 are header information (6 bytes), and header data H1 and H0 are CRC codes (2 bytes).
- one header data H7 is added to the payload data of group 0, and one header data H6 is added to the payload data of group 1.
- One header data H5 is added to the payload data of group 2
- one header data H4 is added to the payload data of group 3.
- One header data H3 is added to the payload data of group 4, and one header data H2 is added to the payload data of group 5.
- One header data H1 is added to the payload data of group 6, and one header data H0 is added to the payload data of group 7.
- two header data H7 are added to the payload data of group 8, and two header data H6 are added to the payload data of group 9.
- Two header data H5 are added to the payload data of the group 10
- two header data H4 are added to the payload data of the group 11.
- Two header data H3 are added to the payload data of the group 12, and two header data H2 are added to the payload data of the group 13.
- Two header data H1 are added to the payload data of the group 14, and two header data H0 are added to the payload data of the group 15.
- FIG. 18 is a diagram showing a state in which a header and a footer are added to payload data.
- footer data F3 to F0 represent footer data which is a 4-byte CRC code generated as a footer.
- footer data F3 to F0 are added to the payload data of group 0 to group 3, respectively.
- FIG. 19 is a diagram showing a state in which a header is added to payload data in which parity is inserted.
- header data H7 to H0 are added to the payload data of FIG. 16 with the parity inserted, as in the case of FIGS.
- the packet generator 64 outputs packet data, which is data constituting one packet generated in this way, to the lane distributor 65.
- packet data composed of header data and payload data, packet data composed of header data, payload data and footer data, or packet data composed of header data and payload data into which parity is inserted. Will be supplied.
- the packet structure in FIG. 6 is logical, and in the link layer and physical layer, the packet data having the structure in FIG. 6 is processed in units of bytes.
- the lane distribution unit 65 assigns the packet data supplied from the packet generation unit 64 to each lane used for data transmission among Lanes 0 to 7 in order from the top data.
- FIG. 20 is a diagram illustrating an example of packet data allocation.
- FIG. 18 allocation of packet data (FIG. 18) including header data, payload data, and footer data will be described.
- An example of packet data allocation when data transmission is performed using 8 lanes Lane0 to Lane7 is shown at the tip of white arrow # 1.
- each header data constituting the three repetitions of the header data H7 to H0 is allocated to Lane0 to Lane7 in order from the top header data.
- certain header data is assigned to Lane 7
- the subsequent header data is assigned to each lane after Lane 0 in order.
- Three identical header data are allocated to each of Lane 0 to Lane 7.
- payload data is assigned to Lanes 0 to 7 in order from the first payload data.
- certain payload data is assigned to Lane 7, the subsequent payload data is assigned to each lane after Lane 0 in order.
- Footer data F3 to F0 are assigned to each lane in order from the top footer data.
- the last payload stuffing data constituting the payload data is assigned to Lane7
- footer data F3 to F0 are assigned to Lane0 to Lane3 one by one.
- a block indicated by black represents lane stuffing data generated by the data insertion unit 73.
- the lane stuffing data is allocated to lanes with a small number of data so that the packet data for one packet is allocated to each lane and then the data length allocated to each lane is the same.
- Lane stuffing data is 1-byte data. In the example of FIG. 20, lane stuffing data is allocated one by one to Lanes 4 to 7, which are lanes with a small number of data allocations.
- the number of lane stuffing data when the packet data is composed of header data, payload data, and footer data is expressed by the following equation (5).
- LaneNum represents the number of lanes
- PayloadLength represents the payload data length (bytes).
- FooterLength represents the footer length (bytes).
- Equation (6) The number of lane stuffing data when the packet data is composed of header data and payload data into which parity is inserted is expressed by the following equation (6).
- ParityLength in Equation (6) represents the total number of parity bytes included in the payload.
- each header data constituting three repetitions of the header data H7 to H0 is assigned to Lane0 to Lane5 in order from the top header data.
- certain header data is assigned to Lane5
- the subsequent header data is assigned in order to each lane after Lane0.
- Four header data are allocated to each of Lane 0 to Lane 5.
- payload data is assigned to Lane 0 to 5 in order from the first payload data.
- certain payload data is assigned to Lane 5
- the subsequent payload data is assigned to each lane after Lane 0 in order.
- Footer data F3 to F0 are assigned to each lane in order from the top footer data.
- the last payload stuffing data constituting the payload data is assigned to Lane1
- footer data F3 to F0 are assigned to Lanes 2 to 5, respectively.
- lane stuffing data is not used because the number of packet data in Lane 0 to 5 is the same.
- each header data constituting the three repetitions of the header data H7 to H0 is assigned to Lane0 to Lane3 in order from the top header data.
- certain header data is assigned to Lane3
- the subsequent header data is assigned in order to each lane after Lane0.
- Six header data are allocated to each of Lane 0 to Lane 3.
- payload data is allocated to Lane 0 to 3 in order from the first payload data.
- certain payload data is assigned to Lane 3
- the subsequent payload data is assigned to each lane after Lane 0 in order.
- Footer data F3 to F0 are assigned to each lane in order from the top footer data.
- the last payload stuffing data constituting the payload data is assigned to Lane3, and footer data F3 to F0 are assigned to Lane0 to Lane3 one by one. In this case, lane stuffing data is not used because the number of packet data in Lane 0 to Lane 3 is the same.
- the lane distribution unit 65 outputs the packet data allocated to each lane in this way to the physical layer.
- a case where data is transmitted using eight lanes Lane0 to Lane7 will be mainly described, but the same processing is performed even when the number of lanes used for data transmission is another number.
- the transmission unit 22 includes a PHY-TX state control unit 81, a clock generation unit 82, and signal processing units 83-0 to 83-N as the configuration of the physical layer.
- the signal processing unit 83-0 includes a control code insertion unit 91, an 8B10B symbol encoder 92, a synchronization unit 93, and a transmission unit 94.
- the packet data allocated to Lane0 output from the lane distribution unit 65 is input to the signal processing unit 83-0, and the packet data allocated to Lane1 is input to the signal processing unit 83-1.
- the packet data assigned to LaneN is input to the signal processing unit 83-N.
- the physical layer of the transmission unit 22 is provided with the same number of signal processing units 83-0 to 83-N as the number of lanes, and processing of packet data transmitted using each lane is performed by the signal processing unit.
- Each of 83-0 to 83-N is performed in parallel.
- the configuration of the signal processing unit 83-0 will be described, but the signal processing units 83-1 to 83-N have the same configuration.
- the PHY-TX state control unit 81 controls each of the signal processing units 83-0 to 83-N. For example, the timing of each process performed by the signal processing units 83-0 to 83-N is controlled by the PHY-TX state control unit 81.
- the clock generation unit 82 generates a clock signal and outputs it to each synchronization unit 93 of the signal processing units 83-0 to 83-N.
- the control code insertion unit 91 of the signal processing unit 83-0 adds a control code to the packet data supplied from the lane distribution unit 65.
- the control code is a code represented by one symbol selected from a plurality of types of symbols prepared in advance or a combination of a plurality of types of symbols.
- Each symbol inserted by the control code insertion unit 91 is 8-bit data.
- the receiving unit 31 performs 10B8B conversion on the received data as will be described later.
- Each symbol before 10B8B conversion included in the received data is 10-bit data, and each symbol after 10B8B conversion is It becomes 8-bit data.
- FIG. 21 is a diagram illustrating an example of a control code added by the control code insertion unit 91.
- the control codes include Idle Code, Start Code, End Code, Pad Code, Sync Code, Deskew Code, and Standby Code.
- Idle Code is a symbol group that is repeatedly transmitted during a period other than the time of packet data transmission. Idle Code is represented by D00.0 (00000000) of D Character which is 8B10B Code.
- Start Code is a symbol group indicating the start of the packet. As described above, Start Code is added before the packet. Start Code is represented by four symbols K28.5, K27.7, K28.2, and K27.7, which are combinations of three types of K Character. The value of each K Character is shown in FIG.
- End Code is a symbol group indicating the end of the packet. As described above, End Code is added after the packet. End Code is represented by four symbols K28.5, K29.7, K30.7, and K29.7, which are combinations of three types of K Character.
- the Pad Code is a symbol group inserted in the payload data to fill the difference between the pixel data band and the PHY transmission band.
- the pixel data band is a transmission rate of pixel data output from the imaging unit 21 and input to the transmission unit 22, and the PHY transmission band is transmission of pixel data transmitted from the transmission unit 22 and input to the reception unit 31. Rate.
- Pad Code is represented by four symbols of K23.7, K28.4, K28.6, and K28.3, which are combinations of four types of K Character.
- FIG. 23 is a diagram showing an example of insertion of Pad Code.
- the pad code is inserted into the payload data assigned to Lane 0 by the control code inserting unit 91 of the signal processing unit 83-0. Similarly, the insertion of Pad Code into the payload data assigned to other lanes is performed at the same timing in the signal processing units 83-1 to 83-N.
- the number of Pad Codes is determined based on the difference between the pixel data band and the PHY transmission band, the frequency of the clock signal generated by the clock generation unit 82, and the like.
- Pad ⁇ Code is inserted to adjust the difference between the two bands when the pixel data band is narrow and the PHY transmission band is wide. For example, by inserting Pad-Code, the difference between the pixel data band and the PHY transmission band is adjusted to be within a certain range.
- Sync ⁇ Code is a symbol group used to ensure bit synchronization and symbol synchronization between the transmission unit 22 and the reception unit 31.
- Sync Code is represented by two symbols K28.5 and Any **. Any ** indicates that any kind of symbol may be used.
- Sync ⁇ ⁇ ⁇ Code is repeatedly transmitted in the training mode before the transmission of packet data between the transmission unit 22 and the reception unit 31 is started.
- Deskew Code is a symbol group used for correction of data reception skew between data lanes, that is, reception timing deviation of data received in each lane of the receiving unit 31.
- Deskew Code is represented by two symbols K28.5 and Any **. Data Skew correction between lanes using Deskew Code will be described later.
- Standby Code is a symbol group used to notify the receiving unit 31 that the output of the transmitting unit 22 is in a state such as High-Z (high impedance) and data transmission is not performed. That is, the Standby Code is transmitted to the receiving unit 31 when transmission of the packet data is finished and the standby state is set. Standby Code is represented by two symbols K28.5 and Any **.
- the control code insertion unit 91 outputs packet data with such a control code added to the 8B10B symbol encoder 92.
- FIG. 24 is a diagram showing an example of packet data after the control code is inserted.
- Start Code is added before the packet data, and Pad Code is inserted into the payload data.
- End Code is added after the packet data, and Deskew Code is added after End Code.
- Idle Code is added after Deskew Code.
- the 8B10B symbol encoder 92 performs 8B10B conversion on the packet data (packet data to which the control code is added) supplied from the control code insertion unit 91, and converts the packet data converted into 10-bit unit data to the synchronization unit 93. Output.
- the synchronization unit 93 outputs each bit of the packet data supplied from the 8B10B symbol encoder 92 to the transmission unit 94 according to the clock signal generated by the clock generation unit 82. Note that the synchronization unit 93 may not be provided in the transmission unit 22. In this case, the packet data output from the 8B10B symbol encoder 92 is supplied to the transmission unit 94 as it is.
- the transmission unit 94 transmits the packet data supplied from the synchronization unit 93 to the reception unit 31 via the transmission path configuring Lane0.
- the packet data is transmitted to the reception unit 31 also using the transmission paths that form Lanes 1 to 7.
- the reception unit 31 is provided with a PHY-RX state control unit 101 and signal processing units 102-0 to 102-N as the configuration of the physical layer.
- the signal processing unit 102-0 includes a reception unit 111, a clock generation unit 112, a synchronization unit 113, a symbol synchronization unit 114, a 10B8B symbol decoder 115, a skew correction unit 116, and a control code removal unit 117.
- Packet data transmitted via the transmission path constituting Lane0 is input to the signal processing unit 102-0, and packet data transmitted via the transmission path configuring Lane1 is input to the signal processing unit 102-1. Is done. Further, the packet data transmitted via the transmission path configuring LaneN is input to the signal processing unit 102-N.
- the physical layer of the receiving unit 31 is provided with the same number of signal processing units 102-0 to 102-N as the number of lanes, and the processing of packet data transmitted using each lane is a signal. This is performed in parallel in each of the processing units 102-0 to 102-N.
- the configuration of the signal processing unit 102-0 will be described, the signal processing units 102-1 to 102-N have the same configuration.
- the reception unit 111 receives a signal representing the packet data transmitted from the transmission unit 22 via the transmission path configuring Lane0, and outputs the signal to the clock generation unit 112.
- the clock generation unit 112 performs bit synchronization by detecting the edge of the signal supplied from the reception unit 111, and generates a clock signal based on the edge detection period.
- the clock generation unit 112 outputs the signal supplied from the reception unit 111 to the synchronization unit 113 together with the clock signal.
- the synchronization unit 113 samples the signal received by the reception unit 111 according to the clock signal generated by the clock generation unit 112, and outputs packet data obtained by the sampling to the symbol synchronization unit 114.
- the clock generation unit 112 and the synchronization unit 113 realize a CDR (ClockCData Recovery) function.
- the symbol synchronization unit 114 performs symbol synchronization by detecting a control code included in the packet data or by detecting some symbols included in the control code. For example, the symbol synchronization unit 114 detects a K28.5 symbol included in Start Code, End Code, and Deskew Code, and performs symbol synchronization. The symbol synchronization unit 114 outputs 10-bit unit packet data representing each symbol to the 10B8B symbol decoder 115.
- the symbol synchronization unit 114 performs symbol synchronization by detecting a symbol boundary included in the Sync Code repeatedly transmitted from the transmission unit 22 in the training mode before the transmission of packet data is started.
- the 10B8B symbol decoder 115 performs 10B8B conversion on the 10-bit unit packet data supplied from the symbol synchronization unit 114, and outputs the packet data converted into 8-bit unit data to the skew correction unit 116.
- the skew correction unit 116 detects Deskew Code from the packet data supplied from the 10B8B symbol decoder 115. Information on the detection timing of Deskew Code by the skew correction unit 116 is supplied to the PHY-RX state control unit 101.
- the skew correction unit 116 corrects the Data Skew between the lanes so that the timing of the Deskew Code matches the timing represented by the information supplied from the PHY-RX state control unit 101. From the PHY-RX state control unit 101, information indicating the latest timing among the Deskew code timings detected in each of the signal processing units 102-0 to 102-N is supplied.
- FIG. 25 is a diagram showing an example of correction of Data Skew between lanes using Deskew Code.
- Sync Code, Sync Code, ..., Idle Code, Deskew Code, Idle Code, ..., Idle Code, and Deskew Code are transmitted in each lane of Lane 0 to 7 It is received by the receiving unit 31.
- the reception timing of the same control code is different for each lane, and Data Skew is generated between lanes.
- the skew correction unit 116 detects DeskewDeCode C1, which is the first Deskew Code, and the time indicated by the information supplied from the PHY-RX state control unit 101 is the head timing of Deskew Code C1. Correction is made to match t1.
- the PHY-RX state control unit 101 is supplied with information at time t1 when Deskew Code C1 is detected in Lane7, which is the latest timing among the timings when Deskew Code C1 is detected in each lane of Lane0 to Lane7. come.
- the skew correction unit 116 detects Deskew Code C2, which is the second Deskew Code, and the timing t2 indicated by the information supplied from the PHY-RX state control unit 101 indicates the head timing of Deskew Code C2. Correct to match.
- the PHY-RX state control unit 101 is supplied with information at time t2 when Deskew Code C2 is detected in Lane7, which is the latest timing among the timings when Deskew Code C2 is detected in each lane of Lane0 to Lane7. come.
- the skew correction unit 116 outputs the packet data obtained by correcting Data Skew to the control code removal unit 117.
- the control code removing unit 117 removes the control code added to the packet data, and outputs the data from the Start Code to the End Code as packet data to the link layer.
- the PHY-RX state control unit 101 controls each unit of the signal processing units 102-0 to 102-N to perform correction of Data Skew between lanes. In addition, when a transmission error occurs in a predetermined lane and a control code is lost, the PHY-RX state control unit 101 adds a control code transmitted in another lane instead of the lost control code. As a result, error correction of the control code is performed.
- the reception unit 31 includes a LINK-RX protocol management unit 121, a lane integration unit 122, a packet separation unit 123, a payload error correction unit 124, and a Byte-to-Pixel conversion unit 125 as a link layer configuration.
- the LINK-RX protocol management unit 121 includes a state control unit 131, a header error correction unit 132, a data removal unit 133, and a footer error detection unit 134.
- the lane integrating unit 122 integrates the packet data supplied from the signal processing units 102-0 to 102-N in the physical layer by rearranging the packet data in the reverse order to the distribution to each lane by the lane distributing unit 65 of the transmitting unit 22. To do.
- the packet data on the left side in FIG. 20 is obtained by integrating the packet data of each lane. Is acquired.
- the lane stuffing data is removed by the lane integrating unit 122 according to the control by the data removing unit 133.
- the lane integration unit 122 outputs the integrated packet data to the packet separation unit 123.
- the packet separation unit 123 separates the packet data for one packet integrated by the lane integration unit 122 into packet data constituting header data and packet data constituting payload data.
- the packet separation unit 123 outputs the header data to the header error correction unit 132 and outputs the payload data to the payload error correction unit 124.
- the packet separation unit 123 separates the data for one packet into packet data constituting the header data, packet data constituting the payload data, and packet data constituting the footer data. To do.
- the packet separation unit 123 outputs the header data to the header error correction unit 132 and outputs the payload data to the payload error correction unit 124. Further, the packet separation unit 123 outputs the footer data to the footer error detection unit 134.
- the payload error correction unit 124 detects an error in the payload data by performing an error correction operation based on the parity, and corrects the detected error. I do. For example, when the parity is inserted as shown in FIG. 16, the payload error correction unit 124 uses the two parity inserted at the end of the first Basic Block, and the 224 in front of the parity. The error correction of the pixel data is performed.
- the payload error correction unit 124 outputs pixel data after error correction obtained by performing error correction for each Basic block and Extra block to the Byte-to-Pixel conversion unit 125.
- the payload data supplied from the packet separation unit 123 is output to the Byte-to-Pixel conversion unit 125 as it is.
- the Byte-to-Pixel conversion unit 125 removes payload stuffing data included in the payload data supplied from the payload error correction unit 124 in accordance with control by the data removal unit 133.
- the Byte-to-Pixel conversion unit 125 converts each pixel data obtained by removing the payload stuffing data into pixel data in units of 8, 10, 12, 14, or 16 bits. Byte to Pixel conversion is performed. In the Byte to Pixel conversion unit 125, a conversion opposite to the Pixel to Byte conversion performed by the Pixel to Byte conversion unit 62 of the transmission unit 22 described with reference to FIGS. 9 to 13 is performed.
- the Byte-to-Pixel conversion unit 125 outputs pixel data in units of 8, 10, 12, 14, or 16 bits obtained by Byte-to-Pixel conversion to the frame data output unit 141.
- each line of effective pixels specified by the Line Valid of the header information is generated based on the pixel data obtained by the Byte to Pixel conversion unit 125, and each line according to the Line Number of the header information is generated.
- An image of one frame is generated by arranging the lines.
- the state control unit 131 of the LINK-RX protocol management unit 121 manages the state of the link layer of the reception unit 31.
- the header error correction unit 132 acquires three sets of header information and CRC code based on the header data supplied from the packet separation unit 123.
- the header error correction unit 132 performs an error detection operation, which is an operation for detecting an error in the header information, for each set of the header information and the CRC code using the same set of CRC codes as the header information. Do.
- the header error correction unit 132 estimates correct header information based on at least one of the error detection result of each set of header information and the data comparison result obtained by the error detection calculation, and corrects the correct header information. Output header information and decryption result.
- the data obtained by the error detection calculation is a value obtained by applying a CRC generator polynomial to the header information.
- the decoding result is information indicating successful decoding or failed decoding.
- the header error correction unit 132 is the data obtained by the error detection calculation as to whether or not there is an error in the header information of the set 1 by the error detection calculation for the set 1 (error detection result). Data 1 is acquired. Further, the header error correction unit 132 acquires whether or not there is an error in the header information of the set 2 and the data 2 that is data obtained by the error detection calculation by the error detection calculation for the set 2. The header error correction unit 132 acquires whether or not there is an error in the header information of the set 3 and the data 3 that is data obtained by the error detection calculation by the error detection calculation for the set 3.
- the header error correction unit 132 determines whether data 1 and data 2 match, whether data 2 and data 3 match, and whether data 3 and data 1 match.
- the header error correction unit 132 does not detect an error by any of the error detection calculations for the set 1, the set 2, and the set 3, and matches any comparison result of the data obtained by the error detection calculation. In this case, information indicating successful decoding is selected as a decoding result. Further, the header error correction unit 132 estimates that any of the header information is correct, and selects any one of the header information of the group 1, the header information of the group 2, and the header information of the group 3 as output information.
- the header error correction unit 132 selects information indicating successful decoding as a decoding result and determines that the header information of the set 1 is correct.
- the header information of group 1 is selected as output information.
- the header error correction unit 132 selects information indicating successful decoding as the decoding result, and the header information of the set 2 is correct.
- the header information of group 2 is selected as output information.
- the header error correction unit 132 selects information indicating successful decoding as a decoding result and estimates that the header information of the group 3 is correct when an error is not detected only by the error detection calculation for the group 3. , Set 3 header information is selected as output information.
- the header error correction unit 132 outputs the decoding result and output information selected as described above to the register 142 and stores them. In this way, error correction of header information by the header error correction unit 132 is performed by detecting header information without error from a plurality of header information using a CRC code and outputting the detected header information. Is called.
- the data removal unit 133 controls the lane integration unit 122 to remove the lane stuffing data, and controls the Byte-to-Pixel conversion unit 125 to remove the payload stuffing data.
- the footer error detection unit 134 acquires the CRC code stored in the footer based on the footer data supplied from the packet separation unit 123.
- the footer error detection unit 134 performs an error detection calculation using the acquired CRC code, and detects an error in the payload data.
- the footer error detection unit 134 outputs the error detection result and stores it in the register 142.
- FIG. 26 is started when an instruction to start imaging is given, for example, by pressing a shutter button provided in the imaging device.
- step S1 the imaging unit 21 of the image sensor 11 performs imaging.
- the frame data input unit 52 (FIG. 5) of the imaging unit 21 sequentially outputs pixel data constituting one frame image obtained by imaging one pixel at a time.
- step S2 the transmission unit 22 performs data transmission processing.
- a packet in which pixel data for one line is stored in the payload is generated, and packet data constituting the packet is transmitted to the receiving unit 31.
- the data transmission process will be described later with reference to the flowchart of FIG.
- step S3 the reception unit 31 performs data reception processing.
- the packet data transmitted from the transmission unit 22 is received, and the pixel data stored in the payload is output to the image processing unit 32.
- the data reception process will be described later with reference to the flowchart of FIG.
- the data transmission process performed by the transmission unit 22 in step S2 and the data reception process performed by the reception unit 31 in step S3 are alternately performed on pixel data for one line. That is, when pixel data of one line is transmitted by data transmission processing, data reception processing is performed. When pixel data of one line is received by data reception processing, the pixel data of the next one line is targeted. Data transmission processing is performed.
- the data transmission process by the transmission unit 22 and the data reception process by the reception unit 31 may be performed in parallel in time as appropriate.
- the frame data output unit 141 of the image processing unit 32 determines whether or not the transmission / reception of the pixel data of all the lines constituting the image of one frame has been completed. The processes after step S2 are repeatedly performed.
- step S4 When it is determined in step S4 that transmission / reception of pixel data of all lines constituting one frame image has been completed, the frame data output unit 141 of the image processing unit 32 receives the pixels supplied from the reception unit 31 in step S5. An image of one frame is generated based on the data.
- step S6 the image processing unit 32 performs image processing using an image of one frame, and ends the processing.
- the header generation unit 72 generates header information including Frame Start, Frame End, Line Valid, Line Number, and Reserved.
- step S12 the header generation unit 72 calculates the CRC code by applying the header information to the generator polynomial.
- the header generation unit 72 generates a pair of header information and a CRC code by adding a CRC code to the header information, and repeats and arranges three sets of the same header information and a CRC code to set the header. Generate.
- step S14 the Pixel to Byte conversion unit 62 acquires the pixel data supplied from the frame data input unit 52, and performs Pixel to Byte conversion.
- the Pixel-to-Byte conversion unit 62 outputs payload data generated by grouping pixel data in units of bytes obtained by Pixel-to-Byte conversion, adding payload stuffing data, and the like. Parity is appropriately inserted into the payload data by the payload ECC insertion unit 63.
- step S15 the packet generator 64 generates a packet based on the payload data including the pixel data for one line and the header generated by the header generator 72, and outputs packet data constituting one packet.
- step S16 the lane distribution unit 65 allocates the packet data supplied from the packet generation unit 64 to a plurality of lanes used for data transmission.
- step S17 the control code insertion unit 91 adds a control code to the packet data supplied from the lane distribution unit 65.
- step S18 the 8B10B symbol encoder 92 performs 8B10B conversion of the packet data to which the control code is added, and outputs the packet data converted into 10-bit unit data.
- step S19 the synchronization unit 93 outputs the packet data supplied from the 8B10B symbol encoder 92 according to the clock signal generated by the clock generation unit 82, and causes the transmission unit 94 to transmit the packet data.
- the processing in steps S17 to S19 is performed in parallel by the signal processing units 83-0 to 83-N.
- the process returns to step S2 in FIG. 26 and the subsequent processing is performed.
- step S31 the reception unit 111 receives a signal representing packet data transmitted from the transmission unit 22.
- the processing of steps S31 to S36 is performed in parallel by the signal processing units 102-0 to 102-N.
- step S32 the clock generation unit 112 takes bit synchronization by detecting the edge of the signal supplied from the reception unit 111.
- the synchronization unit 113 samples the signal received by the reception unit 111 and outputs the packet data to the symbol synchronization unit 114.
- step S33 the symbol synchronization unit 114 performs symbol synchronization by detecting a control code included in the packet data.
- step S34 the 10B8B symbol decoder 115 performs 10B8B conversion on the packet data after symbol synchronization, and outputs the packet data converted into 8-bit data.
- step S35 the skew correction unit 116 detects Deskew Code, and matches the timing of Deskew Code with the timing represented by the information supplied from the PHY-RX state control unit 101 as described above. Correct Data Skew.
- step S36 the control code removing unit 117 removes the control code added to the packet data.
- step S37 the lane integration unit 122 integrates the packet data supplied from the signal processing units 102-0 to 102-N.
- step S38 the packet separation unit 123 separates the packet data integrated by the lane integration unit 122 into packet data constituting header data and packet data constituting payload data.
- step S39 the header error correction unit 132 performs error detection calculation using a CRC code for each set of header information and CRC code included in the header data separated by the packet separation unit 123. Further, the header error correction unit 132 selects and outputs header information having no error based on each group of error detection results and the comparison result of the data obtained by the error detection calculation.
- step S40 the Byte-to-Pixel conversion unit 125 performs Byte-to-Pixel conversion of the payload data, and outputs pixel data in units of 8 bits, 10 bits, 12 bits, 14 bits, or 16 bits.
- error correction using parity is appropriately performed by the payload error correction unit 124.
- data transmission between the image sensor 11 and the DSP 12 is performed using a packet format in which one line of one frame corresponds to one packet.
- the packet format used for data transmission between the image sensor 11 and the DSP 12 is a format that minimizes transmission of header information and a control code indicating a packet boundary such as Start ⁇ Code, End ⁇ ⁇ Code, and prevents a reduction in transmission efficiency. It becomes possible. If the packet format in which the pixel data stored in the payload of one packet is less than one line is adopted, it is necessary to transmit more packets in order to transmit the pixel data of the entire frame, and the header to be transmitted As the number of information and control codes increases, the transmission efficiency decreases.
- the packet format used for data transmission between the image sensor 11 and the DSP 12 is added with a CRC code so that the DSP 12 can detect the presence or absence of a header information transmission error.
- the DSP 12 can correct the header information correctly when a transmission error of the header information occurs.
- an error correction code is used as a countermeasure against transmission error of header information, it is necessary to prepare a circuit for calculating an error correction code in the transmission unit 22 and a circuit for performing an error correction calculation in the reception unit 31. There will be. Since a CRC code, which is an error detection code, is added to the header information, the circuit scale and power consumption can be reduced as compared with the case where a circuit for performing an error correction operation is prepared. In addition, when an error in the header information is detected, the receiving unit 31 does not request the transmitting unit 22 to retransmit the header information. Therefore, it is necessary to prepare a reverse transmission path for the retransmission request. Absent.
- Start Code three types of K Character are used in combination as four symbols for Start Code.
- the Start ⁇ ⁇ Code can be specified by the receiving unit 31, and transmission errors can be detected. It can be said that the tolerance is high. The same applies to End Code.
- Pad Code has a higher transmission frequency than Start Code, End Code, etc., it has a structure that can further improve error resistance.
- control code can be reproduced.
- each control code is configured by combining the minimum necessary K Character. For example, for Sync Code, Deskew Code, and Standby Code that can relatively allow transmission errors by repeated transmission, a data structure that does not require additional assignment of K Character is used.
- bit synchronization can be achieved by detecting transition / edge of bit data after 8B10B conversion in the CDR realized by the clock generation unit 112 and the synchronization unit 113. If the transmitter 22 continues to send data, bit synchronization can be achieved within the period assumed as the CDR lock time.
- synchronization between lanes can be achieved by making it possible to correct Data Skew between lanes using Deskew Code.
- packet data is processed one by one in one clock period by allowing each packet data to be processed in parallel in units of groups such as 16 (in the example of FIG. 14, 16 bytes).
- the circuit scale and the memory amount can be reduced.
- the circuit scale and the like can be reduced in the latter case when packet data is processed one by one and when the packet data is processed in a predetermined unit. By reducing the circuit scale, it is possible to reduce power consumption.
- error resistance can be improved by allocating continuous packet data to different lanes. Even if an error occurs across a number of consecutive packet data exceeding the parity error correction capability in a certain lane, the position of the packet data in which the error has occurred by performing lane combination in the receiving unit 31 May be distributed, and error correction using parity may be possible.
- the error correction capability by parity is determined by the parity length.
- the circuit scale of the transmission unit 22 and the reception unit 31 can be reduced by performing ECC processing higher than lane distribution / lane integration with the one closer to the physical layer as the lower level. For example, when the transmission unit 22 assigns the parity of the packet data to each lane and then the ECC parity is inserted into the payload, it is necessary to prepare a payload ECC insertion unit for each lane, and the circuit scale is large. Although it becomes large, such a thing can be prevented.
- FIG. 29 is a diagram showing a control sequence for switching the number of lanes.
- the timing of the vertical sync signal (XVS) and horizontal sync signal (XHS) is shown on the right side of FIG. Until the time t1 when the vertical synchronization signal is detected, the pixel data of each line constituting the image of one frame is transmitted according to the horizontal synchronization signal, and the active lane is changed from 4 lanes to 2 lanes at the timing of the time t1. The case where it does is demonstrated. Until time t1, data transmission is performed using four lanes.
- PIX DATA represents that pixel data is being transmitted in the lane marked with the character.
- E”, “BLK”, and “S” following “PIX DATA” represent Frame End, blanking period, and Frame Start, respectively.
- step S81 the image processing unit 32 instructs the receiving unit 31 to switch the number of lanes from 4 to 2.
- the instruction by the image processing unit 32 is received by the receiving unit 31 in step S71.
- step S82 the image processing unit 32 requests a mode change to the imaging unit 21 of the image sensor 11.
- the mode change request transmitted to the imaging unit 21 includes information indicating that the number of lanes is switched from 4 to 2.
- the image processing unit 32 transmits information on setting values relating to imaging such as shutter speed and gain between the imaging unit 21 and the image processing unit 32 to the imaging unit 21.
- the transmission path is provided.
- a request for mode change is also transmitted to the imaging unit 21 via this transmission path.
- step S51 the imaging unit 21 receives a request for mode change from the image processing unit 32, and instructs the transmission unit 22 to switch the number of lanes from 4 to 2 in step S52.
- the instruction from the imaging unit 21 is received by the transmission unit 22 in step S61.
- a Standby Sequence is performed between the transmission unit 22 and the reception unit 31, and the Standby Code is repeatedly transmitted from the transmission unit 22 to the reception unit 31 using Lane0 to Lane3.
- Standby Sequence ends, the detection result of the state is output from the receiving unit 31 in step S72, and is received by the image processing unit 32 in step S83. Further, Lane0 and Lane1 that maintain an active state are in a Low state, and Lane2 and Lane3 that end data transmission are in a High-Z state.
- Training Sequence is performed between the transmission unit 22 and the reception unit 31, and Sync Code is repeatedly transmitted from the transmission unit 22 to the reception unit 31 using Lane0 and Lane1.
- bit synchronization is ensured, and symbol synchronization is ensured by detecting Sync Code.
- step S73 the receiving unit 31 notifies the image processing unit 32 that preparation has been completed.
- the notification by the receiving unit 31 is received by the image processing unit 32 in step S84, and a series of control sequences for switching the number of lanes is completed.
- Standby Code is transmitted during Standby Sequence even in Lanes 2 and 3 where data transmission is terminated so that Lane 0 and 1 used for data transmission are continuously in the same state.
- Lanes 2 and 3 it is possible to leave the High-Z state without performing Standby Code transmission, but it will be different from the lane used for data transmission, and the control will be complicated. Become.
- FIG. 30 is a diagram showing another example of a frame format used for data transmission between the image sensor 11 and the DSP 12. The description overlapping with the above description will be omitted as appropriate.
- the frame format shown in FIG. 30 is different from the format shown in FIG. 4 in that three data of Embedded mb Line, Data ID, and Region Number surrounded by a thick line L11 are added to the header added to the image data of each line. Such information is generated by the header generation unit 72 of FIG. 5 and added to the header.
- FIG. 31 is an enlarged view showing one packet in the frame format of FIG.
- One packet includes a header and payload data which is pixel data for one line.
- a footer may be added to the packet.
- Start Code is added to the beginning of each packet, and End Code is added to the end of each packet.
- the header information includes Embedded Line as line information, Data ID as data identification, and Region Number as area information in addition to the above-mentioned Frame Start, Frame End, Line Valid, and Line Number. The contents of each information are shown in FIG.
- the Embedded Line is 1-bit information indicating whether or not the packet is used for transmission of the line in which Embedded Data is inserted. For example, a value of 1 is set in Embedded Line of a packet header used for transmission of a line including Embedded Data, and a value of 0 is set in Embedded Line of a packet header used for transmission of another line. . As described above, information on the setting value related to imaging is inserted into a predetermined line in the front dummy area A3 and the rear dummy area A4 as Embedded Data.
- Data ID is P-bit information indicating data ID and data type in multi-stream transmission.
- the P bit represents a predetermined number of bits of 1 bit or more.
- Multi-stream transmission is data transmission performed using a plurality of sets of one transmission unit and one reception unit.
- “Region Number” is 1-bit information indicating which region of the imaging unit 21 the pixel data stored in the payload is. By adding these three data, Reserved becomes 30-P bits.
- Second Embodiment (an example of transmitting predetermined data as well as pixel data)>
- the above-described data transmission between chips using a plurality of lanes can be used not only for image data but also for transmission of various data.
- the I / F described above which is used to transmit pixel data output from an image sensor such as a CMOS, is referred to as CIS (CMOS Image Sensor) I / F
- the IF used to transmit various data is a general purpose I / F.
- general-purpose I / F not only image data but also various data such as audio data and text data are transmitted from the transmitting chip to the receiving chip.
- FIG. 33 is a diagram illustrating a first configuration example of a transmission system using a general-purpose I / F.
- the transmission-side LSI 311 and the reception-side LSI 312 are provided in the same device, for example.
- the transmission side LSI 311 is provided with an information processing unit 321 and one transmission unit 322, and the reception side LSI 312 is provided with one reception unit 331 and an information processing unit 332.
- the information processing unit 321 of the transmission-side LSI 311 processes various data and outputs data to be transmitted to the transmission unit 322. From the information processing unit 321, various bit widths such as 8, 10, 12, 14, 16, 20, 24, 28, 32, 40, 48, 56, 64, 80, 96, 112, 128, 144 bits, etc. Data is output.
- the transmission unit 322 assigns the data supplied from the information processing unit 321 to a plurality of lanes in the order supplied from the information processing unit 321, for example, and transmits the data to the reception-side LSI 312 in parallel. Also in the example of FIG. 33, data transmission is performed using eight lanes.
- the transmission path between the transmission-side LSI 311 and the reception-side LSI 312 may be a wired transmission path or a wireless transmission path.
- the reception unit 331 of the reception-side LSI 312 receives data transmitted from the transmission unit 322 via eight lanes and outputs the data to the information processing unit 332.
- the information processing unit 332 generates data selected as a transmission target on the transmission-side LSI 311 side based on the data supplied from the reception unit 331, and performs various processes using the generated data.
- the data to be transmitted is, for example, audio data, processing such as reproduction and compression of audio data is performed.
- FIG. 34 is a diagram illustrating a second configuration example of the transmission system 301. 34, the same components as those illustrated in FIG. 33 are denoted by the same reference numerals. The overlapping description will be omitted as appropriate.
- reception LSI 312 includes two reception units.
- Receiving units 331-1 and 331-2 and an information processing unit 332 are provided.
- the information processing unit 321 divides the data to be transmitted and outputs the data to the transmission unit 322-1 and the transmission unit 322-2.
- the transmission unit 322-1 assigns the data supplied from the information processing unit 321 to a plurality of lanes in the order supplied from the information processing unit 321, for example, and transmits the data to the reception-side LSI 312.
- the transmission unit 322-2 assigns the data supplied from the information processing unit 321 to a plurality of lanes in the order supplied from the information processing unit 321, for example, and transmits the data to the reception-side LSI 312.
- the transmission side LSI 311 and the reception side LSI 312 are connected via eight lanes.
- the transmission unit 322-1 and the transmission unit 322-2 each transmit data using four lanes.
- the receiving unit 331-1 of the receiving-side LSI 312 receives the data transmitted from the transmitting unit 322-1 via the four lanes, and outputs the data to the information processing unit 332.
- the reception unit 331-2 receives data transmitted from the transmission unit 322-2 via the four lanes and outputs the data to the information processing unit 332.
- the information processing unit 332 generates data to be transmitted based on the data supplied from the receiving unit 331-1 and the data supplied from the receiving unit 331-2, and performs various processes on the generated data.
- two transmission units are provided in the transmission-side LSI 311 and two reception units are provided in the reception-side LSI 312 corresponding to the transmission units, so that the transmission rate of data output from the information processing unit 321 is high.
- the data can be transmitted to the receiving-side LSI 312.
- FIG. 35 is a diagram illustrating a third configuration example of the transmission system 301. 35, the same components as those shown in FIG. 33 are denoted by the same reference numerals. The overlapping description will be omitted as appropriate.
- the transmission side LSI 311-1 is provided with an information processing unit 321-1 and one transmission unit 322-1.
- the transmission side LSI 311-2 has an information processing unit 321-2 and one transmission unit.
- a unit 322-2 is provided.
- the reception-side LSI 312 includes two reception units 331-1 and 331-2 and an information processing unit 332.
- the information processing unit 321-1 of the transmission-side LSI 311-1 outputs the transmission target data to the transmission unit 322-1.
- the transmission unit 322-1 assigns the data supplied from the information processing unit 321-1 to a plurality of lanes and transmits the data to the reception-side LSI 312.
- the information processing unit 321-2 of the transmission-side LSI 311-2 outputs the transmission target data to the transmission unit 322-2.
- the transmission unit 322-2 assigns the data supplied from the information processing unit 321-2 to a plurality of lanes, and transmits the data to the reception-side LSI 312.
- the transmission-side LSI 311 that is the transmission-side LSI and the reception-side LSI 312 that is the reception-side LSI are connected via eight lanes.
- Four lanes are allocated to each of the transmission-side LSI 311-1 and the transmission-side LSI 311-2, and the transmission unit 322-1 and the transmission unit 322-2 each transmit data using the four lanes.
- the reception unit 331-1 of the reception-side LSI 312 receives the data transmitted from the transmission unit 322-1 of the transmission-side LSI 311-1 via the four lanes, and outputs the data to the information processing unit 332.
- the reception unit 331-2 receives data transmitted from the transmission unit 322-2 of the transmission-side LSI 311-2 via the four lanes and outputs the data to the information processing unit 332.
- the information processing unit 332 generates data selected as a transmission target in the transmission-side LSI 311-1 based on the data supplied from the reception unit 331-1. Further, the transmission unit 322 generates data selected as a transmission target in the transmission side LSI 311-2 based on the data supplied from the reception unit 331-2. The image processing unit 332 performs various processes using the generated data.
- the transmission-side LSI of the transmission system 301 is provided with one or more transmission units for transmitting data.
- the receiving-side LSI is provided with one or more receiving units that receive data corresponding to the transmitting unit of the transmitting-side LSI.
- Example of packet data structure 36A to 36D are diagrams showing examples of the data structure of a packet used for data transmission.
- FIG. 36A is a diagram showing an example of a packet used for transmission of pixel data in the CIS IF.
- One packet of CIS IF is composed of a header, a payload including pixel data for one line, and a footer added as appropriate. Start Code is added to the beginning of one packet of CIS IF, and End Code is added to the end of the footer.
- 36B to 36D are diagrams showing examples of packets used for transmission of various data in the general-purpose I / F.
- One packet of general-purpose I / F is composed only of payload.
- payload data is generated by dividing data to be transmitted in units of 8 to 144 bits supplied from the information processing unit 321 into predetermined sizes.
- the packet size is the number of bits that is a common multiple of 8 to 144 bits, which is the bit width of the input data, and 128 bits, and is specified by the value set in Configuration Register.
- the short packet shown in C of FIG. 36 or D of FIG. 36 is used.
- the short packet (1) of FIG. 36C is used, and when the payload length is not a multiple of 128 bits, the short packet (2) of FIG. Used.
- the short packet of C in FIG. 36 and the short packet of D in FIG. 36 are identified by End Code added later.
- FIG. 37 is a diagram illustrating a configuration example of the transmission-side LSI 311 and the reception-side LSI 312.
- the configuration shown on the left side of FIG. 37 is the configuration of the transmission-side LSI 311, and the configuration shown on the right side is the configuration of the reception-side LSI 312.
- General-purpose I / F data transmission is realized by configurations of an application layer, an adaptation layer, a link layer, and a physical layer.
- the configuration shown above the solid line L1 is the configuration of the application layer.
- a system control unit 341, a data input unit 342, and a register 343 are realized.
- the system control unit 341 controls data transmission by the general-purpose I / F. For example, the system control unit 341 outputs a control signal indicating that the input data is valid data to the payload data generation unit 351 of the transmission unit 322 while the data input unit 342 outputs the transmission target data. To do.
- the data input unit 342 outputs the transmission target data to the payload data generation unit 351 in a predetermined bit unit of 8 to 144 bits.
- the register 343 is the above-described Configuration Register, and stores various information such as the packet size and the number of Lanes.
- a system control unit 441, a data output unit 442, and a register 443 are realized.
- the system control unit 441 controls reception of data by the general-purpose I / F. For example, the system control unit 441 outputs information on the packet size specified by the value set in the register 443 to the payload data acquisition unit 431.
- the data output unit 442 acquires the data supplied from the payload data acquisition unit 431 and outputs it to a data processing unit (not shown).
- the register 443 stores various information such as the packet size and the number of Lanes.
- the transmission unit 322 includes a payload data generation unit 351 as an adaptation layer configuration.
- the payload data generation unit 351 divides the transmission target data supplied from the data input unit 342 in predetermined bit units into the same size as the packet size, and outputs the data to the Byte Packing unit 362. From the payload data generation unit 351 to the Byte Packing unit 362, data in a predetermined bit unit constituting the data to be transmitted is collectively output for each same size as the packet size.
- the payload data generation unit 351 outputs, for example, the last data of the transmission target data that is less than the packet size to the Byte Packing unit 362 as it is.
- the payload data generation unit 351 detects that the control signal is turned off and the data input is not longer than a predetermined time, a payload End signal that is a timing signal indicating the input timing of the last data constituting the packet is received. Output to the Byte Packing unit 362.
- the payload data generation unit 351 outputs the header information to the packet generation unit 364 when transmitting the header information described with reference to FIGS. In general-purpose I / F, header information is also transmitted as payload data.
- the transmission unit 322 includes a Byte Packing unit 362, a payload ECC insertion unit 363, a packet generation unit 364, and a lane distribution unit 365 as a link layer configuration.
- the Byte Packing unit 362 converts the data supplied from the payload data generation unit 351 into packing data of a predetermined unit such as 16 bytes that is processed by each processing unit after the Byte Packing unit 362.
- the Byte Packing unit 362 outputs the packing data obtained by the conversion to the payload ECC insertion unit 363.
- FIG. 38 is a diagram illustrating an example of Byte Packing, which is data conversion by the Byte Packing unit 362.
- Data1 to Data8 divided according to the control signal by the payload data generation unit 351 is input to the Byte Packing unit 362 as data constituting one packet.
- Data is input from the data input unit 342 to the payload data generation unit 351 in units of 80 bits.
- the Byte Packing unit 362 generates five packing data by assigning each bit of Data1 to Data8 to each bit of packing data in units of 16 bytes (128 bits) in the order of input.
- the first packing data is data including 1 to 80 bits of Data1 and 1 to 48 bits of Data2.
- FIG. 39 is a diagram illustrating another example of Byte Packing by the Byte Packing unit 362.
- Data1 to Data5 divided according to the control signal by the payload data generation unit 351 are input to the Byte Packing unit 362 as data constituting one packet.
- a Packet End signal is input from the payload data generation unit 351 to the Byte Packing unit 362 in accordance with the input timing of Data5.
- the Byte Packing unit 362 can recognize that Data5 is the last data constituting one packet.
- the Byte Packing unit 362 generates the first packing data including the entire Data1 and data from the beginning to the middle of Data2 by assigning each bit of Data1 to Data5 to each bit of the packing data in the order of input. . Further, the Byte Packing unit 362 generates second packing data including data from the middle to the end of Data2, the entire Data3, and data from the beginning to the middle of Data4. The Byte Packing unit 362 generates third packing data including data from the middle to the end of Data4 and data from the beginning to the middle of Data5.
- the Byte Packing unit 362 subsequently generates the 16-byte fourth packing data by inserting dummy data. . That is, the packing data is generated so that dummy data (dummy bits) is added for less than 16 bytes.
- the dummy data is, for example, all bits having a value of 0.
- the Byte Packing unit 362 LSBs 8 bits representing the number of bits of the dummy data included in the fourth packing data as the fifth packing data following the fourth packing data to which the dummy data is added. Packing data included on the side is generated. Dummy data is included in the first to 120th bits of the fifth packing data.
- the receiving unit 331 that has received such data has a dummy in the fourth packing data, which is the previous packing data, based on the fact that 120-bit dummy data is included in the fifth packing data. It is possible to specify that data is added. Also, the receiving unit 331 specifies the number of bits of dummy data added to the fourth packing data based on the number of bits represented by 8 bits following the 120-bit dummy data, and only the valid data is obtained. It becomes possible to extract.
- FIG. 40 is a diagram showing a sequence of Byte Packing processing.
- the control signal supplied from the system control unit 341 of the information processing unit 321 is on during the period from time t11 to t14 and after time t15.
- Data1 to Data4 which are data to be transmitted in predetermined bit units, are supplied from the data input unit 342 in accordance with the control signal being turned on. Focusing on Data1 to Data3, Data1 is supplied during the period from time t11 to t12, Data2 is supplied during the period from time t12 to t13, and Data3 is supplied during the period from time t13 to t14.
- a Packet End signal indicating the last data constituting the packet is input at the timing when the input of Data3 is completed.
- Data1 to Data4 are data each having a size of 16 bytes or more.
- the Byte Packing unit 362 generates packing data PD1 including data in the range a from the beginning to the middle of Data1. Further, the Byte Packing unit 362 generates packing data PD2 including data in a range b from the middle of Data1 to the end of Data1 and data in a range c from the beginning to the middle of Data2.
- the Byte Packing unit 362 generates packing data PD3 including data in the range d from the middle of Data2 to the end of Data2 and data in the range e from the beginning to the middle of Data3.
- the Byte Packing unit 362 adds dummy data to the data in the range f from the middle of Data3 to the end of Data3, and generates 16-byte packing data PD4.
- the data in the range indicated by hatching is dummy data.
- the Byte Packing unit 362 generates 16 bytes of packing data including the last bit including the number of bits of the dummy data added to the packing data PD4 following the packing data PD4.
- a packet including packing data PD1 to PD4 including packing data PD4 to which dummy data is added is transmitted as a short packet of C in FIG. 36 or D in FIG.
- the short packet includes packing data to which a bit representing the number of bits of dummy data is added at the end.
- the data composed of the packing data generated in this way is supplied as payload data from the Byte Packing unit 362 to the payload ECC insertion unit 363 in FIG.
- the payload ECC insertion unit 363 calculates an error correction code used for error correction of payload data based on the payload data supplied from the Byte Packing unit 362, and inserts the parity obtained by the calculation into the payload data.
- an error correction code used for error correction of payload data based on the payload data supplied from the Byte Packing unit 362, and inserts the parity obtained by the calculation into the payload data.
- a Reed-Solomon code is used as the error correction code. Note that insertion of an error correction code is optional.
- FIG. 41 is a diagram showing an example of parity insertion for payload data.
- the payload ECC insertion unit 363 generates a 224-byte Basic block by collecting 14 packing data in the order supplied from the Byte packing unit 362. Also, the payload ECC insertion unit 363 generates a parity of 2 bytes to 4 bytes based on the payload data of 224 bytes, and inserts the parity into the payload data to thereby generate a Basic block of 226 bytes to 228 bytes into which the parity is inserted. Generate.
- Parity1 is generated and added to the payload data composed of the 1st to 14th packing data.
- data indicated by hatching is parity.
- the payload ECC insertion unit 363 If the size of the payload data following a certain Basic block is less than 224 bytes, the payload ECC insertion unit 363 generates an Extra block based on the remaining payload data. Due to the insertion of the dummy data described above, the extra block information length is always a multiple of 16 bytes. Further, the payload ECC insertion unit 363 generates a parity of 2 bytes to 4 bytes based on the payload data constituting the Extra block, and generates an Extra block with the parity inserted by inserting the parity into the payload data.
- ParityM is generated and added to the Nth to N + Mth payload data.
- the payload ECC insertion unit 363 outputs the payload data with the parity inserted to the packet generation unit 364. When no parity is inserted, the payload data supplied from the Byte Packing unit 362 to the payload ECC insertion unit 363 is output to the packet generation unit 364 as it is.
- the packet generation unit 364 generates a packet having the data supplied from the payload ECC insertion unit 363 as payload data.
- the packet generation unit 364 outputs the generated packet data to the lane distribution unit 365.
- the lane distribution unit 365 transmits the packet data supplied from the packet generation unit 364 in units of bytes in order from the first byte, such as Lane0, Lane1,..., Lane (LaneNum-1), Lane1,. Assign to each lane used. Depending on the packet length and the number of Lanes, data may not be evenly distributed to each lane. In this case, the lane distribution unit 365 inserts 00h as Lane Stuffing so that data is evenly distributed to each lane.
- the lane distribution unit 365 outputs the packet data assigned to each lane in this way to the physical layer.
- a case where data is transmitted using eight lanes Lane0 to Lane7 will be mainly described, but the same processing is performed even when the number of lanes used for data transmission is another number.
- the transmission unit 322 includes a PHY-TX state control unit 381, a clock generation unit 382, and signal processing units 383-0 to 383-N as a physical layer configuration.
- the configuration of the physical layer of the transmission unit 322 is the same as the configuration of the physical layer of the transmission unit 22 in the CIS-IF described with reference to FIG. The overlapping description will be omitted as appropriate.
- the signal processing unit 383-0 includes a control code insertion unit 391, an 8B10B symbol encoder 392, a synchronization unit 393, and a transmission unit 394.
- the packet data output from the lane distribution unit 365 and allocated to Lane0 is input to the signal processing unit 383-0, and the packet data allocated to Lane1 is input to the signal processing unit 383-1.
- the packet data assigned to LaneN is input to the signal processing unit 383-N.
- the PHY-TX state control unit 381 controls each of the signal processing units 383-0 to 383-N.
- the clock generation unit 382 generates a clock signal and outputs it to each synchronization unit 393 of the signal processing units 383-0 to 383-N.
- the control code insertion unit 391 of the signal processing unit 383-0 adds a control code such as Start Code and End Code to the packet data supplied from the lane distribution unit 365.
- the control code insertion unit 391 outputs the packet data to which the control code is added to the 8B10B symbol encoder 392.
- the 8B10B symbol encoder 392 performs 8B10B conversion on the packet data (packet data to which the control code is added) supplied from the control code insertion unit 391, and converts the packet data converted to 10-bit unit data to the synchronization unit 393. Output.
- the synchronization unit 393 outputs each bit of the packet data supplied from the 8B10B symbol encoder 392 to the transmission unit 394 according to the clock signal generated by the clock generation unit 382. Note that the synchronization unit 393 may not be provided in the transmission unit 322. In this case, the packet data output from the 8B10B symbol encoder 392 is supplied to the transmission unit 394 as it is.
- the transmission unit 394 transmits the packet data supplied from the synchronization unit 393 to the reception unit 331 via the transmission path configuring Lane0.
- the packet data is transmitted to the reception unit 331 also using the transmission paths forming Lanes 1 to 7.
- the reception unit 331 includes a PHY-RX state control unit 401 and signal processing units 402-0 to 402-N as a physical layer configuration.
- the configuration of the physical layer of the reception unit 331 is the same as the configuration of the physical layer of the reception unit 31 in the CIS-IF described with reference to FIG. The overlapping description will be omitted as appropriate.
- the signal processing unit 402-0 includes a receiving unit 411, a clock generating unit 412, a synchronizing unit 413, a symbol synchronizing unit 414, a 10B8B symbol decoder 415, a skew correcting unit 416, and a control code removing unit 417.
- the packet data transmitted through the transmission path that configures Lane0 is input to the signal processing unit 402-0, and the packet data that is transmitted through the transmission path that configures Lane1 is input to the signal processing unit 402-1. Is done. Further, the packet data transmitted via the transmission path configuring LaneN is input to the signal processing unit 402-N.
- the reception unit 411 receives a signal representing the packet data transmitted from the transmission unit 322 via the transmission path configuring Lane0 and outputs the signal to the clock generation unit 412.
- the clock generation unit 412 performs bit synchronization by detecting the edge of the signal supplied from the reception unit 411, and generates a clock signal based on the edge detection period.
- the clock generation unit 412 outputs the signal supplied from the reception unit 411 to the synchronization unit 413 together with the clock signal.
- the synchronization unit 413 samples the signal received by the reception unit 411 according to the clock signal generated by the clock generation unit 412, and outputs packet data obtained by the sampling to the symbol synchronization unit 414.
- the symbol synchronization unit 414 detects a K28.5 symbol included in, for example, Start Code, End Code, and Deskew Code, and performs symbol synchronization.
- the symbol synchronization unit 414 outputs 10-bit unit packet data representing each symbol to the 10B8B symbol decoder 415.
- the 10B8B symbol decoder 415 performs 10B8B conversion on the 10-bit unit packet data supplied from the symbol synchronization unit 414, and outputs the packet data converted into 8-bit unit data to the skew correction unit 416.
- the skew correction unit 416 detects Deskew® code from the packet data supplied from the 10B8B symbol decoder 415. Information on the detection timing of Deskew Code by the skew correction unit 416 is supplied to the PHY-RX state control unit 401. Further, the skew correction unit 416 corrects the Data Skew between lanes so that the timing of Deskew Code is matched with the timing represented by the information supplied from the PHY-RX state control unit 401.
- the skew correction unit 416 outputs the packet data obtained by correcting Data Skew to the control code removal unit 417.
- the control code removing unit 417 removes the control code added to the packet data, and outputs the data from the Start Code to the End Code as packet data to the link layer.
- the PHY-RX state control unit 401 controls each unit of the signal processing units 402-0 to 402-N to perform correction of Data Skew between lanes.
- the reception unit 331 includes a lane integration unit 422, a packet separation unit 423, a payload error correction unit 424, and a Byte Unpacking unit 425 as a link layer configuration.
- the lane integration unit 422 integrates the data supplied from the physical layer signal processing units 402-0 to 402-N by rearranging the data in the reverse order to the distribution order to each lane by the lane distribution unit 365 of the transmission unit 322. .
- the lane integration unit 422 outputs the packet data obtained by the integration to the packet separation unit 423.
- the packet separation unit 423 outputs the packet data integrated by the lane integration unit 422 to the payload error correction unit 424 as payload data.
- the packet separation unit 423 outputs the header information extracted from the payload to the payload data acquisition unit 431.
- the payload error correction unit 424 detects an error in the payload data by performing an error correction operation based on the parity, and corrects the error.
- the payload error correction unit 424 uses the parity inserted at the end of the first Basic block, and uses the parity of 224 bytes before the parity. Data error correction is performed.
- the payload error correction unit 424 outputs the error-corrected data obtained by performing error correction on each Basic block and Extra block to the Byte Unpacking unit 425.
- the payload data supplied from the packet separator 423 is output as it is to the Byte / Unpacking unit 425.
- the Byte Unpacking unit 425 performs Byte Unpacking, which is a conversion process reverse to the processing performed by the Byte Packing unit 362 of the transmission unit 322, on the 16-byte unit packing data supplied from the payload error correction unit 424.
- the Byte Unpacking unit 425 outputs the data obtained by performing Byte Unpacking to the payload data acquisition unit 431.
- data of a predetermined bit unit is collectively output from the Byte ⁇ Unpacking unit 425 to the payload data acquisition unit 431.
- Byte Unpacking unit 425 also removes dummy data and performs Byte Unpacking on data other than dummy data when dummy data is included in the packing data constituting the payload data.
- the fact that dummy data is included in the packing data is specified based on detecting, for example, 120-bit continuous dummy data as described above.
- the number of bits of dummy data included in the packing data is specified by 8 bits following the 120-bit dummy data.
- the reception unit 331 includes a payload data acquisition unit 431 as an adaptation layer configuration.
- the payload data acquisition unit 431 acquires the data supplied from the Byte Unpacking unit 425, and transmits information in units of the same bit width as the bit width of the data input from the data input unit 342 to the payload data generation unit 351 in the transmission-side LSI 311.
- the data is output to the processing unit 332.
- step S101 the information processing unit 321 of the transmission side LSI 311 processes various data, and outputs the transmission target data to the transmission unit 322 in units of a predetermined bit width of 8 to 144 bits.
- step S102 the transmission unit 322 performs data transmission processing.
- a packet in which the data to be transmitted is stored in the payload is generated, and the packet data is transmitted to the reception unit 331.
- the data transmission process will be described later with reference to the flowchart of FIG.
- step S103 the reception unit 331 of the reception-side LSI 312 performs data reception processing.
- data transmitted from the transmission unit 322 is received, and data selected as data to be transmitted by the transmission-side LSI 311 is output to the information processing unit 332.
- the data reception process will be described later with reference to the flowchart of FIG.
- step S104 the information processing unit 332 acquires the data supplied from the receiving unit 331.
- step S105 the information processing unit 332 performs various processes based on the acquired data, and ends the process.
- step S111 the payload data generation unit 351 generates payload data by dividing the transmission target data supplied from the data input unit 342 into predetermined sizes.
- step S112 the Byte Packing unit 362 converts the payload data supplied from the payload data generation unit 351 into packing data of a predetermined unit such as 16 bytes.
- step S113 the payload ECC insertion unit 363 calculates an error correction code based on the Basic block or Extra block configured from the payload data, and inserts the parity obtained by the calculation into the payload data.
- step S114 the packet generation unit 364 outputs the data supplied from the payload ECC insertion unit 363 to the lane distribution unit 365 as packet data.
- step S115 the lane distribution unit 365 allocates the packet data supplied from the packet generation unit 364 to a plurality of lanes used for data transmission.
- step S116 the control code insertion unit 391 adds a control code to the packet data supplied from the lane distribution unit 365.
- step S117 the 8B10B symbol encoder 392 performs 8B10B conversion of the packet data to which the control code is added, and outputs the packet data converted into 10-bit unit data.
- step S118 the synchronization unit 393 outputs the packet data supplied from the 8B10B symbol encoder 392 in accordance with the clock signal generated by the clock generation unit 382 and causes the transmission unit 394 to transmit the packet data.
- the processing in steps S116 to S118 is performed in parallel by the signal processing units 383-0 to 383-N. After the packet data is transmitted, the process returns to step S102 in FIG. 42, and the subsequent processing is performed.
- step S131 the reception unit 411 receives a signal representing packet data transmitted from the transmission unit 322.
- the processing in steps S131 to S136 is performed in parallel by the signal processing units 402-0 to 402-N.
- step S132 the clock generation unit 412 performs bit synchronization by detecting the edge of the signal supplied from the reception unit 411.
- Synchronizing section 413 samples the signal received by receiving section 411 and outputs packet data to symbol synchronizing section 414.
- step S133 the symbol synchronization unit 414 performs symbol synchronization by detecting a control code included in the packet data.
- step S134 the 10B8B symbol decoder 415 performs 10B8B conversion on the packet data after symbol synchronization, and outputs packet data converted into 8-bit unit data.
- step S135 the skew correction unit 416 detects Deskew16Code, and corrects Data Skew between lanes so that the timing of Deskew Code matches the timing represented by the information supplied from the PHY-RX state control unit 401. To do.
- step S136 the control code removing unit 417 removes the control code added to the packet data.
- step S137 the lane integration unit 422 integrates the packet data supplied from the signal processing units 402-0 to 402-N.
- step S138 the packet separation unit 423 outputs the packet data integrated by the lane integration unit 422 to the payload error correction unit 424 as payload data.
- step S139 the payload error correction unit 424 performs error correction on the payload data based on the parity inserted in the payload data supplied from the packet separation unit 423.
- step S140 the Byte Unpacking unit 425 performs a conversion process opposite to Byte Packing on the payload data supplied from the payload error correction unit 424.
- the Byte Unpacking unit 425 outputs the obtained data to the payload data acquisition unit 431.
- step S141 the payload data acquisition unit 431 outputs the data supplied from the Byte Unpacking unit 425 to the information processing unit 332 in units of a predetermined bit width. Thereafter, the processing returns to step S103 in FIG. 42 and the subsequent processing is performed.
- Data transmission using the general-purpose I / F between the transmission-side LSI 311 and the reception-side LSI 312 is performed as described above.
- Various types of data can be transmitted using the general-purpose I / F.
- the communication link is a data transmission path between the imaging unit and the image processing unit in terms of CIS I / F, and a data transmission path between two information processing units in terms of general-purpose I / F.
- An array of data having the data structure as described above is transmitted as a data stream via a communication link.
- the transmission system shown in FIG. 1 and FIG. 33 is a system using one communication link because only one pair of a transmission unit and a reception unit is provided and data transmission is performed using one path.
- the transmission system shown in FIG. 2 and FIG. 34 is a system using two communication links because two sets of transmission units and reception units are provided and data transmission is performed using two paths.
- the transmission system shown in FIGS. 3 and 35 is the same.
- the communication link is referred to as a single communication link. Further, when there are a plurality of communication links used in the transmission system, the communication links are referred to as multi-communication links.
- FIG. 45 is a diagram illustrating an example of a process flow of a single communication link.
- the single communication link in the CIS I / F will be described, but the same applies to the general-purpose I / F.
- the communication link # 0, which is a single communication link, includes a link layer and a physical layer of the transmission unit 22, a transmission path between the transmission unit 22 and the reception unit 31, a physical layer of the reception unit 31, and It is a route composed of a link layer.
- the reference timing is a signal indicating a timing that is a reference for processing.
- Pixel toByte conversion, packet generation, and lane distribution are sequentially performed as main processes.
- control code insertion In each lane of the physical layer, control code insertion, 8B10B conversion, synchronization (symbol synchronization and bit synchronization), and data transmission are sequentially performed as main processes.
- the processing of the physical layer of the transmission unit 22 is performed in parallel in each lane (each of the signal processing units 83-0 to 83-N).
- synchronization processing is not performed on the transmission side, data obtained by 8B10B conversion is transmitted as it is.
- the same reference timing is input to each lane of the physical layer as indicated by arrow A2. In each lane, processing is performed according to the reference timing.
- each lane of the physical layer the timing of the data in each lane varies depending on the data to be processed and the characteristics of the signal processing unit.
- the shift in data timing appears as Inter-lane Data Skew as indicated by arrow A3.
- the data output from each lane of the physical layer is input to the receiving unit 31 with inter-lane Data Skew as indicated by an arrow A11.
- the processing of the physical layer of the receiving unit 31 is also performed in parallel in each lane (each of the signal processing units 102-0 to 102-N).
- data reception, synchronization, 10B8B conversion, and Deskew are sequentially performed as main processes.
- data from which the inter-lane Data Skew has been removed is obtained as indicated by an arrow A12.
- Data from which the inter-lane Data Skew is removed is output from each lane of the physical layer to the link layer.
- link layer of the receiving unit 31 lane integration, packet separation, and Byte-to-Pixel conversion are sequentially performed as main processes.
- the link layer processing is performed after the data output from each lane is integrated into one system of data.
- transmission target data is output according to a predetermined reference timing as indicated by an arrow A13.
- data transmission by the CIS I / F and the general-purpose I / F is performed by removing the inter-lane Data ⁇ ⁇ ⁇ Skew generated in the physical layer on the transmission side in the physical layer on the reception side.
- FIG. 46 is a diagram showing an example of the flow of processing of a multi-communication link. The description overlapping with that described with reference to FIG. 45 will be omitted as appropriate.
- the 46 is composed of communication link # 0 and communication link # 1.
- the communication link # 0 is realized by a set of the transmission unit 22-1 and the reception unit 31-1 in FIG. 2
- the communication link # 1 is realized by a set of the transmission unit 22-2 and the reception unit 31-2.
- the communication link # 0 includes the link layer and physical layer of the transmission unit 22-1, the transmission path between the transmission unit 22-1 and the reception unit 31-1, and the physical layer and link of the reception unit 31-1.
- the communication link # 1 includes a link layer and a physical layer of the transmission unit 22-2, a transmission path between the transmission unit 22-2 and the reception unit 31-2, and a physical layer and a link layer of the reception unit 31-2. This is a path composed of
- Data input to the link layer of the transmission unit 22-1 constituting the communication link # 0 and data input to the link layer of the transmission unit 22-2 constituting the communication link # 1 are indicated by the arrows A21-0 and A21- 1 is performed according to the same reference timing.
- the above-described link layer processing is performed independently.
- the data distributed to each lane is output from the link layer of the transmission unit 22-1 to the physical layer. Similarly, data distributed to each lane is output from the link layer of the transmission unit 22-2 to the physical layer.
- This timing shift is caused by a difference in characteristics (such as a shift in operation clock) between the configuration of the transmission layer 22-1 for processing the link layer and the configuration of the transmission unit 22-2 for processing the link layer.
- inter-communication link data skew the data timing shift that occurs in the link layers of different communication links.
- inter-communication link Data ⁇ ⁇ ⁇ Skew is different from the inter-lane Data Skew that is removed using the Deskew Code.
- control code insertion In each lane of the physical layer, control code insertion, 8B10B conversion, synchronization, and data transmission are performed in order.
- the physical layer processing of the transmission units 22-1 and 22-2 is performed in parallel in each lane.
- the data output from each lane of the physical layer of the transmission unit 22-1 constituting the communication link # 0 is generated between the communication links Data ⁇ ⁇ ⁇ Skew generated in the link layer and in the physical layer as indicated by an arrow A23-0. Data Skew between lanes will be included together.
- data output from each lane of the physical layer of the transmission unit 22-2 constituting the communication link # 1 includes, as indicated by an arrow A23-1, an inter-communication link Data Skew generated in the link layer and a physical layer.
- the inter-lane Data Skew generated in the above is included together.
- data including inter-communication link data “Skew” and inter-lane data “Skew” is input as indicated by arrows A31-0 and A31-1.
- the data from which the inter-lane Data Skew has been removed is output from each lane of the physical layer to the link layer. Note that only the inter-lane Data Skew is removed by Deskew in each lane of the physical layer, and the inter-communication link Data Skew is not removed.
- the link layer of the receiving unit 31-2 constituting the communication link # 1 lane integration, packet separation, and Byte-to-Pixel conversion are sequentially performed. From the link layer to the application layer, the data with the communication link Data Skew remaining is output as indicated by an arrow A33-1.
- an inter-communication link Data Skew is generated and added to data to be processed.
- FIG. 47 is a diagram illustrating another configuration example of the transmission system 301. 47, the same components as those illustrated in FIG. 34 are denoted by the same reference numerals. The overlapping description will be omitted as appropriate.
- reception state control unit 601 is provided in the reception-side LSI 312.
- the transmission system 301 shown in FIG. The multi-communication link in the general-purpose I / F will be described, but the same applies to the CIS-I / F.
- Communication link # 0 is realized by the combination of the transmission unit 322-1 provided in the transmission-side LSI 311 and the reception unit 331-1 provided in the reception-side LSI 312. Further, the communication link # 1 is realized by a set of the transmission unit 322-2 provided in the transmission-side LSI 311 and the reception unit 331-2 provided in the reception-side LSI 312.
- the reception state control unit 601 detects Data Skew between communication links based on the data reception state in the reception unit 331-1 and the data reception state in the reception unit 331-2.
- reception state control unit 601 corrects the inter-communication link Data Skew by controlling the timing of data processed by the receiving unit 331-1 and the timing of data processed by the receiving unit 331-2.
- the reception state control unit 601 functions as a control unit that corrects Data Skew between communication links.
- FIG. 48 is a diagram illustrating a configuration example of the transmission-side LSI 311 and the reception-side LSI 312.
- FIG. 48 the same components as those shown in FIG. 37 are denoted by the same reference numerals. The overlapping description will be omitted as appropriate. The same applies to FIG. 51, FIG. 53, and the like described later.
- the reception state control unit 601 is connected to the PHY-RX state control unit 401 of the reception unit 331-1 and to the PHY-RX state control unit 401 of the reception unit 331-2. .
- the PHY-RX state control unit 401 is shown as the configuration of the reception unit 331-2, and illustration of other configurations is omitted.
- the receiving unit 331-2 is also provided with the same configuration as that of the receiving unit 331-1 including the PHY-RX state control unit 401.
- FIG. 48 only the transmission unit 322-1 that realizes the communication link # 0 together with the reception unit 331-1 is shown as the configuration of the transmission unit.
- a transmission unit 322-2 that implements the communication link # 1 is also provided together with the reception unit 331-2.
- the reception unit 331-2 receives the data transmitted from the transmission unit 322-2 and outputs the data to the information processing unit 332.
- Each skew correction unit 416 of the signal processing units 402-0 to 402-N of the reception unit 331-1 detects Deskew Code and outputs detection timing information to the PHY-RX state control unit 401. Also, each skew correction unit 416 corrects the timing of the detected Deskew Code according to control by the PHY-RX state control unit 401.
- the correction timing is set by the reception state control unit 601 so as to correct the communication link Data Skew.
- the PHY-RX state control unit 401 of the reception unit 331-1 receives the information on the detection timing of DeskewDe code supplied from the skew correction units 416 of the signal processing units 402-0 to 402-N as the reception state control unit 601. Output to.
- the PHY-RX state control unit 401 controls the operations of the respective skew correction units 416 of the signal processing units 402-0 to 402-N.
- Each unit of the reception unit 331-2 performs the same processing as each unit of the reception unit 331-1.
- each of the skew correction units 416 (none of which is shown) of the signal processing units 402-0 to 402-N of the reception unit 331-2 detects Deskew Code, and uses the PHY- The data is output to the RX state control unit 401. Also, each skew correction unit 416 corrects the timing of the detected Deskew Code according to control by the PHY-RX state control unit 401.
- the PHY-RX state control unit 401 of the reception unit 331-2 receives the information on the detection timing of Deskew code supplied from the respective skew correction units 416 of the signal processing units 402-0 to 402-N as the reception state control unit 601. Output to.
- the PHY-RX state control unit 401 controls the operations of the respective skew correction units 416 of the signal processing units 402-0 to 402-N.
- the reception state control unit 601 includes the detection timing information supplied from the PHY-RX state control unit 401 of the reception unit 331-1 and the detection timing supplied from the PHY-RX state control unit 401 of the reception unit 331-2. Receive information.
- the reception state control unit 601 sets the correction timing based on the timing of Deskew code detected in each lane of the reception unit 331-1 and each lane of the reception unit 331-2.
- FIG. 49 is a diagram showing an example of setting correction timing.
- Such information of detection timing is supplied from the PHY-RX state control unit 401 of the reception unit 331-1 to the reception state control unit 601.
- Such detection timing information is supplied from the PHY-RX state control unit 401 of the reception unit 331-2 to the reception state control unit 601.
- Deskew Code C1 detected in each lane is corresponding data inserted at the same timing in communication link # 0 and communication link # 1 (physical layers of transmission unit 322-1 and transmission unit 322-2).
- Desk Code C2 detected in each lane is corresponding data inserted at the same timing in communication link # 0 and communication link # 1.
- the reception state control unit 601 uses the latest timing t17 of the detection timings of Lane 0 to 3 of communication link # 0 and Lanes 4 to 7 of communication link # 1 as the correction timing of Deskew ⁇ ⁇ ⁇ ⁇ Code C1, for example. Set.
- reception state control unit 601 uses, for example, the latest timing t27 of the detection timings of Lane 0 to 3 of communication link # 0 and Lanes 4 to 7 of communication link # 1 as the correction timing of Deskew Code C2. Set.
- the reception state control unit 601 outputs the correction timing information set in this way to the PHY-RX state control unit 401 of the reception unit 331-1 and the PHY-RX state control unit 401 of the reception unit 331-2.
- each of the skew correction units 416 of the signal processing units 402-0 to 402-N of the reception unit 331-1 according to control by the PHY-RX state control unit 401, the timing of Deskew Code C1 is synchronized with the timing of time t17. In this way Deskew is performed. Further, Deskew is performed so that the timing of Deskew Code C2 matches the timing of time t27. Deskew Code timing correction is performed using a FIFO provided in each skew correction unit 416.
- each of the skew correction units 416 of the signal processing units 402-0 to 402-N of the reception unit 331-2 according to control by the PHY-RX state control unit 401, the timing of Deskew Code C1 is changed to the timing of time t17. Deskew is performed to match. Further, Deskew is performed so that the timing of Deskew Code C2 matches the timing of time t27. Deskew Code timing correction is performed using a FIFO provided in each skew correction unit 416.
- the Deskew Code whose timing is corrected in this way is output from the skew correction unit 416.
- the process shown at the left end of FIG. 50 is the process of the reception unit 331-1 that realizes the communication link # 0.
- the process shown in the center is the process of the reception unit 331-2 that realizes the communication link # 1.
- the process shown at the right end is the process of the reception state control unit 601.
- the data transmitted from the transmission unit 322-1 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data transmitted from the transmission unit 322-2 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- each skew correction unit 416 of the signal processing units 402-0 to 402-N of the reception unit 331-1 detects Deskew Code. Information on the detection timing is supplied to the PHY-RX state control unit 401 of the reception unit 331-1.
- step S302 the PHY-RX state control unit 401 of the reception unit 331-1 receives the information about the detection timing of Deskew code supplied from the respective skew correction units 416 of the signal processing units 402-0 to 402-N. The data is output to the state control unit 601.
- step S311 the skew correction units 416 of the signal processing units 402-0 to 402-N of the reception unit 331-2 detect Deskew Code. Information on the detection timing is supplied to the PHY-RX state control unit 401 of the reception unit 331-2.
- step S312 the PHY-RX state control unit 401 of the reception unit 331-2 receives the information on the detection timing of Deskew Code supplied from the respective skew correction units 416 of the signal processing units 402-0 to 402-N. The data is output to the state control unit 601.
- step S321 the reception state control unit 601 receives the information supplied from the PHY-RX state control unit 401 of the reception unit 331-1.
- step S322 the reception state control unit 601 receives information supplied from the PHY-RX state control unit 401 of the reception unit 331-2.
- step S323 the reception state control unit 601 sets the correction timing as described above based on the timing of Deskew Code detected in each lane of the reception unit 331-1 and each lane of the reception unit 331-2. .
- step S324 the reception state control unit 601 outputs correction timing information to the PHY-RX state control unit 401 of the reception unit 331-1 and the PHY-RX state control unit 401 of the reception unit 331-2.
- step S303 the PHY-RX state control unit 401 of the reception unit 331-1 receives the correction timing information supplied from the reception state control unit 601.
- step S304 the PHY-RX state control unit 401 of the reception unit 331-1 outputs a control signal indicating correction timing to the skew correction units 416 of the signal processing units 402-0 to 402-N.
- each of the skew correction units 416 of the signal processing units 402-0 to 402-N of the reception unit 331-1 adjusts the timing of Deskew Code to the correction timing so that the data Skew between communication links and Data Skew between lanes Is corrected and output.
- step S313 the PHY-RX state control unit 401 of the reception unit 331-2 receives the correction timing information supplied from the reception state control unit 601.
- step S314 the PHY-RX state control unit 401 of the reception unit 331-2 outputs a control signal indicating correction timing to each skew correction unit 416 of the signal processing units 402-0 to 402-N.
- each of the skew correction units 416 of the signal processing units 402-0 to 402-N of the reception unit 331-2 matches the timing of Deskew Code with the correction timing, thereby inter-communication data Skew and inter-lane Data Skew. Is corrected and output.
- each lane in which the inter-data link data Skew and the inter-lane data Skew have been corrected are integrated as one system data in the link layer, and then each process is performed. Data obtained by the link layer processing is supplied from the link layer to the application layer.
- the above processing is performed, for example, every time Deskew Code is detected in each lane of a plurality of communication links.
- the correction timing is set based on the detection timing of Deskew Code, it may be set based on the timing of other data detected in the physical layer. For example, the correction timing may be set based on the detection timing of a predetermined symbol detected in each lane and the detection timing of other control codes such as Start Code and End Code.
- the structure of data generated on the transmission side is the same regardless of the communication link used for transmission. As long as the data constituting the data group (data stream) having the above-described structure is arranged at the same position (timing) in each communication link, any data can be corrected. Can be used to set
- FIG. 51 is a diagram illustrating another configuration example of the transmission-side LSI 311 and the reception-side LSI 312.
- the reception state control unit 601 is connected to the packet separation unit 423 of the reception unit 331-1 and to the packet separation unit 423 of the reception unit 331-2.
- the packet separation unit 423 is shown as the configuration of the reception unit 331-2, and illustration of the other configuration is omitted.
- the receiving unit 331-2 is also provided with the same configuration as the receiving unit 331-1 including the packet separating unit 423.
- data transmission is performed using a multi-communication link including the communication link # 0 and the communication link # 1.
- the packet separation unit 423 of the reception unit 331-1 detects the payload data of each packet from the data integrated by the lane integration unit 422, and outputs detection timing information to the reception state control unit 601. Further, the packet separation unit 423 corrects the timing of the detected payload data so as to match the correction timing set by the reception state control unit 601, and outputs the result. The output timing of the payload data is corrected. The correction of the output timing of the payload data is performed using a FIFO provided in the packet separation unit 423.
- the packet separation unit 423 of the reception unit 331-2 performs the same processing as the packet separation unit 423 of the reception unit 331-1.
- the packet separation unit 423 of the reception unit 331-2 detects the payload data of each packet from the data integrated by the lane integration unit 422, and outputs detection timing information to the reception state control unit 601. Further, the packet separation unit 423 corrects the timing of the detected payload data so as to match the correction timing set by the reception state control unit 601, and outputs the result. The correction of the output timing of the payload data is performed using a FIFO provided in the packet separation unit 423.
- the reception state control unit 601 receives the detection timing information supplied from the packet separation unit 423 of the reception unit 331-1 and the detection timing information supplied from the packet separation unit 423 of the reception unit 331-2.
- the reception state control unit 601 sets the correction timing based on the detection timing of the payload data in the packet separation unit 423 of the reception unit 331-1 and the detection timing of the payload data in the packet separation unit 423 of the reception unit 331-2.
- the latest timing among the detection timings of the corresponding payload data detected by the packet separator 423 of the receiver 331-1 and the packet separator 423 of the receiver 331-2 is set as the correction timing.
- the reception state control unit 601 outputs the correction timing information set in this way to the packet separation unit 423 of the reception unit 331-1 and the packet separation unit 423 of the reception unit 331-2.
- the data transmitted from the transmission unit 322-1 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422 and output to the packet separation unit 423. Since the physical layer processing is performed, the data supplied to the packet separation unit 423 is corrected data for the inter-lane Data Skew.
- the data transmitted from the transmission unit 322-2 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422 and output to the packet separation unit 423.
- step S351 the packet separation unit 423 of the reception unit 331-1 detects the payload data of each packet from the data integrated by the lane integration unit 422.
- step S352 the packet separation unit 423 of the reception unit 331-1 outputs information on the detection timing of payload data to the reception state control unit 601.
- step S361 the packet separation unit 423 of the reception unit 331-2 detects the payload data of each packet from the data integrated by the lane integration unit 422.
- step S362 the packet separation unit 423 of the reception unit 331-2 outputs information on the detection timing of payload data to the reception state control unit 601.
- step S371 the reception state control unit 601 receives the information supplied from the packet separation unit 423 of the reception unit 331-1.
- step S372 the reception state control unit 601 receives the information supplied from the packet separation unit 423 of the reception unit 331-2.
- step S373 the reception state control unit 601 sets the correction timing based on the timing of the corresponding payload data detected in the communication link # 0 and the communication link # 1.
- step S374 the reception state control unit 601 outputs the correction timing information to the packet separation unit 423 of the reception unit 331-1 and the packet separation unit 423 of the reception unit 331-2.
- step S353 the packet separation unit 423 of the reception unit 331-1 receives the correction timing information supplied from the reception state control unit 601.
- step S354 the packet separation unit 423 of the reception unit 331-1 corrects and outputs the communication link Data ⁇ ⁇ ⁇ Skew by matching the timing of the detected payload data with the correction timing.
- step S363 the packet separation unit 423 of the reception unit 331-2 receives the correction timing information supplied from the reception state control unit 601.
- step S364 the packet separation unit 423 of the reception unit 331-2 corrects and outputs the communication link Data ⁇ ⁇ ⁇ Skew by matching the timing of the detected payload data with the correction timing.
- the above processing is performed, for example, every time payload data is detected in each communication link.
- the correction timing is set based on the detection timing of payload data, it may be set based on the timing of other data detected in the link layer. For example, when the header information is included in the payload data, the correction timing can be set based on the detection timing of the corresponding header information.
- the correction timing may be set based on the detection timing of the parity included in the payload data, or the correction timing may be set based on the detection timing of predetermined packing data constituting the payload data. Good.
- the correction between the communication links DatawSkew is performed by the payload error correction unit 424.
- the correction between the communication links Data ⁇ ⁇ ⁇ Skew is performed by the Byte Unpacking unit 425.
- FIG. 53 is a diagram illustrating another configuration example of the transmission-side LSI 311 and the reception-side LSI 312.
- the reception state control unit 601 is connected to the payload data acquisition unit 431 of the reception unit 331-1 and to the payload data acquisition unit 431 of the reception unit 331-2.
- the reception unit 331-2 is also provided with the same configuration as that of the reception unit 331-1 including the payload data acquisition unit 431.
- data transmission is performed using a multi-communication link including the communication link # 0 and the communication link # 1.
- the payload data acquisition unit 431 of the reception unit 331-1 acquires the payload data of each packet supplied from the BytepackUnpacking unit 425 of the link layer, and outputs acquisition timing information to the reception state control unit 601. Also, the payload data acquisition unit 431 corrects the timing of the detected payload data so as to match the correction timing set by the reception state control unit 601, and outputs it. The output timing of the payload data is corrected. The correction of the output timing of the payload data is performed using a FIFO provided in the payload data acquisition unit 431.
- the payload data acquisition unit 431 of the reception unit 331-2 performs the same processing as the payload data acquisition unit 431 of the reception unit 331-1.
- the payload data acquisition unit 431 of the reception unit 331-2 acquires the payload data of each packet supplied from the Byte Unpacking unit 425 of the link layer, and outputs the acquisition timing information to the reception state control unit 601. Also, the payload data acquisition unit 431 corrects the timing of the acquired payload data so as to match the correction timing set by the reception state control unit 601, and outputs it. The correction of the output timing of the payload data is performed using a FIFO provided in the payload data acquisition unit 431.
- the reception state control unit 601 receives the acquisition timing information supplied from the payload data acquisition unit 431 of the reception unit 331-1 and the acquisition timing information supplied from the payload data acquisition unit 431 of the reception unit 331-2. .
- the reception state control unit 601 sets the correction timing based on the payload data acquisition timing in the payload data acquisition unit 431 of the reception unit 331-1 and the payload data acquisition timing in the payload data acquisition unit 431 of the reception unit 331-2. To do.
- the latest timing among the timings of the corresponding payload data acquired in the payload data acquisition unit 431 of the reception unit 331-1 and the payload data acquisition unit 431 of the reception unit 331-2 is set as the correction timing.
- the reception state control unit 601 outputs the correction timing information set in this way to the payload data acquisition unit 431 of the reception unit 331-1 and the payload data acquisition unit 431 of the reception unit 331-2.
- the data transmitted from the transmission unit 322-1 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422, and each process of the link layer is performed.
- the payload data of each packet is output from the link layer to the payload data acquisition unit 431 of the adaptation layer. Since physical layer processing is performed, the data supplied to the payload data acquisition unit 431 is corrected data for the inter-lane Data Skew.
- the data transmitted from the transmission unit 322-2 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422, and each process of the link layer is performed.
- the payload data of each packet is output from the link layer to the payload data acquisition unit 431 of the adaptation layer.
- step S401 the payload data acquisition unit 431 of the reception unit 331-1 acquires the payload data of each packet supplied from the Byte Unpacking unit 425.
- step S402 the payload data acquisition unit 431 of the reception unit 331-1 outputs information on the acquisition timing of payload data to the reception state control unit 601.
- step S411 the payload data acquisition unit 431 of the reception unit 331-2 acquires the payload data of each packet supplied from the Byte / Unpacking unit 425.
- step S412 the payload data acquisition unit 431 of the reception unit 331-2 outputs information on the acquisition timing of the payload data to the reception state control unit 601.
- step S421 the reception state control unit 601 receives the information supplied from the payload data acquisition unit 431 of the reception unit 331-1.
- step S422 the reception state control unit 601 receives information supplied from the payload data acquisition unit 431 of the reception unit 331-2.
- step S423 the reception state control unit 601 corrects the correction timing based on the timing of the corresponding payload data acquired in the payload data acquisition unit 431 of the reception unit 331-1 and the payload data acquisition unit 431 of the reception unit 331-2. Set.
- step S424 the reception state control unit 601 outputs the correction timing information to the payload data acquisition unit 431 of the reception unit 331-1 and the payload data acquisition unit 431 of the reception unit 331-2.
- step S403 the payload data acquisition unit 431 of the reception unit 331-1 receives the correction timing information supplied from the reception state control unit 601.
- step S404 the payload data acquisition unit 431 of the reception unit 331-1 corrects and outputs Data Skew between communication links by matching the timing of the acquired payload data with the correction timing.
- step S413 the payload data acquisition unit 431 of the reception unit 331-2 receives the correction timing information supplied from the reception state control unit 601.
- step S414 the payload data acquisition unit 431 of the reception unit 331-2 corrects and outputs Data Skew between communication links by matching the timing of the acquired payload data with the correction timing.
- Predetermined processing is performed in the application layer for the payload data whose inter-communication link Data Skew has been corrected.
- the above processing is performed each time payload data is acquired in each communication link, for example.
- the system control unit 441 of the information processing unit 332 sets the correction timing based on the acquisition timing of the payload data supplied from the reception unit 331-1 and the acquisition timing of the payload data supplied from the reception unit 331-2. Set.
- the data output unit 442 acquires the payload data supplied from the receiving unit 331-1 and the payload data supplied from the receiving unit 331-2.
- the data output unit 442 corrects the timing of the acquired payload data so as to match the correction timing set by the system control unit 441, and outputs the corrected payload data.
- the output timing of the payload data is corrected.
- the correction of the output timing of the payload data is performed using a FIFO provided in the data output unit 442.
- reception state control unit 601 is not necessary.
- the data transmitted from the transmission unit 322-1 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422, and each process of the link layer is performed.
- the payload data of each packet is output from the link layer to the payload data acquisition unit 431 of the adaptation layer. Since physical layer processing is performed, the data supplied to the payload data acquisition unit 431 is corrected data for the inter-lane Data Skew.
- the data transmitted from the transmission unit 322-2 is received by the signal processing unit of each lane, and each process of the physical layer is performed.
- the data of each lane output from the physical layer is integrated as one line of data by the lane integration unit 422, and each process of the link layer is performed.
- the payload data of each packet is output from the link layer to the payload data acquisition unit 431 of the adaptation layer.
- step S441 the payload data acquisition unit 431 of the reception unit 331-1 acquires the payload data of each packet supplied from the Byte Unpacking unit 425.
- step S442 the payload data acquisition unit 431 of the reception unit 331-1 outputs the payload data to the application layer.
- step S451 the payload data acquisition unit 431 of the reception unit 331-2 acquires the payload data of each packet supplied from the Byte / Unpacking unit 425.
- step S452 the payload data acquisition unit 431 of the reception unit 331-2 outputs the payload data to the application layer.
- step S461 the data output unit 442 of the information processing unit 332 receives the payload data supplied from the payload data acquisition unit 431 of the reception unit 331-1.
- step S462 the data output unit 442 of the information processing unit 332 receives the payload data supplied from the payload data acquisition unit 431 of the reception unit 331-2.
- step S463 the system control unit 441 of the information processing unit 332 sets the correction timing based on the timing of the corresponding payload data.
- step S464 the data output unit 442 of the information processing unit 332 corrects and outputs Data Skew between communication links by matching the timing of the acquired payload data with the correction timing.
- the above processing is performed, for example, every time payload data is supplied from each communication link to the application layer.
- FIG. 56 is a diagram illustrating another configuration example of the transmission system 301.
- the transmission system 301 shown in FIG. 56 differs from the configuration shown in FIG. 47 in that a transmission state control unit 611 corresponding to the reception state control unit 601 is provided in the transmission side LSI 311.
- the multi-communication link in the general-purpose I / F will be described, but the same applies to the CIS-I / F.
- FIG. 57 is a diagram illustrating a configuration example of the transmission-side LSI 311 and the reception-side LSI 312 in FIG.
- the PHY-TX state control unit 381 is shown as the configuration of the transmission unit 322-2, and illustration of other configurations is omitted.
- the transmission unit 322-2 is also provided with the same configuration as that of the transmission unit 322-1 including the PHY-TX state control unit 381.
- FIG. 57 only the receiving unit 331-1 that realizes the communication link # 0 together with the transmitting unit 322-1 is shown as a configuration on the receiving side.
- a receiving unit 331-2 that implements communication link # 1 is also provided together with the transmitting unit 322-2.
- the reception unit 331-2 receives the data transmitted from the transmission unit 322-2 and outputs the data to the information processing unit 332.
- the transmission state control unit 611 is connected to the PHY-TX state control unit 381 of the transmission unit 322-1 and is also connected to the PHY-TX state control unit 381 of the transmission unit 322-2. .
- the PHY-TX state control unit 381 of the transmission unit 322-1 outputs the control timing information for the signal processing units 383-0 to 383-N to the transmission state control unit 611.
- the PHY-TX state control unit 381 outputs information on the insertion timing of a predetermined control code.
- the PHY-TX state control unit 381 of the transmission unit 322-1 includes signal processing units 383-0 to 383-N so that a control code is inserted in accordance with the correction timing set by the transmission state control unit 611. The operation of each control code insertion unit 391 is controlled.
- the control code insertion units 391 of the signal processing units 383-0 to 383-N of the transmission unit 322-1 insert control codes according to control by the PHY-TX state control unit 381.
- Each unit of the transmission unit 322-2 performs the same processing as each unit of the transmission unit 322-1.
- the PHY-TX state control unit 381 of the transmission unit 322-2 outputs the control timing information for the signal processing units 383-0 to 383-N to the transmission state control unit 611.
- the PHY-TX state control unit 381 of the transmission unit 322-2 has signal processing units 383-0 to 383-N so that a control code is inserted in accordance with the correction timing set by the transmission state control unit 611. The operation of each control code insertion unit 391 is controlled.
- control code insertion units 391 of the signal processing units 383-0 to 383-N of the transmission unit 322-2 insert control codes according to control by the PHY-TX state control unit 381.
- the transmission state control unit 611 receives the information supplied from the PHY-TX state control unit 381 of the transmission unit 322-1 and the information supplied from the PHY-TX state control unit 381 of the transmission unit 322-2.
- the transmission state control unit 611 is configured to insert a predetermined control code by the PHY-TX state control unit 381 of the transmission unit 322-1 and insert a predetermined control code by the PHY-TX state control unit 381 of the transmission unit 322-2.
- the correction timing is set based on the above.
- the transmission state control unit 611 outputs the correction timing information set in this way to the PHY-TX state control unit 381 of the transmission unit 322-1 and the PHY-TX state control unit 381 of the transmission unit 322-2.
- the transmission state control unit 611 corrects the communication link Data Skew by controlling the timing of data processed by the transmission unit 322-1 and the timing of data processed by the transmission unit 322-2.
- the transmission state control unit 611 functions as a control unit that corrects Data Skew between communication links.
- the process shown at the left end of FIG. 58 is the process of the transmission unit 322-1 that realizes the communication link # 0.
- the process shown in the center is the process of the transmission unit 322-2 that realizes the communication link # 1.
- the process shown at the right end is the process of the transmission state control unit 611.
- each link layer process is performed on the transmission target data, and the data distributed to each lane is output to the physical layer signal processing units 383-0 to 383-N.
- each link layer process is performed on the transmission target data, and the data distributed to each lane is output to the physical layer signal processing units 383-0 to 383-N.
- step S501 the PHY-TX state control unit 381 of the transmission unit 322-1 outputs information on the insertion timing of a predetermined control code to the transmission state control unit 611.
- step S511 the PHY-TX state control unit 381 of the transmission unit 322-2 outputs information on the insertion timing of the corresponding predetermined control code to the transmission state control unit 611.
- step S521 the transmission state control unit 611 receives the information supplied from the PHY-TX state control unit 381 of the transmission unit 322-1.
- step S522 the transmission state control unit 611 receives the information supplied from the PHY-TX state control unit 381 of the transmission unit 322-2.
- step S523 the transmission state control unit 611 sets the correction timing based on the control code insertion timing in the transmission unit 322-1 and the control code insertion timing in the transmission unit 322-2.
- step S524 the transmission state control unit 611 outputs correction timing information to the PHY-TX state control unit 381 of the transmission unit 322-1 and the PHY-TX state control unit 381 of the transmission unit 322-2.
- step S502 the PHY-TX state control unit 381 of the transmission unit 322-1 receives the correction timing information supplied from the transmission state control unit 611.
- step S503 the PHY-TX state control unit 381 of the transmission unit 322-1 outputs a control signal indicating correction timing to the control code insertion units 391 of the signal processing units 383-0 to 383-N.
- each control code insertion unit 391 of the signal processing units 383-0 to 383-N of the transmission unit 322-1 inserts a control code in accordance with the correction timing represented by the control signal, thereby performing communication. Correct the Data Skew between links.
- step S512 the PHY-TX state control unit 381 of the transmission unit 322-2 receives the correction timing information supplied from the transmission state control unit 611.
- step S513 the PHY-TX state control unit 381 of the transmission unit 322-2 outputs a control signal indicating correction timing to the control code insertion units 391 of the signal processing units 383-0 to 383-N.
- step S514 the control code insertion unit 391 of each of the signal processing units 383-0 to 383-N of the transmission unit 322-2 inserts a control code in accordance with the correction timing represented by the control signal, thereby performing communication. Correct the Data Skew between links.
- the data of each lane whose inter-communication link Data Skew has been corrected is transmitted to the receiving unit after other processing of the physical layer is performed.
- the inter-communication link Data Skew is corrected by adjusting the insertion timing of the control code, but the inter-communication link Data Skew may be corrected by adjusting the timing of other processing in the physical layer. .
- the correction of inter-communication link data skew is assumed to be performed in any one of the four layers on the receiving side, but the inter-communication link data skew may be corrected in two or more layers. . That is, it is possible to perform correction of the data skew between communication links in at least one of the physical layer, the link layer, the adaptation layer, and the application layer. In the case of CIS I / F, it is possible to perform correction of data skew between communication links in at least one of a physical layer, a link layer, and an application layer.
- the correction between the communication links Data Skew is performed on the reception side or the transmission side, but the correction between the communication links Data Skew may be performed on both the reception side and the transmission side. .
- the number of communication links constituting the multi-communication link is two, it may be three or more.
- the image sensor 11 and the DSP 12 are provided in the same device, but may be provided in different devices.
- the transmission-side LSI 311 and the reception-side LSI 312 may be provided in the same device, or may be provided in different devices.
- FIG. 59 is a block diagram illustrating a configuration example of hardware of a computer that executes the above-described series of processing by a program.
- a CPU Central Processing Unit
- ROM Read Only Memory
- RAM Random Access Memory
- an input / output interface 1005 is connected to the bus 1004.
- the input / output interface 1005 is connected to an input unit 1006 including a keyboard and a mouse, and an output unit 1007 including a display and a speaker.
- the input / output interface 1005 is connected to a storage unit 1008 made up of a hard disk, a non-volatile memory, etc., a communication unit 1009 made up of a network interface, etc., and a drive 1010 that drives a removable medium 1011.
- the CPU 1001 loads the program stored in the storage unit 1008 to the RAM 1003 via the input / output interface 1005 and the bus 1004 and executes it, thereby executing the above-described series of processing. Is done.
- the program executed by the CPU 1001 is recorded in the removable medium 1011 or provided via a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting, and installed in the storage unit 1008.
- a wired or wireless transmission medium such as a local area network, the Internet, or digital broadcasting
- the program executed by the computer may be a program that is processed in time series in the order described in this specification, or in parallel or at a necessary timing such as when a call is made. It may be a program for processing.
- Embodiments of the present technology are not limited to the above-described embodiments, and various modifications can be made without departing from the gist of the present technology.
- the technology according to the present disclosure can be applied to various products.
- the technology according to the present disclosure may be applied to an endoscopic surgery system.
- the above-described image sensor 11 is provided in the endoscope-side housing
- the DSP 12 is provided in the image-processing device-side housing that processes image data transmitted from the endoscope.
- FIG. 60 is a diagram illustrating an example of a schematic configuration of an endoscopic surgery system 5000 to which the technology according to the present disclosure can be applied.
- an endoscopic surgery system 5000 includes an endoscope 5001, other surgical tools 5017, a support arm device 5027 that supports the endoscope 5001, and various devices for endoscopic surgery. And a cart 5037 on which is mounted.
- trocars 5025a to 5025d are punctured into the abdominal wall.
- the lens barrel 5003 of the endoscope 5001 and other surgical tools 5017 are inserted into the body cavity of the patient 5071 from the trocars 5025a to 5025d.
- an insufflation tube 5019, an energy treatment tool 5021, and forceps 5023 are inserted into the body cavity of the patient 5071.
- the energy treatment device 5021 is a treatment device that performs tissue incision and separation, blood vessel sealing, or the like by high-frequency current or ultrasonic vibration.
- the illustrated surgical tool 5017 is merely an example, and as the surgical tool 5017, for example, various surgical tools generally used in endoscopic surgery such as a lever and a retractor may be used.
- the image of the surgical site in the body cavity of the patient 5071 captured by the endoscope 5001 is displayed on the display device 5041.
- the surgeon 5067 performs a treatment such as excision of the affected part, for example, using the energy treatment tool 5021 and the forceps 5023 while viewing the image of the surgical part displayed on the display device 5041 in real time.
- the pneumoperitoneum tube 5019, the energy treatment tool 5021, and the forceps 5023 are supported by an operator 5067 or an assistant during surgery.
- the support arm device 5027 includes an arm portion 5031 extending from the base portion 5029.
- the arm portion 5031 includes joint portions 5033a, 5033b, and 5033c and links 5035a and 5035b, and is driven by control from the arm control device 5045.
- the endoscope 5001 is supported by the arm unit 5031, and the position and posture thereof are controlled. Thereby, the stable position fixing of the endoscope 5001 can be realized.
- the endoscope 5001 includes a lens barrel 5003 in which a region having a predetermined length from the distal end is inserted into the body cavity of the patient 5071, and a camera head 5005 connected to the proximal end of the lens barrel 5003.
- a lens barrel 5003 in which a region having a predetermined length from the distal end is inserted into the body cavity of the patient 5071, and a camera head 5005 connected to the proximal end of the lens barrel 5003.
- an endoscope 5001 configured as a so-called rigid mirror having a rigid lens barrel 5003 is illustrated, but the endoscope 5001 is configured as a so-called flexible mirror having a flexible lens barrel 5003. Also good.
- An opening into which an objective lens is fitted is provided at the tip of the lens barrel 5003.
- a light source device 5043 is connected to the endoscope 5001, and light generated by the light source device 5043 is guided to the tip of the lens barrel by a light guide extending inside the lens barrel 5003. Irradiation is performed toward the observation target in the body cavity of the patient 5071 through the lens.
- the endoscope 5001 may be a direct endoscope, a perspective mirror, or a side endoscope.
- An optical system and an image sensor are provided inside the camera head 5005, and reflected light (observation light) from the observation target is condensed on the image sensor by the optical system. Observation light is photoelectrically converted by the imaging element, and an electrical signal corresponding to the observation light, that is, an image signal corresponding to the observation image is generated.
- the image signal is transmitted to a camera control unit (CCU) 5039 as RAW data.
- CCU camera control unit
- the camera head 5005 is equipped with a function of adjusting the magnification and the focal length by appropriately driving the optical system.
- a plurality of imaging elements may be provided in the camera head 5005 in order to cope with, for example, stereoscopic viewing (3D display).
- a plurality of relay optical systems are provided inside the lens barrel 5003 in order to guide observation light to each of the plurality of imaging elements.
- the CCU 5039 is configured by a CPU (Central Processing Unit), a GPU (Graphics Processing Unit), and the like, and comprehensively controls operations of the endoscope 5001 and the display device 5041. Specifically, the CCU 5039 performs various types of image processing for displaying an image based on the image signal, such as development processing (demosaic processing), for example, on the image signal received from the camera head 5005. The CCU 5039 provides the display device 5041 with the image signal subjected to the image processing. Further, the CCU 5039 transmits a control signal to the camera head 5005 to control the driving thereof.
- the control signal can include information regarding imaging conditions such as magnification and focal length.
- the display device 5041 displays an image based on an image signal subjected to image processing by the CCU 5039 under the control of the CCU 5039.
- the endoscope 5001 is compatible with high-resolution imaging such as 4K (horizontal pixel number 3840 ⁇ vertical pixel number 2160) or 8K (horizontal pixel number 7680 ⁇ vertical pixel number 4320), and / or 3D display
- the display device 5041 may be a display device capable of high-resolution display and / or 3D display.
- 4K or 8K high-resolution imaging a more immersive feeling can be obtained by using a display device 5041 having a size of 55 inches or more.
- a plurality of display devices 5041 having different resolutions and sizes may be provided depending on applications.
- the light source device 5043 is composed of a light source such as an LED (light emitting diode), for example, and supplies irradiation light to the endoscope 5001 when photographing a surgical site.
- a light source such as an LED (light emitting diode)
- the arm control device 5045 is configured by a processor such as a CPU, for example, and operates according to a predetermined program to control driving of the arm portion 5031 of the support arm device 5027 according to a predetermined control method.
- the input device 5047 is an input interface for the endoscopic surgery system 5000.
- the user can input various information and instructions to the endoscopic surgery system 5000 via the input device 5047.
- the user inputs various types of information related to the operation, such as the patient's physical information and information about the surgical technique, via the input device 5047.
- the user instructs the arm unit 5031 to be driven via the input device 5047 or the instruction to change the imaging conditions (type of irradiation light, magnification, focal length, etc.) by the endoscope 5001. Then, an instruction to drive the energy treatment instrument 5021 is input.
- the type of the input device 5047 is not limited, and the input device 5047 may be various known input devices.
- the input device 5047 for example, a mouse, a keyboard, a touch panel, a switch, a foot switch 5057, and / or a lever can be applied.
- the touch panel may be provided on the display surface of the display device 5041.
- the input device 5047 is a device worn by the user, such as a glasses-type wearable device or an HMD (Head Mounted Display), and various types of input are performed according to the user's gesture and line of sight detected by these devices. Is done.
- the input device 5047 includes a camera capable of detecting the user's movement, and various inputs are performed according to the user's gesture and line of sight detected from the video captured by the camera.
- the input device 5047 includes a microphone that can pick up a user's voice, and various inputs are performed by voice through the microphone.
- the input device 5047 is configured to be able to input various information without contact, so that a user belonging to a clean area (for example, an operator 5067) can operate a device belonging to an unclean area without contact. Is possible.
- a user belonging to a clean area for example, an operator 5067
- the user can operate the device without releasing his / her hand from the surgical tool he / she has, the convenience for the user is improved.
- the treatment instrument control device 5049 controls the drive of the energy treatment instrument 5021 for tissue cauterization, incision, or blood vessel sealing.
- the pneumoperitoneum device 5051 gas is introduced into the body cavity via the pneumoperitoneum tube 5019.
- the recorder 5053 is an apparatus capable of recording various types of information related to surgery.
- the printer 5055 is a device that can print various types of information related to surgery in various formats such as text, images, or graphs.
- the support arm device 5027 includes a base portion 5029 as a base and an arm portion 5031 extending from the base portion 5029.
- the arm portion 5031 includes a plurality of joint portions 5033a, 5033b, and 5033c and a plurality of links 5035a and 5035b connected by the joint portion 5033b.
- FIG. The configuration of the arm portion 5031 is shown in a simplified manner. Actually, the shape, number and arrangement of the joint portions 5033a to 5033c and the links 5035a and 5035b, the direction of the rotation axis of the joint portions 5033a to 5033c, and the like are appropriately set so that the arm portion 5031 has a desired degree of freedom. obtain.
- the arm portion 5031 can be preferably configured to have 6 degrees of freedom or more. Accordingly, the endoscope 5001 can be freely moved within the movable range of the arm portion 5031. Therefore, the barrel 5003 of the endoscope 5001 can be inserted into the body cavity of the patient 5071 from a desired direction. It becomes possible.
- the joint portions 5033a to 5033c are provided with actuators, and the joint portions 5033a to 5033c are configured to be rotatable around a predetermined rotation axis by driving the actuators.
- the arm control device 5045 By controlling the driving of the actuator by the arm control device 5045, the rotation angles of the joint portions 5033a to 5033c are controlled, and the driving of the arm portion 5031 is controlled. Thereby, control of the position and orientation of the endoscope 5001 can be realized.
- the arm control device 5045 can control the driving of the arm unit 5031 by various known control methods such as force control or position control.
- the arm control device 5045 appropriately controls the driving of the arm unit 5031 according to the operation input.
- the position and posture of the endoscope 5001 may be controlled.
- the endoscope 5001 at the tip of the arm portion 5031 can be moved from an arbitrary position to an arbitrary position, and then fixedly supported at the position after the movement.
- the arm portion 5031 may be operated by a so-called master slave method.
- the arm unit 5031 can be remotely operated by the user via the input device 5047 installed at a location away from the operating room.
- the arm control device 5045 When force control is applied, the arm control device 5045 receives the external force from the user and moves the actuators of the joint portions 5033a to 5033c so that the arm portion 5031 moves smoothly according to the external force. You may perform what is called power assist control to drive. Accordingly, when the user moves the arm unit 5031 while directly touching the arm unit 5031, the arm unit 5031 can be moved with a relatively light force. Therefore, the endoscope 5001 can be moved more intuitively and with a simpler operation, and user convenience can be improved.
- an endoscope 5001 is supported by a doctor called a scopist.
- the position of the endoscope 5001 can be more reliably fixed without relying on human hands, so that an image of the surgical site can be stably obtained. It becomes possible to perform the operation smoothly.
- the arm control device 5045 is not necessarily provided in the cart 5037. Further, the arm control device 5045 is not necessarily a single device. For example, the arm control device 5045 may be provided in each joint portion 5033a to 5033c of the arm portion 5031 of the support arm device 5027, and the plurality of arm control devices 5045 cooperate with each other to drive the arm portion 5031. Control may be realized.
- the light source device 5043 supplies irradiation light to the endoscope 5001 when photographing a surgical site.
- the light source device 5043 is composed of a white light source composed of, for example, an LED, a laser light source, or a combination thereof.
- a white light source is configured by a combination of RGB laser light sources, the output intensity and output timing of each color (each wavelength) can be controlled with high accuracy. Adjustments can be made.
- each RGB light source is controlled by irradiating the observation target with laser light from each of the RGB laser light sources in a time-sharing manner and controlling the driving of the image sensor of the camera head 5005 in synchronization with the irradiation timing. It is also possible to take the images that have been taken in time division. According to this method, a color image can be obtained without providing a color filter in the image sensor.
- the driving of the light source device 5043 may be controlled so as to change the intensity of the output light every predetermined time.
- the driving of the image sensor of the camera head 5005 is controlled to acquire images in a time-sharing manner, and the images are synthesized, so that high dynamics without so-called blackout and overexposure are obtained. A range image can be generated.
- the light source device 5043 may be configured to be able to supply light of a predetermined wavelength band corresponding to special light observation.
- special light observation for example, by utilizing the wavelength dependence of light absorption in body tissue, the surface of the mucous membrane is irradiated by irradiating light in a narrow band compared to irradiation light (ie, white light) during normal observation.
- narrow band imaging is performed in which a predetermined tissue such as a blood vessel is imaged with high contrast.
- fluorescence observation may be performed in which an image is obtained by fluorescence generated by irradiating excitation light.
- the body tissue is irradiated with excitation light to observe fluorescence from the body tissue (autofluorescence observation), or a reagent such as indocyanine green (ICG) is locally administered to the body tissue and applied to the body tissue.
- a reagent such as indocyanine green (ICG) is locally administered to the body tissue and applied to the body tissue.
- ICG indocyanine green
- the light source device 5043 can be configured to be able to supply narrowband light and / or excitation light corresponding to such special light observation.
- FIG. 61 is a block diagram illustrating an example of functional configurations of the camera head 5005 and the CCU 5039 illustrated in FIG.
- the camera head 5005 has a lens unit 5007, an imaging unit 5009, a drive unit 5011, a communication unit 5013, and a camera head control unit 5015 as its functions.
- the CCU 5039 includes a communication unit 5059, an image processing unit 5061, and a control unit 5063 as its functions.
- the camera head 5005 and the CCU 5039 are connected to each other via a transmission cable 5065 so that they can communicate with each other.
- the lens unit 5007 is an optical system provided at a connection portion with the lens barrel 5003. Observation light captured from the tip of the lens barrel 5003 is guided to the camera head 5005 and enters the lens unit 5007.
- the lens unit 5007 is configured by combining a plurality of lenses including a zoom lens and a focus lens. The optical characteristics of the lens unit 5007 are adjusted so that the observation light is condensed on the light receiving surface of the image sensor of the imaging unit 5009. Further, the zoom lens and the focus lens are configured such that their positions on the optical axis are movable in order to adjust the magnification and focus of the captured image.
- the imaging unit 5009 is configured by an imaging element, and is disposed in the subsequent stage of the lens unit 5007.
- the observation light that has passed through the lens unit 5007 is collected on the light receiving surface of the image sensor, and an image signal corresponding to the observation image is generated by photoelectric conversion.
- the image signal generated by the imaging unit 5009 is provided to the communication unit 5013.
- CMOS Complementary Metal Oxide Semiconductor
- the imaging element for example, an element capable of capturing a high-resolution image of 4K or more may be used.
- the image sensor that configures the image capturing unit 5009 is configured to include a pair of image sensors for acquiring right-eye and left-eye image signals corresponding to 3D display. By performing the 3D display, the operator 5067 can more accurately grasp the depth of the living tissue in the surgical site.
- the imaging unit 5009 is configured as a multi-plate type, a plurality of lens units 5007 are also provided corresponding to each imaging element.
- the imaging unit 5009 is not necessarily provided in the camera head 5005.
- the imaging unit 5009 may be provided inside the lens barrel 5003 immediately after the objective lens.
- the driving unit 5011 includes an actuator, and moves the zoom lens and the focus lens of the lens unit 5007 by a predetermined distance along the optical axis under the control of the camera head control unit 5015. Thereby, the magnification and focus of the image captured by the imaging unit 5009 can be adjusted as appropriate.
- the communication unit 5013 is configured by a communication device for transmitting and receiving various types of information to and from the CCU 5039.
- the communication unit 5013 transmits the image signal obtained from the imaging unit 5009 as RAW data to the CCU 5039 via the transmission cable 5065.
- the image signal is preferably transmitted by optical communication.
- the surgeon 5067 performs the surgery while observing the state of the affected area with the captured image, so that a moving image of the surgical site is displayed in real time as much as possible for safer and more reliable surgery. Because it is required.
- the communication unit 5013 is provided with a photoelectric conversion module that converts an electrical signal into an optical signal.
- the image signal is converted into an optical signal by the photoelectric conversion module, and then transmitted to the CCU 5039 via the transmission cable 5065.
- the communication unit 5013 receives a control signal for controlling driving of the camera head 5005 from the CCU 5039.
- the control signal includes, for example, information for designating the frame rate of the captured image, information for designating the exposure value at the time of imaging, and / or information for designating the magnification and focus of the captured image. Contains information about the condition.
- the communication unit 5013 provides the received control signal to the camera head control unit 5015.
- the control signal from the CCU 5039 may also be transmitted by optical communication.
- the communication unit 5013 is provided with a photoelectric conversion module that converts an optical signal into an electric signal.
- the control signal is converted into an electric signal by the photoelectric conversion module, and then provided to the camera head control unit 5015.
- the imaging conditions such as the frame rate, exposure value, magnification, and focus are automatically set by the control unit 5063 of the CCU 5039 based on the acquired image signal. That is, a so-called AE (Auto Exposure) function, AF (Auto Focus) function, and AWB (Auto White Balance) function are mounted on the endoscope 5001.
- AE Auto Exposure
- AF Automatic Focus
- AWB Automatic White Balance
- the camera head control unit 5015 controls driving of the camera head 5005 based on a control signal from the CCU 5039 received via the communication unit 5013. For example, the camera head control unit 5015 controls driving of the imaging element of the imaging unit 5009 based on information indicating that the frame rate of the captured image is specified and / or information indicating that the exposure at the time of imaging is specified. For example, the camera head control unit 5015 appropriately moves the zoom lens and the focus lens of the lens unit 5007 via the drive unit 5011 based on information indicating that the magnification and focus of the captured image are designated.
- the camera head control unit 5015 may further have a function of storing information for identifying the lens barrel 5003 and the camera head 5005.
- the camera head 5005 can be resistant to autoclave sterilization by arranging the lens unit 5007, the imaging unit 5009, and the like in a sealed structure with high airtightness and waterproofness.
- the communication unit 5059 is configured by a communication device for transmitting and receiving various types of information to and from the camera head 5005.
- the communication unit 5059 receives an image signal transmitted from the camera head 5005 via the transmission cable 5065.
- the image signal can be suitably transmitted by optical communication.
- the communication unit 5059 is provided with a photoelectric conversion module that converts an optical signal into an electric signal.
- the communication unit 5059 provides the image processing unit 5061 with the image signal converted into the electrical signal.
- the communication unit 5059 transmits a control signal for controlling the driving of the camera head 5005 to the camera head 5005.
- the control signal may also be transmitted by optical communication.
- the image processing unit 5061 performs various types of image processing on the image signal that is RAW data transmitted from the camera head 5005. Examples of the image processing include development processing, high image quality processing (band enhancement processing, super-resolution processing, NR (Noise reduction) processing and / or camera shake correction processing, etc.), and / or enlargement processing (electronic zoom processing). Various known signal processing is included.
- the image processing unit 5061 performs detection processing on the image signal for performing AE, AF, and AWB.
- the image processing unit 5061 is configured by a processor such as a CPU or a GPU, and the above-described image processing and detection processing can be performed by the processor operating according to a predetermined program.
- the image processing unit 5061 is configured by a plurality of GPUs, the image processing unit 5061 appropriately divides information related to the image signal, and performs image processing in parallel by the plurality of GPUs.
- the control unit 5063 performs various controls relating to imaging of the surgical site by the endoscope 5001 and display of the captured image. For example, the control unit 5063 generates a control signal for controlling driving of the camera head 5005. At this time, when the imaging condition is input by the user, the control unit 5063 generates a control signal based on the input by the user. Alternatively, when the endoscope 5001 is equipped with the AE function, the AF function, and the AWB function, the control unit 5063 determines the optimum exposure value, focal length, and the like according to the detection processing result by the image processing unit 5061. A white balance is appropriately calculated and a control signal is generated.
- control unit 5063 causes the display device 5041 to display an image of the surgical site based on the image signal subjected to the image processing by the image processing unit 5061.
- the control unit 5063 recognizes various objects in the surgical unit image using various image recognition techniques. For example, the control unit 5063 detects the shape and color of the edge of the object included in the surgical part image, thereby removing surgical tools such as forceps, specific biological parts, bleeding, mist when using the energy treatment tool 5021, and the like. Can be recognized.
- the control unit 5063 displays various types of surgery support information on the image of the surgical site using the recognition result. Surgery support information is displayed in a superimposed manner and presented to the operator 5067, so that the surgery can be performed more safely and reliably.
- the transmission cable 5065 for connecting the camera head 5005 and the CCU 5039 is an electric signal cable corresponding to electric signal communication, an optical fiber corresponding to optical communication, or a composite cable thereof.
- communication is performed by wire using the transmission cable 5065, but communication between the camera head 5005 and the CCU 5039 may be performed wirelessly.
- communication between the two is performed wirelessly, there is no need to install the transmission cable 5065 in the operating room, so that the situation where the movement of the medical staff in the operating room is hindered by the transmission cable 5065 can be eliminated.
- the endoscopic surgery system 5000 to which the technology according to the present disclosure can be applied has been described.
- the endoscopic surgery system 5000 has been described as an example, but a system to which the technology according to the present disclosure can be applied is not limited to such an example.
- the technology according to the present disclosure may be applied to a testing flexible endoscope system or a microscope operation system.
- a process of receiving a data stream having the same data structure transmitted in parallel using a plurality of lanes from each of a plurality of transmission units included in the transmission device is performed as a first layer process, and the received data stream is A plurality of receiving units that integrate the data into one system and perform the process of acquiring the packets constituting the data stream as the process of the second layer; And a control unit that corrects a timing shift of corresponding data between communication links realized by each of a pair of the one transmission unit and the one reception unit.
- Each of the plurality of receiving units detects known information from the received data stream, The said control part correct
- the receiver as described in said (1).
- Each of the plurality of receiving units is A signal processing unit that performs the processing of the first layer in parallel has the same number as the number of lanes, The receiving device according to (2), further including a processing unit that performs processing of the second layer.
- Each of the plurality of receiving units detects a control code as the known information in each of the signal processing units, The receiving device according to (3), wherein the control unit corrects the timing shift by matching the timing of the control code in each of the signal processing units.
- Each of the plurality of receiving units detects payload data constituting the packet as the known information in the processing unit, The receiving device according to (3) or (4), wherein the control unit corrects the timing shift by matching the output timing of the payload data in each of the processing units.
- Each of the plurality of receiving units is An acquisition unit that performs a process of acquiring payload data constituting the packet output from the processing unit as a third layer process; Detecting the payload data constituting the packet as the known information in the acquisition unit; The control unit corrects the timing shift by matching the output timing of the payload data in each acquisition unit to an external information processing unit. Any one of (3) to (5) The receiving device described in 1. (7) The control unit receives the data output from the plurality of receiving units, and corrects the timing shift by matching the output timing of the received data to the outside. (3) to (6) The receiving apparatus in any one of them.
- a first layer process that is a process of receiving a data stream having the same data structure transmitted in parallel using a plurality of lanes from each of a plurality of transmission units included in the transmission apparatus, and the received data stream
- a plurality of receiving units perform processing of the second layer, which is processing for acquiring packets constituting the data stream, integrated into a single system of data
- a control method including a step of correcting a timing shift of corresponding data between communication links realized by each of a pair of one transmission unit and one reception unit.
- a first layer process that is a process of receiving a data stream having the same data structure transmitted in parallel using a plurality of lanes from each of a plurality of transmission units included in the transmission apparatus, and the received data stream
- a plurality of receiving units perform processing of the second layer, which is processing for acquiring packets constituting the data stream, integrated into a single system of data
- a program for executing processing including a step of correcting a timing shift of corresponding data between communication links realized by each of a set of one transmitting unit and one receiving unit.
- Processing including generation of a packet for storing data to be transmitted and processing for distributing the generated packet to a plurality of lanes is performed as first layer processing, and the same data structure including the distributed packet is included.
- a plurality of transmission units that perform processing of transmitting a data stream in parallel using a plurality of the lanes as processing of the second layer to a reception device having a plurality of reception units;
- a transmission apparatus comprising: a control unit that corrects a timing shift of corresponding data between communication links realized by each of a set of one transmission unit and one reception unit.
- Each of the plurality of transmitters is A signal processing unit that performs the processing of the second layer in parallel has the same number as the number of lanes, The transmission device according to (10), wherein the control unit corrects the timing shift by matching a timing of insertion of a control code into the data stream in each of the signal processing units.
- the first layer process which is a process including the generation of a packet storing data to be transmitted and the process of distributing the generated packet to a plurality of lanes
- the distributed packet A plurality of transmission units perform a second layer process, which is a process of transmitting a data stream in parallel to a reception apparatus having a plurality of reception units using the plurality of lanes,
- a control method including a step of correcting a timing shift of corresponding data between communication links realized by each of a pair of one transmission unit and one reception unit.
- the computer has the same data structure including the first layer process which is a process including the generation of a packet storing data to be transmitted and the process of distributing the generated packet to a plurality of lanes, and the distributed packet
- a plurality of transmission units perform a second layer process, which is a process of transmitting a data stream in parallel to a reception apparatus having a plurality of reception units using the plurality of lanes,
- a program for executing processing including a step of correcting a timing shift of corresponding data between communication links realized by each of a set of one transmitting unit and one receiving unit.
- Processing including generation of a packet for storing data to be transmitted and processing for distributing the generated packet to a plurality of lanes is performed as first layer processing, and the same data structure including the distributed packet is included.
- a transmission apparatus comprising a plurality of transmission units that perform processing of transmitting a data stream in parallel using the plurality of lanes as processing of the second layer;
- a process of receiving the data stream transmitted in parallel using a plurality of lanes from each of the plurality of transmission units is performed as the process of the second layer, and the received data stream is integrated into a single system of data.
- a plurality of receiving units that perform processing for acquiring packets constituting the data stream as processing of the first layer;
- a receiving device comprising: a control unit that corrects a timing shift of corresponding data between communication links realized by each of a set of one transmitting unit and one receiving unit.
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- Spectroscopy & Molecular Physics (AREA)
- Communication Control (AREA)
- Bus Control (AREA)
- Information Transfer Systems (AREA)
Abstract
Description
1.第1の実施の形態(画素データを伝送する例)
2.第2の実施の形態(画素データに限らず、所定のデータを伝送する例)
3.通信リンク間のData Skewの補正について
(1)通信リンク間Data Skew
(2)通信リンク間Data Skewの除去
4.変形例
5.応用例
[伝送システムの構成例]
図1は、本技術の一実施形態に係る伝送システムの第1の構成例を示す図である。
図4は、イメージセンサ11-DSP12間で1フレームの画像データを伝送するのに用いられるフォーマットの例を示す図である。
図5は、送信部22と受信部31の構成例を示す図である。
はじめに、送信部22のリンクレイヤの構成について説明する。
次に、送信部22の物理レイヤの構成について説明する。
次に、受信部31の物理レイヤの構成について説明する。
次に、受信部31のリンクレイヤの構成について説明する。
次に、以上のような構成を有する送信部22と受信部31の一連の処理について説明する。
各レーンにおいて同じ制御コードを同じタイミングで伝送することは、通常のデータ伝送時だけでなく、例えばレーン数を切り替える場合にも行われる。レーン数を切り替える場合においても、アクティブなレーン(データ伝送に用いられるレーン)の状態は全て同じ状態になる。
図30は、イメージセンサ11-DSP12間のデータ伝送に用いられるフレームフォーマットの他の例を示す図である。上述した説明と重複する説明については適宜省略する。
上述した複数のレーンを使ったチップ間のデータ伝送は、画像データだけでなく各種のデータの伝送にも用いることができる。
図33は、汎用I/Fを用いた伝送システムの第1の構成例を示す図である。
図36のA乃至Dは、データ伝送に用いられるパケットのデータ構造の例を示す図である。
図37は、送信側LSI311と受信側LSI312の構成例を示す図である。
送信側LSI311のアダプテーションレイヤの構成について説明する。送信部322は、ペイロードデータ生成部351をアダプテーションレイヤの構成として有する。
送信部322は、Byte Packing部362、ペイロードECC挿入部363、パケット生成部364、およびレーン分配部365をリンクレイヤの構成として有する。
送信部322は、PHY-TX状態制御部381、クロック生成部382、信号処理部383-0乃至383-Nを物理レイヤの構成として有する。送信部322の物理レイヤの構成は、図5を参照して説明したCIS-IFにおける送信部22の物理レイヤの構成と同じ構成である。重複する説明については適宜省略する。
次に、受信側LSI312の受信部331の物理レイヤの構成について説明する。受信部331は、PHY-RX状態制御部401、信号処理部402-0乃至402-Nを物理レイヤの構成として有する。受信部331の物理レイヤの構成は、図5を参照して説明したCIS-IFにおける受信部31の物理レイヤの構成と同じ構成である。重複する説明については適宜省略する。
受信部331は、レーン統合部422、パケット分離部423、ペイロードエラー訂正部424、およびByte Unpacking部425をリンクレイヤの構成として有する。
受信部331は、ペイロードデータ取得部431をアダプテーションレイヤの構成として有する。ペイロードデータ取得部431は、Byte Unpacking部425から供給されたデータを取得し、送信側LSI311においてデータ入力部342からペイロードデータ生成部351に入力されたデータのビット幅と同じビット幅の単位で情報処理部332に出力する。
次に、以上のような構成を有する送信側LSI311と受信側LSI312の一連の処理について説明する。
[(1)通信リンク間Data Skew]
以上のように、CIS I/Fおよび汎用I/Fにおいては、1つの送信部と1つの受信部の組により1つの通信リンクが確立され、データ伝送が行われる。
図45は、シングル通信リンクの処理の流れの例を示す図である。CIS I/Fにおけるシングル通信リンクについて説明するが、汎用I/Fでも同様である。
図46は、マルチ通信リンクの処理の流れの例を示す図である。図45を参照して説明したものと重複する説明については適宜省略する。
図47は、伝送システム301の他の構成例を示す図である。図47に示す構成のうち、図34に示す構成と同じ構成には同じ符号を付してある。重複する説明については適宜省略する。
・伝送システムの構成例
図48は、送信側LSI311と受信側LSI312の構成例を示す図である。
次に、図50のシーケンス図を参照して、通信リンク間Data Skewを物理レイヤにおいて補正する場合の一連の動作について説明する。
・伝送システムの構成例
図51は、送信側LSI311と受信側LSI312の他の構成例を示す図である。
次に、図52のシーケンス図を参照して、通信リンク間Data Skewをリンクレイヤにおいて補正する場合の一連の動作について説明する。
・伝送システムの構成例
図53は、送信側LSI311と受信側LSI312の他の構成例を示す図である。
次に、図54のシーケンス図を参照して、通信リンク間Data Skewをアダプテーションレイヤにおいて補正する場合の一連の動作について説明する。
受信側LSI312から外部の他の処理部にペイロードデータを出力するタイミングを補正することによって、通信リンク間Data Skewの補正が受信側のアプリケーションレイヤにおいて行われるようにすることも可能である。
図55のシーケンス図を参照して、通信リンク間Data Skewをアプリケーションレイヤにおいて補正する場合の一連の動作について説明する。
・伝送システムの構成例
図56は、伝送システム301の他の構成例を示す図である。
次に、図58のシーケンス図を参照して、通信リンク間Data Skewを送信側において補正する場合の一連の動作について説明する。
受信側の4つのレイヤのうちのいずれかのレイヤにおいて通信リンク間Data Skewの補正が行われるものとしたが、2つ以上のレイヤにおいて通信リンク間Data Skewの補正が行われるようにしてもよい。すなわち、物理レイヤ、リンクレイヤ、アダプテーションレイヤ、およびアプリケーションレイヤのうちの、少なくともいずれかのレイヤにおいて通信リンク間Data Skewの補正が行われるようにすることが可能である。CIS I/Fの場合、物理レイヤ、リンクレイヤ、およびアプリケーションレイヤのうちの、少なくともいずれかのレイヤにおいて通信リンク間Data Skewの補正が行われるようにすることが可能である。
上述した一連の処理は、ハードウェアにより実行することもできるし、ソフトウェアにより実行することもできる。一連の処理をソフトウェアにより実行する場合には、そのソフトウェアを構成するプログラムが、専用のハードウェアに組み込まれているコンピュータ、または汎用のパーソナルコンピュータなどに、プログラム記録媒体からインストールされる。
本開示に係る技術は、様々な製品へ応用することができる。例えば、本開示に係る技術は、内視鏡手術システムに適用されてもよい。この場合、上述したイメージセンサ11は、内視鏡側の筐体内に設けられ、DSP12は、内視鏡から送信されてきた画像データの処理を行う画像処理装置側の筐体内に設けられる。
支持アーム装置5027は、ベース部5029から延伸するアーム部5031を備える。図示する例では、アーム部5031は、関節部5033a、5033b、5033c、及びリンク5035a、5035bから構成されており、アーム制御装置5045からの制御により駆動される。アーム部5031によって内視鏡5001が支持され、その位置及び姿勢が制御される。これにより、内視鏡5001の安定的な位置の固定が実現され得る。
内視鏡5001は、先端から所定の長さの領域が患者5071の体腔内に挿入される鏡筒5003と、鏡筒5003の基端に接続されるカメラヘッド5005と、から構成される。図示する例では、硬性の鏡筒5003を有するいわゆる硬性鏡として構成される内視鏡5001を図示しているが、内視鏡5001は、軟性の鏡筒5003を有するいわゆる軟性鏡として構成されてもよい。
CCU5039は、CPU(Central Processing Unit)やGPU(Graphics Processing Unit)等によって構成され、内視鏡5001及び表示装置5041の動作を統括的に制御する。具体的には、CCU5039は、カメラヘッド5005から受け取った画像信号に対して、例えば現像処理(デモザイク処理)等の、当該画像信号に基づく画像を表示するための各種の画像処理を施す。CCU5039は、当該画像処理を施した画像信号を表示装置5041に提供する。また、CCU5039は、カメラヘッド5005に対して制御信号を送信し、その駆動を制御する。当該制御信号には、倍率や焦点距離等、撮像条件に関する情報が含まれ得る。
支持アーム装置5027は、基台であるベース部5029と、ベース部5029から延伸するアーム部5031と、を備える。図示する例では、アーム部5031は、複数の関節部5033a、5033b、5033cと、関節部5033bによって連結される複数のリンク5035a、5035bと、から構成されているが、図60では、簡単のため、アーム部5031の構成を簡略化して図示している。実際には、アーム部5031が所望の自由度を有するように、関節部5033a~5033c及びリンク5035a、5035bの形状、数及び配置、並びに関節部5033a~5033cの回転軸の方向等が適宜設定され得る。例えば、アーム部5031は、好適に、6自由度以上の自由度を有するように構成され得る。これにより、アーム部5031の可動範囲内において内視鏡5001を自由に移動させることが可能になるため、所望の方向から内視鏡5001の鏡筒5003を患者5071の体腔内に挿入することが可能になる。
光源装置5043は、内視鏡5001に術部を撮影する際の照射光を供給する。光源装置5043は、例えばLED、レーザ光源又はこれらの組み合わせによって構成される白色光源から構成される。このとき、RGBレーザ光源の組み合わせにより白色光源が構成される場合には、各色(各波長)の出力強度及び出力タイミングを高精度に制御することができるため、光源装置5043において撮像画像のホワイトバランスの調整を行うことができる。また、この場合には、RGBレーザ光源それぞれからのレーザ光を時分割で観察対象に照射し、その照射タイミングに同期してカメラヘッド5005の撮像素子の駆動を制御することにより、RGBそれぞれに対応した画像を時分割で撮像することも可能である。当該方法によれば、当該撮像素子にカラーフィルタを設けなくても、カラー画像を得ることができる。
図61を参照して、内視鏡5001のカメラヘッド5005及びCCU5039の機能についてより詳細に説明する。図61は、図60に示すカメラヘッド5005及びCCU5039の機能構成の一例を示すブロック図である。
本技術は、以下のような構成をとることもできる。
送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理を第1のレイヤの処理として行い、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理を第2のレイヤの処理として行う複数の受信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える受信装置。
(2)
複数の前記受信部は、それぞれ、受信した前記データストリームから既知情報を検出し、
前記制御部は、それぞれの前記受信部における前記既知情報の検出タイミングに基づいて、前記タイミングのずれを補正する
前記(1)に記載の受信装置。
(3)
複数の前記受信部のそれぞれは、
前記第1のレイヤの処理を並行して行う信号処理部を、前記レーンの数と同じ数だけ有し、
前記第2のレイヤの処理を行う処理部を有する
前記(2)に記載の受信装置。
(4)
複数の前記受信部は、それぞれ、前記既知情報としての制御コードをそれぞれの前記信号処理部において検出し、
前記制御部は、それぞれの前記信号処理部における前記制御コードのタイミングを合わせることによって、前記タイミングのずれを補正する
前記(3)に記載の受信装置。
(5)
複数の前記受信部は、それぞれ、前記パケットを構成するペイロードデータを前記既知情報として前記処理部において検出し、
前記制御部は、それぞれの前記処理部における前記ペイロードデータの出力のタイミングを合わせることによって、前記タイミングのずれを補正する
前記(3)または(4)に記載の受信装置。
(6)
複数の前記受信部のそれぞれは、
前記処理部から出力された前記パケットを構成するペイロードデータを取得する処理を第3のレイヤの処理として行う取得部をさらに有し、
前記パケットを構成する前記ペイロードデータを前記既知情報として前記取得部において検出し、
前記制御部は、それぞれの前記取得部における前記ペイロードデータの、外部の情報処理部に対する出力のタイミングを合わせることによって、前記タイミングのずれを補正する
前記(3)乃至(5)のうちのいずれかに記載の受信装置。
(7)
前記制御部は、複数の前記受信部から出力されたデータを受信し、受信した前記データの外部への出力タイミングを合わせることによって、前記タイミングのずれを補正する
前記(3)乃至(6)のうちのいずれかに記載の受信装置。
(8)
送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理である第1のレイヤの処理と、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理である第2のレイヤの処理とを複数の受信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む制御方法。
(9)
コンピュータに、
送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理である第1のレイヤの処理と、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理である第2のレイヤの処理とを複数の受信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む処理を実行させるプログラム。
(10)
伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理を第1のレイヤの処理として行い、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理を第2のレイヤの処理として行う複数の送信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える送信装置。
(11)
複数の前記送信部のそれぞれは、
前記第2のレイヤの処理を並行して行う信号処理部を、前記レーンの数と同じ数だけ有し、
前記制御部は、それぞれの前記信号処理部における制御コードの前記データストリームへの挿入のタイミングを合わせることによって、前記タイミングのずれを補正する
前記(10)に記載の送信装置。
(12)
伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理である第1のレイヤの処理と、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理である第2のレイヤの処理とを複数の送信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む制御方法。
(13)
コンピュータに、
伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理である第1のレイヤの処理と、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理である第2のレイヤの処理とを複数の送信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む処理を実行させるプログラム。
(14)
伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理を第1のレイヤの処理として行い、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の前記レーンを用いて並列に送信する処理を第2のレイヤの処理として行う複数の送信部を備える
送信装置と、
複数の前記送信部のそれぞれから複数のレーンを用いて並列に送信された前記データストリームを受信する処理を前記第2のレイヤの処理として行い、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理を前記第1のレイヤの処理として行う複数の受信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える受信装置と
を含む送受信システム。
Claims (14)
- 送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理を第1のレイヤの処理として行い、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理を第2のレイヤの処理として行う複数の受信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える受信装置。 - 複数の前記受信部は、それぞれ、受信した前記データストリームから既知情報を検出し、
前記制御部は、それぞれの前記受信部における前記既知情報の検出タイミングに基づいて、前記タイミングのずれを補正する
請求項1に記載の受信装置。 - 複数の前記受信部のそれぞれは、
前記第1のレイヤの処理を並行して行う信号処理部を、前記レーンの数と同じ数だけ有し、
前記第2のレイヤの処理を行う処理部を有する
請求項2に記載の受信装置。 - 複数の前記受信部は、それぞれ、前記既知情報としての制御コードをそれぞれの前記信号処理部において検出し、
前記制御部は、それぞれの前記信号処理部における前記制御コードのタイミングを合わせることによって、前記タイミングのずれを補正する
請求項3に記載の受信装置。 - 複数の前記受信部は、それぞれ、前記パケットを構成するペイロードデータを前記既知情報として前記処理部において検出し、
前記制御部は、それぞれの前記処理部における前記ペイロードデータの出力のタイミングを合わせることによって、前記タイミングのずれを補正する
請求項3に記載の受信装置。 - 複数の前記受信部のそれぞれは、
前記処理部から出力された前記パケットを構成するペイロードデータを取得する処理を第3のレイヤの処理として行う取得部をさらに有し、
前記パケットを構成する前記ペイロードデータを前記既知情報として前記取得部において検出し、
前記制御部は、それぞれの前記取得部における前記ペイロードデータの、外部の情報処理部に対する出力のタイミングを合わせることによって、前記タイミングのずれを補正する
請求項3に記載の受信装置。 - 前記制御部は、複数の前記受信部から出力されたデータを受信し、受信した前記データの外部への出力タイミングを合わせることによって、前記タイミングのずれを補正する
請求項3に記載の受信装置。 - 送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理である第1のレイヤの処理と、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理である第2のレイヤの処理とを複数の受信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む制御方法。 - コンピュータに、
送信装置が有する複数の送信部のそれぞれから複数のレーンを用いて並列に送信された同一のデータ構造を有するデータストリームを受信する処理である第1のレイヤの処理と、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理である第2のレイヤの処理とを複数の受信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む処理を実行させるプログラム。 - 伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理を第1のレイヤの処理として行い、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理を第2のレイヤの処理として行う複数の送信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える送信装置。 - 複数の前記送信部のそれぞれは、
前記第2のレイヤの処理を並行して行う信号処理部を、前記レーンの数と同じ数だけ有し、
前記制御部は、それぞれの前記信号処理部における制御コードの前記データストリームへの挿入のタイミングを合わせることによって、前記タイミングのずれを補正する
請求項10に記載の送信装置。 - 伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理である第1のレイヤの処理と、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理である第2のレイヤの処理とを複数の送信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む制御方法。 - コンピュータに、
伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理である第1のレイヤの処理と、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の受信部を有する受信装置に対して、複数の前記レーンを用いて並列に送信する処理である第2のレイヤの処理とを複数の送信部において行い、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する
ステップを含む処理を実行させるプログラム。 - 伝送対象のデータを格納するパケットの生成と、生成した前記パケットを複数のレーンに分配する処理とを含む処理を第1のレイヤの処理として行い、分配した前記パケットを含む同一のデータ構造を有するデータストリームを、複数の前記レーンを用いて並列に送信する処理を第2のレイヤの処理として行う複数の送信部を備える
送信装置と、
複数の前記送信部のそれぞれから複数のレーンを用いて並列に送信された前記データストリームを受信する処理を前記第2のレイヤの処理として行い、受信した前記データストリームを一系統のデータに統合し、前記データストリームを構成するパケットを取得する処理を前記第1のレイヤの処理として行う複数の受信部と、
1つの前記送信部と1つの前記受信部との組のそれぞれにより実現される通信リンク間の、対応するデータのタイミングのずれを補正する制御部と
を備える受信装置と
を含む送受信システム。
Priority Applications (5)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP18813638.6A EP3637716B1 (en) | 2017-06-09 | 2018-05-25 | Reception device, transmission device, control method, program, and transmission and reception system |
CN201880036459.3A CN110692222B (zh) | 2017-06-09 | 2018-05-25 | 接收装置、发送装置、控制方法、程序及发送和接收*** |
KR1020197032583A KR102538713B1 (ko) | 2017-06-09 | 2018-05-25 | 수신 장치, 송신 장치, 제어 방법, 프로그램, 및 송수신 시스템 |
JP2019523451A JP7094952B2 (ja) | 2017-06-09 | 2018-05-25 | 受信装置、制御方法、プログラム、および送受信システム |
US16/618,619 US11457142B2 (en) | 2017-06-09 | 2018-05-25 | Reception device, transmission device, control method, program, and transmission and reception system |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2017114382 | 2017-06-09 | ||
JP2017-114382 | 2017-06-09 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018225534A1 true WO2018225534A1 (ja) | 2018-12-13 |
Family
ID=64567291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/JP2018/020116 WO2018225534A1 (ja) | 2017-06-09 | 2018-05-25 | 受信装置、送信装置、制御方法、プログラム、および送受信システム |
Country Status (6)
Country | Link |
---|---|
US (1) | US11457142B2 (ja) |
EP (1) | EP3637716B1 (ja) |
JP (1) | JP7094952B2 (ja) |
KR (1) | KR102538713B1 (ja) |
CN (1) | CN110692222B (ja) |
WO (1) | WO2018225534A1 (ja) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021100627A1 (ja) * | 2019-11-20 | 2021-05-27 | ソニーセミコンダクタソリューションズ株式会社 | 送信装置、受信装置、および伝送システム |
JP2023084083A (ja) * | 2021-12-06 | 2023-06-16 | 奇景光電股▲ふん▼有限公司 | シリアル・ペリフェラル・インターフェース集積回路およびその動作方法 |
WO2024041065A1 (zh) * | 2022-08-26 | 2024-02-29 | 华为技术有限公司 | 一种数据传输方法及装置 |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP3419005A1 (en) * | 2017-06-22 | 2018-12-26 | Gemalto Sa | Computing device processing expanded data |
EP3840368B1 (en) * | 2019-12-18 | 2022-01-26 | Axis AB | Method of injecting additional data |
JP2022182021A (ja) * | 2021-05-27 | 2022-12-08 | キヤノン株式会社 | シリアル通信装置及びシリアル通信方法 |
CN114297110B (zh) * | 2021-12-28 | 2024-05-14 | 上海集成电路装备材料产业创新中心有限公司 | Mipi信号解码方法、装置及其芯片 |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004289567A (ja) * | 2003-03-24 | 2004-10-14 | Nippon Telegr & Teleph Corp <Ntt> | フレーム信号符号化通信方法及び符号化装置並びに符号化送信装置及び符号化受信装置 |
WO2009005154A1 (ja) * | 2007-07-05 | 2009-01-08 | Nippon Telegraph And Telephone Corporation | 信号ブロック列処理方法および信号ブロック列処理装置 |
WO2012063949A1 (ja) * | 2010-11-12 | 2012-05-18 | ソニー株式会社 | 画像出力装置、画像出力方法、画像処理装置、画像処理方法、プログラム、データ構造、および撮像装置 |
WO2014013601A1 (ja) * | 2012-07-20 | 2014-01-23 | 富士通株式会社 | 伝送装置 |
Family Cites Families (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3487458B2 (ja) | 1995-01-27 | 2004-01-19 | 株式会社リコー | 並列信号伝送装置 |
JP2005229307A (ja) * | 2004-02-12 | 2005-08-25 | Sanyo Electric Co Ltd | 撮像装置、撮像装置の制御方法及び撮像装置の制御プログラム |
JPWO2007029645A1 (ja) * | 2005-09-06 | 2009-03-19 | パイオニア株式会社 | 収差補正装置及び収差補正用プログラム |
CN101496367B (zh) * | 2005-11-04 | 2012-04-04 | Nxp股份有限公司 | 串行互联多通道的对齐和纠偏的方法及发送器 |
JP5049652B2 (ja) * | 2006-09-07 | 2012-10-17 | キヤノン株式会社 | 通信システム、データの再生制御方法、コントローラ、コントローラの制御方法、アダプタ、アダプタの制御方法、およびプログラム |
JP2012005622A (ja) * | 2010-06-24 | 2012-01-12 | Fujifilm Corp | 光音響画像化装置及び方法 |
JP2012039523A (ja) * | 2010-08-10 | 2012-02-23 | Sony Corp | 動画像処理装置、動画像処理方法およびプログラム |
JP2012103772A (ja) * | 2010-11-08 | 2012-05-31 | Renesas Electronics Corp | プロセッサおよびそれを用いた画像処理システム |
JP5633636B2 (ja) * | 2011-03-18 | 2014-12-03 | 富士通株式会社 | 伝送遅延差補正方法,通信装置および通信システム |
TWI686085B (zh) * | 2012-11-29 | 2020-02-21 | 日商索尼半導體解決方案公司 | 攝像裝置及圖像感測器之資料傳送方法、資訊處理裝置及資訊處理方法以及程式 |
KR102023940B1 (ko) * | 2012-12-27 | 2019-11-04 | 엘지디스플레이 주식회사 | 표시장치용 구동회로 및 이의 구동방법 |
JP6253272B2 (ja) * | 2013-06-18 | 2017-12-27 | キヤノン株式会社 | 撮像装置、撮像システム、信号処理方法、プログラム、および、記憶媒体 |
KR102166908B1 (ko) * | 2014-02-13 | 2020-10-19 | 삼성전자주식회사 | 고속 데이터 인터페이스 장치 및 상기 장치의 스큐 보정 방법 |
-
2018
- 2018-05-25 JP JP2019523451A patent/JP7094952B2/ja active Active
- 2018-05-25 EP EP18813638.6A patent/EP3637716B1/en active Active
- 2018-05-25 US US16/618,619 patent/US11457142B2/en active Active
- 2018-05-25 CN CN201880036459.3A patent/CN110692222B/zh active Active
- 2018-05-25 WO PCT/JP2018/020116 patent/WO2018225534A1/ja active Application Filing
- 2018-05-25 KR KR1020197032583A patent/KR102538713B1/ko not_active Application Discontinuation
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004289567A (ja) * | 2003-03-24 | 2004-10-14 | Nippon Telegr & Teleph Corp <Ntt> | フレーム信号符号化通信方法及び符号化装置並びに符号化送信装置及び符号化受信装置 |
WO2009005154A1 (ja) * | 2007-07-05 | 2009-01-08 | Nippon Telegraph And Telephone Corporation | 信号ブロック列処理方法および信号ブロック列処理装置 |
WO2012063949A1 (ja) * | 2010-11-12 | 2012-05-18 | ソニー株式会社 | 画像出力装置、画像出力方法、画像処理装置、画像処理方法、プログラム、データ構造、および撮像装置 |
JP2012120159A (ja) | 2010-11-12 | 2012-06-21 | Sony Corp | 送信装置、送信方法、受信装置、受信方法、およびプログラム |
WO2014013601A1 (ja) * | 2012-07-20 | 2014-01-23 | 富士通株式会社 | 伝送装置 |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021100627A1 (ja) * | 2019-11-20 | 2021-05-27 | ソニーセミコンダクタソリューションズ株式会社 | 送信装置、受信装置、および伝送システム |
JP2023084083A (ja) * | 2021-12-06 | 2023-06-16 | 奇景光電股▲ふん▼有限公司 | シリアル・ペリフェラル・インターフェース集積回路およびその動作方法 |
US11847077B2 (en) | 2021-12-06 | 2023-12-19 | Himax Technologies Limited | Serial peripheral interface integrated circuit and operation method thereof |
JP7459191B2 (ja) | 2021-12-06 | 2024-04-01 | 奇景光電股▲ふん▼有限公司 | シリアル・ペリフェラル・インターフェース集積回路およびその動作方法 |
WO2024041065A1 (zh) * | 2022-08-26 | 2024-02-29 | 华为技术有限公司 | 一种数据传输方法及装置 |
Also Published As
Publication number | Publication date |
---|---|
EP3637716B1 (en) | 2023-08-30 |
US11457142B2 (en) | 2022-09-27 |
EP3637716A1 (en) | 2020-04-15 |
KR20200016205A (ko) | 2020-02-14 |
JP7094952B2 (ja) | 2022-07-04 |
KR102538713B1 (ko) | 2023-06-01 |
EP3637716A4 (en) | 2020-05-06 |
CN110692222B (zh) | 2022-11-22 |
CN110692222A (zh) | 2020-01-14 |
US20210360151A1 (en) | 2021-11-18 |
JPWO2018225534A1 (ja) | 2020-04-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018225534A1 (ja) | 受信装置、送信装置、制御方法、プログラム、および送受信システム | |
JP7326522B2 (ja) | 送信装置、受信装置、制御方法、プログラム、および送受信システム | |
EP4024796A1 (en) | Encoding device, encoding method, decoding device, decoding method, and program | |
US11896195B2 (en) | Distributed image processing system in operating theater | |
US10924724B2 (en) | Medical stereoscopic observation device, medical stereoscopic observation method, program, and medical stereoscopic observation system | |
EP3761637B1 (en) | Video-signal-processing device, video-signal-processing method, and imaging device | |
EP4175183A1 (en) | Encoding device, encoding method, decoding device, decoding method, and program | |
EP4024797A1 (en) | Encoding device, encoding method, decoding device, decoding method, and program | |
JPWO2018163499A1 (ja) | 医療画像表示制御装置、医療画像表示装置、医療情報処理システム、及び医療画像表示制御方法 | |
US11558673B2 (en) | Transmission device, reception device, transmission system, and transmission method | |
CN215383848U (zh) | 3d内窥镜的图像传感器数据传输装置及3d内窥镜 |
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: 18813638 Country of ref document: EP Kind code of ref document: A1 |
|
ENP | Entry into the national phase |
Ref document number: 20197032583 Country of ref document: KR Kind code of ref document: A |
|
ENP | Entry into the national phase |
Ref document number: 2019523451 Country of ref document: JP Kind code of ref document: A |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2018813638 Country of ref document: EP |
|
ENP | Entry into the national phase |
Ref document number: 2018813638 Country of ref document: EP Effective date: 20200109 |