[go: up one dir, main page]

TW200421699A - Controller for DC to DC converter - Google Patents

Controller for DC to DC converter Download PDF

Info

Publication number
TW200421699A
TW200421699A TW92133202A TW92133202A TW200421699A TW 200421699 A TW200421699 A TW 200421699A TW 92133202 A TW92133202 A TW 92133202A TW 92133202 A TW92133202 A TW 92133202A TW 200421699 A TW200421699 A TW 200421699A
Authority
TW
Taiwan
Prior art keywords
switch
controller
state
signal
circuit
Prior art date
Application number
TW92133202A
Other languages
Chinese (zh)
Other versions
TWI243977B (en
Inventor
Laszlo Lipcsei
Serban-Mihai Popescu
Original Assignee
O2Micro Inc
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 US10/389,037 external-priority patent/US6965221B2/en
Priority claimed from US10/668,459 external-priority patent/US6844710B2/en
Application filed by O2Micro Inc filed Critical O2Micro Inc
Publication of TW200421699A publication Critical patent/TW200421699A/en
Application granted granted Critical
Publication of TWI243977B publication Critical patent/TWI243977B/en

Links

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

A switching circuit includes at least one switch, and a controller configured to provide a periodic control signal. The switch is responsive to the periodic control signal to change states with a start of each period, and a frequency of the periodic control signal has a predetermined minimum frequency level greater than an audible frequency limit for humans. The switching circuit may be used to control a high side switch and a low side switch in a DC to DC converter. A controller having an input voltage sensing circuit to sense an input of a DC to DC converter without using an additional input pin is also provided. Related methods are also provided. A dual phase controller having a phase selection circuit to select between phases is also provided.

Description

200421699 玖、發明說明: 【發明所屬之技術領域3 相關申請案之交互參照 本申請案是2003年3月14曰申請的美國臨時申請案第 5 10/389,037號的後續申請案,其教示内容在此被引作參 考,這兩個申請案都要求2002年11月12日申請的美國臨時 申請案第60/425, 553號的權益,其教示内容在此亦被引作 參考。 發明領域 ίο 本發明係關於用於直流/直流(直流對直流)變換器的 控制器,更具體的是有關於用於控制電感電流位準而不需 直接測量該電流位準的控制器。 t先前技術3 發明背景 15 直流/直流變換器用來把一個輸入直流電壓轉換為一 個輸出直流電壓。該類變換器可以降低或升高輸入直流電 壓。一種降壓型變換器為同步降壓型變換器。該變換器通 常有一個控制器、驅動器、一對開關和一個與該對開關相 連的電感電容(LC)濾波器。該控制器提供一個控制信號 20 給驅動器,從而驅動該對開關,例如一個高側開關和一個 低側開關。該驅動器交替地閉合和斷開每個開關,從而控 制電感電流和直流/直流變換器的輸出電壓。該控制器通常 利用一個脈寬調變信號來控制高側和低側開關的狀態。 通常,如果PWM(脈寬調變)信號為高位準,則高側開關 5 200421699 為閉合(ON)且低側開關為斷開(OFF)。此開關狀態在此 稱為“開關閉合” (switch 0N)狀態。在該狀態,電感與 輸入電壓源相連。對於降壓型變換器,輸入電壓必定大於 輸出電壓,因此在該開關閉合狀態,電感上有一個淨正電 5 壓。因此,電感電流開始斜線上升。如果PWM(脈寬調變)信 號為低位準,則高側開關為斷開(OFF)且低側開關為閉合 (0N)。此開關狀態在此稱為“開關斷開” (switch OFF) 狀態。對於降壓型變換器,在此開關斷開狀態電感上有一 個淨負電壓。因此,電感電流在該開關斷開狀態開始斜線 10 下降。從而,PWM(脈寬調變)信號的脈衝寬度決定開關閉合 狀態的閉合時間和開關斷開狀態的斷開時間。該脈衝寬度 可以通過一個檢測電阻或比較輸出電壓和參考電壓位準方 式直接監控電感電流位準來調變。 因此,在本領域中對於用於直流/直流變換器的控制器 15 就存在一種需要,即根據直流/直流變換器的輸入電壓與表 示輸出電壓的信號的差值,在第一時間間隔内提供一個 PWM(脈寬調變)信號。 【發明内容】 發明概要 20 在一個實施例中,本發明的一種切換電路包括:至少 一個開關和一個產生該週期控制信號的控制器。至少一個 開關響應該週期控制信號,在週期控制信號的每個週期開 始時改變狀態,其中週期控制信號的頻率有一個大於人耳 可聽頻率範圍的預設最小頻率值。 6 200421699 在另一個貫施例中,本發明的一種切換電路包括:至 少一個開關和一個通過週期控制信號來控制至少一個開關 狀態的控制器。該至少一個開關回應該週期控制信號,在 週期控制信號的每個週期開始時改變狀態。控制器還有一 5個跳過模式(skiPmode),其中控制器至少保持一個開關處 於斷開(OFF)狀態。該控制器回應一個計時器,該計時 器基於週期控紹吕號的每個週期的起始來對預設時間間隔 计時,其中控制器回應預設時間間隔的終止而啟動週期控 制信號的一個新的週期,該預設時間信號是設置來得到一 1〇個大於人耳可聽最小聲頻的週期控制信號的預設最小頻率 值。 =在另一個實施例中,提供了一種保持開關狀態切換的 最小頻率大於人耳可聽頻率的方法。本發明的方法包括: 在開關轉變為第一狀態的第一狀態切換的起始,啟動對預 a時間間隔的計時;監控開關的狀態;如果開關仍處於第 一狀態,則改變開關的狀態來回應預設時間間隔的終止, <而保持開關的狀態切換的最小頻率大於人耳可聽頻率。 在另一個實施例中,還提供了一個用來把輸入電壓轉 換為輪出電壓的直流/直流變換器。該直流/直流變換器包 20 扛· , - ^ 個根據表示輸入電壓的第一信號與表示輸出電壓信 號的第二信號的差值、在第一狀態下的第一時間間隔内提 供一個第一狀態下的PWM(脈寬調變)信號的控制器;一個 接收至少該PWM信號且產生一個開關驅動信號的驅動電 路;一對包括一個高側開關和一個低側開關的開關,該開 7 關對響應開關驅動信號從而被驅動至開關閉合狀態,其中 當PWM信號處於第一狀態時高側開關閉合、低側開關斷 開;和一個與該對開關的輸出相連接的電感,其中在開關 閉合狀態下該電感上的電流位準增加;和一個提供一個具 有致能狀態和無效狀態的低側致能信號的邏輯電路,其中 當低側致能信號處於致能狀態時,PWM信號控制低側開 關,該邏輯電路接收一個來自過電流比較器的比較信號, 其中該過電流比較器基於流經該電感的電流位準與一個臨 界電流值的比較提供一個比較信號,如果流經電感的電流 位準大於該臨界電流值,邏輯電路還提供處於致能狀態的 低側致能信號。 在另一個實施例中,提供了一種使用與直流/直流變換 器的交換節點相連的現有引腳來檢測直流/直流變換器的 輸入電壓位準的方法。該方法包括:判定與輸入電壓源和 交換節點相連的高側開關的狀態;判定與地和交換節點相 連的低側開關的狀態;和當高側開關閉合、低側開關斷開 時檢測輸入電壓。 在另一個實施例中,本發明的直流/直流變換器的控制 器包括··一個與直流/直流變換器的交換節點相連的輸入引 腳端;當高側開關閉合、低側開關斷開時與輸入電壓相連 的直流/直流變換器的交換節點;與輸入引腳端相連的輸入 電壓檢測電路。該輸入電壓檢測電路包括:一個開關狀態 判疋電路’當父換節點基於高側開關和低側開關的狀態與 該輸入電壓相連時,該開關狀態判定電路回應從而進行檢 測並提供一個判定信號;和一個電壓檢測電路,該電壓檢 測電路回應表示與該輸入電壓相連的交換節點的判定信 號,從而檢測表示所述輸入電壓的電壓位準。 在另一個實施例中,本發明的一個雙相直流/直流控制 器包括:一個來提供一個第一PWM信號的第一相位控制 器,該第一PWM信號基於表示直流/直流變換器的輸入電壓 的第一信號與表示直流/直流變換器的輸出電壓的第二信 號的差值;一個提供一個第二PWM信號的第二相位控制 器’該第二P W Μ信號基於表示直流/直流變換器的輸入電壓 的第一信號與表示直流/直流變換器的輸出電壓的第二信 號的差值;和一個用來選擇該第一相位控制器和第二相位 控制器的相位選擇電路。 在另一個實施例中,給出了一種能提供一個控制信號 來控制至少一個開關狀態的控制器。該控制器包括一個在 ^ 個開關改變狀態至第一狀態後,對預設時間間隔計 於=時态。如果至少一個開關自該預設時間間隔開始處 伽一狀態,則控制器回應時間間隔的終止而切換至少一 的最小’其中預設時間間隔設置用來保證狀態切換 ’、項率大於一個人耳可聽頻 圖式簡單說明 例所作的t、、的優點將可由下文針對本發明幾個例示性實施 考量;而此等敘述應配合附圖來 牧咐圖中: 第1A圖所示為本發明的一 種包括一個控制器的直流/ 200421699 直流(直流對直流)變換器的方塊圖; 第1B圖所示為根據輸入P W Μ (脈寬調變)信號和低側致 能信號,描述第1Α圖中的該對開關的開關狀態的示範表格; 第2Α圖所示為用於第1Α圖的直流/直流變換器的控制 5 器的一個實施例的方塊圖; 第2Β圖所示為描述第2Α圖中控制器的能量記憶元件 的充電位準的變化和在相同的時間間隔内電感電流位準的 相應變化的比較曲線圖; 第3圖所示為用於第1Α圖的直流/直流變換器的控制器 10 的另一個實施例的方塊圖; 第4圖所示為第3圖中的示範延遲電路的詳細方塊圖; 第5圖所示為用作第1Α圖的直流/直流變換器的控制器 的另一個實施例的方塊圖; 第6圖所示為一個示範性的雙相控制器方塊圖; 15 第7圖所示為一個使用控制器LX引腳的輸入電壓檢測 電路的電路圖; 第8圖所示為本發明的帶有一個内部計時器供控制最 小切換頻率的控制器的另一個實施例的方塊圖; 第9圖所示為一個帶有位於控制器外部的計時器供控 20 制最小切換頻率的直流/直流變換器的方塊圖;和 第10圖所示為第8圖和第9圖實施例的時序圖。 【實施方式3 較佳實施例之詳細說明 根據本發明,第1A圖所示為一個包括一個控制器102 10 200421699 的示範直流/直流變換器100。該控制器102可以用於各種直 流/直流變換器。所示直流/直流變換器100為一個同步降壓 型變換器,該變換器通常包括:控制器102、一個驅動器電 路104、一對包括一個高側開關Q1和一個低側開關Q2的開 5 關106和一個低通濾波器108。該低通濾波器包括一個電感L 和一個電容C。 控制器102通常用於提供一個PWM(脈寬調變)信號和 低側開關致能信號(LDRJEN)給驅動器電路104。基於這 些信號,驅動器電路104便能控制高側開關Q1和低側開關 10 Q2的狀態。 控制器102具有一個能設定需要的輸出電壓目標的輸 入引腳SLEW。在第1A圖的示範實施例中,壓擺電容(siew capacitor ) Cslew基於電阻分壓器R2/R3中的電阻值和參考 電壓值REF充電。本領域的技術人員將知道給壓擺電容充 15 電且產生目標電壓信號的各種方法。在該實施例中,電壓 從〇擺動至根據壓擺電容Cslew設定的一個值。一個任選的 檢測電阻R1可以用來提供一個表示流經電感L的電流位準 的反饋電壓值給控制器102的引腳CSN和CSP。另外控制器 102的VFB引腳可以接收表示輸出電壓位準\^〇加的反饋信 20 號。 第1B圖所示為第1A圖中的高側開關Q1和低側開關Q2 在各種PWM(脈寬調變)信號和LDRJEN信號狀態下的各個 開關狀態的示範表格。如果LDR 一 EN信號為表格120中列122 的數位1,則PWM(脈寬調變)信號的狀態控制開關以和 11 200421699 Q2。例如,在該列122中,如果pwm(脈寬調變)為數位1, 則Q1為閉合(ON)且Q2為斷開(〇FF)。該狀態稱為開關 閉合狀態。另外,在該列122中,如果PWM(脈寬調變)為數 位〇,則Q1為斷開(OFF)且Q2為閉合(ON)。該狀態稱為 5 開關斷開狀態。 相反,如果LDR—EN信號為數位〇且PWM(脈寬調變)為 數位1,則開關Q1和Q2處於開關閉合狀態。但是,如果PWM 為數位0,則低側開關Q2保持斷開。如此,高側開關qi和 低側開關Q2在跳過狀態(skip state)或開關無效狀態(switch 10 disable state )都為斷開(OFF )。 電感L的一端與輸出直流電壓相連,且另一開關端根據 開關Q1和Q2的狀態(開關閉合或開關斷開狀態)交替的與 輸入電壓Vin或地相連。在開關閉合狀態,電感與輸入電壓 Vin相連。忽略檢測電阻R1上的很小的電壓降,電感L兩端 15 的電壓差等於Vin-Voixt。在一個降壓型變換器中,輸入電壓 Vin必定比輸出電壓Vout大,因此電感上有一個淨正電壓, 且電感電流在開關閉合期間根據式1斜線上升。 (1) di/dt = (Vin - Vout) / L = )I/Ton 式1中,Vin為直流/直流變換器的輸入電壓,vout為直 20 流/直流變換器的輸出電壓’ Ton為開關Qi和Q2處於開關閉 合狀態的時間間隔’ L為電感L的值,且)1為在Ton期間電感 電流的變化。在開關斷開期間,電感L上的電壓與Vout成 一定比例。在該例中的降壓型變換器中,電感上存在一個 淨負電壓且電感電流根據式2斜線下降。 12 200421699 (2) di/dt = (Vout) /L = )I/Toff 式2中,Vout為直流/直流變換器的輸出電壓,Toff為開 關Q1和Q2處於開關斷開狀態的時間間隔,L為電感L的值, 且)1為在Toff期間電感電流的變化。 5 第2A圖所示為用於第1A圖中的直流/直流變換器的控 制器200的一個實施例的更具體的方塊圖。通常,控制器200 基於表示輸入電壓的第一信號與表示輸出電壓信號的第二 信號之間的差值,提供一個數位1的PWM(脈寬調變)信號來 將開關Ql、Q2置於開關閉合狀態。該第二信號可以是一個 10 目標電壓位準信號,例如Vslew,或一個輸出電壓位準信 號,例如Vout。通常,採用一個目標電壓位準信號能產生 更平滑的電流。在一個降壓型變換器中,控制器200產生的 PWM(脈寬調變)信號的占空比通常反比於輸入電壓和輸出 電壓或目標電壓之間的差值。換句話說,隨著該差值的增 15 加,PWM(脈寬調變)信號的占空比就減小,從而減小開關 Q1和Q2的開關閉合時間。相反,隨著第一信號和第二 信號之間的差值減小,PWM(脈寬調變)信號的占空比就增 加,從而減小開關Q1和Q2的“開關斷開,,時間。200421699 发明 Description of the invention: [Cross-reference of related applications in the technical field 3 to which this invention belongs] This application is a follow-up application of US Provisional Application No. 5 10 / 389,037 filed on March 14, 2003. This is incorporated by reference, and both applications claim the benefit of US Provisional Application No. 60/425, 553, filed November 12, 2002, the teachings of which are also incorporated herein by reference. FIELD OF THE INVENTION The present invention relates to a controller for a DC / DC (DC to DC) converter, and more specifically to a controller for controlling an inductor current level without directly measuring the current level. t Prior Art 3 Background of the Invention 15 A DC / DC converter is used to convert an input DC voltage to an output DC voltage. This type of converter can reduce or increase the input DC voltage. One step-down converter is a synchronous step-down converter. The converter usually has a controller, a driver, a pair of switches, and an inductive capacitor (LC) filter connected to the pair of switches. The controller provides a control signal 20 to the driver to drive the pair of switches, such as a high-side switch and a low-side switch. The driver alternately closes and opens each switch to control the inductor current and the output voltage of the DC / DC converter. The controller usually uses a PWM signal to control the state of the high-side and low-side switches. Generally, if the PWM (Pulse Width Modulation) signal is high, the high-side switch 5 200421699 is closed (ON) and the low-side switch is open (OFF). This switching state is referred to herein as the "switch ON" state. In this state, the inductor is connected to the input voltage source. For a buck converter, the input voltage must be greater than the output voltage, so when the switch is closed, there is a net positive voltage on the inductor. Therefore, the inductor current starts to ramp up. If the PWM (Pulse Width Modulation) signal is at the low level, the high-side switch is open (OFF) and the low-side switch is closed (0N). This switching state is referred to herein as a "switch OFF" state. For a buck converter, there is a net negative voltage across the inductor in this switch-off state. As a result, the inductor current starts to decrease with the slash 10 in the switch-off state. Therefore, the pulse width of the PWM (Pulse Width Modulation) signal determines the closing time of the switch-on state and the opening time of the switch-off state. This pulse width can be adjusted by monitoring the inductor current level directly with a sense resistor or comparing the output voltage and reference voltage levels. Therefore, there is a need in the art for the controller 15 for a DC / DC converter, which is provided in the first time interval according to the difference between the input voltage of the DC / DC converter and the signal representing the output voltage. A PWM (Pulse Width Modulation) signal. [Summary of the Invention] Summary of the Invention 20 In one embodiment, a switching circuit of the present invention includes at least one switch and a controller that generates the cycle control signal. At least one switch responds to the cycle control signal and changes state at the beginning of each cycle of the cycle control signal, where the frequency of the cycle control signal has a preset minimum frequency value greater than the audible frequency range of the human ear. 6 200421699 In another embodiment, a switching circuit of the present invention includes at least one switch and a controller that controls at least one switching state by a cycle control signal. The at least one switch responds to a cycle control signal and changes state at the beginning of each cycle of the cycle control signal. The controller also has 5 skip modes (skiPmode), in which the controller keeps at least one switch in the OFF state. The controller responds to a timer, which counts a preset time interval based on the start of each cycle of the cycle control Shao Lu, wherein the controller starts one of the cycle control signals in response to the end of the preset time interval. For a new period, the preset time signal is set to obtain a preset minimum frequency value of 10 period control signals greater than the minimum audible audio frequency of the human ear. = In another embodiment, a method is provided to keep the minimum frequency of the switching state greater than the audible frequency of the human ear. The method of the present invention includes: starting the timing of the pre-a time interval at the start of the first state switching of the switch to the first state; monitoring the state of the switch; and if the switch is still in the first state, changing the state of the switch to In response to the expiration of the preset time interval, < the minimum frequency of the state of the hold switch is greater than the audible frequency of the human ear. In another embodiment, a DC / DC converter for converting an input voltage to a wheel-out voltage is also provided. The DC / DC converter package 20 carries a first time interval in a first state based on a difference between a first signal representing an input voltage and a second signal representing an output voltage signal. A controller for a PWM (pulse width modulation) signal in a state; a driving circuit that receives at least the PWM signal and generates a switch driving signal; a pair of switches including a high-side switch and a low-side switch, the on / off switch The pair is in response to the switch driving signal being driven to the switch-on state, where the high-side switch is closed and the low-side switch is open when the PWM signal is in the first state; and an inductor connected to the output of the pair of switches, where the switch is closed The current level of the inductor increases in a state; and a logic circuit that provides a low-side enable signal with an enabled state and an inactive state, where the PWM signal controls the low-side when the low-side enable signal is in the enabled state Switch, the logic circuit receives a comparison signal from an over-current comparator, wherein the over-current comparator is based on a current level flowing through the inductor and a Comparison of critical current values to provide a comparison signal if the current level flowing through the inductor current is greater than the threshold value, the logic circuit is also provided in the lower side of the disable status enable signal. In another embodiment, a method for detecting an input voltage level of a DC / DC converter using an existing pin connected to a switching node of the DC / DC converter is provided. The method includes: determining a state of a high-side switch connected to an input voltage source and a switching node; determining a state of a low-side switch connected to ground and the switching node; and detecting an input voltage when the high-side switch is closed and the low-side switch is open . In another embodiment, the controller of the DC / DC converter of the present invention includes an input pin terminal connected to a switching node of the DC / DC converter; when the high-side switch is closed and the low-side switch is open A switching node of a DC / DC converter connected to the input voltage; an input voltage detection circuit connected to the input pin terminal. The input voltage detection circuit includes: a switching state judging circuit, when the parent switching node is connected to the input voltage based on the states of the high-side switch and the low-side switch, the switching state judging circuit responds to detect and provide a judgment signal; And a voltage detection circuit, the voltage detection circuit responds to a determination signal indicating a switching node connected to the input voltage, thereby detecting a voltage level indicating the input voltage. In another embodiment, a dual-phase DC / DC controller of the present invention includes: a first phase controller to provide a first PWM signal based on an input voltage representing a DC / DC converter The difference between the first signal of the DC signal and the second signal of the output voltage of the DC / DC converter; a second phase controller that provides a second PWM signal; the second PW M signal is based on the A difference between the first signal of the input voltage and the second signal representing the output voltage of the DC / DC converter; and a phase selection circuit for selecting the first phase controller and the second phase controller. In another embodiment, a controller is provided that is capable of providing a control signal to control the state of at least one switch. The controller includes a time interval for the preset time interval after ^ switches change the state to the first state. If at least one switch is in a Ga state from the beginning of the preset time interval, the controller switches at least one of the minimum 'of the preset time interval settings to ensure state switching' in response to the end of the time interval, and the item rate is greater than that of a human ear. The advantages of t, and in the simple illustration of the audio-frequency diagram can be considered in the following exemplary implementations of the present invention; and these descriptions should be accompanied by the drawings to instruct the figures: Figure 1A shows the present invention. A block diagram of a DC / 200421699 DC (DC to DC) converter including a controller; Figure 1B shows the input PW M (pulse width modulation) signal and the low-side enable signal, as shown in Figure 1A An exemplary table of the switching states of the pair of switches; FIG. 2A shows a block diagram of an embodiment of a controller for the DC / DC converter of FIG. 1A; FIG. 2B shows a description of FIG. 2A The comparison curve of the change of the charging level of the energy memory element of the controller and the corresponding change of the inductor current level in the same time interval; Figure 3 shows the DC for Figure 1A A block diagram of another embodiment of the controller 10 of the DC converter; FIG. 4 shows a detailed block diagram of the exemplary delay circuit in FIG. 3; FIG. 5 shows a DC / DC converter used in FIG. Block diagram of another embodiment of a controller of a DC converter; Figure 6 shows a block diagram of an exemplary two-phase controller; 15 Figure 7 shows an input voltage detection using the controller's LX pin Circuit diagram of the circuit; Figure 8 shows a block diagram of another embodiment of the controller with an internal timer for controlling the minimum switching frequency of the present invention; Figure 9 shows a The timer is used to control the block diagram of the DC / DC converter with a minimum switching frequency of 20; and Fig. 10 shows the timing diagrams of the embodiments of Figs. 8 and 9. [Embodiment 3 Detailed Description of the Preferred Embodiment According to the present invention, FIG. 1A shows an exemplary DC / DC converter 100 including a controller 102 10 200421699. The controller 102 can be used for various DC / DC converters. The DC / DC converter 100 shown is a synchronous step-down converter, which typically includes a controller 102, a driver circuit 104, a pair of on and off switches including a high-side switch Q1 and a low-side switch Q2. 106 and a low-pass filter 108. The low-pass filter includes an inductor L and a capacitor C. The controller 102 is generally used to provide a PWM (pulse width modulation) signal and a low-side switch enable signal (LDRJEN) to the driver circuit 104. Based on these signals, the driver circuit 104 can control the states of the high-side switch Q1 and the low-side switch 10 Q2. The controller 102 has an input pin SLEW which can set a desired output voltage target. In the exemplary embodiment of FIG. 1A, a siew capacitor Cslew is charged based on the resistance value in the resistor divider R2 / R3 and the reference voltage value REF. Those skilled in the art will know various methods to charge the slew capacitor and generate a target voltage signal. In this embodiment, the voltage swings from 0 to a value set in accordance with the swing capacitance Cslew. An optional sense resistor R1 can be used to provide a feedback voltage value representing the level of the current flowing through the inductor L to the pins CSN and CSP of the controller 102. In addition, the VFB pin of the controller 102 can receive a feedback signal No. 20 indicating the output voltage level. Fig. 1B shows an exemplary table of each switching state of the high-side switch Q1 and the low-side switch Q2 in Fig. 1A under various PWM (pulse width modulation) signal and LDRJEN signal states. If the LDR_EN signal is bit 1 of column 122 in Table 120, then the state control switch of the PWM (pulse width modulation) signal is 11 200421699 Q2. For example, in the column 122, if pwm (pulse width modulation) is a digit 1, Q1 is closed (ON) and Q2 is open (OFF). This state is called the switch-on state. In addition, in this column 122, if the PWM (pulse width modulation) is a number 0, Q1 is OFF and Q2 is ON. This state is called the 5-switch off state. In contrast, if the LDR_EN signal is digital 0 and the PWM (pulse width modulation) is digital 1, the switches Q1 and Q2 are in the switch closed state. However, if PWM is digital 0, the low-side switch Q2 remains off. In this way, the high-side switch qi and the low-side switch Q2 are both OFF (skip state) or switch 10 disable state (OFF). One end of the inductor L is connected to the output DC voltage, and the other switch end is alternately connected to the input voltage Vin or the ground according to the states of the switches Q1 and Q2 (the switch is on or off). When the switch is closed, the inductor is connected to the input voltage Vin. Ignoring the small voltage drop across the sense resistor R1, the voltage difference across the inductor L15 is equal to Vin-Voixt. In a buck converter, the input voltage Vin must be greater than the output voltage Vout, so there is a net positive voltage on the inductor, and the inductor current rises according to Equation 1 during the switch closure. (1) di / dt = (Vin-Vout) / L =) I / Ton In Equation 1, Vin is the input voltage of the DC / DC converter, and vout is the output voltage of the DC / DC converter. Ton is the switch The time interval 'L' in which Qi and Q2 are in the switch-on state is the value of inductor L, and 1) is the change in inductor current during Ton. During the switch-off period, the voltage across inductor L is proportional to Vout. In the buck converter in this example, there is a net negative voltage on the inductor and the inductor current drops according to the diagonal line of Equation 2. 12 200421699 (2) di / dt = (Vout) / L =) I / Toff In formula 2, Vout is the output voltage of the DC / DC converter, Toff is the time interval when switches Q1 and Q2 are in the off state, L Is the value of inductance L, and) 1 is the change in inductor current during Toff. 5 FIG. 2A shows a more specific block diagram of an embodiment of the controller 200 for the DC / DC converter in FIG. 1A. Generally, the controller 200 provides a digital 1 PWM (pulse width modulation) signal based on the difference between the first signal representing the input voltage and the second signal representing the output voltage signal to place the switches Q1, Q2 on the switches Closed. The second signal can be a target voltage level signal such as Vslew, or an output voltage level signal such as Vout. Normally, using a target voltage level signal produces a smoother current. In a buck converter, the duty cycle of the PWM (pulse width modulation) signal generated by the controller 200 is usually inversely proportional to the difference between the input voltage and the output voltage or target voltage. In other words, as the difference increases by 15, the duty cycle of the PWM (pulse width modulation) signal decreases, thereby reducing the switch-on time of switches Q1 and Q2. Conversely, as the difference between the first signal and the second signal decreases, the duty cycle of the PWM (pulse width modulation) signal increases, thereby reducing the "switch-off," time of switches Q1 and Q2.

