KR100991979B1 - Synchronization apparatus and method for multiple CODEC DVR system - Google Patents
Synchronization apparatus and method for multiple CODEC DVR system Download PDFInfo
- Publication number
- KR100991979B1 KR100991979B1 KR1020090033064A KR20090033064A KR100991979B1 KR 100991979 B1 KR100991979 B1 KR 100991979B1 KR 1020090033064 A KR1020090033064 A KR 1020090033064A KR 20090033064 A KR20090033064 A KR 20090033064A KR 100991979 B1 KR100991979 B1 KR 100991979B1
- Authority
- KR
- South Korea
- Prior art keywords
- codec
- synchronization
- output
- reference counter
- synchronization signal
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/24—Systems for the transmission of television signals using pulse code modulation
- H04N7/52—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal
- H04N7/54—Systems for transmission of a pulse code modulated video signal with one or more other pulse code modulated signals, e.g. an audio signal or a synchronizing signal the signals being synchronous
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/08—Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division
- H04N7/0803—Systems for the simultaneous or sequential transmission of more than one television signal, e.g. additional information signals, the signals occupying wholly or partially the same frequency band, e.g. by time division using frequency interleaving, e.g. with precision offset
Abstract
본 발명은 복수의 코덱칩 간의 동기화 장치 및 그 방법에 관한 것으로, 다수의 비디오 코덱을 구비한 디지털 비디오 레코더에서 복수의 코덱칩 간의 칩레벨의 동기화를 통하여 코덱의 제어, 하드디스크의 공유 및 채널 간 영상/음성 동기를 용이하게 제어할 수 있는 복수의 코덱칩 간의 동기화 장치 및 그 방법을 제공한다. 이를 위한 본 발명은 복수의 코덱칩 간의 동기화 장치에 있어서, 상기 코덱칩의 동기신호 인가순서를 기초로 서로 다르게 설정된 옵셋값에 따라 일정 시간간격으로 단위시간을 반복 카운트하는 기준 카운터와; 상기 기준 카운터의 출력에 따라 단위시간 주기 펄스를 생성하는 펄스발생기;를 포함하며, 상기 각 코덱칩에 내장되고, 상기 기준 카운트의 옵셋값은 상기 기준 카운터의 카운트 개시값이고, 외부로부터 입력되는 동기신호에 따라 상기 기준 카운터로 로딩되는 것을 특징으로 한다. 상기와 같은 구성에 의해 본 발명은 복수의 코덱의 제어가 용이하고, 스트림 입력/출력 시점의 조정이 가능하여 효율적인 하드디스크 공유가 가능하며, 시간별로 영상/음성의 저장이 가능하여 다채널 영상/음성의 동기를 위한 검색이 용이한 효과가 있다. The present invention relates to an apparatus and a method for synchronizing between a plurality of codec chips, in a digital video recorder having a plurality of video codecs, control of codecs, sharing of hard disks, and channel-to-channel through chip-level synchronization between a plurality of codec chips. Provided are a synchronization device between a plurality of codec chips capable of easily controlling video / audio synchronization, and a method thereof. According to an aspect of the present invention, there is provided a synchronization device between a plurality of codec chips, comprising: a reference counter for repeatedly counting unit times at predetermined time intervals according to offset values set differently based on a synchronization signal application order of the codec chips; And a pulse generator for generating a unit time period pulse according to the output of the reference counter. The pulse generator may be embedded in each codec chip, and the offset value of the reference count is a count start value of the reference counter and is input from an external device. The reference counter is loaded according to the signal. According to the above configuration, the present invention can easily control a plurality of codecs, adjust the stream input / output point of time, enable efficient hard disk sharing, and store video / audio according to time. The search for the synchronization of the voice is easy to effect.
동기화, 디지털 비디오 레코더, DVR, 코덱 Synchronization, digital video recorder, DVR, codec
Description
본 발명은 복수의 코덱칩 간의 동기화 장치 및 그 방법에 관한 것으로, 특히, 다수의 비디오 코덱을 구비한 디지털 비디오 레코더에서 복수의 코덱칩 간의 칩레벨의 동기화를 통하여 코덱의 제어, 하드디스크의 공유 및 채널 간 영상/음성 동기를 용이하게 제어할 수 있는 복수의 코덱칩 간의 동기화 장치 및 그 방법에 관한 것이다. BACKGROUND OF THE
디지털 영상 압축 기술을 바탕으로 감시 카메라에 의해 촬영된 비디오 신호를 녹화하는 장치로서, 디지털 비디오 레코더(DVR; Digital Video Recorder)가 등장하였다. As a device for recording a video signal photographed by a surveillance camera based on digital image compression technology, a digital video recorder (DVR) has emerged.
이는 기존의 아날로그 방식의 저장장치(VCR)와는 구별되는 것으로 입력된 비디오 신호를 디지털화하여 저장장치인 하드디스크(스토리지)에 압축하여 저장할 수 있다. This is distinguished from a conventional analog storage device (VCR). The input video signal can be digitized and compressed and stored in a hard disk (storage) which is a storage device.
이와 같이 비디오의 녹화/재생을 핵심 기능으로 하는 장치에서 사용자의 요구에 부응하여 단위시간당 녹화/재생 비디오의 수는 증가되는 추세이다. As such, the number of recording / playback videos per unit time is increasing in response to user demand in devices having video recording / playback as a core function.
이에 따라 녹화/재생을 담당하는 비디오 코덱의 처리능력 또한 단일채널에서 복수의 채널로 확대되고 있다. Accordingly, the processing power of the video codec for recording / reproducing is also expanding from a single channel to a plurality of channels.
한편, 기존의 대부분의 비디오 레코더 장치는 단일 코덱을 사용하기 때문에 시스템의 녹화/재생 능력은 코덱의 사양에 의하여 정해진다. On the other hand, since most existing video recorder devices use a single codec, the recording / playback capability of the system is determined by the specification of the codec.
이를 해결하기 위하여 디지털 비디오 레코더와 같은 장치는 복수개의 코덱을 사용하여 원하는 성능을 제공할 수 있다. To solve this problem, a device such as a digital video recorder may provide a desired performance by using a plurality of codecs.
그러나, 다수의 코덱을 사용하는 경우에도 코덱의 동기를 위한 별도의 장치가 구비되지 않아 비동기하에서 코덱을 운용하고 있으며, 이 경우 시스템 레벨에서 동기의 지원도 곤란한 문제점이 있다. However, even when a plurality of codecs are used, a separate device for synchronizing codecs is not provided, and thus the codecs are operated under asynchronous operation. In this case, there is a problem in that synchronization support is difficult at the system level.
본 발명은 상기와 같은 문제점을 해결하기 위하여 제안된 것으로, 디지털 비디오 레코더에서 복수의 코덱칩 간의 칩레벨 동기화를 구현할 수 있는 복수의 코덱칩 간의 동기화 장치 및 그 방법을 제공하는 것을 목적으로 한다.The present invention has been proposed to solve the above problems, and an object of the present invention is to provide an apparatus and a method for synchronizing a plurality of codec chips capable of implementing chip level synchronization between a plurality of codec chips in a digital video recorder.
상기와 같은 목적을 달성하기 위한 본 발명은 복수의 코덱칩 간의 동기화 장치에 있어서, 상기 코덱칩의 동기신호 인가순서를 기초로 서로 다르게 설정된 옵셋값에 따라 일정 시간간격으로 단위시간을 반복 카운트하는 기준 카운터와; 상기 기준 카운터의 출력에 따라 단위시간 주기 펄스를 생성하는 펄스발생기;를 포함하며, 상기 각 코덱칩에 내장되고, 상기 기준 카운트의 옵셋값은 상기 기준 카운터의 카 운트 개시값이고, 외부로부터 입력되는 동기신호에 따라 상기 기준 카운터로 로딩되는 것을 특징으로 한다.The present invention for achieving the above object is a reference for repeatedly counting the unit time at a predetermined time interval according to the offset value set differently based on the synchronization signal application order of the codec chip in a synchronization device between a plurality of codec chip A counter; And a pulse generator for generating a unit time period pulse according to the output of the reference counter. The pulse generator may be embedded in each codec chip, and the offset value of the reference count is a count start value of the reference counter. The reference counter is loaded according to a synchronization signal.
바람직하게는 상기 기준 카운터는 1초를 반복 카운트할 수 있다.Preferably, the reference counter may repeatedly count one second.
바람직하게는 상기 펄스 발생기는 상기 코덱칩의 출력 신호를 저장하는 순서에 따라 미리 설정된 값과 상기 기준 카운터의 출력을 비교하여 동일값인 경우에만 펄스를 출력하는 비교기일 수 있다.Preferably, the pulse generator may be a comparator that outputs a pulse only when the value is the same by comparing a preset value and an output of the reference counter according to the order of storing the output signal of the codec chip.
본 발명은 상기 입력되는 외부동기 신호를 설정된 극성으로 변환하는 제 1 변환부를 추가로 포함할 수 있다.The present invention may further include a first conversion unit for converting the input external synchronization signal into a set polarity.
본 발명은 상기 펄스 발생기의 출력을 설정된 극성으로 변환하여 외부로 출력하는 제 2 변환부를 추가로 포함할 수 있다.The present invention may further include a second converter converting the output of the pulse generator into a set polarity and outputting the result to the outside.
바람직하게는 상기 제 1 변환부 또는 제 2 변환부는 배타적 논리합(Exclusive OR) 회로일 수 있다.Preferably, the first transform unit or the second transform unit may be an exclusive OR circuit.
본 발명의 다른 양태에 따른 디지털 비디오 레코더는 상기 어느 하나의 동기화 장치가 내장된 복수의 코덱칩중 적어도 두개의 코덱칩이 동기신호가 순차로 입력되도록 직렬 접속되는 것을 특징으로한다.A digital video recorder according to another aspect of the present invention is characterized in that at least two codec chips of a plurality of codec chips in which any one of the synchronization devices are incorporated are serially connected such that synchronization signals are sequentially input.
본 발명의 또 다른 양태에 따른 복수의 코덱칩 간의 동기화 방법은 상기 펄스 생성을 위한 카운트의 옵셋값을 상기 코덱칩의 동기신호 인가순서에 따라 다르게 설정하는 설정 단계와; 상기 옵셋값을 기초로 외부로부터 입력되는 동기신호에 따라 일정 시간간격으로 단위시간의 반복 카운트가 개시되는 초기화 단계와; 상기 카운트 값을 기초로 상기 코덱칩의 출력신호를 저장하는 순서를 기초로 설정된 값 에 따라 생성 시점이 변경되는 단위시간 주기 펄스를 생성하는 생성 단계와; 상기 생성된 펄스를 설정된 극성에 따라 변환하여 외부로 출력하는 출력 단계;를 포함하는 것을 특징으로 한다. According to still another aspect of the present invention, there is provided a synchronization method between a plurality of codec chips, including: a setting step of differently setting an offset value of a count for generating pulses according to a synchronization signal application order of the codec chip; An initialization step of starting a repetition count of a unit time at a predetermined time interval according to a synchronization signal input from the outside based on the offset value; A generation step of generating a unit time period pulse in which a generation time is changed according to a value set based on an order of storing an output signal of the codec chip based on the count value; And converting the generated pulse according to a set polarity and outputting the result to the outside.
바람직하게는 상기 초기화 단계는 상기 입력되는 외부동기 신호를 설정된 극성으로 변환할 수 있다.Preferably, the initialization step may convert the input external synchronization signal to a set polarity.
본 발명에 따른 복수의 코덱칩 간의 동기화 장치 및 그 방법은 복수의 코덱칩의 동기화를 통하여 복수의 코덱의 제어가 용이하고, 스트림 입력/출력 시점의 조정이 가능하여 효율적인 하드디스크 공유가 가능하며, 시간별로 영상/음성의 저장이 가능하여 다채널 영상/음성의 동기를 위한 검색이 용이한 효과가 있다. The apparatus and method for synchronizing between a plurality of codec chips according to the present invention are easy to control a plurality of codecs through the synchronization of a plurality of codec chips, and the stream input / output timing can be adjusted to enable efficient hard disk sharing, It is possible to store video / audio by time, so it is easy to search for synchronization of multi-channel video / audio.
이하, 본 발명의 바람직한 실시예를 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of the present invention will be described in detail with reference to the accompanying drawings.
도 1은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치의 개략적 나타낸 블록도이다. 1 is a schematic block diagram of a synchronization device between a plurality of codec chips according to an embodiment of the present invention.
동기화 장치(100)는 후술하는 바와 같은 디지털 비디오 레코더에 장착되는 코덱칩에 내장되며, 외부 동기신호를 변환하는 제 1 변환부(110)와, 동기신호를 위한 기준 카운트를 수행하는 기준 카운터(120)와, 기준 카운트를 기초로 펄스를 생성하는 펄스 발생기(130)와, 외부 출력동기 신호를 변환하는 제 2 변환부(140)를 포함한다. The
제 1 변환부(110)는 기준 카운터(120)의 동작을 위하여 외부로부터 입력되는 동기신호를 설정된 입력극성에 따라 변환한다. 여기서, 외부로부터 입력되는 동기는 복수의 코덱중 전단의 코덱으로부터 출력되는 프레임 동기신호이다. The
이 외부동기 신호는 기준 카운터(120)의 로드 스트로브(Load Strobe)로 사용되는데, 예를 들면, 로드 스트로브가 '1'일 때, 옵셋값을 로드하는 구조로 설정된 경우, 제 1 변환부(110)는 외부의 동기신호의 극성을 이에 맞게 조정한다.The external synchronization signal is used as a load strobe of the
이는 보드상에서 신호의 극성에 따라 노이즈의 특성이 다르기 때문에 제 1 변환부(110)는 외부 동기신호를 액티브 로우(Active low) 또는 액티브 하이(Active high)로 설정한다. Since the characteristics of the noise vary depending on the polarity of the signal on the board, the
예를 들면, 제 1 변환부(110)는 외부 동기신호의 극성을 변경할 필요가 없는 경우 버퍼의 기능으로 동작하고, 외부 동기신호의 극성을 변경할 필요가 있는 경우 부정 연산(NOT) 논리 회로의 기능으로 동작한다.For example, the
기준 카운트Reference count
기준 카운터(120)는 옵셋값에 따라 일정 시간간격으로 단위시간을 반복 카운트하며, 상기 외부 동기신호에 따라 상기 옵셋값이 로딩된다.The
이러한 기준 카운터(120)는 예를 들면, 1초를 반복 카운트하는데, 30fps(frames per second) 프레임율을 기준으로 하는 NTSC(National Television System Committee) 방식에 대하여는 16.6㎳ 간격으로 60회를 카운트하여 1초를 카운트하고, 25fps의 프레임율을 기준으로 하는 PAL(Phase Alternation by Line) 방식에 대하여는 20.0㎳ 간격으로 50회를 카운트하여 1초를 카운트한다.For example, the
여기서, 옵셋값은 기준 카운터(120)의 카운트 개시값으로서, 이는 복수의 코덱 간의 시간 정렬을 위한 값이다. 즉, 옵셋값은 후술하는 바와 같이 코덱칩의 동기신호 인가순서에 따라 서로 다르게 설정된다. Here, the offset value is a count start value of the
보다 구체적으로는 첫째단의 코덱칩에 내장된 동기화 장치(100)의 출력 펄스, 즉, 프레임 동기신호는 둘째단의 코덱칩에 내장된 동기화 장치(100)로 입력되며, 이런 방식으로 마지막단의 코덱칩에 내장된 동기화 장치(100)까지 동기신호는 직렬로 인가된다. More specifically, the output pulse of the
이때, 각 코덱칩의 기준 카운터(120)는 어느 정도의 시차를 가지고 카운트를 개시하게 되는데, 이 시차를 일치시키기 위하여 각 코덱칩의 기준 카운터(120)의 카운트 개시값을 서로 다르게 설정하여 전체적으로 동일시간에 동일한 카운트 값이 되도록 설정된다. At this time, the
한편, 옵셋값의 로딩은 외부 동기 시호의 입력에 따라 수행되며, 결과적으로 외부 동기신호, 즉, 외부 기준 펄스에 동기를 맞추게 된다. On the other hand, the loading of the offset value is performed in accordance with the input of the external synchronization time signal, and as a result is synchronized to the external synchronization signal, that is, the external reference pulse.
이와 같이 기준 카운터(120)는 코덱칩에서 생성되는 내부 기준 펄스를 입력되는 외부 기준 펄스에 동기를 맞추는 기능과 호스트 제어부에서 설정한 옵셋으로 이동할 수 있는 기능을 갖는다.As such, the
프레임 동기 펄스 생성Frame Sync Pulse Generation
펄스 발생기(130)는 기준 카운터(120)의 출력에 따라 단위시간 주기 펄스를 생성한다. The
즉, 펄스 발생기(130)는 기준 카운터(120)에서 출력되는 내부 기준펄스를 기 초로 1초T의 주기 펄스를 생성하여 코덱칩 동작의 기준 펄스로 사용한다. That is, the
여기서, 펄스 발생기(130)는 기준 카운터(120)의 출력과 함께 설정값이 입력되는데, 이 설정값은 코덱칩의 출력신호를 저장하는 순서에 따라 설정된다. 후술하는 바와 같이, 코덱칩 간의 동기를 맞추게 되면, 변환된 비디오 신호를 저장부에 저장하는 경우 미리 설정된 스케줄에 따라 조절할 수 있는데, 이 설정값에 의해 코덱간의 저장시점을 조절하여 저장 스케줄을 관리할 수 있다.Here, the
이러한 펄스 발생기(130)의 출력은 내부 기준 펄스로 사용하는 동시에 코덱칩 간의 동기를 위하여 외부로 출력된다.The output of the
펄스 극성 변환Pulse polarity conversion
제 2 변환부(140)는 펄스 발생기(130)의 출력을 외부로 출력하는 경우 설정된 극성으로 변환하여 외부로 출력한다. 여기서, 변환된 펄스는 코덱칩의 동기를 위하여 외부로, 예를 들면, 다음단의 코덱칩으로 출력된다. When the output of the
제 2 변환부(140)는 제 1 변환부(110)와 유사하게, 출력되는 신호가 액티브 하이 및 액티브 로우 중 어느 하나로 출력될지를 결정하는 출력극성 신호에 따라 버퍼 기능 또는 부정 연산(NOT) 논리 회로의 기능으로 동작한다. Similar to the
도 2는 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치의 상세 블록도이다. 2 is a detailed block diagram of a synchronization device between a plurality of codec chips according to an embodiment of the present invention.
동기화 장치(200)는 외부 동기신호를 변환하는 제 1 배타적 논리합(Exclusive OR) 회로(210)와, 동기신호를 위한 기준 카운트를 수행하는 기준 카운터(120)와, 기준 카운트를 기초로 펄스를 생성하는 비교기(230)와, 외부 출력동 기 신호를 변환하는 제 2 배타적 논리합 회로(240)를 포함한다.The
제 1 배타적 논리합 회로(210)는, 도 1의 제 1 변환부(110)의 일예로서, 미리 설정된 입력극성에 따라 외부로부터 입력되는 동기신호의 극성을 변환한다. As an example of the
기준 카운터(220)는 외부로부터 시스템 클록을 입력받아 동작하며, 리셋 신호에 의해 초기화된다. 기준 카운터(120)는 상술한 바와 같이 제 1 배타적 논리합 회로(210)의 출력신호에 따라 옵셋값이 로딩되며, 이 옵셋값에 따라 카운트를 개시한다. The
비교기(230)는 기준 카운터(120)의 출력과 미리 설정된 값을 비교하여 동일한 값인 경우에만 펄스를 출력한다. 예를 들면, 설정값이 모두 "0"으로 설정되는 경우, 기준 카운터(120)의 출력이 0인 경우, 동기신호로 사용되는 주기 펄스가 생성된다. The
여기서, 이 설정값을 조정함에 따라 각 코덱칩의 인코딩 또는 디코딩의 종점(end point)을 조절하여 데이터 스트림의 저장을 위한 스케줄링이 가능하다.Here, by adjusting this setting value, an end point of encoding or decoding of each codec chip may be adjusted to enable scheduling for storing the data stream.
제 2 배타적 논리합 회로(240)는 도 1의 제 2 변환부(140)의 일예로서, 미리 설정된 출력극성에 따라 외부로 출력되는 동기신호의 극성을 변환한다. The second exclusive
복수의 코덱 동기화Sync multiple codecs
도 3은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치가 적용된 디지털 비디오 레코더의 블록도이다. 3 is a block diagram of a digital video recorder to which a synchronization device between a plurality of codec chips according to an embodiment of the present invention is applied.
디지털 비디오 레코더(300)는 카메라로부터 비디오 신호를 입력받는 다수의 비디오 디코더(310)와, 다수의 비디오 디코더(310)의 출력을 제어하는 비디오 콘트 롤러(320)와, 다수의 비디오 디코더(310)에 각각 대응하여 이미지를 인코딩 또는 디코딩하는 다수의 비디오 코덱(330)과, 비디오 코덱(330)을 제어하는 호스트제어부(340)와, 비디오 코덱(330)에서 인코딩된 비디오 신호를 저장하는 저장부(350)를 포함한다. The
비디오 디코더(310)는 개별칩으로 구성되고, 각 채널별로 카메라의 출력 비디오 신호를 입력받아 디코딩하며, 예를 들면, 4개의 카메라가 접속되는 4채널 디코더이다. The
비디오 콘트롤러(320)는 개별칩으로 구성되며, 다수의 4채널 비디오 디코더(310), 예를 들면 4개의 비디오 디코더(310)로부터 입력되는 16채널의 디코딩 신호를 해당 비디오 코덱(330)으로 스위칭한다. The
비디오 코덱(330)은 개별칩으로 구성되며, 도 1 및 도 2에 도시된 바와 같은 동기화 장치(100)가 포함되며, 해당 비디오 디코더(310)에 대응하는 비디오 신호를 수신하여 인코딩한다. The
이러한 비디오 코덱(330)은 동기신호로서 기준 동기신호 또는 이전 단의 동기신호 출력을 입력받아 동기화 장치(100)에 의해 동기신호를 생성하고, 생성된 동기신호를 후단의 비디오 코덱(330)으로 출력한다. The
도 3에서는, 비디오 코덱(330)이 동기신호가 순차로 입력되도록 직렬 접속된 예를 도시하였지만, 복수의 비디오 코덱(330) 중 적어도 두개의 비디오 코덱(330)만이 동기신호가 순처로 입력되도록 직렬접속 될 수 있다. 즉, 하나의 비디오 코덱(330)의 출력 동기신호를 다수의 비디오 코덱(330)에 입력하는 1 대 N으로 구성 될 수 있다. In FIG. 3, the
한편, 비디오 코덱(330)은 각 채널별 비디오 신호에 대한 인코딩 및 각 프레임 또는 필드별 인코딩에 대한 동기신호는 시스템 클럭으로부터 내부에서 자체적으로 사용되고, 비디오 코덱(330) 사이의 동기화를 위하여 동기화 장치(100)에 의해 1초 주기의 동기신호를 생성한다.Meanwhile, the
호스트제어부(340)는 다수의 비디오 코덱(330)으로부터 출력되는 비디오 신호를 미리 설정된 스케줄에 따라 저장부(350)에 저장한다. The
또한, 호스트제어부(340)는 동기화 장치(100)에서 사용되는 입력극성, 출력극성, 옵셋, 설정값을 사용자의 설정에 따라 생성하여 비디오 코덱(330)으로 인가한다. In addition, the
저장부(350)는, 비디오 코덱(330)에서 인코딩된 비디오 신호를 저장하며, 예를 들면, HDD(Hard Disk Driver)일 수 있다. The
도 4는 코덱의 비동기와 동기에 따른 결과물의 출력 시점을 나타낸 타이밍도이며, 도 5는 코덱에서 생성된 스트림의 저장 구조를 나타낸 도면이다.FIG. 4 is a timing diagram illustrating output time points of a result of asynchronous and synchronous codecs, and FIG. 5 is a diagram illustrating a storage structure of a stream generated by a codec.
도 4에 도시된 바와 같이, 각 비디오 코덱(330) 사이의 동기가 맞지 않으면, 인코딩 또는 디코딩의 종점이 불규칙하여 비디오 신호의 저장 및 기타 처리를 계획하기가 곤란하다.As shown in Fig. 4, if the synchronization between each
동기화 장치(100)에 의해 각 비디오 코덱(330)의 동기를 맞춤으로써, 비디오 코덱(330)의 동작을 예측할 수 있어 제어를 단순화할 수 있으며, 동기화된 비디오 코덱(330)의 동작을 통하여 다수의 카메라로부터 생성된 비디오 신호를 인코딩한 스트림의 효율적인 관리가 가능하여 재생시 해당 스트림 검색 및 영상 간 동기조작이 간단해진다.By synchronizing each of the
코덱칩Codec chip 사이의 동기화 방법 Synchronization method between
이하, 도 6을 참조하여 본 발명의 복수의 코덱칩 간의 동기화 방법을 설명한다.Hereinafter, a synchronization method between a plurality of codec chips of the present invention will be described with reference to FIG. 6.
도 6은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 방법을 나타낸 순서도이다. 6 is a flowchart illustrating a synchronization method between a plurality of codec chips according to an embodiment of the present invention.
복수의 코덱칩 간의 동기화 방법은 펄스 생성을 위한 카운트의 옵셋값을 설정하는 설정 단계(단계 S601)와, 옵셋값을 기초로 외부로부터 입력되는 동기신호에 따라 일정 시간간격으로 단위시간의 반복 카운트가 개시되는 초기화 단계(단계 S602)와, 카운트 값에 따라 단위시간 주기 펄스를 생성하는 생성 단계(단계 S603)와, 생성된 펄스를 설정된 극성에 따라 변환하여 외부로 출력하는 출력 단계(단계 S604)를 포함한다.The synchronization method between a plurality of codec chips includes a setting step of setting an offset value of a count for generating a pulse (step S601), and a repetition count of unit time at a predetermined time interval according to a synchronization signal input from the outside based on the offset value. An initializing step (step S602) to be started, a generating step (step S603) of generating unit time period pulses according to the count value, and an output step (step S604) of converting the generated pulses according to a set polarity and outputting them to the outside; Include.
보다 상세하게는, 먼저, 복수의 코덱칩 사이의 시간 정렬을 위하여 옵셋값을 설정한다(단계 S601).More specifically, first, an offset value is set for time alignment between a plurality of codec chips (step S601).
여기서, 코덱칩은 도 3에 도시된 바와 같이, 동기신호가 직렬로 인가되는데, 상기 옵셋값은 코덱칩의 동기신호 인가순서에 따라 다르게 설정된다. As shown in FIG. 3, the codec chip is applied with a synchronization signal in series, and the offset value is set differently according to the synchronization signal application order of the codec chip.
즉, 첫째단의 코덱칩에 내장된 동기화 장치(100)에서 카운트가 개시된 이후, 첫째단의 코덱칩의 동기신호에 따라 두번째단의 코덱칩이 동작하는 경우, 두번째단의 코덱칩에 내장된 동기화 장치(100)는 첫번째단에서 개시된 카운트와 동일한 값 을 갖도록 옵셋값을 설정한다. That is, after the count is started in the
결론적으로 각 단의 코덱칩의 카운트 개시시간을 서로 다르게 설정하여 전체적으로 동일시간에 동일한 카운트 값을 갖도록 설정한다. As a result, the count start time of the codec chips of each stage is set differently so as to have the same count value at the same time as a whole.
이때, 코덱칩의 출력 비디오 신호의 저장을 위한 스케줄에 따른 설정값도 함께 설정한다. 즉, 코덱칩의 출력 비디오 신호의 종점을 제어하기 위한 설정값이 설정된다. At this time, a setting value according to a schedule for storing the output video signal of the codec chip is also set. That is, a setting value for controlling the end point of the output video signal of the codec chip is set.
이와 같이, 설정이 완료되면, 각 코덱은 입력되는 외부동기 신호에 따라 내부 기준 카운터의 옵셋값을 기초로 카운트가 개시된다(단계 S602).In this way, when the setting is completed, each codec starts counting based on the offset value of the internal reference counter according to the input external synchronization signal (step S602).
여기서, 옵셋값은 외부 동기신호에 따라 기준 카운터로 로딩되는데, 이때 로딩되는 동작을 위하여 입력되는 외부 동기신호를 설정된 극성으로 변환한다. 즉, 기준 카운터의 동작을 외부 동기신호에 대하여 액티브 로우 및 액티브 하이 중 어나로 동작할지에 따라 외부 동기신호의 극성을 변환한다. Here, the offset value is loaded into the reference counter according to the external synchronization signal. At this time, the external synchronization signal is input to the set polarity for the loaded operation. That is, the polarity of the external synchronization signal is changed depending on whether the reference counter is operated in the active low or the active high with respect to the external synchronization signal.
다음으로 기준 카운트 값에 따라 프레임 동기 신호를 생성한다(단계 S603).Next, a frame synchronizing signal is generated according to the reference count value (step S603).
이때, 상기 설정 단계(단계 S601)에서 설정된 설정값에 의해, 코덱칩의 출력신호를 저장하는 순서에 따라 프레임 동기신호의 펄스 생성시점을 변경할 수 있다. 이와 같이 생성된 동기신호는 동기화 장치(100)가 탑재된 코덱의 내부 동기신호로서 사용하거나 외부로 출력할 수 있다. At this time, the pulse generation time of the frame synchronization signal may be changed in the order of storing the output signal of the codec chip by the setting value set in the setting step (step S601). The synchronization signal generated as described above may be used as an internal synchronization signal of a codec on which the
이와 같이 내부에서 사용되는 동기 신호를 다음단의 코덱칩의 동기화를 위한 기준으로 사용하기 위하여 외부로 출력한다(단계 S604).In this way, the synchronization signal used internally is output to the outside for use as a reference for synchronization of the next stage codec chip (step S604).
이때, 출력되는 동기신호는 설정된 출력극성에 따라 그 극성을 변환하는 것 이 바람직하다. At this time, it is preferable to change the polarity of the output synchronization signal according to the set output polarity.
이상에서 설명한 본 발명은 전술한 실시예 및 첨부된 도면에 의해 한정되는 것이 아니고, 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러 가지 치환, 변형 및 변경할 수 있다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 당업자에게 있어 명백할 것이다.The present invention described above is not limited to the above-described embodiments and the accompanying drawings, and it is common in the art that various substitutions, modifications, and changes can be made without departing from the technical spirit of the present invention. It will be apparent to those skilled in the art.
도 1은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치의 개략적 나타낸 블록도이고,1 is a schematic block diagram of a synchronization device between a plurality of codec chips according to an embodiment of the present invention;
도 2는 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치의 상세 블록도이며, 2 is a detailed block diagram of a synchronization device between a plurality of codec chips according to an embodiment of the present invention.
도 3은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 장치가 적용된 디지털 비디오 레코더의 블록도이고, 3 is a block diagram of a digital video recorder to which a synchronization device between a plurality of codec chips according to an embodiment of the present invention is applied;
도 4는 코덱의 비동기와 동기에 따른 결과물의 출력 시점을 나타낸 타이밍도이며,4 is a timing diagram showing an output time point of a result of asynchronous and synchronous codec;
도 5는 코덱에서 생성된 스트림의 저장 구조를 나타낸 도면이고,5 is a diagram showing a storage structure of a stream generated by a codec;
도 6은 본 발명의 실시예에 따른 복수의 코덱칩 간의 동기화 방법을 나타낸 순서도이다. 6 is a flowchart illustrating a synchronization method between a plurality of codec chips according to an embodiment of the present invention.
도 7은 종래의 비동기 코덱의 타이밍도이다.7 is a timing diagram of a conventional asynchronous codec.
* 도면의 주요 부분에 대한 부호의 설명 *Explanation of symbols on the main parts of the drawings
100 : 동기화 장치 110 : 제 1 변환부100: synchronization device 110: first conversion unit
120 : 기준 카운터 130 : 펄스 발생기120: reference counter 130: pulse generator
140 : 제 2 변환부 300 : 디지털 비디오 레코더140: second conversion unit 300: digital video recorder
310 : 비디오 디코더 320 : 비디오 콘트롤러310: video decoder 320: video controller
330 : 비디오 코덱 340 : 호스트제어부(CPU)330
350 : 저장부350: storage unit
Claims (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090033064A KR100991979B1 (en) | 2009-04-16 | 2009-04-16 | Synchronization apparatus and method for multiple CODEC DVR system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020090033064A KR100991979B1 (en) | 2009-04-16 | 2009-04-16 | Synchronization apparatus and method for multiple CODEC DVR system |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20100114611A KR20100114611A (en) | 2010-10-26 |
KR100991979B1 true KR100991979B1 (en) | 2010-11-04 |
Family
ID=43133727
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020090033064A KR100991979B1 (en) | 2009-04-16 | 2009-04-16 | Synchronization apparatus and method for multiple CODEC DVR system |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR100991979B1 (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003289540A (en) | 2002-03-28 | 2003-10-10 | Mitsubishi Electric Corp | Multiplex transmission system |
JP2005269045A (en) | 2004-03-17 | 2005-09-29 | Nec Corp | Encoder unit employing a plurality of mpeg encoders and its encoding method |
KR100874375B1 (en) | 2007-07-31 | 2008-12-18 | 주식회사 더비앤케이 | Camera module with high resolution image sensor and monitoring system including the module |
-
2009
- 2009-04-16 KR KR1020090033064A patent/KR100991979B1/en active IP Right Grant
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2003289540A (en) | 2002-03-28 | 2003-10-10 | Mitsubishi Electric Corp | Multiplex transmission system |
JP2005269045A (en) | 2004-03-17 | 2005-09-29 | Nec Corp | Encoder unit employing a plurality of mpeg encoders and its encoding method |
KR100874375B1 (en) | 2007-07-31 | 2008-12-18 | 주식회사 더비앤케이 | Camera module with high resolution image sensor and monitoring system including the module |
Also Published As
Publication number | Publication date |
---|---|
KR20100114611A (en) | 2010-10-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4358081B2 (en) | Video recording device | |
JP4904914B2 (en) | STREAM GENERATION DEVICE, IMAGING DEVICE, AND STREAM GENERATION METHOD | |
JP4669902B2 (en) | Video recording apparatus, multiplexing method, program, and recording medium | |
JPH10507597A (en) | Programmable audio-video synchronization method and apparatus for multimedia systems | |
JPH09205618A (en) | Dynamic image sound expansion reproduction device and dynamic image sound synchronization controller | |
US20080024659A1 (en) | Video signal processing apparatus and video signal processing method | |
US8577161B2 (en) | Reproduction apparatus | |
JP2007158432A (en) | Video recording device | |
KR100991979B1 (en) | Synchronization apparatus and method for multiple CODEC DVR system | |
JP4875035B2 (en) | Video recording / playback device | |
JP2004522366A (en) | Multi-channel video compression method and apparatus | |
JP5101668B2 (en) | Digital video recording and playback device | |
JP5642319B2 (en) | DIGITAL DATA DISTRIBUTION DEVICE AND METHOD, DIGITAL DATA REPRODUCTION DEVICE AND METHOD, SYNCHRONOUS REPRODUCTION SYSTEM, PROGRAM, AND RECORDING MEDIUM | |
US20130058618A1 (en) | Imaging device and imaging method | |
JP2008054159A (en) | Video-audio multiplexing apparatus | |
JP5506536B2 (en) | Image processing device | |
JP3570785B2 (en) | Moving image expansion / reproduction method and apparatus | |
US7382972B2 (en) | Recording apparatus and method | |
JP4000771B2 (en) | Synchronization management system | |
KR960028170A (en) | Digital TV's Audio / Video Synchronizer | |
JP4016172B2 (en) | DATA RECORDING / REPRODUCING DEVICE, EXTERNAL SYNCHRONIZATION METHOD, SIGNAL DELAY DEVICE, AND SIGNAL DELAY METHOD | |
JPH1023402A (en) | Parallel video decoder system | |
JP3269331B2 (en) | Image capture circuit | |
JP2013005054A (en) | Reproduction device and reproduction method | |
JPH11252058A (en) | Multiplexing device and its method |
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: 20131010 Year of fee payment: 6 |
|
FPAY | Annual fee payment |
Payment date: 20161025 Year of fee payment: 7 |
|
FPAY | Annual fee payment |
Payment date: 20170919 Year of fee payment: 8 |
|
FPAY | Annual fee payment |
Payment date: 20181025 Year of fee payment: 9 |
|
FPAY | Annual fee payment |
Payment date: 20191023 Year of fee payment: 10 |