TWI362170B - Integrated circuit and related method for determining an operation mode - Google Patents

Integrated circuit and related method for determining an operation mode Download PDF

Info

Publication number
TWI362170B
TWI362170B TW97143851A TW97143851A TWI362170B TW I362170 B TWI362170 B TW I362170B TW 97143851 A TW97143851 A TW 97143851A TW 97143851 A TW97143851 A TW 97143851A TW I362170 B TWI362170 B TW I362170B
Authority
TW
Taiwan
Prior art keywords
mode
resistance value
voltage
circuit
fixed
Prior art date
Application number
TW97143851A
Other languages
Chinese (zh)
Other versions
TW201019587A (en
Inventor
Ren Yi Chen
Yi Lun Shen
Yi Shan Chu
Original Assignee
Leadtrend Tech Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leadtrend Tech Corp filed Critical Leadtrend Tech Corp
Priority to TW97143851A priority Critical patent/TWI362170B/en
Publication of TW201019587A publication Critical patent/TW201019587A/en
Application granted granted Critical
Publication of TWI362170B publication Critical patent/TWI362170B/en

Links

Landscapes

  • Dc-Dc Converters (AREA)

Description

Ι3δ2170 九、發明說明: 【發明所屬之技術領域】 本發明係有關於一工作模式(〇perati〇n m〇de)的決定 . 方法與相關電路,特別係關於使用於一電源供應器中的工 作模式之決定方法與相關電路》 【先前技術】 • 為了減小封裝的大小(Package size) ’積體電路的接腳 數目(pin count)也是越小越好。所以,產生了多功能接腳 (multi-function pin)的觀念。電源供應器中的電源管理積體 電路也是需要有多功能接腳,來降低封裝成本。 舉例來5兒’ Supertex ’ -—家位於美國加州的公司,生 產販售一發光二極體(light emittion diode,LED)驅動器 (ddver)IC,HV9910B,就具有一多功能接腳RT。請參閱 # 第1圖與第2圖,其為HV9910B之產品資料表(datasheet) 中所建議的兩個發光二極體(light emittion diode,LED)驅 動系統,而其中的IQ為HV9910B。詳細的第1圖與第2 圖之系統電路操作請參閱HV9910B之產品資料表 (datasheet)。簡單的說,當功率開關α開啟時,電感l開 始儲能,電流Iled由電源VIN,流經LED卜..LEDN、電感L、 功率開關Qi、以及電阻Rcs。電流ILED大到預設程度時, 功率開關Qi關閉時,電感L開始釋能 ’電流Iled流經 1362170 LEDl.XEDn、電感L、以及二極體D所構成的迴路。至 於關閉後的功率開關Qi何時開啟,則視工作模式而定。 • 第1圖是操作於脈衝寬度調變(Pulse width modulation, PWM)模式’而第2圖是固定關閉時間(c〇nstant 〇ff_time) 模式。 第1圖與第2圖的差異,就只有電阻RT的連接方式。 • 如果ICl從多功能接腳RT,判斷出電阻RT—端固定連接 到接地線(GND) ’如第1圖所示,貝彳ICi會使整個LED驅 動系統操作於脈衝寬度調變(pulse width m〇dulati〇n,pwM) 模式’使開關頻率fPWM大約為一個定值。如果%從多功 能接腳RT,可判別出到從GATE接腳所發出的高壓(譬如 12伏特)信號,如第2圖所示,則〖(^會使整個led驅動 系統操作於固定關閉時間(C〇nstant 〇ff_time)模式,使關閉 φ 時間T〇FF大約為一個定值。電阻RT的電阻值也是用來決 疋脈衝寬度調變(pulse width modulation,PWM)模式下的 開關頻率fPWM,或是固定關閉時間(constant 〇ff_time)模式 下的關閉時間T0FF。 換言之,多功能接腳RT不單只是用來決定工作iCi 的工作模式,同時也用來決定了功率開關Qi的開關時間。 ,然而,如此的多功能接腳RT設計,卻可能對ICi的 8 1362170 内部電路設計,產生不良影響。 【發明内容】 本發明之一實施例提供一種積體電路,包含有一控制 器、一多功能接腳、以及一模式判斷電路。該控制器用以 控制一功率開關(power switch),並可被設定於工作在數個 工作模式其中之一。該等工作模式包含有一第一工作模式 φ 以及一第二工作模式。該多功能接腳(multi-function pin) 可連接至一外部電阻。該模式判斷電路偵測於該多功能接 腳之一信號。該信號代表該外部電阻的電阻值。當該電阻 值位於一第一範圍時,該模式判斷電路使該控制器操作於 一第一工作模式;當該電阻值位於一第二範圍時,該模式 判斷電路使該控制器操作於一第二工作模式。該等工作模 式均用來進行電源轉換。 B 本發明之一實施例提供一種操作模式決定方法。先提 供一積體電路,其具有一多功能接腳,連接至一外部電 阻。透過該多功能接腳,偵測該外部電阻之電阻值。當該 電阻值小於一第一預設電阻值時,使該積體電路以一第一 工作模式,控制一功率開關,來進行電源轉換。當該電阻 值大於該第一預設電阻值時,使該積體電路以不同於該第 一工作模式之一第二工作模式,控制該功率開關,來進行 電源轉換。 9 1362170 【實施方式】 為讓本發明之上述和其他目的、特徵、和優點能更g月 顯易懂,下文特舉出較佳實施例,並配合所附圖式,作詳 細說明如下: 第3圖為依據本發明所實施的一發光二極體⑴ght 鲁 emittion diode ’ LED)驅動系統200。與第i圖以及第2圖 中的積體電路ICl不同的,第3圖中的積體電路1(:2是依 據電阻RT的電阻值大小來決定IC2是操作於pWM模式還 是固定關閉時間(constant off_time)模式,來控制功率開關 Qi的切換,轉換能源,以驅動發光二極體LEDi .leDn。 至於第3圖中的功率開關Qi、電流價測電阻Rcs、電感^ 電容CIN與C〇UT、二極體D、以及發光二極體led丨 鲁之間的操作與原理’跟第1圖中的相對應元件-樣或類 似,故其解釋省略而不在此累述。 在第3圖的實施例中,當電阻^的電阻值大於^仔 時’ %就會操作於岐關相(⑺編〖。制⑽) 下二使關閉時間T〇FF,也就是功率開關&於關閉後到 定:Γ;由時:’都是一個大約固定地時間。而這個固 于間會由電阻RT的電阻值大小所決定。 ^〇217〇 在第3圖的實施例中, 歐姆時,τ的電阻值小於8·5仟 2沈會㈣於Ρ魏模式,使開關頻率f , 力率:Γ連續兩次開敬瞬間之間二二 数,都疋一個大約固定頻車。 ^ 的電阻值大小所決定。^疋頻率’會由電阻Ι3δ2170 IX. Description of the invention: [Technical field of the invention] The present invention relates to the determination of a mode of operation (〇perati〇nm〇de). The method and related circuits, in particular, the mode of operation used in a power supply Decision Method and Related Circuits [Prior Art] • In order to reduce the package size, the pin count of the integrated circuit is also as small as possible. Therefore, the concept of a multi-function pin has been created. The power management integrated circuit in the power supply also requires a multi-function pin to reduce packaging costs. For example, the company 'Supertex' - a company based in California, produces a light emitting diode (LED) driver (ddver) IC, HV9910B, which has a multi-function pin RT. Please refer to #1 and 2, which are the two light emitting diode (LED) drive systems recommended in the HV9910B product datasheet, and the IQ is HV9910B. For detailed system operation of Figures 1 and 2, please refer to the HV9910B product data sheet. Briefly, when the power switch α is turned on, the inductor 1 starts to store energy, and the current Iled flows from the power source VIN through the LEDs: LEDN, inductor L, power switch Qi, and resistor Rcs. When the current ILED is large to a preset level, when the power switch Qi is turned off, the inductor L begins to discharge. The current Iled flows through the circuit formed by the 1362170 LEDl.XEDn, the inductor L, and the diode D. When the power switch Qi is turned off after the shutdown, it depends on the operating mode. • Figure 1 is for operation in Pulse Width Modulation (PWM) mode and Figure 2 is for fixed off time (c〇nstant 〇ff_time) mode. The difference between Figure 1 and Figure 2 is only the connection of the resistor RT. • If ICl is judged from the multi-function pin RT, the RT-side of the resistor is fixedly connected to the ground wire (GND). As shown in Figure 1, the Bellow ICi will operate the entire LED drive system in pulse width modulation (pulse width). M〇dulati〇n, pwM) Mode ' makes the switching frequency fPWM approximately a fixed value. If % is from the multi-function pin RT, the high-voltage (such as 12 volts) signal from the GATE pin can be discriminated, as shown in Figure 2, then (^ will cause the entire led drive system to operate at a fixed off time. (C〇nstant 〇ff_time) mode, so that the closing time φ time T〇FF is about a fixed value. The resistance value of the resistor RT is also used to determine the switching frequency fPWM in the pulse width modulation (PWM) mode. Or the off time T0FF in the constant 〇ff_time mode. In other words, the multi-function pin RT is not only used to determine the working mode of the working iCi, but also used to determine the switching time of the power switch Qi. Such a multi-function pin RT design may have an adverse effect on the internal circuit design of the IC 1 8 1362170. SUMMARY OF THE INVENTION An embodiment of the present invention provides an integrated circuit including a controller and a multi-function connection. a foot and a mode judging circuit. The controller is for controlling a power switch and can be set to operate in one of several working modes. The working mode includes a first operating mode φ and a second operating mode. The multi-function pin can be connected to an external resistor, and the mode determining circuit detects a signal of the multi-function pin. The signal represents a resistance value of the external resistor. When the resistance value is in a first range, the mode determining circuit operates the controller in a first operating mode; when the resistance value is in a second range, the mode The judging circuit operates the controller in a second operating mode. The working modes are all used for power conversion. B. One embodiment of the present invention provides an operating mode determining method. An integrated circuit is provided, which has a plurality of The function pin is connected to an external resistor, and the resistance value of the external resistor is detected through the multi-function pin. When the resistance value is less than a first preset resistance value, the integrated circuit is firstly operated. a mode, controlling a power switch to perform power conversion, and when the resistance value is greater than the first preset resistance value, causing the integrated circuit to be different from the first working mode In the second mode of operation, the power switch is controlled to perform power conversion. 9 1362170 [Embodiment] The above and other objects, features, and advantages of the present invention will become more apparent and appreciated. For example, and in conjunction with the drawings, a detailed description is as follows: FIG. 3 is a light-emitting diode (1) ght-emitation diode 'LED' driving system 200 implemented in accordance with the present invention. Unlike the integrated circuit IC1 in FIG. 1 and FIG. 2, the integrated circuit 1 in FIG. 3 (: 2 determines whether the IC 2 operates in the pWM mode or the fixed off time depending on the magnitude of the resistance of the resistor RT ( The constant off_time mode controls the switching of the power switch Qi and converts the energy to drive the LEDs LEDi.leDn. As for the power switch Qi, the current price measuring resistor Rcs, the inductor ^ capacitor CIN and C〇UT in Fig. 3 The operation and principle between the diode D and the LED diode Lu's are similar to those of the corresponding elements in Fig. 1, so the explanation is omitted and not described here. In the embodiment, when the resistance value of the resistance ^ is greater than ^, the '% will operate in the phase ((7), 〖. (10)), and the second time is the closing time T〇FF, that is, the power switch & Ding: Γ; time: 'all are about a fixed time. And this solid is determined by the resistance value of the resistor RT. ^ 〇 217 〇 in the embodiment of Figure 3, ohms, τ The resistance value is less than 8·5仟2 and the sinking will be (4) in the Weiwei mode, so that the switching frequency f, the force rate: Qilian King twenty-two number two open between the moment the piece goods are a vehicle about a fixed frequency. ^ A resistance value of the determined size. ^ Cloth Frequency 'will be by the resistor

因此,多功能接腳RT 工作模式,同時也用來決定 不單只是用來決定工作IC2的 了功率開關Qi的開關時間。 =第3圖中的IC2之多功能接腳rt的應用設計, 〃 2圖的1Cl之多功能接腳RT的輸出入電路會 有以下兩個問題。 L %之多功能接腳RT的輸出人電路需要用高壓電 鲁路。因為接腳GATE用來開啟或是關閉功率開關所 以其輸出雙往往是高電壓,譬如說12伏特。既然第2 圖巾ic,之多功能接腳RT是連接到接腳gate,所以扣1 中透過多功能接腳RT傳輸的輸出人電路,便不得不採用 高壓電路,來财受接腳GATE所傳出的高壓〇2伏特)信號。 2· iq之多功能接腳尺丁的輸出入電路可能會受高頻切 換信號的干擾。IQ接腳GATE會輸出高頻的信號,來開 啟或是關閉功率開關q「#IC】應用於第2圖的固定關閉 1362170 時間(constant off-time)模式操作時,這樣的高頻信號會透 過電阻RT的連接,進入多功能接腳RT,進而影響連接到 多功能接腳RT的固定關閉時間控制電路。所以,ICi便需 要一些額外的防護措施,來避免多功能接腳的輸出入 電路受到接腳GATE所輸出之高頻信號的干擾。 第3圖中的IQ之多功能接腳RT則沒有以上所描述 Φ的問題。ic2之多功能接腳RT的輸出入電路可以採用低壓 電路,4如5伏特電路。此乃因為IC2之多功能接腳RT, 不曲操作模式是固定關閉時間(constant off-time)模式或是 、气都疋固疋搞接到地電源線(GND),不會接收到 尚壓(12伏特)信號。如業界具有一般知識者所知道的,低 壓(像是5伏特)電路一般可以設計的比高壓(像是12伏特) 電路來的具有比較小的晶片面積,所以採用低壓電路比較 • 有e此節省晶片面積成本。一樣的道理’不論操作模式 疋口疋關閉時間(constant off-time)模式或是PWM模式, 如同第3圖所示,IC2之多功能接腳RT與接腳GATE是 刀離的所以1C2之多功能接腳RT並不會受到接腳GATE · 所輸出之高頻信號的干擾。也因此,IC2不必要去花費成 本設置南頻信號干擾的防護措施。 第4圖為第3圖的實施例之部份電路示意圖。積體電 路IC2中具有控制器202、模式判斷電路204、以及電壓設 12 1362170 定電路206。控制器202透過接腳GATE,控制第3圖中 功率開關Qi的切換。才吴式判斷電路2〇4 _流經多功能 接腳RT的電流’也等同地偵測到了電阻Rt的電阻值。依 據所偵測到的電阻值,模式判斷電路2〇4會送出模式信號 Smode,設定控制器202操作於數個工作模式中的其中之 一。譬如說,當電阻RT的電阻值大於8 5仟歐姆時,模式 判斷電路204便設定控制器202操作於固定關閉時間模 • 式,而且也會依據所偵測到電阻RT的電阻值,送出時間 信號STIME,決定關閉時間T0FF。當電阻RT的電阻值小於 8.5仟歐姆時’模式判斷電路204設定控制器202操作於 PWM模式,而且也會依據所偵測到電阻!^的電阻值,送 出時間信號STIME,決定開關頻率fpwM 0 電壓設定電路206會依照模式信號SM0DE,,來設定多 功能接腳RT之電壓VRT。如第4圖所示,電壓設定電路 B 206包含有一多工器(multiplexer)2062,其三傭輸入端分別 接收固定電壓VREFH、Vref〇、以及Vrefl。在此實施例中’ Vrefh、Vrefq、以及Vrefl分別為1伏特、〇·6伏特、以及 0.2伏特。依據模式信號SM0DE,多工器2062選擇固定電 壓Vrefh、VrEFO、以及VrefL其中之一,來當作參考電壓 Vref,輸出至比較器2064。比較器2064與開關Qc的連接 方式,可以使多功能接腳RT之電壓VRT大約維持在等於 參考電壓VREF。而且,流經電阻RT的電流IRT,也會流經 13 1362170 開關Qc,而被模式判斷電路204所偵測。 第5圖為一實施例的方法流程圖,可用來做為第4圖 中電路之操作根據。請同時參照第4圖與第5圖。步驟502 表示,當第4圖IC2—開始被接上電源時,必須等待一段 穩定時間(settle time),等候電源穩定,且固定電壓VREFH、 VreFO、以及VrefL都被穩定的產生後,才進入其他步驟。 0 於步驟504中,模式判斷電路204透過模式信號Smode, 使多工器2062選擇固定電壓VREF0做為輸出,也因此使得 多功能接腳RT之電壓VRT大約穩定地等於固定電壓 VREF0。模式判斷電路204於步驟506中偵測流經多功能接 腳RT的電流IRT,於步驟508中比較IRT是否小於一預設 電流值Irto。在第4圖的實施例中,固定電壓VREF0為0.6 伏特,而預設電流值Irto為7〇微安培(micro-amper)。因 此,模式判斷電路204於步驟506中等同於判斷電阻RT 的電阻值是否大於8.5仟歐姆(〜0.6V/70uA)。如果,步驟 506中,電阻RT的電阻值被判別大於8.5仟歐姆,模式判 斷電路204決定IC2應操作於固定關閉時間模式,接著進 入步驟510;若判別結果為否,模式判斷電路204決定IC2 應操做於PWM模式,接著進入步驟520。Therefore, the multi-function RT RT mode of operation is also used to determine not only the switching time of the power switch Qi used to determine the operating IC2. = Application design of IC2's multi-function pin rt in Figure 3, 输出 2 Figure 1Cl's multi-function pin RT input and output circuit will have the following two problems. The output circuit of the L% multi-function pin RT requires a high voltage circuit. Because the pin GATE is used to turn the power switch on or off, its output double is often high voltage, such as 12 volts. Since the second figure towel ic, the multi-function pin RT is connected to the pin gate, the output circuit of the buckle 1 transmitted through the multi-function pin RT has to use a high-voltage circuit to receive the pin GATE. The transmitted high voltage 〇 2 volts signal. 2. The input and output circuits of the iq's multi-function pin ruler may be interfered by the high frequency switching signal. The IQ pin GATE will output a high frequency signal to turn the power switch on or off. q "#IC" is applied to the fixed off 1362170 time (constant off-time) mode operation of Figure 2, such high frequency signals will pass through. The connection of the resistor RT enters the multi-function pin RT, which in turn affects the fixed off-time control circuit connected to the multi-function pin RT. Therefore, the ICi needs some additional protection measures to prevent the input and output circuits of the multi-function pin from being affected. The interference of the high-frequency signal outputted by the pin GATE. The multi-function pin RT of IQ in Fig. 3 does not have the problem of Φ described above. The input and output circuit of the multi-function pin RT of ic2 can use the low-voltage circuit, 4 Such as 5 volt circuit. This is because IC2's multi-function pin RT, the non-buck operation mode is the constant off-time mode or the gas is smashed to the ground power line (GND), not A voltage (12 volt) signal is received. As is known to those of ordinary skill in the art, low voltage (like 5 volt) circuits can be designed with relatively small wafer faces than high voltage (like 12 volts) circuits. Product, so use low-voltage circuit comparison • There is e to save the cost of the chip area. The same reason 'regardless of the operating mode, the constant off-time mode or the PWM mode, as shown in Figure 3, as many as IC2 The function pin RT and the pin GATE are knife-off, so the 1C2 multi-function pin RT is not interfered by the high-frequency signal output by the pin GATE. Therefore, the IC2 does not have to cost to set the south-frequency signal. Fig. 4 is a partial circuit diagram of the embodiment of Fig. 3. The integrated circuit IC2 has a controller 202, a mode judging circuit 204, and a voltage setting 12 1362170 fixed circuit 206. The controller 202 is connected The foot GATE controls the switching of the power switch Qi in Fig. 3. The Wu-type judging circuit 2〇4_current flowing through the multi-function pin RT also equally detects the resistance value of the resistor Rt. The resistance value, the mode judging circuit 2〇4 sends out the mode signal Smode, and the setting controller 202 operates in one of several working modes. For example, when the resistance value of the resistor RT is greater than 85 ohms, the mode judges The circuit 204 sets the controller 202 to operate in the fixed off time mode, and also sends the time signal STIME according to the detected resistance value of the resistor RT to determine the off time T0FF. When the resistance of the resistor RT is less than 8.5 ohms The mode determination circuit 204 sets the controller 202 to operate in the PWM mode, and also sends a time signal STIME according to the detected resistance value of the resistance, and determines the switching frequency fpwM 0. The voltage setting circuit 206 follows the mode signal SM0DE. To set the voltage VRT of the multi-function pin RT. As shown in Fig. 4, the voltage setting circuit B 206 includes a multiplexer 2062 whose three servo inputs receive fixed voltages VREFH, Vref, and Vref1, respectively. In this embodiment, 'Vrefh, Vrefq, and Vrefl are 1 volt, 〇6 volt, and 0.2 volt, respectively. According to the mode signal SM0DE, the multiplexer 2062 selects one of the fixed voltages Vrefh, VrEFO, and VrefL as the reference voltage Vref, and outputs it to the comparator 2064. The comparator 2064 is connected to the switch Qc such that the voltage VRT of the multi-function pin RT is maintained at approximately equal to the reference voltage VREF. Moreover, the current IRT flowing through the resistor RT also flows through the 13 1362170 switch Qc, which is detected by the mode judging circuit 204. Figure 5 is a flow chart of a method of an embodiment which can be used as an operational basis for the circuit of Figure 4. Please refer to Figure 4 and Figure 5 at the same time. Step 502 shows that when IC2 of Figure 4 is started to be connected to the power supply, it must wait for a settling time, wait for the power supply to stabilize, and the fixed voltages VREFH, VreFO, and VrefL are stably generated before entering other step. In step 504, the mode judging circuit 204 causes the multiplexer 2062 to select the fixed voltage VREF0 as an output through the mode signal Smode, and thus the voltage VRT of the multi-function pin RT is approximately equal to the fixed voltage VREF0. The mode determining circuit 204 detects the current IRT flowing through the multi-function pin RT in step 506, and compares whether the IRT is less than a predetermined current value Irto in step 508. In the embodiment of Fig. 4, the fixed voltage VREF0 is 0.6 volts, and the preset current value Irto is 7 〇 micro-amper. Therefore, the mode judging circuit 204 is equivalent to determining in step 506 whether the resistance value of the resistor RT is greater than 8.5 ohms (~0.6 V/70 uA). If the resistance value of the resistor RT is determined to be greater than 8.5 ohms in step 506, the mode determining circuit 204 determines that the IC2 should operate in the fixed off time mode, and then proceeds to step 510; if the determination result is no, the mode determining circuit 204 determines that the IC2 should Operating in PWM mode, then proceeding to step 520.

