KR100704984B1 - Data processing system for image reliability insurance - Google Patents

Data processing system for image reliability insurance Download PDF

Info

Publication number
KR100704984B1
KR100704984B1 KR1020050089579A KR20050089579A KR100704984B1 KR 100704984 B1 KR100704984 B1 KR 100704984B1 KR 1020050089579 A KR1020050089579 A KR 1020050089579A KR 20050089579 A KR20050089579 A KR 20050089579A KR 100704984 B1 KR100704984 B1 KR 100704984B1
Authority
KR
South Korea
Prior art keywords
memory
data
image data
clock
read
Prior art date
Application number
KR1020050089579A
Other languages
Korean (ko)
Other versions
KR20070035121A (en
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 KR1020050089579A priority Critical patent/KR100704984B1/en
Publication of KR20070035121A publication Critical patent/KR20070035121A/en
Application granted granted Critical
Publication of KR100704984B1 publication Critical patent/KR100704984B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/14Handling requests for interconnection or transfer
    • G06F13/16Handling requests for interconnection or transfer for access to memory bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F5/00Methods or arrangements for data conversion without changing the order or content of the data handled
    • G06F5/06Methods or arrangements for data conversion without changing the order or content of the data handled for changing the speed of data flow, i.e. speed regularising or timing, e.g. delay lines, FIFO buffers; over- or underrun control therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/40Bus coupling

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Image Input (AREA)

Abstract

본 발명은 이미지 신뢰성 확보를 위한 데이터 처리 시스템에 관한 것으로, 단일 메모리와 단일 메모리 클럭을 사용하여 라이트 및 리드 동작을 수행하도록 시스템 설계를 단일화하여 이미지의 신뢰성을 확보하며, 대역폭을 늘리는 방법을 이용하여 하나의 입력데이터를 동시에 분배할 수 있는 이점이 있다.The present invention relates to a data processing system for securing image reliability. The present invention relates to a single system and a single memory clock to perform write and read operations. The advantage is that one input data can be distributed at the same time.

본 발명에 의한 데이터 처리 시스템은, 이미지 센서에서 매 프레임마다 출력되는 a 비트폭의 이미지 데이터를 처리하는 데이터 처리 시스템에 있어서, 상기 출력되는 a 비트폭의 이미지 데이터를 제 1 메모리 클럭에 따라 저장하고, 상기 저장된 이미지 데이터를 2a 비트폭 이상의 이미지 데이터로 변환하며, 상기 변환된 이미지 데이터를 제 2 메모리 클럭에 따라 출력하는 제 1 메모리; 복수개의 어드레스를 가지며, 상기 제 2 메모리 클럭에 따라 라이트 및 리드를 수행할 수 있는 제 1 영역과 제 2 영역을 포함하는 제 3 메모리; 상기 제 3 메모리의 제 1 및 제 2 영역 중 어느 하나의 영역을 선택하여 상기 제 1 메모리에서 변환되어 출력되는 현재 프레임에 대한 이미지 데이터를 상기 제 2 메모리 클럭에 따라 상기 선택된 영역에 라이트하고, 이미 상기 변환된 크기로 라이트된 이전 프레임에 대한 이미지 데이터를 선택되지 않은 다른 영역에서 리드하도록 제어하며, 상기 변환된 크기를 가지는 리드 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 메모리 콘트롤러; 상기 제 3 메모리와 메모리 콘트롤러 사이에 접속되고, 어드레스 데이터 및 제어라인을 구비하는 데이터 버스; 및 상기 메모리 콘트롤러에서 출력되는 리드 데이터를 a 비트 폭의 이미지 데이터로 변환하고, 상기 변환된 이미지 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 제 2 메모리;를 포함한다.A data processing system according to the present invention is a data processing system for processing a bit-width image data output from an image sensor every frame, wherein the output a bit-width image data is stored according to a first memory clock. A first memory converting the stored image data into image data of 2a bit width or more and outputting the converted image data according to a second memory clock; A third memory having a plurality of addresses and including a first region and a second region capable of writing and reading according to the second memory clock; Selecting one of the first and second regions of the third memory to write image data for the current frame converted and output from the first memory in the selected region according to the second memory clock, and already A memory controller which controls to read image data of the previous frame written to the converted size in another area not selected, and outputs read data having the converted size according to the second memory clock; A data bus connected between the third memory and a memory controller, the data bus including address data and a control line; And a second memory configured to convert read data output from the memory controller into image data having a bit width and to output the converted image data according to the second memory clock.

데이터 처리 시스템, 단일 메모리, 단일 메모리 클럭, 대역폭, Data processing system, single memory, single memory clock, bandwidth,

Description

이미지 신뢰성 확보를 위한 데이터 처리 시스템{DATA PROCESSING SYSTEM FOR IMAGE RELIABILITY INSURANCE}DATA PROCESSING SYSTEM FOR IMAGE RELIABILITY INSURANCE}

도 1은 종래 기술에 의한 데이터 처리 시스템의 블록도1 is a block diagram of a data processing system according to the prior art.

도 2는 종래 기술에 따른 프레임과 제 1 및 제 2 메모리 클럭에 대한 제 1 및 제 2 메모리 콘트롤러의 동작을 나타낸 도면2 is a diagram illustrating an operation of a first and a second memory controller for a frame and first and second memory clocks according to the related art.

도 3은 본 발명에 의한 데이터 처리 시스템의 블록도3 is a block diagram of a data processing system according to the present invention;

도 4는 본 발명에 의한 제 3 메모리의 구성도4 is a configuration diagram of a third memory according to the present invention;

도 5는 본 발명에 따른 프레임 및 메모리 클럭에 대한 메모리 콘트롤러의 동작을 나타낸 도면5 illustrates an operation of a memory controller for a frame and a memory clock according to the present invention.

