USB Isolation for Vehicle Communication Interface

Information

  • Patent Application
  • 20090265057
  • Publication Number
    20090265057
  • Date Filed
    April 22, 2008
    16 years ago
  • Date Published
    October 22, 2009
    15 years ago
Abstract
The present invention relates generally to an automotive diagnostic tool which facilitates data communications between an automobile and diagnostic device, such as a personal computer. More particularly, the present invention relates to electrically isolating the data communications using a Vehicle Communication Interface (VCI) device situated between an automobile's communication diagnostic port and the personal computer. The VCI contains logic circuitry to translate the automobile's On Board Diagnostic (OBD II) signals to an embedded Ethernet controller. Ethernet signals are then non-galvanicly exchanged with an Ethernet to USB controller with an Ethernet transformer. A personal computer is attached via a USB cable to the VCI's Ethernet to USB Controller, permitting information exchange between the automobile and the personal computer.
Description
FIELD OF THE INVENTION

The present invention relates generally to an automotive diagnostic tool which facilitates data communications between an automobile and an external monitoring appliance, such as a personal computer. More particularly, the present invention relates to electrically isolating the automobile's On Board Diagnostic communication port and the personal computer using a Vehicle Communication Interface (VCI) device situated between the two.


BACKGROUND OF THE INVENTION

On Board Diagnostics II (OBD II) was brought about to monitor an automobile's electronics system by providing a single point interface for diagnostic equipment. For example, an engine control module, a transmission control module and a suspension control module can all be accessed through a single OBD II connector. The OBD II standard was developed as a cooperative effort between the Society of Automotive Engineers (S.A.E.), the EPA and the California Air Resources Board (C.A.R.B.). Its installation and usage was made mandatory on all vehicles sold in the U.S. starting on Jan. 1, 1996 as an attempt to standardized automobile diagnostic testing and monitoring.


The automobile's engine control module manages the engine and optimizes fuel economy and power output while controlling emissions. When the engine control module detects a fault in one its engine sensors, it will illuminate an “check engine” light on the dashboard. A technician can collect information on sensors and actuators for shorts, open circuits, lazy sensors (slow responding) and out-of-range values by attaching a diagnostic device to the OBD II port and retrieve information about the fault.


The automobile's control modules are mini-computers having computer subsystems. There is a central processing unit (CPU), a random access memory (RAM), a read only memory (ROM), data busses and control lines. The ROM contains microcode or firmware, which is a set of instructions especially written for each automobile that are executed by the CPU.


Whenever two or more electronic apparatus are connected via cabling, voltage variations, voltage spikes and ground loops can be introduced and damage the automobile electrical systems and the attached testing equipment. A ground loop is a current, generally unwanted, in a conductor connecting two points that are supposed to be at the same ground potential (voltage), but are actually at different potentials. For example, a ground loop occurs when an automobile's chassis connects to a first earth ground and its ground potential is zero volts. A piece of testing equipment such as engine analyzer also connects to earth ground, but its ground potential is at a positive 5 volts relative to the ground at the chassis. The analyzer's probe ground lead is then attached to the chassis and a difference of 5 volts between the grounds produce a current to flow through the ground wires causing damage to the testing equipment and/or the automobile's electronics. Ground loops can also generate noise into the test system's cabling corrupting data transmissions.


Therefore what is needed is a vehicle control interface device that electrically isolates a vehicle's OBD II communication signals from attached analyzers which is capable of high speed rate transmission.


SUMMARY OF THE INVENTION

The foregoing needs are met, to a great extent, by the present invention, wherein in one embodiment of the present invention, a Vehicle Communication Interface (VCI) connects to an automobile's On Board Diagnostic (OBD II) port and to a diagnostic computer, such as a laptop computer, permitting electrically isolated diagnostic data exchange between the automobile and the laptop.


In an embodiment, the VCI comprises a logic controller attached via an OBD II cable to an OBD II diagnostic port in a vehicle and configured to receive and transmit OBD II signals. An Ethernet controller communicates with the logic controller and an Ethernet to USB controller communicates with a diagnostic device via USB signals. An Ethernet communications transformer is positioned between and providing communication with the Ethernet controller and the Ethernet to USB controller, wherein the Ethernet communications transformer creates a galvanic isolation between the vehicle and diagnostic device.


