TWI507082B - Controller and method for powering light emitting diode light source and portable lighting device - Google Patents

Controller and method for powering light emitting diode light source and portable lighting device Download PDF

Info

Publication number
TWI507082B
TWI507082B TW101145722A TW101145722A TWI507082B TW I507082 B TWI507082 B TW I507082B TW 101145722 A TW101145722 A TW 101145722A TW 101145722 A TW101145722 A TW 101145722A TW I507082 B TWI507082 B TW I507082B
Authority
TW
Taiwan
Prior art keywords
voltage
signal
controller
voltage level
sensing
Prior art date
Application number
TW101145722A
Other languages
Chinese (zh)
Other versions
TW201336344A (en
Inventor
Yung Lin Lin
Sheng Tai Lee
Original Assignee
O2Micro Int Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from US13/400,121 external-priority patent/US8508142B2/en
Application filed by O2Micro Int Ltd filed Critical O2Micro Int Ltd
Publication of TW201336344A publication Critical patent/TW201336344A/en
Application granted granted Critical
Publication of TWI507082B publication Critical patent/TWI507082B/en

Links

Description

控制對發光二極體光源供電的控制器及方法、及可攜式照明裝置Controller and method for controlling power supply of light-emitting diode light source, and portable lighting device

本發明係有關一種照明裝置,更特別言之,係關於一種具有電源管理控制電路之可攜式照明裝置。The present invention relates to a lighting device, and more particularly to a portable lighting device having a power management control circuit.

圖1所示為傳統電源系統100的方塊圖。電源系統100包括第一電源(例如,適配器102)和第二電源(例如,電池110)。電源系統100還包括直流/直流(DC/DC)轉換器104、充電器106、開關103、開關105以及負載,如發光二極體108。適配器102耦接至交流電源(例如,120伏商用供電電壓),並將來自交流電源的一交流電壓轉換為一直流電壓VADFIG. 1 is a block diagram of a conventional power supply system 100. Power system 100 includes a first power source (eg, adapter 102) and a second power source (eg, battery 110). The power supply system 100 also includes a direct current/direct current (DC/DC) converter 104, a charger 106, a switch 103, a switch 105, and a load, such as a light emitting diode 108. The adapter 102 is coupled to an AC power source (eg, a 120 volt commercial supply voltage) and converts an AC voltage from the AC power source to a DC voltage V AD .

在操作時,當開關103導通且開關105斷開時,電源系統100工作在電池充電過程。充電器106接收適配器102所提供之一直流電壓VAD 並向電池110提供合適的充電電能。DC/DC轉換器104接收直流電壓VAD 並向發光二極體108提供調整後的電能。當開關105導通並且開關103斷開時,電池110經由DC/DC轉換器104向發光二極體108供電。In operation, when switch 103 is turned "on" and switch 105 is turned off, power system 100 operates during the battery charging process. The charger 106 receives one of the DC voltages V AD provided by the adapter 102 and provides suitable charging power to the battery 110. The DC/DC converter 104 receives the DC voltage V AD and provides the adjusted power to the LEDs 108. When the switch 105 is turned on and the switch 103 is turned off, the battery 110 supplies power to the light emitting diode 108 via the DC/DC converter 104.

然而,在傳統的電源系統100中存在兩個電源鏈。一個電源鏈包括充電器106,另外一個電源鏈包括DC/DC轉換器104。這兩個電源鏈增加了電源系統100的功率能耗,進而降低了電源系統100的功率效率。兩個電源鏈還增大了電源系統100的複雜性。此外,由於同時使用了充電器106和DC/DC轉換器104,電源系統100的印刷電路板尺 寸相應增加,進而增加了電源系統100的成本。However, there are two power supply chains in the conventional power supply system 100. One power supply chain includes a charger 106 and the other power supply chain includes a DC/DC converter 104. These two power chains increase the power consumption of the power system 100, which in turn reduces the power efficiency of the power system 100. The two power chains also increase the complexity of the power system 100. In addition, since the charger 106 and the DC/DC converter 104 are used at the same time, the printed circuit board of the power supply system 100 The corresponding increase in inch increases the cost of the power system 100.

傳統的可攜式照明裝置,如家用手電筒,一般採用白熾燈來照明。近年來,發光二極體逐(LED)漸發展為液晶顯示器(LCD)背光、家用照明燈具及街燈的光源。由於LED相較於白熾燈具較佳的發光效率及較長的使用壽命,故使用LED作為手電筒的光源亦逐漸普遍。Traditional portable lighting devices, such as household flashlights, are typically illuminated with incandescent lamps. In recent years, LEDs have evolved into light sources for liquid crystal display (LCD) backlights, home lighting fixtures, and street lamps. Since LEDs have better luminous efficiency and longer service life than incandescent lamps, the use of LEDs as light sources for flashlights is also becoming common.

傳統的手電筒需要電池作為供電。然而,在打開手電筒的瞬間,施加至燈具的突波將會損害燈具,進而降低燈具的使用壽命。最常見的解決方式是在燈具與電池間加入一限流電阻,以避免瞬間施加至燈具的大電流損壞燈具。然而,因在電路中新增電阻而所增加的功耗會嚴重縮短電池壽命。Traditional flashlights require a battery as a power source. However, at the moment the flashlight is turned on, the spur applied to the luminaire will damage the luminaire, which in turn reduces the life of the luminaire. The most common solution is to add a current limiting resistor between the luminaire and the battery to avoid large currents that are applied to the luminaire instantaneously and damage the luminaire. However, the increased power consumption due to the addition of resistors in the circuit can severely shorten battery life.

LED在導通發光時,通常會有一介於3.2伏特至4.0伏特的正向電壓。一個家用鹼性電池通常提供1.5伏特之電壓。因此,在現有使用LED為燈具之手電筒中,一個家用鹼性電池通常僅提供1.5V電壓,因此需要3個鹼性電池才足以對LED供電。When the LED is turned on, there is usually a forward voltage between 3.2 volts and 4.0 volts. A household alkaline battery typically provides a voltage of 1.5 volts. Therefore, in the existing flashlights using LEDs as lamps, a household alkaline battery usually only supplies 1.5V, so three alkaline batteries are needed to supply power to the LEDs.

圖7A所示為現有手電筒內的電路700的示意圖。電路700使用3個串聯的鹼性電池所形成的電池組710作為電路700的電源。每個鹼性電池提供1.5V電壓。電池組710藉由開關720提供能量,以驅動光源730(例如,LED)。在一實施例中,光源730具有3.2V的正向電壓且導通電流為100mA。電路700在光源730與電池組710之間設置一限流電阻740(例如,13歐姆)。Figure 7A shows a schematic diagram of a circuit 700 within a conventional flashlight. The circuit 700 uses a battery pack 710 formed of three alkaline batteries connected in series as a power source for the circuit 700. Each alkaline battery provides 1.5V. Battery pack 710 is powered by switch 720 to drive light source 730 (eg, an LED). In one embodiment, light source 730 has a forward voltage of 3.2V and an on current of 100 mA. Circuit 700 provides a current limiting resistor 740 (eg, 13 ohms) between source 730 and battery pack 710.

在操作中,限流電阻740的功耗為0.13W,而在光源 730上消耗0.32W。由此可知,光源730的功率僅為電池組710所提供之全部功率的71%。換言之,電池組710提供的部分能量浪費在限流電阻740上。因此,電池組710需要供應更多的能量,以維持光源730的亮度,進而加速電池組710的使用壽命降低。In operation, the current limiting resistor 740 consumes 0.13 W while the source is The 730 consumes 0.32W. It can be seen that the power of the light source 730 is only 71% of the total power provided by the battery pack 710. In other words, part of the energy provided by the battery pack 710 is wasted on the current limiting resistor 740. Therefore, the battery pack 710 needs to supply more energy to maintain the brightness of the light source 730, thereby accelerating the life of the battery pack 710.

若光源730因為製程或其他因素而在導通時具有4.0V的正向電壓,則位於光源730與電池組710間的限流電阻740將會限制流經光源730的電流約為38.5 mA。換言之,此時光源730的亮度將僅為原始設計規劃亮度(亦即流經光源730的電流為100mA)的38.5%。另一方面,若將該限流電阻740改為5歐姆,雖然可使正向電壓為4.0V的光源730的亮度達到原始設計的亮度(即流經光源730的電流為100mA),但對於其他正向電壓較低(如3.2V)的LED而言,則可能產生過電流現象,使得流經這些LED的電流增加(例如,260 mA),將導致這些LED的使用壽命降低。If the source 730 has a forward voltage of 4.0V when turned on due to process or other factors, the current limiting resistor 740 between the source 730 and the battery pack 710 will limit the current flowing through the source 730 to approximately 38.5 mA. In other words, at this time, the brightness of the light source 730 will be only 38.5% of the original design planned brightness (i.e., the current flowing through the light source 730 is 100 mA). On the other hand, if the current limiting resistor 740 is changed to 5 ohms, although the luminance of the light source 730 having a forward voltage of 4.0 V can be made to the original designed luminance (i.e., the current flowing through the light source 730 is 100 mA), For LEDs with a low forward voltage (eg 3.2V), overcurrent can occur, causing an increase in the current through these LEDs (eg 260 mA), which will result in a reduced lifetime of these LEDs.

圖7B所示為圖7A中的電路的性能圖750。傳統電路利用兩個1.5V之鹼性電池配合限流電阻以驅動電流為100mA的LED。如性能圖750可知,使用傳統電路的電池壽命約為100分鐘。Figure 7B shows a performance diagram 750 of the circuit of Figure 7A. The conventional circuit uses two 1.5V alkaline batteries with a current limiting resistor to drive an LED with a current of 100mA. As shown in performance map 750, the battery life using conventional circuitry is approximately 100 minutes.

此外,若使用者更換不同功率的LED,則此種使用限流電阻的電路將面臨實際應用上的限制。例如,若使用者希望獲得10倍的功率,而將額定電流為100mA的LED更換為1A的LED,然後由於限流電阻是預設設計且固定的,故流經LED的電流將不變,故無法符合使用者的期望。同時,由於電池組的配置需同時考量手電筒的機構設計,故 通常無法任意更換電池數目以改變電源供應量。總而言之,對於以電池驅動的手電筒應用而言,此種限流電阻既不實用又缺乏效率,對於電路設計與應用的靈活性造成困擾。In addition, if the user replaces LEDs of different powers, such a circuit using a current limiting resistor will face practical application limitations. For example, if the user wants to obtain 10 times the power and replace the LED with the rated current of 100 mA with the LED of 1 A, then since the current limiting resistor is preset and fixed, the current flowing through the LED will not change, so Unable to meet user expectations. At the same time, because the configuration of the battery pack needs to consider the mechanism design of the flashlight at the same time, It is usually not possible to change the number of batteries at will to change the power supply. In summary, for battery-powered flashlight applications, such current-limiting resistors are both impractical and inefficient, plaguing circuit design and application flexibility.

本發明的目的在於提供一種可攜式照明裝置,包括:一電源,提供一電壓;一負載電路,包括一發光二極體光源;以及一控制器,接收該電壓,並根據指示該電壓的一感測信號調節流經該發光二極體光源的一電流,其中,當指示該電壓的該感測信號高於一第一電壓位準時,該控制器將流經該發光二極體光源的該電流調節至一第一電流位準,且其中,當該指示該電壓的感測信號低於一第二電壓位準時,該控制器調節流經該發光二極體光源的該電流至一第二電流位準,且其中,當指示該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該控制器調節流經該發光二極體光源的該電流跟隨該感測信號變化。An object of the present invention is to provide a portable lighting device comprising: a power source for providing a voltage; a load circuit comprising a light emitting diode light source; and a controller for receiving the voltage and according to the one indicating the voltage The sensing signal adjusts a current flowing through the light emitting diode source, wherein when the sensing signal indicating the voltage is higher than a first voltage level, the controller will flow through the light emitting diode source The current is adjusted to a first current level, and wherein the controller adjusts the current flowing through the light emitting diode source to a second when the sensing signal indicating the voltage is lower than a second voltage level a current level, and wherein the controller adjusts the current flow through the light emitting diode source when the sense signal indicative of the voltage is between the first voltage level and the second voltage level The sensing signal changes.

本發明還提供一種對發光二極體光源供電的方法,包括:在一控制器的控制下,一電源向一發光二極體光源供電;該控制器接收指示該電源的一電壓的一感測信號;當指示該電源的該電壓的該感測信號高於一第一電壓位準時,該控制器將流經該發光二極體光源的一電流調節至一第一電流位準;當指示該電源的該電壓的該感測信號低於 一第二電壓位準時,該控制器將流經該發光二極體光源的該電流調節至一第二電流位準;以及當指示該電源的該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該控制器調節流經該發光二極體光源的該電流跟隨該感測信號變化。The invention also provides a method for supplying power to a light emitting diode light source, comprising: a power supply to a light emitting diode light source under control of a controller; the controller receiving a sensing indicating a voltage of the power source a signal; when the sensing signal indicating the voltage of the power source is higher than a first voltage level, the controller adjusts a current flowing through the light emitting diode source to a first current level; when indicating The sensing signal of the voltage of the power source is lower than The controller adjusts the current flowing through the LED source to a second current level at a second voltage level; and the sensing signal indicating the voltage of the power source is at the first voltage level The controller adjusts the current flowing through the light emitting diode source to follow the sense signal change when it is between the second voltage level and the second voltage level.

本發明還提供一種控制對發光二極體光源的供電的控制器,包括:一電源輸入端,耦接一電源,接收來自該電源的一電壓;一感測端,耦接該電源,接收指示該電源的該電壓的一感測信號;以及一回授端,接收指示流經該發光二極體光源的一電流的一回授信號,其中,該控制器根據該回授信號和該感測信號產生指示流經該發光二極體光源的一目標電流的一參考信號,並根據該回授信號和該參考信號調節流經該發光二極體光源的一電流,當指示該電源的該電壓的該感測信號高於一第一電壓位準時,該參考信號的一電壓處於該第一電壓位準;當指示該電源的該電壓的該感測信號低於一第二電壓位準時,該參考信號的該電壓處於該第二電壓位準;當指示該電源的該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該參考信號的該電壓跟隨該感測信號線性變化。The invention also provides a controller for controlling power supply to a light emitting diode light source, comprising: a power input end coupled to a power source for receiving a voltage from the power source; and a sensing end coupled to the power source for receiving an indication a sensing signal of the voltage of the power source; and a feedback terminal receiving a feedback signal indicating a current flowing through the light emitting diode source, wherein the controller is based on the feedback signal and the sensing The signal generates a reference signal indicating a target current flowing through the light emitting diode light source, and adjusts a current flowing through the light emitting diode light source according to the feedback signal and the reference signal, when the voltage of the power source is indicated When the sensing signal is higher than a first voltage level, a voltage of the reference signal is at the first voltage level; when the sensing signal indicating the voltage of the power source is lower than a second voltage level, The voltage of the reference signal is at the second voltage level; when the sense signal indicating the voltage of the power source is between the first voltage level and the second voltage level, the voltage of the reference signal follows The Detection signal changes linearly.

以下將對本發明的實施例給出詳細的說明。雖然本發明將結合實施例進行闡述,但應理解這並非意指將本發明 限定於這些實施例。相反地,本發明意在涵蓋由後附申請專利範圍所界定的本發明精神和範圍內所定義的各種變化、修改和均等物。A detailed description of the embodiments of the present invention will be given below. Although the invention will be described in connection with the embodiments, it should be understood that this is not intended to mean the invention Limited to these embodiments. Rather, the invention is to cover various modifications, equivalents, and equivalents of the invention as defined by the scope of the appended claims.

此外,在以下對本發明的詳細描述中,為了提供針對本發明的完全的理解,提供了大量的具體細節。然而,於本技術領域中具有通常知識者將理解,沒有這些具體細節,本發明同樣可以實施。在另外的一些實例中,對於大家熟知的方法、程序、元件和電路未作詳細描述,以便於凸顯本發明之主旨。In addition, in the following detailed description of the embodiments of the invention However, it will be understood by those of ordinary skill in the art that the present invention may be practiced without these specific details. In other instances, well-known methods, procedures, components, and circuits have not been described in detail in order to facilitate the invention.

圖2所示為根據本發明一個實施例的電源系統200的方塊圖。在圖2所示的實施例中,電源系統200包含第一電源(例如,適配器202)、第二電源(例如,電池210)、開關203、205和207、控制器206以及負載,如發光二極體208。適配器202接收一交流電壓或者一直流電壓並輸出一直流電壓(例如,適配器輸出電壓VAD )。在一個實施例中,電源系統200可選擇性地工作於充電模式或者負載供電模式。控制器206與適配器202和電池210相耦接,並比較適配器輸出電壓VAD 與電池電壓VBAT 。當適配器輸出電壓VAD 大於電池電壓VBAT 時,控制器206控制適配器202在充電模式下經由開關203和207對電池210進行充電。更具體地說,在充電模式下,控制器206斷開開關205,並且交替地導通開關203和207,進而使得適配器202對電池210進行充電。適配器202可根據電池210的狀態(例如,電池電壓)對電池進行定電流充電或者定電壓充電。當電池電壓VBAT 大於適配器輸出電壓VAD 時,控制器206控制 電池210在負載供電模式下經由開關205和207對發光二極體208進行供電。更具體地說,在負載供電模式下,控制器206斷開開關203,並且交替地導通開關205和207,進而使得電池210對發光二極體208進行供電。在一個實施例中,控制器206可與開關203、205和207一起整合於積體電路(這裏稱為控制電路220)中。儘管將電源系統200與適配器202、電池210和發光二極體208相聯繫進行描述,但是本發明並不局限於此。適配器202和電池210可以由其他類型的電源所替換;發光二極體208也可以由多個LED光源或者其他類型和數目的光源或者負載所替換。2 is a block diagram of a power supply system 200 in accordance with one embodiment of the present invention. In the embodiment shown in FIG. 2, power system 200 includes a first power source (eg, adapter 202), a second power source (eg, battery 210), switches 203, 205, and 207, a controller 206, and a load, such as a light emitting diode. Polar body 208. Adapter 202 receives an AC voltage or a DC voltage and outputs a DC voltage (eg, adapter output voltage V AD ). In one embodiment, power system 200 can selectively operate in a charging mode or a load powering mode. The controller 206 is coupled to the adapter 202 and the battery 210 and compares the adapter output voltage V AD with the battery voltage V BAT . When the adapter output voltage V AD is greater than the battery voltage V BAT , the controller 206 controls the adapter 202 to charge the battery 210 via the switches 203 and 207 in the charging mode. More specifically, in the charging mode, the controller 206 turns off the switch 205 and alternately turns on the switches 203 and 207, thereby causing the adapter 202 to charge the battery 210. The adapter 202 can steadily charge or voltage-charge the battery according to the state of the battery 210 (eg, battery voltage). When the battery voltage V BAT is greater than the adapter output voltage V AD , the controller 206 controls the battery 210 to power the light emitting diode 208 via the switches 205 and 207 in the load power mode. More specifically, in the load power mode, the controller 206 turns off the switch 203 and alternately turns on the switches 205 and 207, thereby causing the battery 210 to power the light emitting diode 208. In one embodiment, controller 206 can be integrated with integrated circuits (referred to herein as control circuit 220) along with switches 203, 205, and 207. Although the power supply system 200 is described in connection with the adapter 202, the battery 210, and the light emitting diode 208, the present invention is not limited thereto. Adapter 202 and battery 210 may be replaced by other types of power sources; light emitting diodes 208 may also be replaced by multiple LED light sources or other types and numbers of light sources or loads.

在一個實施例中,控制器206包含輸出埠CTR1、CTR2和CTR3。輸出埠CTR1用於控制開關203;輸出埠CTR2用於控制開關205;輸出埠CTR3用於控制開關207。開關203、205和207可為N通道金屬氧化物半導體場效電晶體(MOSFET)。當輸出埠CTR1、CTR2或者CTR3的輸出控制信號為邏輯高電位時,相對應的開關203、205或者207導通;當輸出埠CTR1、CTR2或者CTR3的輸出控制信號為邏輯低電位時,相對應的開關203、205或者207斷開。控制器206還包含輸入埠VAD、VBAT、ICHG、VLED、ILED以及UVLS。輸入埠VAD用於檢測適配器輸出電壓VAD ;輸入埠VBAT用於檢測電池電壓VBAT ;在埠VBAT的配合下,輸入埠ICHG透過監測感應電阻216兩端的電壓V216 來檢測電池210的充電電流ICHG ;埠VLED接收表示發光二極體208的陽極電壓VLED 的信號;在埠VLED的配合下,埠ILED透過監測感 應電阻212的電壓V212 來檢測流經發光二極體208的電流ILED ;埠UVLS與分壓電阻230相耦接,並接收一指示電池電壓VBAT 的電壓VUVLS (例如,電壓VUVLS 與電池電壓VBAT 成比例)。在一個實施例中,控制器206基於電壓VUVLS 調節一可調節參考電壓VADJ 。控制器206根據可調節參考電壓VADJ 調節流經發光二極體208的電流ILED 。控制器206還進一步包括用於指示電池210狀態(例如,電池210是否充電完成)的埠STATUS。In one embodiment, controller 206 includes outputs CTR1, CTR2, and CTR3. The output 埠CTR1 is used to control the switch 203; the output 埠CTR2 is used to control the switch 205; and the output 埠CTR3 is used to control the switch 207. Switches 203, 205, and 207 can be N-channel metal oxide semiconductor field effect transistors (MOSFETs). When the output control signal of the output 埠CTR1, CTR2 or CTR3 is logic high, the corresponding switch 203, 205 or 207 is turned on; when the output control signal of the output 埠CTR1, CTR2 or CTR3 is logic low, the corresponding Switch 203, 205 or 207 is open. Controller 206 also includes inputs 埠VAD, VBAT, ICHG, VLED, ILED, and UVLS. The input 埠VAD is used to detect the adapter output voltage V AD ; the input 埠VBAT is used to detect the battery voltage V BAT ; with the cooperation of 埠VBAT, the input 埠ICHG detects the charging current of the battery 210 by monitoring the voltage V 216 across the sense resistor 216 I CHG ; 埠VLED receives a signal indicating the anode voltage V LED of the light-emitting diode 208; with the cooperation of the 埠VLED, the 埠ILED detects the current flowing through the light-emitting diode 208 by monitoring the voltage V 212 of the sense resistor 212. LED ; 埠UVLS is coupled to voltage divider resistor 230 and receives a voltage V UVLS indicative of battery voltage V BAT (eg, voltage V UVLS is proportional to battery voltage V BAT ). In one embodiment, controller 206 adjusts an adjustable reference voltage V ADJ based on voltage V UVLS . The controller 206 regulates the current I LED flowing through the LED 208 in accordance with the adjustable reference voltage V ADJ . The controller 206 also further includes a 埠 STATUS for indicating the status of the battery 210 (eg, whether the battery 210 is fully charged).

當適配器202與電源(例如,120伏商用供電電壓)相耦接時,適配器202將該電源電壓轉換成直流電壓VAD 。控制器206比較適配器202所輸出之適配器輸出電壓VAD 與電池電壓VBAT 。在一個實施例中,當適配器輸出電壓VAD 大於電池電壓VBAT 並且電池210沒有完成充電(例如,電池電壓VBAT 小於一個臨限值)時,電源系統200工作於充電模式。When the adapter 202 is coupled to a power source (eg, a 120 volt commercial supply voltage), the adapter 202 converts the supply voltage to a DC voltage V AD . The controller 206 compares the adapter output voltage V AD and the battery voltage V BAT output by the adapter 202. In one embodiment, power supply system 200 operates in a charging mode when adapter output voltage V AD is greater than battery voltage V BAT and battery 210 is not fully charged (eg, battery voltage V BAT is less than a threshold).

圖3A所示為在充電模式下,控制器206的輸出埠CTR1、CTR2和CTR3的輸出控制信號的示例性時序圖。如圖3A所示,輸出埠CTR1和CTR3的輸出控制信號是非疊加的脈衝信號,如脈波寬度調變(PWM)信號,用以交替地導通開關203和207。輸出埠CTR2的輸出控制信號為邏輯低電位進而斷開開關205。3A shows an exemplary timing diagram of the output control signals of the outputs 埠CTR1, CTR2, and CTR3 of the controller 206 in the charging mode. As shown in FIG. 3A, the output control signals of the output ports CTR1 and CTR3 are non-superimposed pulse signals, such as pulse width modulation (PWM) signals, to alternately turn on the switches 203 and 207. The output control signal of the output 埠CTR2 is at a logic low level to turn off the switch 205.

如圖2所示,在充電模式下,開關203和207、電感214以及電容213做為降壓轉換器(buck converter)為電池210充電。更具體地說,當開關203導通且開關207斷開時,適配器202經由電感214對電池210充電。同時, 電感214儲存能量。當開關203斷開且開關207導通時,電感214放電以對電池210提供電能。As shown in FIG. 2, in the charging mode, switches 203 and 207, inductor 214, and capacitor 213 act as a buck converter to charge battery 210. More specifically, when switch 203 is turned on and switch 207 is turned off, adapter 202 charges battery 210 via inductor 214. Simultaneously, Inductor 214 stores energy. When switch 203 is open and switch 207 is turned on, inductor 214 is discharged to provide power to battery 210.

在一個實施例中,控制器206檢測電池電壓VBAT 和電池210的充電電流來控制充電過程。更具體地,在充電模式下,控制器206比較電池電壓VBAT 與預定臨限值VTH ,控制開關203的責任週期來調節適配器202提供給電池210的充電電能。當電池電壓VBAT 小於預定臨限值VTH 時,控制器206控制開關203和207進而在定電流階段對電池210充電,即以恒定的電流對電池210進行充電。例如,當感應電阻216的電壓V216 大於參考電壓VBATREF 時,即表示充電電流ICHG 大於預定充電電流IBATREF 時,控制器206透過減小開關203的責任週期來減小充電電流ICHG ;當感應電阻216的電壓V216 小於參考電壓VBATREF 時,即表示充電電流ICHG 小於預定充電電流IBATREF 時,控制器206透過增加開關203的責任週期來增大充電電流ICHG 。然而,當電池電壓VBAT 增加至預定臨限值VTH 時,控制器206控制開關203和207,進而在定電壓階段對電池210充電,即在一個實施例中,充電電壓可以保持為預定臨限值VTHIn one embodiment, controller 206 detects battery voltage V BAT and the charging current of battery 210 to control the charging process. More specifically, in the charging mode, the controller 206 compares the battery voltage V BAT with a predetermined threshold V TH , and controls the duty cycle of the switch 203 to adjust the charging power provided by the adapter 202 to the battery 210. When the battery voltage V BAT is less than the predetermined threshold V TH , the controller 206 controls the switches 203 and 207 to charge the battery 210 at a constant current stage, that is, to charge the battery 210 at a constant current. For example, when the voltage V 216 of the sense resistor 216 is greater than the reference voltage V BATREF , that is, when the charge current I CHG is greater than the predetermined charge current I BATREF , the controller 206 reduces the charge current I CHG by reducing the duty cycle of the switch 203 ; When the voltage V 216 of the sense resistor 216 is less than the reference voltage V BATREF , that is, when the charge current I CHG is less than the predetermined charge current I BATREF , the controller 206 increases the charge current I CHG by increasing the duty cycle of the switch 203 . However, when the battery voltage V BAT increases to a predetermined threshold V TH , the controller 206 controls the switches 203 and 207 to charge the battery 210 during the constant voltage phase, ie, in one embodiment, the charging voltage can remain as predetermined. Limit V TH .

控制器206還可以檢測電池210的參數,例如電壓、溫度以及電流等,進而確定是否有異常或者非期望的情況發生。在一個實施例中,控制器206比較所檢測到的電池電壓VBAT 與過電壓臨限值VOV ,以確定是否有過電壓的情況發生。如果檢測到的電池電壓VBAT 大於過電壓臨限值VOV ,則控制器206斷開開關203和207,進而結束對電池210的充電。The controller 206 can also detect parameters of the battery 210, such as voltage, temperature, and current, to determine if an abnormal or undesired condition has occurred. In one embodiment, controller 206 compares the detected battery voltage V BAT with the overvoltage threshold V OV to determine if an overvoltage condition has occurred. If the detected battery voltage V BAT is greater than the overvoltage threshold V OV , the controller 206 turns off the switches 203 and 207, thereby ending the charging of the battery 210.

控制器206還可比較用於指示電池210的充電電流ICHG 的信號(例如,感應電阻216的電壓V216 )與表示過充電電流IOC 的預設臨限值VOC ,進而確定是否有過電流的情況發生。如果感應電阻216的電壓V216 大於表示過充電電流IOC 的預設臨限值VOC ,控制器206則斷開開關203和207,進而結束對電池210的充電。The controller 206 can also compare a signal indicating the charging current I CHG of the battery 210 (eg, the voltage V 216 of the sense resistor 216 ) with a preset threshold V OC indicating the overcharge current I OC to determine whether there has ever been The current situation occurs. If the voltage sensing resistor 216 is greater than 216 V represents a charging current I OC preset threshold V OC, the controller 206 turns off the switch 203 and 207, thereby ending the charging of the battery 210.

控制器206還可以將來自熱敏電阻(未在圖2中顯示)的檢測信號與過溫度臨限值VOT 進行比較,進而確定是否有溫度過高的情況發生。如果檢測信號大於臨限值VOT ,控制器206將開關203和207斷開,進而結束對電池210的充電。The controller 206 can also compare the detection signal from the thermistor (not shown in Figure 2) with the over temperature threshold V OT to determine if a temperature is too high. If the detection signal is greater than the threshold value V OT , the controller 206 turns off the switches 203 and 207, thereby ending the charging of the battery 210.

在充電模式下,控制器206還可以根據電池電壓VBAT 以及充電電流ICHG 檢測電池之阻值RBAT ,如方程式(1)所示:RBAT =VBAT /ICHG (1)In the charging mode, the controller 206 can also detect the resistance value R BAT of the battery according to the battery voltage V BAT and the charging current I CHG as shown in the equation (1): R BAT =V BAT /I CHG (1)

由此,控制器206可根據電池之阻值RBAT 來確定電池類型。如果控制器206確定的電池類型為非可再充電電池(例如,鹼性電池),控制器206則結束對電池210的充電進而保護電池210和電源系統200。Thus, the controller 206 can determine the battery type based on the resistance value R BAT of the battery. If the battery type determined by the controller 206 is a non-rechargeable battery (eg, an alkaline battery), the controller 206 ends charging the battery 210 to protect the battery 210 and the power system 200.

此外,電源系統200還可工作於負載供電模式。圖3B所示為在負載供電模式下,控制器206的輸出埠CTR1、CTR2和CTR3的輸出控制信號的示例性時序圖。如圖3B所示,輸出埠CTR2和CTR3的輸出控制信號是非疊加的脈衝信號,如PWM信號,用以交替地導通開關205和207。輸出埠CTR1的輸出控制信號為邏輯低電位進而斷開開關203。In addition, power system 200 can also operate in a load power mode. FIG. 3B shows an exemplary timing diagram of the output control signals of the outputs 埠CTR1, CTR2, and CTR3 of the controller 206 in the load supply mode. As shown in FIG. 3B, the output control signals of the output ports CTR2 and CTR3 are non-superimposed pulse signals, such as PWM signals, for alternately turning on the switches 205 and 207. The output control signal of the output 埠CTR1 is at a logic low level to turn off the switch 203.

在負載供電模式下,開關205和207,電感214以及電容211和213做為降壓-升壓轉換器(buck-boostconverter)為發光二極體208供電。更具體地,當開關207導通且開關205斷開時,電池210對電感214充電。當開關207斷開且開關205導通時,電池210以及電感214一起向發光二極體208供電。在這一實施例中,透過可調節的責任週期交替地導通開關205和207,在發光二極體208的一端產生大於電池電壓VBAT 的電壓V1 。這樣,發光二極體208的電壓V208 就等於V1 與電池電壓VBAT 之間的差值。在一個實施例中,透過降壓-升壓轉換器的操作,發光二極體208的電壓V208 可以大於或者小於電池電壓VBAT 。這樣,電源系統200可以對不同類型以及不同數目的負載供電,進而提高了電源系統200的靈活性。In load-powered mode, switches 205 and 207, inductor 214, and capacitors 211 and 213 act as buck-boost converters to power LEDs 208. More specifically, when switch 207 is turned on and switch 205 is turned off, battery 210 charges inductor 214. When the switch 207 is turned off and the switch 205 is turned on, the battery 210 and the inductor 214 together supply power to the light emitting diode 208. In this embodiment, switches 205 and 207 are alternately turned on by an adjustable duty cycle to produce a voltage V 1 greater than the battery voltage V BAT at one end of the LED 208. Thus, the voltage V 208 of the LED 208 is equal to the difference between V 1 and the battery voltage V BAT . In one embodiment, the voltage V 208 of the LED 208 may be greater or less than the battery voltage V BAT through operation of the buck-boost converter. In this way, the power system 200 can power different types and different numbers of loads, thereby increasing the flexibility of the power system 200.

在一個實施例中,控制器206透過埠VLED和ILED檢測流經發光二極體208的電流ILED ,並且根據可調節參考電壓VADJ 來控制開關207的責任週期進而調節電流ILED 。圖2A中所示為圖2中所示的電源系統中的可調節參考電壓VADJ 和電壓VUVLS 之間關係的示意圖。如圖2A所示,當電壓VUVLS 大於第一臨限值V1時,控制器206調節可調節參考電壓VADJ 至第一恒定電壓值VLED1 。這樣,控制器206將流經發光二極體208的電流ILED 調節至第一預定電流ILEDREF1 。當電壓VUVLS 小於第二臨限值V2時,控制器206調節可調節參考電壓VADJ 至第二恒定電壓值VLED2 。這樣,控制器206將流經發光二極體208的電流ILED 調節至第二預定電流ILEDREF2 。當電壓VUVLS 小於第一臨限值V1但是大於第二臨限值V2時,控 制器206調節可調節參考電壓VADJ 隨電壓VUVLS 而變化。在一個實施例中,可調節參考電壓VADJ 根據電壓VUVLS 線性變化。由於電壓VUVLS 與電池電壓VBAT 成比例,因此可調節參考電壓VADJ 根據電池電壓VBAT 線性變化。這樣,控制器206根據電池電壓VBAT 調節電流ILED ,使電流ILED 根據電池電壓VBAT 線性變化。有利之處在於,電池的工時得以延長,因此,發光二極體208的工時也得以延長。In one embodiment, controller 206 senses the current I LED flowing through light emitting diode 208 through the 埠VLED and ILED, and controls the duty cycle of switch 207 to adjust current I LED based on adjustable reference voltage V ADJ . A schematic diagram of the relationship between the adjustable reference voltage V ADJ and the voltage V UVLS in the power supply system shown in FIG. 2 is shown in FIG. 2A. As shown in FIG. 2A, when the voltage V UVLS is greater than the first threshold value V1, the controller 206 adjusts the adjustable reference voltage V ADJ to the first constant voltage value V LED1 . Thus, the controller 206 adjusts the current I LED flowing through the light emitting diode 208 to the first predetermined current I LEDREF1 . When the voltage V UVLS is less than the second threshold value V2, the controller 206 adjusts the adjustable reference voltage V ADJ to the second constant voltage value V LED2 . Thus, the controller 206 adjusts the current I LED flowing through the LED 208 to a second predetermined current I LEDREF2 . When the voltage V UVLS is less than the first threshold V1 but greater than the second threshold V2, the controller 206 adjusts the adjustable reference voltage V ADJ to vary with the voltage V UVLS . In one embodiment, the adjustable reference voltage V ADJ varies linearly according to voltage V UVLS . Since the voltage V UVLS is proportional to the battery voltage V BAT , the adjustable reference voltage V ADJ varies linearly according to the battery voltage V BAT . Thus, the controller 206 adjust the current I LED according to the battery voltage V BAT, current I LED according to the battery voltage V BAT changes linearly. Advantageously, the working hours of the battery are extended and, therefore, the man-hours of the light-emitting diode 208 are also extended.

如圖2所示,控制器206比較指示電流ILED 的信號(例如,感應電阻212的電壓V212 )與可調節參考電壓VADJ ,並根據比較結果控制開關205和207。如果電壓V212 大於可調節參考電壓VADJ (例如,電流ILED 增大),控制器206減小開關207的責任週期,進而減小電流ILED 。如果電壓V212 小於可調節參考電壓VADJ (如,電流ILED 減小),控制器206增大開關207的責任週期,進而增大電流ILED 。這樣,流經發光二極體208的電流ILED 根據圖2A中所示的可調節參考電壓VADJ 得以調節。As shown in FIG. 2, the controller 206 compares the signal indicative of the current I LED (eg, the voltage V 212 of the sense resistor 212 ) with the adjustable reference voltage V ADJ and controls the switches 205 and 207 based on the comparison. If voltage V 212 is greater than adjustable reference voltage V ADJ (eg, current I LED is increased), controller 206 reduces the duty cycle of switch 207, thereby reducing current I LED . If voltage V 212 is less than adjustable reference voltage V ADJ (eg, current I LED is decreasing), controller 206 increases the duty cycle of switch 207, thereby increasing current I LED . Thus, the current I LED flowing through the light emitting diode 208 is adjusted in accordance with the adjustable reference voltage V ADJ shown in FIG. 2A.

有利之處在於,在充電模式下和負載供電模式下,開關203,205和207、電感214以及電容211和213可以做為降壓轉換器和降壓-升壓轉換器,因此電源系統200的靈活性提高。電源系統200可支援各種不同的類型的負載和電源。在電源系統200中,一條電源鏈(例如,包括控制電路220的轉換器)代替傳統電源系統100中的兩條電源鏈(例如,充電器106和轉換器104)。因此,電源系統200的功率能耗降低。而且,電源系統200的複雜性降低,進而增強了系統的可靠性。此外,電源系統200的PCB尺寸 和成本也相應減少。Advantageously, in charge mode and load supply mode, switches 203, 205 and 207, inductor 214 and capacitors 211 and 213 can be implemented as buck converters and buck-boost converters, thus power system 200 Increased flexibility. Power system 200 can support a variety of different types of loads and power supplies. In power system 200, a power supply chain (e.g., a converter including control circuit 220) replaces two power supply chains (e.g., charger 106 and converter 104) in conventional power supply system 100. Therefore, the power consumption of the power supply system 200 is reduced. Moreover, the complexity of the power system 200 is reduced, thereby enhancing the reliability of the system. In addition, the PCB size of the power system 200 And the cost is also reduced accordingly.

圖4所示為根據本發明一實施例圖2中所示之控制電路220的結構示意圖。圖4結合圖2進行描述。如圖4所示,控制電路220包括振盪器411、比較器413和417、誤差放大器415、416和419、選擇器414、正反器412、及閘421和422、開關203、205和207、加法器431、放大器432、斜坡信號產生器433、減法器434和436以及電壓調整器440。4 is a block diagram showing the structure of the control circuit 220 shown in FIG. 2 in accordance with an embodiment of the present invention. Figure 4 is described in conjunction with Figure 2. As shown in FIG. 4, the control circuit 220 includes an oscillator 411, comparators 413 and 417, error amplifiers 415, 416 and 419, a selector 414, a flip-flop 412, and gates 421 and 422, switches 203, 205 and 207, Adder 431, amplifier 432, ramp signal generator 433, subtractors 434 and 436, and voltage regulator 440.

在一個實施例中,比較器413比較埠VBAT的電池電壓VBAT 與埠VAD的電壓VAD ,產生一比較信號以致能或者除能誤差放大器415、416和419。在一個實施例中,一電流源446的輸出端、誤差放大器415的輸出端以及誤差放大器419的輸出端耦接至一共同節點。在圖4所示的實施例中,誤差放大器415和誤差放大器419為或(OR)耦接。在一個實施例中,在充電模式下(即,當適配器輸出電壓VAD 大於電池電壓VBAT 時),比較器413致能誤差放大器415和419;在負載供電模式下(即,當適配器輸出電壓VAD 小於電池電壓VBAT 時),比較器413致能誤差放大器416。當誤差放大器415被致能時,比較指示電池210的充電電流的信號(例如,由減法器434輸出的表示電阻216的電壓V216 的信號)與參考電壓信號VBATREF ,並根據比較結果控制共同節點處的輸出電壓VCMP1 。當誤差放大器419被致能時,比較電池電壓VBAT 與預定臨限值VTH ,並根據比較結果控制共同節點處的輸出電壓VCMP1 。當誤差放大器416被致能時,比較指示流經發光二極體208的電流的信號(例如,由減法器436 輸出的表示感應電阻212的電壓V212 的信號)與可調節參考電壓信號VADJ ,並根據比較結果控制的輸出電壓VCMP2 。在一個實施例中,選擇器414耦接至誤差放大器415、416和419,選擇輸出電壓VCMP1 或者VCMP2 ,並將所選中的輸出電壓作為選擇器414的輸出電壓VTOP 。更具體地,當適配器輸出電壓VAD 大於電池電壓VBAT ,比較器413致能誤差放大器415和419時,選擇器414選擇輸出電壓VCMP1 做為VTOP ;當適配器輸出電壓VAD 小於電池電壓VBAT ,比較器413致能誤差放大器416時,選擇器414選擇輸出電壓VCMP2 做為VTOP 。比較器417接收輸出電壓VTOPIn one embodiment, comparator 413 compares the battery voltage V BAT of 埠VBAT with the voltage V AD of埠VAD to generate a comparison signal to enable or disable error amplifiers 415, 416, and 419. In one embodiment, the output of a current source 446, the output of the error amplifier 415, and the output of the error amplifier 419 are coupled to a common node. In the embodiment shown in FIG. 4, error amplifier 415 and error amplifier 419 are OR coupled. In one embodiment, in the charging mode (ie, when the adapter output voltage V AD is greater than the battery voltage V BAT ), the comparator 413 enables the error amplifiers 415 and 419; in the load supply mode (ie, when the adapter output voltage Comparator 413 enables error amplifier 416 when V AD is less than battery voltage V BAT . When the error amplifier 415 is enabled, a signal indicating the charging current of the battery 210 (for example, a signal indicating the voltage V 216 of the resistor 216 output by the subtractor 434) is compared with the reference voltage signal V BATREF , and is controlled in accordance with the comparison result. The output voltage at the node is V CMP1 . When the error amplifier 419 is enabled, the battery voltage V BAT is compared with a predetermined threshold V TH and the output voltage V CMP1 at the common node is controlled based on the comparison result. When the error amplifier 416 is enabled, a signal indicative of the current flowing through the LED 208 (eg, a signal indicative of the voltage V 212 of the sense resistor 212 output by the subtractor 436) and the adjustable reference voltage signal V ADJ are compared. And according to the comparison result, the output voltage V CMP2 is controlled . In one embodiment, the selector 414 is coupled to the error amplifiers 415, 416, and 419, selects the output voltage V CMP1 or V CMP2 , and uses the selected output voltage as the output voltage V TOP of the selector 414. More specifically, when the adapter output voltage V AD is greater than the battery voltage V BAT and the comparator 413 enables the error amplifiers 415 and 419, the selector 414 selects the output voltage V CMP1 as V TOP ; when the adapter output voltage V AD is less than the battery voltage V BAT , when the comparator 413 enables the error amplifier 416, the selector 414 selects the output voltage V CMP2 as V TOP . Comparator 417 receives the output voltage V TOP .

在一個實施例中,加法器413的一端耦接至放大器432以接收信號VSEN ,信號VSEN 指示流經電感214的電流ISW ;加法器413的另一端耦接至斜坡信號產生器433以接收斜坡信號RAMP。由此,加法器431的輸出VSW 即為信號VSEN 和信號RAMP的總和。比較器417比較加法器431的輸出VSW 與選擇器414的輸出電壓VTOP ,並提供一輸出至正反器412的R端以控制開關203、205和207。正反器412的S端耦接至振盪器411以接收時脈信號CLK。例如,時脈信號CLK具有1M赫茲的頻率。正反器412的反相輸出端QB控制開關207。此外,正反器412的非反相輸出端在比較器417的配合下,透過及閘421和422來控制開關203和205。In one embodiment, one end of the adder 413 is coupled to the amplifier 432 to receive the signal V SEN , the signal V SEN is indicative of the current I SW flowing through the inductor 214 , and the other end of the adder 413 is coupled to the ramp signal generator 433 . Receive the ramp signal RAMP. Thus, the output V SW of the adder 431 is the sum of the signal V SEN and the signal RAMP. The comparator 417 compares the output V SW of the adder 431 with the output voltage V TOP of the selector 414 and provides an output to the R terminal of the flip-flop 412 to control the switches 203, 205 and 207. The S terminal of the flip flop 412 is coupled to the oscillator 411 to receive the clock signal CLK. For example, the clock signal CLK has a frequency of 1 MHz. The inverting output terminal QB of the flip-flop 412 controls the switch 207. In addition, the non-inverting output of the flip-flop 412 controls the switches 203 and 205 through the AND gates 421 and 422 in cooperation with the comparator 417.

在操作中,當適配器輸出電壓VAD 大於電池電壓VBAT 時,比較器413的輸出具有第一狀態(例如,邏輯高電位),進而使電源系統200工作於充電模式。在充電模式下,誤差放大器415和419被致能,而誤差放大器416被除能; 及閘422斷開開關205。正反器412以及及閘421交替地導通開關203和207。根據信號VSW 與比較器414的輸出電壓VTOP 的比較結果,正反器412還控制開關203和207的責任週期進而控制電池210的充電電能。In operation, when the adapter output voltage V AD is greater than the battery voltage V BAT , the output of the comparator 413 has a first state (eg, a logic high), thereby causing the power system 200 to operate in a charging mode. In the charging mode, error amplifiers 415 and 419 are enabled and error amplifier 416 is disabled; and gate 422 opens switch 205. The flip-flops 412 and the gate 421 alternately turn on the switches 203 and 207. Based on the comparison of the signal VSW with the output voltage VTOP of the comparator 414, the flip-flop 412 also controls the duty cycle of the switches 203 and 207 to control the charging power of the battery 210.

更具體地,在充電模式下,當電池電壓VBAT 小於預定臨限值VTH 時,控制電路220控制開關203和207,進而在定電流階段對電池210進行充電。誤差控制器415比較指示電池210的充電電流的信號(例如,電阻216的電壓V216 )與參考電壓VBATREF ,並控制輸出電壓VCMP1 。選擇器414選擇輸出電壓VCMP1 做為選擇器的輸出電壓VTOP 。由此,正反器412根據輸出電壓VTOP 與信號VSW 的比較結果控制開關203和207的責任週期。More specifically, in the charging mode, when the battery voltage V BAT is less than the predetermined threshold V TH , the control circuit 220 controls the switches 203 and 207 to charge the battery 210 during the constant current phase. The error controller 415 compares the signal indicative of the charging current of the battery 210 (eg, the voltage V 216 of the resistor 216 ) with the reference voltage V BATREF and controls the output voltage V CMP1 . The selector 414 selects the output voltage V CMP1 as the output voltage V TOP of the selector. Thus, the flip-flop 412 controls the duty cycle of the switches 203 and 207 in accordance with the comparison result of the output voltage V TOP and the signal V SW .

圖5所示為根據本發明一實施例的與圖4中的正反器412相關的信號時序圖。當電壓V216 小於參考電壓VBATREF 時,即充電電流ICHG 小於預定充電電流IBATREF 時,輸出電壓VCMP1 增大。輸出電壓VTOP 因此增大。如圖5所示,正反器412輸出端Q的責任週期增大,開關203的責任週期增大,進而相應地增大電池210的充電電流ICHG 。當電壓V216 大於參考電壓VBATREF 時,即充電電流ICHG 大於預定充電電流IBATREF 時,輸出電壓VCMP1 減小。輸出電壓VTOP 因此減小。如圖5所示,正反器412輸出端Q的責任週期減小,開關203的責任週期減小,進而相應地減小電池210的充電電流ICHG 。由此,在定電流階段,充電電流ICHG 被調節至預定充電電流IBATREFFIG. 5 is a timing diagram of signals associated with flip-flop 412 of FIG. 4, in accordance with an embodiment of the present invention. When the voltage V 216 is less than the reference voltage V BATREF , that is, when the charging current I CHG is less than the predetermined charging current I BATREF , the output voltage V CMP1 increases. The output voltage V TOP is thus increased. As shown in FIG. 5, the duty cycle of the output terminal Q of the flip-flop 412 is increased, and the duty cycle of the switch 203 is increased, thereby increasing the charging current I CHG of the battery 210 accordingly. When the voltage V 216 is greater than the reference voltage V BATREF , that is, when the charging current I CHG is greater than the predetermined charging current I BATREF , the output voltage V CMP1 decreases. The output voltage V TOP is thus reduced. As shown in FIG. 5, the duty cycle of the output terminal Q of the flip-flop 412 is reduced, and the duty cycle of the switch 203 is reduced, thereby correspondingly reducing the charging current I CHG of the battery 210. Thus, in the constant current phase, the charging current I CHG is adjusted to the predetermined charging current I BATREF .

當電池電壓VBAT 達到預定臨限值VTH 時,控制電路220 控制開關203和207,進而在定電壓階段對電池210進行充電。在定電壓階段,誤差放大器419比較電池電壓VBAT 與預定臨限值VTH ,並控制輸出電壓VCMP1 。例如,當電池電壓VBAT 大於預定臨限值VTH 時,輸出電壓VCMP1 減小。相應地,輸出電壓VTOP 也減小。由此,開關203的責任週期減小,進而減小充電電壓。由此,在定電壓階段,充電電壓被調節至預預定臨限值VTHWhen the battery voltage V BAT reaches a predetermined threshold V TH , the control circuit 220 controls the switches 203 and 207 to charge the battery 210 during the constant voltage phase. In the constant voltage phase, the error amplifier 419 compares the battery voltage V BAT with a predetermined threshold V TH and controls the output voltage V CMP1 . For example, when the battery voltage V BAT is greater than a predetermined threshold V TH , the output voltage V CMP1 is decreased. Accordingly, the output voltage V TOP also decreases. Thereby, the duty cycle of the switch 203 is reduced, thereby reducing the charging voltage. Thus, during the constant voltage phase, the charging voltage is adjusted to a predetermined threshold VTH .

當適配器輸出電壓VAD 小於電池電壓VBAT 時,比較器413的輸出具有第二狀態(例如,邏輯低電位),進而使電源系統200工作於負載供電模式。在負載供電模式下,誤差放大器415和419被除能,而誤差放大器416致能。在負載供電模式下,及閘421斷開開關203。正反器412在及閘422的配合下,交替地導通開關205和207。根據信號VSW 與比較器414的輸出電壓VTOP 的比較結果,正反器412還控制開關205和207的責任週期進而控制流經發光二極體208的電流。When the adapter output voltage V AD is less than the battery voltage V BAT , the output of the comparator 413 has a second state (eg, a logic low), thereby causing the power system 200 to operate in a load-powered mode. In load power mode, error amplifiers 415 and 419 are disabled and error amplifier 416 is enabled. In the load power supply mode, the AND gate 421 opens the switch 203. The flip-flop 412 alternately turns on the switches 205 and 207 in cooperation with the gate 422. Based on the comparison of the signal VSW with the output voltage VTOP of the comparator 414, the flip-flop 412 also controls the duty cycle of the switches 205 and 207 to control the current flowing through the LED 208.

更具體地,在負載供電模式下,誤差放大器416比較指示流經發光二極體208的電流的信號(如,感應電阻212的電壓V212 )與可調節參考電壓VADJ 。電壓調整器440根據電壓VUVLS 對可調節參考電壓VADJ 進行調節。在一個實施例中,電壓VUVLS 指示電池電壓(例如,與電池電壓VBAT 成比例)。當電壓VUVLS 大於第一臨限值V1時,電壓調整器440調節可調節參考電壓VADJ 至第一恒定電壓值VLED1 。當電壓VUVLS 小於第二臨限值V2時,電壓調整器440調節可調節參考電壓VADJ 至第二恒定電壓值VLED2 。當電壓VUVLS 小於第一臨 限值V1但是大於第二臨限值V2時,電壓調整器440調節可調節參考電壓VADJ 隨電壓VUVLS 線性變化。由於電壓VUVLS 與電池電壓VBAT 成比例,因此可調節參考電壓VADJ 隨電池電壓VBAT 線性變化。More specifically, in the load supply mode, the error amplifier 416 compares a signal indicative of the current flowing through the LED 208 (eg, the voltage V 212 of the sense resistor 212 ) and the adjustable reference voltage V ADJ . The voltage regulator 440 adjusts the adjustable reference voltage V ADJ according to the voltage V UVLS . In one embodiment, the voltage V UVLS indicates the battery voltage (eg, proportional to the battery voltage V BAT ). When the voltage V UVLS is greater than the first threshold value V1, the voltage regulator 440 adjusts the adjustable reference voltage V ADJ to the first constant voltage value V LED1 . When the voltage V UVLS is less than the second threshold value V2, the voltage regulator 440 adjusts the adjustable reference voltage V ADJ to the second constant voltage value V LED2 . When the voltage V UVLS is less than the first threshold value V1 but greater than the second threshold value V2, the voltage regulator 440 adjusts the adjustable reference voltage V ADJ to vary linearly with the voltage V UVLS . Since the voltage V UVLS is proportional to the battery voltage V BAT , the adjustable reference voltage V ADJ varies linearly with the battery voltage V BAT .

根據感應電阻212的電壓V212 與可調節參考電壓VADJ 的比較結果,誤差比較器416控制輸出電壓VCMP2 。選擇器414選擇輸出電壓VCMP2 做為其輸出電壓VTOP 。由此,正反器412根據輸出電壓VTOP 與信號VSW 的比較結果來控制開關205和207的責任週期。當電壓V212 小於可調節參考電壓VADJ 時,即流經發光二極體208的電流ILED 減小時,輸出電壓VCMP2 減小。輸出電壓VTOP 也相應地減小。如圖5所示,正反器412反相輸出端QB的責任週期增大,開關207的責任週期增大,進而相應地增大電流ILED 。當電壓V212 大於可調節參考電壓VADJ 時,即流經發光二極體208的電流ILED 增大時,輸出電壓VCMP2 增大。輸出電壓VTOP 也相應地增大。如圖5所示,正反器412反相輸出端QB的責任週期減小,開關207的責任週期減小,進而相應地減小電流ILED 。由此,根據可調節參考電壓VADJ 對流經發光二極體208的電流ILED 進行調節。因此,當電壓VUVLS 大於第一臨限值V1時,電流ILED 被調節至第一預設電流ILEDREF1 ;當電壓VUVLS 小於第二臨限值V2時,電流ILED 被調節至第二預設電流ILEDREF2 ;當電壓VUVLS 小於第一臨限值V1且大於第二臨限值V2時,電流ILED 被調節為隨電池電壓VBAT 而線性變化。Based on the comparison of the voltage V 212 of the sense resistor 212 with the adjustable reference voltage V ADJ , the error comparator 416 controls the output voltage V CMP2 . The selector 414 selects the output voltage V CMP2 as its output voltage V TOP . Thus, the flip flop 412 controls the duty cycle of the switches 205 and 207 based on the comparison of the output voltage V TOP with the signal V SW . When the voltage V 212 is less than the adjustable reference voltage V ADJ , that is, the current I LED flowing through the light emitting diode 208 decreases, the output voltage V CMP2 decreases. The output voltage V TOP is also reduced accordingly. As shown in FIG. 5, the duty cycle of the inverting output terminal QB of the flip-flop 412 is increased, and the duty cycle of the switch 207 is increased, thereby increasing the current I LED accordingly . When the voltage V 212 is greater than the adjustable reference voltage V ADJ , that is, the current I LED flowing through the light emitting diode 208 increases, the output voltage V CMP2 increases. The output voltage V TOP also increases accordingly. As shown in FIG. 5, the duty cycle of the inverting output terminal QB of the flip-flop 412 is reduced, and the duty cycle of the switch 207 is reduced, thereby correspondingly reducing the current I LED . Thereby, the current I LED flowing through the light-emitting diode 208 is adjusted in accordance with the adjustable reference voltage V ADJ . Therefore, when the voltage V UVLS is greater than the first threshold value V1, the current I LED is adjusted to the first preset current I LEDREF1 ; when the voltage V UVLS is less than the second threshold value V2, the current I LED is adjusted to the second The preset current I LEDREF2 ; when the voltage V UVLS is less than the first threshold value V1 and greater than the second threshold value V2, the current I LED is adjusted to vary linearly with the battery voltage V BAT .

當異常或者非期望情況(如過電流、過電壓或者過溫度)發生時,控制電路220還可透過結束對電池的充電來 保護電源系統200。在一個實施例中,控制電路220可以包括比較器(未在圖4中示出)將電池電壓VBAT 與過電壓臨限值VOV 進行比較,進而確定是否有過電壓情況發生。控制電路220可以包括比較器(未在圖4中示出)將電阻216的電壓V216 與指示過電流臨限值VOT 的預設臨限值進行比較,進而確定是否有過電流情況發生。控制電路220可以包括比較器(未在圖4中示出)將來自熱敏電阻(未在圖4中示出)的信號與過溫度臨限值VOT 進行比較,進而確定是否有過溫度情況發生。當有任一異常情況發生時,控制電路220斷開開關203和207結束對電池210的充電以保護電源系統200。When an abnormal or undesired condition (such as an overcurrent, an overvoltage, or an overtemperature) occurs, the control circuit 220 can also protect the power supply system 200 by terminating the charging of the battery. In one embodiment, control circuit 220 may include a comparator (not shown in FIG. 4) that compares battery voltage V BAT with overvoltage threshold V OV to determine if an overvoltage condition has occurred. Control circuit 220 can include a comparator (not shown in FIG. 4) that compares voltage V 216 of resistor 216 with a preset threshold indicative of overcurrent threshold V OT to determine if an overcurrent condition has occurred. The control circuit 220 can include a comparator (not shown in FIG. 4) that compares the signal from the thermistor (not shown in FIG. 4) with the over temperature threshold V OT to determine if there is an over temperature condition. occur. When any abnormal condition occurs, the control circuit 220 turns off the switches 203 and 207 to end charging the battery 210 to protect the power supply system 200.

控制電路220還可以檢測電池類型,並且當電池是非可再充電電池(如,鹼性電池)時,結束對電池210的充電。由此,控制電路220可以保護電池210和電源系統200。The control circuit 220 can also detect the type of battery and end charging of the battery 210 when the battery is a non-rechargeable battery (eg, an alkaline battery). Thus, control circuit 220 can protect battery 210 and power system 200.

圖6所示為根據本發明一實施例電源系統操作流程圖600。結合圖2和圖4對圖6進行說明。6 is a flow diagram 600 of a power system operation in accordance with an embodiment of the present invention. FIG. 6 will be described with reference to FIGS. 2 and 4.

在步驟602中,電源系統(例如,電源系統200)比較第一電源的一第一電壓與第二電源(例如,電池)的一第二電壓。當第一電源的第一電壓大於第二電源的第二電壓時,電源系統200工作於第一模式(例如,充電模式)。當第一電源的第一電壓小於第二電源的第二電壓時,電源系統200工作於第二模式(例如,負載供電模式)。In step 602, the power system (eg, power system 200) compares a first voltage of the first power source with a second voltage of the second power source (eg, the battery). When the first voltage of the first power source is greater than the second voltage of the second power source, the power system 200 operates in the first mode (eg, the charging mode). When the first voltage of the first power source is less than the second voltage of the second power source, the power system 200 operates in the second mode (eg, the load power mode).

當電源系統200工作於充電模式時,進入步驟604。在步驟604中,在一實施例中,電源系統200交替地導通第一開關(例如,開關203)和第二開關(例如,開關207) 並斷開第三開關(例如,開關205)來對第二電源(例如,電池210)進行充電。在步驟606中,電源系統200透過調節開關203和開關207的責任週期來調節第一電源對第二電源的充電電能。When the power system 200 is operating in the charging mode, step 604 is entered. In step 604, in an embodiment, the power supply system 200 alternately turns on the first switch (eg, switch 203) and the second switch (eg, switch 207). The third switch (eg, switch 205) is turned off to charge the second power source (eg, battery 210). In step 606, the power supply system 200 adjusts the charging power of the first power source to the second power source by adjusting the duty cycle of the switch 203 and the switch 207.

更具體地,當第二電源的電壓(例如,電池電壓VBAT )小於預定臨限值VTH 時,電源系統200在定電流階段對第二電源進行充電。在定電流階段,電源系統200比較充電電流ICHG 與預定充電電流IBATREF 。當充電電流ICHG 大於預定充電電流IBATREF 時,電源系統200減小第一開關203的責任週期進而減小充電電流ICHG ;當充電電流ICHG 小於預定充電電流IBATREF 時,電源系統200增大第一開關203的責任週期進而增大充電電流ICHG 。因此,充電電流ICHG 被調節至預定充電電流IBATREFMore specifically, when the voltage of the second power source (eg, battery voltage V BAT ) is less than a predetermined threshold V TH , the power system 200 charges the second power source during the constant current phase. In the constant current phase, the power supply system 200 compares the charging current I CHG with a predetermined charging current I BATREF . When the charging current I CHG is greater than the predetermined charging current I BATREF , the power supply system 200 reduces the duty cycle of the first switch 203 to reduce the charging current I CHG ; when the charging current I CHG is less than the predetermined charging current I BATREF , the power system 200 increases The duty cycle of the large first switch 203 in turn increases the charging current I CHG . Therefore, the charging current I CHG is adjusted to the predetermined charging current I BATREF .

當第二電源的電壓(例如,電池電壓VBAT )達到預定臨限值VTH 時,電源系統200在定電壓階段對第二電源進行充電。在定電壓階段,電源系統200比較電池電壓VBAT 與預定臨限值VTH ,並控制開關203和207的責任週期進而將充電電壓調節至預定臨限值VTH 。因此,在定電壓階段對第二電源進行充電。When the voltage of the second power source (eg, battery voltage V BAT ) reaches a predetermined threshold V TH , the power system 200 charges the second power source during the constant voltage phase. During the constant voltage phase, power system 200 compares battery voltage V BAT with a predetermined threshold V TH and controls the duty cycle of switches 203 and 207 to adjust the charging voltage to a predetermined threshold V TH . Therefore, the second power source is charged during the constant voltage phase.

當電源系統200工作於負載供電模式時,進入步驟603。在步驟603中,電源系統200將開關203斷開,並交替地導通開關207和開關205,以向負載(例如,發光二極體208)供電。在步驟605中,電源系統200根據流經發光二極體208的電流ILED 與可調節參考電流IADJ 的比較結果來調節開關207和開關205的責任週期。在一個實施例 中,根據與電池電壓VBAT 成比例電壓VUVLS 來可調節參考電流IADJ 。當電壓VUVLS 大於第一臨限值V1時,可調節參考電流IADJ 被調節至第一預設電流ILEDREF1 ;當電壓VUVLS 小於第二臨限值V2時,可調節參考電流IADJ 被調節至第二預設電流ILEDREF2 ;當電壓VUVLS 小於第一臨限值V1且大於第二臨限值V2時,可調節參考電流IADJ 被調節為隨電壓VUVLS 和電池電壓VBAT 而線性變化。When the power system 200 is operating in the load power supply mode, the process proceeds to step 603. In step 603, power system 200 turns off switch 203 and alternately turns on switch 207 and switch 205 to power the load (eg, light emitting diode 208). In step 605, power supply system 200 adjusts the duty cycle of switch 207 and switch 205 based on the comparison of current I LED flowing through light emitting diode 208 with adjustable reference current I ADJ . In one embodiment, the reference current I ADJ can be adjusted according to a voltage V UVLS that is proportional to the battery voltage V BAT . When the voltage V UVLS is greater than the first threshold value V1, the adjustable reference current I ADJ is adjusted to the first preset current I LEDREF1 ; when the voltage V UVLS is less than the second threshold value V2, the adjustable reference current I ADJ is Adjusting to a second preset current I LEDREF2 ; when the voltage V UVLS is less than the first threshold value V1 and greater than the second threshold value V2, the adjustable reference current I ADJ is adjusted to follow the voltage V UVLS and the battery voltage V BAT Linear change.

當流經發光二極體208的電流ILED 大於可調節參考電流IADJ 時,電源系統200減小開關207的責任週期以減小電流ILED ;當電流ILED 小於可調節參考電流IADJ 時,電源系統200增大開關207的責任週期以增大電流ILED 。因此,根據可調節參考電流IADJ 對電流ILED 進行調節。這樣,當電壓VUVLS 大於第一臨限值V1時,電流ILED 被調節至第一預設電流ILEDREF1 ;當電壓VUVLS 小於第二臨限值V2時,電流ILED 被調節至第二預設電流ILEDREF2 ;當電壓VUVLS 小於第一臨限值V1且大於第二臨限值V2時,電流ILED 被調節為隨電池電壓VBAT 而線性變化。When the current I LED flowing through the light emitting diode 208 is greater than the adjustable reference current I ADJ , the power supply system 200 reduces the duty cycle of the switch 207 to reduce the current I LED ; when the current I LED is less than the adjustable reference current I ADJ The power system 200 increases the duty cycle of the switch 207 to increase the current I LED . Therefore, the current I LED is adjusted according to the adjustable reference current I ADJ . Thus, when the voltage V UVLS is greater than the first threshold value V1, the current I LED is adjusted to the first preset current I LEDREF1 ; when the voltage V UVLS is less than the second threshold value V2, the current I LED is adjusted to the second The preset current I LEDREF2 ; when the voltage V UVLS is less than the first threshold value V1 and greater than the second threshold value V2, the current I LED is adjusted to vary linearly with the battery voltage V BAT .

圖8所示為根據本發明一實施例之可攜式照明裝置800的電路示意圖。在一個實施例中,可攜式照明裝置為一手電筒。可攜式照明裝置800包括電池電源810,用於提供電壓Vbatt 、開關820、發光元件830、感測元件840、控制器850以及電感L1。在一個實施例中,電池電源810為一或多個鹼性電池。在一個實施例,發光元件830為LED。在一個實施例中,控制器850為積體電路(IC)。在一個實施例中,控制器850的電源輸入端VIN接收來自電 池電源810的輸入電壓。控制器850的電源輸出端OUT提供一輸出電壓至發光元件830。控制器850的感測端ISENSE接收一指示指示發光元件830電能之回授信號,接地端GND耦接至地。切換輸出端SW經由電感L1與電源輸入端VIN耦接。FIG. 8 is a circuit diagram of a portable lighting device 800 in accordance with an embodiment of the present invention. In one embodiment, the portable lighting device is a flashlight. The portable lighting device 800 includes a battery power source 810 for providing a voltage V batt , a switch 820 , a light emitting element 830 , a sensing element 840 , a controller 850 , and an inductor L1 . In one embodiment, battery power source 810 is one or more alkaline batteries. In one embodiment, the light emitting element 830 is an LED. In one embodiment, controller 850 is an integrated circuit (IC). In one embodiment, the power input VIN of the controller 850 receives an input voltage from the battery power source 810. The power supply output OUT of the controller 850 provides an output voltage to the light emitting element 830. The sensing terminal ISENSE of the controller 850 receives a feedback signal indicating the power of the light-emitting element 830, and the ground terminal GND is coupled to the ground. The switching output terminal SW is coupled to the power input terminal VIN via the inductor L1.

在一個實施例中,控制器850的電源輸入端VIN經由開關820連接至電池電源810。控制器850的電源輸出端OUT耦接至發光元件830。感測元件840與發光元件830串聯,藉由感測流經發光元件830的電流,產生回授信號。回授信號被傳送至控制器850的感測端ISENSE。In one embodiment, the power input VIN of controller 850 is coupled to battery power source 810 via switch 820. The power output OUT of the controller 850 is coupled to the light emitting element 830. The sensing element 840 is connected in series with the light emitting element 830 to generate a feedback signal by sensing the current flowing through the light emitting element 830. The feedback signal is transmitted to the sensing terminal ISENSE of the controller 850.

在一個實施例中,電感L1作為升壓轉換器的儲能元件。當開關820導通時,控制器850的電源輸入端VIN耦接至電池電源810,接收電池電源810所提供的電源。發光元件830可經由控制器850的電源輸出端OUT接收電能。當開關820斷開時,電池電源810停止對控制器850和發光元件830供電。在一個實施例中,控制器850根據開關820的導通與斷開以及感測端ISENSE所接收到的回授信號,調整供給至發光元件830的電能。In one embodiment, inductor L1 acts as an energy storage component of the boost converter. When the switch 820 is turned on, the power input terminal VIN of the controller 850 is coupled to the battery power source 810 to receive the power provided by the battery power source 810. Light emitting component 830 can receive electrical energy via power output OUT of controller 850. When the switch 820 is turned off, the battery power source 810 stops supplying power to the controller 850 and the light emitting element 830. In one embodiment, the controller 850 adjusts the electrical energy supplied to the light-emitting element 830 based on the turn-on and turn-off of the switch 820 and the feedback signal received by the sense terminal ISENSE.

圖9所示為根據本發明另一實施例可攜式照明裝置900的電路示意圖。可攜式照明裝置900包括電池電源810、開關820、發光元件830、感測元件840、控制器950和電感L1。圖9與圖8中具有相同標號的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 9 is a circuit diagram of a portable lighting device 900 in accordance with another embodiment of the present invention. The portable lighting device 900 includes a battery power source 810, a switch 820, a light emitting element 830, a sensing element 840, a controller 950, and an inductor L1. 9 and 8 have the same or similar functions, and will not be described again for the sake of brevity.

在一個實施例中,控制器950為積體電路。在一個實施例中,可攜式照明裝置900還包括直流濾波電容C1,耦 接於電池電源810和控制器950的電源輸出入端VIN之間。在一個實施例中,可攜式照明裝置900還包括直流濾波電容C2,耦接於發光元件830與控制器950的電源輸出端OUT之間。在一個實施例中,控制器950包括與開關820耦接的調光端DIM,檢測開關820的導通和斷開狀態。In one embodiment, controller 950 is an integrated circuit. In one embodiment, the portable lighting device 900 further includes a DC filter capacitor C1, coupled Connected between the battery power source 810 and the power supply input and output terminal VIN of the controller 950. In one embodiment, the portable lighting device 900 further includes a DC filter capacitor C2 coupled between the light emitting component 830 and the power output OUT of the controller 950. In one embodiment, the controller 950 includes a dimming terminal DIM coupled to the switch 820 to detect the on and off states of the switch 820.

在一個實施例中,控制器950根據調光端DIM的輸入信號調節提供給發光元件830的電能,進而調節發光元件830的亮度。在一個實施例中,當開關820導通時,控制器950調節提供給發光元件830的電能。In one embodiment, the controller 950 adjusts the power supplied to the light-emitting element 830 based on the input signal of the dimming terminal DIM, thereby adjusting the brightness of the light-emitting element 830. In one embodiment, controller 950 regulates the electrical energy provided to light-emitting element 830 when switch 820 is turned "on".

圖10A所示為圖9中所示之控制器950的電路示意圖。圖10A與圖9中具有相同標號的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 10A is a circuit diagram of the controller 950 shown in FIG. 10A and 9 have the same or similar functions, and will not be described again for the sake of brevity.

在一個實施例中,控制器950包括低電壓鎖定電路1051、觸發電路1052、時脈產生器1053、參考選擇器1054、調光單元1055、驅動器1056以及開關1057和1058。以下將配合圖10B所示的時序圖,說明一個實施例中控制器950的調光控制操作。In one embodiment, controller 950 includes a low voltage lockout circuit 1051, a trigger circuit 1052, a clock generator 1053, a reference selector 1054, a dimming unit 1055, a driver 1056, and switches 1057 and 1058. The dimming control operation of the controller 950 in one embodiment will be described below in conjunction with the timing chart shown in FIG. 10B.

當開關820導通時,電池電源810的電能被施加至控制器950的電源輸入端VIN。此時發光元件830根據額定電流被供給電源。此時,參考選擇器1054產生低頻脈波寬度調變(LPWM)信號。在一個實施例中,LPWM信號有不同的電壓位準,如Vmax、V1、V2等,其中Vmax>V1>V2。LPWM信號之不同的電壓位準對應至發光元件830的不同亮度。調光單元1055根據LPWM信號的電壓位準調節發光元件830的亮度。在一個實施例中,在初始狀態時,參考選 擇器1054設置LPWM信號為最高參考電壓Vmax,使發光元件830可達到最大(100%)亮度。When the switch 820 is turned on, the power of the battery power source 810 is applied to the power input terminal VIN of the controller 950. At this time, the light-emitting element 830 is supplied with power according to the rated current. At this time, the reference selector 1054 generates a low frequency pulse width modulation (LPWM) signal. In one embodiment, the LPWM signals have different voltage levels, such as Vmax, V1, V2, etc., where Vmax > V1 > V2. The different voltage levels of the LPWM signals correspond to different brightnesses of the light-emitting elements 830. The dimming unit 1055 adjusts the brightness of the light emitting element 830 according to the voltage level of the LPWM signal. In one embodiment, in the initial state, reference selection The selector 1054 sets the LPWM signal to the highest reference voltage Vmax so that the light-emitting element 830 can reach a maximum (100%) brightness.

當開關820斷開時,電池電源810的電能停止施加至控制器950。觸發電路1052則產生具有第一負緣的觸發信號,但是在電源輸入端VIN上的電壓低至低於一低電壓鎖定臨界值之前的一定時間內(該時間內儲存在直流濾波電容C1的能量可維持能量的供給),若開關820又導通,則觸發信號具有第一正緣,此觸發信號致能時脈產生器1053產生第一時脈信號,以提供給參考選擇器1054。此時,參考選擇器1054產生第一參考電壓V1,並設置LPWM信號為V1。在一個實施例中,第一參考電壓V1低於最高參考電壓Vmax。例如,可使發光元件830的亮度為75%的電壓。第一參考電壓V1可視應用上的需要而設置。When the switch 820 is turned off, the power of the battery power source 810 is stopped from being applied to the controller 950. The trigger circuit 1052 generates a trigger signal having a first negative edge, but the energy stored in the DC filter capacitor C1 is within a certain time before the voltage at the power input terminal VIN is below a low voltage lock threshold. The supply of energy can be maintained. If the switch 820 is turned on again, the trigger signal has a first positive edge, and the trigger signal enables the clock generator 1053 to generate a first clock signal for supply to the reference selector 1054. At this time, the reference selector 1054 generates the first reference voltage V1 and sets the LPWM signal to V1. In one embodiment, the first reference voltage V1 is lower than the highest reference voltage Vmax. For example, the luminance of the light-emitting element 830 can be made 75% of the voltage. The first reference voltage V1 can be set as needed on the application.

在一個實施例中,開關820可再被斷開,則觸發電路1052產生具有第二觸發負緣的觸發信號,但在電源輸入端VIN上的電壓降至低於一低電壓鎖定臨界值之前的一段時間內,若開關820又被導通,則觸發器具有第二正緣,此觸發信號會再度致能時脈產生器1053使之產生第二時脈信號,以提供給參考選擇器1054。此時,參考選擇器1054產生第二參考電壓V2,並設置LPWM信號為V2。在一個實施例中,第二參考電壓V2低於第一參考電壓V1。例如,可驅動發光元件830的亮度為50%的電壓。在另一實施例中,第二參考電壓V2較第一參考電壓V1高但低於最高參考電壓Vmax,例如,可驅動發光元件830的亮度為80%的電壓。In one embodiment, the switch 820 can be turned off again, and the trigger circuit 1052 generates a trigger signal having a second trigger negative edge, but before the voltage at the power supply input terminal VIN falls below a low voltage lock threshold. For a period of time, if the switch 820 is turned on again, the flip-flop has a second positive edge, and the trigger signal will again enable the clock generator 1053 to generate a second clock signal for supply to the reference selector 1054. At this time, the reference selector 1054 generates the second reference voltage V2 and sets the LPWM signal to V2. In one embodiment, the second reference voltage V2 is lower than the first reference voltage V1. For example, the luminance of the light-emitting element 830 can be driven to be 50%. In another embodiment, the second reference voltage V2 is higher than the first reference voltage V1 but lower than the highest reference voltage Vmax, for example, a voltage that can drive the luminance of the light-emitting element 830 to be 80%.

此等操作可重複進行。第一參考電壓V1、第二參考電壓V2…等參考電壓可視應用上的需要設置,且可以有各種變化。例如,參考電壓的電壓位準可由高依次降冪,例如,100%、75%、50%、25%;也可以由低依次升冪,例如25%、50%、75%、100%。在一個實施例中,參考電壓的改變可使發光元件830的亮度線性變化,例如25%、50%、75%及100%等。在另一個實施例中,參考電壓的改變也可以使參考電壓的改變可使發光元件830的亮度呈非線性變化,例如20%、30%、80%及100%。在又一個實施例中,參考電壓可設置為使發光元件的亮度變化為100%、50%、100%以表示SOS的求救信號。These operations can be repeated. The reference voltages such as the first reference voltage V1, the second reference voltage V2, ... may be set as needed on the application, and may have various variations. For example, the voltage level of the reference voltage may be reduced by high order, for example, 100%, 75%, 50%, 25%; or may be increased from low to high, for example 25%, 50%, 75%, 100%. In one embodiment, the change in the reference voltage can cause the brightness of the light-emitting element 830 to vary linearly, such as 25%, 50%, 75%, and 100%, and the like. In another embodiment, the change in the reference voltage may also cause the change in the reference voltage to cause the brightness of the light-emitting element 830 to vary non-linearly, such as 20%, 30%, 80%, and 100%. In still another embodiment, the reference voltage may be set to change the brightness of the light-emitting element to 100%, 50%, 100% to represent the SOS distress signal.

在一個實施例中,調光單元1055可根據LPWM信號和感測元件840所產生之指示發光元件830電能的回授信號,調節電源輸出端OUT的輸出以控制流經發光元件830的電流,以達到調節發光元件830的亮度功能。在一個實施例中,感測元件840為電阻。在另一個實施例中,感測元件840為電阻和電容(圖10A中未示出)的組合。In one embodiment, the dimming unit 1055 can adjust the output of the power output terminal OUT to control the current flowing through the light emitting element 830 according to the LPWM signal and the feedback signal generated by the sensing element 840 indicating the power of the light emitting element 830. The function of adjusting the brightness of the light-emitting element 830 is achieved. In one embodiment, sensing element 840 is a resistor. In another embodiment, sensing element 840 is a combination of a resistor and a capacitor (not shown in Figure 10A).

在一個實施例中,調光單元1055的輸出可由驅動器1056放大。在一個實施例中,驅動器1056的輸出與開關1057耦接,以控制開關1057,從而將電池電源810或直流濾波電容C1上的電能選擇性地提供至控制器950的電源輸出端OUT。在一個實施例中,調光單元1055是脈波寬度調變電路。在另一個實施例中,調光單元1055是脈衝頻率調製(PFM)電路。In one embodiment, the output of dimming unit 1055 can be amplified by driver 1056. In one embodiment, the output of driver 1056 is coupled to switch 1057 to control switch 1057 to selectively provide power to battery power supply 810 or DC filter capacitor C1 to power supply output OUT of controller 950. In one embodiment, the dimming unit 1055 is a pulse width modulation circuit. In another embodiment, the dimming unit 1055 is a pulse frequency modulation (PFM) circuit.

在一個實施例中,開關1057、1058與電容C2、電感 L1形成升壓轉換器,可將電源輸出端OUT上的電壓提高至足以驅動發光元件830的電壓。在一個實施例中,切換輸出端SW經由電感L1與電源輸入端VIN耦接、經由開關1057接地、經由開關1058耦接至電源輸出端OUT,且電源輸出端OUT與直流濾波電容C2耦接。因此,即使電池電源810所提供的電壓僅為1V,但經由升壓轉換器提高電源輸出端OUT的電壓,控制器950仍可驅動發光元件830,並調節發光元件830的電能,進而延長本發明一個實施例的電池電源810的使用壽命。In one embodiment, the switches 1057, 1058 and the capacitor C2, the inductor L1 forms a boost converter that boosts the voltage at the output of the power supply OUT to a voltage sufficient to drive the light-emitting element 830. In one embodiment, the switching output terminal SW is coupled to the power input terminal VIN via the inductor L1, to the power supply output terminal OUT via the switch 1058 via the switch 1057, and the power supply output terminal OUT is coupled to the DC filter capacitor C2. Therefore, even if the voltage supplied from the battery power source 810 is only 1 V, the voltage of the power source output terminal OUT is increased via the boost converter, and the controller 950 can drive the light-emitting element 830 and adjust the power of the light-emitting element 830, thereby extending the present invention. The life of the battery power source 810 of one embodiment.

在一個實施例中,開關1057和開關1058為金屬氧化物半導體場效電晶體(MOSFET)。在一個實施例中,開關1058與開關1057動作互補。在一個實施例中,開關1057為N通道MOSFET。在一個實施例中,開關1058為P通道MOSFET。在另一個實施例中,開關1058為二極體。In one embodiment, switch 1057 and switch 1058 are metal oxide semiconductor field effect transistors (MOSFETs). In one embodiment, switch 1058 is complementary to switch 1057. In one embodiment, the switch 1057 is an N-channel MOSFET. In one embodiment, switch 1058 is a P-channel MOSFET. In another embodiment, the switch 1058 is a diode.

當開關820持續斷開一段時間,直到電源輸入端VIN上的電壓低於預定值,如低電壓鎖定(UVLO)臨界值,則低電壓鎖定電路1051將產生重置(reset)信號。此重置信號會重置時脈產生器1053,使發光元件830截止。發光元件830保持為截止狀態,直到開關820再度被導通為止。When the switch 820 is continuously turned off for a period of time until the voltage at the power input VIN is below a predetermined value, such as a low voltage lock (UVLO) threshold, the low voltage lockout circuit 1051 will generate a reset signal. This reset signal resets the clock generator 1053 to turn off the light-emitting element 830. Light-emitting element 830 remains in an off state until switch 820 is again turned "on".

圖11所示為根據本發明又一實施例可攜式照明裝置1100的電路示意圖。可攜式照明裝置1100包括電池電源1110、開關820、發光元件830、感測單元840、控制器1150及電感L2。在一個實施例中,電池電源1110是一或多個鹼性電池。在一個實施例中,發光元件830為LED。在一個實施例中,控制器1150為積體電路。圖11與圖8標號 相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 11 is a circuit diagram of a portable lighting device 1100 in accordance with yet another embodiment of the present invention. The portable lighting device 1100 includes a battery power source 1110, a switch 820, a light emitting element 830, a sensing unit 840, a controller 1150, and an inductor L2. In one embodiment, battery power source 1110 is one or more alkaline batteries. In one embodiment, the light emitting element 830 is an LED. In one embodiment, controller 1150 is an integrated circuit. Figure 11 and Figure 8 The same elements have the same or similar functions and will not be described again for the sake of brevity.

在一個實施例中,電感L2作為降壓轉換器的儲能元件。當開關820導通時,控制器1150的電源輸入端VIN耦接至電池電源1110,發光元件830經由控制器1150的電源輸出端OUT接收電能。當開關820斷開時,電池電源1110停止對控制器1150供電。在一個實施例中,控制器1150根據開關820的導通與斷開狀態以及感測端ISENSE所接收到的回授信號,調節提供至發光元件830的電能。In one embodiment, inductor L2 acts as an energy storage component of the buck converter. When the switch 820 is turned on, the power input terminal VIN of the controller 1150 is coupled to the battery power source 1110, and the light emitting component 830 receives power via the power output terminal OUT of the controller 1150. When the switch 820 is turned off, the battery power source 1110 stops supplying power to the controller 1150. In one embodiment, the controller 1150 adjusts the electrical energy provided to the light-emitting element 830 based on the on and off states of the switch 820 and the feedback signals received by the sense terminal ISENSE.

圖12所示為根據本發明再一實施例之可攜式照明裝置1200的電路示意圖。電子電路1200包括電池電源1110、開關820、發光元件830、感測元件840、控制器1250、電感L2以及電容C1和C2。圖12與圖11標號相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 12 is a circuit diagram of a portable lighting device 1200 in accordance with yet another embodiment of the present invention. The electronic circuit 1200 includes a battery power source 1110, a switch 820, a light emitting element 830, a sensing element 840, a controller 1250, an inductor L2, and capacitors C1 and C2. 12 and FIG. 11 have the same or similar functions, and will not be described again for the sake of brevity.

圖13所示為圖12中的控制器1250的電路示意圖。圖13將結合圖12進行說明。控制器1250包括低電壓鎖定電路1051、觸發電路1052、時脈產生器1053、參考選擇器1054、調光單元1055、驅動器1056及開關1357、1358。圖13與圖10A標號相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。控制器1250的調光控制與圖10B所示的時序類似,在此將不再贅述。FIG. 13 is a circuit diagram of the controller 1250 of FIG. Figure 13 will be described in conjunction with Figure 12. The controller 1250 includes a low voltage lockout circuit 1051, a trigger circuit 1052, a clock generator 1053, a reference selector 1054, a dimming unit 1055, a driver 1056, and switches 1357, 1358. 13 and FIG. 10A have the same or similar functions, and will not be described again for the sake of brevity. The dimming control of the controller 1250 is similar to the timing shown in FIG. 10B and will not be described again herein.

在一個實施例中,開關1357、1358與電容C2、電感L2形成一降壓轉換器,可將電源輸出端OUT上的電壓降低至足以驅動發光元件830的電壓。在一個實施例中,切換輸出端SW經由開關1357與電源輸入端VIN耦接、經由開 關1358與地耦接,且切換輸出端SW經由電感L2及直流濾波電容C2耦接至地。電源輸出端OUT耦接至電感L2與電容C2之間的節點。因此,即使電池電源1110所提供的電壓高於驅動發光元件830所需的電壓(例如,6V),經由降壓轉換器降低電源輸出端OUT上的電壓,控制器1250仍可輸出符合該發光元件830規格的較低電壓以驅動發光元件830,並調節發光元件830的電能,可節省電池電源1110所提供的電能,進而延長電池電源1110的使用壽命。In one embodiment, the switches 1357, 1358 and the capacitor C2, the inductor L2 form a buck converter that reduces the voltage at the output of the power supply OUT to a voltage sufficient to drive the light-emitting element 830. In one embodiment, the switching output terminal SW is coupled to the power input terminal VIN via the switch 1357 via the open The switch 1358 is coupled to the ground, and the switch output terminal SW is coupled to the ground via the inductor L2 and the DC filter capacitor C2. The power output terminal OUT is coupled to a node between the inductor L2 and the capacitor C2. Therefore, even if the voltage supplied from the battery power source 1110 is higher than the voltage required to drive the light-emitting element 830 (for example, 6 V), the voltage on the power supply output terminal OUT is lowered via the buck converter, and the controller 1250 can still output the light-emitting element in accordance with the light-emitting element. The lower voltage of the 830 specification drives the light-emitting element 830 and adjusts the power of the light-emitting element 830, thereby saving the power provided by the battery power source 1110, thereby extending the life of the battery power source 1110.

在一個實施例中,開關1357和開關1358為金屬氧化物半導體場效電晶體(MOSFET)。在一個實施例中,開關1358與開關1357動作互補。在一個實施例中,開關1357為N通道MOSFET。在一個實施例中,開關1358為P通道MOSFET。在另一個實施例中,開關1358為二極體。In one embodiment, switch 1357 and switch 1358 are metal oxide semiconductor field effect transistors (MOSFETs). In one embodiment, switch 1358 is complementary to switch 1357. In one embodiment, switch 1357 is an N-channel MOSFET. In one embodiment, switch 1358 is a P-channel MOSFET. In another embodiment, the switch 1358 is a diode.

圖14所示為根據本發明一實施例之示於圖10A中之可攜式照明裝置900的性能圖。圖14顯示了利用本發明之技術特徵,使用兩個1.5V鹼性電池驅動額定電流為100mA的LED的實驗結果。比較圖14和現有技術圖7B可知,在LED維持相同的電流(即發光亮度相同)的情況下,使用現有技術的電池壽命僅為100分鐘(如圖7B所示),而圖14顯示使用本發明的電子電路則可大幅延長電池使用時間至205分鐘。參考本實驗結果,可清楚理解在達成相同亮度的情形下,使用本發明不但可節省電池亮度,亦可延長電池壽命。FIG. 14 is a diagram showing the performance of the portable lighting device 900 shown in FIG. 10A in accordance with an embodiment of the present invention. Figure 14 shows the experimental results of driving an LED having a rated current of 100 mA using two 1.5 V alkaline batteries using the technical features of the present invention. Comparing FIG. 14 with the prior art FIG. 7B, it can be seen that in the case where the LEDs maintain the same current (ie, the same luminance), the battery life using the prior art is only 100 minutes (as shown in FIG. 7B), and FIG. 14 shows the use of the present. The inventive electronic circuit can significantly extend battery life to 205 minutes. Referring to the results of this experiment, it can be clearly understood that the use of the present invention not only saves battery brightness but also extends battery life in the case where the same brightness is achieved.

圖15所示為根據本發明一實施例之可攜式照明裝置1500的電路示意圖。驅動電路1500包括電池電源810、開 關820、發光元件830、感測元件840、控制器1550和電感L1。圖15與圖8標號相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 15 is a circuit diagram of a portable lighting device 1500 according to an embodiment of the invention. The driving circuit 1500 includes a battery power source 810, and is turned on. Off 820, light emitting element 830, sensing element 840, controller 1550, and inductor L1. 15 and FIG. 8 have the same or similar functions, and will not be described again for the sake of brevity.

在一個實施例中,控制器1550包括電源輸入端VIN,經由開關820與電池電源810耦接。控制器1550的感測端VSENSE經由一分壓器1502和開關820與電池電源810耦接。電源輸出端OUT與發光元件830耦接。回授端ISENSE與感測元件840耦接。接地端GND耦接至地。切換輸出端SW經由電感L1與電源輸入端VIN耦接。指示端BATLO與一指示器1504耦接。在一個實施例中,電子電路1500還包括電容C1,耦接於電池電源810和控制器1550的電源輸入端VIN之間。在一個實施例中,可攜式照明裝置1500還包括電容C2,耦接於發光元件830和控制器1550的電源輸出端OUT之間。In one embodiment, the controller 1550 includes a power input VIN coupled to the battery power source 810 via a switch 820. The sense terminal VSENSE of the controller 1550 is coupled to the battery power source 810 via a voltage divider 1502 and a switch 820. The power output terminal OUT is coupled to the light emitting element 830. The feedback terminal ISENSE is coupled to the sensing element 840. The ground terminal GND is coupled to the ground. The switching output terminal SW is coupled to the power input terminal VIN via the inductor L1. The indicator end BATLO is coupled to an indicator 1504. In one embodiment, the electronic circuit 1500 further includes a capacitor C1 coupled between the battery power source 810 and the power input terminal VIN of the controller 1550. In one embodiment, the portable lighting device 1500 further includes a capacitor C2 coupled between the light emitting component 830 and the power output OUT of the controller 1550.

在操作中,若開關830導通,電源輸入端VIN接收來自電池電源810的電能,感測端VSENSE接收指示電池電源810的電壓的感測信號SEN。電源輸出端OUT對發光元件830提供輸出電能。回授端ISENSE接收指示發光元件830的電流的回授信號FB。控制器1550根據回授信號FB和感測信號SEN調節流經發光元件830的電流。具體而言,若指示電池電源810的電壓的感測信號SEN大於第一電壓位準,控制器1550則調節發光元件830的電流至第一電流位準。若指示電池電源810的電壓的感測信號SEN小於第二電壓位準,控制器1550則調節發光元件830的電流至第二電流位準。其中,第二電流位準低於第一電流位準。若指 示電池電源810的電壓的感測信號SEN在第一電壓位準和第二電壓位準之間,控制器1550則調節流經發光元件830的電流跟隨感測信號SEN變化。因此,控制器1550可調節發光元件830的亮度。In operation, if switch 830 is turned on, power input VIN receives power from battery power source 810, and sense terminal VSENSE receives sense signal SEN indicative of the voltage of battery power source 810. The power output terminal OUT provides output power to the light emitting element 830. The feedback terminal ISENSE receives the feedback signal FB indicating the current of the light-emitting element 830. The controller 1550 adjusts the current flowing through the light emitting element 830 according to the feedback signal FB and the sensing signal SEN. Specifically, if the sensing signal SEN indicating the voltage of the battery power source 810 is greater than the first voltage level, the controller 1550 adjusts the current of the light emitting element 830 to the first current level. If the sense signal SEN indicating the voltage of the battery power source 810 is less than the second voltage level, the controller 1550 adjusts the current of the light-emitting element 830 to the second current level. Wherein the second current level is lower than the first current level. If The sense signal SEN indicating the voltage of the battery power source 810 is between the first voltage level and the second voltage level, and the controller 1550 adjusts the current following the sense signal SEN flowing through the light-emitting element 830. Therefore, the controller 1550 can adjust the brightness of the light emitting element 830.

圖16所示為圖15中的控制器1550包含內部功能方塊的電路圖。圖16與圖10A標號相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。圖17所示為參考信號ADJ和圖16中的感測信號SEN的關係圖。圖16將結合圖17進行描述。Figure 16 is a circuit diagram of the controller 1550 of Figure 15 containing internal functional blocks. 16 and FIG. 10A have the same or similar functions, and will not be described again for the sake of brevity. Figure 17 is a diagram showing the relationship between the reference signal ADJ and the sense signal SEN in Figure 16. Figure 16 will be described in conjunction with Figure 17.

在一個實施例中,如圖16所示,控制器1550包括低電壓鎖定電路1651、參考信號產生單元1654、調光單元1055、驅動器1056、開關1057和開關1058。其中低電壓鎖定電路1651與輸入端VIN耦接。參考信號產生單元1654與感測端VSENSE耦接。調光單元1055與參考信號產生單元1654耦接。驅動器1056與調光單元1055耦接,開關1057和開關1058與驅動器1056耦接。In one embodiment, as shown in FIG. 16, the controller 1550 includes a low voltage lockout circuit 1651, a reference signal generation unit 1654, a dimming unit 1055, a driver 1056, a switch 1057, and a switch 1058. The low voltage locking circuit 1651 is coupled to the input terminal VIN. The reference signal generating unit 1654 is coupled to the sensing terminal VSENSE. The dimming unit 1055 is coupled to the reference signal generating unit 1654. The driver 1056 is coupled to the dimming unit 1055, and the switch 1057 and the switch 1058 are coupled to the driver 1056.

若開關820導通,輸入端VIN接收來自電池電源810的電能。參考信號產生單元1654根據感測信號SEN產生一參考信號ADJ。參考信號ADJ指示發光元件830的目標電流位準。感測信號SEN的電壓VSEN 與電池電源810的電壓成比例。當感測信號SEN的電壓VSEN 大於第一等級VTH1 時(即指示電池電源810的電壓大於第一電壓位準),參考信號ADJ的電壓VADJ 為第一電壓位準VADJ1 。當感測信號SEN的電壓VSEN 低於第二等級VTH2 時(即指示電池電源810的電壓小於第二電壓位準),參考信號ADJ的電壓VADJ 為第二電壓位 準VADJ2 。當感測信號SEN的電壓VSEN 高於第二等級VTH2 但低於第一等級時VTH1 時,參考信號ADJ的電壓VADJ 跟隨感測信號SEN的電壓VSEN 變化,此時發光元件830的電流也跟隨電池電源810的電壓線性變化。If switch 820 is turned on, input VIN receives power from battery power source 810. The reference signal generating unit 1654 generates a reference signal ADJ based on the sensing signal SEN. The reference signal ADJ indicates the target current level of the light-emitting element 830. The voltage V SEN of the sense signal SEN is proportional to the voltage of the battery power source 810. When the voltage V SEN of the sensing signal SEN is greater than the first level V TH1 (ie, indicating that the voltage of the battery power source 810 is greater than the first voltage level), the voltage V ADJ of the reference signal ADJ is the first voltage level V ADJ1 . When the voltage V SEN of the sensing signal SEN is lower than the second level V TH2 (ie, indicating that the voltage of the battery power source 810 is less than the second voltage level), the voltage V ADJ of the reference signal ADJ is the second voltage level V ADJ2 . When the voltage V SEN of the sensing signal SEN is higher than the second level V TH2 but lower than the first level V TH1 , the voltage V ADJ of the reference signal ADJ changes with the voltage V SEN of the sensing signal SEN, at this time, the light emitting element 830 The current also follows a linear change in the voltage of the battery power source 810.

調光單元1055根據參考信號ADJ和回授信號FB產生調光信號DRV,以調節流經發光元件830的電流。如圖16所示的實施例中,開關1057、開關1058和電容C2和電感L1組成一升壓轉換器,以將電源輸出端OUT的電壓升壓至足以驅動發光元件830的電壓值。切換輸出端SW經由電感L1與電源輸入端VIN耦接,經由開關1057接地。切換輸出端SW同時也經由開關1058與電源輸出端OUT耦接。電源輸出端OUT也與電容C2耦接。如此,即使電池電源810提供較低的電壓(例如1V的電壓),但經由升壓轉換器升高電源輸出端OUT上的電壓,控制器1550仍可以驅動發光元件830。驅動器1056根據調光信號DRV控制開關1057和開關1058。在一個實施例中,開關1057和開關1058以互補的模式工作。換句話說,開關1057和開關1058被交替地導通與斷開。因此,發光元件830的電流被調節至由參考信號ADJ確定的目標電流位準。此外,參考信號產生單元1654也根據感測信號SEN產生一指示信號IDC。若感測信號SEN指示電池電源810的電壓低於第二電壓位準,指示信號IDC則處於第一狀態(例如,邏輯高)。若感測信號SEN指示電池電源810的電壓大於第二電壓位準,指示信號IDC則處於第二狀態(例如,邏輯低)。因此,在一個實施例中,若指示信號IDC在第一狀態,指示器1054導通 以指示電池電源810的電壓低於第二電壓位準。若指示信號IDC在第二狀態,指示器1054斷開以指示電池電源810的電壓高於第二電壓位準。當電源輸入端VIN的電壓低於截止臨限值時,低電壓鎖定電路1651截止控制器1550。當電源輸入端VIN的電壓高於開啟臨限值時,低電壓鎖定電路1651開啟控制器1550。The dimming unit 1055 generates a dimming signal DRV according to the reference signal ADJ and the feedback signal FB to adjust the current flowing through the light emitting element 830. In the embodiment shown in FIG. 16, switch 1057, switch 1058 and capacitor C2 and inductor L1 form a boost converter to boost the voltage at power supply output OUT to a voltage value sufficient to drive light-emitting element 830. The switching output terminal SW is coupled to the power input terminal VIN via the inductor L1 and is grounded via the switch 1057. The switching output terminal SW is also coupled to the power supply output OUT via the switch 1058. The power supply output OUT is also coupled to the capacitor C2. As such, even though the battery power source 810 provides a lower voltage (eg, a voltage of 1V), the controller 1550 can still drive the light emitting element 830 by boosting the voltage at the power supply output OUT via the boost converter. The driver 1056 controls the switch 1057 and the switch 1058 in accordance with the dimming signal DRV. In one embodiment, switch 1057 and switch 1058 operate in a complementary mode. In other words, switch 1057 and switch 1058 are alternately turned on and off. Therefore, the current of the light-emitting element 830 is adjusted to the target current level determined by the reference signal ADJ. Further, the reference signal generating unit 1654 also generates an indication signal IDC based on the sensing signal SEN. If the sense signal SEN indicates that the voltage of the battery power source 810 is lower than the second voltage level, the indication signal IDC is in the first state (eg, logic high). If the sense signal SEN indicates that the voltage of the battery power source 810 is greater than the second voltage level, the indicator signal IDC is in the second state (eg, logic low). Therefore, in one embodiment, if the indication signal IDC is in the first state, the indicator 1054 is turned on. To indicate that the voltage of the battery power source 810 is lower than the second voltage level. If the indication signal IDC is in the second state, the indicator 1054 is turned off to indicate that the voltage of the battery power source 810 is higher than the second voltage level. The low voltage lockout circuit 1651 turns off the controller 1550 when the voltage at the power supply input terminal VIN is below the cutoff threshold. The low voltage lockout circuit 1651 turns on the controller 1550 when the voltage at the power input terminal VIN is above the turn-on threshold.

圖18所示為圖16中的參考信號產生單元1654的電路圖。參考信號產生單元1654包括第一比較器1808、第二比較器1810、第一多工器1804、第二多工器1806、感測信號處理單元1802、第三比較器1812和開關1858。感測信號處理單元1802根據感測信號SEN提供處理後的信號SEN’。處理後的信號SEN’與感測信號SEN成比例。FIG. 18 is a circuit diagram of the reference signal generating unit 1654 of FIG. The reference signal generating unit 1654 includes a first comparator 1808, a second comparator 1810, a first multiplexer 1804, a second multiplexer 1806, a sensing signal processing unit 1802, a third comparator 1812, and a switch 1858. The sensing signal processing unit 1802 provides the processed signal SEN' based on the sensing signal SEN. The processed signal SEN' is proportional to the sense signal SEN.

在操作中,第一比較器1808將感測信號SEN與第一臨限值VTH1 進行比較,以產生第一選擇信號SEL1。第二比較器1810將感測信號SEN與第二臨限值VTH2 進行比較,以產生第二選擇信號SEL2。第一多工器1804根據第一選擇信號SEL1選擇性地輸出處理後的信號SEN’或第一電壓信號ADJ1。第二多工器1806根據第二選擇信號SEL2選擇性地輸出第一多工器1804的輸出信號或第二電壓信號ADJ2。具體而言,若感測信號SEN的電壓VSEN 的電壓大於第一臨限值VTH1 ,第一多工器1024輸出第一電壓信號ADJ1。第二多工器1806輸出第一多工器1804的輸出信號(例如,第一電壓信號ADJ1)作為參考信號ADJ。若感測信號SEN的電壓VSEN 低於第二臨限值VTH2 ,第二多工器1806輸出第二電壓信號ADJ2作為參考信號。若感測信號的電壓VSEN 大於 第二臨限值VTH2 但低於第一臨限值VTH1 ,第一多工器1804輸出處理後的信號SEN’,第二多工器1806輸出第一多工器1804的輸出信號(例如,處理後的信號SEN’)。這樣,參考信號ADJ的電壓與感測信號SEN的電壓成比例,進而也與電池電源810的電壓成比例。In operation, the first comparator 1808 compares the sensed signal SEN with the first threshold value VTH1 to produce a first select signal SEL1. The second comparator 1810 compares the sense signal SEN with the second threshold value V TH2 to generate a second select signal SEL2. The first multiplexer 1804 selectively outputs the processed signal SEN' or the first voltage signal ADJ1 according to the first selection signal SEL1. The second multiplexer 1806 selectively outputs the output signal of the first multiplexer 1804 or the second voltage signal ADJ2 according to the second selection signal SEL2. Specifically, if the voltage of the voltage V SEN of the sensing signal SEN is greater than the first threshold value V TH1 , the first multiplexer 1024 outputs the first voltage signal ADJ1 . The second multiplexer 1806 outputs an output signal of the first multiplexer 1804 (eg, the first voltage signal ADJ1) as a reference signal ADJ. If the voltage V SEN of the sense signal SEN is lower than the second threshold value V TH2 , the second multiplexer 1806 outputs the second voltage signal ADJ2 as a reference signal. If the voltage V SEN of the sensing signal is greater than the second threshold V TH2 but lower than the first threshold V TH1 , the first multiplexer 1804 outputs the processed signal SEN ′, and the second multiplexer 1806 outputs the first The output signal of multiplexer 1804 (eg, processed signal SEN'). Thus, the voltage of the reference signal ADJ is proportional to the voltage of the sense signal SEN and, in turn, to the voltage of the battery power source 810.

若感測信號SEN的電壓VSEN 的電壓低於第二臨限值VTH2 ,指示電池電源810的電壓低於第二電壓位準,第三比較器1812斷開開關1858以產生具有第一狀態(例如,邏輯高)的指示信號,以導通指示器1504。若感測信號SEN的電壓VSEN 大於第一臨限值VTH1 ,指示電池電源810的電壓高於第一電壓位準,第三比較器1812導通開關1858以產生具有第二狀態(例如,邏輯低)的指示信號,以斷開指示器1504。If the voltage of the voltage V SEN of the sense signal SEN is lower than the second threshold value V TH2 , indicating that the voltage of the battery power source 810 is lower than the second voltage level, the third comparator 1812 turns off the switch 1858 to generate the first state. An indication signal (eg, logic high) to turn on indicator 1504. If the voltage V SEN of the sense signal SEN is greater than the first threshold value V TH1 , indicating that the voltage of the battery power source 810 is higher than the first voltage level, the third comparator 1812 turns on the switch 1858 to generate the second state (eg, logic) Low) indicator signal to turn off indicator 1504.

