[go: up one dir, main page]

TWI863849B - Control method of power supply apparatus - Google Patents

Control method of power supply apparatus Download PDF

Info

Publication number
TWI863849B
TWI863849B TW113112643A TW113112643A TWI863849B TW I863849 B TWI863849 B TW I863849B TW 113112643 A TW113112643 A TW 113112643A TW 113112643 A TW113112643 A TW 113112643A TW I863849 B TWI863849 B TW I863849B
Authority
TW
Taiwan
Prior art keywords
power supply
supply device
state
current
moment
Prior art date
Application number
TW113112643A
Other languages
Chinese (zh)
Other versions
TW202529358A (en
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 台達電子企業管理(上海)有限公司
Application granted granted Critical
Publication of TWI863849B publication Critical patent/TWI863849B/en
Publication of TW202529358A publication Critical patent/TW202529358A/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02MAPPARATUS FOR CONVERSION BETWEEN AC AND AC, BETWEEN AC AND DC, OR BETWEEN DC AND DC, AND FOR USE WITH MAINS OR SIMILAR POWER SUPPLY SYSTEMS; CONVERSION OF DC OR AC INPUT POWER INTO SURGE OUTPUT POWER; CONTROL OR REGULATION THEREOF
    • H02M1/00Details of apparatus for conversion
    • H02M1/0003Details of control, feedback or regulation circuits
    • H02M1/0006Arrangements for supplying an adequate voltage to the control circuit of converters
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J4/00Circuit arrangements for mains or distribution networks not specified as AC or DC

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc-Dc Converters (AREA)
  • Direct Current Feeding And Distribution (AREA)

Abstract

The present application provides a control method of a power supply apparatus. The method is applied to a power supply apparatus supplying energy to a load periodically changing between a heavy load and a light load. The working state of the power supply apparatus includes state 1 and state 2 of continuous switching. In the method, a switching time from the current working state to the next different working state is predicted according to the current working state. A control unit issues a control instruction for adjusting an output voltage of the power supply apparatus earlier than the next switching time predicted correspondingly. By enabling active control to intervene before the working state switching, dynamic performance of the power supply apparatus can be improved effectively and the fluctuation range of the output voltage can be reduced.

Description

供電裝置控制方法Power supply device control method

本案涉及電力電子技術領域,尤其涉及一種供電裝置控制方法。 This case involves the field of power electronics technology, and in particular, a method for controlling a power supply device.

供電裝置,例如開關電源通常作為各類用電設備的電源,用於將未調整的交流或直流輸入電壓變換為調整後的交流或直流輸出電壓。由於需要適應於不同的工作條件,對電源的動態響應的性能要求越來越高。好的動態效果要求供電裝置有小的電壓變化以及電壓恢復時間。當負載的功率需求突然大幅度增大或降低時,此時供電裝置的輸出電壓會出現欠壓或過壓,既無法滿足負載的需求,也容易導致負載的損壞。 Power supply devices, such as switching power supplies, are usually used as power sources for various types of electrical equipment to convert unregulated AC or DC input voltage into regulated AC or DC output voltage. Due to the need to adapt to different working conditions, the performance requirements for the dynamic response of power supplies are getting higher and higher. Good dynamic effects require power supply devices to have small voltage changes and voltage recovery time. When the power demand of the load suddenly increases or decreases significantly, the output voltage of the power supply device will be undervoltage or overvoltage, which can not only fail to meet the load demand, but also easily cause damage to the load.

現有技術中,為提高供電裝置應對變化負載的動態性能,常見的控制方法是電壓環或者電流環,但不論是電壓環控制還是電流環控制,均是在輸出電壓突變後才介入控制,當控制訊號作用於開關單元時,輸出電壓的幅值已經發生較大變化,電壓尖峰已經達到一個較高的水平,因此這種控制方式存在著一定的滯後性,只能有限的提升供電裝置的動態性能。 In the prior art, in order to improve the dynamic performance of the power supply device in response to changing loads, the common control method is voltage loop or current loop. However, whether it is voltage loop control or current loop control, the control is only intervened after the output voltage changes suddenly. When the control signal acts on the switch unit, the amplitude of the output voltage has changed greatly, and the voltage peak has reached a relatively high level. Therefore, this control method has a certain lag and can only improve the dynamic performance of the power supply device to a limited extent.

隨著負載端對電源品質的要求不斷提高,如何提高供電裝置的動態響應能力,縮小輸出電壓的波動範圍是亟需解决的問題。 As the load side's requirements for power quality continue to increase, how to improve the dynamic response capability of the power supply device and reduce the fluctuation range of the output voltage is an urgent problem to be solved.

因此,如何發展一種可改善上述習知技術缺陷的供電裝置控制方法,實為目前迫切之需求。 Therefore, how to develop a power supply device control method that can improve the above-mentioned defects of the known technology is an urgent need at present.

本案提供一種供電裝置控制方法,用以解决上述現有技術存在的至少一種缺陷。 This case provides a power supply device control method to solve at least one of the defects of the above-mentioned existing technology.

第一方面,本案提供一種供電裝置控制方法,提供供電裝置,供電裝置包括控制單元;供電裝置工作狀態包括連續切換的狀態一與狀態二;相鄰狀態一與狀態二為一周期,每一周期內狀態一在第一切換時刻向當前周期內狀態二切換;每一周期內狀態二在第二切換時刻向下一周期內狀態一切換;控制方法包括以下步驟:獲取供電裝置當前工作狀態;根據供電裝置當前工作狀態預測由當前工作狀態向下一不同工作狀態切換的切換時刻;控制單元早於對應預測的下一切換時刻發出指令,指令用於調整供電裝置的輸出電壓。 In the first aspect, the present invention provides a power supply device control method, providing a power supply device, the power supply device includes a control unit; the working state of the power supply device includes a state 1 and a state 2 that are switched continuously; the adjacent state 1 and state 2 form a cycle, and in each cycle, state 1 switches to state 2 in the current cycle at the first switching moment; in each cycle, state 2 switches to state 2 in the next cycle at the second switching moment; the control method includes the following steps: obtaining the current working state of the power supply device; predicting the switching moment from the current working state to the next different working state according to the current working state of the power supply device; the control unit issues an instruction earlier than the corresponding predicted next switching moment, and the instruction is used to adjust the output voltage of the power supply device.

在上述技術方案中,供電裝置針對功率需求周期性變化的負載,通過供電裝置的工作狀態提前預測重載與輕載相互切換的時刻,從而提前對供電裝置進行控制,相較於傳統控制方案被動且滯後的缺點,本案揭露的控制方法具有主動且提前的優點,能夠大大改善供電裝置的動態性能,縮小輸出電壓的波動範圍。 In the above technical solution, the power supply device predicts the switching time between heavy load and light load in advance through the working state of the power supply device for loads with periodic changes in power demand, so as to control the power supply device in advance. Compared with the passive and lagging shortcomings of traditional control schemes, the control method disclosed in this case has the advantages of active and advance, which can greatly improve the dynamic performance of the power supply device and reduce the fluctuation range of the output voltage.

可選地,根據供電裝置當前工作狀態預測對應的下一切換時刻步驟包括:獲取當前工作狀態的起始時刻;獲取供電裝置在上一周期內與當前工作狀態相同的工作狀態持續時長;當前工作狀態預測對應的下一切換時刻為當前工作狀態的起始時刻與上一周期內與當前工作狀態相同的工作狀態持續時長之和。 Optionally, the step of predicting the next switching time corresponding to the current working state of the power supply device includes: obtaining the starting time of the current working state; obtaining the duration of the working state of the power supply device that is the same as the current working state in the previous cycle; the next switching time corresponding to the current working state prediction is the sum of the starting time of the current working state and the duration of the working state that is the same as the current working state in the previous cycle.

可選地,獲取當前工作狀態的起始時刻包括:若當前工作狀態為狀態一,則當前工作狀態的起始時刻為上一周期內第二切換時刻;若當前工作狀態為狀態二,則當前工作狀態的起始時刻為當前周期內第一切換時刻。 Optionally, obtaining the starting time of the current working state includes: if the current working state is state one, the starting time of the current working state is the second switching time in the previous cycle; if the current working state is state two, the starting time of the current working state is the first switching time in the current cycle.

可選地,獲取狀態一的持續時長與狀態二的持續時長步驟包括:控制單元按預設時間間隔多次獲取供電裝置的工作狀態;控制單元判斷第a次與第a+1次供電裝置工作狀態是否相同;若第a次與第a+1次供電裝置工作狀態不同,開始計數循環,計數值為x,其中x

Figure 113112643-A0305-02-0005-8
0,計數值x初始值為0;循環執行以下步驟,直至判斷相鄰兩次供電裝置工作狀態不同時,結束循環並獲取當前計數值X,其中X=x+n,n為循環執行次數;獲取相鄰兩次供電裝置工作狀態;判斷相鄰兩次供電裝置工作狀態是否相同; 若相鄰兩次供電裝置工作狀態相同,則計數值x累加,並返回重新獲取相鄰兩次供電裝置工作狀態;若第a+1次獲取供電裝置工作狀態為狀態一時,狀態一的持續時長等於當前計數值X與預設時間間隔的乘積;若第a+1次獲取供電裝置工作狀態為狀態二時,狀態二的持續時長等於當前計數值X與預設時間間隔的乘積。 Optionally, the step of obtaining the duration of state 1 and the duration of state 2 includes: the control unit obtains the working state of the power supply device multiple times at preset time intervals; the control unit determines whether the working state of the power supply device at the ath time and the a+1th time is the same; if the working state of the power supply device at the ath time and the a+1th time is different, a counting cycle is started, and the counting value is x, where x
Figure 113112643-A0305-02-0005-8
0, the initial value of the count value x is 0; loop and execute the following steps until it is determined that the working states of the two adjacent power supply devices are different, then end the loop and obtain the current count value X, where X=x+n, n is the number of times the loop is executed; obtain the working states of the two adjacent power supply devices; determine whether the working states of the two adjacent power supply devices are the same; If the working status of two adjacent power supply devices is the same, the count value x is accumulated and returned to re-obtain the working status of the two adjacent power supply devices; if the working status of the power supply device obtained for the a+1th time is state 1, the duration of state 1 is equal to the product of the current count value X and the preset time interval; if the working status of the power supply device obtained for the a+1th time is state 2, the duration of state 2 is equal to the product of the current count value X and the preset time interval.

可選地,控制單元早於對應預測的下一切換時刻發出指令步驟包括:若當前工作狀態為狀態一,控制單元在第一指令時刻發出指令,第一指令時刻為預測的第一切換時刻減去第一時間;若當前工作狀態為狀態二,控制單元在第二指令時刻發出指令,第二指令時刻為預測的第二切換時刻減去第二時間。 Optionally, the step of the control unit issuing an instruction earlier than the corresponding predicted next switching moment includes: if the current working state is state one, the control unit issues an instruction at a first instruction moment, and the first instruction moment is the predicted first switching moment minus the first time; if the current working state is state two, the control unit issues an instruction at a second instruction moment, and the second instruction moment is the predicted second switching moment minus the second time.

可選地,第一時間與第二時間均為一固定值。 Optionally, the first time and the second time are both fixed values.

可選地,控制單元在第一指令時刻發出指令步驟包括:控制單元在第一指令時刻發出指令步驟包括:獲取當前工作狀態的當前時刻;判斷當前時刻與第一指令時刻的大小;若當前時刻小於或等於第一指令時刻,則返回重新獲取當前工作狀態的當前時刻;若當前時刻大於第一指令時刻,則控制單元發出指令;控制單元在第二指令時刻發出第二指令步驟包括:獲取當前工作狀態的當前時刻;判斷當前時刻與第二指令時刻的大小; 若當前時刻小於或等於第二指令時刻,則返回重新獲取當前工作狀態的當前時刻;若當前時刻大於第二指令時刻,則控制單元發出指令。 Optionally, the control unit issues a command at the first command moment including: the control unit issues a command at the first command moment including: obtaining the current time of the current working state; judging the size of the current time and the first command moment; if the current time is less than or equal to the first command moment, returning to re-obtain the current time of the current working state; if the current time is greater than the first command moment, the control unit issues a command; the control unit issues a second command at the second command moment including: obtaining the current time of the current working state; judging the size of the current time and the second command moment; if the current time is less than or equal to the second command moment, returning to re-obtain the current time of the current working state; if the current time is greater than the second command moment, the control unit issues a command.

可選地,供電裝置工作於狀態一時的輸出電流與供電裝置工作於狀態二時的輸出電流之差的絕對值大於一預設電流閾值。 Optionally, the absolute value of the difference between the output current when the power supply device is operating in state 1 and the output current when the power supply device is operating in state 2 is greater than a preset current threshold.

可選地,供電裝置工作於狀態一時的輸出電流小於供電裝置工作於狀態二時的輸出電流。 Optionally, the output current of the power supply device when operating in state 1 is less than the output current of the power supply device when operating in state 2.

可選地,若供電裝置當前工作狀態為狀態一時,指令用於升高供電裝置輸出電壓;若供電裝置當前工作狀態為狀態二時,指令用於降低供電裝置輸出電壓。 Optionally, if the current working state of the power supply device is state one, the instruction is used to increase the output voltage of the power supply device; if the current working state of the power supply device is state two, the instruction is used to reduce the output voltage of the power supply device.

可選地,獲取供電裝置內包括一預設目標電壓值;若供電裝置當前工作狀態為狀態一時,指令用於使供電裝置輸出電壓等於預設目標電壓值與一第一增益之和;若供電裝置當前工作狀態為狀態二時,指令用於使供電裝置輸出電壓等於預設目標電壓值與一第二增益之差。 Optionally, a preset target voltage value is obtained in the power supply device; if the current working state of the power supply device is state one, the instruction is used to make the output voltage of the power supply device equal to the sum of the preset target voltage value and a first gain; if the current working state of the power supply device is state two, the instruction is used to make the output voltage of the power supply device equal to the difference between the preset target voltage value and a second gain.

可選地,第一增益與第二增益均為固定值。 Optionally, the first gain and the second gain are both fixed values.

可選地,第一增益與第二增益均為供電裝置最大輸出電壓與供電裝置最小輸出電壓之差的設定倍率。 Optionally, the first gain and the second gain are both set multipliers of the difference between the maximum output voltage of the power supply device and the minimum output voltage of the power supply device.

可選地,供電裝置的輸出電流為直流。 Optionally, the output current of the power supply device is direct current.

本案提供的一種供電裝置控制方法,應用於供電裝置,供電裝置工作狀態包括連續切換的狀態一與狀態二,相鄰狀態一與狀態二為一周期,在供電裝置運行的過程中,控制單元獲取供電裝置當前工作狀態,根據供電裝置當前工作狀態預測由當前工作狀態向 下一不同工作狀態切換的切換時刻,並在早於對應預測的下一切換時刻發出指令,以調整供電裝置的輸出電壓,通過在工作狀態切換前介入主動控制,能夠有效提升供電裝置的動態性能,縮小輸出電壓的波動範圍。 A power supply device control method provided in this case is applied to a power supply device. The working state of the power supply device includes a state 1 and a state 2 that are switched continuously. The adjacent state 1 and state 2 form a cycle. During the operation of the power supply device, the control unit obtains the current working state of the power supply device, predicts the switching moment from the current working state to the next different working state according to the current working state of the power supply device, and issues a command earlier than the corresponding predicted next switching moment to adjust the output voltage of the power supply device. By intervening in active control before the working state is switched, the dynamic performance of the power supply device can be effectively improved and the fluctuation range of the output voltage can be reduced.

Vo:輸出電壓 Vo: output voltage

Va、Vmax、Vmin、V1、V2:電壓 Va, Vmax, Vmin, V1, V2: voltage

PWM:脈衝寬度調變驅動訊號 PWM: Pulse Width Modulation drive signal

I_load:輸出電流 I_load: output current

m、n:時刻 m, n: time

X1、X2、Y1、Y2、Z1、Z2、C:時刻 X1, X2, Y1, Y2, Z1, Z2, C: time

T1、T2、t1、t2:時間 T1, T2, t1, t2: time

S01、S02、S021、S022、S0221、S0222、S0223、S0224、S023、S03、S031、S032、S033、S131、S132、S133:步驟 S01, S02, S021, S022, S0221, S0222, S0223, S0224, S023, S03, S031, S032, S033, S131, S132, S133: Steps

此處的附圖被併入說明書中並構成本說明書的一部分,示出了符合本案的實施例,並與說明書一起用於解釋本案的原理。 The drawings herein are incorporated into and constitute a part of the specification, showing embodiments consistent with the present invention, and together with the specification, are used to explain the principles of the present invention.

第1圖為本案根據一示例性實施例提供的供電裝置應用傳統控制所生成的輸出電壓的波形圖。 Figure 1 is a waveform diagram of the output voltage generated by a power supply device using traditional control according to an exemplary embodiment of the present invention.

第2圖為本案根據一示例性實施例提供的供電裝置控制方法的流程示意圖。 Figure 2 is a schematic diagram of the process of the power supply device control method provided in this case according to an exemplary embodiment.

第3圖為本案根據一示例性實施例提供的切換時刻預測方法的流程示意圖。 Figure 3 is a schematic diagram of the process of the switching moment prediction method provided in this case according to an exemplary embodiment.

第4圖為本案根據一示例性實施例提供的狀態持續時長的確定方法的流程示意圖。 Figure 4 is a flowchart of a method for determining the duration of a state provided in this case according to an exemplary embodiment.

第5A圖為本案根據一示例性實施例提供的第一指令時刻發送指令的確定方法的流程示意圖。 Figure 5A is a flowchart of a method for determining the first instruction time to send an instruction according to an exemplary embodiment of this case.

第5B圖為本案根據一示例性實施例提供的第二指令時刻發送指令的確定方法的流程示意圖。 Figure 5B is a flowchart of a method for determining the second instruction time to send an instruction according to an exemplary embodiment of this case.

第6圖為本案根據一示例性實施例提供的供電裝置應用供電裝置控制方法所生成的輸出電壓的波形圖。 Figure 6 is a waveform diagram of the output voltage generated by a power supply device provided in this case according to an exemplary embodiment using a power supply device control method.

通過上述附圖,已示出本案明確的實施例,後文中將有更詳細的描述。這些附圖和文字描述並不是為了通過任何方式限制本案構 思的範圍,而是通過參考特定實施例為本領域技術人員說明本案的概念。 The above-mentioned figures have shown clear implementation examples of this case, which will be described in more detail later. These figures and text descriptions are not intended to limit the scope of the concept of this case in any way, but to explain the concept of this case to technical personnel in this field by referring to specific implementation examples.

這裡將詳細地對示例性實施例進行說明,其示例表示在附圖中。下面的描述涉及附圖時,除非另有表示,不同附圖中的相同數字表示相同或相似的要素。以下示例性實施例中所描述的實施方式並不代表與本案相一致的所有實施方式。相反,它們僅是與如所附發明申請專利範圍中所詳述的、本案的一些方面相一致的裝置和方法的例子。 Exemplary embodiments are described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the attached invention application patent scope.

本案的說明書和發明申請專利範圍及上述附圖中的術語“第一”、“第二”、“第三”“第四”等是用於區別類似的對象,而不必用於描述特定的順序或先後次序。應該理解這樣使用的數據在適當情况下可以互換。例如,在不脫離本文範圍的情况下,第一資訊也可以被稱為第二資訊,類似地,第二資訊也可以被稱為第一資訊。 The terms "first", "second", "third", "fourth", etc. in the description and scope of the invention application of this case and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or precedence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances. For example, without departing from the scope of this article, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as the first information.

取决於語境,如在此所使用的詞語“如果”可以被解釋成為“在……時”或“當……時”或“響應於確定”。 Depending on the context, the word "if" as used herein can be interpreted as "when" or "when" or "in response to a determination".

再者,如同在本文中所使用的,單數形式“一”、“一個”和“該”旨在也包括複數形式,除非上下文中有相反的指示。 Furthermore, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context indicates otherwise.

應當進一步理解,術語“包含”、“包括”表明存在的特徵、步驟、操作、元件、組件、項目、種類、和/或組,但不排除一個或多個其他特徵、步驟、操作、元件、組件、項目、種類、和/或組的存在、出現或添加。 It should be further understood that the terms "include", "comprises" and "includes" indicate the existence of features, steps, operations, elements, components, items, categories, and/or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, items, categories, and/or groups.

此處使用的術語“或”和“和/或”被解釋為包括性的,或意味著任一個或任何組合。因此,“A、B或C”或者“A、B和/或C”意味著“以下任一個:A;B;C;A和B;A和C;B和C;A、B和C”。僅當元件、功能、步驟或操作的組合在某些方式下內在地互相排斥時,才會出現該定義的例外。 The terms "or" and "and/or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, "A, B or C" or "A, B and/or C" means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C". Exceptions to this definition occur only when the combination of elements, functions, steps or operations are inherently mutually exclusive in some manner.

為解決背景技術中提及的技術問題,本案揭露了一種新型的供電裝置控制方法。本案所揭露的控制方法,主要應用於對功率需求周期性變化的負載,以下簡稱重載與輕載,通過提前預測重載與輕載相互切換的時刻,從而提前對供電裝置進行控制,相較於傳統控制方案被動且滯後的缺點,本案揭露的控制方法具有主動且提前的優點,能夠大大改善供電裝置的動態性能,縮小輸出電壓的波動範圍。 In order to solve the technical problems mentioned in the background technology, this case discloses a new power supply device control method. The control method disclosed in this case is mainly applied to loads with periodic changes in power demand, hereinafter referred to as heavy load and light load. By predicting the moment of switching between heavy load and light load in advance, the power supply device is controlled in advance. Compared with the traditional control scheme that is passive and lagging, the control method disclosed in this case has the advantages of being active and advanced, which can greatly improve the dynamic performance of the power supply device and reduce the fluctuation range of the output voltage.

根據負載在不同工作狀態下的不同功率需求,供電裝置的輸出電流也相應變化,由於輸出電流對負載變化的響應速度較快,因此可以利用輸出電流的大小指代負載的工作狀態,輸出電流較小時,代表負載工作於輕載模式,輸出電流較大時,代表負載工作於重載模式。 According to the different power requirements of the load under different working conditions, the output current of the power supply device also changes accordingly. Since the output current responds to load changes quickly, the size of the output current can be used to indicate the working state of the load. When the output current is small, it means that the load is working in light load mode, and when the output current is large, it means that the load is working in heavy load mode.

第1圖為供電裝置應用傳統控制所生成的輸出電壓的波形圖,輸出電壓穩定時,大小為Vo。m時刻,供電裝置的輸出電流I_load從小電流躍升至大電流,代表負載由輕載向重載進行切換,此時輸出電壓已經開始下降,在傳統控制方法下,例如電壓環控制時,只有當輸出電壓下降幅度超過一定閾值時,例如當輸出電壓下降超過Va時,電壓環才會介入電壓的控制,直至n時刻,開關單元的脈衝寬度調變驅動訊號(Pulse Width Modulation,PWM)才 接收到電壓環的控制結果並發生改變,而此時輸出電壓已經下降至Vmin,之後才會逐漸升至Vo。從第1圖可以看出,負載由輕載向重載切換時,驅動訊號PWM做出改變需要的時間為(m-n),輸出電壓下降的幅度為(Vo-Vmin),可以看出傳統的電壓環控制存在的固有缺陷,響應時間長,輸出電壓幅值變化大,動態性能難以滿足需求。同理,在輸出電流I_load從大電流跌落至小電流時,代表負載由重載向輕載進行了切換,由第1圖同樣可以看出,輸出電壓上升至Vmax時,驅動訊號PWM才發生變化,如調頻控制,輸出電壓才從Vmax下降至Vo。因此由第1圖可以發現,傳統的控制方法在應對重載與輕載相互切換的負載時,供電裝置的動態性能較差,容易影響負載的穩定,甚至會損壞負載。 Figure 1 shows the waveform of the output voltage generated by the power supply device using traditional control. When the output voltage is stable, the magnitude is Vo. At time m, the output current I_load of the power supply device jumps from a small current to a large current, indicating that the load switches from a light load to a heavy load. At this time, the output voltage has begun to drop. Under traditional control methods, such as voltage loop control, the voltage loop will intervene in voltage control only when the output voltage drops by more than a certain threshold, for example, when the output voltage drops by more than Va. Until time n, the pulse width modulation drive signal (PWM) of the switching unit receives the control result of the voltage loop and changes. At this time, the output voltage has dropped to Vmin, and then gradually rises to Vo. As can be seen from Figure 1, when the load switches from light load to heavy load, the time required for the drive signal PWM to change is (m-n), and the amplitude of the output voltage drop is (Vo-Vmin). It can be seen that the traditional voltage loop control has inherent defects, such as long response time, large output voltage amplitude change, and dynamic performance that cannot meet the requirements. Similarly, when the output current I_load drops from a large current to a small current, it means that the load has switched from a heavy load to a light load. It can also be seen from Figure 1 that the drive signal PWM will not change until the output voltage rises to Vmax, such as frequency modulation control, and the output voltage will drop from Vmax to Vo. Therefore, it can be found from Figure 1 that the traditional control method has poor dynamic performance of the power supply device when dealing with loads that switch between heavy loads and light loads, which can easily affect the stability of the load and even damage the load.

而本案所揭露的控制方法,通過提前預測重載與輕載相互切換的時刻,從而提前對供電裝置進行控制,相較於傳統控制方案被動且滯後的缺點,本案揭露的控制方法具有主動且提前的優勢,能夠大大改善供電裝置的動態性能,縮小輸出電壓的波動範圍。 The control method disclosed in this case predicts the switching time between heavy load and light load in advance, thereby controlling the power supply device in advance. Compared with the traditional control scheme, which is passive and lagging, the control method disclosed in this case has the advantages of being active and advanced, which can greatly improve the dynamic performance of the power supply device and reduce the fluctuation range of the output voltage.

當負載在重載和輕載之間進行周期性的連續切換時,為其供能的供電裝置也會具有兩個連續切換的工作狀態,如連續切換的狀態一與狀態二,狀態一與狀態二可以對應於負載的輕載與重載,狀態一與狀態二也可分別對應於負載的重載與輕載,本案對此不做限制。在案中,為方便說明,狀態一與狀態二對應於負載的輕載與重載,即供電裝置工作於狀態一時,輸出小電流,供電裝置工作於狀態二時,輸出大電流,且相鄰的狀態一和狀態二形成供電裝置的一個周期。在實際過程中,由於輸出電流難以做到恆定值,穩定輸出的情况下,輸出電流也會有一定的紋波,因此只有當輸 出電流的變化大於一預設電流閾值時,才會認定供電裝置的工作狀態發生了切換。 When the load switches between heavy load and light load periodically and continuously, the power supply device that supplies energy to it will also have two continuously switched working states, such as continuously switched state 1 and state 2. State 1 and state 2 can correspond to light load and heavy load of the load, and state 1 and state 2 can also correspond to heavy load and light load of the load respectively. This case does not limit this. In the case, for the convenience of explanation, state 1 and state 2 correspond to light load and heavy load of the load, that is, when the power supply device works in state 1, it outputs a small current, and when the power supply device works in state 2, it outputs a large current, and the adjacent state 1 and state 2 form a cycle of the power supply device. In actual process, since it is difficult to achieve a constant output current, the output current will also have certain ripples under stable output conditions. Therefore, only when the output current change is greater than a preset current threshold value, it will be determined that the working state of the power supply device has switched.

在每一個周期中,包括第一切換時刻與第二切換時刻,在第一切換時刻,供電裝置從狀態一向狀態二切換,在第二切換時刻,供電裝置從狀態二向下一周期的狀態一切換。 In each cycle, there is a first switching moment and a second switching moment. At the first switching moment, the power supply device switches from state 1 to state 2. At the second switching moment, the power supply device switches from state 2 to state 1 of the next cycle.

由於負載的功率需求是周期性變化的,因此可以通過預測負載輕載與重載的切換時刻,提前讓供電裝置做出應對輸出電壓躍升或跌落的相應準備,從而避免輸出電壓產生較大的波動。 Since the power demand of the load changes periodically, the switching moment between light load and heavy load can be predicted, so that the power supply device can make corresponding preparations in advance to deal with the output voltage jump or drop, thereby avoiding large fluctuations in the output voltage.

在實際操作中,由於負載對功率需求的周期性變化導致供電裝置工作狀態的周期性變化,因此可以直接通過預測供電裝置在每一個周期中的切換時刻,就可以使供電裝置內的控制單元早於預測的切換時刻發出指令,提前調整供電裝置的輸出電壓。 In actual operation, the periodic change of the load's power demand leads to the periodic change of the working state of the power supply device. Therefore, by directly predicting the switching moment of the power supply device in each cycle, the control unit in the power supply device can issue instructions earlier than the predicted switching moment and adjust the output voltage of the power supply device in advance.

在一些實施例中,控制方法包括以下步驟,如第2圖所示,其中步驟前的標號只是一種較佳的順序,實際並不以此為限:S01:獲取供電裝置的當前工作狀態;S02:根據供電裝置當前工作狀態,預測向下一個不同工作狀態切換的切換時刻;S03:根據預測的切換時刻,控制單元早於預測切換時刻發出控制指令,主動調整供電裝置的輸出電壓。 In some embodiments, the control method includes the following steps, as shown in FIG. 2, wherein the numbers before the steps are only a preferred order and are not limited thereto: S01: obtaining the current working state of the power supply device; S02: predicting the switching moment to the next different working state according to the current working state of the power supply device; S03: according to the predicted switching moment, the control unit issues a control instruction earlier than the predicted switching moment to actively adjust the output voltage of the power supply device.

對於步驟S01:在一些實施例中,供電裝置內的採樣單元會按照一定採樣頻率持續對供電裝置的輸出電流進行採樣,一旦前後兩次採樣的輸出電流之差大於設定的電流閾值,則判斷供電裝置切換了工作狀態,並且在下一次切換前,供電裝置內的控制單元會持續記錄當前的 工作狀態。例如,當前後兩次採樣的輸出電流之差大於設定的電流閾值時,再判斷前後兩次的電流大小,若前次採樣的輸出電流小於後次採樣的輸出電流,則代表供電裝置的工作狀態從狀態一切換到了狀態二,在發生下次切換前,控制單元會一直記錄供電裝置的工作狀態為狀態二,當需要進行步驟S02時,可直接從控制單元內獲取到供電裝置的當前工作狀態為狀態二。 Regarding step S01: In some embodiments, the sampling unit in the power supply device continuously samples the output current of the power supply device at a certain sampling frequency. Once the difference between the output currents of two previous and subsequent samples is greater than the set current threshold, it is determined that the power supply device has switched the working state, and before the next switch, the control unit in the power supply device will continuously record the current working state. For example, when the difference between the output currents sampled twice is greater than the set current threshold, the current magnitudes of the two times are judged. If the output current sampled previously is less than the output current sampled later, it means that the working state of the power supply device has been switched from state one to state two. Before the next switch occurs, the control unit will always record the working state of the power supply device as state two. When step S02 is required, the current working state of the power supply device can be directly obtained from the control unit as state two.

在另一些實施例中,供電裝置的工作狀態可以通過實時採樣供電裝置的輸出電流獲取,例如可以設置一標準電流值,當採樣得到的實時輸出電流小於標準電流值時,則判斷當前工作狀態為狀態一,負載處於輕載工作狀態,當採樣得到的實時輸出電流大於標準電流時,則判斷當前工作狀態為狀態二,負載處於重載工作狀態。 In other embodiments, the working state of the power supply device can be obtained by real-time sampling of the output current of the power supply device. For example, a standard current value can be set. When the real-time output current obtained by sampling is less than the standard current value, it is judged that the current working state is state one, and the load is in a light-load working state. When the real-time output current obtained by sampling is greater than the standard current, it is judged that the current working state is state two, and the load is in a heavy-load working state.

對於步驟S02:在一些實施例中,在獲取供電裝置當前的工作狀態後,即可根據當前工作狀態預測向下一不同工作狀態的切換時刻。例如,若當前工作狀態為狀態一,則預測向狀態二切換的第一切換時刻,若當前工作狀態為狀態二,則預測向狀態一切換的第二切換時刻。 For step S02: In some embodiments, after obtaining the current working state of the power supply device, the switching moment to the next different working state can be predicted according to the current working state. For example, if the current working state is state one, the first switching moment to switch to state two is predicted, and if the current working state is state two, the second switching moment to switch to state one is predicted.

對於步驟S03:在一些實施例中,控制單元會提前於預測切換時刻發出動作指令,以提前主動控制供電裝置的輸出電壓。例如,若當前狀態為狀態一,則預測切換時刻為預測第一切換時刻,意味著負載將在預測第一切換時刻由輕載跳向重載,輸出電壓將在預測第一切換時刻發生跌落,因此控制單元將提前於預測第一切換時刻,主動將輸出電壓升高,以避免第一切換時刻實際到來後輸出電壓下降 至較低的電壓值,例如第1圖所示的Vmin。類似的,若當前狀態為狀態二,則控制單元將提前於預測第二切換時刻,主動將輸出電壓降低,以避免第二切換時刻實際到來後輸出電壓上升至較高的電壓值,例如第1圖所示的Vmax。 For step S03: In some embodiments, the control unit will issue an action command in advance of the predicted switching moment to actively control the output voltage of the power supply device in advance. For example, if the current state is state 1, the predicted switching moment is the predicted first switching moment, which means that the load will jump from light load to heavy load at the predicted first switching moment, and the output voltage will drop at the predicted first switching moment. Therefore, the control unit will actively increase the output voltage in advance of the predicted first switching moment to avoid the output voltage dropping to a lower voltage value after the first switching moment actually arrives, such as Vmin shown in Figure 1. Similarly, if the current state is state 2, the control unit will proactively reduce the output voltage in advance of the predicted second switching moment to prevent the output voltage from rising to a higher voltage value, such as Vmax shown in Figure 1, after the second switching moment actually arrives.

通過提前主動控制輸出電壓,能夠使得供電裝置的輸出電壓波動範圍明顯小於傳統被動的控制方法。 By actively controlling the output voltage in advance, the output voltage fluctuation range of the power supply device can be significantly smaller than the traditional passive control method.

下面結合第3圖對上述步驟S02的具體執行方式進行說明。 The specific execution method of the above step S02 is explained below in conjunction with Figure 3.

對於步驟S02,如第3圖所示,其具體包括以下步驟:S021:獲取當前工作狀態的起始時刻;S022:獲取供電裝置上一次處於與當前工作狀態相同工作狀態的持續時長;S023:計算得到當前工作狀態對應的預測切換時刻。 As for step S02, as shown in Figure 3, it specifically includes the following steps: S021: obtaining the starting time of the current working state; S022: obtaining the duration of the power supply device being in the same working state as the current working state last time; S023: calculating the predicted switching time corresponding to the current working state.

下面結合第6圖對上述步驟進行說明:第6圖示意性的示出了供電裝置的兩個工作周期,為便於說明,0-Y1為第一個周期,Y1-Y2為第二個周期,其中X1代表第一個周期中的第一切換時刻,Y1代表了第一個周期中的第二切換時刻,同理X2代表第二個周期中的第一切換時刻,Y2代表了第二個周期中的第二切換時刻。其中,0、X1、Y1、X2、Y2與C均代表時刻,第6圖中T1,T2,t1與t2均代表時間。 The above steps are explained below in conjunction with Figure 6: Figure 6 schematically shows two working cycles of the power supply device. For ease of explanation, 0-Y1 is the first cycle, and Y1-Y2 is the second cycle, where X1 represents the first switching moment in the first cycle, and Y1 represents the second switching moment in the first cycle. Similarly, X2 represents the first switching moment in the second cycle, and Y2 represents the second switching moment in the second cycle. Among them, 0, X1, Y1, X2, Y2 and C all represent moments, and T1, T2, t1 and t2 in Figure 6 all represent time.

在步驟S01過程後,供電裝置當前工作狀態可能位於第6圖所示的任意位置,為便於說明,假設步驟S01過程後,供電裝置當前工作狀態為時刻C對應的狀態一,該狀態位於第二個工作周期Y1-X2; 則步驟S021可以確認當前工作狀態的起始時刻為第一個周期中的第二切換時刻Y1;步驟S022:根據第6圖可以看出,供電裝置上一次處於狀態一時,位於第一周期的區間0-X1內,由圖可看出其持續時長為T1;步驟S023,根據當前工作狀態的起始時刻Y1及上一次狀態一的持續時長為T1,可以預測得到,供電裝置將在(Y1+T1)時刻,向狀態二進行切換,即預測的第一切換時刻將發生在(Y1+T1)時刻。 After step S01, the current working state of the power supply device may be located at any position shown in FIG. 6. For the sake of explanation, it is assumed that after step S01, the current working state of the power supply device is state 1 corresponding to moment C, which is located in the second working cycle Y1-X2; then step S021 can confirm that the starting moment of the current working state is the second switching moment Y1 in the first cycle; step S022: according to FIG. 6 It can be seen that the last time the power supply device was in state 1, it was within the interval 0-X1 of the first cycle, and the figure shows that its duration is T1; step S023, according to the starting moment Y1 of the current working state and the duration of the last state 1 is T1, it can be predicted that the power supply device will switch to state 2 at the moment (Y1+T1), that is, the predicted first switching moment will occur at the moment (Y1+T1).

若步驟S01過程後,供電裝置當前工作狀態為狀態二,且位於第二個工作周期X2-Y2時,則對應的當前狀態起始時刻則為X2,上一次位於狀態二時的持續時長為第一周期的區間X1-Y1的持續時長T2,則對應預測的第二切換時刻將發生在(X2+T2)時刻。 If after step S01, the current working state of the power supply device is state 2 and is in the second working cycle X2-Y2, then the corresponding current state start time is X2, and the duration of the last time it was in state 2 is the duration T2 of the interval X1-Y1 of the first cycle, then the corresponding predicted second switching time will occur at (X2+T2).

下面結合第4圖進一步說明如何獲取獲狀態一或狀態二的持續時長。 The following further explains how to obtain the duration of state 1 or state 2 in conjunction with Figure 4.

如前所述,供電裝置內的採樣單元會按照一定採樣頻率或一預設時間間隔m持續對供電裝置的輸出電流進行採樣,一旦前後兩次採樣的輸出電流之差大於設定的電流閾值,則判斷供電裝置切換了工作狀態,若前後兩次輸出電流之差小於或等於設定的電流閾值,則代表供電裝置保持前次工作狀態。基於該方案,控制單元內設有一計數值x,計數值x初始值為0,用於獲取狀態一或狀態二的持續時長,具體方式如下:獲取前後相鄰兩次供電裝置的工作狀態,為便於說明,如第a次與第a+1次,若第a次與第a+1次輸出電流之差大於設定的電流 閾值,則循環執行以下步驟,直至相鄰兩次輸出電流之差,如第a+n次與第a+n+1次再次大於設定的電流閾值:S0221:獲取相鄰兩次供電裝置的工作狀態;S0222:判斷相鄰兩次供電裝置工作狀態是否相同;S0223:若相鄰兩次供電裝置功能做狀態相同,則計數值x累加,並返回步驟S0221;例如,若第a+1次與第a+2次採樣的輸出電流之差小於或等於設定的電流閾值,即供電裝置第a+1次與第a+2次的工作狀態相同,則x的值加1,並返回獲取第a+2次與第a+3次採樣的輸出電流之差,進而判斷供電裝置的工作狀態是否相同,直至第a+n次與第a+n+1次採樣的輸出電流之差大於設定的電流閾值時,則判斷循環結束,進入步驟S0224:獲取當前計數值X,此時已經歷了n次循環,因此當前計數值X=x+n,若第a+1次獲取所述供電裝置工作狀態為狀態一,則狀態一的持續時長即為X與預設時間間隔m的乘積X*m,若第a+1次獲取所述供電裝置工作狀態為狀態二,則狀態二的持續時長即為X與預設時間間隔m的乘積X*m。 As mentioned above, the sampling unit in the power supply device will continuously sample the output current of the power supply device at a certain sampling frequency or a preset time interval m. Once the difference between the output currents of two previous samples is greater than the set current threshold, it is determined that the power supply device has switched its working state. If the difference between the output currents of two previous samples is less than or equal to the set current threshold, it means that the power supply device maintains the previous working state. Based on this scheme, a count value x is set in the control unit, and the initial value of the count value x is 0, which is used to obtain the duration of state 1 or state 2. The specific method is as follows: obtain the working status of the two adjacent power supply devices before and after. For the convenience of explanation, for example, if the difference between the output current of the ath time and the a+1th time is greater than the set current threshold, then the following steps are executed in a loop until the difference between the output currents of the two adjacent times is greater than the set current threshold. If the a+nth and a+n+1th currents are greater than the set current threshold again: S0221: obtain the working status of the two adjacent power supply devices; S0222: determine whether the working status of the two adjacent power supply devices is the same; S0223: if the function status of the two adjacent power supply devices is the same, the count value x is accumulated and the process returns to step S0221; for example, if the output current sampled a+1th and a+2th times is greater than the set current threshold again: S0221: obtain the working status of the two adjacent power supply devices; S0222: determine whether the working status of the two adjacent power supply devices is the same; S0223: if the function status of the two adjacent power supply devices is the same, the count value x is accumulated and the process returns to step S0221; for example, if the output current sampled a+1th and a+2th times is greater than the set current threshold again: If the difference is less than or equal to the set current threshold, that is, the working state of the power supply device for the a+1th time and the a+2th time is the same, then the value of x is increased by 1, and the difference between the output currents sampled for the a+2th time and the a+3th time is returned to determine whether the working state of the power supply device is the same, until the difference between the output currents sampled for the a+nth time and the a+n+1th time is greater than the set current threshold, the loop is determined to be terminated and the process goes to step S0. 224: Get the current count value X. At this time, n cycles have been experienced, so the current count value X=x+n. If the working state of the power supply device obtained for the a+1th time is state 1, the duration of state 1 is the product of X and the preset time interval m, X*m. If the working state of the power supply device obtained for the a+1th time is state 2, the duration of state 2 is the product of X and the preset time interval m, X*m.

在一些實施例中,可以設置兩個計數值p與q,分別用來記錄狀態一與狀態二的持續時長。 In some embodiments, two count values p and q can be set to record the duration of state 1 and state 2 respectively.

通過上述方法,即可獲取第6圖中所示的狀態一持續時長T1與狀態二持續時長T2。 Through the above method, the duration T1 of state 1 and the duration T2 of state 2 shown in Figure 6 can be obtained.

下面結合第6圖對上述步驟S03的具體執行方式進行說明:如第6圖所示,假設當前工作狀態為狀態一,且位於Y1-X2區間內,根據步驟S02得到預測的第一切換時刻位於X2,則步驟S03 會提前於預測的第一切換時刻X2確定第一指令時刻Z1,如第6圖所示,第一指令時刻Z1與預測的第一切換時刻X2相差第一時間t1。 The specific execution method of the above step S03 is explained below in conjunction with Figure 6: As shown in Figure 6, assuming that the current working state is state 1 and is located in the Y1-X2 interval, and the first switching moment predicted by step S02 is located at X2, then step S03 will determine the first instruction moment Z1 in advance of the predicted first switching moment X2. As shown in Figure 6, the first instruction moment Z1 differs from the predicted first switching moment X2 by a first time t1.

同樣地,若當前工作狀態為狀態二,且位於X2-Y2區間內,則根據步驟S02得到預測的第二切換時刻位於Y2,則步驟S03會提前於預測的第二切換時刻Y2確定第二指令時刻Z2,如第6圖所示,第二指令時刻Z2與預測的第二切換時刻Y2相差第二時間t2。 Similarly, if the current working state is state 2 and is within the X2-Y2 interval, then the second switching moment predicted in step S02 is at Y2, and step S03 will determine the second instruction moment Z2 in advance of the predicted second switching moment Y2. As shown in FIG. 6, the second instruction moment Z2 differs from the predicted second switching moment Y2 by a second time t2.

在一些實施例中,t1與t2大小相同。 In some embodiments, t1 and t2 are the same size.

在一些實施例中,t1與t2可以是預設的固定值。 In some embodiments, t1 and t2 may be preset fixed values.

在第一指令時刻Z1與第二指令時刻Z2,控制單元會對應發出對應指令用於調整供電裝置的輸出電壓,通過將第一指令時刻Z1與第二指令時刻Z2分別設置在對應預測的第一切換時刻X2與預測的第二切換時刻Y2前,能夠進一步提升供電裝置應對輸出電壓突變狀况的主動性,進而提升供電裝置的動態性能,控制降低供電裝置輸出電壓的波動幅度。 At the first instruction moment Z1 and the second instruction moment Z2, the control unit will issue corresponding instructions to adjust the output voltage of the power supply device. By setting the first instruction moment Z1 and the second instruction moment Z2 before the corresponding predicted first switching moment X2 and the predicted second switching moment Y2, respectively, the power supply device can be more proactive in responding to sudden changes in output voltage, thereby improving the dynamic performance of the power supply device and controlling and reducing the fluctuation amplitude of the output voltage of the power supply device.

在確定第一指令時刻Z1或第二指令時刻Z2後,還需要實時判斷周期內的當前時刻是否達到第一指令時刻Z1,具體來說包括:若當前時刻的工作狀態為狀態一,則如第5A圖所示,執行以下步驟:S031:獲取當前工作狀態的當前時刻;S032:判斷當前時刻與第一指令時刻Z1的大小; S033:若當前時刻小於或等於第一指令時刻Z1,則返回步驟S031;若當前時刻大於第一指令時刻Z1,則控制單元發出對應指令。 After determining the first instruction moment Z1 or the second instruction moment Z2, it is also necessary to determine in real time whether the current moment in the cycle reaches the first instruction moment Z1. Specifically, it includes: if the working state of the current moment is state 1, as shown in Figure 5A, execute the following steps: S031: obtain the current moment of the current working state; S032: determine the size of the current moment and the first instruction moment Z1; S033: if the current moment is less than or equal to the first instruction moment Z1, return to step S031; if the current moment is greater than the first instruction moment Z1, the control unit issues a corresponding instruction.

若當前時刻的工作狀態為狀態二,則如第5B圖所示,執行以下步驟:S131:獲取當前工作狀態的當前時刻;S132:判斷當前時刻與第二指令時刻Z2的大小;S133:若當前時刻小於或等於第二指令時刻Z2,則返回步驟S131;若當前時刻大於第二指令時刻Z2,則控制單元發出對應指令。 If the current working state is state 2, as shown in Figure 5B, the following steps are executed: S131: Get the current working state of the current moment; S132: Determine the size of the current moment and the second instruction moment Z2; S133: If the current moment is less than or equal to the second instruction moment Z2, return to step S131; if the current moment is greater than the second instruction moment Z2, the control unit issues a corresponding instruction.

參考第6圖,若當前工作狀態為狀態一,且位於Y1-X2區間內,則需要判斷當前時刻與第一指令時刻Z1的大小,若當前時刻小於或等於第一時刻Z1,則返回重新獲取實時更新的當前時刻,若當前時刻大於第一指令時刻Z1,意味著控制單元需要發出對應指令;若當前工作狀態為狀態二,則需要判斷當前時刻與第二指令時刻Z2的大小,若當前時刻小於或等於第二指令時刻Z2,則返回重新獲取實時更新的當前時刻,若當前時刻大於第二指令時刻Z2,意味著控制單元需要發出對應指令。 Referring to Figure 6, if the current working state is state 1 and is within the Y1-X2 interval, it is necessary to determine the size of the current moment and the first instruction moment Z1. If the current moment is less than or equal to the first instruction moment Z1, it returns to re-obtain the current moment updated in real time. If the current moment is greater than the first instruction moment Z1, it means that the control unit needs to issue a corresponding instruction. If the current working state is state 2, it is necessary to determine the size of the current moment and the second instruction moment Z2. If the current moment is less than or equal to the second instruction moment Z2, it returns to re-obtain the current moment updated in real time. If the current moment is greater than the second instruction moment Z2, it means that the control unit needs to issue a corresponding instruction.

在另一些實施例中,還可以直接利用計數值x的大小進行時刻的比較。計數值x乘以與相同預設時間間隔m後即為工作狀態的持續時間,由於計數值x是實時更新的,因此也可以利用計數值x的實時值作為判斷時刻的參考因數。 In other embodiments, the magnitude of the count value x can also be used directly to compare the time. The count value x multiplied by the same preset time interval m is the duration of the working state. Since the count value x is updated in real time, the real-time value of the count value x can also be used as a reference factor for determining the time.

參考第6圖,若當前時刻工作狀態為狀態一,且位於區間Y1-X2內,假設利用計數值x對第一個周期0-X1內的狀態一進行計時 得到T1的大小為K,則在當前時刻下,預測的第一切換時刻轉化為計數值x即為K,再減去一第一時間t1即為第一指令時刻Z1,此時t1也可以用計數值x的單位表示,例如可以令第一時間t1等效的計數值為5,則第一指令時刻Z1轉換為計數值x的單位時其大小即為(K-5);然後將當前時刻的當前計數值X與(K-5)的大小進行循環比較,若當前計數值X小於(K-5),則計數值x繼續累加,隨著循環次數增加,當控制單元判斷當前計數值X大於(K-5)時,則控制單元發出對應指令,主動升高輸出電壓。同理,當前時刻工作狀態為狀態二時的方式與狀態一類似,此處不再贅述。 Referring to Figure 6, if the current working state is state 1 and is within the interval Y1-X2, assuming that the count value x is used to time state 1 within the first cycle 0-X1, the size of T1 is K. Then, at the current moment, the predicted first switching moment is converted into the count value x, which is K, and then the first time t1 is subtracted to obtain the first instruction moment Z1. At this time, t1 can also be expressed in the unit of the count value x. For example, the first time t 1 is equivalent to a count value of 5, so when the first instruction moment Z1 is converted into the unit of count value x, its size is (K-5); then the current count value X of the current moment is compared with (K-5) in a loop. If the current count value X is less than (K-5), the count value x continues to accumulate. As the number of cycles increases, when the control unit determines that the current count value X is greater than (K-5), the control unit issues a corresponding instruction to actively increase the output voltage. Similarly, the method when the current working state is state 2 is similar to state 1, and will not be repeated here.

請繼續參考第6圖,以說明控制單元在第一指令時刻Z1與第二指令時刻Z2時具體的控制方式。 Please continue to refer to Figure 6 to explain the specific control method of the control unit at the first instruction moment Z1 and the second instruction moment Z2.

在第一指令時刻Z1,控制單元會控制升高供電裝置的輸出電壓,如將供電裝置的輸出電壓升高至預設的目標電壓值Vo加上第一增益之和;在第二指令時刻Z2,控制單元會控制降低供電裝置的輸出電壓,如將供電裝置的輸出電壓降低至預設的目標電壓值Vo減去第二增益之和。 At the first instruction moment Z1, the control unit will control the output voltage of the power supply device to increase, such as increasing the output voltage of the power supply device to the sum of the preset target voltage value Vo plus the first gain; at the second instruction moment Z2, the control unit will control the output voltage of the power supply device to decrease, such as decreasing the output voltage of the power supply device to the preset target voltage value Vo minus the sum of the second gain.

參考第6圖,0-Y1區間是未利用本案揭露的控制方法控制時輸出電壓,通過PWM波形可以看出,其在工作狀態發生切換後才開始控制動作,如調頻控制,導致輸出電壓的最大值為Vmax,最小值為Vmin;而在Y1-Y2區間內,利用本案揭露的控制方法,通過PWM波形可以看出,在工作狀態切換前,於第一指令時刻Z1與第二指令時刻Z2就已經介入主動控制,如調頻控制,當然 也可以是調占空比,本案對此不設限,通過提前介入主動控制,使得電壓波動幅值僅為(V1-V2),相較於(Vmax-Vmin),電壓的波動範圍明顯降低,有效增大了供電裝置的動態性能。 Referring to Figure 6, the 0-Y1 interval is the output voltage when the control method disclosed in this case is not used for control. It can be seen from the PWM waveform that the control action is started only after the working state is switched, such as frequency modulation control, resulting in the maximum value of the output voltage being Vmax and the minimum value being Vmin; and in the Y1-Y2 interval, using the control method disclosed in this case, it can be seen from the PWM waveform that before the working state is switched, active control has been involved at the first instruction moment Z1 and the second instruction moment Z2, such as frequency modulation control, of course It can also be duty cycle adjustment. This case does not limit this. By intervening in active control in advance, the voltage fluctuation amplitude is only (V1-V2). Compared with (Vmax-Vmin), the voltage fluctuation range is significantly reduced, effectively increasing the dynamic performance of the power supply device.

在一些實施例中,第一增益與第二增益均為固定值;在一些實施例中,第一增益與第二增益均為供電裝置最大輸出電壓與最小輸出電壓之差的設定倍率,例如為(Vmax-Vmin)的30%。 In some embodiments, the first gain and the second gain are both fixed values; in some embodiments, the first gain and the second gain are both set multiples of the difference between the maximum output voltage and the minimum output voltage of the power supply device, for example, 30% of (Vmax-Vmin).

在一些實施例中,供電裝置輸出電流為直流。供電裝置包括但不限於直流變直流(Direct Current Direct Current,DCDC)變換器,交流變直流(Alternating Current Direct Current,ACDC)變換器,供電裝置的拓撲架構包括但不限於LLC架構。 In some embodiments, the output current of the power supply device is direct current. The power supply device includes but is not limited to a direct current to direct current (DCDC) converter and an alternating current to direct current (ACDC) converter. The topology of the power supply device includes but is not limited to an LLC architecture.

需要說明的是,由於本案揭露的控制方法需要利用上一周期的相關參數,例如狀態的持續時間,因此在供電裝置啟機後的第一個周期內,本案的空內置方法無法立即介入,如第6圖中0-Y1區間所示。 It should be noted that since the control method disclosed in this case needs to use the relevant parameters of the previous cycle, such as the duration of the state, the empty built-in method of this case cannot intervene immediately in the first cycle after the power supply device is started, as shown in the 0-Y1 interval in Figure 6.

需要說明的是,供電裝置在投入工作一段時間後,負載的狀態發生進一步變化,例如負載的功率需求變得更大,原來的重載變成輕載,並且增加了一個更大功率需求的重載狀態時,本控制方法同樣適用,在該狀態下,可將變化後的重載視為狀態一,更大功率需求的重載視為狀態二,即可與本控制方法相匹配。 It should be noted that after the power supply device has been put into operation for a period of time, the load state changes further, for example, the power demand of the load becomes larger, the original heavy load becomes light load, and a heavy load state with a larger power demand is added, the control method is also applicable. In this state, the changed heavy load can be regarded as state one, and the heavy load with a larger power demand can be regarded as state two, which can match the control method.

本案揭露的控制方法是當前周期根據上一周期的狀態來做出預測及對應的主動控制,因此本方法可以使用於各種對功率需求周期變化的負載,具有廣泛的適用性。應用該控制方法後,供電裝置的電路響應時間大大縮短,接近於零,且即便負載本身功率需 求的周期發生了變化,也可以自適應的進行調整,可以實現供電裝置的全數字化控制,極大的提高了供電裝置的工作性能。 The control method disclosed in this case is to make predictions and corresponding active control in the current cycle based on the status of the previous cycle. Therefore, this method can be used for various loads with cyclical changes in power demand and has wide applicability. After applying this control method, the circuit response time of the power supply device is greatly shortened to close to zero, and even if the cycle of the load's own power demand changes, it can be adjusted adaptively, which can realize full digital control of the power supply device and greatly improve the working performance of the power supply device.

本領域技術人員在考慮說明書及實踐這裡公開的發明後,將容易想到本案的其它實施方案。本案旨在涵蓋本案的任何變型、用途或者適應性變化,這些變型、用途或者適應性變化遵循本案的一般性原理並包括本案未公開的本技術領域中的公知常識或慣用技術手段。說明書和實施例僅被視為示例性的,本案的真正範圍和精神由下面的發明申請專利範圍指出。 After considering the specification and practicing the invention disclosed herein, the skilled person in the art will easily think of other implementation schemes of the present invention. The present invention is intended to cover any variation, use or adaptation of the present invention, which follows the general principles of the present invention and includes common knowledge or conventional technical means in the field of technology not disclosed in the present invention. The specification and embodiments are to be regarded as exemplary only, and the true scope and spirit of the present invention are indicated by the scope of the invention application below.

應當理解的是,本案並不局限於上面已經描述並在附圖中示出的精確結構,並且可以在不脫離其範圍進行各種修改和改變。本案的範圍僅由所附的發明申請專利範圍來限制。 It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is limited only by the scope of the attached invention application patent.

S01、S02、S03:步驟 S01, S02, S03: Steps

Claims (14)

一種供電裝置控制方法,其中, 提供一供電裝置,該供電裝置包括一控制單元; 該供電裝置工作狀態包括連續切換的狀態一與狀態二; 相鄰狀態一與狀態二爲一周期,每一該周期內狀態一在第一切換時刻向當前該周期內狀態二切換;每一該周期內狀態二在第二切換時刻向下一該周期內狀態一切換; 該控制方法包括以下步驟: 獲取該供電裝置當前工作狀態; 根據該供電裝置當前工作狀態預測由該當前工作狀態向下一不同工作狀態切換的切換時刻; 該控制單元早於對應預測的下一切換時刻發出指令,該指令用於調整該供電裝置的輸出電壓。 A power supply device control method, wherein, a power supply device is provided, the power supply device includes a control unit; the working state of the power supply device includes a state 1 and a state 2 that are switched continuously; adjacent states 1 and 2 form a cycle, and state 1 in each cycle switches to state 2 in the current cycle at the first switching moment; and state 2 in each cycle switches to the next state in the next cycle at the second switching moment; the control method includes the following steps: obtaining the current working state of the power supply device; predicting the switching moment of switching from the current working state to the next different working state according to the current working state of the power supply device; the control unit issues an instruction earlier than the corresponding predicted next switching moment, and the instruction is used to adjust the output voltage of the power supply device. 如請求項1之供電裝置控制方法,其中, 根據該供電裝置當前工作狀態預測對應的下一切換時刻的步驟包括: 獲取該當前工作狀態的起始時刻; 獲取該供電裝置在上一該周期內與該當前工作狀態相同的工作狀態持續時長; 該當前工作狀態預測對應的下一切換時刻爲該當前工作狀態的起始時刻與該上一該周期內與該當前工作狀態相同的工作狀態持續時長之和。 The power supply device control method of claim 1, wherein, The step of predicting the next switching moment corresponding to the current working state of the power supply device includes: Obtaining the starting moment of the current working state; Obtaining the duration of the working state of the power supply device that is the same as the current working state in the previous cycle; The next switching moment corresponding to the current working state prediction is the sum of the starting moment of the current working state and the duration of the working state that is the same as the current working state in the previous cycle. 如請求項2之供電裝置控制方法,其中, 該獲取該當前工作狀態的起始時刻包括: 若該當前工作狀態爲狀態一,則該當前工作狀態的起始時刻爲上一該周期內第二切換時刻; 若該當前工作狀態爲狀態二,則該當前工作狀態的起始時刻爲當前該周期內第一切換時刻。 As in claim 2, the power supply device control method, wherein, the starting time of obtaining the current working state includes: if the current working state is state 1, the starting time of the current working state is the second switching time in the previous cycle; if the current working state is state 2, the starting time of the current working state is the first switching time in the current cycle. 如請求項2之供電裝置控制方法,其中, 獲取狀態一的持續時長與狀態二的持續時長的步驟包括: 該控制單元按一預設時間間隔多次獲取該供電裝置的工作狀態; 該控制單元判斷第a次與第a+1次該供電裝置工作狀態是否相同; 若第a次與第a+1次該供電裝置工作狀態不同,開始計數循環,計數值爲x,其中x≥0,該計數值x初始值爲0; 循環執行以下步驟,直至判斷相鄰兩次該供電裝置工作狀態不同時,結束循環並獲取當前計數值X,其中X=x+n,n爲循環執行次數: 獲取相鄰兩次該供電裝置工作狀態; 判斷相鄰兩次該供電裝置工作狀態是否相同; 若相鄰兩次該供電裝置工作狀態相同,則計數值x累加,並返回重新獲取相鄰兩次該供電裝置工作狀態; 若該第a+1次獲取該供電裝置工作狀態爲狀態一時,狀態一的持續時長等於該當前計數值X與該預設時間間隔的乘積;若該第a+1次獲取該供電裝置工作狀態爲狀態二時,狀態二的持續時長等於該當前計數值X與該預設時間間隔的乘積。 As in claim 2, the power supply device control method, wherein, the step of obtaining the duration of state 1 and the duration of state 2 includes: the control unit obtains the working state of the power supply device multiple times at a preset time interval; the control unit determines whether the working state of the power supply device at the ath time and the a+1th time is the same; if the working state of the power supply device at the ath time and the a+1th time is different, start a counting loop, the counting value is x, where x≥0, and the initial value of the counting value x is 0; the following steps are executed in a loop until it is determined that the working state of the power supply device is different for two adjacent times, then the loop is terminated and the current counting value X is obtained, where X=x+n, and n is the number of times the loop is executed: Obtain the working status of the power supply device for two adjacent times; Determine whether the working status of the power supply device for two adjacent times is the same; If the working status of the power supply device for two adjacent times is the same, the count value x is accumulated, and the working status of the power supply device for two adjacent times is obtained again; If the working status of the power supply device obtained for the a+1th time is state 1, the duration of state 1 is equal to the product of the current count value X and the preset time interval; if the working status of the power supply device obtained for the a+1th time is state 2, the duration of state 2 is equal to the product of the current count value X and the preset time interval. 如請求項1之供電裝置控制方法,其中, 該控制單元早於對應該預測的下一切換時刻發出指令步驟包括: 若該當前工作狀態爲狀態一,該控制單元在第一指令時刻發出該指令,該第一指令時刻爲預測的第一切換時刻減去第一時間; 若該當前工作狀態爲狀態二,該控制單元在第二指令時刻發出該指令,該第二指令時刻爲預測的第二切換時刻減去第二時間。 The power supply device control method of claim 1, wherein, the control unit issues a command earlier than the predicted next switching moment, including: if the current working state is state 1, the control unit issues the command at a first command moment, the first command moment being the predicted first switching moment minus the first time; if the current working state is state 2, the control unit issues the command at a second command moment, the second command moment being the predicted second switching moment minus the second time. 如請求項5之供電裝置控制方法,其中, 該第一時間與該第二時間均爲一固定值。 As in claim 5, the power supply device control method, wherein, the first time and the second time are both fixed values. 如請求項5之供電裝置控制方法,其中, 該控制單元在第一指令時刻發出該指令步驟包括: 獲取當前工作狀態的當前時刻; 判斷當前時刻與該第一指令時刻的大小; 若當前時刻小於或等於該第一指令時刻,則返回重新獲取當前工作狀態的當前時刻;若當前時刻大於該第一指令時刻,則該控制單元發出該指令; 該控制單元在第二指令時刻發出第二指令步驟包括: 獲取當前工作狀態的當前時刻; 判斷當前時刻與該第二指令時刻的大小; 若當前時刻小於或等於該第二指令時刻,則返回重新獲取當前工作狀態的當前時刻;若當前時刻大於該第二指令時刻,則該控制單元發出該指令。 As in claim 5, the power supply device control method, wherein, the control unit issues the command at the first command moment, including: obtaining the current moment of the current working state; judging the size of the current moment and the first command moment; if the current moment is less than or equal to the first command moment, returning to re-obtain the current moment of the current working state; if the current moment is greater than the first command moment, the control unit issues the command; the control unit issues the second command at the second command moment, including: obtaining the current moment of the current working state; judging the size of the current moment and the second command moment; if the current moment is less than or equal to the second command moment, returning to re-obtain the current moment of the current working state; if the current moment is greater than the second command moment, the control unit issues the command. 如請求項1至7中任一項之供電裝置控制方法,其中, 該供電裝置工作於狀態一時的輸出電流與該供電裝置工作於狀態二時的輸出電流之差的絕對值大於一預設電流閾值。 A power supply device control method as claimed in any one of claims 1 to 7, wherein the absolute value of the difference between the output current when the power supply device is operating in state 1 and the output current when the power supply device is operating in state 2 is greater than a preset current threshold. 如請求項8之供電裝置控制方法,其中, 該供電裝置工作於狀態一時的輸出電流小於該供電裝置工作於狀態二時的輸出電流。 A power supply device control method as claimed in claim 8, wherein, the output current of the power supply device when operating in state 1 is less than the output current of the power supply device when operating in state 2. 如請求項9之供電裝置控制方法,其中, 若該供電裝置當前工作狀態爲狀態一時,該指令用於升高該供電裝置輸出電壓; 若該供電裝置當前工作狀態爲狀態二時,該指令用於降低該供電裝置輸出電壓。 A power supply device control method as claimed in claim 9, wherein, if the current working state of the power supply device is state 1, the instruction is used to increase the output voltage of the power supply device; if the current working state of the power supply device is state 2, the instruction is used to reduce the output voltage of the power supply device. 如請求項10之供電裝置控制方法,其中, 獲取該供電裝置內包括一預設目標電壓值; 若該供電裝置當前工作狀態爲狀態一時,該指令用於使該供電裝置輸出電壓等於該預設目標電壓值與一第一增益之和; 若該供電裝置當前工作狀態爲狀態二時,該指令用於使該供電裝置輸出電壓等於該預設目標電壓值與一第二增益之差。 A power supply device control method as claimed in claim 10, wherein: A preset target voltage value is obtained in the power supply device; If the current working state of the power supply device is state 1, the instruction is used to make the output voltage of the power supply device equal to the sum of the preset target voltage value and a first gain; If the current working state of the power supply device is state 2, the instruction is used to make the output voltage of the power supply device equal to the difference between the preset target voltage value and a second gain. 如請求項11之供電裝置控制方法,其中, 該第一增益與該第二增益均爲固定值。 As in claim 11, the power supply device control method, wherein, the first gain and the second gain are both fixed values. 如請求項11之供電裝置控制方法,其中, 該第一增益與該第二增益均爲該供電裝置最大輸出電壓與該供電裝置最小輸出電壓之差的設定倍率。 As in claim 11, the power supply device control method, wherein, the first gain and the second gain are both set multipliers of the difference between the maximum output voltage of the power supply device and the minimum output voltage of the power supply device. 如請求項1至7中任一項之供電裝置控制方法,其中, 該供電裝置的輸出電流爲直流。 A power supply device control method as claimed in any one of claims 1 to 7, wherein the output current of the power supply device is direct current.
TW113112643A 2024-01-09 2024-04-03 Control method of power supply apparatus TWI863849B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202410033989X 2024-01-09
CN202410033989.XA CN120301148A (en) 2024-01-09 2024-01-09 Power supply device control method

Publications (2)

Publication Number Publication Date
TWI863849B true TWI863849B (en) 2024-11-21
TW202529358A TW202529358A (en) 2025-07-16

Family

ID=94380245

Family Applications (1)

Application Number Title Priority Date Filing Date
TW113112643A TWI863849B (en) 2024-01-09 2024-04-03 Control method of power supply apparatus

Country Status (2)

Country Link
CN (1) CN120301148A (en)
TW (1) TWI863849B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200801328A (en) * 2006-06-02 2008-01-01 Univ Yuan Ze Grid-connected wind generation system and its maximum-power-extraction control method
TW200941897A (en) * 2008-02-07 2009-10-01 American Power Conv Corp Systems and methods for uninterruptible power supply control
TW201325005A (en) * 2011-12-08 2013-06-16 Chung Shan Inst Of Science Intelligent control inverter power supply system applied in reducing contract capacity
US20220286036A1 (en) * 2019-06-14 2022-09-08 Cisdi Research & Development Co., Ltd Power Supply Device And Power Supply Method For Direct Current Electric Arc Furnace
CN117293971A (en) * 2023-10-23 2023-12-26 阿维塔新能源汽车科技(上海)有限公司 A charging adjustment method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200801328A (en) * 2006-06-02 2008-01-01 Univ Yuan Ze Grid-connected wind generation system and its maximum-power-extraction control method
TW200941897A (en) * 2008-02-07 2009-10-01 American Power Conv Corp Systems and methods for uninterruptible power supply control
TW201325005A (en) * 2011-12-08 2013-06-16 Chung Shan Inst Of Science Intelligent control inverter power supply system applied in reducing contract capacity
US20220286036A1 (en) * 2019-06-14 2022-09-08 Cisdi Research & Development Co., Ltd Power Supply Device And Power Supply Method For Direct Current Electric Arc Furnace
CN117293971A (en) * 2023-10-23 2023-12-26 阿维塔新能源汽车科技(上海)有限公司 A charging adjustment method and device

Also Published As

Publication number Publication date
CN120301148A (en) 2025-07-11
TW202529358A (en) 2025-07-16

Similar Documents

Publication Publication Date Title
US11942867B2 (en) Apparatus and method of controlling a multi-phase power converter, having a plurality of power stage circuits coupled in parallel
KR101270850B1 (en) Power control for transition between multiple modulation modes
US6992469B1 (en) Digital voltage regulator for DC/DC converters
US11575322B2 (en) Electrical power converter
CN111010026B (en) Digital controller for power supply, power supply and method for operating power supply
US9343986B2 (en) Power converter with current feedback loop
TWI551020B (en) Power converter with average current limiting
US9160238B2 (en) Power converter with current feedback loop
US9966864B2 (en) Electronic apparatus and control method of electronic apparatus
CN110086353B (en) Apparatus and method for linearization of control input for dual output resonant converter
EP3667888A1 (en) Multiphase power converter
CN111654186A (en) Dynamic output voltage adjusting device and method for switching voltage stabilizing controller
US11811316B2 (en) Adaptive control of a switched voltage converter
CN104901545B (en) Switched-mode power supply
JP2014230371A (en) Power conversion device and power conversion method
EP3809576A1 (en) Dynamic regulation resonant power converter
TWI863849B (en) Control method of power supply apparatus
US20210242786A1 (en) Dynamic regulation resonant power converter
US20130088210A1 (en) Power System and Power Controlling Method and Apparatus Thereof
CN114938145B (en) Method and system for suppressing short-circuit current clamp of voltage-multiplying series resonant converter
CN120357746B (en) Power supply control method, power supply control circuit and electronic equipment
US10622893B2 (en) Method and device for controlling DC-to-DC converter
US9035637B1 (en) Systems and methods for controlling power converters
KR20220153399A (en) Converter controller and controlling method
KR100544189B1 (en) High efficiency power supply