Transmitting device and transmission system
By adding identification information to the payload, the transmission system effectively addresses the issue of insufficient header space for pixel data types, ensuring reliable transmission of identification data even with increased data types.
Patent Information
- Application Number
- JP2021558351
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2019-11-20
- Filing Date
- 2020-11-13
- Publication Date
- 2024-09-13
- Estimated Expiration
- 2040-11-13
Smart Images

Figure 0007550785000002 
Figure 0007550785000009 
Figure 0007550785000015
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a transmission device for transmitting image data. ,oh The present invention also relates to a transmission system for transmitting and receiving image data. [Background technology]
[0002] Some transmission systems transmit and receive image data including pixel data for multiple lines. Patent Document 1 discloses a transmission system that generates a packet having a header including control information and a payload including pixel data for one line, and transmits and receives image data using this packet. The technology described in Patent Document 1 makes it possible to add a Data ID to the header as an area for storing identification information of pixel data indicating the type of pixel data to be transmitted and received, etc. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2012-120158 A Summary of the Invention
[0004] If the area for storing identification information is limited to the Data ID in the header, as the number of types of pixel data increases, the area may become insufficient, making it difficult to reliably transmit the identification information.
[0005] Transmitter capable of reliably transmitting identification information of pixel data ,oh It is desirable to provide a method and a transmission system for detecting a plurality of sigma-based interferences.
[0006] A transmitting device according to one embodiment of the present disclosure includes a transmitting unit capable of outputting a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame, with a header added to the payload, to a transmission path, and an identification information adding unit that adds identification information for the pixel data to at least a portion of the payload. The identification information addition unit adds to a portion of the payload a code indicating that the information added to the portion is identification information, a code indicating the type of identification information added to the portion, and a code indicating the data of the identification information.
[0008] A transmission system according to one embodiment of the present disclosure includes a transmitting device and a receiving device. The transmitting device includes a transmitting unit capable of outputting a plurality of packets, each of which includes a line of pixel data constituting an image of one frame in a payload and has a header added to the payload, to a transmission path, and an identification information adding unit that adds identification information of the pixel data to at least a portion of the payload. The identification information addition unit adds to a portion of the payload a code indicating that the information added to the portion is identification information, a code indicating the type of identification information added to the portion, and a code indicating the data of the identification information.
[0009] A transmitting device according to an embodiment of the present disclosure ,Ma In a transmission system, it is possible to add identification information of pixel data to at least a partial area of the payload. [Brief description of the drawings]
[0010] [Figure 1] 1 is a block diagram showing a first configuration example of a transmission system according to an embodiment of the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a second configuration example of a transmission system according to an embodiment. [Diagram 3] FIG. 2 is an explanatory diagram illustrating an example of a frame format in a transmission system according to an embodiment. [Figure 4] 4 is an explanatory diagram showing an example of a header structure of one packet of the frame format shown in FIG. 3; [Diagram 5] 5 is an explanatory diagram showing an example of the contents of header information in the header structure shown in FIG. 4; [Figure 6] 2 is a block diagram showing an example of a configuration of a transmitting unit in a transmission system according to an embodiment. FIG. [Figure 7] 2 is a block diagram showing an example of a configuration of a receiving unit in a transmission system according to an embodiment. FIG. [Figure 8] FIG. 11 is an explanatory diagram showing a first example of an extended storage destination of a Data ID. [Figure 9] FIG. 13 is an explanatory diagram showing a second example of an extended storage destination of the Data ID. [Figure 10]FIG. 11 is an explanatory diagram showing an example of the configuration of a Data ID. [Figure 11] FIG. 11 is an explanatory diagram showing a first example of a data configuration example when Data ID is added to Embedded Data; [Figure 12] FIG. 11 is an explanatory diagram showing a second example of a data configuration example when Data ID is added to Embedded Data. [Figure 13] FIG. 11 is an explanatory diagram showing a first example of a data configuration example when a Data ID is added to a payload. [Figure 14] FIG. 11 is an explanatory diagram showing a second example of a data configuration example when a Data ID is added to a payload. [Figure 15] FIG. 13 is an explanatory diagram showing a third example of a data configuration example when a Data ID is added to a payload. [Figure 16] FIG. 2 is an explanatory diagram showing a specific example of identification information represented by Data ID. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings. The description will be made in the following order. 1. One embodiment 1.1 Configuration and operation of a transmission system according to an embodiment (FIGS. 1 to 7) 1.2 Improvements of a transmission system according to an embodiment (FIGS. 8 to 16) 1.3 Effects 2. Other embodiments
[0012] <1. One embodiment> [1.1 Configuration and operation of a transmission system according to an embodiment] [Example of transmission system configuration] FIG. 1 illustrates a first configuration example of a transmission system 1 according to an embodiment of the present disclosure.
[0013] 1 includes a sensor module 11 and a DSP (Digital Signal Processor) 12. The sensor module 11 and the DSP 12 are configured, for example, by different LSIs (Large Scale Integrated Circuits) and are provided in the same imaging device having an imaging function, such as a digital camera or a mobile phone.
[0014] The sensor module 11 has an imaging unit 21 and a transmission unit 22. The sensor module 11 also has a system control unit 51 and a register 53. The sensor module 11 also has a frame data input unit 52 (FIG. 6) which will be described later. The system control unit 51 and the register 53 are connected to the imaging unit 21 and the transmission unit 22.
[0015] The DSP 12 has a receiving unit 31 and an image processing unit 32. The DSP 12 also has a register 142 and a system control unit 143. The DSP 12 also has a frame data output unit 141 (FIG. 7) which will be described later. The register 142 and the system control unit 143 are connected to the receiving unit 31 and the image processing unit 32.
[0016] The system control unit 51 and register 53 in the sensor module 11 and the register 142 and system control unit 143 in the DSP 12 are connected to each other by a control line 13, enabling communication of control data and the like between the sensor module 11 and the DSP 12.
[0017] The imaging unit 21 has an imaging element such as a CMOS (Complementary Metal Oxide Semiconductor) and performs photoelectric conversion of light received through a lens. The imaging unit 21 also performs A / D conversion of the signal obtained by the photoelectric conversion, and outputs pixel data constituting one frame of an image to the transmission unit 22, one pixel at a time.
[0018] The transmission unit 22 assigns the data of each pixel supplied from the imaging unit 21 to a plurality of transmission paths, for example, in the order in which the data is supplied from the imaging unit 21, and transmits the data in parallel to the DSP 12 via the plurality of transmission paths. In the example of FIG. 1, the pixel data is transmitted using eight transmission paths. The transmission paths between the sensor module 11 and the DSP 12 may be wired transmission paths or wireless transmission paths. Hereinafter, the transmission paths between the sensor module 11 and the DSP 12 are appropriately referred to as lanes.
[0019] The receiving unit 31 of the DSP 12 receives the pixel data transmitted from the transmitting unit 22 via the eight lanes, and outputs the data for each pixel to the image processing unit 32 in sequence.
[0020] The image processing unit 32 generates one frame of an image based on the pixel data supplied from the receiving unit 31, and performs various image processing using the generated image. The image data transmitted from the sensor module 11 to the DSP 12 is RAW data, and the image processing unit 32 performs various processes such as compressing the image data, displaying the image, and recording the image data on a recording medium.
[0021] FIG. 2 shows a second configuration example of the transmission system 1 according to an embodiment.
[0022] The imaging unit 21 may be configured to output a plurality of pixel data of different types for the same pixel. For example, as shown in FIG. 2, two different types of pixel data (first pixel data DATA1, second pixel data DATA2) may be output as data for the same pixel. For example, two pixel data with different gains may be output for the same pixel. In this case, for example, two pixel data may be transmitted in parallel between the transmitting unit 22 and the receiving unit 31. For example, Lanes 0 to 3 out of Lanes 0 to 7 may be assigned as a first divided transmission path (LINK0) for transmitting the first pixel data DATA1, and Lanes 4 to 7 may be assigned as a second divided transmission path (LINK1) for transmitting the second pixel data DATA2. In this way, in order to transmit, for example, different types of pixel data in parallel between the transmitting unit 22 and the receiving unit 31, a plurality of lanes may be divided into a plurality of divided transmission paths (LINK) for each type of pixel data.
[0023] Note that the transmission system 1 may be provided with a plurality of transmitting units 22 and a plurality of receiving units 31. In this case, for example, image data of one frame or multiple frames captured by one imaging unit 21 may be divided and input in parallel to a plurality of transmitting units, and the image data of one frame or multiple frames input in parallel may be transmitted in parallel to a plurality of receiving units 31. Then, the image data of one frame or multiple frames received in parallel from the plurality of receiving units 31 may be output in parallel to the DSP 12.
[0024] As described above, the sensor module 11 of the transmission system 1 can be provided with one or more transmitters 22 that transmit image data of one or more captured frames. Meanwhile, the DSP 12 can be provided with one or more receivers 31 that correspond to the transmitters 22 of the sensor module 11 and receive image data of one or more frames transmitted from the sensor module 11.
[0025] 1 in which one transmitting unit 22 is provided in the sensor module 11 and one receiving unit 31 is provided in the DSP 12. Data transmission is also performed between each of the multiple transmitting units 22 and each of the multiple receiving units 31 in the same manner.
[0026] [Frame format] FIG. 3 shows an example of a frame format used to transmit one frame of image data between the sensor module 11 and the DSP 12.
[0027] The effective pixel area A1 is an area of effective pixels in one frame of an image captured by the imaging unit 21. A margin area A2, whose number of pixels in the vertical direction is the same as the number of pixels in the effective pixel area A1, is set to the left of the effective pixel area A1.
[0028] A front dummy area A3 is set above the effective pixel area A1, and the number of pixels in the horizontal direction is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction. In the example of Fig. 3, Embedded Data is inserted into the front dummy area A3. The 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 also be inserted into the rear dummy area A4.
[0029] Below the effective pixel area A1, a rear dummy area A4 is set, the number of pixels in the horizontal direction of which is the same as the number of pixels in the effective pixel area A1 and the entire margin area A2 in the horizontal direction.
[0030] 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.
[0031] A header is added before each line that constitutes the image data area A11, and a start code is added before the header. In addition, a footer is optionally added after each line that constitutes the image data area A11, and a control code such as an end code (described later) is added after the footer. If a footer is not added, a control code such as an end code is added after each line that constitutes the image data area A11.
[0032] Every time one frame of an image captured by the imaging unit 21 is transmitted from the sensor module 11 to the DSP 12, the entire data in the format shown in FIG. 3 is transmitted as transmission data.
[0033] The upper band in Figure 3 shows the structure of packets used to transmit the transmission data shown below. If the horizontal row of pixels is considered to be a line, the payload of a packet stores the data of the pixels that make up one line of the image data area A11. The transmission of the entire image data of one frame is performed using packets whose number is equal to or greater than the number of pixels in the vertical direction of the image data area A11.
[0034] A packet is constructed by adding a header and footer to a payload that stores one line's worth of pixel data. As will be described in detail later, the header contains additional information about the pixel data stored in the payload, such as Frame Start, Frame End, Line Valid, Line Number, Reserved, and ECC. The header also contains Embedded Line and Data ID, as enclosed by the thick line L11. At least Start Code and End Code, which are control codes, are added to each packet.
[0035] In this way, by adopting a format in which the pixel data that constitutes one frame of an image is transmitted line by line, it becomes possible to transmit additional information such as a header and control codes such as a start code and end code during the blanking period for each line.
[0036] Fig. 4 shows an example of the header structure of one packet of the frame format shown in Fig. 3. Fig. 5 shows an example of the contents of header information in the header structure shown in Fig. 4.
[0037] As described above, one packet includes a header and payload data, which is one line's worth of pixel data. A footer may also be added to the packet. The header includes header information and Header ECC. A start code is added to the beginning of each packet, and an end code is added to the end.
[0038] The header information includes Frame Start, Frame End, Line Valid, Line Number, and Reserved. The header information further includes Embedded Line as line information, and Data ID as data identification. The content and amount of each piece of information are shown in Figure 5.
[0039] Frame Start is 1-bit information indicating the beginning of a frame. A value of 1 is set to Frame Start in the header of a packet used to transmit pixel data of the first line in the image data area A11 in Fig. 3, and a value of 0 is set to Frame Start in the header of a packet used to transmit pixel data of other lines.
[0040] Frame End is 1-bit information indicating the end of a frame. The Frame End of the header of a packet that contains in its payload the pixel data of the last line of the effective pixel area A1 is set to a value of 1, and the Frame End of the header of a packet used to transmit pixel data of other lines is set to a value of 0.
[0041] Frame Start and Frame End constitute frame information, which is information relating to a frame.
[0042] "Line Valid" is 1-bit information that indicates whether the line of pixel data stored in the payload is a line of valid pixels. A value of 1 is set to "Line Valid" in the header of a packet used to transmit pixel data of a line within the valid pixel area A1, and a value of 0 is set to "Line Valid" in the header of a packet used to transmit pixel data of other lines.
[0043] The Line Number is 13-bit information that indicates the line number of the line composed of the pixel data stored in the payload.
[0044] Line Valid and Line Number constitute line information, which is information about the line.
[0045] The Embedded Line is 1-bit information indicating whether or not the packet is used to transmit a line in which Embedded Data is inserted. For example, a value of 1 is set to the Embedded Line in the header of a packet used to transmit a line including Embedded Data, and a value of 0 is set to the Embedded Line in the header of a packet used to transmit another line. As described above, information on the setting values related to imaging is inserted as Embedded Data into a predetermined line in the front dummy area A3 or the rear dummy area A4.
[0046] The Data ID is P-bit information indicating the number of pixel data stored in the payload. P bits represent a predetermined number of bits equal to or greater than 1 bit.
[0047] The Reserved area is a 31-P bit area for expansion. The total data size of the header information is 6 bytes.
[0048] As shown in Fig. 4, the Header ECC placed following the header information includes a CRC (Cyclic Redundancy Check) code, which is a 2-byte error detection code calculated based on the 6-byte header information. In addition, following the CRC code, the Header ECC includes two pieces of information that are the same as the 8-byte information that is a combination of the header information and the CRC code.
[0049] In other words, one packet header contains three sets of the same header information and CRC code. The total data size of the header is 24 bytes, consisting of the first 8-byte set of header information and CRC code, the second 8-byte set of header information and CRC code, and the third 8-byte set of header information and CRC code.
[0050] [Configuration of transmitter 22 and receiver 31] Fig. 6 shows an example of the configuration of the transmitting unit 22 in the transmission system 1. Fig. 7 shows an example of the configuration of the receiving unit 31 in the transmission system 1.
[0051] The transmitter 22 and the receiver 31 each have a link layer configuration and a physical layer configuration. In Fig. 6 and Fig. 7, 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.
[0052] The configuration shown above the solid line L1 is the configuration of the application layer. The application layer includes a system control unit 51, a frame data input unit 52, and a register 53, as well as a frame data output unit 141, a register 142, and a system control unit 143. The frame data input unit 52 is provided in, for example, the imaging unit 21. The frame data output unit 141 is provided in, for example, the image processing unit 32.
[0053] The system control unit 51 communicates with a LINK-TX protocol management unit 61 of the transmission unit 22, and controls the transmission of image data by providing information regarding the frame format, for example.
[0054] The frame data input unit 52 captures an image in response to an instruction from a user, and supplies data of each pixel constituting the image obtained by capturing the image to a pixel to byte conversion unit 62 in the transmission unit 22 .
[0055] The register 53 stores information such as the number of bits for pixel-to-byte conversion, the number of lanes, etc. In accordance with the information stored in the register 53, a transmission process of image data is performed.
[0056] The frame data output unit 141 generates and outputs one frame of image based on the pixel data of each line supplied from the receiving unit 31. Various types of processing are performed using the image output from the frame data output unit 141.
[0057] The register 142 stores various setting values related to reception of image data, such as the number of bits for Byte to Pixel conversion, the number of lanes, etc. In accordance with the information stored in the register 142, reception processing of the image data is performed.
[0058] The system control unit 143 communicates with the LINK-RX protocol management unit 121 and controls sequences such as mode changes.
[0059] [Link layer configuration of transmitter 22] 6, the transmitter 22 has, as a link layer configuration, a LINK-TX protocol management unit 61, a Pixel to Byte conversion unit 62, a payload ECC insertion unit 63, a packet generation unit 64, and a lane distribution unit 65. The LINK-TX protocol management unit 61 has a state control unit 71, a header generation unit 72, a data insertion unit 73, and a footer generation unit 74.
[0060] 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 .
[0061] The header generating unit 72 generates a header to be added to a payload in which one line of pixel data is stored, as shown in FIG.
[0062] The header generation unit 72 generates header information under the control of the system control unit 51. For example, the system control unit 51 supplies to the header generation unit 72 information indicating the line number of the pixel data output by the frame data input unit 52 and information indicating the beginning and end of a frame.
[0063] Furthermore, the header generating unit 72 applies the header information to a generating polynomial to calculate a CRC code. The generating polynomial of the CRC code added to the header information is expressed by, for example, the following equation (1). CRC16=X 16 +X 15 +X 2 +1 ……(1)
[0064] The header generating unit 72 generates a pair of the header information and the CRC code by adding a CRC code to the header information, and generates a header by arranging the same pair of the header information and the CRC code three times. The header generating unit 72 outputs the generated header to the packet generating unit 64.
[0065] The data insertion unit 73 generates data used for stuffing and outputs it to the Pixel to Byte conversion unit 62 and the lane distribution unit 65. The stuffing data supplied to the Pixel to Byte conversion unit 62, which is payload stuffing data, is added to pixel data after Pixel to Byte conversion, and is used to adjust the amount of pixel data stored in the payload. Also, the stuffing data supplied to the lane distribution unit 65, which is lane stuffing data, is added to data after lane allocation, and is used to adjust the amount of data between lanes.
[0066] The footer generating unit 74, under the control of the system control unit 51, appropriately applies the payload data to a generating polynomial to calculate a 32-bit CRC code, and outputs the calculated CRC code as a footer to the packet generating unit 64. The generating polynomial for the CRC code added as the footer is expressed by, for example, the following equation (2). CRC32=X 32 +X 31 +X 4 +X 3 +X+1 ……(2)
[0067] 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 to convert the data of each pixel into data in units of one byte. For example, the pixel value (RGB) of each pixel of the image captured by the imaging unit 21 is represented by any one of 8 bits, 10 bits, 12 bits, 14 bits, and 16 bits.
[0068] The Pixel to Byte conversion unit 62 performs Pixel to Byte conversion on each pixel, starting from the leftmost pixel of the line, for example. The Pixel to Byte conversion unit 62 also generates payload data by adding payload stuffing data supplied from the data insertion unit 73 to the byte-by-byte pixel data obtained by the Pixel to Byte conversion, and outputs the payload data to the payload ECC insertion unit 63.
[0069] The pixel data after pixel to byte conversion is grouped into a predetermined number of groups in the order obtained by the conversion. After grouping in this manner, in the link layer of the transmission unit 22, pixel data at the same position in each group is processed in parallel for each period defined by the clock signal. For example, when pixel data is assigned to 16 groups, the pixel data processing proceeds such that the 16 pixel data arranged in each column are processed within the same period.
[0070] As described above, the payload of one packet contains one line of pixel data. Here, the processing of pixel data in the effective pixel area A1 in Fig. 3 is described, but pixel data in other areas such as the margin area A2 are also processed together with the pixel data in the effective pixel area A1.
[0071] After one line of pixel data is grouped, payload stuffing data is added to make the data length of each group the same. The payload stuffing data is 1 byte of data.
[0072] Payload data having such a structure is supplied from the Pixel to Byte conversion unit 62 to the payload ECC insertion unit 63 .
[0073] 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 inserts the parity, which is the error correction code obtained by calculation, into the payload data. As the error correction code, for example, a Reed-Solomon code is used. Note that the insertion of the error correction code is optional, and for example, only one of the insertion of the parity by the payload ECC insertion unit 63 and the addition of the footer by the footer generation unit 74 can be performed.
[0074] In the payload ECC insertion unit 63, basically, 2 bytes of parity are generated based on, for example, 224 pieces of pixel data, and inserted consecutively to the 224 pieces of pixel data.
[0075] The payload ECC insertion unit 63 outputs the payload data with the parity inserted to the packet generation unit 64. When parity insertion is not performed, 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 is.
[0076] The packet generator 64 generates a packet by adding a header generated by the header generator 72 to the payload data supplied from the payload ECC inserter 63. When a footer is generated by the footer generator 74, the packet generator 64 also adds the footer to the payload data.
[0077] The packet generator 64 outputs packet data, which is data constituting one generated packet, to the lane distributor 65. Packet data consisting of header data and payload data, packet data consisting of header data, payload data and footer data, or packet data consisting of header data and payload data with parity inserted therein is supplied to the lane distributor 65. The packet structure in Fig. 4 is a logical one, and in the link layer and physical layer, the data of the packet having the structure in Fig. 4 is processed in units of bytes.
[0078] The lane distributor 65 allocates the packet data supplied from the packet generator 64 to each of the lanes 0 to 7 used for data transmission, in order from the leading data.
[0079] The lane distribution unit 65 outputs the packet data assigned to each lane to the physical layer. The following mainly describes a case where data is transmitted using eight lanes, Lanes 0 to 7, but similar processing is performed even if the number of lanes used for data transmission is other than the above.
[0080] [Physical layer configuration of transmitter 22] 6, the transmitter 22 includes a PHY-TX state control unit 81, a clock generation unit 82, and signal processing units 83-0 to 83-N as a configuration of the physical layer. The signal processing unit 83-0 has a control code insertion unit 91, an 8B10B symbol encoder 92, a synchronization unit 93, and a transmitter 94. Packet data assigned to Lane0 output from the lane distribution unit 65 is input to the signal processing unit 83-0, and packet data assigned to Lane1 is input to the signal processing unit 83-1. Also, packet data assigned to LaneN is input to the signal processing unit 83-N.
[0081] In this way, the physical layer of the transmitter 22 is provided with signal processing units 83-0 to 83-N in the same number as the number of lanes, and the processing of packet data to be transmitted using each lane is performed in parallel in each of the signal processing units 83-0 to 83-N. The configuration of the signal processing unit 83-0 will be described, but the signal processing units 83-1 to 83-N also have the same configuration.
[0082] The PHY-TX state control unit 81 controls each unit of the signal processing units 83-0 to 83-N. For example, the PHY-TX state control unit 81 controls the timing of each process performed by the signal processing units 83-0 to 83-N.
[0083] The clock generating unit 82 generates a clock signal and outputs it to each of the synchronization units 93 of the signal processing units 83-0 to 83-N.
[0084] 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. By performing 8B10B conversion in a subsequent circuit, one symbol inserted by the control code insertion unit 91 becomes 10-bit data. On the other hand, in the receiving unit 31, 10B8B conversion is performed on the received data as described later, but each symbol before the 10B8B conversion included in the received data is 10-bit data, and each symbol after the 10B8B conversion becomes 8-bit data.
[0085] The control code includes the Start Code, End Code, etc. shown in Fig. 4. The control code also includes an Idle Code, a Pad Code, a Sync Code, a Deskew Code, and a Standby Code.
[0086] The control code insertion unit 91 outputs the packet data with the control code added to the 8B10B symbol encoder 92.
[0087] The 8B10B symbol encoder 92 performs 8B10B conversion on the packet data (packet data to which a control code has been added) supplied from the control code insertion unit 91, and outputs the packet data converted into data in 10-bit units to a synchronization unit 93.
[0088] The synchronizer 93 outputs each bit of the packet data supplied from the 8B10B symbol encoder 92 to the transmitter 94 in accordance with the clock signal generated by the clock generator 82 .
[0089] The transmitter 94 transmits the packet data supplied from the synchronizer 93 to the receiver 31 via the transmission path constituting Lane 0. When data transmission is performed using eight lanes, the packet data is transmitted to the receiver 31 also using the transmission paths constituting Lanes 1 to 7.
[0090] [Physical layer configuration of receiver 31] As shown in FIG. 7, the receiving unit 31 includes a PHY-RX state control unit 101 and signal processing units 102-0 to 102-N as a configuration of the physical layer. The signal processing unit 102-0 includes a receiving unit 111, a clock generating unit 112, a synchronizing unit 113, a symbol synchronizing unit 114, a 10B8B symbol decoder 115, a skew correcting unit 116, and a control code removing unit 117. Packet data transmitted via a transmission path constituting Lane0 is input to the signal processing unit 102-0, and packet data transmitted via a transmission path constituting Lane1 is input to the signal processing unit 102-1. Also, packet data transmitted via a transmission path constituting LaneN is input to the signal processing unit 102-N.
[0091] In this way, the physical layer of the receiver 31 is provided with signal processing units 102-0 to 102-N in the same number as the number of lanes, and the packet data transmitted using each lane is processed in parallel in each of the signal processing units 102-0 to 102-N. The configuration of the signal processing unit 102-0 will be described, but the signal processing units 102-1 to 102-N also have the same configuration.
[0092] The receiving unit 111 receives a signal representing packet data transmitted from the transmitting unit 22 via the transmission path that constitutes Lane 0 , and outputs the signal to the clock generating unit 112 .
[0093] The clock generating unit 112 performs bit synchronization by detecting edges of the signal supplied from the receiving unit 111, and generates a clock signal based on the edge detection period. The clock generating unit 112 outputs the signal supplied from the receiving unit 111 to the synchronizing unit 113 together with the clock signal.
[0094] The synchronization unit 113 samples the signal received by the receiving unit 111 in accordance with 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 (Clock Data Recovery) function.
[0095] The symbol synchronization unit 114 performs symbol synchronization by detecting a control code included in the packet data or by detecting a part of a symbol included in the control code. For example, the symbol synchronization unit 114 detects the K28.5 symbol included in the Start Code, End Code, and Deskew Code to perform symbol synchronization. The symbol synchronization unit 114 outputs packet data in 10-bit units representing each symbol to the 10B8B symbol decoder 115.
[0096] Furthermore, the symbol synchronization unit 114 performs symbol synchronization by detecting the boundaries of symbols contained in the Sync Code repeatedly transmitted from the transmission unit 22 during the training mode before the start of packet data transmission.
[0097] The 10B8B symbol decoder 115 performs 10B8B conversion on the 10-bit packet data supplied from the symbol synchronization unit 114 , and outputs the packet data converted into 8-bit data to the skew correction unit 116 .
[0098] The skew correction unit 116 detects the deskew code from the packet data supplied from the 10B8B symbol decoder 115. Information on the timing at which the skew code is detected by the skew correction unit 116 is supplied to the PHY-RX state control unit 101.
[0099] The skew correction unit 116 also corrects data skew between lanes by adjusting the timing of the deskew code to the timing represented by the information supplied from the PHY-RX state control unit 101. The PHY-RX state control unit 101 supplies information representing the latest timing of the deskew codes detected in each of the signal processing units 102-0 to 102-N.
[0100] The skew correction unit 116 outputs the packet data with the data skew corrected to a control code removal unit 117 .
[0101] The control code removal unit 117 removes the control code added to the packet data, and outputs the data between the Start Code and the End Code to the link layer as packet data.
[0102] The PHY-RX state control unit 101 controls each unit of the signal processing units 102-0 to 102-N to correct data skew between lanes, etc. When a transmission error occurs in a specific lane and a control code is lost, the PHY-RX state control unit 101 performs error correction of the control code by adding a control code transmitted in another lane in place of the lost control code.
[0103] [Link layer configuration of receiver 31] 7, the receiver 31 is provided with, as a link layer configuration, 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. The LINK-RX protocol management unit 121 has a state control unit 131, a header error correction unit 132, a data removal unit 133, and a footer error detection unit 134.
[0104] The lane integrating unit 122 integrates the packet data supplied from the physical layer signal processing units 102-0 to 102-N by rearranging the data in the reverse order to the order in which the data was distributed to the lanes by the lane distributing unit 65 of the transmitting unit 22.
[0105] When integrating the packet data of each lane, the lane stuffing data is removed by the lane integrating unit 122 under the control of the data removing unit 133. The lane integrating unit 122 outputs the integrated packet data to the packet separating unit 123.
[0106] The packet separation unit 123 separates one packet's worth of packet data 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.
[0107] Furthermore, when a footer is included in a packet, the packet separation unit 123 separates one packet's worth of data into packet data constituting header data, packet data constituting payload data, and packet data constituting footer 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. Furthermore, the packet separation unit 123 outputs the footer data to the footer error detection unit 134.
[0108] If parity is inserted in the payload data supplied from the packet separation unit 123, the payload error correction unit 124 detects an error in the payload data by performing an error correction calculation based on the parity, and corrects the detected error.
[0109] The payload error correction unit 124 performs error correction on each Basic Block and Extra Block, and outputs the error-corrected pixel data obtained by the error correction to the Byte to Pixel conversion unit 125. If parity is not inserted in the payload data supplied from the packet separation unit 123, the payload data supplied from the packet separation unit 123 is output to the Byte to Pixel conversion unit 125 as is.
[0110] The byte to pixel conversion unit 125 removes the payload stuffing data contained in the payload data supplied from the payload error correction unit 124 under the control of the data removal unit 133 .
[0111] In addition, the Byte to Pixel conversion unit 125 performs Byte to Pixel conversion to convert the byte-based pixel data obtained by removing the payload stuffing data into pixel data in units of 8 bits, 10 bits, 12 bits, 14 bits, or 16 bits. The Byte to Pixel conversion unit 125 performs a conversion that is the reverse of the Pixel to Byte conversion performed by the Pixel to Byte conversion unit 62 of the transmission unit 22.
[0112] Byte to Pixel conversion unit 125 outputs pixel data in 8-bit, 10-bit, 12-bit, 14-bit, or 16-bit units obtained by the Byte to Pixel conversion to frame data output unit 141. In frame data output unit 141, for example, each line of valid pixels specified by Line Valid in the header information is generated based on the pixel data obtained by Byte to Pixel conversion unit 125, and one frame of an image is generated by arranging each line according to the Line Number in the header information.
[0113] The state control unit 131 of the LINK-RX protocol management unit 121 manages the state of the link layer of the receiving unit 31 .
[0114] The header error correction unit 132 obtains three pairs of header information and CRC codes based on the header data supplied from the packet separation unit 123. The header error correction unit 132 performs an error detection calculation, which is a calculation for detecting an error in the header information, for each pair of header information and CRC codes, using the CRC code of the same pair as the header information.
[0115] The header error correction unit 132 infers correct header information based on at least one of the error detection result of the header information of each set and the comparison result of the data obtained by the error detection calculation, and outputs the header information inferred to be correct and the decoded result. The data obtained by the error detection calculation is a value obtained by applying a generating polynomial of the CRC to the header information. The decoded result is information indicating whether the decoding is successful or unsuccessful.
[0116] The three sets of header information and CRC codes are set 1, set 2, and set 3, respectively. In this case, the header error correction unit 132 performs an error detection calculation on set 1 to determine whether or not there is an error in the header information of set 1 (error detection result) and obtains data 1, which is the data obtained by the error detection calculation. Furthermore, the header error correction unit 132 performs an error detection calculation on set 2 to determine whether or not there is an error in the header information of set 2 and obtains data 2, which is the data obtained by the error detection calculation. The header error correction unit 132 performs an error detection calculation on set 3 to determine whether or not there is an error in the header information of set 3 and obtains data 3, which is the data obtained by the error detection calculation.
[0117] Furthermore, the header error correction unit 132 determines whether or not data 1 and data 2 match, whether or not data 2 and data 3 match, and whether or not data 3 and data 1 match, respectively.
[0118] For example, if no error is detected by any of the error detection calculations for set 1, set 2, and set 3, and all comparison results of the data obtained by the error detection calculations match, the header error correction unit 132 selects information indicating successful decoding as the decoding result. Also, the header error correction unit 132 assumes that all header information is correct, and selects one of the header information of set 1, the header information of set 2, and the header information of set 3 as output information.
[0119] On the other hand, if no error is detected only in the error detection calculation targeted at set 1, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 1 is correct, and selects the header information of set 1 as output information.
[0120] In addition, if no error is detected only in the error detection calculation targeting set 2, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 2 is correct, and selects the header information of set 2 as output information.
[0121] If no error is detected only in the error detection calculation targeting set 3, the header error correction unit 132 selects information indicating successful decoding as the decoding result, and infers that the header information of set 3 is correct, and selects the header information of set 3 as output information.
[0122] The header error correction unit 132 outputs the decoded result and output information selected as described above to and stores them in the register 142. In this manner, the header error correction unit 132 corrects errors in the header information by detecting error-free header information from among a plurality of pieces of header information using a CRC code and outputting the detected header information.
[0123] 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.
[0124] 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 to detect an error in the payload data. The footer error detection unit 134 outputs the error detection result and stores it in the register 142.
[0125] [Overview of Sensor Module 11 and DSP 12 operation] Next, an overview of the operations of the sensor module 11 and the DSP 12 will be described, taking the operation of an imaging device having the transmission system 1 as an example.
[0126] The imaging unit 21 of the sensor module 11 captures an image when an instruction to start capturing an image is given, for example, by pressing a shutter button provided on the imaging device. The frame data input unit 52 (FIG. 6) of the imaging unit 21 outputs pixel data constituting one frame of an image obtained by capturing an image, one pixel at a time, to the transmission unit 22.
[0127] A packet is generated by the data transmission process performed by the transmitter 22, with one line's worth of pixel data stored in the payload, and the packet data constituting the packet is transmitted to the receiver 31.
[0128] A data reception process is performed in the receiving unit 31. By the data reception process, packet data transmitted from the transmitting unit 22 is received, and pixel data stored in the payload is output to the image processing unit 32.
[0129] The data transmission process performed by the transmitter 22 and the data reception process performed by the receiver 31 are performed alternately for one line of pixel data. That is, when a certain line of pixel data has been transmitted by the data transmission process, the data reception process is performed, and when a line of pixel data has been received by the data reception process, the data transmission process is performed for the next line of pixel data. The data transmission process by the transmitter 22 and the data reception process by the receiver 31 may be performed in parallel in terms of time as appropriate.
[0130] When the transmission and reception of pixel data for all lines constituting one frame of an image has been completed, the frame data output unit 141 of the image processing unit 32 generates one frame of an image based on the pixel data supplied from the receiving unit 31.
[0131] [1.3 Improvement of the transmission system 1 according to the embodiment] As described with reference to Figures 4 and 5, in the transmission system 1 according to an embodiment, the header has an area called Data ID, and by using the Data ID, it is possible to add identification information such as the type of pixel data. Meanwhile, in recent years, the number of types of pixel data has been increasing, and if this continues, there is a possibility that the Data ID will not fit in the header area. Examples of identification information include ROI (Region of Interest) and the type of transmission path (LINK) for transmitting pixel data.
[0132] In the transmission system 1 according to an embodiment, the area for storing the Data ID can be expanded to some extent by using the reserved area in the header. In recent years, the number of types of pixel data has increased, so there is a possibility that the header area alone, including the reserved area, will not be able to accommodate the identification information.
[0133] Therefore, hereinafter, as an example of an improvement to the transmission system 1 according to an embodiment, a technique for expanding the area for storing the identification information of pixel data and enabling reliable transmission of the identification information will be described.
[0134] FIG. 8 shows a first example of an extended storage destination for the Data ID.
[0135] As shown in Fig. 8, the Data ID can be added to, for example, an Embedded Data area. Although Fig. 8 shows an example in which the Embedded Data area is in the front dummy area A3, the Embedded Data area may be inserted in the rear dummy area A4. In this case, data indicating identification information for multiple lines can be added to the Embedded Data as the Data ID. In this case, the packet generating unit 64 generates a packet in which the Data ID is added to, for example, the Embedded Data area.
[0136] FIG. 9 shows a second example of an extended storage destination for the Data ID.
[0137] 9, the Data ID can be added to a part of the payload including pixel data. In this case, data indicating identification information for one line can be added to the payload as the Data ID. In this case, the packet generator 64 generates a packet in which the Data ID is added to a part of the payload including pixel data.
[0138] When expanding the storage destination of the Data ID, it is possible to use the normal Data ID area in the header. Also, when expanding the storage destination of the Data ID, the reserved area in the header may be used as an area indicating the expanded storage destination of the Data ID.
[0139] FIG. 10 shows an example of the structure of a Data ID.
[0140] The Data ID includes, for example, an identification code, a data type, and data. The identification code is 4 bits long to allow for extensibility in consideration of the addition of data other than the Data ID. The Data ID is a code indicating that it is a Data ID, and has a value such as "0001". The Data type indicates the Data type of the Data ID. The Data type indicates, for example, a LINK number. Data indicates the Data of the Data ID. For example, "0001" indicates that it is LINK0.
[0141] 11 and 12 show an example of a data configuration when a Data ID is added to an Embedded Data area.
[0142] FIG. 11 shows a first example of a data configuration example when a Data ID is added to Embedded Data.
[0143] Fig. 11 shows an example of the configuration of Data ID when, for example, two types of pixel data are allocated to LINK0 and LINK1 respectively. In the example of Fig. 11, the value of the identification code is "0001", indicating that it is a Data ID. Furthermore, the value of the Data type is "0001", indicating that the Data is a LINK number. Furthermore, the value of Data is "0001", indicating that it is an output from LINK0.
[0144] FIG. 12 shows a second example of the data configuration when a Data ID is added to Embedded Data.
[0145] Fig. 12 shows an example of the configuration of a Data ID indicating the number of ROIs. In the example of Fig. 12, the value of the identification code is "0001", indicating that it is a Data ID. Furthermore, the value of the Data type is "0010", indicating that Data is the number of ROIs. Furthermore, the value of Data is "1000", indicating the number of ROIs.
[0146] 13 to 15 show examples of data configurations in which a Data ID is added for each line.
[0147] FIG. 13 shows a first example of a data configuration when a Data ID is added to the payload. FIG. 13 shows an example in which the Data ID in the header is not used, and the Data ID is added only to a separate area (payload). The value of the Data ID in the header is "1111", indicating that the Data ID is in the payload. In the example of FIG. 13, the payload contains a Data type, Data, and one line of normal pixel data. In the example of FIG. 13, the Data type value is "0001", indicating that the Data is a LINK number. Additionally, the Data value is "0001", indicating that it is output from LINK0.
[0148] Fig. 14 shows a second example of a data configuration example when a Data ID is added to a payload. Fig. 14 shows a first example when a Data ID is added to another area (payload) in addition to using a Data ID in a header.
[0149] The example in FIG. 14 shows a case where the most significant bit of the Data ID in the header is used to indicate that the payload also has a Data ID. For example, if the header Data ID=1***, If 1: Indicates that the Data ID is also present in the payload area. If 0, indicates that the Data ID is in the header area only.
[0150] In the example of Fig. 14, the payload contains a Data type, Data, and one line of normal pixel data. In the example of Fig. 14, the Data type value is "0001", indicating that the Data is a LINK number. Also, the Data value is "0001", indicating that it is an output from LINK0.
[0151] Fig. 15 shows a third example of a data configuration example when a Data ID is added to a payload. Fig. 15 shows a second example when a Data ID is added to another area (payload) in addition to using the Data ID in the header.
[0152] In the example of Figure 15, to indicate that the payload also has a Data ID, the Reserved field in the header is used to indicate that the payload also has a Data ID. For example, one bit in the Reserved field is used as an extension bit for the Data ID. For example, when the Reserved value is 1, it indicates the following when it is 0. If 1: Indicates that the Data ID is also present in the payload area. If 0, indicates that the Data ID is in the header area only.
[0153] In the example of Fig. 15, the payload contains a Data type, Data, and one line of normal pixel data. In the example of Fig. 15, the Data type value is "0001", indicating that the Data is a LINK number. Also, the Data value is "0001", indicating that it is an output from LINK0.
[0154] FIG. 16 shows a specific example of the identification information represented by Data ID.
[0155] As shown in FIG. 16, the Data types include, for example, Gain, exposure time, ROI ID, ROI position information, AD bit number, pixel type information, shutter speed, pixel position, and ECC presence / absence.
[0156] When the Data type is Gain, the Data includes a Gain setting value. Examples of the Data description may be, for example, 0 [dB], 6 [dB], 1 [times], 2 [times], etc.
[0157] When the Data type is exposure time, the Data includes a value indicating exposure time information. An example of the description of Data may be, for example, 1 [ms].
[0158] When the Data type is ROI ID, the Data includes a region ID number. An example of the Data description may be, for example, 1, 2, 3, etc.
[0159] When the Data type is ROI position information, the Data includes the top left coordinates, etc. An example of the Data description may be, for example, the X coordinate of the top left pixel.
[0160] When the data type is the number of AD bits, the number of bits is included in the data. Examples of the data description may be 10 [bit], 12 [bit], etc.
[0161] When the Data type is pixel type information, the Data includes values indicating RGB, IR, etc. An example of the Data description may be, for example, R=11, G=10, etc.
[0162] When the Data type is the shutter speed, the Data includes the frame rate. Examples of the Data description may be, for example, 60 [fps], 120 [fps], etc.
[0163] When the Data type is a pixel position, the Data includes values indicating the top, bottom, left, and right, coordinates, etc. An example of how the Data is written may be, for example, top left=11, X coordinate.
[0164] When the Data type is ECC or not, the Data includes a value indicating the presence or absence of ECC. For example, Data may be written as 1 for ECC or 0 for no ECC.
[0165] [1.3 Effects] As described above, according to an improved example of the transmission system 1 of one embodiment, it is configured so that it is possible to add identification information of pixel data to at least a part of the payload, so that it is possible to reliably transmit the identification information of the pixel data.
[0166] Moreover, according to an improved example of the transmission system 1 according to one embodiment, even when it becomes difficult to add identification information using only the Data ID field of the header due to an increase in the types of pixel data, it becomes possible to reliably transmit the identification information of the pixel data.
[0167] The effects described in this specification are merely examples and are not limiting, and other effects may be achieved. The same applies to the effects of other embodiments described below.
[0168] <2. Other embodiments> The technology according to the present disclosure is not limited to the above-described embodiment, and various modifications are possible.
[0169] For example, the present technology can be configured as follows. According to the present technology having the following configuration, it is possible to add identification information of pixel data to at least a part of the payload, so that it is possible to reliably transmit the identification information of the pixel data.
[0170] (1) a transmitter capable of outputting a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame, and each of which has a header added to the payload, to a transmission path; an identification information adding unit that adds identification information of the pixel data to at least a partial area of the payload; Equipped Transmitting device. (2) Among the plurality of packets, some packets are packets including a dummy area in the payload instead of the pixel data, The identification information adding unit adds data indicating the identification information to the dummy area. A transmitting device as described in (1) above. (3) The identification information adding unit adds data indicating the identification information for a plurality of lines to the dummy area. A transmitting device as described in (2) above. (4) The identification information adding unit adds identification information for each line to a partial area of the payload of each of the plurality of packets. A transmitting device as described in (1) above. (5) The identification information adding unit adds the identification information to the header and at least a part of the area of the payload. A transmitting device according to any one of (1) to (4) above. (6) The identification information adding unit adds information about an area to which the identification information is added to the header. A transmitting device according to any one of (1) to (5) above. (7) A receiver capable of receiving a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame and has a header added to the payload, from a transmitter in a transmitting device via a transmission path. Equipped with The receiving unit is capable of receiving, from the transmitting device, a packet in which identification information of the pixel data is added to at least a part of the payload. Receiving device. (8) A transmitting device; Receiving device and Including, The transmitting device a transmitter capable of outputting a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame, and each of which has a header added to the payload, to a transmission path; an identification information adding unit that adds identification information of the pixel data to at least a partial area of the payload; Equipped Transmission system. (9) The receiving device includes: a receiving unit capable of receiving the plurality of packets from the transmitting unit of the transmitting device via the transmission path; Equipped with The receiving unit is capable of receiving, from the transmitting device, a packet in which identification information of the pixel data is added to at least a part of the payload. A transmission system as described in (8) above.
[0171] This application claims priority based on Japanese Patent Application No. 2019-209579, filed on November 20, 2019 in the Japan Patent Office, the entire contents of which are incorporated herein by reference.
[0172] Those skilled in the art will recognize that various modifications, combinations, subcombinations, and variations may occur to those skilled in the art depending on design requirements and other factors, and that such modifications are within the scope of the appended claims and their equivalents.
Claims
1. a transmitter capable of outputting a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame, and each of which has a header added to the payload, to a transmission path; an identification information adding unit that adds identification information of the pixel data to at least a partial area of the payload; Equipped with The identification information adding unit adds, to the partial area of the payload, a code indicating that the information added to the partial area is the identification information, a code indicating a type of the identification information added to the partial area, and a code indicating data of the identification information. Transmitting device.
2. Among the plurality of packets, some packets are packets including a dummy area in the payload instead of the pixel data, The identification information adding unit adds data indicating the identification information to the dummy area. The transmitting device according to claim 1 .
3. The identification information adding unit adds data indicating the identification information for a plurality of lines to the dummy area. The transmitting device according to claim 2.
4. The part of the payload is an embedded data area provided in the dummy area. The transmitting device according to claim 2.
5. The header has an area capable of storing the identification information, The identification information adding unit adds the identification information to an area in the header where the identification information can be stored and to the partial area of the payload. The transmitting device according to claim 1 .
6. A transmitting device; Receiving device and Including, The transmitting device a transmitter capable of outputting a plurality of packets, each of which includes a payload of pixel data for one line constituting an image for one frame, and each of which has a header added to the payload, to a transmission path; an identification information adding unit that adds identification information of the pixel data to at least a partial area of the payload; Equipped with The identification information adding unit adds, to the partial area of the payload, a code indicating that the information added to the partial area is the identification information, a code indicating a type of the identification information added to the partial area, and a code indicating data of the identification information. Transmission system.
7. The receiving device includes: a receiving unit capable of receiving the plurality of packets from the transmitting unit of the transmitting device via the transmission path; Equipped with The receiving unit is capable of receiving, from the transmitting device, a packet in which identification information of the pixel data is added to at least the partial area of the payload. The transmission system according to claim 6.
Citation Information
Patent Citations
Information processing apparatus, method, and program
JP2008252739A
Image output device, image output method, image processing device, image processing method, program, data structure, and imaging device
JP2012120158A
Transmission device, transmission method, reception device, reception method, and program
JP2012120159A
Video transmission device and video reception device
WO2018225449A1
Reception device, transmission device, control method, program, and transmission and reception system
WO2018225534A1