圖19所示為本發明一實施例的可攜式照明裝置1900的電路示意圖。可攜式照明裝置1900包括電池電源1110、開關820、發光元件830、感測元件840、控制器1950、電感L2以及電容C2。圖19與圖12和圖15中標號相同的元件具有相同或類似的功能,為簡明起見,在此將不再贅述。FIG. 19 is a circuit diagram of a portable lighting device 1900 according to an embodiment of the invention. The portable lighting device 1900 includes a battery power source 1110, a switch 820, a light emitting element 830, a sensing element 840, a controller 1950, an inductor L2, and a capacitor C2. 19 and FIG. 12 and FIG. 15 have the same or similar functions, and will not be described again for the sake of brevity.

圖20所示為圖19中的控制器1950包含內部功能方塊的示意圖。圖20與圖10和圖16中標號相同的元件具有相同或類似的功能。在一個實施例中,控制器1950包括低電壓鎖定電路1651、參考信號產生單元1654、調光單元1055、驅動器1056、開關1357和開關1358。其中低電壓鎖定電路1651與電源輸入端VIN耦接。參考信號產生單元1654與感測端VSENSE耦接。調光單元1055與參考信號產 生單元1654耦接。驅動器1056與調光單元1055耦接。開關1357和開關1358與驅動器1056耦接。在圖20所示的實施例中,開關1357、開關1358和電容C2和電感L2組成降壓轉換器,以將控制器1950的電源輸出端OUT的電壓降低至較低的仍可以驅動發光元件830的電壓。在一個實施例中,開關1357和開關1358以互補模式工作。換言之,開關1357和開關1358被交替性地導通與斷開。在圖20所示的實施例中,切換輸出端SW經由開關1357與電源輸入端VIN耦接。切換輸出端SW經由開關1358接地。切換輸出端SW也經由電感L2和電容C2接地。因此,即使電池電源1110提供的電壓高於驅動發光元件830的合適電壓(例如6V),控制器1950可以透過降壓轉換器以較低的電壓驅動發光元件830。Figure 20 is a schematic diagram of the controller 1950 of Figure 19 containing internal functional blocks. 20 has the same or similar functions as those of FIGS. 10 and 16. In one embodiment, controller 1950 includes a low voltage lockout circuit 1651, a reference signal generation unit 1654, a dimming unit 1055, a driver 1056, a switch 1357, and a switch 1358. The low voltage locking circuit 1651 is coupled to the power input terminal VIN. The reference signal generating unit 1654 is coupled to the sensing terminal VSENSE. Dimming unit 1055 and reference signal production The living unit 1654 is coupled. The driver 1056 is coupled to the dimming unit 1055. Switch 1357 and switch 1358 are coupled to driver 1056. In the embodiment shown in FIG. 20, the switch 1357, the switch 1358, and the capacitor C2 and the inductor L2 form a buck converter to reduce the voltage of the power supply output OUT of the controller 1950 to a lower level to still drive the light-emitting element 830. Voltage. In one embodiment, switch 1357 and switch 1358 operate in a complementary mode. In other words, the switch 1357 and the switch 1358 are alternately turned on and off. In the embodiment shown in FIG. 20, the switching output terminal SW is coupled to the power supply input terminal VIN via the switch 1357. The switching output terminal SW is grounded via a switch 1358. The switching output terminal SW is also grounded via the inductor L2 and the capacitor C2. Therefore, even if the battery power supply 1110 provides a voltage higher than a suitable voltage (eg, 6V) that drives the light-emitting element 830, the controller 1950 can drive the light-emitting element 830 at a lower voltage through the buck converter.