In another embodiment is for a method of electrically isolating communications between a vehicle's On Board Diagnostic (OBD II) port and a vehicle diagnostic device, comprising the steps of, providing a Vehicle Communication Interface (VCI) device with a logic controller configured to receive OBDII signals from the vehicle's OBDII port and to transmit OBDII signals to the vehicle's OBDII port, receiving OBDII signals from the OBDII port via a data link connector that is in communication with the logic controller, configuring the logic controller to communicate in the communication protocol of the OBDII signal, converting the OBDII signals to an Ethernet signal that can be understood by an Ethernet controller of the VCI, isolating galvanically the OBDII signals and USB signals, wherein the USB signals is received by an Ethernet to USB controller from a remote diagnostic device, the Ethernet to USB controller is located in the VCI and transmitting the converted OBDII signals via the Ethernet to USB controller to the remote diagnostic device.


There has thus been outlined, rather broadly, certain embodiments of the invention in order that the detailed description thereof herein may be better understood, and in order that the present contribution to the art may be better appreciated. There are, of course, additional embodiments of the invention that will be described below and which will form the subject matter of the claims appended hereto.


In this respect, before explaining at least one embodiment of the invention in detail, it is to be understood that the invention is not limited in its application to the details of construction and to the arrangements of the components set forth in the following description or illustrated in the drawings. The invention is capable of embodiments in addition to those described and of being practiced and carried out in various ways. Also, it is to be understood that the phraseology and terminology employed herein, as well as the abstract, are for the purpose of description and should not be regarded as limiting.


As such, those skilled in the art will appreciate that the conception upon which this disclosure is based may readily be utilized as a basis for the designing of other structures, methods and systems for carrying out the several purposes of the present invention. It is important, therefore, that the claims be regarded as including such equivalent constructions insofar as they do not depart from the spirit and scope of the present invention.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is an exemplary view illustrating the system's connections of the invention according to an embodiment of the invention.



FIG. 2 is a flowchart illustrating steps that are involved in the VCI's initialization.



FIG. 3 illustrates an exemplary version of a VCI suitable for carrying out the functions of an embodiment of the invention with or without a personal computer.



FIG. 4 is an exemplary view illustrating a communications transformer according to an embodiment of the invention.





DETAILED DESCRIPTION

The On Board Diagnostic (OBD II) to Universal Serial Bus (USB) Vehicle Communication Interface (VCI) will now be described in detail with reference to the attached drawing FIG. 1. in which like reference numerals refer to like parts throughout.


The present invention provides a Vehicle Communication Interface (VCI) 5 which connects to an automobile's 10 On Board Diagnostic (OBD II) port connector via OBD II Cable 15. The OBD II Cable 15 also attaches to VCI's 5 OBD II Logic Controller 20. The OBD II Logic Controller 20 connects to an Ethernet Controller 30 via a bus 25. The Ethernet Controller 30 connects to an Ethernet Communications Transformer 40 that electrically isolates the OBD II signals from the USB signals. The other side of the Ethernet Communications Transformer 40 connects to an USB Controller 50. A USB output 26 from the USB Controller 50 is connected to a computer 60 via USB Cable 55.


The OBD II connector on all newer automobiles is usually found on the driver's side firewall and is a 16-pin (2×8) J1962 connector. On some cars it may be on the front passenger's side firewall or under the hood. The connector has standard pins for power, signal ground and battery ground. Various communication protocols have unique non-conflicting pin assignments on the J1962 connector.


OBD II Signal Protocols

To exchange data with the automobile's OBD II systems, a communications device must use the appropriate OBD II signaling protocol. There are currently five signaling protocols in use, but fortunately, automobile manufacturers tend to utilize only one signaling protocol across their models. A first signaling protocol employs pulse-width modulation over a differential serial bus, while a second employs variable pulse width modulation, each at different baud rates. Two other signaling protocols employ simple serial communications, but at different voltage signal levels. The fifth signaling protocol uses a controller area network, which has complicated packet permission and collision issues.


The OBD II Logic Controller 20 is configured to communicate with the five signaling protocols, but first it must determine what signaling protocol the automobile is employing. This is accomplished by sensing certain lines on the automobile's OBD II connector. In another embodiment, the VCI can try one signaling protocol at a time until the correct protocol is determined. The OBD II Logic Controller 20 then places itself into the appropriate signaling protocol mode. The OBD II Logic Controller 20 can be reprogrammed permitting new signaling protocols to be added as automobile manufactures introduce them.