在第2A圖所示的實施例中,該控制通常由在第一時間 2〇間隔内給能量記憶元件充電和在第二時間間隔内給能量記 憶元件放電來支配。在第一時間間隔内,PWM輸出信號為 數位1,因此開關Q1和Q2處於開關閉合狀態,且電感電流 隨能量記憶元件202上的電壓成比例的升高。一旦能量記憶 元件202上的電壓達到了預先設定的電壓臨界值,則PWM 13 200421699 信號變為數位〇,因此開關被驅動為開關斷開狀態。從而, 電感電流隨著能量記憶元件202上的電壓的減小而成比例 的減小。 控制器200通常包括不同的電流源II、12和13,這些電 5 流源基於由比較器CMP2、CMP3和CMP4產生的各個比較電 壓,給能量記憶元件202充電和放電。第一電流源II與輸出 電壓或目標電Μ成一定比例,例如Vslew,且用於提供一個 第一電流位準。第二電流源12與直流/直流變換器的輸入電 壓成一定比例,且用於提供一個第二電流位準。最後,第 10 三電流源13與輸出電壓成一定比例,且用於提供一個第三 電流位準,該第三電流位準通常大於第一電流位準,但並 不必須大於。第三電流源13並非必須。但是,它能渡除一 個新PWM脈衝的寄生觸發。如果沒有採用第三電流源, 開關S2能直接給能量記憶元件202放電。控制器200還可以 15 包括一個輸出判定電路240來提供PWM信號給開關驅動電 路。 控制器200還可包括一個第一比較器CMP1,該比較器 用於比較能量記憶元件202 (例如電容C1)上的電壓與第二 參考電壓V2。第二參考電壓V2可以是一個額定電壓,例如 20在一個實施例中為2〇毫伏,且與比較器CMP1的正極引腳相 連,從而當能量記憶元件202上的電壓小於額定電壓V2時, CMP1提供一個高信號。In the embodiment shown in Figure 2A, this control is usually dominated by charging the energy storage element during the first time interval of 20 and discharging the energy storage element during the second time interval. During the first time interval, the PWM output signal is digital 1, so switches Q1 and Q2 are in the switch-on state, and the inductor current increases proportionally with the voltage on the energy storage element 202. Once the voltage on the energy storage element 202 reaches a preset voltage threshold, the PWM 13 200421699 signal becomes a digital zero, so the switch is driven to the switch-off state. Therefore, the inductor current decreases proportionally as the voltage on the energy storage element 202 decreases. The controller 200 typically includes different current sources II, 12 and 13 which charge and discharge the energy memory element 202 based on the respective comparison voltages generated by the comparators CMP2, CMP3 and CMP4. The first current source II is proportional to the output voltage or the target voltage, such as Vslew, and is used to provide a first current level. The second current source 12 is proportional to the input voltage of the DC / DC converter and is used to provide a second current level. Finally, the third current source 13 is proportional to the output voltage and is used to provide a third current level. The third current level is usually greater than the first current level, but it does not have to be greater. The third current source 13 is not necessary. However, it can eliminate the parasitic trigger of a new PWM pulse. If a third current source is not used, the switch S2 can directly discharge the energy storage element 202. The controller 200 may further include an output decision circuit 240 to provide a PWM signal to the switch driving circuit. The controller 200 may further include a first comparator CMP1 for comparing the voltage on the energy storage element 202 (for example, the capacitor C1) with the second reference voltage V2. The second reference voltage V2 may be a rated voltage, for example, 20 is 20 millivolts in one embodiment, and is connected to the positive pin of the comparator CMP1, so that when the voltage on the energy memory element 202 is less than the rated voltage V2, CMP1 provides a high signal.