<도면의 주요 부호에 대한 설명><Description of Major Symbols in Drawing>

300 : 데이터 처리 시스템 301 : 제 1 메모리300: data processing system 301: first memory

302 : 제 3 메모리 302a: 제 1 영역302: Third memory 302a: First region

302b: 제 2 영역 303 : 메모리 콘트롤러302b: second region 303: memory controller

304 : 제 2 메모리 305 : 데이터 버스304: second memory 305: data bus

f1 : 제 1 메모리 클럭 f2 : 제 2 메모리 클럭f1: first memory clock f2: second memory clock

본 발명은 이미지 신뢰성 확보를 위한 데이터 처리 시스템에 관한 것으로, 단일 메모리와 단일 메모리 클럭을 사용하여 라이트 및 리드 동작을 수행하도록 시스템 설계를 단일화하여 이미지의 신뢰성을 확보하며, 대역폭을 늘리는 방법을 이용하여 하나의 입력데이터를 동시에 분배할 수 있는 데이터 처리 시스템에 관한 것이다.The present invention relates to a data processing system for securing image reliability. The present invention relates to a single system and a single memory clock to perform write and read operations. A data processing system capable of simultaneously distributing one input data.

일반적으로, 이미지 데이터를 처리하여 이를 디스플레이 하는 시스템에는 여러가지가 있다. 이미지 데이터를 처리하는 시스템에는 공통적으로 이미지 센서 모듈을 포함하고 있는데, 통상적으로 CMOS나 CCD 센서를 이용한 이미지 센서 모듈을 가장 많이 사용한다. In general, there are many systems that process and display image data. A system for processing image data commonly includes an image sensor module. In general, an image sensor module using a CMOS or CCD sensor is most commonly used.

이미지 센서 모듈은 VGA급에서 1초당 30프레임 정도의 이미지를 출력하며, 이러한 이미지 센서 모듈로부터 출력되는 이미지 데이터를 입력받아 처리하는 시스템을 데이터 처리 시스템이라 한다.The image sensor module outputs an image of about 30 frames per second in the VGA class, and a system that receives and processes image data output from the image sensor module is called a data processing system.

이러한 데이터 처리 시스템은, 시스템에 입력되는 이미지 데이터를 잘 처리하여 사용자가 원하는 이미지로 변환하여야 하므로, 이미지 데이터의 신뢰성과 충분한 대역폭을 확보하여 보다 완전한 이미지를 출력할 수 있어야 한다.Such a data processing system needs to process image data input to the system well and convert the image data into a desired image, so that the reliability and sufficient bandwidth of the image data should be secured to output a more complete image.

그러나, 이미지 센서 모듈과 데이터 처리 시스템의 동작 클럭이 다르므로 이미지 데이터의 신뢰성을 확보하는 일은 매우 어려우며, 이러한 데이터 신뢰성을 좀더 쉽게 확보하기 위해 많은 연구가 진행되고 있다. However, since the operation clocks of the image sensor module and the data processing system are different, it is very difficult to secure the reliability of the image data, and many studies have been conducted to more easily secure such data reliability.

도 1은 종래 기술에 의한 데이터 처리 시스템(100)의 블록도이며, 도 2는 종래 기술에 따른 프레임과 제 1 및 제 2 메모리 클럭에 대한 제 1 및 제 2 메모리 콘트롤러의 동작을 나타낸 도면이다.FIG. 1 is a block diagram of a data processing system 100 according to the prior art, and FIG. 2 is a diagram illustrating operations of the first and second memory controllers for a frame and first and second memory clocks according to the prior art.

도 1에서 도시한 바와 같이, 종래 기술에 의한 데이터 처리 시스템(100)은, 제 1 플립 플롭(101), 제 1 메모리(102a), 제 2 메모리(102b), 제 1 메모리 콘트롤러(103a), 제 2 메모리 콘트롤러(103b), 제 2 플립 플롭(104), 제 1 데이터 버스(105a), 제 2 데이터 버스(105b), 데이터 라이트 셀렉터(106a), 데이터 리드 셀렉터(106b)로 구성된다.As illustrated in FIG. 1, the data processing system 100 according to the related art includes a first flip flop 101, a first memory 102a, a second memory 102b, a first memory controller 103a, And a second memory controller 103b, a second flip flop 104, a first data bus 105a, a second data bus 105b, a data write selector 106a, and a data read selector 106b.

이하, 상기와 같은 구성을 가지는 데이터 처리 시스템(100)의 동작과정을 도 1 및 도 2를 참조하여 설명하면 다음과 같다.Hereinafter, an operation process of the data processing system 100 having the above configuration will be described with reference to FIGS. 1 and 2.

연속된 이미지 프레임 데이터는 입력 클럭(f1)에 따라 상기 데이터 처리 시스템(100)에 입력되며, 입력된 데이터의 출력은 출력 클럭(f2)에 따라 실시간으로 수행된다. Continuous image frame data is input to the data processing system 100 according to the input clock f1, and the output of the input data is performed in real time according to the output clock f2.

먼저, 입력된 이미지 데이터를 저장하기 위하여 상기 데이터 라이트 셀렉터(106a)는 상기 제 1 메모리(102a) 및 제 1 메모리 콘트롤러(103a)를 선택하고, 상기 제 1 메모리 콘트롤러(103a)는 상기 입력된 이미지 데이터를 제 1 메모리(102a)에 라이트(Write) 한다.First, the data write selector 106a selects the first memory 102a and the first memory controller 103a to store the input image data, and the first memory controller 103a selects the input image. The data is written to the first memory 102a.

이때, 상기 제 1 메모리 콘트롤러(103a)는 제 1 메모리 클럭에 따라 동작하며, 상기 제 1 메모리 클럭은 입력 클럭(f1)과 출력 클럭(f2)으로 구성된다.In this case, the first memory controller 103a operates according to a first memory clock, and the first memory clock includes an input clock f1 and an output clock f2.