The Ethernet Controller 30 is a 10/100 Ethernet controller device designed for embedded applications. It includes an integrated Ethernet Medium Access Control (MAC) and Physical (PHY) functionality along with large transmit and receive data First-In-First-Outs (FIFOs) to accommodate high bandwidth, high-latency applications. The VCI can also incorporate faster Ethernet controllers, such as a gigabit Ethernet controller, permitting even faster data rate exchange.


The main function of the OBD II Logic Controller 20 is to translate the automobile's OBD II signals into a data format understood by the Ethernet Controller 30. It also translates Ethernet Controller's 30 data signals into the format understood by the OBD II Logic Controller 20. The Ethernet communications port of the Ethernet Controller 30 is applied to a first side of the Ethernet Communications Transformer 40.



FIG. 4. illustrates the Ethernet Communications Transformer 40 according to an embodiment of the invention. The Ethernet Communications Transformer 40 is a telecommunications transformer consisting of two closely coupled coils of wire. A first coil 42 of the Ethernet Communications Transformer 40 is commonly labeled as the primary winding and the second coil 44 is labeled the secondary winding. When a communication signal, such as an Ethernet signal is applied to the first coil 42 of Ethernet Communications Transformer 40, it creates a changing magnetic field 46 around the first coil 42. The second coil 44 is in the vicinity of first coil's 42 changing magnetic field 46 and due to Faraday's law of induction, an electromotive force is created in the second coil 44, which is directly proportional to the Ethernet communications signal. An advantage of using the Ethernet Communications Transformer 40 is that it electrically isolates two electronic signals because there is no direct galvanic path or actual connection between the first coil 42 and second coil 44. The other side of the Ethernet Communications Transformer 40 is connected to an Ethernet port of the Ethernet to USB Controller 50.


The Ethernet to USB Controller 50 is a 10/100 Fast Ethernet controller with embedded Static random access memory (SRAM) for packet buffering. It has an USB interface to communicate with USB hosts, such as computer 60 via USB cable 60 which is connectively attached to VCI 5.


The VCI 5 contains two embedded controllers, which are the Ethernet Controller 30 and the Ethernet to USB Controller 50. The OBD II Logic Controller 20 is comprised of complex programmable logic devices (CPLDs) 22. The CPLD 22 contains macro cells of programmable logic device semiconductors used to implement logic functions called “logic blocks” and can be programmed to emulate many logic devices.


The VCI 5 can be powered from an internal battery 28. The battery 28 can be an alkaline battery or a rechargeable battery which obtains its recharging power from either the USB connector 26 or the OBD II Cable 15. The VCI may also operate without a battery and obtain its power from the USB connector 26. In one embodiment, the VCI can be powered through the OBD II cable 15 or through an external power supply (AC or DC).


VCI Initialization

The two embedded controllers and the CPLDs 22 need to be initialized at VCI's 5 startup. A flowchart of the steps involved in the VCI's Initialization 100 are illustrated in FIG. 2. Power is applied to the VCI 5 at step 110. The OBD II Logic Controller 20, Ethernet Controller 30 and USB Controller 50 begin their respective start ups at step 120. The OBD II Logic Controller 20 determines the protocol in use at step 130 and sets itself into the matching mode at step 140.


The protocol information and the OBD II Logic Controller's status is passed over to the Ethernet Controller 30 at step 150. The Ethernet Controller passes its status and the protocol information to the USB Controller 50 through the Ethernet Communications Transformer 40 at step 160. The Ethernet Communications Transformer 40 provides galvanic isolation between the USB Controller 50 and the Ethernet Communications Transformer 40, thereby isolating the OBD II signals and the USB signals. The USB Controller 50 communicates with the computer 60 at step 170, permitting computer 60 to communicate with automobile 10.


In operation, the technician connects the OBD II cable 15 into the diagnostic port 11 of the automobile 10. The other end of the OBD II cable 15 attaches to the OBD II connector 24 on the VCI 5. The computer 60 is connected to the VCI 5 via USB cable 55 and is connected to the VCI at USB port 26.


