TWM658442U - Power stage circuit - Google Patents

Power stage circuit Download PDF

Info

Publication number
TWM658442U
TWM658442U TW113204322U TW113204322U TWM658442U TW M658442 U TWM658442 U TW M658442U TW 113204322 U TW113204322 U TW 113204322U TW 113204322 U TW113204322 U TW 113204322U TW M658442 U TWM658442 U TW M658442U
Authority
TW
Taiwan
Prior art keywords
signal
circuit
virtual
voltage signal
low
Prior art date
Application number
TW113204322U
Other languages
Chinese (zh)
Inventor
柯柏州
柯聖安
Original Assignee
能創半導體股份有限公司
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 能創半導體股份有限公司 filed Critical 能創半導體股份有限公司
Priority to TW113204322U priority Critical patent/TWM658442U/en
Publication of TWM658442U publication Critical patent/TWM658442U/en

Links

Images

Landscapes

  • Dc-Dc Converters (AREA)

Abstract

A power stage circuit includes a switch circuit, a driving circuit and a current monitor circuit. The driving circuit drives the switch circuit according to a control signal to generate an output current signal. The current monitor circuit includes a current sensing circuit, a virtual current signal generation circuit and a signal combination circuit. The current sensing circuit senses the output current signal to generate a low-side current signal. The virtual current signal generation circuit generates a low-side voltage signal according to the low-side current signal, generates a digital signal, adjusts the digital signal according to a comparison result between the low-side voltage signal and a virtual voltage signal, adjusts the virtual voltage signal according to the digital signal so that the virtual voltage signal approaches the low-side voltage signal, and generates a virtual current signal according to the virtual voltage signal. The signal combination circuit generates a current monitor signal according to the low-side current signal and the virtual current signal.

Description

功率級電路Power stage circuit

本揭示內容係有關於一種功率級電路,特別是指一種適用於電源轉換器電路的功率級電路。The present disclosure relates to a power stage circuit, and more particularly to a power stage circuit suitable for use in a power converter circuit.

於智慧功率級模組的相關應用中,智慧功率級模組常被要求能夠提供與電感電流成比例的電流監測訊號。一些相關技術會在智慧功率級模組中額外添加各式各樣的電子元件來滿足上述要求。然而,上述額外的電子元件導致此些相關技術的成本大幅提高。因此,有必要提出新的電路來解決上述問題。In the related applications of smart power stage modules, the smart power stage modules are often required to provide a current monitoring signal proportional to the inductor current. Some related technologies will add various electronic components to the smart power stage modules to meet the above requirements. However, the above additional electronic components cause the cost of these related technologies to increase significantly. Therefore, it is necessary to propose a new circuit to solve the above problem.

本揭示內容的一態樣為一種功率級電路。該功率級電路包含一開關電路、一驅動電路以及一電流監測電路。該開關電路耦接於該功率級電路的一輸出端,用以接收一輸入電壓訊號,並包含一高側開關及一低側開關,其中該輸出端經由一電感元件耦接於一負載端。該驅動電路耦接於該開關電路,並用以依據一控制訊號驅動該開關電路,以在該負載端產生一輸出電壓訊號並經由該電感元件產生一輸出電流訊號。該電流監測電路包含一電流感測電路、一虛擬電流訊號產生電路以及一訊號結合電路。該電流感測電路耦接於該開關電路,並用以在該低側開關的每個導通期間感測該輸出電流訊號,以產生一低側電流訊號。該虛擬電流訊號產生電路耦接於該電流感測電路,用以依據該低側電流訊號產生一低側電壓訊號,用以產生一數位訊號,用以在一第一模式或一第二模式下依據該低側電壓訊號與一虛擬電壓訊號之間的比較結果調整該數位訊號,用以依據該數位訊號調整該虛擬電壓訊號,使該虛擬電壓訊號接近該低側電壓訊號,並用以依據該虛擬電壓訊號產生一虛擬電流訊號。該訊號結合電路耦接於該電流感測電路與該虛擬電流訊號產生電路,並用以依據該低側電流訊號與該虛擬電流訊號產生一電流監測訊號。於該第一模式下,該虛擬電流訊號產生電路以一第一調整幅度多次調整該數位訊號,且該第一調整幅度隨調整該數位訊號的次數增加而逐漸改變。於該第二模式下,該虛擬電流訊號產生電路以一第二調整幅度多次調整該數位訊號,且該第二調整幅度為一定值。One aspect of the present disclosure is a power stage circuit. The power stage circuit includes a switching circuit, a driving circuit, and a current monitoring circuit. The switching circuit is coupled to an output end of the power stage circuit to receive an input voltage signal, and includes a high-side switch and a low-side switch, wherein the output end is coupled to a load end via an inductor element. The driving circuit is coupled to the switching circuit and is used to drive the switching circuit according to a control signal to generate an output voltage signal at the load end and generate an output current signal via the inductor element. The current monitoring circuit includes an inductive current sensing circuit, a virtual current signal generating circuit, and a signal combining circuit. The current sensing circuit is coupled to the switch circuit and is used to sense the output current signal during each conduction period of the low-side switch to generate a low-side current signal. The virtual current signal generating circuit is coupled to the current flow sensing circuit, and is used to generate a low-side voltage signal according to the low-side current signal, to generate a digital signal, to adjust the digital signal according to a comparison result between the low-side voltage signal and a virtual voltage signal in a first mode or a second mode, to adjust the virtual voltage signal according to the digital signal so that the virtual voltage signal is close to the low-side voltage signal, and to generate a virtual current signal according to the virtual voltage signal. The signal combining circuit is coupled to the current flow sensing circuit and the virtual current signal generating circuit, and is used to generate a current monitoring signal according to the low-side current signal and the virtual current signal. In the first mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a first adjustment amplitude, and the first adjustment amplitude gradually changes as the number of times the digital signal is adjusted increases. In the second mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a second adjustment amplitude, and the second adjustment amplitude is a constant value.

本揭示內容的另一態樣為一種功率級電路,其中該功率級電路包含一開關電路、一驅動電路以及一電流監測電路。該開關電路耦接於該功率級電路的一輸出端,用以接收一輸入電壓訊號,並包含一高側開關及一低側開關,其中該輸出端經由一電感元件耦接於一負載端。該驅動電路耦接於該開關電路,並用以依據一控制訊號驅動該開關電路,以在該負載端產生一輸出電壓訊號並經由該電感元件產生一輸出電流訊號。該電流監測電路包含一電流感測電路、一虛擬電流訊號產生電路以及一訊號結合電路。該電流感測電路耦接於該開關電路,並用以在該低側開關的每個導通期間感測該輸出電流訊號,以產生一低側電流訊號。該虛擬電流訊號產生電路耦接於該電流感測電路,用以依據該低側電流訊號產生一低側電壓訊號,用以產生一數位訊號,用以依據該低側電壓訊號與一虛擬電壓訊號之間的比較結果調整該數位訊號,用以根據該數位訊號調整該虛擬電壓訊號,使該虛擬電壓訊號接近該低側電壓訊號,並用以依據該虛擬電壓訊號產生一虛擬電流訊號。該訊號結合電路耦接於該電流感測電路與該虛擬電流訊號產生電路,並用以依據該低側電流訊號與該虛擬電流訊號產生一電流監測訊號。在一線性模式下,該虛擬電流訊號產生電路用以依據一第一時間,間隔地對該低側電壓訊號與該虛擬電壓訊號進行比較。在該線性模式下,該虛擬電流訊號產生電路依據該低側電壓訊號與該虛擬電壓訊號之間的比較結果,以一第一調整幅度多次調整該數位訊號,且該第一調整幅度為一定值。Another aspect of the present disclosure is a power stage circuit, wherein the power stage circuit includes a switching circuit, a driving circuit, and a current monitoring circuit. The switching circuit is coupled to an output end of the power stage circuit to receive an input voltage signal, and includes a high-side switch and a low-side switch, wherein the output end is coupled to a load end via an inductor element. The driving circuit is coupled to the switching circuit and is used to drive the switching circuit according to a control signal to generate an output voltage signal at the load end and generate an output current signal via the inductor element. The current monitoring circuit includes an inductive current sensing circuit, a virtual current signal generating circuit, and a signal combining circuit. The current sensing circuit is coupled to the switch circuit and is used to sense the output current signal during each conduction period of the low-side switch to generate a low-side current signal. The virtual current signal generating circuit is coupled to the current flow sensing circuit, and is used to generate a low-side voltage signal according to the low-side current signal, to generate a digital signal, to adjust the digital signal according to a comparison result between the low-side voltage signal and a virtual voltage signal, to adjust the virtual voltage signal according to the digital signal so that the virtual voltage signal is close to the low-side voltage signal, and to generate a virtual current signal according to the virtual voltage signal. The signal combining circuit is coupled to the current flow sensing circuit and the virtual current signal generating circuit, and is used to generate a current monitoring signal according to the low-side current signal and the virtual current signal. In a linear mode, the virtual current signal generating circuit is used to compare the low-side voltage signal with the virtual voltage signal at intervals according to a first time. In the linear mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a first adjustment amplitude according to the comparison result between the low-side voltage signal and the virtual voltage signal, and the first adjustment amplitude is a constant value.

綜上,藉由虛擬電流訊號產生電路產生與輸出電流訊號等比例的虛擬電流訊號,本揭示內容的功率級電路可在低側開關的導通期間完成電流感測,並可結合虛擬電流訊號與通過電流感測所取得的低側電流訊號來產生電流監測訊號。此外,本揭示內容的電流監測電路顯著地節省了元件數量,並可以數位方式調整虛擬電壓訊號,藉以校正虛擬電流訊號,並確保虛擬電流訊號的穩定性。因此,本揭示內容的功率級電路及其電流監測電路具有低成本、適用於低工作週期的應用、產生高穩定性及高精確性的電流監測訊號等優勢。In summary, by generating a virtual current signal in proportion to the output current signal through the virtual current signal generating circuit, the power stage circuit of the present disclosure can complete the current flow measurement during the conduction period of the low-side switch, and can combine the virtual current signal with the low-side current signal obtained by the current flow measurement to generate a current monitoring signal. In addition, the current monitoring circuit of the present disclosure significantly saves the number of components, and can digitally adjust the virtual voltage signal to correct the virtual current signal and ensure the stability of the virtual current signal. Therefore, the power stage circuit and current monitoring circuit disclosed in the present invention have the advantages of low cost, suitability for low duty cycle applications, and generation of a current monitoring signal with high stability and high accuracy.

下文係舉實施例配合所附圖式作詳細說明,但所描述的具體實施例僅用以解釋本案,並不用來限定本案,而結構操作之描述非用以限制其執行之順序,任何由元件重新組合之結構,所產生具有均等功效的裝置,皆為本揭示內容所涵蓋的範圍。The following is a detailed description of the embodiments with the accompanying drawings, but the specific embodiments described are only used to explain the present case and are not used to limit the present case. The description of the structural operation is not used to limit the order of its execution. Any structure reassembled by the components to produce a device with equal functions is within the scope of the present disclosure.

在全篇說明書與申請專利範圍所使用之用詞(terms),除有特別註明外,通常具有每個用詞使用在此領域中、在此揭示之內容中與特殊內容中的平常意義。The terms used throughout the specification and application generally have the ordinary meanings of each term used in the art, in the context of this disclosure and in the specific context, unless otherwise specified.

關於本文中所使用之「耦接」或「連接」,均可指二或多個元件相互直接作實體或電性接觸,或是相互間接作實體或電性接觸,亦可指二或多個元件相互操作或動作。As used herein, “coupled” or “connected” may refer to two or more elements being in direct physical or electrical contact with each other, or being in indirect physical or electrical contact with each other, or may refer to two or more elements operating or moving with each other.

請參閱第1圖,第1圖為依據本揭示內容的一些實施例繪示的一功率級電路10及一控制器20的電路方塊圖。於一些實施例中,功率級電路10及控制器20可組成直流/直流轉換器等電源轉換器電路。功率級電路10可經由一電感元件L耦接於一負載端SL,而負載端SL可電性耦接於中央處理器(central processing unit,CPU)等負載裝置(圖中未示)。如此一來,功率級電路10及控制器20所組成的電源轉換器電路可為負載裝置供應電源。Please refer to FIG. 1, which is a circuit block diagram of a power stage circuit 10 and a controller 20 according to some embodiments of the present disclosure. In some embodiments, the power stage circuit 10 and the controller 20 can form a power converter circuit such as a DC/DC converter. The power stage circuit 10 can be coupled to a load terminal SL via an inductor element L, and the load terminal SL can be electrically coupled to a load device such as a central processing unit (CPU) (not shown in the figure). In this way, the power converter circuit composed of the power stage circuit 10 and the controller 20 can supply power to the load device.

於一些實施例中,如第1圖所示,功率級電路10包含一開關電路11、一驅動電路13以及一電流監測電路15。又,開關電路11包含一高側開關Q1以及一低側開關Q2。高側開關Q1耦接於一輸入電壓訊號VIN及功率級電路10的一輸出端SW,而低側開關Q2耦接於輸出端SW及一接地電壓GND。由上述說明可知,於一些實施例中,開關電路11耦接於輸出端SW,並用以接收輸入電壓訊號VIN。此外,輸出端SW經由電感元件L耦接於負載端SL。具體而言,高側開關Q1及低側開關Q2各自可藉由電晶體(例如,金屬氧化物半導體電晶體等)來實現,但本揭示內容不以此為限。In some embodiments, as shown in FIG. 1, the power stage circuit 10 includes a switch circuit 11, a drive circuit 13, and a current monitoring circuit 15. In addition, the switch circuit 11 includes a high-side switch Q1 and a low-side switch Q2. The high-side switch Q1 is coupled to an input voltage signal VIN and an output terminal SW of the power stage circuit 10, and the low-side switch Q2 is coupled to the output terminal SW and a ground voltage GND. As can be seen from the above description, in some embodiments, the switch circuit 11 is coupled to the output terminal SW and is used to receive the input voltage signal VIN. In addition, the output terminal SW is coupled to the load terminal SL via the inductor element L. Specifically, the high-side switch Q1 and the low-side switch Q2 can each be implemented by a transistor (eg, a metal oxide semiconductor transistor, etc.), but the present disclosure is not limited thereto.