與步驟504類似的,於步驟510中,模式判斷電路204 透過電壓設定電路206,來使多功能接腳RT之電壓VRT 14 1362170 改變,而成為固定電壓Vrefh。在第4圖的實施例中,固 定電壓Vrefh為1伏特。模式判斷電路204接著於步驟512 中偵測流經多功能接腳RT的電流IRT。於步驟514中,模 式判斷電路204開始使控制器202操作於固定關閉時間模 式。模式判斷電路204 ’也依據當下電流IRT ’來控制固定 關閉時間模式下的關閉時間T〇ff,如同步驟516所示。譬 如說,當電流1RT大約為93.747微安培時’意味著電阻RT • 的電阻值約為10.667仟歐姆(〜1V/93.747uA),可使關閉時 間T〇FF大約為0.5微秒(microsecond);當電流IRT大約為 0.93747微安培時,意味著電阻rt的電阻值約為丨.0667 百萬歐姆(〜1V/0.93747uA),可使關閉時間T0FF大約為50 罇秒。 於步驟520中,模式判斷電路204透過電壓設定電路 206,來使多功能接腳RT之電壓vrt改變,而成為固定電 壓Vrefl。在第4圖的實施例中’固定電壓VREFL為〇.2伏 特。模式判斷電路204接著於步驟522中偵測流經多功能 接腳RT的電流Irt。於步驟524中,模式判斷電路204開 始使控制器202操作於PWM模式。模式判斷電路204 ’ 也依據當下電流1RT ’來控制於PWM模式下的開關頻率 fPWM,如同步驟526所示。譬如說’積體電路IC2可以設 計為,當電流Irt大約為30微安培時’意味著電阻Rt的 電阻值約為6.667仟歐姆(〜0.2V/30uA),積體電路IQ的開 15 1362170 關頻率fpwM大約為30千赫(KHz);各 料泣+立杜立 田電仙· Irt大約為200 =女培時’意味著電阻R了㈣阻值約為1仟歐姆 2ν/2_A),積體電路IC2的開_率f_ 千赫(KHz)。 由以上的實施例可知’ 8.5仟歐姆是—個電壓分水嶺 (w細hed)。具有電阻值& 8 5仟歐姆大的 &可以使 Φ IC2操作於固定關閉時間模式,電阻Rt的電阻值可能大到 1.0667百萬歐姆。具有電阻值比85仟歐姆小的電阻心 可以使1C2操作於PWM模式,電阻Rt的電阻值可能小到 1仔歐姆。可歸納得知,在此實施例中,電阻Rt的可用電 阻值範圍是1仟歐姆至1.0667百萬歐姆,其最大與最小差 異大約是1千(10的三次方)倍。 在以上的實施例中,隨著工作模式的改變,多功能接 腳RT之電壓VRT也會改變。藉此,可以解決電流Irt可能 變異過大的問題。從另一個角度來看,如果多功能接腳 RT之電壓Vrt—直維持固定’不會隨著工作模式的改變 而改變’則IQ會相當難設計,因為IQ會需要具備有能 力偵測出大小變異達10的三次方倍的電流IRT。從前述實 施例可知,隨著工作模式的改變,來切換多功能接腳RT 之電壓VRT,則電流IRT的大小變化將縮小至10的二次方 倍(從0.93747微安培到200微安培),IQ的電流偵測能力 1362170 需求可以相當程度地降低,而比較好設計。 透過解釋可知,以上所揭露的實施例,可以讓多功能 接腳RT的輸出入電路採用低壓電路,可以使多功能接腳 RT的輸出入電路免受高頻信號的干擾,也可解決電流IRT 可能變異過大的問題。但本發明並不限定以上實施例所揭 示的發光二極體驅動系統,也不限於一定要達到以上的效 •果。 雖然本發明已以較佳實施例揭露如上,然其並非用以 限定本發明,任何在本發明所屬技術領域具有通常知識 者,在不脫離本發明之精神和範圍内,當可作些許之更動 與潤飾,因此本發明之保護範圍當視後附之申請專利範圍 所界定者為準。 * 【圖式簡單說明】 第1圖與第2圖為兩個習知發光二極體驅動系統器。 第3圖為依據本發明所實施的一發光二極體驅動系 統。 第4圖為第3圖中的一種實施例之部份電路示意圖。 第5圖為一實施例的方法流程圖,可用來做為第4圖 中電路之操作根據。 17 1362170Similar to step 504, in step 510, the mode determining circuit 204 transmits the voltage VRT 14 1362170 of the multi-function pin RT to the fixed voltage Vrefh through the voltage setting circuit 206. In the embodiment of Fig. 4, the fixed voltage Vrefh is 1 volt. The mode decision circuit 204 then detects the current IRT flowing through the multi-function pin RT in step 512. In step 514, mode decision circuit 204 begins to cause controller 202 to operate in a fixed off time mode. The mode judging circuit 204' also controls the off time T?ff in the fixed off time mode in accordance with the current current IRT' as shown in step 516. For example, when the current 1RT is about 93.747 microamperes, it means that the resistance of the resistor RT is about 10.667 ohms (~1V/93.747uA), so that the off time T〇FF is about 0.5 microseconds; When the current IRT is about 0.93747 microamperes, it means that the resistance of the resistor rt is about 0.0667 megaohms (~1V/0.93747uA), which makes the off time T0FF about 50 罇 seconds. In step 520, the mode judging circuit 204 transmits the voltage vrt of the multi-function pin RT to the fixed voltage Vref1 through the voltage setting circuit 206. In the embodiment of Fig. 4, the fixed voltage VREFL is 〇.2 volt. The mode judging circuit 204 then detects the current Irt flowing through the multi-function pin RT in step 522. In step 524, mode decision circuit 204 begins to cause controller 202 to operate in PWM mode. The mode decision circuit 204' also controls the switching frequency fPWM in the PWM mode in accordance with the current current 1RT' as shown in step 526. For example, 'Integrated circuit IC2 can be designed so that when the current Irt is about 30 microamperes' means that the resistance of the resistor Rt is about 6.667 ohms (~0.2V/30uA), and the integrated circuit IQ is open 15 1362170. The frequency fpwM is about 30 kHz (KHz); each material weeping + Li Du Tian Tian Dian · Irt is about 200 = female training ' means resistance R (four) resistance is about 1 仟 ohm 2ν / 2_A), integrated The on-rate of the circuit IC2 is f_ kHz (KHz). It can be seen from the above embodiment that '8.5 ohm is a voltage watershed (w fine hed). A resistor with a resistance value & 8 5 ohms can cause Φ IC2 to operate in a fixed off-time mode, and the resistance of resistor Rt may be as large as 1.0667 million ohms. A resistor core with a resistance value smaller than 85 ohms can operate 1C2 in PWM mode, and the resistance of resistor Rt may be as small as 1 ohm. It can be inferred that in this embodiment, the usable resistance value of the resistor Rt ranges from 1 仟 ohm to 1.0667 mega ohms, and the maximum and minimum differences are about one thousand (three times cubic). In the above embodiment, as the operating mode changes, the voltage VRT of the multi-function pin RT also changes. Thereby, the problem that the current Irt may be excessively varied can be solved. From another point of view, if the voltage Vrt of the multi-function pin RT is maintained at a fixed 'will not change as the working mode changes', IQ will be quite difficult to design because IQ will need to be able to detect the size. Variations up to 10 times the square current IRT. It can be seen from the foregoing embodiment that as the operating mode changes, the voltage VRT of the multi-function pin RT is switched, and the magnitude change of the current IRT is reduced to a quadratic multiple of 10 (from 0.93747 microamperes to 200 microamperes). IQ's current sensing capability of 1362170 can be considerably reduced, and a better design. It can be seen from the explanation that the embodiment disclosed above can make the output of the multi-function pin RT use a low-voltage circuit, so that the output of the multi-function pin RT can be protected from high-frequency signals, and the current IRT can be solved. It may be a problem of excessive variation. However, the present invention is not limited to the light-emitting diode driving system disclosed in the above embodiments, and is not limited to the above effects. Although the present invention has been disclosed in the above preferred embodiments, the present invention is not intended to limit the invention, and any of the ordinary skill in the art to which the present invention pertains may be made without departing from the spirit and scope of the invention. And the scope of the present invention is defined by the scope of the appended claims. * [Simple description of the drawings] Figures 1 and 2 show two conventional light-emitting diode drive systems. Figure 3 is a diagram of a light emitting diode drive system implemented in accordance with the present invention. Figure 4 is a partial circuit diagram of an embodiment of Figure 3. Figure 5 is a flow chart of a method of an embodiment which can be used as an operational basis for the circuit of Figure 4. 17 1362170