따라서, 도 2에서 도시한 바와 같이, 상기 제 1 메모리 콘트롤러(103a)는, 상기 입력 클럭(f1)에 따라 출력 제어신호 및 입력된 데이터를 상기 제 1 메모리(102a)에 전달하고, 상기 전달된 제어신호 및 데이터 신호를 이용하여 상기 제 1 메모리(102a) 내의 저장공간에 라이트(Write) 한다.Thus, as shown in FIG. 2, the first memory controller 103a transmits an output control signal and input data to the first memory 102a according to the input clock f1, and transmits the received data. The control signal and the data signal are used to write to the storage space in the first memory 102a.

한편, 상기 제 1 메모리 콘트롤러(103a)가 상기 제 1 메모리(102a)에 라이트(Write) 하는 동안, 상기 제 2 메모리 콘트롤러(103b)는, 상기 데이터 리드 셀렉터(106b)에 선택되어 이미 상기 제 2 메모리(102b)에 라이트(Write)된 이전 프레임의 이미지 데이터를 출력 클럭(f2)에 따라 리드(Read)한다.On the other hand, while the first memory controller 103a writes to the first memory 102a, the second memory controller 103b is selected by the data lead selector 106b and is already present in the second. The image data of the previous frame written to the memory 102b is read according to the output clock f2.

즉, 상기 제 2 메모리 콘트롤러(103b)는 상기 출력 클럭(f2)에 따라 리드 제어 신호를 상기 제 2 메모리(102b)에 전달하고, 상기 전달된 리드 제어신호를 이용하여 상기 제 2 메모리(102b) 내에 이미 라이트(Write)된 이미지 데이터를 리드(Read)한다. That is, the second memory controller 103b transmits a read control signal to the second memory 102b according to the output clock f2 and uses the transferred read control signal to transmit the read memory signal to the second memory 102b. Read image data already written therein.

마지막으로, 상기 리드(Read)된 데이터는 상기 제 2 플립 플롭(104)에 출력된다.Finally, the read data is output to the second flip flop 104.

따라서, 상기와 같이 구성된 데이터 처리 시스템(100)은, 임의의 프레임에서 상기 제 1 메모리(102a)에 라이트(Write) 하는 동시에 상기 제 2 메모리(102b)에 리드(Read)했다면, 그 다음 프레임에서는 상기 제 2 메모리(102b)에 라이트(Write)하는 동시에 상기 제 1 메모리(102a)에 리드(Read)한다. Therefore, if the data processing system 100 configured as described above reads from the first memory 102a in an arbitrary frame and reads from the second memory 102b, in the next frame, The second memory 102b is written to and read from the first memory 102a.

그러나, 상술한 바와 같은 종래 기술에 의한 데이터 처리 시스템은, 입력과 출력에 사용되는 클럭이 다르고 라이트와 리드에 사용되는 클럭 또한 다르므로 단일 메모리로 사용할 수 없고 2개의 메모리 및 메모리 콘트롤러를 사용해야 한다는 문제점이 있었다.However, the data processing system according to the related art as described above has a problem in that it cannot be used as a single memory because two different clocks are used for input and output, and clocks used for writing and reading are different, and two memory and memory controllers must be used. There was this.

또한, 제 1 및 제 2 메모리 콘트롤러 모두 라이트와 리드에 사용되는 클럭이 다르므로 시스템 설계 자체가 매우 어려운 문제점이 있었다.In addition, since the clocks used for writing and reading are different in both the first and second memory controllers, the system design itself is very difficult.

따라서, 본 발명은 상기 문제점을 해결하기 위하여 이루어진 것으로, 단일 메모리와 단일 메모리 클럭을 사용하여 라이트 및 리드 동작을 수행하도록 시스템 설계를 단일화하여 이미지의 신뢰성을 확보하며, 대역폭을 늘리는 방법을 이용하여 하나의 입력데이터를 동시에 분배할 수 있는 데이터 처리 시스템을 제공하는데 있다.Accordingly, the present invention has been made to solve the above problems, by using a method of increasing the bandwidth and securing the reliability of the image by unifying the system design to perform a write and read operation using a single memory and a single memory clock The present invention provides a data processing system capable of simultaneously distributing input data.

상기 목적을 달성하기 위한 본 발명에 의한 데이터 처리 시스템은, 이미지 센서에서 매 프레임마다 출력되는 a 비트폭의 이미지 데이터를 처리하는 데이터 처리 시스템에 있어서, 상기 출력되는 a 비트폭의 이미지 데이터를 제 1 메모리 클럭에 따라 저장하고, 상기 저장된 이미지 데이터를 2a 비트폭 이상의 이미지 데이터로 변환하며, 상기 변환된 이미지 데이터를 제 2 메모리 클럭에 따라 출력하는 제 1 메모리; 복수개의 영역을 가지며, 상기 제 2 메모리 클럭에 따라 이미지 데이터의 라이트 및 리드를 수행할 수 있는 제 1 영역과 제 2 영역을 포함하는 제 3 메모리; 상기 제 3 메모리의 제 1 및 제 2 영역 중 어느 하나의 영역을 선택하여 상기 제 1 메모리에서 변환되어 출력되는 현재 프레임에 대한 이미지 데이터를 상기 제 2 메모리 클럭에 따라 상기 선택된 영역에 라이트하고, 이미 상기 변환된 크기로 라이트된 이전 프레임에 대한 이미지 데이터를 선택되지 않은 다른 영역에서 리드하도록 제어하며, 상기 변환된 크기를 가지는 리드 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 메모리 콘트롤러; 상기 제 3 메모리와 메모리 콘트롤러 사이에 접속되고, 어드레스 데이터 및 제어라인을 구비하는 데이터 버스; 및 상기 메모리 콘트롤러에서 출력되는 리드 데이터를 a 비트폭의 이미지 데이터로 변환하고, 상기 변환된 이미지 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 제 2 메모리;를 포함한다.A data processing system according to the present invention for achieving the above object is a data processing system for processing a bit-width image data output in every frame from the image sensor, the first image data of the a bit width is output; A first memory configured to store according to a memory clock, convert the stored image data into image data of 2a bit width or more, and output the converted image data according to a second memory clock; A third memory having a plurality of areas and including a first area and a second area capable of writing and reading image data according to the second memory clock; Selecting one of the first and second regions of the third memory to write image data for the current frame converted and output from the first memory in the selected region according to the second memory clock, and already A memory controller which controls to read image data of the previous frame written to the converted size in another area not selected, and outputs read data having the converted size according to the second memory clock; A data bus connected between the third memory and a memory controller, the data bus including address data and a control line; And a second memory configured to convert read data output from the memory controller into image data having a bit width and to output the converted image data according to the second memory clock.

