(19)
(11) EP 0 204 420 A2

(12) EUROPEAN PATENT APPLICATION

(43) Date of publication:
10.12.1986 Bulletin 1986/50

(21) Application number: 86303207.4

(22) Date of filing: 28.04.1986
(51) International Patent Classification (IPC)4G06F 15/332, B61L 23/16, H04L 27/26, H04L 27/14
(84) Designated Contracting States:
BE DE FR IT NL SE

(30) Priority: 03.06.1985 GB 8513959

(71) Applicant: WESTINGHOUSE BRAKE AND SIGNAL HOLDINGS LIMITED
Chippenham Wiltshire (GB)

(72) Inventor:
  • Cowen, David William
    Corsham Wiltshire (GB)

(74) Representative: Newstead, Michael John et al
Page Hargrave Temple Gate House Temple Gate
Bristol BS1 6PL
Bristol BS1 6PL (GB)


(56) References cited: : 
   
       


    (54) Apparatus for performing a fast fourier transform


    (57) In a railway vehicle safety system, a frequency modulated signal is transmitted to a vehicle informing, inter alia, of a safe maximum speed, the said speed being represented by the carrier modulation frequency. In addition, the frequency of the carrier may possess one of a number of alternative frequencies. Apparatus for analysing received signals to identify the carrier frequency and the modulation frequency employs a fast Fourier transform processor. In order to save computation time by eliminating useless calculations, a received signal is heterovdned bv a local signal selected accordina to the carrier frequency identified and the base-band components are analysed to identify the modulation frequency. A first stage transform is performed to identify the carrier signal and select the local signal frequency for a complex heterodyne process in a second stage in which local signals in phase quadrature are mixed with the received signal and the results sampled to provide data for real and imaginary data arrays for the transform process. As a result of the second stage process, noise and common mode interference signals are rejected.




    Description


    [0001] The present invention relates to apparatus for performing a discrete Fourier transform and especially a fast Fourier transform. In particularjthe invention is concerned with improvements to apparatus which accepts a coded signal, performs a fast Fourier transform on real time series samples thereof and analyzes the resulting frequency spectra for the purposes of determining the frequencies present in the original signal.

    [0002] The Fourier transform operation is well known and a discrete Fourier transform algorithm by Bergland and a fast Fourier transform algorithm by Cooley and Tukey are discussed at length elsewhere. Apparatus for performing a fast Fourier transform based on the Cooley and Tukey algorithm is discussed in published British patent application No. 2 114 342 For the purpose of the description of the present invention, it is sufficient to know that apparatus for performing a fast Fourier transform comprises a processor, a random access memory, a program stored in read only memory, memory addressing means and a communal data bus. The read only memory holds all the processor operating instructions necessary for the complete transformation process.

    [0003] The discrete Fourier transform, and its derivation the fast Fourier transform (FFT), predict that a continuous waveform can be represented in the frequency domain and in the time domain by the sums of complex series of terms both of which involve a set of Fourier coefficients. It is in the nature of the transform process that calculations for all frequency components, from zero frequency upwards,must be performed in every transformation. Inevitably where the fundamental frequency component of a continuous signal is relatively high, many of the early i.e. lower order coefficients of the Fourier series have zero value. Thus much valuable computation time may be wasted in redundant or useless calculations. Heterodyning of a received signal into base-band therefore offers substantial time savings by eliminating these unwanted calculations. However, the step of heterodyning down,may introduce its own problems, not least of which is interference and consequent degradation of results caused by beat frequencies generated in base-band as a result of the sum and difference frequencies between the heterodyne frequency and components of the received signal.

    [0004] The present invention has for one object to cancel the effect of any beat frequencies which may occur. The invention also possesses other advantages and possibilities which will be indicated, as they arise, in the following description.

    [0005] According to the present invention,there is provided apparatus of the kind employing a computer processing unit or the like for performing a fast Fourier transform on real time series samples of a received signal, including complex heterodyne means for performing a complex heterodyning operation on said signal whereby to generate two heterodyned signals having a quadrature phase relationship, first digital sampling means for obtaining time series - digital samples of one of the heterodyned signals and loading said samples into a real data array for the Fourier transform process, and second digital sampling means for obtaining time series digital samples of the other of the heterodyned signals and loading said signals into an imaginary data array for the Fourier transform process.

    [0006] The invention and how it may be carried into practice will now be described by way of example only with reference to the accompanying drawing , in which:

    Fig. 1 shows a functional block diagram of a code detection module in a railway vehicle safety system.



    [0007] The safety system is,part of an automatic train protection system for a railway vehicle, the principle function of which is to prevent the train from being driven at more than a designated maximum speed. In the particular system being described, coded signals are transmitted to a train via the running rails and these are detected by antennae mounted on the front of the train. The received signals are processed and coded information signals concerning the target speed and maximum safe speed of the train are extracted and compared with signals representing the measured speed of the train. The latter are derived from tachogenerators mounted on the wheel axles, but these particular arrangements are not of present concern and equivalent arrangements may be employed alternatively.

    [0008] In the driver's cab there is provided a mode selector switch interconnected with the safety system and which permits selection of one of four alternative operational modes: Automatic Train: Coded Manual: Restricted Manual: and No Mode. When automatic train or coded manual operation is selectedscomparison is made between measured train speed and designated maximum safe speed and an appropriate train speed control signal produced. When restricted manual mode is selected, comparison is made between measured train speed and a maximum train speed for the time being indicated for manual operation. If the maximum safe speed in any of these three modes is exceeded then the train emergency brake relay is released, resulting in full emergency application of the brakes. Selection of no mode also results in release of the emergency brake relay and full emergency application of the brakes. Also, any failure detected in the safety system, which could result in unsafe operation, is also effective to release the emergency brake relay.

    [0009] The coded signal is applied to the running rails via the normal track circuit transmitter. The signal consists of one of eight alternative carrier frequencies which, in the described system, are 4080Hz, 4320Hz, 4560Hz, 4800Hz, 5040Hz, 5280Hz, 5520Hz and 6000Hz according to a predetermined sequence which is described elsewhere and is of no consequence to the present invention. The eight carrier frequencies are frequency shift keyed (FSK) modulated by one of fourteen modulation frequencies from 28Hz to 80Hz at 4Hz spacing, the carrier frequency being shift keyed at - 40Hz. The carrier frequencies are changed between track circuits according to a predetermined frequency and the modulation frequencies are selected according to the coded information to be transmitted to the train.

    [0010] The coded FSK signal is received by two forward antennae 1L and lR mounted over running rails ahead of the leading wheels of a train. These antennae are connected in series anti-phase so that any common mode interference signal present in the running rails, which have substantially similar amplitude and phase, will therefore be cancelled in the antennae circuits. The signals carried by the running rails are arranged generally in antiphase so as to be additive in the antennae circuits.

    [0011] - A duplicate set of "reverse" antennae is also provided at the rear of the train for use when the train is moving in reverse, and the forward or reverse antennae are selected via switching means 2.

    [0012] Detection of the signal carrier frequency and modulation frequencies is carried out in a code detection module, which forms the major part of Fig. 1. The module functions in two stages and employs the same fast Fourier transform in both stages ,In the first stage it identifies the carrier frequency present in a received signal, and then selects an intermediate frequency in accordance with the detected carrier signal and, in a second stage of operation, heterodynes the received signal down to base-band, performs a second fast Fourier transform and analyses the resulting frequency spectrum to determine the modulation frequency present, and hence the designated maximum safe speed.

    [0013] The antennae signals may be pre-amplified by pre-amplifier circuits (not shown but indicated by AP) and are connected via the forward/reverse switch 2 through a broad-band noise rejection filter 3 to a threshold limiting circuit 4. The limiter 4 operates to amplify low level signals and to limit all signals above a predetermined threshold. The broad-band noise rejection filter 3 in front of limiter 4 prevents out-of-band interference swamping the limiter and ensures any received signal is compatible with the dynamic range of the code detection module.

    [0014] The signal output of limiter 4 is connected through an anti-alias filter 5 to the analogue input of an analogue to digital (AD) converter 6 operated at a predetermined sampling rate fs of 15360Hz. The digital samples are read-out from the AD converter 6 onto a databus 7 and into data memory means which in the drawing, is included with the block 8 labelled "128 point complex FFT"

    [0015] This block 8 is the apparatus which performs the fast Fourier transformation, and as previously mentioned is to be taken as comprising a random access memory for the data storage, a read only memory for program storage, addressing means, processing unit and the necessary timing and sequencing circuits etc. This apparatus is of known form and well understood. A more detailed exposition of a suitable design may be had from published British application No. 2 114 342. It is sufficient for present purposes to present this whole apparatus by a single block so as to avoid unnecessary complications of the drawing.

    [0016] The aforementioned data memory means comprises data arrays which for the purposes of storing input data for a fast Fourier transform algorithm are called the real array and the imaginary array. In this instance there is only a single set of data points, the data being loaded into one array and the other being set to zero.

    [0017] Upon completion of the 128 point transformation in block 8, an output is produced comprising the frequency spectrum of the received signal. In at least one.of the eight frequency elements or bins corresponding to the eight alternative carrier frequencies, there will be a sufficiently high level of output to positively indicate the presence of a signal at the corresponding carrier frequency. One of these is selected for further processing.

    [0018] In response to selection of one of the carrier frequencies present in the received signal, a programmable oscillator 9 is set to produce an ouput frequency equal to twice a heterodyne frequency required to generate heterodyned products of the modulated and shift keyed frequencies in the base-band. The heterodyne frequency is equal to the selected carrier frequency.

    [0019] A programmable oscillator is a circuit in which a binary number, which is provided externally, is connected to an input and is used to control an arrangement of source frequency oscillators and dividing counters. The device is effectively a free running multivibrator, the frequency of which is determined by a binary number at the input.

    [0020] The output of programmable oscillator 9 is supplied to a balanced demodulator 10 which performs the complex heterodyne operation. The output of anti-alias filter 5 is connected to the inputs of two parallel mixers 11 and 12 in demodulator 10. The heterodyne signal inputs of these two mixers 11 and 12 are connected to the output of programmable oscillator 9 through respective divide-by-two circuits 13 and 14, the circuit 13 being connected to oscillator 9 through an inverting circuit 15. The divide-by-two circuits 13 and 14 are triggered by the leading edges of their respective input signals. Thus, circuit 13 is effectively triggered from a trailing edge of the output of oscillator 9. As a result, the heterodyne frequencies supplied to mixers 11 and 12 are produced in phase and in quadrature relationship with the output signal of oscillator 9 and at half its frequency.

    [0021] The outputs of mixers of 11 and 12 are connected through respective low pass filtersl6, 17 to analogue to digital converters and sampling circuits 18, 19 operated by a sampling clock (not shown) at a sampling frequency fs of 512Hz. The digital outputs of converters 18 and 19 are also connected to the databus 7 and are thus effectively in parallel with analogue to digital converter 6.

    [0022] The data from converters 18 and 19 may be selectively read into the conjugate data arrays of FFT processor 20 for subsequent execution of the 128 point fast Fourier transform in order to construct a complete frequency spectrum of the base-band of a received signal. The results of the transformation process comprise a digital calculation of the total power present within each frequency element or frequency bin of the whole signal spectrum. The output of processor 20 is shown coupled to an analysis function block 21,-the construction and operation of which is not necessary for the present description. Suffice it to say that block 21 detects the frequency components found in the received signal spectrum and, subject to pre-ordained safety rules, carries out certain safety functions.

    [0023] The output of block 21 is applied to a communication bus (C-BUS) via a latch operated by an input on a "read communication" line (READ COM), there also being a processor reset line and a C-BUS request line for the block 21.


    Claims

    1. Apparatus of the kind employing a computer processing unit or the like for performing a fast Fourier transform on real time series samples of a received signal, including complex heterodyne means for performing a complex heterodyning operation on said signal whereby to generate two heterodyned signals having a quadrature phase relationship, first digital sampling means for obtaining time series digital samples of one of the heterodyned signals and loading said samples into a real data array for the Fourier transform process, and second digital sampling means for obtaining time series digital samples of the other of the heterodyned signals and loading said signals into an imaginary data array for the Fourier transform process.
     
    2. Apparatus as claimed in claim 1 wherein the complex heterodyne means includes local frequency generating means adapted to provide two local heterodyne signals having the same signal frequency and quadrature phase relationship, which are connected to each of two heterodyne mixing circuits,,the outputs of which are connected one each to the first and second digital sampling means.
     
    3. Apparatus as claimed in claim 2 wherein the local frequency generating means comprises a signal source operative to produce a signal at a predetermined frequency and means connected thereto for providing the two local frequencies in quadrature.
     
    4. Apparatus as claimed in claim 3 wherein the signal source is operative to provide a signal at a frequency determined in accordance with the carrier frequency of a received signal.
     
    5. Apparatus as clmmed in claim 4 wherein the frequency of the signal source is controlled by means of a control signal produced in accordance with the frequency of a detected carrier signal.
     
    6. Apparatus as claimed in claim 5 wherein the signal source is responsive, for determining the frequency of a produced signal, to an output signal, indicative of a detected carrier frequency, produced by a processor for performing a fast Fourier transform on real time series samples of the received signal.
     
    7. Apparatus as claimed in any of claims 3 to 6 wherein the signal source is capable of providing a signal at a selected one of a number of predetermined alternative frequencies only.
     
    8. Apparatus as claimed in any claims 3 to 6 wherein the signal source provides a signal at twice the carrier frequency of a received signal and the means for providing the two quadrature signals provides signals at half the frequency of the source.
     
    9. Apparatus as claimed in claim 7 wherein the signal source includes a square wave signal generator and the means for providing the two quadrature signals is triggered at alternate leading edges of the square wave to provide a first of the signals and at an adjacent trailing edge to provide the other of the signals.
     
    10. Apparatus as claimed in any preceding claim in a vehicle safety system of the type in which an encoded carrier signal is transmitted to the vehicle and must be correctly received and decoded for vehicle operation to continue, wherein the apparatus has a received signal input connected with means for receiving the encoded carrier signal and safety means coupled to the transform processor and responsive to the results produced thereby.
     




    Drawing