CN105912956B - A kind of control circuit and shutdown control method - Google Patents
A kind of control circuit and shutdown control method Download PDFInfo
- Publication number
- CN105912956B CN105912956B CN201610206132.9A CN201610206132A CN105912956B CN 105912956 B CN105912956 B CN 105912956B CN 201610206132 A CN201610206132 A CN 201610206132A CN 105912956 B CN105912956 B CN 105912956B
- Authority
- CN
- China
- Prior art keywords
- power supply
- circuits
- acdet
- battery charger
- signals
- 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.)
- Expired - Fee Related
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/70—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
- G06F21/81—Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer by operating on the power supply, e.g. enabling or disabling power-on, sleep or resume operations
Landscapes
- Engineering & Computer Science (AREA)
- Computer Hardware Design (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Charge And Discharge Circuits For Batteries Or The Like (AREA)
Abstract
A kind of control circuit of present invention offer and shutdown control method.The control circuit includes:EC circuits are connected by ACDET signaling interfaces with power supply, and EC circuits are connected by SMbus buses with battery charger, and the charging to battery charger is realized by SMbus buses;Power supply, battery charger and EC circuits are each individually connected to power supply selecting module;EC circuits, the level state for detecting ACDET signals by ACDET signaling interfaces, if detecting that the ACDET signals are high level, the EC circuits trigger the power supply selecting module and the power supply are selected to be powered;If detecting that the ACDET signals become low level from high level, EC circuits trigger the power supply selecting module and the battery charger are selected to be powered, and send out shutdown shutdown signals, and equipment where triggering carries out shutdown processing.This programme can be when directly closing power supply so that equipment being capable of normal shutdown.
Description
Technical field
The present invention relates to computer technology, more particularly to a kind of control circuit and shutdown control method.
Background technology
For the computer equipments such as frame type computer, server under the form using cabinet, all devices power supply has friendship
Flow power supply power supply.User of service in practical operation machine, be typically chosen directly be turned on and off ac power switch rather than
The switch of equipment, to control the switching on and shutting down of entire computer system.
But computer equipment is because user of service directly closes AC power, rather than be normally carried out equipment shutdown, then can
Lead to equipment power-off illegally, illegal shutdown protection occurs, can not normally start again, seriously affect the use of client.
Invention content
A kind of control circuit of present invention offer and shutdown control method, can be when directly closing power supply so that equipment energy
Enough normal shutdowns.
A kind of control circuit, including:
Power supply, battery charger, power supply selecting module and embedded controller EC circuits, wherein
The EC circuits are connected by ACDET signaling interfaces with the power supply, also, the EC circuits are total by SMbus
Line is connected with the battery charger, and the charging to the battery charger is realized by SMbus buses;
The power supply, the battery charger and the EC circuits are each individually connected to the power supply selecting module;
The EC circuits, the level state for detecting ACDET signals by ACDET signaling interfaces,
If detecting that the ACDET signals are high level, the EC circuits trigger the power supply selecting module selection
The power supply is powered;
If detecting that the ACDET signals become low level from high level, the EC circuits triggering is described for electric separation
Selecting module selects the battery charger to be powered, and sends out shutdown shutdown signals, and equipment where triggering is closed
Machine processing.
The battery charger includes:Battery pack and charging circuit, wherein
The charging circuit is separately connected the battery pack and the power supply;
The battery pack, under the control of the EC circuits, institute to be utilized by the charging circuit by SMbus buses
Power supply is stated to charge for the battery pack.
The battery pack includes:
Battery capacity is at least 3 series lithium batteries of 300mAh;
Battery capacity is at least the single lithium battery of 900mAh.
The battery charger passes sequentially through booster circuit and voltage conversion circuit is connected to the power supply selecting module;
The booster circuit, the voltage for exporting the battery charger boost, then will be after boosting
Voltage output is to the voltage conversion circuit;
The voltage conversion circuit is exported for the voltage received to be converted out at least one target voltage;
The power supply selecting module, for selecting one from least one target voltage that the voltage conversion circuit exports
It is a to be powered.
May include multiple power supply selecting modules;
The voltage conversion circuit is respectively connected with multiple power supply selecting modules, and is converting out multiple target voltages
When, different target voltages is output to different power supply selecting modules respectively;
Each selecting module of powering, the target voltage needed for output equipment.
The voltage of the booster circuit output is 15V;
The target voltage of the voltage conversion circuit, output includes 12V, 3.3V and 5V.
The battery charger, the power supply selecting module and the EC circuits are laid on backboard.
A kind of shutdown control method, based on any of the above-described control circuit realization, including:
The level state of ACDET signals is detected by ACDET signaling interfaces using EC circuits;
If detecting that the ACDET signals are high level, the EC circuits trigger the power supply selecting module selection
The power supply is powered;
If detecting that the ACDET signals become low level from high level, the EC circuits triggering is described for electric separation
Selecting module selects the battery charger to be powered, and sends out shutdown shutdown signals, and equipment where triggering is closed
Machine processing.
Control circuit provided in an embodiment of the present invention and shutdown control method can utilize ACDET signals, SMbus buses
And shutdown signals, to realize that equipment can carry out just when there is illegal shutdown trigger action i.e. directly closing power supply
Normal shutdown processing, to which in the follow-up process, equipment can normally start.Specifically, it is charged to battery by SMbus buses electric
Road carries out charge control, ensures there is electricity in battery charger, using the level state of ACDET signals to determine whether occurring
Directly close the operation of power supply, if the level state of ACDET signals from high level to low level, illustrate to have occurred it is direct
The operation for closing power supply is needed to carry out the subsequent processing for enabling a device to normal shutdown and subsequently normally starting, that is, is utilized
Battery charger is powered, and sends out shutdown shutdown signals, and equipment is carried out according to shutdown signals where triggering
Normal shutdown processing.
Description of the drawings
Hereafter by a manner of clearly understandable by description of a preferred embodiment and in conjunction with attached drawing come above-mentioned to the present invention
Characteristic, technical characteristic, advantage and its realization method are further described, wherein:
Fig. 1 is the structural schematic diagram of control circuit in one embodiment of the invention.
Fig. 2 is the structural schematic diagram of control circuit in another embodiment of the present invention.
Fig. 3 is the flow chart of shutdown control method in one embodiment of the invention.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes.Obviously, described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
One embodiment of the invention proposes a kind of control circuit, referring to Fig. 1, including:
Power supply 101, battery charger 102, power supply selecting module 103 and embedded controller (EC) circuit 104,
In,
The EC circuits 104 are connected by ACDET signaling interfaces with the power supply 101, also, the EC circuits 104 are logical
It crosses SMbus buses with the battery charger 102 to be connected, be realized to the battery charger 102 by SMbus buses
Charging;
The power supply 101, the battery charger 102 and the EC circuits 104 are each individually connected to described for electric separation
Select module 103;
The EC circuits 104, the level state for detecting ACDET signals by ACDET signaling interfaces,
If detecting that the ACDET signals are high level, the EC circuits 104 trigger the power supply selecting module
103 select the power supply 101 to be powered;
If detecting that the ACDET signals become low level from high level, the EC circuits 104 trigger the power supply
Selecting module 103 selects the battery charger 102 to be powered, and sends out shutdown shutdown signals, is set where triggering
It is standby to carry out shutdown processing.
Control circuit shown in FIG. 1 provided in an embodiment of the present invention can utilize ACDET signals, SMbus buses and
Shutdown signals, to realize that equipment can be closed normally when there is illegal shutdown trigger action i.e. directly closing power supply
Machine processing, to which in the follow-up process, equipment can normally start.Specifically, by SMbus buses to battery charger into
Row charge control ensures there is electricity in battery charger, using the level state of ACDET signals to determine whether having occurred straight
The operation for closing power supply is connect, if the level state of ACDET signals from high level to low level, illustrates that direct closing has occurred
The operation of power supply needs to carry out the subsequent processing for enabling a device to normal shutdown and subsequently normally starting, that is, utilizes battery
Charging circuit is powered, and sends out shutdown shutdown signals, and equipment is carried out according to shutdown signals just where triggering
Normal shutdown processing.
In an embodiment of the invention, referring to Fig. 2, the battery charger 102 includes:Battery pack 201 and charging
Circuit 202 is charged by power supply for battery pack to realize so that sufficient electricity is kept in battery charger, specifically,
The charging circuit 202 is separately connected the battery pack 201 and the power supply 101;
The battery pack 201, for passing through SMbus buses under the control of the EC circuits 104, by the charging circuit
202 are charged using the power supply 101 for the battery pack 201.
In an embodiment of the invention, System Management Bus (SMBus) can be two line interfaces.It is electric by it
It is communicated between pond charging circuit and EC circuits.
In an embodiment of the invention, the battery pack 201 in battery charger 102 may include:
Battery capacity is at least 3 series lithium batteries of 300mAh;Or
Battery capacity is at least the single lithium battery of 900mAh.
In an embodiment of the invention, it may include multiple power supply selecting modules 103 in control circuit, go forward side by side one
Step includes booster circuit and voltage conversion circuit;
The battery charger 102 passes sequentially through booster circuit and voltage conversion circuit be connected to it is multiple described for electric separation
Select module 103;
Correspondingly, the voltage conversion circuit 204 is respectively connected with multiple power supply selecting modules 103, and is being converted
When going out multiple target voltages, different target voltages is output to different power supply selecting modules 103 respectively;
Each selecting module 103 of powering, the target voltage needed for output equipment.
For example, referring to Fig. 2, the battery charger 102 passes sequentially through booster circuit 203 and voltage conversion circuit 204
Three power supply selecting modules 103 are connected to, to realize the voltage provided by battery charger 102 needed for three kinds.In this hair
In bright other embodiment, such as, it is desirable to provide several voltages can then be provided with several power supply selecting modules, be shown in Fig. 2
3 power supply selecting modules,
The booster circuit 203, for by such as battery pack 201 exports in the battery charger 102 voltage into
Row boosting, then by the voltage output after boosting to the voltage conversion circuit 204;
The voltage conversion circuit 204 is connected respectively to 3 power supply selecting modules 103, for turning the voltage received
Swap out 3 kinds of target voltages, corresponding respectively to be output to 3 power supply selecting modules 103;
Each described power supply selecting module 103, for using the voltage conversion circuit 204 output target voltage into
Row power supply.
Referring to Fig. 2, in one embodiment of the invention, the voltage that the booster circuit 203 exports is 15V;
The target voltage of the voltage conversion circuit 204, output includes 12V, 3.3V and 5V.
Be only an embodiment of the present invention shown in above-mentioned Fig. 2, in actual business realizing, control circuit can there are many
The structure of deformation.Such as when the battery charger 102 includes battery pack 201 and charging circuit 202, in control circuit not
Including booster circuit 203 and voltage conversion circuit 204, alternatively, control circuit includes other function modules etc..
In one embodiment of the invention, the battery charger, the power supply selecting module and EC electricity
Road is laid on backboard, so that the more compact structure of control circuit, increases practicability.
One embodiment of the invention also proposed a kind of shutdown control method, be based on any one above-mentioned embodiment of the present invention
The control circuit of proposition is realized, referring to Fig. 3, including:
301:The level state of ACDET signals is detected by ACDET signaling interfaces using EC circuits.
302:If detecting that the ACDET signals are high level, the EC circuits trigger the power supply selecting module
The power supply is selected to be powered.
Here, if detecting that the ACDET signals are high level, illustrate that power supply normally accesses, power supply can be utilized
It is powered.
303:If detecting that the ACDET signals become low level from high level, the EC circuits trigger the confession
Electric selecting module selects the battery charger to be powered.
Here, if detecting that the ACDET signals become low level from high level, illustrate that user of service directly closes
AC power, power cut-off need to carry out subsequent to be powered by battery charger and touched using shutdown signals
Send out normal shutdown processing.
304:EC circuits send out shutdown shutdown signals, and equipment where triggering carries out shutdown processing.
In at least one embodiment of the present invention, power supply can provide alternating current 220V or direct current 24V.
In one embodiment of the invention, it is assumed that equipment power dissipation 50W maintains equipment shutdown to need 3 minutes, and shutdown needs
Want 2.5Wh.If battery charger uses 3 series lithium batteries, battery capacity will at least reach 300mAh, if using single lithium
Battery, then capacity to reach 900mAh, single battery can select the battery of 3500mAh as stand-by power supply at present.Because of single-unit
Lithium battery output is 3~4.2V, needs to first pass through booster circuit and is converted to 15V, then passes through voltage conversion circuit, output again
The voltages such as 12V, 3.3V and 5V meet the power requirement of mainboard.
The each embodiment of the present invention at least has following advantageous effect:
1, in the embodiment of the present invention, ACDET signals, SMbus buses and shutdown signals can be utilized, to realize
It is when directly closing power supply illegal shutdown trigger action occur, and equipment can carry out normal shutdown processing, in subsequent process
In, equipment can normally start.Specifically, using the level state of ACDET signals electricity is directly closed to determine whether having occurred
The operation in source, if the level state of ACDET signals from high level to low level, illustrates to have occurred the behaviour for directly closing power supply
Make, needs to carry out the subsequent processing for enabling a device to normal shutdown and subsequently normally starting, that is, utilize battery charger
It is powered, and sends out shutdown shutdown signals, equipment carries out at the normal shutdown according to shutdown signals where triggering
Reason.
2, in the embodiment of the present invention, battery charger is connected by SMbus buses with EC circuits, so that EC circuits
Charge control can be carried out to battery charger, ensure there is electricity in battery charger, to be subsequently powered.
3, in the embodiment of the present invention, booster circuit and voltage conversion circuit can also be utilized to export battery charger
Voltage carries out boosting and voltage conversion process meets different power demands to obtain at least one required target voltage.
4, in the embodiment of the present invention, the battery charger, the power supply selecting module and the EC circuits are uniformly distributed
It is located on backboard, so that the more compact structure of control circuit, increases practicability.
It should be noted that herein, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, method, article or equipment including a series of elements includes not only those elements, and
And further include other elements that are not explicitly listed, or further include for this process, method, article or equipment institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence " including one ", it is not excluded that
There is also other identical factors in the process, method, article or apparatus that includes the element.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all essences in the present invention
With within principle, any modification, equivalent substitution, improvement and etc. done should be included within the scope of protection of the invention god.
Claims (8)
1. a kind of control circuit, which is characterized in that including:
Power supply, battery charger, power supply selecting module and embedded controller EC circuits, wherein
The EC circuits are connected by ACDET signaling interfaces with the power supply, also, the EC circuits by SMbus buses with
The battery charger is connected, and the charging to the battery charger is realized by SMbus buses;
The power supply, the battery charger and the EC circuits are each individually connected to the power supply selecting module;
The EC circuits, the level state for detecting ACDET signals by ACDET signaling interfaces,
If detecting that the ACDET signals are high level, the EC circuits trigger described in the power supply selecting module selection
Power supply is powered;
If detecting that the ACDET signals become low level from high level, the EC circuits trigger the power supply and select mould
Block selects the battery charger to be powered other equipment, and sends out shutdown shutdown signals, equipment where triggering
Carry out shutdown processing.
2. control circuit according to claim 1, which is characterized in that the battery charger includes:It battery pack and fills
Circuit, wherein
The charging circuit is separately connected the battery pack and the power supply;
The battery pack, under the control of the EC circuits, the electricity to be utilized by the charging circuit by SMbus buses
It charges for the battery pack in source.
3. control circuit according to claim 2, which is characterized in that the battery pack includes:
Battery capacity is at least 3 series lithium batteries of 300mAh or battery capacity is at least the single lithium battery of 900mAh.
4. control circuit according to claim 1, which is characterized in that the battery charger passes sequentially through booster circuit
It is connected to the power supply selecting module with voltage conversion circuit;
The booster circuit, the voltage for exporting the battery charger boost, then by the voltage after boosting
It is output to the voltage conversion circuit;
The voltage conversion circuit is exported for the voltage received to be converted out at least one target voltage;
The power supply selecting module, for from least one target voltage that the voltage conversion circuit export selection one into
Row power supply.
5. control circuit according to claim 4, which is characterized in that including multiple power supply selecting modules;
The voltage conversion circuit is respectively connected with multiple power supply selecting modules, and when converting out multiple target voltages,
Different target voltages is output to different power supply selecting modules respectively;
Each selecting module of powering, the target voltage needed for output equipment.
6. control circuit according to claim 4, which is characterized in that the voltage of the booster circuit output is 15V;
The target voltage of the voltage conversion circuit, output includes 12V, 3.3V and 5V.
7. according to any control circuit in claim 1 to 6, which is characterized in that
The battery charger, the power supply selecting module and the EC circuits are laid on backboard.
8. a kind of shutdown control method, which is characterized in that realized based on any control circuit in claim 1 to 7, packet
It includes:
The level state of ACDET signals is detected by ACDET signaling interfaces using EC circuits;
If detecting that the ACDET signals are high level, the EC circuits trigger described in the power supply selecting module selection
Power supply is powered;
If detecting that the ACDET signals become low level from high level, the EC circuits trigger the power supply and select mould
Block selects the battery charger to be powered other equipment, and sends out shutdown shutdown signals, equipment where triggering
Carry out shutdown processing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206132.9A CN105912956B (en) | 2016-04-05 | 2016-04-05 | A kind of control circuit and shutdown control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610206132.9A CN105912956B (en) | 2016-04-05 | 2016-04-05 | A kind of control circuit and shutdown control method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105912956A CN105912956A (en) | 2016-08-31 |
CN105912956B true CN105912956B (en) | 2018-09-04 |
Family
ID=56745305
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610206132.9A Expired - Fee Related CN105912956B (en) | 2016-04-05 | 2016-04-05 | A kind of control circuit and shutdown control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105912956B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111399617B (en) * | 2020-03-06 | 2022-01-14 | 西安闻泰信息技术有限公司 | Power supply control device and electronic apparatus |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2563811Y (en) * | 2002-07-24 | 2003-07-30 | 冉茂鑫 | Self coupling mutual induction non-interruption switch power |
CN1471212A (en) * | 2002-07-24 | 2004-01-28 | 冉茂鑫 | Autoconnected mutual-inductive uninterrupted voltage conversion method and uninterruption switch power source thereof |
CN200959109Y (en) * | 2006-07-28 | 2007-10-10 | 李全忠 | Intelligent data protector of computer |
CN201616101U (en) * | 2010-04-07 | 2010-10-27 | 付善存 | Wireless dongle circuit for computer power supply |
CN202210231U (en) * | 2011-08-15 | 2012-05-02 | 南京国臣信息自动化技术有限公司 | Direct current power supply monitoring system |
CN203276287U (en) * | 2013-06-17 | 2013-11-06 | 黑龙江工程学院 | Timing switch device of computer |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
FR2844896A1 (en) * | 2002-09-19 | 2004-03-26 | St Microelectronics Sa | Power supply method for an asynchronous calculation or processing element, e.g. for use in authorization circuits, to prevent attacks based on power analysis, whereby the power supply to the calculation element is randomly varied |
-
2016
- 2016-04-05 CN CN201610206132.9A patent/CN105912956B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2563811Y (en) * | 2002-07-24 | 2003-07-30 | 冉茂鑫 | Self coupling mutual induction non-interruption switch power |
CN1471212A (en) * | 2002-07-24 | 2004-01-28 | 冉茂鑫 | Autoconnected mutual-inductive uninterrupted voltage conversion method and uninterruption switch power source thereof |
CN200959109Y (en) * | 2006-07-28 | 2007-10-10 | 李全忠 | Intelligent data protector of computer |
CN201616101U (en) * | 2010-04-07 | 2010-10-27 | 付善存 | Wireless dongle circuit for computer power supply |
CN202210231U (en) * | 2011-08-15 | 2012-05-02 | 南京国臣信息自动化技术有限公司 | Direct current power supply monitoring system |
CN203276287U (en) * | 2013-06-17 | 2013-11-06 | 黑龙江工程学院 | Timing switch device of computer |
Also Published As
Publication number | Publication date |
---|---|
CN105912956A (en) | 2016-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101728859B (en) | Mobile terminals and system and method for sharing batteries between same | |
WO2018064861A1 (en) | Dual-connector electric car direct current charging pile | |
CN106774771B (en) | Power supply system and power supply control method thereof | |
CN102761149B (en) | Battery balancing circuit and method and battery module activation method | |
CN102222949A (en) | Device and method for managing batteries | |
CN102222956A (en) | Intelligent device and method for regulating charging current based on system status | |
CN101997335A (en) | Power supply control system and control method | |
TW201044745A (en) | Power control circuit and battery module comprising the same | |
CN108123509A (en) | A kind of charge control method and its relevant apparatus | |
CN103403643B (en) | Management of charging and discharging device and mobile terminal | |
CN202352507U (en) | High voltage-side power supply device for electronic current transformer | |
CN105514526A (en) | heating control system and method of battery module | |
CN104518246B (en) | A kind of electrokinetic cell system collection plate and its control method | |
CN106208347A (en) | A kind of electric supply installation, electric power system and method | |
CN113708459A (en) | Charging circuit and electronic device | |
CN105912956B (en) | A kind of control circuit and shutdown control method | |
CN104617592B (en) | The control method and device of energy-storage system | |
CN113346584A (en) | Intelligent battery charging and replacing system and method supporting battery charging and replacing after power failure and storage medium | |
KR20160128706A (en) | Apparatus for controlling hybrid energy storage system and method thereof | |
CN104753132A (en) | Power supply system and charging and discharging method thereof | |
CN107203167A (en) | Power module | |
CN102820697A (en) | DSP (digital signal processor) based control system of uninterrupted power supply | |
CN111049229A (en) | Electronic equipment, charging control method and device and power management chip | |
CN207743753U (en) | A kind of self-starting device of lithium ion battery applications Large UPS power supply | |
CN102737212A (en) | Handheld checker of second-generation identity card and checking method of handheld checker |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180904 Termination date: 20200405 |
|
CF01 | Termination of patent right due to non-payment of annual fee |