於一些實施例中,如第1圖所示,驅動電路13耦接於高側開關Q1、低側開關Q2及控制器20,用以接收控制器20所輸出的一控制訊號PWM,並用以依據控制訊號PWM分別產生一高側驅動訊號GH及一低側驅動訊號GL至高側開關Q1及低側開關Q2。具體而言,控制訊號PWM可為脈波寬度調變(pulse width modulation,PWM)訊號等週期訊號,而驅動電路13可藉由閘極驅動器來實現。也就是說,高側驅動訊號GH及低側驅動訊號GL可分別被輸出至高側開關Q1中電晶體的閘極端及低側開關Q2中電晶體的閘極端。In some embodiments, as shown in FIG. 1 , the driver circuit 13 is coupled to the high-side switch Q1, the low-side switch Q2, and the controller 20, and is used to receive a control signal PWM output by the controller 20, and to generate a high-side drive signal GH and a low-side drive signal GL to the high-side switch Q1 and the low-side switch Q2 respectively according to the control signal PWM. Specifically, the control signal PWM can be a periodic signal such as a pulse width modulation (PWM) signal, and the driver circuit 13 can be implemented by a gate driver. That is, the high-side driving signal GH and the low-side driving signal GL may be output to the gate terminal of the transistor in the high-side switch Q1 and the gate terminal of the transistor in the low-side switch Q2, respectively.

請參閱第2圖,第2圖為與功率級電路10相關的一些訊號的波形圖。於一些實施例中,如第2圖所示,高側驅動訊號GH及低側驅動訊號GL亦均為週期訊號。高側驅動訊號GH與控制訊號PWM彼此實質上同相。舉例來說,當高側驅動訊號GH在一致能位準(例如第2圖所示的高電壓位準)時,控制訊號PWM可能也在致能位準。高側驅動訊號GH與低側驅動訊號GL彼此實質上反相。舉例來說,當高側驅動訊號GH在一禁能位準(例如第2圖所示的低電壓位準)時,低側驅動訊號GL則在致能位準。具體而言,致能位準可為能夠讓高側開關Q1或低側開關Q2導通的電壓位準,而禁能位準可為能夠讓高側開關Q1或低側開關Q2關斷的電壓位準。在此配置下,致能位準的高側驅動訊號GH對應於高側開關Q1的導通期間HON(亦即,低側開關Q2的關斷期間),而致能位準的低側驅動訊號GL對應於低側開關Q2的導通期間LON(亦即,高側開關Q1的關斷期間)。Please refer to FIG. 2, which is a waveform diagram of some signals related to the power stage circuit 10. In some embodiments, as shown in FIG. 2, the high-side drive signal GH and the low-side drive signal GL are also periodic signals. The high-side drive signal GH and the control signal PWM are substantially in phase with each other. For example, when the high-side drive signal GH is at an enable level (such as a high voltage level shown in FIG. 2), the control signal PWM may also be at an enable level. The high-side drive signal GH and the low-side drive signal GL are substantially in opposite phases with each other. For example, when the high-side drive signal GH is at a disable level (such as a low voltage level shown in FIG. 2), the low-side drive signal GL is at an enable level. Specifically, the enable level may be a voltage level that can turn on the high-side switch Q1 or the low-side switch Q2, and the disable level may be a voltage level that can turn off the high-side switch Q1 or the low-side switch Q2. In this configuration, the enable-level high-side drive signal GH corresponds to the on-period HON of the high-side switch Q1 (i.e., the off-period of the low-side switch Q2), and the enable-level low-side drive signal GL corresponds to the on-period LON of the low-side switch Q2 (i.e., the off-period of the high-side switch Q1).

由上述說明可知,通過第2圖中高側驅動訊號GH與低側驅動訊號GL,第1圖中的高側開關Q1及低側開關Q2將交替地導通,使得一方波電壓訊號(圖中未示)在輸出端SW產生。應當理解,此方波電壓訊號的電壓位準將在輸入電壓訊號VIN的電壓位準及接地電壓GND的電壓位準之間切換。From the above description, it can be seen that through the high-side drive signal GH and the low-side drive signal GL in Figure 2, the high-side switch Q1 and the low-side switch Q2 in Figure 1 will be turned on alternately, so that a square wave voltage signal (not shown in the figure) is generated at the output terminal SW. It should be understood that the voltage level of this square wave voltage signal will switch between the voltage level of the input voltage signal VIN and the voltage level of the ground voltage GND.

於第1圖的實施例中,一電容元件COUT耦接於負載端SL及接地電壓GND之間,以和電感元件L組成一種電路(例如:低通濾波器電路)。此電路用以處理前述方波電壓訊號,以在負載端SL產生一輸出電壓訊號VOUT。應當理解,前述電源轉換器電路可通過輸出電壓訊號VOUT為負載裝置供應電源。In the embodiment of FIG. 1 , a capacitor element COUT is coupled between the load terminal SL and the ground voltage GND to form a circuit (e.g., a low-pass filter circuit) with the inductor element L. This circuit is used to process the aforementioned square wave voltage signal to generate an output voltage signal VOUT at the load terminal SL. It should be understood that the aforementioned power converter circuit can supply power to the load device through the output voltage signal VOUT.

又如第1圖所示,當電感元件L的兩端分別產生前述方波電壓訊號及輸出電壓訊號VOUT時,一輸出電流訊號IL將產生並流過電感元件L。於一些實施例中,如第2圖所示,輸出電流訊號IL為一種三角波或斜坡(ramp)訊號。As shown in FIG. 1 , when the two ends of the inductor L generate the aforementioned square wave voltage signal and the output voltage signal VOUT respectively, an output current signal IL is generated and flows through the inductor L. In some embodiments, as shown in FIG. 2 , the output current signal IL is a triangle wave or ramp signal.

由上述說明可知,於一些實施例中,驅動電路13耦接於開關電路11,並用以依據控制訊號PWM驅動開關電路11,以在負載端SL產生輸出電壓訊號VOUT並經由電感元件L產生輸出電流訊號IL。As can be seen from the above description, in some embodiments, the driving circuit 13 is coupled to the switching circuit 11 and is used to drive the switching circuit 11 according to the control signal PWM to generate an output voltage signal VOUT at the load end SL and generate an output current signal IL through the inductor element L.

此外,於第1圖的實施例中,控制器20用以接收及比較輸出電壓訊號VOUT以及一參考電壓訊號VREF,並用以依據輸出電壓訊號VOUT與參考電壓訊號VREF的比較結果調整控制訊號PWM的工作週期(duty ratio),從而改變高側開關Q1的開關頻率及低側開關Q2的開關頻率。In addition, in the embodiment of FIG. 1 , the controller 20 is used to receive and compare an output voltage signal VOUT and a reference voltage signal VREF, and to adjust the duty ratio of the control signal PWM according to the comparison result between the output voltage signal VOUT and the reference voltage signal VREF, thereby changing the switching frequency of the high-side switch Q1 and the switching frequency of the low-side switch Q2.

於一些實施例中,電流監測電路15包含一電流感測電路151、一虛擬電流訊號產生電路153以及一訊號結合電路155。又如第1圖所示,電流感測電路151耦接於耦接於開關電路11,例如耦接於輸出端SW與低側開關Q2之間。虛擬電流訊號產生電路153耦接於電流感測電路151。訊號結合電路155耦接於電流感測電路151與虛擬電流訊號產生電路153。In some embodiments, the current monitoring circuit 15 includes a current flow detection circuit 151, a virtual current signal generating circuit 153, and a signal combining circuit 155. As shown in FIG. 1, the current flow detection circuit 151 is coupled to the switch circuit 11, for example, between the output terminal SW and the low-side switch Q2. The virtual current signal generating circuit 153 is coupled to the current flow detection circuit 151. The signal combining circuit 155 is coupled to the current flow detection circuit 151 and the virtual current signal generating circuit 153.

於一些實施例中,電流感測電路151用以在低側開關Q2的每個導通期間LON感測輸出電流訊號IL(亦即,感測流過低側開關Q2的電流訊號),以產生一低側電流訊號ILS。於一些進一步實施例中,如第2圖所示,電流感測電路151在低側開關Q2的每個導通期間LON中的一第一期間P1未感測輸出電流訊號IL,並在低側開關Q2的每個導通期間LON中的一第二期間P2才感測輸出電流訊號IL,從而產生低側電流訊號ILS。由上述說明可知,低側電流訊號ILS實質上與在每個第二期間P2的輸出電流訊號IL相同。In some embodiments, the current flow sensing circuit 151 is used to sense the output current signal IL (i.e., sense the current signal flowing through the low-side switch Q2) during each conduction period LON of the low-side switch Q2 to generate a low-side current signal ILS. In some further embodiments, as shown in FIG. 2, the current flow sensing circuit 151 does not sense the output current signal IL during a first period P1 in each conduction period LON of the low-side switch Q2, and senses the output current signal IL during a second period P2 in each conduction period LON of the low-side switch Q2, thereby generating the low-side current signal ILS. As can be seen from the above description, the low-side current signal ILS is substantially the same as the output current signal IL during each second period P2.

於一些實施例中,虛擬電流訊號產生電路153用以接收低側電流訊號ILS,用以依據低側電流訊號ILS產生一低側電壓訊號VLS(未示於第1及2圖中),用以依據低側電壓訊號VLS與一虛擬電壓訊號VVR(未示於第1及2圖中)的比較結果調整虛擬電壓訊號VVR,使虛擬電壓訊號VVR接近低側電壓訊號VLS,並用以依據虛擬電壓訊號VVR產生一虛擬電流訊號IVR。透過對虛擬電壓訊號VVR進行調整,則可對虛擬電流訊號IVR進行校正,使虛擬電流訊號IVR實質上接近或等同於輸出電流訊號IL。低側電壓訊號VLS、虛擬電壓訊號VVR及虛擬電流訊號IVR的產生將於之後搭配第3至6圖進一步詳細說明。值得注意的是,如第2圖所示,依據接近低側電壓訊號VLS的虛擬電壓訊號VVR所產生的虛擬電流訊號IVR實質上與輸出電流訊號IL相同。In some embodiments, the virtual current signal generating circuit 153 is used to receive the low-side current signal ILS, to generate a low-side voltage signal VLS (not shown in FIGS. 1 and 2 ) based on the low-side current signal ILS, to adjust the virtual voltage signal VVR based on a comparison result of the low-side voltage signal VLS with a virtual voltage signal VVR (not shown in FIGS. 1 and 2 ) to make the virtual voltage signal VVR close to the low-side voltage signal VLS, and to generate a virtual current signal IVR based on the virtual voltage signal VVR. By adjusting the virtual voltage signal VVR, the virtual current signal IVR can be corrected so that the virtual current signal IVR is substantially close to or equal to the output current signal IL. The generation of the low-side voltage signal VLS, the virtual voltage signal VVR, and the virtual current signal IVR will be further described in detail later with reference to Figures 3 to 6. It is worth noting that, as shown in Figure 2, the virtual current signal IVR generated by the virtual voltage signal VVR close to the low-side voltage signal VLS is substantially the same as the output current signal IL.

於一些實施例中,訊號結合電路155用以接收低側電流訊號ILS與虛擬電流訊號IVR,並用以依據低側電流訊號ILS與虛擬電流訊號IVR產生一電流監測訊號IMON。舉例來說,如第2圖所示,訊號結合電路155結合對應於高側開關Q1的每個導通期間HON及低側開關Q2的每個導通期間LON中之第一期間P1的虛擬電流訊號IVR與對應於低側開關Q2的每個導通期間LON中之第二期間P2的低側電流訊號ILS,以產生電流監測訊號IMON。In some embodiments, the signal combining circuit 155 is used to receive the low-side current signal ILS and the virtual current signal IVR, and to generate a current monitoring signal IMON according to the low-side current signal ILS and the virtual current signal IVR. For example, as shown in FIG. 2 , the signal combining circuit 155 combines the virtual current signal IVR corresponding to the first period P1 of each conduction period HON of the high-side switch Q1 and each conduction period LON of the low-side switch Q2 with the low-side current signal ILS corresponding to the second period P2 of each conduction period LON of the low-side switch Q2 to generate the current monitoring signal IMON.

於上述實施例中,電流感測電路151在低側開關Q2的每個導通期間LON中之第二期間P2才進行電流感測主要有兩個原因。第一個原因是高側開關Q1的導通期間HON太短,以致於在一些實務應用中(例如:低工作週期的應用)無法提供電流感測電路151足夠的時間完成電流感測。相較於高側開關Q1的導通期間HON,低側開關Q2的導通期間LON則能提供電流感測電路151足夠的時間完成電流感測。第二個原因是輸出電流訊號IL可能在低側開關Q2的每個導通期間LON中之第一期間P1尚未穩定,並可能在低側開關Q2的每個導通期間LON中之第二期間P2才變得穩定。藉由讓電流感測電路151在第二期間P2感測穩定的輸出電流訊號IL,更能夠確保低側電流訊號ILS的可靠性。值得注意的是,基於低側電流訊號ILS所產生的虛擬電流訊號IVR與電流監測訊號IMON的精確性也可得到確保。In the above embodiment, there are two main reasons why the current flow detection circuit 151 performs current flow detection only during the second period P2 of each conduction period LON of the low-side switch Q2. The first reason is that the conduction period HON of the high-side switch Q1 is too short, so that in some practical applications (e.g., low duty cycle applications), it is not possible to provide the current flow detection circuit 151 with sufficient time to complete the current flow detection. Compared with the conduction period HON of the high-side switch Q1, the conduction period LON of the low-side switch Q2 can provide the current flow detection circuit 151 with sufficient time to complete the current flow detection. The second reason is that the output current signal IL may not be stable during the first period P1 of each conduction period LON of the low-side switch Q2, and may become stable during the second period P2 of each conduction period LON of the low-side switch Q2. By allowing the current sensing circuit 151 to sense the stable output current signal IL during the second period P2, the reliability of the low-side current signal ILS can be further ensured. It is worth noting that the accuracy of the virtual current signal IVR and the current monitoring signal IMON generated based on the low-side current signal ILS can also be ensured.

