Resources Contact Us Home
Browse by: INVENTOR PATENT HOLDER PATENT NUMBER DATE
 
 
Fault detection method and apparatus
7613974 Fault detection method and apparatus

Patent Drawings:
Inventor: Meagher
Date Issued: November 3, 2009
Application: 11/689,224
Filed: March 21, 2007
Inventors: Meagher; Thomas Bruce (Houston, TX)
Assignee: ICS Triplex Technology Limited (Essex, GB)
Primary Examiner: Trimmings; John P
Assistant Examiner:
Attorney Or Agent: Boyle Fredrickson LLPWalbrun; William R.
U.S. Class: 714/740; 324/76.21; 324/76.23; 324/76.24; 324/76.29; 324/76.52; 327/12; 327/2; 327/3; 327/39; 327/40; 714/25; 714/48; 714/703; 714/704; 714/715; 714/724; 714/732; 714/736; 714/742; 714/799; 714/824
Field Of Search:
International Class: G01R 31/28
U.S Patent Documents:
Foreign Patent Documents: 1 9750349; 0325786; 0789458; 1322139; 1545163; 5 5096708; 6 0236073; 0 8023244; WO03107019
Other References: European Search Report for European Application 06114802.9, Sep. 5, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114803.7, Sep. 1, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114806.0, Aug. 30, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114800.3, Sep. 1, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114804.5, Aug. 18, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114805.2, Aug. 24, 2006, European Patent Office. cited by other.
European Search Report for European Application 06114801.1, Sep. 11, 2006, European Patent Office. cited by other.

Abstract: This invention relates to fault detection in electrical circuits. The invention provides a method and apparatus for testing an input circuit by 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. The invention also provides a method and apparatus for testing a plurality of adjacent input circuits.
Claim: The invention claimed is:

1. A method of testing an input circuit comprising the steps of: generating a test signal which is periodic and has a predetermined phase and a predetermined amplitude; summing the test signal and an input signal to provide a summed signal; processing the summed signal with the input circuit to provide an output value; processing the output value to provide an output signal corresponding to the input signal; generating an extracted test signal from the output value corresponding to the test signal; comparing the extracted test signal with a reference signal representing said test signal; generating an error signal in dependence upon the result of saidcomparing step; whereby testing of the input circuit can be obtained during operation of the input circuit with the input signal.

2. The method according to claim 1, in which the test signal comprises a symmetrical signal having a test signal period and in which the output signal is produced by sampling the output value at intervals of a sample period and averaged over amoving 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.

3. The method according to claim 2, in which the test signal is a sinusoidal signal.

4. The method according to claim 2, in which the moving average period is equal to the test signal period.

5. The method according to claim 4, in which the test signal period is 4 ms; the sample period is 1 ms, and an average of the previous four samples is generated every 1 ms.

6. The method in which a plurality of independent input circuits are tested according to the method of claim 1 and in which a plurality of test signals are generated by the steps of: generating a digital representation of a the test signal, thedigital representation comprising a number of bits equal to the number of test signals to be generated; storing said digital representation in a shift register; generating a plurality of digital test signals from a plurality of taps from the shiftregister such that each digital test signal comprises a uniquely phased digital pattern; low pass filtering each digital test signal to generate a plurality of unique analogue test signals.

7. The method according to claim 6, in which 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.

8. An apparatus for testing an input circuit comprising: means for generating a test signal which is periodic and has a predetermined phase and a predetermined amplitude; an adder for summing the test signal and an input signal to provide asummed signal; means for processing the summed signal with the input circuit to provide an output value; means for processing the output value to provide an output signal corresponding to the input signal; means for generating an extracted test signalvalue corresponding to the test signal; a comparator for comparing the extracted test signal with a reference signal representing said test signal and for generating an error signal in dependence upon said comparison.
Description: BACKGROUND

a. Field of the Invention

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 relieson 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 overheadfor 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 outputfrom 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 somedisruption 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 systemwithout 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 changeover 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 inthis 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 industriesincluding oil and gas production and refining, chemical production and processing, power generation, paper and textile mills and sewage treatment plants.

SUMMARY OF THE INVENTION

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 signalto 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 testsignal 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, the moving average period is equal to the period of the test signal. Even more preferably the test signal period is 4 ms; the sample period is 1 ms, and an average ofthe previous four samples is generated every 1 ms. In one embodiment of the invention a plurality of independent input circuits are tested according to the method of any one of the preceding claims and in which a plurality of test signals are generatedby a method comprising the steps of; generating a digital representation of a periodic test signal, the digital representation comprising a number of bits equal to the number of test signals to be generated; storing said digital representation in a shiftregister; generating a plurality of digital test signals from a plurality of taps from the shift register such that each digital test signal comprises a uniquely phased digital pattern; low pass filtering each digital test signal to generate a pluralityof unique analogue test signals.

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 thesteps 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 circuitsuch 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 summingthe 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 signalwith a reference signal representing said periodic test signal and for generating an error signal in dependence upon said comparison.

BRIEF DESCRIPTION OF THE DRAWINGS

The invention will now be described, by way of example only, with reference to the accompanying drawings in which:

