The present disclosure relates generally to vehicle sensor arrangements, and more specifically to a speed sensor interface circuit including a differential comparator.
Vehicles, such as commercial and industrial vehicles, utilize speed sensors to detect the rotational speed of one or more components within an engine, or elsewhere on the vehicle during operation of the vehicle. The output of the speed sensor is, in some examples, provided to a differential comparator and the differential comparator provides a readable output to a microprocessor indicating when the speed has exceeded a pre-determined threshold. Based on the readable output, the microprocessor generates controls, thereby controlling the rotating component or any other system within the vehicle.
In existing interface circuits for connecting the output of a speed sensor to a microprocessor, the magnitude of the hysteresis used in the processing of the sensor signal is increased in correspondence with a speed increase. Variable reluctance speed sensors, and sensors that operate in a similar fashion to variable reluctance speed sensors, have an output signal with a magnitude that increases in correspondence with an increase in speed. As a result, at zero or low speeds, the output of a variable reluctance speed sensor can be difficult to distinguish from noise on the output signal line, and a greater hysteresis is required. In contrast, at high speeds, the magnitude of the output signal is significantly larger than the noise, and minimal hysteresis is required to interpret the signal.
Disclosed is a sensor interface circuit including a signal conditioning module including at least one raw sensor signal input, and at least one conditioned sensor signal output, and a differential comparator module including a differential comparator and an adaptable hysteresis module, wherein the adaptable hysteresis module provides a first hysteresis magnitude to the differential comparator when a sensor signal is below a threshold and a second hysteresis magnitude to the differential comparator when the sensor signal is above the threshold, and wherein the first hysteresis magnitude is greater than the second hysteresis magnitude.
Also disclosed is a method for operating a sensor interface circuit including receiving a sensor signal from a sensor, comparing the sensor signal to at least one threshold using a hysteresis comparator, wherein a magnitude of hysteresis applied by the hysteresis comparator is a first hysteresis magnitude when the sensor signal is below a threshold, and wherein the magnitude of hysteresis applied by the hysteresis comparator is a second hysteresis magnitude when the sensor signal is above the threshold, and outputting a high signal to a controller when the sensor signal exceeds the threshold.
Also disclosed is a vehicle including a speed sensor, a signal interface module operable to receive and condition an output of the speed sensor, a hysteresis comparator module operable to compare the sensor against a threshold and output high when the sensor signal exceeds the threshold and output low when the sensor signal does not exceed the threshold, and wherein the hysteresis comparator module has a first hysteresis magnitude when the output of the speed sensor does not exceed the threshold, a second hysteresis magnitude when the output of the speed sensor does exceed the threshold, and the first hysteresis magnitude is greater than the second hysteresis magnitude, and a controller operable to receive an output of the hysteresis comparator module.
These and other features of the present invention can be best understood from the following specification and drawings, the following of which is a brief description.
Due to the correspondence between the magnitude of the sensor signal and the speed of the sensed component, at low or zero speed, the magnitude of the output of the sensor 20 is low relative to the magnitude of noise present on the output signal. This condition is referred to as a low signal to noise ratio. If the signal to noise ratio is too low, a significant application of hysteresis in the signal conditioning circuit 30 is required in order to prevent the noise from inadvertently tripping the differential comparator module 40 and to prevent unstable oscillations. Hysteresis is the utilization of previous states of a signal to filter the current signal. In other words, hysteresis is the application of a positive feedback loop to the input terminal of a comparator. A larger hysteresis results in a greater accuracy despite a low signal to noise ratio. The utilization of a large hysteresis, however, increases a delay in response times.
When paired with standard speed sensors, existing interface circuits increase the hysteresis as the speed of the rotating component 12 increases or maintain the hysteresis at the same level independent of the speed of the rotating component 12. Because of the low signal to noise ratio of variable reluctance sensors at low speeds, a large hysteresis is desired at zero and low speeds, while a low hysteresis is desirable at high speeds.
By way of example, the signal conditioning circuit 120 can provide terminal dampening reflections, a filter or a voltage drop for high voltage sensor signals, filter noise from the sensor signal, and clamp the inputs to a maximum voltage, thereby preventing damage to the overall circuit 200. In alternate examples, the signal conditioning circuit 120 can process and prepare the outputs 112, 114 in other ways as needed by the corresponding differential comparator module 130.
The signal conditioning module 120 provides two outputs, a positive output 122 and a negative output 124. The positive output 122 is provided to a negative terminal of a differential comparator module 130. Similarly, the negative output 124 is provided to a positive terminal of the comparator module 130. The comparator module 130 compares the outputs 122, 124 against two thresholds. The comparator module 130 output switches from low (zero volts) to high (positive voltage) when a high threshold is exceeded. The comparator 130 output switches from high to low when the sensed speed falls below a low threshold. In alternative examples, the low output of the comparator module 130 can be a non-zero voltage that is lower than the voltage of the high output. In one example, the differential comparator in the comparator module 130 is an open collector output differential comparator.
The output 132 of the differential comparator module 130 is provided to a switching module 140, and to a microprocessor output 134. The microprocessor output 134 provides the output of the differential comparator module 130 to a microprocessor in a controller 50, such as the controller 50 illustrated in
The switching module 140 receives the output 132 of the comparator module as a switch control signal. The switching module 140 includes an input 142 connected to a voltage supply (not illustrated). In the illustrated example, the output 132 provided to the switching module 140 causes the switching module 140 to switch on when the output of the differential comparator module 130 is high. In alternate examples, the switching module 140 can be replaced with a current mirror circuit, and operate in a functionally similar manner.
The adaptable hysteresis module 150 includes a hysteresis circuit that provides a first, higher, hysteresis level to the comparator module 130 when the sensed speed is below a speed threshold (when the comparator output is low). The adaptable hysteresis module 150 then switches to a lower hysteresis level when the sensed speed exceeds a predetermined threshold (when the comparator output is high). The predetermined threshold is set based on the physical qualities of components, such as resistors and capacitors, within the adaptable hysteresis module 150.
In operation, the on time of the switching module 140 controls whether the adaptable hysteresis module 150 is in a high hysteresis mode or a low hysteresis mode. As the on time of the switching module 140 is increased, the magnitude of voltage provided to the adaptable hysteresis module 150 through the switching module 140 in a given time period is increased. As a result, at least one capacitor, or similar charging component, within the adaptable hysteresis module 150 begins to charge at a faster rate than it discharges. Once the capacitor, or similar charging component, is fully charged, the adaptable hysteresis module 150 switches into the low hysteresis mode. As long as the capacitor, or similar charging component is charged, the adaptable hysteresis module 150 remains in the low hysteresis mode.
Once the speed of the sensed component falls below a threshold, the switching module 140 will no longer be on long enough in a given time period to charge the adaptable hysteresis module 150 faster than the adaptable hysteresis module 150 discharges, and the adaptable hysteresis module 150 reverts to the high hysteresis mode. A detailed example of the adaptable hysteresis module 150 is illustrated in
With continued reference to
The second filter 230 operates in a similar fashion to the first filter 210, and reduces noise on the sensor output. The voltage clamp 240 utilizes diodes 242 to clamp the sensor signal output at a maximum voltage, prior to outputting the sensor signals from the signal conditioning module 120. The signal conditioning circuit 120 further includes a bias voltage block 250, that provides a bias voltage from a voltage source (not pictured, connected to node 252). The bias voltage biases the differential comparator module 130 to a desired voltage.
In alternate examples, the signal interfacing module 120 can include additional signal processing elements, or less signal processing blocks as warranted by the specific application.
With continued reference to
A bias voltage 450 is provided through a bias resistor 452 to the output signal 430, and the combined bias voltage 450 and output signal 330 is provided as an output 432, 434 from the differential comparator module 130. The two outputs 432, 434 are identical, and one of the outputs 432 is provided to a controller or microprocessor to facilitate controls, while the other output 434 is provided to the switching module 140.
As described above, the switching module 140 can be either a transistor bused switch module, such as a Field Effect Transistor (FET) circuit, or a current mirror circuit. In each of the examples, the switching module 140 on time depends on the input received from the differential comparator module 130. In other words, the percentage of time during which the switching module 140 is on, alternately referred to as closed, during a total period of time increases as the sensed speed (and thus, the output of the differential comparator) increases.
The switching module 140 connects the bias voltage source to the adaptable hysteresis module 150 when the switching module 140 is on. When the switching rate of the switching module 140 exceeds a threshold (e.g. when the sensed speed exceeds a speed threshold), the rate at which the adaptable hysteresis module 150 is charged is faster than the rate at which the adaptable hysteresis module 150 is discharged. Once this condition begins occurring, the adaptable hysteresis module 150 switches into a low hysteresis mode corresponding to a speed exceeding the speed threshold. The adaptable hysteresis module 150 provides a hysteresis to the comparator module 130, with the magnitude of the hysteresis depending on the on time of the switching module 140, as described above.
In alternate examples, the adaptable hysteresis module 150 can be functionally replaced by a digital logic circuitry, which applies hysteresis to the signal using a pre-established logic circuit within a microprocessor. In the alternate examples, the output 334 is provided directly to the hysteresis microprocessor or logic circuit, the hysteresis microprocessor or logic circuit determines the correct hysteresis to apply, and applies the hysteresis. The microprocessor or logic circuit then provides an output to the negative input 312 of the differential comparator 320, as in the solid state example adaptable hysteresis module 150. One of skill in the art, having the benefit of this disclosure will be able to generate the necessary digital logic sequence to perform the above described function using known digital logic protocols.
With continued reference to
The charge from the switching module 140 is passed through a conditioning element 320, including resistors 322, 324 and a diode 326. The conditioning element 320 is connected to a neutral 302, alternatively referred to as a ground. Also connected to the conditioning element 320 is a charge element 330. In the illustrated example the charge element 330 is a capacitor 302. One of skill in the art will recognize that alternative charge elements functioning in a similar capacity will provide functionally similar operations and can be substituted for the illustrated capacitor with minimal alterations.
Connected to the high side of the charge element 330 is a gate of a field effect transistor 340. As a result of this connection, the charge element 330 controls the open/closed state of the FET 340. While the charge element 330 is charging (e.g. not at full charge), the FET 340 is maintained in an open state. Once the charge element 330 has become fully charged, however, voltage provided from the input 310 is provided to the gate of the FET 340, and the FET 340 is closed.
Also included in the adaptable hysteresis module, 150 is a pull up circuit 350 connected to a bias voltage at a bias voltage input 352. The pull up circuit 350 includes two resistors 354, 356, and is connected to a gate of a hysteresis control transistor 370. The pull up circuit 350 ensures that the gate of the hysteresis control transistor 370 remains high, thereby turning the hysteresis control transistor 370 on, as long as the FET 340 is open. Once the FET 340 becomes closed, a direct path to neutral 302 is provided for the bias voltage, and the gate of the hysteresis control transistor 370 is pulled down. When the FET 340 re-opens, the gate of the hysteresis control transistor 370 is brought back up by the pull up circuit 350 and the hysteresis control transistor 370 is turned on.
The hysteresis control transistor 370 controls the resistance in a hysteresis resistor network 380 by switching a resistor 384 into and out of the hysteresis resistor network 380. When the hysteresis control transistor 370 is on (closed), the second resistor 384 in the hysteresis resistor network 380 is switched in, parallel to a first resistor 382 and provides an alternative path to neutral 302. The inclusion of the parallel resistor 384 in turn decreases the overall resistance of the hysteresis resistor network 380, thereby decreasing the amount of hysteresis applied to the signal being received by the differential comparator module 130.
While each branch of the hysteresis resistor network 380 is symbolically illustrated as identical resistors 382, 284, one of skill in the art, having the benefit of this disclosure will understand that multiple different resistors can be included in each branch as needed, and thereby control the magnitude of the applied hysteresis in each condition.
Also included within the adaptable hysteresis control module 300 is an output 360. The output 360 provides a binary output to a controller indicating what mode the adaptable hysteresis module 300 is in at a given time.
Furthermore, while the above system is described with two modes, high hysteresis and low hysteresis, one of skill in the art, having the benefit of this disclosure will understand that additional iterations of the adaptive hysteresis module can be utilized in a single system to provide additional levels of hysteresis control with minimal adaption to the circuits and systems described herein.
With continued reference to
The conditioned sensor signal is provided to a hysteresis comparator that applies hysteresis to the signal and compares the signal against a reference voltage in a “Compare Signal Against Thresholds” step 520. At the startup, or when the previous speed outputs were low the hysteresis applied during the comparison are a higher level of hysteresis and enable a microprocessor to distinguish the sensor signal from a noise level.
When the detected speed of the speed sensor exceeds the high threshold of the hysteresis comparator, the hysteresis of the system is adjusted to a lower hysteresis value, and the comparator is switched to outputting a high value in an “Adjust Hysteresis When Speed Exceeds High Threshold” step 530. Once the hysteresis has been set to a lower value, the hysteresis is maintained until the output of the speed sensor falls below the low threshold of the hysteresis comparator. When the speed sensor output falls below the low threshold, the hysteresis is adjusted again to return to the high hysteresis value corresponding to low/zero speed output of the speed sensor in an “Adjust Hysteresis When Speed Falls Below Low Threshold” step 540. The hysteresis adjustments of steps 530 and 540 are continued throughout the course of vehicle operation, thereby ensuring that a low hysteresis is applied when the speed sensor detects a high speed and a high hysteresis is applied when the speed sensor detects a low or zero speed.
One of skill in the art, having the benefit of the above disclosure will be able to modify the system and method described above to incorporate additional hysteresis levels beyond a binary high/low using a similar circuit with only minor modifications to the above described circuit.
It is further understood that any of the above described concepts can be used alone or in combination with any or all of the other above described concepts. Although an embodiment of this invention has been disclosed, a worker of ordinary skill in this art would recognize that certain modifications would come within the scope of this invention. For that reason, the following claims should be studied to determine the true scope and content of this invention.
Number | Name | Date | Kind |
---|---|---|---|
4940907 | Laude | Jul 1990 | A |
5107135 | Hagita | Apr 1992 | A |
5155386 | Abdi | Oct 1992 | A |
5319265 | Lim | Jun 1994 | A |
5451867 | Loreck et al. | Sep 1995 | A |
5570052 | Huijsing et al. | Oct 1996 | A |
5631585 | Kinoshita et al. | May 1997 | A |
6133728 | Manlove | Oct 2000 | A |
6384596 | Beyer | May 2002 | B1 |
7231325 | Motz et al. | Jun 2007 | B2 |
8928307 | Wang | Jan 2015 | B2 |
8981756 | Vazach | Mar 2015 | B2 |
20010033159 | Forrest et al. | Oct 2001 | A1 |
20040233090 | Miyasita et al. | Nov 2004 | A1 |
20120081103 | Wang | Apr 2012 | A1 |
Number | Date | Country |
---|---|---|
101241646 | Aug 2008 | CN |
101241646 | Aug 2008 | CN |
102014017 | Apr 2011 | CN |
103428123 | Dec 2013 | CN |
103428123 | Dec 2013 | CN |
103995241 | Aug 2014 | CN |
103995241 | Aug 2014 | CN |
10 2004 029 941 | Dec 2005 | DE |
2 339 982 | Feb 2000 | GB |
Entry |
---|
Office Action for DE counterpart application 10 2015 218 256.8, dated Nov. 4, 2016. |
Variable Reluctance Sensor Interfaces with Differential Input and Adaptive Peak Threshold, Maxim MAX9924-MAX9927 data sheet, Maxim Integrated Products, Inc., Mar. 2012. |
Chinese Office Action dated Jun. 20, 2017 for counterpart Chinese application No. 201510881835.7. |
Korean Office Action and English translation dated Apr. 20, 2017 for counterpart KR patent application 10-2015-0133386. |
China Office Action and English translation, dated Jun. 20, 2017, for counterpart CN patent application 201510881835. |
China Search Report, dated Jun. 8, 2017 for counterpart CN patent application 201510881835. |
Number | Date | Country | |
---|---|---|---|
20160084867 A1 | Mar 2016 | US |