Field of Invention
The present invention relates in general, to signal selection and fault detection within control systems and more particularly, to a digital control system for selecting a valid signal from two or more redundant sensors.
Background of the Invention
In control systems, and particularly in control systems in the aviation art, redundant channel signal processing is frequently used to increase the reliability and safety of the system. In aircraft engine applications digital control systems may be used, for example, to regulate steady-state and transient power output over the available power range, to maximize engine cycle efficiency, to provide the required thrust response during power changes, and to provide stable operation under all operating conditions.
Digital control systems are trending towards the use of more sensors to improve the system's availability and performance through redundancy. To validate signals, validity tests must be performed on each sensor signal and their results must be processed by selection logic. Current systems achieve noise immunity and tolerance to intermittent failures by, for example, scattering persistence counters and latches throughout the validity tests and selection logic. Current systems may also tailor the validity logic design to the needs of each sensor. The result has been a very rapid increase in the size and complexity of the logic used to validate signals. There is a need for a signal validation strategy which can handle noise and different kinds of failures with reduced overall complexity. Furthermore, there is a need for a signal validation method flexible enough to handle various kinds of sensors.
U.S. Pat. No. 4,916,612 to Chin et al discloses an approach for providing a signal selection and fault detection system that is fail operative. In this system, the outputs from a pair of sensors are received by a midvalue selector. The midvalue selector also receives a third input that is representative of the sensed condition. In a normal mode of operation i.e., when neither of the first and second redundant input signals has failed, or is about to fail, the third input signal is produced by a normal mode complementary filter. This filter integrates a condition rate signal that is representative of the rate of change of the condition. When a failure condition occurs the output of a failure mode complementary filter is substituted for the output of the normal mode complementary filter as the third input to the midvalue selector.
While the control system described in the aforementioned patent may have been suitable for aircraft systems, it may not be suitable for other applications, e.g. aircraft engines for various reasons. Firstly, the coupling of the selection logic to the fault logic may require a redesign of the logic structure if the control system is to be used in other areas of technology. Secondly, in expanding the control system for selecting valid signals from among several sensors, i.e. three or more, the size and complexity of the logic required for the system may rapidly increase. Thirdly, the control system does not include a means for restoring a signal once it has been declared failed. Electrical failures are often temporary and the failed component may resume proper operation after failing for a short period. A fault detection method which cannot restore a signal after a fault may not regain the advantages of full redundancy when it is available.
Summary of the Invention
The present invention provides an apparatus for selecting a valid signal from a plurality of redundant sensor signals wherein the sensor signals may include a plurality of measured and modelled signals. The apparatus comprises a means for generating a plurality of first pass/fail signals by performing tests on the sensor signals. The apparatus further comprises means for assigning a plurality of weighted values to each of the measured sensor signals according to the first and second pass/fail signals wherein the second pass/fail signals are initialized as pass signals. The apparatus further comprises a means for summing the weighted values for each measured sensor signal and generating second pass/fail signals for each measured sensor signal. A means for assigning selection flags to each of the sensor signal according to the first and second pass/fail signals and a means for selecting the valid signal from the selection flags are also included.
The present invention provides a method for selecting a valid signal from a plurality of redundant signals wherein the sensor signals may include a plurality of measured and modelled signals. The method comprises the steps of 1) performing a series of tests on a plurality of sensor signals to obtain first pass/fail signals for each sensor signal 2) assigning a plurality of weighted values to each measured signal according to the first and second pass/fail signals wherein the second pass/fail signals are initialized as pass signals. The method further comprises the steps of 3) summing the weighted values for each measured sensor signal and 4) generating second pass/fail signals for each measured sensor signal according to the sum of their weighted values. The method further comprises the steps of 5) assigning a plurality of selection flags according to the first and second pass/fail signals for each of the sensor signals and 6) selecting a valid signal according to the selection flags.
Brief Description of the Drawings
The novel features of the invention are set forth with particularity in the appended claims. The invention, both as to organization and method of operation, together with further objects and advantages thereof, will be more fully understood from the following detailed description taken in conjunction with the accompanying drawings in which:
FIG. 1 is a block diagram illustrating an embodiment of the filtered signal validation apparatus according to the present invention.
FIG. 2 is a flow chart illustrating an embodiment of the filtered signal validation method according to the present invention.
Detailed Description of the Invention
FIG. 1 illustrates a block diagram of a preferred embodiment of the filtered signal validation apparatus according to the present invention. The apparatus comprises test circuits (106-110) for performing a series of tests on measured signals (101,102) and for example a modelled signal 103 to obtain first pass/fail signals (111-115). It will be apparent to those skilled in the art that signal 103 may be, for example, a third measured signal. The apparatus further comprises validation logic 116 for assigning weighted values (120,121) to each measured signal (101,102) and selection flags (117-119) to each measured signal (101,102) and modelled signal 103 according to first (111-115) and second (124,125) pass/fail signals wherein second pass/fail signals are initialized as "pass" signals (124,125). The apparatus further comprises validity filters (122,123) for summing weighted values (120,121) with previously stored weighted values (120,121) for each measured signal (101,102) wherein each validity filter (122,123) is associated with a measured signal (101,102). Second pass/fail signals (124,125) are generated by each validity filter (122,123) according to the sum of the weighted values (120,121) in each validity filter (122,123) wherein second "fail" signals (124,125) are generated when the sum of the weighted values (120,121) in each validity filter (122,123) reaches a predetermined value. The apparatus further comprises selection logic for selecting valid signal 105 according to selection flags (117-119).
In the preferred embodiment, three sensor signals are used. Two sensor signals are measured signals (101,102) while the third signal is a modelled signal 103. Test circuits (106,107) may perform range/rate tests on measured signals (101,102). Test circuits (106,107) may also include an activity test to determine whether or not measured signals (101,102) have been updated. Test circuits (108-110) may perform comparison tests to compare each measured signal (101,102) with modelled signal 103 and to compare measured signal 101 with measured signal 102. The results of the range/rate and comparison tests are pass/fail signals (111-115). Validation logic 116 assigns weighted values (120,121) to each measured signal (101,102) according to the first (111-115) and second (124,125) pass/fail signals wherein second pass/fail signals are initialized as "pass" signals. Validation logic 116 also assigns selection flags (117-119) to each measured signal (101,102) and modelled signal 103 according to the first (111-115) and second (124,125) pass/fail signals. Validity filters (122,123) sum weighted values (120,121) with previously stored weighted values (120,121) for each measured signal (101,102). Second pass/fail signals (124,125) for each measured signal (101,102) are generated by each validity filter (122,123) according to the sum of the weighted values (120,121) in each validity filter (122,123) wherein second "fail" signals (124,125) are generated when the sum of the weighted values (120,121) in each validity filter (122,123) reaches a predetermined value. Selection logic 104 selects valid signal 105 according to selection flags (117-119). Compute delays (126,127) are shown to indicate that second pass/fail signals (124,125) from the prior valid signal selection are inputted into validation logic 116. Consequently, validation logic 116 may assign selection flags (117-119) for the current valid signal selection.
As described in the aforementioned paragraphs, second pass/fail signals (124,125) are initialized as "pass" signals (124,125) and will remain in the "pass" condition until the sum of the weighted values (120,121) in the respective validity filters (122,123) reaches a predetermined value. If one of the second pass/fail signals is set to a "fail" signal it will remain in the "fail" condition until the sum of the weighted values (120,121) in the corresponding validity filter is decremented to its initial value. In this manner the present invention allows for a filtered or delayed reset of a failure condition after it has been detected.
The filtered reset feature is a result of the signal tests (106-110), the assigning of weighted values (120,121), and the summation of the weighted values in validity filters (122,123) continuing even after a fail condition has been declared by the second pass/fail signals (124,125). The total number of times a second pass/fail signal (124,125) can be restored from a "fail" to a "pass" condition is limited by the validity filters (122,123) by using counters which are incremented each time the second pass/fail signal (124,125) is restored. Thus an intermittent measured signal (101,102) which fails repeatedly in a given period of time eventually generates a latched second "fail" signal (124,125).
The present invention has an upper and lower limit on the summation of the weighted values (120,121) in validity filters (122,123). In the preferred embodiment, these limits are equal to the predetermined value at which a failure is declared and the initialized value, respectively. It would be obvious to those skilled in the art that these upper and lower limits may be assigned different values according to the particular application of the control system.
FIG. 2 illustrates a flow chart of a preferred embodiment of the filtered signal validation method according to the present invention. The method comprises the step 1 of performing a series of tests on sensor signals to obtain first pass/fail signals and the step 2 of assigning weighted values to each sensor signal according to first and second pass/fail signals wherein second pass/fail signals are initialized as "pass" signals. The method further comprises the step 3 of summing weighted values for each sensor signal with previously assigned weighted values and the step 4 of generating second pass/fail signals according to the sum of the weighted values for each sensor signal. The method further comprises the step 5 of assigning selection flags for each sensor signal according to the first and second pass/fail signals and the step 6 of selecting a valid signal according to selection flags.
In the preferred embodiment second "fail" signals are generated when the sum of the weighted values for the corresponding sensor reaches an upper limit. Second "pass" signal are generated when the sum of the weighted values for the corresponding sensor reaches a lower limit. These limits are equal to the predetermined value at which a failure is declared and the initialized value, respectively. The total number of times a second pass/fail signal can be restored from a "fail" to a "pass" condition is limited and thus, an intermittent measured signal which fails repeatedly in a given period of time eventually generates a latched second "fail" signal.
The present invention thus provides a method and an apparatus for selecting a valid signal from a plurality of redundant sensor signals. The invention may be easily modified to accommodate different sensor types and different amounts of sensor signals. For example, for a triplex redundant system, the modelled signal may be a third sensor. Thus, extra signal tests and an extra validity filter may be added. For larger multiredundant systems several extra signal tests maybe added to the control system. However, for each added measured signal one validity filter may added to the control system for the expansion.
While preferred embodiments of the present invention have been shown and described herein, it will be obvious to those skilled in the art that such embodiments are provided by way of example only. Numerous variations, changes, and substitutions will now occur to those skilled in the art without departing from the invention. Accordingly, it is intended that the invention be limited only by the spirit and scope of the appended claims.