METHOD AND APPARATUS FOR FAULT-TOLERANT TRANSMISSION GEAR SELECTOR LEVER POSITION DETERMINATION

Abstract
A fault-tolerant gear selector lever position apparatus is described. Included is a first sensor operable to detect each position, and a second sensor operable to detect subsets of the positions. A first controller monitors the second sensor, and a second controller monitors the first sensor. The second controller identifies and communicates one of the positions to the first controller, and the first controller validates the position and communicates the position to a control system. The lever is applicable to a power transmission device. Each sensor preferably comprises digital encoding sensor; the first sensor generates a unique signal for each position, and the second sensor generates a unique signal for each subset of the positions, preferably a unique signal for each of Park, Reverse, Neutral, and Forward Drive. The controllers identify faults in the sensors, and communicate and act accordingly.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The invention may take physical form in certain parts and arrangement of parts, the preferred embodiment of which will be described in detail and illustrated in the accompanying drawings which form a part hereof, and wherein:



FIG. 1 is a schematic diagram, in accordance with the present invention; and



FIGS. 2 and 3 are algorithmic flowcharts, in accordance with the present invention.





DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

Referring now to the drawings, wherein the showings are for the purpose of illustrating the invention only and not for the purpose of limiting the same, FIG. 1 shows a schematic diagram of an apparatus for fault-tolerant hardware and software architecture for determining position of a gear selector lever for a power transmission device, as can be applied on a motorized vehicle, that has been constructed in accordance with an embodiment of the invention. The exemplary system includes a transmission gear selector lever 10 having a discrete number of operator-selectable positions. First and second gear selector lever position sensors 30, 20 are operatively attached thereto. Signal output from the first gear selector lever position sensor 30 is output to a second electronic control module 50. Signal output from the second gear selector lever position sensor 20 is output to a first electronic control module 40. The first and second electronic control modules 50, 40 have bi-directional communications therebetween. The first and second control modules each communicate to a control system 60, e.g. one operable to provide overarching control of a powertrain for a vehicle. Details of the system hardware are provided herein.


The first and second gear selector lever position sensors 30, 20 each comprise a digital encoding device operable to provide digital logic signals to the electronic control modules 40, 50, as described hereinbelow. The electronic control modules (“ECM”) 40, 50 described herein include an ability to monitor discrete input/output (‘I/O’) including that from first and second gear lever position sensors 30, 20. The transmission gear selector lever 10 comprises a operator-manipulated device operative to be place in one of a plurality of discrete positions, e.g. Park, Reverse, Neutral, Drive, Intermediate, and Low (‘PRNDIL’). First and second gear selector lever positions sensors 30, 20 are operatively attached to the gear selector lever 10. The first and second gear selector lever position sensors 30, 20 each comprise a digital encoder that provides discrete outputs for each of the valid gear selector lever positions, e.g. Park, Reverse, Neutral, Drive, Intermediate, and Low (‘PRNDIL’), as shown with reference to Table 1, below. The technology used to implement the digital encoder is known to a skilled practitioner, and practical considerations typically influence the choice of digital encoder. The individual positions for each of the valid gear selector lever positions are typically identified by mechanical detents in the transmission gear selector lever 10 mechanism (not shown).


Referring again to FIG. 1, the hardware architecture shows first and second gear selector lever position sensors 30, 20, comprising digital encoder devices, attached to the transmission gear selector lever 10 such that each sensor is operative to detect and discern distinct gear selector positions. The first and second gear selector lever position sensors 30, 20 are permanently mechanically aligned with each other to eliminate a possibility of misalignment of the two sensors. The first sensor 30 comprises a digital encoder that provides a unique set of discrete outputs for each valid positions of the gear selector lever, e.g. Park, Reverse, Neutral, Drive, D3, D2, D1 in this embodiment, (‘PRNDIL’), and is referred to as a Range Encoder. The second sensor 20 comprises a digital encoder that provides a unique set of discrete outputs for each of a plurality of valid subsets of positions of the gear selector lever positions, each subset preferably correspondingly to an operator-selected rotational direction of output of the transmission device. In this embodiment there are four subsets, comprising four unique outputs corresponding to one of the Park, Reverse, Neutral, and Forward Drive positions. The second sensor is referred to as a Direction Encoder. In this embodiment, all Forward Drive positions produce the same output from the second sensor 20. The two sensors 20, 30 are preferably electrically isolated, in terms of power supply, ground and signal output, so that a single electrical fault can not disable both sensors. The discrete or digital outputs of the first sensor 30 and the second sensor 20 is shown as below, with reference to Table 1, wherein “1”represents a digital high output, and “0” represents a digital low output.













