Not Applicable
This invention relates in general to motion sensors and in particular to a method for periodically testing the operation of such sensors.
Vehicle electronically controlled brake systems are becoming increasing sophisticated to include the capability to correct vehicle directional movement upon detection of an undesired vehicle motion, such as, for example, loss of directional control on a low mu surface or potential vehicle roll over. Such detection typically involves motion sensors, to include accelerometers and/or angular rate sensors and also usually includes input from other vehicle operating parameter sensors, such as, for example, wheel speed sensors and a steering angle sensor. Vehicle brake control systems typically include an Electronic Control Unit (ECU) that receives the various sensor output signals. A microprocessor within the ECU that is controlled by a stored algorithm monitors the received sensor signals. The microprocessor is operative, upon detection of a potential vehicle directional stability problem, to selectively apply the vehicle brakes and/or vary engine torque to correct the problem.
The motion sensors utilized by the brake control system are also becoming increasingly miniaturized and sophisticated to include signal conditioning circuits. Multiple motion sensors with associated signal conditioning circuits for the sensor outputs may be included on a single sensor chip. The signal conditioning circuits also may include a self testing capacity for monitoring the sensor output signal to detect a malfunctioning sensor. Typically, the self test is carried out during initial vehicle start-up and will generate an error code if the signal conditioning circuit determines that the senor output signal exceeds a predetermined threshold Additionally, upon detecting a malfunctioning sensor, the self test capability may disable the sensor output so an erroneous signal is not sent to the ECU.
However, because vehicles are operated for increasingly lengthy periods of time, the operational time of motion sensors between self tests also has increased. As a result, if motion sensors begin to malfunction the problem may not be detected in a timely fashion. Accordingly, it would be desirable to provide a periodic self test method for the motion sensors that would occur while the vehicle is in operation.
This invention relates to a method for periodically testing the operation of motion sensors.
The present invention contemplates a method for verifying proper operation of a motion sensor that includes injecting a test signal into the motion sensor and then, after a predetermined delay, measuring the output of the sensor. The measured sensor output is then compared to an acceptable range of output values and, upon determining that the output is either above or below the acceptable range of output values, a fault is declared and an error signal generated. Additionally, the present invention contemplates that the test signal is a periodic signal and that the error signal is generated only after a predetermined number of consecutive faults have been detected. Furthermore, the invention also contemplates that the output of the sensor is blocked for a period of time following the injection of each test single. In the preferred embodiment, the test signal comprises a series of pulses of one millisecond duration. The pulses may all be positive, all negative, alternately positive and negative or selected or random combinations of positive and negative pulses.
Various objects and advantages of this invention will become apparent to those skilled in the art from the following detailed description of the preferred embodiment, when read in light of the accompanying drawings.
Referring now to the drawings, there is illustrated in
The analog anti-aliasing filters 15 and 26 are operative to remove frequency components from the sensor signals that are beyond the range of the corresponding analog to digital converters 16 and 28, respectively. The acceleration sensor test signal output port 13 of the microprocessor 12 is operative, as will be described below, to apply a periodic test signal to the acceleration sensor 14. Similarly, the pair of angular rate sensor test signal output ports 20 and 22 of the microprocessor 12 are operative, as also will be described below, to apply periodic test signals to the angular rate sensor 24. The microprocessor 12 also has an output port 32 connected to a brake system Electronic Control Unit (ECU) 34. The microprocessor 12 is operative to supply acceleration and angular rate signals to the ECU 34. The microprocessor 12 also has additional output ports that are connected to additional vehicle dynamic controllers, such as, for example a Vehicle Stability Control (VSC) system. The group of additionally vehicle dynamic controllers is labeled with the numerical identifier 36. While individual connecting wires are shown between the controller 12 and the control systems in
While one acceleration sensor 14 and one yaw rate sensor 24 are shown in
The operation of the invention relative to the acceleration sensor 14 will now be described in light of the graphs of voltage vs. time shown in
The present invention contemplates periodically injecting a test signal consisting of a voltage pulse into the acceleration sensor test port at a testing rate N3, which, in the preferred embodiment, is selected as an integer multiple of the digital filter rate N2. However, it will be appreciated that the invention also may be practiced with the rate N3 being a non-integer multiple of the rate N2. In the preferred embodiment, each test pulse has a relatively short duration, such as, for example one millisecond; however, the invention also may be practiced using a test pulse having other durations. The test signal is illustrated in
A typical voltage response 48 of the circuit to the test pulse 44 is illustrated in
As described above, the digitized signal 46, including the periodic test pulses 44 is fed to the first digital filter 18. By selecting the digital filter sampling rate N2 to be large enough relative to the analog to digital converter rate N1, the transient effect of the test pulse 44 is ended by time that the digital filter 18 samples the signal 46. Thus, the digital filter 18 effectively “steps over” the signals generated by the testing of the acceleration sensor and produces the output signal 47 shown in
While the preferred embodiment has been illustrated in
As will also be described in greater detail below, after detecting a response signal ΔST that is outside the acceptable range of values, the microprocessor 12 declares a fault and begins counting the consecutive number of resultant voltage faults. Only upon counting a predetermined number of consecutive faults, or fault threshold, will the microprocessor set an error flag. Thus, a potential false error signal is avoided being triggered by one or a few consecutive faults. If, during the counting of the response voltage errors, the response signal ΔST returns to being within the acceptable range, the error count is reset to zero.
Once set, the error flag remains set for a relatively long period without further detection of response voltage errors before being reset. In the preferred embodiment, the time required without detection of an error for resetting the error flag, or flag reset delay, is 100N1, although other greater or shorter time periods also could be utilized. Additionally, the error flag reset delay will begin again whenever the response signal fault count exceeds the fault count threshold. Upon setting the error flag, the control circuit would then take corrective action which may include providing a warning message to the vehicle operator and disabling the control system.
The method is implemented by an algorithm that is stored in a memory unit accessible by the microprocessor 12. The algorithm is illustrated by the flow chart shown in
The algorithm then proceeds to functional block 60 where the operation is delayed for a time period DELAY1 corresponding to the test voltage rate N3. As described above, during this period, sensor output signals are being supplied to the controller 12 by the first digital filter 18 at a rate of N2. Upon reaching the end of the first time delay, the algorithm advances to functional block 62 where a test voltage pulse ST is inserted into the acceleration sensor test signal input port. Then, after a time delay that, in the preferred embodiment, corresponds to the digital converter sampling rate of N1, the response voltage, ΔST is measured in functional block 66 and the result applied to the test signal input port 17 of the microprocessor portion 12A. As described above, the first digital filter 18 continues to supply acceleration sensor signals to the input port 19 of the microprocessor portion 12A at a rate of N2.
Following sampling of the acceleration sensor response to the test signal in functional block 66, the algorithm reaches decision block 72 where the response voltage ΔST is compared to allowed maximum and minimum values in accordance with the following relationship:
Is TMAx≧ΔST≧TMIN?, where,
TMAX is the upper limit for the allowable output voltage range and
TMIN is the lower limit for the allowable output voltage range.
In decision block 72, if the response voltage ΔST is within the allowable voltage range, the algorithm transfers to functional block 73 where the fault count FC is again zeroed. The algorithm then returns to functional block 58 and continues as described above. If, in decision block 72, the response voltage ΔST is outside of the allowable voltage range, a fault is declared and the algorithm transfers to decision block 74 where the algorithm counts the number of consecutive iterations FC that the response voltage ΔST is outside of the allowable voltage range. It is to be noted that, if, subsequent to beginning to increase the fault count FC, the response voltage ΔST returns to be within the allowable voltage range, decision block 72 will cause the fault count FC to be reset to zero, beginning the counting over. The algorithm then continues to decision block 76.
In decision block 76, the total number of consecutive fault iterations FC that the response voltage ΔST is out of the allowed voltage range is compared to the maximum allowable number of fault iterations, or threshold, FCMAX. If the maximum number of consecutive fault iterations FCMAX has not been reached, the algorithm transfers to functional block 58 where the error flag count/clear subroutine is entered and the algorithm continues as described above. If, in decision block 76, the maximum number of consecutive iterations has been reached, the algorithm transfers to functional block 78 where the error flag is set. The algorithm then continues to functional block 80 where the reset error flag count, EC, is set to zero. Thus, the error flag reset counter is reset every time that the maximum number of consecutive fault iterations FCMAX is exceeded. The algorithm then continues to decision block 82 where it is determined whether or not the algorithm should continue. A specific test regarding the vehicle is applied at this point, such as for example, checking to determine if the vehicle ignition is still on. If the continuation is needed, the algorithm transfers back to functional block 58 and the algorithm continues as described above. If the continuation is not needed, the algorithm transfers to exit block 84 and terminates.
Returning now to the error flag count/clear subroutine shown in the block 58, a flow chart for the subroutine is shown in
In decision block 96, the subroutine determines whether or not the maximum error count ECMAX has been reached. If the maximum error count has not been reached, the subroutine exits through block 94 to functional block 60 as shown in
Regarding angular rate, sensors, the present invention contemplates that the above described self-test also may be applied to an angular rate sensor with periodic test pulses being injected into the sensor and the sensor response measured and compared to an allowable range of values. As with the acceleration sensor test described above, the sampling rates of the components shown in
The present invention also contemplates an alternate embodiment of the self-test for angular rate sensors. In the alternate embodiment, alternating positive and negative test pulses are applied to the angular rate sensor. The resulting sensor output is compared to an allowable range of values with a first range corresponding to positive test pulses and a second range corresponding to negative test pulses. Each time that the response voltage is outside of its allowable range constitutes a sensor fault. The number of consecutive sensor faults that result from positive test pulses is counted. Similarly, the number of consecutive sensor faults that result form negative test pulses is counted. Each of the fault counts is then compared to a corresponding fault count threshold. Additionally, the sum of the fault counters is compared to a sum count threshold. Upon either one of the fault count thresholds or the sum count threshold being exceeded, an error flag is set. Furthermore, as will be described below, the invention also contemplates that the yaw sensor response signal thresholds are temperature compensated.
The operation of the alternate embodiment of the invention relative to the an angular rate sensor 24 shown in
The alternate embodiment of the invention contemplates periodically injecting a test signal consisting of alternating positive and negative voltage pulses into the angular rate sensor test port at a testing rate N3 which, in the preferred embodiment, is selected as an integer multiple of N2. However, it will be appreciated that the invention also may be practiced with the rate N3 being a non-integer multiple of the rate N2. While two input test ports are shown for the angular rate sensor 24 in
A typical voltage response 108 of the circuit to a positive test pulse 104 is illustrated in
As described above, the digitized signal 108, including the periodic test pulses 104 and 106 is fed to the second digital filter 30. By selecting the second digital filter sampling rate N2 to be large enough relative to the analog to digital converter rate N1. the transient effects of the test pulses 104 and 106 are ended by time that the second digital filter 30 samples the signal 108. Thus, the second digital filter 30 also effectively “steps over” the signals generated by the testing of the angular rate sensor and produces the output signal 109 shown in
As illustrated in
The alternate embodiment of the method for angular rate sensors is implemented by an algorithm that is stored in a memory unit accessible by the controller 12. The algorithm is illustrated by the flow chart shown in
The algorithm then proceeds to functional block 130 where the operation is delayed for a first time period DELAY1 corresponding to the test voltage rate N3. As described above, during this period, sensor output signals are being supplied to the microprocessor portion 12A by the second digital filter 30 at a rate of N2. Upon reaching the end of the first time delay, the algorithm advances to functional block 132 where a positive test voltage pulse ST1 is inserted into the angular rate sensor test signal input port. Then, after a time delay that. in the preferred embodiment, corresponds to the digital converter sampling rate of N1, the response voltage, ΔST1 is measured in functional block 134 and the result is applied to the test signal input port 29 of the microprocessor portion 12A. As described above, the second digital filter 30 continues to supply angular rate sensor signals to the input port 31 of the microprocessor portion 12A at a rate of N2.
Following measurement of the sensor response voltage, the algorithm reaches decision block 138 where the response voltage ΔST1 to the positive test signal pulse ST1 is compared to allowed maximum and minimum values in accordance with the following relationship:
Is TMAX≧ΔST1≧TMIN?, where,
TMAX is the upper limit for the allowable output voltage range and
TMIN is the lower limit for the allowable output voltage range.
If, in decision block 138 it is determined that the response voltage ΔST1 is outside of the allowable voltage response range, the algorithm transfers to functional block 140 where the first fault count FC1 is indexed. The algorithm then continues to functional block 142 where the delay DELAY1 preceding the injection of the next test pulse is implemented. However, if it is determined in decision block 138 that the response voltage ΔST1 is within the allowable voltage response range, the algorithm transfers to functional block 144 where the first fault count FC1 is zeroed. The algorithm then continues to functional block 142 where the operation is delayed for a second time period DELAY1 corresponding to the test voltage rate N3.
After completion of the delay in functional block 142, the algorithm then continues to functional block 145 where the negative test pulse voltage ST2 is injected into the angular rate sensor test signal input port. Then, again following a time delay, the response voltage, ΔST2 is measured in functional block 146 and the result applied to the test signal input port 29 of the microprocessor portion 12A. As before, the second digital filter 30 continues to supply angular rate sensor signals to the input port 31 of the microprocessor portion 12A at a rate of N2.
Following measurement of the sensor response voltage, the algorithm reaches decision block 150 where the response voltage ΔST2 to the negative test signal pulse ST2 is compared to allowed maximum and minimum values in accordance with the following relationship:
Is −TMAX≧ΔST1≧−TMIN?, where,
−TMAX is the lower limit for the allowable output voltage range and
−TMIN is the upper limit for the allowable output voltage range.
If, in decision block 150, it is determined that the response voltage ΔST2 is outside of the allowable voltage response range, the algorithm transfers to functional block 152 where the second fault count FC2 is indexed. The algorithm then continues to functional block 154, which is shown in
After the total fault count FCT is determined in functional block 154, the algorithm advances to a series of three decision blocks labeled 156, 158 and 160 where the fault counts and total fault counts are compared to predetermined fault count thresholds. Thus, in decision block 156, the first fault count FC1 is compared to a maximum allowable fault count threshold FC1MAX. If FC1 is less than or equal to FC1MAX, the algorithm transfers to decision block 158 where second fault count FC2 is compared to a maximum allowable fault count threshold FC2MAX. If FC2 is less than or equal to FC2MAX, the algorithm transfers to decision block 160 where the total fault count FCT is compared to a maximum allowable fault count threshold FCTMAX. If FCT is less than or equal to FCTMAX, the algorithm transfers to decision block 162 where the algorithm where it is determined whether or not the algorithm should continue.
However, if in any of the decision blocks 156, 158 or 160, the count exceeds the corresponding allowable maximum count threshold, a fault is declared and the algorithm transfers to functional block 164 where the total fault count FCT is set to zero. The algorithm continues to functional block 166 where the error flag is set and then to functional block 168 where the error flag count EC is set to zero. After setting EC to zero, the algorithm advances to decision block 162. In the preferred embodiment, a failure is declared when any of the fault counts, FC1, FC2, or FCT exceeds a maximum of eight counts; however, other values may be utilized for the maximum fault counts. Additionally, the fault count thresholds also may have different values from one another. Because the test signals alternate between positive and negative pulses, in the preferred embodiment, the algorithm will take twice as long to declare a fault for FC1 or FCT2 than to declare a fault for FCT.
Similar to the decision block 82 in
The present invention also contemplates that the angular rate sensor test fault thresholds are temperature and noise compensated. Thus, a nominal value for each of the self test response voltages ΔSTx as a function of temperature T is given by the following formula:
ΔSTx nominal deg/s(T)=ΔSTx nominal volt(T)/K(T); where, ΔSTx nominal volt(T)=ΔSTx+a—ΔSTx* [0.0084*(25−T)]+b_ΔSTx* [0.0084*(25−T)]2 and
K(T)=Sens+a_Sens *[0.0084*(25−T)]+b_Sens *[0.0084*(25−T) ]2, with x=1 or 2 and ΔST1, a—ΔST1, b—ΔST1, ΔST2, a—ΔST2, b—ΔST2,
Sens, a_Sens and b_Sens being values that are stored in a Non-Volatile Random Access Memory (NVRAM).
The self test error fault thresholds then be based upon gain and offset sensitivity for ΔSTx nominal deg/s (T) in accordance with the following formulas:
Upper bound=HW_FILTER_COEFFICIENT_HIGH *ΔSTx nominal deg/s (T) +threshold value calculated above, and Lower bound=HW_FILTER_COEFFICIENT_LOW *ΔSTx nominal deg/s (T) −threshold value calculated above.
The above threshold bound calculations would be carried out before comparing the test response voltage ΔSTx to the thresholds in decision blocks 138 and 150 in
Four additional embodiments of the invention are illustrated in
The alternate embodiment of the algorithm shown in
The alternate embodiment of the algorithm shown in
The alternate embodiments illustrated in
While the alternate embodiments discussed above and illustrated in
While the preferred embodiment of the invention has been described and illustrated above, it will be appreciated that the flow charts shown are intended to be exemplary of the methods, and that specific details and the sequence of the steps shown may vary. Also, while the preferred embodiment for testing the angular rate sensor was illustrated and described as utilizing alternating positive and negative test pulses, it will be appreciated that the invention also may be practiced with selected combinations of positive and negative pulses, such as, for example, two positive pulses followed by one negative pulse. Furthermore, the invention contemplates utilizing random sequences of positive and negative pluses for test signals. The invention also contemplates applying sequenced or randomly selected positive and negative test signals to the test port of accelerometers. Additionally, while the preferred embodiment of the invention has been illustrated and described for accelerometers and yaw rate sensors, it will be appreciated that the invention also may be practiced for other sensors such as, for example, pressure sensors, rotational sensors, optical based sensors, Hall effect based sensors and Linear Variable Displacement Transducers.
In accordance with the provisions of the patent statutes, the principle and mode of operation of this invention have been explained and illustrated in its preferred embodiment. However, it must be understood that this invention may be practiced otherwise than as specifically explained and illustrated without departing from its spirit or scope.
Number | Date | Country | |
---|---|---|---|
60741098 | Nov 2005 | US |