This invention relates to methods and apparatus for monitoring railway vehicles, and in particular to a method and apparatus used to detect the presence of railway wheels on a track.
A variety of devices for sensing the presence of train wheels have been previously proposed. These sensing devices include photoelectric devices, mechanical switches, load sensing, proximity switch technologies and magnetic disturbance measuring devices.
Electromagnetic interference is very common in the electrified railway environment, for example AMTRAK, streetcars, and Metro systems. The interference is due primarily to the electromagnetic field that is induced between the power conductor and the return conductor as the locomotive (or Electric Multiple Unit, EMU) draws power. The fields can also radiate from the conductors depending on the grounding.
There is a need for a railway wheel sensor that can operate even when subjected to electromagnetic interference.
This invention provides a sensor for detecting the presence of wheels of a rail vehicle. The sensor comprises first and second Hall Effect devices, a magnet for supplying a magnetic field to the first and second Hall Effect devices, means for mounting the first and second Hall Effect devices and the magnet adjacent to a rail, whereby a railway vehicle wheel changes the magnetic field in the Hall Effect devices to produce wheel indication signals, and a processing circuit for receiving the wheel indication signals from the first and second Hall Effect devices and for producing an output signal in response to the wheel indication signals.
A vibration sensor can be included to provide a vibration indication signal. The vibration indication signal can be combined with the output signal to produce an additional output signal.
In another aspect, the invention provides a method of sensing the presence of a railway vehicle, the method comprising the steps of: positioning first and second Hall Effect devices adjacent to an elongated rail, applying a magnetic field to first and second Hall Effect devices, producing first and second wheel indication signals in response to a change in the magnetic field in the first and second Hall Effect devices caused by an adjacent railway vehicle wheel, and producing an output signal in response to the first and second wheel indication signals.
The method can further comprise the steps of: sensing vibrations caused by the railway vehicle and producing a vibration indicating signal, and combining the vibration indicating signal and the wheel indication signals to produce the output signal.
The invention further provides a sensor for sensing the presence of a railway vehicle wheel on an elongated rail comprising a vibration sensor, means for mounting the vibration sensor adjacent to the rail, whereby the vibration sensor produces a vibration indication signal in response to vibration in the rail, and a processor for receiving the vibration indication signal, for validating the vibration indication signal, and for producing an output signal in response to the vibration indication signal if the vibration indication signal is valid.
The invention also provides a method for sensing the presence of a railway vehicle wheel on an elongated rail, comprising the steps of: mounting a vibration sensor adjacent to the rail, whereby the vibration sensor produces a vibration indication signal in response to vibration in the rail, validating the vibration indication signal, and producing an output signal in response to the vibration indication signal if the vibration indication signal is valid.
Referring to the drawings,
In one embodiment, the Hall Effect detectors and the vibration sensor can be directly connected to the analog inputs of a microcontroller or microprocessor. The microcontroller can have communications capabilities and an interface for high speed data transmission to a data collecting terminal, such as a portable computer.
The wheel sensor can be used to continuously monitor and log the passage of trains by linking it to laptop computer or other computer system. This operating mode and a stand-alone mode allow for continuous fine tuning of the signal processing algorithm, if necessary, due to changing track environments or conditions that were not previously encountered. The system can also utilize flash reprogrammable microprocessors that can be updated in the field.
The system 10 uses two independent technologies (Hall Effect devices and a vibration sensor) to validate the presence of a train and to count the wheels.
The wheel sensor is used primarily to detect the wheel flange of a railway wheel and would typically be mounted on the gauge side of a rail. However, it can also be mounted on the field side and used to detect the wheel tread. The wheel sensor can also be mounted closer to the base of the rail and can be used in a vibration mode in applications such as U-rail.
The Hall Effect devices are installed on either side of the magnet and separated in a direction that is parallel to the direction of the train movement. The two devices are positioned in such a manner that when a train wheel passes, there is a time difference between the signals from the two Hall Effect devices. The Hall Effect devices are physically close enough to each other that when electromagnetic interference (EMI) is present, the effect of the electromagnetic interference on the outputs of the Hall Effect devices will be substantially identical.
The output signal of the Hall Effect devices due to the presence of the wheels will almost always be different than the output signal due to the EMI. Internal signal processing also reduces false detections due to voltage induced spikes or any other random electrical or magnetic effects. During false detection, the outputs of the two Hall Effect devices do not closely follow each other. A signal processing algorithm implemented in the processing circuit monitors both of the outputs and compares the outputs to a base line as a moving average that is stored in a buffer memory. The analog signals from the two Hall Effect devices are converted to digital signals and stored to a digital buffer memory location. The contents of the buffer are tracked as a baseline since normally there are no wheels going by. The comparison is used so that when the magnetic baseline shifts due to strong electromagnetic fields, the signals will still be detected. A sample of moving baselines is illustrated in
The smart wheel sensor of this invention can be operated in several modes.
Referring to
The microcontroller program algorithm allows communication with external devices (for example, a personal computer (PC) or controller) using an I2C standard serial protocol in two different test modes: a simulation mode and a data reading/logging mode, as shown in block 82. In the simulation mode, external data is loaded from a PC to the wheel sensor. The purpose of this mode is to test the program logic and digital processing. In the data reading/logging mode, the outputs of the Hall Effect devices are read after analog-to-digital conversion. The purpose of this mode is to check and calibrate the Hall Effect devices, as well as to log data directly to an external device like a laptop computer.
The normal operational program cycle is designed to perform a fast and secure detection of train wheels by using the quasi-parallel processing of the Hall Effect device signals, including: analog-to-digital conversion, digital data buffering, baseline level updating, pulse level and width detection, pulse form analysis, and pulse validation.
Hall Effect devices 84 and 86 produce analog signals that are read and converted to digital signals as shown in block 88. The digital signals are buffered in a memory 90 and used to update baseline reference levels as shown in block 92. The signals from the two Hall Effect devices are processed in parallel, compared to the baseline levels, and subjected to a pulse width check-up as shown in block 94.
In the pulse width check-up, the pulse width is compared to a threshold pulse width to determine if the pulse is valid. That is, for a pulse to be considered valid, it must have at least some minimum width. Alternatively, the pulse width might be compared with predetermined minimum and maximum pulse width limits. Then if the pulse width falls within those limits, the pulse is considered to be valid. If the predefined pulse level and width conditions are not met, then the algorithm rejects the signals as false indications.
If both pulses are detected as shown in block 96, processing continues in block 98 with post detection pulse form analysis based on the current reading and the buffered stored values. The current reading is the reading that the Hall Effect detectors are seeing at that moment, compared to the buffered value, which is essentially the baseline level.
If a wheel profile is recognized as shown in block 100, and the pulse is validated as shown in block 102, an output pulse is produced. The Hall Effect detectors pick up the bottom of the flange of the wheel as it passes through the magnetic flux. This flange profile can be different when compared between various freight and transit wheels, as well as in different countries.
If both pulses have a magnitude that is greater than a threshold value, such as greater than two times the baseline magnitude as shown in block 104, then a strong pulse output is produced as shown in block 106. The first output pulse provides a way of determining the tolerance for the placement of the sensor. If there is the strong pulse, then there is a larger margin for detection, whereas if there is not a strong pulse, some wheels may be missed in cases of excessive electrical interference. In that case, the sensor could be adjusted to a higher position to achieve the strong pulse.
In an alternative operating mode, the wheel sensor can be operated using only the vibration sensor component. In this operating mode, the wheel sensor detects and analyzes rail vibrations by reading and digitally processing electrical signals from a vibration sensor (for example: a polyester, laminated type). The wheel sensor produces a fixed width digital output pulse for each recognized vibration sequence (one pulse per train). In one embodiment, all functions are performed by an 8-bit, one-chip microcontroller.
Referring to
The microcontroller program algorithm allows communication with external devices (for example, a personal computer (PC) or controller) using an I2C standard serial protocol in two different test modes: a simulation mode and a data reading/logging mode, as shown in block 112. In the simulation mode, external data is loaded from a PC to the wheel sensor. The purpose of this mode is to test the program logic and digital processing. In the data reading mode, the external device digitally reads the vibration sensor output voltage after analog-to-digital conversion. The purpose of this mode is to check the sensor component, as well as logging directly to an external device like a laptop computer.
The vibration sensor 114 produces an analog signal that is read and converted to a digital signal as shown in block 116. The digital signal is subjected to vibration analysis as shown in block 118, including baseline updating, absolute vibration level detection, zero crossing detection, and time frame analysis. In this case the baseline is an average of previous vibration signals. The absolute value of the amplitude can be used, for a preprogrammed minimum peak that can be changed. Values below the absolute value of the amplitude can serve as the baseline. In one embodiment, 256 samples are used for the average. The baseline average is constantly being updated and stored in the buffer.
If vibration has already been detected in the current time frame, as shown in block 120, then post detection analysis is performed as shown in block 122. The current time frame is the period in which the wheel sensor is calculating the average. The time frame is of a fixed length in the programming and cycles, while the tram is being detected. The tram detection is based on thresholds of amplitude and frequency.
A “tram detected” signal is produced as long as the vibration continues. Then a time period is set before enabling the next detection. The time period is set to allow for extremely slow speed trams so that they are not detected more than once, between bogies for example, or to allow for trams to stop and then proceed without multiple counts. The time period is a variable and can be set in the software. If vibration has not been detected in the current time frame, a test is performed as shown in block 124 to determine if the vibration signal amplitude and frequency are within vibration limits. If so, and output pulse is produced as shown in block 126. The limits can be set based on field testing. The limits would be programmed into the sensor's microprocessor but can be factory or field reprogrammed (as all smart sensor features can be). The purpose of this part of the flow chart is to show that we are looking to see when the tram has left the detection zone of the sensor. Once the sensor determines that the tram is gone, the timer is enabled, preventing detection for the time period discussed above.
In this operating mode, the normal operational program cycle is designed to perform a fast and secure detection of vibrations by processing the output of the vibration sensor, including: analog-to-digital conversion and buffering, baseline level updating (average level based on data integration), vibration amplitude and frequency analysis, detection of the digital pulse output, post detection analysis, and “tram detected” output pulse processing.
When operated using both the Hall Effect devices and the vibration sensor, the wheel sensor detects a metal wheel and rail vibrations by reading and digitally processing electrical signals of one vibration sensor (i.e., polyester, laminated type) and two Hall Effect solid-state components. In this mode, the wheel sensor will output digital pulses (referred to as the OUT PULSE and “STRONG” PULSE). In the preferred embodiment, all functions are performed by an 8-bit, one-chip microcontroller.
Referring to
As shown in block 132, the program algorithm allows communication with an external device (for example a personal computer (PC) or controller) using an I2C standard serial protocol and enters two different test modes: a simulation mode and a data reading/logging mode.
In the simulation mode, external data is loaded from the PC to the wheel sensor. The purpose of this mode is to test the program logic and digital processing. In the data reading/logging mode, all of the sensor output voltages are read after analog-to-digital conversion. The purpose of this mode is to check/calibrate the sensor components, as well as logging directly to an external device like a laptop computer.
The normal operational program cycle is designed to perform a fast and secure dual detection of metal wheel proximity and mechanical vibrations by using quasi-parallel processing including: analog-to-digital conversion, digital data buffering, baseline level updating, Hall Effect pulse level and pulse width detection, Hall Effect pulse form analysis, vibration amplitude and frequency analysis, vibration detection, post detection analysis, and final output pulse processing.
Hall Effect sensors 134 and 136 produce analog signals that are read and converted to digital signals as shown in block 138. The digital signals are buffered in a memory 140 and used to update baseline reference levels as shown in block 142. The signals from the two Hall Effect devices are processed in parallel, compared to the baseline levels, and subjected to a pulse width check-up as shown in block 144.
If both pulses are detected as shown in block 146, processing continues in block 148 with post detection pulse form analysis based on the current reading and the buffered stored values. If a wheel profile is recognized as shown in block 150, and the pulse is validated as shown in block 152, an output pulse is produced. If both Hall Effect device pulses have a magnitude that is greater than a threshold value, such as greater than two times the baseline magnitude as shown in block 154, then a strong pulse output is produced as shown in block 156.
The vibration sensor 158 produces an analog signal that is read and converted to a digital signal as shown in block 138. The digital signal is subjected to vibration analysis as shown in block 160, including baseline updating, absolute vibration level detection, zero crossing detection, and time frame analysis. If vibration has already been detected in the current time frame, as shown in block 162, then post detection analysis is performed as shown in block 164. A “tram detected” signal 166 is produced as long as the vibration continues and a time period is set before enabling the next detection. If vibration has not been detected in the current time frame, a test is performed as shown in block 168 to determine is the signal amplitude and frequency are in vibration limits. If so, and output pulse is produced as shown in block 170.
The wheel pulse validation signal, the strong pulse validation signal, the vibration pulse validation signal, and the tram detected signal are then subjected to final processing as shown in block 172 to produce an output pulse and a strong pulse. The final processing determines that valid pulses and valid trains (or trams) have been detected and that all other data is valid. Then the correct signal can be sent to an external control box.
The vibration sensor can be mounted in the same housing as the Hall Effect devices and can monitor the levels of vibration at the rail to determine if a train is present. The Hall Effect devices or the vibration sensor can be used independently. When the vibration sensor detects vibration and the magnetic flux changes, a program running in the microprocessor determines if the sensor outputs represent valid information, and then sends a signal to an output device, that can be a digital control box. In one embodiment, the vibration sensor is included on the same printed circuit board (PCB) as the Hall Effect devices and is therefore mounted in the same manner. The vibration sensor can be located beside the magnet and parallel to the Hall Effect devices. While other mounting configurations are possible, this configuration is very compact when both technologies are used at the same time. Since the Hall Effect devices and the vibration sensor can be used independently, the PCB layout can be optimized for each.
The magnetic sensor signals can be processed to extract valid information relating to wheel detection and speed under moderate electromagnetic interference (EMI) and virtually eliminate the chances of false detection under heavy electromagnetic interference. In one embodiment of the invention, if two sets of the magnetic sensors (Hall Effect devices) are either installed together in a larger package or contained in separate housings, a speed measurement can be made based on the distance between the sensors and the time between pulses produced by the sensors. The vibration sensor can be used to validate wheel detection under marginal conditions where signals due to electromagnetic noise may be difficult to distinguish from signals due to a real wheel event, thus extending the range of the sensor to more severe EMI environments. In cases where there is severe electromagnetic interference that causes false triggering, over and above what the algorithm and circuitry can compensate for, the vibration sensor can be used independently to check for vibration levels that give positive confirmation of the presence of a train.
The sensor system of
This invention provides an accurate indication of the presence of a railway wheel in electrically noisy environments. It can be used in trackside friction management systems or other systems requiring the detection of the presence of a railway wheel. The combination of a vibration sensor and Hall Effect devices ensures that a wheel detection is only validated when the Hall Effect devices indicate the presence of a wheel flange and the vibration level is sufficient to indicate the presence of a train.
By using two of these wheel sensors, speed and direction can be determined based on the distance between the wheel sensors and the timing of the sensor pulses. The actual calculation can be done in a control box that is separate from the sensor housing.
In an alternative embodiment, a speed determination can be made based on the vibration signatures and frequency shifting resulting from the Doppler Effect. In that embodiment, accurate signal processing of a single a dual Hall Effect device output can indicate direction using the propagation properties of the vibrations through the rail.
While the invention has been described in terms of several embodiments, it will be apparent to those skilled in the art that various changes can be made to the described embodiments without departing from the scope of the invention as set forth in the following claims.