여기서, 상기 데이터 버스는 시간적으로 분할되는 것을 특징으로 한다.Herein, the data bus is divided in time.

또한, 상기 메모리 콘트롤러는, 상기 분할된 데이터 버스를 통하여 상기 라이트와 리드가 번갈아 수행되도록 제어하는 것을 특징으로 한다.The memory controller may control the write and the read to be alternately performed through the divided data bus.

또한, 상기 메모리 콘트롤러는, 프레임이 바뀌는 경우, 라이트되는 영역과 리드되는 영역이 서로 바뀌도록 제어하는 것을 특징으로 한다.In addition, the memory controller is characterized in that, when the frame is changed, the area to be written and the area to be read are controlled to be interchanged.

그리고, 상기 제 3 메모리는, 상기 현재 프레임과 이전 프레임을 동시에 라이트하고 리드할 수 있는 어드레스 영역을 가지는 것을 특징으로 한다.The third memory may have an address area for simultaneously writing and reading the current frame and the previous frame.

또한, 상기 제 1 메모리는, 상기 제 3 메모리에 라이트 및 리드할 수 있는 최소 어드레스보다 두 배 이상의 어드레스를 가지는 것을 특징으로 한다.The first memory may have an address twice or more than a minimum address that can be written to and read from the third memory.

또한, 상기 제 1 및 제 2 메모리는, FIFO인 것을 특징으로 한다.The first and second memories may be FIFOs.

상기 제 1 및 제 2 메모리는 듀얼 포트 메모리인 것을 특징으로 한다.The first and second memories may be dual port memories.

그리고, 상기 제 1 메모리 클럭의 주파수는 상기 제 2 메모리 클럭의 주파수보다 작거나 같은 것을 특징으로 한다.The frequency of the first memory clock may be less than or equal to the frequency of the second memory clock.

이하, 첨부된 도면을 참조하여 본 발명에 의한 실시예에 대하여 보다 상세히 설명하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

도 3은 본 발명에 의한 데이터 처리 시스템(300)의 블록도이며, 도 4는 본 발명에 의한 제 3 메모리(302)의 구성을 나타낸 구성도이다.3 is a block diagram of the data processing system 300 according to the present invention, and FIG. 4 is a block diagram showing the configuration of the third memory 302 according to the present invention.

도 3 및 도 4에서 도시한 바와 같이, 본 발명에 의한 데이터 처리 시스템(300)은, 제 1 메모리(301), 제 3 메모리(302), 메모리 콘트롤러(303), 제 2 메모리(304), 데이터 버스(305)로 구성된다.3 and 4, the data processing system 300 according to the present invention includes a first memory 301, a third memory 302, a memory controller 303, a second memory 304, It consists of a data bus 305.

여기서, 상기 제 1 메모리(301)로 두개의 포트를 가진 FIFO 또는 듀얼 포트 메모리를 사용할 수 있으며, 듀얼 포트 메모리를 사용하는 경우에는 선입 선출 특성을 가지도록 추가적인 논리 회로가 필요하다.Here, the first memory 301 may use a FIFO or a dual port memory having two ports, and in the case of using the dual port memory, an additional logic circuit is required to have a first-in first-out characteristic.

또한, 도 4에서 도시한 바와 같이, 상기 제 3 메모리(302)는, 복수개의 어드레스 영역을 가지며 상기 제 2 메모리 클럭(f2)에 따라 라이트 및 리드를 수행할 수 있는 제 1 영역(302a)과 제 2 영역(302b)을 포함하고 있다. In addition, as shown in FIG. 4, the third memory 302 includes a first area 302a having a plurality of address areas and capable of writing and reading according to the second memory clock f2. The second area 302b is included.

이때, 상기 제 3 메모리(302)는, 현재 프레임과 이전 프레임을 동시에 저장할 수 있는 복수개의 어드레스 영역을 포함하고 있어 상기 제 1 및 제 2 영역 중 어느 한 영역이 현재 프레임을 라이트한다면, 나머지 영역은 이전 프레임을 리드할 수 있다.In this case, the third memory 302 includes a plurality of address areas for storing the current frame and the previous frame at the same time. If any one of the first and second areas writes the current frame, the remaining area is You can read the previous frame.

여기서, 상기 제 3 메모리(302)로 사용할 수 있는 메모리는 동기식램(SRAM), 동기식 다이내믹 램(SDRAM), 듀얼 포트 메모리(DPRAM) 등이 있으며, 용량대비 가격문제 등을 고려해 볼때, 동기식 다이내믹 램이 가장 많이 사용된다.Here, the memory that can be used as the third memory 302 includes a synchronous RAM (SRAM), a synchronous dynamic RAM (SDRAM), a dual port memory (DPRAM), and the like, in consideration of a price-to-capacity price, etc., a synchronous dynamic RAM This is the most used.

