WO2021051636A1 - Power failure protection circuit and method, data protection method, and electronic product - Google Patents

Power failure protection circuit and method, data protection method, and electronic product Download PDF

Info

Publication number
WO2021051636A1
WO2021051636A1 PCT/CN2019/119720 CN2019119720W WO2021051636A1 WO 2021051636 A1 WO2021051636 A1 WO 2021051636A1 CN 2019119720 W CN2019119720 W CN 2019119720W WO 2021051636 A1 WO2021051636 A1 WO 2021051636A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
power
switch circuit
charging
constant current
Prior art date
Application number
PCT/CN2019/119720
Other languages
French (fr)
Chinese (zh)
Inventor
张云安
毛瑞
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2021051636A1 publication Critical patent/WO2021051636A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J9/00Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting
    • H02J9/04Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source
    • H02J9/06Circuit arrangements for emergency or stand-by power supply, e.g. for emergency lighting in which the distribution system is disconnected from the normal source and connected to a standby source with automatic change-over, e.g. UPS systems
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/34Parallel operation in networks using both storage and other dc sources, e.g. providing buffering
    • H02J7/345Parallel operation in networks using both storage and other dc sources, e.g. providing buffering using capacitors as storage or buffering devices
    • 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
    • H02M3/00Conversion of dc power input into dc power output
    • H02M3/02Conversion of dc power input into dc power output without intermediate conversion into ac
    • H02M3/04Conversion of dc power input into dc power output without intermediate conversion into ac by static converters
    • H02M3/10Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode
    • H02M3/145Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal
    • H02M3/155Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only
    • H02M3/156Conversion of dc power input into dc power output without intermediate conversion into ac by static converters using discharge tubes with control electrode or semiconductor devices with control electrode using devices of a triode or transistor type requiring continuous application of a control signal using semiconductor devices only with automatic control of output voltage or current, e.g. switching regulators

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Protection Of Static Devices (AREA)

Abstract

A power failure protection circuit and method, a data protection method, and an electronic product, which specifically relate to a power failure protection circuit, a power failure protection method, a data protection method, and an electronic product employing the circuit and the method. The power failure protection circuit comprises: an energy storage capacitor (C100) configured to be connected to a charging circuit (B100) and a discharging circuit (B200); the charging circuit (B100) disposed between a power supply (A100) and the energy storage capacitor (C100) and configured to charge the energy storage capacitor (C100) in a power-on state; and the discharging circuit (B200) disposed between the power supply (A100) and the energy storage capacitor (C100), and configured to discharge the the power supply (A100) in a power-off state.

Description

