A kind of server cluster heartbeat inspecting circuit based on power carrier
Technical field
The utility model relates to a kind of heartbeat inspecting circuit used in two or more servers of warm back-up each other,
Belong to technical field of telecommunications.
Background technique
Heartbeat is mounted in the course of network operation for connecting the cable of the hot-standby server each other of A, B two
Software on every server by heartbeat come the operating status of real-time monitoring other side, once the host to work is because of power supply
Failure, main component failure or boot disk failure etc. hardware faults and stop transport, can with cross heartbeat can be reflected to backup machine, it is standby
Part machine can devote oneself to work immediately, can thus guarantee the normal operation of network to the maximum extent.
Currently, heartbeat mainly utilize RS-233 detection link or individual RJ45 network interface link realize with
The connection (referring to Fig. 1) of each server, the accuracy of verifying system Down machine testing is detected using Ping mode.But installation by
In the cabinet of limit especially reinforced cabinet, individual physical detection chain route is often disposed again without enough spaces.
Therefore it is very necessary for seeking the new heartbeat signal transmission mode of one kind.
Utility model content
The purpose of this utility model is that aiming at the disadvantages of the prior art, providing a kind of server set based on power carrier
Group's heartbeat inspecting circuit meets the requirement of various cabinets to reduce the installation space of heartbeat inspecting circuit.
Problem described in the utility model is realized with following technical proposals:
A kind of server cluster heartbeat inspecting circuit based on power carrier includes heart beat detection module and electric power in composition
Carrier module, the power line carrier module include electric power line carrier chip, single-chip microcontroller, coupling transformer, signal receiving circuit and
Signal sending circuit, the single-chip microcontroller pass through TTL/RS232 conversion chip and heart beat detection module transinformation and are connect by I2C
Mouth is connect with electric power line carrier chip, and the high-tension coil of the coupling transformer is connected by derided capacitors and ac power supply line
It connects, low-voltage coil is believed by the heartbeat that heartbeat signal receives circuit and heartbeat signal transmitting line and electric power line carrier chip respectively
Number input terminal is connected with heartbeat signal output end.
The above-mentioned server cluster heartbeat inspecting circuit based on power carrier, it includes input that the heartbeat signal, which receives circuit,
Resistance, shunt capacitance, by-pass inductor and input coupling capacitor, the shunt capacitance and by-pass inductor be connected in parallel after a termination
The ground terminal of the low-voltage coil of coupling transformer, the other end connect the ungrounded end of the low-voltage coil of coupling transformer through input resistance
And the heartbeat signal input terminal of electric power line carrier chip is connect by input coupling capacitor.
The above-mentioned server cluster heartbeat inspecting circuit based on power carrier, the heartbeat signal transmitting line include four
Triode, two coupling resistances and three output coupling capacitors, the first triode and the second triode are connected into level-one and recommend amplification
Device, the base stage of the first triode successively connect the heartbeat of electric power line carrier chip through the first coupling resistance and the first output coupling capacitor
Signal output end, the base stage of the second triode successively connect power line carrier core through the second coupling resistance and the second output coupling capacitor
The heartbeat signal output end of piece;Third transistor and the 4th triode are connected into second level push-pull amplifier, and the second level recommends amplification
The output end of the input termination level-one push-pull amplifier of device, output end connect the low of coupling transformer by third output coupling capacitor
The ungrounded end of crimping circle.
The above-mentioned server cluster heartbeat inspecting circuit based on power carrier, it further includes double that the heartbeat signal, which receives circuit,
To voltage-stabiliser tube and two clamp diodes, the bi-directional voltage stabilizing pipe is attempted by the low-voltage coil of coupling transformer, two clampers
It is connected in parallel after diode inverse parallel connection with shunt capacitance and by-pass inductor.
The above-mentioned server cluster heartbeat inspecting circuit based on power carrier, first triode and the second triode
Zener diode is equipped between emitter and base stage.
The above-mentioned server cluster heartbeat inspecting circuit based on power carrier, the output end of the second level push-pull amplifier with
Freewheeling diode is equipped between the positive and negative anodes of DC power supply.
The utility model directly uses existing 220V ac power supply line as physics heartbeat link, utilizes power carrier
Heartbeat signal is transmitted, can not only ensure that server cluster operates normally, and do not need additional independent heartbeat link, thus
Line space is saved, the requirement of various cabinets can be met.
Detailed description of the invention
Fig. 1 is the electric functional block diagram of traditional heartbeat inspecting circuit;
Fig. 2 is the electric functional block diagram of the utility model;
Fig. 3 is the electrical schematic diagram of power line carrier module.
Each list of reference numerals in figure are as follows: U1, electric power line carrier chip;U2, single-chip microcontroller;U3, TTL/RS232 conversion chip;T,
Coupling transformer;L, by-pass inductor;Q1~Q4, the first triode~the 4th triode;DW1, the first voltage-stabiliser tube;DW2, second are surely
Pressure pipe;DW3, bi-directional voltage stabilizing pipe;R1, the first coupling resistance;R2, the second coupling resistance;R3, input resistance;C1, the first output coupling
Close capacitor;C2, the second output coupling capacitor;C3, third output coupling capacitor;C4, derided capacitors;C5, shunt capacitance;It is C6, defeated
Enter coupled capacitor;D1, the first clamp diode;D2, the second clamp diode;D3, the first freewheeling diode;D4, the second afterflow
Diode.
Specific embodiment
The utility model is described in further detail with reference to the accompanying drawing.
Referring to Fig. 2 and Fig. 3, the utility model includes the heart beat detection module and power carrier being mounted in each server
Module, wherein power line carrier module includes electric power line carrier chip U1, single-chip microcontroller U2, TTL/RS232 conversion chip U3, coupling
Transformer T, derided capacitors C4, signal receiving circuit and signal sending circuit.
Electric power line carrier chip U1 uses PL2102, and function is to complete the modulation /demodulation of power carrier signal.The chip
It is the half-duplex asynchronous modem controller for aiming at power line communication network design.It only by single+5V power supply power supply, passes through one
The interface circuit of a outside is coupled with power line.PL2102 is in addition to having basic Communication Control function, and also built-in five kinds often
Functional circuit: can digitally correcting frequency real time clock circuit, 32Bytes SRAM, voltage monitoring, WatchDog Timer and
Reset circuit, they are connected by the I2C interface of standard with external microprocessor.PL2102 is particular for China Power net
The low-voltage powerline carrier communication chip that rugged environment is developed.Due to using Direct Sequence Spread Spectrum, digital signal
The new technologies such as processing, direct digital synthesis technique, and 0.35 μm of CMOS technology production, institute are mixed using large scale digital/simulation
To have outstanding performance in terms of anti-interference and anti fading performance and similar products at home and abroad.Power line
Carrier chip U1 carries out transmitting-receiving communication using standard I2C interface and single-chip microcontroller U2, wherein RST is reset signal, and SCL/SDA is
Signal is controlled, R/T, RXDTXD are receiving and transmitting signal, and PFO/INT1 is interrupt signal.
The model MSP430 series (single-chip microcontroller of similar specification also can be used to substitute) of single-chip microcontroller U2, function is to electric power
Line carrier chip U1 is controlled, and heartbeat signal two-way communication logic is completed.
TTL/RS232 conversion chip U3 is used for the Transistor-Transistor Logic level signal for receiving and dispatching single-chip microcontroller U2, is converted to RS232 level, and
Connection is established with heart beat detection module.
Signal receiving circuit includes input resistance R3, shunt capacitance C5, by-pass inductor L, input coupling capacitor C6, two-way steady
Pressure pipe DW3, the first clamp diode D1 and the second clamp diode D1, coupling transformer T received heartbeat from alternating current wires
Signal is coupled to inside electric power line carrier chip U1 through input resistance R3 and input coupling capacitor C6, and shunt capacitance C5 will be for that will believe
High frequency section in number bypasses, and by-pass inductor L then can remove low frequency signal.Bi-directional voltage stabilizing pipe DW3, the first clamp diode
D1 and the second clamp diode D1 play the role of clipping to signal.
Signal sending circuit includes the first triode Q4 of triode Q1~the 4th, the first voltage-stabiliser tube DW1, the second voltage-stabiliser tube
DW2, the first coupling resistance R1, the second coupling resistance R2, the first output coupling capacitor C1, the second output coupling capacitor C2 and third
Output coupling capacitor C3.The first triode Q4 of triode Q1~the 4th constitutes two-stage push-pull amplifier, electric power line carrier chip U1
The book server heartbeat signal of output is through the first coupling resistance R1, the second coupling resistance R2, the first output coupling capacitor C1, second
The resaistance-capacity coupling circuit that output coupling capacitor C2 is constituted is sent to the input terminal of two-stage push-pull amplifier, and signal recommends amplification through two-stage
It is coupled on 220V ac power supply line after device amplification by third output coupling capacitor C3 and coupling transformer T.First afterflow
Diode D3, the second sustained diode 4, the first voltage-stabiliser tube DW1 and the second voltage-stabiliser tube DW2 are for protecting four triodes
Shield.
The utility model can be sent on 220V power supply circuit by the heartbeat signal of book server by power carrier,
And the heartbeat signal of another server transmission is obtained from power supply line, which answers existing power supply line
With, it can be in the case where not relying on the physical link line of periphery, progress heartbeat signal transmitting-receiving and intercommunication.