CN107193359A - A kind of notebook battery management device and method based on Shen prestige processor - Google Patents

A kind of notebook battery management device and method based on Shen prestige processor Download PDF

Info

Publication number
CN107193359A
CN107193359A CN201710213617.5A CN201710213617A CN107193359A CN 107193359 A CN107193359 A CN 107193359A CN 201710213617 A CN201710213617 A CN 201710213617A CN 107193359 A CN107193359 A CN 107193359A
Authority
CN
China
Prior art keywords
battery
management
notebook
electric
threshold
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710213617.5A
Other languages
Chinese (zh)
Inventor
朱书杉
李小敏
葛永辉
杨贵永
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics Co Ltd
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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201710213617.5A priority Critical patent/CN107193359A/en
Publication of CN107193359A publication Critical patent/CN107193359A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • HELECTRICITY
    • H01BASIC ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Abstract

The present invention proposes a kind of notebook battery management device and method based on Shen prestige processor, the main SW4C processors, ICH2 nest plates, EC chips for including being connected with each other, battery information, carry out management of charging and discharging of then generating strategy are obtained by setting up SMBUS buses between EC chips and battery:Kernel drives the interface function provided to deposit in the battery information of acquisition under system/sys catalogues by EC, and the battery information under battery management APP readings/sys catalogues under system is simultaneously presented to user by visualization interface in systems.Hardware circuit of the present invention is simple, by setting the discharge and recharge strategy of battery to increase the service life of Notebook Battery, improves the continuation of the journey use time of battery.

Description