接著搭配第3圖說明虛擬電流訊號產生電路153的電路架構。請參閱第3圖,第3圖為依據本揭示內容的一些實施例繪示的虛擬電流訊號產生電路153的電路示意圖。於一些實施例中,虛擬電流訊號產生電路153包含一電流轉電壓電路31、一比較電路33、一數位電路35以及一訊號轉換電路37。Next, the circuit structure of the virtual current signal generating circuit 153 is described with reference to FIG. 3. Please refer to FIG. 3, which is a circuit diagram of the virtual current signal generating circuit 153 according to some embodiments of the present disclosure. In some embodiments, the virtual current signal generating circuit 153 includes a current-to-voltage conversion circuit 31, a comparison circuit 33, a digital circuit 35, and a signal conversion circuit 37.

於一些實施例中,電流轉電壓電路31耦接於第1圖中的電流感測電路151,以接收低側電流訊號ILS。電流轉電壓電路31還用以轉換低側電流訊號ILS為低側電壓訊號VLS。如第3圖所示,電流轉電壓電路31可藉由一電阻元件R1來實現。具體而言,電阻元件R1的一端可耦接於接地電壓GND,而電阻元件R1的另一端可供低側電流訊號ILS流入。也就是說,低側電流訊號ILS可流過電阻元件R1,並流入接地電壓GND,從而使得低側電壓訊號VLS在電阻元件R1的另一端產生。In some embodiments, the current-to-voltage conversion circuit 31 is coupled to the current sensing circuit 151 in FIG. 1 to receive the low-side current signal ILS. The current-to-voltage conversion circuit 31 is also used to convert the low-side current signal ILS into a low-side voltage signal VLS. As shown in FIG. 3, the current-to-voltage conversion circuit 31 can be implemented by a resistor element R1. Specifically, one end of the resistor element R1 can be coupled to the ground voltage GND, and the other end of the resistor element R1 can be used for the low-side current signal ILS to flow into. In other words, the low-side current signal ILS can flow through the resistor element R1 and flow into the ground voltage GND, thereby generating a low-side voltage signal VLS at the other end of the resistor element R1.

於一些實施例中,比較電路33耦接於電流轉電壓電路31、數位電路35及訊號轉換電路37,並用以將低側電壓訊號VLS與虛擬電壓訊號VVR相比較。具體而言,比較電路33的一第一輸入端(例如:非反相輸入端)耦接於前述電阻元件R1的另一端,以接收低側電壓訊號VLS。比較電路33的一第二輸入端(例如:反相輸入端)耦接於訊號轉換電路37,以接收虛擬電壓訊號VVR。比較電路33的一輸出端耦接於數位電路35,以將低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果提供至數位電路35。In some embodiments, the comparison circuit 33 is coupled to the current-to-voltage circuit 31, the digital circuit 35, and the signal conversion circuit 37, and is used to compare the low-side voltage signal VLS with the virtual voltage signal VVR. Specifically, a first input terminal (e.g., non-inverting input terminal) of the comparison circuit 33 is coupled to the other end of the aforementioned resistor element R1 to receive the low-side voltage signal VLS. A second input terminal (e.g., inverting input terminal) of the comparison circuit 33 is coupled to the signal conversion circuit 37 to receive the virtual voltage signal VVR. An output terminal of the comparison circuit 33 is coupled to the digital circuit 35 to provide the comparison result between the low-side voltage signal VLS and the virtual voltage signal VVR to the digital circuit 35 .

於一些實施例中,數位電路35耦接於比較電路33及訊號轉換電路37,並用以產生一數位訊號DOUT至訊號轉換電路37。如第3圖所示,數位訊號DOUT可為N位元的訊號。於一些進一步實施例中,數位電路35包含一時脈控制電路351以及一數位控制電路353,而數位控制電路353包含一抽樣與保持電路531以及一邏輯控制電路533。時脈控制電路351耦接於抽樣與保持電路531及邏輯控制電路533。抽樣與保持電路531還耦接於比較電路33與邏輯控制電路533,而邏輯控制電路533還耦接於訊號轉換電路37。In some embodiments, the digital circuit 35 is coupled to the comparison circuit 33 and the signal conversion circuit 37, and is used to generate a digital signal DOUT to the signal conversion circuit 37. As shown in FIG. 3, the digital signal DOUT can be an N-bit signal. In some further embodiments, the digital circuit 35 includes a clock control circuit 351 and a digital control circuit 353, and the digital control circuit 353 includes a sampling and holding circuit 531 and a logic control circuit 533. The clock control circuit 351 is coupled to the sampling and holding circuit 531 and the logic control circuit 533. The sampling and holding circuit 531 is also coupled to the comparison circuit 33 and the logic control circuit 533, and the logic control circuit 533 is also coupled to the signal conversion circuit 37.

承接上述實施例的說明,時脈控制電路351用以接收控制訊號PWM、一上電復位電壓訊號POR以及一重載入訊號RL,並用以依據控制訊號PWM、上電復位電壓訊號POR及重載入訊號RL號產生一時脈訊號CLK、一閂鎖訊號LATCH、一二進制模式訊號MBIN以及一線性模式訊號MLIN。又,數位控制電路353用以接收時脈訊號CLK、閂鎖訊號LATCH、二進制模式訊號MBIN、線性模式訊號MLIN及低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果,以調整並輸出數位訊號DOUT,此將於之後搭配第4至6圖詳細說明。Following the description of the above embodiment, the clock control circuit 351 is used to receive the control signal PWM, a power-on reset voltage signal POR and a reload signal RL, and to generate a clock signal CLK, a latch signal LATCH, a binary mode signal MBIN and a linear mode signal MLIN according to the control signal PWM, the power-on reset voltage signal POR and the reload signal RL. In addition, the digital control circuit 353 is used to receive the clock signal CLK, the latch signal LATCH, the binary mode signal MBIN, the linear mode signal MLIN and the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR to adjust and output the digital signal DOUT, which will be described in detail with reference to FIGS. 4 to 6 later.

於一些實施例中,訊號轉換電路37耦接於數位電路35及比較電路33,用以接收數位訊號DOUT、輸入電壓訊號VIN及輸出電壓訊號VOUT,並用以依據數位訊號DOUT、輸入電壓訊號VIN及輸出電壓訊號VOUT產生虛擬電壓訊號VVR,以產生虛擬電流訊號IVR。In some embodiments, the signal conversion circuit 37 is coupled to the digital circuit 35 and the comparison circuit 33 to receive the digital signal DOUT, the input voltage signal VIN and the output voltage signal VOUT, and to generate a virtual voltage signal VVR according to the digital signal DOUT, the input voltage signal VIN and the output voltage signal VOUT to generate a virtual current signal IVR.

於一些進一步實施例中,如第3圖所示,訊號轉換電路37包含一虛擬電壓訊號產生電路371、一電壓轉電流電路373以及一電容元件C37。虛擬電壓訊號產生電路371包含一第一數位類比轉換電路DAC1、一第二數位類比轉換電路DAC2一第一開關S1以及一第二開關S2。第一數位類比轉換電路DAC1及第二數位類比轉換電路DAC2可分別通過第一開關S1及第二開關S2耦接於虛擬電壓訊號產生電路371的一輸出端N1。虛擬電壓訊號產生電路371經由輸出端N1耦接於比較電路33的第二輸入端、電壓轉電流電路373的一輸入端及電容元件C37的一端。電容元件C37的另一端耦接於接地電壓GND,而電壓轉電流電路373的一輸出端耦接於第1圖中的訊號結合電路155。然而,本揭示內容並不限於此。舉例來說,於一些實施例中,電容元件C37可包含在虛擬電壓訊號產生電路371內。In some further embodiments, as shown in FIG. 3 , the signal conversion circuit 37 includes a virtual voltage signal generating circuit 371, a voltage-to-current circuit 373, and a capacitor element C37. The virtual voltage signal generating circuit 371 includes a first digital-to-analog conversion circuit DAC1, a second digital-to-analog conversion circuit DAC2, a first switch S1, and a second switch S2. The first digital-to-analog conversion circuit DAC1 and the second digital-to-analog conversion circuit DAC2 can be coupled to an output terminal N1 of the virtual voltage signal generating circuit 371 through the first switch S1 and the second switch S2, respectively. The virtual voltage signal generating circuit 371 is coupled to the second input terminal of the comparison circuit 33, an input terminal of the voltage-to-current circuit 373, and one terminal of the capacitor C37 via the output terminal N1. The other terminal of the capacitor C37 is coupled to the ground voltage GND, and an output terminal of the voltage-to-current circuit 373 is coupled to the signal combining circuit 155 in FIG. 1. However, the present disclosure is not limited thereto. For example, in some embodiments, the capacitor C37 may be included in the virtual voltage signal generating circuit 371.

承接上述實施例的說明,第一數位類比轉換電路DAC1用以接收數位訊號DOUT、輸入電壓訊號VIN及輸出電壓訊號VOUT,並用以依據數位訊號DOUT對輸入電壓訊號VIN減去輸出電壓訊號VOUT進行電壓至電流轉換來產生一第一電流訊號SA。具體而言,第一電流訊號SA可為輸入電壓訊號VIN減去輸出電壓訊號VOUT後再乘上一第一參數。第二數位類比轉換電路DAC2用以接收數位訊號DOUT及輸出電壓訊號VOUT,並用以依據數位訊號DOUT對輸出電壓訊號VOUT的負數進行電壓至電流轉換來產生一第二電流訊號SB。具體而言,第二電流訊號SB可為輸出電壓訊號VOUT的負數乘上一第二參數。Following the description of the above embodiment, the first digital-to-analog conversion circuit DAC1 is used to receive the digital signal DOUT, the input voltage signal VIN and the output voltage signal VOUT, and to perform voltage-to-current conversion on the input voltage signal VIN minus the output voltage signal VOUT according to the digital signal DOUT to generate a first current signal SA. Specifically, the first current signal SA can be the input voltage signal VIN minus the output voltage signal VOUT multiplied by a first parameter. The second digital-to-analog conversion circuit DAC2 is used to receive the digital signal DOUT and the output voltage signal VOUT, and to perform voltage-to-current conversion on the negative number of the output voltage signal VOUT according to the digital signal DOUT to generate a second current signal SB. Specifically, the second current signal SB may be a negative of the output voltage signal VOUT multiplied by a second parameter.

於上述實施例中,第一數位類比轉換電路DAC1及第二數位類比轉換電路DAC2各自可藉由轉導放大器來實現,其中數位訊號DOUT用以調整所述轉導放大器的增益,以控制所述第一參數及所述第二參數。然而,本揭示內容並不限於此。於一些實施例中,第一數位類比轉換電路DAC1及第二數位類比轉換電路DAC2各自可使用由電流源、電阻器及緩衝器所組成的電路來實現,其中數位訊號DOUT用以調整所述電阻器的阻值,以控制所述第一參數及所述第二參數。In the above-mentioned embodiments, the first digital-to-analog conversion circuit DAC1 and the second digital-to-analog conversion circuit DAC2 can each be implemented by a transconductance amplifier, wherein the digital signal DOUT is used to adjust the gain of the transconductance amplifier to control the first parameter and the second parameter. However, the present disclosure is not limited thereto. In some embodiments, the first digital-to-analog conversion circuit DAC1 and the second digital-to-analog conversion circuit DAC2 can each be implemented using a circuit composed of a current source, a resistor and a buffer, wherein the digital signal DOUT is used to adjust the resistance value of the resistor to control the first parameter and the second parameter.

請一併參閱第2及3圖,於一些實施例中,第一開關S1在高側驅動訊號GH為致能位準時切換為導通狀態,而第二開關S2則在低側驅動訊號GL為致能位準時切換為導通狀態。也就是說,第一開關S1及第二開關S2將交替地切換為導通狀態。在此配置下,電容元件C37可在第一開關S1為導通狀態時由第一數位類比轉換電路DAC1所產生的第一電流訊號SA充電,並可在第二開關S2為導通狀態時由第二數位類比轉換電路DAC2所產生的第二電流訊號SB充電,進而使得虛擬電壓訊號VVR在輸出端N1產生。Please refer to FIGS. 2 and 3 together. In some embodiments, the first switch S1 is switched to the on state when the high-side driving signal GH is at the enable level, and the second switch S2 is switched to the on state when the low-side driving signal GL is at the enable level. In other words, the first switch S1 and the second switch S2 are switched to the on state alternately. Under this configuration, the capacitor element C37 can be charged by the first current signal SA generated by the first digital-to-analog conversion circuit DAC1 when the first switch S1 is at the on state, and can be charged by the second current signal SB generated by the second digital-to-analog conversion circuit DAC2 when the second switch S2 is at the on state, thereby generating a virtual voltage signal VVR at the output terminal N1.

由上述說明可知,於一些實施例中,虛擬電壓訊號產生電路371用以在高側開關Q1的每個導通期間HON依據數位訊號DOUT轉換輸入電壓訊號VIN減去輸出電壓訊號VOUT為第一電流訊號SA,並用以在低側開關Q2的每個導通期間LON依據數位訊號DOUT轉換輸出電壓訊號VOUT的負數為第二電流訊號SB,以產生虛擬電壓訊號VVR。As can be seen from the above description, in some embodiments, the virtual voltage signal generating circuit 371 is used to convert the input voltage signal VIN minus the output voltage signal VOUT into the first current signal SA according to the digital signal DOUT during each conduction period HON of the high-side switch Q1, and is used to convert the negative of the output voltage signal VOUT into the second current signal SB according to the digital signal DOUT during each conduction period LON of the low-side switch Q2 to generate the virtual voltage signal VVR.