TABLE 1







Shift Lever
First Sensor 30
Second Sensor 20



Position
Range Encoder
Direction Encoder









Park
1001
10101



Reverse
1100
01001



Neutral
0101
11010



Drive
0110
00110



D3
0011
00110



D2
1010
00110



D1
1111
00110










The controller architecture uses two electronic control modules (‘ECM’), comprising the first ECM 40 and the second ECM 50. The first ECM 40 is signally connected to and adapted to monitor the second sensor 20, or direction encoder, and decoding the output thereof. The second ECM 50 is signally connected to and adapted to monitor the first sensor 30, or range encoder, and decoding the output thereof. The first ECM 40 and second ECM 50 are signally connected, preferably employing a high-speed bi-directional communications link, such as a serial peripheral interface bus (‘SPI’) comprising a known full-duplex synchronous serial data link permitting direct communication between the devices. The first ECM provides control signals to the transmission device to control operating direction of the vehicle. The second ECM 50 may provide additional control signals. Each ECM 40, 50 include an ability to monitor first and second gear selector lever position sensors 30, 20 by way of a discrete input/output (‘I/O’).


Each ECM is preferably a general-purpose digital computer generally comprising a microprocessor or central processing unit, read only memory (ROM), random access memory (RAM), electrically programmable read only memory (EPROM), high speed clock, analog-to-digital (A/D) and digital-to-analog (D/A) circuitry, and input/output circuitry and devices (I/O) and appropriate signal conditioning and buffer circuitry. Each ECM has set of control algorithms, comprising resident program instructions and calibrations stored in ROM and executed to provide the respective functions of each computer.


Algorithms for control and state estimation in each ECM are typically executed during preset loop cycles such that each algorithm is executed at least once each loop cycle. Algorithms stored in the non-volatile memory devices are executed by one of the central processing units and are operable to monitor inputs from the sensing devices and execute control and diagnostic routines to control operation of the respective device, using preset calibrations. Loop cycles are typically executed at regular intervals, for example each 3.125, 6.25, 12.5, 25, 50 and 100 milliseconds during ongoing engine and vehicle operation. Alternatively, algorithms may be executed in response to occurrence of an event.


Encoding patterns, show with reference again to Table 1, and executed with the Range and Direction Encoders are necessary for redundant, fault tolerant operation. Specifically, the Range Encoder 30 implements an encoding that allows detection of at least one fault, while the Direction Encoder 20 implements an encoding that allows detection of two faults and correction of a single fault. The greater fault tolerance of the Direction Encoder 20 allows it to be given greater weight in the even that the Range and Direction Encoders disagree on the direction of operation.


Referring again to Table 1, the Range Encoder 30 preferably provides an output comprising a plurality of discrete digital outputs, the quantity of which is determined based upon the quantity of N valid gear selector lever positions which are reduced using a log2(N), plus a parity bit for error detection. Therefore, in a typical system having less than four valid gear selector lever positions, the range encoder 30 provides three discrete outputs; in a system having four to seven valid gear selector lever positions, the range encoder provides four discrete outputs; and in a system having eight to fifteen valid gear selector lever positions, the range encoder provides five discrete outputs. Valid transmission gear selector lever positions are assigned encodings having a specific (even or odd) parity. The encodings for the valid positions preferably include a property exhibited by a rule requiring changing from one valid position to any other valid position requires changing state of at least two discrete outputs. Thus, when the transmission gear selector lever 10 is in a valid position, it cannot be misinterpreted as another valid position unless two discrete outputs are in an incorrect state due to faults. A single fault causes the parity check to fail, allowing the software to flag the presence of an invalid condition. The output state corresponding to a disconnected Range Encoder 30 is used to identify this condition and cannot be used to indicate a valid position. The specific assignment of encodings for each position is subject to practical considerations.