圖21所示為根據本發明一實施例之對光源供電的方法流程圖2100。在步驟2102中,在控制器的控制下,電池電源對發光元件供電。在步驟2104中,提供指示電池電源的電壓的感測信號給控制器。在步驟2106中,根據感測信號調節流經發光元件的電流。具體而言,當感測信號指示電池電源的電壓大於第一電壓位準時,流經發光元件的電流被調節至第一電流位準;當感測信號指示電池電源的電壓低於第二電壓位準時,流經發光元件的電流被調節至第二電流位準。第二電壓位準低於第一電壓位準。當感測信號指示電池電源的電壓在第二電壓位準和第一電壓位準之間時,流經發光元件的電流被調節至根據感測信號的電壓變化。21 is a flow chart 2100 of a method of powering a light source in accordance with an embodiment of the present invention. In step 2102, the battery power supplies power to the light-emitting elements under the control of the controller. In step 2104, a sense signal indicative of the voltage of the battery power is provided to the controller. In step 2106, the current flowing through the light emitting element is adjusted according to the sensing signal. Specifically, when the sensing signal indicates that the voltage of the battery power source is greater than the first voltage level, the current flowing through the light emitting element is adjusted to the first current level; when the sensing signal indicates that the voltage of the battery power source is lower than the second voltage level On time, the current flowing through the illuminating element is adjusted to the second current level. The second voltage level is lower than the first voltage level. When the sensing signal indicates that the voltage of the battery power source is between the second voltage level and the first voltage level, the current flowing through the light emitting element is adjusted to a voltage change according to the sensing signal.