比較器CMP1的輸出還可以和反及閘G1相連。一個 SKIP輸入可以和反及閘G1的另一個輸入端相連。如果SKIP 14 200421699 信號為0 ’不管比較器CMP1的信號是什麼,LDR_EN信號 為數位1,從而PWM信號控制開關Ql、Q2的狀態。但是如 果SKIP信號為數位1且比較器cmpi的輸出也為數位1,則反 及閘G1的輸出為數位〇。如此,如果Pwm為數位〇,則開關 5 Q1和Q2都被驅動為斷開狀態。 工作過程中,因為能量記憶元件202上的電壓被放電至 地,能量記憶元件202上的電壓初始設定為〇伏,且輸出判 定電路240提供一個數位〇的PWM信號。當控制器獲致能, SLEW電壓將從零開始增加到基於R2和R3的比值。比較器 10 CMP3接著檢測到SLE W電壓大於表示輸出電壓Vout的反饋 電壓VFB ’因此提供一個數位1信號給輸出判定電路240的 及閘G2〇 因為電感L沒有電流流過,比較器CMP4不會檢測到任 何過電流狀況,所以提供一個數位1信號給及閘G2。另外, 15 因為能量記憶元件202上的電壓被放電至〇伏,當比較該電 壓與額定臨界電壓V2時,比較器CMP1的輸出信號也同樣為 數位1。如此’及閘G2所有的輸入信號都為數位1,所以正 反器242被觸發。此時,PWM信號變為數位1且開關S1閉合。 當開關S1閉合,能量記憶元件202由一個等於第二電流 20 源提供的第二電流位準減去第一電流源提供的第一電流位 準的電流充電。有利的是,第一電流源提供的第一電流位 準可以表示輸出電壓,例如,可以正比於例如Vout的輸出 電壓值,或一個例如Vslew或Vtarget的目標電壓位準。如 此,能量記憶元件202由一個成比於I(Vin-Vout)或(Vin- 15 200421699The output of the comparator CMP1 can also be connected to the inverse gate G1. One SKIP input can be connected to the other input of the inverse gate G1. If the SKIP 14 200421699 signal is 0 ', regardless of the signal of the comparator CMP1, the LDR_EN signal is a digital one, so that the PWM signal controls the states of the switches Q1 and Q2. However, if the SKIP signal is a digital one and the output of the comparator cmpi is also a digital one, the output of the inverse gate G1 is a digital zero. As such, if Pwm is a digit 0, both switches 5 Q1 and Q2 are driven to the off state. During operation, because the voltage on the energy memory element 202 is discharged to ground, the voltage on the energy memory element 202 is initially set to 0 volts, and the output determination circuit 240 provides a PWM signal with a number of zero. When the controller is enabled, the SLEW voltage will increase from zero to a ratio based on R2 and R3. Comparator 10 CMP3 then detects that the SLE W voltage is greater than the feedback voltage VFB 'indicating the output voltage Vout, so a digital 1 signal is provided to the AND gate G2 of the output determination circuit 240. Because no current flows through the inductor L, the comparator CMP4 does not detect To any overcurrent condition, so a digital 1 signal is provided to the gate G2. In addition, because the voltage on the energy storage element 202 is discharged to 0 volts, when the voltage is compared with the rated threshold voltage V2, the output signal of the comparator CMP1 is also a digital one. In this way, all the input signals of the gate G2 are digital ones, so the flip-flop 242 is triggered. At this time, the PWM signal becomes digital 1 and the switch S1 is closed. When the switch S1 is closed, the energy memory element 202 is charged by a current equal to the second current level provided by the second current source minus the first current level provided by the first current source. Advantageously, the first current level provided by the first current source may represent an output voltage, for example, may be proportional to an output voltage value such as Vout, or a target voltage level such as Vslew or Vtarget. As such, the energy memory element 202 is composed of one proportional to I (Vin-Vout) or (Vin-15 200421699

Vslew)的電流位準充電。 能量記憶元件202被充電直到達到預先設定的臨界電 壓位準,例如VI或一個實施例中的2.5伏。比較器CMP2把 能量記憶元件202上的電壓與預先設定的臨界電壓值進行 5 比較,並基於它們之間的差值產生一個輸出信號給輸出判 定電路。如果能量記憶元件202的電壓達到預先設定的臨界 電壓值VI,則比較器CMP2將輸出一個數位1信號給正反器 242的復位引腳R來復位正反器,從而正反器的輸出q變為 數位0,從而PWM信號也同樣變為數位〇。 10 此時,因為正反器輸出Q為數位0,開關S1被斷開。如 此,能量記憶元件202由電流源12放電。如果及閘G3的輸出 為數位1,則能量記憶元件202將會加速放電。如果pwm信Vslew). The energy storage element 202 is charged until a predetermined threshold voltage level is reached, such as 2.5 V in one embodiment or VI. The comparator CMP2 compares the voltage on the energy storage element 202 with a preset threshold voltage value 5 and generates an output signal to the output determination circuit based on the difference between them. If the voltage of the energy storage element 202 reaches the preset threshold voltage value VI, the comparator CMP2 will output a digital 1 signal to the reset pin R of the flip-flop 242 to reset the flip-flop, so that the output q of the flip-flop becomes It is digital zero, so that the PWM signal also becomes digital zero. 10 At this time, because the output Q of the flip-flop is digital 0, the switch S1 is turned off. As such, the energy storage element 202 is discharged by the current source 12. If the output of the AND gate G3 is a digital one, the energy storage element 202 will accelerate the discharge. If pwm believes