一种断电保护电路与方法、数据保护方法及电子产品Power-off protection circuit and method, data protection method and electronic product
交叉引用cross reference
本发明要求在2019年09月17日提交中国专利局、申请号为201910878907.0、发明名称为“一种断电保护电路与方法、数据保护方法及电子产品”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims the priority of a Chinese patent application filed with the Chinese Patent Office, the application number is 201910878907.0, and the invention title is "A power-off protection circuit and method, data protection method and electronic product" on September 17, 2019. The application The entire content of is incorporated in the present invention by reference.
技术领域Technical field
本发明涉及车载与电子领域,特别涉及一种断电保护电路与方法、数据保护方法及电子产品。The invention relates to the field of vehicles and electronics, in particular to a power-off protection circuit and method, a data protection method and an electronic product.
背景技术Background technique
随着汽车应用越来越广泛,车载电子产品的发展也相当迅猛,对电的依赖越来越强,因而异常断电带来的影响成为必须解决的问题。电子产品突然断电有可能会带来产品失效,甚至造成严重的人生安全和财产损失等后果,因此必须要对异常断电有可靠的保护方案。目前业内针对车载电子产品异常断电基本有两种方式,第一种方式是通过纯软件方式,即软件在存储器开闭专有只读区域,把系统重要数据提前备份,当异常断电发生出现数据丢失时,软件从只读区域恢复数据进行启动,此种方法有几个缺陷,第一需要比较大的存储空间,会增加存储器成本;第二无法检测的断电信息,系统无法按照正常的下电时序进行下电,可能造成器件损坏;第三所谓只读存储区原理是系统对该区域先擦除再回写动作,存在系统正在执行该程序时发生了异常断电导致系统重要数据丢失的可能性。第二种方式是在主电源回路直接并联大电容,当主控系统监测主电源跌落到某个阈值下时,启动保护动作,在储能电容电压跌落电子系统运行的最低工作电压之前完成保护动作。此种方案需要储能电容容量很大,不仅成本高,而且产品体积过大,在产品日益小型化趋势下而不具备实施性。As automotive applications become more and more widespread, the development of in-vehicle electronic products is also quite rapid, and the dependence on electricity is becoming stronger and stronger, so the impact of abnormal power failure has become a problem that must be solved. Sudden power failure of electronic products may cause product failure, and even cause serious life safety and property losses. Therefore, it is necessary to have a reliable protection plan for abnormal power failure. At present, there are basically two ways to deal with abnormal power outages of in-vehicle electronic products in the industry. The first method is to use pure software, that is, the software opens and closes the dedicated read-only area of the memory to back up important system data in advance. When data is lost, the software restores the data from the read-only area to start. This method has several drawbacks. First, a relatively large storage space is required, which will increase the storage cost; second, the power failure information that cannot be detected, the system cannot follow the normal The power-off sequence may cause damage to the device; the third principle of the so-called read-only memory area is that the system first erases the area and then writes back. When the system is executing the program, an abnormal power failure occurs and the important data of the system is lost. The possibility. The second method is to directly connect large capacitors in parallel with the main power circuit. When the main control system monitors that the main power supply drops below a certain threshold, the protection action is initiated, and the protection action is completed before the voltage of the energy storage capacitor drops to the minimum operating voltage of the electronic system. . This solution requires a large capacity of the energy storage capacitor, not only the cost is high, but also the product is too large, and it is not feasible under the trend of increasing miniaturization of the product.
针对上述异常断电时车载电子产品需要实施电路保护,解决数据丢失等问题,现有的纯软件方式与大电容方式都不能很好地做到及时存储重要数据,大电容的应用也是一个局限。In view of the above-mentioned abnormal power failure, in-vehicle electronic products need to implement circuit protection to solve problems such as data loss. The existing pure software methods and large capacitor methods cannot store important data in time, and the application of large capacitors is also a limitation.
发明内容Summary of the invention
为了解决现有技术中,电子产品异常断电时不能及时存储数据或者需要配置大电容的问题,本发明实施例提供了一种断电保护电路与方法、数据保护方法及电子产品,根据本发明的一个实施例,提供了一种断电保护电路,包括:储能电容,设置为与充电电路、放电电路相连接;所述充电电路,设置在电源与所述储能电容之间,所述充电电路配置为上电状态下对所述储能电容进行充电;所述放电电路,设置在所述电源与所述储能电容之间,所述放电电路配置为断电状态下对所述电源进行放电。In order to solve the problem in the prior art that electronic products cannot store data in time or need to be equipped with large capacitors when abnormal power failures occur, embodiments of the present invention provide a power failure protection circuit and method, data protection method and electronic product, according to the present invention In one embodiment, a power-off protection circuit is provided, including: an energy storage capacitor, which is set to be connected to a charging circuit and a discharging circuit; the charging circuit is set between the power supply and the energy storage capacitor, the The charging circuit is configured to charge the energy storage capacitor in the power-on state; the discharging circuit is arranged between the power supply and the energy storage capacitor, and the discharging circuit is configured to charge the power supply in the power-off state. Discharge.
根据本发明的一个实施例,提供一种断电保护方法,采用上述任一种电路实现断电保护的方法,包括:上电状态下,所述充电电路中的所述恒流开关电路接收到所述控制电路输出的所述充电使能信号后,对所述储能电容进行充电;断电状态下,所述放电电路中的所述降压开关电路接收到所述控制电路输出的所述放电使能信号后,对主电源回路进行降压放电;同一时刻中,所述恒流开关电路处于工作状态,所述降压开关电路处于禁止状态;或者,所述恒流开关电路处于禁止状态,所述降压开关电路处于工作状态。According to an embodiment of the present invention, there is provided a power-off protection method. The method for implementing power-off protection using any of the above-mentioned circuits includes: in a power-on state, the constant current switch circuit in the charging circuit receives After the charging enable signal output by the control circuit, the energy storage capacitor is charged; in the power-off state, the step-down switch circuit in the discharging circuit receives the output of the control circuit After the discharge enable signal, perform step-down discharge on the main power circuit; at the same moment, the constant current switch circuit is in the working state, and the step-down switch circuit is in the forbidden state; or, the constant current switch circuit is in the forbidden state , The step-down switch circuit is in a working state.
根据本发明的一个实施例,提供一种数据保护方法,所述电源电压异常断电时所述主控系统实现数据保护的方法,包括:所述电源电压异常断电时,掉电检测控制电路产生掉电检测信号;所述主控系统接收到所述掉电检测信号后,实施断电数据保护操作;所述断电数据保护操作包括数据保存,与/或逐步关闭各电路模块,与/或执行正常下电关机等保护动作等。According to an embodiment of the present invention, there is provided a data protection method. The method for the main control system to realize data protection when the power supply voltage is abnormally cut off includes: when the power supply voltage is abnormally cut off, a power failure detection control circuit Generate a power failure detection signal; after receiving the power failure detection signal, the main control system implements a power failure data protection operation; the power failure data protection operation includes data saving, and/or gradually shutting down each circuit module, and/ Or perform protection actions such as normal power-off and shutdown.
根据本发明的一个实施例,提供一种电子产品,包括上述任一项中所述的电路以执行上述任一项中所述的方法;所述电子产品用于车载,或其他领域。According to an embodiment of the present invention, there is provided an electronic product including the circuit described in any one of the above to perform the method described in any one of the above; the electronic product is used in vehicles or other fields.
附图说明Description of the drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The drawings described here are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention, and do not constitute an improper limitation of the present invention. In the attached picture:
图1是根据本发明实施例的断电保护电路示例图;Fig. 1 is an example diagram of a power-off protection circuit according to an embodiment of the present invention;
图2是根据本发明实施例的充、放电电路示例图;Fig. 2 is an example diagram of a charging and discharging circuit according to an embodiment of the present invention;
图3是根据本发明实施例的控制电路示例图;Fig. 3 is an example diagram of a control circuit according to an embodiment of the present invention;
图4是根据本发明实施例的断电保护方法示例图;Fig. 4 is an exemplary diagram of a power-off protection method according to an embodiment of the present invention;
图5是根据本发明实施例的上电状态断电保护电路工作方法示例图;FIG. 5 is an exemplary diagram of a working method of a power-on state and power-off protection circuit according to an embodiment of the present invention;
图6是根据本发明实施例的断电状态断电保护电路工作方法示例图;6 is an example diagram of a working method of a power-off protection circuit in a power-off state according to an embodiment of the present invention;
图7是根据本发明实施例的数据保护方法示例图;Fig. 7 is an exemplary diagram of a data protection method according to an embodiment of the present invention;
图8是根据本发明实施例的掉电后数据保护方法及保护操作示例图;FIG. 8 is an exemplary diagram of a data protection method and protection operation after a power failure according to an embodiment of the present invention;
图9是根据本发明实施例的电子产品系统电路示例图。Fig. 9 is a circuit example diagram of an electronic product system according to an embodiment of the present invention.
具体实施方式detailed description
本发明实施例提供了一种断电保护电路与方法、数据保护方法及电子产品,根据本发明的一个实施例,提供了一种断电保护电路,图1是根据本发明实施例的断电保护电路示例图,如图1所示,所述断电保护电路包括:储能电容C100,设置为与充电电路B100、放电电路B200相连接;本发明不限定所述储能电容的数量与容量大小;所述充电电路B100,设置在电源A100与所述储能电容C100之间,所述充电电路B100配置为上电状态下对所述储能电容C100进行充电;所述放电电路B200,设置在所述电源A100与所述储能电容C100之间,所述放电电路B200配置为断电状态下对所述电源A100进行放电。The embodiment of the present invention provides a power-off protection circuit and method, a data protection method, and an electronic product. According to an embodiment of the present invention, a power-off protection circuit is provided. FIG. 1 is a power-off protection circuit according to an embodiment of the present invention. An example diagram of a protection circuit, as shown in Figure 1, the power-off protection circuit includes: an energy storage capacitor C100, which is set to be connected to the charging circuit B100 and the discharging circuit B200; the present invention does not limit the number and capacity of the energy storage capacitors Size; the charging circuit B100 is arranged between the power supply A100 and the energy storage capacitor C100, the charging circuit B100 is configured to charge the energy storage capacitor C100 in the power-on state; the discharging circuit B200 is set Between the power source A100 and the energy storage capacitor C100, the discharging circuit B200 is configured to discharge the power source A100 in a power-off state.
可选地,在本实施例中,提供了一种断电保护电路,图2是根据本发明实施例的充、放电电路示例图,如图2所示,所述充电电路B100包括:升压控制电路B310,与所述电源相连接A100,控制所述充电电路B100使能; 恒流开关电路B101,设置为与所述电源A100相连接,所述恒流开关电路B101配置为接收充电使能信号;其中,所述充电使能信号来自所述升压控制电路B310;所述恒流开关电路B101采用升压变换器调整电压;根据本发明的一个实施例,所述升压变换器采用高效的升压BOOST开关式升压变换器,具备所述功能的高效率的升压变换器均适应本发明;两个电阻R1/R2,与所述恒流开关电路相连,调整所述恒流开关电路的输出电压;过压保护模块D100,与所述电阻相连,调整所述输出电压后再输入所述储能电容C100。Optionally, in this embodiment, a power-off protection circuit is provided. FIG. 2 is an example diagram of a charging and discharging circuit according to an embodiment of the present invention. As shown in FIG. 2, the charging circuit B100 includes: The control circuit B310 is connected to the power source A100 to control the enabling of the charging circuit B100; the constant current switch circuit B101 is configured to be connected to the power source A100, and the constant current switch circuit B101 is configured to receive the charging enable Signal; wherein, the charging enable signal comes from the boost control circuit B310; the constant current switch circuit B101 uses a boost converter to adjust the voltage; according to an embodiment of the present invention, the boost converter adopts high efficiency The boost BOOST switching boost converter, the high-efficiency boost converters with the functions described above are all adapted to the present invention; two resistors R1/R2 are connected to the constant current switch circuit to adjust the constant current switch The output voltage of the circuit; an overvoltage protection module D100, connected to the resistor, adjusts the output voltage, and then inputs the energy storage capacitor C100.
可选地,所述放电电路包括B200:降压控制电路B320,与所述电源相连接A100,控制所述放电电路使能B200;降压开关电路B201,与所述电源相连接A100,与所述恒流开关电路B101相连;所述降压开关电路B201接收放电使能信号;所述放电使能信号来自所述降压控制电路B320;所述降压开关电路B201采用降压变换器调整电压;所述降压变换器采用高效的降压BUCK开关式降压变换器,具备所述功能的高效率的降压变换器均适应本发明;两个电阻R3/R4,与所述降压开关电路B201相连,调整所述降压开关电路的输出电压。Optionally, the discharging circuit includes B200: a step-down control circuit B320, which is connected to the power supply A100, and controls the discharging circuit enable B200; a step-down switch circuit B201, which is connected to the power supply A100, and is connected to the power supply. The constant current switch circuit B101 is connected; the buck switch circuit B201 receives a discharge enable signal; the discharge enable signal comes from the buck control circuit B320; the buck switch circuit B201 uses a buck converter to adjust the voltage The buck converter adopts a high-efficiency buck BUCK switching buck converter, and all high-efficiency buck converters with the function are adapted to the present invention; two resistors R3/R4, and the buck switch The circuit B201 is connected to adjust the output voltage of the step-down switch circuit.
可选地,在本实施例中,提供了一种断电保护电路,图3是根据本发明实施例的控制电路示例图,如图3所示,所述升压控制电路B310与所述降压控制电路B320包括:比较器U1,与所述电源A100相连接;所述电源经两个电阻R5/R6分压后,输入所述比较器U1的反相输入端;所述比较器U1正相输入端输入预设的网络欠压保护UVLO欠压阈值;所述比较器U1采用迟滞比较器;所述升压控制电路B310与所述降压控制电路B320采用同一个所述比较器;所述升压控制电路B310中,所述比较器U1与反相器U2相连,所述反相器U2输出所述充电使能信号;所述充电使能信号输入所述恒流开关电路;所述降压控制电路B320中,所述比较器U1输出所述放电使能信号;所述放电使能信号输入所述降压开关电路。Optionally, in this embodiment, a power-off protection circuit is provided. FIG. 3 is an example diagram of a control circuit according to an embodiment of the present invention. As shown in FIG. The voltage control circuit B320 includes: a comparator U1, which is connected to the power supply A100; the power supply is divided by two resistors R5/R6 and then input to the inverting input terminal of the comparator U1; the comparator U1 is positive The phase input terminal inputs the preset network undervoltage protection UVLO undervoltage threshold; the comparator U1 adopts a hysteresis comparator; the boost control circuit B310 and the buck control circuit B320 adopt the same comparator; In the boost control circuit B310, the comparator U1 is connected to an inverter U2, and the inverter U2 outputs the charging enable signal; the charging enable signal is input to the constant current switch circuit; In the step-down control circuit B320, the comparator U1 outputs the discharge enable signal; the discharge enable signal is input to the step-down switch circuit.
根据本发明的一个实施例,提供一种断电保护方法,采用上述任一种电 路实现断电保护的方法,图4是根据本发明实施例的断电保护方法示例图,如图4所示,包括:S100判断电源状态;S210上电状态下,S310所述充电电路中的所述恒流开关电路接收到所述控制电路输出的所述充电使能信号后,S410对所述储能电容进行充电;S220断电状态下,S320所述放电电路中的所述降压开关电路接收到所述控制电路输出的所述放电使能信号后,S420对主电源回路进行降压放电;同一时刻中,所述恒流开关电路处于工作状态,所述降压开关电路处于禁止状态;或者,所述恒流开关电路处于禁止状态,所述降压开关电路处于工作状态。According to an embodiment of the present invention, there is provided a power-off protection method, which uses any of the above-mentioned circuits to achieve power-off protection. FIG. 4 is an example diagram of the power-off protection method according to an embodiment of the present invention, as shown in FIG. , Including: S100 judging the power supply status; S210 in the power-on state, after the constant current switch circuit in the charging circuit of S310 receives the charging enable signal output by the control circuit, S410 performs treatment on the energy storage capacitor Perform charging; S220 in the power-off state, after the step-down switch circuit in the discharge circuit of S320 receives the discharge enable signal output by the control circuit, S420 performs step-down discharge on the main power circuit; at the same time Wherein, the constant current switch circuit is in a working state, and the step-down switch circuit is in a prohibited state; or, the constant current switch circuit is in a prohibited state, and the step-down switch circuit is in a working state.
可选地,在本实施例中,提供了一种断电保护方法,图5是根据本发明实施例的上电状态断电保护电路工作方法示例图,如图5所示,所述恒流开关电路接收到所述控制电路输出的所述充电使能信号后,对所述储能电容进行充电,包括:S210上电状态下,所述电源电压正常时,S311所述比较器反相输入大于正相输入,S311a1所述比较器通过所述反相器反相后输出所述充电使能信号;S311a2所述充电使能信号输入所述充电电路中的所述恒流开关电路;S311a3所述恒流开关电路控制所述升压变换器对所述储能电容进行充电;所述充电使能信号为高电平;S311b1所述比较器另外输出低电平,S311b2所述低电平输入所述放电电路中的所述降压开关电路;S311b3所述降压开关电路控制所述降压变换器处于禁止工作状态。Optionally, in this embodiment, a power-off protection method is provided. FIG. 5 is an example diagram of a working method of a power-on state power-off protection circuit according to an embodiment of the present invention. As shown in FIG. 5, the constant current After the switching circuit receives the charging enable signal output by the control circuit, charging the energy storage capacitor includes: S210 in the power-on state, when the power supply voltage is normal, S311 the comparator inverting input Greater than the positive phase input, the comparator in S311a1 outputs the charging enable signal after being inverted by the inverter; the charging enable signal in S311a2 is input to the constant current switch circuit in the charging circuit; The constant current switch circuit controls the boost converter to charge the energy storage capacitor; the charging enable signal is at a high level; the comparator in S311b1 additionally outputs a low level, and the low level input in S311b2 The step-down switch circuit in the discharge circuit; S311b3, the step-down switch circuit controls the step-down converter to be in a prohibited working state.
可选地,在本实施例中,提供了一种断电保护方法,图6是根据本发明实施例的断电状态断电保护电路工作方法示例图,如图6所示,所述降压开关电路接收到所述控制电路输出的所述放电使能信号后,对所述主电源回路进行降压放电,包括:S220所述电源电压异常断电时,S321所述比较器反相输入小于正相输入,S321a1所述比较器输出所述放电使能信号;S321a2所述放电使能信号输入所述放电电路中的所述降压开关电路;S321a3所述降压开关电路控制所述降压变换器处于放电工作状态;所述放电使能信号为高电平;S321b1所述比较器通过所述反相器反相后输出低电平,S321b2所述 低电平输入所述充电电路中的所述恒流开关电路;S321b3所述恒流开关电路控制所述升压变换器禁止充电。Optionally, in this embodiment, a power-off protection method is provided. FIG. 6 is an example diagram of a working method of a power-off protection circuit in a power-off state according to an embodiment of the present invention. As shown in FIG. After the switch circuit receives the discharge enable signal output by the control circuit, it performs step-down and discharge of the main power circuit, including: when the power supply voltage is abnormally cut off in S220, the inverted input of the comparator in S321 is less than Positive phase input, the comparator in S321a1 outputs the discharge enable signal; the discharge enable signal in S321a2 is input to the step-down switch circuit in the discharge circuit; the step-down switch circuit in S321a3 controls the step-down The converter is in a discharging working state; the discharge enable signal is at a high level; the comparator in S321b1 is inverted by the inverter and then outputs a low level, and the low level in S321b2 is input to the charging circuit The constant current switch circuit; S321b3 The constant current switch circuit controls the boost converter to prohibit charging.
可选地,所述恒流开关电路处于工作状态,所述降压开关电路处于禁止状态;或者,所述恒流开关电路处于禁止状态,所述降压开关电路处于工作状态,包括:所述电源电压正常时,所述控制电路控制所述充电电路使能,所述充电电路中的所述恒流开关电路处于工作状态执行充电,所述放电电路中的所述降压开关电路处于禁止工作状态;所述电源电压异常断电时,所述控制电路控制所述放电电路使能,所述放电电路中的所述降压开关电路处于放电工作状态,所述充电电路中的所述恒流开关电路处于禁止工作状态。Optionally, the constant current switch circuit is in a working state and the step-down switch circuit is in a prohibited state; or, the constant current switch circuit is in a prohibited state and the step-down switch circuit is in a working state, including: When the power supply voltage is normal, the control circuit controls the charging circuit to enable, the constant current switch circuit in the charging circuit is in the working state to perform charging, and the step-down switch circuit in the discharging circuit is in the forbidden operation. State; when the power supply voltage is abnormally cut off, the control circuit controls the discharging circuit to enable, the step-down switch circuit in the discharging circuit is in a discharging state, and the constant current in the charging circuit The switch circuit is in a prohibited working state.
根据本发明的一个实施例,提供一种数据保护方法,所述电源电压异常断电时所述主控系统实现数据保护的方法,图7是根据本发明实施例的数据保护方法示例图,如图7所示,包括:S220所述电源电压异常断电时,S500掉电检测控制电路产生掉电检测信号;S600所述主控系统接收到所述掉电检测信号后,实施断电数据保护操作;所述断电数据保护操作包括数据保存,与/或逐步关闭各电路模块,与/或执行正常下电关机等保护动作等。According to an embodiment of the present invention, a data protection method is provided. The main control system realizes data protection when the power supply voltage is abnormally cut off. FIG. 7 is an example diagram of the data protection method according to the embodiment of the present invention, such as As shown in Figure 7, it includes: when the power supply voltage is abnormally cut off in S220, the S500 power failure detection control circuit generates a power failure detection signal; S600 the main control system receives the power failure detection signal, implements power failure data protection Operation; The power-off data protection operation includes data saving, and/or gradually shutting down each circuit module, and/or performing protection actions such as normal power-off and shutdown.
可选地,在本实施例中,提供了一种数据保护电路,图3是根据本发明实施例的控制电路示例图,如图3所示,所述掉电检测控制电路包括:所述比较器U1,开关管U3;所述掉电检测控制电路与所述升压控制电路、所述降压控制电路采用同一个所述比较器;所述开关管U3采用增强型开关管N型金属氧化物半导体NMOS晶体管,或其他增强型开关管;所述比较器U1与所述开关管U3相连;所述开关管导通输出掉电检测信号;所述掉电检测信号输入所述主控系统E100。Optionally, in this embodiment, a data protection circuit is provided. FIG. 3 is an example diagram of a control circuit according to an embodiment of the present invention. As shown in FIG. 3, the power failure detection control circuit includes: the comparison The switch U1, the switch tube U3; the power failure detection control circuit, the boost control circuit, and the step-down control circuit use the same comparator; the switch tube U3 uses an enhanced switch tube N-type metal oxide Material semiconductor NMOS transistor, or other enhanced switching tube; the comparator U1 is connected to the switching tube U3; the switching tube is turned on to output a power-down detection signal; the power-down detection signal is input to the main control system E100 .
可选地,在本实施例中,提供了一种数据保护方法,图8是根据本发明实施例的掉电后数据保护方法及保护操作示例图,如图8所示,所述电源电压异常断电时,所述掉电检测控制电路产生所述掉电检测信号,包括:S220所述电源电压异常断电时,S510所述掉电检测控制电路中的所述比较器反相 输入小于正相输入,S520所述比较器输出高电平;S530所述高电平驱动所述开关管导通,产生所述掉电检测信号。Optionally, in this embodiment, a data protection method is provided. FIG. 8 is an example diagram of a data protection method and protection operation after a power failure according to an embodiment of the present invention. As shown in FIG. 8, the power supply voltage is abnormal. When the power is off, the power failure detection control circuit generates the power failure detection signal, including: when the power supply voltage is abnormally cut off in S220, the inverting input of the comparator in the power failure detection control circuit S510 is less than the positive Phase input, the comparator in S520 outputs a high level; the high level in S530 drives the switch tube to be turned on to generate the power-down detection signal.
可选地,所述主控系统接收到所述掉电检测信号后,实施断电数据保护操作;所述断电数据保护操作包括数据保存,与/或逐步关闭各电路模块,与/或执行正常下电关机等保护动作;包括:S610所述掉电检测控制电路产生的所述掉电检测信号输入所述主控系统;S621-S623所述主控系统开始执行断电数据保护操作,包括:S621所述主控系统接收到所述掉电检测信号后,执行数据存储等以完成数据保护;S622所述主控系统根据各电路模块功能重要性,逐步关闭显示模块以及其它电路模块,如车机系统通信的接口模块电路、无线通信子系统等,最后只保留所述主控系统继续执行数据存储,以节约耗电量,确保所述主控系统有足够余电完成数据存储实现数据保护;S623所述主控系统执行正常下电关机等保护动作,避免异常断电时突然关机导致数据来不及存储无法实现数据保护。Optionally, after receiving the power failure detection signal, the main control system implements a power failure data protection operation; the power failure data protection operation includes data saving, and/or gradually shutting down each circuit module, and/or executing Protection actions such as normal power-off and shutdown; include: the power-down detection signal generated by the power-down detection control circuit in S610 is input to the main control system; S621-S623 the main control system starts to perform power-off data protection operations, including : After receiving the power failure detection signal, the main control system in S621 executes data storage to complete data protection; the main control system in S622 gradually shuts down the display module and other circuit modules according to the functional importance of each circuit module, such as The interface module circuit, wireless communication subsystem, etc. of the vehicle-machine system communication, and finally only the main control system continues to perform data storage to save power consumption and ensure that the main control system has enough power to complete data storage and realize data protection ; S623 The main control system performs protection actions such as normal power-off and shutdown, to avoid sudden shutdown when abnormal power failure causes data to be stored too late to achieve data protection.
根据本发明的一个实施例,提供一种电子产品,包括上述任一项中所述的电路以执行上述任一项中所述的方法;所述电子产品用于车载,或其他领域。According to an embodiment of the present invention, there is provided an electronic product including the circuit described in any one of the above to perform the method described in any one of the above; the electronic product is used in vehicles or other fields.
可选地,根据本发明的一个实施例,提供一种车载电子产品及其异常断电保护电路,该系统由车载蓄电池、储能控制电路、无线通信子系统、MCU主控系统以及和车机系统CAN通信接口、显示模块等组成。Optionally, according to an embodiment of the present invention, a vehicle-mounted electronic product and an abnormal power-off protection circuit thereof are provided. The system is composed of a vehicle-mounted battery, an energy storage control circuit, a wireless communication subsystem, an MCU main control system, and a vehicle machine. The system consists of CAN communication interface and display module.
以下结合附图对本发明进行详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不限定本发明。在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。The present invention will be described in detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention, and do not limit the present invention. In the case of no conflict, the embodiments in the application and the features in the embodiments can be combined with each other.
在本实施例中,提供了一种电子产品,图9是根据本发明实施例的电子产品系统电路示例图,示例的A100主电源由车载蓄电池供电,其典型输出电压12V通过3.3V降压电路和3.6V降压电路分别给微控制单元MCU主控系统E100和无线通信子系统G100供电,所述MCU主控系统E100通过通 用传输器UART和所述无线通信子系统G100进行信息交互,通过控制器局域网络CAN总线和车机系统进行信息交互,同时为了防止异常断电对系统造成的损害以及现有技术解决该问题中储能电容过大问题,本发明提出在所述储能电容C100和所述主电源A100之间增加高效率的电容充放电电路B100/B200即开关式升降压变换器电路,充电和放电在任何时候只有其中一个电路有效,避免升降压变换器同时有效造成循环工作,降低了放电时间。In this embodiment, an electronic product is provided. FIG. 9 is an example circuit diagram of an electronic product system according to an embodiment of the present invention. The A100 main power supply of the example is powered by an on-board battery, and its typical output voltage is 12V through a 3.3V step-down circuit. And 3.6V step-down circuit respectively to supply power to the MCU main control system E100 and the wireless communication subsystem G100 of the microcontroller unit. The MCU main control system E100 exchanges information with the wireless communication subsystem G100 through the universal transmitter UART. In order to prevent the damage to the system caused by abnormal power failure and to solve the problem of excessive energy storage capacitor in the prior art, the present invention proposes to use the energy storage capacitor C100 and the vehicle system to exchange information. A high-efficiency capacitor charging and discharging circuit B100/B200 is added between the main power supply A100, that is, a switching buck-boost converter circuit. Only one of the circuits is effective for charging and discharging at any time, so as to prevent the buck-boost converter from simultaneously causing cycles Work, reducing the discharge time.
在正常供电工作情况下,所述电容充放电电路B100/B200通过高效率BOOST开关式变换器对储能电容进行充电,降低系统功耗,最高充电电压可以根据已有电容规格进行设置。当发生异常断电时,所述储能控制电路通过高效率BUCK开关式变换器时电容对所述主电源A100回路进行降压放电,维持所述主电源A100稳定。同时,当系统监测到所述主电源A100电源跌落事件时,根据各电路模块功能重要性,逐步显示模块,关闭车机系统通信的接口模块电路,无线通信子系统等,只保留所述MCU主控系统E100,最大限度降低所述储能电容C100的能量消耗,延长所述储能电容C100放电时间,以确保系统有足够时间完成重要数据存储,合法的关机时序等保护动作,提高系统可靠性。Under normal power supply conditions, the capacitor charging and discharging circuit B100/B200 charges the energy storage capacitor through a high-efficiency BOOST switching converter to reduce system power consumption. The maximum charging voltage can be set according to the existing capacitor specifications. When an abnormal power failure occurs, the energy storage control circuit uses a high-efficiency BUCK switching converter time capacitor to step-down and discharge the main power supply A100 circuit to maintain the main power supply A100 stable. At the same time, when the system detects the main power supply A100 power supply drop event, according to the functional importance of each circuit module, the modules are gradually displayed, the interface module circuit of the vehicle system communication, the wireless communication subsystem, etc. are closed, and only the MCU master is retained. The control system E100 minimizes the energy consumption of the energy storage capacitor C100 and prolongs the discharge time of the energy storage capacitor C100 to ensure that the system has enough time to complete important data storage, legal shutdown sequence and other protection actions, and improve system reliability .
下面根据本发明的一个实施例,按照本发明断电保护电路,计算本发明所需要的电容容量,对比现有技术方案的电容容量,从而体现本发明优势。In the following, according to an embodiment of the present invention, according to the power-off protection circuit of the present invention, the capacitance required by the present invention is calculated and compared with the capacitance capacity of the prior art solution, thereby embodying the advantages of the present invention.
对于现有技术方案,假设降压电路输入电压工作范围为4~12V,保护期间降压电路平均输入电压为(12V+4V)÷2=8V,保护工作所需要时间为50ms,系统最大工作电流为1A,根据能量守恒,0.5×C×(122-42)=1A×8V×50ms,计算所需要的电容容值为6.25mF,因此需要选择6.25mF/12V规格以上电容才可以满足要求,如此之大的电容在市场上很难寻找到,需要大量电容并联使用,既增加了产品成本,又增大了产品体积,可实施性差。For the existing technical solution, assuming that the working range of the step-down circuit input voltage is 4-12V, the average input voltage of the step-down circuit during the protection period is (12V+4V)÷2=8V, the time required for the protection work is 50ms, and the maximum operating current of the system 1A, according to energy conservation, 0.5×C×(122-42)=1A×8V×50ms, the required capacitance value for calculation is 6.25mF, so you need to choose a capacitor above 6.25mF/12V to meet the requirements, so Such large capacitors are difficult to find in the market, and a large number of capacitors are required to be used in parallel, which not only increases the cost of the product, but also increases the volume of the product, and the implementation is poor.
对于本发明技术方案,假设通过充电电路把储能电容充到24V,放电电路输出设置电压为8V,BUCK降压开关变换器效率为90%,按照本专利在异 常断电发生后功耗优化方案,系统负载电流从原有的1A降低为0.5A,根据能量守恒,0.5×C×(242-42)*0.9=0.5A*8V*50ms,计算所需要的电容容值为794uF,因此选择800uF/25V规格以上电容即可满足要求。如果进一步把充电电压提高到50V,按照同样计算方法计算所需电容减小到179uF,因此选择180uF/50V规格以上电容即可满足要求,如果继续提高充电电压,所需要的电容值会更小,为了防止电压过高引起器件损坏,可以在充电电路输出端增加过压保护模块。因此,本发明相比现有技术方案不仅储能电容容值大大减小,成本效果显著,同时可以根据市场现有电容规格以及价格随意选择电容充电电压,选择灵活,可实施性强。For the technical solution of the present invention, it is assumed that the energy storage capacitor is charged to 24V through the charging circuit, the output setting voltage of the discharging circuit is 8V, and the efficiency of the BUCK step-down switching converter is 90%. According to this patent, the power consumption optimization solution after an abnormal power failure occurs , The system load current is reduced from the original 1A to 0.5A. According to the conservation of energy, 0.5×C×(242-42)*0.9=0.5A*8V*50ms, the capacitance required for calculation is 794uF, so 800uF is selected Capacitors above /25V can meet the requirements. If the charging voltage is further increased to 50V, the required capacitance is reduced to 179uF according to the same calculation method. Therefore, choosing a capacitor above 180uF/50V can meet the requirements. If you continue to increase the charging voltage, the required capacitance value will be smaller. In order to prevent the device from being damaged due to excessive voltage, an overvoltage protection module can be added to the output of the charging circuit. Therefore, compared with the prior art solutions, the present invention not only greatly reduces the capacitance value of the energy storage capacitor, but also has a significant cost effect. At the same time, the capacitor charging voltage can be selected at will according to the existing capacitor specifications and prices in the market, the selection is flexible, and the implementation is strong.
根据本发明实施例提供的一种断电保护电路与方法、数据保护方法及电子产品,包括:断电保护电路、断电保护方法、数据保护方法与一种应用上述电路与方法的电子产品,上述电路与方法采用控制电路对充、放电电路使能进行调控,以保证任何时候,只有一种电路处于工作状态,避免能量损耗的同时,保证异常断电后主控系统持续的电量供应,并能精准检测到异常掉电信号,及时关闭不重要的电路模块,保持主控系统的稳定,保证主控系统有足够的余电执行数据存储、正常下电关机等保护动作,避免异常断电时突然关机导致数据来不及存储无法实现数据保护等问题,缓解现有技术的不足。本发明相比现有技术,成本低廉,可以大大降低电容成本以及产品体积,提高产品可实施性,且异常断电检测精准可靠性高,效果好,实用性强。A power-off protection circuit and method, a data protection method, and an electronic product provided according to embodiments of the present invention include: a power-off protection circuit, a power-off protection method, a data protection method, and an electronic product using the above-mentioned circuit and method, The above circuits and methods use a control circuit to adjust the charging and discharging circuit enablement to ensure that only one circuit is in working condition at any time, avoiding energy loss, and ensuring the continuous power supply of the main control system after an abnormal power failure. It can accurately detect abnormal power-down signals, shut down unimportant circuit modules in time, maintain the stability of the main control system, and ensure that the main control system has enough residual power to perform data storage, normal power-off and shutdown and other protective actions to avoid abnormal power-off Sudden shutdown causes data to be stored too late to achieve data protection and other problems, alleviating the shortcomings of the existing technology. Compared with the prior art, the present invention has low cost, can greatly reduce the cost of capacitance and product volume, improve the implementability of the product, and has high accuracy and reliability in abnormal power failure detection, good effect, and strong practicability.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various modifications and changes. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (13)

  1. 一种断电保护电路,其中,所述断电保护电路包括:A power-off protection circuit, wherein the power-off protection circuit includes:
    储能电容,设置为与充电电路、放电电路相连接;The energy storage capacitor is set to be connected to the charging circuit and the discharging circuit;
    所述充电电路,设置在电源与所述储能电容之间,所述充电电路配置为上电状态下对所述储能电容进行充电;The charging circuit is arranged between the power supply and the energy storage capacitor, and the charging circuit is configured to charge the energy storage capacitor in a powered-on state;
    所述放电电路,设置在所述电源与所述储能电容之间,所述放电电路配置为断电状态下对所述电源进行放电。The discharging circuit is arranged between the power supply and the energy storage capacitor, and the discharging circuit is configured to discharge the power supply in a power-off state.
  2. 根据权利要求1所述的电路,其中,所述充电电路包括:The circuit of claim 1, wherein the charging circuit comprises:
    升压控制电路,与所述电源相连接,控制所述充电电路使能;A boost control circuit, connected to the power supply, to control the enabling of the charging circuit;
    恒流开关电路,设置为与所述电源相连接,所述恒流开关电路配置为接收充电使能信号;其中,所述充电使能信号来自所述升压控制电路;所述恒流开关电路采用升压变换器调整电压;The constant current switch circuit is configured to be connected to the power supply, and the constant current switch circuit is configured to receive a charging enable signal; wherein the charging enable signal comes from the boost control circuit; the constant current switch circuit Use boost converter to adjust voltage;
    两个电阻,与所述恒流开关电路相连,调整所述恒流开关电路的输出电压;Two resistors connected to the constant current switch circuit to adjust the output voltage of the constant current switch circuit;
    过压保护模块,与所述电阻相连,调整所述输出电压后再输入所述储能电容。The overvoltage protection module is connected to the resistor, and then inputs the energy storage capacitor after adjusting the output voltage.
  3. 根据权利要求1所述的电路,其中,所述放电电路包括:The circuit of claim 1, wherein the discharge circuit comprises:
    降压控制电路,与所述电源相连接,控制所述放电电路使能;A step-down control circuit, connected to the power supply, to control the discharging circuit to enable;
    降压开关电路,与所述电源相连接,与所述恒流开关电路相连;所述降压开关电路接收放电使能信号;所述放电使能信号来自所述降压控制电路;所述降压开关电路采用降压变换器调整电压;The step-down switch circuit is connected to the power supply and is connected to the constant current switch circuit; the step-down switch circuit receives a discharge enable signal; the discharge enable signal comes from the step-down control circuit; The voltage switch circuit adopts a buck converter to adjust the voltage;
    两个电阻,与所述降压开关电路相连,调整所述降压开关电路的输出电压。Two resistors are connected with the step-down switch circuit to adjust the output voltage of the step-down switch circuit.
  4. 根据权利要求2-3所述的电路,其中,所述升压控制电路与所述降压控制电路包括:The circuit according to claim 2-3, wherein the step-up control circuit and the step-down control circuit comprise:
    比较器,与所述电源相连接;所述电源经两个电阻分压后,输入所述比 较器的反相输入端;A comparator connected to the power supply; the power supply is divided by two resistors and then input to the inverting input terminal of the comparator;
    所述比较器正相输入端输入预设的网络欠压保护UVLO欠压阈值;The non-inverting input terminal of the comparator inputs a preset network undervoltage protection UVLO undervoltage threshold;
    所述比较器采用迟滞比较器;The comparator adopts a hysteresis comparator;
    所述升压控制电路与所述降压控制电路采用同一个所述比较器;The step-up control circuit and the step-down control circuit use the same comparator;
    所述升压控制电路中,所述比较器与反相器相连,所述反相器输出所述充电使能信号;所述充电使能信号输入所述恒流开关电路;In the boost control circuit, the comparator is connected to an inverter, and the inverter outputs the charging enable signal; the charging enable signal is input to the constant current switch circuit;
    所述降压控制电路中,所述比较器输出所述放电使能信号;所述放电使能信号输入所述降压开关电路。In the step-down control circuit, the comparator outputs the discharge enable signal; the discharge enable signal is input to the step-down switch circuit.
  5. 一种断电保护方法,其中,采用权利要求1-4任一项中所述的电路实现断电保护的方法,包括:A power-off protection method, wherein the method for implementing power-off protection using the circuit described in any one of claims 1 to 4 includes:
    上电状态下,所述充电电路中的所述恒流开关电路接收到所述控制电路输出的所述充电使能信号后,对所述储能电容进行充电;In the power-on state, the constant current switch circuit in the charging circuit charges the energy storage capacitor after receiving the charging enable signal output by the control circuit;
    断电状态下,所述放电电路中的所述降压开关电路接收到所述控制电路输出的所述放电使能信号后,对主电源回路进行降压放电;In the power-off state, after the step-down switch circuit in the discharge circuit receives the discharge enable signal output by the control circuit, perform step-down discharge on the main power circuit;
    同一时刻中,所述恒流开关电路处于工作状态,所述降压开关电路处于禁止状态;或者,所述恒流开关电路处于禁止状态,所述降压开关电路处于工作状态。At the same moment, the constant current switch circuit is in the working state and the step-down switch circuit is in the prohibited state; or, the constant current switch circuit is in the prohibition state, and the step-down switch circuit is in the work state.
  6. 根据权利要求5所述的方法,其中,所述恒流开关电路接收到所述控制电路输出的所述充电使能信号后,对所述储能电容进行充电,包括:The method according to claim 5, wherein after the constant current switch circuit receives the charging enable signal output by the control circuit, charging the energy storage capacitor comprises:
    所述电源电压正常时,所述比较器反相输入大于正相输入,所述比较器通过所述反相器反相后输出所述充电使能信号;When the power supply voltage is normal, the inverting input of the comparator is greater than the non-inverting input, and the comparator outputs the charging enable signal after being inverted by the inverter;
    所述充电使能信号输入所述充电电路中的所述恒流开关电路;The charging enable signal is input to the constant current switch circuit in the charging circuit;
    所述恒流开关电路控制所述升压变换器对所述储能电容进行充电;The constant current switch circuit controls the boost converter to charge the energy storage capacitor;
    所述充电使能信号为高电平;The charging enable signal is at a high level;
    所述比较器另外输出低电平,所述低电平输入所述放电电路中的所述降压开关电路;The comparator additionally outputs a low level, and the low level is input to the step-down switch circuit in the discharge circuit;
    所述降压开关电路控制所述降压变换器处于禁止工作状态。The step-down switch circuit controls the step-down converter to be in a prohibited working state.
  7. 根据权利要求5所述的方法,其中,所述降压开关电路接收到所述控制电路输出的所述放电使能信号后,对所述主电源回路进行降压放电,包括:The method according to claim 5, wherein after the step-down switch circuit receives the discharge enable signal output by the control circuit, performing step-down discharge on the main power circuit comprises:
    所述电源电压异常断电时,所述比较器反相输入小于正相输入,所述比较器输出所述放电使能信号;When the power supply voltage is abnormally cut off, the inverting input of the comparator is smaller than the non-inverting input, and the comparator outputs the discharge enable signal;
    所述放电使能信号输入所述放电电路中的所述降压开关电路;The discharge enable signal is input to the step-down switch circuit in the discharge circuit;
    所述降压开关电路控制所述降压变换器处于放电工作状态;The step-down switch circuit controls the step-down converter to be in a discharge working state;
    所述放电使能信号为高电平;The discharge enable signal is at a high level;
    所述比较器通过所述反相器反相后输出低电平,所述低电平输入所述充电电路中的所述恒流开关电路;The comparator outputs a low level after being inverted by the inverter, and the low level is input to the constant current switch circuit in the charging circuit;
    所述恒流开关电路控制所述升压变换器禁止充电。The constant current switch circuit controls the boost converter to prohibit charging.
  8. 根据权利要求5所述的方法,其中,同一时刻中,所述恒流开关电路处于工作状态,所述降压开关电路处于禁止状态;或者,所述恒流开关电路处于禁止状态,所述降压开关电路处于工作状态,包括:The method according to claim 5, wherein, at the same moment, the constant current switch circuit is in an operating state, and the step-down switch circuit is in a prohibited state; or, the constant current switch circuit is in a prohibited state, and the step-down switch circuit is in a prohibited state. The voltage switch circuit is in working condition, including:
    所述电源电压正常时,所述控制电路控制所述充电电路使能,所述充电电路中的所述恒流开关电路处于工作状态执行充电,所述放电电路中的所述降压开关电路处于禁止工作状态;When the power supply voltage is normal, the control circuit controls the charging circuit to enable, the constant current switch circuit in the charging circuit is in the working state to perform charging, and the step-down switch circuit in the discharging circuit is in Prohibited working status;
    所述电源电压异常断电时,所述控制电路控制所述放电电路使能,所述放电电路中的所述降压开关电路处于放电工作状态,所述充电电路中的所述恒流开关电路处于禁止工作状态。When the power supply voltage is abnormally cut off, the control circuit controls the discharging circuit to enable, the step-down switch circuit in the discharging circuit is in a discharging working state, and the constant current switch circuit in the charging circuit In a state of prohibiting work.
  9. 一种数据保护方法,其中,所述电源电压异常断电时所述主控系统实现数据保护的方法,包括:A data protection method, wherein the method for the main control system to realize data protection when the power supply voltage is abnormally cut off includes:
    所述电源电压异常断电时,掉电检测控制电路产生掉电检测信号;When the power supply voltage is abnormally cut off, the power failure detection control circuit generates a power failure detection signal;
    所述主控系统接收到所述掉电检测信号后,实施断电数据保护操作;After the main control system receives the power failure detection signal, implement a power failure data protection operation;
    所述断电数据保护操作包括数据保存,与/或逐步关闭各电路模块,与/或执行正常下电关机等保护动作等。The power-off data protection operation includes data saving, and/or gradually shutting down each circuit module, and/or performing protection actions such as normal power-off and shutdown, etc.
  10. 根据权利要求9所述的方法,其中,所述掉电检测控制电路包括:The method according to claim 9, wherein the power-down detection control circuit comprises:
    所述比较器,开关管;The comparator, the switch tube;
    所述掉电检测控制电路与所述升压控制电路、所述降压控制电路采用同一个所述比较器;The power-down detection control circuit, the step-up control circuit, and the step-down control circuit use the same comparator;
    所述开关管采用增强型开关管N型金属氧化物半导体NMOS晶体管,或其他增强型开关管;The switch tube adopts an enhanced switch tube N-type metal oxide semiconductor NMOS transistor or other enhanced switch tube;
    所述比较器与所述开关管相连;所述开关管导通输出掉电检测信号;The comparator is connected to the switch tube; the switch tube is turned on to output a power failure detection signal;
    所述掉电检测信号输入所述主控系统。The power failure detection signal is input to the main control system.
  11. 根据权利要求9所述的方法,其中,所述电源电压异常断电时,所述掉电检测控制电路产生所述掉电检测信号,包括:The method according to claim 9, wherein, when the power supply voltage is abnormally cut off, the power failure detection control circuit generating the power failure detection signal comprises:
    所述电源电压异常断电时,所述掉电检测控制电路中的所述比较器反相输入小于正相输入,所述比较器输出高电平;When the power supply voltage is abnormally powered off, the inverting input of the comparator in the power failure detection control circuit is smaller than the non-inverting input, and the comparator outputs a high level;
    所述高电平驱动所述开关管导通,产生所述掉电检测信号。The high level drives the switch tube to be turned on to generate the power-down detection signal.
  12. 根据权利要求9所述的方法,其中,所述主控系统接收到所述掉电检测信号后,实施断电数据保护操作;所述断电数据保护操作包括数据保存,与/或逐步关闭各电路模块,与/或执行正常下电关机等保护动作;包括:The method according to claim 9, wherein after the main control system receives the power failure detection signal, it implements a power failure data protection operation; the power failure data protection operation includes data saving, and/or gradually shutting down each Circuit modules, and/or perform protection actions such as normal power-off and shutdown; including:
    所述掉电检测控制电路产生的所述掉电检测信号输入所述主控系统;Inputting the power failure detection signal generated by the power failure detection control circuit to the main control system;
    所述主控系统开始执行断电数据保护操作,包括:The main control system starts to perform power-off data protection operations, including:
    所述主控系统接收到所述掉电检测信号后,执行数据存储等以完成数据保护;After the main control system receives the power failure detection signal, execute data storage, etc. to complete data protection;
    所述主控系统根据各电路模块功能重要性,逐步关闭显示模块以及其它电路模块,如车机系统通信的接口模块电路、无线通信子系统等,最后只保留所述主控系统继续执行数据存储,以节约耗电量,确保所述主控系统有足够余电完成数据存储实现数据保护;The main control system gradually shuts down the display module and other circuit modules, such as the interface module circuit for vehicle system communication, wireless communication subsystem, etc., according to the functional importance of each circuit module, and finally only retains the main control system to continue to perform data storage , In order to save power consumption and ensure that the main control system has enough residual power to complete data storage and realize data protection;
    所述主控系统执行正常下电关机等保护动作,避免异常断电时突然关机导致数据来不及存储无法实现数据保护。The main control system executes protection actions such as normal power-off and shutdown, so as to avoid sudden shutdown during abnormal power failure, which may cause data to be stored too late to achieve data protection.
  13. 一种电子产品,其中,包括权利要求1至4任一项中所述的电路以执行所述权利要求5至12任一项中所述的方法;所述电子产品用于车载,或其他领域。An electronic product, including the circuit described in any one of claims 1 to 4 to perform the method described in any one of claims 5 to 12; the electronic product is used in vehicles, or in other fields .
