The invention discloses an intelligent protection method of a notebook battery pack, comprising the following steps of: (1) prestoring electrical parameter set valves by using a mainboard controller; (2) acquiring electrical parameters by using the mainboard controller through a battery pack; and (3) comparing the acquired electrical parameters with the prestroed set values by using the mainboard controller, if the electrical parameters are higher than the set values, controlling a notebook to shut down, restart and display the error message of the battery pack. By increasing the protection for the battery pack at the mainboard end of a notebook computer, the method can effectively improve the working safety of the battery pack. The invention also provides an intelligent protection circuit realized by utilizing the method.
 本发明属于电子产品领域，特别是指一种可提高笔记本电池包的使用安全性的智能保护结构。  The present invention belongs to the field of electronics, and more particularly to an improved smart safe protection structure of the notebook battery pack.
 笔记本电脑以其体积小巧、方便携带而备受消费者的青睐，众所周知，笔记本电池包对于消费者的使用和安全来说是非常重要的，因此，对于笔记本的设计厂商和电池设计厂商来讲，就需要有非常周全的考虑。  notebooks for its small size, easy to carry and favored by consumers, we all know, laptop battery packs for consumer use and safety is very important, therefore, for the design of notebook battery manufacturers and design houses is concerned, it needs a very thorough consideration. 在电池厂商的设计方面，主要取决于电池包保护板功能设计，主要有过充、过放、过流及短路保护等；其中，过充保护是指单节某电芯超过一定电压值，将会关闭电路，停止充电；过放保护指单节某电芯电压值低于一定电压，将会停止放电；过流保护则是指当放电电流或充电电流超过一定值，也将会停止放电。 In the design of the battery manufacturer, depending on the functional design of the battery pack protection board, the main overcharge, over-discharge, over-current and short circuit protection; wherein the overcharge protection refers to a single-cell voltage exceeds a certain value, will shutdown circuit to stop charging; refers to an over-discharge protection cell voltage value is lower than a predetermined single voltage, the discharge will stop; refers to overcurrent when the discharge current or a charge current exceeds a certain value, it will also stop the discharge. 目前来讲，电池包保护的工作主要还是在电池产商的设计端，而主板端主要是一些配合的工作，包括充电电流的设置，放电电流的限制等。 Now, the operation of the battery pack is protected mainly in the design of the end of the battery manufacturer, and the end of the motherboard with some of the main work, includes a charging current, the discharge current restrictions.
 参考图1所示，是现有笔记本电脑中有关电池包、主板端的架构示意图，其中AC/ DC电源10用于将外接市电转换为直流电输出，充电IC 20用于充电管理，控制充电的电压计电流大小；电池包30是指笔记本锁使用的电池，可以由多个电芯共同组成；控制器40是笔记本主板中的一颗嵌入式控制器，其控制着笔记本电脑的上下电、电池管理等一系列重要工作。  With reference to FIG 1, is an architectural illustration of a battery pack, a conventional notebook computer motherboard side, where the AC / DC power supply 10 for the external mains into DC output for charging the charge management IC 20, the control the magnitude of the current charging voltage meter; battery pack 30 refers to the battery notebook lock used to be composed by a plurality of batteries; notebook motherboard controller 40 is embedded in a controller, which controls the power up and down laptops , battery management and a series of important work.
 现有的笔记本电脑大都只是在设计端设置电池包的保护，然而任何电路器件都存在可能失效的问题，若架设主板端的充电IC 20或其外围电路失效，那么AC/DC电源10的电压有可能直接加在电池包30上，那么此时的安全性只能取决于电池包的保护板是如何工作的，电池设计厂商和笔记本厂商也许会考虑成本的因素，旋转各种各样的电池管理方案和电池保护板设计；甚而言之，在电池厂商本身设计存在缺陷或器件失效时，那么此时若主板端发生问题的话，对于电池包30的安全性就会有很大的威胁。  Most conventional laptop design side only protective battery pack, however, have problems in any circuit devices can fail, if the charging end motherboard erection IC 20 or a peripheral circuit failure, the AC / DC power supply 10 voltage may be directly applied to the battery pack 30, so this time depends on how security can only protection board battery pack is working, the battery design manufacturers and notebook manufacturers might consider the cost factor, rotation of a variety of battery management programs and battery protection board design; even speaking, there is a defect or failure of the device, then the end time if a problem occurs, then the motherboard, for the safety of the battery pack 30 will be a great threat to the battery manufacturers design itself.
 通过以上分析与假设，可知在笔记本电脑的主板端进行主动保护是很有必要的， 本案即是基于这种思想，设计研发出可提高电池包安全性的智能保护结构。  Through the above analysis and assumptions, known for proactive protection is necessary in the motherboard end laptop case that is this idea, design research and development to improve the safety of the battery pack based on intelligent protection structure.
 本发明的主要目的，在于提供一种笔记本电池包的智能保护电路及方法，可提高笔记本电脑中电池包工作的安全性。  The main object of the present invention, one kind that the laptop battery pack to provide intelligent protection circuit and method can improve the security of the battery pack laptop work.
 一种笔记本电池包的智能保护电路，包括主板的控制器和电池包，其中控制器内设有AD功能模块，而电池包内设有电量管理芯片，该电量管理芯片具有SMBUS接口；控制器与电池包连接，获取电池包的电参数，并与预存的设定值进行比较，并在超过设定值时控制笔记本电脑重启，并显示故障信息。  A notebook intelligent battery pack protection circuit, comprising a controller board and a battery pack, wherein the controller is equipped with AD function module, and the battery pack features a power management chip, the power management chip having an interface SMBUS; the controller is connected to the battery pack, the battery pack electrical parameters acquired and compared with pre-stored set value, and restart the laptop control exceeds a set value, and display the fault information.
 上述电参数包含电池包的充电电压、放电电流、充电电流、电芯温度及电池包、电芯的放电电压差，其中控制器内的AD功能模块连接电池包的正极端，获取电池包的充电电压；控制器还连接电池包中电量管理芯片的SMBUS接口，通过SMBUS通讯获取电池包当前的放电电压、充电电流、放电电流、电芯温度和电芯的放电电压。  The electrical parameters includes a battery pack charging voltage, the discharge voltage and discharge current, charge current, cell temperature and the battery pack, batteries difference, wherein the AD function module in the battery pack controller is connected to the positive terminal, get battery the charging voltage of the package; SMBUS the interface controller is further connected to a battery pack power management chip, get battery pack through the current communication SMBUS discharge voltage, discharge voltage charging current, discharging current, temperature, and cell batteries.
 上述电参数包含电池包的充电电压、充电电流、放电电流、温度和电池包、电芯的放电电压差，其中控制器内的AD功能模块连接电池包的正极端，获取电池包的充电电压； 控制器还连接电池包中电量管理芯片的SMBUS接口，通过SMBUS通讯获取电池包当前的放电电压、充电电流、放电电流和电芯的放电电压；控制器的AD功能模块与电池包的侦测端连接，一上拉电阻的一端连接在二者之间，另一端连接电源，且电池包的侦测端还连接有一下拉热敏电阻，控制器根据测得的电池包电压值计算得出电池包的温度。  The electrical parameters includes a battery pack charging voltage, charging current and discharge voltage, discharge current, and the temperature of the battery pack, batteries difference, wherein the positive terminal of AD functional modules within the controller is connected to the battery pack, the battery pack obtain charging voltage; controller is further connected to the battery pack SMBUS interface power management chip, get battery pack voltage by the discharge current communication SMBUS, the discharge voltage of the charging current, discharging current, and batteries; the AD function module and the battery pack controller detecting terminal is connected, one end of a pull-up resistor connected therebetween, the other end is connected to the power supply, battery pack and the detection terminal is also connected to a pull-thermistor controller calculated in accordance with the voltage value of the battery pack measured the temperature of the battery pack.
 (3)主板的控制器将获取的电参数与预存的设定值进行比较，若高于相应设定值则控制笔记本关机重启，并显示电池包错误信息。  (3) The controller board electrical parameter pre-stored set values ​​acquired are compared, if the set value is higher than the corresponding control notebook power cycle, the battery pack and display an error message.
 上述电参数包括电池包的充电电压、放电电流、充电电流、电芯温度及电池包、电芯的放电电压差，其中控制器内的AD功能模块由电池包的正极端获取电池包的充电电压； 控制器还通过电池包中电量管理芯片的SMBUS接口获取电池包当前的放电电压、充电电流、放电电流、电芯温度和电芯的放电电压。  The electrical parameters includes a charging voltage of the battery pack, the discharge voltage and discharge current, charge current, cell temperature and the battery pack, batteries difference, wherein the AD function module in the controller acquires the positive terminal of the battery pack from the battery pack charging voltage; controller further through the battery pack power management chip SMBUS interface to obtain the discharge voltage of the battery pack current, the discharge voltage of the charging current, discharging current, temperature, and cell batteries.
 上述电参数包括电池包的充电电压、充电电流、放电电流、温度和电池包、电芯的放电电压差，其中控制器内的AD功能模块由电池包的正极端获取电池包的充电电压；控制器还通过电池包中电量管理芯片的SMBUS接口获取电池包当前的放电电压、充电电流、放电电流和电芯的放电电压；控制器的AD功能模块与电池包的侦测端连接，一上拉电阻的一端连接在二者之间，另一端连接电源，且电池包的侦测端还连接有一下拉热敏电阻，控制器根据测得的电池包电压值计算得出电池包的温度。  The electrical parameters includes a charging voltage of the battery pack, the discharge voltage of the charging current, discharging current, temperature and battery pack, batteries difference, wherein the AD function module in the controller acquires the positive terminal of the rechargeable battery pack from the battery pack voltage; and a controller in the battery pack through the SMBUS power management chip discharge voltage of the battery pack interface to obtain current discharge voltage, charging current, discharging current, and batteries; AD detection terminal function module and a controller connected to the battery pack, a pull-up resistor has one end connected therebetween, and the other end connected to the power detection terminal and a battery pack is also connected to a pull-thermistor controller obtained the battery pack voltage of the battery pack according to the measured value calculating temperature .
 采用上述方案后，本发明利用笔记本电脑原有的器件，利用主板的控制器侦测电池包的充电电压等各种参数，并与设定值进行比较，在超过设定值时发出提示信息，可有效测知电池包的工作参数，在现有电池端保护的基础上，增加主板端的保护，提高电池包工作的安全性，消除安全隐患。  With the above-described embodiment, the present invention utilizes the existing notebook computers, by means of various parameters of the battery pack controller detects a charging voltage of the main board and the like, and compared with the set value exceeds a set value issued message, effectively sensing the operating parameters of the battery pack, based on the conventional battery terminal protection, to increase the protection of the end of the motherboard, to improve safety of the battery pack of the work, to eliminate safety hazards.
 本发明提供一种笔记本电池的智能保护结构及方法，其主要涉及现有笔记本电脑中主板的控制器1和电池包2，且控制器1中具有AD功能模块11，该电池包2是由若干电芯组成，且电池包2中设有电量管理芯片（如BQ2060)，以下将结合附图对本发明的具体内容及技术效果进行详细说明。  The present invention provides an intelligent laptop battery protection structure and method, which relates notebook motherboard conventional controller 1 and the battery pack 2, and the controller has a function of AD module 11, the battery pack 2 composed by a number of batteries, and the battery pack 2 is provided with power management chip (e.g., on BQ2060), in conjunction with the following drawings and specific content of the technical effects of the present invention will be described in detail.
 本发明所揭示的智能保护方法，主要包括三个步骤：数值侦测、异常判断、异常处理，其中需侦测的数值包括电池包2的充电电压、放电电压及电芯的放电电压、电池包2的充电电流、放电电流及电芯温度（也可以采用电池包2的温度），以下将结合电路结构对数值侦测的具体实现过程进行介绍。  The present invention disclosed a smart protection method consists of three steps: detect the value, the abnormality determination, exception handling, which required discharge voltage detection value includes a charging voltage of the battery pack 2, and the discharge voltage of the cell , the charging current of the battery pack, and the cell discharge current temperature (temperature of the battery pack 2 may also be employed), in conjunction with the following specific implementation of the circuit configuration of the detection value will be described.
 首先参考图2所示，是本发明实现电池包2的充电电压数值获取的示意图，是将控制器1的AD功能模块11与电池包2的正极端（即图2中的VBat+Pin)连接，可轻易获取此时经由充电IC 3处理后对电池包2的充电电压。  Referring first to FIG. 2, a schematic view of the present invention is to achieve a charging voltage value of the battery pack 2 is acquired, the AD is VBat function module 11 of the controller 1 and the positive terminal of the battery pack 2 (i.e., FIG 2 + Pin) is connected, can easily obtain the IC 3 via the charging process at this time the charging voltage of the battery pack 2.
 再请参考图3所示，是将主板1的控制器11连接电量管理芯片的SMBUS(系统管理总线）接口，二者之间通过SMBUS进行通讯，由于电量管理芯片中会有相关寄存器记录当前电池包2的电压值以及各个电芯的电压值，因此控制器1可通过SMBUS通讯，读取这些电压值；此外，控制器1可通过前述结构，同时读取电池包2的充电电流和放电电流。  Please refer to FIG. 3 again, the controller is connected to the main board 11 of the power management chip communication between SMBUS (System Management Bus) interface, both through SMBUS, since the power management chip registers have associated record the current voltage of the battery pack 2 and a voltage value of each cell, the controller 1 through the SMBUS communication, reads the voltage values; Further, the controller 1 through the structure, while reading the charge current of the battery pack and the discharge current.
 此种方式是通过在笔记本电池包2的内部设置下拉电阻R2，通过侦测电池包2的DETECT引脚上因为电阻R2的温度变化引起的电压变化，从而计算出电池包2的温度。  By this way is arranged inside the notebook battery pack 2 pull-down resistor R2, a voltage change as the temperature changes caused by the resistor R2 on the detection of the battery pack DETECT pin 2, to calculate the temperature of the battery pack 2 .
 获取前述各数值后，控制器1进入异常判断程序，会将各数值与预存的设定值一一进行比较，同时配合图5所示，控制器1首先判断电池包2的充电电压是否大于预存的设定值，当大于时进入异常处理程序，不大于则继续比较电池包与电芯的放电电压差是否大于设定值，大于时进入异常处理程序，不大于则继续判断充电电流与设定值的关系，依此继续进行放电电流、温度的比较判断，完成异常判断程序。  After obtaining the foregoing value, the controller 1 enters abnormality determining program, the respective values ​​will be stored one by one set value is compared, in conjunction with FIG. 5, the controller 1 first determines the charging voltage of the battery pack 2 is larger than a set value prestored proceeds when more than exception handler, if not greater than the voltage difference continues to discharge the battery pack and the comparison cell is greater than a set value, enter the exception handler is greater than, is not greater than the charging current continues to judge relationship between set value, and so the discharge current continues, the comparison judgment temperature, abnormality determination program is completed.
 参考图6所示，是控制器1进行异常处理程序的流程图，首先控制器1会置异常处理标志FLAG = 1，然后拉低Power-Button信号强制关机，控制器1再发Power-Button信号，使系统再次开机，同时控制器1通知BIOS(基本输入输出系统）：本次开机为异常处理开机；继续参照图7，BIOS在开机自检（POST)时会读取控制器1发过来的信息，判断是否异常处理信息，并在“是”时停止自检，阻止用户进入操作系统，在显示屏上显示电池提示信息，提醒用户拔掉电池送修，避免产生更大的安全隐患。 As shown in  Referring to FIG 6, the controller 1 is a flowchart of the exception handler, the controller 1 will be set first exception handling flag FLAG = 1, then the Power-Button down forced shutdown signal, the controller 1 then send Power -Button signal to re-boot the system, while the controller 1 notifies the BIOS (basic input output system): the start of exception handling power; continued reference to FIG. 7, BIOS when the power on Self Test (POST) controller 1 reads sent me the information whether or not an exception process information, and stops when "is" self-test, to prevent users from entering the operating system, the battery message is displayed on the screen, reminding users to unplug the battery repair, to avoid greater security risks.
 以上实施例仅为说明本发明的技术思想，不能以此限定本发明的保护范围，凡是按照本发明提出的技术思想，在技术方案基础上所做的任何改动，均落入本发明保护范围之内。  The above embodiments are merely illustrative of the technical idea of ​​the present invention, in order not to limit the scope of the present invention, all made in accordance with the technical idea of ​​the present invention, any changes made on the basis of the aspect, the present invention fall within the within the scope of protection.
一种笔记本电池包的智能保护电路，包括主板的控制器和电池包，其中控制器内设有AD功能模块，而电池包内设有电量管理芯片，该电量管理芯片具有SMBUS接口；其特征在于：控制器与电池包连接，获取电池包的电参数，并与预存的设定值进行比较，并在超过设定值时控制笔记本电脑重启，并显示故障信息。 Intelligent protection circuit for a laptop battery pack, including a controller board and a battery pack, wherein the controller is equipped with AD function module, and the battery pack features a power management chip, the power management chip having an interface SMBUS; wherein : the controller is connected to the battery pack, the battery pack electrical parameters acquired and compared with pre-stored set value, and restart the laptop control exceeds a set value, and display the fault information.
2.如权利要求1所述的笔记本电池包的智能保护电路，其特征在于：所述电参数包含电池包的充电电压、放电电流、充电电流、电芯温度及电池包、电芯的放电电压差，其中控制器内的AD功能模块连接电池包的正极端，获取电池包的充电电压；控制器还连接电池包中电量管理芯片的SMBUS接口，通过SMBUS通讯获取电池包当前的放电电压、充电电流、放电电流、电芯温度和电芯的放电电压。 2. The intelligent protection circuit of claim 1 laptop battery pack as claimed in claim, wherein: said electrical parameter includes a charging voltage of the battery pack, the discharge voltage and discharge current, charge current, cell temperature and the battery pack, batteries difference, wherein the AD function module in the battery pack controller is connected to the positive terminal, acquires the charging voltage of the battery pack; SMBUS the interface controller is further connected to a battery pack power management chip, get battery pack voltage by the discharge current SMBUS communication charge discharging current, discharging voltage and cell temperature of batteries.
3.如权利要求1所述的笔记本电池包的智能保护电路，其特征在于：所述电参数包含电池包的充电电压、充电电流、放电电流、温度和电池包、电芯的放电电压差，其中控制器内的AD功能模块连接电池包的正极端，获取电池包的充电电压；控制器还连接电池包中电量管理芯片的SMBUS接口，通过SMBUS通讯获取电池包当前的放电电压、充电电流、放电电流和电芯的放电电压；控制器的AD功能模块与电池包的侦测端连接，一上拉电阻的一端连接在二者之间，另一端连接电源，且电池包的侦测端还连接有一下拉热敏电阻，控制器根据测得的电池包电压值计算得出电池包的温度。 3. The intelligent protection circuit of claim 1 laptop battery pack as claimed in claim, wherein: said electrical parameter includes a charging voltage of the battery pack, the discharge voltage of the charging current, discharging current, temperature and battery pack, batteries difference, wherein the AD function module in the battery pack controller is connected to the positive terminal, acquires the charging voltage of the battery pack; SMBUS the interface controller is further connected to a battery pack power management chip, acquires the current discharge voltage of the battery pack, the charging current through the SMBUS communication, the discharge current and discharge voltage of the cell; AD detection terminal function module controller is connected to the battery pack, one end of a pull-up resistor connected therebetween, the other end connected to the power detection terminal and the battery pack further a thermistor connected to a pull, the controller calculates the temperature of the battery pack derived pack voltage according to the measured values.
4. 一种利用如权利要求1所述的笔记本电池包的智能保护电路的保护方法，其特征在于包括以下步骤：(1)主板的控制器预存电参数设定值；(2)主板的控制器由电池包获取电参数；(3)主板的控制器将获取的电参数与预存的设定值进行比较，若高于相应设定值则控制笔记本关机重启，并显示电池包错误信息。 A use as claimed in claim 1 protection method intelligent laptop battery pack protection circuit according to claim, characterized by comprising the steps of: (1) The controller board is electrically prestored parameter set point; (2) the control board acquires from the battery pack electrical parameter; electrical parameter pre-stored set value (3) board controller compares the acquired, if the set value is higher than the corresponding control notebook power cycle, the battery pack and display an error message.
5.如权利要求4所述的笔记本电池包的保护方法，其特征在于：所述电参数包括电池包的充电电压、放电电流、充电电流、电芯温度及电池包、电芯的放电电压差，其中控制器内的AD功能模块由电池包的正极端获取电池包的充电电压；控制器还通过电池包中电量管理芯片的SMBUS接口获取电池包当前的放电电压、充电电流、放电电流、电芯温度和电芯的放电电压。 5. The protection method according to claim laptop battery pack, wherein: said parameters include a discharge voltage electrical charging voltage of the battery pack, a discharge current, charge current, cell temperature and the battery pack, batteries difference wherein AD functional modules within the controller acquires the charging voltage of the positive terminal of the battery pack from the battery pack; an interface controller further acquires the battery pack through the current discharge voltage in the battery pack of the SMBUS power management chip, charging current, discharging current, discharge voltage and the cell temperature of the core.