그리고, 상기 메모리 콘트롤러(303)는, 상기 제 3 메모리(302)의 제 1 및 제 2 영역(302a, 302b) 중 어느 하나의 영역을 선택하여 상기 제 1 메모리(301)에서 변환되어 출력되는 현재 프레임에 대한 이미지 데이터를 상기 제 2 메모리 클럭(f2)에 따라 상기 선택된 영역에 라이트하고, 이미 상기 변환된 크기로 라이트된 이전 프레임에 대한 이미지 데이터를 선택되지 않은 다른 영역에서 리드하도록 제어하며, 상기 변환된 크기를 가지는 리드 데이터를 상기 제 2 메모리 클럭(f2)에 따라 출력한다. The memory controller 303 selects any one of the first and second regions 302a and 302b of the third memory 302 to be converted and output from the first memory 301. Write image data for a frame to the selected region according to the second memory clock f2, and control to read image data for a previous frame already written to the converted size in another unselected region, and The read data having the converted size is output according to the second memory clock f2.

또한, 상기 제 3 메모리(302)가 단일 메모리이므로 상기 데이터 버스(305)는 시간적으로 분할되어 있으며, 상기 제 3 메모리(302)와 메모리 콘트롤러(303) 사이에 접속되어 어드레스 데이터 및 제어라인을 구비하는 기능을 수행한다.In addition, since the third memory 302 is a single memory, the data bus 305 is divided in time, and is connected between the third memory 302 and the memory controller 303 to include address data and a control line. It performs the function.

또한, 상기 제 3 메모리(304)도, 상기 제 1 메모리(301)과 같이, FIFO 또는 듀얼 포트 메모리로 구성할 수 있으며, 상기 메모리 콘트롤러(303)에서 출력되는 리드 데이터를 상기 제 2 메모리 클럭(f2)에 따라 출력한다.Also, like the first memory 301, the third memory 304 may be configured as a FIFO or a dual port memory, and the read data output from the memory controller 303 may be read by the second memory clock ( Output in accordance with f2).

이하, 상기와 같은 구성을 가지는 데이터 처리 시스템(300)의 동작과정을 설명하면 다음과 같다.Hereinafter, an operation process of the data processing system 300 having the above configuration will be described.

먼저, 상기 제 1 메모리(301)는, 이미지 센서(미도시)에서 매 프레임마다 출력되는 a 비트폭의 이미지 데이터를 제 1 메모리 클럭(f1)에 따라 저장하고, 상기 저장된 이미지 데이터를 2a 비트폭 이상의 이미지 데이터로 변환하며, 상기 변환된 이미지 데이터를 제 2 메모리 클럭(f2)에 따라 출력한다.First, the first memory 301 stores a bit-width image data output by an image sensor (not shown) every frame according to the first memory clock f1, and stores the stored image data by 2a bit width. The image data is converted into the above-described image data, and the converted image data is output in accordance with the second memory clock f2.

이때, 상기 제 1 메모리 클럭(f1)의 주파수는 상기 제 2 메모리 클럭(f2)의 주파수보다 작거나 같다. 만약, 상기 제 1 메모리 클럭(f1)의 주파수가 상기 제 2 메모리 클럭(f2)의 주파수보다 크다면 상기 데이터 처리 시스템(300)에 입력되는 이미지 데이터가 미처 처리되지 못하고 이에 따라 일부 데이터가 손상되어 사용자가 원하는 이미지를 디스플레이할 수 없기 때문에 상기 제 1 메모리 클럭(f1)의 주파수는 상기 제 2 메모리 클럭(f2)의 주파수보다 작거나 같아야 한다. In this case, the frequency of the first memory clock f1 is less than or equal to the frequency of the second memory clock f2. If the frequency of the first memory clock f1 is greater than the frequency of the second memory clock f2, image data input to the data processing system 300 may not be processed and some data may be damaged. Since the user cannot display a desired image, the frequency of the first memory clock f1 must be less than or equal to the frequency of the second memory clock f2.

그 다음, 상기 메모리 콘트롤러(303)는, 상기 제 1 메모리(301)에 풀 프래그(FULL Flag)를 설정하고 상기 설정된 풀 프래그보다 더 많은 이미지 데이터가 입력되었을 경우, 상기 제 1 메모리(301)에 저장된 이미지 데이터가 모두 출력될 때까지 상기 제 2 메모리 클럭(f2)에 따라 상기 제 1 메모리(301)로부터 2a 비트폭 이상의 이미지 데이터를 가져오며, 상기 가져온 이미지 데이터를 상기 제 3 메모리(302)의 제 1 또는 제 2 영역(302a, 302b) 중 어느 하나를 선택하여 상기 선택된 영역에 라이트한다. 이때, 라이트된 이미지 데이터는 현재 프레임에 대한 이미지 데이터이다.Next, the memory controller 303 sets a full flag in the first memory 301 and when more image data is input than the set full flag, the first memory 301. ) 2a bit width or more of the image data is imported from the first memory 301 according to the second memory clock f2 until all the image data stored in the PDP is output, and the imported image data is transferred to the third memory 302. Either one of the first or the second area (302a, 302b) is selected to write to the selected area. At this time, the written image data is image data for the current frame.

또한, 상기 메모리 콘트롤러(303)는, 상기 제 3 메모리(302)를 구성하는 제 1, 2 영역 중 선택되지 않은 영역으로부터 이미 라이트된 이전 프레임에 대한 이미 지 데이터를 리드한다. 단, 상기 제 2 메모리(304)가 풀(FULL) 되는 경우에는 상기의 리드 동작을 중단한다.In addition, the memory controller 303 reads image data for a previous frame already written from an unselected area among the first and second areas constituting the third memory 302. However, when the second memory 304 is full, the read operation is stopped.