對光源供電的方法還包括控制器根據感測信號產生參考信號。參考信號指示流經發光元件的目標電流位準。當感測信號指示電池電源的電壓大於第一電壓位準時,參考信號的電壓在第一電壓位準;當感測信號指示電池電源的電壓低於第二電壓位準時,參考信號的電壓在第二電壓位準;當感測信號指示電池電源的電壓在第二電壓位準和第一電壓位準之間時,參考信號的電壓跟隨感測信號線性變化。The method of powering the light source further includes the controller generating a reference signal based on the sensed signal. The reference signal indicates a target current level flowing through the light emitting element. When the sensing signal indicates that the voltage of the battery power source is greater than the first voltage level, the voltage of the reference signal is at the first voltage level; when the sensing signal indicates that the voltage of the battery power source is lower than the second voltage level, the voltage of the reference signal is at the The second voltage level; when the sensing signal indicates that the voltage of the battery power source is between the second voltage level and the first voltage level, the voltage of the reference signal follows the sensing signal to linearly change.

對光源供電的方法還包括控制器根據感測信號產生指示信號以控制指示器。感測信號指示電池電源的電壓低於第二電壓位準時,指示信號在第一狀態;當感測信號指示電池電源的電壓大於第二電壓位準時,指示信號在第二狀態。The method of powering the light source further includes the controller generating an indication signal based on the sensing signal to control the indicator. The sensing signal indicates that the voltage of the battery power source is lower than the second voltage level, the indication signal is in the first state; and when the sensing signal indicates that the voltage of the battery power source is greater than the second voltage level, the indication signal is in the second state.

