WO2010097876A1 - シリアルデータ送受信装置およびデジタルカメラ - Google Patents

シリアルデータ送受信装置およびデジタルカメラ Download PDF

Info

Publication number
WO2010097876A1
WO2010097876A1 PCT/JP2009/006556 JP2009006556W WO2010097876A1 WO 2010097876 A1 WO2010097876 A1 WO 2010097876A1 JP 2009006556 W JP2009006556 W JP 2009006556W WO 2010097876 A1 WO2010097876 A1 WO 2010097876A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
line
serial
unit
image data
Prior art date
Application number
PCT/JP2009/006556
Other languages
English (en)
French (fr)
Inventor
吉田秀行
Original Assignee
パナソニック株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by パナソニック株式会社 filed Critical パナソニック株式会社
Priority to JP2011501365A priority Critical patent/JPWO2010097876A1/ja
Priority to CN200980157538.0A priority patent/CN102334331A/zh
Publication of WO2010097876A1 publication Critical patent/WO2010097876A1/ja
Priority to US13/198,192 priority patent/US20110285869A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M9/00Parallel/series conversion or vice versa
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0083Arrangements for transferring signals between different components of the apparatus, e.g. arrangements of signal lines or cables
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/21Intermediate information storage
    • H04N1/2104Intermediate information storage for one or a few pictures
    • H04N1/2112Intermediate information storage for one or a few pictures using still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • H04N1/32625Fault detection
    • H04N1/32641Fault detection of transmission or transmitted data, e.g. interruption or wrong number of pages
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/32Circuits or arrangements for control or supervision between transmitter and receiver or between image input and image output device, e.g. between a still-image camera and its memory or between a still-image camera and a printer device
    • H04N1/32609Fault detection or counter-measures, e.g. original mis-positioned, shortage of paper
    • H04N1/32646Counter-measures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2101/00Still video cameras
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N2201/00Indexing scheme relating to scanning, transmission or reproduction of documents or the like, and to details thereof
    • H04N2201/0077Types of the still picture apparatus
    • H04N2201/0084Digital still camera

