Redundancy backup control system and interface board power supply controlling method
Technical field
The present invention relates to power supply control, relate in particular to redundancy backup control system and power control method that butt joint oralia power supply is controlled.
Background technology
For the reliabilty and availability of enhanced system, existing communication system or electrical system have polylith system control panel (header board) usually as the redundancy backup control board.Common system redundancy is a 1+1 backup, promptly one is the main system control board, and another piece is from system control panel, i.e. two block system control boards conduct backup each other respectively, when a block system control board breaks down, start another block system control board and proceed work.Wherein, the main system control board in the two block system control boards and be what to determine through consultation from system control panel.
Have at redundancy backup control system under the situation of polylith interface board (back plate), by the On/Off of the common control of master/slave system control panel total interface plate power supply.
Fig. 1 illustrates the power supply control of butt joint oralia in the existing redundancy backup control system.In redundancy backup control system shown in Figure 1 100, the main frame 1011 of main system control board 101 and utilize general input and output (GeneralPurpose Input Output, GPIO) branch road GPIO respectively from the main frame 1021 of system control panel 102
11... GPIO
1NAnd GPIO
21... GPIO
2NThe out-put supply control signal.Here, each GPIO branch road GPIO
11... GPIO
1NAnd GPIO
21... GPIO
2NAll be set to output pin.The power control signal of output is logic level 3.3V.
As shown in Figure 1, master/slave system control panel 101 and each GPIO branch road GPIO of 102
11... GPIO
1NAnd GPIO
21... GPIO
2NThe other end respectively with the receiving converter 1031 of a plurality of interface board 1...N
1... 1031
NLink to each other.By each receiving converter 1031
1... 1031
NPower control signal is converted to the logic level of 48V, and passes through the 48V conversion equipment 1032 of each interface board 1...N
1... 1032
NLevel to 48V is changed, with the power supply signal of output 3V.Wherein, a GPIO branch road GPIO of main system control board 101
11With a GPIO branch road GPIO from system control panel 102
21Link together, and be connected to the receiving converter 1031 of first interface board 1 jointly
1The 2nd GPIO branch road GPIO of main system control board 101
12With the 2nd GPIO branch road GPIO from system control panel 102
22Link together, and be connected to the receiving converter 1031 of second interface board 2 jointly
2... the rest may be inferred.
In this system, the system control panel (being main system control board 101) that only is in the master control state can be controlled all interface board 1...N, at this moment, and the GPIO branch road GPIO of main system control board 101
11... GPIO
1NAnd be set to output state.And be in the GPIO branch road GPIO of system control panel (promptly from system control panel 102) from state of a control
21... GPIO
2NBe set to three-state (tri-state).When the master/slave state of switched system control board, be about to a block system control board and switch to from state of a control, otherwise another block system control board is switched to the master control state by original from state of a control by original master control state.Like this, be in the master control state for system control panel 102, be in and be system control panel 101 from state of a control.At this moment, with the GPIO branch road GPIO of system control panel 102
21... GPIO
2NBe set to output state, and with the GPIO branch road GPIO of system control panel 101
11... GPIO
1NBe set to three-state.At this moment, system control panel 102 is inherited the power supply status of total interface plate and is continued these power supply statuss are controlled.In present technology, the receiving converter 1031 of interface board 1...N
1... 1031
NConstitute by metal-oxide-semiconductor field effect transistor.
Between transfer period, the state of GPIO is invalid to above-mentioned redundancy backup control system 100 at master/slave state.At this moment, total interface plate 1...N all is in closed condition.Have only when handoff procedure finishes, interface board is just opened again.This causes interface board 1...N will experience a plurality of states of " Open-closure-unlatching " in handoff procedure, thereby has had a strong impact on the stability of whole system.
In addition, the receiving converter 1031 that constitutes by metal-oxide-semiconductor field effect transistor
1... 1031
NCan't shielding system control board 101 and 102 and interface board 1...N between power control signal, make this control signal be easy to be interfered.
Therefore, need a kind of redundancy backup control system and interface board power supply controlling method, be used to improve the stability of system, reliably the power supply of control interface board.
Summary of the invention
The purpose of this invention is to provide a kind ofly can not exert an influence between transfer period to whole system at master/slave state, and the effectively redundancy backup control system and the power control method thereof of insulating power supply control signal.
According to the present invention, a kind of redundancy backup control system is provided, comprise the main system control board, from system control panel and polylith interface board, wherein,
The main system control board comprises a plurality of general input and output branch roads, and one of these a plurality of general input and output branch roads with the polylith interface board one links to each other;
Comprise a plurality of general input and output branch roads from system control panel, one of these a plurality of general input and output branch roads also links to each other with of polylith interface board respectively, and links to each other with a general input and output branch road of main system control board;
The main system control board produces general input and output branch road configuration signal respectively at each of a plurality of interface boards, send into the general input and output branch road that links to each other with the general input and output branch road of main system control board respectively from system control panel, from system control panel according to general input and output branch road configuration signal, dispose the power control signal of its each general input and output branch road, make that the power control signal on the general input and output branch road of power control signal and main system control board from each general input and output branch road of system control panel is identical.
According to the present invention, the power control method in a kind of redundancy backup control system is provided, redundancy backup control system comprises the main system control board, from system control panel and polylith interface board, wherein,
The main system control board comprises a plurality of general input and output branch roads, and one of these a plurality of general input and output branch roads with the polylith interface board one links to each other;
Comprise a plurality of general input and output branch roads from system control panel, one of these a plurality of general input and output branch roads also links to each other with of polylith interface board respectively, and links to each other with a general input and output branch road of main system control board;
This method comprises the steps:
The main system control board produces general input and output branch road configuration signal respectively at each of a plurality of interface boards;
General input and output branch road configuration signal from the corresponding general input and output branch road of system control panel from the reception correspondence of main system control board; And
From system control panel according to general input and output branch road configuration signal, dispose the power control signal of its each general input and output branch road, make that the power control signal on the general input and output branch road of power control signal and main system control board from each general input and output branch road of system control panel is identical.
According to redundancy backup control system of the present invention and power control method thereof, can realize the hot-swap of interface board reliably.
By the content below in conjunction with the description of the drawings and claims, and along with understanding more comprehensively of the present invention, other purposes of the present invention and effect will become and know more and easy to understand.
Description of drawings
Fig. 1 is the power supply control schematic diagram of redundancy backup control system in the prior art.
Fig. 2 is the schematic diagram according to redundancy backup control system of the present invention.
Fig. 3 is the flow chart according to power control method in the redundancy backup control system of the present invention.
Embodiment
Below in conjunction with accompanying drawing preferred implementation of the present invention is elaborated.
In the following description, be that the example explanation is according to redundancy backup control system of the present invention and power control method thereof with the 1+1 backup situation.But, should be appreciated that the present invention is not limited only to the redundancy backup situation of 1+1, also be applicable to have more redundancy backup control systems from system control equipment.
Fig. 2 illustrates the schematic diagram according to redundancy backup control system 200 of the present invention.Represent with similar label with Fig. 1 corresponding components among Fig. 2.
As shown in Figure 2, main system control board 201 and from each GPIO branch road GPIO of system control panel 202
11... GPIO
1NAnd GPIO
21... GPIO
2NConstitute by the GPIO branch road that can be used as the input and output pin respectively, its with the annexation of each interface board 1...N and Fig. 1 in identical.
The main frame 2011 of main system control board 201 is at first by its GPIO branch road GPIO
11... GPIO
1NOutput needle is to the GPIO branch road configuration signal of each interface board 1...N, as the control command of control from the GPIO branch road configuration of system control panel 202 respectively.By GPIO branch road GPIO
21... GPIO
2N, receive GPIO branch road configuration signal from system control panel 202.In view of the above, be its each GPIO branch road GPIO from system control panel 202
21... GPIO
2NDispose power control signal respectively, make they respectively with the corresponding GPIO branch road GPIO of main system control board 201
21... GPIO
2NOn power control signal identical, thereby common open corresponding each interface board 1...N.
In the present embodiment, when needs were controlled the electric power starting of a certain interface board, main frame 2011 sent the GPIO branch road configuration signal of electric power starting, and then master/slave system control panel 201 and 202 is configured to output with its corresponding GPIO branch road.When needs were controlled the power-off of a certain interface board, then main frame 2011 sent the GPIO branch road configuration signal of power-off, and then master/slave system control panel 201 and 202 is configured to input with its corresponding GPIO branch road.
Among the present invention, above-mentioned control command is that GPIO branch road configuration signal also can be the power control signal that is used for On/Off corresponding interface plate power supply that the main frame 2011 of main system control board 201 sends, and makes corresponding interface board power supply thereby On/Off.By GPIO branch road GPIO
21... GPIO
2N, receive power control signal from system control panel 202 after, respectively with the GPIO branch road GPIO of correspondence
21... GPIO
2NBe set to corresponding GPIO branch road GPIO with main system control board 201
11... GPIO
1NOn the identical power control signal of power control signal.
For same interface board,, make from the power control signal state of the power control signal state of system control panel 202 and main system control board 201 synchronous fully by aforesaid operations.When carrying out master/slave state when switching,, do not change the state of the power control signal of master/slave system control panel output although change has taken place system control panel master/slave state of a control separately.Like this, the power control signal that interface board receives keeps original state constant, also just can the stability of whole system not exerted an influence.
Simultaneously, in redundancy backup control system 200 of the present invention, each receiving converter 1031 of interface board 1...N
1... 1031
NAlso constitute by optical coupler.It not only can be converted to the power control signal that receives the logic level of 48V, the effective control signal between shielding system control board and the interface board simultaneously, thus reduced interference of noise.
The present invention also provides the method that the butt joint oralia carries out power supply control in a kind of redundancy backup control system.Fig. 3 illustrates the flow chart according to power control method of the present invention.
As shown in Figure 3, power control method according to the present invention starts from step S301.In step S302, main system control board 201 sends GPIO branch road configuration signal at each interface board, is used to control the GPIO branch road configuration from system control panel 202.Afterwards, flow process enters step S303.At step S303, receive the GPIO branch road configuration signal that the main system control board sends from the corresponding general input and output branch road of system control panel.Then, in step S304, from system control panel according to the GPIO branch road configuration signal that receives, the general input and output branch road of self correspondence is configured to the identical power control signal of power control signal on each general input and output branch road with the main system control board, makes each interface board 1...N of both synchronous On/Off correspondences.Flow process shown in Figure 3 ends at step S305.
In the present embodiment, when the GPIO branch road configuration signal that produces when the main system control board represented that power supply is opened, the main system control board was configured to output with the GPIO branch road of self correspondence, correspondingly the GPIO branch road of self correspondence was configured to output from system control panel.
When the GPIO branch road configuration signal that produces when the main system control board represented that power supply closes, the main system control board was configured to input with the GPIO branch road of self correspondence, correspondingly the GPIO branch road of self correspondence was configured to input from system control panel.
According to the embodiment of the present invention, control also can be the power control signal that is used for On/Off corresponding interface plate power supply that the main frame 2011 of main system control board 201 sends from the GPIO branch road configuration signal of system control panel GPIO branch road configuration among the above-mentioned steps S302.Like this, when from system control panel after step S303 receives this power control signal, directly the general input and output branch road of himself correspondence is configured to the identical power control signal of power control signal on each general input and output branch road with the main system control board at step S304.
According to redundancy backup control system of the present invention and power control method thereof, can realize the hot-swap of interface board reliably, make when master/slave state switches, can not exert an influence to whole system.Simultaneously, power control signal has been isolated in the use of optical coupler effectively, makes it to be difficult for being interfered.
Do not depart from the scope of the present invention and conceive, can make multiple change and distortion the present invention.The invention is not restricted to previous embodiment.Scope of the present invention is limited by appended claims.