마지막으로, 상기 제 2 메모리(304)는, 상기 메모리 콘트롤러(303)에서 출력되는 2a 비트폭 이상의 리드 데이터를 a 비트폭의 이미지 데이터로 변환하고, 상기 변환된 이미지 데이터를 상기 제 2 메모리 클럭(f2)에 따라 출력한다.Finally, the second memory 304 converts read data of 2a bit width or more output from the memory controller 303 into image data of a bit width, and converts the converted image data into the second memory clock ( Output in accordance with f2).

지금까지 설명한 것과 같이, 상기 메모리 콘트롤러(303)에 의한 라이트 및 리드 동작은, 본 발명에 의한 2a 비트폭 이상의 대역폭을 가진 제 3 메모리(302) 및 메모리 콘트롤러(303)에서 구현될 수 있는데, 그 이유에 대해서는 후술할 도 5에서 설명하기로 한다. As described above, the write and read operation by the memory controller 303 may be implemented in the third memory 302 and the memory controller 303 having a bandwidth of 2a bit width or more according to the present invention. The reason will be described in FIG. 5 to be described later.

도 5는 본 발명에 따른 프레임 및 메모리 클럭(f2)에 대한 메모리 콘트롤러의 동작을 나타낸 도면으로써, 도 5에서 도시한 바와 같이, 메모리 콘트롤러는 단일 메모리 클럭인 제 2 메모리 클럭(f2)에 따라 상기 라이트(W) 및 리드(R) 동작이 번갈아 수행될 수 있도록 제어하는 역할을 한다. FIG. 5 is a view illustrating an operation of a memory controller for a frame and a memory clock f2 according to the present invention. As shown in FIG. 5, the memory controller may be configured according to the second memory clock f2 which is a single memory clock. It controls the write (W) and read (R) operation to be performed alternately.

이는 라이트 및 리드 동작이 동시에 수행되던 종래의 데이터 처리 시스템과는 다른 방법으로서, 단일 메모리인 제 3 메모리를 이용하여 라이트(W) 및 리드(R) 동작이 수행되기 때문에 하나의 데이터 버스를 시간적으로 분할해야만 하며, 상기 분할된 데이터 버스를 이용하여 라이트(W) 및 리드(R) 동작이 이루어져야 하므로, 상기 메모리 콘트롤러는 상기 제 2 메모리 클럭(f2)에 따라 라이트(W) 및 리드(R) 동작이 번갈아 수행될 수 있도록 제어하는 역할을 한다.This method is different from the conventional data processing system in which the write and read operations were simultaneously performed. Since the write and read operations are performed using the single memory, the third memory, a single data bus is used in time. Since the write and write operations must be performed using the divided data bus, the memory controller can perform the write and read operations according to the second memory clock f2. It acts as a control so that this can be done alternately.

따라서, 본 발명은 단일 메모리인 제 3 메모리와 단일 메모리 클럭인 제 2 메모리 클럭(f2)을 사용하여 라이트 및 리드 동작을 수행하므로, 시스템 설계 자체가 매우 용이하다는 이점을 갖게 된다.Accordingly, the present invention has the advantage that the system design itself is very easy since the write and read operations are performed using the third memory as the single memory and the second memory clock f2 as the single memory clock.

이때, 시간적으로 분할되어 라이트(W) 및 리드(R)된 데이터는 1 내지 256 어드레스 크기로 버스트 동작을 하며, 상기 메모리 콘트롤러는, 프레임이 바뀌는 경우, 라이트(W)되는 영역과 리드(R)되는 영역이 서로 바뀌도록 제어하는 역할도 한다.At this time, the data divided in time and the write (W) and the read (R) is a burst operation in the size of 1 to 256 addresses, the memory controller, when the frame is changed, the area to be written (W) and read (R) It also controls the areas to be replaced.

즉, 도 5에서 도시한 메모리 콘트롤러가, 임의의 프레임에서 상기 제 3 메모리의 제 1 영역에 라이트(W)하고, 상기 제 2 영역에 리드(R)했다면, 그 다음 프레임에서는 상기 제 2 영역에 라이트(W)하고 상기 제 1 영역에 리드(R)한다. That is, if the memory controller shown in Fig. 5 writes (W) to the first area of the third memory and reads (R) to the second area in an arbitrary frame, the memory controller shown in FIG. The light W is read and the read R is read in the first region.

이때, 이미지 센서로부터 a 비트폭의 이미지 데이터가 입력되었다고 했을 때, 상기 라이트(W) 및 리드(R) 동작은 2a 비트폭 이상의 대역폭을 가진 제 3 메모리(302) 및 메모리 콘트롤러(303)에서 구현할 수 있다. 그 이유는 앞서 설명한 바와 같이, 상기 라이트(W) 및 리드(R) 동작은 동시에 이루어지는 것이 아니라 시간적으로 분할된 데이터 버스를 통하여 번갈아 수행되므로, 상기 제 3 메모리 및 메모리 콘트롤러의 대역폭은 시스템의 입력 대역폭보다 최소 2배 이상 커야 하기 때문이다. In this case, when a bit width image data is input from the image sensor, the write (W) and read (R) operations may be implemented in the third memory 302 and the memory controller 303 having a bandwidth of 2a bit width or more. Can be. The reason for this is that as described above, since the write (W) and read (R) operations are not performed simultaneously but are alternately performed through the data bus divided in time, the bandwidths of the third memory and the memory controller are input bandwidth of the system. It must be at least twice as large.