Definitions

  • the present invention relates to a serial data transmitting / receiving device and a digital camera for transmitting serial format data.
  • Patent Document 1 discloses a solid-state imaging device using a differential signal as an LVDS signal. Hereinafter, a solid-state imaging device using a differential signal will be described.
  • FIG. 5 is a diagram showing a conventional solid-state imaging device 500 using a differential signal.
  • a solid-state imaging device 500 illustrated in FIG. 5 includes a solid-state imaging device 11, an AFE (Analog Front-End) unit 100, a data format conversion unit 513, a transmission unit 14, and a data format conversion unit 515. Is provided.
  • AFE Analog Front-End
  • the solid-state imaging device 11 has a function of acquiring an analog image signal by imaging a subject. It is assumed that the acquired analog image signal is an image signal indicating one frame.
  • the AFE unit 100 has an A / D conversion function.
  • the A / D conversion function is a function that converts an analog signal into a digital signal. In the following, the process of converting an analog signal into a digital signal is referred to as A / D conversion.
  • the AFE unit 100 includes an image processing unit 12 and a TG (Timing Generator) 101.
  • the image processing unit 12 acquires digital image data (hereinafter referred to as digital image data) by performing A / D conversion on the analog image signal in accordance with the low-speed clock SCLK.
  • the acquired digital image data is image data corresponding to one frame. In the following description, it is assumed that the image data is image data corresponding to one frame.
  • the acquired digital image data includes a plurality of line data.
  • the size of the image reproduced by the digital image data is, for example, a size of 1280 pixels horizontally and 760 pixels vertically
  • the digital image data includes 760 line data.
  • the acquired digital image data includes a plurality of pixel data.
  • Pixel data is data expressed by N (for example, 24) bits.
  • the acquired digital image data is parallel format image data (hereinafter referred to as parallel image data).
  • the parallel image data is transmitted to the data format conversion unit 513 in units of one pixel data (N-bit data).
  • N is “24”
  • the image processing unit 12 and the data format conversion unit 513 are connected by 24 data lines.
  • the image processing unit 12 transmits parallel image data to the data format conversion unit 513 in units of one pixel data (N-bit data).
  • the data format conversion unit 513 performs a process of converting parallel format data into serial format data (hereinafter referred to as “parasiri conversion process”).
  • the parallel-serial conversion process is performed according to the high-speed clock FCLK.
  • the data format conversion unit 513 obtains serial-format image data (hereinafter referred to as serial image data) by performing parallel-serial conversion processing on the parallel image data.
  • the data format conversion unit 513 inserts a synchronization code, which will be described later, into the serial image data when performing the parallel-serial conversion process.
  • the serial image data includes the synchronization code.
  • 6A and 6B are diagrams for explaining serial image data including a synchronization code.
  • FIG. 6A is a diagram for explaining serial image data including a synchronization code.
  • the serial image data includes line data LD1, LD2,..., LDv (v: natural number).
  • LD1 line data
  • LD2 size of the image obtained from the serial image data
  • LDv natural number
  • each of the line data LD1, LD2,..., LDv includes u (natural number) pixel data.
  • each of the line data LD1, LD2,..., LDv includes 1280 pixel data.
  • 1280 pieces of pixel data are pixel data P11, P12,..., P1u.
  • the synchronization code SOF is a code indicating the leading edge of the frame.
  • the synchronization code EOL is a code indicating the end of each line data.
  • the synchronization code SOL is a code indicating the tip of each line data.
  • the synchronization code EOF is a code indicating the end of the frame.
  • Each of the synchronization codes SOF, EOF, EOL, SOL is composed of a plurality of bits. A unique value that does not match the pixel data is set in each of the synchronization codes SOF, EOF, EOL, and SOL.
  • FIG. 6B is a diagram showing the structure of the serial image data shown in FIG. 6A according to the shape of the image obtained from the serial image data.
  • a synchronization code SOL is added to the head of each line data excluding the line data LD1.
  • a synchronization code SOF is added to the tip of the line data LD1.
  • a synchronization code EOL is added to the end of each line data excluding the line data LDv.
  • a synchronization code EOF is added to the end of the line data LDv.
  • the TG 101 generates the vertical synchronization signal VSC and the horizontal synchronization signal HSC.
  • the vertical synchronization signal VSC is a signal for defining the head of an image as a frame.
  • the horizontal synchronization signal HSC is a signal for defining the beginning or end of each line constituting an image as a frame.
  • the TG 101 transmits each of the generated vertical synchronization signal VSC and horizontal synchronization signal HSC to each of the solid-state imaging device 11, the image processing unit 12, and the data format conversion unit 513 at a corresponding predetermined timing.
  • the transmission unit 14 includes transmission lines 14D and 14C.
  • the data format conversion unit 513 and the data format conversion unit 515 are electrically connected by transmission paths 14D and 14C.
  • Each of the transmission paths 14D and 14C is a transmission path for transferring serial data using an LVDS signal.
  • Each of the transmission lines 14D and 14C is composed of a twisted pair line composed of two lines.
  • the transmission line 14D is a transmission line that transmits serial data using an LVDS signal.
  • the transmission line 14C is a transmission line for transmitting the clock FCLK using the LVDS signal.
  • the data format conversion unit 513 transmits the serial image data into which the synchronization code is inserted as shown in FIG. 6A to the data format conversion unit 515 using the transmission path 14D.
  • the data format conversion unit 513 transmits the clock FCLK to the data format conversion unit 515 using the transmission path 14C.
  • the data format conversion unit 515 performs processing for converting serial format data into parallel format data (hereinafter referred to as serial-parallel conversion processing) in accordance with the clock FCLK received from the transmission line 14C.
  • serial-parallel conversion processing processing for converting serial format data into parallel format data (hereinafter referred to as serial-parallel conversion processing) in accordance with the clock FCLK received from the transmission line 14C.
  • the data format conversion unit 515 obtains parallel image data by performing serial-parallel conversion processing on the received serial image data.
  • the data format conversion unit 515 detects the synchronization codes SOF and EOF included in the serial image data during the serial-parallel conversion process, and synchronizes the serial image data as a frame. In addition, the data format conversion unit 515 detects the synchronization codes EOL and SOL included in the serial image data during the serial-parallel conversion process, and synchronizes each line data.
  • the data format conversion unit 515 transmits parallel image data to another external circuit (not shown) in units of one pixel data (N-bit data).
  • the data format conversion unit 515 transmits the received clock FCLK to an external circuit.
  • the data format conversion unit 515 transmits the detected synchronization code to the external circuit every time one of the synchronization codes SOF, EOF, EOL, and SOL is detected.
  • serial transmission path a transmission path for transmitting serial data is referred to as a serial transmission path.
  • the serial transmission path is, for example, the transmission paths 14D and 14C in FIG.
  • pre-transmission data data before passing through the serial transmission path
  • post-transmission data data after passing through the serial transmission path
  • synchronization code SOL or the synchronization code EOL included in the serial image data as post-transmission data via the serial transmission path is missing.
  • the line data corresponding to the missing synchronization code cannot be reproduced (decoded). That is, an image obtained by reproducing the serial image data on the receiving side that has received the serial image data is an image in which a line corresponding to the missing synchronization code is missing. That is, there is line data that cannot be reproduced on the receiving side that has received the serial image data.
  • the conventional technology could not detect the presence of unreproducible line data.
  • the present invention has been made to solve the above-described problems, and an object of the present invention is to provide a serial data transmitting / receiving apparatus and the like that can detect the presence of unreproducible line data. is there.
  • a serial data transmitting / receiving apparatus includes a transmission unit that transmits serial data using a transmission line, and a reception unit that receives serial data from the transmission line With.
  • the transmission unit includes a data format conversion unit that converts parallel image data including a plurality of line data into serial image data that is serial image data.
  • the serial image data includes a plurality of continuous line data.
  • the transmitting unit further determines whether or not there is unreproducible line data that is unreproducible line data between two adjacent line data in a plurality of continuous line data included in the serial image data.
  • An insertion unit that performs a plurality of insertion processes for inserting determination information for the purpose.
  • the data format conversion unit acquires inserted serial image data that is serial format data in which a plurality of pieces of determination information are inserted into the serial image data by the insertion unit performing a plurality of insertion processes, and the acquired inserted serial image Data is transmitted to the receiving unit using the transmission path.
  • the receiving unit sequentially detects a plurality of pieces of determination information from the inserted serial image data received from the transmission path, and determines whether there is unreproducible line data based on at least a part of the plurality of detected pieces of determination information. Including a determination unit.
  • the transmission unit inserts determination information for determining whether there is unreproducible line data between two adjacent line data in a plurality of continuous line data included in the serial image data.
  • An insertion unit for performing a plurality of insertion processes.
  • the data format conversion unit transmits the inserted serial image data in which the plurality of pieces of determination information are inserted to the reception unit using the transmission path.
  • the receiving unit sequentially detects a plurality of pieces of determination information from the inserted serial image data received from the transmission path, and determines whether there is unreproducible line data based on at least a part of the plurality of detected pieces of determination information. Including a determination unit.
  • the determination information indicates a numerical value for specifying the line data
  • the determination unit sequentially detects a plurality of determination information from the inserted serial image data, and a value indicated by the detected latest determination information, It is determined whether there is unreproducible line data by comparing with the value indicated by the determination information detected immediately before the latest determination information.
  • the insertion unit inserts first determination information as determination information between two adjacent n (natural number) line data in a plurality of continuous line data, and in the plurality of line data, A plurality of insertion processes for inserting the second determination information as the determination information is performed between the (n + 1) th two adjacent line data.
  • the determination unit of the reception unit sequentially detects a plurality of pieces of determination information from the inserted serial image data, and when the two consecutive detection information detected is the first determination information or the second determination information, the reproduction is performed. It is determined that there is impossible line data.
  • At least one of the first determination information and the second determination information is information indicated by 1-bit data.
  • the data amount of the serially inserted serial image data including the first determination information and the second determination information as the determination information can be reduced.
  • the serial data transmitting / receiving apparatus transmits an instruction for causing the receiving unit to transmit line data corresponding to the unreproducible line data again.
  • a retransmission instruction unit to be provided to the unit.
  • the line data corresponding to the unreproducible line data can be acquired. Therefore, a normal image can be reproduced.
  • the transmission path is a transmission path that transmits data using an LVDS (Low Voltage Differential Signaling) signal.
  • LVDS Low Voltage Differential Signaling
  • a digital camera includes a serial data transmitting / receiving device, an image sensor that acquires an image signal by imaging a subject, and image data acquired by converting the image signal acquired by the image sensor into digital data.
  • An analog front end unit to be acquired an image processing unit for processing image data, and a display unit for displaying an image based on the image data processed by the image processing unit.
  • the serial data transmission / reception device acquires image data from the analog front end unit, and transmits the acquired image data to the image processing unit via the transmission unit and the reception unit.
  • all or some of a plurality of components constituting such a serial data transmitting / receiving apparatus may be realized as a system LSI (Large Scale Integration).
  • the present invention may be realized as a serial data transmission / reception method in which operations of characteristic components included in the serial data transmission / reception device are steps.
  • the present invention may also be realized as a program that causes a computer to execute each step included in such a serial data transmission / reception method.
  • the present invention may be realized as a computer-readable recording medium that stores such a program.
  • the program may be distributed via a transmission medium such as the Internet.
  • FIG. 1 is a diagram illustrating a configuration of the solid-state imaging device according to the first embodiment.
  • FIG. 2A is a diagram for explaining inserted serial image data including a line code LC.
  • FIG. 2B is a diagram for explaining the inserted serial image data including the line code LC.
  • FIG. 3 is a diagram illustrating a configuration of the solid-state imaging device according to the second embodiment.
  • FIG. 4A is an external view of a solid-state imaging device as a digital still camera.
  • FIG. 4B is an external view of a solid-state imaging device as a digital video camera.
  • FIG. 5 is a diagram showing a conventional solid-state imaging device using differential signals.
  • FIG. 6A is a diagram for describing serial image data including a synchronization code.
  • FIG. 6B is a diagram for describing serial image data including a synchronization code.
  • the image data is image data corresponding to one frame.
  • FIG. 1 is a diagram illustrating a configuration of a solid-state imaging apparatus 1000 according to the first embodiment.
  • the solid-state imaging device 1000 is a digital camera such as a digital still camera or a digital video camera.
  • 1 includes a solid-state imaging device 11, an AFE unit 100, a serial data transmission / reception device 200, an image processing unit 310, and a display unit 320.
  • the serial data transmitting / receiving apparatus 200 includes a transmission unit 210, a transmission unit 14, and a reception unit 220.
  • the transmission unit 14 in FIG. 1 includes transmission paths 14D and 14C, similar to the transmission unit 14 in FIG. Since transmission lines 14D and 14C have been described above, detailed description will not be repeated.
  • the transmission unit 210 includes a data format conversion unit 13 and an insertion unit 21.
  • the image processing unit 12 of the AFE unit 100 transmits parallel image data to the data format conversion unit 13 in units of one pixel data (N-bit data).
  • the data format conversion unit 13 performs parallel-serial conversion processing for converting parallel format data into serial format data, similar to the data format conversion unit 513 of FIG.
  • the parallel-serial conversion process is performed according to the high-speed clock FCLK.
  • the data format conversion unit 13 obtains serial image data by performing parallel-serial conversion processing on the parallel image data.
  • the data format conversion unit 13 inserts a synchronization code into the serial image data in the same manner as the data format conversion unit 513 when performing the parallel-serial conversion process.
  • the serial image data includes the synchronization code.
  • the serial image data after the synchronization code is inserted is referred to as code-added serial image data.
  • the serial image data with code is, for example, data having a structure as shown in FIG. 6A.
  • the TG 101 of the solid-state imaging device 1000 receives the vertical synchronization signal VSC and the horizontal synchronization signal HSC at a predetermined timing corresponding to the solid-state imaging device 11 and the image processing unit. 12 and transmit to each of the data format converter 13 and the inserter 21.
  • the timing at which the vertical synchronization signal VSC and the horizontal synchronization signal HSC are transmitted is based on a general image processing technique, and therefore detailed description will not be repeated.
  • the insertion unit 21 sequentially receives each of the plurality of horizontal synchronization signals HSC after receiving the vertical synchronization signal VSC.
  • the insertion unit 21 increments the value of the line counter by “1” every time the horizontal synchronization signal HSC is received.
  • the line counter is a counter for counting the number of line data.
  • the initial value of the line counter is “0”.
  • the insertion unit 21 sets the value of the line counter to “0” when receiving the vertical synchronization signal VSC again after receiving the vertical synchronization signal VSC.
  • the insertion unit 21 generates a line code LC every time the value of the line counter is updated.
  • the line code LC is a code for specifying line data.
  • the serial image data with code generated by the data format conversion unit 13 is data as shown in FIG. 6A.
  • the serial image data with code includes v (natural number) line data.
  • the insertion unit 21 generates a line code LC for specifying the line data corresponding to each of the v line data included in the serial image data with code.
  • the line data LD1 is the first line data.
  • the value of the line code LC generated corresponding to the line data LD1 is changed after the insertion unit 21 receives the first horizontal synchronization signal HSC after receiving the vertical synchronization signal VSC.
  • the value of the selected line counter is indicated. That is, in this case, the line code LC generated corresponding to the line data LD1 indicates “1”.
  • the insertion unit 21 performs an insertion process every time the line code LC is generated. In the insertion process, the insertion unit 21 transmits the generated line code LC and the insertion command to the data format conversion unit 13.
  • the insertion instruction includes a synchronization code EOL added to the end of the w (natural number) line data specified by the transmitted line code LC among a plurality of continuous line data included in the serial image data with code, This is a command for inserting the line code LC between the w + 1-th line data and the synchronization code SOL added to the leading end.
  • the insertion command is a command for inserting the line code LC between two adjacent line data among a plurality of continuous line data.
  • the data format conversion unit 13 When receiving the line code LC and the insertion command, the data format conversion unit 13 inserts the line code LC into the serial image data with code according to the insertion command. Note that the data format conversion unit 13 does not perform the process of inserting the line code LC when receiving the insertion command corresponding to the line data LDv shown in FIG. 6A.
  • the insertion unit 21 performs the insertion process, so that the insertion unit 21 sends the line code LC to the data format conversion unit 13 between two adjacent line data items included in the serial image data with code. Insert between line data. That is, the insertion processing is processing for causing the data format conversion unit 13 to insert the line code LC between two adjacent line data among a plurality of continuous line data included in the serial image data with code.
  • the insertion process for the code-added serial image data is completed by the insertion process being repeatedly performed by the insertion unit 21 by the number of line data included in the code-added serial image data.
  • the data format conversion unit 13 obtains serial image data with code including a plurality of line codes LC (hereinafter referred to as inserted serial image data).
  • the process in which the insertion process is repeatedly performed by the number of line data included in the serial image data with code is referred to as a plurality of insertion processes. That is, the insertion unit 21 performs a plurality of insertion processes by repeatedly performing the insertion process for the number of line data included in the serial image data with code.
  • the multiple insertion processing is processing for causing the data format conversion unit 13 to insert the line code LC between two adjacent line data among a plurality of continuous line data included in the serial image data with code.
  • the data format conversion unit 13 converts the line code LC into a plurality of continuous line data included in the serial image data with code. Of these, it inserts between two adjacent line data, and as a result, inserted serial image data is obtained.
  • 2A and 2B are diagrams for explaining the inserted serial image data including the line code LC.
  • FIG. 2A is a diagram showing a state in which the line code LC is inserted into the serial image data with code.
  • the line code LC is, for example, between a synchronization code EOL added to the end of the first line data LD1 and a synchronization code SOL added to the tip of the second line data LD2. Inserted into.
  • the line code LC between the synchronization code EOL added to the end of the first line data LD1 and the synchronization code SOL added to the tip of the second line data LD2 indicates “1”.
  • the line code LC indicating “1” is a code for specifying the line data LD1.
  • the line code LC indicating “v (natural number) ⁇ 1” is a code for specifying the line data LD (v ⁇ 1).
  • the position where the line code LC is inserted is within the horizontal blanking period between two adjacent line data. Therefore, when the line code LC is inserted, an image reproduced from the inserted serial image data is not affected by the image quality.
  • FIG. 2B is a diagram showing the structure of the inserted serial image data shown in FIG. 2A according to the shape of the image obtained from the inserted serial image data.
  • the number of line codes LC included in the inserted serial image data is (v ⁇ 1).
  • the line code LC shown at the right end of each row corresponds to the line data of the corresponding row.
  • the line code LC in the first row is a line code corresponding to the line data LD1.
  • the line code LC in the second row is a line code corresponding to the line data LD2.
  • the receiving unit 220 includes a data format conversion unit 15.
  • the data format conversion unit 13 and the data format conversion unit 15 are electrically connected by transmission paths 14D and 14C. Since transmission lines 14D and 14C have been described above, detailed description will not be repeated.
  • the data format conversion unit 13 transmits the inserted serial image data with the line code LC inserted as shown in FIG. 2A to the data format conversion unit 15 using the transmission line 14D.
  • the data format conversion unit 13 transmits the clock FCLK to the data format conversion unit 15 using the transmission path 14C. Similar to the data format conversion unit 515 of FIG. 5, the data format conversion unit 15 performs serial-parallel conversion processing for converting serial format data into parallel format data in accordance with the clock FCLK received from the transmission path 14C. The data format conversion unit 15 obtains parallel image data by performing serial-parallel conversion processing on the inserted serial image data.
  • the data format conversion unit 15 detects the synchronization codes SOF, EOL, SOL, and EOF included in the inserted serial image data during the parallel-serial conversion processing, like the data format conversion unit 515 of FIG.
  • the data format conversion unit 15 sequentially detects a plurality of line codes LC included in the inserted serial image data during the serial-parallel conversion process.
  • the data format conversion unit 15 performs a determination process every time the line code LC is detected.
  • the value indicated by the latest line code LC detected by the data format conversion unit 15 (hereinafter referred to as the latest line value) is the value indicated by the line code LC detected immediately before the latest line code LC. It is determined whether or not the value is 1 larger than (hereinafter, the previous line value).
  • the data format conversion unit 15 does not perform a determination process when the first line code LC is detected.
  • the data format conversion unit 15 determines that the line data corresponding to the detected latest line code LC can be reproduced (decoded). To do.
  • the data format conversion unit 15 converts the line data corresponding to the detected latest line code LC into unreproducible line data (hereinafter referred to as “line data”). (It is referred to as unreproducible line data). That is, the data format conversion unit 15 determines that there is unreproducible line data.
  • the data format conversion unit 15 is a determination unit that determines whether there is unreproducible line data.
  • the line code LC is also determination information for determining whether there is unreproducible line data.
  • the situation is as follows. For example, in the period when the inserted serial image data is transmitted in the transmission line 14D, noise or the like is generated in the transmission line 14D.
  • the synchronization code SOL or the synchronization code EOL included in the inserted serial image data is generated. This is a missing situation.
  • the data format conversion unit 15 transmits the parallel format image data obtained by the serial-parallel conversion process to the image processing unit 310 in units of one pixel data (N-bit data).
  • the image processing unit 310 performs various image processing on the received image data. Then, the image processing unit 310 transmits the image processed image data to the display unit 320.
  • the display unit 320 is a display device for displaying an image.
  • the display unit 320 displays an image based on the image data received from the image processing unit 310.
  • an inserted serial image in which a line code LC is inserted between two adjacent line data among a plurality of continuous line data included in the serial image data with code.
  • Data is transmitted to the receiving unit 220.
  • the data format conversion unit 15 of the reception unit 220 sequentially detects a plurality of line codes LC included in the received inserted serial image data.
  • the latest line value indicated by the latest line code LC is the previous line indicated by the line code LC detected immediately before the latest line code LC. It is determined whether or not there is unreproducible line data by determining whether or not the value is one larger than the value. That is, according to the present embodiment, it can be detected that there is line data that cannot be reproduced.
  • all or part of the solid-state imaging device 11, the image processing unit 12, the data format conversion unit 13, the transmission paths 14D and 14C, the data format conversion unit 15, and the insertion unit 21 is a one-chip LSI (Large Scale Integration). It may be configured.
  • a solid-state imaging device is the solid-state imaging device 1000 of FIG. Therefore, detailed description of each part included in solid-state imaging device 1000 will not be repeated.
  • the line code LC to be inserted into the serial image data with code is 1-bit data. That is, in the modification of the present embodiment, the insertion unit 21 generates a line code LC that represents 1-bit data, and performs processing for inserting the generated line code LC into code-added serial image data.
  • this is different from the first embodiment. Since other processes are the same as those in the first embodiment, detailed description will not be repeated.
  • the insertion unit 21 increments the value of the line counter by “1” every time the horizontal synchronization signal HSC is received.
  • the insertion unit 21 generates a line code LC every time the value of the line counter is updated. Specifically, the insertion unit 21 generates a line code LC indicating “0” when the value of the updated line counter is an odd number. Further, the insertion unit 21 generates a line code LC indicating “1” when the value of the updated line counter is an even number.
  • the insertion part 21 performs the insertion process A every time the line code LC is generated.
  • the insertion unit 21 transmits the generated line code LC and the insertion instruction A to the data format conversion unit 13.
  • the insertion instruction A is a synchronization code added to the end of the w th line data corresponding to the w (natural number) th line code LC to be transmitted among a plurality of continuous line data included in the serial image data with code.
  • This is an instruction for inserting the line code LC between the EOL and the synchronization code SOL added to the leading end of the (w + 1) th line data.
  • the first line data corresponding to the transmitted first line code LC is the line data LD1.
  • the insertion instruction A is an instruction for inserting the line code LC between two adjacent line data among a plurality of continuous line data.
  • the data format conversion unit 13 When receiving the line code LC and the insertion instruction A, the data format conversion unit 13 inserts the line code LC into the serial image data with code according to the insertion instruction A.
  • the data format conversion unit 13 does not perform the process of inserting the line code LC when receiving the insertion instruction A corresponding to the line data LDv shown in FIG. 6A.
  • the insertion process A is repeatedly performed by the insertion unit 21 by the number of line data included in the code-added serial image data, whereby the insert process A for the code-added serial image data ends.
  • the data format conversion unit 13 obtains serial image data with code including a plurality of line codes LC (hereinafter referred to as alternately inserted serial image data). .
  • the process in which the insertion process A is repeatedly performed by the number of line data included in the serial image data with code is referred to as an alternate insertion process. That is, the insertion unit 21 performs the alternate insertion process by repeatedly performing the insertion process A as many times as the number of line data included in the serial image data with code.
  • the alternate insertion process is a process of causing the data format conversion unit 13 to insert the line code LC between two adjacent line data among a plurality of continuous line data included in the serial image data with code. That is, the alternate insertion process is the multiple insertion process described above.
  • the line code LC indicating “0” and the line code LC indicating “1” are referred to as a first line code LC and a second line code LC, respectively.
  • the first line code LC and the second line code LC are also referred to as first determination information and second determination information, respectively.
  • the insertion process A is repeated for the number of line data included in the serial image data with code.
  • the serial image data having the alternately inserted data structure shown in FIG. 2A is generated.
  • the line code LC between the first two adjacent line data LD1 and LD2 is the first line code LC.
  • the line code LC between the two adjacent two line data LD2 and LD3 is the second line code LC.
  • the insertion unit 21 performs the above-described alternate insertion process.
  • the alternate insertion process inserts a first line code LC between two adjacent line data of n (natural number) in a plurality of continuous line data included in serial image data with code, and the plurality of lines In the data, this is a multiple insertion process for inserting the second line code LC between two (n + 1) th adjacent line data.
  • the insertion process A for transmitting the first line code LC and the insertion instruction A is performed, so that the data format conversion unit 13 performs n in a plurality of continuous line data included in the serial image data with code.
  • a first line code LC (first determination information) is inserted between two adjacent pieces of line data.
  • the insertion process A for transmitting the second line code LC and the insertion instruction A is performed, so that the data format conversion unit 13 can detect the continuous line data included in the code-added serial image data.
  • the second line code LC (second determination information) is inserted between the two (n + 1) th adjacent line data.
  • the data format conversion unit 13 obtains alternately inserted serial image data.
  • the data format conversion unit 13 uses the transmission path 14D to transmit the alternately inserted serial image data into which the line code LC is inserted as shown in FIG. 2A to the data format conversion unit 15.
  • the data format conversion unit 15 sequentially detects a plurality of line codes LC included in the alternately inserted serial image data during the serial-parallel conversion process.
  • the data format conversion unit 15 performs the determination process A every time the line code LC is detected. In the determination processing A, the latest line value indicated by the latest line code LC detected by the data format conversion unit 15 is different from the previous line value indicated by the line code LC detected immediately before the latest line code LC. It is determined whether or not.
  • the data format conversion unit 15 does not perform the determination process A when the first line code LC is detected.
  • the data format conversion unit 15 determines that the line data corresponding to the detected latest line code LC can be reproduced (decoded).
  • the two continuous line codes LC indicating the latest line value and the previous line value are the first line code LC and the second line code LC, respectively.
  • the data format conversion unit 15 detects the latest line code LC detected.
  • the line data corresponding to is determined to be unreproducible line data (hereinafter referred to as unreproducible line data). That is, the data format conversion unit 15 determines that there is unreproducible line data.
  • the two continuous line codes LC respectively indicating the latest line value and the previous line value are the first line code LC or the second line code LC.
  • the data format conversion unit 15 as a determination unit sequentially detects a plurality of determination information (line code LC) from the inserted serial image data (alternately inserted serial image data), and detects two consecutive determination information detected.
  • line code LC is the first determination information (first line code LC) or the second determination information (second line code LC)
  • the line code LC is 1-bit data. Therefore, it is possible to reduce the data amount of the serially inserted serial image data to be transmitted in the transmission path 14D. Therefore, an effect is obtained that a circuit for determining the presence or absence of unreproducible line data can be reduced.
  • FIG. 3 is a diagram illustrating a configuration of a solid-state imaging device 1000A according to the second embodiment.
  • the solid-state imaging device 1000A is a digital camera such as a digital still camera or a digital video camera.
  • FIG. 3 differs from the solid-state imaging device 1000 of FIG. 1 in that it includes a serial data transmission / reception device 200A instead of the serial data transmission / reception device 200. Other than that, it is the same as that of the solid-state imaging device 1000, and thus detailed description will not be repeated.
  • the serial data transmission / reception device 200A is different from the serial data transmission / reception device 200 in FIG. 1 in that a transmission unit 210A is provided instead of the transmission unit 210 and a reception unit 220A is provided instead of the reception unit 220. Other than that, it is similar to serial data transmitting / receiving apparatus 200, and therefore detailed description will not be repeated.
  • the transmission unit 210A is different from the transmission unit 210 of FIG. 1 in that it further includes a line memory 32 and a switch SW10. Other than that, it is the same as that of the transmission unit 210, and thus detailed description will not be repeated.
  • the line memory 32 is a memory capable of storing one line data.
  • the switch SW10 switches between the first connection state and the second connection state according to an instruction from the outside.
  • the first connection state is a state in which the data format conversion unit 13 and the transmission line 14D are electrically connected.
  • the second connection state is a state in which the line memory 32 and the transmission line 14D are electrically connected.
  • the normal state of the switch SW10 is the first connection state.
  • the data format conversion unit 13 is electrically connected to each of the switch SW10 and the line memory 32.
  • the data format conversion unit 13 switches the inserted serial image data to the switch SW10 in units of line data corresponding to one row shown in FIG. 2B. And to the line memory 32.
  • the data format conversion unit 13 converts the serially inserted serial image data into a line corresponding to one row shown in FIG. 2B.
  • the data is transmitted to the switch SW10 and the line memory 32 in units of data.
  • the line memory 32 receives part of the line data of the inserted serial image data or the alternately inserted serial image data, and stores the received data.
  • the line memory 32 stores new line data when new line data is received while the line data is stored. That is, the line memory 32 holds the line data until new line data is received.
  • the switch SW10 uses the transmission path 14D to send the received inserted serial image data or alternately inserted serial image data in units of line data corresponding to one row shown in FIG. 2B to the data format conversion unit 15. Send.
  • the receiving unit 220A is different from the receiving unit 220 of FIG. 1 in that it further includes a CPU (Central Processing Unit) 31. Other than that, it is the same as the receiving unit 220, and therefore, detailed description will not be repeated.
  • CPU Central Processing Unit
  • the data format conversion unit 15 performs the determination process described in the first embodiment. If the data format conversion unit 15 determines that there is unreproducible line data by the determination process, the data format conversion unit 15 transmits unreproducible line presence information to the CPU 31.
  • the unreproducible line presence information is information for notifying that unreproducible line data exists.
  • the data format conversion unit 15 performs the determination process A described in the modification of the first embodiment. If the data format conversion unit 15 determines that there is unreproducible line data by the determination process A, the data format conversion unit 15 transmits unreproducible line presence information to the CPU 31.
  • the CPU 31 recognizes that there is unreproducible line data by receiving the unreproducible line presence information. Note that the non-reproducible line presence information is received by interrupt processing or polling processing.
  • the CPU 31 transmits a state setting instruction for setting the state of the switch SW10 to the second connection state to the switch SW10.
  • the switch SW10 When the switch SW10 receives the state setting instruction, the switch SW10 switches the state of the switch SW10 to the second connection state. Thereby, the line data corresponding to the non-reproducible line data stored in the line memory 32 is transmitted (retransmitted) to the data format conversion unit 15 via the transmission path 14D.
  • the state setting instruction is an instruction for causing the data format conversion unit 15 to transmit the line data corresponding to the unreproducible line data again.
  • the timing at which the CPU 31 transmits the state setting instruction is a timing within a horizontal blanking period between two adjacent line data.
  • the CPU 31 when it is determined that there is unreproducible line data, the CPU 31 transmits the line data corresponding to the unreproducible line data to the data format conversion unit 15 again. I do. That is, the CPU 31 is a retransmission instruction unit that gives a state setting instruction for transmitting line data corresponding to unreproducible line data to the receiving unit 220A again to the transmitting unit 210A.
  • the line memory 32 may be a memory that stores inserted serial image data or alternately inserted serial image data for one frame.
  • the CPU 31 transmits a state setting instruction to the switch SW10. Thereby, the inserted serial image data or the alternately inserted serial image data stored in the line memory 32 is transmitted (retransmitted) to the data format conversion unit 15 via the transmission path 14D.
  • all or part of the solid-state imaging device 11, the image processing unit 12, the data format conversion unit 13, the transmission paths 14D and 14C, the data format conversion unit 15, the insertion unit 21, the switch SW10, and the CPU 31 are one-chip LSIs. It may be configured.
  • FIG. 4A is an external view of the solid-state imaging device 1000, 1000A as a digital still camera.
  • FIG. 4B is an external view of solid-state imaging devices 1000 and 1000A as digital video cameras.
  • all or some of the plurality of constituent elements constituting the serial data transmitting / receiving apparatus may be configured by hardware. Further, all or part of the constituent elements constituting the serial data transmitting / receiving apparatus may be a module of a program executed by a CPU (Central Processing Unit) or the like.
  • a CPU Central Processing Unit
  • the system LSI is an ultra-multifunctional LSI manufactured by integrating a plurality of components on one chip. Specifically, a microprocessor, a ROM (Read Only Memory), a RAM (Random Access Memory), etc. It is a computer system comprised including.
  • the present invention may be realized as a serial data transmission / reception method in which operations of characteristic components included in the serial data transmission / reception device are steps.
  • the present invention may also be realized as a program that causes a computer to execute each step included in such a serial data transmission / reception method.
  • the present invention may be realized as a computer-readable recording medium that stores such a program.
  • the program may be distributed via a transmission medium such as the Internet.
  • the present invention can be applied to solid-state imaging devices such as digital still cameras and digital video cameras that need to transmit serial-format image data at high speed.
  • SW10 Switch 11 Solid-state imaging device 12 310 Image processing unit 13, 15, 513, 515 Data format conversion unit 14 Transmission unit 21 Insertion unit 31
  • CPU 32 line memory 100
  • AFE unit 200 200A serial data transmitting / receiving device 210, 210A transmitting unit 220, 220A receiving unit 320 display unit 1000, 1000A solid-state imaging device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Studio Devices (AREA)
  • Image Processing (AREA)

