1251329 九、發明說明: 【發明所屬之技術領域】 本發明是有關於一1251329 IX. Description of the invention: [Technical field to which the invention pertains] The present invention relates to a
制光源的売度與一電子快門,而 ,依偵測到的光學影像來控 而改善光學影像的品質及最 佳化功率供應的消耗。 【先前技術】 本發明是在2001年6月25曰提申之美國專利申請第 09/888,887案號之延續案,故其内容在本發明中一併併入 參考。 通常,光學影像偵測器比如光學滑鼠是具有定量光源 的·^置,以光源之光投射於一物體並經由物體所反射之投 射光來偵測該物體之(光學)影像。 特別是光學滑鼠裝置是不斷從底面接收光反射,也就 疋光源是刻意不斷的照射。所以光源之電流消耗是主要的 功率消耗。 如圖1所繪不’此種接收反射光線以偵測該物體影像 之光學影像债測器’包括一光源10、一影像感測器12、一 電子快門13、一類比至數位(A/D)轉換器14、一影像處理 器15及一系統控制器16。 光源10放射一固定亮度的光,同時光學影像感測器 12接收自物體反射的反射光線,並根據接收光線量來輸出 一光電壓(或光電流)。 l2sl329 1 5442pif.doc 門13回應快門控制訊號以接收並累積光電壓 (:二快門時間’從光學影像感測器12輸 取―光學信號以及㈣積的光電流或光電壓擷 數位14將好朗13餘触學信號轉換成 衫像處理器15使用從A/D轉換器14轉換的數位信號 執仃影像處理。影像處理H b也回應數位信號以產生快 控制訊號來控制快Η開與關,並傳遞所產生的快門控制 號到電子快門13。 系,控制H 16接收從影像處理器15輸出的光學影像 仏说籍以驅動系統以輸出所收到的影像訊號。 最近半導體元件的大量整合性加強,影像處理器Η 也玎以同時具系統控制器16之功能。 對於此類光學影像偵測器之裝備與作業方式,當來自 光源10的亮光足夠或在物體π上的光反射性夠高時,則 有足夠亮的反射光線投射至光學影像感測器12。因此,即 使電子快門的曝光時間很短,光學影像感測器12所輪入的 光學信號相對光學影像雜訊的比例很高,而得到穩定P 像品質。 〜、衫 然而,當光源10亮度不足,或物體11的反射性低時, 無法有足夠的反射光線照射至光學影像感測器12。在此情 況下,電子快門13的曝光時間會增加以便讓光學影像感^ 器12得到足量的反射光,而得到物體丨丨的精確影像。、 7 I25132^442pi,do 圖2所繪示疋一整合電路,其中光學影像感測器12 與圖1之電子快門13是相連結的。 如圖2所繪示電路是包括一發光二極體pD以產生與 投射光量相關的光電流,一電晶體Q1以放大發光二極體 PD產生的光電流,一充電電容器c以產生與電晶體Qi放 大之光電流成比例之電壓訊號,一第一開關SW1將充電電 容器C充電以重置調整信號,與一第二開關SW2以因應 快門控制信號而控制電晶體Q1之路徑。 前述圖2配置之執行作業描述如下。 首先,重置訊號用於第一開關SW1以執行起始化作 業,關閉第一開關SW1 ’將驅動功率應用到電容器c,讓 電容為C產生相關於驅動功率的電荷。 當起始化作業完成,發光二極體PD產生的光電流是 與入射光的量成比例。產生的光電流以電晶體Qi的電流 放大因子Hfe被放大。 在此狀態,快門控制信號應用到第二開關SW2,第二 開關SW2被打開,且電容器c的充電電荷依被放大的光 電流比例而放電。而依被產生電流之比例產生光訊號。 後續當快門關閉時期與快門控制訊號被應用到第二 開關SW2,苐一開關SW2被關閉且所產生的光訊號經過 緩衝器20而呈現飽和狀態且被輸出。 以此方式,當投射光總量在發光二極體上不足時,第 二開關SW2之功能如電子快門會被打開一段長時間,所以 即使不足量的光也能被完全累積轉換成光訊號。此時,光 I25132942pif_d〇c 訊號包括由發光二極體與電晶辦 生性雜訊。 之雜汛源產生之一内 結果,投射在光學影像感剛哭 訊位準與絲號的亮度差異如圖;量m、的’雜 所以,當增加快門_,= 被降低的。 光訊號的亮度會與雜訊一起增加,^ ―讯5 虎的亮度時, 若如圖3Β將光訊號以影像 ,所7^。 位準與光訊號的亮度是相_,則:現’可觀察到雜訊 被混入影像中,如圖4Α所示。]會有問題產生因為雜訊 進一步觀察到,在昔知膠片式 的開啟時間變長,會產生殘留影傻铖;f田电子快門 被偵測到,還有其他i胃物體影像動作 重,如圖4B所示。11殘#像效果變得越來越嚴 【發明内容】 為了克服上述問題,本發明之 像偵測器與方法,能有效控制光 二種先子- 及通:因党度不;i導致的殘留影像以及制較佳的影像。 挪制方Γ明之另—目的提供—種光學影像_器與亮度 二依據-物體反射之光訊號來直接控制光源之亮 度’可以預防不必要的功率消耗,節省對光源之功率供應。 ^為了達到上述目的,本發明之又一目的提出一種光學 影像偵測器之組成:一光源以控制亮度回應亮度控制訊號 與輻射光以控制物件上的亮度;一影像感測器以偵測從物 體反射之光線量,並依所產生輸出影像訊號。一影像處理 1251329 1 5442pif.doc 為,運用影像訊號計算一快門開啟時間,將計算所得 門開啟時間與至少最大與最小快門開啟時間之一來=較,、 且依據比較所得結果以產生並輸出該亮度控制訊號。 ^為了達到上述目的,本發明之再一目的提出一種光與 影像制ϋ組成,包括:—光源以控制亮度用來回鹿 控制訊號與在物件上已受馳繼反料亮度, 測杰用以產生與輸出正比於物體反射光量之一光電流;1 電子快門、,,㈣積光電流的電子快Π在快π開啟時間已到 達且產生並輸ώ影像訊肋應累㈣光電流時,從影像感 =的轉換以回應快門控制訊號;且—影像處理器用料 ,影像訊鮮均值,比較影像訊料算平均錢採用最大 =制鮮^快門控制訊號,其中快門控制訊號的取得是依 ?象比季父所彳于數值。 為了達到上述目的,本發明之次一目的在提出一方法 =制在光學影像細指上的亮度,方法步驟包括··使用 快門時間’且計算所得之該快門開啟時間 較二ί戶,j、的快門開啟時間至少其中之-作比 曰狀快門開啟時間小於最大快門開啟時間, 算所Γ = :=門,時間’則維持現有光源亮度;當計 ΐ有I源亮度’間小於最小快⑽啟時間時’則降低 以目的’本發明之更—目的在提供一方法 工制先切像偵測器的亮度,方法步驟包括:計算-影 10 !251329 1 5442pif.doc 像訊號平均值,且此計算影像訊號所得之平均值盘預設之 最大與最小影像訊號平均值至少一項比較;當計算 快門開啟時間小於最大快門開啟時間,且大於最小的快門 ,,啊’則維持财光源的亮度與快門開啟時間;當 =鼻影像訊賴得之快⑽啟_大於最大快⑽啟時^ 二光源亮度與㈣_ ; #計算影像訊號所 於最小快門開敬時間時,增加現有光 【實施方式】 本發明將以圖式、較佳實施例揭露 ’任何熟習此技藝者,在不脫離本二: 護ιΓ圍^ = #可作Ϊ許之更動與潤飾’因此本發明之保 田寻後附之申凊專利範圍所界定者為準。 之架;^繪不是依據本發明之第一實施例的光學影像偵測 -#、=π考圖5,本發明之光學影像偵測11之架構包括: 她Ϊ —影像感難52、—電子快Η 53、- A/D韓 美态54、一影像處理器55與系統控制器%。 :應接收到的光量,影像感測器52從物件5i接收光 反射並產生輸出光電壓(或光電流)。 起時J子二接二且電取或光電流)’在快門開 1❼像—52輪出,且從累積光電壓(或光電 1251329 1 5442pif.doc 流)擷取並輸出光訊號。 你-二ί換器54將光訊號轉換,從電子快門53擷取無 位舅§fl並輸出轉換結果。 貞取數 柿用理益55接收數位訊號透過轉換器54轉摻,廿 使用接收到的數位影像執行影像處理。 、並 在此影像處理器55由電子快以找了最大快 日守曰Tmax與最小快門開啟時間Tmin並儲存前述資料广 然後’影像處理器55運用由光學影像感測 數位訊號來計算快門·日㈣,比較所計算制的== 啟時間與預存在電子快Η 53的快Η開啟時間,並產生古^ 控制訊號回應比較的結果。 π度 壳度控制訊號可以是脈衝放大模組ΡΑΜ訊號卷 衝訊號,依據比較結果調整脈衝的振幅。 氏 進一步的壳度控制訊號可以是脈衝寬度調節(脈衝 制PWM)或脈衝滯留時間調節(脈(波)期調變PDM),當 作脈衝訊號調節脈衝寬度,或類比電壓或電流,依 果來改變。 Ό 系統控制為56接收從影像處理器55輸出的影像,且 驅動系統輸出所接收的影像訊號。 圖5中的光學影像感測器序述,影像處理器^控制 光源5 0之亮度,但系統控制器5 6也可以在需要^的^ 控制免度。The intensity of the light source and an electronic shutter are controlled by the detected optical image to improve the quality of the optical image and optimize the power supply. [Prior Art] The present invention is a continuation of the U.S. Patent Application Serial No. 09/888,887 filed on Jun. 25, 2001, the content of which is incorporated herein by reference. Generally, an optical image detector such as an optical mouse is provided with a quantitative light source, and the light of the light source is projected onto an object and the (optical) image of the object is detected by the projected light reflected by the object. In particular, the optical mouse device continuously receives light reflection from the bottom surface, that is, the xenon light source is deliberately and continuously illuminated. Therefore, the current consumption of the light source is the main power consumption. As shown in FIG. 1 , the optical image detector that receives the reflected light to detect the image of the object includes a light source 10 , an image sensor 12 , an electronic shutter 13 , and an analog to digital (A/D). A converter 14, an image processor 15, and a system controller 16. The light source 10 emits light of a fixed brightness while the optical image sensor 12 receives the reflected light reflected from the object and outputs a photovoltage (or photocurrent) according to the amount of received light. L2sl329 1 5442pif.doc Door 13 responds to the shutter control signal to receive and accumulate the photo voltage (: two shutter time 'from the optical image sensor 12 - optical signal and (four) product photocurrent or photo voltage 撷 digit 14 will be good More than 13 touch signals are converted into a shirt image processor 15 using the digital signal converted from the A/D converter 14 to perform image processing. The image processing H b also responds to the digital signal to generate a fast control signal to control the fast turn on and off. And transmitting the generated shutter control number to the electronic shutter 13. The control H 16 receives the optical image output from the image processor 15 to drive the system to output the received image signal. Recently, a large number of integrated components of the semiconductor component Enhanced, the image processor Η also has the function of the system controller 16. For the equipment and operation of such an optical image detector, when the light from the light source 10 is sufficient or the light on the object π is sufficiently reflective At that time, there is a sufficiently bright reflected light projected onto the optical image sensor 12. Therefore, even if the exposure time of the electronic shutter is short, the optical signal that the optical image sensor 12 turns into The ratio of relative optical image noise is high, and the quality of the stable P image is obtained. ~, shirt However, when the brightness of the light source 10 is insufficient, or the reflectivity of the object 11 is low, there is not enough reflected light to be irradiated to the optical image sensor. 12. In this case, the exposure time of the electronic shutter 13 is increased to allow the optical image sensor 12 to obtain a sufficient amount of reflected light to obtain an accurate image of the object 。., 7 I25132^442pi,do Figure 2 An integrated circuit in which the optical image sensor 12 is coupled to the electronic shutter 13 of Fig. 1. The circuit shown in Fig. 2 includes a light emitting diode pD to generate a photocurrent associated with the amount of projected light. A transistor Q1 amplifies the photocurrent generated by the LED PD, a charging capacitor c generates a voltage signal proportional to the photocurrent amplified by the transistor Qi, and a first switch SW1 charges the charging capacitor C to reset the adjustment. The signal, and a second switch SW2, control the path of the transistor Q1 in response to the shutter control signal. The execution of the configuration of the foregoing Figure 2 is described as follows. First, the reset signal is used for the first switch SW1 to perform the start. To turn on the first switch SW1', apply the driving power to the capacitor c, and let the capacitor C generate a charge related to the driving power. When the initializing operation is completed, the photocurrent generated by the LED PD is incident with the incident light. The amount of photocurrent generated is amplified by the current amplification factor Hfe of the transistor Qi. In this state, the shutter control signal is applied to the second switch SW2, the second switch SW2 is turned on, and the charged charge of the capacitor c is amplified. The photocurrent is discharged proportionally, and the optical signal is generated according to the ratio of the generated current. Subsequently, when the shutter closing period and the shutter control signal are applied to the second switch SW2, the first switch SW2 is turned off and the generated optical signal passes through the buffer. 20 is saturated and is output. In this way, when the total amount of projected light is insufficient on the light-emitting diode, the function of the second switch SW2, such as the electronic shutter, is turned on for a long time, so even an insufficient amount of light can be completely accumulated and converted into an optical signal. At this time, the light I25132942pif_d〇c signal includes the noise generated by the light emitting diode and the crystal. The result of one of the churning sources is that the difference between the brightness of the optical image and the brightness of the silk image is shown in the figure; the amount m, the 'heterogeneous, when the shutter _, = is increased. The brightness of the optical signal will increase with the noise. When the brightness of the tiger is 5, if the light signal is as shown in Figure 3, the image is 7^. The level and the brightness of the optical signal are phase _, then: now observable noise is mixed into the image, as shown in Figure 4Α. There will be problems because the noise is further observed. In the past, the opening time of the film type becomes longer, and the residual shadow will be generated. The f-field electronic shutter is detected, and other i-stomach objects are heavy, such as Figure 4B shows. 11 Residual #像效果 becomes more and more strict [Invention] In order to overcome the above problems, the image detector and method of the present invention can effectively control the two kinds of precursors of the light - and the pass: the residue caused by the party; Image and better image. The other side of the system is to provide an optical image _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ In order to achieve the above object, another object of the present invention is to provide an optical image detector comprising: a light source for controlling brightness to respond to brightness control signals and radiation to control brightness on an object; and an image sensor for detecting from The amount of light reflected by the object, and the output image signal is generated according to the generated. An image processing 1251329 1 5442pif.doc is to calculate a shutter opening time by using an image signal, and calculate the calculated door opening time and at least one of the maximum and minimum shutter opening times, and generate and output the result according to the comparison. Brightness control signal. In order to achieve the above object, another object of the present invention is to provide a light and image composition, comprising: a light source for controlling brightness for returning a deer control signal and a brightness of the object on the object, and the measurement is used to generate and The output is proportional to the amount of light reflected by the object; 1 electronic shutter,,, (4) the electronic fast of the accumulated light current has reached at the fast π turn-on time and generates and outputs the image ribs should be tired (four) photocurrent, from the image sense = conversion in response to the shutter control signal; and - image processor material, image fresh average, comparison image data average money using maximum = fresh shutter control signal, wherein the shutter control signal is obtained by the image ratio The season father is worthy of the value. In order to achieve the above object, the second object of the present invention is to propose a method of making brightness on an optical image finger, the method step comprising: using a shutter time 'and calculating the shutter opening time to be more than a household, j, The shutter opening time is at least - the shutter opening time is less than the maximum shutter opening time, the calculation Γ = := door, the time 'maintains the brightness of the existing light source; when the meter has the I source brightness 'between less than the minimum speed (10) When the time is turned on, the purpose of the present invention is to provide a method for processing the brightness of the first image detector. The method steps include: calculating - image 10 !251329 1 5442pif.doc like the signal average, and The average value of the calculated image signal is compared with at least one of the minimum value of the minimum image signal; when the shutter opening time is calculated to be less than the maximum shutter opening time and greater than the minimum shutter, then the brightness of the source is maintained. And the shutter open time; when the = nasal image is fast (10) open _ greater than the maximum fast (10) start ^ two light source brightness and (four) _; # calculate the image signal at the minimum shutter In the time of honour, the existing light is added. [Embodiment] The present invention will be disclosed in the drawings and the preferred embodiments. Anyone who is familiar with the art can do without leaving the second: 护 Γ ^ ^ = # can be used as a change and retouch 'Therefore, the scope defined by the patent application scope of the invention is fixed. The frame is not the optical image detection-#,=π test 5 according to the first embodiment of the present invention. The structure of the optical image detection 11 of the present invention includes: her image-image difficulty 52, electronic Fast 53, - A / D Hanmei state 54, an image processor 55 and system controller%. : The amount of light that should be received, the image sensor 52 receives light reflection from the object 5i and produces an output photovoltage (or photocurrent). At the beginning, the J is connected to the second and the electric current or the photocurrent is turned on. The shutter is turned on, and the image is extracted from the accumulated photovoltage (or the photoelectricity 1251329 1 5442pif.doc stream) and the optical signal is output. You-two-replacer 54 converts the optical signal, extracts no 舅fl from the electronic shutter 53, and outputs the conversion result. The number of the persimmons is used to receive the digital signal through the converter 54, and the image processing is performed using the received digital image. And in the image processor 55, the maximum fast-day guard time Tmax and the minimum shutter-on time Tmin are quickly found by the electronic device and the aforementioned data is stored, and then the image processor 55 uses the optical image sensing digital signal to calculate the shutter date. (4) Comparing the calculated opening time of the == start time with the pre-existing electronic fast Η 53 and generating the result of the comparison control of the ancient control signal. The π degree shell control signal can be a pulse amplification module, a signal volume, and the amplitude of the pulse is adjusted according to the comparison result. Further shell control signals can be pulse width adjustment (pulse system PWM) or pulse retention time adjustment (pulse (wave) period modulation PDM), as pulse signal to adjust pulse width, or analog voltage or current, depending on the result change. The system control 56 receives the image output from the image processor 55, and the drive system outputs the received image signal. In the optical image sensor of Fig. 5, the image processor controls the brightness of the light source 50, but the system controller 56 can also control the degree of freedom.
圖6是流程圖用來解釋圖5中影像處理器控制宾产的 流程方法。 〜X 1251329 1 5442pif.doc 光學影像感測Ilf要回應接收到的數位訊號以計算 快門開啟時間(S11)。 電子快門53計算快門開啟時間Tsh_r並與先前設定 儲存(S12)的最大值Tmax做比較。 比較結果,如果電子快Η 53的快⑽啟時間⑽ 大於先前設定儲存的最大值Tmax,财確認是否現有的光 源50是在最大值(S13)。根據確認結果,如果確認結果發 現現有的光源5G不是在最大值,則亮度控制信號以加強光 源50之亮度會產生並輸出(s 14)。 亮度控制訊號的增加或減少光源5〇之亮度,是階段 性的。 無論如何,如果現有的光源5〇已經是透過步驟(sl3) 提供最大值,則決定光源50之亮度已經不用再被加強。所 以,壳度控制訊號維持現有的亮度輪出狀態並以此輸出 (S15)。 與步驟S12比較,如果電子快n 53雜門開啟時間Figure 6 is a flow chart for explaining the flow of the image processor of Figure 5 for controlling the guest product. ~X 1251329 1 5442pif.doc Optical image sensing Ilf responds to the received digital signal to calculate the shutter open time (S11). The electronic shutter 53 calculates the shutter open time Tsh_r and compares it with the maximum value Tmax of the previously set storage (S12). As a result of the comparison, if the fast (10) start time (10) of the electronic shutter 53 is greater than the previously set maximum value Tmax, it is confirmed whether the existing light source 50 is at the maximum value (S13). According to the result of the confirmation, if the result of the confirmation reveals that the existing light source 5G is not at the maximum value, the brightness control signal is generated and outputted by the brightness of the enhanced light source 50 (s 14). Increasing or reducing the brightness of the light source control signal is phased. In any case, if the existing light source 5 〇 has already provided a maximum value through the step (sl3), it is determined that the brightness of the light source 50 has no longer been reinforced. Therefore, the shell control signal maintains the existing brightness rotation state and outputs it (S15). Compared with step S12, if the electronic fast n 53 door opening time
Tshutter小於先前設定儲存的最小值Tmin,則會再比較先前 設定儲存的最小值Tmin (S16)。 根據步驟(S16)比較結果,如果電子快門y的快門開 啟日才間Tshutter確認大於最小快門開啟時間Tsh⑽,則亮度 控制信號維持現有之亮度來產生並輸出(S15)。如果不是如 此,則檢查先前光源亮度50是否為最小值(S17)。 根據步驟(S17)比較結果,如果前述光源5〇之亮度以 經是最小亮度,則決定光源50之亮度不需再被調低。所以 A^U29 l 5442Pif.d〇( 若非如此見源的亮度’控制訊號被產生並輸出(S15)。 生並輪出(SI’8)疋降低現有光源的亮度’則控制訊號會被產 圖6描述用| 計算預期的快木匕制亮度之方法是以接收一幅畫面,來 開啟時間。如門,啟時間並產生亮度控制信號以回應快門 所需的快門^果^要,圖6之方法也可以計算多數個畫面 時間。、汗啟時間並產生亮度控制信號以回應快門開啟 如前戶斤干 像感測器隨日_= t的光學影像感測11的設計是允許影 所以^接收足夏的光以直接控制光源亮度。 啟時間來讀Γ像傳統的光學影像感測器必須增加快門開 可以事前預Γΐ感測器接收足量的光。更進—步的是可能 延長快啟;像效果,這兩種缺陷都是因為 的結^。7緣不是本發明第二實施例中之光學影像制器 55來二t學影細器的結構允許圖5之影像處理器 開關時^。之党度’同時也控制電子快門53之快門 辨識在%件執打如^ 5之相同仙與相同編碼方便 ^且相同細節也不再贅述。 更 _ 考L7,影像處理器61接收數位訊號透過 理。換。Q 54轉換,且依接收到的數位訊號執行影像處 1251329 1 5 442pif.doc f至衫像處理器61設定並儲存影像感測器52之數 傻的最大平均值PmaX與最小平均值P_,在此,影 感:為52必須先獲得正確的物件影像。 ,影像處理器61計算數位訊號平均值Avg(Pij)以 二=二旦面’比較計算所得的數位資訊、之平均值Αν# =存的最大平均Ρ_與最小p_平均值,同時產生亮度 工制虎與快門控制訊號,比較結果列入考量。 男#二陕^開啟時,電子快門62回應快門控制訊號通過 =理為61以接收並累積光電壓(或光電流),再從影像 ,測器52輪出’且當快門關閉時,繼續從累積的光電壓(或 光電流)擷取並輪出光學訊號。 圖8繪示解釋圖7中之光學影像偵測器控制亮度與快 門的方法流程圖。 ,位貝矾的數位訊號平均值Avg(Pij)輸出是從影像 感測器52輸出,以ixj軸距陣做計算(S21)。 計算所得之數位訊號巧的平均值Avg(Py〇與先前預設 儲存的最大平均Pmax與最小Pmin平均值作比較(S22)。 針對比較結果,如果數位訊號Pij的平均值Avg(Pij)大 於數位訊號h的最大平均值Pmax,則現有光源50的亮度 會被降低(S23)。 ^被降低的光源5〇之亮度是否為最小值(S24)也會被確 涊檢驗。檢驗的結果,如果被降低的光源5〇之亮度非為最 小值’則透過步驟23以改變亮度控制信號來改變現階段光 源50之壳度,以產生並輸出訊號(S25)。 1251329 1 5442pif.d〇c 如果透過步驟S24檢杳至丨丨曰、k、広 最小值P一則決定現有光源5〇二:5:=度已經 而取樣速率會被升高(S26)。、、顧被降低’然 合被樣速率的升高’相對的快門開起時間 i輪出⑽7) 伴隨降低的快門開起時間被產生 =步驟22的比較結果,如果數位訊 AVg(PijH於最大平均值^,數位訊 均值AV_再與最小平均值Pmin比較(S28)。 、、^^、步驟S28啸,若數位鮮 :再:=, 增加亮度的杨50是衫光源5G所提供的最大值 (二)會被確認:檢纽果,如果現階段亮度的光源%不 值,則透過步驟S29之-亮度控制信號以改變現階 光源50的亮度訊號被產生且被輸出(S25)。 然而’如果現階段光源5G的亮度已經是最大值,則確 、>源50的冗度已經不能再被增加,所以取樣速率要被降 低(S31) 〇 此時快門開起時間要被增加以回應透過步驟31造成 的取樣速率的下降,㈣快Η控制訊號伴隨延錢快門開 啟時間會被產生且輸出(S32)。 -根據步驟28的比較結果,如果數位訊號?1』的計算平 句值Avg(Pij)大於最小平均值則亮度控訊號與快門控 1251329 1 5442pif.doc 制訊號維持現有光源50的亮度狀況,且快門開啟時間會被 各別產生並輪出(S33)。 圖8控制亮度之方法描述以產生亮度控制訊號來的結 果來控制光源的亮度。如果需要,圖8之方法藉著累積& 次量測結果,可以產生亮度控制訊號以控制光源亮度。 甚至’圖8控制党度之方法被引述以接收畫面來計管 數位訊號平均值以產生亮度控訊號與快門控制訊號回應g 位訊號的平均值。如果需要,圖8之方法可以使用預定時 間内接收到的數個畫面計算數位訊號平均值,並產生亮^ 5孔號控制回應數位訊號之計算平均值。 如前所述,圖8之光學影像偵測器是設計來控制光源 免度且控制當光源亮度不受約制時,電子快門的開起時間 所以圖8之光學影像偵測器能藉著控制亮度與曝光時 間來移除雜訊與殘餘影像且可以特意控制影像扭曲與特= 果例如殘餘影像。 、、 雖然本發明已以較佳實施例揭露如上,然其並非用 以限定本發明,任何熟習此技藝者,在不脫離本發明之 神和範圍内,當可作些許之更動與潤飾,因此本發明之= 護範圍當視後附之申請專利範圍所界定者為準。 ” 如先前所述,本發明的光源亮度控制解決光學影像 缺乏足量光源所產生的雜訊與殘餘影像,所以物件影 以被清楚獲得。 、 甚至,光源亮度與快門可被直接控制,所以功率 省與降低不必要電力消耗是可以被預期的。 即 1251329 15442pif. doc 必須瞭解熟習此技藝實施例繪示及說明如上,但 下改變前述及其他之形式及細Ξ脫離本發明之精神及範圍 【圖式簡單說明】 為讓本發明之上述和其他目的 易懂,下文特舉較佳實施例,並 ς =點能更明顯 明如下。 卿圖式,作詳細說 ,1是緣示習知光學影像翻器之 一旦/圖2是纷示習知光學影像感測器之詳 一影像感測器與習知光學影像偵翊器 電路圖,顯示 圖3Α與3Β繪示對應的是習知:二f子快門。 波形圖。 予衫像偵测器之光學 圖4A與4B是緣示習知光學 圖5之區塊輯示的是本發明之之影像圖。 一實施例。 九予衫像感測器之第 圖6繪示是圖5之光學影 的方法流程圖。 篆偵冽為用以解釋控制亮度 圖7繪示區塊圖是本發 每 測器顯示。 弟—只施例中之光學影像偵 圖8繞示是圖7之光學影 的方法流程圖。 貝列為用來解釋控制亮度 【主要元件符號說明】 10光源 11、51物件 1251329 1 5442pif.doc 12光學影像感測器 13電子快門 14 A/D轉換器 15影像處理器 16系統控制器 20緩衝器 50光源 52光學影像感測器 53、62電子快門 54 A/D轉換器 55、61影像處理器 56系統控制器If Tshutter is smaller than the minimum value Tmin stored in the previous setting, the minimum value Tmin stored in the previous setting is compared (S16). According to the comparison result of the step (S16), if the shutter opening time Tshutter of the electronic shutter y is confirmed to be larger than the minimum shutter open time Tsh (10), the brightness control signal is maintained and output (S15) while maintaining the existing brightness. If not, it is checked whether the previous light source luminance 50 is the minimum value (S17). According to the comparison result of the step (S17), if the brightness of the light source 5 is the minimum brightness, it is determined that the brightness of the light source 50 does not need to be lowered again. Therefore, A^U29 l 5442Pif.d〇 (if the brightness of the source is not seen, the control signal is generated and output (S15). The rotation of the current source (SI'8) 疋 reduces the brightness of the existing light source', then the control signal will be generated. 6 Description With | The method of calculating the expected brightness of the fast wood is to receive a picture to open the time. For example, the door, start the time and generate the brightness control signal in response to the shutter required shutter, ^ Figure 6 The method can also calculate the majority of the screen time. The sweat starts the time and generates the brightness control signal in response to the shutter opening. The design of the optical image sensing 11 is as long as the image is allowed to be received. The light in the summer is used to directly control the brightness of the light source. The time to read the image of the traditional optical image sensor must increase the shutter opening to pre-sense the sensor to receive a sufficient amount of light. Further, it is possible to extend the quick start Like the effect, both of these defects are due to the junction. The 7 edge is not the optical imager 55 in the second embodiment of the present invention. The structure of the second image mask allows the image processor of Fig. 5 to be switched. Party's degree also controls electronics The shutter of the door 53 is recognized in the same piece of the same piece as the same as the same code and the same details are not described. More _ test L7, the image processor 61 receives the digital signal transmission. Change. Q 54 conversion, And according to the received digital signal, the image processing unit 1251329 1 5 442pif.doc f to the shirt image processor 61 sets and stores the maximum average value PmaX and the minimum average value P_ of the image sensor 52, where the sound sense The image processor 61 must first obtain the correct object image. The image processor 61 calculates the digital signal average Avg(Pij) to compare the calculated digital information with the second=two-day surface, and the average value Αν# = the maximum average value of the memory. _ and the minimum p_average, at the same time, the brightness of the tiger and the shutter control signal are generated, and the comparison result is taken into consideration. When the male #二陕^ is turned on, the electronic shutter 62 responds to the shutter control signal to pass and accumulate light. The voltage (or photocurrent) is then rotated from the image, detector 52' and when the shutter is closed, the optical signal continues to be extracted from the accumulated photovoltage (or photocurrent) and the optical signal is rotated. Figure 8 illustrates the interpretation of Figure 7. Optical image detector control Flow chart of the method with the shutter. The digital signal average Avg (Pij) output of the bit 矾 is output from the image sensor 52, and is calculated by the ixj wheel matrix (S21). The calculated average value of the digital signal is obtained. Avg (Py〇 is compared with the previous average stored maximum average Pmax and the minimum Pmin average value (S22). For the comparison result, if the average value Avg(Pij) of the digital signal Pij is greater than the maximum average value Pmax of the digital signal h, then The brightness of the existing light source 50 is lowered (S23). ^ Whether the brightness of the lowered light source 5 为 is the minimum value (S24) is also confirmed. As a result of the test, if the brightness of the lowered light source 5 is not the minimum value, the shell degree of the current light source 50 is changed by changing the brightness control signal in step 23 to generate and output a signal (S25). 1251329 1 5442pif.d〇c If the minimum value P is determined by step S24 to 丨丨曰, k, 広, then the existing light source 5〇2:5:= degrees has been detected and the sampling rate is increased (S26). , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , The average value ^, the digital average value AV_ is compared with the minimum average value Pmin (S28)., , ^^, step S28 scream, if the number is fresh: again: =, the brightness of the Yang 50 is the maximum provided by the shirt light source 5G The value (2) is confirmed: if the current source of the luminance is not worth the value, the luminance signal of the current-order light source 50 is generated through the luminance control signal of step S29 and is output (S25). 'If the brightness of the light source 5G is already the maximum at this stage, then the redundancy of the source 50 can no longer be increased, so the sampling rate is to be lowered (S31). At this time, the shutter opening time is increased in response. The sampling rate decreased by step 31, (4) the fast control signal is accompanied by the extended shutter opening time and is output (S32). - According to the comparison result of step 28, if the digital signal ?1 is calculated, the flat value Avg (Pij) is greater than the minimum average The brightness control signal and the shutter control 1251329 1 5442pif.doc signal maintain the brightness of the existing light source 50, and the shutter opening time is separately generated and rotated (S33). Figure 8 shows the method of controlling the brightness to generate the brightness control signal. The result is to control the brightness of the light source. If necessary, the method of Figure 8 can generate a brightness control signal to control the brightness of the light source by accumulating & the measurement results. Even the method of controlling the party degree is shown in Figure 8 to receive the picture. The average value of the digital signal is calculated to generate an average value of the brightness control signal and the shutter control signal in response to the g bit signal. If necessary, the method of FIG. 8 can calculate the average value of the digital signal using a plurality of pictures received within a predetermined time period, and generate a bright ^ 5 hole number control calculates the average value of the digital signal. As mentioned above, the optical image detector of Figure 8 is designed to control the light source immunity and control the opening time of the electronic shutter when the brightness of the light source is not restricted. Therefore, the optical image detector of Figure 8 can remove the noise and residual images by controlling the brightness and exposure time, and can specifically control the image distortion and If, for example, the present invention has been disclosed in the preferred embodiments, it is not intended to limit the invention, and those skilled in the art can make some changes without departing from the scope of the invention. The invention is modified and modified, and the scope of the invention is defined by the scope of the appended patent application. As described above, the light source brightness control of the present invention solves the problem that the optical image lacks sufficient noise generated by the light source. With the residual image, so the object shadow is clearly obtained. Even, the brightness of the light source and the shutter can be directly controlled, so power saving and reducing unnecessary power consumption can be expected. That is, 1251329 15442pif. doc must understand the familiar implementation of this technology The above and other aspects and modifications of the present invention will be apparent from the spirit and scope of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS To make the above and other objects of the present invention readily apparent, the preferred embodiments are described below. And ς = point can be more clearly as follows. Qing pattern, for details, 1 is the edge of the conventional optical image flipper / Figure 2 is a detailed optical image sensor of the conventional image sensor and the conventional optical image detector circuit diagram, Corresponding to the display of Figures 3A and 3Β corresponds to the conventional: two f-sub-shutter. Waveform diagram. The opticals of the present invention are shown in Figs. 4A and 4B. An embodiment. Fig. 6 is a flow chart of the method of optical shadowing of Fig. 5.篆 冽 冽 is used to explain the control brightness. Figure 7 shows the block diagram is the display of this test. Brother--only optical image detection in the example is shown as a flow chart of the optical shadow of Figure 7. Belle is used to explain the control brightness [main component symbol description] 10 light source 11, 51 object 1251329 1 5442pif.doc 12 optical image sensor 13 electronic shutter 14 A / D converter 15 image processor 16 system controller 20 buffer 50 light source 52 optical image sensor 53, 62 electronic shutter 54 A / D converter 55, 61 image processor 56 system controller