The Direction Encoder 20 preferably provides an output comprising a plurality of five discrete digital outputs, as shown in Table 1. Two of the outputs combine to provide a unique digital signal based upon a directional output of the transmission, wherein four states, i.e. Park, Reverse, Neutral, Forward Drive are each uniquely encoded. Three additional discrete outputs, comprising an Error Correcting Code (‘ECC’) output are also included. The output state corresponding to an output resulting when the Direction Encoder 20 is disconnected is used to identify this condition and cannot be used to indicate a valid direction state. Digital encodings for each of the valid directional outputs or states are chosen such that changing from one valid direction state to any other valid direction state results in changing state (from digital 1 to digital 0, or from digital 0 to digital 1) of three of the five discrete outputs. Thus, when the transmission gear selector lever 10 is in one of the valid positions, the direction state cannot be misinterpreted as another valid direction state unless three of the discrete outputs are each in an incorrect state due to faults. The specific assignment of encodings for each direction state is subject to practical considerations. Adhering to this assignment of encodings allows the software to effectively correct any single fault. The properties of an ECC ensure that the correct valid code can be recovered from an invalid code when only one output is corrupted. When a double fault exists such that two discrete outputs are in an incorrect state, and it is not detectable, the error correction logic may produce an erroneous result. This situation is addressed by validation logic described hereinbelow.


The software architecture for the system preferably effects continued operation in the presence of a single fault, and ensures that a Neutral propulsion state is commanded when a secondary fault occurs. The software architecture implements a “limp-home” capability in the event of a single ECM fault. Each of the ECMs 40, 50 is preferably operable to support a subset of the control logic and monitor the control signals input to the other ECM 50, 40.


Referring now to FIG. 2, a flow chart representative of an algorithm operable to process input signals from the Range Encoder 30 is described, which is preferably executed in the second ECM 50. The second ECM 50 reads and decodes output from the Range Encoder 30 at step S1. The resulting position is either a valid transmission gear selector lever position as determined at steps S2, S3, an indication of an invalid state as determined at step S9, or an illegal state as determined at steps S8, or S10 when the code corresponds to a signal indicating the Range Encoder is disconnected. Gear selector lever position information is communicated to the First ECM at steps S4, S5 to permit signal validation. When the first ECM 40 is offline, the second ECM 50 commands a “limp home” mode, including placing a restriction on which transmission gear selector lever positions are accepted at steps S11, S12. The second ECM 50 also diagnoses whether either of the Range Encoder outputs are stuck in a logic-high or a logic-low state at step S7. The second ECM receives a direction signal as determined by the first ECM 40 from the Direction Encoder 20 to facilitate this, as shown in step S6.


Referring now to FIG. 3, a flow chart representative of an algorithm operable to process input signals of the direction encoder and other analysis to be performed by the first ECM 40 is now described. The first ECM 40 reads and decodes output from the Direction Encoder in steps S20 and S22. When the first ECM 40 determines that the code obtained from the Direction Encoder 20 indicates the Direction Encoder is electrically disconnected in step S29, it flags the direction state as illegal, as shown in step S32. When the Direction Encoder is properly electrically connected, but does not correspond to a valid code, indicating a correctable error, as shown in step S30, the first ECM attempts to error correct to see whether a valid code is obtained in step S31. When a correction to direction code is accomplished, the direction state is set to that valid state and a flag is set to indicate that error correction was accomplished. Otherwise, the error flag is set to an invalid state as shown in step S33. The first ECM 40 communicates with the second ECM 50 via the bidirectional communications bus, sending direction information in step S23 and receiving transmission gear selector lever position in step S24. The first ECM validates the transmission gear selector lever position from the Second ECM in step S25, using the validation logic given in Table 2, below. The logic truth table shown with reference to Table 2 allows the first ECM to determine whether to accept the transmission gear selector lever position in step S26, use the direction state it has determined from the Direction Encoder in step S27, or place the transmission and hence the vehicle powertrain system in Neutral state in step S34. When the Direction Encoder is indicating an invalid or illegal state S28, a subset of the valid transmission gear selector lever positions are allowed, which effectively comprises the “limp-home” mode. A single point fault analysis of the Range Encoder implementation is used to determine which ranges are allowed. The result of the validation logic is used by first ECM 40 to command operation of the powertrain.