號為數位0 ’上述情況就會發生,因此來自正反器242的QB 引腳的及閘G3的一個輸入為數位i。另外,如果反饋電壓 15 VFBk號小於SLEW電壓,則來自比較器CMP3的及閘G3的 另一個輸入為數位1。如此,及閘G3的一個數位工將使得開 關S2閉合。這樣,第三電流源可以與能量記憶元件2〇2相連 接來提供加速放電。在_個實施财,電流源13的值為ι〇χ I一Vout,该值可以根據特定的能量記憶元件2〇2和其他參數 20調整,從而得到一個想要的加速放電位準。另外,第三電 流源13也可以由短路來代替,從而開關S2會把能量記憶元 件202放電至接地。 sPWMW為數位〇,能量記憶元件搬上的電壓位準 θ、·攏、’、貝放電。根據比較器CMp3提供❸電壓和反饋電 16 200421699 壓VFB的比較,該放電可以是正常速度或加速。 一旦能量記憶元件202上的電壓位準被放電為小於額 定臨界值V2的一個值(因此比較器CMP1的輸出為數位1), 且比較器CMP3和CMP4的輸出都為數位1,隨著正反器的輸 5 出Q變為數位1,便產生一個新PWM脈衝。 結合第2A圖,第2B圖所示為隨著時間變化能量記憶元 件202上的電壓位準曲線203。另外,曲線205為在相同的時 間間隔内電感L上的電感電流位準。例如,在控制器200工 作的起始時間(to),能量記憶元件上的電壓為0伏。在第 10 一時間間隔内或時間to和tl之間的Ton,當PWM輸出信號為 數位1,能量記憶元件202上的電壓位準線性增加直到達到 預先設定的臨界值VI,例如在一個實施例中為2.5伏。 如此,t0和tl之間的Ton取決於代表輸入電壓Vin的信號 和代表輸出電壓Vout或Vtarget的信號之間差值,因為能量 15 記憶元件202在該時間間隔内,由一個與該差值成比例的電 流(電流源12-11)進行充電。Ton的持續時間還取決於臨界 電壓值VI和能量記憶元件202的電壓值。其中能量記憶元件 為一個電容C1 ’且第二電流源正比於Vout,Ton的持續時間 可以由如下式3得到: 2〇 (3) Ton = Cl*Vl/I(Vin - Vout) 其中Cl為電容Cl的值,VI為預先設定的充電臨界值 (在一個實施例中為2·5伏),當第二電流源正比於v〇ut 時,I (Vin-Vout)為第二電流源12和第一電流源II之間的差 值提供的充電電流值。 17 200421699 如果式(3)中的Ton用於式(1)的電感電流,則式(1) 可以寫為: (4) )I = (Vin - Vout) * (Cl*Vl/I(Vin - Vout) )/L 因為(Vin —Vout)/I(Vin-Vout)為常量,則)I也為常量,因 5 為其他各項(L、VI、和C1)也為常量。 如此,在t0和tl的Ton期間,電感電流隨著能量記憶元 件202上的電壓位準的上升成比例地上升。在tl和t2的第二 時間間隔内,能量記憶元件202上的電壓位準由於放電而減 小。與之相比較,在這段時間内,電感電流位準也減小。 10 有利的是,當能量記憶元件202上的電壓達到零,例如在t2 時刻,則t2時刻的電感電流也應該為零。如此,控制器200 也提供一個電感電流零值估計器(inductor current estimator ) ° 對於每個PWM脈衝,當初始電感電流為零且能量記憶 15 元件被完全放電時,跳過模式(skipping mode)被致能時 (當SKIP信號為數位1)。當能量記憶元件被放電至小於額 定電壓V2,比較器CMP1的輸出變為數位1。如果跳過模式 被致能,則LDRJEN通過反及閘G1被置成數位〇。因此當電 感電流為零,低側開關Q2和高側開關Q1變為斷開。因此, 20電感L的開關側將懸空(浮接)。跳過模式有利於小負載狀 況’因為當負載使能量記憶元件放電,就會開始一個新的 PWM週期,從而減小Q1和Q2開關和導通損失。 第3圖所示為本發明的控制器3〇〇的另一個實施例。和 第1A圖的實施例相同,控制器3〇〇根據相關直流/直流變換 18 200421699 器的輸入電壓與表示輸出電壓的信號(例如Vout或Vtarget) 的差值、提供一個PWM控制信號給相關的驅動器電路。但 是,不是給能量記憶元件充電和放電,控制器300實際上對 時間段進行計數,並基於這些計數提供合適的PWM和 5 LDR_EN信號。 例如,控制器300通常包括一個選通時間單觸發電路 (on-time one shot circuit) 302、一個低側驅動單觸發電路 (a low side driver one shot circuit ) 304、一個比較器306、 一個時間延遲電路308和一個反或閘310。時間延遲電路308 10 可以是一個產生選通時間單觸發電路302的再觸發消隱電 路。單觸發電路302和304可以由輸入信號下降緣觸發。 理想情況下,單觸發電路302的選通時間與直流/直流 變換器的輸入電壓Vin與直流/直流變換器的輸出目標電壓 Vtarget之間的差值成一定比例,且Tldr與vtarget成比例, 15 如式(5)中所示: T〇n ^Vin - Vtarget (5) TLDR Vtarget 貫際上’ TLDR通常選得比式(5)所得的短一點。有 表種方法可以產生Τοπ/Tldr。通常,Vtarget可以是一個不 變值或者一個可變的離散值。單觸發電路3〇2和304的延遲 20可以是基本時延的倍數的實際時延,例如,時延To可以由 式(6)和(7)得到: (6) Ton = Tol * ΜThe number 0 is digital. The above situation will occur, so one input from the QB pin of the flip-flop 242 and the gate G3 is digital i. In addition, if the feedback voltage 15 VFBk is smaller than the SLEW voltage, the other input from the comparator CMP3 and the gate G3 is digital 1. As such, a digital operator at gate G3 will cause switch S2 to close. In this way, the third current source can be connected to the energy storage element 202 to provide accelerated discharge. In this implementation, the value of the current source 13 is ιχχ—Vout, which can be adjusted according to the specific energy memory element 202 and other parameters 20, so as to obtain a desired accelerated discharge level. In addition, the third current source 13 may be replaced by a short circuit, so that the switch S2 will discharge the energy storage element 202 to ground. sPWMW is a number 0, and the voltage level θ, ·, ’, and 贝 discharged by the energy memory element are discharged. According to the comparison between the comparator voltage Cmp3 and the feedback voltage 16 200421699 voltage VFB, the discharge can be normal speed or acceleration. Once the voltage level on the energy memory element 202 is discharged to a value less than the rated threshold V2 (the output of the comparator CMP1 is therefore a digital one), and the outputs of the comparators CMP3 and CMP4 are both a digital one. The output Q of the converter becomes digit 1 and a new PWM pulse is generated. In conjunction with FIG. 2A and FIG. 2B, a voltage level curve 203 on the energy storage element 202 is shown as a function of time. In addition, the curve 205 is the level of the inductor current on the inductor L during the same time interval. For example, at the start time (to) of the operation of the controller 200, the voltage on the energy storage element is 0 volts. During the tenth time interval or Ton between time to and t1, when the PWM output signal is digital 1, the voltage level on the energy memory element 202 increases linearly until it reaches a preset threshold VI, for example, in one embodiment Medium is 2.5 volts. In this way, Ton between t0 and tl depends on the difference between the signal representing the input voltage Vin and the signal representing the output voltage Vout or Vtarget, because the energy 15 of the memory element 202 during this time interval is formed by a Proportional current (current source 12-11) for charging. The duration of Ton also depends on the threshold voltage value VI and the voltage value of the energy storage element 202. Where the energy storage element is a capacitor C1 'and the second current source is proportional to Vout, the duration of Ton can be obtained by the following formula 3: 2 (3) Ton = Cl * Vl / I (Vin-Vout) where Cl is a capacitor The value of Cl, VI is a preset charge threshold (2.5 Volts in one embodiment). When the second current source is proportional to vout, I (Vin-Vout) is the second current source 12 and The charging current value provided by the difference between the first current sources II. 17 200421699 If Ton in equation (3) is used for the inductor current of equation (1), then equation (1) can be written as: (4)) I = (Vin-Vout) * (Cl * Vl / I (Vin- Vout)) / L Because (Vin —Vout) / I (Vin-Vout) are constants, then) I is also constant, and 5 is also constant for other terms (L, VI, and C1). As such, during the ton periods of t0 and t1, the inductor current rises proportionally as the voltage level on the energy storage element 202 rises. During the second time interval of t1 and t2, the voltage level on the energy storage element 202 decreases due to the discharge. In comparison, the inductor current level also decreases during this time. 10 Advantageously, when the voltage on the energy storage element 202 reaches zero, for example at time t2, the inductor current at time t2 should also be zero. In this way, the controller 200 also provides an inductor current estimator °. For each PWM pulse, when the initial inductor current is zero and the energy storage 15 element is completely discharged, the skip mode is When enabled (when the SKIP signal is digital 1). When the energy storage element is discharged below the rated voltage V2, the output of the comparator CMP1 becomes a digital one. If the skip mode is enabled, LDRJEN is set to digit 0 by the inverse gate G1. Therefore, when the inductor current is zero, the low-side switch Q2 and the high-side switch Q1 are turned off. Therefore, the switching side of the 20 inductor L will be left floating (floating). Skip mode is good for small load conditions, because when the load discharges the energy memory element, a new PWM cycle will begin, thereby reducing Q1 and Q2 switching and conduction losses. FIG. 3 shows another embodiment of the controller 300 of the present invention. Similar to the embodiment in FIG. 1A, the controller 300 provides a PWM control signal to the relevant Driver circuit. However, instead of charging and discharging the energy memory element, the controller 300 actually counts the time periods and provides the appropriate PWM and 5 LDR_EN signals based on these counts. For example, the controller 300 usually includes an on-time one shot circuit 302, a low side driver one shot circuit 304, a comparator 306, and a time delay Circuit 308 and a reverse OR gate 310. The time delay circuit 308 10 may be a re-trigger blanking circuit that generates a gate time single trigger circuit 302. The one-shot circuits 302 and 304 can be triggered by the falling edge of the input signal. Ideally, the gating time of the one-shot circuit 302 is proportional to the difference between the input voltage Vin of the DC / DC converter and the output target voltage Vtarget of the DC / DC converter, and Tldr is proportional to vtarget, 15 As shown in the formula (5): Ton ^ Vin-Vtarget (5) TLDR Vtarget is generally chosen to be shorter than that obtained by the formula (5). There are several ways to generate τπ / Tldr. Generally, Vtarget can be an invariant value or a variable discrete value. The delay 20 of the one-shot circuits 3202 and 304 may be an actual delay that is a multiple of the basic delay. For example, the delay To may be obtained by equations (6) and (7): (6) Ton = Tol * Μ

