Embodiment
Describe embodiments of the invention below in detail, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has the element of identical or similar functions from start to finish.Be exemplary below by the embodiment being described with reference to the drawings, only for explaining the present invention, and can not be interpreted as limitation of the present invention.
Disclosing below provides many different embodiment or example to be used for realizing different structure of the present invention.Of the present invention open in order to simplify, hereinafter the parts to specific examples and setting are described.Certainly, they are only example, and object does not lie in restriction the present invention.In addition, the present invention can be in different examples repeat reference numerals and/or letter.This repetition is in order to simplify and object clearly, itself do not indicate the relation between discussed various embodiment and/or setting.In addition, the various specific technique the invention provides and the example of material, but those of ordinary skills can recognize the property of can be applicable to of other techniques and/or the use of other materials.In addition, First Characteristic described below Second Characteristic it " on " structure can comprise that the first and second Characteristics creations are the direct embodiment of contact, also can comprise the embodiment of other Characteristics creation between the first and second features, such the first and second features may not be direct contacts.
In description of the invention, it should be noted that, unless otherwise prescribed and limit, term " installation ", " being connected ", " connection " should be interpreted broadly, for example, can be mechanical connection or electrical connection, also can be the connection of two element internals, can be to be directly connected, and also can indirectly be connected by intermediary, for the ordinary skill in the art, can understand as the case may be the concrete meaning of above-mentioned term.
With reference to description and accompanying drawing below, these and other aspects of embodiments of the invention will be known.In these descriptions and accompanying drawing, specifically disclose some specific implementations in embodiments of the invention, represent some modes of the principle of implementing embodiments of the invention, but should be appreciated that the scope of embodiments of the invention is not limited.On the contrary, embodiments of the invention comprise all changes, modification and the equivalent within the scope of spirit and the intension that falls into additional claims.
A kind of cell managing device according to the embodiment of the present invention is described with reference to the accompanying drawings.
As shown in Figure 2, the cell managing device of the embodiment of the present invention, comprising: multiple discharge modules 201, multiple acquisition module 202, battery management chip 203.Wherein, the each discharge module in multiple discharge modules 201 is in parallel with a cell in battery pack, and the cell in battery pack discharges by corresponding discharge module.Each acquisition module in multiple acquisition modules 202 is connected with a cell in battery pack, and each acquisition module is for gathering the battery parameter of coupled cell.Battery management chip 203 comprises multiplexing module 204 and kernel control module 205.Wherein, multiplexing module 204 is connected with multiple acquisition modules 202 with multiple discharge modules 201 respectively, multiplexing module 204 is for battery parameter being sent to kernel control module 205, and the discharge module unlatching corresponding according to the equalization discharge control command control of kernel control module 205.Kernel control module 205 is for generating equalization discharge control command according to battery parameter.
In an embodiment of the present invention, gathered the relevant parameter of battery by multiple acquisition modules 202, by the multiplexing module 204 in battery management chip 203, the battery parameter of collection is sent to kernel control module 205, kernel control module 205 generates equalization discharge instruction according to the parameter receiving, and by multiplexing module 204, instruction is sent to multiple discharge modules 201, the cell in battery pack discharges by corresponding discharge module, until battery charge equilibrium.
As shown in Figure 3, in one embodiment of the invention, battery management chip 203 also comprises watchdog module 301, watchdog module 301 is connected with kernel control module 205, watchdog module 301 is for receiving the control command of host computer in kernel control module 205 during in sleep state, and control command is converted to default level signal and default level signal is sent to kernel control module 205 to wake kernel control module 205 up.As shown in Figure 4, in one embodiment of the present of invention, take with CAN bus communication as example, in electric power system during in holding state, close most of modular power source, only keep the working power of the kernel control module 205 in battery management chip 203, enter system deep sleep (SLEEP), at utmost reduce system power dissipation.Before kernel control module 205 penetration depth sleep (SLEEP) states, the power supply of CAN bus communication transceiver also can be closed, i.e. speech, can not pass through AHB(Advanced High performance Bus, system bus by CAN transceiver) waken system function.But, can the control signal of host computer be transformed into by watchdog module 301 to the level signal of a regulation, interrupt by inside nuclear control module 205 applications of for example AHB of data/address bus, thereby wake kernel control module 205 up, wake up after kernel control module 205 at watchdog module 301, controlled the power supply of the module except kernel control module 205 in cell managing device by kernel control module 205.Open successively by kernel control module 205 power supply of controlling other modules.And host computer is as long as first send some fixed code as FFFF, the length of this fixed code determines according to the reaction speed of the communication speed of system and system, object is to allow kernel control module 205 after waking up, have time enough to open the power supply of all modules, allow modules complete reset, guarantee that like this communication data do not lose.Watchdog module 301, in the time that system is normally worked, can close to reduce power consumption in addition, only at system penetration depth sleep state front opening just.It should be noted that, thereby watchdog module 301 sends to kernel control module 205 remote wakening systems by the instruction of host computer by data/address bus, can be applied to and for example SPI(Serial Peripheral Interface--Serial Peripheral Interface (SPI) of other data communications) communication, UART(Universal Asynchronous Receiver/Transmitter, universal asynchronous reception/dispensing device) communication, I2C(Inter-Integrated Circuit, twin wire universal serial bus) communication etc.
Further, in another embodiment of the present invention, battery management chip 203 also comprises: temperature detecting module 501 and hardware protection module 502.Wherein, temperature detecting module 501 is for detection of the temperature of battery.Hardware protection module 502 is connected with temperature detecting module 501, in the time that the temperature of battery is greater than threshold value, battery is protected.It should be noted that, threshold value herein can refer to be suitable for battery carries out the higher limit of the temperature of work.Hardware protection module 502 independent operatings; avoid because of for example SPI sequential of digital circuit or controlled sequential and break down and cause battery management IC can not play the protective effect to battery; hardware protection module 502 just brings into operation in the time that whole battery management chip 203 circuit power on; detect cell voltage temperature by temperature detecting module 501 and exceed setting range; for example exceed the maximum of suitable battery operated temperature, just directly send alarm signal.In addition, other modules of part that also exist in battery management chip 203 as shown in Figure 6, be part of module, and intermodule are part annexations in figure.Comprise: SUB is the differential discharge circuit of high-performance, and voltage temperature signal is carried out to preliminary treatment; 12Bit ADC Ctrl and Coulomb ADC Ctrl produce high precision reference circuit, power supply are provided to respectively analog circuit a/d; MOS Driver is charge-discharge protection circuit; Electric current pre-amplification circuit; Module LDO5V and LDO21.5v are reference circuits.OSC12MHZ and OSC210KHZ are OSC(oscillator, oscillator) oscillating circuit, for whole digital circuit provides reference frequency, vibration frequency is respectively 2MHZ and 10KHZ, is the pulsation heart of whole battery management chip IC circuit; LV POR and LV LVR are respectively electrify restoration circuit and power-off reset circuit; EflashController and SRAM Controller are FLASH memory and sram memory; CPUCortex M0 is 32BIT digital core; SPI CAN UART I2C is communication module.
In one embodiment of the invention, voltage, electric current, the temperature equivalence that battery management chip 203 gathers battery carrys out the SOC value of estimating battery.So multiple sampling modules 202 can comprise voltage sample module, current sample module etc.As shown in Figure 6, in one embodiment of the invention, analog to digital conversion circuit is for voltage temperature sampling, and this circuit has the Δ ∑ ADC of FIR filter filtering treatment circuit, there is the resolution of 16BIT, controlled by the kernel control module 205 in battery management chip 203.In another embodiment of the present invention, current sample module is made up of an amplifier and an A/D analog to digital converter, and wherein amplifier is a difference amplifier, and current signal is carried out to preposition amplification.According to SOC algorithm, electric current is carried out to integration, and electric current is pulsed in the course of the work, can first current signal be converted to digital PWM (Pulse Width Modulation by current sample module, pulse width modulation) signal, again pwm signal is counted, so can be controlled the precision of current sample.
In one embodiment of the invention, multiplexing module 204 can be high-pressure multi-path Multiplexing module 204 for example: high voltage switch circuit, its inner circuit as shown in Figure 7, every batteries voltage all can pass through multi-functional MUX(Multiplexer, multiplexer) be loaded in bus, because battery series connection, common-mode voltage is very high, so MUX wants high-pressure process, whole MUX circuit is controlled by kernel control module 205.Also comprise in addition temperature MUX etc.
Further, as shown in Figure 6, in one embodiment of the invention, multiple discharge modules 201 comprise: resistance 601 and switch 602.Wherein, one end of resistance 601 and one end of corresponding cell are connected.One end of switch 602 is connected with the other end of resistance 601, and the other end of switch 602 is connected with the other end of corresponding cell, and switch 602 is subject to the control of battery management chip 203.Switch 602 can be triode or MOSFET(Metal-Oxide-Semiconductor Field-EffectTransistor, metal-oxide layer-semiconductor-field-effect transistor).Multiple discharge modules 201 discharge to battery, and the power consumption that battery bleeds off, on resistance 601, changes resistance 601 and can change discharging current.When resistance 601 resistances hour, discharging current is larger, electric discharge is than very fast, but identical power, the resistance 601 that resistance is little can take larger circuit area, and electric discharge can produce a large amount of heats soon, needs to solve the problem of heat radiation.When resistance 601 resistances are when larger, discharging current is less, discharge slow, and identical power, it is little that the resistance that resistance is large takies circuit area, and electric discharge is slow, and the heat of generation is also less.In side circuit, need the heat producing while considering balanced efficiency, resistance 601 area occupied and equilibrium, select suitable discharge resistance 601.Battery is due to individual difference, and in use, larger pressure reduction appears in cell voltage, once pressure reduction not in the scope of setting, multiple discharge module 201 circuit are just connected, equal-pressure-difference is in setting range, multiple discharge modules 201 are just closed.Once find that the voltage difference of battery exceedes set point, just starts multiple discharge module 201 circuit and voltage balance circuit.Battery balanced is to utilize electronic technology, and the monomer voltage deviation of lithium ion battery is remained in desired extent, thereby guarantees that each battery is not damaged in the time of normal use, increases battery life.
As shown in Figure 8, for the functional schematic of kernel control module 205, kernel control module 205 obtains the parameter of battery by multiplexing module 204, for example voltage sample parameter, current sample parameter, temperature sampling parameter, kernel control module 205 is carried out SOC computing according to battery parameter, and export SOC operation result, the SOC value of real-time update battery.Kernel control module 205, according to the SOC result of computing, generates equalization discharge control command in addition.Wherein, equalization discharge control command can be electric quantity balancing control command.In other words, kernel control module 205 is sent electric quantity balancing control command according to the SOC result of computing, controls multiple discharge modules 201 and equalizing circuit battery is discharged, until the scope that battery electric quantity is being set.Kernel control module 205 receives the order of host computer at any time, changes the operating state of oneself and enters or exit SLEEP pattern, during in SLEEP pattern, wakes kernel control module 205 by watchdog module 301 in kernel control module 205.Kernel control module 205 judges whether to exist fault according to fault detect result, if broken down, and output protection signal, control hardware protection module 502 or charge and discharge protecting module are protected battery.
In an embodiment of the present invention, the course of work of cell managing device as shown in Figure 9, comprises the following steps:
S901, multiple acquisition modules 202 gather the parameters of battery.
The parameters of multiple sampling module 202 Real-time Collection batteries, for example, gather voltage, electric current, temperature of battery etc., and send to kernel control module 205 by multiplexing module 204.
S902, kernel control module 205 judges whether to carry out electric quantity balancing according to parameter.
Kernel control module 205 is according to the relevant parameter of the battery receiving, and the SOC value of estimating battery group, judges whether to carry out electric quantity balancing and to carry out information interaction with host computer battery.Wherein, can be built-in algorithms or user oneself exploitation for the calculating of SOC value.In an embodiment of invention, the algorithm of SOC has following two kinds: one is internal resistance tracing.Particularly, internal battery SOC algorithm is program curing in kernel control module 205, this algorithm is according to voltage, electric current, the temperature of the battery collecting and be pre-existing in some the battery parameter estimation SOC values in kernel control module 205, the dump energy of real-time update battery.Another kind is the SOC algorithm with autonomous learning function.Particularly, if need to carry out electric quantity balancing to battery, enter step S903, if do not need battery to carry out electric quantity balancing, can carry out fault detect to battery, fault detect is real-time, enters step S904.
S903, carries out electric quantity balancing to the battery in battery pack.
Kernel control module 205 judges and need to carry out electric quantity balancing to battery according to SOC value, kernel control module 205 is sent electric quantity balancing instruction, control multiple discharge modules 201 and equalizing circuit open-minded, battery is discharged and equilibrium, until each battery cell electric weight in battery pack is in the scope of setting, reach electric quantity balancing.
S904, carries out failure diagnosis.
In real time cell managing device is carried out to failure diagnosis, whether the situation of the connection state of Main Diagnosis battery temperature sensor or electric quantity balancing power tube is good, if broken down, enter step S905, if the fault of not detecting, returns to step S901 or judges whether to enter SLEEP pattern.
S905, protective circuit is made a response, and battery is protected.
Detection is broken down; the line open circuit of for example battery temperature sensor; can not detect in time the temperature of battery, cause battery temperature to exceed the number range of regulation, hardware protection module 502 is made a response; battery is protected; or electric quantity balancing power tube is short-circuited, may make battery electric quantity unbalance, not within the scope of the electric weight of setting; charge-discharge protection circuit will cut-off current, and protection module sends signal to host computer simultaneously.
S906, judges whether to enter SLEEP pattern.
Battery management chip 203 is accepted the order of host computer at any time, the operating state that changes oneself enters or exits SLEEP pattern, as not needing to enter SLEEP pattern, fruit chip returns to step S901, if host computer sends battery power supply system and enters standby, cell managing device enters SLEEP pattern, and battery management chip 203 and kernel control module 205 are all in SLEEP pattern.When kernel control module 205 is during in SLEEP pattern, can be waken up by watchdog module 301.
According to the cell managing device of the embodiment of the present invention, by multiple discharge modules and equalizing circuit, can realize the electric quantity balancing of battery, avoid the overshoot of battery or cross putting, be that charge-discharge protection circuit can be protected battery by hardware protection module.In addition, can wake kernel control module up at deep sleep state by watchdog module, reduce the power consumption of electric power system, facilitate host computer Long-distance Control.In addition, watchdog module can also be combined with other communication buses, more practical.
The battery management chip that embodiment proposes is according to a second aspect of the invention described with reference to the accompanying drawings.
As shown in Figure 2, the battery management chip of the embodiment of the present invention comprises multiplexing module 204 and kernel control module 205.Wherein, multiplexing module 204 is connected with multiple acquisition modules 202 with the multiple discharge modules 201 in cell managing device respectively, multiplexing module 204 is sent to kernel control module 205 for the battery parameter that multiple acquisition modules 202 are gathered, and opens according to discharge module corresponding to the equalization discharge control command control of kernel control module 205.Kernel control module 205 is for generating equalization discharge control command according to battery parameter.
As shown in Figure 6, in one embodiment of the invention, multiplexing module 204 can be high-pressure multi-path Multiplexing module for example: high voltage switch circuit, as shown in Figure 7, every batteries voltage all can pass through multi-functional MUX(Multiplexer, multiplexer to its inner circuit) be loaded in bus, because battery series connection, common-mode voltage is very high, so MUX wants high-pressure process, whole MUX circuit is controlled by kernel control module 205.Also comprise in addition temperature multiplexer etc.
Kernel control module 205 is calculated battery charge state SOC value according to battery parameter, and generates equalization discharge control command according to described battery charge state SOC value.Wherein, equalization discharge control command can be electric quantity balancing control command.
Further, in one embodiment of the invention, battery management chip also comprises watchdog module 301, watchdog module 301 is connected with kernel control module 205, watchdog module 301 is for receiving the control command of host computer in kernel control module 205 during in sleep state, and control command is converted to default level signal and default level signal is sent to kernel control module 205 to wake kernel control module 205 up.Wake up after kernel control module 205 at watchdog module 301, controlled the power supply of the module except kernel control module 205 in cell managing device by kernel control module 205.As shown in Figure 4, in one embodiment of the present of invention, take with CAN bus communication as example, in electric power system during in holding state, close most of modular power source, only keep the working power of the kernel control module 205 in battery management chip, enter system deep sleep (SLEEP), at utmost reduce system power dissipation.Before kernel control module 205 penetration depth sleep (SLEEP) patterns, the power supply of CAN bus communication transceiver also can be closed, and speech, can not pass through CAN communication bus waken system function.But, can the control signal of host computer be transformed into by watchdog module 301 to the level signal of a regulation, by for example AHB(Advanced High performance Bus of data/address bus, system bus) inwardly nuclear control module 205 application interruptions, thereby wake kernel control module 205 up, opened successively the power supply of other modules by kernel control module 205.And host computer is as long as first send some fixed code as FFFF, the length of this fixed code determines according to the reaction speed of the communication speed of system and system, object is to allow kernel control module 205 after waking up, have time enough to open the power supply of all modules, allow modules complete reset, guarantee that like this communication data do not lose.Watchdog module 301, in the time of normal work, can close to reduce power consumption in addition, only at system penetration depth sleep state front opening just.It should be noted that, thereby watchdog module 301 sends to kernel control module 205 remote wakening systems by the instruction of host computer by data/address bus, can be applied to and for example SPI(Serial Peripheral Interface--Serial Peripheral Interface (SPI) of other data communications) communication, UART(UniversalAsynchronous Receiver/Transmitter, universal asynchronous reception/dispensing device) communication, I2C(Inter-Integrated Circuit, twin wire universal serial bus) communication etc.
Further, shown in Fig. 5, in another embodiment of the present invention, battery management chip also comprises: temperature detecting module 501 and hardware protection module 502.Wherein, temperature detecting module 501 is for detection of the temperature of battery.Hardware protection module 502 is connected with temperature detecting module 501, in the time that the temperature of battery is greater than threshold value, battery is protected.It should be noted that, threshold value herein can refer to be suitable for battery carries out the higher limit of the temperature of work.Hardware protection module 502 independent operatings, avoid because of for example SPI sequential of digital circuit or controlled sequential and break down and cause battery management IC can not play the protective effect to battery, hardware protection module 502 just brings into operation in the time that whole battery management chip circuit powers on, detect cell voltage temperature by temperature detecting module 501 and exceed setting range, the line open circuit of for example battery temperature sensor, can not detect in time the temperature of battery, cause battery temperature to exceed the number range of regulation, hardware protection module 502 is just made a response, directly send alarm signal, battery is protected.In addition, other modules of part that also exist in battery management chip and part annexation as shown in Figure 6, comprising: SUB is the differential discharge circuit of high-performance, and voltage temperature signal is carried out to preliminary treatment; 12Bit ADC Ctrl and Coulomb ADC Ctrl produce high precision reference circuit, power supply are provided to respectively analog circuit a/d; MOS Driver is charge-discharge circuit; Electric current pre-amplification circuit; Module LDO5V and LDO21.5v are reference circuits.OSC12MHZ and OSC210KHZ are OSC(oscillator, oscillator) oscillating circuit, for whole digital circuit provides reference frequency, vibration frequency is respectively 2MHZ and 10KHZ, is the pulsation heart of whole battery management chip IC circuit; LV POR and LV LVR are respectively electrify restoration circuit and power-off reset circuit; EflashController and SRAM Controller are FLASH memory and sram memory; CPUCortex M0 is 32BIT digital core; SPI CAN UART I2C is communication module.
In an embodiment of the present invention, by multiplexing module 204, the magnitude of voltage of for example battery of the battery parameter of collection, current value, temperature value are sent to kernel control module 205, kernel control module 205 is according to the SOC value of battery parameter estimating battery, send electric quantity balancing instruction, and battery is discharged according to instruction controlled discharge module by multiplexing module 204, make battery electric quantity reach balanced.Kernel control module 205 is also for receiving the order of host computer, to change operating state and to enter or exit SLLEP pattern in addition.When kernel control module 205 is during in SLEEP pattern, watchdog module 301 receives the order of host computer, and convert order to default level signal and wake kernel control module 205 up, watchdog module 301 is closed in the time that system is normally worked, only open in SLEEP pattern, so just reduced the power consumption of system.When the temperature that detects battery when temperature detecting module 501 exceedes threshold value, hardware protection module 502 is directly reported to the police, and battery is protected.
In sum, according to the battery management chip of the embodiment of the present invention, when realization is carried out electric quantity balancing to battery, can carry out Remote Wake Up by the internal nuclear control module of watchdog module at holding state, and then open other modular power sources, reduced the power consumption of electric power system, watchdog module can also be applied to multiple bus communication, more practical.In addition, hardware protection module independent operating, has avoided fault not protect battery.
Any process of otherwise describing in flow chart or at this or method are described and can be understood to, represent to comprise that one or more is for realizing module, fragment or the part of code of executable instruction of step of specific logical function or process, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can be not according to order shown or that discuss, comprise according to related function by the mode of basic while or by contrary order, carry out function, this should be understood by embodiments of the invention person of ordinary skill in the field.
The logic and/or the step that in flow chart, represent or otherwise describe at this, for example, can be considered to the sequencing list of the executable instruction for realizing logic function, may be embodied in any computer-readable medium, use for instruction execution system, device or equipment (as computer based system, comprise that the system of processor or other can and carry out the system of instruction from instruction execution system, device or equipment instruction fetch), or use in conjunction with these instruction execution systems, device or equipment.With regard to this specification, " computer-readable medium " can be anyly can comprise, device that storage, communication, propagation or transmission procedure use for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment.The example more specifically (non-exhaustive list) of computer-readable medium comprises following: the electrical connection section (electronic installation) with one or more wirings, portable computer diskette box (magnetic device), random-access memory (ram), read-only memory (ROM), the erasable read-only memory (EPROM or flash memory) of editing, fiber device, and portable optic disk read-only memory (CDROM).In addition, computer-readable medium can be even paper or other the suitable medium that can print described program thereon, because can be for example by paper or other media be carried out to optical scanner, then edit, decipher or process in electronics mode and obtain described program with other suitable methods if desired, be then stored in computer storage.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple steps or method can realize with being stored in software or the firmware carried out in memory and by suitable instruction execution system.For example, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: there is the discrete logic for data-signal being realized to the logic gates of logic function, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is can carry out the hardware that instruction is relevant by program to complete, described program can be stored in a kind of computer-readable recording medium, this program, in the time carrying out, comprises step of embodiment of the method one or a combination set of.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing module, can be also that the independent physics of unit exists, and also can be integrated in a module two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and also can adopt the form of software function module to realize.If described integrated module realizes and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.
The above-mentioned storage medium of mentioning can be read-only memory, disk or CD etc.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or example in conjunction with specific features, structure, material or the feature of this embodiment or example description.In this manual, the schematic statement of above-mentioned term is not necessarily referred to identical embodiment or example.And specific features, structure, material or the feature of description can be with suitable mode combination in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment, scope of the present invention is by claims and be equal to and limit.