有利之處在於,本發明提供了對光源供電的電路。控制器感測電池電源的電壓,根據電池的電壓調節參考信號。根據指示發光元件的目標電流值的參考信號調節流經發光元件的電流。若電池電源的電壓較低,流經發光元件的電流被調節至較低等級。因此,電池的壽命延長,從而延長發光元件的壽命。Advantageously, the present invention provides circuitry for powering a light source. The controller senses the voltage of the battery power source and adjusts the reference signal according to the voltage of the battery. The current flowing through the light emitting element is adjusted according to a reference signal indicating a target current value of the light emitting element. If the voltage of the battery power supply is low, the current flowing through the light-emitting element is adjusted to a lower level. Therefore, the life of the battery is extended, thereby extending the life of the light-emitting element.

本領域普通技術人員可以理解,此處的“電池”並不限於乾電池或鹼性電池,其可包括鋰電池或其他類型的電池。此外,雖然本發明的實施例只示出了一個發光元件,可以理解的是,本發明並不限於發光元件的數量,而是可以採用任意數量的發光元件。此處為便於說明以以發光二極體(LED)為實施例,但本發明並不以此為限,可將LED 替換為其他類型的發光元件。本發明雖以手電筒為例加以說明,但並不限於家用或小型手電筒,其亦包括不同尺寸、不同用途的可攜式照明裝置。例如但不限於:登山、探測所用的頭燈,或自行車的車燈等等。It will be understood by one of ordinary skill in the art that the "battery" herein is not limited to a dry battery or an alkaline battery, and may include a lithium battery or other type of battery. Further, although the embodiment of the present invention shows only one light-emitting element, it is understood that the present invention is not limited to the number of light-emitting elements, but any number of light-emitting elements may be employed. Here, for convenience of description, a light-emitting diode (LED) is taken as an embodiment, but the invention is not limited thereto, and the LED can be used. Replace with other types of light-emitting elements. Although the invention is described by taking a flashlight as an example, it is not limited to a household or small flashlight, and it also includes a portable lighting device of different sizes and different uses. For example, but not limited to: mountaineering, headlights used for detection, or bicycle lights, etc.