PCT/CN2019/119720 2019-09-17 2019-11-20 Power failure protection circuit and method, data protection method, and electronic product WO2021051636A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910878907.0A CN112531871A (en) 2019-09-17 2019-09-17 Power-off protection circuit and method, data protection method and electronic product
CN201910878907.0 2019-09-17

Publications (1)

Publication Number Publication Date
WO2021051636A1 true WO2021051636A1 (en) 2021-03-25

Family

ID=74883297

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/119720 WO2021051636A1 (en) 2019-09-17 2019-11-20 Power failure protection circuit and method, data protection method, and electronic product

Country Status (2)

Country Link
CN (1) CN112531871A (en)
WO (1) WO2021051636A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112994207A (en) * 2021-04-30 2021-06-18 深圳市永联科技股份有限公司 Capacitance control circuit and power supply system
CN113466519A (en) * 2021-06-18 2021-10-01 深圳市思达仪表有限公司 Anti-theft electricity processing mechanism of high-efficiency meter
CN113721147A (en) * 2021-07-12 2021-11-30 深圳市有为信息技术发展有限公司 Vehicle-mounted terminal power failure detection control device, power failure rapid power consumption reduction system and method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103051044A (en) * 2012-12-07 2013-04-17 陕西千山航空电子有限责任公司 Power source power off maintaining circuit
US20130170311A1 (en) * 2011-12-28 2013-07-04 Pengjie Lai Power Supply, Associated Management Unit and Method
CN206060316U (en) * 2016-10-13 2017-03-29 深圳市科美集成电路有限公司 power supply backup system
CN107491155A (en) * 2017-07-05 2017-12-19 北汽福田汽车股份有限公司 The hard reset control system and method for board information terminal
CN107681885A (en) * 2017-09-12 2018-02-09 深圳市瑞康宏业科技开发有限公司 A kind of power-down retaining circuit and method
CN108183548A (en) * 2018-01-15 2018-06-19 江苏佳源科技有限公司 A kind of charge-discharge circuit with power failure reporting functions
CN109245240A (en) * 2018-11-06 2019-01-18 西安拓尔微电子有限责任公司 A kind of efficiently power-off accumulation of energy protection circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130170311A1 (en) * 2011-12-28 2013-07-04 Pengjie Lai Power Supply, Associated Management Unit and Method
CN103051044A (en) * 2012-12-07 2013-04-17 陕西千山航空电子有限责任公司 Power source power off maintaining circuit
CN206060316U (en) * 2016-10-13 2017-03-29 深圳市科美集成电路有限公司 power supply backup system
CN107491155A (en) * 2017-07-05 2017-12-19 北汽福田汽车股份有限公司 The hard reset control system and method for board information terminal
CN107681885A (en) * 2017-09-12 2018-02-09 深圳市瑞康宏业科技开发有限公司 A kind of power-down retaining circuit and method
CN108183548A (en) * 2018-01-15 2018-06-19 江苏佳源科技有限公司 A kind of charge-discharge circuit with power failure reporting functions
CN109245240A (en) * 2018-11-06 2019-01-18 西安拓尔微电子有限责任公司 A kind of efficiently power-off accumulation of energy protection circuit

Also Published As

Publication number Publication date
CN112531871A (en) 2021-03-19

Similar Documents

Publication Publication Date Title
US8090988B2 (en) Saving information to flash memory during power failure
WO2021051636A1 (en) Power failure protection circuit and method, data protection method, and electronic product
US9136724B2 (en) Method for limiting battery discharging current in battery charger and discharger circuit
CN103092315B (en) The mobile terminal of rear recovery application program can be restarted
CN109194317B (en) Reset circuit and wearable equipment
CN103904769B (en) The control system and control method of reserve battery
CN105807885B (en) Power failure protection method and device
CN105449757A (en) Method and device for preventing adapter or mobile power supply from being powered off in charging process
CN206850457U (en) A kind of charging wake-up circuit and system applied to battery management system
CN113708467B (en) Electrifying circuit, battery backup unit and storage server system
CN110994769A (en) Double-battery system and mobile terminal equipment
CN103107577B (en) Battery management circuit and terminal
CN115447511A (en) Power supply circuit, power supply method and automatic driving vehicle
CN114084044A (en) Control method and system for dormancy and awakening of lithium battery pack protection board
JPH05189096A (en) Power control circuit for computer system
CN108656976A (en) Battery management system
CN103345288B (en) The linear voltage-stabilized power supply circuit of long arc input
WO2021103100A1 (en) Control method for power consumption control apparatus
CN102891591B (en) Power control device and switch power supply containing power control device
CN215120253U (en) Power supply switching circuit and power supply
CN214337577U (en) Power supply circuit of mobile terminal and mobile terminal
CN117498504B (en) Battery charging, discharging and power supply circuit, operation method and intelligent terminal backup battery
CN212258491U (en) Novel zero current shutdown circuit is awaken up to BMS electricity
CN203482458U (en) Improved circuit based on IW3620 wide voltage application
CN215010204U (en) Double-chip control circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19945860

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19945860

Country of ref document: EP

Kind code of ref document: A1