KR100243230B1 - Serial communication method from digital video camera to computer for image transmission - Google Patents
Serial communication method from digital video camera to computer for image transmission Download PDFInfo
- Publication number
- KR100243230B1 KR100243230B1 KR1019970035222A KR19970035222A KR100243230B1 KR 100243230 B1 KR100243230 B1 KR 100243230B1 KR 1019970035222 A KR1019970035222 A KR 1019970035222A KR 19970035222 A KR19970035222 A KR 19970035222A KR 100243230 B1 KR100243230 B1 KR 100243230B1
- Authority
- KR
- South Korea
- Prior art keywords
- command code
- control command
- computer
- serial communication
- video camera
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/68—Control of cameras or camera modules for stable pick-up of the scene, e.g. compensating for camera body vibrations
- H04N23/682—Vibration or motion blur correction
- H04N23/683—Vibration or motion blur correction performed by a processor, e.g. controlling the readout of an image memory
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
- H04N23/66—Remote control of cameras or camera parts, e.g. by remote control devices
- H04N23/661—Transmitting camera control signals through networks, e.g. control via the Internet
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Studio Devices (AREA)
Abstract
전송 효율이 높고 디지털 비디오 카메라의 화상을 컴퓨터에서 모니터 할 수 있는 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법이 제공된다. 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법은, a) 디지털 비디오 카메라에 내장된 직렬 통신 인터페이스부가 직렬 통신 라인을 통해 컴퓨터로부터 수신된 소정의 제어 명령 코드가 자신에 해당하는 명령 코드인지 마이콤에 해당하는 명령 코드인지를 판별하는 단계와, b) 상기 단계 a)에서 수신된 제어 명령 코드가 상기 직렬 통신 인터페이스부에 해당하는 제어 명령 코드인 것으로 판별된 경우, 상기 제어 명령 코드를 해석하여 해당 기능을 수행하는 단계와, c) 상기 단계 a)에서 수신된 제어 명령 코드가 상기 마이콤에 해당하는 제어 명령 코드인 것으로 판별된 경우, 상기 제어 명령 코드를 상기 마이콤에 전달하는 단계 및 d) 상기 마이콤이 상기 제어 명령 코드에 응답하여 해당 기능을 수행하는 단계를 포함하여, 컴퓨터 모니터 상에 디지털 비디오 카메라의 이미지를 표시하는 모니터 기능을 구현함으로써 컴퓨터에서 화면의 움직임을 직접 볼 수 있을 뿐만 아니라 디지털 비디오 카메라를 직접 제어할 수 있는 이점이 있다.Provided are a serial communication method for transmitting images from a digital video camera to a computer having high transmission efficiency and capable of monitoring a digital video camera image on a computer. In the serial communication method for image transmission from a digital video camera to a computer according to the present invention, a) a predetermined control command code received from a computer via a serial communication line in which a serial communication interface built into the digital video camera corresponds to itself; Determining whether the command code corresponds to the command code corresponding to the microcomputer; and b) determining that the control command code received in the step a) is a control command code corresponding to the serial communication interface unit. Interpreting a code to perform a corresponding function; and c) if the control command code received in step a) is determined to be a control command code corresponding to the micom, transferring the control command code to the micom. And d) the micom performs a corresponding function in response to the control command code. Thus, by implementing a monitor function for displaying an image of a digital video camera on a computer monitor, not only the movement of the screen can be directly seen from the computer but also there is an advantage of directly controlling the digital video camera.
Description
본 발명은 디지털 비디오 카메라의 화상 전송 방법에 관한 것으로, 특히 디지털 비디오 카메라의 화상을 컴퓨터에서 모니터 할 수 있는 방법과 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법 및 디지털 비디오 카메라를 직접 컴퓨터에서 제어할 수 있게 하는 통신 프로토콜에 관한 것이다.BACKGROUND OF THE
디지털 비디오 카메라(digital video camera)에서 컴퓨터로 화상을 전송하는 방법중 하드웨어적으로 가장 간단한 방법으로 RS232 포트를 이용하여 직렬로 화상을 전송하는 방법이 있다. 하지만, 종래의 화상 전송 방법은 컴퓨터의 데이터 전송 신호에 따라 디지털 비디오 카메라에서 컴퓨터로 비디오 데이터를 일방적으로 전송하는 것으로 데이터 전송중에 에러가 발생된 경우 처음부터 화상을 재전송하기 때문에 전송 효율이 낮으며, 컴퓨터에서 디지털 비디오 카메라의 화상을 모니터 할 수 없을 뿐만 아니라 디지털 비디오 카메라를 직접 제어할 수 없으므로 디지털 비디오 카메라의 동작 상태를 체크할 수 없는 문제점이 있다.The simplest method of transferring images from a digital video camera to a computer is a method of serially transmitting images using an RS232 port. However, the conventional image transmission method unilaterally transmits video data from a digital video camera to a computer according to a data transmission signal of a computer. When an error occurs during data transmission, the transmission efficiency is low because the image is retransmitted from the beginning. Not only can the computer not monitor the image of the digital video camera, but also can not control the digital video camera directly, there is a problem that can not check the operation state of the digital video camera.
본 발명이 이루고자 하는 기술적 과제는, 에러시 특정 부분만을 재전송하여 전송 효율을 높이고, 컴퓨터에서 디지털 비디오 카메라의 화상을 모니터 할 수 있으며 디지털 비디오 카메라를 직접 제어할 수 있는 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법을 제공하는 것이다.The technical problem to be solved by the present invention is to retransmit only a specific part in case of an error, to increase the transmission efficiency, to monitor the image of the digital video camera from the computer, and to control the digital video camera directly from the image from the digital video camera to the computer It is to provide a serial communication method for transmission.
도 1은 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법이 적용되는 시스템의 블록도이다.1 is a block diagram of a system to which a serial communication method for image transmission from a digital video camera to a computer according to the present invention is applied.
도 2는 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법의 흐름도이다.2 is a flowchart of a serial communication method for image transmission from a digital video camera to a computer according to the present invention.
도 3은 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법에서 컴퓨터와 RS232 직렬 통신 인터페이스부간의 데이터 전송 포맷을 도시한 도면이다.3 is a diagram illustrating a data transmission format between a computer and an RS232 serial communication interface in a serial communication method for image transmission from a digital video camera to a computer according to the present invention.
도 4는 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법에서 마이콤과 RS232 인터페이스부간의 데이터 전송 포맷을 도시한 도면이다.4 is a diagram illustrating a data transmission format between a microcomputer and an RS232 interface in a serial communication method for image transmission from a digital video camera to a computer according to the present invention.
도 5는 도 1에 도시된 시스템의 데이터 전송 패스를 도시한 도면이다.5 is a diagram illustrating a data transfer path of the system shown in FIG. 1.
도 6은 제어 명령 코드의 포맷을 도시한 도면이다.6 is a diagram illustrating a format of a control command code.
도 7은 에러블록 재전송 요구 제어 명령 코드의 포맷을 도시한 도면이다.7 is a diagram illustrating a format of an error block retransmission request control command code.
도 8은 RS232 직렬 통신 인터페이스부의 상세 블록도이다.8 is a detailed block diagram of the RS232 serial communication interface.
〈도면의 주요 부분에 대한 부호의 설명〉<Explanation of symbols for main parts of drawing>
S20...제어 명령 코드 판별 단계,S20 ... control command code determination step,
S22...RS232 직렬 통신 인터페이스부의 제어 명령 코드 수행 단계,S22 ... Step of executing control command code of RS232 serial communication interface,
S24...제어 명령 코드 전달 단계,S24 ... control command code passing step,
S26...마이콤의 제어 명령 코드 수행 단계.S26 ... Execution step of microcom's control command code.
상기 과제를 이루기 위하여 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법은, a) 디지털 비디오 카메라에 내장된 직렬 통신 인터페이스부가, 직렬 통신 라인을 통해 컴퓨터로부터 수신된 소정의 제어 명령 코드가 자신에 해당하는 명령 코드인지 마이콤에 해당하는 명령 코드인지를 판별하는 단계; b) 상기 단계 a)에서 수신된 제어 명령 코드가 상기 직렬 통신 인터페이스부에 해당하는 제어 명령 코드인 것으로 판별된 경우, 상기 제어 명령 코드를 해석하여 해당 기능을 수행하는 단계; c) 상기 단계 a)에서 수신된 제어 명령 코드가 상기 마이콤에 해당하는 제어 명령 코드인 것으로 판별된 경우, 상기 제어 명령 코드를 상기 마이콤에 전달하는 단계; 및 d) 상기 마이콤이 상기 제어 명령 코드에 응답하여 해당 기능을 수행하는 단계를 포함하는 것을 특징으로 한다.In order to achieve the above object, a serial communication method for image transmission from a digital video camera to a computer according to the present invention comprises: a) a predetermined control received from a computer via a serial communication line by a serial communication interface built into the digital video camera; Determining whether the command code corresponds to a command code corresponding to itself or a command code corresponding to a micom; b) if it is determined that the control command code received in step a) is a control command code corresponding to the serial communication interface unit, interpreting the control command code to perform a corresponding function; c) if it is determined that the control command code received in step a) is a control command code corresponding to the micom, transferring the control command code to the micom; And d) performing a corresponding function by the micom in response to the control command code.
상기 제어 명령 코드가 상기 디지털 비디오 카메라에서 캡쳐된 화상을 요구하는 캡쳐 명령인 경우, 상기 단계 b)에서 상기 직렬 통신 인터페이스부가 캡쳐 제어부에 저장된 캡쳐된 화상의 비디오 데이터를 상기 직렬 통신 라인을 통해 상기 컴퓨터로 전송하는 것이 바람직하다.If the control command code is a capture command for requesting an image captured by the digital video camera, the computer transmits the video data of the captured image stored in the capture controller in the serial communication interface unit in the step b) through the serial communication line. It is desirable to send to.
상기 제어 명령 코드가 상기 컴퓨터의 모니터에 상기 디지털 비디오 카메라의 화상을 연속적으로 표시하도록 요구하는 모니터 명령인 경우, 상기 단계 b)에서 상기 직렬 통신 인터페이스부가 캡쳐 제어부에 있는 비디오 데이터를 다운 샘플링하여 화상의 크기를 축소함으로써 비디오 데이터의 용량을 감축시켜 상기 컴퓨터로 전송하는 것이 바람직하다.If the control command code is a monitor command for requesting continuous display of the image of the digital video camera on the monitor of the computer, the serial communication interface unit down-samples the video data in the capture control unit in step b). By reducing the size, it is desirable to reduce the capacity of the video data and transmit it to the computer.
상기 직렬 통신 인터페이스부에서 상기 비디오 데이터를 상기 컴퓨터로 전송할 때, 전송 에러를 확인하기 위하여 상기 비디오 데이터를 블록단위로 전송하고 각 블록에 시작 코드와 종료 코드를 부가하여 전송 에러 발생시 에러가 발생된 블록만을 재전송하는 것이 바람직하다.When the serial communication interface unit transmits the video data to the computer, the video data is transmitted in block units to confirm a transmission error, and a start code and an end code are added to each block to generate an error when a transmission error occurs. It is desirable to retransmit only.
상기 블록의 크기는 시작 코드 1바이트와 종료 코드 1바이트를 포함한 2882바이트인 것이 바람직하다.The size of the block is preferably 2882 bytes including one byte of start code and one byte of end code.
상기 제어 명령 코드가 상기 디지털 비디오 카메라의 현재 상태를 확인하도록 요구하는 상태 확인 요구 명령인 경우, 상기 단계 c)에서 상기 마이콤이 현재의 상태를 체크하여 상태 데이터를 상기 직렬 통신 인터페이스부를 통해 상기 컴퓨터로 전송하는 것이 바람직하다.If the control command code is a status confirmation request command for requesting confirmation of the current status of the digital video camera, the microcomputer checks the current status in step c) and sends status data to the computer through the serial communication interface. It is desirable to transmit.
상기 제어 명령 코드는 상기 직렬 통신 인터페이스부와 상기 디지털 비디오 카메라를 각각 독립적으로 제어할 수 있도록 이원화되어 있는 것이 바람직하다.Preferably, the control command code is dualized to independently control the serial communication interface unit and the digital video camera.
상기 제어 명령 코드는 1바이트의 명령 코드, 2바이트의 부가 정보 코드로 된 것이 바람직하다.Preferably, the control command code is a command code of 1 byte and a side information code of 2 bytes.
상기 제어 명령 코드가 플레이, 정지, 스틸, 줌인, 줌아웃 등, 상기 디지털 비디오 카메라를 직접 제어하는 명령인 경우, 상기 단계 c)에서 상기 마이콤이 상기 제어 명령 코드에 해당하는 기능을 수행하여 상기 컴퓨터가 상기 디지털 비디오 카메라를 직접 제어하는 것이 바람직하다.If the control command code is a command for directly controlling the digital video camera, such as play, stop, still, zoom in, zoom out, etc., in step c), the microcomputer performs a function corresponding to the control command code, thereby causing the computer to operate. It is desirable to directly control the digital video camera.
이하 첨부된 도면을 참조하여 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법의 바람직한 실시예를 설명하기로 한다.Hereinafter, with reference to the accompanying drawings will be described a preferred embodiment of a serial communication method for image transmission from a digital video camera to a computer according to the present invention.
도 1에 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법이 적용되는 시스템의 블록도를 도시하였다.1 is a block diagram of a system to which a serial communication method for image transmission from a digital video camera to a computer according to the present invention is applied.
도 1에 도시된 시스템에서 참조부호 10은 컴퓨터, 참조부호 12는 디지털 비디오 카메라(미도시)에 내장된 RS232 직렬 통신 인터페이스부, 참조부호 14는 디지털 비디오 카메라에 내장된 마이콤, 참조부호 16은 휘도 데이터(ydata) 및 색 데이터(cdata)를 출력하는 셔플 메모리, 참조부호 18은 휘도 데이터(ydata) 및 색 데이터(cdata)를 입력하여 복합영상신호를 출력하는 비데오 인코더를 나타낸다.In the system shown in FIG. 1,
본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법은 컴퓨터(10)가 RS232 직렬 통신 포트로 제어 명령 코드를 출력하면 디지털 비디오 카메라의 RS232 직렬 통신 인터페이스부(12)는 상기 제어 명령 코드가 자신에 해당하는 명령인지 마이콤(14)에 해당하는 명령인지를 판별하여 상기 제어 명령 코드가 마이콤(14)에 해당하는 명령인 경우 이를 마이콤(14)에 전달하여 마이콤(14)으로 하여금 상기 제어 명령 코드에 응답하여 해당 기능을 수행토록 하고, RS232 직렬 통신 인터페이스부(12)에 해당하는 명령으로 판별된 경우 비디오 데이터 전송 등의 해당 기능을 수행한다.In the serial communication method for image transmission from a digital video camera to a computer according to the present invention, when the
상기한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법을 도 2를 참조하여 상세히 설명하기로 한다. 도 2는 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법의 흐름도로서, 컴퓨터(10)에서 소정 기능의 수행을 요청하는 제어 명령 코드가 출력되면 디지털 비디오 카메라의 RS232 직렬 통신 인터페이스부(12)는 이를 수신한 후, 단계 S20에서수신된 제어 명령 코드가 자신에 해당하는 명령 코드인지 마이콤에 해당하는 명령 코드인지를 판별한다.A serial communication method for image transmission from the digital video camera to a computer will be described in detail with reference to FIG. 2. 2 is a flowchart of a serial communication method for transmitting an image from a digital video camera to a computer according to the present invention. When the control command code for requesting the
단계 S22에서는 단계 S20에서 수신된 제어 명령 코드가 RS232 직렬 통신 인터페이스부(12)에 해당하는 제어 명령 코드인 것으로 판별된 경우, 제어 명령 코드를 해석하여 해당 기능을 수행한다. 단계 S24에서는 단계 S22에서 수신된 제어 명령 코드가 마이콤(14)에 해당하는 제어 명령 코드인 것으로 판별된 경우, 제어 명령 코드를 마이콤(14)에 전달한다. 단계 S26에서는 마이콤(14)이 제어 명령 코드에 응답하여 해당 기능을 수행한다.In step S22, when it is determined that the control command code received in step S20 is the control command code corresponding to the RS232 serial
한편, 상기 단계 S22에서 컴퓨터(10)의 제어 명령 코드가 디지털 비디오 카메라의 캡쳐된 화상의 전송을 요구하는 캡쳐 명령인 경우에는 RS232 직렬 통신 인터페이스부(12)가 RS232 직렬 통신 인터페이스부(12)내의 캡쳐 제어부(미도시)에 저장된 캡쳐된 화상의 비디오 데이터를 직렬 통신 라인을 통해 컴퓨터(10)로 전송한다.On the other hand, when the control command code of the
또한, 단계 S22에서 상기 제어 명령 코드가 컴퓨터(10)의 모니터상에 디지털 비디오 카메라(14)의 현재 화상을 표시하도록 요구하는 모니터 명령인 경우에는 RS232 직렬 통신 인터페이스부(12)가 RS232 직렬 통신 인터페이스부(12)내의 캡쳐 제어부에 있는 비디오 데이터를 다운 샘플링하여 화상의 크기를 축소함으로써 비디오 데이터의 용량을 감축시켜 컴퓨터(10)로 전송하여 컴퓨터(10) 모니터상에 축소된 디지털 비디오 카메라의 화상이 연속적으로 표시되도록 한다.In addition, when the control command code is a monitor command requesting to display the current image of the
본 발명에서 컴퓨터(10)와 RS232 직렬 통신 인터페이스부(12)간의 데이터 전송은 통상의 RS232 데이터 인코딩 기법을 사용한다. 도 3에 본 발명에서 사용되는 컴퓨터(10)와 RS232 직렬 통신 인터페이스부(12)간의 데이터 전송 포맷을 도시하였다. 도 3에 도시된 바와 같이 컴퓨터(10)와 RS232 직렬 통신 인터페이스부(12)간의 데이터 전송 포맷은 시작 비트, 8비트의 데이터, 정지 비트로 구성되어 있다.In the present invention, data transmission between the
또한, 마이콤(14)과 RS232 직렬 통신 인터페이스부(12)간의 데이터 전송 포맷은 도 4에 도시된 바와 같이 데이터(D0, D1, ..., D7)가 마이콤(14)의 스트로브 신호(mstrb)에 따라 전송된다.In addition, in the data transmission format between the
도 5에 도 1에 도시된 시스템의 데이터 전송 패스를 도시하였다. 도 5에 도시된 바와 같이 본 방법에서 각 디바이스간의 통신은 제어 명령 코드, 응답 코드, 데이터의 3가지 경우로 한정되며 제어 명령 코드는 기본적으로 컴퓨터(10)에서 발생되어 RS232 직렬 통신 인터페이스부(12)를 거쳐 마이콤(14)에서 처리된 후, 마이콤(14)이 대응되는 응답 코드 또는 데이터를 컴퓨터(10)로 전달하는 것을 기본 원칙으로 한다. 여기서 제어 명령 코드란 컴퓨터(10)에서 디지털 비디오 카메라로 특정한 기능 수행을 요청하는 코드이며, 응답 코드란 컴퓨터(10)의 제어 명령 코드가 마이콤(14)으로 전달된 후 RS232 직렬 통신 인터페이스부(12)나 마이콤(14)에서 제어 명령 코드를 해석하고 시스템을 준비상태로 변환시킨 후 발생하는 코드로 에코와 같은 것이다. 데이터는 비디오 메모리(미도시)에서 출력되는 비디오 데이터 또는 상태 데이터를 나타낸다.5 shows a data transfer path of the system shown in FIG. As shown in FIG. 5, the communication between the devices in the method is limited to three cases of a control command code, a response code, and data. The control command code is basically generated in the
상기 제어 명령 코드는 도 6에 도시된 바와 같이 1바이트의 명령 코드, 2바이트의 부가 정보 코드로 되어 있다. 여기서 명령 코드는 명령의 종류를 구분해주는 것이고, 부가정보 코드는 명령 코드에 따른 부가정보를 포함하고 있는 데이터이다. 이 부가정보 코드는 예를 들어 비디오 데이터의 전송시 컴퓨터(10)에서 에러를 체크하여 에러가 발생된 경우 에러가 발생된 곳의 ID를 송신하여 재전송할 때 사용된다.As shown in Fig. 6, the control command code is a command code of 1 byte and a side information code of 2 bytes. In this case, the command code distinguishes the type of command, and the additional information code is data including additional information according to the command code. This additional information code is used for retransmitting, for example, by transmitting an ID of the place where the error occurred when the error is checked by the
한편, RS232 직렬 통신 인터페이스부(14)에서 컴퓨터(10)로 전송되는 비디오 데이터는 에러 발생시 에러가 발생된 부분만을 재전송하기 위하여 블록 단위로 전송되며, 단위 블록의 크기는 맨 처음에 시작 코드 "0"과 맨 뒤에 종료 코드 "255"의 2바이트가 부가된 2882 바이트로서, 컴퓨터(10)에서는 수신후 시작 코드와 종료 코드를 버린다. 또한, 에러 발생시 컴퓨터(10)는 전송 보류 명령 코드를 RS232 직렬 통신 인터페이스부(12)로 보내어 데이터 송신을 중단시키고 RS232 버퍼를 클리어한 다음, 도 7에 도시된 바와 같은 에러블록 재전송 요구 제어 명령 코드를 블록 ID와 함께 보내어 에러가 발생된 데이터 블록을 재전송 받는다. 따라서, 에러 발생시 전송 효율을 높일 수 있다.On the other hand, video data transmitted from the RS232 serial
또한, 본 발명에서는 상기한 바와 같이 디지털 비디오 카메라의 현재 화상을 컴퓨터(10)의 모니터상에서 연속적으로 볼 수 있는 모니터 기능을 포함하고 있으므로 동화상을 모니터 할 수도 있다. 이를 실현시키기 위하여 본 발명에서는 화상의 크기를 축소하여 비디오 데이터의 양을 감축시켜 전송하는 방법을 사용하고 있다.In addition, since the present invention includes a monitor function for continuously viewing the current image of the digital video camera on the monitor of the
디지털 비디오 카메라의 1 필드의 데이터 양은 345,600 바이트(720×240×2 , Y:Cr:Cb=2:1:1)이므로 1 필드의 비디오 데이터를 115,200 bps의 전송 속도로 전송하는 데 걸리는 시간은 최소 30초이다. 따라서 이미지의 크기를 1/16로 축소시키면 데이터의 크기가 10,800바이트(90×60×2)로 감축되어 약 1초에 한 화면을 볼 수 있게 된다. 전송 속도를 4배로 증가시키면 1초에 4장의 화면을 볼 수 있으므로 거의 동화상에 가깝게 디지털 비디오 카메라의 화상을 컴퓨터(10)의 모니터상에서 볼 수 있다.Since the amount of data in one field of a digital video camera is 345,600 bytes (720 × 240 × 2, Y: Cr: Cb = 2: 1: 1), the time required to transfer video data in one field at a transmission rate of 115,200 bps is minimal. 30 seconds. Therefore, if the image size is reduced to 1/16, the data size is reduced to 10,800 bytes (90 × 60 × 2), so that one screen can be viewed in about 1 second. When the transmission speed is increased four times, four screens can be viewed in one second, so that the image of the digital video camera can be seen on the monitor of the
참고로 표 1에 데이터 전송 속도와 이에 따른 화면 표시 시간을 나타내었다.For reference, Table 1 shows the data transfer speeds and the screen display times.
한편, 도 8에 RS232 직렬 통신 인터페이스부(10)의 상세 블록도를 도시하였다. 도 8에 도시된 RS232 직렬 통신 인터페이스부(10)는 마이콤(12)으로부터 출력되는 신호(tx)를 수신하는 RS232 수신부(96), RS232 수신부(96)에서 출력되는 신호를 일시 저장하기 위한 제 1 직렬 버퍼(84), 제 1 직렬 버퍼(84)의 출력을 마이콤(14)으로 전송하기 위한 마이콤 직렬 전송부(80), 마이콤(14)에서 출력되는 신호(sd_ma)를 수신하기 위한 마이콤 직렬 수신부(82), 마이콤 직렬 수신부(82)의 출력을 일시 저장하기 위한 제 2 직렬 버퍼(88), 명령 코드를 해석하기 위한 명령 디코더(86), 클럭을 분주하기 위한 클럭 분주기(92), 휘도 데이터(ydata[7:0])와 색 데이터(cdata[7:0])를 입력하여 일시 저장한 후 전송 포맷에 따라 저장된 데이터를 출력하는 캡쳐 제어부(90), 명령 디코더(86)의 제어신호에 따라 제 2 직렬 버퍼(88)와 캡쳐 제어부(90)의 출력을 선택적으로 출력하기 위한 신호 선택부(94), 신호 선택부(94)의 출력을 입력하여 컴퓨터(10)로 전송하기 위한 RS232 전송부(98)를 구비하고 있다. 여기서 sd_am은 RS232 직렬 통신 인터페이스부(12)에서 마이콤(14)으로 출력되는 응답 코드등을 나타내고, mstrb는 마이콤(14)의 스트로브 신호를 나타내며, mclk는 마이콤(14)의 클럭 신호를 나타낸다.8 is a detailed block diagram of the RS232
상기와 같이 구성된 RS232 직렬 통신 인터페이스부(12)는 컴퓨터(10)에서 출력되는 제어 명령 코드에 따라 전송 속도 설정, 전송 시작, 전송 종료, 전송 상태를 제어하며, RS232 직렬 통신 인터페이스부(12)로 전달되는 제어 명령 코드는 마이콤(14)으로 전달되는 제어 명령 코드와 구분하기 위하여 최상위 비트를 1로 한다. 그리고 전송 에러때 발생하는 에러 코드와 보류 코드에는 에러가 발생된 블록을 확인하기 위하여 현재까지 수신된 데이터 블록의 ID가 부가된다.The RS232 serial
표 2에 컴퓨터(10)에서 RS232 직렬 통신 인터페이스부(12)로 전달되는 제어 명령 코드를 나타내었다.Table 2 shows the control command codes transmitted from the
또한, 표 3에 컴퓨터(10)에서 마이콤(14)으로 전달되는 제어 명령 코드를 나타내었다.In addition, Table 3 shows control command codes transmitted from the
표 3에 도시된 바와 같이 본 발명에서는 컴퓨터(10)에서 디지털 비디오 카메라로 원하는 제어 명령 코드를 보내면 이 제어 명령 코드는 RS232 직렬 통신 인터페이스부(12)에 의해 판별되어 RS232 직렬 통신 인터페이스부(12) 또는 마이콤(14)에서 해당 기능이 수행된다. 마이콤(14)은 제어 명령 코드를 수신한 경우 이에 대한 응답 코드를 발생시키는 데 이 응답 코드는 RS232 직렬 통신 인터페이스부(12)를 거쳐 컴퓨터(10)로 전달된다. 여기서 마이콤(14)에 해당하는 제어 명령 코드를 RS232 직렬 통신 인터페이스부(12)에 해당하는 제어 명령 코드와 구분하기 위하여 5번째 비트를 "0"으로 하며 공통적으로 부가 정보는 없다.As shown in Table 3, in the present invention, when the
다음에 컴퓨터(10)에서 디지털 비디오 카메라에 제어 명령 코드를 전송하여 수행하고자 하는 주요 기능의 예를 설명하기로 한다.Next, an example of main functions to be performed by transmitting a control command code from the
1) 캡쳐 기능1) Capture function
캡쳐 기능은 디지털 비디오 카메라에서 캡쳐를 위하여 비디오 메모리에 라이트를 중지하고 계속하여 같은 화면을 캡쳐가 끝날 때까지 보내주어야 한다. 캡쳐 기능은 다음과 같은 과정에 따라 수행된다. 우선 컴퓨터(10)가 디지털 비디오 카메라에 캡쳐 요구 제어 명령 코드를 송신한 후 디지털 비디오 카메라로부터 캡쳐 준비 신호를 수신하면 RS232 직렬 통신 인터페이스부(12)로 캡쳐 시작 제어 명령 코드를 송신한다. RS232 직렬 통신 인터페이스부(12)는 캡쳐 시작 제어 명령에 따라 캡쳐 기능을 수행하여 캡쳐된 화상의 비디오 데이터를 컴퓨터(10)로 송신한다. 이 때 에러가 발생되는 경우 컴퓨터(10)는 에러블록 재전송 요구 제어 명령 코드를 송신하여 에러가 발생된 블록을 재수신한다. 캡쳐가 종료되면 컴퓨터(10)는 디지털 비디오 카메라로 캡쳐 중지 제어 명령 코드를 송신하여 캡쳐 기능을 종료시킨다.The capture function must stop writing to the video memory for capture from the digital video camera and continue to send the same screen until the end of the capture. The capture function is performed as follows. First, the
2) 모니터 기능2) Monitor function
모니터 기능은 디지털 비디오 카메라가 동작중이면 수행되며 이는 디지털 비디오 카메라와는 독립적인 기능이다. 우선 디지털 비디오 카메라로부터 모니터 기능 수행이 가능한지를 확인한 후, 컴퓨터(10)가 RS232 직렬 통신 인터페이스부(12)로 모니터 시작 제어 명령 코드를 송신하여 디지털 비디오 카메라로부터 비디오 데이터를 수신한다. 이 때 다른 기능을 수행하라는 요구가 없으면 계속하여 비디오 데이터를 수신하여 컴퓨터(10)의 모니터상에 디지털 비디오 카메라의 화상을 표시한다.The monitor function is performed while the digital video camera is in operation and is independent of the digital video camera. First, after confirming that the monitor function can be performed from the digital video camera, the
3) 상태 확인 기능3) Status check function
상태 확인 기능은 컴퓨터(10)에서 디지털 비디오 카메라의 현재 상태를 확인하는 기능으로 우선 컴퓨터(10)가 디지털 비디오 카메라로 상태 요구 제어 명령 코드를 송신하여 디지털 비디오 카메라로부터 상태 데이터를 수신한다.The status checking function is a function of checking the current status of the digital video camera in the
4) 디지털 비디오 카메라 제어 기능4) Digital video camera control function
이 기능은 컴퓨터(10)에서 디지털 비디오 카메라의 동작을 직접 제어하는 기능으로 예를 들어 디지털 비디오 카메라를 플레이시키는 과정을 살펴보면 다음과 같다. 우선 컴퓨터(10)가 디지털 비디오 카메라로 상태 요구 제어 명령 코드를 송신하여 디지털 비디오 카메라의 상태를 확인한 후, 플레이가 불가능한 상태라면 종료하고, 플레이 가능상태라면 디지털 비디오 카메라로 플레이 요구 제어 명령 코드를 송신하여 디지털 비디오 카메라를 플레이시킨다. 이 때 컴퓨터(10)는 디지털 비디오 카메라의 상태를 확인하여 플레이 상태가 아닌 경우 다시 플레이 요구 제어 명령 코드를 송신하게 된다.This function is a function of directly controlling the operation of the digital video camera in the
상술한 바와 같이 본 발명에 의한 디지털 비디오 카메라에서 컴퓨터로의 화상 전송을 위한 직렬 통신 방법은, 비디오 데이터를 블록 단위로 전송하여 에러 발생시 전송 효율을 높일 수 있고 컴퓨터의 모니터 상에 디지털 비디오 카메라의 화상을 표시하는 모니터 기능을 구현하여 컴퓨터 상에서 화면의 움직임을 직접 볼 수 있을 뿐만 아니라 컴퓨터에서 디지털 비디오 카메라를 직접 제어할 수 있는 이점이 있다. 또한, 컴퓨터에서 디지털 비디오 카메라의 상태를 항상 확인할 수 있으며 동화상을 표시할 수 있으므로 이를 이용하여 컴퓨터에서 동영상 파일을 제작할 수 있는 이점이 있다.As described above, the serial communication method for image transmission from a digital video camera to a computer according to the present invention can transmit video data in units of blocks to increase transmission efficiency in the event of an error and to display an image of a digital video camera on a monitor of a computer. By implementing the monitor function to display the screen, you can see the movement of the screen directly on the computer, as well as control the digital video camera directly from the computer. In addition, since the state of the digital video camera can always be checked on a computer and a moving picture can be displayed, there is an advantage in that a video file can be produced on the computer using the same.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970035222A KR100243230B1 (en) | 1997-07-25 | 1997-07-25 | Serial communication method from digital video camera to computer for image transmission |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1019970035222A KR100243230B1 (en) | 1997-07-25 | 1997-07-25 | Serial communication method from digital video camera to computer for image transmission |
Publications (2)
Publication Number | Publication Date |
---|---|
KR19990011963A KR19990011963A (en) | 1999-02-18 |
KR100243230B1 true KR100243230B1 (en) | 2000-02-01 |
Family
ID=19515746
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1019970035222A KR100243230B1 (en) | 1997-07-25 | 1997-07-25 | Serial communication method from digital video camera to computer for image transmission |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100243230B1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100929386B1 (en) * | 2002-11-09 | 2009-12-02 | 삼성테크윈 주식회사 | Resolution Evaluation System for Digital Cameras Adopting High Speed Serial Communication Standards |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06153062A (en) * | 1992-09-21 | 1994-05-31 | Canon Inc | Image input device |
-
1997
- 1997-07-25 KR KR1019970035222A patent/KR100243230B1/en not_active IP Right Cessation
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06153062A (en) * | 1992-09-21 | 1994-05-31 | Canon Inc | Image input device |
Also Published As
Publication number | Publication date |
---|---|
KR19990011963A (en) | 1999-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPH05204804A (en) | High-speed transmission line-interface | |
JP2862160B2 (en) | Communication method | |
US20080311857A1 (en) | Receiver, transmitter, communication system, method for controlling receiver, and communication method | |
KR100243230B1 (en) | Serial communication method from digital video camera to computer for image transmission | |
US7006261B1 (en) | Modulator and demodulator (MODEM) | |
JP3288455B2 (en) | Facsimile machine | |
AU609791B2 (en) | Improvements in or relating to data communication systems | |
JPH0690269A (en) | Data transmission method | |
US20210288781A1 (en) | Communication device, communication system and communication method | |
KR200182088Y1 (en) | Control unit for multi image signal storage | |
JP2624297B2 (en) | Modem device | |
JP2581238Y2 (en) | Data transmission equipment | |
JPH01106575A (en) | Phototelegraphy system | |
JPH0157538B2 (en) | ||
JP2802271B2 (en) | Facsimile machine | |
JPH0340558A (en) | Facsimile equipment | |
JPS60198931A (en) | Data communication system | |
JPS62180675A (en) | Facsimile conversion equipment | |
JPH0410261B2 (en) | ||
JPH1070714A (en) | Image transmission system | |
JPS6450665A (en) | Facsimile transmitter | |
JPH04281687A (en) | Picture transmitter | |
JPS5871744A (en) | Data communication system with shift-down function | |
JPH09116904A (en) | Data communication system | |
JPH02130066A (en) | Communication channel switching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A201 | Request for examination | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant | ||
FPAY | Annual fee payment |
Payment date: 20111028 Year of fee payment: 13 |
|
LAPS | Lapse due to unpaid annual fee |