Abstract

 送信部(210)は、シリアル画像データに含まれる連続する複数のラインデータにおいて、各隣り合う2つのラインデータの間に、判定情報を挿入するための複数挿入処理を行う挿入部(21)を含む。データ形式変換部(13)は、複数の判定情報が挿入された挿入済シリアル画像データを、伝送路(14D)を使用して、受信部(220)へ送信する。受信部(220)は、伝送路(14D)から受信した挿入済シリアル画像データから、複数の判定情報を順次検出し、検出した複数の判定情報の少なくとも一部に基づいて、再生不能ラインデータがあるか否かを判定するデータ形式変換部(15)を含む。

Description

シリアルデータ送受信装置およびデジタルカメラ
 本発明は、シリアル形式のデータを伝送するシリアルデータ送受信装置およびデジタルカメラに関する。
 近年、デジタルスチルカメラ、デジタルビデオカメラ等の固体撮像装置において、処理する画像データのデータ量が大きくなりつつある。そのため、近年では、高速にデータを処理することが可能な、LVDS(Low Voltage Differential Signaling:低振幅差動)信号を使用する回路を備えた固体撮像装置が増えつつある。
 特許文献1には、LVDS信号としての差動信号を使用した固体撮像装置が開示されている。以下に、差動信号を使用した固体撮像装置について説明する。
 図5は、差動信号を使用した従来の固体撮像装置500を示す図である。
 図5に示す固体撮像装置500は、固体撮像素子11と、AFE(Analog Front-End:アナログ・フロントエンド)部100と、データ形式変換部513と、伝送部14と、データ形式変換部515とを備える。
 固体撮像素子11は、被写体を撮像することにより、アナログの画像信号を取得する機能を有する。取得したアナログの画像信号は、1フレームを示す画像信号であるとする。
 AFE部100は、A/D変換機能を有する。A/D変換機能は、アナログ信号をデジタル信号に変換する機能である。以下においては、アナログ信号をデジタル信号に変換する処理を、A/D変換という。
 AFE部100は、画像処理部12と、TG(Timing Generator)101とを含む。
 画像処理部12は、低速のクロックSCLKに応じて、アナログの画像信号に対し、A/D変換を行うことにより、デジタルの画像データ(以下、デジタル画像データという)を取得する。取得されたデジタル画像データは、1フレームに対応する画像データである。以下において、画像データは、1フレームに対応する画像データであるとして、説明する。
 取得されたデジタル画像データは、複数のラインデータを含む。デジタル画像データにより再生される画像のサイズが、例えば、横1280画素、縦760画素のサイズである場合、当該デジタル画像データは、760個のラインデータを含む。
 また、取得されたデジタル画像データは、複数の画素データを含む。画素データは、N(例えば、24)ビットで表現されるデータである。また、取得されたデジタル画像データは、パラレル形式の画像データ(以下、パラレル画像データという)である。
 ここで、パラレル画像データは、1つの画素データ(Nビットのデータ)単位で、データ形式変換部513へ送信されるとする。例えば、Nが“24”である場合、画像処理部12と、データ形式変換部513とは、24本のデータ線で接続される。
 画像処理部12は、パラレル画像データを、1つの画素データ(Nビットのデータ)単位で、データ形式変換部513へ送信する。
 データ形式変換部513は、パラレル形式のデータをシリアル形式のデータに変換する処理(以下、パラシリ変換処理という)を行う。パラシリ変換処理は、高速のクロックFCLKに応じて行われる。データ形式変換部513は、パラレル画像データに対し、パラシリ変換処理を行うことにより、シリアル形式の画像データ(以下、シリアル画像データ)を得る。
 なお、データ形式変換部513は、パラシリ変換処理を行う際、シリアル画像データに後述する同期コードを挿入する。これにより、シリアル画像データには、同期コードが含まれる。
 図6Aおよび図6Bは、同期コードを含むシリアル画像データを説明するための図である。
 図6Aは、同期コードを含むシリアル画像データを説明するための図である。
 シリアル画像データは、ラインデータLD1,LD2,・・・,LDv(v:自然数)を含む。シリアル画像データから得られる画像のサイズが、横1280画素、縦760画素のサイズである場合、当該シリアル画像データは、760個のラインデータを含む。
 また、ラインデータLD1,LD2,・・・,LDvの各々は、u(自然数)個の画素データを含む。シリアル画像データから得られる画像の横のサイズが、1280画素である場合、ラインデータLD1,LD2,・・・,LDvの各々は、1280個の画素データを含む。例えば、1280個の画素データは、画素データP11,P12,・・・,P1uである。
 図6Aにおいて、同期コードSOFは、フレームの先端を示すコードである。また、同期コードEOLは、各ラインデータの終端を示すコードである。同期コードSOLは、各ラインデータの先端を示すコードである。同期コードEOFは、フレームの終端を示すコードである。同期コードSOF,EOF,EOL,SOLの各々は、複数のビットで構成される。また、同期コードSOF,EOF,EOL,SOLの各々には、画素データと一致しないユニークな値が設定される。
 図6Bは、図6Aに示されるシリアル画像データの構造を、当該シリアル画像データから得られる画像の形状にあわせて表示した図である。
 図6Bに示されるように、ラインデータLD1を除いた各ラインデータの先頭には、同期コードSOLが付加される。ラインデータLD1の先端には、同期コードSOFが付加される。また、ラインデータLDvを除いた各ラインデータの終端には、同期コードEOLが付加される。ラインデータLDvの終端には、同期コードEOFが付加される。
 再び、図5を参照して、TG101は、垂直同期信号VSCおよび水平同期信号HSCを生成する。垂直同期信号VSCは、フレームとしての画像の先頭を規定するための信号である。水平同期信号HSCは、フレームとしての画像を構成する各ラインの先頭または終端を規定するための信号である。
 TG101は、生成した垂直同期信号VSCおよび水平同期信号HSCの各々を、対応する所定のタイミングで、固体撮像素子11、画像処理部12およびデータ形式変換部513の各々へ送信する。
 伝送部14は、伝送路14D,14Cを含む。
 データ形式変換部513とデータ形式変換部515とは、伝送路14D,14Cにより電気的に接続される。伝送路14D,14Cの各々は、LVDS信号を使用してシリアルデータを転送するための伝送路である。
 伝送路14D,14Cの各々は、2本の線からなるツイストペア線で構成される。伝送路14Dは、LVDS信号を使用して、シリアル形式のデータを、伝送する伝送路である。伝送路14Cは、LVDS信号を使用して、クロックFCLKを、伝送する伝送路である。
 データ形式変換部513は、伝送路14Dを使用して、図6Aのように同期コードが挿入されたシリアル画像データをデータ形式変換部515へ送信する。また、データ形式変換部513は、伝送路14Cを使用して、クロックFCLKをデータ形式変換部515へ送信する。データ形式変換部515は、伝送路14Cから受信するクロックFCLKに応じて、シリアル形式のデータをパラレル形式のデータに変換する処理(以下、シリパラ変換処理という)を行う。データ形式変換部515は、受信したシリアル画像データに対し、シリパラ変換処理を行うことにより、パラレル画像データを得る。
 なお、データ形式変換部515は、シリパラ変換処理の際に、シリアル画像データに含まれる、同期コードSOF,EOFを検出し、フレームとしてのシリアル画像データに対して同期をとる。また、データ形式変換部515は、シリパラ変換処理の際に、シリアル画像データに含まれる、同期コードEOL,SOLを検出し、各ラインデータに対して同期をとる。
 そして、データ形式変換部515は、パラレル画像データを、1つの画素データ(Nビットのデータ)単位で、外部の他の回路(図示せず)へ送信する。
 また、データ形式変換部515は、受信したクロックFCLKを外部回路へ送信する。また、データ形式変換部515は、同期コードSOF,EOF,EOL,SOLのうちのいずれかが検出される毎に、検出された同期コードを、当該外部回路へ送信する。