TABLE 2







First ECM Validation Logic










Transmission Gear





Selector Lever


Position
Transmission
Direction


(Second ECM)
Direction State
Match
Validation Result





Valid
Valid
Y
Transmission Gear selector





lever Position


Valid
Valid
N
Neutral


Valid
Error Corrected
Y
Transmission Gear selector





lever Position


Valid
Error Corrected
N
Neutral


Valid
Invalid or Illegal
N/A
Transmission Gear selector





lever Position when in allowed





subset, Neutral otherwise


Invalid
Valid
N/A
Use Transmission Direction





State





(Assign default range for





Forward Drive position)


Invalid
Error Corrected
N/A
Neutral


Invalid
Invalid or Illegal
N/A
Neutral


Illegal or
Valid
N/A
Transmission Direction State


Second ECM


(Assign default range for


Offline


Forward Drive position)


Illegal or
Error Corrected
N/A
Neutral


Second ECM


Offline


Illegal or
Invalid or Illegal
N/A
Neutral


Second ECM


Offline









The first ECM 40 diagnoses each output of the Direction Encoder 20 as being stuck in a logic-high or logic-low state. The error correcting encoding used by the Direction Encoder 20 facilitates the identification of faulty outputs.


When the first ECM 40 is offline, the architecture allows the Second ECM 50 to assume control using a potentially limited set of functions, i.e., “limp-home”. The second ECM 50 uses the logic given in Table 3 to determine system commands for the powertrain. When both the first ECM 40 and Second ECM 50 are offline, the vehicle is effectively disabled.









TABLE 3







Second ECM Limp Home Mode Logic










Transmission Gear Selector




Lever Position (Second ECM)
Limp Home Mode Result







Valid
Transmission Gear selector lever




Position when in allowed subset,




Neutral otherwise



Invalid or Illegal
Neutral










Thus, a method and apparatus are provided to determine a position of a lever having a plurality of operator-selectable positions. As previously referenced, this comprises a first lever-position sensor operable to detect each of the operator-selectable positions, e.g. the range encoder, and a second lever-position sensor operable to detect each of a plurality of subsets of the operator-selectable positions, e.g. the direction encoder. There is a first ECM adapted to monitor the second lever-position sensor, and a second ECM adapted to monitor the first lever-position sensor. The second ECM is operable to identify and communicate a specific one of the operator-selectable positions to the first controller, and the first ECM is operable to validate the specific one of the operator-selectable positions and communicate the validated specific one of the operator-selectable positions to a control system.


The invention has been described with specific reference to the preferred embodiments and modifications thereto. Further modifications and alterations may occur to others upon reading and understanding the specification. It is intended to include all such modifications and alterations insofar as they come with the scope of the invention.

Claims
  • 1. Apparatus to determine a position of a lever having a plurality of operator-selectable positions, comprising: a first lever-position sensor operable to detect each of the operator-selectable positions;a second lever-position sensor operable to detect each of a subset of the operator-selectable positions;a first controller adapted to monitor the second lever-position sensor;a second controller adapted to monitor the first lever-position sensor;the second controller operable to identify and communicate a specific one of the operator-selectable positions to the first controller;the first controller operable to validate the specific one of the operator-selectable positions and communicate the validated specific one of the operator-selectable positions to a control system.
  • 2. The apparatus of claim 1, wherein the lever having a plurality of operator-selectable positions comprises a gear selector lever for a power transmission device.
  • 3. The apparatus of claim 2, wherein the first lever-position sensor comprises a sensor operable to generate a unique signal for each of the operator-selectable positions.
  • 4. The apparatus of claim 3, wherein the first lever-position sensor further comprises a first digital encoding sensor operable to generate the unique signal for each of the operator-selectable positions.
  • 5. The apparatus of claim 2, wherein the second lever-position sensor comprises a sensor operable to generate a unique signal for each subset of operator-selectable positions, wherein each subset is determined based upon an operator-selected direction of rotation of an output of the power transmission device.
  • 6. The apparatus of claim 5, wherein the second lever-position sensor further comprises a second digital encoding sensor operable to generate the unique signal for each subset of operator-selectable position.
  • 7. The apparatus of claim 6, wherein each subset determined based upon the operator-selected direction of rotation of the power transmission device further comprises the digital encoding sensor operable to generate a unique signal for each of Park, Reverse, Neutral, and Forward Drive.
  • 8. The apparatus of claim 1, comprising the first controller adapted to identify a fault in the second lever-position sensor.
  • 9. The apparatus of claim 2, comprising the first controller adapted to communicate the fault in the second lever-position sensor to the second controller.
  • 10. The apparatus of claim 9, comprising the second controller adapted to identify a fault in the first lever-position sensor.
  • 11. The apparatus of claim 10, comprising the second controller adapted to identify a fault in the first controller.
  • 12. The apparatus of claim 11, comprising the second controller adapted to communicate a default lever position to the control system when a fault is identified in one of the first and second lever-position sensors and the first controller.
  • 13. The apparatus of claim 12, further comprising the control system operable to generate a diagnostic fault code when the fault identified in one of the first and second lever-position sensors and the first controller is communicated thereto.
  • 14. The apparatus of claim 13, wherein the lever having a plurality of operator-selectable positions comprises a gear selector lever for a power transmission device.
  • 15. The apparatus of claim 14, further comprising: the first lever-position sensor operable to generate a unique signal for each of the operator-selectable positions, and, the second lever-position sensor operable to generate a unique signal for each of a subset of operator-selectable positions, each subset determined based upon a direction of rotation of an output of the power transmission device.
  • 16. The apparatus of claim 1, wherein the first controller operable to validate the specific one of the operator-selectable positions further comprises the first controller operable to validate the specific one of the operator-selectable positions based upon the monitored input from the second lever-position sensor.
  • 17. Method for determining a position of a gear selector lever having a plurality of operator-selectable positions, comprising: detecting one of a plurality of operator-selectable positions of the gear selector lever;detecting one of a plurality of subsets of the operator-selectable positions;validating the specific one of the operator-selectable positions based upon the detected one of the subset of operator-selectable positions; and,communicating the validated specific one of the operator-selectable positions to a control system.
  • 18. The method of claim 17, wherein detecting one of a plurality of operator-selectable positions of the gear selector lever further comprises detecting selectable positions for a gear selector lever for a power transmission device.
  • 19. The method of claim 18, wherein detecting one of a plurality of operator-selectable positions of the gear selector lever further comprises generating a unique signal for each of the operator-selectable positions.
  • 20. The method of claim 19, wherein detecting a one of a subset of the operator-selectable positions further comprises generating a unique signal for each of Park, Reverse, Neutral, and Forward Drive.
  • 21. The method of claim 17, wherein validating the specific one of the operator-selectable positions based upon the detected one of the plurality of the subset of the operator-selectable positions further comprises identifying a fault.
  • 22. The method of claim 21, comprising communicating a default gear selector lever position when a fault is identified.
  • 23. The method of claim 22, further comprising generating a diagnostic fault code when the fault identified.
  • 24. Apparatus for determining position of a transmission gear selector lever in a vehicle having a propulsion system equipped with an automatic transmission utilizing shift-by-wire shifting architecture and a distributed electronic controller architecture, comprising: a range encoder, operable to provide a signal output for each valid transmission gear selector lever position;a direction encoder, operable to provide signal outputs corresponding to the Park, Reverse, Neutral, and Forward positions of the transmission gear selector lever, and, mechanically aligned with the range encoder;a first control module;adapted to read and decode the signal output from the direction encoder;adapted to identify faults of the direction encoder;adapted to validate a transmission gear selector lever position communicated from a second control module; and,adapted to provide a control signal to the propulsion system comprising the validated transmission gear selector lever position; and,the second control module;adapted to read and decode the signal output from the range encoder to determine transmission gear selector lever position;adapted to identify faults of the range encoder;adapted to communicate the transmission gear selector lever position to the first control module; and,adapted to provide a control signal to the propulsion system comprising a limp-home mode when a fault is identified in one of the direction encoder, the range encoder, and the first control module.
CROSS-REFERENCE TO RELATED APPLICATIONS

This application claims priority from U.S. Provisional Application No. 60/703,913, filed Jul. 29, 2005, entitled METHOD AND APPARATUS FOR FAULT-TOLERANT TRANSMISSION SHIFT LEVER POSITION.