上文具體實施方式和附圖僅為本發明之常用實施例。顯然,在不脫離權利要求書所界定的本發明精神和發明範圍的前提下可以有各種增補、修改和替換。本領域技術人員應該理解,本發明在實際應用中可根據具體的環境和工作要求在不背離發明準則的前提下在形式、結構、佈局、比例、材料、元素、元件及其它方面有所變化。因此,在此披露之實施例僅用於說明而非限制,本發明之範圍由後申請專利範圍及其合法等同物界定,而不限於此前之描述。The above detailed description and the accompanying drawings are only typical embodiments of the invention. It is apparent that various additions, modifications and substitutions are possible without departing from the spirit and scope of the invention as defined by the appended claims. It should be understood by those skilled in the art that the present invention may be changed in form, structure, arrangement, ratio, material, element, element, and other aspects without departing from the scope of the invention. The presently disclosed embodiments are, however, to be construed as limited by the description

100‧‧‧電源系統100‧‧‧Power system

102‧‧‧適配器102‧‧‧Adapter

103‧‧‧開關103‧‧‧ switch

104‧‧‧直流/直流(DC/DC)轉換器104‧‧‧DC/DC converter

105‧‧‧開關105‧‧‧ switch

106‧‧‧充電器106‧‧‧Charger

108‧‧‧發光二極體108‧‧‧Lighting diode

