Abstract:
An adapter which permits the use of present diagnostic tools with newer ISO9141 equipped engine and transmission controllers. The adapter facilitates bi-directional communication while conditioning the signals entering and exiting the adapter and allow the diagnostic tools to operate transparent of the adapter&#39;s presence.

Description:
BACKGROUND OF THE INVENTION 
     The present invention relates generally to on-board vehicle computer systems and, more particularly, to a service adapter for allowing access by existing diagnostic tools to new on-board vehicle computer systems. 
     For over a decade, computers have been used on vehicles to control various vehicle systems such as engine and transmission systems, brake systems, suspension systems and even motorized seats. Due to the complexity and inter-relationship between some of these vehicle systems, on-board computer communication systems have been developed to enable data and control signals to be passed between particular vehicle computers. These communication systems typically include a plurality of wires which are connected to the vehicle computers in a particular electronic configuration, generally referred to as a &#34;bus&#34;. 
     One example of vehicle bus structure is represented by the Chrysler Collision Detection (&#34;C 2  D&#34;) Serial Data Bus. This technology is described in the following publications and patents: SAE paper No. 860389, entitled &#34;Chrysler Collision Detection (C 2  D)--A Revolutionary Vehicle Network&#34;, by Frederick O. R. Miesterfeld, 1986; SAE paper No. 890529, entitled &#34;The All-Adaptive Controls for the Chrysler Ultradrive Transaxle&#34;, 1989; U.S. Pat. No. 4,706,082, entitled &#34;Serial Data Bus For Intermodule Data Communications,&#34; which issued on Nov. 10, 1987; and U.S. Pat. No. 4,719,458, entitled &#34;Method of Data Arbitration and Collision Detection In A Data Bus,&#34; which issued on Jan. 12, 1988; and U.S. Pat. No. 4,739,323, entitled &#34;Serial Data Bus For Serial Communication Interface (SCI), Serial Peripheral Interface (SPI) and Buffered SPI Modes of Operation,&#34; which issued on Apr. 19, 1988; and U.S. Pat. No. 4,739,324, entitled &#34;Method for Serial Peripheral Interface (SPI) in a Serial Data Bus,&#34; which issued on Apr. 19, 1988; and U.S. Pat. No. 4,742,349 entitled &#34;Method for Buffered Serial Peripheral Interface (SPI) in a Serial Data Bus&#34;, which issued on May 3, 1988. These co-assigned patents and the identified publications are all hereby incorporated by reference. 
     In order to permit the bus itself to be tested and to permit direct access to and communication with any of the vehicle computers tied to the vehicle bus, the serial data bus may be accessible to an off-board vehicle computer, such as an attachable diagnostic tool. One such tool is the DRBII Diagnostic Readout Box that is commercially available to Chrysler dealerships. Another is the more advanced DRBIII diagnostic tool described in U.S. patent application Ser. No. 08/083,050, filed Jun. 25, 1993, entitled &#34;Automotive Diagnostic Scan Tool&#34;. This co-assigned application for patent is also incorporated herein by reference. This type of diagnostic tool is typically employed to conduct serial communications directly with the on-board vehicle computers during certain diagnostic procedures. Thus, for example, data being gathered by the on-board vehicle computer from various sensors (such as engine speed and manifold pressure) may be transmitted to an off-board computer for programmed or operator directed analysis. 
     Such a diagnostic tool may also be used to enable a test program from an off-board computer to be &#34;down-loaded&#34; into a vehicle-based computer system in order to execute one or more prescribed tests of various vehicle systems before the vehicle leaves the manufacturing facility. The nonvolatile memory of one or more on-board vehicle computers can even be reprogrammed at a later date through a communication link between an off-board controller and the signal transfer structure of the vehicle via an appropriate diagnostic tool. This reprogramming process is described in greater detail in a co-assigned patent entitled &#34;System and Method for Reprogramming a Vehicle Computer&#34;, issued on Jan. 11, 1994 as U.S. Pat. No. 5,278,759, the contents of which are also incorporated herein by reference. 
     In response to the heavy reliance on such on-board computers, combined with a variety of systems employed by the various automobile manufacturers, future vehicles sold in the United States will soon be required to provide a standardized diagnostic interface to facilitate compatibility with standardized diagnostic scan tools. This restriction is referred to as the CARB/OBDII (California Air Research Board/On Board Diagnostics II) requirement and applies to new vehicles beginning in the 1994 model year and all vehicles in the 1996 model year. The CARB/OBDII requirement offers a choice between several communication protocol specifications, among them ISO9141. The OBDII requirement and the ISO9141 are hereby incorporated by reference. 
     The on-board computer systems in new vehicles will necessarily be in compliance with the CARB/OBDII requirement and therefore able to use ISO9141 standard communication to supply information to general industry scan tools, such as for example, those used to perform emissions tests. However, communication solely under the ISO9141 standard will thereby render existing diagnostic tools such as the DRBII, which operate using SCI standard signals, incompatible with the new vehicle on-board computer systems. There is therefore a need for a means to interface existing diagnostic tools such as the DRBII with the new vehicle on-board computer systems which are in conformance with the new CARB/OBDII requirements. 
     SUMMARY OF THE INVENTION 
     Accordingly, the present invention provides a service adapter which permits the use of present diagnostic tools with newer ISO9141 equipped engine and transmission controllers. The adapter functions as a bus interface converter to be used in conjunction with existing diagnostic equipment and thereby allows test equipment to serially communicate with electronic vehicle controllers having bus interface hardware which has been modified in order to provide the ISO9141 bus interface required as part of OBDII. The adapter facilitates bi-directional communication while conditioning the signals entering and exiting the adapter and allows the diagnostic tools to operate transparent of the adapter&#39;s presence. 
     In so doing, the adapter provides two modes of bus interface support; an SCI II mode and an ISO9141 mode. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     Additional objects, advantages, and features of the present invention will become apparent from the following description and appended claims, taken in conjunction with the accompanying drawings in which: 
     FIG. 1 is a diagrammatic representation of a portable diagnostic tool and serial communication link that may be utilized to monitor the functions of an on-board computer in accordance with the present invention; and 
     FIG. 2 is a schematic circuit diagram which illustrates the adapter of the present invention as provided by the system shown in FIG. 1. 
    
    
     DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT 
     Referring to FIG. 1, a vehicle 10 includes a plurality of on-board vehicle computer circuits or controllers, such as an engine controller 12, automatic transmission controller 14, body controller 18 and electronic cluster controller 20. Each of these on-board vehicle computer circuits or controllers are connected to a vehicle signal transfer structure 16, which could include, for example, the Chrysler Collision Detection (CCD) Serial Data Bus mentioned above. The signal transfer structure 16 may also include individual serial communications links to on-board vehicle computer circuits that are not part of a shared or common bus structure for all on-board vehicle computer circuits. It should be appreciated that a variety of suitable vehicle signal transfer structures may be employed to permit communication with computer circuits on the vehicle 10, and that the principles of the present invention are not limited to any particular vehicle signal transfer structure. 
     FIG. 1 also shows a diagnostic connector 22 which is connected to the various on-board controllers through the vehicle signal transfer structure 16. The diagnostic connector 22 is further connected to the engine controller 12 and transmission controller via an ISO9141 serial data bus 24. In addition, the diagnostic connector 22 is adapted to receive a direct current (dc) power signal from the vehicle battery 314 via a connector 312. A diagnostic tool 28 may be connected to the diagnostic connector 22 through a cable structure 30. The diagnostic tool 28 provides an off-board control unit which is capable of transmitting signals to the on-board vehicle computer circuits through the cable structure 30. 
     In this particular embodiment, the diagnostic tool 28 is preferably a DRBII Diagnostic Readout Box that is commercially available to Chrysler dealerships. However, while the DRBII unit provides an advantageous diagnostic tool, it should be appreciated that other suitable off-board controllers may be used in the appropriate application. Diagnostic tool 28 may further include a plug-in module 32 which is removably secured to the diagnostic tool and which may contain such things as diagnostic routines or one or more non-volatile memory chips which can be used to store a new computer program to be transmitted to nonvolatile memory (&#34;flash&#34; memory) of an on-board vehicle computer circuit being reprogrammed. Such reprogramming may be done through an application specific flash adapter (not shown), as described in more detail in an above-referenced incorporated application. 
     As shown in FIG. 1, the DRBII diagnostic unit 28 includes a portable housing 36 which may be hand held near or in the vehicle 10 by a service technician. The front panel 38 of the DRBII unit includes a keypad 40 for entering data or instructions in an interactive communication process with the DRBII unit. In this regard, the DRBII unit includes a display 42 which is capable of visibly displaying several lines of character and numeric information. Thus, for example the DRBII unit may prompt the service technician to enter particular information from the keypad 40 by producing a specific request on the display 42. The diagnostic tool 28 may also be connected to a master controller 44, such as a personal computer, via cable 46 or any other suitable electronic communication means. 
     In order to provide CARB/OBDII standardized communication capabilities in the vehicle controller, while avoiding any circuit modifications to a DRBII unit or similar diagnostic tool not directly compatible with this new protocol, the cable structure 30 is uniquely constructed to include the in-line service adapter circuit of the present invention which is generally designated by the adapter circuit block 100 in FIG. 1. The adapter circuit 100 is constructed in cable structure 30, preferably between the diagnostic tool 28 and the diagnostic connector 22. As will be more fully appreciated from the description below as well as reference to the schematic diagram of FIG. 2, the adapter circuit 100 includes switching circuits and voltage translation circuits for converting certain specific command signals from the diagnostic tool 28 to command signals having predetermined voltage levels that are required to operate in the SCI and ISO modes, as well as the flash programming mode. 
     Adapter circuit 100 includes various standardly available electronic components which have been arranged in five main functional groups. These five functional groups are ISO9141/SCI II communication mode enable circuitry 102, logic level SCI (Serial Communication Interface) receive circuitry 104, ISO9141 K-line circuitry 106, high voltage bypass circuitry 108 and an SCI II transmit/ISO9141 transmit circuit 110. ISO9141/SCI II enable circuitry 102 has as an input ASD (Auto Shut Down) pin 112, the signal applied to which determines whether the adapter 100 will function in the SCI or the ISO mode or protocol, as discussed in detail below. 
     SCI MODE 
     If the ASD input pin 112 is left floating, or tri-stated, the adapter circuit 100 will function in the SCI mode. This mode facilitates full duplex serial communication between an electronic controller and a diagnostic test tool as follows. In the SCI mode, with ASD input 112 left floating or tri-stated, the output of pins 1 and 7 of comparators U4A and U4B, through resistors R32 and R28, respectively, are at a logical &#34;high&#34; level (in this instance V cc  =5 V). This &#34;high&#34; state on pins 1 and 7 drives input pins 4 and 5 of NAND gate U2B &#34;high&#34; and therefore output pin 6 of NAND gate U2B to a &#34;low&#34; state (ground). This grounds input pin 9 of NAND gate U2C which thus disables any messages from DRBII/SCI TX transmit port 114 appearing on input pins 10 and 2 of NAND gates U2C and U2A, respectively, through resistor R7, from reaching output SBECII:K/SCI TX port 118. SBECII represents Single-Board Engine Controller II. At the same time, &#34;high&#34; outputs on pins 1 and 7 of comparators U4A and U4B enable messages from DRBII/SCI TX input pin 114 to reach output SBECII/SCI RX receive port 120 by pulling the input to pin 1 of NAND gate U2A to a logical &#34;high&#34; state. 
     Based upon this SCI mode initialization, communication can now take place between the DRBII tool 28 and the various vehicle controllers in the SCI mode. An input signal appearing on DRBII/SCI TX input pin 114, typically in the 0-5 V range, is now transmitted along a path through resistor R7, NAND gate U2A, and resistor R13 out to the SBECII/SCI RX pin 120 of receive circuitry 104 as a 0-5 V message. In doing so, NAND gate U2A inverts the communication data. 
     At the same time, a 0-5 V signal on SBECII:K/SCI TX pin 118 passes through resistor R17, is inverted by comparator U1 and provides an output signal to the DRBII/SCI RX output port 122 through resistor R33. The adapter circuit 100 thus enables SCI mode full duplex communication. While the internal circuitry provides independent transmit and receive paths, it can be considered bi-directional communication from an external viewpoint. 
     To initiate reprogramming or what is called &#34;flash programming&#34; of an electronic controller, a 12 V dc signal, termed a &#34;bootstrap&#34; voltage, must be supplied to SCI RX port 120 to initiate the reprogramming process. A 20 V dc flash programming signal is then applied to SCI RX port 120 to facilitate the actual flash programming. The 12 V and 20 V signals appear as an input to the connector cube 124 on DRBII/SCI TX input pin 114. These voltage break down Zener diode D3, allowing PNP transistor Q1 to switch &#34;on&#34; and conduct the 12 V or 20 V dc signals out to SBECII/SCI RX output pin 120. The breakdown of zener diode D3 also facilitates the switching &#34;on&#34; of NPN transistor Q3, which shuts &#34;off&#34; NPN transistor Q2, disabling the 12 V or 20 V dc signals from feeding back to the output pin 3 of logic NAND gate U2A. 
     To facilitate reprogramming in this manner, an on-board interface circuit (not shown) is typically provided within a reprogrammable controller located on the vehicle in order to process the command signals which will enable the nonvolatile memory to receive and store new computer program code. The reprogramming method follows a predetermined transfer protocol which includes the transmission of a command signal from the off-board controller which has a voltage level that exceeds the voltage level of any signal which may be recognized on the vehicle signal transfer structure, in this case the &#34;bootstrap&#34; voltage of 12 V or the 20 V flash programming voltage. 
     ISO9141 MODE 
     The ISO9141 mode of adapter circuit 100 allows single-wire bi-directional serial communication between a test tool and an electronic controller. Adapter 100 facilitates bi-directional communication to the controller, while supplying a full duplex serial communication path back to the test equipment. The ISO mode, like the SCI mode, is initialized by an appropriate input signal at ASD input 112. If ASD input 112 is driven or pulled down to ground, or if pulled up to 12 V dc, V batt , the adapter circuit 100 is put in the ISO9141 mode as follows. 
     When the ASD input pin 112 is grounded, the open collector output pin 1 of comparator U4A goes to a logical &#34;low&#34; state. When the ASD input 112 goes to 12 V dc, open collector output pin 7 of comparator U4B goes &#34;low&#34;. In either case, the result is the same. This &#34;low&#34; output disables input signals on DRBII/SCI TX pin 114 from reaching the SBECII/SCI RX output 120 by disabling NAND gate U2A. At the same time, this &#34;low&#34; output is inverted by NAND gate U2B and becomes an enabling &#34;high&#34; signal to pin 9 of NAND gate U2C. This thereby allows any message signal input from DRBII/SCI TX 114 to reach output SBECII:K/SCI TX pin 118 via a path through resistor R7, NAND gate U2C, inverting NAND gate U2D, resistor R18, transistor Q6 and resistor R21. As a consequence, the message signal is inverted. 
     At the same time, output pin 6 from NAND gate U2B turns &#34;on&#34; NPN transistor Q4 through resistor R14, which in turn turns &#34;on&#34;, through resistor R16, p-channel MOSFET Q5. This supplies V batt  (approximately 12 V) to pull-up resistor R20 which in turn facilitates the bias resistor value change that is required to support V batt  level communication. 
     After initialization of the ISO mode in the manner described above, operation in the ISO9141 mode is enabled. A 0-5 V message on DRBII/SCI TX pin 114 is transmitted through SBECII:K/SCI TX output 118 as a 0-V batt  message. At the same time, the message is echoed back through comparator U1 out to the DRBII/SCI RX output 122 and back to the diagnostic test tool 28. Similarly, SBECII:K/SCI TX pin 118 now acts as an input to adapter circuit 100, and allows 0-V batt  messages sent from a control module to be received by adapter circuit 100 and transmitted through comparator U1 back out to the diagnostic test tool 28, via DRBII/SCI RX output 122. 
     The adapter 100 thus permits serial communication between diagnostic test tool 28 and the on-board vehicle controllers, such as the engine and transmission controllers 12 and 14, in either an SCI or ISO mode in a transparent manner. This, in turn, facilitates continued use of diagnostic test equipment, in particular a DRBII, with new vehicle control protocols, as well as those of prior vehicles. Accordingly, a user may employ the adapter circuit 100 in combination with a diagnostic test tool 28 to accomodate vehicle control protocols. 
     In order to increase clarity in the adapter circuit 100 shown in FIG. 2, the values for the various components were not included thereon. However, for the sake of completeness, these component values are listed below: 
     
         ______________________________________Reference            Part Value______________________________________C2, C9               .001 μfdC3, C10              .1 μfdC4, C5               100 pfdC6                   .33 μfdC7                   10 μfdC8                   .0047 μfdD2                   1N5817D3                   1N4739D4, D5, D6, D8       1N4001Q1                   2N3906Q2, Q3, Q4, Q6       2N4401Q5                   Note 1R4, R7, R13, R15,    10 kR25, R26, R31, R32R5                   510 ohmR6                   100 kR8                   400 ohmR9, R10, R11, R14    1 kR16, R18, R19, R22R12                  825 ohmR17                  51 ohmR20                  510 ohmR21                  51 ohmR24                  22 kR27, R28             47 kR29                  39 kR30                  13 kR33                  510 ohmU1                   IM311U2 (Note 2)          74HCOOU3                   78LO5U4                   IM2903______________________________________ 
    
     The foregoing discussion discloses and describes merely exemplary embodiments of the present invention. One skilled in the art will readily recognize from such discussion, and from the accompanying drawings and claims, that various changes, modifications and variations can be made therein without departing from the spirit and scope of the invention as defined in the following claims.