This invention relates to fault detection in electrical circuits, in particular it relates to fault detection for a plurality of adjacent input circuits.
In safety control systems, fault tolerance is of utmost importance. Fault tolerance is the ability to continue functioning in the event of one or more failures within the system.
Fault tolerance may be achieved by a number of different techniques, each with its specific advantages and disadvantages. One example of fault tolerance is known as Hardware Implemented Fault Tolerance (HIFT). HIFT means that the system relies on robust hardware circuits (as opposed to complex software algorithms) to perform the fault detection and redundancy management functions. A significant advantage HIFT has over software-implemented fault tolerance is that HIFT eliminates the overhead for communications between processors, leaving more time for controlling the process. This makes HIFT systems significantly faster and more dependable than systems using software-implemented fault tolerance.
An example of a HIFT system is a system which provides redundancy, in particular Triple Modular Redundancy (TMR). Using TMR, critical circuits are triplicated and perform identical functions simultaneously and independently. The data output from each of the three circuits is voted in a majority-voting circuit, before affecting the system's outputs. If one of the triplicated circuits fails, its data output is ignored. However, the system continues to output to the process the value (voltage, current level, or discrete output state) that agrees with the majority of the functional circuits. TMR provides continuous, predictable operation.
HIFT and TMR provides for automatic fault recovery with no disruption to system operation and ensures minimal fault detection periods.
Another approach to fault tolerance is the use of hot-standby modules. This approach provides a level of fault tolerance whereby the standby module maintains system operation in the event of module failure. With this approach there may be some disruption to system operation during the changeover period if the modules are not themselves fault-tolerant.
Fault tolerant systems ideally create a Fault Containment Region (FCR) to ensure that a fault within the FCR boundary does not propagate to the remainder of the system. This enables multiple faults to co-exist on different parts of a system without affecting operation.
Fault tolerant systems generally employ dedicated hardware and software test and diagnostic regimes that provide very fast fault recognition and response times to provide a safer system.
Commonly, it is possible to repair faults without interrupting system operation (known as hot replacement). For example active and standby module may operate in parallel so that if an active module becomes faulty there is an automatic change over to a standby module.
Safety control systems are generally designed to be ‘fail-operational/fail-safe’. Fail operational means that when a failure occurs, the system continues to operate: it is in a fail-operational state. The system should continue to operate in this state until the failed module is replaced and the system is returned to a fully operational state.
An example of fail safe operation occurs, for example if, in a TMR system, a failed module is not replaced before a second failure in a parallel circuit occurs, the second failure should cause the TMR system to shut down to a fail-safe state.
Typical safety control applications include emergency and safety shutdown systems, process control, reactor control, wellhead control, turbine and compressor control, fire and gas detection and abatement, and are applicable to many industries including oil and gas production and refining, chemical production and processing, power generation, paper and textile mills and sewage treatment plants.
According to the invention there is provided a method of testing an input circuit comprising the steps of: generating a periodic test signal having a predetermined phase and a predetermined amplitude; summing the test signal and an input signal to provide a summed signal; processing the summed signal to provide an output signal; generating an extracted test signal from the output signal; comparing the extracted test signal with a reference signal representing said periodic test signal; generating an error signal in dependence upon the result of said comparing step.
Preferably the test signal comprises a symmetrical signal having a test signal period and in which the output signal is sampled at intervals of a sample period and averaged over a moving average period equal to an integer multiple of the test signal period and in which the sample period is such that the average value of the contribution from the symmetrical test signal over said moving average period is equal to zero.
In a preferred embodiment the test signal is a sinusoidal signal.
Preferably a first test signal used to test a first input circuit is arranged to have as great a phase separation as possible from a second test signal used to test a second adjacent input circuit.
According to another aspect of the invention there is provided a method of detecting in input fault in replicated input circuits in which the replicated input circuits are all arranged to receive a single input signal, the method comprising the steps of: generating an error signal for each replicated circuit as described previously, and wherein a test signal for each replicated input circuit is arranged to have a small frequency difference with a test signal for each other replicated circuit such that in the event of one of the input circuits having an open circuit input the resulting output signal will exhibit a significant amplitude variation due to said test signals beating against one another.
Preferably. the frequency difference between the test signals for replicated input circuits is substantially equal to 0.2%.
According to another aspect of the invention there is also provided n apparatus for testing an input circuit comprising: means for generating a periodic test signal having a predetermined phase and a predetermined amplitude; an adder for summing the test signal and an input signal to provide a summed signal; means for processing the summed signal to provide an output signal; means for generating an extracted test signal from the output signal; a comparator for comparing the extracted test signal with a reference signal representing said periodic test signal and for generating an error signal in dependence upon said comparison.
The invention will now be described, by way of example only, with reference to the accompanying drawings in which:
a to 4d illustrates tests signals before and after low pass filtering;
Referring now to
If an internal circuit in the system fails, it is simply voted out. Comprehensive distributed voting both out-votes failures, preventing them from being propagated into the process, and simplifies the process of identifying where faults have occurred by means identifying the source of a discrepant value.
For safety systems it is beneficial for line monitored analogue and digital input modules to detect open circuit faults between the Field Termination Assembly (FTA) and the input module itself. The requirement also exists that any fault in the components of each input circuit should be detectable.
The sigma-delta A/D converter 10 comprises an integrator 11, a one-bit A/D converter 13 and a one-bit D/A converter 14. A test signal DTEST is converted by a one-bit D/A converter 15 and connected to a first input of the integrator 11 via an RC low pass filter 16. An input scaling resistor RIN connects an input VIN of the module to a second inverting input of the integrator 11. The output of the integrator 11 is converted to a digital output by the one-bit A/D converter 13. The one-bit D/A converter 14 feeds back an analogue version of the digital output to the inverting input via a feed back resistor RFB.
Generation of test signal DTEST will now be described, with reference to
It is an advantage if the data stream is divided into segments which are averaged in order to remove the test signal from the final output signal. In the preferred embodiment the system provides a new input channel result every millisecond. The final result is a boxcar average of the four previous results. The test signal is programmed to periodically repeat at a four millisecond rate, so that it is effectively eliminated from the output signal.
In other embodiments the test signal repeats at a frequency equal to or an integral multiple of the frequency of a moving average (or boxcar) function and the sample period is arranged such that the average of the test signal over the moving average period is equal to zero.
Because of the symmetry of a sinusoidal test signal numerous arrangements are possible. Examples of possible arrangements are shown in
It will be appreciated that other forms of periodic test signal could also be use so long as the sample frequency and sample period is arranged such that the resulting average of the contribution by the test signal is equal to zero.
Referring now to
The test signal is extracted by sending quadrant samples Sample(0), Sample(1), Sample(2), Sample(3) to a Discrete Fourier Transformer (DFT) 704. In the preferred embodiment a simple four point DFT is used so:
SIGNALRE=Sample(0)−Sample(2)
SIGNALIM=Sample(1)−Sample(3)
Although in other embodiments using more samples more complex DFT calculations will be required.
A polar co-ordinate generator 705 generates the phase and magnitude of the test signal for comparison with previously stored reference signals 706. A comparator 707 continuously compares the measured test signal with the reference value and generates an error condition in the event that an error is detected.
The test signals are calibrated by connecting all the inputs to a low resistance source and measuring the test signal amplitudes and phases for several seconds. These values are stored in the test signal reference memory 706 for continuous comparison during normal operating mode (see
If two separate input channels become shorted together, then the phase and magnitudes of their measured test signals deviate from the stored reference values and this is reported as a channel independence fault. Since adjacent channels are more likely to short together than non adjacent channels, a mapping function block 34 shown in
The three slices are connected together and to VIN at their input resistors. If the wire between the input module and the FTA is broken, then this junction is a high impedance, and the test signal from each slice is imposed upon it. The frequencies of operation of each slice are shifted by 0.2% from each other by virtue of a programmable frequency synthesizer in the FPGA. When an input is floating the test signals of all the slices that are connected to the input node (and are powered up) beat against each other, ie because of the similarity of the phase a distinctive variation in amplitude of the combined signal is observed, creating a pattern that is easily recognisable. This is shown in
One feature of this approach is that when standby modules are inserted in parallel to the active module, and six slices are connected to each input, the beat frequency signal components become greater because each of the six slices is running at its own unique frequency.
The technique described here uses a continuous test signal with a unique phase and frequency for each input channel of each triplicated slice. The phase and amplitude of the test signals are extracted via quadrature signal processing and compared to stored reference values. By performing simple statistical analysis on the test signal phase and magnitude variation history it is possible to identify input channel slices that have open input faults, channel independence faults, as well as other component failures.
It is to be recognised that various alterations, modifications, and/or additions may be introduced into the constructions and arrangements of parts described above without departing from the scope of the present invention as defined in the following claims.
Number | Date | Country | Kind |
---|---|---|---|
06114800 | May 2006 | EP | regional |
This application is related to and claims priority from U.S. Provisional Application No. 60/785,537 filed Mar. 24, 2006 entitled Fault Detection and Apparatus, which is incorporated fully herein by reference.
Number | Name | Date | Kind |
---|---|---|---|
3582974 | Favin et al. | Jun 1971 | A |
3639778 | Cereghino et al. | Feb 1972 | A |
4535378 | Endo et al. | Aug 1985 | A |
4539683 | Hahn et al. | Sep 1985 | A |
4679028 | Wilson et al. | Jul 1987 | A |
4866449 | Gaffney | Sep 1989 | A |
5068657 | Tsai | Nov 1991 | A |
5128625 | Yatsuzuka et al. | Jul 1992 | A |
5293082 | Bathaee | Mar 1994 | A |
5324989 | Thornton | Jun 1994 | A |
5552881 | Jezwinski et al. | Sep 1996 | A |
5594439 | Swanson | Jan 1997 | A |
5621603 | Adamec et al. | Apr 1997 | A |
5774321 | Kim et al. | Jun 1998 | A |
5847558 | McGuire et al. | Dec 1998 | A |
5867014 | Wrathall et al. | Feb 1999 | A |
5896263 | Terdan et al. | Apr 1999 | A |
5909660 | Foote et al. | Jun 1999 | A |
5995914 | Cabot | Nov 1999 | A |
6061006 | Hopkins | May 2000 | A |
6125024 | LeComte et al. | Sep 2000 | A |
6320283 | Salim et al. | Nov 2001 | B1 |
6351835 | Sakaguchi | Feb 2002 | B1 |
6400163 | Melcher et al. | Jun 2002 | B1 |
6459599 | Agirmann et al. | Oct 2002 | B1 |
6557131 | Arabi | Apr 2003 | B1 |
6594129 | Baba et al. | Jul 2003 | B1 |
6653963 | Barrenscheen et al. | Nov 2003 | B1 |
6657464 | Balardeta et al. | Dec 2003 | B1 |
6768350 | Dickey | Jul 2004 | B1 |
7159159 | Sunter | Jan 2007 | B2 |
20030011353 | Whitehead et al. | Jan 2003 | A1 |
20030043521 | Thiele | Mar 2003 | A1 |
20030063679 | Scrofano | Apr 2003 | A1 |
20030110427 | Rajsuman et al. | Jun 2003 | A1 |
20040125007 | Pezzini | Jul 2004 | A1 |
20050135037 | Thiery et al. | Jun 2005 | A1 |
20050154945 | Haag et al. | Jul 2005 | A1 |
20050174273 | Luo et al. | Aug 2005 | A1 |
20050248477 | Jongsma et al. | Nov 2005 | A1 |
20060061303 | Takeda et al. | Mar 2006 | A1 |
20060174177 | Weinstein et al. | Aug 2006 | A1 |
Number | Date | Country |
---|---|---|
1 9750349 | May 1998 | DE |
0325786 | Aug 1989 | EP |
0789458 | Aug 1997 | EP |
1322139 | Jun 2003 | EP |
1545163 | Jun 2005 | EP |
5 5096708 | Jul 1980 | JP |
6 0236073 | Jan 1985 | JP |
0 8023244 | Jan 1996 | JP |
WO03107019 | Dec 2003 | WO |
Number | Date | Country | |
---|---|---|---|
20070277067 A1 | Nov 2007 | US |
Number | Date | Country | |
---|---|---|---|
60785537 | Mar 2006 | US |