於一些實施例中,電壓轉電流電路373用以轉換虛擬電壓訊號VVR為虛擬電流訊號IVR。舉例來說,電壓轉電流電路373可藉由電阻器及電流鏡來實現。所述電阻器可耦接於輸出端N1及接地電壓GND之間,以產生流過所述電阻器的電流訊號。又,所述電流鏡可藉由複製所述電流訊號來產生虛擬電流訊號IVR。In some embodiments, the voltage-to-current circuit 373 is used to convert the virtual voltage signal VVR into a virtual current signal IVR. For example, the voltage-to-current circuit 373 can be implemented by a resistor and a current mirror. The resistor can be coupled between the output terminal N1 and the ground voltage GND to generate a current signal flowing through the resistor. In addition, the current mirror can generate the virtual current signal IVR by replicating the current signal.

請參閱第4圖,第4圖為依據本揭示內容的一些實施例繪示的可由數位電路35執行的數位訊號DOUT的一調整方法400的流程圖。於一些實施例中,如第4圖所示,調整方法400包含多個操作S401~S410。接著將搭配第5及6圖詳細說明調整方法400。第5圖為依據本揭示內容的一些實施例繪示的與虛擬電流訊號產生電路153相關的一些訊號在一二進制模式下的時序圖。第6圖為依據本揭示內容的一些實施例繪示的與虛擬電流訊號產生電路153相關的一些訊號在一線性模式下的時序圖。Please refer to FIG. 4, which is a flow chart of a method 400 for adjusting a digital signal DOUT that can be executed by a digital circuit 35 according to some embodiments of the present disclosure. In some embodiments, as shown in FIG. 4, the adjustment method 400 includes a plurality of operations S401-S410. The adjustment method 400 will be described in detail with reference to FIGS. 5 and 6. FIG. 5 is a timing diagram of some signals related to a virtual current signal generating circuit 153 in a binary mode according to some embodiments of the present disclosure. FIG. 6 is a timing diagram of some signals related to a virtual current signal generating circuit 153 in a linear mode according to some embodiments of the present disclosure.

於一些實施例中,數位電路35在功率級電路10開啟之後才執行調整方法400。具體而言,在功率級電路10開啟之後,上電復位電壓訊號POR從禁能位準切換為致能位準,以觸發時脈控制電路351對應地產生時脈訊號CLK、閂鎖訊號LATCH、二進制模式訊號MBIN及線性模式訊號MLIN。In some embodiments, the digital circuit 35 performs the adjustment method 400 after the power stage circuit 10 is turned on. Specifically, after the power stage circuit 10 is turned on, the power-on reset voltage signal POR switches from a disable level to an enable level to trigger the clock control circuit 351 to correspondingly generate the clock signal CLK, the latch signal LATCH, the binary mode signal MBIN, and the linear mode signal MLIN.

舉例來說,如第4圖所示,時脈控制電路351可將二進制模式訊號MBIN及線性模式訊號MLIN分別切換為致能位準及禁能位準。時脈控制電路351可對控制訊號PWM進行反相,並對反相的控制訊號PWM進行一次延遲操作,來產生如第5圖所示的時脈訊號CLK。又,時脈控制電路351可對反相的控制訊號PWM進行二次延遲操作,來產生如第5圖所示的閂鎖訊號LATCH。據此,操作S401執行。For example, as shown in FIG. 4, the clock control circuit 351 can switch the binary mode signal MBIN and the linear mode signal MLIN to an enable level and a disable level, respectively. The clock control circuit 351 can invert the control signal PWM and perform a delay operation on the inverted control signal PWM to generate the clock signal CLK as shown in FIG. 5. Furthermore, the clock control circuit 351 can perform a second delay operation on the inverted control signal PWM to generate the latch signal LATCH as shown in FIG. 5. Accordingly, operation S401 is performed.

於操作S401,數位電路35依據二進制模式訊號MBIN及線性模式訊號MLIN,在兩個不同模式之間切換操作,即是在二進制模式或線性模式下操作。舉例來說,如第5圖所示,數位電路35中的數位控制電路353依據致能位準的二進制模式訊號MBIN及禁能位準的線性模式訊號MLIN控制虛擬電流訊號產生電路153在二進制模式下操作。於一些實施例中,二進制模式被指稱為第一模式,線性模式被指稱為第二模式,且第一模式不同於第二模式。二進制模式訊號MBIN被指稱為第一模式訊號,而線性模式訊號MLIN被指稱為第二模式訊號。In operation S401, the digital circuit 35 switches between two different modes according to the binary mode signal MBIN and the linear mode signal MLIN, that is, operates in the binary mode or the linear mode. For example, as shown in FIG. 5, the digital control circuit 353 in the digital circuit 35 controls the virtual current signal generating circuit 153 to operate in the binary mode according to the binary mode signal MBIN of the enable level and the linear mode signal MLIN of the disable level. In some embodiments, the binary mode is referred to as the first mode, the linear mode is referred to as the second mode, and the first mode is different from the second mode. The binary mode signal MBIN is referred to as the first mode signal, and the linear mode signal MLIN is referred to as the second mode signal.

於一些實施例中,第3圖中的比較電路33在二進制模式下,對低側電壓訊號VLS與虛擬電壓訊號VVR進行N次比較。於第5圖的實施例中,數位訊號DOUT為8位元的訊號,亦即,N為8。換句話說,數位訊號DOUT包含8個位元DOUT[0]~DOUT[7]。此外,第5圖中的多個時間點T1~T8分別表示8次比較的執行時間。在N次比較進行之前,操作S402執行。In some embodiments, the comparison circuit 33 in FIG. 3 compares the low-side voltage signal VLS with the virtual voltage signal VVR N times in binary mode. In the embodiment of FIG. 5 , the digital signal DOUT is an 8-bit signal, that is, N is 8. In other words, the digital signal DOUT includes 8 bits DOUT[0]~DOUT[7]. In addition, the multiple time points T1~T8 in FIG. 5 respectively represent the execution time of 8 comparisons. Before the N comparisons are performed, operation S402 is performed.

於操作S402,邏輯控制電路533將數位訊號DOUT的多個位元中的每一者設定為“0”。於數位訊號DOUT為8位元的訊號的實施例中,數位訊號DOUT將被設定為“00000000”。In operation S402, the logic control circuit 533 sets each of the bits of the digital signal DOUT to "0". In an embodiment where the digital signal DOUT is an 8-bit signal, the digital signal DOUT will be set to "00000000".

於操作S403,在進行第i次比較之前,邏輯控制電路533將數位訊號DOUT的多個位元中與第i次比較相對應的位元的位元值設定為“1”,以產生用於第i次比較的虛擬電壓訊號VVR。應當理解,對應於第5圖的實施例,i可為1到8中任一整數。In operation S403, before performing the i-th comparison, the logic control circuit 533 sets the bit value of the bit corresponding to the i-th comparison among the multiple bits of the digital signal DOUT to "1" to generate a virtual voltage signal VVR for the i-th comparison. It should be understood that, corresponding to the embodiment of FIG. 5, i can be any integer from 1 to 8.

舉例來說,在第1次比較(對應於第5圖中的一時間點T1)之前,數位訊號DOUT的第一個位元DOUT[7](例如:最高位元)的位元值被設定或切換為“1”。此時,數位訊號DOUT為“10000000”。如第3圖實施例的說明,虛擬電壓訊號產生電路371接著依據此數位訊號DOUT、輸入電壓訊號VIN及輸出電壓訊號VOUT進行電壓至電流轉換,以輸出用於第1次比較的虛擬電壓訊號VVR。For example, before the first comparison (corresponding to a time point T1 in FIG. 5 ), the bit value of the first bit DOUT[7] (e.g., the highest bit) of the digital signal DOUT is set or switched to “1”. At this time, the digital signal DOUT is “10000000”. As described in the embodiment of FIG. 3 , the virtual voltage signal generating circuit 371 then performs voltage-to-current conversion based on the digital signal DOUT, the input voltage signal VIN, and the output voltage signal VOUT to output the virtual voltage signal VVR for the first comparison.

於操作S404,數位控制電路353取得低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果。於一些實施例中,如第3圖所示,抽樣與保持電路531經時脈訊號CLK的其中一個脈衝CP1的上升緣(對應於時間點T1)觸發而對低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果進行抽樣與保持,並將表示低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果的一比較訊號CMP輸出至邏輯控制電路533。如第5圖所示,禁能位準的比較訊號CMP表示虛擬電壓訊號VVR的電壓位準大於低側電壓訊號VLS的電壓位準。在此情況下,操作S406執行。In operation S404, the digital control circuit 353 obtains the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR. In some embodiments, as shown in FIG. 3, the sampling and holding circuit 531 is triggered by the rising edge of one of the pulses CP1 of the clock signal CLK (corresponding to the time point T1) to sample and hold the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR, and outputs a comparison signal CMP representing the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR to the logic control circuit 533. As shown in FIG5 , the disable level comparison signal CMP indicates that the voltage level of the virtual voltage signal VVR is greater than the voltage level of the low-side voltage signal VLS. In this case, operation S406 is performed.

於操作S406,邏輯控制電路533判定數位訊號DOUT的第一個位元(亦即,多個位元中與第1次比較相對應的位元)的位元值為“0”。於一些實施例中,邏輯控制電路533經由閂鎖訊號LATCH中位於時間點T1之後的一個脈衝LP1的上升緣觸發而依據禁能位準的比較訊號CMP設定數位訊號DOUT的第一個位元的位元值為“0”。據此,操作S407執行。In operation S406, the logic control circuit 533 determines that the bit value of the first bit of the digital signal DOUT (i.e., the bit corresponding to the first comparison among the plurality of bits) is "0". In some embodiments, the logic control circuit 533 is triggered by the rising edge of a pulse LP1 located after the time point T1 in the latch signal LATCH and sets the bit value of the first bit of the digital signal DOUT to "0" according to the comparison signal CMP of the disable level. Accordingly, operation S407 is performed.

於操作S407,數位電路35判斷是否已進行N次判斷。舉例來說,數位電路35可通過時脈控制電路351內部的一脈衝計數器(圖中未示)計數控制訊號PWM、時脈訊號CLK或閂鎖訊號LATCH的脈衝的生成數,並可依據所述脈衝的生成數判斷是否已進行N次判斷。在第1次比較後,時脈控制電路351所計數的生成數應為1(亦即,仍不為8),因此操作S403及操作S404再次執行。In operation S407, the digital circuit 35 determines whether N judgments have been made. For example, the digital circuit 35 can count the number of pulses generated by the control signal PWM, the clock signal CLK, or the latch signal LATCH through a pulse counter (not shown) inside the clock control circuit 351, and can determine whether N judgments have been made according to the number of pulses generated. After the first comparison, the number of generated counts by the clock control circuit 351 should be 1 (that is, still not 8), so operations S403 and S404 are executed again.

如第5圖所示,在第2次比較之前,數位訊號DOUT中第二個位元DOUT[6]的位元值被設定或切換為“1”。此時,數位訊號DOUT為“01000000”。應當理解,虛擬電壓訊號產生電路371使用此數位訊號DOUT來輸出用於第2次比較的虛擬電壓訊號VVR。抽樣與保持電路531經時脈訊號CLK的其中一個脈衝CP2的上升緣(對應於時間點T2)觸發而輸出禁能位準的比較訊號CMP至邏輯控制電路533。在此情況下,操作S406再次執行。類似地,邏輯控制電路533判定數位訊號DOUT中第二個位元(亦即,多個位元中與第2次比較相對應的位元)的位元值為“0”,並經由閂鎖訊號LATCH中位於時間點T2之後的一個脈衝LP2的上升緣觸發而依據禁能位準的比較訊號CMP設定數位訊號DOUT中第二個位元的位元值為“0”。據此,操作S407再次執行。應當理解,由於第2次比較後,時脈控制電路351所計數的生成數應為2(亦即,仍不為8),因此操作S403及操作S404再次執行。As shown in FIG. 5 , before the second comparison, the bit value of the second bit DOUT[6] in the digital signal DOUT is set or switched to “1”. At this time, the digital signal DOUT is “01000000”. It should be understood that the virtual voltage signal generating circuit 371 uses this digital signal DOUT to output the virtual voltage signal VVR for the second comparison. The sampling and holding circuit 531 is triggered by the rising edge of one of the pulses CP2 of the clock signal CLK (corresponding to the time point T2) to output the comparison signal CMP of the disable level to the logic control circuit 533. In this case, operation S406 is executed again. Similarly, the logic control circuit 533 determines that the bit value of the second bit in the digital signal DOUT (i.e., the bit corresponding to the second comparison among the multiple bits) is "0", and is triggered by the rising edge of a pulse LP2 located after the time point T2 in the latch signal LATCH, and sets the bit value of the second bit in the digital signal DOUT to "0" according to the comparison signal CMP of the disable level. Accordingly, operation S407 is executed again. It should be understood that since the generated number counted by the clock control circuit 351 after the second comparison should be 2 (i.e., still not 8), operations S403 and S404 are executed again.