特開2005-086224号公報
 以下においては、シリアルデータを伝送する伝送路を、シリアル伝送路という。シリアル伝送路は、例えば、図5の伝送路14D,14Cである。
 ここで、シリアル伝送路がノイズ等の影響を受け、シリアル伝送路を経由する前のデータ(以下、伝送前データという)と、シリアル伝送路を経由した後のデータ(以下、伝送後データという)が異なる状況が生じたとする。例えば、シリアル伝送路を経由した、伝送後データとしてのシリアル画像データに含まれる、同期コードSOLまたは同期コードEOLが欠落したとする。
 この場合、欠落した同期コードに対応するラインデータは再生(復号)できない。すなわち、シリアル画像データを受信した受信側が、シリアル画像データを再生することにより得られる画像は、欠落した同期コードに対応するラインが欠落した画像となる。すなわち、シリアル画像データを受信した受信側において、再生不能なラインデータがあることになる。
 従来の技術では、再生不能なラインデータがあることを検知することはできなかった。
 本発明は、上述の問題点を解決するためになされたものであって、その目的は、再生不能なラインデータがあることを検知することを可能としたシリアルデータ送受信装置等を提供することである。
 上述の課題を解決するために、この発明のある局面に従うシリアルデータ送受信装置は、伝送路を使用してシリアル形式のデータを送信する送信部と、伝送路からシリアル形式のデータを受信する受信部とを備える。送信部は、複数のラインデータを含むパラレル形式の画像データを、シリアル形式の画像データであるシリアル画像データに変換するデータ形式変換部を含む。シリアル画像データは、連続する複数のラインデータを含む。送信部は、さらに、シリアル画像データに含まれる連続する複数のラインデータにおいて、各隣り合う2つのラインデータの間に、再生不能なラインデータである再生不能ラインデータがあるか否かを判定するための判定情報を挿入するための複数挿入処理を行う挿入部を含む。データ形式変換部は、挿入部が複数挿入処理を行うことにより、シリアル画像データに複数の判定情報が挿入されたシリアル形式のデータである挿入済シリアル画像データを取得し、取得した挿入済シリアル画像データを、伝送路を使用して、受信部へ送信する。受信部は、伝送路から受信した挿入済シリアル画像データから、複数の判定情報を順次検出し、検出した複数の判定情報の少なくとも一部に基づいて、再生不能ラインデータがあるか否かを判定する判定部を含む。
 すなわち、送信部は、シリアル画像データに含まれる連続する複数のラインデータにおいて、各隣り合う2つのラインデータの間に、再生不能ラインデータがあるか否かを判定するための判定情報を挿入するための複数挿入処理を行う挿入部を含む。データ形式変換部は、複数の判定情報が挿入された挿入済シリアル画像データを、伝送路を使用して、受信部へ送信する。受信部は、伝送路から受信した挿入済シリアル画像データから、複数の判定情報を順次検出し、検出した複数の判定情報の少なくとも一部に基づいて、再生不能ラインデータがあるか否かを判定する判定部を含む。
 したがって、再生不能なラインデータがあることを検知することができる。
 好ましくは、判定情報は、ラインデータを特定するための数値を示し、判定部は、挿入済シリアル画像データから、複数の判定情報を順次検出し、検出した最新の判定情報が示す値と、該最新の判定情報の1つ前に検出した判定情報が示す値とを比較することにより、再生不能ラインデータがあるか否かを判定する。
 これにより、再生不能なラインデータがあることを検知することができる。
 好ましくは、挿入部は、連続する複数のラインデータにおいて、n(自然数)番目の隣り合う2つのラインデータの間に、判定情報としての第1判定情報を挿入し、該複数のラインデータにおいて、n+1番目の隣り合う2つのラインデータの間に、判定情報としての第2判定情報を挿入するための複数挿入処理を行う。
 好ましくは、受信部の判定部は、挿入済シリアル画像データから、複数の判定情報を順次検出し、検出した連続する2つの判定情報が、第1判定情報または第2判定情報である場合、再生不能ラインデータがあると判定する。
 好ましくは、第1判定情報および第2判定情報の少なくとも一方は、1ビットのデータで示される情報である。
 これにより、判定情報としての第1判定情報および第2判定情報を含む交互挿入済シリアル画像データのデータ量を小さくすることができる。
 好ましくは、シリアルデータ送受信装置は、さらに、判定部が再生不能ラインデータがあると判定した場合、該再生不能ラインデータに対応するラインデータを、再度、受信部へ送信させるための指示を、送信部へ与える再送指示部を備える。
 これにより、再生不能ラインデータがあった場合でも、再生不能ラインデータに対応するラインデータを取得できる。そのため、正常な画像を再生することが可能となる。
 好ましくは、伝送路は、LVDS(Low Voltage Differential Signaling)信号によりデータを伝送する伝送路である。
 この発明の他の局面に従うデジタルカメラは、シリアルデータ送受信装置と、被写体を撮像することにより画像信号を取得する撮像素子と、撮像素子が取得した画像信号をデジタルデータに変換することにより画像データを取得するアナログ・フロントエンド部と、画像データを処理するための画像処理部と、画像処理部により処理された画像データに基づく画像を表示するための表示部とを備える。シリアルデータ送受信装置は、アナログ・フロントエンド部から画像データを取得し、取得した画像データを、送信部および受信部を介して、画像処理部へ送信する。
 なお、本発明は、このようなシリアルデータ送受信装置を構成する複数の構成要素の全てまたは一部を、システムLSI(Large Scale Integration:大規模集積回路)として実現してもよい。
 また、本発明は、シリアルデータ送受信装置が備える特徴的な構成部の動作をステップとするシリアルデータ送受信方法として実現してもよい。また、本発明は、そのようなシリアルデータ送受信方法に含まれる各ステップをコンピュータに実行させるプログラムとして実現してもよい。また、本発明は、そのようなプログラムを格納するコンピュータ読み取り可能な記録媒体として実現されてもよい。また、当該プログラムは、インターネット等の伝送媒体を介して配信されてもよい。
 本発明により、再生不能なラインデータがあることを検知することができる。
