CN101881988B - Portable computer and charging method thereof - Google Patents

Portable computer and charging method thereof Download PDF

Info

Publication number
CN101881988B
CN101881988B CN2009101378863A CN200910137886A CN101881988B CN 101881988 B CN101881988 B CN 101881988B CN 2009101378863 A CN2009101378863 A CN 2009101378863A CN 200910137886 A CN200910137886 A CN 200910137886A CN 101881988 B CN101881988 B CN 101881988B
Authority
CN
China
Prior art keywords
battery
locking
portable computer
security bit
preset value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2009101378863A
Other languages
Chinese (zh)
Other versions
CN101881988A (en
Inventor
陈碧棋
颜维廷
林正路
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Quanta Computer Inc
Original Assignee
Quanta Computer Inc
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 Quanta Computer Inc filed Critical Quanta Computer Inc
Priority to CN2009101378863A priority Critical patent/CN101881988B/en
Publication of CN101881988A publication Critical patent/CN101881988A/en
Application granted granted Critical
Publication of CN101881988B publication Critical patent/CN101881988B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention provides a portable computer and a charging method thereof. The portable computer comprises a charging integrated circuit, a basic input/output system (BIOS), an embedded controller, a south bridge chip, a north bridge chip and a central processing unit (CPU). When a battery is connected to the portable computer, the south bridge chip is controlled by the BIOS and the embedded controller to read the locking security bit of the battery and check whether the locking security bit thereof is equal to a preset value; if the locking security bit thereof is equal to the preset value, the south bridge chip is controlled by the BIOS and the embedded controller to read data from the battery; and the charging integrated circuit is controlled by the BIOS and the embedded controller to charge the battery via the south bridge chip based on the battery data, wherein the south bridge chip and the north bridge chip are controlled by the CPU.

Description

Portable computer and charging method thereof
Technical field
The invention relates to a kind of portable computer and charging method thereof, and particularly relevant for a kind of safety lock state through automatic detection battery, with portable computer and the charging method thereof of guaranteeing that battery charges normal.
Background technology
As far as notebook computer; Because notebook computer has portability; Under the situation of external power supply not; Whole notebook computer provides electric power with regard to leaning on its reserve battery of installing, and the stable power supply is extremely important to the running of total system so keep battery supply to continue.There is a kind of battery that is applied to notebook computer to be called intelligent battery (Smart Battery) at present.The advantage of intelligent battery is that it can provide battery data.Battery data comprises static data and dynamic data; Static data for example comprises manufacturer's title, device name, battery types, sequence number and build date or the like; And dynamic data for example comprise relative charged state (Relative State Of Charge, RSOC), charging current, charging voltage, electric current, voltage, temperature and battery status or the like.Wherein, (Embedded Controller EC) only reads static data to the embedded controller of notebook computer when battery just inserts notebook computer, embedded controller just can not read static data more afterwards.On the contrary, after battery inserted notebook computer, embedded controller still can read dynamic data every now and then.
Notebook computer can be known the remaining electric weight of current battery of intelligent battery according to battery data.So, notebook computer just can be carried out the work of power management (power management) according to resulting dump energy data, the power operation of The whole calculations machine system is done the regulation and control of full blast according to the dump energy of intelligent battery.For example: if the user never comes main frame is sent instruction through keyboard or other computer external output/input elements; After after a while; Notebook computer will be accordinged to operating system setting in advance; Close the running of display, hard disk or other circuit components, to save electric power.Or when dump energy reduced to certain degree, notebook computer can lower the brightness of display display frame, reducing the loss of electric power, and provided alert message to remind the user, and intelligent battery needs charging.Even when the dump energy wretched insufficiency of intelligent battery, data storing is arrived in storer or the hard disk, and hard closing total system.
Yet what need to specify is, a safety lock (Seal) is arranged in the intelligent battery, and this safety lock must positively be locked before battery dispatches from the factory.Otherwise, when intelligent battery charges, promptly can change original battery data.Thus, with the malfunction that causes battery, and seriously have influence on the operate as normal of notebook computer.
Summary of the invention
The present invention, just charges to battery after the safety lock of confirming battery has been locked relevant for a kind of portable computer and charging method thereof, therefore can not change original battery data.So can not only guarantee the regular event of battery, can also keep the operate as normal of notebook computer.
According to an aspect of the present invention, a kind of portable computer is proposed.Portable computer comprises charging integrated circuit, basic input/output system and embedded controller, South Bridge chip, north bridge chips and central processing unit.When portable computer with after battery is connected, whether lock security bit and the inspection that basic input/output system and embedded controller controls South Bridge chip the read battery security bit of locking equals preset value.Security bit equals preset value if lock, and then basic input/output system and embedded controller controls South Bridge chip read the battery data of battery.Basic input/output system and embedded controller charge to battery through South Bridge chip control charging integrated circuit according to battery data.Central processing unit control South Bridge chip and north bridge chips.
According to a further aspect in the invention, a kind of charging method is proposed.Charging method comprises: connect battery to portable computer; Whether the security bit of locking of inspection battery equals preset value; Security bit equals preset value if lock, and then reads the battery data of battery; And battery is charged according to battery data.
For letting the foregoing of the present invention can be more obviously understandable, hereinafter is special lifts a preferred embodiment, and cooperates appended graphicly, elaborates as follows:
Description of drawings
Fig. 1 illustrates the block diagram into a kind of portable computer of accordinging to preferred embodiment of the present invention.
Fig. 2 illustrates the process flow diagram into a kind of charging method that accordings to preferred embodiment of the present invention.
The main element symbol description:
10: portable computer
20: battery
110: the charging integrated circuit
120: basic input/output system and embedded controller
130: South Bridge chip
140: north bridge chips
150: central processing unit
170: display
160: System Management Bus
182,184: load
186: keyboard
192: charge pump
194: low dropout voltage regulator
196: direct current transducer
198: power selection circuit
210,220,230,240: step
Ds: Schottky diode
Rs: inductive reactance
Q: charging field effect transistor
L: inductance
Embodiment
Please with reference to Fig. 1, it illustrates the block diagram into a kind of portable computer of accordinging to preferred embodiment of the present invention.Portable computer 10 can receive external ac power source via power supply adaptor (AC Adaptor) 30 and also according to this battery 20 charged.Portable computer 10 for example is notebook computer or flat computer, and battery 20 is in order to providing portable computer 10 required electric powers, and battery 20 for example is an intelligent battery.Portable computer 10 comprises charging integrated circuit 110, basic input/output system and embedded controller 120, South Bridge chip 130, north bridge chips 140, central processing unit 150, System Management Bus (System Management Bus; SMBus) 160, power selection circuit 198, Schottky diode (Schottary Diode) Ds, inductive reactance RS, charging field effect transistor (Charge FET) Q, inductance L, charge pump 192, low dropout voltage regulator (Low Drop Out, LDO) 194, direct current transducer (DC/DCconverter) 196, load 182, load 184, keyboard 186 and display 170.Keyboard 186 is coupled to basic input/output system and embedded controller 120.
When power supply adaptor 30 is coupled to portable computer 10; Power selection circuit 198 notice charging integrated circuit 110 conductings charging field effect transistor Q, make external ac power source through power supply adaptor 30 conversions after power selection circuit 198, Schottky diode Ds, inductive reactance Rs, charging field effect transistor Q to battery 20 chargings.
Charge pump 192 exports display 170 to after power supply is adjusted.Load 184 is audio-frequency module, wireless radio frequency modules and inductor for example, and load 186 for example is the core voltage supply circuit (Vcore) of fan, storer and central processing unit.Low dropout voltage regulator 194 exports load 182 to after power supply is adjusted.Direct current transducer 196 electrically connects with inductance L, and exports load 184 after will adjusting to.
South Bridge chip 130 is linked up via System Management Bus 160 and power supply adaptor 30, charging integrated circuit 110 and battery 20.Battery 20 can send required charging voltage, charging current, state and warning information through System Management Bus 160, and portable computer 10 also can be via the Estimated Time Of Operation under the System Management Bus 160 inquiry batteries 20 present loads.System Management Bus 160 can improve the service time of the power management of portable computer 10, the reliability that improves battery 20, prolongation battery 20 and guarantee the use capacity of battery 20.
(SealedSecurity, SS) potential energy preferably determines whether stop battery 20 is charged according to the safety of locking of battery 20 for basic input/output system and embedded controller 120.Perhaps, basic input/output system and embedded controller 120 are according to the frequency of operation of security bit decision whether reduction central processing unit of locking of battery 20.Or whether basic input/output system and embedded controller 120 are shown in indicating device accordingly according to the security bit decision of locking of battery 20, and indicating device is display, light emitting diode or hummer for example.For the purpose of convenient explanation, the indicating device of following embodiment is the example explanation with display 170.
When portable computer 10 with after battery 20 is connected, whether the security bit of locking of basic input/output system and embedded controller 120 inspection batteries 20 equals preset value.Whether the security bit of locking is locked with the safety lock of battery 20 and is changed.For instance, when the safety lock of battery 20 had been locked, the security bit of then locking equaled preset value.On the contrary, when the safety lock of battery 20 was not locked, the security bit of then locking was not equal to preset value.Aforementioned preset value for example is 1.
If when the aforementioned security bit of locking equaled preset value, then embedded controller 120 read the battery data of battery 20.Battery data comprises static data and dynamic data; Static data for example comprises manufacturer's title, device name, battery types, sequence number and build date or the like, and dynamic data for example comprises battery remaining power, charging current, charging voltage, electric current, voltage, temperature and battery status or the like.
Central processing unit 150 control South Bridge chip 130 and north bridge chips 140.Do basic input/output system and embedded controller 120 control South Bridge chips 130 read the security bit of locking of battery 20 and check that also the security bit of locking equals preset value? It is aforementioned when the security bit of locking equals preset value; Basic input/output system and embedded controller 120 control South Bridge chips 130 read the battery data of battery, and basic input/output system and embedded controller 120 charge through 110 pairs of batteries 20 of South Bridge chip 130 control charging integrated circuit according to battery data.On the contrary, when the security bit of locking was not equal to preset value, basic input/output system and embedded controller 120 were forbidden battery 20 chargings through South Bridge chip 130 control charging integrated circuit 110.
Because basic input/output system and embedded controller 120 after the safety lock of confirming battery 20 has been locked, just charge through 110 pairs of batteries 20 of South Bridge chip 130 control charging integrated circuit, therefore can not change original battery data.Thus, will guarantee the regular event of battery 20, to keep the operate as normal of portable computer 10.
Moreover, when the security bit of locking was not equal to preset value, basic input/output system and embedded controller 120 control South Bridge chips 130 reduced the frequency of operation of central processing unit 150.South Bridge chip 130 is and the pin STPCLK# electric connection of central processing unit that South Bridge chip 130 avoids power consumption excessive via the frequency of operation that pin STPCLK# reduces central processing unit 150.
In order to let the user can also learn the state of the safety lock of battery 20 intuitively, basic input/output system and embedded controller 120 according to the security bit of locking accordingly at the state of the safety lock of display 170 pilot cells 20.Thus, do not lock can't charge normal the time because of safety lock when battery 20, the user can promptly learn the problem place via display 170, and quickens the speed of dealing with problems.
Please with reference to Fig. 2, it illustrates the process flow diagram into a kind of charging method that accordings to preferred embodiment of the present invention.Charging method for example is applied to 10 pairs of batteries of aforesaid portable computer 20 charging, and charging method comprises the steps: at first shown in step 210, to connect battery 20 to portable computer 10.Then shown in step 220, whether the security bit of locking of basic input/output system and embedded controller 120 inspection batteries 20 equals preset value.Security bit equals preset value if lock, and then shown in step 230, basic input/output system and embedded controller 120 control South Bridge chips 130 read the battery data of battery 20.Shown in step 240, basic input/output system and embedded controller 120 charge through 110 pairs of batteries 20 of South Bridge chip 130 control charging integrated circuit according to battery data then.
Portable computer that the above embodiment of the present invention disclosed and charging method thereof have multiple advantages, below just list and lift the explanation of part advantage as follows:
One, portable computer just charges to battery after the safety lock of confirming battery has been locked, therefore can not change original battery data; And
Two, because original battery data can not changed by mistake, therefore will guarantee the regular event of battery, to keep the operate as normal of notebook computer.
In sum, though the present invention with preferred embodiment exposure as above, yet it is not in order to limit the present invention.Have common knowledge the knowledgeable in the technical field under the present invention, do not breaking away from the spirit and scope of the present invention, when doing various changes and retouching.Therefore, protection scope of the present invention is as the criterion when looking the accompanying Claim person of defining.

Claims (16)

1. portable computer comprises:
The charging integrated circuit;
South Bridge chip;
Basic input/output system and embedded controller; When this portable computer with after battery is connected; This South Bridge chip of this basic input/output system and embedded controller controls reads the security bit and check whether this security bit of locking equals preset value of locking of this battery; If this security bit of locking equals this preset value; Then this South Bridge chip of this basic input/output system and embedded controller controls reads the battery data of this battery; This basic input/output system and embedded controller charge to this battery through this this charging integrated circuit of South Bridge chip control according to this battery data, if this security bit of locking is not equal to this preset value, this basic input/output system and embedded controller are forbidden this battery is charged through this this charging integrated circuit of South Bridge chip control;
North bridge chips; And
Central processing unit is in order to control this South Bridge chip and this north bridge chips.
2. portable computer as claimed in claim 1, wherein also unlocked when the safety lock of this battery, then this security bit of locking is not equal to this preset value.
3. portable computer as claimed in claim 1 is wherein locked when a safety lock of this battery, and then this security bit of locking equals this preset value.
4. portable computer as claimed in claim 1, wherein if this security bit of locking is not equal to this preset value, this South Bridge chip of this basic input/output system and embedded controller controls reduces the frequency of operation of this central processing unit.
5. portable computer as claimed in claim 1 also comprises:
Indicating device, this basic input/output system and embedded controller are indicated the state of the safety lock of this battery accordingly at this indicating device according to this security bit of locking.
6. portable computer as claimed in claim 5, wherein this indicating device is a display.
7. portable computer as claimed in claim 5, wherein this indicating device is a light emitting diode.
8. portable computer as claimed in claim 5, wherein this indicating device is a hummer.
9. charging method comprises:
Connect battery to portable computer;
Whether the security bit of locking of checking this battery equals preset value;
If this security bit of locking equals this preset value, then read the battery data of this battery;
According to this battery data this battery is charged; And
If this security bit of locking is not equal to this preset value, then forbid this battery is charged.
10. charging method as claimed in claim 9, wherein in said inspection step, also unlocked when the safety lock of this battery, then this security bit of locking is not equal to this preset value.
11. charging method as claimed in claim 9, wherein in said inspection step, when the safety lock of this battery is locked, then this security bit of locking equals this preset value.
12. charging method as claimed in claim 9 also comprises:
If this security bit of locking is not equal to this preset value, then reduce the frequency of operation of the central processing unit of this portable computer.
13. charging method as claimed in claim 9 also comprises:
Indicate the state of the safety lock of this battery according to this security bit of locking.
14. the described charging method of claim 13, wherein said indication step is via the state of this safety lock of display indication.
15. the described charging method of claim 13, wherein said indication step is via the state of this safety lock of light emitting diode indication.
16. the described charging method of claim 13, wherein said indication step is via the state of this safety lock of buzzer indication.
CN2009101378863A 2009-05-06 2009-05-06 Portable computer and charging method thereof Active CN101881988B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009101378863A CN101881988B (en) 2009-05-06 2009-05-06 Portable computer and charging method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009101378863A CN101881988B (en) 2009-05-06 2009-05-06 Portable computer and charging method thereof

Publications (2)

Publication Number Publication Date
CN101881988A CN101881988A (en) 2010-11-10
CN101881988B true CN101881988B (en) 2012-05-09

Family

ID=43054019

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009101378863A Active CN101881988B (en) 2009-05-06 2009-05-06 Portable computer and charging method thereof

Country Status (1)

Country Link
CN (1) CN101881988B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI498718B (en) * 2013-11-26 2015-09-01 Quanta Comp Inc Computer device
CN109582117A (en) * 2018-10-30 2019-04-05 山东超越数控电子股份有限公司 A kind of computer power-off protection method, system and equipment
CN110308322B (en) * 2019-06-29 2021-07-23 杭州涂鸦信息技术有限公司 Method for calculating electric quantity of power adapter

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794001A (en) * 2004-12-23 2006-06-28 戴尔产品有限公司 Method for verifying smart battery failures by measuring input charging voltage and associated systems
CN101017984A (en) * 2006-02-07 2007-08-15 联想(新加坡)私人有限公司 Battery charging system and method
CN101349938A (en) * 2008-08-15 2009-01-21 深圳市神舟电脑股份有限公司 System for isolating notebook computer battery and mainboard power supply

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794001A (en) * 2004-12-23 2006-06-28 戴尔产品有限公司 Method for verifying smart battery failures by measuring input charging voltage and associated systems
CN101017984A (en) * 2006-02-07 2007-08-15 联想(新加坡)私人有限公司 Battery charging system and method
CN101349938A (en) * 2008-08-15 2009-01-21 深圳市神舟电脑股份有限公司 System for isolating notebook computer battery and mainboard power supply

Also Published As

Publication number Publication date
CN101881988A (en) 2010-11-10

Similar Documents

Publication Publication Date Title
US20040148060A1 (en) Method and device for power management and control of power supply system
CN102388520B (en) Peripheral device host charging
TWI490688B (en) Power consumption reduction method for a stored battery
DK1595324T3 (en) Circuits and operating procedures for an electric power supply
CN101714020B (en) Power management for processing unit
EP3330836B1 (en) Automated peripheral power management
CN104782020A (en) Method and apparatus to extend battery life
CN103970248B (en) power management circuit and method and computer system
CN103107569A (en) Method and apparatus for performing system power management
EP2619843B1 (en) Providing power to a component
CN102033590A (en) Method, device and data processing equipment for supplying power to communication interface
CN102882267A (en) Power supply device, electronic equipment and power supply method
CN110196628A (en) It is a kind of for extend tablet computer shutdown after service time of battery method and system
CN101881988B (en) Portable computer and charging method thereof
CN103576821A (en) Electronic apparatus and drive control method thereof
CN114709871A (en) Energy storage system with grid-connected and off-grid switching function
CN107104478A (en) A kind of information processing method and electronic equipment
CN103124097A (en) Intelligent lithium ion charger
JP4437526B2 (en) Information processing apparatus and battery device
US8667610B2 (en) Portable computer and charging method thereof
CN110221679A (en) The method that ruggedized equipment and realization ruggedized equipment work at low temperature
CN103164014A (en) Power supply method, system and electronic terminal
US9236766B2 (en) Control of a power adapter with energy storage elements based on output voltage thresholds
CN104679133B (en) Computer device
CN103986200A (en) Device and method for optimizing use of an NVDC charger

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant