[go: up one dir, main page]

TWI868777B - Controller for power supply device - Google Patents

Controller for power supply device Download PDF

Info

Publication number
TWI868777B
TWI868777B TW112125071A TW112125071A TWI868777B TW I868777 B TWI868777 B TW I868777B TW 112125071 A TW112125071 A TW 112125071A TW 112125071 A TW112125071 A TW 112125071A TW I868777 B TWI868777 B TW I868777B
Authority
TW
Taiwan
Prior art keywords
mode
circuit
memory circuit
control
control parameter
Prior art date
Application number
TW112125071A
Other languages
Chinese (zh)
Other versions
TW202443565A (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 力林科技股份有限公司
Priority to US18/365,246 priority Critical patent/US12431784B2/en
Publication of TW202443565A publication Critical patent/TW202443565A/en
Application granted granted Critical
Publication of TWI868777B publication Critical patent/TWI868777B/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Voltage And Current In General (AREA)
  • Dc-Dc Converters (AREA)

Abstract

A controller for a power supply device is provided. The controller includes a transmission terminal, a first memory circuit, a second memory circuit, a determining circuit and a control circuit. When the input voltage value is lower than a reference voltage value, the determining circuit generates a first mode signal. When the input voltage value is greater than or equal to the reference voltage value, the determining circuit generates a second mode signal. The control circuit enters a first mode in response to the first mode signal, and enters a second mode in response to the second mode signal. In the first mode, the control circuit writes a control parameter from the transmission terminal into the first memory circuit. In the second mode, the control circuit uses the control parameters stored in the first memory circuit to test the power supply device. When the control parameter meets an expected function of the power supply device, the control circuit writes the control parameter into the second memory circuit.

Description

用於電源供應裝置的控制器Controller for power supply device

本發明是有關於一種控制器,且特別是有關於一種用於電源供應裝置的控制器。 The present invention relates to a controller, and in particular to a controller for a power supply device.

現行的電源供應裝置會基於控制參數來進行操作。一般來說,控制參數會被寫入到一次性可編程(one-time programmable,OTP)記憶體電路中。 Current power supply devices operate based on control parameters. Generally, the control parameters are written into a one-time programmable (OTP) memory circuit.

應注意的是,基於不同的應用或使用場合,電源供應裝置可能會有不同的預期功能。不同的預期功能會對應於不同的控制參數。這意味著,控制參數必須被調整以符合不同的應用或使用場合的預期功能。然而,當被寫入到OTP記憶體電路後的控制參數被測試出並不符合預期功能時,工程人員則需要對OTP記憶體電路進行修改。上述的修改例如是進行工程變更命令(engineering change order,ECO)。 It should be noted that the power supply device may have different expected functions based on different applications or usage scenarios. Different expected functions correspond to different control parameters. This means that the control parameters must be adjusted to meet the expected functions of different applications or usage scenarios. However, when the control parameters written into the OTP memory circuit are tested to be inconsistent with the expected functions, the engineer needs to modify the OTP memory circuit. The above modification is, for example, an engineering change order (ECO).

本發明提供一種用於電源供應裝置的控制器,能夠實現 多次接收控制參數,並對所接收到的不同控制參數進行測試。 The present invention provides a controller for a power supply device, which can realize multiple reception of control parameters and test the received different control parameters.

本發明的電源供應裝置的控制器包括電源輸入端、傳輸端、第一記憶體電路、第二記憶體電路、判斷電路以及控制電路。判斷電路耦接於電源輸入端。判斷電路判斷位於電源輸入端的輸入電壓值。當輸入電壓值小於參考電壓值時,判斷電路產生第一模式訊號。當輸入電壓值大於或等於參考電壓值時,判斷電路產生第二模式訊號。控制電路耦接於判斷電路、第一記憶體電路、第二記憶體電路以及傳輸端。控制電路反應於第一模式訊號進入第一模式,並且反應於第二模式訊號進入第二模式。在第一模式中,控制電路將來自於傳輸端的第一控制參數寫入至第一記憶體電路。在第二模式中,控制電路利用儲存在第一記憶體電路中的第一控制參數對電源供應裝置進行測試,並且當第一控制參數符合電源供應裝置的預期功能時,將第一控制參數寫入至第二記憶體電路。 The controller of the power supply device of the present invention includes a power input terminal, a transmission terminal, a first memory circuit, a second memory circuit, a judgment circuit and a control circuit. The judgment circuit is coupled to the power input terminal. The judgment circuit judges the input voltage value at the power input terminal. When the input voltage value is less than the reference voltage value, the judgment circuit generates a first mode signal. When the input voltage value is greater than or equal to the reference voltage value, the judgment circuit generates a second mode signal. The control circuit is coupled to the judgment circuit, the first memory circuit, the second memory circuit and the transmission terminal. The control circuit enters the first mode in response to the first mode signal, and enters the second mode in response to the second mode signal. In the first mode, the control circuit writes the first control parameter from the transmission end to the first memory circuit. In the second mode, the control circuit tests the power supply device using the first control parameter stored in the first memory circuit, and when the first control parameter meets the expected function of the power supply device, the first control parameter is written to the second memory circuit.

基於上述,在第一模式中,控制電路先將來自於傳輸端的第一控制參數寫入至第一記憶體電路。在第二模式中,控制電路利用儲存在第一記憶體電路中的第一控制參數對電源供應裝置進行測試。當第一控制參數符合電源供應裝置的預期功能時,控制電路才將第一控制參數寫入至第二記憶體電路。控制電路被允許對第一記憶體電路進行多次的編程操作。如此一來,控制器能夠實現多次接收控制參數,並對所接收到的不同控制參數進行測試。 Based on the above, in the first mode, the control circuit first writes the first control parameter from the transmission end into the first memory circuit. In the second mode, the control circuit uses the first control parameter stored in the first memory circuit to test the power supply device. When the first control parameter meets the expected function of the power supply device, the control circuit writes the first control parameter into the second memory circuit. The control circuit is allowed to perform multiple programming operations on the first memory circuit. In this way, the controller can receive control parameters multiple times and test the different control parameters received.

本發明的部份實施例接下來將會配合附圖來詳細描述,以下的描述所引用的元件符號,當不同附圖出現相同的元件符號將視為相同或相似的元件。這些實施例只是本發明的一部份,並未揭示所有本發明的可實施方式。更確切的說,這些實施例只是本發明的專利申請範圍中的範例。 Some embodiments of the present invention will be described in detail with the accompanying drawings. The component symbols cited in the following description will be regarded as the same or similar components when the same component symbols appear in different drawings. These embodiments are only part of the present invention and do not disclose all possible implementation methods of the present invention. More precisely, these embodiments are only examples within the scope of the patent application of the present invention.

請參考圖1,圖1是依據本發明一實施例所繪示的電源供應裝置的示意圖。在本實施例中,電源供應裝置10包括控制器100。電源供應裝置10反應於控制器100中的控制參數來運行。以本實施例為例,電源供應裝置10接收輸入電壓值VAC,並依據輸入電壓值VAC以及控制參數來提供輸出電源POUT。電源供應裝置10可以是電源晶片或電源轉換器(本發明並不以此為限)。 Please refer to FIG. 1, which is a schematic diagram of a power supply device according to an embodiment of the present invention. In this embodiment, the power supply device 10 includes a controller 100. The power supply device 10 operates in response to the control parameters in the controller 100. Taking this embodiment as an example, the power supply device 10 receives an input voltage value VAC and provides an output power POUT according to the input voltage value VAC and the control parameters. The power supply device 10 can be a power chip or a power converter (the present invention is not limited to this).

在本實施例中,控制器100包括電源輸入端PAC、傳輸端FBL、第一記憶體電路110、第二記憶體電路120、判斷電路130以及控制電路140。判斷電路130耦接於電源輸入端PAC。判斷電路130判斷位於電源輸入端PAC的輸入電壓值VAC。判斷電路130依據輸入電壓值VAC來提供第一模式訊號SM1以及第二模式訊號SM2的其中之一。具體來說,判斷電路130比較輸入電壓值 VAC以及參考電壓值VDET。當輸入電壓值VAC小於參考電壓值VDET時,判斷電路130產生第一模式訊號SM1。當輸入電壓值VAC大於或等於參考電壓值VDET時,判斷電路130則產生第二模式訊號SM2。 In this embodiment, the controller 100 includes a power input terminal PAC, a transmission terminal FBL, a first memory circuit 110, a second memory circuit 120, a determination circuit 130, and a control circuit 140. The determination circuit 130 is coupled to the power input terminal PAC. The determination circuit 130 determines the input voltage value VAC at the power input terminal PAC. The determination circuit 130 provides one of the first mode signal SM1 and the second mode signal SM2 according to the input voltage value VAC. Specifically, the determination circuit 130 compares the input voltage value VAC and the reference voltage value VDET. When the input voltage value VAC is less than the reference voltage value VDET, the determination circuit 130 generates the first mode signal SM1. When the input voltage value VAC is greater than or equal to the reference voltage value VDET, the judgment circuit 130 generates a second mode signal SM2.

在本實施例中,控制電路140耦接於判斷電路130、第一記憶體電路110、第二記憶體電路120以及傳輸端FBL。控制電路140反應於第一模式訊號SM1進入第一模式,並且反應於第二模式訊號SM2進入第二模式。第一模式例如是編程模式。第二模式例如是正常模式。在第一模式中,控制電路140將來自於傳輸端FBL的控制參數PC1寫入至第一記憶體電路110。在第二模式中,控制電路140利用儲存在第一記憶體電路110中的控制參數PC1來對電源供應裝置10進行測試。換言之,在第二模式中,電源供應裝置10基於在儲存第一記憶體電路110中的控制參數PC1來進行運行測試。在第二模式中,當控制參數PC1符合電源供應裝置10的預期功能FC時,控制電路140將控制參數PC1寫入至第二記憶體電路120。預期功能FC例如是電源供應裝置10所期望的輸出電壓值、輸出電流值、輸出功率以及效率的至少其中之一。 In the present embodiment, the control circuit 140 is coupled to the determination circuit 130, the first memory circuit 110, the second memory circuit 120 and the transmission terminal FBL. The control circuit 140 enters the first mode in response to the first mode signal SM1, and enters the second mode in response to the second mode signal SM2. The first mode is, for example, the programming mode. The second mode is, for example, the normal mode. In the first mode, the control circuit 140 writes the control parameter PC1 from the transmission terminal FBL to the first memory circuit 110. In the second mode, the control circuit 140 uses the control parameter PC1 stored in the first memory circuit 110 to test the power supply device 10. In other words, in the second mode, the power supply device 10 performs an operation test based on the control parameter PC1 stored in the first memory circuit 110. In the second mode, when the control parameter PC1 meets the expected function FC of the power supply device 10, the control circuit 140 writes the control parameter PC1 to the second memory circuit 120. The expected function FC is, for example, at least one of the output voltage value, output current value, output power and efficiency expected by the power supply device 10.

在此值得一提的是,控制電路140在第一模式中先將控制參數PC1寫入至第一記憶體電路110。控制電路140在第二模式中利用儲存在第一記憶體電路110中的控制參數PC1對電源供應裝置10進行測試。當控制參數PC1符合電源供應裝置10的預期功能FC時,控制電路140才將控制參數PC1寫入至第二記憶 體電路120。控制電路140被允許對第一記憶體電路110進行多次的編程操作。如此一來,控制器100能夠實現多次接收控制參數,並對所接收到的不同控制參數進行測試。 It is worth mentioning that the control circuit 140 first writes the control parameter PC1 to the first memory circuit 110 in the first mode. The control circuit 140 uses the control parameter PC1 stored in the first memory circuit 110 to test the power supply device 10 in the second mode. When the control parameter PC1 meets the expected function FC of the power supply device 10, the control circuit 140 writes the control parameter PC1 to the second memory circuit 120. The control circuit 140 is allowed to perform multiple programming operations on the first memory circuit 110. In this way, the controller 100 can receive control parameters multiple times and test the different control parameters received.

在本實施例中,第一記憶體電路110是任意形式的多次性可編程(multiple-times programmable,MTP)記憶體電路。第二記憶體電路120是一次性可編程(one-time programmable,OTP)記憶體電路。第二記憶體電路120例如是唯讀記憶體(ROM)電路或熔絲(fuse)電路。 In this embodiment, the first memory circuit 110 is any form of multiple-times programmable (MTP) memory circuit. The second memory circuit 120 is a one-time programmable (OTP) memory circuit. The second memory circuit 120 is, for example, a read-only memory (ROM) circuit or a fuse circuit.

應注意的是,相較於現行的電源供應裝置,本實施例的電源供應裝置10的控制電路140能夠對第一記憶體電路110進行無限次的控制參數的寫入操作。換言之,控制器100能夠實現無限次的不同控制參數的測試。即便是控制參數PC1不符合電源供應裝置10的預期功能FC,控制電路140能夠將其他控制參數寫入至第一記憶體電路110以進行另一次的測試。本實施例並不需要對第二記憶體電路120進行例如是工程變更命令(engineering change order,ECO)的修改。控制器100適用於多個不同控制參數的測試。如此一來,控制器100的測試便利性能夠大幅被提升。 It should be noted that, compared to the existing power supply device, the control circuit 140 of the power supply device 10 of this embodiment can write control parameters to the first memory circuit 110 an unlimited number of times. In other words, the controller 100 can implement an unlimited number of tests of different control parameters. Even if the control parameter PC1 does not meet the expected function FC of the power supply device 10, the control circuit 140 can write other control parameters to the first memory circuit 110 for another test. This embodiment does not require the second memory circuit 120 to be modified, such as an engineering change order (ECO). The controller 100 is suitable for testing multiple different control parameters. In this way, the test convenience of the controller 100 can be greatly improved.

在本實施例中,傳輸端FBL在不同模式中具有不同的用途。在第一模式中,傳輸端FBL在被切換為參數接收端以接收控制參數PC1。以本實施例為例,傳輸端FBL在第一模式中接收來自於外部裝置ED的控制參數PC1。控制電路140接收控制參數PC1並將控制參數PC1儲存到第一記憶體電路110。在一些實施 例中,第一記憶體電路110耦接於傳輸端FBL。控制電路140在第一模式中控制第一記憶體電路110接收控制參數PC1,並儲存控制參數PC1。 In this embodiment, the transmission end FBL has different uses in different modes. In the first mode, the transmission end FBL is switched to a parameter receiving end to receive the control parameter PC1. Taking this embodiment as an example, the transmission end FBL receives the control parameter PC1 from the external device ED in the first mode. The control circuit 140 receives the control parameter PC1 and stores the control parameter PC1 in the first memory circuit 110. In some embodiments, the first memory circuit 110 is coupled to the transmission end FBL. The control circuit 140 controls the first memory circuit 110 to receive the control parameter PC1 and store the control parameter PC1 in the first mode.

在本實施例中,控制電路140在第二模式中讀取儲存在第一記憶體電路110中的控制參數PC1,並依據控制參數PC1來產生對應於控制參數PC1的控制訊號SC。控制電路140利用控制訊號SC來進行測試。控制訊號SC包括用以控制電源供應裝置10中的功率開關的開關訊號、同步整流開關的同步整流訊號以及參考訊號的至少其中之一。參考訊號可以是用於過電壓保護、過電流保護以及過溫保護所需的閾值。 In this embodiment, the control circuit 140 reads the control parameter PC1 stored in the first memory circuit 110 in the second mode, and generates a control signal SC corresponding to the control parameter PC1 according to the control parameter PC1. The control circuit 140 uses the control signal SC for testing. The control signal SC includes at least one of a switching signal for controlling a power switch in the power supply device 10, a synchronous rectification signal of a synchronous rectification switch, and a reference signal. The reference signal can be a threshold value required for overvoltage protection, overcurrent protection, and overtemperature protection.

經測試後,如果控制參數PC1符合電源供應裝置10的預期功能FC時,這表示控制參數PC1適用於電源供應裝置10。因此,控制電路140將控制參數PC1寫入至第二記憶體電路120。在後續的操作中,控制電路140讀取儲存在第二記憶體電路120中的控制參數PC1來產生控制訊號SC,從而對電源供應裝置10進行控制。 After testing, if the control parameter PC1 meets the expected function FC of the power supply device 10, it means that the control parameter PC1 is applicable to the power supply device 10. Therefore, the control circuit 140 writes the control parameter PC1 to the second memory circuit 120. In subsequent operations, the control circuit 140 reads the control parameter PC1 stored in the second memory circuit 120 to generate the control signal SC, thereby controlling the power supply device 10.

在本實施例中,外部裝置ED可利用任意形式的資料傳輸介面與傳輸端FBL進行連接。資料傳輸介面例如是通用非同步收發傳輸器(Universal Asynchronous Receiver/Transmitter,UART)或通用序列匯流排(Universal Serial Bus,USB)。在第二模式中,傳輸端FBL在被切換為電源供應裝置10的應用端。舉例來說,應用端可以是資料回饋端。以資料回饋端為例,電源供應裝置10可 透過傳輸端FBL將測試資料回饋給外部裝置ED。 In this embodiment, the external device ED can be connected to the transmission end FBL using any form of data transmission interface. The data transmission interface is, for example, a Universal Asynchronous Receiver/Transmitter (UART) or a Universal Serial Bus (USB). In the second mode, the transmission end FBL is switched to the application end of the power supply device 10. For example, the application end can be a data feedback end. Taking the data feedback end as an example, the power supply device 10 can feed back the test data to the external device ED through the transmission end FBL.

在本實施例中,外部裝置ED可以是測試主機、平板電腦、筆記型電腦與桌上型電腦等能夠提供控制參數的電子裝置。 In this embodiment, the external device ED can be an electronic device such as a test host, a tablet computer, a laptop computer, and a desktop computer that can provide control parameters.

在本實施例中,判斷電路130包括第一輸入端、第二輸入端以及輸出端。第一輸入端耦接於電源輸入端PAC。第一輸入端接收位於電源輸入端PAC的輸入電壓值VAC。第二輸入端接收參考電壓值VDET。輸出端耦接於控制電路140。輸出端用以輸出第一模式訊號SM1以及第二模式訊號SM2的其中之一。在本實施例中,判斷電路130可以是由比較器或運算放大器來實施。 In this embodiment, the determination circuit 130 includes a first input terminal, a second input terminal and an output terminal. The first input terminal is coupled to the power input terminal PAC. The first input terminal receives the input voltage value VAC at the power input terminal PAC. The second input terminal receives the reference voltage value VDET. The output terminal is coupled to the control circuit 140. The output terminal is used to output one of the first mode signal SM1 and the second mode signal SM2. In this embodiment, the determination circuit 130 can be implemented by a comparator or an operational amplifier.

在本實施例中,控制電路140例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之一般用途或特殊用途的微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置或這些裝置的組合,其可載入並執行電腦程式。 In this embodiment, the control circuit 140 is, for example, a central processing unit (CPU), or other programmable general-purpose or special-purpose microprocessor (Microprocessor), digital signal processor (Digital Signal Processor, DSP), programmable controller, application specific integrated circuits (Application Specific Integrated Circuits, ASIC), programmable logic device (Programmable Logic Device, PLD) or other similar devices or a combination of these devices, which can load and execute computer programs.

請參考圖1以及圖2,圖2是依據本發明一實施例所繪示的輸入電壓值的示意圖。在本實施例中,判斷電路130判斷位於電源輸入端PAC的輸入電壓值VAC。判斷電路130比較輸入電壓值VAC的峰值VP以及參考電壓值VDET。當輸入電壓值VAC的峰值VP小於參考電壓值VDET時,判斷電路130產生第一模式訊號SM1。因此,控制電路140進入第一模式MD1。在另一方面, 當輸入電壓值VAC的峰值VP大於或等於參考電壓值VDET時,判斷電路130則產生第二模式訊號SM2。因此,控制電路140進入第二模式MD2。 Please refer to FIG. 1 and FIG. 2. FIG. 2 is a schematic diagram of an input voltage value according to an embodiment of the present invention. In this embodiment, the judgment circuit 130 judges the input voltage value VAC at the power input terminal PAC. The judgment circuit 130 compares the peak value VP of the input voltage value VAC and the reference voltage value VDET. When the peak value VP of the input voltage value VAC is less than the reference voltage value VDET, the judgment circuit 130 generates a first mode signal SM1. Therefore, the control circuit 140 enters the first mode MD1. On the other hand, When the peak value VP of the input voltage value VAC is greater than or equal to the reference voltage value VDET, the judgment circuit 130 generates a second mode signal SM2. Therefore, the control circuit 140 enters the second mode MD2.

以本實施例為例,若要使控制電路140進入第一模式MD1,工程人員可對電源輸入端PAC施加第一電壓訊號。第一電壓訊號的輸入電壓值VAC的峰值VP低於參考電壓值VDET。因此,判斷電路130產生第一模式訊號SM1。控制電路140反應於第一模式訊號SM1而進入第一模式MD1。在第一模式MD1中,如果控制電路140透過傳輸端FBL接收到控制參數PC1,控制電路140會將控制參數PC1寫入至第一記憶體電路110。在第一模式MD1中,如果控制電路140沒有接收到控制參數PC1,控制電路140會等待直到接收到控制參數PC1為止。第一電壓訊號可以是直流電壓訊號或交流電壓訊號。 Taking the present embodiment as an example, if the control circuit 140 is to enter the first mode MD1, the engineer can apply a first voltage signal to the power input terminal PAC. The peak value VP of the input voltage value VAC of the first voltage signal is lower than the reference voltage value VDET. Therefore, the judgment circuit 130 generates a first mode signal SM1. The control circuit 140 enters the first mode MD1 in response to the first mode signal SM1. In the first mode MD1, if the control circuit 140 receives the control parameter PC1 through the transmission terminal FBL, the control circuit 140 will write the control parameter PC1 to the first memory circuit 110. In the first mode MD1, if the control circuit 140 does not receive the control parameter PC1, the control circuit 140 will wait until the control parameter PC1 is received. The first voltage signal can be a DC voltage signal or an AC voltage signal.

當第一記憶體電路110儲存控制參數PC1時,工程人員可對電源輸入端PAC施加第二電壓訊號。第二電壓訊號可以是直流電壓訊號或交流電壓訊號。第二電壓訊號可例如是市電。第二電壓訊號的輸入電壓值VAC的峰值VP高於參考電壓值VDET。因此,判斷電路130產生第二模式訊號SM2。控制電路140反應於第二模式訊號SM2而進入第二模式MD2。在第二模式MD2中,控制電路140利用儲存在第一記憶體電路110中的控制參數PC1來對電源供應裝置10進行測試。在測試後,當控制參數PC1符合電源供應裝置10的預期功能FC時,控制參數PC1可能是電源供 應裝置10的最佳參數。控制電路140透過傳輸端FBL將測試結果SF回饋到外部裝置ED。此外,在第二模式MD2中,在完成測試後,控制電路140將控制參數PC1寫入至第二記憶體電路120。也因此,在出廠後,電源供應裝置10基於儲存在第二記憶體電路120中的控制參數PC1來運行。換言之,在出廠後,控制電路140以第二模式MD2來運行。 When the first memory circuit 110 stores the control parameter PC1, the engineer can apply a second voltage signal to the power input terminal PAC. The second voltage signal can be a DC voltage signal or an AC voltage signal. The second voltage signal can be, for example, AC power. The peak value VP of the input voltage value VAC of the second voltage signal is higher than the reference voltage value VDET. Therefore, the judgment circuit 130 generates a second mode signal SM2. The control circuit 140 responds to the second mode signal SM2 and enters the second mode MD2. In the second mode MD2, the control circuit 140 uses the control parameter PC1 stored in the first memory circuit 110 to test the power supply device 10. After the test, when the control parameter PC1 meets the expected function FC of the power supply device 10, the control parameter PC1 may be the optimal parameter of the power supply device 10. The control circuit 140 feeds back the test result SF to the external device ED through the transmission terminal FBL. In addition, in the second mode MD2, after the test is completed, the control circuit 140 writes the control parameter PC1 to the second memory circuit 120. Therefore, after leaving the factory, the power supply device 10 operates based on the control parameter PC1 stored in the second memory circuit 120. In other words, after leaving the factory, the control circuit 140 operates in the second mode MD2.

在另一方面,在第二模式MD2中,當控制參數PC1並不符合電源供應裝置10的預期功能FC時,控制參數PC1並不是電源供應裝置10的最佳參數。控制電路140透過傳輸端FBL將上述的測試結果SF回饋到外部裝置ED。因此,工程人員能夠獲知控制參數必須被調整。工程人員對電源輸入端PAC施加第一電壓訊號。因此,控制器100被控制以進入第一模式MD1。在第一模式MD1中,外部裝置ED提供控制參數PC2。控制電路140接收來自於傳輸端FBL的控制參數PC2,並將控制參數PC2寫入至第一記憶體電路110。接下來,工程人員對電源輸入端PAC施加第二電壓訊號以使控制器100進入第二模式MD2。 On the other hand, in the second mode MD2, when the control parameter PC1 does not meet the expected function FC of the power supply device 10, the control parameter PC1 is not the optimal parameter of the power supply device 10. The control circuit 140 feeds back the above test result SF to the external device ED through the transmission terminal FBL. Therefore, the engineer can know that the control parameter must be adjusted. The engineer applies a first voltage signal to the power input terminal PAC. Therefore, the controller 100 is controlled to enter the first mode MD1. In the first mode MD1, the external device ED provides the control parameter PC2. The control circuit 140 receives the control parameter PC2 from the transmission terminal FBL and writes the control parameter PC2 to the first memory circuit 110. Next, the engineer applies a second voltage signal to the power input terminal PAC to make the controller 100 enter the second mode MD2.

在第二模式MD2中,控制電路140讀取儲存在第一記憶體電路110中的控制參數PC2,並依據控制參數PC2來產生對應於控制參數PC2的控制訊號SC。控制電路140利用對應於控制參數PC2的控制訊號SC來進行測試。當儲存於第一記憶體電路110的控制參數PC2符合電源供應裝置10的預期功能FC時,將控制參數PC2寫入至第二記憶體電路120。因此,在出廠後,電源供應 裝置10基於儲存在第二記憶體電路120中的控制參數PC2來運行。 In the second mode MD2, the control circuit 140 reads the control parameter PC2 stored in the first memory circuit 110, and generates a control signal SC corresponding to the control parameter PC2 according to the control parameter PC2. The control circuit 140 uses the control signal SC corresponding to the control parameter PC2 for testing. When the control parameter PC2 stored in the first memory circuit 110 meets the expected function FC of the power supply device 10, the control parameter PC2 is written to the second memory circuit 120. Therefore, after leaving the factory, the power supply device 10 operates based on the control parameter PC2 stored in the second memory circuit 120.

綜上所述,控制電路在第一模式中先將來自於傳輸端的第一控制參數寫入至第一記憶體電路。在第二模式中,控制電路利用儲存在第一記憶體電路中的第一控制參數對電源供應裝置進行測試。當第一控制參數符合電源供應裝置的預期功能時,控制電路才將第一控制參數寫入至第二記憶體電路。控制電路被允許對第一記憶體電路進行多次的編程操作。如此一來,控制器能夠實現多次接收控制參數,並對所接收到的不同控制參數進行測試。控制器適用於多次不同控制參數的測試。控制器的測試便利性能夠大幅被提升。 In summary, the control circuit first writes the first control parameter from the transmission end to the first memory circuit in the first mode. In the second mode, the control circuit uses the first control parameter stored in the first memory circuit to test the power supply device. When the first control parameter meets the expected function of the power supply device, the control circuit writes the first control parameter to the second memory circuit. The control circuit is allowed to perform multiple programming operations on the first memory circuit. In this way, the controller can receive control parameters multiple times and test the different control parameters received. The controller is suitable for multiple tests of different control parameters. The test convenience of the controller can be greatly improved.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。 Although the present invention has been disclosed as above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the relevant technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the scope of protection of the present invention shall be subject to the scope of the attached patent application.

10:電源供應裝置 10: Power supply device

100:控制器 100: Controller

110:第一記憶體電路 110: First memory circuit

120:第二記憶體電路 120: Second memory circuit

130:判斷電路 130: Judgment circuit

140:控制電路 140: Control circuit

ED:外部裝置 ED: External device

FBL:傳輸端 FBL: Transmission end

FC:預期功能 FC: Expected function

MD1:第一模式 MD1: First mode

MD2:第二模式 MD2: Second mode

PAC:電源輸入端 PAC: power input terminal

PC1、PC2:控制參數 PC1, PC2: control parameters

POUT:輸出電源 POUT: output power

SC:控制訊號 SC: Control signal

SF:測試結果 SF:Test results

SM1:第一模式訊號 SM1: First mode signal

SM2:第二模式訊號 SM2: Second mode signal

VAC:輸入電壓值 VAC: Input voltage value

VDET:參考電壓值 VDET: reference voltage value

VP:峰值 VP: Peak value

圖1是依據本發明一實施例所繪示的電源供應裝置的示意圖。 FIG1 is a schematic diagram of a power supply device according to an embodiment of the present invention.

圖2是依據本發明一實施例所繪示的輸入電壓值的示意圖。 FIG2 is a schematic diagram of input voltage values according to an embodiment of the present invention.

10:電源供應裝置 100:控制器 110:第一記憶體電路 120:第二記憶體電路 130:判斷電路 140:控制電路 ED:外部裝置 FBL:傳輸端 FC:預期功能 PAC:電源輸入端 PC1、PC2:控制參數 POUT:輸出電源 SC:控制訊號 SF:測試結果 SM1:第一模式訊號 SM2:第二模式訊號 VAC:輸入電壓值 VDET:參考電壓值 10: Power supply device 100: Controller 110: First memory circuit 120: Second memory circuit 130: Judgment circuit 140: Control circuit ED: External device FBL: Transmission terminal FC: Expected function PAC: Power input terminal PC1, PC2: Control parameters POUT: Output power SC: Control signal SF: Test result SM1: First mode signal SM2: Second mode signal VAC: Input voltage value VDET: Reference voltage value

Claims (8)

一種用於電源供應裝置的控制器,包括:電源輸入端;傳輸端;第一記憶體電路,所述第一記憶體電路是多次性可編程記憶體電路;第二記憶體電路;判斷電路,耦接於所述電源輸入端,經配置以判斷位於所述電源輸入端的輸入電壓值,當所述輸入電壓值小於參考電壓值時,產生第一模式訊號,並且當所述輸入電壓值大於或等於參考電壓值時,產生第二模式訊號;以及控制電路,耦接於所述判斷電路、所述第一記憶體電路、所述第二記憶體電路以及所述傳輸端,經配置以反應於所述第一模式訊號進入第一模式,並且反應於所述第二模式訊號進入第二模式,所述傳輸端在所述第二模式中被切換為所述電源供應裝置的應用端,其中在所述第一模式中,所述控制電路將來自於所述傳輸端的第一控制參數寫入至所述第一記憶體電路,並且其中在所述第二模式中,所述控制電路利用儲存在所述第一記憶體電路中的所述第一控制參數對所述電源供應裝置進行測試,並且當所述第一控制參數符合所述電源供應裝置的預期功能時,將所述第一控制參數寫入至所述第二記憶體電路。 A controller for a power supply device, comprising: a power input terminal; a transmission terminal; a first memory circuit, wherein the first memory circuit is a multi-time programmable memory circuit; a second memory circuit; a judgment circuit, coupled to the power input terminal, configured to judge the input voltage value at the power input terminal, and to generate a first mode signal when the input voltage value is less than a reference voltage value, and to generate a second mode signal when the input voltage value is greater than or equal to the reference voltage value; and a control circuit, coupled to the judgment circuit, the first memory circuit, the second memory circuit and the transmission terminal, and configured to respond to the first mode signal. A mode signal enters a first mode, and in response to the second mode signal entering a second mode, the transmission end is switched to an application end of the power supply device in the second mode, wherein in the first mode, the control circuit writes a first control parameter from the transmission end to the first memory circuit, and wherein in the second mode, the control circuit tests the power supply device using the first control parameter stored in the first memory circuit, and when the first control parameter meets the expected function of the power supply device, the first control parameter is written to the second memory circuit. 如請求項1所述的控制器,其中所述第二記憶體電路是一次性可編程記憶體電路。 A controller as described in claim 1, wherein the second memory circuit is a one-time programmable memory circuit. 如請求項1所述的控制器,其中:當所述輸入電壓值的峰值小於所述參考電壓值時,所述判斷電路產生所述第一模式訊號,並且當所述輸入電壓值的峰值大於或等於所述參考電壓值時,所述判斷電路產生第二模式訊號。 A controller as described in claim 1, wherein: when the peak value of the input voltage value is less than the reference voltage value, the judgment circuit generates the first mode signal, and when the peak value of the input voltage value is greater than or equal to the reference voltage value, the judgment circuit generates the second mode signal. 如請求項1所述的控制器,其中所述傳輸端在所述第一模式中被切換為參數接收端。 A controller as claimed in claim 1, wherein the transmission end is switched to a parameter receiving end in the first mode. 如請求項1所述的控制器,其中所述傳輸端在所述第一模式中接收來自於外部裝置的所述第一控制參數。 A controller as described in claim 1, wherein the transmission end receives the first control parameter from an external device in the first mode. 如請求項1所述的控制器,其中在所述第二模式中,當所述第一控制參數不符合所述電源供應裝置的所述預期功能時,所述控制器被控制以進入所述第一模式。 A controller as claimed in claim 1, wherein in the second mode, when the first control parameter does not meet the expected function of the power supply device, the controller is controlled to enter the first mode. 如請求項6所述的控制器,其中在所述第一模式中,所述控制電路接收來自於所述傳輸端的第二控制參數,並將所述第二控制參數寫入至所述第一記憶體電路。 A controller as described in claim 6, wherein in the first mode, the control circuit receives a second control parameter from the transmission end and writes the second control parameter to the first memory circuit. 如請求項7所述的控制器,其中在所述第二模式中,當儲存於所述第一記憶體電路的所述第二控制參數符合所述電源供應裝置的所述預期功能時,將所述第二控制參數寫入至所述第二記憶體電路。 A controller as described in claim 7, wherein in the second mode, when the second control parameter stored in the first memory circuit meets the expected function of the power supply device, the second control parameter is written to the second memory circuit.
TW112125071A 2023-04-24 2023-07-05 Controller for power supply device TWI868777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US18/365,246 US12431784B2 (en) 2023-04-24 2023-08-04 Controller for power supply device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US202363461575P 2023-04-24 2023-04-24
US63/461,575 2023-04-24

Publications (2)

Publication Number Publication Date
TW202443565A TW202443565A (en) 2024-11-01
TWI868777B true TWI868777B (en) 2025-01-01

Family

ID=90823210

Family Applications (2)

Application Number Title Priority Date Filing Date
TW112125071A TWI868777B (en) 2023-04-24 2023-07-05 Controller for power supply device
TW112206966U TWM650996U (en) 2023-04-24 2023-07-05 Controller for power supply device

Family Applications After (1)

Application Number Title Priority Date Filing Date
TW112206966U TWM650996U (en) 2023-04-24 2023-07-05 Controller for power supply device

Country Status (2)

Country Link
CN (1) CN118838217A (en)
TW (2) TWI868777B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI868777B (en) * 2023-04-24 2025-01-01 力林科技股份有限公司 Controller for power supply device
US12431784B2 (en) 2023-04-24 2025-09-30 Power Forest Technology Corporation Controller for power supply device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI340979B (en) * 2006-09-21 2011-04-21 Hynix Semiconductor Inc Apparatus and method for monitoring an internal power voltage for use in semiconductor device
US8542059B2 (en) * 2011-06-13 2013-09-24 Analog Devices, Inc. Ultra-low-power power supply system for an IC chip
TWI542993B (en) * 2012-04-16 2016-07-21 南亞科技股份有限公司 Power up detecting system
TW202022919A (en) * 2018-07-25 2020-06-16 美商蘭姆研究公司 Maintenance mode power supply system
TWI761857B (en) * 2020-05-28 2022-04-21 新加坡商鴻運科股份有限公司 Real-time power monitoring method, electronic device and readable storage medium
TWM650996U (en) * 2023-04-24 2024-02-01 力林科技股份有限公司 Controller for power supply device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI340979B (en) * 2006-09-21 2011-04-21 Hynix Semiconductor Inc Apparatus and method for monitoring an internal power voltage for use in semiconductor device
US8542059B2 (en) * 2011-06-13 2013-09-24 Analog Devices, Inc. Ultra-low-power power supply system for an IC chip
TWI542993B (en) * 2012-04-16 2016-07-21 南亞科技股份有限公司 Power up detecting system
TW202022919A (en) * 2018-07-25 2020-06-16 美商蘭姆研究公司 Maintenance mode power supply system
TWI761857B (en) * 2020-05-28 2022-04-21 新加坡商鴻運科股份有限公司 Real-time power monitoring method, electronic device and readable storage medium
TWM650996U (en) * 2023-04-24 2024-02-01 力林科技股份有限公司 Controller for power supply device

Also Published As

Publication number Publication date
CN118838217A (en) 2024-10-25
TW202443565A (en) 2024-11-01
TWM650996U (en) 2024-02-01

Similar Documents

Publication Publication Date Title
TWI868777B (en) Controller for power supply device
CN210986071U (en) Digital signal interface circuit, chip and electronic equipment
JP6567472B2 (en) Gate driver drive device
CN104049670A (en) Voltage regulator with current limiter
US10333585B1 (en) Repeater device with a plurality of parameter configuration modes and parameter configuration method thereof
CN115882421B (en) Electronic fuse circuit and circuit system using it
TW202015305A (en) Electronic apparatus and power supply module thereof
US12431784B2 (en) Controller for power supply device
CN101620012B (en) Temperature detector and method of use
CN118641873A (en) A protection test method and device based on electronic products
CN104049982A (en) Server control system and server control method
CN114527859B (en) Method, system, storage medium and device for adjusting power supply voltage
CN203026913U (en) Temperature protection circuit
CN102255480A (en) Power conversion device and pulse width modulation signal control device thereof
CN116909374A (en) Method, device, equipment and medium for powering up server power supply
TWI867629B (en) Memory controller and control method
US6653880B2 (en) Semiconductor integrated circuit device forming power sources having different voltages for operating circuit blocks
TW201933039A (en) Data storage determining device
JP2021105597A (en) Inspection device and inspection method
TW201913363A (en) BIOS switching device
CN101436096B (en) core voltage controller
JP6916629B2 (en) Electronics and control methods
KR102909321B1 (en) Apparatus and method for controlling recloser
US12140626B2 (en) Test circuit of electronic device, electronic device including test circuit, and operating method thereof
CN219247476U (en) Bidirectional clamp protection circuit and ATE equipment