Summary of the invention
According to the present invention, can make communication facilities the shutdown of unusual back occur, not under the situation of artificial power-off restarting, communication facilities can not restarted automatically at communication facilities; And can the pulse alarm output Shaping of fault be become level alarm output, guaranteed that out-of-work risk under the non-malfunction can not appear in communication facilities.Therefore, can protect communication facilities according to failure protecting device of the present invention, reduce the loss, accident prevention takes place.In addition, the present invention has adopted PLD to solve the problems referred to above, under the prerequisite that does not raise the cost, has utilized existing resource fully, has simplicity of design, advantage that cost is low.
According to an aspect of the present invention, a kind of failure protecting device of communication facilities is provided, has comprised: the fault collection circuit, at least a fault-signal of collection communication equipment and at least a fault-signal that will gather are input to the fault decision circuit; The fault decision circuit, according to the duty of judging communication facilities from the fault-signal of fault collection circuit input, and to ON-OFF control circuit output brake control signal; ON-OFF control circuit is exported the voltage that is used to enable soft-start circuit according to brake control signal to soft-start circuit, so that soft-start circuit is controlled; Soft-start circuit is used for communication facilities is delayed startup.
According to a further aspect in the invention; The fault decision circuit can comprise: PLD and register; Said PLD is sampled to every kind of fault-signal with predetermined period; The result of sampling is stored in and every kind of fault accordingly at least two registers in order, and the value that is stored in said at least two registers is judged, to determine whether to occur this kind fault.
According to a further aspect in the invention, if PLD confirm with certain fault relevant register in the value of storing for preset fault distinguishing condition (for example: the value of several differentiation registers is all 0x1), then confirm to occur this fault.
According to a further aspect in the invention, when confirming to have the combination of a kind of fault or various faults, the fault decision circuit is to the brake control signal of ON-OFF control circuit output high level.
According to a further aspect in the invention, said ON-OFF control circuit can comprise controllable silicon diode, first resistance, second resistance and the 3rd resistance; Wherein, with the parallelly connected formation of controllable silicon diode parallel circuit, first resistance was connected with said parallel circuit after second resistance and the 3rd resistance were connected in series, and power supply is applied to the anode of controllable silicon diode via first resistance; The anode of controllable silicon diode is connected with an end of second resistance; The negative electrode of controllable silicon diode is connected with an end of the 3rd resistance and ground connection; Be input to the control utmost point of controllable silicon diode from the brake control signal of fault decision circuit output, the voltage that is applied to the 3rd resistance is input to the Enable Pin of soft-start circuit as the enable signal that enables soft-start circuit.
According to a further aspect in the invention; The power supply that is applied to the controllable silicon diode through first resistance satisfies following conditions: behind the controllable silicon diode current flow; As long as communication facilities does not cut off the power supply; The power supply that is applied to the controllable silicon diode through first resistance just keeps the state to the power supply of controllable silicon diode always, makes the anode potential of controllable silicon diode be higher than cathode potential.
According to a further aspect in the invention, a kind of communication facilities that comprises failure protecting device is provided.
Embodiment
Because the communication facilities cost is high, communication facilities is effectively protected be even more important.Therefore, hardware designs should improve reliability controls cost again, should protect important circuit such as veneer after the communication facilities power down, can recover again, and communication facilities power-on and power-off repeatedly.The characteristic of controllable silicon diode just in time satisfies this demand, because the controllable silicon diode has only conducting and by two kinds of duties, so it has switching characteristic, this specific character needs certain condition to transform, condition is following:
A, the condition from satisfying by the end of conducting: 1, anode potential is higher than cathode potential; 2, the control utmost point has enough forward voltages and electric current, and both are indispensable.
B, keep the required satisfied condition of conducting: 1, anode potential is higher than cathode potential; 2, anode current is greater than keeping electric current, and both are indispensable.
C, from being conducting to by the condition that need to satisfy: 1, anode potential is lower than cathode potential; 2, anode current is less than keeping electric current, and arbitrary condition gets final product.
The present invention utilizes controllable silicon diode and PLD to provide a kind of communication equipment fault protective device; Make that communication facilities can (for example: the main chip temperature be too high detecting various faults; Fan stall etc.) quit work automatically after, thus the protection communication facilities.
Fig. 1 is the schematic block diagram of the failure protecting device of communication facilities according to an exemplary embodiment of the present invention.
Said failure protecting device can comprise fault collection circuit 1, fault decision circuit 2, ON-OFF control circuit 3 and soft-start circuit 4.
Wherein, the fault-signal of fault collection circuit 1 collection communication equipment and the fault-signal of the impulse form that collects is input to fault decision circuit 2.Wherein, fault collection circuit 1 can be gathered at least a fault-signal.Fault decision circuit 2 is judged the duty of communication facilities according to the fault-signal of input, and to ON-OFF control circuit 3 output brake control signals.
For instance, the fault-signal of supposing certain single fault Acquisition Circuit (promptly gathering a kind of circuit of fault-signal) does not have the communication facilities alarm with the alarm of logic high " 1 " expression communication facilities with " 0 " expression.In fault decision circuit 2, at least two registers (corresponding to the fault distinguishing register of mentioning at the back) are set this fault-signal is judged.For convenience's sake, be example with two register reg_alarm [0], reg_alarm [1] here.In addition, register is when communication facilities powers on or reset, and initial default value is set to " 0x0 ".
Fault decision circuit 2 comprises the fault-signal that the register of predetermined quantity is sampled from fault collection circuit 1 by the predetermined sampling period with storage; And fault decision circuit 2 comprises that also PLD is to sample by the fault-signal of predetermined period paired pulses form; Fault-signal is stored in the relevant register, then the fault-signal of storing in the register is judged and exported brake control signal.Suppose i (i is a natural number) periodic sampling to fault-signal be stored the register reg_alarm [0] in the fault decision circuit 2, simultaneously reg_alarm [0] legacy data moves and deposits reg_alarm [1]; Equally, the i+1 periodic sampling to data be deposited into register reg_alarm [0], simultaneously reg_alarm [0] legacy data moves and deposits reg_alarm [1].Here; PLD compares the value among register reg_alarm [0], the reg_alarm [1]; If the value among register reg_alarm [0], the reg_alarm [1] all is " 0x1 "; Then think communication facilities alarm, the brake control signal of PLD output high level " 1 "; Otherwise think communication facilities with nowhere to turn to the police, the brake control signal of PLD output low level " 0 ".Can prevent erroneous judgement so simply.Here, certainly being provided with more, multiregister carries out stricter judgement.
When needs are judged various faults (fault 1,2,3...n; N is a natural number) time; For fault-signal k (k=1; 2...n) judgement all can adopt the method above similar: be used for register (below be called the fault distinguishing register) reg_k_1, reg_k_2, the reg_k_3....reg_k_m of fault distinguishing for fault k definition m (wherein, m representes natural number) is individual, register that is used for fault output (below be called the fault output register) reg_k_alrm.Here, represent alarm when supposing failure definition output register value for " 0x1 ", " 0x0 " representes with nowhere to turn to the police.PLD by certain sampling period with the fault-signal k that samples by the order of first in first out be saved in the corresponding fault distinguishing register of fault k (reg_k_1, reg_k_2, reg_k_3...reg_k_m) in so that with the corresponding fault distinguishing register of fault k in always keeping the value of m fault-signal of sampling recently.PLD is judged the value of this m fault distinguishing register; In case confirm the value of said m fault distinguishing register meet the characteristic of fault k alarm (such as be 1 perhaps wherein several be 1 etc.); Then will be changed to " 0x1 " with the corresponding fault output register of fault k reg_k_alrm; Otherwise reg_k_alrm is changed to " 0x0 " with the fault output register.
Through differentiating the fault output register reg_k_alrm (k=1 of various fault-signals; 2...n) value; In case the value in the combination that the value of finding certain fault output register is constituted for " 0x1 " or by the some fault output registers in said n the fault output register all is " 0x1 "; Just think communication facilities alarm, the brake control signal of PLD output high level " 1 "; Otherwise think communication facilities with nowhere to turn to the police, the brake control signal of PLD output low level " 0 ".
PLD in the fault decision circuit 2 is changed to " 0x0 " with the initial value of all registers when fault distinguishing register and fault output register are carried out initialization; Otherwise; To PLD programming object code the time; PLD might be braked the controllable silicon diode that is included in the ON-OFF control circuit 3, and makes normally programming object code of PLD.
ON-OFF control circuit 3 comprises a controllable silicon diode D1 and three resistance R 1, R2 and R3.As shown in Figure 1, R2 and R3 are connected in series, and parallelly connected formation parallel circuit with D1; And R1 connects with said parallel circuit; Supply voltage VDD_IN is applied to the anode of D1 via R1, the plus earth of D1, and be input to the control utmost point of D1 from the brake control signal of fault decision circuit 2 outputs.Be applied to the output voltage V DD_ENABLE of the voltage of R3 as ON-OFF control circuit 3, the Enable Pin that is input to soft-start circuit 4 is to enable soft-start circuit 4.According to the voltage of VDD_IN and soft-start circuit 4 Enable Pin level, current requirements, the resistance of R1 can be chosen at 1K ohm to 100K ohm; The resistance of R2 can be chosen at 0 ohm to 2K ohm; The resistance of R3 can be chosen at 1K ohm to 100K ohm; To guarantee that VDD_ENABLE can enable soft-start circuit 4.That is, communication facilities is as long as just guarantee that in normal operating conditions VDD_ENABLE is effective high level output.
When VDD_IN imports when effective, ON-OFF control circuit 3 can be worked, otherwise does not work.When the brake control signal of the control utmost point that is connected to D1 is low level " 0 ", the input of the control utmost point no current of D1, its anode potential is higher than negative electrode, and D1 is rendered as cut-off state, the bleeder circuit output high level that VDD_IN constitutes through resistance R 1, R2, R3; When the brake control signal of the control utmost point that is connected to D1 was high level " 1 ", the control utmost point of D1 had the electric current input, and its anode potential is higher than negative electrode, and controllable silicon D1 is a conducting state, and the anode of D1 is a low level, above-mentioned bleeder circuit output low level.
In addition; The power vd D_IN that is applied to controllable silicon diode D1 through R1 must satisfy condition described below: after controllable silicon diode D1 conducting; As long as communication facilities does not cut off the power supply; The power supply that is applied to controllable silicon diode D1 through R1 keeps power supply state always, that is: as long as communication facilities does not cut off the power supply, the anode potential of controllable silicon diode D1 is higher than cathode potential.
Soft-start circuit 4 is made up of slow startup chip (not shown) and power supply control chip (not shown).Soft-start circuit 4 is used to control the Board Power up start-up time of communication facilities, suppresses the voltage/current overshoot of veneer at powered on moment, reduces the risk that circuit that the voltage/current overshoot causes damages, the veneer circuit of protection communication facilities.Realization for soft-start circuit; Power supply control chip manufacturer provides perfect, practical solution; Here power supply control chip can be selected the Isl6115CBZA of Intersil, the TPS232311IPW of TexasInstruments etc., so will not carry out detailed description here.
VDD_ENABLE is input to the Enable pin (such as the PWRON pin of Isl6115CBZA, the Enable pin of TPS2311IPW) of power supply control chip.From the slow startup power supply output pin output VDD_OUT of soft-start circuit 4, PW_ON can be used as the POWER_GOOD signal of power supply control chip, can be used as the input of the power enable signal of communication facilities.
According to an exemplary embodiment of the present, the controllable silicon diode can make communication facilities the shutdown of unusual back occur, and not under the situation of artificial power-off restarting, communication facilities can not restarted automatically at communication facilities; And PLD can become the pulse alarm output Shaping of fault level alarm output, has guaranteed that out-of-work risk under the non-malfunction can not appear in communication facilities.Therefore, can protect communication facilities according to the failure protecting device of the communication facilities of exemplary embodiment of the present invention, reduce the loss, accident prevention takes place.In addition, in most communication facilities, PLD is the important component part of communication facilities control circuit, and this has also utilized existing resource fully under the prerequisite that does not raise the cost, and has simplicity of design, advantage that cost is low.