[go: up one dir, main page]

CN107979264B - Line voltage detection circuit and related detection method - Google Patents

Line voltage detection circuit and related detection method Download PDF

Info

Publication number
CN107979264B
CN107979264B CN201610917895.4A CN201610917895A CN107979264B CN 107979264 B CN107979264 B CN 107979264B CN 201610917895 A CN201610917895 A CN 201610917895A CN 107979264 B CN107979264 B CN 107979264B
Authority
CN
China
Prior art keywords
voltage
circuit
line
line voltage
detection method
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201610917895.4A
Other languages
Chinese (zh)
Other versions
CN107979264A (en
Inventor
苏伟全
蔡孟仁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leadtrend Technology Corp
Original Assignee
Leadtrend Technology Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Leadtrend Technology Corp filed Critical Leadtrend Technology Corp
Priority to CN201610917895.4A priority Critical patent/CN107979264B/en
Publication of CN107979264A publication Critical patent/CN107979264A/en
Application granted granted Critical
Publication of CN107979264B publication Critical patent/CN107979264B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Dc-Dc Converters (AREA)

Abstract

线电压检测电路以及相关的检测方法。本发明实施例提供一种线电压检测电路,适用于一电源控制器,其具有一高压端,通过一高压电阻,连接到该线电压。该线电压关联于一交流输入电压。该线电压检测电路包含有一高压启动晶体管、一可开关电流源、一分压电路、以及一管理电路。该高压启动晶体管连接至该高压端。该可开关电流源连接于该高压启动晶体管与一接地线之间。该分压电路包含有二分压电阻,串连于该高压端与该接地线之间,可提供一分压结果。依据该分压结果,该管理电路开关该可开关电流源,以选择性地提供一偏移电流,流经该高压启动晶体管以及该高压电阻。

Line voltage detection circuit and related detection method. An embodiment of the present invention provides a line voltage detection circuit, which is applicable to a power controller, which has a high voltage end connected to the line voltage through a high voltage resistor. The line voltage is associated with an AC input voltage. The line voltage detection circuit includes a high voltage start-up transistor, a switchable current source, a voltage divider circuit, and a management circuit. The high voltage start-up transistor is connected to the high voltage end. The switchable current source is connected between the high voltage start-up transistor and a ground line. The voltage divider circuit includes two voltage divider resistors, which are connected in series between the high voltage end and the ground line, and can provide a voltage divider result. According to the voltage divider result, the management circuit switches the switchable current source to selectively provide an offset current flowing through the high voltage start-up transistor and the high voltage resistor.

Description

线电压检测电路以及相关的检测方法Line voltage detection circuit and related detection method

技术领域technical field

本发明涉及交流电的检测电路,尤其涉及由交流电整流而产生的线电压的检测电路与检测方法。The invention relates to a detection circuit for alternating current, in particular to a detection circuit and a detection method for line voltage generated by rectification of alternating current.

背景技术Background technique

对于交流转直流的电源供应器而言,线电压的电压值往往是一个很重要的信息。举例来说,电源供应器可能需要在线电压过低时,停止电源转换,以预防操作上的错误,这称为欠压保护(brown-out protection)。当线电压足够高时,就容许电源供应器正常操作地提供电源转换,这有人称为足压制动(brown-in)。而且,得知线电压的电压值,也可以对电源供应器的操作上,提供线电压补偿。For an AC-to-DC power supply, the voltage value of the line voltage is often very important information. For example, the power supply may need to stop power conversion when the line voltage is too low to prevent operational errors, which is called brown-out protection. When the line voltage is high enough, the power supply is allowed to operate normally to provide power conversion, which is called brown-in. Moreover, knowing the voltage value of the line voltage can also provide line voltage compensation for the operation of the power supply.

图1举例一具有反驰式(flyback)架构的交流转直流电源供应器100。桥式整流器12对市电VAC-MAIN提供全波整流,在输入端IN产生输入电压VIN,而市电VAC-MAIN可以视为一种交流输入电压。电源控制器(power controller)18,一般是一集成电路,提供脉冲宽度调制(pulse-width modulation,PWM)信号SPWM,控制功率开关26,也控制了流经变压器16中的电流。功率开关26开启(ON)时,变压器16储能;功率开关26关闭(OFF)时,变压器16释能,通过二极管32,在输出电容30建立输出电压VOUT,供电给负载19。FIG. 1 illustrates an AC-to-DC power supply 100 with a flyback architecture. The bridge rectifier 12 provides full-wave rectification for the commercial power V AC-MAIN , and generates an input voltage V IN at the input terminal IN, and the commercial power V AC-MAIN can be regarded as an AC input voltage. A power controller (power controller) 18 is generally an integrated circuit, which provides a pulse-width modulation (PWM) signal S PWM to control the power switch 26 and also controls the current flowing through the transformer 16 . When the power switch 26 is turned on (ON), the transformer 16 stores energy; when the power switch 26 is turned off (OFF), the transformer 16 releases energy, and the output voltage V OUT is established in the output capacitor 30 through the diode 32 to supply power to the load 19 .

二极管14提供半波整流,产生线电压VLINE。电源控制器18有一高压端HV,通过高压电阻20,连接到线电压VLINE,其中高压电阻并非必要元件,在本发明的另一实施例中,高压电阻20可以省略。电源控制器18可以提供高压启动功能(high-voltage startup)。当市电VAC-MAIN一开始供电时,电源控制器18可以从高压端HV汲取一充电电流,通过操作电源端VCC,对操作电源电容28充电,来建立操作电源电压VCC。一旦操作电源电压VCC足够高了,充电电流关闭,电源控制器18才可以开始提供PWM信号SPMWDiode 14 provides half-wave rectification, producing line voltage V LINE . The power controller 18 has a high-voltage terminal HV connected to the line voltage V LINE through a high-voltage resistor 20 , wherein the high-voltage resistor is not a necessary component, and in another embodiment of the present invention, the high-voltage resistor 20 can be omitted. The power controller 18 may provide a high-voltage startup function. When the mains V AC-MAIN starts supplying power, the power controller 18 can draw a charging current from the high voltage terminal HV, and charge the operating power capacitor 28 by operating the power terminal VCC to establish the operating power voltage V CC . Once the operating power voltage V CC is high enough, the charging current is turned off, and the power controller 18 can start to provide the PWM signal S PWM .

图2A举例一种电源控制器18a,并说明一种检测线电压VLINE的方法。电源控制器18a中有一高压启动晶体管46,在高压启动时开启,可以提供充电电流,对操作电源电容28充电。在电源控制器18a之外,高压端HV与接地线GND之间连接有一分压电路40a。分压电路40a包含有分压电阻42a与44a,其连接点可以提供分压结果给电源控制器18a的检测端SENS,使其得知线电压VLINE的电压值。对于系统设计师而言,这是相当方便的,因为不同的分压电阻42与44组合,就可以选定欠压保护或足压制动的触发点。但是,架构上,图2A是昂贵的,因为多了两个外接的分压电阻42a与44a,而且电源控制器18a也需要多一个引脚作为检测端SENS。FIG. 2A exemplifies a power controller 18a and illustrates a method for detecting the line voltage V LINE . There is a high-voltage start-up transistor 46 in the power controller 18a, which is turned on during high-voltage start-up, and can provide charging current to charge the operating power supply capacitor 28 . Outside the power controller 18a, a voltage dividing circuit 40a is connected between the high voltage terminal HV and the ground line GND. The voltage-dividing circuit 40a includes voltage-dividing resistors 42a and 44a, the connection point of which can provide the voltage-dividing result to the detection terminal SENS of the power controller 18a, so that it can know the voltage value of the line voltage V LINE . For system designers, this is very convenient, because different combinations of voltage dividing resistors 42 and 44 can select the trigger point of undervoltage protection or full pressure braking. However, in terms of architecture, FIG. 2A is expensive because there are two more external voltage dividing resistors 42a and 44a, and the power controller 18a also needs one more pin as the detection terminal SENS.

另一种检测线电压VLINE的方法是把图2A中的分压电路40a内建到一电源控制器中,如同图2B所举例的电源控制器18b。相较于图2A的电源控制器18a,图2B中的电源控制器18b内建有分压电路40b,且没有检测端SENS。电源控制器18b可能可以产生一较便宜的电源供应器,但是,举例来说,却可能牺牲了系统设计师对欠压保护的触发点的调整或改变。Another method for detecting the line voltage V LINE is to build the voltage divider circuit 40 a in FIG. 2A into a power controller, such as the power controller 18 b shown in FIG. 2B . Compared with the power controller 18a in FIG. 2A , the power controller 18b in FIG. 2B has a built-in voltage dividing circuit 40b and does not have a detection terminal SENS. The power controller 18b may result in a less expensive power supply, but may sacrifice the system designer's ability to adjust or change the trigger point of the brownout protection, for example.

发明内容Contents of the invention

本发明实施例提供一种一线电压的检测方法,适用于一电源控制器,其具有一高压端,通过一高压电阻,连接到该线电压。该线电压关联于一交流输入电压。该电源控制器包含有一高压启动晶体管。该检测方法包含有:提供一分压电路,其至少包含有二分压电阻,串连于该高压端与一接地线之间,该高压端具有一第一输入电压;以该分压电路检测该第一输入电压,并提供一分压结果;以及,依据该分压结果,开关一偏移电流,其流经该高压启动晶体管以及该高压电阻。An embodiment of the present invention provides a detection method for a line voltage, which is suitable for a power supply controller, which has a high-voltage terminal connected to the line voltage through a high-voltage resistor. The line voltage is associated with an AC input voltage. The power controller includes a high voltage enable transistor. The detection method includes: providing a voltage divider circuit, which at least includes two voltage divider resistors, connected in series between the high voltage end and a ground wire, and the high voltage end has a first input voltage; using the voltage divider circuit to detect The first input voltage, and provide a voltage division result; and, according to the voltage division result, switch an offset current, which flows through the high voltage enabling transistor and the high voltage resistor.

本发明实施例亦提供一种一线电压检测电路,适用于一电源控制器,其具有一高压端,通过一高压电阻,连接到该线电压。该线电压关联于一交流输入电压。该线电压检测电路包含有一高压启动晶体管、一可开关电流源、一分压电路、以及一管理电路。该高压启动晶体管连接至该高压端。该可开关电流源连接于该高压启动晶体管与一接地线之间。该分压电路包含有二分压电阻,串连于该高压端与该接地线之间,可提供一分压结果。依据该分压结果,该管理电路开关该可开关电流源,以选择性地提供一偏移电流,流经该高压启动晶体管以及该高压电阻。The embodiment of the present invention also provides a line voltage detection circuit suitable for a power controller, which has a high voltage terminal connected to the line voltage through a high voltage resistor. The line voltage is associated with an AC input voltage. The line voltage detection circuit includes a high-voltage start transistor, a switchable current source, a voltage divider circuit, and a management circuit. The high voltage enable transistor is connected to the high voltage terminal. The switchable current source is connected between the high voltage enable transistor and a ground line. The voltage dividing circuit includes two voltage dividing resistors, which are connected in series between the high voltage end and the grounding line, and can provide a voltage dividing result. According to the divided voltage result, the management circuit switches the switchable current source to selectively provide an offset current to flow through the high voltage enable transistor and the high voltage resistor.

附图说明Description of drawings

图1举例一具有反驰式架构的交流转直流电源供应器。FIG. 1 is an example of an AC-to-DC power supply with a flyback architecture.

图2A、2B举例两种电源控制器。2A and 2B illustrate two kinds of power controllers.

图3显示依据本发明所实施的一电源控制器。FIG. 3 shows a power controller implemented according to the present invention.

图4显示图3中的一些信号的信号波形。FIG. 4 shows signal waveforms of some of the signals in FIG. 3 .

图5显示依据本发明所实施的另一以反驰式架构的交流转直流电源供应器。FIG. 5 shows another AC-to-DC power supply with a flyback architecture implemented according to the present invention.

【符号说明】【Symbol Description】

12 桥式整流器12 bridge rectifier

14二极管14 diodes

16 变压器16 Transformers

18、18a、18b、18c 电源控制器18, 18a, 18b, 18c Power Controller

19 负载19 load

20 高压电阻20 high voltage resistor

26 功率开关26 power switch

28 电源电容28 Power Capacitor

30 输出电容30 Output capacitor

32二极管32 diodes

40a、40b、40c 分压电路40a, 40b, 40c voltage divider circuit

42a、42b、42c、44a、44b、44c 分压电阻42a, 42b, 42c, 44a, 44b, 44c Divider resistors

46 高压启动晶体管46 High voltage start transistor

100、600 交流转直流电源供应器100, 600 AC to DC power supply

202 二极管202 diodes

204 管理电路204 management circuit

206 可开关电流源206 Switchable Current Source

208 欠压保护电路208 Undervoltage protection circuit

209 去颤电路209 defibrillation circuit

210 足压制动电路210 foot brake circuit

211 非门211 NOT gate

212 信号产生器212 signal generator

213 SR触发器213 SR flip-flop

220 比较器220 Comparators

222 单脉冲产生器222 Single Pulse Generator

224 管控电路224 control circuit

230 去颤电路230 defibrillation circuit

232 与门232 AND gate

234 非门234 NOT gate

240 D触发器240D flip-flop

242 与门242 AND gate

CLK 时钟信号CLK clock signal

GND 接地线GND ground wire

HV 高压端HV high voltage side

IN 输入端IN input terminal

IOS 偏移电流I OS offset current

IOS 固定值IOS fixed value

RG 预设范围RG preset range

SBI 确认信号S BI confirmation signal

SCHK 比较结果S CHK Comparison Results

SENS 检测端SENS detection terminal

SPWM PWM信号S PWM PWM signal

SRES 脉冲S RES pulse

t1、t2、t3 时间点t1, t2, t3 time points

TDEB1、TDEB2 去颤时间T DEB1 , T DEB2 defibrillation time

VAC-MAIN 市电V AC-MAIN

VBNO 分压结果V BNO partial voltage result

VBTM 下限电压V BTM lower limit voltage

VCC 电源电压V CC power supply voltage

VCC 操作电源端VCC operation power terminal

VHV 输入电压V HV input voltage

VIN 输入电压V IN input voltage

VLINE 线电压V LINE line voltage

VOUT 输出电压V OUT output voltage

VREF 参考电压V REF reference voltage

VTOP 上限电压V TOP upper limit voltage

具体实施方式Detailed ways

在本说明书中,有一些相同的符号,其表示具有相同或是类似的结构、功能、原理的元件,且为本领域技术人员可以依据本说明书的教导而推知。为说明书的简洁度考虑,相同的符号的元件将不再重述。In this specification, there are some same symbols, which represent elements with the same or similar structure, function, and principle, and can be deduced by those skilled in the art based on the teaching of this specification. For the sake of brevity in the description, elements with the same symbols will not be repeated.

图3显示依据本发明所实施的一电源控制器18c,以及一些周边电路。在一实施例中,电源控制器18c是一集成电路,可取代图1中的电源控制器18,可提供PWM信号SPMW控制功率开关26。FIG. 3 shows a power controller 18c implemented according to the present invention, and some peripheral circuits. In one embodiment, the power controller 18 c is an integrated circuit, which can replace the power controller 18 in FIG. 1 , and can provide a PWM signal S PWM to control the power switch 26 .

电源控制器18c中有一高压启动晶体管46,连接到高压端HV。举例来说,其为一耗尽式(depletion mode)金属氧化物半导体(metal-oxide-semiconductor,MOS)晶体管。在高压启动时开启,可以提供充电电流,通过二极管202,对操作电源电容28充电。当操作电源电压VCC高到一定程度时,譬如超过20V,高压启动晶体管46可以因为其源极电压被拉高而自动关闭,停止提供充电电流。如同图3举例所示,高压启动晶体管46可以通过高压端HV以及高压电阻20,电连接到线电压VLINEThe power controller 18c has a high voltage enable transistor 46 connected to the high voltage terminal HV. For example, it is a depletion mode metal-oxide-semiconductor (MOS) transistor. It is turned on when the high voltage is started, and can provide charging current to charge the operating power supply capacitor 28 through the diode 202 . When the operating power supply voltage V CC is higher than a certain level, such as exceeding 20V, the high-voltage start-up transistor 46 can be automatically turned off because its source voltage is pulled high, and stop supplying the charging current. As shown for example in FIG. 3 , the high voltage enable transistor 46 can be electrically connected to the line voltage V LINE through the high voltage terminal HV and the high voltage resistor 20 .

电源控制器18c包含有一可开关电流源206、一分压电路40c、一管理电路204、一欠压保护电路208、一足压制动电路210、以及一信号产生器212。The power controller 18c includes a switchable current source 206 , a voltage dividing circuit 40c , a management circuit 204 , an undervoltage protection circuit 208 , a foot voltage brake circuit 210 , and a signal generator 212 .

分压电路40c具有两个分压电阻42c与44c,串联于高压端HV与接地线GND之间。分压电阻42c与44c之间的连接点可以提供一分压结果VBNO,给管理电路204,其据以控制可开关电流源206。分压电路40c检测在高压端HV的输入电压VHV,而产生大约成比例的分压结果VBNOThe voltage dividing circuit 40c has two voltage dividing resistors 42c and 44c, which are connected in series between the high voltage terminal HV and the ground line GND. The connection point between the voltage dividing resistors 42 c and 44 c can provide a voltage dividing result V BNO to the management circuit 204 , which controls the switchable current source 206 accordingly. The voltage dividing circuit 40c detects the input voltage V HV at the high voltage terminal HV, and generates a voltage dividing result V BNO that is approximately proportional.

当可开关电流源206开启时,可以提供一偏移电流IOS。偏移电流IOS大约为不为0的一定值IOS,其从线电压VLINE开始,流经高压电阻20、高压启动晶体管46以及可开关电流源206。当可开关电流源206关闭时,偏移电流IOS消失。可开关电流源206可以设计在高压启动结束之后,或操作电源电压VCC够高时,才允许被开启。When the switchable current source 206 is turned on, it can provide an offset current I OS . The offset current I OS is approximately a certain value IOS that is not zero, and it starts from the line voltage V LINE and flows through the high voltage resistor 20 , the high voltage enable transistor 46 and the switchable current source 206 . When the switchable current source 206 is turned off, the offset current I OS disappears. The switchable current source 206 can be designed to be turned on after the high-voltage start-up is completed, or when the operating power supply voltage V CC is high enough.

如同图3所示,管理电路204包含有比较器220、单脉冲产生器222、以及管控电路224。比较器220比较分压结果VBNO与一参考电压VREF,以产生一比较结果SCHK。稍后将说明,当比较结果SCHK从逻辑上的0转态为逻辑上的1时,单脉冲产生器222可以提供一脉冲SRES。脉冲SRES不存在时(逻辑值为0),管控电路224持续关闭可开关电流源206。当脉冲SRES出现时,管控电路224才容许时钟信号CLK触发开启可开关电流源206。As shown in FIG. 3 , the management circuit 204 includes a comparator 220 , a single pulse generator 222 , and a control circuit 224 . The comparator 220 compares the divided voltage result V BNO with a reference voltage V REF to generate a comparison result S CHK . It will be explained later that when the comparison result S CHK changes from logic 0 to logic 1, the single pulse generator 222 can provide a pulse S RES . When the pulse S RES does not exist (logic value 0), the control circuit 224 keeps turning off the switchable current source 206 . When the pulse S RES appears, the control circuit 224 allows the clock signal CLK to trigger to turn on the switchable current source 206 .

单脉冲产生器222包含有去颤电路(debounce circuit)230、非门(NOT gate)234、以及与门(AND gate)232。在此实施例中,只要比较结果SCHK为逻辑上的0时,确认信号SBI就会是逻辑上的0。只有当比较结果SCHK从逻辑上的0,转态到逻辑上的1,且稳定在逻辑上的1超过一预设去颤时间TDEB1时,确认信号SBI的逻辑值才会从0转变1。在此实施例中,去颤时间TDEB1大约为300us。非门234以及与门232一起作为一逻辑电路,依据比较结果SCHK以及确认信号SBI,来产生脉冲SRESThe single pulse generator 222 includes a debounce circuit 230 , a NOT gate 234 , and an AND gate 232 . In this embodiment, as long as the comparison result S CHK is logic 0, the confirmation signal S BI will be logic 0. Only when the comparison result S CHK changes from logic 0 to logic 1 and stays at logic 1 for more than a preset defibrillation time T DEB1 , the logic value of confirmation signal S BI will change from 0 1. In this embodiment, the defibrillation time T DEB1 is about 300us. The NOT gate 234 and the AND gate 232 together serve as a logic circuit to generate the pulse S RES according to the comparison result S CHK and the confirmation signal S BI .

管控电路224接收时钟信号CLK以及脉冲SRES。当脉冲SRES没有出现时(为逻辑上的0),D触发器240一直被重设(reset),维持其输出为逻辑上的0,关闭可开关电流源206。当脉冲SRES出现,为逻辑上的1时,D触发器240可以在时钟信号CLK的下一个上升沿出现时,通过与门242,开启可开关电流源206。在此实施例中,时钟信号CLK的周期为100us。The control circuit 224 receives the clock signal CLK and the pulse S RES . When the pulse S RES is not present (logic 0), the D flip-flop 240 is always reset, maintaining its output at a logic 0, turning off the switchable current source 206 . When the pulse S RES appears, which is logic 1, the D flip-flop 240 can turn on the switchable current source 206 through the AND gate 242 when the next rising edge of the clock signal CLK occurs. In this embodiment, the period of the clock signal CLK is 100us.

足压制动电路210接收确认信号SBI。当确认信号SBI为逻辑上的1时,SR触发器213被设置(set),致能信号产生器212。所以信号产生器212可以提供PWM信号SPWM,开关功率开关26,使图1中的电源供应器开始电源转换。The foot brake circuit 210 receives the confirmation signal S BI . When the confirmation signal S BI is logic 1, the SR flip-flop 213 is set (set), enabling the signal generator 212 . Therefore, the signal generator 212 can provide the PWM signal S PWM to switch the power switch 26 , so that the power supply in FIG. 1 starts power conversion.

欠压保护电路208接收确认信号SBI。欠压保护电路208具有一非门211以及一去颤电路209。功能上,去颤电路209跟去颤电路230一样,只是去颤电路209的去颤时间TDEB2跟去颤电路230的去颤时间TDEB1不一样。在此实施例中,去颤时间TDEB2大约为180ms。换句话说,当确认信号SBI持续180ms都没有变成逻辑上的1时,欠压保护电路208将重置(reset)SR触发器213,禁能信号产生器212。此时,信号产生器212禁止提供PWM信号SPWM,功率开关26维持在关闭状态,图1中的电源供应器停止电源转换。The undervoltage protection circuit 208 receives the confirmation signal S BI . The undervoltage protection circuit 208 has an inverter gate 211 and a defibrillation circuit 209 . Functionally, the defibrillation circuit 209 is the same as the defibrillation circuit 230 , except that the defibrillation time T DEB2 of the defibrillation circuit 209 is different from the defibrillation time T DEB1 of the defibrillation circuit 230 . In this embodiment, the defibrillation time T DEB2 is approximately 180 ms. In other words, when the confirmation signal S BI does not become logic 1 for 180 ms, the undervoltage protection circuit 208 will reset the SR flip-flop 213 and disable the signal generator 212 . At this time, the signal generator 212 is prohibited from providing the PWM signal S PWM , the power switch 26 remains in the off state, and the power supply in FIG. 1 stops power conversion.

在此实施例中,高压电阻20的电阻值大约为数十千欧姆,而分压电阻42c与44c的电阻和大约为数十百万欧姆。In this embodiment, the resistance of the high voltage resistor 20 is approximately tens of kiloohms, and the sum of the resistances of the voltage dividing resistors 42c and 44c is approximately tens of million ohms.

图4显示图3中的一些信号的信号波形。由上而下,分别是线电压VLINE、分压结果VBNO、时钟信号CLK、比较结果SCHK、偏移电流IOS、以及确认信号SBIFIG. 4 shows signal waveforms of some of the signals in FIG. 3 . From top to bottom, they are line voltage V LINE , voltage division result V BNO , clock signal CLK, comparison result S CHK , offset current I OS , and confirmation signal S BI .

在图4中的前半段中,线电压VLINE渐渐上升;后半段中,线电压VLINE渐渐下降。In the first half of FIG. 4 , the line voltage V LINE gradually increases; in the second half, the line voltage V LINE gradually decreases.

在时间点t1之前,偏移电流IOS为0A,线电压VLINE低于下限电压VBTM,没有落入了预设范围RG,其介于上限电压VTOP与下限电压VBTM之间。分压结果VBNO大约等于K*VLINE,小于参考电压VREF,其中K为分压电路40c所决定的一比例常数。比较结果SCHK固定为逻辑上的0,确认信号SBI为0,脉冲SRES维持在0。因此,管控电路224持续关闭可开关电流源206。Before time point t1, the offset current I OS is 0A, the line voltage V LINE is lower than the lower limit voltage V BTM , and does not fall into the preset range RG, which is between the upper limit voltage V TOP and the lower limit voltage V BTM . The voltage division result V BNO is approximately equal to K*V LINE , which is less than the reference voltage V REF , where K is a proportional constant determined by the voltage division circuit 40c. The comparison result S CHK is fixed at logic 0, the confirmation signal S BI is 0, and the pulse S RES is maintained at 0. Therefore, the control circuit 224 keeps turning off the switchable current source 206 .

在时间点t1,线电压VLINE上升超过下限电压VBTM,落入了预设范围RG。此时,分压结果VBNO(等于K*VLINE)相对的超过了参考电压VREF。所以,比较结果SCHK转态为逻辑上的1,脉冲SRES接着转变为逻辑上的1。而管控电路224在时钟信号CLK的下一上升沿出现时,开启可开关电流源206,使得偏移电流IOS出现,为超过0A的一固定值IOS。At time point t1, the line voltage V LINE rises above the lower limit voltage V BTM and falls into the preset range RG. At this time, the voltage division result V BNO (equal to K*V LINE ) relatively exceeds the reference voltage V REF . Therefore, the comparison result S CHK transitions to a logical 1, and the pulse S RES then transitions to a logical 1. The control circuit 224 turns on the switchable current source 206 when the next rising edge of the clock signal CLK occurs, so that the offset current I OS appears, which is a fixed value IOS exceeding 0A.

偏移电流IOS的出现,将快速地拉低输入电压VHV以及分压结果VBNO。此时,分压结果VBNO将大约等于K*(VLINE-IOS*RHV),其中RHV为高压电阻20的电阻值。因此,分压结果VBNO很快地就低于参考电压VREF。比较结果SCHK转态为逻辑上的0,脉冲SRES结束,管控电路224立刻关闭可开关电流源206,关闭偏移电流IOS。这意味着,偏移电流IOS的开启,经过反馈后,将导致其关闭。换句话说,偏移电流IOS只会开启一段非常短的时间,如同图4所示。The appearance of the offset current I OS will quickly pull down the input voltage V HV and the voltage division result V BNO . At this time, the voltage division result V BNO is approximately equal to K*(V LINE −IOS*RHV), where RHV is the resistance value of the high voltage resistor 20 . Therefore, the voltage division result V BNO is quickly lower than the reference voltage V REF . The comparison result S CHK turns to logic 0, the pulse S RES ends, the control circuit 224 immediately turns off the switchable current source 206 and turns off the offset current I OS . This means that the turn-on of the offset current I OS , after feedback, will cause it to turn off. In other words, the offset current I OS is only turned on for a very short time, as shown in FIG. 4 .

偏移电流IOS的关闭将导致分压结果VBNO上升,使得比较结果SCHK的逻辑值由0转态为1。如同先前所描述的,在时钟信号CLK的下一上升沿出现时,偏移电流IOS会再开启一段非常短的时间。换句话说,偏移电流IOS周期性的,在每一次时钟信号CLK的上升沿出现时,被开启一段非常短的时间。Turning off the offset current I OS will cause the voltage division result V BNO to rise, making the logic value of the comparison result S CHK change from 0 to 1. As previously described, when the next rising edge of the clock signal CLK occurs, the offset current I OS is turned on for a very short time. In other words, the offset current I OS is periodically turned on for a very short time every time a rising edge of the clock signal CLK occurs.

在时间点t2,线电压VLINE已经超过了上限电压VTOP。如同图4所显示的,时间点t1到t2的时段内,线电压VLINE介于上限电压VTOP与下限电压VBTM,而偏移电流IOS依据时钟信号CLK,周期性地被开启与关闭。At time t2, the line voltage V LINE has exceeded the upper limit voltage V TOP . As shown in FIG. 4 , during the period from time point t1 to t2, the line voltage V LINE is between the upper limit voltage V TOP and the lower limit voltage V BTM , and the offset current I OS is periodically turned on and off according to the clock signal CLK .

在线电压VLINE的上升过程中,从时间点t2开始,线电压VLINE已经超过了上限电压VTOP,没有落入预设范围RG。此时,不论偏移电流IOS是否被开启,分压结果VBNO都大于参考电压VREF,比较结果SCHK都是逻辑上的1。此时偏移电流IOS开启后,不再提早关闭,会依据时钟信号CLK完整进行一责任周期。当比较结果SCHK维持在逻辑值1超过去颤时间TDEB1(300us)时,也就是时间点t3,去颤电路230才让比较结果SCHK通过,成为确认信号SBI,其才从逻辑上的0变成1。然后才导致偏移电流IOS稳定地被关闭。During the rising process of the line voltage V LINE , starting from the time point t2, the line voltage V LINE has exceeded the upper limit voltage V TOP , and does not fall into the preset range RG. At this time, no matter whether the offset current I OS is turned on or not, the voltage division result V BNO is greater than the reference voltage V REF , and the comparison result S CHK is logic 1. At this time, after the offset current I OS is turned on, it will not be turned off early, and a duty cycle will be completely performed according to the clock signal CLK. When the comparison result S CHK remains at a logic value of 1 and exceeds the defibrillation time T DEB1 (300us), that is, the time point t3, the defibrillation circuit 230 allows the comparison result S CHK to pass through and become the confirmation signal S BI , which logically The 0's become 1's. Then the offset current I OS is turned off stably.

如同图4所示。在时间点t2到t3之间的时段,偏移电流IOS随着时钟信号CLK的逻辑值改变而开启与关闭。为了节省开启偏移电流IOS所损耗的能量,时钟信号CLK的责任周期(Duty Cycle)可以设计为10%或是更小。As shown in Figure 4. During the period between time points t2 and t3, the offset current I OS is turned on and off as the logic value of the clock signal CLK changes. In order to save energy consumed by turning on the offset current I OS , the duty cycle (Duty Cycle) of the clock signal CLK can be designed to be 10% or less.

确认信号SBI将一直维持在逻辑上的1。直到分压结果VBNO掉落到参考电压VREF,或是线电压VLINE掉落到下限电压VBTM,如同图4时间点t4所发生的,确认信号SBI与比较结果SCHK才转变成逻辑上的0。The acknowledgment signal S BI will always maintain logic 1. Until the voltage division result V BNO drops to the reference voltage V REF , or the line voltage V LINE drops to the lower limit voltage V BTM , as happened at time point t4 in FIG. 4 , the confirmation signal S BI and the comparison result S CHK become Logical 0.

从图3与图4的分析可知,比较器220比较分压结果VBNO以及参考电压VREF,来检测线电压VLINE是否落入预设范围RG。而且,如果线电压VLINE不落入预设范围RG,偏移电流IOS将会持续被关闭。在线电压VLINE落入预设范围RG内时,偏移电流IOS也仅仅是周期性地短暂开启。这意味着大部分的时间,偏移电流IOS都是关闭的,可以节省电源。It can be seen from the analysis of FIG. 3 and FIG. 4 that the comparator 220 compares the voltage division result V BNO and the reference voltage V REF to detect whether the line voltage V LINE falls within the preset range RG. Moreover, if the line voltage V LINE does not fall within the preset range RG, the offset current I OS will be continuously turned off. When the line voltage V LINE falls within the preset range RG, the offset current I OS is only turned on periodically and briefly. This means that most of the time, the offset current I OS is turned off to save power.

经由以上解释可知,上限电压VTOP与下限电压VBTM分别符合以下公式(1)与(2)。From the above explanation, it can be known that the upper limit voltage V TOP and the lower limit voltage V BTM comply with the following formulas (1) and (2), respectively.

K*(VTOP–RHV*IOS)=VREF.......(1)K*(V TOP –RHV*IOS)=V REF ......(1)

K*VBTM=VREF.......(2)K*V BTM =V REF ......(2)

公式(1)清楚地表示,上限电压VTOP关联于高压电阻20的电阻值RHV。偏移电流IOS出现时,大约为集成电路内定的一固定值IOS。因此,系统设计者,可以利用选择高压电阻20的电阻值RHV,来决定上限电压VTOPFormula (1) clearly shows that the upper limit voltage V TOP is related to the resistance value RHV of the high voltage resistor 20 . When the offset current I OS appears, it is approximately a fixed value IOS preset by the integrated circuit. Therefore, the system designer can determine the upper limit voltage V TOP by selecting the resistance value RHV of the high voltage resistor 20 .

只有在线电压VLINE稳定地超过了上限电压VTOP时,确认信号SBI才会是逻辑上的1。因此,确认信号SBI可以用来作为欠压保护或是足压制动的判断。Only when the line voltage V LINE stably exceeds the upper limit voltage V TOP , the confirmation signal S BI will be logic 1. Therefore, the confirmation signal S BI can be used as a judgment for undervoltage protection or full pressure braking.

如同图3所举例的,当确认信号SBI为逻辑上的1时,足压制动电路210致能信号产生器212。所以信号产生器212可以提供PWM信号SPWM,开关功率开关26,使图1中的电源供应器开始电源转换。当超过180ms之后,确认信号SBI一直都是逻辑上的0,没有变成逻辑上的1时,意味着线电压VLINE的峰值确定是太低了,所以欠压保护电路208重设足压制动电路210中的SR触发器213,禁能信号产生器212,功率开关26维持在关闭状态,图1中的电源供应器停止电源转换。As shown in FIG. 3 , when the confirmation signal S BI is logic 1, the foot brake circuit 210 enables the signal generator 212 . Therefore, the signal generator 212 can provide the PWM signal S PWM to switch the power switch 26 , so that the power supply in FIG. 1 starts power conversion. After more than 180 ms, the confirmation signal S BI has always been logic 0 and has not become logic 1, which means that the peak value of the line voltage V LINE is determined to be too low, so the undervoltage protection circuit 208 resets the foot pressure The SR flip-flop 213 in the driving circuit 210, the disable signal generator 212, and the power switch 26 remain in the off state, and the power supply in FIG. 1 stops power conversion.

在图3中,线电压VLINE触动欠压保护或是足压制动的判别标准是上限电压VTOP,其可以利用选择高压电阻20的电阻值RHV来决定。In FIG. 3 , the criterion for the line voltage V LINE to trigger the under-voltage protection or the full-voltage brake is the upper limit voltage V TOP , which can be determined by selecting the resistance value RHV of the high-voltage resistor 20 .

图5显示依据本发明所实施的另一以反驰式架构的交流转直流电源供应器600,其也可以具有高压启动的功能,并采用图3的电源控制器18c。图5并没有图1中的二极管14,而图5的线电压VLINE直接由桥式整流器12所提供。FIG. 5 shows another AC-to-DC power supply 600 with a flyback structure implemented according to the present invention, which can also have a high-voltage start-up function, and uses the power controller 18c of FIG. 3 . FIG. 5 does not have the diode 14 in FIG. 1 , and the line voltage V LINE of FIG. 5 is directly provided by the bridge rectifier 12 .

尽管以上本发明是以反驰式架构的交流转直流电源供应器为实施例来说明,但本发明并不限于此。本发明也可以适用于升压转换器(booster)、降压转换器(buckconverter)等。Although the present invention is described above with an AC-to-DC power supply with a flyback structure as an embodiment, the present invention is not limited thereto. The present invention can also be applied to a booster converter (booster), a buck converter (buck converter) and the like.

以上所述仅为本发明的优选实施例,凡依本发明权利要求书所做的均等变化与修饰,皆应属本发明的涵盖范围。The above descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made according to the claims of the present invention shall fall within the scope of the present invention.

Claims (11)

1.一种线电压的检测方法,适用于电源控制器,其具有高压端,通过高压电阻,连接到该线电压,该线电压关联于交流输入电压,该电源控制器包含有高压启动晶体管,该检测方法包含有:1. A detection method of a line voltage, which is applicable to a power controller, which has a high-voltage terminal connected to the line voltage through a high-voltage resistor, the line voltage is associated with an AC input voltage, and the power controller includes a high-voltage start-up transistor, The detection method includes: 提供分压电路,其至少包含有二分压电阻,串连于该高压端与接地线之间,该高压端具有第一输入电压;A voltage dividing circuit is provided, which includes at least two voltage dividing resistors connected in series between the high voltage end and the ground line, and the high voltage end has a first input voltage; 以该分压电路检测该第一输入电压,并提供分压结果;以及detecting the first input voltage with the voltage dividing circuit, and providing a voltage dividing result; and 依据该分压结果,开关一偏移电流,其流经该高压启动晶体管以及该高压电阻;According to the divided voltage result, switch an offset current, which flows through the high voltage enable transistor and the high voltage resistor; 其中,所述检测方法还包含有:Wherein, the detection method also includes: 比较该分压结果以及参考电压,来检测该线电压是否超过上限电压,其中,该上限电压关联于该高压电阻的电阻值。Comparing the divided voltage result with the reference voltage to detect whether the line voltage exceeds the upper limit voltage, wherein the upper limit voltage is related to the resistance value of the high voltage resistor. 2.如权利要求1所述的检测方法,还包含有:2. detection method as claimed in claim 1, also comprises: 比较该分压结果以及该参考电压,来检测该线电压是否低于一下限电压。Comparing the divided voltage result with the reference voltage to detect whether the line voltage is lower than a lower limit voltage. 3.如权利要求2所述的检测方法,其中,该上限电压与该下限电压之间定义一预设范围,该检测方法还包含有:3. The detection method according to claim 2, wherein a preset range is defined between the upper limit voltage and the lower limit voltage, and the detection method further comprises: 当该线电压不落入该预设范围时,持续关闭该偏移电流。When the line voltage does not fall into the preset range, the offset current is continuously turned off. 4.如权利要求3所述的检测方法,还包含有:4. detection method as claimed in claim 3, also comprises: 当该线电压落入该预设范围时,周期性地开关该偏移电流。When the line voltage falls within the preset range, the offset current is switched on and off periodically. 5.如权利要求4所述的检测方法,还包含有:5. detection method as claimed in claim 4, also comprises: 提供时钟信号;以及providing a clock signal; and 当该线电压落入该预设范围时,依据该时钟信号,周期性地开启该偏移电流。When the line voltage falls into the preset range, the offset current is periodically turned on according to the clock signal. 6.如权利要求1所述的检测方法,还包含有:6. detection method as claimed in claim 1, also comprises: 开启该高压启动晶体管,提供充电电流,对操作电源充电。Turn on the high-voltage startup transistor to provide charging current to charge the operating power supply. 7.一种线电压检测电路,适用于电源控制器,其具有高压端,通过高压电阻,连接到该线电压,该线电压关联于交流输入电压,包含有:7. A line voltage detection circuit suitable for a power controller, which has a high voltage terminal connected to the line voltage through a high voltage resistor, the line voltage is associated with an AC input voltage, comprising: 高压启动晶体管,连接至该高压端;A high-voltage startup transistor connected to the high-voltage terminal; 可开关电流源,连接于该高压启动晶体管与接地线之间;A switchable current source is connected between the high-voltage startup transistor and the ground line; 分压电路,其至少包含有二分压电阻,串连于该高压端与该接地线之间,可提供分压结果;以及a voltage dividing circuit, which includes at least two voltage dividing resistors, which are connected in series between the high voltage end and the ground wire, and can provide a voltage dividing result; and 管理电路,依据该分压结果,开关该可开关电流源,以选择性地提供偏移电流,流经该高压启动晶体管以及该高压电阻;The management circuit switches the switchable current source according to the voltage division result to selectively provide an offset current to flow through the high-voltage start-up transistor and the high-voltage resistor; 其中,该管理电路包含有:Among them, the management circuit includes: 比较器,比较该分压结果以及参考电压,以产生比较结果;a comparator for comparing the divided voltage result with a reference voltage to generate a comparison result; 单脉冲产生器,依据该比较结果,可提供一脉冲;以及a single pulse generator, which can provide a pulse according to the comparison result; and 管控电路,在该脉冲出现时,可以开启该可开关电流源。The control circuit can turn on the switchable current source when the pulse occurs. 8.如权利要求7所述的线电压检测电路,其中,该管控电路接收时钟信号,且该管控电路在该时钟信号的信号沿出现时,可开启该可开关电流源。8. The line voltage detection circuit as claimed in claim 7, wherein the control circuit receives a clock signal, and the control circuit can turn on the switchable current source when an edge of the clock signal occurs. 9.如权利要求7所述的线电压检测电路,其中,该单脉冲产生器包含有:9. The line voltage detection circuit as claimed in claim 7, wherein the single pulse generator comprises: 去颤电路(debounce circuit),当该比较结果稳定超过预设去颤时间时,该去颤电路可让该比较结果通过,成为确认信号;以及A defibrillation circuit (debounce circuit), when the comparison result is stable beyond a preset defibrillation time, the defibrillation circuit can pass the comparison result as a confirmation signal; and 逻辑电路,依据该比较结果以及该确认信号,来产生该脉冲。The logic circuit generates the pulse according to the comparison result and the confirmation signal. 10.如权利要求9所述的线电压检测电路,还包含有:10. The line voltage detection circuit as claimed in claim 9, further comprising: 欠压(brown-out)保护电路,当该确认信号为第一逻辑值超过第一预设时间时,使该电源控制器停止电源供应器的电源转换。The brown-out protection circuit causes the power controller to stop the power conversion of the power supply when the confirmation signal is a first logic value exceeding a first preset time. 11.如权利要求10所述的线电压检测电路,还包含有:11. The line voltage detection circuit as claimed in claim 10, further comprising: 足压(brown-in)制动电路,当该确认信号为第二逻辑值时,使该电源供应器开始电源转换。A brown-in brake circuit is used to enable the power supply to start power conversion when the confirmation signal is a second logic value.
CN201610917895.4A 2016-10-21 2016-10-21 Line voltage detection circuit and related detection method Active CN107979264B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610917895.4A CN107979264B (en) 2016-10-21 2016-10-21 Line voltage detection circuit and related detection method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610917895.4A CN107979264B (en) 2016-10-21 2016-10-21 Line voltage detection circuit and related detection method

Publications (2)

Publication Number Publication Date
CN107979264A CN107979264A (en) 2018-05-01
CN107979264B true CN107979264B (en) 2019-10-11

Family

ID=62003706

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610917895.4A Active CN107979264B (en) 2016-10-21 2016-10-21 Line voltage detection circuit and related detection method

Country Status (1)

Country Link
CN (1) CN107979264B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115549478A (en) * 2021-06-30 2022-12-30 华为数字能源技术有限公司 A switch conversion circuit and control method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102545571A (en) * 2010-12-10 2012-07-04 立锜科技股份有限公司 Current sensing circuit applied to switching type power supply
CN103595390A (en) * 2012-08-14 2014-02-19 通嘉科技股份有限公司 Circuit and method for controlling latch mode of pulse width modulation circuit
TW201630294A (en) * 2015-02-04 2016-08-16 通嘉科技股份有限公司 Protection circuit applied to an alternating current power source and related protection method thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102545571A (en) * 2010-12-10 2012-07-04 立锜科技股份有限公司 Current sensing circuit applied to switching type power supply
CN103595390A (en) * 2012-08-14 2014-02-19 通嘉科技股份有限公司 Circuit and method for controlling latch mode of pulse width modulation circuit
TW201630294A (en) * 2015-02-04 2016-08-16 通嘉科技股份有限公司 Protection circuit applied to an alternating current power source and related protection method thereof

Also Published As

Publication number Publication date
CN107979264A (en) 2018-05-01

Similar Documents

Publication Publication Date Title
TWI618342B (en) Line-voltage detection circuit and relevant detection method
US10903752B2 (en) AC-DC converter with secondary side-control and synchronous rectifier sense architecture
US8917076B2 (en) Off-line regulator with pass device and associated method
US20190074761A1 (en) Semiconductor device for power supply control and power supply device, and discharging method for x capacitor
CN105591553B (en) Power converter controller with analog controlled variable current circuit
CN102573209B (en) The control method of electric consumption on lighting source apparatus and maintenance electric current
CN101414764B (en) Method and apparatus to reduce the volume required for bulk capacitance in a power supply
US9961734B2 (en) Systems and methods for dimming control using TRIAC dimmers
US9520868B2 (en) Power transistor driving circuits and methods for switching mode power supplies
US20090303641A1 (en) Switching regulator and operations control method thereof
US11336170B2 (en) Frequency setting in a power supply device, power supply control device, and power supply control method
JP6481407B2 (en) Power supply control semiconductor device
CN107786093A (en) High efficiency power voltage-regulation for synchronous rectifier controller
TW201541837A (en) System controller and method for regulating a power conversion system
TW201448411A (en) Using synchronous converter in asynchronous mode to prevent current reversal during battery charging
CN104868703A (en) High voltage converter without auxiliary winding
JP5293016B2 (en) DC-DC converter
TW201547324A (en) Control methods and power converters suitable for triac dimming
CN106961094A (en) The system that input undervoltage and overvoltage protection are provided for supply convertor
JP2019047655A (en) Semiconductor device for power supply control, power supply device, discharge method of x capacitor, and switch control method
CN102263507B (en) Switch type power supply and control method applied therein
CN107979264B (en) Line voltage detection circuit and related detection method
JP5839222B2 (en) Constant current power supply
US10624163B1 (en) Lighting device with output buffer circuit for stability during no-load or standby operation
CN111937287B (en) Integrated circuits, power circuits

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant