Patent Publication Number: US-4920939-A

Title: Position sensor monitoring system

Description:
BACKGROUND OF THE INVENTION 
     The field of the invention relates to fault detection for mechanical-electrical position sensors. 
     In motor vehicle applications in particular, throttle control systems utilize position sensors for providing an electrical signal related to the position, or throttle angle, of the engine throttle plate. Examples of such control systems include, speed control systems, wheelslip control systems, and drive-by-wire control systems. In a typical drive-by-wire control systems, an error signal is derived by comparing a desired throttle angle signal to an actual throttle angle signal from the throttle position sensor. A servo motor adjust the engine throttle in response to the error signal. In some drive-by-wire systems, the desired throttle angle signal is provided by another position sensor coupled to an actuator such as the vehicle accelerator pedal. If either position sensor is faulty, undesired engine operation may result. 
     The position sensors are defined by a potentiometer having a main resistor coupled across a source of electrical power and a wiper arm mechanically coupled to the control device (throttle plate or accelerator pedal) and electrically coupled to the main resistor. Thus, a conventional resistive voltage divider network is formed wherein the voltage at the wiper arm is proportional to position of the control device. 
     A conventional fault detection scheme for a potentiometer sensor is disclosed in Japanese patent reference No. 59-58124 issued to Mitsuhiko. The wiper arm of the potentiometer is coupled to an operational amplifier configured as a voltage comparator. A fault indication is provided when the sensor output either exceeds a voltage associated with the throttle open position or falls below a voltage associated with the throttle closed position. In response to the fault indication, a fault indicator lamp is actuated. 
     The inventor herein has recognized numerous disadvantages with the prior fault detection approaches. Since output voltage at the wiper arm is compared, and this voltage varies with position of the control device, these approaches are limited to detecting faults which occur beyond the voltage range associated with the operating range of the control device. Stated another way, prior approaches are limited to detecting catastrophic failures such as shorts or opens in the main resistor. For example, if the main resistor is partially shorted to ground, prior approaches will only detect a fault when the throttle moves to near a throttle closed position. During normal vehicle driving, a fault indication may not be provided even though the throttle control system is behaving erratically. Similarly, if the main resistor is partially shorted to the voltage source, prior approaches will only detect a fault when the throttle moves near a throttle open position. Further, prior approaches may not detect partial impairment of the main resistor which may result in erratic control system behavior. 
     SUMMARY OF THE INVENTION 
     It is an object of the invention claimed herein to provide an indication of the operating condition of a position sensor in a throttle control system regardless of the position of the control device. 
     The above and other problems and disadvantages are overcome, and object achieved, by providing an operating condition monitoring apparatus for a position sensor coupled to a control device in a throttle control system. In one particular aspect of the invention, the apparatus comprises: a potentiometer utilized as a position sensor for providing the throttle control system with an electrical signal related to position of the control device, the potentiometer includes a main resistor coupled across a source of electrical power and a wiper arm responsive to position of the control device and electrically coupled to the main resistor for providing the electrical signal; sensing means for sensing current flow through the main resistor thereby providing a measurement directly correlated with actual resistance of the main resistor independently of wiper arm position, the sensing means comprising a sense resistor connected in series between the main resistor and the source of electrical power; and comparison means for comparing a voltage drop across the sense resistor to a predetermined range to provide an indication of operation of the main resistor independently of wiper arm position. 
     By providing a measurement directly correlated with actual resistance of the main resistor independently of wiper arm position, an advantage is obtained of providing an accurate indication of the operating condition of the main resistor and accordingly position sensor. Thus, a relatively small degradation (any degradation beyond manufacturing specifications) is detected whereas prior approaches were limited to detecting catastrophic failures of the position sensor. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The object and advantages may be better understood by reading the following Description of the Preferred Embodiment with reference to the following drawings wherein; 
     FIG. 1 is a block diagram of a throttle control system in which the invention is used to advantage; 
     FIG. 2 is an electrical schematic of a portion of the embodiment shown in FIG. 1; 
     FIG. 3 illustrates various process steps performed in conjunction with the embodiment shown in FIGS. 1 and 2; and 
     FIG. 4 is an alternate embodiment of the electrical schematic shown in FIG. 2. 
    
    
     DESCRIPTION OF THE PREFERRED EMBODIMENT 
     An example of an embodiment which utilizes the invention to advantage is now described. The example is referred to herein as the Preferred Embodiment. 
     Referring first to FIG. 1, a block diagram of throttle control system 12 is shown for use in either a drive-by-wire, or speed control system, or wheelslip control system such as disclosed in U.S. Pat. No. 4,768,608 issued to Hrovat on Sept. 6, 1988 and assigned to Ford Motor Company, the specification of which is herein incorporated by reference. In general terms, throttle plate 16 of engine 18 is shown coupled to primary position sensor 20a and secondary position sensor 20b. Each position sensor provides a signal having a voltage amplitude directly related to position or angle of throttle plate 16. In this particular example, the outputs of both sensors 20a and 20b are shown coupled to selector 24. 
     As described in greater detail hereinafter, monitor 22a is shown coupled to position sensor 20a for providing information to microcontroller 26 regarding the operating condition of position sensor 20a. Similarly, monitor 22b is shown providing information to microcontroller 26 regarding the operating condition of position sensor 20b. Dependent upon the operating condition of sensors 20a and 20b, microcontroller 26 instructs selector 24 to couple the most reliable sensor to summer 30. Thus, summer 30 is provided with the most accurate signal related to actual throttle position (TA a ). 
     An operator actuating device, here shown as accelerator pedal 34, is coupled to both primary sensor 20c and secondary sensor 20d which each provide a signal to microcontroller 26 having a voltage amplitude directly related to the position of accelerator pedal 34 and, accordingly, the throttle position desired by the operator. Monitors 22c and 22d are shown coupled to respective position sensors 20c and 20d for providing information to microcontroller 26 regarding the respective operating condition of position sensors 20c and 20d. In response, microcontroller 26 couples the most reliable sensor to summer 30 thereby providing the most accurate desired throttle angle signal (TA d ) to summer 30. The structure and operation of sensors 20a-d, their respective monitors 22a-d, and corresponding monitoring operations performed by microcontroller 26 are described later herein with particular reference to FIGS. 2-4. 
     Continuing with FIG. 1, summer 30 receives desired throttle angle signal TA d  from microcontroller 26 and actual throttle angle signal TA a  from selector 24 for computing throttle error signal TA e . Electronic power driver 36 translates the amplitude and polarity of error signal TA e  into corresponding current amplitude and phase for driving servo motor 38. In response, servo motor 38 proportionally rotates throttle plate 16 thereby reducing throttle error signal TA e  such that actual throttle angle signal TA a  becomes approximately equal to desired throttle angle signal TA d . This operation is referred to as drive-by-wire mode of operation. 
     When a wheelslip control mode is also incorporated, as disclosed in the specification of U.S. Pat. No. 4,768,608, the specification of which is herein incorporated by reference, slip controller 42 provides microcontroller 26 with an indication that excessive slippage of a driven wheel has occurred such as when a slippery surface is traversed. Microcontroller 26 then reduces desired throttle angle signal TA d  thereby reducing torque applied to the driven wheel and, accordingly, reducing wheel slippage. Similarly, during speed or cruise control operation, speed control controller 46 provides microcontroller 26 with information related to a desired throttle angle. Microcontroller 26 translates this information into desired throttle angle signal TA d . 
     Reference is now made to FIG. 2 wherein an embodiment of position sensors 20a-d and monitors 22a-d are shown and reference is also made to FIG. 3 wherein the corresponding monitoring operations performed by microcontroller 26 are illustrated. It is noted that position sensors 20a-d are of identical structure as illustrated by block 20 in FIG. 2. Similarly, monitors 22a-d are of identical structure in the particular example illustrated by block 22 of FIG. 2. First referring to position sensor 20, potentiometer 48 is shown having main resistor 50 connected between node 52 and a conventional signal return. As described in greater detail hereinafter, the voltage at node 52 is referred to as V M . Potentiometer 48 includes conventional wiper arm 54 coupled to main resistor 50. Wiper arm 54 is also mechanically coupled to a control device, such as throttle plate 16 (FIG. 1) or accelerator pedal 34 (FIG. 1). Accordingly, the voltage on wiper arm 54 at node 56 is proportional to the position of the control device coupled to wiper arm 54 and is therefore referred to as position voltage V P . More specifically, position voltage V P  is a portion of voltage V M  as determined by the position of wiper arm 54. 
     Node 56 is shown coupled to high impedance buffer 60, an operational amplifier in this example. Buffer 60 provides a buffered signal V P  &#39; to selector 24 (FIG. 1) when position sensor 20 is representative of either position sensors 20a or 20b. Similarly, buffered signal V P  &#39; is coupled from buffer 60 to microcontroller 26 when position sensor 20 is representative of either position sensors 20c or 20d. 
     Continuing with FIG. 2, operational amplifier 64 is shown having a negative input coupled to voltage supply V S  and a positive input terminal connected to a feedback loop including diode 66 and feedback resistor 68. Accordingly, the output of diode 66 is a stabilized reference voltage designated as reference voltage V R . 
     Monitor 22, in the particular example shown in FIG. 2, includes sensing or monitoring resistor 70 and analog to digital (A/D) converter 72. Monitoring resistor 70 is shown coupled in series between reference voltage V R  and node 52. Thus, voltage V M  at node 52 is equal to voltage V R  less the current flow (i M ) through resistor 70 times its resistance. Since wiper arm 54 is connected to a high impedance input at buffer 60, there is negligible current flow through wiper arm 54. Any current flow through main resistor 50 is therefore equal to current i M  regardless of the position of wiper arm 54. Accordingly, any variation in the resistance of main resistor 50, such as caused by degradation, results in a change in i M  and a corresponding change in voltage V M . A/D convertor 72 is shown converting voltage V M  to digital signal A M  which is directly proportional to the actual resistance of main resistor 50. 
     Microcontroller 26 monitors signal A M  to determine the operating condition of potentiometer 48, and main resistor 50 in particular, as now described with reference to the steps shown in FIG. 3. At the start of the monitoring sequence, one of the position sensors 20a-d is selected for monitoring. Signal A M  is first read into memory each sample interval &#34;t&#34; as shown in step 84. During step 86, a digital low pass filtering of signal A M  is performed by multiplying signal A M  by gain constant K 1  and adding the resultant product to the previously stored product times gain constant K 2 . This step is represented in equation form by: 
     
         y=K.sub.1 *A.sub.M (t)+K.sub.2 *y (t-1). 
    
     Where 
     y=digitally filtered value of signal A M   
     K 1  =gain constant 
     K 2  =gain constant 
     A M  (t)=present value of signal A M   
     y (t-1)=previous value of signal y. 
     In steps 88 and 90 a determination is made whether the resistance of main resistor 50 is within its specified value. More specifically, signal y is compared to both a maximum value (y max .) and a minimum value (y min .) which are associated with the respective maximum and minimum resistance values of main resistor 50. For example, if the tolerance of main resistor 50 is ±5%, y max . is correlated with 1.05 times R 50  and y min . is correlated with 0.95 times R 50 . In the event signal y is greater than y max .&#39;, step 92 provides an indication that sensor 20 is either open or out of specification. If signal y is less than y min .&#39;, step 94 provides an indication that sensor 20 either shorted or out of specification. In response, step 96 provides an instruction to select the appropriate secondary sensor. For the example presented in FIG. 1, if primary sensor 20a is found to be out of specification, secondary sensor 20b is coupled to summer 30 by operation of selector 24 in response to microcontroller 26. In the event primary sensor 20c is out of specification, secondary sensor 20d is coupled through microcontroller 26 to summer 30. In addition, if a sensor is determined to be out of specification, a warning is provided the vehicle operator as shown by step 98. 
     During steps 102 and 104, the derivative of signal A M  is taken and compared to a maximum derivative value. More specifically, the difference in signal A M  between successive sample times is computed and divided by the sample time. If this derivative exceeds the maximum value, an indication that sensor 20 is either intermittent or excessively noisy is provided by step 106. In response, the appropriate secondary position sensor is selected and the driver warned as previously described with reference to steps 96 and 98. 
     Steps 110, 112, 114, 116, and 118 describe a monitoring operation for determining wear of position sensor 20 during long term operation of the motor vehicle. As shown in step 110, the magnitude of the difference between y and y new  is taken to determine wear signal W. Signal y new  is a stored value of signal y when sensor 20 is first installed. During step 112, an additional filtering operation is performed having a substantially longer time constant then the time constant associated with step 86 which was previously described. More specifically, wear value WR is derived by multiplying wear signal W with gain constant K 3  during a sample period and the previously sampled wear signal WR is multiplied by gain constant K 4 . This process continues, as shown by step 114, and the resulting wear value WR compared to a maximum wear value as shown in step 116. If wear value WR is above a desired wear value, step 118 provides an indication of excessive wear. In response, the appropriate secondary position sensor is selected and driver warned as shown by steps 96 and 98. 
     An alternate embodiment for monitors 22 c-d , and the monitoring operations performed by microcontroller 26, are now presented with reference to FIG. 4 wherein like numerals refer to like parts shown in FIGS. 1 and 2. Position sensors 20 a-d  are shown represented by position sensor 20 and monitors 22 a-d  are shown represented by monitor 22&#39;. The structure and operation of position sensor 20 was previously described with particular reference to FIG. 2 and will therefore not be repeated. 
     Monitor 22&#39; is shown including sense resistor 70&#39; coupled in series between main resistor 50 and voltage reference V R  of position sensor 20. Current flow i M  through sense resistor 70 and the related voltage drop V M  are inversely proportional to the actual resistance of main resistor 50 independently of wiper arm 56 position as previously described herein with particular reference to FIG. 2. Monitor 22&#39; is also shown including operational amplifiers 172 and 174 configured as a window voltage comparator. More specifically, operational amplifier 172 is shown having a negative input terminal connected to node 52 of position sensor 20 through an R-C filter comprising resistor 192 and capacitor 194. Its positive input terminal is shown coupled to voltage divider 176 which is coupled between voltage source V S  and a voltage return. Voltage divider 176 includes resistors 178 and 180 which have resistance values selected to correlate with an upper desired value of main resistor 50. Operational amplifier 174 is shown having a positive input terminal connected to node 52 of position sensor 20. The negative input terminal of operational amplifier 174 is shown coupled to voltage divider 186 having resistors 188 and 190 connected in series between voltage source V S  and the voltage return. The resistance values of resistors 188 and 190 are selected to correlate with a lower desired value of main resistor 50. 
     Accordingly, when the resistance of main resistor 50 exceeds the upper desired value, operational amplifier 172 switches to a logic 0. Similarly, when main resistor 50 falls below the lower desired value, operational amplifier 174 switches to a logic 0. The outputs of operational amplifiers 172 and 174 are coupled to decoder 194 which provides signal A M  &#39;. When main resistor 50 is beyond its specified resistance range, signal A M  &#39; provides microcontroller 26 or selector 24 with an indication that position sensor 20 is faulty and the appropriate correction action is then taken as described previously herein with particular reference to FIG. 3. 
     It is noted that whether either the embodiments of monitor circuit 22 (FIG. 2) or 22&#39; (FIG. 4) are utilized, an accurate indication of the operation of position sensor 20 is provided regardless of the position of wiper arm 54. Thus, a relatively small degradation is detectable whereas prior approaches were limited to detecting catastrophic failures of the position sensor. 
     This concludes the Description of the Preferred Embodiment. The reading of it by those skilled in the art will bring to mind many alterations and modifications without departing from the spirit and scope of the invention. For example, the monitoring circuitry may be used to advantage with either digital processing or analog processing techniques. Accordingly, it is intended that the scope of the invention be limited only by the following claims.