(7) TLDR = To2 * N 19 200421699 圖所示為一個示範延遲電路400,其可產生一個想 要的時延來使為選通時間單觸發電路观保持合適選通時 :。延一遲電路400通常包括一個產生時間脈衝的振盪器 十數時間脈衝的計數器4〇4和一個比較計數值和 5倍數(例如Μ或N)的數位比較器406。從而,比較器產生 個表示汁數器4〇4是否達到必需的Μ或Ν數值的輸出信 \因此,適當的選通時間是通過計數與倍數μ*ν相比較 的數目來控制的。 因此就能通過倍數Μ和Ν選擇適當的延時。因為τ〇η是 10 Vln和Vtarget的函數,且的函數,就有幾種方 法了以控制它們。在第一個例子中,Tol和Το2相等且為常 數。如此,倍數Ν可以由一個設定vtarget的數位信號從詢查 表(LUT)中產生。該例中的lut是一維的,因為各個N值對 應一個相應的Vtarget值。在相同的例子中,其中τ〇ΐ和τ〇2 15 相等且為常數,倍數Μ可以由一個設定Vtarget的數位信號 和一個數位化Vin信號從詢查表(LUT)中產生。該數位化Vin 信號可以採用一個A/D轉換器來得到。如此,該例中產生μ 的LUT為二維,因為μ值對應一個相應的Vtarget和Vin值。 在另一個例子中,Tol和To2不相等。該例中,如果τ〇2 2〇 為常數,則倍數Ν與第一個例子中產生的方法相同。倍數Μ 可以通過一個具有一個設定Vtarget的數位信號的一維LUT 產生。但是,Tol不是常量,而是Vin或Vin和Vtarget的函數。 第5圖所示為本發明的用作第1A圖的直流/直流變換器 的控制器的另一種控制器500。第5圖所示控制器500的很多 20 200421699 精都和第2A圖所示的控制器2〇〇相似,且標號相同。因為 上文已經對第2A圖的部件詳細描述過 ,在此為簡潔起見, 省略對相似部件的重複描述,而詳細闡述第2八圖和第5圖之 間的不同之處。通常,控制器500有一個額外的連接511把 5比較器CMP4的輸出和反及閘G1的輸入相連。 該反及閘G1現在有三個輸入:來自比較器CMP1的第 一輸入;來自SKIP端的第二輸入;和來自比較器CMP4的第 二輸入。如果這三個反及閘G1的輸入中的任何一個為數位 0 ’則反及閘G1的輸出就為數位1。這在過電流狀況下的跳 10過模式中尤為有用。該例中,比較器CMP4的輸出可以是數 位〇 ’而直流/直流變換器的輸出電壓會下降,從而比較器 CMP3的輸出為數位1。如此,開關S2將閉合,加速能量記 憶元件202的放電。由於比較器CMP4和反及閘G1之間的連 接511,只要比較器CMP4的輸出為數位〇,反及閘G1的輸出 15就為數位1,因此LDR_EN為數位1,從而使得低側開關Q2 閉合。當反及閘G1的三個輸入都為高位準時,LDRJEN信 號變為低位準。同時,由及閘G2的輸出設置的正反器FF1 開始新的PWM週期。 第6圖所示為本發明的一個雙相控制器600。通常,該 20 雙相控制器600包括:一個第一相位控制器602、一個第二 相位控制器604和一個相位選擇電路606。該相位選擇電路 選擇相位控制器602和604,來使其中一個在任何一個時間 產生PWM控制信號。第一相位控制器602和第二相位控制 器604的很多部件都與第5圖所示的控制器500的部件相似 21 200421699 (也可參考第2A圖所示的控制器2〇〇)。因此為了簡潔起 見,在此省略對任何相似部件和操作的重複描述。 相位選擇電路606使得在任何一個時間,相位控制器 602、604中只有一個能產生pWM信號。可以採用各種電路 5配置來貫現相位選擇電路606期望的功能。在一個實施例 中,相位選擇器606包括一個正反器619和反及閘G7。反及 閘G7接收來自第一相位控制器6〇2的第一Pwm信號PWM1 和來自第二相位選擇器6〇4的第二PWM信號pwM2。反及閘 G7的輸出接著反饋至正反器619的時鐘端“CK” 。正反器 10 619的“Q”端與第一相位控制器6〇2的及閘〇2的輸入相 連,正反器619的“QB”端與第二相位控制器6〇4的及閘G5 的輸入相連。及閘G2和G5的輸入都必須是數位1,從而提 供一個數位1的輸出來設置相關的正反器FF1或FF2。 “QB”為“Q”的反相,從而保證正反器的設置 15 發生在不同時間。 工作過程中,第一相位控制器602產生一個PWM脈衝 之後,正反器619 PWM1端的PWM脈衝的下降緣改變狀 態,從而允許第二相位控制器604的PWM2產生一個PWM脈 衝。當反饋電壓VFB下降至SLEW電壓以下時,第二相位控 2〇 制器604的PWM2端產生一個PWM脈衝。PWM脈衝的下降 緣再次改變正反器619的狀態。因此,下一個PWM信號由 第一控制器602的PWM1端產生,隨著正反器619在每個 PWM脈衝的下降緣改變狀態,進程繼續進行。在跳過 (SKIP)模式,由於每個控制器602、604分別有獨立的 22 200421699 LDR-EN脈衝估計值,即LDRJEN1和LDRJEN2,PWM脈衝 能精確的交替產生。 第7圖所示為本發明的一個不需要控制器上單獨的輸 入引腳的輸入電壓檢測電路700。這樣控制器上的總引腳數 5目就減小了。該輸入電壓檢測電路700接收LX引腳703的輸 入信號。LX引腳703與直流/直流變換器的交換節點715 (第 9圖所不)相連。當高側開關Q1閉合、低側開關Q2打開時, 該交換節點715與輸入電壓相連。當高側開關Q1打開、低側 開關Q2閉合時,該交換節點715也可以接地。另外,該交換 10節點可以在Q1和Q2都打開的跳過狀態保持漂移狀態。 通常’輸入電壓檢測電路700有一個開關狀態判定電路 740和一個電壓檢測電路742。當高側開關Q1閉合、低側開 關Q2打開時,該交換節點715與輸入電壓相連,此時該開關 狀態判定電路740進行判定。該開關狀態判定電路74〇接著 15提供一個判定信號給電壓檢測電路742,來使電壓檢測電路 742檢測表示LX引腳7〇3處電壓的電壓。 該開關狀態判定電路740還包括一個及閘712。當及閘 712接受到的延遲PWM信號和pWM信號都為數位1時,該及 問712的輸出也同樣為數位1,從而接著閉合開關706。該輸 20入電壓檢測電路還可以包括一對電阻702、704構成的分壓 器來把LX引腳703處的電壓按一定比例縮小至一個低位 準。在一個實施例中,電阻702可以為210千歐姆,電阻704 可以為30千歐姆。 當開關狀態判定電路740判定在交換節點715處的電壓 23 2〇〇42l699 表不輸入電壓位準時(例如,及閘712接受到的pWM信號 都為高位準),就閉合開關706。電壓檢測電路742包括一個 跨導放大器714和電晶體Q3。該跨導放大器714在其同向輸 入端接收一個表示輸入電壓的輸入信號,並提供一個信號 5給電晶體03的控制電極。電晶體Q3接著提供一個表示輸入 電壓位準的信號,例如I—Vin。因此,提供了 一個輸入電壓 檢測電路700,而無需控制器上單獨的輸入引腳。這樣,控 制器上的總引腳數目就減小了。另外,如果有一個和第6圖 所示的控制器600相似的在一片晶片上的雙相控制器,則每 10個控制器能檢測各自不同的輸入電壓。例如,第一控制器 可以把電池電壓16伏轉換為2.5伏,第二控制器可以把5伏 輸入電壓轉換為1·5伏。兩個控制器都能正常工作。 第8圖所示的電路圖中,控制器8〇〇内部的Pwm端和反 及閘G1的輸入之間加入了一個計時器8〇2。第9圖所示為控 15制器PWM*SKIP端之間的計時器802的外部實現。計時器 802在一個能控制高側開關qi和低側開關Q2狀態的週期控 制信號(例如PWM信號)的前緣開始時間計時,本文將參 照第10圖的時序圖進一步詳述。計時器8〇2保證了開關在一 個大於人耳可聽的聲頻範圍(即,大約2〇千赫茲到25千赫 20茲)的頻率切換狀態,本文將通過對控制週期控制信號的 頻率來詳述。 如第10圖所示的時序圖,tl時刻產生一個PWM脈衝。 在tl和t2時刻之間,PWM脈衝為數位1。因此高側開關qi 為閉合而低側開關Q2為斷開。另外,在時間間隔^至^之 24 200421699 間,低側致能信號LDR_EN也為數位1。因此,在“開關閉 合”狀態期間,電感電流增加。 在時刻t2和t3之間,PWM信號為數位〇且LDR^EN信號 為數位1。從而在該時間間隔,高側開關Q1為斷開而低側開 5 關Q2為閉合。因此,在該“開關斷開”狀態期間電感電流 下降,直到在時刻t3下降為0。在時刻t3,LDR__EN信號變 為數位0。因為在該時刻PWM信號也為數位〇,則在時刻t3 進入跳過狀態。如此,在時刻t3至t4之間的跳過狀態,高側 開關Q1和低側開關Q2都為斷開。 10 如果由控制器反饋端VFB所測得的輸出電壓下降至設 定電壓位準VSET之下,就會產生一個新的PWM脈衝。另 外,計時器802的工作也能保證輸入電壓下降至VSET位 準。例如,計時器在PWM脈衝的前緣開始計時,或在時刻 tl開始一個預設時間間隔(X秒)。在第8圖所示的實施例 15 中,計時器在時刻t3至t4的時間間隔内提供一個數位1信號 給反及閘G1。 預設時間間隔限制(X秒)在時刻t4終止之後,LDR_EN 信號變為數位1。在第8圖所示的實施例中,這是因為反及 閘G1的計時器信號輸入變為了數位〇,從而使得反及閘G1 20 的輸出或LDRJEN信號變為數位1。在第9圖所示的實施例 中’計時器802控制SKIP端的輸入狀態,從而和第8圖的計 時器一樣產生相同的效應。即,當預定時間間隔限制終止 後’ LDR_EN信號變為數位1。從而跳過模式為無效且低側 開關Q2在時刻t2閉合。一旦低側開關Q2閉合,輸出電壓就 25 200421699 開始下降,因為輸出電容c經由電感低側開關路徑放電至 地。當輸出電壓下降至設定電壓VSET以下時,例如在〖5時 刻,則會產生一個新的PWM脈衝並再次開始進程。 有利的是,計時器802可以選擇一個時間限制來保證使 5用跳過模式時PWM脈衝的最小頻率,從而實現開關狀態的 最小切換頻率。更有利的是,該時間限制還可以選擇來使 得PWM脈衝的頻率大於人耳可聽頻率範圍。人耳可聽的平 均頻率範圍是20赫茲到20千赫茲。為使頻率保持在最小值 20千赫茲,該時間限制可以設置為%微秒。為使頻率保持 10在稍高一點的25千赫茲,該時間限制可以設置為4〇微秒, 因此,通過恰當的選擇計時器8〇2的時間限制,高側開關Q1 和低側開關Q2的最小切換頻率就可以保持在一個範圍,例 如,大於20千赫茲,即大於人耳可聽的平均頻率範圍。儘 管在此所述的計時器用於直流/直流變換器的控制器,本領 15域的技術人員將知道該計時器還可以用於其他各種切換電 路’该切換電路期望得到一個最小切換頻率來避免人耳可 聽到的切換雜訊。 在此描述的實施例只是採用本發明的其中幾個,且只 供舉例說明之用,而無限制本發明之意。顯而易見,本領 20域的技術人員將可輕易思及許多其他的實施例,而並不會 貫質脫離後附申請專利範圍所定義的本發明的精神和範 圍0 【圈式簡單^說^明】 26 200421699 第1A圖所示為本發明的一種包括一個控制器的直流/ 直流(直流對直流)變換器的方塊圖; 第1B圖所示為根據輸入p w M (脈寬調變)信號和低侧致 能信號,描述第1A圖中的該對開關的開關狀態的示範表格; 第2A圖所示為用於第1A圖的直流/直流變換器的控制 器的一個實施例的方塊圖; 第2B圖所示為描述第2A圖中控制器的能量記憶元件 的充電位準的變化和在相同的時間間隔内電感電流位準的 相應變化的比較曲線圖; 第3圖所示為用於第1A圖的直流/直流變換器的控制器 的另一個實施例的方塊圖; 第4圖所示為第3圖中的示範延遲電路的詳細方塊圖; 第5圖所示為用作第1A圖的直流/直流變換器的控制器 的另一個實施例的方塊圖; 第6圖所示為一個示範性的雙相控制器方塊圖; 第7圖所示為一個使用控制器L X引腳的輸入電壓檢測 電路的電路圖; 第8圖所示為本發明的帶有一個内部計時器供控制最 小切換頻率的控制器的另一個實施例的方塊圖; 第9圖所示為一個帶有位於控制器外部的計時器供控 制最小切換頻率的直流/直流變換器的方塊圖;和 第10圖所示為第8圖和第9圖實施例的時序圖。 【围式之主要元件代表符號表】 100…直流/直流變換器 102、200、300···控制器 27 200421699 CMP1 〜4、COMP1 〜6、306···比 742" 104···驅動器電路 106、S1 〜S4、706···開關 108…低通濾波器 C、C1 〜C2、708···電容(7) TLDR = To2 * N 19 200421699 The figure shows an exemplary delay circuit 400, which can generate a desired delay to maintain a proper gate time for the gate time one-shot circuit:. The delay-latency circuit 400 generally includes an oscillator that generates time pulses, a counter for ten-time time pulses 404, and a digital comparator 406 that compares the count value with a multiple of five (for example, M or N). Thus, the comparator generates an output signal indicating whether the juice counter 40 has reached the necessary M or N value. Therefore, the appropriate strobe time is controlled by counting the number compared with the multiple μ * ν. Therefore, the appropriate delay can be selected by the multiples M and N. Because τ〇η is a function of 10 Vln and Vtarget, and there are several ways to control them. In the first example, Tol and To2 are equal and constant. In this way, the multiple N can be generated from a lookup table (LUT) by a digital signal that sets vtarget. The lut in this example is one-dimensional because each N value corresponds to a corresponding Vtarget value. In the same example, where τ〇ΐ and τ〇 2 15 are equal and constant, the multiple M can be generated from a lookup table (LUT) by a digital signal that sets Vtarget and a digitized Vin signal. The digitized Vin signal can be obtained by an A / D converter. In this way, the LUT that generates μ in this example is two-dimensional, because the value of μ corresponds to a corresponding Vtarget and Vin value. In another example, Tol and To2 are not equal. In this example, if τ〇2 2〇 is constant, the multiple N is the same as the method produced in the first example. Multiples M can be generated by a one-dimensional LUT with a digital signal that sets Vtarget. However, Tol is not a constant, but a function of Vin or Vin and Vtarget. Fig. 5 shows another controller 500 of the present invention used as the controller of the DC / DC converter of Fig. 1A. Many of the controller 500 shown in FIG. 5 are similar to the controller 200 shown in FIG. 2A with the same reference numerals. Since the components of FIG. 2A have been described in detail above, for the sake of brevity, the repeated description of similar components is omitted, and the differences between FIG. 2 and FIG. 5 are explained in detail. Generally, the controller 500 has an additional connection 511 to connect the output of the 5 comparator CMP4 to the input of the inverse gate G1. The inverse gate G1 now has three inputs: the first input from the comparator CMP1; the second input from the SKIP terminal; and the second input from the comparator CMP4. If any one of the inputs of the three inverting gates G1 is a digital 0 ', then the output of the inverting gate G1 is a digital one. This is especially useful in the skip 10-over mode under overcurrent conditions. In this example, the output of the comparator CMP4 may be digital 0 'and the output voltage of the DC / DC converter will drop, so that the output of the comparator CMP3 is digital 1. In this way, the switch S2 will be closed and the discharge of the energy memory element 202 will be accelerated. Due to the connection 511 between the comparator CMP4 and the inverting gate G1, as long as the output of the comparator CMP4 is digital 0, the output 15 of the inverting gate G1 is digital 1, so LDR_EN is digital 1, which causes the low-side switch Q2 to close . When all three inputs of the inverse gate G1 are high, the LDRJEN signal becomes low. At the same time, the flip-flop FF1 set by the output of the AND gate G2 starts a new PWM cycle. FIG. 6 shows a two-phase controller 600 according to the present invention. Generally, the 20 bi-phase controller 600 includes a first phase controller 602, a second phase controller 604, and a phase selection circuit 606. The phase selection circuit selects the phase controllers 602 and 604 so that one of them generates a PWM control signal at any one time. Many components of the first phase controller 602 and the second phase controller 604 are similar to those of the controller 500 shown in FIG. 21 200421699 (see also the controller 200 shown in FIG. 2A). Therefore, for the sake of brevity, repeated description of any similar components and operations is omitted here. The phase selection circuit 606 enables only one of the phase controllers 602, 604 to generate a pWM signal at any one time. Various circuit 5 configurations can be employed to implement the desired function of the phase selection circuit 606. In one embodiment, the phase selector 606 includes a flip-flop 619 and a reverse gate G7. Reverse gate G7 receives a first Pwm signal PWM1 from the first phase controller 602 and a second PWM signal pwM2 from the second phase selector 604. The output of the inverting gate G7 is then fed back to the clock terminal "CK" of the flip-flop 619. The "Q" terminal of the flip-flop 10 619 is connected to the input of the first phase controller 602 and the gate 02, and the "Q" terminal of the flip-flop 619 is connected to the second phase controller 604 and the gate G5 The inputs are connected. The inputs of the gates G2 and G5 must be digit 1 to provide a digit 1 output to set the associated flip-flop FF1 or FF2. “QB” is the inversion of “Q”, which ensures that the setting of the flip-flop 15 occurs at different times. During operation, after the first phase controller 602 generates a PWM pulse, the falling edge of the PWM pulse at the PWM1 terminal of the flip-flop 619 changes state, thereby allowing the PWM2 of the second phase controller 604 to generate a PWM pulse. When the feedback voltage VFB drops below the SLEW voltage, the PWM2 terminal of the second phase controller 604 generates a PWM pulse. The falling edge of the PWM pulse changes the state of the flip-flop 619 again. Therefore, the next PWM signal is generated by the PWM1 terminal of the first controller 602. As the flip-flop 619 changes state at the falling edge of each PWM pulse, the process continues. In Skip (SKIP) mode, since each controller 602, 604 has independent estimates of 22 200421699 LDR-EN pulses, namely LDRJEN1 and LDRJEN2, PWM pulses can be generated alternately with precision. Figure 7 shows an input voltage detection circuit 700 of the present invention that does not require a separate input pin on the controller. This reduces the total number of pins on the controller to 5 meshes. The input voltage detection circuit 700 receives an input signal from the LX pin 703. The LX pin 703 is connected to the switching node 715 (not shown in Fig. 9) of the DC / DC converter. When the high-side switch Q1 is closed and the low-side switch Q2 is open, the switching node 715 is connected to the input voltage. When the high-side switch Q1 is opened and the low-side switch Q2 is closed, the switching node 715 can also be grounded. In addition, the switch 10 node can maintain the drift state in the skip state where both Q1 and Q2 are open. Generally, the 'input voltage detection circuit 700 has a switching state determination circuit 740 and a voltage detection circuit 742. When the high-side switch Q1 is closed and the low-side switch Q2 is open, the switching node 715 is connected to the input voltage, and at this time, the switching state determination circuit 740 makes a determination. The switching state judging circuit 74o then 15 provides a judging signal to the voltage detecting circuit 742 to cause the voltage detecting circuit 742 to detect a voltage indicating the voltage at the LX pin 703. The switching state determining circuit 740 further includes an AND gate 712. When both the delayed PWM signal and the pWM signal received by the AND gate 712 are digital 1, the output of the AND 712 is also digital 1, and the switch 706 is then closed. The 20-input voltage detection circuit may further include a voltage divider composed of a pair of resistors 702 and 704 to reduce the voltage at the LX pin 703 to a low level by a certain proportion. In one embodiment, the resistor 702 may be 210 kiloohms, and the resistor 704 may be 30 kiloohms. When the switching state judging circuit 740 determines that the voltage at the switching node 715 23 20042l699 indicates that the voltage level is not input (for example, the pWM signals received by the gate 712 are all high), the switch 706 is closed. The voltage detection circuit 742 includes a transconductance amplifier 714 and a transistor Q3. The transconductance amplifier 714 receives an input signal representing an input voltage at its non-inverting input terminal, and provides a signal 5 to the control electrode of the transistor 03. Transistor Q3 then provides a signal indicating the level of the input voltage, such as I-Vin. Therefore, an input voltage detection circuit 700 is provided without a separate input pin on the controller. This reduces the total number of pins on the controller. In addition, if there is a two-phase controller on a chip similar to the controller 600 shown in FIG. 6, every 10 controllers can detect different input voltages. For example, the first controller can convert a battery voltage of 16 volts to 2.5 volts, and the second controller can convert a 5 volt input voltage to 1.5 volts. Both controllers work properly. In the circuit diagram shown in Fig. 8, a timer 802 is added between the Pwm terminal of the controller 800 and the input of the feedback gate G1. Figure 9 shows the external implementation of the timer 802 between the PWM * SKIP terminals of the controller. The timer 802 starts timing at the leading edge of a period control signal (such as a PWM signal) that can control the states of the high-side switch qi and the low-side switch Q2. This document will further detail this with reference to the timing diagram in FIG. The timer 802 guarantees the switching state of the switch at a frequency greater than the audible audio range of the human ear (ie, about 20 kHz to 25 kHz 20 Hz). This article will detail the frequency of the control cycle control signal Described. As shown in the timing chart in Figure 10, a PWM pulse is generated at time t1. Between t1 and t2, the PWM pulse is a digital one. Therefore, the high-side switch qi is closed and the low-side switch Q2 is open. In addition, the low-side enable signal LDR_EN is also a digital one during the time interval ^ to 24 200421699. Therefore, during the "on and off" state, the inductor current increases. Between times t2 and t3, the PWM signal is a digital zero and the LDR ^ EN signal is a digital one. Therefore, at this time interval, the high-side switch Q1 is open and the low-side switch Q2 is closed. Therefore, the inductor current drops during this "switch-off" state until it drops to zero at time t3. At time t3, the LDR__EN signal becomes digital zero. Because the PWM signal is also digital 0 at this time, the skip state is entered at time t3. As such, in the skipped state between times t3 and t4, both the high-side switch Q1 and the low-side switch Q2 are turned off. 10 If the output voltage measured by the feedback terminal VFB of the controller drops below the set voltage level VSET, a new PWM pulse will be generated. In addition, the operation of the timer 802 can ensure that the input voltage drops to the VSET level. For example, the timer starts counting at the leading edge of the PWM pulse, or starts a preset time interval (X seconds) at time t1. In the fifteenth embodiment shown in Fig. 8, the timer supplies a digital 1 signal to the reverse gate G1 in the time interval from time t3 to t4. After the preset time interval limit (X seconds) expires at time t4, the LDR_EN signal becomes digital one. In the embodiment shown in FIG. 8, this is because the timer signal input of the anti-gate G1 becomes a digital zero, so that the output of the anti-gate G1 20 or the LDRJEN signal becomes a digital one. In the embodiment shown in Fig. 9, the 'timer 802 controls the input state of the SKIP terminal, and thus produces the same effect as the timer of Fig. 8. That is, when the predetermined time interval limit is terminated, the 'LDR_EN signal becomes a digital one. Thus, the skip mode is inactive and the low-side switch Q2 is closed at time t2. Once the low-side switch Q2 is closed, the output voltage 25 200421699 begins to decrease because the output capacitor c is discharged to ground via the inductor's low-side switching path. When the output voltage drops below the set voltage VSET, for example at [5], a new PWM pulse is generated and the process starts again. Advantageously, the timer 802 can select a time limit to ensure the minimum frequency of the PWM pulse in the skip mode, thereby realizing the minimum switching frequency of the switching state. More advantageously, this time limit can also be selected so that the frequency of the PWM pulses is greater than the audible frequency range of the human ear. The average audible frequency range of the human ear is 20 Hz to 20 kHz. To keep the frequency at a minimum of 20 kHz, this time limit can be set to% microseconds. In order to keep the frequency at a slightly higher 25 kHz, the time limit can be set to 40 microseconds. Therefore, by properly selecting the time limit of the timer 80, the high-side switch Q1 and the low-side switch Q2 The minimum switching frequency can be maintained in a range, for example, greater than 20 kHz, which is greater than the average frequency range audible to the human ear. Although the timer described herein is used for a DC / DC converter controller, those skilled in the art will know that the timer can also be used in various other switching circuits. The switching circuit expects a minimum switching frequency to avoid people The ear can hear the switching noise. The embodiments described here are just a few of the inventions, and are for illustrative purposes only, and are not intended to limit the invention. Obviously, those skilled in the art will be able to think of many other embodiments without departing from the spirit and scope of the present invention defined by the scope of the attached patent. 26 200421699 Figure 1A shows a block diagram of a DC / DC (DC-to-DC) converter including a controller according to the present invention; Figure 1B shows the input pw M (pulse width modulation) signal and low Side enable signal, an exemplary table describing the switching states of the pair of switches in FIG. 1A; FIG. 2A shows a block diagram of an embodiment of a controller for the DC / DC converter of FIG. 1A; Fig. 2B shows a comparison curve describing the change in the charge level of the energy memory element of the controller in Fig. 2A and the corresponding change in the inductor current level in the same time interval; Fig. 1A is a block diagram of another embodiment of the controller of the DC / DC converter; Fig. 4 is a detailed block diagram of the exemplary delay circuit in Fig. 3; Fig. 5 is used as Fig. 1A DC / DC converter control FIG. 6 is a block diagram of an exemplary dual-phase controller; FIG. 7 is a circuit diagram of an input voltage detection circuit using a controller LX pin; FIG. 8 Shown is a block diagram of another embodiment of the controller with an internal timer for controlling the minimum switching frequency of the present invention; FIG. 9 shows a timer with an external timer for controlling the minimum switching frequency. A block diagram of a DC / DC converter; and FIG. 10 shows timing diagrams of the embodiments of FIGS. 8 and 9. [Representative symbol table of main components of enclosure type] 100 ... DC / DC converter 102, 200, 300 ... Controller 27 200421699 CMP1 ~ 4, COMP1 ~ 6, 306 ··· 742 " 104 ... 106, S1 to S4, 706 ... Switch 108 ... Low-pass filter C, C1 to C2, 708 ... Capacitance

Cslew…壓擺電容 L···電感 Q1…高側開關 Q2…低側開關 R1 〜R3、702、704···電阻Cslew ... swing capacitor L ... inductor Q1 ... high-side switch Q2 ... low-side switch R1 to R3, 702, 704 ... resistance

Vin…輸入電壓Vin ... input voltage

Vout…輸出電壓 120…表格 122、124…列 202···能量記憶元件 240···輸出判定電路 242、619…正反器 REF…參考電壓值 II〜15···電流源 VI···臨界電壓值 V2···第二參考電壓 較器Vout ... Output voltage 120 ... Tables 122, 124 ... Column 202 ... Energy storage element 240 ... Output decision circuits 242, 619 ... Flip-flop REF ... Reference voltage value II ~ 15 ... Current source VI ... Critical voltage value V2 ... Second reference voltage comparator

Gl、G4、G7…反及閘 G2〜G3、G5〜G6、712···及閘 203…電壓位準曲線 205…曲線 302···選通時間單觸發電路 304…低側驅動單觸發電路 308…時間延遲電路 310···反或閘 Vtarget···輸出目標電壓 400…延遲電路 402···振盪器 404…計數器 406···數位比較器 500、800…控制器 511…連接 600…雙相控制器 602···第一相位控制器 604…第二相位控制器 606···相位選擇電路 700…輸入電壓檢測電路 703…LX引腳 714…跨導放大器 740…開關狀態判定電路 電壓檢測電路 Q3···電晶體 802…計時器 715…交換節點 tl〜t7…時間/時刻 28Gl, G4, G7 ... Gates G2 ~ G3, G5 ~ G6, 712 ... Gate 203 ... Voltage level curve 205 ... Curve 302 ... Gate time one-shot circuit 304 ... Low-side drive one-shot circuit 308 ... time delay circuit 310 ... reverse OR gate Vtarget ... output target voltage 400 ... delay circuit 402 ... oscillator 404 ... counter 406 ... digital comparator 500, 800 ... controller 511 ... connection 600 ... Two-phase controller 602 ... First phase controller 604 ... Second phase controller 606 ... Phase selection circuit 700 ... Input voltage detection circuit 703 ... LX pin 714 ... Transconductance amplifier 740 ... Switching state determination circuit voltage Detection circuit Q3 ... transistor 802 ... timer 715 ... switch nodes t1 to t7 ... time / time 28