A kind of notebook battery management device and method based on Shen prestige processor
Technical field
The present invention relates to Domestic Platform field of power management, more particularly to a kind of Notebook Battery based on Shen prestige processor Managing device and method.
Background technology
Battery management mainly realizes that battery real time information acquisition and battery charging condition set two functions.Battery is real-time Acquisition of information refers to that operating system nucleus obtains the real-time status parameter of battery, and is written into user's space;Battery charging and discharging State sets the charging and discharging state for referring to that battery is set according to battery real time information.
With the propulsion of production domesticization, the functional requirement of Shen prestige platform is also increasingly stricter, and power management becomes required real Existing function.Realize that power management can not only reduce power consumption, " efficiency " of power supply can also be improved, come for notebook computer Saying can also improve the life-span of battery, extend the use time of battery.
The content of the invention
In order to solve the above technical problems, the present invention proposes a kind of Notebook Battery Managed Solution of Shen prestige processor, side Case is as follows:
In a first aspect, the present invention provides a kind of notebook battery management device based on Shen prestige processor, including at SW4C Device, ICH2 nest plates, EC control chips are managed, wherein, the discharge and recharge of Notebook Battery is controlled by EC control chips, and SW4C processors lead to The lpc bus for crossing ICH2 nest plates is connected with EC control chips, and EC control chips read battery by System Management Bus SMBUS Information, SW4C processors drive the interface function provided that the battery information of acquisition is deposited in into system/sys by EC control chips Under catalogue, the battery information under battery management APP readings/sys catalogues under system is in systems simultaneously by visualization interface User is now given, EC control chips set up SMBUS buses between battery by it and obtain battery information, progress of then generating strategy Management of charging and discharging.
Further, when only battery is powered, if battery electric quantity is too low, less than first threshold, now EC can be direct Upload the low alarm of a battery electric quantity, if as little as Second Threshold can direct power-off shutdown, wherein the first threshold, the Two threshold values can be with manual modification.
Further, wherein:
When battery electric quantity is less than 5%, system sends low battery warning;
When battery electric quantity is less than 3%, system forced shutdown;
When battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
Further, when there is external power supply situation, battery will not be charged always, and the 3rd threshold value of charging is needed when reaching It can just charge, be not reaching to, will not charge, wherein, the 3rd threshold value can be with manual modification.
Further, when battery electric quantity is less than 95%, into the fast charge mode of constant current;
Battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage.
On the other hand, the present invention provides a kind of Notebook Battery management method based on Shen prestige processor, including:
SS1:EC control chips read the information of battery by System Management Bus SMBUS;
SS2:EC control chips are generated strategy according to the battery information of reading controls the management of charging and discharging of Notebook Battery;
SS3:SW4C processors obtain the battery information that EC control chips are read by the lpc bus of ICH2 nest plates;
SS4:SW4C processors drive the interface function provided to deposit in the battery information of acquisition by EC control chips Under system/sys catalogues, the battery information under battery management APP readings/sys catalogues under system and in systems by visual Change interface and be presented to user.
Further, when only battery is powered, if battery electric quantity is too low, less than first threshold, now EC can be direct Upload the low alarm of a battery electric quantity, if as little as Second Threshold can direct power-off shutdown, wherein the first threshold, the Two threshold values can be with manual modification.
Further, wherein:
When battery electric quantity is less than 5%, system sends low battery warning;
When battery electric quantity is less than 3%, system forced shutdown;
When battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
Further, in step SS2, when there is external power supply situation, the charging of battery is managed, battery can not fill always Electricity, needs the 3rd threshold value charged just to charge, is not reaching to, will not charge, wherein the 3rd threshold value can be with hand when reaching Dynamic modification.
Further, wherein:
When battery electric quantity is less than 95%, into the fast charge mode of constant current;
Battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage.
The present invention is based on domestic Shen prestige platform, can be effectively increased the service life of Notebook Battery, improves the continuous of battery Boat use time.
Brief description of the drawings
Fig. 1 shows the notebook battery management device structured flowchart of the invention based on Shen prestige processor.
Fig. 2 shows the Notebook Battery management method flow chart of the invention based on Shen prestige processor.
Embodiment
Technical scheme is further illustrated below in conjunction with Figure of description and specific embodiment.It should be appreciated that this The specific embodiment of place description is not intended to limit the present invention only to explain the present invention.
The present invention proposes a kind of notebook battery management device and method based on Shen prestige processor, main to include mutually SW4C processors, ICH2 nest plates, the EC chips of connection, battery letter is obtained by setting up SMBUS buses between EC chips and battery Breath, carry out management of charging and discharging of then generating strategy;Kernel drives the interface function provided to deposit the battery information of acquisition by EC It is put under system/sys catalogues, the battery information under battery management APP readings/sys catalogues under system simultaneously passes through in systems Visualization interface is presented to user.
Fig. 1 shows the notebook battery management device structured flowchart of the invention based on Shen prestige processor.
As shown in figure 1, the notebook battery management device based on Shen prestige processor includes SW4C processors (domestic Shen prestige CPU), ICH2 nest plates (domestic Shen prestige IO nest plates), EC (Embed Controller) control chip, wherein, Notebook Battery Discharge and recharge is controlled by EC control chips, and SW4C processors are connected by the lpc bus of ICH2 nest plates with EC control chips, EC controls Chip reads the information of battery by System Management Bus SMBUS.
According to one embodiment of the invention, SW4C processors drive the interface function provided to obtain by EC control chips Battery information deposit under system/sys catalogues, the battery information under battery management APP readings/sys catalogues under system is simultaneously User is presented to by visualization interface in systems.
According to one embodiment of the invention, when only battery is powered, if battery electric quantity is too low, less than first threshold, Now EC can directly upload a low alarm of battery electric quantity, can direct power-off shutdown if as little as Second Threshold.
According to one embodiment of the invention, EC control chips set up SMBUS buses between battery by it and obtain battery Information, carry out management of charging and discharging of then generating strategy.
According to one embodiment of the invention, when there is external power supply situation, the charging of battery is managed, battery can not fill always Electricity, needs the 3rd threshold value charged just to charge, is not reaching to, will not charge when reaching.
According to one embodiment of the invention, when exclusive use battery is powered:
1) when battery electric quantity is less than 5%, system sends low battery warning;
2) when battery electric quantity is less than 3%, system forced shutdown;
3) when battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
According to one embodiment of the invention, when carrying out battery charging;
1) when battery electric quantity is less than 95%, into the fast charge mode of constant current;
2) battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage.
According to one embodiment of the invention, first threshold, Second Threshold, the 3rd threshold value can be with manual modifications.
Fig. 2 shows the Notebook Battery management method flow chart of the invention based on Shen prestige processor.
As shown in Fig. 2 the Notebook Battery management method based on Shen prestige processor, comprises the following steps:
SS1:EC control chips read the information of battery by System Management Bus SMBUS;
SS2:EC control chips are generated strategy according to the battery information of reading controls the management of charging and discharging of Notebook Battery;
SS3:SW4C processors obtain the battery information that EC control chips are read by the lpc bus of ICH2 nest plates;
SS4:SW4C processors drive the interface function provided to deposit in the battery information of acquisition by EC control chips Under system/sys catalogues, the battery information under battery management APP readings/sys catalogues under system and in systems by visual Change interface and be presented to user.
It is low if battery electric quantity is too low when only battery is powered in step SS2 according to one embodiment of the invention In first threshold, now EC can directly upload a low alarm of battery electric quantity, can directly be powered off if as little as Second Threshold Shutdown.
According to one embodiment of the invention, in step SS2, when there is external power supply situation, the charging of battery, electricity are managed Pond can not charge always, need the 3rd threshold value charged just to charge when reaching, be not reaching to, will not charge.
According to one embodiment of the invention, when exclusive use battery is powered:
1) when battery electric quantity is less than 5%, system sends low battery warning;
2) when battery electric quantity is less than 3%, system forced shutdown;
3) when battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
According to one embodiment of the invention, when carrying out battery charging;
1) when battery electric quantity is less than 95%, into the fast charge mode of constant current;
2) battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage.
According to one embodiment of the invention, first threshold, Second Threshold, the 3rd threshold value can be with manual modifications.
By setting the discharge and recharge strategy of battery to be effectively increased the service life of portable computer battery, electricity is improved The continuation of the journey use time in pond.
Although in terms of having been described for some in the context of device, it is apparent that these aspects also illustrate that corresponding method Description, wherein block or apparatus and method for step or the feature of method and step be corresponding.Similarly, in the context of method and step Described in each side also illustrate that the description of corresponding piece or project or the feature of corresponding intrument.(or use) can be passed through Hardware unit such as microprocessor, programmable calculator or electronic circuit etc is some or all of in method and step to perform. Can be performed by such device in most important method and step some or it is multiple.
The realization can using hardware or using software or can use for example floppy disk, DVD, blue light, CD, ROM, PROM, EPROM, EEPROM's or flash memory etc there is the stored digital for being stored in electronically readable control signal thereon to be situated between Matter is performed, and the electronically readable control signal coordinates (or with it can coordinate) to perform with programmable computer system Corresponding method.The data medium with electronically readable control signal can be provided, the electronically readable control signal can be with Programmable computer system coordinates to perform approach described herein.
The realization can also use the form of the computer program product with program code, work as computer program product When running on computers, program code is operated to perform this method.Can in machine-readable carrier storage program generation Code.
Described above be only it is illustrative, and it is to be understood that it is described herein arrangement and details modification and Change will be apparent to those skilled in the art.It is therefore intended that only by scope of the following claims rather than by The specific detail that is presented is limited above description and by way of explaining.