図1は、第1の実施の形態における固体撮像装置の構成を示す図である。 図2Aは、ラインコードLCを含む挿入済シリアル画像データを説明するための図である。 図2Bは、ラインコードLCを含む挿入済シリアル画像データを説明するための図である。 図3は、第2の実施の形態における固体撮像装置の構成を示す図である。 図4Aは、デジタルスチルカメラとしての固体撮像装置の外観図である。 図4Bは、デジタルビデオカメラとしての固体撮像装置の外観図である。 図5は、差動信号を使用した従来の固体撮像装置を示す図である。 図6Aは、同期コードを含むシリアル画像データを説明するための図である。 図6Bは、同期コードを含むシリアル画像データを説明するための図である。
 以下、図面を参照しつつ、本発明の実施の形態について説明する。以下の説明では、同一の部品には同一の符号を付してある。それらの名称および機能も同じである。したがって、それらについての詳細な説明は繰り返さない。
 また、以下において説明する実施の形態はあくまで一例である。以下において、画像データは、1フレームに対応する画像データであるとして、説明する。
 <第1の実施の形態>
 本実施の形態では、隣り合う2つのラインデータの間に、同期コードの他に、判定情報を挿入する処理を行うことにより、再生不能なラインデータがあることを検知する。
 図1は、第1の実施の形態における固体撮像装置1000の構成を示す図である。
 固体撮像装置1000は、デジタルスチルカメラまたはデジタルビデオカメラ等のデジタルカメラである。
 図1に示される固体撮像装置1000は、固体撮像素子11と、AFE部100と、シリアルデータ送受信装置200と、画像処理部310と、表示部320とを含む。
 図1の固体撮像素子11およびAFE部100は、それぞれ、図5の固体撮像素子11およびAFE部100と同様なので詳細な説明は繰り返さない。
 シリアルデータ送受信装置200は、送信部210と、伝送部14と、受信部220とを備える。
 図1の伝送部14は、図5の伝送部14と同様に、伝送路14D,14Cを含む。伝送路14D,14Cについては、前述したので詳細な説明は繰り返さない。
 送信部210は、データ形式変換部13と、挿入部21とを含む。
 AFE部100の画像処理部12は、パラレル画像データを、1つの画素データ(Nビットのデータ)単位で、データ形式変換部13へ送信する。
 データ形式変換部13は、図5のデータ形式変換部513と同様、パラレル形式のデータをシリアル形式のデータに変換するパラシリ変換処理を行う。パラシリ変換処理は、高速のクロックFCLKに応じて行われる。データ形式変換部13は、パラレル画像データに対し、パラシリ変換処理を行うことにより、シリアル画像データを得る。
 なお、データ形式変換部13は、パラシリ変換処理を行う際、データ形式変換部513と同様、シリアル画像データに同期コードを挿入する。これにより、シリアル画像データは、同期コードを含む。以下においては、同期コードが挿入された後のシリアル画像データを、コード付シリアル画像データという。
 コード付シリアル画像データは、例えば、図6Aに示されるような構造のデータである。
 また、本実施の形態における固体撮像装置1000のTG101は、前述したのと同様に、垂直同期信号VSCおよび水平同期信号HSCの各々を、対応する所定のタイミングで、固体撮像素子11、画像処理部12、データ形式変換部13および挿入部21の各々へ送信する。なお、垂直同期信号VSCおよび水平同期信号HSCが送信されるタイミングは、一般的な画像処理の技術に基づくタイミングであるので詳細な説明は繰り返さない。
 挿入部21は、垂直同期信号VSCを受信した後に、複数の水平同期信号HSCの各々を順次受信する。
 挿入部21は、水平同期信号HSCを受信する毎に、ラインカウンタの値を“1”インクリメントする。ラインカウンタは、ラインデータの数をカウントするためのカウンタである。ラインカウンタの初期値は“0”である。なお、挿入部21は、垂直同期信号VSCを受信した後、再度、垂直同期信号VSCを受信すると、ラインカウンタの値を“0”に設定する。
 また、挿入部21は、ラインカウンタの値を更新する毎に、ラインコードLCを生成する。ラインコードLCは、ラインデータを特定するためのコードである。
 例えば、データ形式変換部13が生成した、コード付シリアル画像データが、図6Aに示されるようなデータであるとする。この場合、コード付シリアル画像データは、v(自然数)個のラインデータを含む。
 挿入部21は、コード付シリアル画像データに含まれるv個のラインデータの各々に対応して、当該ラインデータを特定するためのラインコードLCを生成する。
 例えば、図6Aにおいて、ラインデータLD1は、1番目のラインデータである。この場合、ラインデータLD1に対応して生成されるラインコードLCは、挿入部21が、垂直同期信号VSCを受信した後であって、1番目の水平同期信号HSCを受信した後に値が変更されたラインカウンタの値を示すものとされる。すなわち、この場合、ラインデータLD1に対応して生成されるラインコードLCは“1”を示す。
 そして、挿入部21は、ラインコードLCを生成する毎に、挿入処理を行なう。挿入処理では、挿入部21が、生成したラインコードLCと、挿入命令とを、データ形式変換部13へ送信する。
 挿入命令は、コード付シリアル画像データに含まれる連続する複数のラインデータのうち、送信されるラインコードLCにより特定されるw(自然数)番目のラインデータの終端に付加される同期コードEOLと、w+1番目のラインデータの先端に付加される同期コードSOLとの間に、ラインコードLCを挿入させるための命令である。
 すなわち、挿入命令は、連続する複数のラインデータのうち、隣り合う2つのラインデータの間に、ラインコードLCを挿入させるための命令である。
 データ形式変換部13は、ラインコードLCおよび挿入命令を受信すると、挿入命令に従って、ラインコードLCを、コード付シリアル画像データに挿入する。なお、データ形式変換部13は、図6Aに示されるラインデータLDvに対応する挿入命令を受信した場合、ラインコードLCを挿入する処理は行わない。
 すなわち、挿入部21は挿入処理を行うことにより、挿入部21は、データ形式変換部13に、ラインコードLCを、コード付シリアル画像データに含まれる連続する複数のラインデータのうち隣り合う2つのラインデータの間に挿入させる。つまり、挿入処理は、データ形式変換部13に、ラインコードLCを、コード付シリアル画像データに含まれる連続する複数のラインデータのうち隣り合う2つのラインデータの間に挿入させる処理である。
 そして、挿入処理が、コード付シリアル画像データに含まれるラインデータの数だけ挿入部21により繰り返し行われることにより、当該コード付シリアル画像データに対しての挿入処理は終了する。コード付シリアル画像データに対しての挿入処理が終了することにより、データ形式変換部13は、複数のラインコードLCを含むコード付シリアル画像データ(以下、挿入済シリアル画像データという)を得る。
 以下においては、挿入処理が、コード付シリアル画像データに含まれるラインデータの数だけ繰り返し行われる処理を、複数挿入処理という。すなわち、挿入部21は、挿入処理を、コード付シリアル画像データに含まれるラインデータの数だけ繰り返し行うことにより、複数挿入処理を行う。
 複数挿入処理は、データ形式変換部13に、ラインコードLCを、コード付シリアル画像データに含まれる連続する複数のラインデータのうち各隣り合う2つのラインデータの間に挿入させる処理である。
 したがって、挿入部21が、コード付シリアル画像データに対して複数挿入処理を行うことにより、データ形式変換部13は、ラインコードLCを、コード付シリアル画像データに含まれる連続する複数のラインデータのうち各隣り合う2つのラインデータの間に挿入し、その結果、挿入済シリアル画像データを得る。
 図2Aおよび図2Bは、ラインコードLCを含む挿入済シリアル画像データを説明するための図である。
 図2Aは、コード付シリアル画像データに、ラインコードLCが挿入された状態を示す図である。
 図2Aに示されるように、ラインコードLCは、例えば、1番目のラインデータLD1の終端に付加される同期コードEOLと、2番目のラインデータLD2の先端に付加される同期コードSOLとの間に挿入される。
 例えば、1番目のラインデータLD1の終端に付加される同期コードEOLと、2番目のラインデータLD2の先端に付加される同期コードSOLとの間のラインコードLCは“1”を示す。“1”を示すラインコードLCは、ラインデータLD1を特定するためのコードである。また、例えば、“v(自然数)-1”を示すラインコードLCは、ラインデータLD(v-1)を特定するためのコードである。
 なお、ラインコードLCが挿入される位置は、隣り合う2つのラインデータの間としての水平ブランキング期間内である。そのため、ラインコードLCが挿入されることにより、挿入済シリアル画像データから再生される画像は画質の影響を受けない。
 図2Bは、図2Aに示される挿入済シリアル画像データの構造を、当該挿入済シリアル画像データから得られる画像の形状にあわせて表示した図である。
 図2Bに示されるように、ラインデータの数がv個である場合、挿入済シリアル画像データに含まれるラインコードLCの数は、(v-1)個となる。
 図2Bにおいて、各行の右端に示されるラインコードLCは、対応する行のラインデータに対応する。図2Bにおいて、例えば、1行目のラインコードLCは、ラインデータLD1に対応するラインコードである。例えば、2行目のラインコードLCは、ラインデータLD2に対応するラインコードである。
 再び、図1を参照して、受信部220は、データ形式変換部15を含む。
 データ形式変換部13とデータ形式変換部15とは、伝送路14D,14Cにより電気的に接続される。なお、伝送路14D,14Cについては、前述したので詳細な説明は繰り返さない。
 データ形式変換部13は、伝送路14Dを使用して、図2AのようにラインコードLCが挿入された挿入済シリアル画像データを、データ形式変換部15へ送信する。
 また、データ形式変換部13は、伝送路14Cを使用して、クロックFCLKをデータ形式変換部15へ送信する。データ形式変換部15は、図5のデータ形式変換部515と同様、伝送路14Cから受信するクロックFCLKに応じて、シリアル形式のデータをパラレル形式のデータに変換するシリパラ変換処理を行う。データ形式変換部15は、挿入済シリアル画像データに対し、シリパラ変換処理を行うことにより、パラレル画像データを得る。
 また、データ形式変換部15は、図5のデータ形式変換部515と同様、パラシリ変換処理の際に、挿入済シリアル画像データに含まれる、同期コードSOF,EOL,SOL,EOFを検出する。
 また、データ形式変換部15は、シリパラ変換処理の際に、挿入済シリアル画像データに含まれる複数のラインコードLCを順次検出する。
 そして、データ形式変換部15は、ラインコードLCを検出する毎に、判定処理を行う。判定処理では、データ形式変換部15が、検出した最新のラインコードLCが示す値(以下、最新ライン値という)が、当該最新のラインコードLCの1つ前に検出したラインコードLCが示す値(以下、前回ライン値)より1大きい値であるか否かを判定する。
 なお、データ形式変換部15は、1番目のラインコードLCを検出した場合、判定処理を行わない。
 最新ライン値が、前回ライン値より1大きい値であると判定された場合、データ形式変換部15は、検出した最新のラインコードLCに対応するラインデータは、再生(復号)可能であると判定する。
 一方、最新ライン値が、前回ライン値より1大きい値でないと判定された場合、データ形式変換部15は、検出した最新のラインコードLCに対応するラインデータは、再生不能なラインデータ(以下、再生不能ラインデータという)であると判定する。すなわち、データ形式変換部15は、再生不能ラインデータがあると判定する。
 つまり、データ形式変換部15は、再生不能ラインデータがあるか否かを判定する判定部である。
 つまり、ラインコードLCは、再生不能ラインデータがあるか否かを判定するための判定情報でもある。検出した最新のラインコードLCに対応するラインデータが、再生不能ラインデータであると判定される場合は、以下の状況である。当該状況は、例えば、伝送路14Dにおいて挿入済シリアル画像データが伝送される期間において、伝送路14Dにノイズ等が発生し、例えば、挿入済シリアル画像データに含まれる同期コードSOLまたは同期コードEOLが欠落した状況である。
 また、データ形式変換部15は、シリパラ変換処理により得られたパラレル形式の画像データを、1つの画素データ(Nビットのデータ)単位で、画像処理部310へ送信する。
 画像処理部310は、受信した画像データに対し、様々な画像処理を行う。そして、画像処理部310は、画像処理済みの画像データを、表示部320へ送信する。
 表示部320は、画像を表示するための表示装置である。表示部320は、画像処理部310から受信した画像データに基づく画像を表示する。
 以上説明したように、本実施の形態においては、コード付シリアル画像データに含まれる連続する複数のラインデータのうち、隣り合う2つのラインデータの間に、ラインコードLCを挿入した挿入済シリアル画像データが、受信部220へ送信される。
 受信部220のデータ形式変換部15は、受信した挿入済シリアル画像データに含まれる複数のラインコードLCを順次検出する。
 そして、データ形式変換部15は、ラインコードLCを検出する毎に、最新のラインコードLCが示す最新ライン値が、当該最新のラインコードLCの1つ前に検出したラインコードLCが示す前回ライン値より1大きい値であるか否かを判定することにより、再生不能ラインデータがあるか否かを判定する。すなわち、本実施の形態によれば、再生不能なラインデータがあることを検知することができる。
 なお、固体撮像素子11、画像処理部12、データ形式変換部13、伝送路14D,14C、データ形式変換部15および挿入部21の全てまたは一部は、1チップのLSI(Large Scale Integration)で構成されても良い。
 <第1の実施の形態の変形例>
 本実施の形態の変形例における固体撮像装置は、図1の固体撮像装置1000である。そのため、固体撮像装置1000に含まれる各部の詳細な説明は繰り返さない。
 本実施の形態の変形例では、コード付シリアル画像データに挿入するラインコードLCを、1ビットのデータとする。すなわち、本実施の形態の変形例では、挿入部21が1ビットのデータ表現されるラインコードLCを生成し、生成したラインコードLCを、コード付シリアル画像データに挿入するための処理を行う点が、第1の実施の形態と異なる。それ以外の処理は、第1の実施の形態と同様なので詳細な説明は繰り返さない。
 具体的には、挿入部21は、水平同期信号HSCを受信する毎に、ラインカウンタの値を“1”インクリメントする。
 そして、挿入部21は、ラインカウンタの値を更新する毎に、ラインコードLCを生成する。具体的には、挿入部21は、更新後のラインカウンタの値が奇数である場合“0”を示すラインコードLCを生成する。また、挿入部21は、更新後のラインカウンタの値が偶数である場合“1”を示すラインコードLCを生成する。
 そして、挿入部21は、ラインコードLCを生成する毎に、挿入処理Aを行なう。挿入処理Aでは、挿入部21が、生成したラインコードLCと、挿入命令Aとを、データ形式変換部13へ送信する。
 挿入命令Aは、コード付シリアル画像データに含まれる連続する複数のラインデータのうち、送信されるw(自然数)番目のラインコードLCに対応するw番目のラインデータの終端に付加される同期コードEOLと、w+1番目のラインデータの先端に付加される同期コードSOLとの間に、ラインコードLCを挿入させるための命令である。ここで、例えば、送信される1番目のラインコードLCに対応する1番目のラインデータは、ラインデータLD1である。
 すなわち、挿入命令Aは、連続する複数のラインデータのうち、隣り合う2つのラインデータの間に、ラインコードLCを挿入させるための命令である。
 データ形式変換部13は、ラインコードLCおよび挿入命令Aを受信すると、挿入命令Aに従って、ラインコードLCを、コード付シリアル画像データに挿入する。なお、データ形式変換部13は、図6Aに示されるラインデータLDvに対応する挿入命令Aを受信した場合、ラインコードLCを挿入する処理は行わない。
 そして、挿入処理Aが、コード付シリアル画像データに含まれるラインデータの数だけ挿入部21により繰り返し行われることにより、当該コード付シリアル画像データに対しての挿入処理Aは終了する。コード付シリアル画像データに対しての挿入処理Aが終了することにより、データ形式変換部13は、複数のラインコードLCを含むコード付シリアル画像データ(以下、交互挿入済シリアル画像データという)を得る。
 以下においては、挿入処理Aが、コード付シリアル画像データに含まれるラインデータの数だけ繰り返し行われる処理を、交互挿入処理という。すなわち、挿入部21は、挿入処理Aを、コード付シリアル画像データに含まれるラインデータの数だけ繰り返し行うことにより、交互挿入処理を行う。
 交互挿入処理は、データ形式変換部13に、ラインコードLCを、コード付シリアル画像データに含まれる連続する複数のラインデータのうち各隣り合う2つのラインデータの間に挿入させる処理でもある。すなわち、交互挿入処理は、前述した複数挿入処理である。
 以下においては、“0”を示すラインコードLCおよび“1”を示すラインコードLCを、それぞれ、第1ラインコードLCおよび第2ラインコードLCという。また、以下においては、第1ラインコードLCおよび第2ラインコードLCを、それぞれ、第1判定情報および第2判定情報ともいう。
 本実施の形態の変形例では、挿入処理Aが、コード付シリアル画像データに含まれるラインデータの数だけ繰り返し行われる。これにより、図2Aのデータ構造の交互挿入済シリアル画像データが生成される。
 この場合、交互挿入済シリアル画像データに含まれる複数のラインデータにおいて、例えば、1番目の隣り合う2つのラインデータLD1,LD2の間のラインコードLCは、第1ラインコードLCである。また、交互挿入済シリアル画像データに含まれる複数のラインデータにおいて、例えば、2番目の隣り合う2つのラインデータLD2,LD3の間のラインコードLCは、第2ラインコードLCである。
 すなわち、本実施の形態の変形例では、挿入部21が、前述の交互挿入処理を行う。交互挿入処理は、コード付シリアル画像データに含まれる連続する複数のラインデータにおいて、n(自然数)番目の隣り合う2つのラインデータの間に、第1ラインコードLCを挿入し、該複数のラインデータにおいて、n+1番目の隣り合う2つのラインデータの間に、第2ラインコードLCを挿入するための複数挿入処理である。
 交互挿入処理において、第1ラインコードLCおよび挿入命令Aを送信する挿入処理Aが行われることにより、データ形式変換部13は、コード付シリアル画像データに含まれる連続する複数のラインデータにおいて、n番目の隣り合う2つのラインデータの間に、第1ラインコードLC(第1判定情報)を挿入する。
 また、交互挿入処理において、第2ラインコードLCおよび挿入命令Aを送信する挿入処理Aが行われることにより、データ形式変換部13は、コード付シリアル画像データに含まれる連続する複数のラインデータにおいて、n+1番目の隣り合う2つのラインデータの間に、第2ラインコードLC(第2判定情報)を挿入する。
 これにより、データ形式変換部13は、交互挿入済シリアル画像データを得る。
 そして、データ形式変換部13は、伝送路14Dを使用して、図2AのようにラインコードLCが挿入された交互挿入済シリアル画像データをデータ形式変換部15へ送信する。
 そして、データ形式変換部15は、シリパラ変換処理の際に、交互挿入済シリアル画像データに含まれる複数のラインコードLCを順次検出する。
 そして、データ形式変換部15は、ラインコードLCを検出する毎に、判定処理Aを行う。判定処理Aでは、データ形式変換部15が、検出した最新のラインコードLCが示す最新ライン値が、当該最新のラインコードLCの1つ前に検出したラインコードLCが示す前回ライン値と異なる値であるか否かを判定する。
 なお、データ形式変換部15は、1番目のラインコードLCを検出した場合、判定処理Aを行わない。
 最新ライン値が、前回ライン値と異なる値であると判定された場合、データ形式変換部15は、検出した最新のラインコードLCに対応するラインデータは、再生(復号)可能であると判定する。この場合、例えば、最新ライン値および前回ライン値をそれぞれ示す連続する2つのラインコードLCは、それぞれ、第1ラインコードLCおよび第2ラインコードLCである。
 一方、最新ライン値が、前回ライン値と異なる値でない、すなわち、最新ライン値が、前回ライン値と同じ値であると判定された場合、データ形式変換部15は、検出した最新のラインコードLCに対応するラインデータは、再生不能なラインデータ(以下、再生不能ラインデータという)であると判定する。すなわち、データ形式変換部15は、再生不能ラインデータがあると判定する。この場合、最新ライン値および前回ライン値をそれぞれ示す連続する2つのラインコードLCは、第1ラインコードLCまたは第2ラインコードLCである。
 すなわち、判定部としてのデータ形式変換部15は、挿入済シリアル画像データ(交互挿入済シリアル画像データ)から、複数の判定情報(ラインコードLC)を順次検出し、検出した連続する2つの判定情報(ラインコードLC)が、第1判定情報(第1ラインコードLC)または第2判定情報(第2ラインコードLC)である場合、再生不能ラインデータがあると判定する。
 以上説明したように、本実施の形態の変形例においても、第1の実施の形態と同様に、再生不能なラインデータがあることを検知することができる。なお、本実施の形態では、ラインコードLCを、1ビットのデータとしている。そのため、伝送路14Dにおいて伝送対象となる交互挿入済シリアル画像データのデータ量を小さくすることができる。そのため、再生不能ラインデータの有無を判定するための回路を小さくすることができるという効果が得られる。
 <第2の実施の形態>
 本実施の形態では、再生不能ラインデータがあると判定された場合、再生不能ラインデータに対応するラインデータの再送を行う処理を行う。
 図3は、第2の実施の形態における固体撮像装置1000Aの構成を示す図である。
 固体撮像装置1000Aは、デジタルスチルカメラまたはデジタルビデオカメラ等のデジタルカメラである。
 図3に示される固体撮像装置1000Aは、図1の固体撮像装置1000と比較して、シリアルデータ送受信装置200の代わりにシリアルデータ送受信装置200Aを含む点が異なる。それ以外は、固体撮像装置1000と同様なので詳細な説明は繰り返さない。
 シリアルデータ送受信装置200Aは、図1のシリアルデータ送受信装置200と比較して、送信部210の代わりに送信部210Aを備える点と、受信部220の代わりに受信部220Aを備える点とが異なる。それ以外は、シリアルデータ送受信装置200と同様なので詳細な説明は繰り返さない。
 送信部210Aは、図1の送信部210と比較して、さらに、ラインメモリ32と、スイッチSW10とを含む点が異なる。それ以外は、送信部210と同様なので詳細な説明は繰り返さない。
 ラインメモリ32は、1つのラインデータを記憶可能なメモリである。
 スイッチSW10は、外部からの指示により、第1接続状態と第2接続状態とを切替える。第1接続状態は、データ形式変換部13と、伝送路14Dとを電気的に接続した状態である。第2接続状態は、ラインメモリ32と、伝送路14Dとを電気的に接続した状態である。スイッチSW10の通常の状態は、第1接続状態である。
 データ形式変換部13は、スイッチSW10およびラインメモリ32の各々と電気的に接続される。
 挿入部21が第1の実施の形態で説明した処理を行う場合、データ形式変換部13は、挿入済シリアル画像データを、図2Bに示される1つの行に対応するラインデータ単位で、スイッチSW10およびラインメモリ32へ送信する。
 なお、挿入部21が第1の実施の形態の変形例で説明した処理を行う場合、データ形式変換部13は、交互挿入済シリアル画像データを、図2Bに示される1つの行に対応するラインデータ単位で、スイッチSW10およびラインメモリ32へ送信する。
 ラインメモリ32は、挿入済シリアル画像データまたは交互挿入済シリアル画像データの一部のラインデータを受信し、受信したデータを記憶する。なお、ラインメモリ32は、ラインデータを記憶している状態で、新たなラインデータを受信した場合、新たなラインデータを記憶する。すなわち、ラインメモリ32は、新たなラインデータを受信するまで、ラインデータを保持する。
 スイッチSW10は、受信した挿入済シリアル画像データまたは交互挿入済シリアル画像データを、図2Bに示される1つの行に対応するラインデータ単位で、伝送路14Dを使用して、データ形式変換部15へ送信する。
 受信部220Aは、図1の受信部220と比較して、さらに、CPU(Central Processing Unit)31を含む点が異なる。それ以外は、受信部220と同様なので詳細な説明は繰り返さない。
 データ形式変換部15は、第1の実施の形態で説明した判定処理を行う。判定処理により、データ形式変換部15が、再生不能ラインデータがあると判定すると、データ形式変換部15は、再生不能ライン存在情報を、CPU31へ送信する。再生不能ライン存在情報は、再生不能ラインデータが存在する旨を報知するための情報である。
 また、挿入部21が第1の実施の形態の変形例で説明した処理を行う場合、データ形式変換部15は、第1の実施の形態の変形例で説明した判定処理Aを行う。判定処理Aにより、データ形式変換部15が、再生不能ラインデータがあると判定すると、データ形式変換部15は、再生不能ライン存在情報を、CPU31へ送信する。
 CPU31は、再生不能ライン存在情報を受信することにより、再生不能ラインデータが存在することを認識する。なお、再生不能ライン存在情報の受信は、割り込み処理やポーリング処理で行われる。
 CPU31は、再生不能ライン存在情報の受信に応じて、スイッチSW10の状態を、第2接続状態にするための状態設定指示を、スイッチSW10へ送信する。
 スイッチSW10は、状態設定指示を受信すると、スイッチSW10の状態を、第2接続状態に切替える。これにより、ラインメモリ32に記憶されている再生不能ラインデータに対応するラインデータが、伝送路14Dを介して、データ形式変換部15へ送信(再送)される。
 すなわち、状態設定指示は、再生不能ラインデータに対応するラインデータを、再度、データ形式変換部15へ送信させるための指示である。
 なお、CPU31が状態設定指示を送信するタイミングは、隣り合う2つのラインデータの間としての水平ブランキング期間内のタイミングである。
 以上説明したように、本実施の形態においては、再生不能ラインデータがあると判定された場合、CPU31は、再生不能ラインデータに対応するラインデータを、再度、データ形式変換部15へ送信させる処理を行う。すなわち、CPU31は、再生不能ラインデータに対応するラインデータを、再度、受信部220Aへ送信させるための状態設定指示を、送信部210Aへ与える再送指示部である。
 したがって、ノイズ等の影響により、再生不能ラインデータが発生したとしても、再生不能ラインデータに対応するラインデータが得られるため、データ形式変換部15は、受信したデータから正常な画像を再生(復号)することが可能となる。すなわち、ノイズ等の影響によって、再生した画像の一部の欠落を回避できるという効果がある。
 なお、ラインメモリ32は、1フレーム分の挿入済シリアル画像データまたは交互挿入済シリアル画像データを記憶するメモリであってもよい。この場合、再生不能ラインデータがあると判定された場合、CPU31は、状態設定指示を、スイッチSW10へ送信する。これにより、ラインメモリ32に記憶されている挿入済シリアル画像データまたは交互挿入済シリアル画像データが、伝送路14Dを介して、データ形式変換部15へ送信(再送)される。
 なお、固体撮像素子11、画像処理部12、データ形式変換部13、伝送路14D,14C、データ形式変換部15、挿入部21、スイッチSW10およびCPU31の全てまたは一部は、1チップのLSIで構成されても良い。
 図4Aは、デジタルスチルカメラとしての固体撮像装置1000,1000Aの外観図である。図4Bは、デジタルビデオカメラとしての固体撮像装置1000,1000Aの外観図である。
 以上、本発明におけるシリアルデータ送受信装置について、実施の形態に基づいて説明したが、本発明は、これらの実施の形態に限定されるものではない。本発明の趣旨を逸脱しない限り、当業者が思いつく各種変形を本実施の形態に施したもの、あるいは異なる実施の形態における構成要素を組み合わせて構築される形態も、本発明の範囲内に含まれる。
 また、上記のシリアルデータ送受信装置を構成する複数の構成要素の全てまたは一部は、ハードウエアで構成されてもよい。また、上記のシリアルデータ送受信装置を構成する構成要素の全てまたは一部は、CPU(Central Processing Unit)等により実行されるプログラムのモジュールであってもよい。
 また、上記のシリアルデータ送受信装置を構成する複数の構成要素の全てまたは一部は、1個のシステムLSI(Large Scale Integration:大規模集積回路)から構成されてもよい。システムLSIは、複数の構成要素を1個のチップ上に集積して製造された超多機能LSIであり、具体的には、マイクロプロセッサ、ROM(Read Only Memory)及びRAM(Random Access Memory)などを含んで構成されるコンピュータシステムである。
 また、本発明は、シリアルデータ送受信装置が備える特徴的な構成部の動作をステップとするシリアルデータ送受信方法として実現してもよい。また、本発明は、そのようなシリアルデータ送受信方法に含まれる各ステップをコンピュータに実行させるプログラムとして実現してもよい。また、本発明は、そのようなプログラムを格納するコンピュータ読み取り可能な記録媒体として実現されてもよい。また、当該プログラムは、インターネット等の伝送媒体を介して配信されてもよい。
 今回開示された実施の形態はすべての点で例示であって制限的なものではないと考えられるべきである。本発明の範囲は上記した説明ではなくて請求の範囲によって示され、請求の範囲と均等の意味および範囲内でのすべての変更が含まれることが意図される。
 本発明は、シリアル形式の画像データを高速に伝送する必要のあるデジタルスチルカメラ、デジタルビデオカメラ等の固体撮像装置に適用可能である。
SW10 スイッチ
11 固体撮像素子
12,310 画像処理部
13,15,513,515 データ形式変換部
14 伝送部
21 挿入部
31 CPU
32 ラインメモリ
100 AFE部
200,200A シリアルデータ送受信装置
210,210A 送信部
220,220A 受信部
320 表示部
1000,1000A 固体撮像装置 

Claims (8)

  1.  伝送路を使用してシリアル形式のデータを送信する送信部と、前記伝送路から前記シリアル形式のデータを受信する受信部とを備えるシリアルデータ送受信装置であって、
     前記送信部は、
      複数のラインデータを含むパラレル形式の画像データを、シリアル形式の画像データであるシリアル画像データに変換するデータ形式変換部を含み、
     前記シリアル画像データは、連続する前記複数のラインデータを含み、
     前記送信部は、さらに、
      前記シリアル画像データに含まれる連続する前記複数のラインデータにおいて、各隣り合う2つのラインデータの間に、再生不能なラインデータである再生不能ラインデータがあるか否かを判定するための判定情報を挿入するための複数挿入処理を行う挿入部を含み、
     前記データ形式変換部は、前記挿入部が前記複数挿入処理を行うことにより、前記シリアル画像データに複数の前記判定情報が挿入されたシリアル形式のデータである挿入済シリアル画像データを取得し、取得した前記挿入済シリアル画像データを、前記伝送路を使用して、前記受信部へ送信し、
     前記受信部は、
      前記伝送路から受信した前記挿入済シリアル画像データから、複数の前記判定情報を順次検出し、検出した複数の前記判定情報の少なくとも一部に基づいて、前記再生不能ラインデータがあるか否かを判定する判定部を含む、
     シリアルデータ送受信装置。
  2.  前記判定情報は、ラインデータを特定するための数値を示し、
     前記判定部は、前記挿入済シリアル画像データから、複数の前記判定情報を順次検出し、検出した最新の判定情報が示す値と、該最新の判定情報の1つ前に検出した判定情報が示す値とを比較することにより、前記再生不能ラインデータがあるか否かを判定する、
     請求項1に記載のシリアルデータ送受信装置。
  3.  前記挿入部は、前記連続する複数のラインデータにおいて、n(自然数)番目の隣り合う2つのラインデータの間に、判定情報としての第1判定情報を挿入し、該複数のラインデータにおいて、n+1番目の隣り合う2つのラインデータの間に、判定情報としての第2判定情報を挿入するための前記複数挿入処理を行う、
     請求項1に記載のシリアルデータ送受信装置。
  4.  前記受信部の前記判定部は、前記挿入済シリアル画像データから、複数の前記判定情報を順次検出し、検出した連続する2つの判定情報が、前記第1判定情報または前記第2判定情報である場合、前記再生不能ラインデータがあると判定する、
     請求項3に記載のシリアルデータ送受信装置。
  5.  前記第1判定情報および前記第2判定情報の少なくとも一方は、1ビットのデータで示される情報である、
     請求項3または4に記載のシリアルデータ送受信装置。
  6.  前記シリアルデータ送受信装置は、さらに、
      前記判定部が再生不能ラインデータがあると判定した場合、該再生不能ラインデータに対応するラインデータを、再度、前記受信部へ送信させるための指示を、前記送信部へ与える再送指示部を備える、
     請求項1~5のいずれかに記載のシリアルデータ送受信装置。
  7.  前記伝送路は、LVDS(Low Voltage Differential Signaling)信号によりデータを伝送する伝送路である、
     請求項1~6のいずれかに記載のシリアルデータ送受信装置。
  8.  請求項1~7のいずれかに記載のシリアルデータ送受信装置と、
     被写体を撮像することにより画像信号を取得する撮像素子と、
     前記撮像素子が取得した前記画像信号をデジタルデータに変換することにより画像データを取得するアナログ・フロントエンド部と、
     画像データを処理するための画像処理部と、
     前記画像処理部により処理された画像データに基づく画像を表示するための表示部とを備え、
     前記シリアルデータ送受信装置は、前記アナログ・フロントエンド部から前記画像データを取得し、取得した前記画像データを、前記送信部および前記受信部を介して、前記画像処理部へ送信する、
     デジタルカメラ。 
     
     
