經濟部中央橾準局貝工消費合作.社印裝 A7 B7 五、發明説明(1 ) [發明之相關領域] 本發明係關於攝像裝置的驅動方法,特別是關於將驅 動低解析度攝像裝置的ASIC變換成_高解析度攝像裝 置的方法。 [習知技藝] ;電子產業的快速發展,元件更新的速度亦相對地 加快。對於掃描器而言,之前的平台式掃描器大都以CCD 作為攝像裝置’但隨著元件的開發,接觸式影像感測器 (CcmtacUmageSens〇r,CIS)憑藉著單純之光路及簡單之機 構’在掃描胃的使用上絲越普及,且有凌駕CCD2趨勢。 由於CIS的技術前一段期間是以300DI>I為主,故一般 使用該攝像裝置之掃描器廠商皆針對該300DPIicIS攝像 裝置來設计驅動電路,而該等驅動電路大都利用客製化晶 片(ASIC)來實施。一般而言,設計—顆ASIC需要花費多 時,期間包括電路設計、電路佈局、製造及測試等等過程, 若是最後測試發生問題,則將嚴重影響ASIC的製造,進而 影響掃描器產品化的時機。 [發明所欲解決之問題] 但由於CIS的快速發展,目前已開發出600DPI的CIS, 為了讓掃描器驅動該600DPI的CIS,必須另外設計一驅動 電路來驅動新的CIS攝像裝置》然而,300DPI的CIS與 600DPI的CIS在結構上除了其解析度不同外,其餘大致相 同’因此將300DPI掃描器之CIS以該600DPI的CIS取代, 在光路及其他硬體構造都可不須太大改變,唯獨控制電路 本紙張尺度通用申國國家樣準(C?4S ) A4規格(21〇χ297公釐) (請先閲讀背面之注意事項再填寫本X)Cooperating with Shell Workers of the Central Bureau of Standards, Ministry of Economic Affairs. Printed by the agency A7 B7. V. INTRODUCTION TO THE INVENTION (1) [Related Fields] The present invention relates to a driving method of an imaging device, and more particularly to a method for driving a low-resolution imaging device Method for converting ASIC into high-resolution imaging device. [Xunzhi]: With the rapid development of the electronics industry, the speed of component renewal has also accelerated relatively. For scanners, most of the previous platform scanners used CCDs as camera devices. However, with the development of components, contact image sensors (CcmtacUmageSensor, CIS) rely on a simple light path and a simple mechanism. The use of silk for scanning the stomach has become more popular and has a tendency to override CCD2. Since the previous period of CIS technology was mainly 300DI > I, scanner manufacturers that generally use the camera device design drive circuits for the 300DPIicIS camera device, and most of these drive circuits use custom chips (ASICs) ) To implement. Generally speaking, it takes a long time to design an ASIC, including the process of circuit design, circuit layout, manufacturing, and testing. If problems occur in the final test, it will seriously affect the manufacturing of the ASIC and then the timing of the scanner's productization. . [Problems to be Solved by the Invention] However, due to the rapid development of CIS, 600DPI CIS has been developed. In order for the scanner to drive the 600DPI CIS, a driver circuit must be designed to drive the new CIS camera device. However, 300DPI The structure of CIS and 600DPI CIS is the same except that their resolution is different, so the CIS of 300DPI scanner is replaced by the 600DPI CIS. The optical path and other hardware structures do not need to be changed much. Control circuit This paper size is generally applied to the national standard (C? 4S) A4 specification (21 × 297 mm) (Please read the precautions on the back before filling in this X)
經濟部中央標準局貝工消費合作社印製 、發明説明( 需重新設計。但由於ASIC的開發需花費多時,t嚴重 產品上市的時間。因此若能以原雛來驅 二 裝置’則可加速產品上市,取得競爭優勢。听度攝像 因此’有鑑於上述問題,本發明之目的是提出— 須重新設計ASIC電路,即可以原驅動低解析度攝像裝置= ASIC晶片來驅動高解析度攝像裝置的攝像裝置驅動方 法0 [發明概要] 為達成上述目的,本發明係產生一控制信號, 控制信號將ASIC之-段細_控制錢(如起始信^ 脈衝信號)失去作用(disable),進而控制高解析度之^ 置’讀取該攝像裝置所產生的電信號。 [圖式之簡單說明] 圖一為ASIC驅動低解析度攝像裝置時的時序圖。 圖二為ASIC驅動高解析度攝像裝置時的時序圖。 圖三為本發明魏方純動高解析度攝像裝置時的時 序圖。 圖四辜本發明控制信號的第一實施例。 圖五為本發明控制信號的第二實施例。 [實施例] 參考圖式,說明本發明之最佳實施例如下。 參考圖一,其係顯示ASIC驅動300DPI攝像裝置時的 部份控制信號的時序圖。該圖之信號包括由ASIC所產生之 控制信號,如起始信號SH及脈衝信號φ 2、由攝像裝置依 ------- I----— ^1— (請先聞讀背面之注意事項再填寫本頁) 訂 ·©1. A7 B7 五、發明説明(3) 脈衝信號9 2的觸發所送出的資料V〇ut、由韌體送出的紅 色光曝光信號RLED、綠色光曝光信號GLED,及藍色光 曝光信號(省略)。 如圖一所示,ASIC驅動攝像裝置時,在讀取每一條掃 描線時,其資料信號可區分為五個區域’即T0~T4。T0 代表無效資料(invalid data)區域,Τ1代表多餘資料(dummy data)區域,T2代表有效資料(valid data)區域’ T3代表多 餘資料區域,及T4代表無效資料區域。一般而言.,僅有中 間T2的有效資料才會被讀入,進而進行下一階段之資料處 理。當一條影像線曝光完成後(例如紅色資料線),準備開始 讀取攝像裝置之電信號時,ASIC會先送出一起始信號 SH,當攝像裝置收到該信號之後,即根據ASIC送出之脈 衝信號φ 2依序送出各感測單元的電信號資料。若要讀取 下一條影像線資料時(例如綠色資料線),則重複上述步驟, 由ASIC再送出SH信號。 經濟部中央標準局員工消費合作社印裝 (請先閲讀背面之注意事項再填寫本頁) 0! 參考圖二,其係顯示ASIC驅動600DPI攝像裝置時的 部份控制信號的時序圖。該圖之信號包括由ASIC所產生之 控制信號,如起始信號SH及脈衝信號炉2、由攝像裝置依 脈衝信號φ 2的觸發所送出的資料、由韌體送出的紅色光 曝光信號RLED、綠色光曝光信號GLED,及藍色光曝光 信號(省略)。 由圖二可了解到,ASIC驅動攝像裝置時,每一條掃描 線在讀取時,分為五個區域,即ΤΟ、ΤΙ、T2 ' T8’及T9’。 TO代表無效資料(invaiid data)區域,T1代表多餘資.料 本紙張尺度逋用中國國家樣準(CNS ) A4規格(210X297公釐) 經濟部中央標準局員工消費合作社印装 A7 B7 五、發明説明(4* ) (dummy data)區域,T2代表有效資料(valid data)區域,T8 代表多餘資料區域’及T9代表無效資料區域^ 一般而言, 僅有中間Τ2的有效資料才會被讀入,進而進行下一階段之 資料處理。當一條影像線曝光完成後(例如紅色資料線),.準 備開始讀取攝像裝置之電信號時,ASIC會先送出一起始 信號SH ’當攝像裝置收到該信號之後,即根據ASIc送出 之脈衝信號P 2依序送出各感測單元的電信號資料。若要 讀取下一條影像線資料時(例如綠色資料線),則重複上述步 驟,由ASIC再送出SH信號。 比較圖一及圖二,由其區域的特性可清楚了解到,驅 動低解析度(3 OODPI)之攝像裝置及驅動高解析度(6〇〇dpi) 攝像裝置的方式幾乎相同,唯一不同點是有效資料的長度 不同。一般而言,T2區域的長度係正比於攝像裝置之解析 度,故以圖一與圖二為例’其比例為兩倍。即圖二ASJC送 出之脈衝#號p 2之時間間隔為圖一 ASIC送出之脈衝信號 屮2之時間間隔的兩倍。 參考圖二’其係顯示本發明攝像裝置驅動方法之時序 圖。該圖所顯示的時序是以控制300DPI攝像裝置的ASIC 來控制600DPI的攝像裝置。該圖除了包括由ASIC所產生 之控制信號’如起始信號SH及脈衝信號p 2、由攝像裝置 依脈衝信號<:〇 2的觸發所送出的資料、由韌體送出的紅色 光曝光信號RLED、綠色光曝光信號GLED,及藍色光曝 光信號(省略)外’還包括一條控制線INHIBIT。利用該條控 制線INHIBIT將ASIC之部份期間的起始信號SH及脈衝信 本紙張尺度適用中國國家標準(CNS ) A4規格(210x297公漦) -----f^----Jt-------訂 l·.-----Φ— (請先聞讀背面之注意事項再填寫本頁) 經濟部中央標準局員工消費合作社印製· A7 ______B7 五、發明説明— 〜--- 號P禁能(diSable)’即將圖一之T3、T4、丁5及16等區 域的起始魏SH及脈衝信· 2變為低電位⑽w)。如 此’可將圖-的ASIC控制信號模擬成讀取高解析度攝像裝 置的就狀態,如圖三所示。 八原理如下,ASIC在控制攝像裝置時,是送出起始信 號SH來觸發攝像裝置準備開始送出一條掃描線的資料 後送出-定脈衝數之脈衝信號^ 2來觸發攝像裝置,使該 攝像裝置依序送出每-點(Pixel)的信號。但是,由於asic 之每讀取週期(gp每一起始信號SH週期)之間的脈衝信號 少2的脈衝數是針對3〇〇Dpi攝像裝置設計,故其脈衝數不 足以讀取所有攝像裝置的資料。因此,若要讀取 600DPI攝像裝置之所有資料,必須要增加脈衝信號史2的 脈衝數。故只要將兩個讀取週期合併成一個讀取週期即可 增加必要的脈衝信號(;〇 2的脈衝數,而在一個起始信號SH 之後讀取整條掃描線的資料。雖然在控制信號INHIBIT動 作期間,因脈衝信號少2不動作而暫時停止讀取攝像裝置 的資料,但因為攝像裝置之曝光及資料讀取速度要快於掃 描器之數位資料傳輸至主機(HOST)的速度,故整體而言此 段時間是不會影響掃描器的速度。Printed by the Central Standards Bureau of the Ministry of Economic Affairs, Shellfish Consumer Cooperatives, and a description of the invention (redesign required. However, because the development of ASICs takes a long time and the time to market serious products. Therefore, if the original device can be used to drive the second device, it can speed up The product is on the market and gains a competitive advantage. Therefore, in view of the above problems, the purpose of the present invention is to propose-ASIC circuits must be redesigned, that is, the original low-resolution camera device can be driven to drive the high-resolution camera device. Driving method of camera device 0 [Summary of the invention] In order to achieve the above-mentioned object, the present invention generates a control signal, the control signal disables the ASIC segment-control money (such as the start signal ^ pulse signal), and then controls The high-resolution device reads the electrical signals generated by the camera. [Simplified description of the figure] Figure 1 is a timing diagram when the ASIC drives a low-resolution camera. Figure 2 shows the ASIC drives a high-resolution camera. Figure 3 is a timing diagram of Wei Fang pure motion high-resolution camera device of the present invention. Figure 4 is a first embodiment of the control signal of the present invention. This is a second embodiment of the control signal of the present invention. [Embodiment] The following describes a preferred embodiment of the present invention with reference to the drawings. Referring to FIG. 1, it is a timing chart showing some control signals when an ASIC drives a 300DPI camera device. The signals in this figure include the control signals generated by the ASIC, such as the start signal SH and the pulse signal φ 2. The camera device depends on ------- I ----— ^ 1— (Please read and read first Note on the back, please fill in this page again) Order · © 1. A7 B7 V. Description of the invention (3) Data sent by the trigger of the pulse signal 9 2 Vout, red light exposure signal RLED sent by the firmware, green light Exposure signal GLED, and blue light exposure signal (omitted). As shown in Figure 1, when the ASIC drives the imaging device, when reading each scan line, its data signal can be divided into five areas, namely T0 ~ T4. T0 Represents the invalid data area, T1 is the dummy data area, T2 is the valid data area, T3 is the redundant data area, and T4 is the invalid data area. Generally speaking, there is only the middle Only valid data of T2 will be read in, and then The next stage of data processing is performed. When an image line is exposed (such as the red data line) and ready to start reading the electrical signal of the camera, the ASIC will first send a start signal SH. That is, the electrical signal data of each sensing unit is sequentially sent according to the pulse signal φ 2 sent by the ASIC. To read the next image line data (such as the green data line), repeat the above steps, and the ASIC will send the SH signal Printed by the Consumer Cooperatives of the Central Standards Bureau of the Ministry of Economic Affairs (please read the precautions on the back before filling out this page) 0! Refer to Figure 2 for a timing chart showing some control signals when the ASIC drives a 600DPI camera device. The signals in the figure include the control signals generated by the ASIC, such as the start signal SH and the pulse signal furnace 2. The data sent by the camera according to the trigger of the pulse signal φ 2, the red light exposure signal RLED sent by the firmware, Green light exposure signal GLED, and blue light exposure signal (omitted). As can be understood from FIG. 2, when the ASIC drives the camera device, each scanning line is divided into five regions when reading, that is, T0, T1, T2 'T8', and T9 '. TO represents the area of invaiid data, T1 represents excess resources. The paper size is based on the Chinese National Standard (CNS) A4 (210X297 mm). Printed by the Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs. A7 B7. 5. Invention Explanation (4 *) (dummy data) area, T2 represents valid data area, T8 represents redundant data area 'and T9 represents invalid data area. Generally, only the valid data in the middle T2 will be read in , And then proceed to the next stage of data processing. When an image line is exposed (such as the red data line), when it is ready to start reading the electrical signal of the camera device, the ASIC will first send a start signal SH '. After the camera device receives the signal, it will send the pulse according to the ASIc. The signal P 2 sequentially sends out electrical signal data of each sensing unit. To read the data of the next image line (such as the green data line), repeat the above steps, and the ASIC will send the SH signal. Comparing Figure 1 and Figure 2, it can be clearly understood from the characteristics of their regions that the method of driving a low-resolution (3 OODPI) imaging device and driving a high-resolution (600 dpi) imaging device are almost the same. The only difference is that The length of the valid data is different. Generally speaking, the length of the T2 area is proportional to the resolution of the camera device, so taking Figure 1 and Figure 2 as examples', the ratio is twice. That is, the time interval of the pulse ## p 2 sent by ASJC in Figure 2 is twice the time interval of the pulse signal 屮 2 sent by the ASIC in Figure 1. Referring to FIG. 2 ', it is a timing chart showing a driving method of an image pickup device of the present invention. The timing chart shown in this figure controls the 600 DPI camera with the ASIC that controls the 300 DPI camera. In addition to the control signal generated by the ASIC, such as the start signal SH and the pulse signal p 2. The data sent by the camera device based on the trigger of the pulse signal < 〇2, and the red light exposure signal sent by the firmware In addition to RLED, green light exposure signal GLED, and blue light exposure signal (omitted), a control line INHIBIT is also included. Use this control line INHIBIT to apply the start signal SH and pulse letter of the ASIC part of the paper size to the Chinese National Standard (CNS) A4 specification (210x297 cm) ----- f ^ ---- Jt- ------ Order l · .----- Φ— (Please read and read the notes on the back before filling out this page) Printed by the Staff Consumer Cooperative of the Central Standards Bureau of the Ministry of Economic Affairs · A7 ______B7 V. Description of the invention — ~ --- No. PS (diSable) 'will change the initial Wei SH and pulse signal · 2 in the areas of T3, T4, Ding 5 and 16 in Figure 1 to low potential (w). In this way, the ASIC control signal of Figure- can be simulated to read the high-resolution camera device, as shown in Figure 3. The eight principles are as follows. When the ASIC controls the camera device, it sends a start signal SH to trigger the camera device to prepare to start sending data for one scan line, and sends a pulse signal of a fixed number of pulses ^ 2 to trigger the camera device. Sequentially send out a signal per pixel (Pixel). However, because the number of pulses less than 2 between each reading cycle of asic (each start signal SH cycle of gp) is designed for a 300Dpi imaging device, the number of pulses is not enough to read all the imaging devices. data. Therefore, in order to read all the data of the 600DPI camera device, it is necessary to increase the pulse number of the pulse signal history2. Therefore, as long as two reading cycles are combined into one reading cycle, the necessary pulse signal (; 〇2 pulse number) can be increased, and the data of the entire scanning line is read after a start signal SH. Although the control signal During the operation of INHIBIT, the reading of the camera data was temporarily stopped because the pulse signal was low and the data was not activated. However, the exposure and data reading speed of the camera device is faster than the speed at which the scanner's digital data is transmitted to the host (HOST). Generally speaking, this time will not affect the speed of the scanner.
參考圖四,其顯示第一種變換之控制電路態樣,其利 用控制信號INHIBIT控制起始信號SH及脈衝信號2。該 電路圖使用兩個及閘(AND GATE)分別將起始信號SH及脈 衝信號妒2與控制信號INHIBIT進行及閘運算,而模擬出 新的起始信號SH及脈衝信號史2。該控制信號INHIBIT Γ.ΓΙΙΙΓ——!噱:-------计!! (請先聞讀背面之注意事項再填寫本頁)Referring to FIG. 4, it shows the first transformation of the control circuit, which uses the control signal INHIBIT to control the start signal SH and the pulse signal 2. This circuit diagram uses two AND gates to AND gate the start signal SH and pulse signal 2 and the control signal INHIBIT respectively, and simulates a new start signal SH and pulse signal history 2. The control signal INHIBIT Γ.ΓΙΙΙΓ——!噱: ------- count! !! (Please read the notes on the back before filling this page)
本纸張尺度適用中國國家標準(〇呢.)入4規格_(21.0><297公釐.) A7 -------- B7 五、發明説明(; ~~ 可由控制該掃描器的韌體在適當時機產生。 參考圖五,其顯示第二種變換之控制電路態樣,其利 用計數器及解碼器來產生控制信號INHIBIT來控制起始作 號SH及脈衡信號史2。該電路的控制方式與圖四的控制方 式相同,不同點為控制信號INHIBIT由計數器及解碼器產 生。該計數器經起始信號S Η觸發後開始計數,而解碼器在 適當的計數值時產生低電位,迫使起始信號SH及脈衝信號 史2亦變為低電位,而模擬新的起始信號SH及脈衝信號妒 2 〇 以上雖詳細說明本發明的實施例,但並不因此而限定 本發明的保護範圍,在不脫離本發明的要旨,$進行各種 變形或變更。其保護範圍以申請專利範圍所記載為準。 .I--7---^----':装-- 'I (請先閑讀背面之注意事項再填寫本頁) ef 經濟部中央標準局貝工消費合作社印製 本紙張尺度適角中·國_家標準(CNS ) A4規格(210X297公嫠)This paper size applies the Chinese national standard (〇 呢.) Enter 4 specifications _ (21.0 > < 297 mm.) A7 -------- B7 V. Description of the invention (; ~~ This scan can be controlled by The firmware of the device is generated at an appropriate time. Referring to FIG. 5, it shows the control mode of the second transformation, which uses a counter and a decoder to generate a control signal INHIBIT to control the starting number SH and the pulse balance signal history 2. The control method of this circuit is the same as the control method of Figure 4. The difference is that the control signal INHIBIT is generated by the counter and the decoder. The counter starts counting after the start signal SΗ is triggered, and the decoder generates a low value when the appropriate count value is reached. Potential, forcing the start signal SH and the pulse signal history 2 to also become low potential, and simulating a new start signal SH and the pulse signal jealous 2. Although the embodiments of the present invention are described in detail above, the present invention is not limited thereto. Without departing from the gist of the present invention, various modifications or changes can be made to the scope of protection. The scope of protection is subject to the scope of the patent application.. I--7 --- ^ ---- ': 装-' I (Please read the precautions on the back before filling out this page) e f Printed by the Shellfish Consumer Cooperative of the Central Bureau of Standards of the Ministry of Economic Affairs This paper is in the right angle. National Standard (CNS) A4 (210X297 cm)