Claims (10)

1. a kind of notebook battery management device based on Shen prestige processor, it is characterised in that covered including SW4C processors, ICH2 Piece, EC control chips, wherein, the discharge and recharge of Notebook Battery is controlled by EC control chips, and SW4C processors pass through ICH2 nest plates Lpc bus be connected with EC control chips, EC control chips pass through System Management Bus SMBUS read battery information, SW4C Processor drives the interface function provided to deposit in the battery information of acquisition under system/sys catalogues by EC control chips, is System under battery management APP readings/sys catalogues under battery information and user is presented to by visualization interface in systems, EC control chips set up SMBUS buses between battery by it and obtain battery information, progress charge and discharge fulgurite of then generating strategy Reason.
2. the notebook battery management device according to claim 1 based on Shen prestige processor, wherein, supplied in only battery When electric, if battery electric quantity is too low, less than first threshold, now EC can directly upload a low alarm of battery electric quantity, if As little as Second Threshold then can direct power-off shutdown, wherein the first threshold, Second Threshold can be with manual modifications.
3. the notebook battery management device according to claim 2 based on Shen prestige processor, wherein:
When battery electric quantity is less than 5%, system sends low battery warning;
When battery electric quantity is less than 3%, system forced shutdown;
When battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
4. the notebook battery management device according to claim 1 based on Shen prestige processor, wherein, there is external power supply During situation, battery will not charge always, need the 3rd threshold value charged just to charge when reaching, be not reaching to, will not charge, Wherein, the 3rd threshold value can be with manual modification.
5. the notebook battery management device according to claim 4 based on Shen prestige processor, wherein:
When battery electric quantity is less than 95%, into the fast charge mode of constant current;
Battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage..
6. a kind of Notebook Battery management method based on Shen prestige processor, it is characterised in that comprise the following steps:
SS1:EC control chips read the information of battery by System Management Bus SMBUS;
SS2:EC control chips are generated strategy according to the battery information of reading controls the management of charging and discharging of Notebook Battery;
SS3:SW4C processors obtain the battery information that EC control chips are read by the lpc bus of ICH2 nest plates;
SS4:SW4C processors by EC control chips drive provide interface function by the battery information of acquisition deposit in system/ Under sys catalogues, the battery information under battery management APP readings/sys catalogues under system simultaneously passes through visualization interface in systems It is presented to user.
7. the Notebook Battery management method according to claim 6 based on Shen prestige processor, in step SS2, only When having the battery to power, if battery electric quantity is too low, less than first threshold, now EC can directly upload a low police of battery electric quantity Report, if as little as Second Threshold can direct power-off shutdown, wherein the first threshold, Second Threshold can be with manual modifications.
8. the Notebook Battery management method according to claim 7 based on Shen prestige processor, wherein:
When battery electric quantity is less than 5%, system sends low battery warning;
When battery electric quantity is less than 3%, system forced shutdown;
When battery electric quantity is higher than 95%, battery does not charge after insertion adapter.
9. the Notebook Battery management method according to claim 6 based on Shen prestige processor, in step SS2, is having During external power supply situation, the charging of battery is managed, battery can not charge always, need the 3rd threshold value charged just to fill when reaching Electricity, is not reaching to, and will not charge, wherein the 3rd threshold value can be with manual modification.
10. the Notebook Battery management method according to claim 9 based on Shen prestige processor, wherein:
When battery electric quantity is less than 95%, into the fast charge mode of constant current;
Battery electric quantity is higher than 95%, during less than 100%, into the slow charging mode of constant voltage.
CN201710213617.5A 2017-04-01 2017-04-01 A kind of notebook battery management device and method based on Shen prestige processor Pending CN107193359A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710213617.5A CN107193359A (en) 2017-04-01 2017-04-01 A kind of notebook battery management device and method based on Shen prestige processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710213617.5A CN107193359A (en) 2017-04-01 2017-04-01 A kind of notebook battery management device and method based on Shen prestige processor