Claims (1)

拾、申請專利範圍: 1·一種切換電路,包括: 至少一個開關;和 一個產生一個週期控制信號的控制器,該至少一個開 5 關響應於该週期控制信號而在該週期控制信號的每個週期 開始時改變狀態,其中該週期控制信號的頻率有一個大於 人耳可聽頻率範圍的預設最小頻率值。 2·如申請專利範圍第1項所述之電路,其中該預設最小頻率 值約為20千赫茲。 10 3·如申請專利範圍第1項所述之電路,其中該預設最小頻率 值約為25千赫茲。 4·如申請專利範圍第1項所述之電路,其中該週期控制信號 包括一個脈衝寬度調變信號。 5·如申請專利範圍第1項所述之電路,其中該控制器包括— 15 個計時器,該計時器基於該週期控制信號的第一週期的開 始對一個預設時間間隔計時,如果該週期控制信號自該第 一週期未改變狀態,則該控制器回應該預設時間間隔的終 止而啟動該週期控制信號的第二週期。 6·如申請專利範圍第5項所述之電路,其中該預設時間間隔 20 約為40微秒,且該預設最小頻率約為25千赫茲。 7·如申請專利範圍第5項所述之電路,其中該預設時間間隔 約為50微秒,且該預設最小頻率約為20千赫茲。 8·如申請專利範圍第1項所述之電路,其中該計時器連接於 該控制器供該控制信號用的一輸出端與該控制器的—輪入 29 200421699 端之間。 9·如申請專利範圍第1項所述之電路,其中該控制器為一個 直流/直流變換器的控制器,其中該至少一個開關包括一個 高側開關和一個低側開關’且該週期控制信號包括一個脈 5 衝寬度調變信號。 10·—種切換電路,包括: 至少一個開關;和 一個通過一個週期控制信號來控制該至少一個開關之 狀態的控制器,該至少一個開關響應於該週期控制信號而 10 在該週期控制信號的每個週期開始時改變狀態;該控制器 有一個跳過模式,其中該控制器保持該至少一個開關在斷 開狀態;該控制器響應於一個計時器,該計時器基於該週 期控制信號的第一週期的開始對一預設時間間隔計時,如 果該週期信號自該第一週期未改變狀態,則該控制器回應 15 該預設時間間隔的終止而啟動該週期控制信號的第二週 期’其中該預設時間間隔是設置來得到一個大於人耳可聽 頻率範圍的該週期控制信號的預設最小頻率值。 11·如申請專利範圍第忉項所述之電路,其中該週期控制信 號包括一個脈衝寬度調變信號。 20 12.如申請專利範圍第10項所述之電路,其中該預設時間間 隔約為40微秒,且該預設最小頻率約為25千赫茲。 13·如申請專利範圍第1〇項所述之電路,其中該預設時間間 隔約為50微秒,且該預設最小頻率約為20千赫茲。 14·如申請專利範圍第1〇項所述之電路,該跳過模式基於該 30 200421699 預設時間間隔的終止變為無效。 15.如申4專利範圍第爾所述之電路,其中該計時器連接 於該控制器供該週期控制信號用的一輸出端與該控制器供 該跳過模式用的一輸入端之間。 5 16·如申請專利範圍第1〇項所述之電路,其中該計時器為該 控制器的一個内部部件。 17.—種保持開關狀態切換的最小頻率大於人耳可聽頻率 的方法,該方法包括: 在該開關轉變為第一狀態的第一狀態切換的起始,啟 10 動對一個預設時間間隔的計時; 監控該開關的狀態;和 如果該開關仍處於該第一狀態,則回應該預設時間間 隔的終止而改變該開關的該狀態,從而保持該開關的該狀 態切換的最小頻率大於該人耳可聽頻率。 15 18·如申請專利範圍第17項所述之方法,其中該預設時間間 隔約為40微秒,且該預設最小頻率約為25千赫茲。 19·如申請專利範圍第17項所述之方法,其中該預設時間間 隔約為50微秒,且該預設最小頻率約為20千赫茲。 20. 如申請專利範圍第17項所述之方法’其中該週期控制信 2〇 號包括一個脈衝寬度調變信號。 21. —種把輸入電壓變換為輸出電壓的直流/直流變換器,該 直流/直流變換器包括: 一個控制器,用以基於/個表示該輸入電壓的第一信 號與一個表示該輸出電壓的第二化號的差值,在第一時間 31 200421699 間隔内提供一個第一狀態下的PWM信號; 一個接收至少該PWM信號且產生一個開關驅動信號 的驅動器電路; 包括一個高側開關和一個低側開關的一對開關,該開 5 關對回應該開關驅動信號而被驅動至一個開關閉合狀態, 其中當PWM信號處於第一狀態時該高側開關閉合而該低 側開關斷開; 一個與該開關對的一個輸出端相連的電感,其中在該 開關閉合狀態下該電感上的電流位準增加;和 10 一個提供一個具有一個致能和一個無效狀態的低側致 能信號的邏輯電路,其中當該低側致能信號處於該致能狀 態時,該PWM信號控制該低側開關;該邏輯電路接收一個 來自一個過電流比較器的比較信號,該過電流比較器基於 流經該電感的該電流位準與一個臨界電流值的比較提供該 15 比較信號,其中,如果流經該電感的該電流位準大於該臨 界電流值,該邏輯電路還提供處於該致能狀態的該低側致 能信號。 22.如申請專利範圍第21項所述之直流/直流變換器,其中該 邏輯電路包括一個反及閘。 20 23. —種使用與直流/直流變換器的交換節點相連的現有引 腳來檢測該直流/直流變換器的輸入電壓位準的方法,該方 法包括: 判定與一輸入電壓源和該交換節點相連的一高側開關 的狀態; 32 200421699 判定耦接於接地點和該交換節點間的一低側開關的狀 態;和 當該高側開關閉合且該低側開關斷開時,檢測該輸入 電壓。 5 24.如申請專利範圍第23項所述之方法,其中該等判定步驟 是基於控制該高側和低側開關的一個脈衝寬度調變信號的 狀態來進行。 25. —種直流/直流變換器的控制器,該控制器包括: 一個與直流/直流變換器的一交換節點相連的輸入引 10 腳端,當一高側開關閉合且一低側開關斷開時,該直流/直 流變換器的該交換節點與一輸入電壓相連;和 一個與該輸入引腳端相連的輸入電壓檢測電路,該輸 入電壓檢測電路包括: 一個開關狀態判定電路,用於感測出該交換節點何時 15 基於該高側開關和該低側開關的狀態而與該輸入電壓相 連,並回應於感測結果提供一個判定信號;和 一個電壓檢測電路,該電壓檢測電路回應表示與該輸 入電壓相連的該交換節點的該判定信號,從而檢測表示該 輸入電壓的一電壓位準。 20 26.如申請專利範圍第25項所述之控制器,其中該開關狀態 判定電路回應控制該高側開關和低側開關狀態的一脈衝寬 度調變信號的狀態而產生該判定信號。 27.—種雙相直流/直流控制器,包括: 一個提供一個第一PWM信號的第一相位控制器,該第 33 200421699 一 PWM信號係基於表示一個直流/直流變換器的一輸入電 壓的一第一信號與表示該直流/直流變換器的一輸出電壓 的一第二信號的差值而提供; 一個提供一個第二PWM信號的第二相位控制器,該第 5 二PWM信號係基於表示該直流/直流變換器的該輸入電壓 的該第一信號與表示該直流/直流變換器的該輸出電壓的 該第二信號的差值而提供;和 一個選擇該第一相位控制器和該第二相位控制器的相 位選擇電路。 10 28. —種提供一個控制至少一個開關狀態的控制信號的控 制器,該控制器包括: 一個在該至少一個開關改變狀態至一第一狀態後對一 個預設時間間隔計時的計時器;如果該至少一個開關自該 預設時間間隔開始起已處於該第一狀態,則該控制器會回 15 應該時間間隔的終止,來切換該至少一個開關的該狀態, 其中該預設時間間隔設置使該狀態切換的最小頻率大於一 個人耳可聽頻率。 29.如申請專利範圍第28項所述之控制器,其中該預設時間 間隔約為40微秒,且該預設最小頻率約為25千赫茲。 20 30.如申請專利範圍第28項所述之控制器,其中該預設時間 間隔約為50微秒,且該預設最小頻率約為20千赫茲。 34Patent application scope: 1. A switching circuit, comprising: at least one switch; and a controller that generates a cycle control signal, the at least one switch is turned on and off in response to the cycle control signal at each of the cycle control signals. The state changes at the beginning of the cycle, where the frequency of the cycle control signal has a preset minimum frequency value that is greater than the audible frequency range of the human ear. 2. The circuit according to item 1 of the scope of patent application, wherein the preset minimum frequency value is about 20 kHz. 10 3. The circuit according to item 1 of the scope of patent application, wherein the preset minimum frequency value is about 25 kHz. 4. The circuit according to item 1 of the scope of patent application, wherein the period control signal includes a pulse width modulation signal. 5. The circuit as described in item 1 of the scope of patent application, wherein the controller includes-15 timers, which count a preset time interval based on the start of the first cycle of the cycle control signal, if the cycle The control signal has not changed state since the first cycle, and the controller starts the second cycle of the cycle control signal in response to the end of the preset time interval. 6. The circuit according to item 5 of the scope of patent application, wherein the preset time interval 20 is about 40 microseconds, and the preset minimum frequency is about 25 kHz. 7. The circuit according to item 5 of the scope of patent application, wherein the preset time interval is about 50 microseconds, and the preset minimum frequency is about 20 kHz. 8. The circuit according to item 1 of the scope of patent application, wherein the timer is connected between an output terminal of the controller for the control signal and the -round 29 200421699 terminal of the controller. 9. The circuit according to item 1 of the scope of patent application, wherein the controller is a controller of a DC / DC converter, wherein the at least one switch includes a high-side switch and a low-side switch 'and the cycle control signal Includes a pulse 5 pulse width modulation signal. 10 · —A switching circuit including: at least one switch; and a controller that controls a state of the at least one switch through a period control signal, the at least one switch responding to the period control signal and The state changes at the beginning of each cycle; the controller has a skip mode, where the controller keeps the at least one switch in the off state; the controller responds to a timer, which is based on the The start of a cycle counts a preset time interval. If the cycle signal has not changed state from the first cycle, the controller responds to the end of the preset time interval and starts the second cycle of the cycle control signal. The preset time interval is set to obtain a preset minimum frequency value of the periodic control signal that is greater than the audible frequency range of the human ear. 11. The circuit as described in item 忉 of the patent application range, wherein the period control signal includes a pulse width modulation signal. 20 12. The circuit according to item 10 of the scope of patent application, wherein the preset time interval is about 40 microseconds, and the preset minimum frequency is about 25 kHz. 13. The circuit according to item 10 of the scope of patent application, wherein the preset time interval is about 50 microseconds, and the preset minimum frequency is about 20 kHz. 14. The circuit as described in item 10 of the scope of patent application, the skip mode becomes invalid based on the termination of the preset time interval of 30 200421699. 15. The circuit of claim 4, wherein the timer is connected between an output terminal of the controller for the cycle control signal and an input terminal of the controller for the skip mode. 5 16. The circuit according to item 10 of the scope of patent application, wherein the timer is an internal component of the controller. 17. A method for keeping the minimum frequency of the switch state switching greater than the audible frequency of the human ear, the method comprising: at the beginning of the first state switching at which the switch changes to the first state, starting 10 for a preset time interval Monitor the state of the switch; and if the switch is still in the first state, change the state of the switch in response to the end of a preset time interval, thereby keeping the minimum frequency of the state switching of the switch greater than the Human ear audible frequency. 15 18. The method according to item 17 of the scope of patent application, wherein the preset time interval is about 40 microseconds, and the preset minimum frequency is about 25 kHz. 19. The method according to item 17 of the scope of patent application, wherein the preset time interval is about 50 microseconds, and the preset minimum frequency is about 20 kHz. 20. The method according to item 17 of the scope of patent application, wherein the period control signal 20 includes a pulse width modulation signal. 21. A DC / DC converter for converting an input voltage into an output voltage, the DC / DC converter comprising: a controller based on a first signal representing the input voltage and a first signal representing the output voltage The difference between the second digits provides a PWM signal in the first state within the first time 31 200421699 interval; a driver circuit that receives at least the PWM signal and generates a switch drive signal; includes a high-side switch and a low A pair of switches of the side switch, the switch 5 is driven to a switch closed state in response to the switch driving signal, wherein when the PWM signal is in the first state, the high-side switch is closed and the low-side switch is opened; An inductor connected to an output of the switch pair, wherein a current level on the inductor increases in a closed state of the switch; and 10 a logic circuit providing a low-side enable signal having an enable and an inactive state, Wherein, when the low-side enable signal is in the enable state, the PWM signal controls the low-side switch; the logic circuit receives a A comparison signal from an overcurrent comparator that provides the 15 comparison signal based on a comparison of the current level flowing through the inductor with a threshold current value, wherein if the current level flowing through the inductor When the value is greater than the threshold current, the logic circuit further provides the low-side enable signal in the enable state. 22. The DC / DC converter according to claim 21, wherein the logic circuit includes a reverse AND gate. 20 23. A method for detecting an input voltage level of a DC / DC converter by using an existing pin connected to a switching node of the DC / DC converter, the method comprising: determining an input voltage source and the switching node; The state of a connected high-side switch; 32 200421699 determines the state of a low-side switch coupled between the ground point and the switching node; and detects the input voltage when the high-side switch is closed and the low-side switch is open . 5 24. The method according to item 23 of the scope of patent application, wherein the determining steps are performed based on a state of a pulse width modulation signal controlling the high-side and low-side switches. 25. A controller for a DC / DC converter, the controller comprising: an input terminal 10 connected to a switching node of the DC / DC converter, when a high-side switch is closed and a low-side switch is opened When the switching node of the DC / DC converter is connected to an input voltage; and an input voltage detection circuit connected to the input pin terminal, the input voltage detection circuit includes: a switching state determination circuit for sensing When the switching node 15 is connected to the input voltage based on the state of the high-side switch and the low-side switch, and provides a determination signal in response to the sensing result; and a voltage detection circuit, the voltage detection circuit responds to The determination signal of the switching node connected to the input voltage is detected to detect a voltage level indicating the input voltage. 20 26. The controller according to item 25 of the scope of patent application, wherein the switching state determination circuit generates the determination signal in response to a state of a pulse width modulation signal controlling the state of the high-side switch and the low-side switch. 27. A two-phase DC / DC controller, comprising: a first phase controller that provides a first PWM signal, the 33 200421699 a PWM signal based on an input voltage representing an input voltage of a DC / DC converter The difference between the first signal and a second signal representing an output voltage of the DC / DC converter is provided; a second phase controller providing a second PWM signal, the fifth second PWM signal is based on the A difference between the first signal of the input voltage of the DC / DC converter and the second signal representing the output voltage of the DC / DC converter; and a selection of the first phase controller and the second Phase selection circuit of the phase controller. 10 28. A controller that provides a control signal that controls the state of at least one switch, the controller comprising: a timer that counts a preset time interval after the at least one switch changes state to a first state; if The at least one switch has been in the first state since the start of the preset time interval, the controller will return to the end of the time interval to switch the state of the at least one switch, where the preset time interval setting enables The minimum frequency of this state switch is greater than the audible frequency of a human ear. 29. The controller of claim 28, wherein the preset time interval is about 40 microseconds, and the preset minimum frequency is about 25 kHz. 20 30. The controller according to item 28 of the scope of patent application, wherein the preset time interval is about 50 microseconds, and the preset minimum frequency is about 20 kHz. 34
TW92133202A 2003-03-14 2003-11-26 Controller for DC to DC converter TWI243977B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US10/389,037 US6965221B2 (en) 2002-11-12 2003-03-14 Controller for DC to DC converter
US10/668,459 US6844710B2 (en) 2002-11-12 2003-09-23 Controller for DC to DC converter