이미지 센서와 제 3 메모리 및 메모리 콘트롤러와의 관계를 살펴볼 때, 도 5에서 도시한 바와 같이, 4a 비트의 대역폭을 가진 제 3 메모리 및 메모리 콘트롤러를 포함하는 데이터 처리 시스템을 사용하는 것이 가장 바람직하다. 그러나, 이미 지 센서가 VGA급이거나, 이미지 센서가 MEGA급이라 하더라도 제 1 메모리의 용량이 일정 크기를 갖는다면 2a 비트폭 또는 2a 비트폭 이상의 대역폭을 가진 제 3 메모리 및 메모리 콘트롤러를 포함하는 데이터 처리 시스템을 사용할 수도 있다. 이에 따라, 제 1 메모리는 제 3 메모리에 라이트 및 리드할 수 있는 최소 어드레스보다 두 배 이상의 어드레스를 가져야 하며, 제 2 메모리 및 메모리 콘트롤러는 병렬 구성을 통해 4bit, 8bit, 16bit, 24bit, 32bit, 64bit 등의 다양한 형태로 구현할 수 있으므로 보다 쉽게 대역폭을 늘릴 수 있다.Referring to the relationship between the image sensor, the third memory and the memory controller, as shown in FIG. 5, it is most preferable to use a data processing system including the third memory and the memory controller having a bandwidth of 4a bits. However, even if the image sensor is VGA or the image sensor is MEGA, It is also possible to use a data processing system that includes a third memory and a memory controller having a bandwidth of 2a bit width or more than 2a bit width if it has a certain size. Accordingly, the first memory should have at least twice as many addresses as the minimum address that can be written to and read from the third memory, and the second memory and the memory controller have 4bit, 8bit, 16bit, 24bit, 32bit, 64bit through parallel configuration. It can be implemented in various forms such as to increase bandwidth more easily.

따라서, 본 발명은 간단한 메모리 구성만으로 대역폭을 늘리는 방법을 이용하여 하나의 입력데이터를 동시에 분배할 수 있는 이점도 가지게 된다.Accordingly, the present invention also has the advantage of simultaneously distributing one input data by using a method of increasing bandwidth with only a simple memory configuration.

이상에서 설명한 본 발명의 바람직한 실시예는 예시의 목적을 위해 개시된 것이며, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자에 있어 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 여러가지 치환, 변형 및 변경이 가능할 것이며, 이러한 치환, 변경 등은 이하의 특허청구범위에 속하는 것으로 보아야 할 것이다.Preferred embodiments of the present invention described above are disclosed for the purpose of illustration, and various substitutions, modifications, and changes within the scope of the technical spirit of the present invention for those skilled in the art to which the present invention pertains. It will be appreciated that such substitutions, changes, and the like should be considered to be within the scope of the following claims.

상술한 바와 같이, 본 발명에 따른 이미지 확보를 위한 데이터 처리 시스템에 의하면, 단일 메모리와 단일 메모리 클럭을 사용하여 라이트 및 리드 동작을 수행함에 따라 시스템 설계 자체가 매우 용이하여 이미지의 신뢰성을 확보하기 쉽다는 이점이 있다.As described above, according to the data processing system for securing an image according to the present invention, as the write and read operations are performed using a single memory and a single memory clock, the system design itself is very easy and thus the reliability of the image is easily secured. Has the advantage.

또한, 대역폭을 늘리는 방법을 이용하여 하나의 입력데이터를 동시에 분배할 수 있는 효과가 있다.In addition, there is an effect that can simultaneously distribute a single input data by using a method of increasing the bandwidth.

Claims (9)

이미지 센서에서 매 프레임마다 출력되는 a 비트폭의 이미지 데이터를 처리하는 데이터 처리 시스템에 있어서, In a data processing system for processing a bit-width image data output from the image sensor every frame, 상기 출력되는 a 비트폭의 이미지 데이터를 제 1 메모리 클럭에 따라 저장하고, 상기 저장된 이미지 데이터를 2a 비트폭 이상의 이미지 데이터로 변환하며, 상기 변환된 이미지 데이터를 제 2 메모리 클럭에 따라 출력하는 제 1 메모리;A first storing the output a bit width image data according to a first memory clock, converting the stored image data into image data of 2a bit width or more, and outputting the converted image data according to a second memory clock Memory; 복수개의 영역을 가지며, 상기 제 2 메모리 클럭에 따라 라이트 및 리드를 수행할 수 있는 제 1 영역과 제 2 영역을 포함하는 제 3 메모리; A third memory having a plurality of regions and including a first region and a second region capable of writing and reading according to the second memory clock; 상기 제 3 메모리의 제 1 및 제 2 영역 중 어느 하나의 영역을 선택하여 상기 제 1 메모리에서 변환되어 출력되는 현재 프레임에 대한 이미지 데이터를 상기 제 2 메모리 클럭에 따라 상기 선택된 영역에 라이트하고, 이미 상기 변환된 크기로 라이트된 이전 프레임에 대한 이미지 데이터를 선택되지 않은 다른 영역에서 리드하도록 제어하며, 상기 변환된 크기를 가지는 리드 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 메모리 콘트롤러; Selecting one of the first and second regions of the third memory to write image data for the current frame converted and output from the first memory in the selected region according to the second memory clock, and already A memory controller which controls to read image data of the previous frame written to the converted size in another area not selected, and outputs read data having the converted size according to the second memory clock; 상기 제 3 메모리와 메모리 콘트롤러 사이에 접속되고, 어드레스 데이터 및 제어라인을 구비하는 데이터 버스; 및A data bus connected between the third memory and a memory controller, the data bus including address data and a control line; And 상기 메모리 콘트롤러에서 출력되는 리드 데이터를 a 비트폭의 이미지 데이터로 변환하고, 상기 변환된 이미지 데이터를 상기 제 2 메모리 클럭에 따라 출력하는 제 2 메모리;를 포함하는 데이터 처리 시스템. And a second memory configured to convert read data output from the memory controller into image data having a bit width and to output the converted image data according to the second memory clock. 제 1항에 있어서, The method of claim 1, 상기 데이터 버스는 시간적으로 분할되는 것을 특징으로 하는 데이터 처리 시스템.And the data bus is divided in time. 제 2항에 있어서, 상기 메모리 콘트롤러는,The memory controller of claim 2, wherein the memory controller comprises: 상기 분할된 데이터 버스를 통하여 상기 라이트와 리드가 번갈아 수행되도록 제어하는 것을 특징으로 하는 데이터 처리 시스템.And controlling the write and read to be alternately performed through the divided data bus. 제 3항에 있어서, 상기 메모리 콘트롤러는,The memory controller of claim 3, wherein the memory controller comprises: 프레임이 바뀌는 경우, 라이트되는 영역과 리드되는 영역이 서로 바뀌도록 제어하는 것을 특징으로 하는 데이터 처리 시스템.And when the frame is changed, the area to be written and the area to be read are controlled to be interchanged with each other. 제 1항에 있어서, 상기 제 3 메모리는,The method of claim 1, wherein the third memory, 상기 현재 프레임과 이전 프레임을 동시에 라이트하고 리드할 수 있는 어드레스 영역을 가지는 것을 특징으로 하는 데이터 처리 시스템.And an address area for simultaneously writing and reading the current frame and the previous frame. 제 1항에 있어서,The method of claim 1, 상기 제 1 메모리는, 상기 제 3 메모리에 라이트 및 리드할 수 있는 최소 어드레스보다 두 배 이상의 어드레스를 가지는 것을 특징으로 하는 데이터 처리 시스 템.And the first memory has an address twice or more than a minimum address that can be written to and read from the third memory. 제 6항에 있어서, The method of claim 6, 상기 제 1 및 제 2 메모리는, FIFO인 것을 특징으로 하는 데이터 처리 시스템.And the first and second memories are FIFOs. 제 6항에 있어서,The method of claim 6, 상기 제 1 및 제 2 메모리는 듀얼 포트 메모리인 것을 특징으로 하는 데이터 처리 시스템.And the first and second memories are dual port memories. 제 1항에 있어서,The method of claim 1, 상기 제 1 메모리 클럭의 주파수는 상기 제 2 메모리 클럭의 주파수보다 작거나 같은 것을 특징으로 하는 데이터 처리 시스템.The frequency of the first memory clock is less than or equal to the frequency of the second memory clock.
KR1020050089579A 2005-09-27 2005-09-27 Data processing system for image reliability insurance KR100704984B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050089579A KR100704984B1 (en) 2005-09-27 2005-09-27 Data processing system for image reliability insurance

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050089579A KR100704984B1 (en) 2005-09-27 2005-09-27 Data processing system for image reliability insurance