PCT/JP2009/006556 2009-02-27 2009-12-02 シリアルデータ送受信装置およびデジタルカメラ WO2010097876A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2011501365A JPWO2010097876A1 (ja) 2009-02-27 2009-12-02 シリアルデータ送受信装置およびデジタルカメラ
CN200980157538.0A CN102334331A (zh) 2009-02-27 2009-12-02 串行数据收发装置及数字相机
US13/198,192 US20110285869A1 (en) 2009-02-27 2011-08-04 Serial data sending and receiving apparatus and digital camera

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2009047009 2009-02-27
JP2009-047009 2009-02-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US13/198,192 Continuation US20110285869A1 (en) 2009-02-27 2011-08-04 Serial data sending and receiving apparatus and digital camera

Publications (1)

Publication Number Publication Date
WO2010097876A1 true WO2010097876A1 (ja) 2010-09-02

Family

ID=42665102

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/006556 WO2010097876A1 (ja) 2009-02-27 2009-12-02 シリアルデータ送受信装置およびデジタルカメラ

Country Status (4)

Country Link
US (1) US20110285869A1 (ja)
JP (1) JPWO2010097876A1 (ja)
CN (1) CN102334331A (ja)
WO (1) WO2010097876A1 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095202A (ja) * 2010-10-28 2012-05-17 Fujitsu Semiconductor Ltd 半導体装置

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102916914B (zh) * 2012-09-21 2015-05-27 北京空间机电研究所 一种模拟前端的数据接收处理系统
CN103686441B (zh) * 2013-10-10 2017-02-01 北京空间机电研究所 多格式数据传输系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341252A (ja) * 1999-05-28 2000-12-08 Mitsubishi Electric Corp データ通信システム、データ送信装置、データ受信装置およびデータ通信装置
JP2006333369A (ja) * 2005-05-30 2006-12-07 Sony Corp 撮像装置,撮像方法,撮像制御装置,撮像制御方法,およびプログラム
JP2008219168A (ja) * 2007-02-28 2008-09-18 Olympus Corp 撮像システム及び撮像機器の認証方法
JP2008283331A (ja) * 2007-05-09 2008-11-20 Sony Corp 撮像装置、撮像回路および画像処理回路
JP2009038766A (ja) * 2007-08-03 2009-02-19 Hitachi Kokusai Electric Inc 映像信号多重伝送装置及び映像信号多重伝送装置を用いた撮像装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4457613B2 (ja) * 2003-09-04 2010-04-28 ソニー株式会社 固体撮像装置
US7602422B2 (en) * 2005-07-08 2009-10-13 Seiko Epson Corporation Serial camera interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000341252A (ja) * 1999-05-28 2000-12-08 Mitsubishi Electric Corp データ通信システム、データ送信装置、データ受信装置およびデータ通信装置
JP2006333369A (ja) * 2005-05-30 2006-12-07 Sony Corp 撮像装置,撮像方法,撮像制御装置,撮像制御方法,およびプログラム
JP2008219168A (ja) * 2007-02-28 2008-09-18 Olympus Corp 撮像システム及び撮像機器の認証方法
JP2008283331A (ja) * 2007-05-09 2008-11-20 Sony Corp 撮像装置、撮像回路および画像処理回路
JP2009038766A (ja) * 2007-08-03 2009-02-19 Hitachi Kokusai Electric Inc 映像信号多重伝送装置及び映像信号多重伝送装置を用いた撮像装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012095202A (ja) * 2010-10-28 2012-05-17 Fujitsu Semiconductor Ltd 半導体装置

