CN103136066B - The treating apparatus of voltage error and method - Google Patents

The treating apparatus of voltage error and method Download PDF

Info

Publication number
CN103136066B
CN103136066B CN201110400896.9A CN201110400896A CN103136066B CN 103136066 B CN103136066 B CN 103136066B CN 201110400896 A CN201110400896 A CN 201110400896A CN 103136066 B CN103136066 B CN 103136066B
Authority
CN
China
Prior art keywords
computer system
voltage error
voltage
error signal
judge
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
Application number
CN201110400896.9A
Other languages
Chinese (zh)
Other versions
CN103136066A (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.)
State Grid Corp of China SGCC
Anyang Power Supply Co of State Grid Henan Electric Power Co Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN201110400896.9A priority Critical patent/CN103136066B/en
Publication of CN103136066A publication Critical patent/CN103136066A/en
Application granted granted Critical
Publication of CN103136066B publication Critical patent/CN103136066B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

The treating apparatus of voltage error and a method, be suitable for a computer system.This disposal route comprises and obtains a voltage error signal.According to voltage error signal, utilize the mode that tables look-up, obtain an operating state of computer system corresponding to voltage error signal, and produce a control signal according to this.According to control signal, computer system is restarted.

Description

The treating apparatus of voltage error and method
Technical field
The present invention relates to a kind for the treatment of apparatus and method of voltage error, particularly a kind for the treatment of apparatus of voltage error of computer system and method.
Background technology
In general, computer system can be configured with a power supply unit, to provide the operating voltage needed for itself, normally to operate.Further, voltage supply is divided into pre-stand-by power source (AUXPower) and main power source (MAIN Power) by power supply unit usually, to be in the different running stages in response to computer system.Pre-stand-by power source is in the standby power (Standby Power) that standby mode uses, the primary, voltage source of main power source needed for reality during computer system operation for computer system.By separating of two kinds of voltages, can make computer system when standby mode, avoid meaningless power consumption and cause the waste of empty wasted work rate.
But, there will be the situation of voltage error unavoidably in the operation of computer system or holding state, existing computer system by detecting voltage status, to provide the treatment mechanism of a correspondence when voltage error occurs.The treatment mechanism of common voltage error is when computer system detects voltage error, direct computer for controlling system closedown.The computer system of part then adopts the treatment mechanism restarted.
But the treatment mechanism of aforesaid voltage error, there is no the operating state to the computer system corresponding to the generation of current voltage mistake, and produces the error handle mode of a correspondence.That is which no matter computer system operate the stage at, as long as when voltage error produces, without exception kind of startup or shutdown are carried out to computer system.Therefore, the processing mode of voltage error is still to be improved.
Summary of the invention
In view of above problem, the object of the present invention is to provide a kind for the treatment of apparatus and method of voltage error, use process elasticity when booster tension mistake occurs.
The disposal route of a kind of voltage error of the present invention, is suitable for a computer system, and this disposal route comprises the following steps.Obtain a voltage error signal.According to voltage error signal, utilize the mode that tables look-up, obtain an operating state of computer system corresponding to voltage error signal, and produce a control signal according to this.According to control signal, computer system is restarted.
In one embodiment, aforementioned processing methods also comprises the following steps.Judge whether computer system restarts successful.It is unsuccessful if judge, computer system restarts, and judges that whether a number that computer system restarts is more than a preset times.If judge, number of times exceedes preset times, then computer system shut down.Whether successfully if judge, number of times does not exceed preset times, then get back to and judge computer system step.
In one embodiment, aforementioned processing methods also comprises the following steps.Detect and whether have voltage error signal.If voltage error signal do not detected, then get back to the step whether detection has voltage error signal, to continue to detect.If voltage error signal detected, then enter the step obtaining voltage error signal.
In one embodiment, aforementioned operating state comprises computer system and is in idle state (idle state refers to: system to be in off-mode and continuous wait period of being triggered of starting-up signal again.Now only to prepare Power supply, this pre-stand-by power source still will need the pick-up unit or the chip that maintain running when providing electric power to give system closedown) before or after, power supply unit state, voltage type and computer system be in stage start-up time or stage working time.
In one embodiment, aforementioned control signals comprises the time delay restarted and the number of times of computer system.
The present invention also provides a kind for the treatment of apparatus of voltage error, is suitable for a computer system.Treating apparatus comprises detecting unit, comparing unit and control module.Whether detecting unit makes a mistake in order to a voltage of detection computations machine system, to produce a voltage error signal.Comparing unit couples detecting unit, receiver voltage rub-out signal, the mode of tabling look-up with, obtains an operating state of this computer system corresponding to voltage error signal, and produces a control signal according to this.Control module couples comparing unit, receives and according to control signal, controls this computer system and restart.
In one embodiment, aforementioned control unit also judges whether computer system restarts successful, it is unsuccessful if judge, computer system restarts, control module judges that whether a number that computer system restarts is more than a preset times, if judge, number of times exceedes preset times, then control module computer for controlling system closedown, if judge, number of times does not exceed preset times, control module can judge whether computer system restarts successful, until computer system restarts successfully or computer system shut down again.
In one embodiment, aforementioned operating state comprise computer system be in idle state before or after, power supply unit state, voltage type and computer system be in stage start-up time or stage working time.
In one embodiment, aforementioned control signals comprises the time delay restarted and the number of times of computer system.
The treating apparatus of a kind of voltage error of the present invention and method, during by obtaining voltage error signal, obtain the operating state of the computer system of corresponding voltage rub-out signal in the mode of tabling look-up, and generation control signal and then computer for controlling system restart according to this.Thus, can effectively booster tension mistake occur time process elasticity.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Accompanying drawing explanation
Fig. 1 is the block scheme of the treating apparatus of voltage error of the present invention;
Fig. 2 is computer system of the present invention stage start-up time before idle state and afterwards and the pre-stand-by power source in stage working time and the corresponding relation figure of main power source;
Fig. 3 is the process flow figure of voltage error of the present invention;
Fig. 4 is the process flow figure of another voltage error of the present invention.
Wherein, Reference numeral
The treating apparatus of 100 voltage error
110 detecting units
120 comparing units
130 control modules
Embodiment
Below in conjunction with accompanying drawing, structural principle of the present invention and principle of work are described in detail:
Please refer to shown in Fig. 1, it is the block scheme of the treating apparatus of voltage error of the present invention.The treating apparatus 100 of the voltage error of the present embodiment is suitable for a computer system.The treating apparatus 100 of voltage error comprises detecting unit 110, comparing unit 120 and control module 130.
Whether detecting unit 110 produces mistake in order to the voltage of detection computations machine system, and produces voltage error signal according to this.Comparing unit 120 couples detecting unit 110, and in order to receiver voltage rub-out signal, the mode of tabling look-up with, obtains the operating state of computer system corresponding to voltage error signal, and produce control signal according to this.In the present embodiment, the operating state of computer system comprise computer system be in idle mode before or after, power supply unit state, voltage kenel and computer system be in stage start-up time or stage working time.
Control module 130 couples comparing unit 120, and in order to receive and foundation control signal, computer for controlling system restarts.Wherein, control signal comprises the time delay and number of times that computer system restarts.That is, it is which operating state occurring in computer system that control module 130 can go out voltage error according to comparing unit 120 comparisons, and the time delay that corresponding computer for controlling system reboot moves and number of times.Thus, the operating state of computer system when the present embodiment can occur according to voltage error, and provide corresponding controlling mechanism to carry out computer for controlling to restart, and then the process elasticity when voltage error promoting computer system occurs.
The impact caused for computer system due to various voltage is different, and the resistivity that voltage made a mistake in each stage of computer system also difference to some extent.Therefore, treatment mechanism when voltage makes a mistake, should have different delay on time settings for different mistake.
In order to more know the operation of the treating apparatus 100 of the voltage error of the present embodiment, below act one example is illustrated.
Please refer to shown in Fig. 2, it is computer system of the present invention stage start-up time before idle state and afterwards and the pre-stand-by power source in stage working time and the corresponding relation figure of main power source.As seen from Figure 2, in the left side of idle state be computer system before idle state, that is computer system has just been connected with the mains supply, and now power supply unit only supplies pre-stand-by power source.Be that computer system is after idle state on the right side of idle state, that is computer system leaves idle mode, the unloading phase of entering and the actual motion stage, and power supply unit provides pre-stand-by power source and main power source respectively in stage start-up time and stage working time.
Suppose the operating state of computer system comprise computer system be in idle (Idle) state before or after, power supply unit (Power Supply Unit, PSU) state, voltage kenel (such as voltage is pre-stand-by power source or main power source) and computer system be in startup (Start up) time phase or (Run Time) stage working time.
For example, computer system represents with " 0 " after being in idle (Idle) state, and computer system represents with " 1 " before being in idle state; Power supply unit mistake (PSU Fault) represents with " 0 ", and power supply unit good (PSU GOOD) represents with " 1 "; Voltage kenel is that pre-stand-by power source (AUXPower) represents with " 0 ", and voltage kenel is that main power source (Main Power) represents with " 1 "; Start mistake (Start up Fault) to represent with " 0 ", mistake working time (Run time Fault) represents with " 1 ".
After idle state 0
Before idle state 1
Power supply unit mistake 0
Power supply unit is good 1
Pre-stand-by power source 0
Main power source 1
Start-up time phase error 0
Working time phase error 1
After table 1 is idle state, before idle state, good, the pre-stand-by power source of power supply unit mistake, power supply unit, main power source, startup mistake, working time mistake mapping table.
Table 2 is idle state, power supply unit state, voltage kenel, error phase, voltage error result, restart time delay and restart the mapping table of number of retries.
In table 2, " 0000 " represents computer system stage start-up time after idle state, and the pre-stand-by power source of power supply unit makes a mistake, then T1 represents time delay that computer system restarts, C1 represents the number of times that computer system restarts." 0001 " represents computer system stage working time after idle state, and the pre-stand-by power source of power supply unit makes a mistake, then T2 represents time delay that computer system restarts, C2 represents the number of times that computer system restarts." 0010 " represents computer system stage start-up time after idle state, and the main power source of power supply unit makes a mistake, then T3 represents time delay that computer system restarts, C3 represents the number of times that computer system restarts.
" 0011 " represents computer system stage working time after idle state, and the main power source of power supply unit makes a mistake, then T4 represents time delay that computer system restarts, C4 represents the number of times that computer system restarts." 0100 " represents the start-up time stage of computer system after idle state, voltage modulation module supply or be supplied to the pre-stand-by power source of assembly to make a mistake, then T5 represents time delay that computer system restarts, C5 represents the number of times that computer system restarts." 0101 " represents the working time stage of computer system after idle state, voltage modulation module supply or be supplied to the pre-stand-by power source of assembly to make a mistake, then T6 represents time delay that computer system restarts, C6 represents the number of times that computer system restarts.
" 0110 " represents the start-up time stage of computer system after idle state, voltage modulation module supply or be supplied to the main power source of assembly to make a mistake, then T7 represents time delay that computer system restarts, C7 represents the number of times that computer system restarts." 0111 " represents the working time stage of computer system after idle state, voltage modulation module supply or be supplied to the main power source of assembly to make a mistake, then T8 represents time delay that computer system restarts, C8 represents the number of times that computer system restarts." 1000 " represent computer system stage start-up time before idle state, and the pre-stand-by power source of power supply unit makes a mistake, then T9 represents time delay that computer system restarts, C9 represents the number of times that computer system restarts.
" 1100 " represent computer system stage start-up time before idle state, and the pre-stand-by power source that voltage modulation module is supplied makes a mistake, then T10 represents time delay that computer system restarts, T10 represents the number of times that computer system restarts." 1111 " represent power supply, and all are normal.And above-mentioned table 2 can be preset by user and be stored in a memory body of comparing unit 120, make when voltage error produces, can effective ratio to the operating state going out current computer systems, and the corresponding control signal that produces, to carry out suitable treatment mechanism.
First, when detecting unit 110 detects that the voltage of computer system produces mistake, then corresponding generation voltage error signal, such as " 0101 ".Then, comparing unit 120 can according to voltage error signal " 0101 ", the operating state of the computer system corresponding to voltage error signal is found in table 2, namely the stage after computer system is in idle mode and operationally, voltage modulation module supply or be supplied to the pre-stand-by power source of assembly to produce mistake.Now, comparing unit 120 according to aforementioned fortune state, and can provide corresponding control signal, the T6 and number of times C6 time delay that such as computer system restarts.Afterwards, control module 130 can restart computer system according to control signal (T6 and number of times C6 time delay).
For example, if be supplied to the voltage of assembly to make a mistake, such as central processing unit (CentralProcessing Unit; CPU); in order to protect significant components, therefore the number of times that computer system restarts can only be arranged once, causes assembly to damage to avoid too much restarting.Further, in order to protect the data in assembly, therefore the time delay that computer system restarts can be long.But if provide the voltage modulation module of 6.5V to make a mistake, or provide the voltage modulation module of 3.3V to make a mistake, the ability that the device affected can resist voltage error is higher, therefore the number of times that computer system restarts can set twice or higher than twice.Thus, the treating apparatus 100 of the voltage error of the present embodiment effectively can increase the voltage error process elasticity of computer system.
By the explanation of previous embodiment, a kind of disposal route of voltage error can be summarized.Please refer to shown in Fig. 3, it is the process flow figure of voltage error of the present invention.The disposal route of the voltage error of the present embodiment is suitable for a computer system.In step S310, obtain voltage error signal.In step s 320, according to voltage error signal, utilize the mode of tabling look-up, obtain the operating state of computer system corresponding to voltage error signal, and produce control signal according to this.In step S330, according to control signal, computer system is restarted.
In the present embodiment, aforementioned operating state comprise computer system be in idle state before or after, power supply unit state, voltage type and computer system be in stage start-up time or stage working time.Aforementioned control signals comprises the time delay and number of times that computer system restarts.
Please refer to shown in Fig. 4, it is the process flow figure of another voltage error of the present invention.The disposal route of the voltage error of the present embodiment is suitable for a computer system.In step S410, detect whether there is voltage error signal.If voltage error signal do not detected, then continue to detect.If voltage error signal detected, then enter step S420, obtain voltage error signal.In step S430, according to voltage error signal, utilize the mode of tabling look-up, obtain the operating state of computer system corresponding to voltage error signal, and produce control signal according to this.In step S440, according to control signal, computer system is restarted.In step S450, judge whether computer system restarts successful.
If judge computer system starting success, then terminate the treatment scheme of this voltage error.On the other hand, if judge, computer system does not start successfully, then enter in step S460, judges whether the number of times that computer system restarts exceedes preset times.If judge, the number of times that computer system restarts exceedes preset times, then enter in step S470, computer system is shut down.In addition, if judge, the number of times that computer system restarts does not exceed preset times, then get back to step S440, again carries out computer system and restarts, and enter step S450, judges whether computer system restarts successful.Then, perform step S460 ~ S470, until computer system restarts successfully, or until computer system is shut down.
In the present embodiment, aforementioned operating state comprise computer system be in idle state before or after, power supply unit state, voltage type and computer system be in stage start-up time or stage working time.Aforementioned control signals comprises the time delay and number of times that computer system restarts.
The treating apparatus of the voltage error of embodiments of the invention and method, when it is by obtaining voltage error signal, obtain the operating state of the computer system of corresponding voltage rub-out signal in the mode of tabling look-up, and produce control signal (time delay that such as computer system restarts and number of times) according to this and then computer for controlling system restarts.Thus, the present invention according to the operating state of different computer systems, can provide the processing mode of different correspondences, and then process elasticity when booster tension mistake occurs.
Certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection domain that all should belong to the claim appended by the present invention.

Claims (7)

1. a disposal route for voltage error, is suitable for a computer system, it is characterized in that, this disposal route comprises:
Obtain a voltage error signal;
According to this voltage error signal, utilize the mode that tables look-up, obtain an operating state of this computer system corresponding to this voltage error signal, and produce a control signal according to this;
According to this control signal, this computer system is restarted;
Judge whether this computer system restarts successful;
It is unsuccessful if judge, this computer system restarts, and judges that whether a number that this computer system restarts is more than a preset times;
If judge, this number of times exceedes this preset times, then this computer system shut down; And
Whether successfully if judge, this number of times does not exceed this preset times, then get back to and judge this computer system step.
2. the disposal route of voltage error according to claim 1, is characterized in that, also comprises:
Detect and whether have this voltage error signal;
If this voltage error signal do not detected, then get back to the step whether detection has this voltage error signal; And
If this voltage error signal detected, then enter the step obtaining this voltage error signal.
3. the disposal route of voltage error according to claim 1, it is characterized in that, this operating state comprise this computer system be in idle state before or after, power supply unit state, voltage type and this computer system be in stage start-up time or stage working time.
4. the disposal route of voltage error according to claim 1, is characterized in that, this control signal comprises the time delay restarted and the number of times of this computer system.
5. a treating apparatus for voltage error, is suitable for a computer system, it is characterized in that, this treating apparatus comprises:
Whether one detecting unit, make a mistake in order to the voltage detecting this computer system, to produce a voltage error signal;
One comparing unit, couples this detecting unit, receives this voltage error signal, the mode of tabling look-up with, obtains an operating state of this computer system corresponding to this voltage error signal, and produces a control signal according to this; And
One control module, couple this comparing unit, receive and according to this control signal, control this computer system to restart, this control module also judges whether this computer system restarts successful, it is unsuccessful if judge, this computer system restarts, this control module judges that whether a number that computer system restarts is more than a preset times, if judge, this number of times exceedes this preset times, then this control module controls the shutdown of this computer system, if judge, this number of times does not exceed this preset times, this control module can judge whether this computer system restarts successful again, successfully maybe this computer system is shut down until this computer system restarts.
6. the treating apparatus of voltage error according to claim 5, it is characterized in that, this operating state comprise this computer system be in idle state before or after, power supply unit state, voltage type and this computer system be in stage start-up time or stage working time.
7. the treating apparatus of voltage error according to claim 5, is characterized in that, this control signal comprises the time delay restarted and the number of times of this computer system.
CN201110400896.9A 2011-11-25 2011-11-25 The treating apparatus of voltage error and method Expired - Fee Related CN103136066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110400896.9A CN103136066B (en) 2011-11-25 2011-11-25 The treating apparatus of voltage error and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110400896.9A CN103136066B (en) 2011-11-25 2011-11-25 The treating apparatus of voltage error and method

Publications (2)

Publication Number Publication Date
CN103136066A CN103136066A (en) 2013-06-05
CN103136066B true CN103136066B (en) 2015-09-23

Family

ID=48495920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110400896.9A Expired - Fee Related CN103136066B (en) 2011-11-25 2011-11-25 The treating apparatus of voltage error and method

Country Status (1)

Country Link
CN (1) CN103136066B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003140A (en) * 1996-01-19 1999-12-14 Robert Bosch Gmbh Method and device for monitoring an electronic computing unit
US6311290B1 (en) * 1997-02-14 2001-10-30 Intel Corporation Methods of reliably allocating, de-allocating, re-allocating, and reclaiming objects in a symmetrically blocked nonvolatile memory having a bifurcated storage architecture
CN1764859A (en) * 2003-03-24 2006-04-26 皇家飞利浦电子股份有限公司 Camera comprising means for retaining a lens at two different positions
CN102013824A (en) * 2010-09-21 2011-04-13 深圳市大族激光科技股份有限公司 Controller for inhibiting neutral point potential drift in three-level inverter

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6119248A (en) * 1998-01-26 2000-09-12 Dell Usa L.P. Operating system notification of correctable error in computer information
CN100458719C (en) * 2005-12-19 2009-02-04 英业达股份有限公司 Method and system obtaining and compliling basic input and output system information
CN101187891A (en) * 2006-11-22 2008-05-28 英业达股份有限公司 Detection device for detecting mainboard and its detection method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6003140A (en) * 1996-01-19 1999-12-14 Robert Bosch Gmbh Method and device for monitoring an electronic computing unit
US6311290B1 (en) * 1997-02-14 2001-10-30 Intel Corporation Methods of reliably allocating, de-allocating, re-allocating, and reclaiming objects in a symmetrically blocked nonvolatile memory having a bifurcated storage architecture
CN1764859A (en) * 2003-03-24 2006-04-26 皇家飞利浦电子股份有限公司 Camera comprising means for retaining a lens at two different positions
CN102013824A (en) * 2010-09-21 2011-04-13 深圳市大族激光科技股份有限公司 Controller for inhibiting neutral point potential drift in three-level inverter

Also Published As

Publication number Publication date
CN103136066A (en) 2013-06-05

Similar Documents

Publication Publication Date Title
US20140136866A1 (en) Rack and power control method thereof
WO2014147700A1 (en) Information processing device, method for stopping informaton processing device, and program for stopping information processing device
JP2003092845A5 (en)
US7555665B2 (en) Method and apparatus of disabling converters in a power module
KR101298185B1 (en) Socket apparatus for cutting off standby power of electronincs products
CN103136066B (en) The treating apparatus of voltage error and method
US8836167B2 (en) Power redundant system
JP7261543B2 (en) Control device and control method
US9235246B2 (en) Computing device and power supply method of connection module
US8539268B2 (en) Apparatus and method for controlling current consumption in a multi modem system
TWI392315B (en) Network interface apparatus and related power saving method thereof
TWI576689B (en) Apparatus and method for power supply
CN107276832B (en) Method and device for improving communication reliability of PSU and system
TWI459186B (en) Apparatus and method for processing voltage fault
CN103812200A (en) Charging chip, charging system and electronic equipment
JP2002373036A (en) Usb equipment
CN101015999B (en) Printing apparatus and control method
WO2006137112A1 (en) Power supply device and control method thereof
KR101097614B1 (en) Swiching mode power supply and controlling method thereof
US9423850B2 (en) System and method of power control for embedded systems without advanced configuration and power interface (ACPI)
JP5740454B2 (en) Computer system and computer system operation method for AC malfunction detection
CN107688380A (en) A kind of server complete machine breaker device and method
CN108415547A (en) Electronic device and its method for managing power supply
JP2012200924A (en) Printer and power supply control method therefor
JP2007179094A (en) Information processing apparatus and power consumption control method executed therein

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
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161212

Address after: No. 86 West Xicheng District, Beijing, Chang'an Avenue

Patentee after: State Power Networks Co

Patentee after: ANYANG POWER SUPPLY COMPANY, STATE GRID HENAN ELECTRIC POWER CO., LTD.

Address before: Taipei City, Taiwan Chinese Shilin District Hougang Street No. sixty-six

Patentee before: Yingyeda Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150923

Termination date: 20171125

CF01 Termination of patent right due to non-payment of annual fee