FIG. 1 illustrates schematically a fault tolerant architecture;

FIG. 2 illustrates a sigma-delta input circuit;

FIG. 3 illustrates generation of digital test signals;

FIGS. 4a to 4d illustrates tests signals before and after low pass filtering;

FIG. 5 illustrates the removal of the test signals from the true signal by block averaging;

FIG. 6 illustrates a typical beat pattern when two signals of similar phase interfere with one another; and

FIG. 7 illustrates generation of a digital signal representing an input analogue signal and a signal representing an input test signal from a serial digital signal.

DETAILED DESCRIPTION

Referring now to FIG. 1, signals 1 from an input field device (not shown) are connected to the system via an input Field Termination Assembly (FTA) 2. An input module 3 receives, buffers and carries out any necessary conversion of the input datafrom the field device. The input data is then transmitted over a triplicated Inter-Module Bus (IMB) 5 to a TMR processor 4. Triplicated microprocessors of the TMR processor receive the input data from each channel of the IMB 5 and carry out a majorityvote of the data. During data processing, each of the three processors compares and majority votes its input data against that of the other two processors. The processors synchronously execute the application program, and the derived output data istransmitted back to the IMB. An output module 6 receives, majority votes, and carries out any necessary conversion of the output data from the TMR processor 4. The output circuits are then driven by the majority-voted command. The output signals areconnected to a field device (not shown) via an output FTA 7. A communications interface 8 provides facilities to allow systems to be networked using peer to peer communications links, the collection of Sequence of Events (SOE) data, and connection toother systems.

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 haveoccurred 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 thecomponents of each input circuit should be detectable.

FIG. 2 illustrates a sigma-delta analogue to digital (A/D) converter 10 used by the input module 3. The input module 3 comprises an array of 42.times.3 triplicated sigma-delta A/D converters 10. There is a dedicated A/D converter for each ofthe three input `slices`. To maximize fault detection no buffers are inserted in the signal path.

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 D.sub.TEST is converted by a one-bit D/A converter 15 and connected to a first input of the integrator 11 viaan RC low pass filter 16. An input scaling resistor R.sub.IN connects an input V.sub.IN 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 R.sub.FB.

Generation of test signal D.sub.TEST will now be described, with reference to FIG. 3. The D.sub.TEST digital test signal is produced by an FPGA (not shown) and is unique for each of the 42.times.3 A/D circuits 10. A pattern of forty-two one'sand zero's is stored in the FPGA and is circulated through a forty two bit shift register 30. The ratio of one's to zeros in the circulating digital pattern produces an average DC offset for an array of channels. Different patterns, for example asshown in FIG. 4d, are used for different input module types (eg analogue or digital) generating a different offset, allowing the centre point of the input voltage span to be tailored to suit the purpose of the module. The pattern to be used is selectedusing a multiplexer 32. Each tap of the shift register 30 produces a uniquely phased digital pattern as shown in FIG. 4b. Each data stream is filtered via the D/A converter 15 and RC filter 16 shown in FIG. 2, and forty two unique roughly sinusoidalsignals are produced, as shown in FIG. 4c.

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. Thefinal 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 movingaverage 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 FIG. 5.

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 FIG. 7 which illustrates production of an output test signal, a serial binary sampled values are optically isolated from the output signal by an optical isolator 701. Isolated serial binary output samples are accumulated for 1ms synchronously with the test signal phase by an accumulator 702. A 16 bit sample value is presented to a block averager 703 every ins. Four consecutive samples are averaged every ins to generate a digital output representing the analogue input.

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: SIGNAL.sub.RE=Sample(0)-Sample(2)SIGNAL.sub.IM=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 andgenerates 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 continuouscomparison during normal operating mode (see FIG. 7).

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 morelikely to short together than non adjacent channels, a mapping function block 34 shown in FIG. 3 is used to provide greatest phase separation for adjacent channels.

The three slices are connected together and to V.sub.IN 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. Thefrequencies 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 poweredup) 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 FIG. 6.

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 atits 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 andcompared 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 asother 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 thefollowing claims.

* * * * *
 
 
  Recently Added Patents
System with PPU/GPU architecture
High steps brushless DC (BLDC) motor
Blade for electrophotographic apparatus
Liquid crystal panel, liquid crystal television, and liquid crystal display apparatus
Variable characteristic venous access catheter shaft
Transmission control device for continuously variable transmission apparatus for vehicles
Fish hook heart shaped pendant
  Randomly Featured Patents
Water-release toy
Device for avoiding sliding discharges in pre-ionization in a gas laser with corona discharge
Apparatus for impact discharge of filter cake from a moving filter medium and for compacting filter cake thereon
Method and apparatus for an interactive volumetric three dimensional display
Power supply for body implant and method of use
Nonoxidative process for purifying aqueous inorganic salt solutions employed in the wet spinning of filamentary vinyl polymers
Noise-absorbing structure for a cable reel
Cellular/PCS CDMA system with increased sector capacity by using two radio frequencies
Insulated wire
O-Alkyl-O-[1-phenyl-5-cyanoalkylmercapto-1,2,4-triazol(3)yl]-thionop hosphoric(phosphonic) acid esters