Publications (1)

Publication Number Publication Date
CN107193359A true CN107193359A (en) 2017-09-22

Family

ID=59870933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710213617.5A Pending CN107193359A (en) 2017-04-01 2017-04-01 A kind of notebook battery management device and method based on Shen prestige processor

Country Status (1)

Country Link
CN (1) CN107193359A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154670A (en) * 2017-06-09 2017-09-12 山东超越数控电子有限公司 A kind of double lithium battery control systems based on EC controllers
CN112925734A (en) * 2021-03-15 2021-06-08 西安超越申泰信息科技有限公司 Portable computer mainboard based on Shenwei 421 treater

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202041905U (en) * 2011-05-09 2011-11-16 山东超越数控电子有限公司 Intelligent management module for notebook battery
CN103887856A (en) * 2014-03-21 2014-06-25 浪潮电子信息产业股份有限公司 Charging and discharging strategy and electric quantity display method of battery of Feiteng portable computer made in China
CN104182022A (en) * 2014-08-29 2014-12-03 山东超越数控电子有限公司 Smart battery management method implemented by portable computer
CN104460925A (en) * 2014-12-18 2015-03-25 山东超越数控电子有限公司 Power management implementation method based on ShenWei platform
CN105511581A (en) * 2015-12-18 2016-04-20 中国人民解放军国防科学技术大学 Method for controlling battery status based on domestic Fei Teng processor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202041905U (en) * 2011-05-09 2011-11-16 山东超越数控电子有限公司 Intelligent management module for notebook battery
CN103887856A (en) * 2014-03-21 2014-06-25 浪潮电子信息产业股份有限公司 Charging and discharging strategy and electric quantity display method of battery of Feiteng portable computer made in China
CN104182022A (en) * 2014-08-29 2014-12-03 山东超越数控电子有限公司 Smart battery management method implemented by portable computer
CN104460925A (en) * 2014-12-18 2015-03-25 山东超越数控电子有限公司 Power management implementation method based on ShenWei platform
CN105511581A (en) * 2015-12-18 2016-04-20 中国人民解放军国防科学技术大学 Method for controlling battery status based on domestic Fei Teng processor

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107154670A (en) * 2017-06-09 2017-09-12 山东超越数控电子有限公司 A kind of double lithium battery control systems based on EC controllers
CN112925734A (en) * 2021-03-15 2021-06-08 西安超越申泰信息科技有限公司 Portable computer mainboard based on Shenwei 421 treater