110‧‧‧電池110‧‧‧Battery

200‧‧‧電源系統200‧‧‧Power System

202‧‧‧適配器202‧‧‧Adapter

203‧‧‧開關203‧‧‧Switch

205‧‧‧開關205‧‧‧ switch

206‧‧‧控制器206‧‧‧ Controller

207‧‧‧開關207‧‧‧ switch

208‧‧‧發光二極體208‧‧‧Lighting diode

210‧‧‧電池210‧‧‧Battery

211‧‧‧電容211‧‧‧ Capacitance

212‧‧‧感應電阻212‧‧‧Induction resistance

213‧‧‧電容213‧‧‧ Capacitance

214‧‧‧電感214‧‧‧Inductance

216‧‧‧感應電阻216‧‧‧Induction resistance

220‧‧‧控制電路220‧‧‧Control circuit

230‧‧‧分壓電阻230‧‧‧voltage resistor

411‧‧‧振盪器411‧‧‧Oscillator

412‧‧‧正反器412‧‧‧Factor

413‧‧‧比較器413‧‧‧ comparator

414‧‧‧選擇器414‧‧‧Selector

415、416‧‧‧誤差放大器415, 416‧‧‧ error amplifier

417‧‧‧比較器417‧‧‧ comparator

419‧‧‧誤差放大器419‧‧‧Error amplifier

421、422‧‧‧及閘421, 422‧‧‧ and gate

431‧‧‧加法器431‧‧‧Adder

432‧‧‧放大器432‧‧‧Amplifier

433‧‧‧斜坡信號產生器433‧‧‧Ramp signal generator

434、436‧‧‧減法器434, 436‧‧ ‧ subtractor

440‧‧‧電壓調整器440‧‧‧Voltage regulator

446‧‧‧電壓源446‧‧‧voltage source

600‧‧‧流程圖600‧‧‧ Flowchart

602、603、604、605、606‧‧‧步驟602, 603, 604, 605, 606‧‧ steps

700‧‧‧電路700‧‧‧ circuits

710‧‧‧電池組710‧‧‧Battery Pack

720‧‧‧開關720‧‧‧ switch

730‧‧‧光源730‧‧‧Light source

740‧‧‧限流電阻740‧‧‧ Current limiting resistor

750‧‧‧性能圖750‧‧‧ performance chart

800‧‧‧可攜式照明裝置800‧‧‧ portable lighting device

810‧‧‧電池電源810‧‧‧Battery power supply

820‧‧‧開關820‧‧‧ switch

830‧‧‧發光元件830‧‧‧Lighting elements

840‧‧‧感測元件840‧‧‧Sensor components

850‧‧‧控制器850‧‧‧ Controller

900‧‧‧可攜式照明裝置900‧‧‧Portable lighting

950‧‧‧控制器950‧‧‧ Controller

1051‧‧‧低電壓鎖定電路1051‧‧‧Low voltage lockout circuit

1052‧‧‧觸發電路1052‧‧‧Trigger circuit

1053‧‧‧時脈產生器1053‧‧‧ Clock Generator

1054‧‧‧參考選擇器1054‧‧‧Reference selector

1055‧‧‧調光單元1055‧‧‧ dimming unit

1056‧‧‧驅動器1056‧‧‧ drive

1057、1058‧‧‧開關1057, 1058‧‧ ‧ switch

1100‧‧‧可攜式照明裝置1100‧‧‧ portable lighting

1110‧‧‧電池電源1110‧‧‧Battery power supply

1150‧‧‧控制器1150‧‧‧ Controller

1200‧‧‧可攜式照明裝置1200‧‧‧ portable lighting device

1250‧‧‧控制器1250‧‧‧ Controller

1357、1358‧‧‧開關1357, 1358‧‧ ‧ switch

1500‧‧‧可攜式照明裝置1500‧‧‧ portable lighting device

1502‧‧‧分壓器1502‧‧  voltage divider

1504‧‧‧指示器1504‧‧‧ indicator

1651‧‧‧低電壓鎖定電路1651‧‧‧Low voltage lockout circuit

1654‧‧‧參考信號產生單元1654‧‧‧Reference signal generating unit

1802‧‧‧感測信號處理單元1802‧‧‧Sensor signal processing unit

1804‧‧‧第一多工器1804‧‧‧First multiplexer

1806‧‧‧第二多工器1806‧‧‧Second multiplexer

1808‧‧‧第一比較器1808‧‧‧First comparator

1810‧‧‧第二比較器1810‧‧‧Second comparator

1812‧‧‧第三比較器1812‧‧‧ third comparator

1858‧‧‧開關1858‧‧‧Switch

1900‧‧‧可攜式照明裝置1900‧‧‧ portable lighting device

1950‧‧‧控制器1950‧‧‧ Controller

2100‧‧‧流程圖2100‧‧‧Flowchart

2102、2104、2106‧‧‧步驟2102, 2104, 2106‧‧‧ steps

以下結合附圖和具體實施例對本發明的技術方法進行詳細的描述,以使本發明的特徵和優點更為明顯。其中:圖1所示為傳統電源系統的方塊圖。The technical method of the present invention will be described in detail below in conjunction with the accompanying drawings and specific embodiments to make the features and advantages of the present invention more obvious. Among them: Figure 1 shows a block diagram of a conventional power system.

圖2所示為根據本發明一實施例電源系統的方塊圖。2 is a block diagram of a power supply system in accordance with an embodiment of the present invention.

圖2A中所示為圖2中所示的電源系統中的可調節參考電壓VADJ 和電壓VUVLS 之間關係的示意圖。A schematic diagram of the relationship between the adjustable reference voltage V ADJ and the voltage V UVLS in the power supply system shown in FIG. 2 is shown in FIG. 2A.

圖3A所示為在充電模式下,控制器的輸出埠CTR1、CTR2和CTR3的輸出控制信號的示例性時序圖。Figure 3A shows an exemplary timing diagram of the output control signals of the outputs 埠CTR1, CTR2 and CTR3 of the controller in the charging mode.

圖3B所示為在負載供電模式下,控制器的輸出埠CTR1、CTR2和CTR3的輸出控制信號的示例性時序圖。Figure 3B shows an exemplary timing diagram of the output control signals of the controller outputs CTR1, CTR2, and CTR3 in the load supply mode.

圖4所示為根據本發明一實施例圖2中所示之控制電路的結構示意圖。4 is a block diagram showing the structure of the control circuit shown in FIG. 2 according to an embodiment of the present invention.

圖5所示為根據本發明一實施例的與圖4中的正反器相關的信號時序圖。FIG. 5 is a timing diagram of signals associated with the flip-flop of FIG. 4, in accordance with an embodiment of the present invention.

圖6所示為根據本發明一實施例電源系統操作流程圖。6 is a flow chart showing the operation of a power supply system in accordance with an embodiment of the present invention.

圖7A所示為現有手電筒內的電路示意圖。Figure 7A shows a schematic circuit diagram of a conventional flashlight.

圖7B所示為圖7A中的電路的性能圖。Figure 7B is a graph showing the performance of the circuit of Figure 7A.

圖8所示為根據本發明一實施例之可攜式照明裝置的電路示意圖。FIG. 8 is a circuit diagram of a portable lighting device according to an embodiment of the invention.

圖9所示為根據本發明另一實施例之可攜式照明裝置的電路示意圖。FIG. 9 is a circuit diagram of a portable lighting device according to another embodiment of the present invention.

圖10A所示為圖9中所示之控制器的電路示意圖。Figure 10A is a circuit diagram of the controller shown in Figure 9.

圖10B所示為圖10A中所示之控制器的調光控制時序圖。Fig. 10B is a timing chart showing the dimming control of the controller shown in Fig. 10A.

圖11所示為根據本發明又一實施例之可攜式照明裝置的電路示意圖。FIG. 11 is a circuit diagram of a portable lighting device according to still another embodiment of the present invention.

圖12所示為根據本發明再一實施例之可攜式照明裝置的電路示意圖。FIG. 12 is a circuit diagram of a portable lighting device according to still another embodiment of the present invention.

圖13所示為圖12中的控制器的電路示意圖。Figure 13 is a circuit diagram of the controller of Figure 12.

圖14所示為根據本發明一實施例之示於圖10A中之可攜式照明裝置的性能圖。Figure 14 is a graph showing the performance of the portable lighting device shown in Figure 10A in accordance with an embodiment of the present invention.

圖15所示為根據本發明一實施例之可攜式照明裝置的電路示意圖。FIG. 15 is a circuit diagram of a portable lighting device according to an embodiment of the invention.

圖16所示為圖15中的控制器包含內部功能方塊的電 路圖。Figure 16 shows the controller of Figure 15 containing the internal functional blocks. Road map.

圖17所示為圖16中所示之參考信號ADJ和感測信號SEN之間的關係圖。Figure 17 is a diagram showing the relationship between the reference signal ADJ and the sense signal SEN shown in Figure 16.

圖18所示為圖16中的參考信號產生單元的電路圖。Fig. 18 is a circuit diagram showing the reference signal generating unit of Fig. 16.

圖19所示為本發明一實施例的可攜式照明裝置的電路示意圖。FIG. 19 is a circuit diagram of a portable lighting device according to an embodiment of the invention.

圖20所示為圖19中的控制器包含內部功能方塊的示意圖。Figure 20 is a schematic diagram of the controller of Figure 19 containing internal functional blocks.

圖21所示為根據本發明一實施例之對光源供電的方法流程圖。21 is a flow chart of a method of powering a light source in accordance with an embodiment of the present invention.

800‧‧‧可攜式照明裝置800‧‧‧ portable lighting device

810‧‧‧電池電源810‧‧‧Battery power supply

820‧‧‧開關820‧‧‧ switch

830‧‧‧發光元件830‧‧‧Lighting elements

840‧‧‧感測元件840‧‧‧Sensor components

850‧‧‧控制器850‧‧‧ Controller

Claims (16)

