Summary of the invention
The object of the present invention is to provide a kind of cascade system and method that realizes automatic line bridging, can solve better under subelement power down of prime function or unusual situation, a back level function subelement can't be worked, and influences the problem of system's operate as normal.
According to an aspect of the present invention, provide a kind of cascade system that realizes automatic line bridging, described cascade system comprises the function subelement of central controller, a plurality of cascades, and each described function subelement comprises:
The microcontroller module when being used for the results abnormity when the environment monitoring board heartbeat detection of functional subunit, sends the bridge joint control information;
Driver module is used for producing the bridge joint drive signal according to receiving the bridge joint control information that described microcontroller module sends;
The circuit handover module is used for the bridge joint drive signal according to described driver module transmission, and next stage function subelement is bridged to upper level function subelement or described central controller by transmission line, realizes the automatic bridge joint of circuit.
Wherein, described microcontroller module in the result of the result of functional subunit environment monitoring board power-on self-test or heartbeat detection just often sends straight-through control information, controls described driver module and produces straight-through drive signal; Described circuit handover module is directly connected to described functional subunit with described next stage function subelement by transmission line according to the straight-through drive signal of driver module.
When above-mentioned circuit handover module was relay, described relay switched to normally-closed contact according to the bridge joint drive signal that described driver module sends, and connected the transmission line of next stage function subelement and upper level function subelement or described central controller; Described relay can also switch to normally opened contact according to the straight-through drive signal of described driver module, connects the transmission line of next stage function subelement and functional subunit.
When above-mentioned circuit handover module is the electronics toggle switch, the bridge joint drive signal that described electronics toggle switch sends according to described driver module, the transmission line of connection next stage function subelement and upper level function subelement or described central controller; Described electronics toggle switch can also be connected the transmission line of next stage function subelement and functional subunit according to the straight-through drive signal of described driver module.
According to a further aspect in the invention, provide a kind of Cascading Methods that realize automatic line bridging, described method comprises the steps:
Cascade system powers on, when the result of the environment monitoring board power-on self-test of functional subunit just often, the microcontroller module sends straight-through control information, control and driving module produces straight-through drive signal, drives described circuit handover module described next stage function subelement is directly connected to functional subunit by transmission line;
Set up the heartbeat detection mechanism of described master control borad and described environment monitoring board, detect the health status of described master control borad and described environment monitoring board;
When the results abnormity of described heartbeat detection, the microcontroller module sends the bridge joint control information, control and driving module produces the bridge joint drive signal, drives described circuit handover module described next stage function subelement is bridged to described upper level function subelement or central controller by transmission line.
Wherein, heartbeat detection mechanism is judged the health status of described master control borad and/or described environment monitoring board by detecting described master control borad and/or the temperature of described environment monitoring board or the signal of input/output port according to the signal of described temperature or input/output port.
Said method also comprise the steps: when the result of described heartbeat detection just often, the microcontroller module sends straight-through control signal, control and driving module produces straight-through drive signal, drives described circuit handover module described next stage function subelement is directly connected to described functional subunit by transmission line.
When wherein the circuit handover module was relay, described relay was used for when switching to normally-closed contact described next stage function subelement is bridged to described upper level function subelement or central controller by transmission line; Described relay is used for when switching to normally opened contact described next stage function subelement is directly connected to described functional subunit by transmission line.
Compared with prior art, beneficial effect of the present invention is: by the circuit handover module when functional subunit breaks down, the function subelement of back level is bridged to central controller or upper level function subelement, the coverage of fault is dwindled, improved the operational reliability of system.
Embodiment
, should be appreciated that following illustrated preferred embodiment only is used for description and interpretation the present invention, and be not used in qualification the present invention a preferred embodiment of the present invention will be described in detail below in conjunction with accompanying drawing.
Fig. 2 has shown a kind of wiring principle that realizes the cascade system of automatic line bridging that the embodiment of the invention provides, as shown in Figure 2, when shown in cascade system when not powering on, function subelement 2 is bridged to central controller by transmission line; When the result of described function subelement 1 power-on self-test just often, the control electronic switch, this moment, the function subelement 2 was directly connected to function subelement 1; When described function subelement 1 carried out the results abnormity of heartbeat detection, the control electronic switch was bridged to central controller with function subelement 2 by transmission line, has realized the automatic bridge joint of circuit; The result who carries out heartbeat detection when described function subelement 1 just often, the control electronic switch is connected to function subelement 1 with function subelement 2 by transmission line.
Should be noted that, Fig. 2 is by increasing the realization principle that electronic switch illustrates the cascade system that the embodiment of the invention provides visually on transmission line, be to be understood that, when specific implementation, the wiring of cascade system is change not, just the automatic bridge joint by 1 circuit handover module specific implementation circuit in the function subelement.Fig. 2 for convenience of description in addition, be that function subelement 1 and function subelement 2 illustrate only by two function subelements, when described function subelement has when a plurality of, its wiring situation and the like, when one of them function subelement (functional subunit) when breaking down, the control electronic switch is bridged to upper level function subelement with next stage function subelement.
The module map of function subelement in a kind of cascade system that realizes automatic line bridging that Fig. 3 has shown that the embodiment of the invention provides, as shown in Figure 3, described function subelement comprises microcontroller module 10, driver module 20 and circuit handover module 30.
Before cascade system did not power on, described circuit handover module 30 was in bridge status, was about to next stage function subelement and was bridged to upper level function subelement or central controller by transmission line.
Cascade system powers on, the environment monitoring board of described function subelement carries out power-on self-test, when the master control borad and the described environment monitoring board of described function subelement is normally, be self check the result just often, microcontroller module 10 sends straight-through control information to described driver module 20, described driver module 20 produces straight-through drive signal according to the straight-through control information that receives, and described circuit handover module 30 is directly connected to described function subelement with next stage function subelement by transmission line according to straight-through drive signal.
Described environment monitoring board is set up heartbeat detection mechanism, detect the health status of described master control borad and described environment monitoring board, when the results abnormity of described heartbeat detection, microcontroller module 10 sends the bridge joint control information to described driver module 20, described driver module 20 produces the bridge joint drive signal according to the bridge joint control information that receives, described circuit handover module 30 is bridged to upper level function subelement or central controller with next stage function subelement by transmission line according to the bridge joint drive signal, realize the automatic bridge joint of circuit, and notify the described function subelement of described master control borad operation irregularity, and report by the backstage; When the result of described heartbeat detection just often, microcontroller module 10 sends straight-through control information to described driver module 20, described driver module 20 produces straight-through drive signal according to the straight-through control information that receives, and described circuit handover module 30 is directly connected to described function subelement with next stage function subelement by transmission line according to straight-through drive signal.
Fig. 4 has shown a kind of schematic diagram of realizing the cascade system embodiment one of automatic line bridging that the embodiment of the invention provides, as shown in Figure 4, described circuit handover module utilizes relay to realize that described cascade system comprises two function subelements, is elaborated below in conjunction with Fig. 4.
Before cascade system did not power on, described relay was in normally-closed contact, and this moment, circuit was in bridge status, and function subelement 2 is bridged to central controller by transmission line.
Cascade system powers on, the environment monitoring board of function subelement 1 carries out power-on self-test, when the master control borad and the described environment monitoring board of described function subelement 1 is normally, be self check the result just often, the microcontroller module controls driver module of function subelement 1 produces straight-through drive signal (this moment, drive signal was voltage or current signal), drive described relay and switch to normally opened contact, this moment, circuit was in pass-through state, and described function subelement 2 is directly connected to described function subelement 1 by transmission line.
Described environment monitoring board is set up heartbeat detection mechanism, detect the health status of described master control borad and described environment monitoring board, when the results abnormity of described heartbeat detection, the described driver module of microcontroller module controls produces bridge joint drive signal (this moment, drive signal was voltage or current signal), drive described relay and switch to normally-closed contact, this moment, circuit was in bridge status, described function subelement 2 is bridged to central controller by transmission line, realized the automatic bridge joint of circuit, and notify described master control borad described function subelement 1 operation irregularity, and report by the backstage; When the result of described heartbeat detection just often, the described driver module of microcontroller module controls produces straight-through drive signal (this moment, drive signal was voltage or current signal), driving described relay switches to and often leaves a little, this moment, circuit was in pass-through state, and described function subelement 2 is directly connected to described function subelement 1 by transmission line.
Wherein, the protective circuit shown in the figure usually can (Transient VoltageSuppresser TVS), voltage stabilizing didoe etc., be used for preventing the problems such as overtension on the figure circuit, plays the effect of route protection for Transient Voltage Suppressor.
Fig. 5 has shown a kind of schematic diagram of realizing the cascade system embodiment two of automatic line bridging that the embodiment of the invention provides, as shown in Figure 5, described circuit handover module utilizes the electronics toggle switch to realize that described cascade system comprises two function subelements, is elaborated below in conjunction with Fig. 5.
Before cascade system does not power on, electronics toggle switch A cutter is thrown to 4 positions, electronics toggle switch B cutter is thrown to 4 positions, and electronics toggle switch C cutter is thrown to 4 positions, and electronics toggle switch D cutter is thrown to 4 positions, electronics toggle switch E cutter is thrown to 5 positions, electronics toggle switch F cutter is thrown to 5 positions, and electronics toggle switch G cutter is thrown to 8 positions, and electronics toggle switch H cutter is thrown to 8 positions, this moment, circuit was in bridge status, and function subelement 2 is bridged to central controller by transmission line.
Cascade system powers on, the environment monitoring board of function subelement 1 carries out power-on self-test, when the master control borad and the described environment monitoring board of described function subelement 1 is normally, be self check the result just often, the microcontroller module controls driver module of function subelement 1 produces straight-through drive signal, driving electronics toggle switch A cutter throws to 1 position, electronics toggle switch B cutter is thrown to 1 position, described electronics toggle switch C cutter is thrown to 1 position, electronics toggle switch D cutter is thrown to 1 position, electronics toggle switch E cutter is thrown to 5 positions, electronics toggle switch F cutter is thrown to 5 positions, and electronics toggle switch G cutter is thrown to 5 positions, and electronics toggle switch H cutter is thrown to 5 positions, this moment, circuit was in pass-through state, and described function subelement 2 is directly connected to described function subelement 1 by transmission line.
Described environment monitoring board is set up heartbeat detection mechanism, detect the health status of described master control borad and described environment monitoring board, when the results abnormity of described heartbeat detection, the described driver module of microcontroller module controls produces the bridge joint drive signal, driving electronics toggle switch A cutter throws to 4 positions, electronics toggle switch B cutter is thrown to 4 positions, electronics toggle switch C cutter is thrown to 4 positions, electronics toggle switch D cutter is thrown to 4 positions, electronics toggle switch E cutter is thrown to 5 positions, and electronics toggle switch F cutter is thrown to 5 positions, and electronics toggle switch G cutter is thrown to 8 positions, electronics toggle switch H cutter is thrown to 8 positions, this moment, circuit was in bridge status, and described function subelement 2 is bridged to central controller by transmission line, has realized the automatic bridge joint of circuit, and notify described master control borad described function subelement 1 operation irregularity, and report by the backstage; When the result of described heartbeat detection just often, the described driver module of microcontroller module controls produces straight-through drive signal, driving electronics toggle switch A cutter throws to 1 position, electronics toggle switch B cutter is thrown to 1 position, described electronics toggle switch C cutter is thrown to 1 position, electronics toggle switch D cutter is thrown to 1 position, electronics toggle switch E cutter is thrown to 5 positions, electronics toggle switch F cutter is thrown to 5 positions, electronics toggle switch G cutter is thrown to 5 positions, electronics toggle switch H cutter is thrown to 5 positions, and this moment, circuit was in pass-through state, and described function subelement 2 is directly connected to described function subelement 1 by transmission line.
It is noted that the embodiment of the invention is is the explanation that example is carried out with four electronics toggle switchs, the selection of electronics toggle switch type is not limited in this.
Fig. 6 has shown a kind of flow process that realizes the Cascading Methods of automatic line bridging that the embodiment of the invention provides, and as shown in Figure 6, described method comprises the steps:
Step S101, when cascade system did not power on, the circuit acquiescence was in bridge status.
In this step, circuit handover module control circuit is in bridge status, and promptly next stage function subelement is bridged to upper level function subelement or central controller by transmission line.
Step S102, cascade system powers on, and the environment monitoring board of functional subunit carries out power-on self-test.
In this step, power-on self-test is the testing environment monitor board not only, also detects the master control borad of functional subunit by communication link between plate.
Step S103 judges whether the result of self check is normal, if environment monitoring board and master control borad are all normal, and execution in step S104 then, if wherein at least one is undesired, execution in step S108 then.
Step S104, the control circuit handover module switches to pass-through state with circuit.
In this step, the microcontroller module of functional subunit sends straight-through control information, control and driving module produces straight-through drive signal, and the driver circuit handover module switches to pass-through state with circuit, and promptly described next stage function subelement is directly connected to functional subunit by transmission line.
Step S105, environment monitoring board set up the heartbeat detection mechanism of described master control borad and described environment monitoring board, detect the health status of described master control borad and described environment monitoring board.
In this step, the time interval of the mode of regulation heartbeat detection and detection is finished the detection to master control borad and environment monitoring board voluntarily, the mode of described heartbeat detection can be for multiple, for example can utilize temperature sensor, gather the temperature of described master control borad and/or environment monitoring board according to pre-set time interval, by judging whether described temperature surpasses the threshold value of operate as normal, learn whether master control borad and/or described environment monitoring board be healthy, or by detecting the input/output port signal of master control borad and/or environment monitoring board, judge the health status of described master control borad and/or environment monitoring board according to described signal, especially when the signal that detects less than input/output port, be master control borad and/or the unusual a kind of special case of environment monitoring board appearance this moment.
Step S106 judges whether the result of heartbeat detection is normal, if the heartbeat of the heartbeat of environment monitoring board and master control borad is all normal, and execution in step S107 then, if wherein at least one is undesired, execution in step S108 then.
Step S107, the control circuit handover module switches to pass-through state with circuit.
In this step, the microcontroller module of functional subunit sends straight-through control information, control and driving module produces straight-through drive signal, and the driver circuit handover module switches to pass-through state with circuit, and promptly described next stage function subelement is directly connected to functional subunit by transmission line.
Step S108, the control circuit handover module switches to bridge status with circuit.
In this step, the microcontroller module of functional subunit sends the bridge joint control information, control and driving module produces the bridge joint drive signal, the driver circuit handover module switches to bridge status with circuit, and promptly next stage function subelement is bridged to upper level function subelement or central controller by transmission line.
Step S109, the work of environment monitoring board notice master control borad functional subunit occurs unusual, and reports by the backstage.
In sum, the present invention by microcontroller module controls driver module driver circuit handover module when functional subunit breaks down, the function subelement of back level is bridged to central controller or upper level function subelement, realized the automatic bridge joint of circuit, reach the purpose that the coverage of fault is dwindled, improved the operational reliability of system.
Although above the present invention is had been described in detail, the invention is not restricted to this, those skilled in the art of the present technique can carry out various modifications according to principle of the present invention.Therefore, all modifications of doing according to the principle of the invention all should be understood to fall into protection scope of the present invention.