Also Published As

Publication number Publication date
US20110285869A1 (en) 2011-11-24
JPWO2010097876A1 (ja) 2012-08-30
CN102334331A (zh) 2012-01-25

Similar Documents

Publication Publication Date Title
EP2168373B1 (en) Data transmission apparatus with information skew and redundant control information and method
CN103888693B (zh) 图像传输装置
EP2317688A2 (en) System and methods for implementing cyclic redundancy checks
CN104918003A (zh) 多摄像机同步系统
KR102505197B1 (ko) 표시 장치 및 그것의 구동 방법
WO2010097876A1 (ja) シリアルデータ送受信装置およびデジタルカメラ
JP6120798B2 (ja) 送信装置、受信装置および送受信システム
US9112520B2 (en) Transmission interface and system using the same
KR20030030015A (ko) 링형 네트워크 및 데이터 전송 장치
JPWO2020158589A1 (ja) 送信装置、送信方法、受信装置、受信方法、および送受信装置
CN107666582B (zh) 视频信号转换方法、系统、装置及视频处理装置
US8648739B2 (en) Transmission interface and system using the same
JP2010118004A (ja) 送信装置およびシリアル通信システム
KR100474722B1 (ko) 디지털 통신시스템에서 데이터 프레임을 동기화하는 방법
US9661192B2 (en) Video signal transmission apparatus
WO2024075743A1 (ja) 送信装置、受信装置および送受信システム
US20200195589A1 (en) Real-time on-chip data transfer system
KR102468653B1 (ko) 표시 패널의 구동 장치
CN112637673B (zh) 一种iSP信号的解码方法、解码系统
JP6922259B2 (ja) 画像転送システム、画像転送装置、及び画像転送方法
US20120049769A1 (en) Lighting device driving apparatus, lighting device driving system, and driving method thereof
JP4932236B2 (ja) 差動信号回線の誤接続検出方法及びシステム
JPH11341080A (ja) 伝送システム
JP2013150072A (ja) 画像データ通信装置、画像データ通信方法およびプログラム
JPS62180675A (ja) フアクシミリ変換装置

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980157538.0

Country of ref document: CN

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

Ref document number: 09840730

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2011501365

Country of ref document: JP

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 09840730

Country of ref document: EP

Kind code of ref document: A1