As power is applied, the VCI 5 initializes and tries to ascertain the OBD II signaling protocol that the automobile 10 is employing. After initialization, computer 60 sends an automobile status query. The Ethernet to USB Controller 50 changes USB protocol data to Ethernet data and presents it to the first coil 42 of the Ethernet Transformer 40. As discussed above, the Ethernet Communications Transformer 40 electrically isolates two electronic signals because there is no direct galvanic path or actual connection between its input and output.


The data is retrieved from the second coil 44 of the Ethernet Transformer 40 and is applied to the Ethernet Controller 30. An output of the Ethernet Controller 30 is applied to the OBD II Logic Controller 20, which communicates with the automobile's 60 OBD II system. The VCI 5 is duplex communication device, it permits two way communication between the automobile 10 and the computer 60, therefore, the reverse communication path is through the same components as the forward path.


In an embodiment of the present invention, the Ethernet Transformer 40 is replaced with an optical coupler to electrically isolate the Ethernet signal's path. The optical coupler utilizes a light emitting diode (LED) and a phototransistor, separated so that light may travel across a barrier but electrical current may not. When an electrical signal, such as a Ethernet signal is applied to the input of the optical coupler, its lights a LED. The phototransistor's light sensor then activates, and a corresponding electrical signal is generated at the output.



FIG. 3 is another embodiment of the present invention, wherein the VCI 5 can be used with or without a computer 60. It has a detachable keyboard 78 connects to the VCI 5 via a keyboard cable 76. The OBD II Cable 15 connects the automobile 10 to the VCI at VCI-OBD II Connector 24, but the VCI's 5 USB Connector 26 need not be connected to computer 60 via the USB cable 55. The keyboard cable 76 plugs in a keyboard connector 74 of the VCI 5. A display 80 can also attachable or can be a part of the VCI 5. This embodiment permits a user to monitor an automobile without a computer, while protecting the VCI and automobile from any potential ground loops.


In still yet another embodiment, the VCI 5 will have a removable storage memory slot 72, such as a Secure Digital (SD) Card slot. The VCI stores collected performance data on the removable storage, which can be transferred to another computer with a removable storage slot. Removable storage memory cards are ubiquitous and easily provide transportable storage of up to 32 Gigabits or more. In addition to storing automobile performance data, the removable storage memory can be loaded with new firmware for the automobile's OBD II computers. The VCI can push programmatic instructions into the automobile's OBD II computers via the OBD II interface.


In an additional embodiment, the VCI 5 connects to an automobile's 10 Ethernet port instead of the OBD II port. In this configuration, the OBD II Logic Controller 20 is bypassed and data is presented directly to a first Ethernet port of Ethernet Controller 30. A second Ethernet port of Ethernet Controller 30 is nonconductively coupled to the Ethernet to USB Controller 50 through Ethernet Communications Transformer 40. The USB port on the Ethernet to USB controller 50 could then be attached to a computer 60, an Ethernet network or the Internet.


In still yet another embodiment, a display 80 and keyboard 78 would be incorporated into the VCI's 5 Ethernet version as described above, permitting the diagnostician to analyze the automobile 10 without a computer.


Also, although the VCI is useful to the automotive industry, without much design change, the VCI can also be used in any industry that needs to electrically isolate signals. Most modern microprocessors and microcontrollers provide a plurality of serial and parallel data ports to enable them to attach to many input/output (I/O) devices. For example, an assembly line that needs communication signaling between each machine on the line, could have a “pick and place” robot electrically isolated from the rest of the assembly line's motor controllers. This would eliminate the possibility of ground loops that might destroy static sensitive components being inserted by the “pick and place” robot.


The many features and advantages of the invention are apparent from the detailed specification, and thus, it is intended by the appended claims to cover all such features and advantages of the invention which fall within the true spirit and scope of the invention. Further, since numerous modifications and variations will readily occur to those skilled in the art, it is not desired to limit the invention to the exact construction and operation illustrated and described, and accordingly, all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.

