The present disclosure relates to electrical controllers, and more particularly to an electronic control architecture integrating multiple control channels.
Existing electronic controls systems typically utilize multi-channel primary controllers, and a back-up controller to control a device. Under normal fault-free conditions, the primary control controls the plant. The back-up controller assumes control when the primary controllers experience some threshold degree of damage or error that the primary controllers cannot recover from. For example, when both channels have a failure of their primary controllers. Another example is a channel-wide failure such as power supply failure in one channel simultaneous with the other channel's primary controller failing.
Disclosed is a method of controlling a primary microprocessor assumption of control of a device in a multi-channel control device including the steps of entering a control process in one of two possible control states, wherein the two possible control states are a primary microprocessor in-control state and a primary microprocessor not in-control state, evaluating a plurality of conditions dependent upon which of the possible control states is true, entering one of a plurality of actions based on the evaluating of the plurality of conditions, wherein the plurality of actions includes an is channel-in-control output signal false action, a take/keep control action, and a give-up control action, and performing an action in response to entering the one of the plurality of actions.
Also disclosed is a method of controlling a back-up microprocessor assumption of control of a device in a multi-channel control device including the steps of entering a control process in one of two possible control states, wherein the two possible control states are a back-up microprocessor in-control state and a back-up microprocessor not in-control state, evaluating a plurality of conditions dependent upon which of the possible control states is true, entering one of a plurality of actions based on the evaluating of the plurality of conditions, wherein the plurality of actions includes a take/keep control action and a give-up control action, and performing an action in response to entering the one of the plurality of actions.
Also disclosed is an electronic control configuration including at least a first primary control microprocessor and a first back-up control microprocessor operable to control a device, the first primary control microprocessor and the first back-up microprocessor being located in a first control channel, a second control channel including at least one control microprocessor operable to control the device, and each of the first primary control microprocessors and the first back-up control microprocessors being arranged as an independent equivalent control channel.
These and other features of the present invention can be best understood from the following specification and drawings, the following of which is a brief description.
Each of the primary control microprocessors A1, B1 also includes a channel health signal 42, 44 (alternately referred to as a Channel Good Remote signal) connecting the primary control microprocessor A1, B1 to a remote secondary control microprocessor A2, B2, with the secondary control microprocessor B2 being remote to the primary control microprocessor A1 and the secondary control microprocessor A2 being remote to the primary control microprocessor B1. A local channel health signal 60 (alternately referred to as a Channel Good Local signal) connects each of the primary control microprocessors A1, B1 with the corresponding local secondary control microprocessor A2, B2 and performs the same function as the remote channel health signals 42, 44. Each of the two groupings of control microprocessors A1, B1, A2, B2 is connected to the controlled device 20 via a device control signal 70. It is understood that each of the signal lines 30, 42, 44, 60, 70 illustrated in
The control input configuration 300 also includes a control microprocessor in-control logic block 320 that combines a control microprocessor A1 in-control output 360 or a control microprocessor A2 in-control output 361 of the current channel and a general channel-in-control output 332 of the other channel (not illustrated) into a clear latch output 334, 336. The control circuit corresponding to secondary control microprocessor A2 further includes an OR gate 350 that includes inputs of a local channel health signal 337 indicating the health of the primary control microprocessor A1 in the local channel A and a remote health signal 339 indicating the health of the primary control microprocessor B1 in the remote channel B. The OR gate 350 then outputs a high signal indicating that the secondary control microprocessor A2 should not exert control when at least one of the two control microprocessor health inputs 337,339 indicates a healthy local/remote primary control microprocessor or the remote channel-in-control signal 332 indicates that one of the remote control microprocessors B1, B2 is in-control of the controlled device 20. The control microprocessor in-control logic block 320 then uses a logic circuit (illustrated in
For redundancy, to prevent the primary control microprocessor A1, B1 and the secondary control microprocessor A2 B2 within the same control channel from attempting to be in-control simultaneously, key signals from the switchover logic are wrapped-around to both control microprocessors A1, A2. These include but are not limited to the outputs of latching Boolean gate 321 (A1 control microprocessor in-control 360 and A2 control microprocessor in-control 361), the channel-in-control signal 333 and the remote channel-in-control 332. In addition, these wraparound signals provide fault detection capability.
The output of the AND gate 354 is passed to an OR gate 352 that additionally accepts an inverted input 362, 363 corresponding to a health of the control microprocessor A1 or A2. The input 362, 363 can either originate from the control microprocessor A1, A2 or from independent health logic. If the input 362, 363 indicates that the control microprocessor A1, A2 is not healthy, the enable is set false and control is taken away from the control microprocessor A1, A2. Specifically, the OR gate combines the output of the AND gate 354 and the input 362 to generate a clear latch output that is capable of deactivating the A1 control microprocessor in-control or the A2 control microprocessor in-control outputs from logic block 321.
The OR gate 380 connects to an input of the logic block 320 corresponding to the primary control microprocessor A1, and provides an OR operation on the control microprocessor A2 in-control output 361 input and the general channel-in-control output 332 of the other channel B, with one input to the logic block 382 being the output of the OR gate 380 operation. In the illustrated example of
The AND gate 391 receives a general channel-in-control signal 333 that is passed from the illustrated channel A to the other channel B as a first input, and an inverted control microprocessor A2 in-control output 361 as a second input. When the general channel-in-control signal 333 is true and the control microprocessor A2 in-control output 361 is false, the AND gate 391 outputs true on an AND gate output 392. The AND gate output 392 provides an additional input to the OR gate 350, which in turn provides the input 370 of the logic gate 320 corresponding to the back-up control microprocessor A2.
The additional input of the AND gate 391 alters the OR gate 350 output to be high when at least one of the two control microprocessor health inputs indicates a healthy control microprocessor, or the remote channel-in-control signal 332 indicates that one of the remote control microprocessors B1, B2 is in-control of the controlled device 20 or the general channel-in-control signal 333 indicates that the illustrated channel is in-control and the control microprocessor A2 in-control output 361 of the current channel indicates that the back-up control microprocessor A2 is not in-control. That is, the primary control microprocessor A1, is in-control while the back-up control microprocessor A2 is not in-control.
As described above the combined effect of the additional OR gate 380 and the additional AND gate 391 logic is to provide a hardware lockout that prevents the primary control microprocessor A1 of the illustrated channel from taking control when the back-up control microprocessor A2 of the illustrated channel is in-control and vice versa.
The illustrated control circuit 300 of
In the example of
By combining the redundant microprocessor in-control logic blocks 394/395 and the redundant channel-in-control logic block 396, the redundant channel-in-control logic block 396 outputs a signal indicating that the illustrated channel is in-control even if one of the logic elements in the redundancy includes a fault such that one of the four signals (360a, 360b, 361a, 361b) is failed True. In this way, the back-up microprocessor A2 is prevented from taking control in a situation where the microprocessors A1, A2 are functioning properly and a fault has occurred within the microprocessor in-control signal logic.
Referring again to
The highest priority condition 812 is when local channel primary control microprocessor A1 is healthier than a remote channel primary control microprocessor B1, then the software proceeds to a control action 830. If the cross-channel data link is not valid, the local channel primary control microprocessor A1 uses the last health value received from B1. If the highest priority condition is not met, then the software checks condition 814 as the second highest priority condition. The second highest priority condition 814 is met when both channels A and B (See
Beginning in the A1 not in-control state 820 leads to four possible conditions 822, 824, 826, 828. The highest priority condition, 822 is met when the remote channel B is in-control as indicated by an in-control from remote signal 332 or a flag from the remote channel B via a cross channel data link indicating the remote channel is in-control. The highest priority condition 822 is also met if the local primary microprocessor A1 has had control within a set time period. In one example the set time period is 48 milliseconds. When the highest priority condition 822 is met, the software proceeds to the give-up control action 850. If the highest priority condition 822 is not met, the software checks the second highest priority condition 824. The second highest priority condition 824 is met when the back-up microprocessor A2 is in-control, and the remote channel B is not in-control. When the second highest priority condition 824 is met, and the highest priority condition 822 is not met, the software proceeds to the give-up control action 850. When neither the first highest, nor the second highest, priority conditions 822, 824 are met, the software checks the third highest condition 826. The third highest condition 826 is met when the local primary microprocessor controller has a better health than the latest determined remote primary microprocessor controller health. If the cross-channel data link is not valid, A1 uses the last health value received from B1. When this condition 826 is met, the software proceeds to a delay action 860, where further action is delayed for a set period of time. After the delay, the software proceeds to the second take/keep control action 840. In one example the delay time period is 10 microseconds.
The lowest priority condition 828 is met when none of the higher priority conditions 822, 824 and 826 are met. When the lowest priority condition 928 is met, the software proceeds to the give-up control action 850.
Once in the first take/keep control action 840, the software proceeds to set a wrap around in-control flag as false. Once in the second take/keep control action 840, the software proceeds to set the primary microprocessor A1 as in-control in a set primary microprocessor as in-control action 890.
Once in the give-up control action 850, the software proceeds to disable the corresponding stepper motor H-bridge and set the primary controller as not in-control in the set primary microprocessor A1 as not in-control action 880.
Returning back to control action 830, A1 evaluates the channel-in-control output to the remote channel and checks for a False condition. If False, the software proceeds to set Channel-In-control Wraparound Fault Flag to True. The software then disables a corresponding stepper motor H-bridge and sets the primary controller A1 as not in-control in a set primary microprocessor A1 as not in-control action 880. If True, the software proceed to the take/keep control action 840.
From both the set primary microprocessor A1 as not in-control action 880 and the set primary microprocessor as in-control action 890 the control assumption software process ends.
The highest priority condition 914 is met when either the back-up microprocessor A2 is not healthy enough to control or a local hardware wraparound fault exists within the local channel A such that a wraparound indicates that A2 is not in-control or should not be in-control. When the highest priority condition 914 is met the software proceeds to the give-up control action 940. When the highest priority condition 914 is not met, the software evaluates the second highest priority condition 916.
The second highest priority condition 916 is met when either both channels are in-control and the channel designation is A, or the remote channel is not in-control. When the second highest priority condition 916 is met and the first highest priority condition 914 is not met, the software proceeds to a take/keep control action 930.
The lowest priority condition 918 is met when none of the higher priority conditions 914, 916 are met. When the lowest priority condition 918 is met, the software proceeds to the give-up control action 940.
If the software begins in the back-up microprocessor is in-control state 920 there exist two possible conditions 922, 924. The highest priority condition 922 is met when all the following are True: the remote channel B is not channel-in-control, the Remote Channel Good signal is False (the remote primary microprocessor control B1 in channel B is not healthy), the Local Channel Good signal is False (the local primary microprocessor control A1 in channel A is not healthy), there is no critical fault in the back-up microprocessor A2, the back-up microprocessor A2 is not disabled, the time since power-up is greater than a startup period and the back-up microprocessor has not been in-control for a set time period. In one example the startup period is two seconds. The startup period allows the primary microprocessors A1, B1 a chance to take control before the back-up microprocessors A2, B2 do so. That is, on power-up, the preferred controls are the primary as opposed to the back-up microprocessor controls assuming the primary microprocessor controls are healthy. In another example the set time period is 48 milliseconds. The set time periods gives the remote back-up microprocessor control B2 an opportunity to take control. If the remote back-up microprocessor B2 does not take control within the set time period, the remote primary microprocessor B1 has the option to take back control if it is healthy enough to do so. When the highest priority condition 922 is met, the software proceeds to the take/keep control action 930.
When the highest priority condition 922 is not met, the software proceeds to the give-up control action 940.
From the take/keep control action 930, the software runs the stepper motor H-bridges normally, controlled by the back-up microprocessor A2 in a run stepper motor H-bridges normally action 950. Similarly, from the give-up control action 940, the software disables the back-up microprocessor A2 H-bridge controls in a disable stepper motor H-bridges action 960.
From either the run stepper motor H-bridges normally action 950 or the disable stepper motor H-bridges action 960, the back-up microprocessor A1 control assumption process ends.
While each of the above control assumption processes 800, 900 are illustrated with regards to a primary Channel A, and a secondary channel B, it is understood that they could be adapted according to known methods to incorporate additional channels beyond two channels or to identify any channel as the channel-in-control channel. Furthermore, while the above described control assumption processes 800, 900 are described in terms of a software control scheme, it is understood that they could similarly be implemented using hardware logic.
Although an embodiment of this invention has been disclosed, a worker of ordinary skill in this art would recognize that certain modifications would come within the scope of this invention. For that reason, the following claims should be studied to determine the true scope and content of this invention.
This application is a divisional of U.S. patent application Ser. No. 15/682,717 filed on Aug. 22, 2017. U.S. patent application Ser. No. 15/682,717 is a continuation of U.S. Pat. No. 9,772,615, issued Sep. 26, 2017.
Number | Name | Date | Kind |
---|---|---|---|
3978659 | Smith et al. | Sep 1976 | A |
4029952 | Giras et al. | Jun 1977 | A |
4521871 | Galdun et al. | Jun 1985 | A |
4562528 | Baba | Dec 1985 | A |
4797884 | Yalowitz et al. | Jan 1989 | A |
4890284 | Murphy et al. | Dec 1989 | A |
4937777 | Flood et al. | Jun 1990 | A |
5128943 | Tulpule et al. | Jul 1992 | A |
5192873 | Wrenbeck et al. | Mar 1993 | A |
5274554 | Takats et al. | Dec 1993 | A |
5279107 | Meisner et al. | Jan 1994 | A |
6440280 | Burton | Aug 2002 | B1 |
20110087343 | Kamenetz et al. | Apr 2011 | A1 |
20130076291 | Kamenetz et al. | Mar 2013 | A1 |
20130079902 | Kamenetz et al. | Mar 2013 | A1 |
Number | Date | Country |
---|---|---|
19814096 | Oct 1999 | DE |
2573629 | Mar 2013 | EP |
2573636 | Mar 2013 | EP |
2573933 | Mar 2013 | EP |
Entry |
---|
European Search Report for European Patent Application No. 14165781.7. |
Number | Date | Country | |
---|---|---|---|
20190250574 A1 | Aug 2019 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 15682717 | Aug 2017 | US |
Child | 16395628 | US |
Number | Date | Country | |
---|---|---|---|
Parent | 13887561 | May 2013 | US |
Child | 15682717 | US |