Publications (2)

Publication Number Publication Date
TW200421699A true TW200421699A (en) 2004-10-16
TWI243977B TWI243977B (en) 2005-11-21

Family

ID=37154659

Family Applications (1)

Application Number Title Priority Date Filing Date
TW92133202A TWI243977B (en) 2003-03-14 2003-11-26 Controller for DC to DC converter

Country Status (1)

Country Link
TW (1) TWI243977B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382625B (en) * 2009-07-13 2013-01-11 Asus Technology Pte Ltd Short circuit protecting apparatus and method applied to dc-dc converter with soft-start function
US9467134B2 (en) 2014-05-28 2016-10-11 Nuvoton Technology Corporation Pulse width modulation control unit, voltage regulator and control method thereof

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI382625B (en) * 2009-07-13 2013-01-11 Asus Technology Pte Ltd Short circuit protecting apparatus and method applied to dc-dc converter with soft-start function
US9467134B2 (en) 2014-05-28 2016-10-11 Nuvoton Technology Corporation Pulse width modulation control unit, voltage regulator and control method thereof

Also Published As

Publication number Publication date
TWI243977B (en) 2005-11-21

Similar Documents

Publication Publication Date Title
TWI238588B (en) Controller for DC to DC converter
US8476887B2 (en) DC to DC converter with pseudo constant switching frequency
CN1711670B (en) Controller for DC to DC converter
US7652945B2 (en) Adaptive zero current sense apparatus and method for a switching regulator
US9685868B2 (en) Synchronous rectifier for buck converter without the need for a comparator
US8179105B2 (en) Systems and methods for controlling output currents of power converters
US8080987B1 (en) Method and apparatus for efficient transitioning between different operating modes of a regulator
US9787179B1 (en) Apparatus and methods for control of discontinuous-mode power converters
US10056830B2 (en) Control scheme for DC-DC power converters with ultra-fast dynamic response
US10199919B2 (en) Zero dead time control circuit
US7777469B2 (en) Converter having PWM ramp adjustable in discontinuous mode operation
TWI431906B (en) Dc/dc converter, controller and control method thereof
WO2014043219A2 (en) Dc to dc converter, controller, and control techniques
US20080224681A1 (en) Controller for a DC to DC Converter
CN114981747B (en) Current mode DC-DC converter
US7205751B2 (en) Enable and disable of diode emulation in a DC/DC converter
TWI243977B (en) Controller for DC to DC converter
KR20070081076A (en) System and method for reducing input current of photoflash charger
KR20210103398A (en) Extending on-time for power converter control
CN119787816B (en) Buck converter in COT mode
CN119315811A (en) Feedback current dependent ramp generator for switch mode power supplies
CN111987906A (en) Wide switching frequency range switching mode power supply control topology
HK1066639B (en) Dc/dc converter, controller used for said dc/dc converter, and method for controlling a switch of said dc/dc converter

Legal Events

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