又如第5圖所示,在第3次比較之前,數位訊號DOUT中第三個位元DOUT[5]的位元值被設定或切換為“1”。此時,數位訊號DOUT為“00100000”。應當理解,虛擬電壓訊號產生電路371使用此數位訊號DOUT來輸出用於第3次比較的虛擬電壓訊號VVR。抽樣與保持電路531經時脈訊號CLK的其中一個脈衝CP3的上升緣(對應於時間點T3)觸發而輸出致能位準的比較訊號CMP至邏輯控制電路533。如第5圖所示,致能位準的比較訊號CMP表示虛擬電壓訊號VVR的電壓位準小於低側電壓訊號VLS的電壓位準。在此情況下,操作S405執行。As shown in FIG. 5 , before the third comparison, the bit value of the third bit DOUT[5] in the digital signal DOUT is set or switched to “1”. At this time, the digital signal DOUT is “00100000”. It should be understood that the virtual voltage signal generating circuit 371 uses this digital signal DOUT to output the virtual voltage signal VVR for the third comparison. The sampling and holding circuit 531 is triggered by the rising edge of one of the pulses CP3 of the clock signal CLK (corresponding to the time point T3) to output the comparison signal CMP of the enable level to the logic control circuit 533. As shown in FIG5 , the enable level comparison signal CMP indicates that the voltage level of the virtual voltage signal VVR is less than the voltage level of the low-side voltage signal VLS. In this case, operation S405 is performed.

於操作S405,邏輯控制電路533判定數位訊號DOUT的第三個位元(亦即,多個位元中與第3次比較相對應的位元)的位元值為“1”,並經由閂鎖訊號LATCH中位於時間點T3之後的一個脈衝LP3的上升緣觸發而依據致能位準的比較訊號CMP設定數位訊號DOUT的第三個位元的位元值為“1”。據此,操作S407再次執行。類似地,第3次比較後,時脈控制電路351所計數的生成數應為3(亦即,仍不為8),因此操作S403及操作S404再次執行。注意的是,數位訊號DOUT由第2次比較中設定的“00000000”調整為“00100000”。因此可知,調整幅度為“00100000”,以十進制表示為“32”。In operation S405, the logic control circuit 533 determines that the bit value of the third bit of the digital signal DOUT (i.e., the bit corresponding to the third comparison among the multiple bits) is "1", and is triggered by the rising edge of a pulse LP3 located after the time point T3 in the latch signal LATCH, and sets the bit value of the third bit of the digital signal DOUT to "1" according to the comparison signal CMP of the enable level. Accordingly, operation S407 is executed again. Similarly, after the third comparison, the generated number counted by the clock control circuit 351 should be 3 (i.e., still not 8), so operations S403 and S404 are executed again. Note that the digital signal DOUT is adjusted from "00000000" set in the second comparison to "00100000". Therefore, the adjustment amplitude is "00100000", which is "32" in decimal.

第4至8次比較可依據前述第1至3次比較的說明類推,故在此僅簡單說明。於第4次比較中,數位控制電路353於時間點T4取得虛擬電壓訊號VVR(其依據被設定為“00110000”的數位訊號DOUT產生)的電壓位準小於低側電壓訊號VLS的電壓位準的比較結果(對應於操作S403及操作S404),並據以將數位訊號DOUT中第四個位元DOUT[4]的位元值設定或切換為“1”(對應於操作S405)。注意的是,數位訊號DOUT由第3次比較中設定的“00100000”調整為“00110000”。因此可知,調整幅度為“00010000”,以十進制表示為“16”。The 4th to 8th comparisons can be analogized based on the description of the 1st to 3rd comparisons, so they are only briefly described here. In the 4th comparison, the digital control circuit 353 obtains the comparison result that the voltage level of the virtual voltage signal VVR (generated based on the digital signal DOUT set to "00110000") is less than the voltage level of the low-side voltage signal VLS at time point T4 (corresponding to operation S403 and operation S404), and accordingly sets or switches the bit value of the fourth bit DOUT[4] in the digital signal DOUT to "1" (corresponding to operation S405). Note that the digital signal DOUT is adjusted from "00100000" set in the 3rd comparison to "00110000". Therefore, the adjustment amplitude is "00010000", which is "16" in decimal.

於第5次比較中,數位控制電路353於時間點T5取得虛擬電壓訊號VVR(其依據被設定為“00111000”的數位訊號DOUT產生)的電壓位準大於低側電壓訊號VLS的電壓位準的比較結果(對應於操作S403及操作S404),並據以將數位訊號DOUT中第五個位元DOUT[3]的位元值設定或切換為“0”(對應於操作S406)。In the fifth comparison, the digital control circuit 353 obtains at time point T5 that the voltage level of the virtual voltage signal VVR (generated based on the digital signal DOUT set to "00111000") is greater than the voltage level of the low-side voltage signal VLS (corresponding to operation S403 and operation S404), and accordingly sets or switches the bit value of the fifth bit DOUT[3] in the digital signal DOUT to "0" (corresponding to operation S406).

於第6次比較中,數位控制電路353於時間點T6取得虛擬電壓訊號VVR(其依據被設定為“00110100”的數位訊號DOUT產生)的電壓位準小於低側電壓訊號VLS的電壓位準的比較結果(對應於操作S403及操作S404),並據以將數位訊號DOUT中第六個位元DOUT[2]的位元值設定或切換為“1”(對應於操作S405)。注意的是,數位訊號DOUT由第5次比較中設定的“00110000”調整為“00110100”。因此可知,調整幅度為“00000100”,以十進制表示為“4”。In the sixth comparison, the digital control circuit 353 obtains the comparison result that the voltage level of the virtual voltage signal VVR (generated according to the digital signal DOUT set to "00110100") is less than the voltage level of the low-side voltage signal VLS at time point T6 (corresponding to operation S403 and operation S404), and accordingly sets or switches the bit value of the sixth bit DOUT[2] in the digital signal DOUT to "1" (corresponding to operation S405). Note that the digital signal DOUT is adjusted from "00110000" set in the fifth comparison to "00110100". Therefore, it can be seen that the adjustment amplitude is "00000100", which is "4" in decimal.

於第7次比較中,數位控制電路353於時間點T7取得虛擬電壓訊號VVR(其依據被設定為“00110110”的數位訊號DOUT產生的)的電壓位準大於低側電壓訊號VLS的電壓位準的比較結果(對應於操作S403及操作S404),並據以將數位訊號DOUT中第七個位元DOUT[1]的位元值設定或切換為“0”(對應於操作S406)。In the 7th comparison, the digital control circuit 353 obtains the comparison result that the voltage level of the virtual voltage signal VVR (generated according to the digital signal DOUT set to "00110110") is greater than the voltage level of the low-side voltage signal VLS at time point T7 (corresponding to operation S403 and operation S404), and accordingly sets or switches the bit value of the seventh bit DOUT[1] in the digital signal DOUT to "0" (corresponding to operation S406).

於第8次比較中,數位控制電路353於時間點T8取得虛擬電壓訊號VVR(其是依據被設定為“00110101”的數位訊號DOUT產生的)的電壓位準小於低側電壓訊號VLS的電壓位準的比較結果(對應於操作S403及操作S404),並據以將數位訊號DOUT中第八個位元DOUT[0]的位元值設定或切換為“1”(對應於操作S405)。因此數位訊號DOUT最終設定為“00110101”。注意的是,數位訊號DOUT由第7次比較中設定的“00110100”調整為“00110101”。因此可知,調整幅度為“00000001”,以十進制表示為“1”。In the 8th comparison, the digital control circuit 353 obtains the comparison result that the voltage level of the virtual voltage signal VVR (generated according to the digital signal DOUT set to "00110101") is less than the voltage level of the low-side voltage signal VLS at time point T8 (corresponding to operation S403 and operation S404), and accordingly sets or switches the bit value of the eighth bit DOUT[0] in the digital signal DOUT to "1" (corresponding to operation S405). Therefore, the digital signal DOUT is finally set to "00110101". It is noted that the digital signal DOUT is adjusted from "00110100" set in the 7th comparison to "00110101". Therefore, the adjustment amplitude is "00000001", which is "1" in decimal.

根據上述可知,在二進制模式下,數位訊號DOUT共被調整4次,且數位訊號DOUT的調整幅度為一非定值。舉例來說,隨著調整數位訊號DOUT的次數增加,調整幅度由“32”改變為“16”,由“16”改變為“4”,再由“4”改變為“1”,即是調整幅度逐漸減少。From the above, we can know that in binary mode, the digital signal DOUT is adjusted 4 times in total, and the adjustment amplitude of the digital signal DOUT is a non-constant value. For example, as the number of times the digital signal DOUT is adjusted increases, the adjustment amplitude changes from "32" to "16", from "16" to "4", and then from "4" to "1", that is, the adjustment amplitude gradually decreases.

根據本案的實施例,數位電路35於二進制模式下對數位訊號DOUT的數值進行調整或逼近時所採用的調整幅度,是隨著調整數位訊號DOUT的次數增加而逐漸改變。詳細來說,於二進制模式下,數位電路35對數位訊號DOUT進行調整或逼近時所採用的調整幅度可隨著調整數位訊號DOUT的次數增加而逐漸減少。According to the embodiment of the present case, the adjustment amplitude used by the digital circuit 35 to adjust or approximate the value of the digital signal DOUT in the binary mode gradually changes as the number of times the digital signal DOUT is adjusted increases. Specifically, in the binary mode, the adjustment amplitude used by the digital circuit 35 to adjust or approximate the digital signal DOUT can gradually decrease as the number of times the digital signal DOUT is adjusted increases.

此外,在第8次比較之後,數位電路35判斷已進行N次比較(對應於操作S407)。因此,如第4圖所示,時脈控制電路351可將二進制模式訊號MBIN及線性模式訊號MLIN分別切換為禁能位準及致能位準,且操作S401再次執行。In addition, after the 8th comparison, the digital circuit 35 determines that N comparisons have been performed (corresponding to operation S407). Therefore, as shown in FIG. 4, the clock control circuit 351 can switch the binary mode signal MBIN and the linear mode signal MLIN to the disable level and the enable level respectively, and operation S401 is executed again.

於操作S401的一些實施例中,如第6圖所示,數位電路35中的數位控制電路353依據禁能位準的二進制模式訊號MBIN及致能位準的線性模式訊號MLIN控制虛擬電流訊號產生電路153在線性模式下操作。在一些實施例中,當本案的直流/直流轉換器啟動時、當本案的直流/直流轉換器欲改變輸出電壓訊號VOUT時、或者當功率級電路10為多相直流電壓轉換器中的其中一相電路且被啟動時,數位控制電路353控制虛擬電流訊號產生電路153進入線性模式且在線性模式下操作。In some embodiments of operation S401, as shown in FIG. 6 , the digital control circuit 353 in the digital circuit 35 controls the virtual current signal generating circuit 153 to operate in the linear mode according to the binary mode signal MBIN of the disable level and the linear mode signal MLIN of the enable level. In some embodiments, when the DC/DC converter of the present case is started, when the DC/DC converter of the present case wants to change the output voltage signal VOUT, or when the power stage circuit 10 is one of the phase circuits in the multi-phase DC voltage converter and is started, the digital control circuit 353 controls the virtual current signal generating circuit 153 to enter the linear mode and operate in the linear mode.

承接上述說明,於一些實施例中,時脈控制電路351可通過內部的另一脈衝計數器(圖中未示)計數控制訊號PWM的脈衝的生成數,並據以判斷所述脈衝的生成數是否達到M個(此相當於判斷是否經過M個控制訊號PWM的週期CYC)。具體而言,M可為大於等於2的整數。基於上述,如第6圖所示,時脈控制電路351可控制時脈訊號CLK的多個脈衝中緊鄰的兩個脈衝中的一者相較於另一者延遲M個週期CYC,並可控制閂鎖訊號LATCH的多個脈衝中緊鄰的兩個脈衝中的一者相較於另一者延遲M個週期CYC。Following the above description, in some embodiments, the clock control circuit 351 can count the number of pulses generated by the control signal PWM through another internal pulse counter (not shown), and judge whether the number of pulses generated reaches M (which is equivalent to judging whether M cycles CYC of the control signal PWM have passed). Specifically, M can be an integer greater than or equal to 2. Based on the above, as shown in FIG. 6 , the clock control circuit 351 can control one of two adjacent pulses among the multiple pulses of the clock signal CLK to be delayed by M cycles CYC compared to the other, and can control one of two adjacent pulses among the multiple pulses of the latch signal LATCH to be delayed by M cycles CYC compared to the other.

再繼續說明第4圖中的操作S408至操作S410之前,應當注意,第6圖中的多個時間點T9~T12分別表示比較低側電壓訊號VLS與虛擬電壓訊號VVR的執行時間。此外,在線性模式下被設定為“00110101”的數位訊號DOUT在第6圖中被以十進制表示為“53”。Before continuing to explain operation S408 to operation S410 in FIG. 4, it should be noted that the multiple time points T9 to T12 in FIG. 6 respectively represent the execution time of comparing the low-side voltage signal VLS and the virtual voltage signal VVR. In addition, the digital signal DOUT set to "00110101" in the linear mode is represented as "53" in decimal in FIG. 6.

於一些實施例中,操作S408響應於第6圖中時脈訊號CLK中的一個脈衝的上升緣(對應於時間點T9)執行。於操作S408,第3圖中的數位控制電路353取得低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果。舉例來說,數位控制電路353通過抽樣與保持電路531於第6圖中的時間點T9產生致能位準的比較訊號CMP(亦即,表示虛擬電壓訊號VVR的電壓位準小於低側電壓訊號VLS的電壓位準)。在此情況下,操作S409響應於第6圖中閂鎖訊號LATCH中緊接著時間點T9的一個脈衝的上升緣執行。In some embodiments, operation S408 is performed in response to a rising edge of a pulse in the clock signal CLK in FIG. 6 (corresponding to time point T9). In operation S408, the digital control circuit 353 in FIG. 3 obtains a comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR. For example, the digital control circuit 353 generates an enable level comparison signal CMP (i.e., indicating that the voltage level of the virtual voltage signal VVR is less than the voltage level of the low-side voltage signal VLS) at time point T9 in FIG. 6 through the sampling and holding circuit 531. In this case, operation S409 is performed in response to a rising edge of a pulse of the latch signal LATCH immediately following the time point T9 in FIG. 6 .