Similar Documents

Publication Publication Date Title
US8793518B2 (en) Systems and methods for providing supplemental power to battery powered information handling systems
CN102789304B (en) Method for managing power supply and relevant apparatus
JP3690665B2 (en) ELECTRIC DEVICE, COMPUTER DEVICE, AND POWER SUPPLY METHOD
CN102301305B (en) A kind of method and system that USB device is powered
JP5634608B2 (en) Charging port
CN103246335B (en) Condition control method and electronic equipment
US20110266873A1 (en) Information processing apparatus and method of controlling an information processing apparatus
US10891062B2 (en) Managing host communication with a regulator in a low power mode
CN102597911B (en) AC adaptor minimization through active platform power consumption management
CN103887570A (en) Power supply management method, power supply management system and electronic device
CN103326078A (en) Mobile device charging method and system
CN102932156B (en) A kind of microserver and micro server cluster system
CN107193359A (en) A kind of notebook battery management device and method based on Shen prestige processor
JP3799254B2 (en) Electric apparatus, computer apparatus, charging method in electric apparatus, and program
CN104460925A (en) Power management implementation method based on ShenWei platform
CN106774790A (en) One kind wears display device and its method for managing power supply and device
CN105095142A (en) System and method for controlling expander card
US20140091621A1 (en) Structure and method for providing power to external mobile devices
CN101329594A (en) Method for reducing notebook computer battery-exchanging working time and battery detector
CN105356544A (en) Portable notebook battery stand charger device based on EC
CN108008801A (en) A kind of method for controlling power supply, device and the medium of FPGA accelerator cards accessory power supply
US20130049704A1 (en) Charging apparatus and charging method
US6617829B1 (en) Automatic conditioning of battery in battery-powered apparatus
KR100726432B1 (en) External storage apparatus and operating method thereof
US8667610B2 (en) Portable computer and charging method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170922

RJ01 Rejection of invention patent application after publication