Claims
  • 1. A Vehicle Communication Interface (VCI), comprising: a logic controller attached via an OBD II cable to an OBD II diagnostic port in a vehicle and configured to receive and transmit OBD II signals;an Ethernet controller in communication with the logic controller;an Ethernet to USB controller that communicates with a diagnostic device via USB signals and with the Ethernet controller; andan Ethernet communications transformer positioned between and communicates with the Ethernet controller and the Ethernet to USB controller, wherein the Ethernet communications transformer creates a galvanic isolation between the vehicle and diagnostic device.
  • 2. The VCI of claim 1, wherein the VCI prevents a ground loop between the diagnostic device and the vehicle.
  • 3. The VCI of claim 1, wherein the logic controller includes complex programmable logic devices.
  • 4. The VCI of claim 1, wherein Ethernet communications transformer isolated the voltage potential of the OBDII signals and the voltage potential from the USB signals.
  • 5. The VCI of claim 1, wherein logic controller can be programmed with new signaling protocols as they are updated by vehicle manufacturers.
  • 6. The VCI of claim 1, wherein the logic controller translates the OBDII signals into a format understood by the Ethernet controller and vice versa.
  • 7. The VCI of claim 1, wherein the diagnostic device is a personal computer.
  • 8. The VCI of claim 1, wherein signals between the vehicle and the diagnostic device are communicated via the induction properties of the Ethernet communications transformer.
  • 9. The VCI of claim 1, wherein the VCI is powered by either an external power source or through vehicle battery via the OBDII diagnostic port.
  • 10. The VCI of claim 9, wherein the VCI includes a keyboard and display allowing operation with or without the diagnostic device.
  • 11. A method of electrically isolating communications between a vehicle's On Board Diagnostic (OBD II) port and a vehicle diagnostic device, comprising the steps of: providing a Vehicle Communication Interface (VCI) device with a logic controller configured to receive OBDII signals from the vehicle's OBDII port and to transmit the OBDII signals to the vehicle's OBDII port;receiving the OBDII signals from the OBDII port via a data link connector that is in communication with the logic controller;configuring the logic controller to communicate in the communication protocol of the OBDII signals;converting the OBDII signals to an Ethernet signal that can be understood by an Ethernet controller of the VCI;isolating galvanically the OBDII signals and USB signals, wherein the USB signals is received by an Ethernet to USB controller from a remote diagnostic device, the Ethernet to USB controller is located in the VCI; andtransmitting the converted OBDII signals via the Ethernet to USB controller to the remote diagnostic device.
  • 12. The method of claim 11, wherein isolating the OBDII and the USB signals prevents a ground loop between the remote diagnostic device and the vehicle.
  • 13. The method of claim 11 further comprising converting the Ethernet signals to OBDII signals that can be understood by the Ethernet controller of the VCI.
  • 14. The method of claim 11, communicating signals between the vehicle and the remote diagnostic device by the via the induction properties of the Ethernet communications transformer.
  • 15. A Vehicle Communication Interface (VCI), comprising: a means for processing attached via an OBD II cable to an OBD II diagnostic port in a vehicle and configured to receive and transmit OBD II signals;a means for controlling Ethernet communications configured to communicate with the means for controlling;a means for controlling Ethernet to USB communications configured to communicate with a diagnostic device via USB signals and means for controlling Ethernet communications; anda means for isolating signals configured to be positioned between and communicate with the means for controlling Ethernet communications and means for controlling Ethernet to USB communications, wherein the means for isolating signals creates a galvanic isolation between the vehicle and diagnostic device.
  • 16. The VCI of claim 15, wherein the VCI prevents a ground loop between the diagnostic device and the vehicle.
  • 17. The VCI of claim 15, wherein the means for processing includes complex programmable logic devices.
  • 18. The VCI of claim 15, wherein the means for isolating signals isolates the voltage potential of the OBDII signals and the voltage potential from the USB signals.
  • 19. The VCI of claim 15, wherein the means for processing can be programmed with new signaling protocols as they are updated by vehicle manufacturers.
  • 20. The VCI of claim 15, wherein the means for processing translates the OBDII signals into a format understood by the means for controlling Ethernet communications and vice versa.
  • 21. The VCI of claim 15, wherein the diagnostic device is a personal computer.
  • 22. The VCI of claim 15, wherein signals between the vehicle and the diagnostic device are communicated via the induction properties of the means for isolating signals.
  • 23. The VCI of claim 15, wherein the VCI is powered by an internal power means.
  • 24. The VCI of claim 15, wherein the VCI is powered by an external power means.
  • 25. The VCI of claim 15, wherein the VCI includes a keyboarding means and a display means allowing operation with or without the diagnostic device.