【主要元件符號說明】 IC, IC2[Main component symbol description] IC, IC2

RTRT

fpWMfpWM

TpwMTpwM

LL

D 200 204 2062 2064D 200 204 2062 2064

VrtVrt

RjRj

CS GATE T〇FFCS GATE T〇FF

QiQi

Cin C〇UT LED!... LEDn 202 206Cin C〇UT LED!... LEDn 202 206

VreFH VreFO VreFLVreFH VreFO VreFL

Qc 積體f路 多功能接腳 開關頻率 開關週期 電感 二極體 發光二極體驅動系統 模式判斷電路 多工器 比較器 電壓 電阻 接腳 關閉時間 功率開關 電容 發光二極體 控制器 電壓設定電路 固定電壓 開關 18 1362170Qc Integrated body f-channel multi-function pin switch frequency switch period inductor diode diode light-emitting diode drive system mode judgment circuit multiplexer comparator voltage resistor pin off time power switch capacitor light-emitting diode controller voltage setting circuit fixed Voltage switch 18 1362170

RT 電流RT current

1919

Claims (1)

1362170 十、申請專利範圍: 1. 一種積體電路,包含有: 一控制器’用以控制一功率開關(power switch),該控 制器可被設定於工作在數個工作模式其中之一,該等工作 模式包含有一第一工作模式以及一第二工作模式; 一多功能接腳(multi-function pin),用以連接至一外部 電阻;以及 • 一模式判斷電路,偵測於該多功能接腳之一信號,該 仏號代表§玄外部電阻的電阻值,當該電阻值位於·一第一範 圍時,使該控制器操作於一第一工作模式,當該電阻.值位 於一第二範圍時,使該控制器操作於一第二工作模式; 其中,該等工作模式均用來進行電源轉換。 2. 如申請專利範圍第1項所述之積體電路,其中,該 | 第一工作模式為脈衝寬度調變(pulse width modulation, PWM)模式,以及該第二工作模式為固定關閉時間(c〇nstant off-time)模式。 3. 如申請專利範圍第2項所述之積體電路,其中,該 外部電阻的該電阻值更用以決定該脈衝寬度調變(pulse width modulation,PWM)模式的工作頻率,或是該固定關 閉時間(constant off-time)模式的關閉時間。 20 丄 4.如申凊專利範圍第1項所述之積體電路,另包含有: 0電虔δ又疋電路’當該模式判斷電路決定使該控制器 於'^第"'卫作模式或是該第二工作模式之前,該電壓 二叱電路使該多功能接腳之電壓大致為一第一固定電 堅:該模式判斷電路決定使該控制器操作於該第一工作 模式後/亥電星设定電路使該多功能接腳之電壓大致為一 第了固疋電壓;當該模式判斷電路決定使該控制器操作於 3第一工作模式後’該電堡設定電路使該多功能接腳之電 2致為-第三固定電壓;且該第—固定電壓介於該第二 與第二固定電壓之間。 5. 如申請專利範圍第1項所述之積體電路,其中,該 功率開關係用於一電源轉換(p〇wer c〇n 系統。 6. -種操作模式決定方法,包含有: 電阻提供一積體電路’具有一多功能接腳,連接至一外部 透過°亥多功能接腳,偵測該外部電阻之電阻值. 當該電阻值小於一第一 ’ 以一 以及 第一工作模t,Μ 使該積體電路 、式控制一功率開關,來進行電源轉換; 當该電阻值大於該第一預設電阻值靜 以不同於該第—工作模式之_ 使5亥積體電路 第一工作模式,控制該功率 21 υυζι /υ 開關 ,來進行電 源轉換 其中範㈣6項㈣之操作模核定方法 —卜部電阻之該電阻值步驟, 方去’ 使。亥多雜接敎電壓大致為―第 偵测流經該外部電阻之電流。 冑堡;以及 另包:有如申請專利範圍第7項所述之操作模式決定方法, 〇亥電阻值小於該第一預設電阻值時,使該 腳之電壓大致為-第二固定電壓,其中,該第二=接 低於該第一固定電壓;以及 -固疋電壓 當該電阻值大於該第-預設電阻值時,使該多功 腳之電壓大致為-第三固定電壓,其中,該第三固定 尚於該第一固定電壓。 9.如申請專利範圍第6項所述之操作模式決定方法, 其中,該第一工作模式為脈衝寬度調變(叩心 mod—,PWM)模式,以及該第二工作模式為固定關閉 時間(constant off-time)模式。 10.如申請專利範圍第9項所述之操作模式決定方 法,另包含有: 22 1362170 依據該外部電阻的該電阻值來決定控制該功率開關之 開關時間。 11.如申請.專利範圍第6項所述之操作模式決定方 法,其中,該功率開關係用以驅動數個發光二極體(LED)。 十一、圖式:1362170 X. Patent application scope: 1. An integrated circuit comprising: a controller 'for controlling a power switch, the controller can be set to operate in one of several working modes, The working mode includes a first working mode and a second working mode; a multi-function pin for connecting to an external resistor; and a mode determining circuit for detecting the multi-function a signal of the foot, the nickname represents the resistance value of the external resistor of § 玄, when the resistance value is in the first range, the controller is operated in a first working mode, and when the value of the resistor is at a second In the range, the controller is operated in a second mode of operation; wherein the modes of operation are all used for power conversion. 2. The integrated circuit of claim 1, wherein the first operating mode is a pulse width modulation (PWM) mode, and the second operating mode is a fixed off time (c) 〇nstant off-time) mode. 3. The integrated circuit of claim 2, wherein the resistance value of the external resistor is used to determine an operating frequency of the pulse width modulation (PWM) mode, or the fixed The off time of the constant off-time mode. 20 丄 4. The integrated circuit as described in claim 1 of the patent scope, further includes: 0 虔 δ 疋 疋 circuit 'When the mode judging circuit decides to make the controller in '^第" Before the mode or the second working mode, the voltage diode circuit causes the voltage of the multi-function pin to be substantially a first fixed voltage: the mode determining circuit determines to operate the controller in the first working mode/ The electric star setting circuit makes the voltage of the multi-function pin substantially a first solid voltage; when the mode judging circuit determines to operate the controller in the first working mode, the electric castle setting circuit makes the multi The function pin is electrically connected to a third fixed voltage; and the first fixed voltage is between the second and second fixed voltages. 5. The integrated circuit of claim 1, wherein the power-on relationship is used for a power conversion (p〇wer c〇n system. 6. - an operation mode determining method, including: An integrated circuit 'haves a multi-function pin connected to an external through-multi-function pin to detect the resistance value of the external resistor. When the resistance value is less than a first 'one and the first working mode t , causing the integrated circuit to control a power switch for power conversion; when the resistance value is greater than the first predetermined resistance value, the difference is different from the first operational mode Working mode, control the power 21 υυζι /υ switch to carry out the power conversion. The fan (4) 6 (4) operation mode verification method - the resistance value step of the block resistance, to go to 'Hai. The hybrid voltage is roughly - Detecting the current flowing through the external resistor. The bunker; and the other package: the operation mode determining method as described in claim 7 of the patent application, when the resistance value is less than the first preset resistance value, The voltage of the foot is substantially - a second fixed voltage, wherein the second = is lower than the first fixed voltage; and - the solid voltage is when the resistance value is greater than the first predetermined resistance value, the multi-function foot is The voltage is substantially a third fixed voltage, wherein the third fixed is still at the first fixed voltage. 9. The operating mode determining method according to claim 6, wherein the first working mode is a pulse The width modulation (叩 mod-, PWM) mode, and the second operation mode is a constant off-time mode. 10. The operation mode determination method according to claim 9 of the patent application scope, further includes There is: 22 1362170 according to the resistance value of the external resistor to determine the switching time of the power switch. 11. The operating mode determining method according to claim 6, wherein the power-on relationship is used to drive the number Light-emitting diodes (LEDs). 23twenty three
TW97143851A 2008-11-13 2008-11-13 Integrated circuit and related method for determining an operation mode TWI362170B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97143851A TWI362170B (en) 2008-11-13 2008-11-13 Integrated circuit and related method for determining an operation mode

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97143851A TWI362170B (en) 2008-11-13 2008-11-13 Integrated circuit and related method for determining an operation mode

Publications (2)

Publication Number Publication Date
TW201019587A TW201019587A (en) 2010-05-16
TWI362170B true TWI362170B (en) 2012-04-11

Family

ID=44831808

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97143851A TWI362170B (en) 2008-11-13 2008-11-13 Integrated circuit and related method for determining an operation mode

Country Status (1)

Country Link
TW (1) TWI362170B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI514709B (en) * 2014-03-11 2015-12-21 Grenergy Opto Inc Control methods for over voltage protection and relevant power controllers
US9343979B2 (en) 2011-05-05 2016-05-17 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for constant current control with primary-side sensing and regulation in various operation modes
US9531278B2 (en) 2012-07-24 2016-12-27 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for current control of power conversion systems
US9794997B2 (en) 2011-11-15 2017-10-17 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US9986605B2 (en) 2014-04-23 2018-05-29 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for output current regulation in power conversion systems
US10003271B2 (en) 2012-03-31 2018-06-19 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for constant voltage control and constant current control
US10277132B2 (en) 2008-10-21 2019-04-30 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for constant voltage mode and constant current mode in flyback power converters with primary-side sensing and regulation

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116107384A (en) * 2021-11-11 2023-05-12 瑞昱半导体股份有限公司 Integrated circuit with self-referenced impedance

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10277132B2 (en) 2008-10-21 2019-04-30 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for constant voltage mode and constant current mode in flyback power converters with primary-side sensing and regulation
US9812970B2 (en) 2011-05-05 2017-11-07 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for constant current control with primary-side sensing and regulation in various operation modes
US9343979B2 (en) 2011-05-05 2016-05-17 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for constant current control with primary-side sensing and regulation in various operation modes
US10158294B2 (en) 2011-05-05 2018-12-18 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for constant current control with primary-side sensing and regulation in various operation modes
US9954446B2 (en) 2011-05-05 2018-04-24 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for constant current control with primary-side sensing and regulation in various operation modes
US10314130B2 (en) 2011-11-15 2019-06-04 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10973096B2 (en) 2011-11-15 2021-04-06 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US11956867B2 (en) 2011-11-15 2024-04-09 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US11317482B2 (en) 2011-11-15 2022-04-26 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US9794997B2 (en) 2011-11-15 2017-10-17 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US11129247B2 (en) 2011-11-15 2021-09-21 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US9807840B2 (en) 2011-11-15 2017-10-31 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10667351B2 (en) 2011-11-15 2020-05-26 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10375787B2 (en) 2011-11-15 2019-08-06 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10548195B2 (en) 2011-11-15 2020-01-28 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10609778B2 (en) 2011-11-15 2020-03-31 On-Bright Electronics (Shanghai) Co., Ltd. LED lighting systems and methods for constant current control in various operation modes
US10003271B2 (en) 2012-03-31 2018-06-19 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for constant voltage control and constant current control
US9531278B2 (en) 2012-07-24 2016-12-27 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for current control of power conversion systems
US10205395B2 (en) 2012-07-24 2019-02-12 On-Bright Electronics (Shanghai) Co., Ltd. Systems and methods for current control of power conversion systems
TWI514709B (en) * 2014-03-11 2015-12-21 Grenergy Opto Inc Control methods for over voltage protection and relevant power controllers
US10757778B2 (en) 2014-04-23 2020-08-25 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for output current regulation in power conversion systems
US11626797B2 (en) 2014-04-23 2023-04-11 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for output current regulation in power conversion systems
US9986605B2 (en) 2014-04-23 2018-05-29 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for output current regulation in power conversion systems
US11996773B2 (en) 2014-04-23 2024-05-28 Guangzhou On-Bright Electronics Co., Ltd. Systems and methods for output current regulation in power conversion systems

Also Published As

Publication number Publication date
TW201019587A (en) 2010-05-16

Similar Documents

Publication Publication Date Title
TWI362170B (en) Integrated circuit and related method for determining an operation mode
US8076867B2 (en) Driving circuit with continuous dimming function for driving light sources
US8044608B2 (en) Driving circuit with dimming controller for driving light sources
US9408266B2 (en) Driver circuit for efficiently driving a large number of LEDs
EP2765697B1 (en) A method of operating switch mode power converters, and controllers and lighting systems using such a method
US9591709B2 (en) Illumination apparatus including semiconductor light emitting diodes
CN109104792B (en) Dimmable AC driven LED lighting device
US9237618B2 (en) LED lighting apparatus
CN107396485B (en) Multi-channel LED driver with overheat protection capability
TWI416994B (en) Control circuit for driving light emitting element
US8227998B2 (en) Controller for controlling dimming of a light source
KR20170124948A (en) Analog and digital dimming control for led driver
US9041311B2 (en) Dynamic loading of power supplies
JP2009542188A (en) Drive circuit that drives the load with a constant current
JP2010040509A (en) Driving circuit for supplying electrical power to light source
US9807828B2 (en) Alternating current-driven light emitting element lighting apparatus
US20150312984A1 (en) Control circuit of light-emitting diode lighting apparatus
US8247981B2 (en) Integrated circuit and related method for determining operation modes
JP2007194478A5 (en)
US20170257916A1 (en) Lighting device
KR101272033B1 (en) Device for driving Light Emitting Diode
US8441196B2 (en) Multi-color light emitting device circuit
CN104023431A (en) Light emitting diode illumination apparatus and control method thereof
US20200389953A1 (en) Flexible dimming circuit and a method thereof
CN108240613B (en) System-in-package for driving LED and LED lighting device comprising same

Legal Events

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