一種可攜式照明裝置,包括:一電源,提供一電壓;一負載電路,包括一發光二極體光源;以及一控制器,接收該電壓,並根據指示該電壓的一感測信號調節流經該發光二極體光源的一電流,其中,當指示該電壓的該感測信號高於一第一電壓位準時,該控制器將流經該發光二極體光源的該電流調節至一第一電流位準,且其中,當指示該電壓的該感測信號低於一第二電壓位準時,該控制器調節流經該發光二極體光源的該電流至一第二電流位準,且其中,當指示該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該控制器調節流經該發光二極體光源的該電流跟隨該感測信號變化,其中,該控制器包括一參考信號產生單元,根據該感測信號產生一參考信號,其中,當指示該電壓的該感測信號大於該第一電壓位準時,該參考信號的一電壓處於該第一電壓位準,且其中,當指示該電壓的該感測信號低於該第二電壓位準時,該參考信號的該電壓處於該第二電壓位準;當指示該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該參考信號的該電壓跟隨該感測信號線性變化,其中,該參考信號產生單元包括:一第一比較器,將該感測信號與一第一臨限值進行比較; 一第二比較器,將該感測信號與一第二臨限值進行比較;一感測信號處理單元,根據該感測信號提供一處理過信號;一第一多工器,根據該第一比較器的一輸出選擇性地輸出該處理過信號或一第一電壓信號;以及一第二多工器,根據該第二比較器的一輸出選擇性的輸出該第一多工器的一輸出信號或一第二電壓信號。 A portable lighting device comprising: a power source providing a voltage; a load circuit comprising a light emitting diode light source; and a controller receiving the voltage and regulating the flow according to a sensing signal indicating the voltage a current of the light emitting diode light source, wherein when the sensing signal indicating the voltage is higher than a first voltage level, the controller adjusts the current flowing through the light emitting diode light source to a first a current level, and wherein, when the sensing signal indicating the voltage is lower than a second voltage level, the controller adjusts the current flowing through the light emitting diode source to a second current level, and wherein When the sensing signal indicating the voltage is between the first voltage level and the second voltage level, the controller adjusts the current flowing through the light emitting diode source to follow the sensing signal change, The controller includes a reference signal generating unit, and generates a reference signal according to the sensing signal, wherein when the sensing signal indicating the voltage is greater than the first voltage level, a voltage of the reference signal is at a first voltage level, and wherein when the sensing signal indicating the voltage is lower than the second voltage level, the voltage of the reference signal is at the second voltage level; when the sensing signal indicating the voltage When the voltage level is between the first voltage level and the second voltage level, the voltage of the reference signal changes linearly following the sensing signal, wherein the reference signal generating unit comprises: a first comparator, the sense The measured signal is compared with a first threshold value; a second comparator, comparing the sensing signal with a second threshold; a sensing signal processing unit, providing a processed signal according to the sensing signal; a first multiplexer, according to the first An output of the comparator selectively outputs the processed signal or a first voltage signal; and a second multiplexer selectively outputs an output of the first multiplexer according to an output of the second comparator A signal or a second voltage signal. 如申請專利範圍第1項的可攜式照明裝置,其中,當指示該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該控制器根據該感測信號和一回授信號調節流經該發光二極體光源的該電流,使之跟隨該電壓線性變化,其中,該回授信號指示流經該發光二極體光源的該電流。 The portable lighting device of claim 1, wherein the controller according to the sensing when the sensing signal indicating the voltage is between the first voltage level and the second voltage level The signal and a feedback signal regulate the current flowing through the light emitting diode source to follow a linear change in the voltage, wherein the feedback signal indicates the current flowing through the light emitting diode source. 如申請專利範圍第1項的可攜式照明裝置,其中,該處理過信號與該感測信號成比例。 The portable lighting device of claim 1, wherein the processed signal is proportional to the sensing signal. 如申請專利範圍第1項的可攜式照明裝置,其中,該控制器包括一調光單元,根據該參考信號和一回授信號產生一調光信號,以調節流經該發光二極體光源的該電流,其中,該回授信號指示流經該發光二極體光源的該電流。 The portable lighting device of claim 1, wherein the controller comprises a dimming unit, and generates a dimming signal according to the reference signal and a feedback signal to adjust the light source flowing through the LED The current, wherein the feedback signal indicates the current flowing through the light emitting diode source. 如申請專利範圍第1項的可攜式照明裝置,其中,該控制器根據該感測信號產生一指示信號,其中,當指示該電壓的該感測信號低於該第二電壓位準時,該指示信號處於一第一狀態;當指示該電壓的該感測信號 高於該第二電壓位準時,該指示信號處於一第二狀態。 The portable lighting device of claim 1, wherein the controller generates an indication signal according to the sensing signal, wherein when the sensing signal indicating the voltage is lower than the second voltage level, The indication signal is in a first state; when the sensing signal indicating the voltage is When the second voltage level is higher than the second voltage level, the indication signal is in a second state. 如申請專利範圍第5項的可攜式照明裝置,其中,該可攜式照明裝置還包括一指示器,其中,當該指示信號處於該第一狀態時,該指示器被導通;當該指示信號處於該第二狀態時,該指示器被斷開。 The portable lighting device of claim 5, wherein the portable lighting device further comprises an indicator, wherein the indicator is turned on when the indication signal is in the first state; when the indication The indicator is turned off when the signal is in the second state. 如申請專利範圍第1項的可攜式照明裝置,其中,該控制器包括一感測端,耦接該電源,接收指示該電壓的該感測信號。 The portable lighting device of claim 1, wherein the controller comprises a sensing end coupled to the power source and receiving the sensing signal indicating the voltage. 如申請專利範圍第1項的可攜式照明裝置,其中,該控制器包括一電源輸入端,接收該電壓。 The portable lighting device of claim 1, wherein the controller includes a power input terminal for receiving the voltage. 如申請專利範圍第8項的可攜式照明裝置,其中,該控制器包括一切換輸出端,透過一電感耦接至該電源輸入端。 The portable lighting device of claim 8, wherein the controller comprises a switching output coupled to the power input through an inductor. 一種對發光二極體光源供電的方法,包括:在一控制器的控制下,一電源向一發光二極體光源供電;該控制器接收指示該電源的一電壓的一感測信號;當指示該電源的該電壓的該感測信號高於一第一電壓位準時,該控制器將流經該發光二極體光源的一電流調節至一第一電流位準;當指示該電源的該電壓的該感測信號低於一第二電壓位準時,該控制器將流經該發光二極體光源的該電流調節至一第二電流位準;以及當指示該電源的該電壓的該感測信號在該第一電壓 位準和該第二電壓位準之間時,該控制器調節流經該發光二極體光源的該電流跟隨該感測信號變化,其中,該控制器包括一參考信號產生單元,根據該感測信號產生一參考信號,其中,當指示該電壓的該感測信號大於該第一電壓位準時,該參考信號的一電壓處於該第一電壓位準,且其中,當指示該電壓的該感測信號低於該第二電壓位準時,該參考信號的該電壓處於該第二電壓位準;當指示該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,該參考信號的該電壓跟隨該感測信號線性變化,其中,該參考信號產生單元包括:一第一比較器,將該感測信號與一第一臨限值進行比較;一第二比較器,將該感測信號與一第二臨限值進行比較;一感測信號處理單元,根據該感測信號提供一處理過信號;一第一多工器,根據該第一比較器的一輸出選擇性地輸出該處理過信號或一第一電壓信號;以及一第二多工器,根據該第二比較器的一輸出選擇性的輸出該第一多工器的一輸出信號或一第二電壓信號。 A method for supplying power to a light emitting diode light source, comprising: a power supply to a light emitting diode light source under control of a controller; the controller receiving a sensing signal indicating a voltage of the power source; When the sensing signal of the voltage of the power source is higher than a first voltage level, the controller adjusts a current flowing through the light emitting diode light source to a first current level; when the voltage of the power source is indicated When the sensing signal is lower than a second voltage level, the controller adjusts the current flowing through the light emitting diode source to a second current level; and the sensing when the voltage of the power source is indicated Signal at the first voltage When the level is between the level and the second voltage level, the controller adjusts the current flowing through the light emitting diode source to follow the sensing signal change, wherein the controller includes a reference signal generating unit, according to the sense The measurement signal generates a reference signal, wherein when the sensing signal indicating the voltage is greater than the first voltage level, a voltage of the reference signal is at the first voltage level, and wherein the sense of the voltage is indicated When the measured signal is lower than the second voltage level, the voltage of the reference signal is at the second voltage level; when the sensing signal indicating the voltage is between the first voltage level and the second voltage level The voltage of the reference signal changes linearly following the sensing signal, wherein the reference signal generating unit comprises: a first comparator, comparing the sensing signal with a first threshold; and a second comparison Comparing the sensing signal with a second threshold value; a sensing signal processing unit providing a processed signal according to the sensing signal; a first multiplexer according to the first comparator Output selection And outputting the processed signal or a first voltage signal; and a second multiplexer selectively outputting an output signal or a second voltage of the first multiplexer according to an output of the second comparator signal. 如申請專利範圍第10項的方法,其中,當指示該電源的該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間時,根據該感測信號和一回授信號調節流經該發光二極體光源的該電流跟隨該電壓變 化,其中,該回授信號指示流經該發光二極體光源的該電流。 The method of claim 10, wherein when the sensing signal indicating the voltage of the power source is between the first voltage level and the second voltage level, according to the sensing signal and a Signaling the current flowing through the light emitting diode source to follow the voltage change The feedback signal indicates the current flowing through the light emitting diode source. 如申請專利範圍第10項的方法,進一步包括:該控制器根據該感測信號產生一指示信號,控制一指示器;當指示該電源的該電壓的該感測信號低於該第二電壓位準時,控制該指示信號處於一第一狀態;以及當指示該電源的該電壓的該感測信號高於該第二電壓位準時,控制該指示信號處於一第二狀態。 The method of claim 10, further comprising: the controller generating an indication signal according to the sensing signal, controlling an indicator; when the sensing signal indicating the voltage of the power source is lower than the second voltage level Controlling the indication signal in a first state on time; and controlling the indication signal to be in a second state when the sensing signal indicating the voltage of the power source is higher than the second voltage level. 一種控制對發光二極體光源的供電的控制器,包括:一電源輸入端,耦接一電源,接收來自該電源的一電壓;一感測端,耦接該電源,接收指示該電源的該電壓的一感測信號;以及一回授端,接收指示流經該發光二極體光源的一電流的一回授信號,其中,該控制器根據該回授信號和該感測信號產生指示流經該發光二極體光源的一目標電流的一參考信號,並根據該回授信號和該參考信號調節流經該發光二極體光源的該電流,當指示該電源的該電壓的該感測信號高於一第一電壓位準時,該參考信號的一電壓處於該第一電壓位準;當指示該電源的該電壓的該感測信號低於一第二電壓位準時,該參考信號的該電壓處於該第二電壓位準;當指示該電源的該電壓的該感測信號在該第一電壓位準和該第二電壓位準之間 時,該參考信號的該電壓跟隨該感測信號線性變化,其中,該控制器進一步包括:一第一比較器,將該感測信號與一第一臨限值信號進行比較;一第二比較器,將該感測信號與一第二臨限值信號進行比較;一感測信號處理單元,根據該感測信號提供一處理後信號;一第一多工器,根據該第一比較器的一輸出選擇性地輸出該處理後信號或一第一電壓信號;以及一第二多工器,根據該第二比較器的輸出選擇性地輸出該第一多工器的一輸出信號或一第二電壓信號。 A controller for controlling power supply to a light emitting diode light source includes: a power input end coupled to a power source for receiving a voltage from the power source; and a sensing end coupled to the power source to receive the power source a sensing signal of the voltage; and a feedback end receiving a feedback signal indicating a current flowing through the light emitting diode light source, wherein the controller generates an indication flow according to the feedback signal and the sensing signal Passing a reference signal of a target current of the light emitting diode light source, and adjusting the current flowing through the light emitting diode light source according to the feedback signal and the reference signal, when the sensing of the voltage of the power source is indicated When the signal is higher than a first voltage level, a voltage of the reference signal is at the first voltage level; when the sensing signal indicating the voltage of the power source is lower than a second voltage level, the reference signal The voltage is at the second voltage level; when the sensing signal indicating the voltage of the power source is between the first voltage level and the second voltage level The voltage of the reference signal follows a linear change of the sense signal, wherein the controller further comprises: a first comparator, comparing the sensed signal with a first threshold signal; and a second comparison Comparing the sensing signal with a second threshold signal; a sensing signal processing unit providing a processed signal according to the sensing signal; a first multiplexer according to the first comparator An output selectively outputting the processed signal or a first voltage signal; and a second multiplexer selectively outputting an output signal or a first multiplexer of the first multiplexer according to an output of the second comparator Two voltage signals. 如申請專利範圍第13項的控制器,其中,該處理後信號與該感測信號成比例。 The controller of claim 13, wherein the processed signal is proportional to the sensed signal. 如申請專利範圍第13項的控制器,其中,該控制器根據該感測信號產生一指示信號,其中,當指示該電源的該電壓的該感測信號低於該第二電壓位準時,該指示信號處於一第一狀態;當指示該電源的該電壓的該感測信號高於該第二電壓位準時,該指示信號處於一第二狀態。 The controller of claim 13, wherein the controller generates an indication signal according to the sensing signal, wherein when the sensing signal indicating the voltage of the power source is lower than the second voltage level, The indication signal is in a first state; when the sensing signal indicating the voltage of the power source is higher than the second voltage level, the indication signal is in a second state. 如申請專利範圍第13項的控制器,進一步包括一指示端,耦接一指示器,其中,當指示該電源的該電壓的該感測信號低於該第二電壓位準時,該指示器被導通;當指示該電源的該電壓的該感測信號高於該第二電壓位準時,該指示器被斷開。 The controller of claim 13 further comprising an indication end coupled to an indicator, wherein when the sensing signal indicating the voltage of the power source is lower than the second voltage level, the indicator is Turning on; the indicator is turned off when the sensed signal indicating the voltage of the power source is higher than the second voltage level.
TW101145722A 2012-02-20 2012-12-05 Controller and method for powering light emitting diode light source and portable lighting device TWI507082B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
US13/400,121 US8508142B2 (en) 2009-03-20 2012-02-20 Portable lighting device and method thereof

Publications (2)

Publication Number Publication Date
TW201336344A TW201336344A (en) 2013-09-01
TWI507082B true TWI507082B (en) 2015-11-01

Family

ID=48963920

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101145722A TWI507082B (en) 2012-02-20 2012-12-05 Controller and method for powering light emitting diode light source and portable lighting device

Country Status (2)

Country Link
CN (1) CN103260303A (en)
TW (1) TWI507082B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020170A (en) * 2019-05-28 2020-12-01 聚众联合科技股份有限公司 Light source adjusting system

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282896B (en) * 2014-05-27 2019-08-02 赛尔富电子有限公司 A kind of LED lamp power control circuit
DE112015004612T5 (en) * 2014-10-10 2017-06-22 Iee International Electronics & Engineering S.A. Capacitive detection device
ES2751023T3 (en) * 2015-11-26 2020-03-30 Signify Holding Bv A lighting module arranged to connect to a luminaire
CN105939555B (en) * 2016-06-03 2018-11-30 杭州士兰微电子股份有限公司 LED drive device and its control circuit and control method
CN106487073B (en) * 2016-12-13 2021-01-12 合肥中感微电子有限公司 Power supply circuit and electronic equipment
CN112672460A (en) * 2019-10-15 2021-04-16 凹凸电子(成都)有限公司 Controller and method for controlling light source module
CN114352983A (en) * 2022-03-17 2022-04-15 深圳市爱图仕影像器材有限公司 Method and device for distributing power, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201396582Y (en) * 2009-03-20 2010-02-03 凹凸电子(武汉)有限公司 Portable illumination device
CN201750607U (en) * 2010-09-10 2011-02-16 重庆辉腾光电有限公司 Controller for solar energy street lamp
TWM412574U (en) * 2011-04-15 2011-09-21 Excelliance Mos Corp Driving circuit of light emitting diode
TW201201629A (en) * 2010-03-08 2012-01-01 Koninkl Philips Electronics Nv Lighting device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2859217Y (en) * 2005-12-16 2007-01-17 彭建成 Safety miner's lamp
US8193758B2 (en) * 2008-10-27 2012-06-05 O2 Micro, Inc Circuits and methods for power conversion

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201396582Y (en) * 2009-03-20 2010-02-03 凹凸电子(武汉)有限公司 Portable illumination device
TW201201629A (en) * 2010-03-08 2012-01-01 Koninkl Philips Electronics Nv Lighting device
CN201750607U (en) * 2010-09-10 2011-02-16 重庆辉腾光电有限公司 Controller for solar energy street lamp
TWM412574U (en) * 2011-04-15 2011-09-21 Excelliance Mos Corp Driving circuit of light emitting diode

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112020170A (en) * 2019-05-28 2020-12-01 聚众联合科技股份有限公司 Light source adjusting system
TWI734324B (en) * 2019-05-28 2021-07-21 聚眾聯合科技股份有限公司 Light source adjustment system

Also Published As

Publication number Publication date
CN103260303A (en) 2013-08-21
TW201336344A (en) 2013-09-01

Similar Documents

Publication Publication Date Title
TWI507082B (en) Controller and method for powering light emitting diode light source and portable lighting device
US8508142B2 (en) Portable lighting device and method thereof
TWI468069B (en) Systems, control circuits, and method thereof for controlling power to light emitting diode
US8120280B2 (en) Circuits and methods for controlling a light source
US8686667B2 (en) Lighting power source with controlled charging operation for driving capacitor
TWI461105B (en) Dimming controllers, driving circuits and methods for controlling power of light source
US8421360B2 (en) Load determination device and illumination apparatus using same
US9161401B1 (en) LED (light-emitting diode) string derived controller power supply
CN103190002B (en) LED lighting circuit, LED light device and LED illumination portion socket
TWI507081B (en) Driving circuit and control circuit for powering light source
US20140361623A1 (en) Auxiliary power supply for lighting driver circuitry
TWI445440B (en) Driving circuit
US20150022109A1 (en) Driving circuit with dimming controller for driving light sources
TW201315105A (en) Bias voltage generation using a load in series with a switch
RU2644562C2 (en) Driver circuit of led-garland formator, including diode of charge control for condenser
JP6011761B2 (en) Lighting device and lighting fixture using the same
CN204259209U (en) Circuit for driving LED lighting equipment and controller thereof
US8120263B2 (en) Portable lighting device and method thereof
Chung et al. Low-cost drive circuit for AC-direct LED lamps
TWI612842B (en) Light source driving circuit and light source module
KR20090056025A (en) Power supply for a lamp comprising light emitting diode
CN210124030U (en) Circuit arrangement for operating a lamp and dimming circuit for a light-emitting diode
EP3007521A2 (en) Driving circuit with dimming controller for driving light sources
TWI672975B (en) Light-emitting element driving device and driving method thereof
JP5385815B2 (en) Lighting device and lighting fixture using the same

Legal Events

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