Publications (2)

Publication Number Publication Date
KR20070035121A KR20070035121A (en) 2007-03-30
KR100704984B1 true KR100704984B1 (en) 2007-04-09

Family

ID=41624676

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050089579A KR100704984B1 (en) 2005-09-27 2005-09-27 Data processing system for image reliability insurance

Country Status (1)

Country Link
KR (1) KR100704984B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09149324A (en) * 1995-11-24 1997-06-06 Sony Corp Solid-state image pickup device
JPH10336530A (en) 1997-05-28 1998-12-18 Nec Corp Ccd television camera
JP2000023048A (en) 1998-07-03 2000-01-21 Sony Corp Video camera
KR20020053703A (en) * 2001-09-28 2002-07-05 유봉훈 Method of processing image data of high pixel density progressive ccd camera
JP2002262185A (en) 2001-02-27 2002-09-13 Sony Corp Moving picture processing unit

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09149324A (en) * 1995-11-24 1997-06-06 Sony Corp Solid-state image pickup device
JPH10336530A (en) 1997-05-28 1998-12-18 Nec Corp Ccd television camera
JP2000023048A (en) 1998-07-03 2000-01-21 Sony Corp Video camera
JP2002262185A (en) 2001-02-27 2002-09-13 Sony Corp Moving picture processing unit
KR20020053703A (en) * 2001-09-28 2002-07-05 유봉훈 Method of processing image data of high pixel density progressive ccd camera

Also Published As

Publication number Publication date
KR20070035121A (en) 2007-03-30

Similar Documents

Publication Publication Date Title
US5909225A (en) Frame buffer cache for graphics applications
US20090276556A1 (en) Memory controller and method for writing a data packet to or reading a data packet from a memory
CN112073650A (en) DDR3 video cache control method based on FPGA
US5764967A (en) Multiple frequency memory array clocking scheme for reading and writing multiple width digital words
JP2627903B2 (en) Semiconductor storage device
JPH0691507B2 (en) Multiplexer
US20080172500A1 (en) Memory system and method accessing memory array via common signal ports
KR100704984B1 (en) Data processing system for image reliability insurance
JP4430053B2 (en) Semiconductor memory system and semiconductor memory chip
US6804166B2 (en) Method and apparatus for operating a semiconductor memory at double data transfer rate
US6442657B1 (en) Flag generation scheme for FIFOs
EP1459291B1 (en) Digital line delay using a single port memory
JP4517741B2 (en) Storage device
US7215597B2 (en) Memory device having components for transmitting and receiving signals synchronously
JP2010072710A (en) Digital image processing computer system having programmable toggle switch
US20110158008A1 (en) Semiconductor storage device and data readout method
KR100475093B1 (en) Integrated circuit device with two write ports or more and system thereof
KR100819968B1 (en) Semiconductor memory system and semiconductor memory chip
KR100291390B1 (en) Data expansion input device for fifo memory
US7298666B2 (en) Device for distributing input data for memory device
KR100801709B1 (en) Memory module and memory system comprising the same
KR0181485B1 (en) Data-buffering device for data telecommunication
JPH04265038A (en) Memory length variable elastic store
KR100268376B1 (en) The sdram interface apparatus using a shift register
JPS6243888A (en) Dual port memory

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20130329

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20140325

Year of fee payment: 8

LAPS Lapse due to unpaid annual fee