TWI483197B - Interface circuit for image signal acquisition - Google Patents

Interface circuit for image signal acquisition Download PDF

Info

Publication number
TWI483197B
TWI483197B TW098121277A TW98121277A TWI483197B TW I483197 B TWI483197 B TW I483197B TW 098121277 A TW098121277 A TW 098121277A TW 98121277 A TW98121277 A TW 98121277A TW I483197 B TWI483197 B TW I483197B
Authority
TW
Taiwan
Prior art keywords
signal
image
latch
interface circuit
data
Prior art date
Application number
TW098121277A
Other languages
Chinese (zh)
Other versions
TW201101195A (en
Inventor
Ke-You Hu
Original Assignee
Hon Hai Prec Ind Co Ltd
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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW098121277A priority Critical patent/TWI483197B/en
Publication of TW201101195A publication Critical patent/TW201101195A/en
Application granted granted Critical
Publication of TWI483197B publication Critical patent/TWI483197B/en

Links

Description

圖像採集介面電路 Image acquisition interface circuit

本發明涉及一種圖像採集介面電路,尤指一種應用於嵌入式系統中之圖像採集介面電路。 The invention relates to an image acquisition interface circuit, in particular to an image acquisition interface circuit applied in an embedded system.

隨著半導體技術之飛速發展,具有圖像功能之嵌入式應用越來越多,從數位相機、可視電話、多功能移動電話等消費產品到門禁、數位圖像監視等工業控制及安防產品,該等產品所應用之圖像功能均需要圖像採集與處理,但嵌入式系統中不同之處理器與圖像感測器之信號定義及介面連接方式不同,沒有通用之介面晶片,且其圖像採集需要進行同步信號之處理,電路複雜且不通用。 With the rapid development of semiconductor technology, there are more and more embedded applications with image functions, from consumer products such as digital cameras, video phones, and multi-function mobile phones to industrial control and security products such as access control and digital image surveillance. The image functions applied by other products require image acquisition and processing, but different processors and image sensors in the embedded system have different signal definitions and interface connections, and there is no common interface chip, and the image thereof The acquisition requires the processing of the synchronization signal, and the circuit is complicated and not universal.

鑒於以上內容,有必要提供一種通用之圖像採集介面電路。 In view of the above, it is necessary to provide a general image acquisition interface circuit.

一種圖像採集介面電路,用以採集一圖像感測器之圖像,該圖像採集介面電路包括一處理器、連接到該圖像感測器之一資料鎖存器和一狀態鎖存器,該介面電路採樣該圖像感測器之圖像信號,並將該圖像信號中之圖像內容信號鎖存到該資料鎖存器,將該圖像信號中之同步信號鎖存到該狀態鎖存器,該處理器藉由一資料匯流排連接到該資料鎖存器與狀態鎖存器而讀取鎖存於其中之信號。 An image acquisition interface circuit for acquiring an image of an image sensor, the image acquisition interface circuit comprising a processor, a data latch connected to the image sensor, and a state latch The interface circuit samples an image signal of the image sensor, and latches an image content signal in the image signal to the data latch, and latches the synchronization signal in the image signal to The status latch, the processor is coupled to the data latch and the status latch by a data bus to read the signal latched therein.

相較於習知技術,本發明圖像採集介面電路通用性高。 Compared with the prior art, the image acquisition interface circuit of the invention has high versatility.

10‧‧‧圖像採集介面電路 10‧‧‧Image acquisition interface circuit

11‧‧‧處理器 11‧‧‧ Processor

13‧‧‧資料鎖存器 13‧‧‧data latch

15‧‧‧狀態鎖存器 15‧‧‧Status latch

50‧‧‧圖像感測器 50‧‧‧Image sensor

圖1係本發明圖像採集介面電路之一較佳實施例之框圖。 1 is a block diagram of a preferred embodiment of an image acquisition interface circuit of the present invention.

圖2係圖1中之圖像採集介面電路之時序圖。 2 is a timing diagram of the image acquisition interface circuit of FIG. 1.

圖3係圖1中之圖像採集介面電路工作時之流程圖。 FIG. 3 is a flow chart showing the operation of the image acquisition interface circuit of FIG. 1.

請參閱圖1,其為本發明圖像採集介面電路10之一較佳實施例,該介面電路10連接到一圖像感測器50,於本實施例中該圖像感測器50可為CCD感光器件或CMOS感光器件等。 Please refer to FIG. 1 , which is a preferred embodiment of the image acquisition interface circuit 10 of the present invention. The interface circuit 10 is connected to an image sensor 50. In this embodiment, the image sensor 50 can be CCD sensor or CMOS sensor.

該介面電路10設有一處理器11、一資料鎖存器13與一狀態鎖存器15,資料鎖存器13與狀態鎖存器15藉由一資料匯流排連接到該處理器11,處理器11藉由一控制匯流排連接到該資料鎖存器13與狀態鎖存器15,以對其進行控制。 The interface circuit 10 is provided with a processor 11, a data latch 13 and a status latch 15, and the data latch 13 and the status latch 15 are connected to the processor 11 by a data bus, the processor 11 is connected to the data latch 13 and the status latch 15 by a control bus to control it.

請一併參閱圖1與圖2,該圖像感測器50連接到該資料鎖存器13與狀態鎖存器15以將其感測到之圖像信號傳送給資料鎖存器13與狀態鎖存器15,傳送之圖像信號包括圖像內容信號、行同步信號、場同步信號與幀同步信號,圖像信號中之圖像內容信號被傳送到該資料鎖存器13,圖像信號中之行同步信號、場同步信號與幀同步信號被傳送到該狀態鎖存器15。 Referring to FIG. 1 and FIG. 2 together, the image sensor 50 is connected to the data latch 13 and the status latch 15 to transmit the sensed image signal to the data latch 13 and the state. The latch 15 transmits the image signal including an image content signal, a line sync signal, a field sync signal and a frame sync signal, and the image content signal in the image signal is transmitted to the data latch 13, the image signal The line sync signal, the field sync signal and the frame sync signal are transmitted to the status latch 15.

該狀態鎖存器15提供一採樣時鐘信號到該圖像感測器50與該資料鎖存器13,該採樣時鐘信號與該行同步信號、場同步信號與幀同步信號同步,該資料鎖存器13與狀態鎖存器15在該採樣時鐘信號之上升沿採樣並儲存該圖像信號,該狀態鎖存器15設有一鎖存器狀態位元,當該資料鎖存器13儲存圖像內容信號時,該鎖存器狀 態位元被置為1,此時該處理器11才可讀取該資料鎖存器13中之資料,當處理器11讀取資料鎖存器13中之圖像內容信號後,該鎖存器狀態位元被置為0。 The status latch 15 provides a sampling clock signal to the image sensor 50 and the data latch 13, the sampling clock signal being synchronized with the line sync signal, the field sync signal and the frame sync signal, the data latch The state device 13 and the state latch 15 sample and store the image signal on the rising edge of the sampling clock signal. The state latch 15 is provided with a latch status bit, and the data latch 13 stores the image content. The latch is shaped when the signal The state bit is set to 1, at which time the processor 11 can read the data in the data latch 13, and when the processor 11 reads the image content signal in the data latch 13, the latch The device status bit is set to zero.

請參閱圖3,其為該圖像採集介面電路10採集圖像之流程圖,介面電路10開始工作後,該資料鎖存器13與狀態鎖存器15於採樣時鐘信號之上升沿採樣並儲存該圖像信號(步驟301),其中該資料鎖存器13儲存該圖像信號之圖像內容信號,該狀態鎖存器15儲存該圖像信號之行同步信號、場同步信號與幀同步信號;而後察看該場同步信號是否開始(步驟302),若否,則回到步驟301,若是,則到步驟303,於步驟303中,察看該行同步信號是否開始,若否,則回到步驟301,若係,則到步驟304,於步驟304中,該處理器11根據場同步信號、行同步信號與幀同步信號開始讀取資料鎖存器13中儲存之圖像內容信號,而後察看是否讀完一行圖像內容信號(步驟305),若否,則回到步驟304,若是,則察看是否讀完一場圖像內容信號(步驟306),若否,則回到步驟304,若是,則察看是否讀完一幀圖像內容信號(步驟307),若否,則回到步驟304,若係,則結束。 Please refer to FIG. 3 , which is a flowchart of acquiring images by the image acquisition interface circuit 10 . After the interface circuit 10 starts working, the data latch 13 and the status latch 15 sample and store on the rising edge of the sampling clock signal. The image signal (step 301), wherein the data latch 13 stores an image content signal of the image signal, and the state latch 15 stores the line synchronization signal, the field synchronization signal and the frame synchronization signal of the image signal. Then, check whether the field synchronization signal starts (step 302). If not, return to step 301. If yes, go to step 303. In step 303, check whether the line synchronization signal starts. If not, return to the step. 301. If yes, go to step 304. In step 304, the processor 11 starts reading the image content signal stored in the data latch 13 according to the field sync signal, the line sync signal and the frame sync signal, and then checks to see if Reading a line of image content signal (step 305), if not, returning to step 304, and if so, checking whether a field image content signal is read (step 306), and if not, returning to step 304, and if so, Check to see if you have finished reading a frame The image content signal (step 307), if not, then returns to step 304, and if so, ends.

綜上所述,本發明係合乎發明專利申請條件,爰依法提出專利申請。惟,以上所述僅為本發明之較佳實施例,舉凡熟悉本案技藝之人士其所爰依本案之創作精神所作之等效修飾或變化,皆應涵蓋於以下之申請專利範圍內。 In summary, the present invention is in accordance with the conditions of the invention patent application, and the patent application is filed according to law. The above description is only the preferred embodiment of the present invention, and equivalent modifications or variations made by those skilled in the art to the spirit of the present invention should be included in the following claims.

10‧‧‧圖像採集介面電路 10‧‧‧Image acquisition interface circuit

11‧‧‧處理器 11‧‧‧ Processor

13‧‧‧資料鎖存器 13‧‧‧data latch

15‧‧‧狀態鎖存器 15‧‧‧Status latch

50‧‧‧圖像感測器 50‧‧‧Image sensor

Claims (5)

一種圖像採集介面電路,用以採集一圖像感測器之圖像,該圖像採集介面電路包括一處理器、連接到該圖像感測器之一資料鎖存器和一狀態鎖存器,該介面電路採樣該圖像感測器之圖像信號,並將該圖像信號中之圖像內容信號鎖存到該資料鎖存器,將該圖像信號中之同步信號鎖存到該狀態鎖存器,該處理器藉由一資料匯流排連接到該資料鎖存器與狀態鎖存器而讀取鎖存於其中之信號,所述處理器於判斷所述場同步信開始後及判斷所述行同步訊號開始後根據場所述同步訊號、所述行同步訊號和所述幀同步訊號讀取資料鎖存器中儲存之圖像內容訊號,然後判斷是否讀完一行圖像內容訊號,並於判斷讀完一行圖像內容訊號後判斷是否讀完一場圖像內容訊號,及於判斷讀完一場圖像內容訊號後讀完一幀圖像內容訊號。 An image acquisition interface circuit for acquiring an image of an image sensor, the image acquisition interface circuit comprising a processor, a data latch connected to the image sensor, and a state latch The interface circuit samples an image signal of the image sensor, and latches an image content signal in the image signal to the data latch, and latches the synchronization signal in the image signal to a status latch that reads a signal latched therein by a data bus connected to the data latch and the status latch, the processor determining that the field sync signal begins And determining, after the start of the line synchronization signal, reading the image content signal stored in the data latch according to the synchronization signal, the line synchronization signal and the frame synchronization signal, and then determining whether to read a line of image content signals And after judging whether the image content signal of one line of image is read, determining whether to read an image content signal, and reading the image content signal after reading an image content signal. 如申請專利範圍第1項所述之圖像採集介面電路,其中該狀態鎖存器提供一採樣時鐘信號,該採樣時鐘信號與該行同步信號、場同步信號與幀同步信號同步。 The image acquisition interface circuit of claim 1, wherein the status latch provides a sampling clock signal that is synchronized with the line sync signal, the field sync signal, and the frame sync signal. 如申請專利範圍第2項所述之圖像採集介面電路,其中該資料鎖存器與狀態鎖存器於該採樣時鐘信號之上升沿採樣並儲存該圖像信號。 The image acquisition interface circuit of claim 2, wherein the data latch and the status latch sample and store the image signal on a rising edge of the sampling clock signal. 如申請專利範圍第1項所述之圖像採集介面電路,其中該狀態鎖存器設有一鎖存器狀態位元,當該資料鎖存器儲存圖像內容信號時,該鎖存器狀態位元被置為1,當該處理器讀取該資料鎖存器中之圖像內容信號後,該鎖存器狀態位元被置為0。 The image acquisition interface circuit of claim 1, wherein the state latch is provided with a latch status bit, and the latch status bit is when the data latch stores an image content signal. The element is set to 1, and the latch status bit is set to 0 when the processor reads the image content signal in the data latch. 如申請專利範圍第4項所述之圖像採集介面電路,其中該鎖存器狀態位元為1時,該處理器可讀取該資料鎖存器中之資料;該鎖存器狀態位元為0 時,該處理器不可讀取該資料鎖存器中之資料。 The image acquisition interface circuit of claim 4, wherein the latch status bit is 1, the processor can read data in the data latch; the latch status bit Is 0 At this time, the processor cannot read the data in the data latch.
TW098121277A 2009-06-24 2009-06-24 Interface circuit for image signal acquisition TWI483197B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW098121277A TWI483197B (en) 2009-06-24 2009-06-24 Interface circuit for image signal acquisition

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW098121277A TWI483197B (en) 2009-06-24 2009-06-24 Interface circuit for image signal acquisition

Publications (2)

Publication Number Publication Date
TW201101195A TW201101195A (en) 2011-01-01
TWI483197B true TWI483197B (en) 2015-05-01

Family

ID=44836929

Family Applications (1)

Application Number Title Priority Date Filing Date
TW098121277A TWI483197B (en) 2009-06-24 2009-06-24 Interface circuit for image signal acquisition

Country Status (1)

Country Link
TW (1) TWI483197B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493025B1 (en) * 1995-10-05 2002-12-10 Sanyo Electronic Co., Ltd. Image sensing system equipped with interface between image sensing apparatus and computer machinery
US20040239773A1 (en) * 2002-06-07 2004-12-02 Bleau Charles A. High-speed low noise CCD controller
TW200632776A (en) * 2004-10-18 2006-09-16 Genesis Microchip Inc Virtual extended display information data (EDID) in a flat panel controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6493025B1 (en) * 1995-10-05 2002-12-10 Sanyo Electronic Co., Ltd. Image sensing system equipped with interface between image sensing apparatus and computer machinery
US20040239773A1 (en) * 2002-06-07 2004-12-02 Bleau Charles A. High-speed low noise CCD controller
TW200632776A (en) * 2004-10-18 2006-09-16 Genesis Microchip Inc Virtual extended display information data (EDID) in a flat panel controller

Also Published As

Publication number Publication date
TW201101195A (en) 2011-01-01

Similar Documents

Publication Publication Date Title
US10489879B2 (en) Image processing chip and image processing system
KR101691760B1 (en) Enabling a metadata storage subsystem
RU2008136807A (en) IMAGE PERCEPTION DEVICE AND IMAGE FORMING SYSTEM
TWI483197B (en) Interface circuit for image signal acquisition
JP7294343B2 (en) Gas detection device, information processing device and program
CN110192385B (en) Electronic device and control method thereof
JP2014513282A5 (en)
US20120229821A1 (en) Integrated contact image sensor module and image scanning system
TW200818908A (en) Image processing apparatus and method
CN101924885B (en) Image acquisition interface circuit
US8249384B2 (en) Method and system for removing date and time stamp of digital image in imaging device
TWI702566B (en) Camera system
US10750077B1 (en) Camera system with multiple camera
CN111787184B (en) Camera system
JPWO2021039114A5 (en)
TWI527449B (en) Wireless control systems for cameras, cameras which are wirelessly controlled by control devices, and operational methods thereof
KR20200091575A (en) Image sensor chip, electronic device, and method for operating the image sensor chip
JP6972428B2 (en) Stay judgment device, stay judgment method and stay judgment program
US20120033086A1 (en) Sensor system detection device and detection method using same
KR101286328B1 (en) Multimedia storage card system
TW201841489A (en) Image acquisition terminal and method
TWI395460B (en) Scanning apparatus for automatically transferring image processing program
CN203261406U (en) Multi-functional scanner and projector device based on CMOS imaging sensor
TW201834441A (en) Image output method and image capturing device
JP2011182316A (en) Image pickup device

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees