Background technology
In the age of science and technology prosperity now, unavoidable ground, computer system has become people's indispensable information processing instrument in life.Computer system can satisfy the whole demands of people in work, travelling and amusement each side, for example individual's finance detail, financial account number password, privacy file and data such as photo, emotion mail, business documentation and mental creation all can see through computer system and be stored in the hard disk of computer system.
Computer system in the use, many times, people often are computer away from keyboard, but thereby cause the reduction of the power supply utilization rate of computer system.For in response to above-mentioned situation, computer system tends to be provided with corresponding electric power management mechanism, in time closing the part electronic component in the computer system, and then reaches the purpose of energy saving.On electric power management mechanism, the power supply unit of computer system inside can provide two kinds of power supply-primary powers (main power) and standby power (standby power), wherein primary power is to be under the open state in computer system just can offer mainboard, and standby power then is to offer mainboard when mainboard is electrically connected to power supply unit.
Yet sometimes, the standby power that power supply unit provided often can not satisfy the demand of mainboard, can't normal running and cause in the computer system by electronic component that standby power drove, and then reduce the operating performance of computer system.Though this kind situation, the operating performance of computer system exchanged for by the displacement of power supply unit, but cause shortcomings such as the raising of hardware cost and level of resources utilization reduction.
Summary of the invention
The invention provides a kind of computer system, can be during greater than preset value in mainboard quantity, control partly mainboard is converted to a plurality of piezoelectric voltages for the treatment of with primary power.
The present invention proposes a kind of computer system, and it comprises power supply unit, a plurality of mainboard and power-supply controller of electric.The corresponding separately standby voltage of each mainboard.Power supply unit is in order to producing standby power, and produces primary power according to the power supply enable signal.Power-supply controller of electric is coupled between power supply unit and a plurality of mainboard, whether greater than preset value, produce power supply enable signal and control signal, and selectivity outputs control signals to the one at least of these mainboards with the quantity of foundation mainboard.When mainboard receives control signal,, all receive primary power and primary power is converted to the standby voltage of corresponding mainboard no matter mainboard is in start or off-mode.When mainboard did not receive this control signal, mainboard was converted to standby power the standby voltage of corresponding mainboard.
In one embodiment of this invention, above-mentioned power supply unit produces the power supply ready signal according to the power supply enable signal.When mainboard received the power supply ready signal, mainboard was converted to primary power the standby voltage of corresponding mainboard.In addition, mainboard can be exported the motherboard power supply enabling signal, and power-supply controller of electric produces the power supply enable signal according to the motherboard power supply enabling signal.And whether power-supply controller of electric is in open state according to motherboard power supply enabling signal decision mainboard, so that received power supply ready signal is sent to the mainboard that is in open state.
In one embodiment of this invention, above-mentioned mainboard output mainboard identification code, and power-supply controller of electric is counted the quantity of mainboard according to the mainboard identification code of received mainboard.
In one embodiment of this invention, above-mentioned mainboard has electric pressure converter, in order to primary power or standby power are converted to a plurality of standby voltages.
In one embodiment of this invention, above-mentioned preset value depends on the mainboard driving force of standby power.
In one embodiment of this invention, above-mentioned power-supply controller of electric is a complex programmable logic device (complex programmable logic device, CPLD) or a programmable interrupt controller (Programmable Interrupt Controller, PIC).
Based on above-mentioned, computer system of the present invention, when the quantity of mainboard during greater than preset value, power-supply controller of electric can produce power supply enable signal and control signal.When power supply unit receives the power supply enable signal, produce primary power.When mainboard receives control signal, then primary power is converted to a plurality of standby voltages.Whereby, dynamically selection portion part mainboard is converted to a plurality of standby voltages with primary power, and avoids standby power can't drive all mainboards, the System Operation mistake that is caused.
Embodiment
Fig. 1 is the computer system synoptic diagram of one embodiment of the invention.Please refer to Fig. 1, computer system 100 comprises power supply unit 110, power-supply controller of electric 120 and mainboard 130_1~130_n, and wherein n is a positive integer, and with the design of computer system and client's demand and difference.Power supply unit 110 couples power-supply controller of electric 120 and mainboard 130_1~130_n.Power-supply controller of electric 120 couples mainboard 130_1~130_n.Mainboard 130_1~130_n is under the situation of not start, power supply unit 110 can produce standby power STP, and mainboard 130_1~130_n can be converted to standby power STP the corresponding standby voltage of each mainboard, wherein mainboard 130_1~130_n can comprise electric pressure converter (not illustrating), standby power STP is converted to a plurality of standby voltages.
Generally speaking, power supply unit 110 can couple a power supply backplane (not illustrating), and the power supply (for example standby power STP or primary power MP) that power supply unit 110 is produced through this power supply backplane is supplied to mainboard 130_1~130_n respectively.Power-supply controller of electric 120 can be disposed on the above-mentioned power supply backplane.When mainboard 130_1~when the 130_n block-by-block was connected to power supply backplane, mainboard 130_1~130_n can receive standby power STP.At this moment, mainboard 130_1~130_n can transmit mainboard identification code ID_1~ID_n respectively to power-supply controller of electric 120.Power-supply controller of electric 120 can see through the quantity of counting mainboard identification code ID_1~ID_n and learning mainboard 130_1~130_n after receiving mainboard identification code ID_1~ID_n.
The standby power STP that is provided by power supply unit 110, be generally the power supply of a little electric current, be under standby or the off-mode with mainboard 130_1~130_n in computer system, the required standby voltage of electronic component that is driven by standby power STP on mainboard 130_1~130_n is provided.But, when the quantity of mainboard 130_1~130_n is increasing, the required magnitude of current of its standby voltage also can increase, and might be in shutdown or following mainboard quantity that can drive of holding state (driving number to call the mainboard standby in the following text) in mainboard above standby power STP.Therefore, may cause the electronic component that is driven by standby power STP on some mainboard can't operate or fault, make mainboard to start shooting.
So, learn the quantity of mainboard 130_1~130_n at power-supply controller of electric 120 after, whether can compare this quantity greater than preset value, wherein this preset value can drive number for being equal to or less than the mainboard standby.When this quantity is not more than preset value, represent standby power STP to be enough to drive all mainboards, this moment, power-supply controller of electric 120 did not have any action.When this quantity during, represent standby power STP can't drive all mainboard 130_1~130_n smoothly greater than preset value.At this moment, power-supply controller of electric 120 must be looked for other power supply and replace standby power STP, to be supplied in the mainboard partly, allows mainboard 130_1~130_n be driven smoothly whereby.Therefore, power-supply controller of electric 120 can produce power supply enable signal PON to power supply unit 110.Power supply unit 310 produces primary power MP after receiving power supply enable signal PON, and when power supply is ready, produces power supply ready signal PGD.After power-supply controller of electric 120 receives power supply ready signal PGD, produce control signal (for example CTL_1) to mainboard 130_1~130_n at least one of them.
Then, be example with mainboard 130_1 earlier, when mainboard 130_1 receives the control signal CTL_1 that power-supply controller of electric 120 produced, mainboard 130_1 is no matter be in start, shutdown or holding state, all accept the primary power MP of power supply unit 110 outputs, and primary power MP is converted to a standby voltage, so that the electronic component that is driven by standby power STP can normal operation.Because the voltage quasi position of standby power STP and primary power MP is identical, so mainboard 130_1 can utilize above-mentioned electric pressure converter (not illustrating) to be converted to a plurality of standby voltages.(for example during CTL_2~CTL~n), its action is same as described above, so repeat no more and mainboard 130_2~130_n is receiving control signal.
In addition, the quantity that transmission controls signal to mainboard depends on the quantity of mainboard 130_1~130_n and the difference that the mainboard standby drives number, for example the quantity of mainboard is 7, it is 4 that the mainboard standby drives number, just have 3 mainboards and receive control signal, and these mainboards can be converted to primary power MP standby voltage, so that mainboard can drive smoothly.And the mainboard that control signal will transmit can be selected normal mainboard of starting shooting.Whereby, can avoid the too much problem that can't drive that causes of mainboard quantity, and select to transmit the mainboard that controls signal to normal start, more can reduce the switching times that mainboard selects primary power MP or standby power STP are converted to a plurality of standby voltages, to prolong the life-span of on-off element.
On the other hand, power-supply controller of electric 120 can separate the signal between each mainboard 130_1~130_n, is not more than mainboard standby driving number in this first quantity with mainboard 130_1~130_n and illustrates.Following in this situation, because standby power STP is enough to drive all mainboards, so when mainboard 130_1~130_n all was in the state of shutdown or standby, mainboard 130_1~130_n all can receive standby power STP and be converted into the required standby voltage of each mainboard.When mainboard 130_1 is activated when being in open state, can export motherboard power supply enabling signal MSP_1.When power-supply controller of electric 120 receives motherboard power supply enabling signal MSP_1, produce power supply enable signal PON.When power supply unit 110 receives power supply enable signal PON, produce primary power MP, and when power supply is ready, produce power supply ready signal PGD.And power-supply controller of electric 120 is sent to mainboard 130_1 (as PGD_1) with power supply ready signal PGD after receiving power supply ready signal PGD.And mainboard 130_1 then begins to carry out boot program when receiving power supply ready signal PGD_1, so that mainboard 130_1 comes into operation.This moment, promptly this mainboard 130_1 was under the open state, and the standby voltage of this mainboard is provided by the primary power MP of power supply unit 110.Whereby, the startup of mainboard 130_1 can not have influence on mainboard 130_2~130_n.
Then, when mainboard 130_2 is activated when being in open state, can transmit motherboard power supply enabling signal MSP_2 to power-supply controller of electric 120.At this moment, because the primary power MP and the power supply ready signal PGD of power supply unit 110 produce,, power-supply controller of electric 320 directly power supply ready signal PGD is sent to mainboard 130_2 (shown in PGD_2) so understanding.And mainboard 130_2 then begins to carry out boot program when receiving power supply ready signal PGD_2, so that mainboard 130_2 comes into operation.At this moment, the startup of mainboard 130_2 can not have influence on mainboard 130_1,130_3~130_n.After this, the action that remaining mainboard (for example 130_n) starts can according to above-mentioned analogize learn, then do not give unnecessary details at this.And the order that above-mentioned mainboard starts is in order to explanation, does not limit the embodiment of the invention with this.
In addition, when the quantity of mainboard 130_1~130_n drives number greater than the mainboard standby, power-supply controller of electric 120 can directly produce power supply enable signal PON, causes power supply unit generation primary power MP and power supply ready signal PGD.At this moment, when mainboard 130_1 is activated when being in open state, can transmit motherboard power supply enabling signal MSP_1 to power-supply controller of electric 120.And power-supply controller of electric 120 can be sent to mainboard 130_1 by transmission power supply ready signal PGD_1, so that mainboard 130_1 begins to carry out boot program and comes into operation.And all the other mainboards (be activated when being in open state as 130_1~130_n), its action is identical with above-mentioned mainboard 130_1, so do not give unnecessary details at this.What deserves to be mentioned is, if mainboard is that standby power STP is converted to standby voltage when being in shutdown or holding state, when being in open state, then be that primary power MP is converted to standby voltage.Whereby, power-supply controller of electric 120 can prevent the interference of signal between mainboard, avoids mainboard to produce maloperation.
What deserves to be mentioned is, above-mentioned power-supply controller of electric 120 can utilize complex programmable logic device (complex programmable logic device, CPLD) or able to programmeization interruptable controller (Programmable Interrupt Controller PIC) realizes.Whereby, can simplify the design of circuit, and reduce the cost of circuit construction.
In sum, the computer system of the embodiment of the invention when the quantity of mainboard during greater than preset value, can produce power supply enable signal and control signal.When power supply unit receives the power supply enable signal, produce primary power.When mainboard receives control signal, then primary power is converted to the standby voltage of this mainboard correspondence.Whereby, dynamically selection portion part mainboard is converted to the corresponding standby voltage of these mainboards with primary power, and avoids standby power can't drive all mainboards, the System Operation mistake that is caused.In addition, computer system utilizes complex programmable logic device or programmable interruptable controller to realize power-supply controller of electric.Whereby, can simplify the design of circuit, and reduce the cost of circuit construction.
Though the present invention discloses as above with preferred embodiment; right its is not in order to qualification the present invention, any those skilled in the art, without departing from the spirit and scope of the present invention; when can doing a little modification and perfect, so protection scope of the present invention is when with being as the criterion that claims were defined.