TW201919443A - Temperature compensation in optical sensing system - Google Patents

Temperature compensation in optical sensing system Download PDF

Info

Publication number
TW201919443A
TW201919443A TW106138816A TW106138816A TW201919443A TW 201919443 A TW201919443 A TW 201919443A TW 106138816 A TW106138816 A TW 106138816A TW 106138816 A TW106138816 A TW 106138816A TW 201919443 A TW201919443 A TW 201919443A
Authority
TW
Taiwan
Prior art keywords
current
node
ambient temperature
temperature
coupled
Prior art date
Application number
TW106138816A
Other languages
Chinese (zh)
Other versions
TWI662862B (en
Inventor
詹姆士 克西
阿蘭 波特克
張智慧
Original Assignee
美商Tt電子公司
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 美商Tt電子公司 filed Critical 美商Tt電子公司
Priority to TW106138816A priority Critical patent/TWI662862B/en
Publication of TW201919443A publication Critical patent/TW201919443A/en
Application granted granted Critical
Publication of TWI662862B publication Critical patent/TWI662862B/en

Links

Landscapes

  • Led Devices (AREA)

Abstract

Disclosed is a temperature compensation circuit for a light source (e.g., light emitting diode (LED)) whose radiant energy output decreases when ambient temperature increases. The circuit includes first means for sourcing a first current that increases proportional to an increase in ambient temperature, and second means for sourcing a second current that is first order independent of ambient temperature. The circuit further includes a weighted current adder for sourcing a third current by combining the first and second currents with first and second weights applied to the first and second currents respectively. The circuit further includes third means responsive to the third current for supplying a fourth current to the light source to maintain a radiant energy output of the light source constant independent of ambient temperature.

Description

光學感測系統中的溫度補償技術Temperature compensation technology in optical sensing systems

[0001] 本發明一般係有關光學感測系統中的溫度補償技術。[0001] The present invention is generally related to temperature compensation techniques in optical sensing systems.

[0002] 發光二極體(LED)已被廣泛使用於諸如讀卡、字符辨識、近接感測、標籤印刷、電光切換(electro-optical switching)等應用方面。特別是,LED已結合光二極體(photodiode)而被使用於光學感測系統中。例如,光學感測系統可驅動LED而產生某種輻射能。此輻射能在通過介質或者被表面反射之後被光二極體所接收到。光二極體將接收到的輻射能轉變成電流,其被進一步處理用以偵測,例如,介質或者表面的存在。   [0003] 在上面的光學感測系統中,感測的解析度(例如,區別一張薄紙與兩張薄紙間之差異的能力)視多個因素而定。其中一個因素為LED在整個該光學感測系統所操作之環境溫度的範圍上維持其輻射能輸出(或光學輸出功率)大體上恆定的能力。不幸的是,大部分LED的輻射能輸出相當程度地隨著環境溫度而改變。特別是,如果輸入到LED的電流保持相同,當溫度增高時,大部分LED的輻射能輸出相當程度地減少。在習知的高解析度光學感測系統中通常無法忍受這樣的變化。因此,在這個方面的改進係必要的。[0002] Light-emitting diodes (LEDs) have been widely used in applications such as card reading, character recognition, proximity sensing, label printing, electro-optical switching, and the like. In particular, LEDs have been used in optical sensing systems in conjunction with photodiodes. For example, an optical sensing system can drive an LED to produce some radiant energy. This radiant energy is received by the photodiode after passing through the medium or being reflected by the surface. The photodiode converts the received radiant energy into a current that is further processed to detect, for example, the presence of a medium or surface. [0003] In the above optical sensing system, the resolution of the sensing (eg, the ability to distinguish the difference between a thin piece of paper and two thin sheets of paper) depends on a number of factors. One such factor is the ability of the LED to maintain its radiant energy output (or optical output power) substantially constant over the entire range of ambient temperatures at which the optical sensing system operates. Unfortunately, the radiant energy output of most LEDs varies considerably with ambient temperature. In particular, if the current input to the LED remains the same, the radiant energy output of most of the LEDs is considerably reduced as the temperature increases. Such variations are generally unacceptable in conventional high resolution optical sensing systems. Therefore, improvements in this area are necessary.

and

[0005] 下面的揭示提供許多用來施行所提供之專利標的不同特徵的不同實施例或範例,以下說明組件和配置的特定範例以簡化本揭發明。當然,這些僅僅是範例,而且並不欲為限制性的。對所述裝置、系統、方法之任何的改變和進一步修正、以及本發明之原理的任何其他應用已被充分思量,就像熟悉本發明所屬技藝者一般想得到的。例如,針對一個實施例所敘述的特徵、組件、及/或步驟可以和針對本發明之其他實施例所敘述的特徵、組件、及/或步驟相結合而構成依據本發明之裝置、系統、或方法的另一實施例,即可這樣的組合並未被明確地顯示出。此外,為了簡潔起見,在有些例子中,在全部的附圖中使用相同的參考數字來表示相同或類似的部件。   [0006] 本發明一般係有關光學感測系統及方法,尤其有關用來補償光學感測系統的光源以工作於操作溫度範圍下之電路、系統、和方法。本發明之目的在於提供經溫度補償的光源,其輻射能輸出通常在整個操作溫度範圍上保持恆定。本發明之另一目的在於提供LED驅動電路,其可經由校準程序而與大部分現有的LED一起工作。在被校準後,該LED驅動電路即可操而產生電流,其補償該給定的LED而使得當環境溫度改變時,該LED的輸出功率通常保持恆定。本發明之又一目的在於提供校準方法,其可被施行於光學感測系統中達成上述的溫度補償。   [0007] 參照圖1,其中所顯示者為依據本發明實施例所建構之光學感測系統10的示意局部示圖。光學感測系統10包含LED 12,其陽極11係耦接至供電電壓VDD ,及其陰極13經由開關30而被耦接至電流源28(被進一步討論於後)。順向電流ILED 流經LED 12,並且致使其產生光(或輻射能)。LED 12可產生可見光或不可見光,其包含紫外光和紅外光。LED 12可包括任何適合的半導體材料,諸如砷化鎵(GaAs)、磷化鎵(GaP)、砷化鋁鎵(AlGaAs)、磷化鎵砷(GaAsP)、氮化銦鎵(InGaN)、磷化鋁鎵(AlGaP)、和磷化鋁鎵銦(AlGaInP)。   [0008] 光學感測系統10進一步包含光二極體14,其陽極15係連接至地(VSS ),及其陰極17係連接至連接至供電電壓VDD 的開關(例如,重設開關)。光二極體14,例如,經由反射而離開表面、藉由介質的繞射、或透射過介質而接收LED 12之輻射能的至少一部分。回應的是,光二極體14產生自其陰極17至其陽極15的電流,此電流藉由偵測電路16而被感測到以供進一步處理。   [0009] LED 12的特性為,如果電流ILED 保持恆定,則當環境溫度增加時,其輻射能輸出減少。此種隨著環境溫度的變化影響光二極體14和偵測電路16偵測輻射能可靠性的能力。結果是,光二極體14的靈敏度受到在LED 12的輻射能輸出中有多少變化所限制。對於操作遍及寬廣的環境溫度範圍上的應用而言(例如,從0℃到70℃的商用等級溫度範圍、從-40℃到85℃的工業用等級溫度範圍、或從-55 ℃到125℃的軍用等級溫度範圍),高度地希望使LED 12的輻射能輸出在整個操作溫度上保持恆定或通常是恆定的(例如,在幾個百分比之內)。本發明對此問題提供如下所進一步討論的解決方案。   [0010] 仍參照圖1,光學感測系統10進一步包含模組18和模組20,模組18為隨溫度而變的(temperature-dependent)電流產生器,模組20為不隨溫度而變的(temperature-independent)電流產生器。模組18係操作成產生電流IS 。模組20係操作成產生電流IR 。在本實施例中,電流IS 回應環境溫度的增加(或減少)而增加(或減少)。在另一實施例中,當環境溫度增加(或減少)時,電流IS 一階線性地增加(或減少)。在本發明中,術語「一階線性地」意謂當溫度是在所定義的範圍之內(諸如,在所期望的操作範圍之內)時,電流IS 可以在下面的等式(1)中被模型化為絕對溫度T的線性等式,而且溫度T的任何二階或更高階的影響可被忽略。「一階線性地」的相同定義適用於包含電壓、電流、功率、和電阻之其他變數及電路參數的討論。   ,其中,mI0 為常數且m > 0 [0011] 相反地,電流IR 係與環境溫度一階無關的,亦即,其在整個操作的環境溫度範圍上保持相當地恆定,而且環境溫度的任何二階或更高階的影響可被忽略。   [0012] 光學感測系統10進一步包含電流加法器(或電流模式加法器)22。電流加法器22係操作成產生電流IB ,其為電流IS 和IR 的加權總和。在本實施例中,電流加法器22將第一權重WS 施加於電流IS ,並且將第二權重WR 施加於電流IR 。因此,電流IB 在等式(2)中被表示於下:[0013] 在本實施例中,藉由控制單元24來提供權重WS 和WR 而且它們各自為多位元的向量。在有些範例中,控制單元24為特殊應用積體電路(ASIC)或其他處理電路,其係操作成從記憶體元件中讀取電腦可執行指令,並且提供藉由執行該等指令之在本文中所述的功能性。在實施例中,權重WS 和WR 為使用者可程式化來微調(或校準)電流IB 。如同上面可從等式(1)及(2)中所看出者,電流IB 為具有正斜率之絕對溫度T的線性等式。此外,當權重WS 和WR 被歸一化至總和為1時,其溫度相依性係在IS 與IR 的溫度相依性之間。對於給定的LED 12而言,使用者可調整WS 和WR 的值來推導適當的IB ,其補足LED 12的溫度相依性。換言之,其致使LED 12的輻射能輸出在整個操作的環境溫度範圍上通常保持恆定的。一旦適當的WS 和WR 值被找到(或被校準),此等值即可被儲存在非揮發性記憶體(例如,做為控制單元24中的數字位元)中。這提供了光學感測系統10在關機(power-off)和開機(power-on)之後可恢復適當的操作,而不需要重複校準程序。   [0014] 仍參照圖1,在本實施例中,光學感測系統10進一步包含電流乘法器26,其將電流IB 乘以控制向量ACTRL 並且產生電流IA 如下:[0015] 在本實施例中,藉由控制單元24來提供控制向量ACTRL 。在應用時,使用者可經由ACTRL 的一組值而手動或自動地步進,其最終在LED 12處產生一組光學輸出功率。此可被用來校準LED 12和光二極體14,以便為光學感測系統10找到需要的工作條件。在實施例中,一旦LED 12和光二極體14被校準於標稱溫度(例如,於室溫時),ACTRL 的值就被儲存在非揮發性記憶體中,並且被光學感測系統10所使用於後續的操作中。   [0016] 在實施例中,電流源28為將電流IA 複製至LED 12的電氣路徑之電流鏡。實際上,當開關30被打開(或關閉)時,ILED 等於IA 。IA 的溫度相依性補足LED 12的溫度相依性。在實施例中,開關30被控制而打開和關閉以使LED 12週期性地脈動(pulse)。例如,LED 12可以用1至2微秒(μs)的週期被打開持續200到300奈秒(ns)。   [0017] 參照圖2A,光學感測系統10進一步包含帶差(bandgap)電壓參考電路19,其係操作成提供電壓電位VR 。電壓VR 係與環境溫度一階無關的。電壓VR 被供應至電流產生器18 (圖2A和圖2B)及電流產生器20 (圖3)做為參考電壓。   [0018] 仍參照圖2A,隨溫度而變的電流產生器18之實施例被示意地繪示出。電流產生器18包含雙極電晶體Q1 。在此實施例中,雙極電晶體Q1 為PNP電晶體,其射極係耦接至節點45,且其基極和集極係耦接至節點50。在本實施例中,節點50被接地(亦即,被耦接至地電位VSS )。在節點45處的電壓電位VBE 係一階反比於環境溫度。換言之,當溫度係在所定義的範圍之內(諸如,在所期望的操作範圍之內)時,電壓VBE 可以被模型化為絕對溫度T的線性等式(4),而且溫度T的任何二階或更高階的影響可被忽略。   ,其中,nV0 為常數且n > 0 [0019] 電流產生器18進一步包含電阻器R1 和R2 ,其係串聯連接在參考電壓VR 與地VSS 之間。電阻器R1 和R2 係耦接至共同節點32。電阻器R1 和R2 的電阻值係與環境溫度一階無關的。因此,節點32處的電位V32 係與環境溫度一階無關,並且在等式(5)中被表示於下。      [0020] 電流產生器18進一步包含運算放大器X1 。運算放大器X1 具有耦接至節點32的非反向輸入端子、耦接至節點36的反向輸入端子、和耦接至節點38的輸出端子。電流產生器18進一步包含場效電晶體(FET) M3 ,其閘極係耦接至節點38、其源極係耦接至節點36、且其汲極係耦接至節點42。運算放大器X1 的負反饋路徑係形成從節點38經由FET M3 而至節點36。當電流產生器18在操作期間到達平衡時,節點36處的電壓電位V36 由於該負反饋路徑而等於電壓電位V32 。      [0021] 電流產生器18進一步包含耦接在節點36與節點45之間的電阻器R3 。電阻器R3 的電阻值係與環境溫度一階無關的。流經電阻器R3 的電流IQ1 在等式(7)中被表示於下。      [0022] 結合等式(4)到(7)結果是下面的等式(8)。[0023] 如同可從等式(8)中所看出者,電流IQ1 為具有正斜率之絕對溫度T的一階線性等式。換言之,當環境溫度T增加時,電流IQ1 一階線性地增加。   [0024] 仍參照圖2A,由於運算放大器X1 之輸入端子的高阻抗,由電晶體M3 所流出之電流IM3 實際上等於電流IQ1 。電流產生器18進一步包含電流鏡47,其將電流IM3 複製至輸出節點46處的輸出電流IS 。電流IS 在等式(9)中被表示於下。[0025] 如同可從等式(9)中所看出者,電流產生器18係操作成產生電流IS ,當環境溫度T增加時,電流IS 一階線性地增加。   [0026] 在圖2A所示的實施例中,電流鏡47具有兩個耦接於其閘極端子的FET M1 和M2 。在替換實施例中,電流鏡47可使用雙極電晶體或FET(諸如,金屬氧化物FET)來予以施行,並且可使用任何架構來予以施行。   [0027] 參照圖2B,其中所顯示者為電流產生器18的另一實施例。除了此實施例使用NPN雙極電晶體Q1 ’而不是PNP雙極電晶體Q1 之外,此實施例具有與圖2A中所示之實施例基本上相同的組件。電晶體Q1 ’的射極係耦接至節點50,而節點50在此實施例中被接地。電晶體Q1 ’的基極和集極係耦接至節點36。此實施例的電路分析可以用和上面相同的方式來進行。   [0028] 參照圖3,不隨溫度而變的電流產生器20之實施例被示意地繪示出。電流產生器20包含運算放大器X2 ,其非反向輸入端子係耦接至參考電壓VR 、其反向輸入端子係耦接至節點62、及其輸出端子係耦接至節點56。電流產生器20進一步包含耦接在節點62與地電位VSS 之間的電阻器R4 。電阻器R4 的電阻值係與環境溫度一階無關的。電流產生器20進一步包含FET M6 ,其閘極係耦接至節點56、其源極係耦接至節點62、及其汲極係耦接至節點60,用以產生電流IM6 。電流產生器20進一步包含電流鏡65,其將電流IM6 複製至輸出電流IR 。電流鏡65在此實施例中具有兩個FET M4 和M5 。在替換實施例中,電流鏡65可使用雙極電晶體或FET (諸如,金屬氧化物FET)來予以施行,並且可使用任何架構來予以施行。   [0029] 當電流產生器20在操作期間到達平衡時,節點62處的電壓電位V62 由於從節點56到節點62的負反饋路徑而等於電壓電位VR 。實際上,下面恆真:      [0030] 如等式(10)中所示,電流產生器20係操作成產生與環境溫度一階無關的電流IR 。   [0031] 參照圖4,加權電流加法器22的代表性實施例被局部地繪示出。特別是,圖4繪示出權重WR 到電流IR 的施加。電流加法器22包含用以接收輸入電流IR 的FET M7 和用以使輸出電流IWR 流出(sourcing)的FET M8-1 , M8-2 , … M8-i …和M8-Z 。在實施例中,Z可以是大於零(0)的任何整數。該多個FET M8-i (i在[1:Z]中)各自具有其閘極端子經由節點66而被耦接至FET M7 的閘極端子。基本上,該多個FET M8-i 各自係操作成複製輸入電流IR 。此外,該多個FET M8-i 各自被連接至開關,該開關藉由該向量WR [1:Z]中之諸位元中的其中一個位元來予以控制。該電流加法器有效地產生IWR = WR .IR 。   [0032] 加權電流加法器22可包含用以將權重WS 施加於電流IS 的類似電路,藉以產生加權電流IWS = WS .IS 。   [0033] 加權電流加法器22可進一步包含電路,該電路係操作成結合IWR 和IWS 而產生IB ,使得:[0034] 在各種實施例中,加權電流加法器22可以用任何架構來予以施行。以類似的形式,電流乘法器26可被施行而產生電流IA ,使得:[0035] 參照圖5,電流源28的代表性實施例連同開關30和LED 12一起被局部地繪示出。在此實施例中,電流源28為具有FET M9 和M10 的電流鏡。當開關30被關閉時,該電流鏡係操作成將其輸入電流IA 複製至其輸出電流ILED 。在替換實施例中,電流源28可以用任何架構來予以施行。   [0036] 圖6A和6B繪示依據本發明之實施例,光學感測系統10的部分操作。參照圖6A,曲線70繪示(在給定的固定輸入電流)LED 12的輻射能輸出做為經溫度補償前之環境溫度的函數。LED 12的輻射能輸出隨著環境溫度從溫度t1 增加至溫度t2 而減少。   [0037] 參照圖6B,電流IS 、IR 、和ILED 之間的關係被繪示出。電流IS 隨著環境溫度而一階線性地增加(曲線74)。電流IR 係與環境溫度一階無關的(曲線76)。電流ILED 隨著環境溫度而一階線性地增加(曲線78)。在範例中,圖1中之LED驅動電路的各種組件以及控制向量WS 、WR 、和ACRTL 被選擇而使得曲線78補足曲線70。   [0038] 圖6A進一步繪示LED 12在被使用ILED 來予以溫度補償之後的輻射能輸出,其係顯示於曲線72中。隨著環境溫度從溫度t1 增加至溫度t2 ,LED 12的輻射能輸出保持恆定或接近恆定(例如,變化係在使用者選擇的臨界值之內),此克服了先前所討論之隨溫度而變的問題。   [0039] 圖7繪示針對給定之LED 12進行溫度補償之方法100的流程圖。圖8繪示光學感測系統10之部分組件之校準方法150的流程圖。方法100和150各自其部分或全部可藉由光學感測系統10來予以施行。了解到可在方法100和150各者之前、期間、之後提供額外的操作,而且所述的一些操作可以為該等方法的其他實施例而被替代、取消、或變化順序。方法100和150僅僅是範例,而且不想要將本發明限制於申請專利範圍中所明確詳述者之外。   [0040] 參照圖7,方法100包含操作102、104、106、108、110、及112。這些操作配合上面的圖1至6B而被進一步討論於下。   [0041] 在操作102,方法100提供第一電流IS ,其一階線性地增加於當環境溫度增加時(見圖1、2A、2B、和6B)。在操作104,方法100提供第二電流IR ,其係與環境溫度一階無關的(見圖1、3、和6B)。在操作106,方法100將第一權重WS 施加於第一電流IS ,藉以產生第一加權電流IWS (見圖1和4)。在操作108,方法100將第二權重WR 施加於第二電流IR ,藉以產生第二加權電流IWR (見圖1和4)。在操作110,方法100結合第一和第二加權電流IWS 和IWR ,藉以產生結合的加權電流IB (見圖1)。在操作112,方法100將結合之加權電流IB 推導出的電流ILED 施加於LED 12(見圖1、5、和6B)。在實施例中,推導出的電流ILED 係藉由將結合之加權電流IB 乘以振幅控制向量ACRTL 來予以獲得到的(見圖1)。   [0042] 參照圖8,方法150包含操作152、154、156、158、160、162、164、及166。這些操作配合上面的圖1至7而被進一步討論於下。測量、計算、和儲存可藉由執行電腦可讀取碼之處理邏輯(諸如,控制單元24)來予以實施,以提供本文中所述的功能。在實施例中,以置放於溫度室中之光學感測系統10來實施操作152至166。該溫度室可被控制而為光學感測系統10設定環境溫度。   [0043] 在操作152,方法150初始化光學感測系統10的各種組件(圖1)。在實施例中,操作152包含初始化振幅控制向量ACRTL 。在實施例中,此係實施為針對LED 12和光二極體14之校準程序的一部分。例如,振幅控制向量ACRTL 可以被設定而使得LED 12和光二極體14在諸如室溫的標稱操作溫度時針對想要的偵測靈敏度而適當地工作。在實施例中,操作152進一步包含初始化權重WS 和WR ,並且使用權重WS 和WR 和圖7中所述之各種操作來提供初始電流ILED 。操作152可包含設定為在方法150期間可被調整之預設值的參數之初始值。   [0044] 在操作154,方法150測量LED 12的輻射能輸出做為基準(baseline)功率。操作154可使用熱型偵測器、量子型偵測器、或者任何其它適合的偵測器。此量測可被實施於諸如室溫的標稱操作溫度時。   [0045] 在操作156,方法150設定與標稱操作溫度不同的環境溫度。例如,此溫度可以是打算為光學感測系統10所用之最高或最低的操作溫度。在實施例中,溫度室可被控制來設定不同的環境溫度。   [0046] 在操作158,方法150測量在操作156所設定之溫度時之LED 12的輻射能輸出。在實施例中,方法150在不同的所選擇溫度時可重複操作156和158多次。例如,所選擇溫度可包含最高的期望操作溫度、最低的期望操作溫度、和標稱操作溫度。在範例中,所選擇溫度包含0、20、和70℃。方法150可選擇其他溫度及/或使用更多的溫度點。然而,至少兩個溫度被選擇於此校準程序中。方法150記錄在各個所選擇溫度時測量到之LED 12的輻射能輸出。   [0047] 在操作160,方法150計算在所選擇之環境溫度點中LED 12之輻射能輸出的變化(例如,變化百分比)。   [0048] 在操作162,方法150檢查變化是否在臨界值之內。臨界值可為使用者可程式化並且配合光二極體14中之偵測靈敏度而被設計的。例如,使用者可將臨界值設定為5 %。該臨界值為影響光學感測系統10之感測解析度之因素的其中一者。   [0049] 如果LED 12之輻射能輸出的變化係在該臨界值之內,則方法150將各種控制資訊儲存在非揮發性記憶體(例如,在控制單元24處或者在另一個適當的地方)內,其包含振幅控制向量ACRTL 和權重WS 和WR 。此係藉由操作164來予以實施的。當光學感測系統10再度被關斷電源或接通電源時,所儲存之值自動被載入和施加於該系統之個別的組件而不需要重新校準。   [0050] 如果LED 12之輻射能輸出的變化係在該臨界值之外,則方法150在操作166改變權重WS 和WR 的其中一者或兩者,並且回到操作154。重複上面的操作154、156、158、160、162、及166直到適合的權重WS 和WR 組被找到為止。如果所有的權重WS 和WR 都已經被找遍而且沒有任何解答被找到,則方法150可以採取其他行動,諸如更換LED 12或者更換光學感測系統10的另一個組件。   [0051] 雖然不打算要限制,但是本發明的一或多個實施例將許多好處提供給使用LEDs做為光源的光學感測系統。因為大部分的LEDs具有其相對的輻射能輸出隨著環境溫度增加而減少的特性,所以本發明的實施例提供補償此等LEDs工作於溫度範圍之下的電路、系統、和方法。當溫度改變於操作溫度範圍之內時,依據本發明之態樣之經溫度補償的LED使其輻射能輸出保持恆定或接近恆定,此大大地改善光學感測系統的靈敏度。各種實施例可適用於具有隨溫度而變之發射特性之其他類型的光源。   [0052] 在一個代表性態樣中,本發明係有關用於光源(諸如,發光二極體)的溫度補償電路。該光源具有如果流經該光源之電流保持恆定,則該光源之輻射能輸出在環境溫度增加時減少的特性。該溫度補償電路包含使第一電流流出的第一機構,該第一電流和環境溫度的增加成正比地增加。該溫度補償電路進一步包含使第二電流流出的第二機構,該第二電流係與環境溫度一階無關的。該溫度補償電路進一步包含使第三電流流出的加權電流加法器,藉由將第一和第二電流分別與施加於第一和第二電流的第一和第二權重相結合。該溫度補償電路進一步包含第三機構,其回應第三電流而用以將第四電流供應至光源,以使該光源的輻射能輸出保持恆定而與環境溫度無關。   [0053] 在另一個代表性態樣中,本發明係有關經溫度補償的光源。該經溫度補償的光源包含發光二極體(LED),用以回應於施加至該LED之第一電流而產生輻射能輸出,該LED具有當環境溫度增加且第一電流保持恆定時該輻射能輸出減少的特性。該經溫度補償的光源進一步包含第一電流源、第二電流源、加權電流加法器、和第三電流源,第一電流源係組構成產生第二電流,第二電流一階線性地增加於環境溫度增加時,第二電流源係組構成產生第三電流,第三電流係與環境溫度一階無關的,加權電流加法器係組構成藉由分別加總第二和第三電流分別與施加於第二和第三電流的第一和第二權重而產生第四電流,並且第三電流源回應於第四電流,而且被組構成將經溫度補償的第一電流供應至該LED。   [0054] 在又一個代表性態樣中,本發明係有關補償發光二極體(LED)以工作於環境溫度範圍之下的方法。該方法包含提供一階線性地增加於環境溫度增加時之第一電流、提供與環境溫度一階無關之第二電流、將第一權重施加於第一電流藉以產生第一加權電流、將第二權重施加於第二電流藉以產生第二加權電流、以及藉由加總第一加權電流和第二加權電流而產生第三電流。該方法進一步包含回應該第三電流而將第四電流施加於該LED。   [0055] 上述概略說明幾個實施例的特徵而使得習於此技藝者可以對本發明的態樣有較佳的了解。習於此技藝者應領會到,他們可以很容易地使用本發明做為用來設計或修正其他製程和結構的基礎,用以實施同樣的目的及/或達成本文中所介紹之實施例的相同優點。習於此技藝者也應認識到,此等等同的構造並未違離本發明的精神和範疇,而且也應認識到,他們可以做出本文中的各種改變、取代、和替換,而沒有違離本發明的精神和範疇。The following disclosure provides a number of different embodiments or examples for implementing the various features of the subject matter provided, and specific examples of components and configurations are described below to simplify the present invention. Of course, these are merely examples and are not intended to be limiting. Any alterations and further modifications to the described devices, systems, and methods, as well as any other applications of the principles of the present invention, have been considered in the ordinary. For example, features, components, and/or steps described in connection with one embodiment may be combined with features, components, and/or steps described in connection with other embodiments of the invention to form a device, system, or system in accordance with the present invention. Another embodiment of the method, such a combination, is not explicitly shown. Moreover, for the sake of brevity, in the examples, the same reference numerals are used to refer to the The present invention relates generally to optical sensing systems and methods, and more particularly to circuits, systems, and methods for compensating a light source of an optical sensing system to operate at an operating temperature range. It is an object of the present invention to provide a temperature compensated light source whose radiant energy output is typically kept constant over the entire operating temperature range. Another object of the present invention is to provide an LED driver circuit that can operate with most of the existing LEDs via a calibration procedure. After being calibrated, the LED drive circuit can operate to generate a current that compensates for the given LED such that when the ambient temperature changes, the output power of the LED typically remains constant. It is yet another object of the present invention to provide a calibration method that can be implemented in an optical sensing system to achieve the temperature compensation described above. Referring to Figure 1, there is shown a schematic partial view of an optical sensing system 10 constructed in accordance with an embodiment of the present invention. The optical sensing system 10 includes an LED 12 having an anode 11 coupled to a supply voltage V DD and a cathode 13 coupled to a current source 28 via a switch 30 (discussed further below). The forward current I LED flows through the LED 12 and causes it to generate light (or radiant energy). The LED 12 can produce visible or invisible light, which includes ultraviolet light and infrared light. LED 12 may comprise any suitable semiconductor material such as gallium arsenide (GaAs), gallium phosphide (GaP), aluminum gallium arsenide (AlGaAs), gallium arsenide (GaAsP), indium gallium nitride (InGaN), phosphorous Aluminum gallium (AlGaP), and aluminum gallium indium phosphide (AlGaInP). The optical sensing system 10 further includes a photodiode 14 having an anode 15 connected to ground ( Vss ) and a cathode 17 connected to a switch (eg, a reset switch) connected to a supply voltage VDD . The photodiode 14 receives at least a portion of the radiant energy of the LED 12, for example, by reflection away from the surface, by diffraction of the medium, or transmitted through the medium. In response, photodiode 14 produces a current from its cathode 17 to its anode 15, which is sensed by detection circuit 16 for further processing. [0009] The characteristic of the LED 12 is that if the current I LED is kept constant, its radiant energy output decreases as the ambient temperature increases. Such an increase in the ability of the photodiode 14 and the detection circuit 16 to detect the radiant energy reliability as the ambient temperature changes. As a result, the sensitivity of the photodiode 14 is limited by how much variation is made in the radiant energy output of the LED 12. For applications operating over a wide range of ambient temperatures (for example, commercial grade temperatures from 0 ° C to 70 ° C, industrial grade temperatures from -40 ° C to 85 ° C, or from -55 ° C to 125 ° C The military grade temperature range) is highly desirable to keep the radiant energy output of LED 12 constant or generally constant throughout the operating temperature (eg, within a few percent). The present invention provides a solution to this problem as discussed further below. [0010] Still referring to FIG. 1, the optical sensing system 10 further includes a module 18 and a module 20, which is a temperature-dependent current generator, and the module 20 is not changed with temperature. (temperature-independent) current generator. Module 18 is operative to generate current I S . Module 20 is operative to generate current I R . In the present embodiment, the current I S in response to ambient temperature increases (or decreases) and increase (or decrease). In another embodiment, when the ambient temperature increases (or decreases), a current I S-order linear increase (or decrease). In the present invention, the term "first-order linearly" means that when the temperature is within a defined range (such as within a desired operating range), the current I S can be in the following equation (1) The linear equation is modeled as an absolute temperature T, and any second or higher order effects of temperature T can be ignored. The same definition of "first-order linearly" applies to the discussion of other variables including voltage, current, power, and resistance, and circuit parameters. Where m and I 0 are constant and m > 0 [0011] Conversely, the current I R is independent of the ambient temperature, that is, it remains fairly constant over the entire operating ambient temperature range, and the environment Any second-order or higher-order effects of temperature can be ignored. [0012] The optical sensing system 10 further includes a current adder (or current mode adder) 22. Current adder 22 is operative to generate current I B , which is the weighted sum of currents I S and I R . In the present embodiment, the current adder 22 applies the first weight W S to the current I S and the second weight W R to the current I R . Therefore, the current I B is expressed in the following equation (2): [0013] In the present embodiment, the weights W S and W R are provided by the control unit 24 and they are each a vector of multiple bits. In some examples, control unit 24 is a special application integrated circuit (ASIC) or other processing circuit that operates to read computer executable instructions from a memory component and is provided herein by executing the instructions. The functionality described. In an embodiment, the weights W S and W R are programmable by the user to fine tune (or calibrate) the current I B . As can be seen from equations (1) and (2) above, current I B is a linear equation with an absolute temperature T of positive slope. Furthermore, when the weights W S and W R are normalized to a sum of 1, the temperature dependence is between the temperature dependence of I S and I R . For a given LED 12, the user can adjust the values of W S and W R to derive the appropriate I B , which complements the temperature dependence of LED 12 . In other words, it causes the radiant energy output of LED 12 to generally remain constant over the entire operating ambient temperature range. Once the appropriate W S and W R values are found (or calibrated), the values can be stored in non-volatile memory (eg, as digital bits in control unit 24). This provides the optical sensing system 10 with the ability to resume proper operation after power-off and power-on without the need to repeat the calibration procedure. Still referring to FIG. 1, in the present embodiment, optical sensing system 10 further includes a current multiplier 26 that multiplies current I B by control vector A CTRL and produces current I A as follows: [0015] In the present embodiment, the control vector A CTRL is provided by the control unit 24. In application, the user can step manually or automatically via a set of values of A CTRL , which ultimately produces a set of optical output power at LED 12. This can be used to calibrate LED 12 and photodiode 14 to find the desired operating conditions for optical sensing system 10. In an embodiment, once LED 12 and photodiode 14 are calibrated to a nominal temperature (eg, at room temperature), the value of A CTRL is stored in non-volatile memory and is optically sensed by system 10 Used in subsequent operations. [0016] In an embodiment, current source 28 is a current mirror that replicates current I A to the electrical path of LED 12. In fact, when switch 30 is turned "on" (or off), the I LED is equal to I A . The temperature dependence of I A complements the temperature dependence of LED 12. In an embodiment, the switch 30 is controlled to open and close to periodically pulse the LED 12. For example, the LED 12 can be turned on for a period of 1 to 2 microseconds (μs) for 200 to 300 nanoseconds (ns). Referring to FIG. 2A, optical sensing system 10 further includes a bandgap voltage reference circuit 19 operative to provide a voltage potential V R . The voltage V R is independent of the first order of the ambient temperature. Voltage V R is supplied to the current generator 18 (FIGS. 2A and 2B) and a current generator 20 (FIG. 3) as a reference voltage. [0018] Still referring to FIG. 2A, an embodiment of current generator 18 as a function of temperature is schematically illustrated. Current generator 18 comprises a bipolar transistor Q 1. In this embodiment, the bipolar transistor Q 1 is a PNP transistor having an emitter coupled to the node 45 and a base and collector coupled to the node 50. In the present embodiment, node 50 is grounded (i.e., coupled to ground potential Vss ). The voltage potential V BE at node 45 is inversely proportional to the ambient temperature. In other words, when the temperature is within the defined range (such as within the desired operating range), the voltage V BE can be modeled as a linear equation (4) of the absolute temperature T, and any of the temperatures T Second-order or higher-order effects can be ignored. Wherein n and V 0 are constant and n > 0 [0019] The current generator 18 further includes resistors R 1 and R 2 connected in series between the reference voltage V R and the ground V SS . Resistors R 1 and R 2 are coupled to a common node 32. The resistance values of resistors R 1 and R 2 are independent of the ambient temperature. Thus, the potential at node 32 V 32 based first-order independent of the ambient temperature, and is expressed in the following equation (5). [0020] The current generator 18 further includes an operational amplifier X 1 . Operational amplifier X 1 has a non-inverting input terminal coupled to node 32, an inverting input terminal coupled to node 36, and an output terminal coupled to node 38. The current generator 18 further includes a field effect transistor (FET) M 3 , the gate of which is coupled to the node 38 , the source of which is coupled to the node 36 , and the drain of which is coupled to the node 42 . The negative feedback path of operational amplifier X 1 is formed from node 38 via FET M 3 to node 36. Upon reaching equilibrium current generator 18 during operation, the voltage potential at the node 36 V 36 due to the negative feedback path is equal to the voltage level V 32. [0021] 18 further comprises a current generator coupled to the node 36 and the resistor R 45 between the nodes 3. The resistance value of the resistor R 3 is independent of the first order of the ambient temperature. The current I Q1 flowing through the resistor R 3 is shown below in the equation (7). [0022] The result of combining equations (4) to (7) is the following equation (8). [0023] As can be seen from equation (8), the current I Q1 is a first-order linear equation with an absolute temperature T of positive slope. In other words, when the ambient temperature T increases, the current I Q1 increases linearly in the first order. [0024] Still referring to Figure 2A, since the input terminal of the operational amplifier 1 X high impedance, the transistors M 3 Suo current I M3 is substantially equal to the current flowing I Q1. Current generator 18 further includes a current mirror 47 that replicates current I M3 to output current I S at output node 46. The current I S is shown below in equation (9). [0025] As can be seen from the equation (9) by the current generator 18 operable to generate a current line I S, when the ambient temperature T increases, a current I S increases linearly order. In the embodiment shown in FIG. 2A, current mirror 47 has two FETs M 1 and M 2 coupled to its gate terminals. In an alternate embodiment, current mirror 47 can be implemented using a bipolar transistor or FET, such as a metal oxide FET, and can be implemented using any architecture. [0027] Referring to FIG. 2B, shown therein is another embodiment of current generator 18. In addition to this embodiment uses the NPN bipolar transistor Q 1 'instead of the PNP bipolar transistor Q 1, this embodiment has the illustrated embodiment of FIG. 2A in substantially the same components. The emitter of transistor Q 1 ' is coupled to node 50, while node 50 is grounded in this embodiment. The base and collector of transistor Q 1 ' are coupled to node 36. The circuit analysis of this embodiment can be performed in the same manner as above. [0028] Referring to FIG. 3, an embodiment of current generator 20 that does not vary with temperature is schematically illustrated. The current generator 20 includes an operational amplifier X 2 having a non-inverting input terminal coupled to the reference voltage V R , an inverting input terminal coupled to the node 62 , and an output terminal coupled to the node 56 . 20 further comprises a current generator coupled between node 62 and ground potential V SS resistor R 4. The resistance value of the resistor R 4 is independent of the first order of the ambient temperature. The current generator 20 further includes a FET M 6 having a gate coupled to the node 56, a source coupled to the node 62, and a drain coupled to the node 60 for generating a current I M6 . Current generator 20 further includes a current mirror 65 that replicates current I M6 to output current I R . Current mirror 65 has two FETs M 4 and M 5 in this embodiment. In an alternate embodiment, current mirror 65 can be implemented using a bipolar transistor or FET, such as a metal oxide FET, and can be implemented using any architecture. [0029] When the current generator 20 reaches equilibrium during operation, the voltage potential V 62 at node 62 due to the negative feedback path from node 56 to node 62 and a voltage potential equal to V R. In fact, the following is true: [0030] As shown in equation (10), the current generator 20 is operative to generate a current I R independent of the first order of ambient temperature. Referring to FIG. 4, a representative embodiment of the weighted current adder 22 is partially illustrated. In particular, Figure 4 illustrates the application of the weight W R to the current I R . The current adder 22 includes a FET M 7 for receiving the input current I R and FETs M 8-1 , M 8-2 , ... M 8-i ... and M 8 for sourcing the output current I WR . Z. In an embodiment, Z can be any integer greater than zero (0). The plurality of FETs M 8-i (i in [1:Z]) each have their gate terminals coupled to the gate terminals of FET M 7 via node 66. Basically, the plurality of FETs M 8-i are each operated to replicate the input current I R . Furthermore, the plurality of FETs M 8-i are each connected to a switch which is controlled by one of the bits in the vector W R [1:Z]. The current adder effectively produces I WR = W R . I R . [0032] The weighted current adder 22 may include similar circuitry to the weight W S I S applied to the current so as to generate weighted current I WS = W S. I S . [0033] The weighted current adder 22 can further include circuitry that operates to combine I WR and I WS to generate I B such that: [0034] In various embodiments, the weighted current adder 22 can be implemented in any architecture. In a similar fashion, current multiplier 26 can be implemented to generate current I A such that: Referring to FIG. 5, a representative embodiment of current source 28 is partially depicted along with switch 30 and LED 12. In this embodiment, the current source 28 having a current mirror FET M 9 and M 10 of. When the switch 30 is turned off, the current mirror operates to replicate its input current I A to its output current I LED . In an alternate embodiment, current source 28 can be implemented in any architecture. [0036] FIGS. 6A and 6B illustrate a portion of the operation of optical sensing system 10 in accordance with an embodiment of the present invention. Referring to Figure 6A, curve 70 depicts (at a given fixed input current) the radiant energy output of LED 12 as a function of ambient temperature prior to temperature compensation. The radiant energy output of LED 12 decreases as the ambient temperature increases from temperature t 1 to temperature t 2 . Referring to FIG. 6B, the relationship between the currents I S , I R , and I LEDs is illustrated. The current I S increases linearly with the first order as a function of ambient temperature (curve 74). The current I R is independent of the ambient temperature (curve 76). The current I LED increases linearly with first order as a function of ambient temperature (curve 78). In the example, the various components of the LED driver circuit of FIG. 1 and the control vectors W S , W R , and A CRTL are selected such that curve 78 complements curve 70. [0038] FIG. 6A further illustrates the radiant energy output of LED 12 after being temperature compensated using the I LED , which is shown in curve 72. As the ambient temperature increases from temperature t 1 to temperature t 2 , the radiant energy output of LED 12 remains constant or nearly constant (eg, the variation is within a user selected threshold), which overcomes the previously discussed temperature And the problem is changing. FIG. 7 illustrates a flow chart of a method 100 of temperature compensation for a given LED 12. FIG. 8 illustrates a flow chart of a method 150 of calibration of portions of optical sensing system 10. Each or all of methods 100 and 150 can be performed by optical sensing system 10. It is understood that additional operations may be provided before, during, and after each of methods 100 and 150, and that some of the operations may be substituted, eliminated, or changed in order for other embodiments of the methods. The methods 100 and 150 are merely examples, and are not intended to limit the invention to those specifically recited in the claims. [0040] Referring to FIG. 7, method 100 includes operations 102, 104, 106, 108, 110, and 112. These operations are further discussed below in conjunction with Figures 1 through 6B above. [0041] providing a first current I S in operation 102, the method 100, in the first-order increase linearly as the ambient temperature increases (see FIG. 1, 2A, 2B, and 6B). At operation 104, method 100 provides a second current I R that is independent of ambient temperature (see Figures 1, 3, and 6B). At operation 106, the method 100 first weight W S is applied to the first current I S, so as to generate a first weighted current I WS (see FIG. 1 and 4). At operation 108, method 100 applies a second weight W R to second current I R to generate a second weighted current I WR (see FIGS. 1 and 4). At operation 110, method 100 combines first and second weighted currents I WS and I WR to produce a combined weighted current I B (see FIG. 1). At operation 112, method 100 applies a current I LED derived from the combined weighted current I B to LED 12 (see Figures 1, 5, and 6B). In an embodiment, the derived current I LED is obtained by multiplying the combined weighted current I B by the amplitude control vector A CRTL (see Figure 1). Referring to FIG. 8, method 150 includes operations 152, 154, 156, 158, 160, 162, 164, and 166. These operations are further discussed below in conjunction with Figures 1 through 7 above. Measurement, calculation, and storage may be implemented by executing computer readable code processing logic, such as control unit 24, to provide the functionality described herein. In an embodiment, operations 152 through 166 are performed with optical sensing system 10 placed in a temperature chamber. The temperature chamber can be controlled to set the ambient temperature for the optical sensing system 10. [0043] At operation 152, method 150 initializes various components of optical sensing system 10 (FIG. 1). In an embodiment, operation 152 includes initializing an amplitude control vector A CRTL . In an embodiment, this is implemented as part of a calibration procedure for LED 12 and photodiode 14. For example, the amplitude control vector A CRTL can be set such that the LED 12 and the photodiode 14 operate properly for a desired detection sensitivity at a nominal operating temperature, such as room temperature. In an embodiment, operation 152 further comprises initializing the weights W S and W R, and the use of various weights W S and W R 7, and the sum is operable to provide an initial current I LED. Operation 152 can include an initial value of a parameter set to a preset value that can be adjusted during method 150. [0044] At operation 154, method 150 measures the radiant energy output of LED 12 as a baseline power. Operation 154 may use a thermal detector, a quantum detector, or any other suitable detector. This measurement can be performed at a nominal operating temperature such as room temperature. [0045] At operation 156, method 150 sets an ambient temperature that is different than the nominal operating temperature. For example, this temperature can be the highest or lowest operating temperature that is intended for the optical sensing system 10. In an embodiment, the temperature chamber can be controlled to set different ambient temperatures. At operation 158, method 150 measures the radiant energy output of LED 12 at the temperature set at operation 156. In an embodiment, method 150 may repeat operations 156 and 158 multiple times at different selected temperatures. For example, the selected temperature can include the highest desired operating temperature, the lowest desired operating temperature, and the nominal operating temperature. In the example, the selected temperature comprises 0, 20, and 70 °C. Method 150 can select other temperatures and/or use more temperature points. However, at least two temperatures are selected in this calibration procedure. Method 150 records the radiant energy output of LED 12 as measured at each selected temperature. At operation 160, method 150 calculates a change (eg, percent change) in the radiant energy output of LED 12 at the selected ambient temperature point. [0048] At operation 162, method 150 checks if the change is within a critical value. The threshold can be designed by the user to be programmable and matched to the detection sensitivity in the photodiode 14. For example, the user can set the threshold to 5%. The threshold is one of the factors that affect the sensing resolution of optical sensing system 10. [0049] If the change in radiant energy output of LED 12 is within the threshold, method 150 stores various control information in non-volatile memory (eg, at control unit 24 or at another suitable location). Inside, it contains the amplitude control vector A CRTL and the weights W S and W R . This is done by operation 164. When the optical sensing system 10 is again powered down or powered on, the stored values are automatically loaded and applied to individual components of the system without recalibration. [0050] If the change in the radiant energy output of the LED 12 is outside of the threshold, the method 150 changes one or both of the weights W S and W R at operation 166 and returns to operation 154. The above operations 154, 156, 158, 160, 162, and 166 are repeated until the appropriate weights W S and W R groups are found. If all of the weights W S and W R have been searched and no solution is found, the method 150 can take other actions, such as replacing the LED 12 or replacing another component of the optical sensing system 10. [0051] While not intending to be limiting, one or more embodiments of the present invention provide many benefits to an optical sensing system that uses LEDs as a light source. Because most LEDs have the characteristic that their relative radiant energy output decreases as the ambient temperature increases, embodiments of the present invention provide circuits, systems, and methods that compensate for the operation of such LEDs below the temperature range. When the temperature changes within the operating temperature range, the temperature compensated LED in accordance with aspects of the present invention maintains its radiant energy output constant or nearly constant, which greatly improves the sensitivity of the optical sensing system. Various embodiments are applicable to other types of light sources having emission characteristics that vary with temperature. [0052] In one representative aspect, the invention relates to a temperature compensation circuit for a light source, such as a light emitting diode. The source has a characteristic that if the current flowing through the source remains constant, the radiant energy output of the source decreases as the ambient temperature increases. The temperature compensation circuit includes a first mechanism that causes a first current to flow, the first current increasing in proportion to an increase in ambient temperature. The temperature compensation circuit further includes a second mechanism for causing the second current to flow out, the second current system being independent of the ambient temperature. The temperature compensation circuit further includes a weighted current adder for causing the third current to flow out by combining the first and second currents with the first and second weights applied to the first and second currents, respectively. The temperature compensation circuit further includes a third mechanism responsive to the third current for supplying the fourth current to the light source such that the radiant energy output of the light source remains constant regardless of ambient temperature. [0053] In another representative aspect, the invention relates to a temperature compensated light source. The temperature compensated light source includes a light emitting diode (LED) for generating a radiant energy output in response to a first current applied to the LED, the LED having a radiant energy when the ambient temperature increases and the first current remains constant Reduced output characteristics. The temperature compensated light source further includes a first current source, a second current source, a weighted current adder, and a third current source. The first current source group is configured to generate a second current, and the second current is linearly increased in a first order. When the ambient temperature increases, the second current source system constitutes a third current, and the third current system is independent of the first step of the ambient temperature. The weighted current adder system is configured by respectively summing the second and third currents respectively and applying A fourth current is generated at the first and second weights of the second and third currents, and the third current source is responsive to the fourth current and is configured to supply a temperature compensated first current to the LED. [0054] In yet another representative aspect, the present invention is directed to a method of compensating a light emitting diode (LED) to operate below an ambient temperature range. The method includes providing a first order linear increase in a first current when the ambient temperature is increased, providing a second current independent of ambient temperature, applying a first weight to the first current to generate a first weighted current, and a second A weight is applied to the second current to generate a second weighted current, and a third current is generated by summing the first weighted current and the second weighted current. The method further includes applying a third current to apply the fourth current to the LED. [0055] The above summary is a brief description of the features of several embodiments, and those skilled in the art may have a better understanding of the aspects of the invention. It will be appreciated by those skilled in the art that they can readily use the present invention as a basis for designing or modifying other processes and structures for performing the same purpose and/or achieving the same as the embodiments described herein. advantage. It is also to be understood by those skilled in the art that such equivalent constructions are not in the spirit and scope of the invention, and it is understood that they may make various changes, substitutions, and substitutions herein without From the spirit and scope of the invention.

[0056][0056]

10‧‧‧光學感測系統10‧‧‧ Optical sensing system

11‧‧‧LED的陽極11‧‧‧LED anode

12‧‧‧發光二極體(LED)12‧‧‧Lighting diode (LED)

13‧‧‧LED的陰極13‧‧‧LED cathode

14‧‧‧光二極體14‧‧‧Light diode

15‧‧‧光二極體的陽極15‧‧‧ anode of light diode

16‧‧‧偵測電路16‧‧‧Detection circuit

17‧‧‧光二極體的陰極17‧‧‧ cathode of photodiode

18‧‧‧隨溫度而變的電流產生器18‧‧‧ Current generators that vary with temperature

19‧‧‧帶差電壓參考電路19‧‧‧Differential voltage reference circuit

20‧‧‧不隨溫度而變的電流產生器20‧‧‧ Current generators that do not change with temperature

22‧‧‧電流加法器22‧‧‧current adder

24‧‧‧控制單元24‧‧‧Control unit

26‧‧‧電流乘法器26‧‧‧ Current Multiplier

28‧‧‧電流源28‧‧‧current source

30‧‧‧開關30‧‧‧ switch

32‧‧‧共同節點32‧‧‧Common node

36‧‧‧節點36‧‧‧ nodes

38‧‧‧節點38‧‧‧ nodes

42‧‧‧節點42‧‧‧ nodes

45‧‧‧節點45‧‧‧ nodes

46‧‧‧輸出節點46‧‧‧ Output node

47‧‧‧電流鏡47‧‧‧current mirror

50‧‧‧節點50‧‧‧ nodes

56‧‧‧節點56‧‧‧ nodes

62‧‧‧節點62‧‧‧ nodes

65‧‧‧電流鏡65‧‧‧current mirror

66‧‧‧節點66‧‧‧ nodes

70, 72, 74, 76, 78‧‧‧曲線70, 72, 74, 76, 78‧‧‧ Curve

100, 150‧‧‧方法100, 150‧‧‧ method

102, 104, 106, 108, 110, 112, 152, 154, 156, 158, 160, 162, 164, 166‧‧‧操作102, 104, 106, 108, 110, 112, 152, 154, 156, 158, 160, 162, 164, 166‧‧

Q1, Q1’‧‧‧雙極電晶體Q 1 , Q 1 '‧‧‧ Bipolar transistor

R1, R2, R3, R4‧‧‧電阻器R 1 , R 2 , R 3 , R 4 ‧‧‧ resistors

X1, X2‧‧‧運算放大器X 1 , X 2 ‧‧‧Operational Amplifier

M1, M2, M3, M4, M5, M6, M7, M8-i, M9, M10‧‧‧場效電晶體M 1 , M 2 , M 3 , M 4 , M 5 , M 6 , M 7 , M 8-i , M 9 , M 10 ‧‧‧ field effect transistor

[0004] 當閱讀附圖時,本發明之態樣從下面的詳細說明獲得最佳的了解。在此強調,依據工業的標準操作規程(standard practice),各式各樣的特徵並未按尺寸繪出。實際上,為了討論上的清楚明瞭,各種特徵的尺寸大小可以任意地擴增或縮減。   圖1係依據本發明態樣之光學感測系統的簡化方塊圖;   圖2A係依據本發明之實施例,圖1中包含電流源模組之光學感測系統的局部示意圖;   圖2B係依據本發明之另一實施例,圖1中包含電流源模組之光學感測系統的局部示意圖;   圖3係依據本發明之實施例,圖1中包含另一電流源模組之光學感測系統的局部示意圖;   圖4係依據本發明之實施例,圖1中光學感測系統之加權電流加法器的局部示意圖;   圖5係依據本發明之實施例,圖1中之光學感測系統的局部示意圖;   圖6A和6B繪示依據本發明之實施例,圖1中之光學感測系統的部分操作;   圖7顯示依據本發明之實施例,圖1中光學感測系統之LED之補償方法的流程圖;以及   圖8顯示依據本發明之實施例,圖1中光學感測系統之部分組件之校準方法的流程圖。The aspects of the invention are best understood from the following detailed description. It is emphasized here that, according to the industry's standard practice, various features are not drawn to size. In fact, the dimensions of the various features may be arbitrarily expanded or reduced for clarity of discussion. 1 is a simplified block diagram of an optical sensing system in accordance with an aspect of the present invention; FIG. 2A is a partial schematic view of the optical sensing system including the current source module of FIG. 1 in accordance with an embodiment of the present invention; Another embodiment of the invention, FIG. 1 is a partial schematic diagram of an optical sensing system including a current source module; FIG. 3 is an optical sensing system including another current source module of FIG. 1 according to an embodiment of the present invention; FIG. 4 is a partial schematic view of a weighted current adder of the optical sensing system of FIG. 1 according to an embodiment of the present invention; FIG. 5 is a partial schematic view of the optical sensing system of FIG. 1 according to an embodiment of the present invention; 6A and 6B illustrate a portion of the operation of the optical sensing system of FIG. 1 in accordance with an embodiment of the present invention; and FIG. 7 illustrates a flow of a method for compensating an LED of the optical sensing system of FIG. 1 in accordance with an embodiment of the present invention; Figure 8 and Figure 8 show a flow chart of a method of calibrating some of the components of the optical sensing system of Figure 1 in accordance with an embodiment of the present invention.

Claims (20)

一種用於光源的溫度補償電路,該光源具有如果流經該光源的電流保持恆定,則當環境溫度增加時,該光源的輻射能輸出減少之特性,該溫度補償電路包括:   用以使第一電流流出的第一機構,該第一電流和環境溫度的增加成正比地增加;   用以使第二電流流出的第二機構,該第二電流係與環境溫度一階無關的;   用以使第三電流流出的加權電流加法器,藉由將該第一和第二電流分別與施加於該第一和第二電流的第一和第二權重相結合;以及   第三機構,回應該第三電流,用以將第四電流供應至該光源,以使該光源的輻射能輸出保持恆定而與環境溫度無關。A temperature compensation circuit for a light source having a characteristic that a radiant energy output of the light source is reduced when the ambient temperature is increased if the current flowing through the light source is kept constant, the temperature compensation circuit comprising: a first mechanism through which current flows, the first current increases in proportion to an increase in ambient temperature; a second mechanism for causing the second current to flow out, the second current system being independent of ambient temperature; a three current flowing out weighted current adder by combining the first and second currents with first and second weights respectively applied to the first and second currents; and the third mechanism, responsive to the third current And a fourth current is supplied to the light source such that the radiant energy output of the light source remains constant regardless of ambient temperature. 如申請專利範圍第1項的溫度補償電路,另包括:   電流乘法器,係耦接在該加權電流加法器與該第三機構之間,該電流乘法器係操作成將該第三電流乘以振幅控制輸入。The temperature compensation circuit of claim 1, further comprising: a current multiplier coupled between the weighted current adder and the third mechanism, the current multiplier operating to multiply the third current by Amplitude control input. 如申請專利範圍第2項的溫度補償電路,其中,該第一權重、該第二權重、和該振幅控制輸入被非揮發性記憶體所儲存為數字位元。The temperature compensation circuit of claim 2, wherein the first weight, the second weight, and the amplitude control input are stored as digital bits by the non-volatile memory. 如申請專利範圍第1項的溫度補償電路,其中,該第一機構包含:   雙極電晶體,係組構成於順向模式中,該雙極電晶體係連接在第一節點與第二節點之間,並且在該第二節點處提供第一電壓電位,該第一電壓電位線性地減少於當環境溫度增加時;   運算放大器,該運算放大器具有第一及第二輸入端子和輸出端子,該第一輸入端子係耦接至與環境溫度一階無關的第二電壓電位,該第二輸入端子係耦接至第三節點;   電流鏡,該電流鏡回應施加於其之第五電流而產生該第一電流;   場效電晶體,具有耦接至該運算放大器之該輸出端子的閘極端子、耦接至該第三節點的源極端子、和耦接至該電流鏡用以提供該第五電流的汲極端子;以及   耦接在該第三節點與該第二節點之間的第一電阻器,該第一電阻器的電阻值係與環境溫度一階無關的。The temperature compensation circuit of claim 1, wherein the first mechanism comprises: a bipolar transistor, the system is formed in a forward mode, and the bipolar electro-crystal system is connected to the first node and the second node. And providing a first voltage potential at the second node, the first voltage potential being linearly reduced when the ambient temperature is increased; an operational amplifier having first and second input terminals and an output terminal, the An input terminal is coupled to a second voltage potential independent of a first order of ambient temperature, the second input terminal is coupled to the third node; a current mirror, the current mirror is responsive to a fifth current applied thereto to generate the first a field effect transistor having a gate terminal coupled to the output terminal of the operational amplifier, a source terminal coupled to the third node, and a current mirror coupled to the fifth current And a first resistor coupled between the third node and the second node, the resistance value of the first resistor being independent of ambient temperature. 如申請專利範圍第4項的溫度補償電路,其中,該第二電壓電位係藉由以串聯連接在參考電壓與該第一節點之間的第二和第三電阻器來分壓該參考電壓來予以提供,其中,該參考電壓係與環境溫度一階無關的,其中,該第二和第三電阻器的電阻值係與環境溫度一階無關的。The temperature compensation circuit of claim 4, wherein the second voltage potential is divided by the second and third resistors connected in series between the reference voltage and the first node. Provided, wherein the reference voltage is independent of the ambient temperature, wherein the resistance values of the second and third resistors are independent of the ambient temperature. 如申請專利範圍第5項的溫度補償電路,另包括:   供應該參考電壓的帶差電壓參考電路,其中,該參考電壓也被供應至該第二機構。The temperature compensation circuit of claim 5, further comprising: a differential voltage reference circuit for supplying the reference voltage, wherein the reference voltage is also supplied to the second mechanism. 如申請專利範圍第4項的溫度補償電路,其中,該雙極電晶體為PNP電晶體,其射極係耦接至該第二節點,且其基極和集極係耦接至該第一節點。The temperature compensation circuit of claim 4, wherein the bipolar transistor is a PNP transistor, the emitter is coupled to the second node, and the base and the collector are coupled to the first node. 如申請專利範圍第4項的溫度補償電路,其中,該雙極電晶體為NPN電晶體,其射極係耦接至該第一節點,且其基極和集極係耦接至該第二節點。The temperature compensation circuit of claim 4, wherein the bipolar transistor is an NPN transistor, the emitter is coupled to the first node, and the base and the collector are coupled to the second node. 一種經溫度補償的光源,包括:   發光二極體(LED),係組構成回應於施加至該LED之第一電流而產生輻射能輸出,該LED具有當環境溫度增加且該第一電流保持恆定時該輻射能輸出減少的特性;   第一電流源,係組構成產生第二電流,該第二電流一階線性地增加於環境溫度增加時;   第二電流源,係組構成產生第三電流,該第三電流係與環境溫度一階無關的;   加權電流加法器,係組構成藉由分別加總該第二和第三電流分別與施加於該第二和第三電流的第一和第二權重而產生第四電流;以及   第三電流源,係回應於該第四電流而且被組構成將經溫度補償的第一電流供應至該LED。A temperature compensated light source comprising: a light emitting diode (LED) configured to generate a radiant energy output in response to a first current applied to the LED, the LED having an increase in ambient temperature and the first current remaining constant The radiant energy output is reduced in characteristics; the first current source is configured to generate a second current, the second current is linearly increased first-order when the ambient temperature is increased; and the second current source is configured to generate a third current, The third current system is independent of the first order of the ambient temperature; the weighted current adder is configured to respectively add the second and third currents to the first and second currents respectively applied to the second and third currents The fourth current is generated by weighting; and the third current source is responsive to the fourth current and is configured to supply a temperature compensated first current to the LED. 如申請專利範圍第9項之經溫度補償的光源,另包括:   帶差電壓參考電路,係組構成將相同的參考電壓供應至該第一和第二電流源。The temperature compensated light source of claim 9 is further characterized by: a differential voltage reference circuit configured to supply the same reference voltage to the first and second current sources. 如申請專利範圍第9項之經溫度補償的光源,其中,該第一電流源包含:   雙極電晶體,係組構成於順向模式中,該雙極電晶體係連接在第一節點與第二節點之間,並且被組構成在該第二節點處提供第一電壓電位,該第一電壓電位一階線性地減少於當環境溫度增加時,其中,該第一節點被接地;   耦接在該第二節點與第三節點之間的第一電阻器,該第一電阻器的電阻值係與環境溫度一階無關的;   運算放大器,該運算放大器具有第一及第二輸入端子和輸出端子,該第一輸入端子係耦接至與環境溫度一階無關的第二電壓電位,該第二輸入端子係耦接至該第三節點;   場效電晶體,具有耦接至該運算放大器之該輸出端子的閘極端子、耦接至該第三節點的源極端子、和組構成提供第五電流的汲極端子;以及   電流鏡,係耦接至該場效電晶體之該汲極端子,並且被組構成回應該第五電流而產生該第二電流。The temperature compensated light source of claim 9, wherein the first current source comprises: a bipolar transistor, the system is formed in a forward mode, and the bipolar electro-crystal system is connected to the first node and the Between the two nodes, and configured to provide a first voltage potential at the second node, the first voltage potential is linearly reduced in a first order when the ambient temperature increases, wherein the first node is grounded; a first resistor between the second node and the third node, the resistance value of the first resistor is independent of ambient temperature; an operational amplifier having first and second input terminals and an output terminal The first input terminal is coupled to a second voltage potential that is independent of the first step of the ambient temperature, the second input terminal is coupled to the third node; the field effect transistor has a coupling to the operational amplifier a gate terminal of the output terminal, a source terminal coupled to the third node, and a group forming a 汲 terminal that provides a fifth current; and a current mirror coupled to the field effect transistor The drain terminal, and is set back to be configured to generate the fifth current and the second current. 如申請專利範圍第11項之經溫度補償的光源,另包括:   串聯連接在參考電壓與該第一節點之間的第二和第三電阻器,其中,該參考電壓係與環境溫度一階無關的,其中,該第二和第三電阻器的電阻值係與環境溫度一階無關的,且其中,在該第二與第三電阻器之間的第四節點係耦接至該運算放大器之該第一輸入端子並且被組構成提供該第二電壓電位。The temperature compensated light source of claim 11, further comprising: a second and a third resistor connected in series between the reference voltage and the first node, wherein the reference voltage is independent of ambient temperature first order The resistance values of the second and third resistors are first-order independent of the ambient temperature, and wherein the fourth node between the second and third resistors is coupled to the operational amplifier The first input terminal is also grouped to provide the second voltage potential. 如申請專利範圍第11項之經溫度補償的光源,其中,該雙極電晶體為PNP電晶體,其射極係耦接至該第二節點,且其基極和集極係耦接至該第一節點。The temperature-compensated light source of claim 11, wherein the bipolar transistor is a PNP transistor, an emitter is coupled to the second node, and a base and a collector are coupled thereto. The first node. 如申請專利範圍第9項之經溫度補償的光源,另包括:   電流乘法器,係耦接在該加權電流加法器與該第三電流源之間,該電流乘法器係組構成將該第四電流乘以第一控制輸入。The temperature-compensated light source of claim 9 further comprising: a current multiplier coupled between the weighted current adder and the third current source, the current multiplier group forming the fourth The current is multiplied by the first control input. 如申請專利範圍第14項之經溫度補償的光源,其中,該第一權重、該第二權重、和該第一控制輸入被非揮發性記憶體所儲存為數字位元。The temperature compensated light source of claim 14, wherein the first weight, the second weight, and the first control input are stored as digital bits by the non-volatile memory. 一種補償發光二極體(LED)以工作於環境溫度範圍之下的方法,該方法包括:   提供一階線性地增加於環境溫度增加時之第一電流;   提供與環境溫度一階無關之第二電流;   將第一權重施加於該第一電流,藉以產生第一加權電流;   將第二權重施加於該第二電流,藉以產生第二加權電流;   藉由加總該第一加權電流和該第二加權電流而產生第三電流;以及   回應該第三電流而將第四電流施加於該LED。A method of compensating a light emitting diode (LED) to operate below an ambient temperature range, the method comprising: providing a first order linear increase in a first current when the ambient temperature is increased; providing a second independent of ambient temperature a current is applied to the first current to generate a first weighted current; a second weight is applied to the second current to generate a second weighted current; and the first weighted current and the first The second current is generated by the two weighted currents; and the third current is applied to apply the fourth current to the LEDs. 如申請專利範圍第16項之方法,另包括:   在選自該環境溫度範圍的至少二環境溫度之下,測量該LED的輻射能輸出;   在該至少二環境溫度之下,計算該LED之該輻射能輸出的變化;以及   檢查該變化是否在臨界值之內。The method of claim 16, further comprising: measuring a radiant energy output of the LED under at least two ambient temperatures selected from the ambient temperature range; and calculating the LED under the at least two ambient temperatures The change in radiant energy output; and checking if the change is within a critical value. 如申請專利範圍第17項之方法,如果該變化不在該臨界值之內,則另包括:   改變該第一和第二權重的至少其中一者的值;以及   重複下面的動作:施加該第一權重、施加該第二權重、產生該第三電流、施加該第四電流、測量該LED的該輻射能輸出、計算該變化、和檢查該變化。The method of claim 17, if the change is not within the threshold, further comprising: changing a value of at least one of the first and second weights; and repeating the following action: applying the first Weighting, applying the second weight, generating the third current, applying the fourth current, measuring the radiant energy output of the LED, calculating the change, and checking the change. 如申請專利範圍第17項之方法,如果該變化在該臨界值之內,則另包括:   將該第一權重和該第二權重寫入非揮發性記憶體內。For the method of claim 17, if the change is within the threshold, the method further comprises: writing the first weight and the second weight into the non-volatile memory. 如申請專利範圍第16項之方法,其中,將該第四電流施加於該LED包含將該第三電流乘以使用者輸入。The method of claim 16, wherein applying the fourth current to the LED comprises multiplying the third current by a user input.
TW106138816A 2017-11-09 2017-11-09 Temperature compensation in optical sensing system TWI662862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW106138816A TWI662862B (en) 2017-11-09 2017-11-09 Temperature compensation in optical sensing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW106138816A TWI662862B (en) 2017-11-09 2017-11-09 Temperature compensation in optical sensing system

Publications (2)

Publication Number Publication Date
TW201919443A true TW201919443A (en) 2019-05-16
TWI662862B TWI662862B (en) 2019-06-11

Family

ID=67347609

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106138816A TWI662862B (en) 2017-11-09 2017-11-09 Temperature compensation in optical sensing system

Country Status (1)

Country Link
TW (1) TWI662862B (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH10508452A (en) * 1995-08-29 1998-08-18 フィリップス、エレクトロニクス、ネムローゼ、フェンノートシャップ Circuit device with voltage-current converter
JP2007073543A (en) * 2005-09-02 2007-03-22 Ricoh Co Ltd Semiconductor laser driver and image forming apparatus having semiconductor laser driver
US8264171B1 (en) * 2009-05-22 2012-09-11 Ixys Corporation In-situ LED junction temperature monitoring using LED as temperature sensor
TWI461875B (en) * 2012-07-06 2014-11-21 Univ Nat Chi Nan Optical power control system and its optical power control device

Also Published As

Publication number Publication date
TWI662862B (en) 2019-06-11

Similar Documents

Publication Publication Date Title
US10667350B2 (en) Temperature compensation in optical sensing system
JP5189882B2 (en) Temperature sensor circuit
JP5836074B2 (en) Temperature detection circuit and adjustment method thereof
US7224210B2 (en) Voltage reference generator circuit subtracting CTAT current from PTAT current
US8222955B2 (en) Compensated bandgap
US20080061865A1 (en) Apparatus and method for providing a temperature dependent output signal
KR100888483B1 (en) Reference bias circuit of compensating for process variation
EP0492117A2 (en) Current source with adjustable temperature variation
JP7024703B2 (en) Power amplifier circuit and electronic equipment
TWI377462B (en) Low voltage bandgap reference circuit
WO2018059894A1 (en) Measurement circuitry for evaluating a resistance of a resistive gas sensor
US20100237926A1 (en) Voltage generating circuit
JPH07321392A (en) Automatic temperature control circuit for laser diode and electro-optical signal conversion unit
US7602247B2 (en) Variable gain amplifier and AC power supply device using the same
US7856039B2 (en) Semiconductor device and semiconductor laser driving device
TWI662862B (en) Temperature compensation in optical sensing system
TWI490678B (en) Voltage generating apparatus
US7582887B1 (en) Optocoupler current transfer ratio temperature compensation method and apparatus
US6650176B1 (en) N-well resistor leakage cancellation
JP6729449B2 (en) Semiconductor device
TWI802858B (en) Temperature detector
JP7421356B2 (en) temperature detection circuit
JP7126931B2 (en) Overheat protection circuit and semiconductor device
JP4970200B2 (en) Voltage detection circuit
TWI240472B (en) Laser transmitting apparatus and making method thereof

Legal Events

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