於操作S409,邏輯控制電路533將數位訊號DOUT的最低位元(即,第八個位元)的位元值加上“1”。應當理解,在數位訊號DOUT的最低位元的位元值加上“1”,將使得數位訊號DOUT從“00110101”變為“00110110”,其中“00110110”以十進制表示則為“54”。因此可知,調整幅度為“00000001”, 以十進制表示為“1”,且調整方向為向上增加(+)。接著又如前述說明,虛擬電壓訊號產生電路371使用此數位訊號DOUT來輸出虛擬電壓訊號VVR,以供比較電路33進行下一次比較。In operation S409, the logic control circuit 533 adds "1" to the bit value of the lowest bit (i.e., the eighth bit) of the digital signal DOUT. It should be understood that adding "1" to the bit value of the lowest bit of the digital signal DOUT will change the digital signal DOUT from "00110101" to "00110110", where "00110110" is "54" in decimal. Therefore, it can be seen that the adjustment amplitude is "00000001", which is "1" in decimal, and the adjustment direction is upward increase (+). Then, as described above, the virtual voltage signal generating circuit 371 uses this digital signal DOUT to output the virtual voltage signal VVR for the comparison circuit 33 to perform the next comparison.

在經過M個週期CYC之後,操作S408響應於第6圖中時脈訊號CLK中的一個脈衝的上升緣(對應於時間點T10)再次執行。此次,數位控制電路353仍取得虛擬電壓訊號VVR的電壓位準小於低側電壓訊號VLS的電壓位準的比較結果(對應於致能位準的比較訊號CMP)。因此,操作S409再次執行。據此,數位訊號DOUT從 “00110110”變為“00110111”,其中“00110111”以十進制表示則為“55”。因此可知,調整幅度為“00000001”,以十進制表示為“1”,且調整方向為向上增加(+)。接著,虛擬電壓訊號產生電路371再次使用此數位訊號DOUT來輸出虛擬電壓訊號VVR,以供比較電路33進行下一次比較。After M cycles CYC, operation S408 is executed again in response to the rising edge of a pulse in the clock signal CLK in FIG. 6 (corresponding to time point T10). This time, the digital control circuit 353 still obtains the comparison result that the voltage level of the virtual voltage signal VVR is less than the voltage level of the low-side voltage signal VLS (corresponding to the comparison signal CMP of the enable level). Therefore, operation S409 is executed again. Accordingly, the digital signal DOUT changes from "00110110" to "00110111", where "00110111" is "55" in decimal. Therefore, it can be known that the adjustment amplitude is "00000001", which is "1" in decimal, and the adjustment direction is upward increase (+). Then, the virtual voltage signal generating circuit 371 uses this digital signal DOUT again to output the virtual voltage signal VVR for the comparison circuit 33 to perform the next comparison.

在又經過M個週期CYC之後,操作S408響應於第6圖中時脈訊號CLK中的一個脈衝的上升緣(對應於時間點T11)再次執行。此次,數位控制電路353取得虛擬電壓訊號VVR的電壓位準大於低側電壓訊號VLS的電壓位準的比較結果(對應於禁能位準的比較訊號CMP)。因此,操作S410執行。After another M cycles CYC, operation S408 is executed again in response to the rising edge of a pulse in the clock signal CLK in FIG. 6 (corresponding to time point T11). This time, the digital control circuit 353 obtains a comparison result that the voltage level of the virtual voltage signal VVR is greater than the voltage level of the low-side voltage signal VLS (corresponding to the comparison signal CMP of the disable level). Therefore, operation S410 is executed.

於操作S410,邏輯控制電路533將數位訊號DOUT的最低位元的位元值減去“1”,此使得數位訊號DOUT從“00110111”變為“00110110”,其中“00110110”以十進制表示則為“54”。因此可知,調整幅度為“00000001”, 以十進制表示為“1”,且調整方向為向下減少(-)。接著,虛擬電壓訊號產生電路371再次使用此數位訊號DOUT來輸出虛擬電壓訊號VVR,以供比較電路33進行下一次比較。虛擬電流訊號產生電路153於時間點T11之後的操作可依據前述操作S408至操作S410的說明類推,故不在此贅述。In operation S410, the logic control circuit 533 subtracts "1" from the bit value of the least significant bit of the digital signal DOUT, which changes the digital signal DOUT from "00110111" to "00110110", where "00110110" is "54" in decimal. Therefore, it can be seen that the adjustment amplitude is "00000001", which is "1" in decimal, and the adjustment direction is downward decreasing (-). Then, the virtual voltage signal generating circuit 371 uses this digital signal DOUT again to output the virtual voltage signal VVR for the comparison circuit 33 to perform the next comparison. The operation of the virtual current signal generating circuit 153 after the time point T11 can be deduced from the description of the aforementioned operation S408 to the operation S410, and thus will not be elaborated here.

根據上述可知,在線性模式下,數位控制電路353依據比較訊號CMP多次調整數位訊號DOUT,且數位訊號DOUT的調整幅度為一定值,即為“1”,不隨著調整數位訊號DOUT的次數增加而改變。According to the above, in the linear mode, the digital control circuit 353 adjusts the digital signal DOUT multiple times according to the comparison signal CMP, and the adjustment amplitude of the digital signal DOUT is a certain value, that is, "1", which does not change with the increase in the number of times the digital signal DOUT is adjusted.

於第5圖中,通過連接低側電壓訊號VLS在多個時間點T1~T8的多個電壓位準來繪示出一趨勢線C1,並通過連接虛擬電壓訊號VVR在多個時間點T1~T8的多個電壓位準來繪示出一趨勢線C2。由趨勢線C1及趨勢線C2的走向可知,在二進制模式下,數位電路35通過虛擬電壓訊號VVR與低側電壓訊號VLS的N次比較(分別對應於N個控制訊號PWM的週期CYC)設定好數位訊號DOUT的每個位元的位元值,從而讓虛擬電壓訊號VVR迅速逼近低側電壓訊號VLS。基於此,如第6圖所示,在線性模式下,虛擬電壓訊號VVR與低側電壓訊號VLS的比較僅在每經過M個控制訊號PWM的週期CYC時才進行,以讓數位電路35依據虛擬電壓訊號VVR與低側電壓訊號VLS的比較結果對數位訊號DOUT進行微調(亦即,僅調整數位訊號DOUT的最低位元的位元值)。這樣的做法可讓虛擬電壓訊號VVR在線性模式下保持接近低側電壓訊號VLS,但又不會一直變動(因而可節省耗能)。由此可知,不管在二進制模式或線性模式下,數位電路35均用以依據低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果調整數位訊號DOUT。In FIG. 5 , a trend line C1 is drawn by connecting multiple voltage levels of the low-side voltage signal VLS at multiple time points T1 to T8, and a trend line C2 is drawn by connecting multiple voltage levels of the virtual voltage signal VVR at multiple time points T1 to T8. From the trends of trend lines C1 and C2, it can be seen that in the binary mode, the digital circuit 35 sets the bit value of each bit of the digital signal DOUT through N comparisons of the virtual voltage signal VVR and the low-side voltage signal VLS (corresponding to N cycles CYC of the control signal PWM), so that the virtual voltage signal VVR quickly approaches the low-side voltage signal VLS. Based on this, as shown in FIG. 6 , in the linear mode, the comparison between the virtual voltage signal VVR and the low-side voltage signal VLS is performed only after each M cycles CYC of the control signal PWM, so that the digital circuit 35 can fine-tune the digital signal DOUT according to the comparison result of the virtual voltage signal VVR and the low-side voltage signal VLS (that is, only adjust the bit value of the lowest bit of the digital signal DOUT). This approach allows the virtual voltage signal VVR to remain close to the low-side voltage signal VLS in the linear mode, but it will not change all the time (thereby saving energy). It can be seen that, no matter in the binary mode or the linear mode, the digital circuit 35 is used to adjust the digital signal DOUT according to the comparison result between the low-side voltage signal VLS and the virtual voltage signal VVR.

於一些實施例中,第3圖的時脈控制電路351可依據重載入訊號RL的電壓位準判斷是否進行重載入操作。舉例來說,當重載入訊號RL為致能位準時,時脈控制電路351會立即將二進制模式訊號MBIN及線性模式訊號MLIN分別切換為致能位準及禁能位準,以使虛擬電流訊號產生電路153重新進入二進制模式下操作(亦即,操作S402至操作S407)。當重載入訊號RL為禁能位準時,時脈控制電路351則不更動(或維持)二進制模式訊號MBIN及線性模式訊號MLIN當前的電壓位準,以使虛擬電流訊號產生電路153維持在當前模式下操作。In some embodiments, the clock control circuit 351 of FIG. 3 can determine whether to perform a reload operation according to the voltage level of the reload signal RL. For example, when the reload signal RL is at an enable level, the clock control circuit 351 will immediately switch the binary mode signal MBIN and the linear mode signal MLIN to an enable level and a disable level, respectively, so that the virtual current signal generating circuit 153 re-enters the binary mode to operate (i.e., operations S402 to S407). When the reload signal RL is at a disable level, the clock control circuit 351 does not change (or maintain) the current voltage levels of the binary mode signal MBIN and the linear mode signal MLIN, so that the virtual current signal generating circuit 153 maintains operating in the current mode.

於上述實施例中,由於M為大於等於2的整數,比較電路33也相當於是在線性模式下,依據控制訊號PWM的至少兩個週期CYC的時間(亦可稱為第一時間),間隔地對低側電壓訊號VLS與虛擬電壓訊號VVR進行比較。同理,在二進位模式下,比較電路33依據控制訊號PWM的至少一個週期CYC的時間(亦可稱為第二時間),間隔地對低側電壓訊號VLS與虛擬電壓訊號VVR進行比較。由此可知,第一時間長於第二時間。In the above embodiment, since M is an integer greater than or equal to 2, the comparison circuit 33 is equivalent to comparing the low-side voltage signal VLS with the virtual voltage signal VVR at intervals according to the time of at least two cycles CYC of the control signal PWM (also referred to as the first time) in the linear mode. Similarly, in the binary mode, the comparison circuit 33 compares the low-side voltage signal VLS with the virtual voltage signal VVR at intervals according to the time of at least one cycle CYC of the control signal PWM (also referred to as the second time). It can be seen that the first time is longer than the second time.

於上述實施例中,也可理解為,數位控制電路353用以經致能位準的時脈訊號CLK觸發而對低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果進行抽樣與保持,並用以經致能位準的閂鎖訊號LATCH觸發而依據低側電壓訊號VLS與虛擬電壓訊號VVR的比較結果設定數位訊號DOUT的多個位元中之一者的位元值。In the above embodiment, it can also be understood that the digital control circuit 353 is used to sample and hold the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR by being triggered by the clock signal CLK of the enable level, and is used to set the bit value of one of the multiple bits of the digital signal DOUT according to the comparison result of the low-side voltage signal VLS and the virtual voltage signal VVR by being triggered by the latch signal LATCH of the enable level.

於上述實施例中,如第5及6圖所示,控制訊號PWM的每個週期CYC包含一致能期間PON及一禁能期間POFF。據此,於一些實施例中,如第5圖所示,當二進制模式訊號MBIN及線性模式訊號MLIN分別在致能位準及禁能位準時,時脈訊號CLK及閂鎖訊號LATCH在控制訊號PWM的每個禁能期間POFF依序切換為致能位準。In the above embodiments, as shown in FIGS. 5 and 6, each cycle CYC of the control signal PWM includes an enable period PON and a disable period POFF. Accordingly, in some embodiments, as shown in FIG. 5, when the binary mode signal MBIN and the linear mode signal MLIN are at the enable level and the disable level respectively, the clock signal CLK and the latch signal LATCH are sequentially switched to the enable level during each disable period POFF of the control signal PWM.

此外,於一些實施例中,如第6圖所示,當二進制模式訊號MBIN及線性模式訊號MLIN分別在禁能位準及致能位準時,時脈訊號CLK及閂鎖訊號LATCH在第一次依序切換為致能位準之後,每經過控制訊號PWM的至少兩個週期CYC都會再次依序切換為致能位準。In addition, in some embodiments, as shown in FIG. 6 , when the binary mode signal MBIN and the linear mode signal MLIN are at the disable level and the enable level, respectively, the clock signal CLK and the latch signal LATCH are sequentially switched to the enable level for the first time, and then they are sequentially switched to the enable level again every at least two cycles CYC of the control signal PWM.

由上述第4至6圖實施例的說明可知,本揭示內容還提供一種虛擬電流訊號IVR的產生方法。請參閱第7圖,第7圖為依據本揭示內容的一些實施例繪示的一種虛擬電流訊號產生方法700的流程圖。於一些實施例中,如第7圖所示,虛擬電流訊號產生方法700包含多個操作S701~S705。應當理解,亦可依據上述第1~6圖實施例的說明增加、減少及/或調整虛擬電流訊號產生方法700的操作數量及/或操作順序。As can be seen from the description of the embodiments of FIGS. 4 to 6 above, the present disclosure further provides a method for generating a virtual current signal IVR. Please refer to FIG. 7, which is a flow chart of a method 700 for generating a virtual current signal according to some embodiments of the present disclosure. In some embodiments, as shown in FIG. 7, the method 700 for generating a virtual current signal includes a plurality of operations S701 to S705. It should be understood that the number of operations and/or the order of operations of the method 700 for generating a virtual current signal can also be increased, decreased and/or adjusted according to the description of the embodiments of FIGS. 1 to 6 above.

於一些實施例中,如第7圖所示,操作S701在功率級電路10開啟後執行。於操作S701,驅動電路13依據控制訊號PWM驅動開關電路11。操作S701的說明類似於第1圖實施例的說明,故在此省略。In some embodiments, as shown in FIG. 7 , operation S701 is performed after the power stage circuit 10 is turned on. In operation S701 , the driving circuit 13 drives the switch circuit 11 according to the control signal PWM. The description of operation S701 is similar to that of the embodiment of FIG. 1 , and is therefore omitted here.

於操作S702,虛擬電流訊號產生電路153依據二進制模式訊號MBIN以及線性模式訊號MLIN,判斷功率級電路10進入二進制模式或線性模式下操作。操作S701的說明類似於第4圖中操作S401的說明,故在此省略。In operation S702, the virtual current signal generating circuit 153 determines whether the power stage circuit 10 enters the binary mode or the linear mode according to the binary mode signal MBIN and the linear mode signal MLIN. The description of operation S701 is similar to the description of operation S401 in FIG. 4 and is therefore omitted here.

於一些實施例中,功率級電路10進入二進制模式下操作,因而操作S703執行。於操作S703,虛擬電流訊號產生電路153中的數位電路35依據低側電壓訊號VLS與虛擬電壓訊號VVR之間的比較結果,以第一調整幅度多次調整數位訊號DOUT。操作S703的說明類似於第5圖實施例的說明,故在此省略。在一實施例中,第一調整幅度是可變的(即非定值),詳細來說,第一調整幅度隨著調整數位訊號DOUT的次數增加而逐漸改變,例如逐漸減少。In some embodiments, the power stage circuit 10 enters the binary mode and thus the operation S703 is executed. In the operation S703, the digital circuit 35 in the virtual current signal generating circuit 153 adjusts the digital signal DOUT multiple times with the first adjustment amplitude according to the comparison result between the low-side voltage signal VLS and the virtual voltage signal VVR. The description of the operation S703 is similar to the description of the embodiment of FIG. 5 and is therefore omitted here. In one embodiment, the first adjustment amplitude is variable (i.e., non-constant), and in detail, the first adjustment amplitude gradually changes as the number of times the digital signal DOUT is adjusted increases, for example, gradually decreases.

於一些實施例中,功率級電路10進入線性模式下操作,因而操作S704執行。於操作S704,虛擬電流訊號產生電路153中的數位電路35依據低側電壓訊號VLS與虛擬電壓訊號VVR之間的比較結果,以第二調整幅度多次調整數位訊號DOUT。操作S704的說明類似於第6圖實施例的說明,故在此省略。在一實施例中,第二調整幅度為一定值。In some embodiments, the power stage circuit 10 enters the linear mode, and thus operation S704 is performed. In operation S704, the digital circuit 35 in the virtual current signal generating circuit 153 adjusts the digital signal DOUT multiple times with the second adjustment amplitude according to the comparison result between the low-side voltage signal VLS and the virtual voltage signal VVR. The description of operation S704 is similar to the description of the embodiment of FIG. 6, and is therefore omitted here. In one embodiment, the second adjustment amplitude is a constant value.

於操作S705,虛擬電流訊號產生電路153中的訊號轉換電路37依據經調整的數位訊號DOUT調整虛擬電壓訊號VVR,並依據經調整的虛擬電壓訊號VVR產生虛擬電流訊號IVR。透過對數位訊號DOUT進行調整,使虛擬電壓訊號VVR被調整以逐漸接近低側電壓訊號VLS。如此一來,基於虛擬電壓訊號VVR的調整,虛擬電流訊號IVR可被校正以逐漸接近輸出電流訊號IL。操作S705的說明類似於第5及6圖實施例的說明,故在此省略。In operation S705, the signal conversion circuit 37 in the virtual current signal generating circuit 153 adjusts the virtual voltage signal VVR according to the adjusted digital signal DOUT, and generates a virtual current signal IVR according to the adjusted virtual voltage signal VVR. By adjusting the digital signal DOUT, the virtual voltage signal VVR is adjusted to gradually approach the low-side voltage signal VLS. In this way, based on the adjustment of the virtual voltage signal VVR, the virtual current signal IVR can be corrected to gradually approach the output current signal IL. The description of operation S705 is similar to the description of the fifth and sixth embodiments, so it is omitted here.

在操作S705之後,虛擬電流訊號產生方法700回到操作S702,持續在二進制模式或線性模式下調整數位訊號DOUT。After operation S705, the virtual current signal generating method 700 returns to operation S702 to continue adjusting the digital signal DOUT in the binary mode or the linear mode.

根據上述的虛擬電流訊號產生方法700,透過在二進位模式及/或線性模式下對數位訊號DOUT及虛擬電壓訊號VVR進行調整,則可進一步對虛擬電流訊號IVR進行校正,使虛擬電流訊號IVR實質上接近輸出電流訊號IL,或實質上與輸出電流訊號IL相同。According to the above-mentioned virtual current signal generating method 700, by adjusting the digital signal DOUT and the virtual voltage signal VVR in the binary mode and/or the linear mode, the virtual current signal IVR can be further calibrated so that the virtual current signal IVR is substantially close to the output current signal IL, or substantially the same as the output current signal IL.

由上述本揭示內容的實施方式可知,藉由虛擬電流訊號產生電路153產生與輸出電流訊號IL等比例的虛擬電流訊號IVR,本揭示內容的功率級電路10可在低側開關Q2的導通期間LON完成電流感測,並可結合虛擬電流訊號IVR與通過電流感測所取得的低側電流訊號ILS來產生電流監測訊號IMON。值得注意的是,通過此種作法產生的電流監測訊號IMON可適用於低工作週期的應用。From the above implementation of the present disclosure, it can be seen that the virtual current signal IVR which is proportional to the output current signal IL is generated by the virtual current signal generating circuit 153, the power stage circuit 10 of the present disclosure can complete the current flow measurement during the conduction period LON of the low-side switch Q2, and can combine the virtual current signal IVR with the low-side current signal ILS obtained by the current flow measurement to generate the current monitoring signal IMON. It is worth noting that the current monitoring signal IMON generated by this method can be applied to applications with low working cycles.

此外,相較於一些相關技術,本揭示內容的電流監測電路15顯著地節省了元件數量,並可以數位方式調整虛擬電壓訊號VVR,藉以校正虛擬電流訊號IVR,並確保虛擬電流訊號IVR的穩定性。因此,本揭示內容的功率級電路10及其電流監測電路15具有低成本、適用於低工作週期的應用、產生高穩定性及高精確性的電流監測訊號等優勢。In addition, compared with some related technologies, the current monitoring circuit 15 of the present disclosure significantly saves the number of components and can digitally adjust the virtual voltage signal VVR to correct the virtual current signal IVR and ensure the stability of the virtual current signal IVR. Therefore, the power stage circuit 10 and the current monitoring circuit 15 of the present disclosure have the advantages of low cost, application in low duty cycle applications, and generation of a current monitoring signal with high stability and high accuracy.

雖然本揭示內容已以實施方式揭露如上,然其並非用以限定本揭示內容,所屬技術領域具有通常知識者在不脫離本揭示內容之精神和範圍內,當可作各種更動與潤飾,因此本揭示內容之保護範圍當視後附之申請專利範圍所界定者為準。Although the contents of this disclosure have been disclosed as above in the form of implementation, it is not intended to limit the contents of this disclosure. A person with ordinary knowledge in the relevant technical field can make various changes and modifications without departing from the spirit and scope of the contents of this disclosure. Therefore, the protection scope of the contents of this disclosure shall be subject to the scope defined by the attached patent application.

10:功率級電路 11:開關電路 13:驅動電路 15:電流監測電路 20:控制器 31:電流轉電壓電路 33:比較電路 35:數位電路 37:訊號轉換電路 151:電流感測電路 153:虛擬電流訊號產生電路 155:訊號結合電路 351:時脈控制電路 353:數位控制電路 371:虛擬電壓訊號產生電路 373:電壓轉電流電路 400:調整方法 531:抽樣與保持電路 533:邏輯控制電路 700:虛擬電流訊號產生方法 C37,COUT:電容元件 CLK:時脈訊號 CMP:比較訊號 CP1,CP2,CP3,LP1,LP2,LP3:脈衝 CYC:週期 DAC1:第一數位類比轉換電路 DAC2:第二數位類比轉換電路 DOUT:數位訊號 DOUT[0]~DOUT[7]:位元 GH:高側驅動訊號 GL:低側驅動訊號 GND:接地電壓 HON,LON:導通期間 IL:輸出電流訊號 ILS:低側電流訊號 IMON:電流監測訊號 IVR:虛擬電流訊號 L:電感元件 LATCH:閂鎖訊號 MBIN:二進制模式訊號 MLIN:線性模式訊號 N1,SW:輸出端 P1:第一期間 P2:第二期間 POFF:禁能期間 PON:致能期間 POR:上電復位電壓訊號 PWM:控制訊號 Q1:高側開關 Q2:低側開關 R1:電阻元件 RL:重載入訊號 S1:第一開關 S2:第二開關 S401~S410,S701~S705:操作 SA:第一電流訊號 SB:第二電流訊號 SL:負載端 T1~T12:時間點 VIN:輸入電壓訊號 VLS:低側電壓訊號 VOUT:輸出電壓訊號 VREF:參考電壓訊號 VVR:虛擬電壓訊號 10: Power stage circuit 11: Switching circuit 13: Driving circuit 15: Current monitoring circuit 20: Controller 31: Current-to-voltage circuit 33: Comparison circuit 35: Digital circuit 37: Signal conversion circuit 151: Current flow detection circuit 153: Virtual current signal generation circuit 155: Signal combination circuit 351: Clock control circuit 353: Digital control circuit 371: Virtual voltage signal generation circuit 373: Voltage-to-current circuit 400: Adjustment method 531: Sample and hold circuit 533: Logic control circuit 700: Virtual current signal generation method C37, COUT: Capacitor element CLK: Clock signal CMP: Comparison signal CP1, CP2, CP3, LP1, LP2, LP3: Pulse CYC: Cycle DAC1: First digital-to-analog converter circuit DAC2: Second digital-to-analog converter circuit DOUT: Digital signal DOUT[0]~DOUT[7]: Bit GH: High-side drive signal GL: Low-side drive signal GND: Ground voltage HON, LON: On-time IL: Output current signal ILS: Low-side current signal IMON: Current monitoring signal IVR: Virtual current signal L: Inductor element LATCH: latch signal MBIN: binary mode signal MLIN: linear mode signal N1, SW: output terminal P1: first period P2: second period POFF: disable period PON: enable period POR: power-on reset voltage signal PWM: control signal Q1: high-side switch Q2: low-side switch R1: resistor element RL: reload signal S1: first switch S2: second switch S401~S410, S701~S705: operation SA: first current signal SB: second current signal SL: load terminal T1~T12: time point VIN: input voltage signal VLS: low-side voltage signal VOUT: output voltage signal VREF: reference voltage signal VVR: virtual voltage signal

第1圖為依據本揭示內容的一些實施例繪示的一種功率級電路及控制器的電路方塊圖。 第2圖為依據本揭示內容的一些實施例繪示的與功率級電路相關的一些訊號的波形圖。 第3圖為依據本揭示內容的一些實施例繪示的一種虛擬電流訊號產生電路的電路示意圖。 第4圖為依據本揭示內容的一些實施例繪示的一種數位訊號的調整方法的流程圖。 第5圖為依據本揭示內容的一些實施例繪示的與虛擬電流訊號產生電路相關的一些訊號在一二進制模式下的時序圖。 第6圖為依據本揭示內容的一些實施例繪示的與虛擬電流訊號產生電路相關的一些訊號在一線性模式下的時序圖。 第7圖為依據本揭示內容的一些實施例繪示的一種虛擬電流訊號產生方法的流程圖。 FIG. 1 is a circuit block diagram of a power stage circuit and a controller according to some embodiments of the present disclosure. FIG. 2 is a waveform diagram of some signals related to the power stage circuit according to some embodiments of the present disclosure. FIG. 3 is a circuit diagram of a virtual current signal generating circuit according to some embodiments of the present disclosure. FIG. 4 is a flow chart of a digital signal adjustment method according to some embodiments of the present disclosure. FIG. 5 is a timing diagram of some signals related to the virtual current signal generating circuit in a binary mode according to some embodiments of the present disclosure. FIG. 6 is a timing diagram of some signals related to the virtual current signal generating circuit in a linear mode according to some embodiments of the present disclosure. Figure 7 is a flow chart of a method for generating a virtual current signal according to some embodiments of the present disclosure.

10:功率級電路 10: Power stage circuit

11:開關電路 11: Switching circuit

13:驅動電路 13: Driving circuit

15:電流監測電路 15: Current monitoring circuit

20:控制器 20: Controller

151:電流感測電路 151: Current flow measurement circuit

153:虛擬電流訊號產生電路 153: Virtual current signal generating circuit

155:訊號結合電路 155:Signal combining circuit

COUT:電容元件 COUT: Capacitor component

GH:高側驅動訊號 GH: High side drive signal

GL:低側驅動訊號 GL: low side drive signal

GND:接地電壓 GND: Ground voltage

IL:輸出電流訊號 IL: Output current signal

ILS:低側電流訊號 ILS: Low-side current signal

IMON:電流監測訊號 IMON: Current monitoring signal

IVR:虛擬電流訊號 IVR: Virtual Current Signal

L:電感元件 L: Inductor component

PWM:控制訊號 PWM: control signal

Q1:高側開關 Q1: High side switch

Q2:低側開關 Q2: Low side switch

SL:負載端 SL: Load side

SW:輸出端 SW: output terminal

VIN:輸入電壓訊號 VIN: Input voltage signal

VOUT:輸出電壓訊號 VOUT: output voltage signal

VREF:參考電壓訊號 VREF: reference voltage signal

Claims (10)

一種功率級電路,包含: 一開關電路,耦接於該功率級電路的一輸出端,用以接收一輸入電壓訊號,並包含一高側開關及一低側開關,其中該輸出端經由一電感元件耦接於一負載端; 一驅動電路,耦接於該開關電路,並用以依據一控制訊號驅動該開關電路,以在該負載端產生一輸出電壓訊號並經由該電感元件產生一輸出電流訊號;以及 一電流監測電路,包含: 一電流感測電路,耦接於該開關電路,並用以在該低側開關的每個導通期間感測該輸出電流訊號,以產生一低側電流訊號; 一虛擬電流訊號產生電路,耦接於該電流感測電路,用以依據該低側電流訊號產生一低側電壓訊號,用以產生一數位訊號,用以依據該低側電壓訊號與一虛擬電壓訊號之間的比較結果調整該數位訊號,用以根據該數位訊號調整該虛擬電壓訊號,使該虛擬電壓訊號接近該低側電壓訊號,並用以依據該虛擬電壓訊號產生一虛擬電流訊號;以及 一訊號結合電路,耦接於該電流感測電路與該虛擬電流訊號產生電路,並用以依據該低側電流訊號與該虛擬電流訊號產生一電流監測訊號, 其中在一線性模式下,該虛擬電流訊號產生電路用以依據一第一時間,間隔地對該低側電壓訊號與該虛擬電壓訊號進行比較, 其中在該線性模式下,該虛擬電流訊號產生電路依據該低側電壓訊號與該虛擬電壓訊號之間的比較結果,以一第一調整幅度多次調整該數位訊號,且該第一調整幅度為一定值。 A power stage circuit comprises: A switch circuit coupled to an output terminal of the power stage circuit for receiving an input voltage signal, and comprising a high-side switch and a low-side switch, wherein the output terminal is coupled to a load terminal via an inductor; A drive circuit coupled to the switch circuit and used to drive the switch circuit according to a control signal to generate an output voltage signal at the load terminal and an output current signal via the inductor; and A current monitoring circuit comprises: An electric current sensing circuit coupled to the switch circuit and used to sense the output current signal during each conduction period of the low-side switch to generate a low-side current signal; A virtual current signal generating circuit is coupled to the current sensing circuit, and is used to generate a low-side voltage signal according to the low-side current signal, to generate a digital signal, to adjust the digital signal according to a comparison result between the low-side voltage signal and a virtual voltage signal, to adjust the virtual voltage signal according to the digital signal so that the virtual voltage signal is close to the low-side voltage signal, and to generate a virtual current signal according to the virtual voltage signal; and A signal combining circuit is coupled to the current flow sensing circuit and the virtual current signal generating circuit, and is used to generate a current monitoring signal according to the low-side current signal and the virtual current signal. In a linear mode, the virtual current signal generating circuit is used to compare the low-side voltage signal with the virtual voltage signal at intervals according to a first time. In the linear mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a first adjustment amplitude according to the comparison result between the low-side voltage signal and the virtual voltage signal, and the first adjustment amplitude is a constant value. 如請求項1所述之功率級電路,其中該虛擬電流訊號產生電路用以依據該低側電壓訊號與該虛擬電壓訊號之間的比較結果,以該第一調整幅度調整該數位訊號的一最低位元的位元值,該數位訊號的該最低位元的位元值的變化量對應該第一調整幅度。A power stage circuit as described in claim 1, wherein the virtual current signal generating circuit is used to adjust the bit value of a lowest bit of the digital signal with the first adjustment amplitude according to a comparison result between the low-side voltage signal and the virtual voltage signal, and the change in the bit value of the lowest bit of the digital signal corresponds to the first adjustment amplitude. 如請求項2所述之功率級電路,其中當該虛擬電壓訊號的電壓位準小於該低側電壓訊號的電壓位準時,該虛擬電流訊號產生電路用以將該最低位元的位元值加上該第一調整幅度, 其中當該虛擬電壓訊號的電壓位準大於該低側電壓訊號的電壓位準時,該虛擬電流訊號產生電路用以將該最低位元的位元值減去該第一調整幅度。 A power stage circuit as described in claim 2, wherein when the voltage level of the virtual voltage signal is less than the voltage level of the low-side voltage signal, the virtual current signal generating circuit is used to add the bit value of the lowest bit to the first adjustment amplitude, wherein when the voltage level of the virtual voltage signal is greater than the voltage level of the low-side voltage signal, the virtual current signal generating circuit is used to subtract the bit value of the lowest bit from the first adjustment amplitude. 如請求項1所述之功率級電路,其中在一二進制模式下,該虛擬電流訊號產生電路用以依據一第二時間,間隔地對該低側電壓訊號與該虛擬電壓訊號進行比較, 其中在該二進制模式下,該虛擬電流訊號產生電路依據該低側電壓訊號與該虛擬電壓訊號之間的比較結果,以一第二調整幅度多次調整該數位訊號,且該第二調整幅度隨調整該數位訊號的次數增加而逐漸改變。 A power stage circuit as described in claim 1, wherein in a binary mode, the virtual current signal generating circuit is used to compare the low-side voltage signal with the virtual voltage signal at intervals according to a second time, wherein in the binary mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a second adjustment amplitude according to the comparison result between the low-side voltage signal and the virtual voltage signal, and the second adjustment amplitude gradually changes as the number of times the digital signal is adjusted increases. 如請求項4所述之功率級電路,其中該第一時間長於該第二時間。A power stage circuit as described in claim 4, wherein the first time is longer than the second time. 如請求項4所述之功率級電路,其中該虛擬電流訊號產生電路用以在該二進制模式下,對該低側電壓訊號與該虛擬電壓訊號進行N次比較,其中N為該數位訊號的位元數量, 其中在進行該N次比較中之一次之前,該虛擬電流訊號產生電路用以將該數位訊號的N個位元中之一對應者由一第一值切換為一第二值,以產生用於該N次比較中之該次的該虛擬電壓訊號,並用以依據該N次比較中之該次的比較結果判定該N個位元中之該對應者的位元值。 A power stage circuit as described in claim 4, wherein the virtual current signal generating circuit is used to compare the low-side voltage signal with the virtual voltage signal N times in the binary mode, wherein N is the number of bits of the digital signal, wherein before performing one of the N comparisons, the virtual current signal generating circuit is used to switch a corresponding one of the N bits of the digital signal from a first value to a second value to generate the virtual voltage signal for the one of the N comparisons, and to determine the bit value of the corresponding one of the N bits according to the comparison result of the one of the N comparisons. 如請求項6所述之功率級電路,其中當該虛擬電壓訊號的電壓位準小於該低側電壓訊號的電壓位準時,該虛擬電流訊號產生電路用以判定該N個位元中之該對應者的位元值為該第二值, 其中當該虛擬電壓訊號的電壓位準大於該低側電壓訊號的電壓位準時,該虛擬電流訊號產生電路用以判定該N個位元中之該對應者的位元值為該第一值。 A power stage circuit as described in claim 6, wherein when the voltage level of the virtual voltage signal is less than the voltage level of the low-side voltage signal, the virtual current signal generating circuit is used to determine that the bit value of the corresponding one of the N bits is the second value, wherein when the voltage level of the virtual voltage signal is greater than the voltage level of the low-side voltage signal, the virtual current signal generating circuit is used to determine that the bit value of the corresponding one of the N bits is the first value. 如請求項1所述之功率級電路,其中該第一時間為該控制訊號的至少兩個週期。A power stage circuit as described in claim 1, wherein the first time is at least two cycles of the control signal. 一種功率級電路,包含: 一開關電路,耦接於該功率級電路的一輸出端,用以接收一輸入電壓訊號,並包含一高側開關及一低側開關,其中該輸出端經由一電感元件耦接於一負載端; 一驅動電路,耦接於該開關電路,並用以依據一控制訊號驅動該開關電路,以在該負載端產生一輸出電壓訊號並經由該電感元件產生一輸出電流訊號;以及 一電流監測電路,包含: 一電流感測電路,耦接於該開關電路,並用以在該低側開關的每個導通期間感測該輸出電流訊號,以產生一低側電流訊號; 一虛擬電流訊號產生電路,耦接於該電流感測電路,用以依據該低側電流訊號產生一低側電壓訊號,用以產生一數位訊號,用以在一第一模式或一第二模式下依據該低側電壓訊號與一虛擬電壓訊號之間的比較結果調整該數位訊號,用以根據該數位訊號調整該虛擬電壓訊號,使該虛擬電壓訊號接近該低側電壓訊號,並用以依據該虛擬電壓訊號產生一虛擬電流訊號;以及 一訊號結合電路,耦接於該電流感測電路與該虛擬電流訊號產生電路,並用以依據該低側電流訊號與該虛擬電流訊號產生一電流監測訊號, 其中於該第一模式下,該虛擬電流訊號產生電路以一第一調整幅度多次調整該數位訊號,且該第一調整幅度隨調整該數位訊號的次數增加而逐漸改變, 其中於該第二模式下,該虛擬電流訊號產生電路以一第二調整幅度多次調整該數位訊號,且該第二調整幅度為一定值。 A power stage circuit comprises: A switch circuit coupled to an output terminal of the power stage circuit for receiving an input voltage signal, and comprising a high-side switch and a low-side switch, wherein the output terminal is coupled to a load terminal via an inductor; A drive circuit coupled to the switch circuit and used to drive the switch circuit according to a control signal to generate an output voltage signal at the load terminal and an output current signal via the inductor; and A current monitoring circuit comprises: An electric current sensing circuit coupled to the switch circuit and used to sense the output current signal during each conduction period of the low-side switch to generate a low-side current signal; A virtual current signal generating circuit is coupled to the current flow sensing circuit, and is used to generate a low-side voltage signal according to the low-side current signal, to generate a digital signal, to adjust the digital signal according to a comparison result between the low-side voltage signal and a virtual voltage signal in a first mode or a second mode, to adjust the virtual voltage signal according to the digital signal so that the virtual voltage signal is close to the low-side voltage signal, and to generate a virtual current signal according to the virtual voltage signal; and A signal combining circuit is coupled to the current flow sensing circuit and the virtual current signal generating circuit, and is used to generate a current monitoring signal according to the low-side current signal and the virtual current signal. In the first mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a first adjustment amplitude, and the first adjustment amplitude gradually changes as the number of times the digital signal is adjusted increases. In the second mode, the virtual current signal generating circuit adjusts the digital signal multiple times with a second adjustment amplitude, and the second adjustment amplitude is a constant value. 如請求項9所述之功率級電路,其中該虛擬電流訊號產生電路包含: 一電流轉電壓電路,耦接於該電流感測電路,並用以轉換該低側電流訊號為該低側電壓訊號; 一比較電路,耦接於該電流轉電壓電路,並用以將該低側電壓訊號與該虛擬電壓訊號相比較; 一數位電路,耦接於該比較電路,用以產生該數位訊號,並用以在該第一模式或該第二模式下依據該低側電壓訊號與該虛擬電壓訊號的比較結果調整該數位訊號;以及 一訊號轉換電路,耦接於該數位電路與該比較電路,用以接收該數位訊號、該輸入電壓訊號及該輸出電壓訊號,並用以依據該數位訊號、該輸入電壓訊號及該輸出電壓訊號產生該虛擬電壓訊號,以產生該虛擬電流訊號。 A power stage circuit as described in claim 9, wherein the virtual current signal generating circuit comprises: a current-to-voltage circuit coupled to the current sensing circuit and used to convert the low-side current signal into the low-side voltage signal; a comparison circuit coupled to the current-to-voltage circuit and used to compare the low-side voltage signal with the virtual voltage signal; a digital circuit coupled to the comparison circuit and used to generate the digital signal and to adjust the digital signal according to the comparison result between the low-side voltage signal and the virtual voltage signal in the first mode or the second mode; and A signal conversion circuit is coupled to the digital circuit and the comparison circuit, and is used to receive the digital signal, the input voltage signal, and the output voltage signal, and to generate the virtual voltage signal according to the digital signal, the input voltage signal, and the output voltage signal to generate the virtual current signal.
TW113204322U 2024-04-29 2024-04-29 Power stage circuit TWM658442U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW113204322U TWM658442U (en) 2024-04-29 2024-04-29 Power stage circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW113204322U TWM658442U (en) 2024-04-29 2024-04-29 Power stage circuit

Publications (1)

Publication Number Publication Date
TWM658442U true TWM658442U (en) 2024-07-21

Family

ID=92930780

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113204322U TWM658442U (en) 2024-04-29 2024-04-29 Power stage circuit

Country Status (1)

Country Link
TW (1) TWM658442U (en)

Similar Documents

Publication Publication Date Title
US11418119B2 (en) Wide switching frequency range switched mode power supply control topology
US10263518B2 (en) System and method for switched power supply with delay measurement
US11088631B2 (en) Three-level DC-DC converter and voltage balancing circuit thereof
US10447160B2 (en) Pulse width control for switching mode power converters
CN105099186B (en) Minimum on-time control for low load DC/DC converter
US7636249B2 (en) Rectifier circuit
US10326365B2 (en) Method and system for increasing efficiency and controlling slew rate in DC-DC converters
US7615982B1 (en) Power converter able to rapidly respond to fast changes in load current
US8525498B2 (en) Average input current limit method and apparatus thereof
US11303197B2 (en) Low pass filter, switch control circuit, driving system, chip and method
TWI593222B (en) Sido power converter for hysteresis current control mode and control method thereof
TW200917632A (en) Comparator type DC-DC converter
US10284086B2 (en) Boost converter and the method thereof
US20130038308A1 (en) Switching power supply apparatus
JP2008263714A (en) Control circuit of dc-dc converter, dc-dc converter and power supply voltage feeding method
JP2011211509A (en) Pwm signal generating circuit and semiconductor integrated circuit with the same
CN110504829B (en) DC-DC conversion circuit and control method thereof
US11677323B2 (en) Progressive power converter drive
TWM658442U (en) Power stage circuit
US11705909B1 (en) Frequency-locked circuit for variable frequency topology and frequency-locked method thereof
CN116488434A (en) Buck-boost converter and control circuit thereof
CN114726209A (en) Feedback circuit with adjustable loop gain for boost converter
JP4955580B2 (en) Switching amplifier
US11929671B2 (en) Current-mode control for multistage interleaved resonant converters
TWI848881B (en) Power converter circuit and control circuit thereof